:root {
    --brand: var(--brand);
    --brand-dark: var(--brand-dark);
    --brand-light: var(--brand-light);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
}

a {
    text-underline-offset: 0.18em;
}

.site-main {
    padding-left: 20px;
    padding-right: 20px;
    margin: 0;
}

.s-header {
    background: #fff;
    border-bottom: 2px solid var(--brand);
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.s-header-inner {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}

.s-header-inner > .wp-block-group:first-child {
    flex: 0 0 auto;
    min-width: 0;
}

.s-logo-icon {
    align-items: center;
    background: var(--brand);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 700;
    height: 36px;
    justify-content: center;
    line-height: 1;
    margin: 0;
    width: 36px;
}

.mono-logo-text a {
    color: #212529;
    text-decoration: none;
}

.s-header .wp-block-navigation {
    flex: 0 1 auto;
    margin-left: auto;
    max-width: 100%;
}

.s-header .wp-block-navigation__container,
.s-header .wp-block-page-list {
    gap: 18px;
}

.wp-block-navigation a {
    color: #212529;
    font-size: 0.95rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.wp-block-navigation a:hover,
.wp-block-navigation .current-menu-item > a,
.wp-block-navigation .current-menu-ancestor > a {
    color: var(--brand);
}

.s-hero {
    background: #fff;
    border-bottom: 1px solid #dee2e6;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 60px 20px 40px;
    text-align: center;
    width: 100vw;
}

.date-badge {
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 20px;
    color: #6c757d;
    display: inline-flex;
    flex-wrap: wrap;
    font-size: 12px;
    gap: 6px;
    margin-bottom: 14px;
    padding: 4px 14px;
}

.s-hero h1,
.s-hero .wp-block-post-title {
    color: #212529;
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 16px;
}

.s-hero-rating {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
}

.s-stars {
    color: var(--brand);
    font-size: 1.4rem;
    letter-spacing: 2px;
}

.s-score {
    color: var(--brand);
    font-size: 2rem;
    font-weight: 700;
}

.s-score-max {
    color: #6c757d;
    font-size: 1rem;
    margin-top: 4px;
}

.s-hero-desc {
    color: #495057;
    font-size: 1.05rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
}

.wp-block-button .wp-block-button__link {
    background: var(--brand);
    border-radius: 4px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 22px;
    transition: background 0.2s;
}

.wp-block-button .wp-block-button__link:hover {
    background: var(--brand-dark);
    color: #fff;
}

.wp-block-button.s-hero-btn .wp-block-button__link {
    font-size: 1rem;
    padding: 14px 40px;
}

.s-rating-card {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 32px;
    margin-top: 32px;
    padding: 28px;
}

.s-rating-card h2 {
    border-left: 4px solid var(--brand);
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-left: 12px;
}

.s-bar {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.s-bar-lbl {
    color: #495057;
    flex: 0 0 120px;
    font-size: 0.9rem;
    margin: 0;
}

.s-bar-track {
    background: #e9ecef;
    border-radius: 4px;
    flex: 1;
    height: 10px;
    overflow: hidden;
}

.s-bar-fill {
    background: var(--brand);
    border-radius: 4px;
    height: 100%;
    margin: 0;
    min-height: 10px;
}

.s-bar-fill-98 {
    width: 98%;
}

.s-bar-fill-95 {
    width: 95%;
}

.s-bar-fill-92 {
    width: 92%;
}

.s-bar-fill-87 {
    width: 87%;
}

.s-bar-num {
    color: var(--brand);
    flex: 0 0 42px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    text-align: right;
}

.s-content {
    padding-bottom: 8px;
    padding-top: 8px;
}

.s-content h2,
.wp-block-post-content h2 {
    border-bottom: 2px solid var(--brand);
    font-size: 1.5rem;
    margin-bottom: 14px;
    margin-top: 36px;
    padding-bottom: 8px;
}

.s-content h3,
.wp-block-post-content h3 {
    color: #343a40;
    font-size: 1.2rem;
    margin-bottom: 10px;
    margin-top: 24px;
}

.s-content p,
.wp-block-post-content p {
    color: #495057;
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.s-content ul,
.s-content ol,
.wp-block-post-content ul,
.wp-block-post-content ol,
.wst-hero__intro ul,
.wst-hero__intro ol,
.wst-content-section__body ul,
.wst-content-section__body ol,
.wst-faq__answer ul,
.wst-faq__answer ol {
    color: #495057;
    font-size: 1.05rem;
    margin: 0 0 18px;
    padding-left: 28px;
    text-align: left;
}

.s-content li,
.wp-block-post-content li,
.wst-hero__intro li,
.wst-content-section__body li,
.wst-faq__answer li {
    margin-bottom: 8px;
    padding-left: 4px;
}

.s-content li::marker,
.wp-block-post-content li::marker,
.wst-hero__intro li::marker,
.wst-content-section__body li::marker,
.wst-faq__answer li::marker {
    color: var(--brand);
    font-weight: 700;
}

.s-content li > ul,
.s-content li > ol,
.wp-block-post-content li > ul,
.wp-block-post-content li > ol,
.wst-hero__intro li > ul,
.wst-hero__intro li > ol,
.wst-content-section__body li > ul,
.wst-content-section__body li > ol,
.wst-faq__answer li > ul,
.wst-faq__answer li > ol {
    font-size: 1rem;
    margin-bottom: 0;
    margin-top: 8px;
}

.wp-block-table {
    overflow-x: auto;
}

.wp-block-table table {
    border-collapse: collapse;
    font-size: 0.9rem;
    width: 100%;
}

.wp-block-table th {
    background: #343a40;
    color: #fff;
    padding: 10px 12px;
    text-align: left;
    white-space: nowrap;
}

.wp-block-table td {
    border-bottom: 1px solid #dee2e6;
    color: #495057;
    padding: 9px 12px;
    word-break: break-word;
}

.wp-block-table tr:hover td {
    background: #f8f9fa;
}

.front-page-table-wrap {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin: 28px 0;
    overflow: hidden;
    overflow-x: auto;
}

.front-page-table {
    border-collapse: collapse;
    font-size: 0.92rem;
    width: 100%;
}

.front-page-table thead tr {
    background: var(--brand);
}

.front-page-table th {
    color: #fff;
    font-weight: 600;
    padding: 13px 16px;
    text-align: left;
    white-space: nowrap;
}

.front-page-table td {
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    padding: 11px 16px;
    word-break: break-word;
}

.front-page-table td:first-child {
    color: #212529;
    font-weight: 500;
}

.front-page-table tbody tr:last-child td {
    border-bottom: none;
}

.front-page-table tbody tr:nth-child(even) td {
    background: #f8f9fa;
}

.front-page-table tbody tr:hover td {
    background: var(--brand-light);
}

.s-cta-strip {
    background: var(--brand);
    color: #fff;
    margin: 40px calc(50% - 50vw);
    padding: 36px 20px;
    text-align: center;
    width: 100vw;
}

.s-cta-strip h2,
.s-cta-strip p {
    color: #fff;
}

.s-cta-strip h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.s-cta-strip p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.s-cta-strip .wp-block-button__link {
    background: #fff;
    color: var(--brand);
    font-weight: 700;
}

.s-cta-strip .wp-block-button__link:hover {
    background: #f0f0f0;
    color: var(--brand-dark);
}

.s-faq {
    margin-bottom: 32px;
    margin-top: 32px;
}

.s-faq h2 {
    border-bottom: 2px solid var(--brand);
    font-size: 1.5rem;
    margin-bottom: 24px;
    padding-bottom: 8px;
}

.s-faq-item {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin-bottom: 12px;
    padding: 20px;
}

.s-faq-q {
    color: #212529;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.s-faq-a {
    color: #495057;
    font-size: 0.95rem;
}

.s-footer {
    background: #343a40;
    color: #adb5bd;
    font-size: 0.85rem;
    margin-top: 40px;
    padding: 24px 20px;
    text-align: center;
}

.s-footer a {
    color: #adb5bd;
}

.wst-page {
    margin-left: auto;
    margin-right: auto;
    max-width: 960px;
    width: 100%;
}

.wst-hero {
    background: #fff;
    border-bottom: 1px solid #dee2e6;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 64px 20px 44px;
    text-align: center;
    width: 100vw;
}

.wst-hero__inner {
    margin: 0 auto;
    max-width: 860px;
}

.wst-hero h1 {
    color: #212529;
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 18px;
}

.wst-hero__intro {
    color: #495057;
    font-size: 1.08rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
}

.wst-hero__intro p:last-child,
.wst-content-section__body p:last-child,
.wst-faq__answer p:last-child {
    margin-bottom: 0;
}

.wst-page__cta {
    margin-top: 26px;
}

.btn-3d,
.btn-cta {
    background: var(--brand);
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    padding: 14px 34px;
    text-decoration: none;
    transition:
        background 0.2s,
        transform 0.2s;
}

.btn-3d:hover,
.btn-cta:hover {
    background: var(--brand-dark);
    color: #fff;
    transform: translateY(-1px);
}

.wst-page__sections {
    padding-top: 32px;
}

.wst-content-section {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 28px;
    padding: 28px;
}

.wst-content-section h2,
.wst-faq h2 {
    border-bottom: 2px solid var(--brand);
    font-size: 1.5rem;
    margin-bottom: 18px;
    padding-bottom: 8px;
}

.wst-content-section__image {
    margin: 0 0 22px;
}

.wst-content-section__image img {
    border-radius: 6px;
    display: block;
    height: auto;
    max-width: 100%;
    width: 100%;
}

.wst-content-section__body {
    color: #495057;
    font-size: 1.05rem;
}

.wst-content-section__body table {
    border-collapse: collapse;
    font-size: 0.9rem;
    margin: 18px 0;
    width: 100%;
}

.wst-content-section__body th {
    background: #343a40;
    color: #fff;
    padding: 10px 12px;
    text-align: left;
}

.wst-content-section__body td {
    border-bottom: 1px solid #dee2e6;
    padding: 9px 12px;
}

.wst-faq {
    margin-bottom: 32px;
    margin-top: 36px;
}

.wst-faq__item {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin-bottom: 12px;
    padding: 0;
}

.wst-faq__item summary {
    color: #212529;
    cursor: pointer;
    font-weight: 700;
    list-style: none;
    padding: 18px 20px;
}

.wst-faq__item summary::-webkit-details-marker {
    display: none;
}

.wst-faq__item summary::after {
    content: "+";
    float: right;
    font-size: 1.25rem;
    line-height: 1;
}

.wst-faq__item[open] summary::after {
    content: "-";
}

.wst-faq__answer {
    color: #495057;
    padding: 0 20px 18px;
}

.archive-title,
.not-found-title {
    margin-top: 40px;
}

@media (max-width: 700px) {
    .s-header-inner {
        align-items: flex-start;
        gap: 12px;
    }

    .s-header .wp-block-navigation {
        margin-left: 0;
    }

    .s-hero h1,
    .s-hero .wp-block-post-title {
        font-size: 1.5rem;
    }

    .s-score {
        font-size: 1.5rem;
    }

    .wst-hero h1 {
        font-size: 1.6rem;
    }

    .wst-content-section {
        padding: 20px;
    }

    .btn-3d,
    .btn-cta {
        text-align: center;
        width: 100%;
    }

    .s-bar {
        align-items: stretch;
        flex-direction: column;
        gap: 6px;
    }

    .s-bar-lbl,
    .s-bar-num {
        flex-basis: auto;
        text-align: left;
    }
}
