.single-post {
    padding-bottom: 80px;
}

.single-game-builder {
    padding: 24px 0 40px;
}

.single-game-builder > .container {
    max-width: 1200px;
}

/* Hero Image */
.single-post-hero {
    margin-bottom: 50px;
    position: relative;
    height: 420px;
    overflow: hidden;
    border-radius: 16px;
}

.single-post-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to bottom, transparent, #0A0A12);
    pointer-events: none;
}

.single-post-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Wrapper - Clean, No Box */
.single-post-wrapper {
    max-width: 760px;
    margin: 0 auto;
}

/* Header */
.single-post-header {
    margin-bottom: 36px;
}

.single-post-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.single-post-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.single-post-meta .meta-item svg {
    color: rgba(255, 255, 255, 0.35);
    width: 14px;
    height: 14px;
}

.single-post-meta .meta-category {
    display: inline-flex;
    padding: 4px 14px;
    background: rgba(212, 175, 55, 0.2);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    border-radius: 50px;
}

.single-post-meta .meta-category:hover {
    background: rgba(212, 175, 55, 0.35);
    color: #fff;
}

.single-post-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #fff;
    margin: 0;
    line-height: 1.15;
    text-shadow: 0 0 18px rgba(212, 175, 55, 0.2);
}

/* Table of Contents */
.post-toc {
    margin-bottom: 36px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.post-toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 8px 0;
}

.post-toc-header h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.post-toc-toggle {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 4px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-toc-toggle:hover {
    color: var(--mw-gold, #D4AF37);
}

.post-toc-toggle svg {
    transition: transform 0.3s ease;
}

.post-toc.collapsed .post-toc-toggle svg {
    transform: rotate(180deg);
}

.post-toc-list {
    overflow: hidden;
    max-height: 500px;
    transition: all 0.3s ease;
}

.post-toc.collapsed .post-toc-list {
    max-height: 0;
}

.post-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.post-toc li {
    margin-bottom: 2px;
}

.post-toc li a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
    display: block;
    transition: color 0.2s;
    padding: 5px 8px 5px 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
}

.post-toc li a:hover {
    color: var(--mw-gold, #D4AF37);
    border-left-color: var(--mw-gold, #D4AF37);
}

.post-toc .toc-level-3 {
    padding-left: 24px;
}

.post-toc .toc-level-3 a {
    font-size: 0.84rem;
    border-left-color: rgba(255, 255, 255, 0.06);
}

/* Post Body */
.post-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.8);
}

.post-body > *:first-child {
    margin-top: 0;
}

.post-body > *:last-child {
    margin-bottom: 0;
}

.post-body p,
.post-body ul,
.post-body ol,
.post-body blockquote,
.post-body pre,
.post-body table,
.post-body .wp-block-table,
.post-body figure {
    margin-bottom: 26px;
}

.post-body h2 {
    font-size: 1.65rem;
    font-weight: 800;
    color: #fff;
    margin: 46px 0 18px;
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.15);
}

.post-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin: 36px 0 14px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.12);
}

.post-body h4,
.post-body h5,
.post-body h6 {
    color: #fff;
    font-weight: 700;
    margin: 28px 0 12px;
}

.post-body a {
    color: #d08cff;
    text-decoration: none;
    transition: color 0.2s;
}

.post-body a:hover {
    color: #fff;
    text-decoration: underline;
}

.post-body ul,
.post-body ol {
    margin: 20px 0 20px 28px;
    padding-left: 8px;
}

.post-body ul {
    list-style: disc;
}

.post-body ol {
    list-style: decimal;
}

.post-body ul ul,
.post-body ol ol,
.post-body ul ol,
.post-body ol ul {
    margin-top: 12px;
    margin-bottom: 12px;
}

.post-body li {
    margin-bottom: 8px;
}

.post-body li::marker {
    color: rgba(255, 255, 255, 0.4);
}

.post-body blockquote {
    border-left: 4px solid #D4AF37;
    padding: 18px 22px;
    margin: 30px 0;
    background: rgba(10, 10, 18, 0.4);
    border-radius: 0 12px 12px 0;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
}

.post-body blockquote p:last-child {
    margin-bottom: 0;
}

.post-body hr {
    border: 0;
    border-top: 1px solid rgba(212, 175, 55, 0.18);
    margin: 36px 0;
}

.post-body strong {
    color: #fff;
}

.post-body em {
    color: rgba(255, 255, 255, 0.9);
}

.post-body code,
.post-body kbd {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 6px;
    color: #fff;
    font-family: Consolas, Monaco, monospace;
    font-size: 0.9em;
    line-height: 1.4;
}

.post-body pre {
    overflow-x: auto;
    padding: 20px 24px;
    background: rgba(10, 10, 18, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-family: Consolas, Monaco, monospace;
    font-size: 0.88rem;
    line-height: 1.75;
}

.post-body pre code {
    display: block;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.post-body table {
    width: 100%;
    display: block;
    overflow-x: auto;
    border-collapse: collapse;
    border-spacing: 0;
    background: rgba(10, 10, 18, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
}

.post-body thead {
    background: rgba(212, 175, 55, 0.1);
}

.post-body th,
.post-body td {
    min-width: 140px;
    padding: 12px 16px;
    border: 1px solid rgba(212, 175, 55, 0.08);
    text-align: left;
    vertical-align: top;
}

.post-body th {
    color: #fff;
    font-weight: 700;
}

.post-body td {
    color: rgba(255, 255, 255, 0.75);
}

.post-body tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.015);
}

.post-body .wp-block-table figcaption,
.post-body figcaption,
.post-body .wp-caption-text {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    text-align: center;
}

.post-body .aligncenter {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.post-body .alignleft {
    float: left;
    margin: 8px 24px 18px 0;
}

.post-body .alignright {
    float: right;
    margin: 8px 0 18px 24px;
}

.post-body::after {
    content: "";
    display: table;
    clear: both;
}

.post-body img {
    max-width: 100%;
    height: auto;
    margin: 25px 0;
    border-radius: 12px;
}

.post-body .wp-caption,
.post-body .wp-block-image {
    max-width: 100%;
}

/* FAQ inside blog posts */
.schema-faq,
.wp-block-faq,
.wp-block-group.is-style-faq {
    margin: 36px 0;
}

.schema-faq-section,
.faq-item {
    margin-bottom: 12px;
    background: rgba(10, 10, 18, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    overflow: hidden;
}

.schema-faq-question,
.faq-question-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    cursor: pointer;
    background: rgba(212, 175, 55, 0.06);
    transition: background 0.2s;
    margin: 0;
}

.schema-faq-question:hover,
.faq-question-label:hover {
    background: rgba(212, 175, 55, 0.12);
}

.schema-faq-question::after,
.faq-question-label::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.2s;
}

.schema-faq-section.open .schema-faq-question::after,
.faq-item.open .faq-question-label::after {
    transform: rotate(45deg);
}

.schema-faq-answer,
.faq-answer {
    padding: 0 20px 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.schema-faq-answer p:last-child,
.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Single Game Meta */
.single-game__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 28px;
}

.single-game__meta-item {
    flex: 1;
    min-width: 100px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    text-align: center;
}

.single-game__meta-item strong {
    display: block;
    font-size: 1.15rem;
    color: var(--mw-gold, #D4AF37);
    margin-bottom: 2px;
}

.single-game__meta-item small {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.single-game__actions {
    display: flex;
    gap: 12px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.single-game__related {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.single-game__related h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
}

/* Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 44px 0;
    padding: 24px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.post-tags .tag-link {
    display: inline-flex;
    padding: 6px 14px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.2s;
}

.post-tags .tag-link:hover {
    background: rgba(212, 175, 55, 0.18);
    border-color: rgba(212, 175, 55, 0.5);
    color: #fff;
}

/* Share */
.post-share {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.post-share .share-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-share .share-buttons {
    display: flex;
    gap: 8px;
}

.post-share .share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.2s;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.1);
}

.post-share .share-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
    color: #fff;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

/* Comments */
.comments-wrapper {
    margin-top: 50px;
    padding-top: 36px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.comments-wrapper .comments-title,
.comments-wrapper h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 28px;
}

.comments-wrapper .comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comments-wrapper .comment {
    background: rgba(10, 10, 18, 0.35);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 16px;
}

.comments-wrapper .comment-author {
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.comments-wrapper .comment-author a {
    color: #fff;
}

.comments-wrapper .comment-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 14px;
}

.comments-wrapper .comment-content {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    font-size: 0.95rem;
}

.comments-wrapper .reply {
    margin-top: 14px;
}

.comments-wrapper .reply a {
    color: #d08cff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.comments-wrapper .reply a:hover {
    color: #fff;
}

.comments-wrapper .children {
    list-style: none;
    margin-left: 24px;
    padding: 0;
    margin-top: 16px;
}

.comments-wrapper #respond {
    margin-top: 36px;
    padding: 28px;
    background: rgba(10, 10, 18, 0.35);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
}

.comments-wrapper #reply-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.comments-wrapper #commentform {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.comments-wrapper #commentform p {
    margin: 0;
}

.comments-wrapper #commentform input,
.comments-wrapper #commentform textarea {
    width: 100%;
    background: rgba(10, 10, 18, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 13px 16px;
    color: #fff;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.comments-wrapper #commentform input:focus,
.comments-wrapper #commentform textarea:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.5);
}

.comments-wrapper #commentform textarea {
    min-height: 140px;
    resize: vertical;
}

.comments-wrapper #commentform .submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.15);
    color: #fff;
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 13px 32px;
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
    width: auto;
}

.comments-wrapper #commentform .submit:hover {
    background: rgba(212, 175, 55, 0.3);
    border-color: #D4AF37;
}

.comments-wrapper label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 6px;
}

/* Pagination / Comment nav */
.comments-wrapper .comment-navigation {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.comments-wrapper .comment-navigation a {
    color: #d08cff;
    font-size: 0.88rem;
    text-decoration: none;
}

.comments-wrapper .comment-navigation a:hover {
    color: #fff;
}

/* Cancel reply */
.comments-wrapper #cancel-comment-reply-link {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
    text-decoration: none;
    margin-left: 12px;
}

.comments-wrapper #cancel-comment-reply-link:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .single-post-hero {
        height: 240px;
        margin-bottom: 36px;
        border-radius: 12px;
        margin-left: 16px;
        margin-right: 16px;
    }

    .single-post-wrapper {
        padding: 0 16px;
    }

    .single-post-header h1 {
        font-size: 1.7rem;
    }

    .single-post-meta {
        font-size: 0.78rem;
        gap: 12px;
    }

    .post-body {
        font-size: 1rem;
    }

    .post-body h2 {
        font-size: 1.35rem;
    }

    .post-body h3 {
        font-size: 1.1rem;
    }

    .post-toc {
        padding: 16px 18px;
    }

    .comments-wrapper .comment {
        padding: 18px;
    }

    .comments-wrapper #respond {
        padding: 20px;
    }

    .comments-wrapper .children {
        margin-left: 16px;
    }
}

@media (max-width: 480px) {
    .single-post-header h1 {
        font-size: 1.4rem;
    }

    .post-body h2 {
        font-size: 1.2rem;
    }

    .post-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}