.tos-news-single {
    color: #0a0a0a;
}

.tos-news-single-wrap {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.tos-news-single-wrap-narrow {
    max-width: 960px;
}

.tos-news-single-head {
    padding: clamp(82px, 7.2vw, 98px) 0 18px;
}

.tos-news-single-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: -8px;
    margin-bottom: 18px;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tos-news-single-breadcrumbs a {
    color: #6b7280;
}

.tos-news-single-breadcrumbs a:hover {
    color: #0a0a0a;
}

.tos-news-single-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 26px;
}

.tos-news-single-cat {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--tos-news-accent) 14%, white);
    color: var(--tos-news-accent);
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 800;
}

.tos-news-single-date {
    color: #9ca3af;
    font-size: 13px;
    font-weight: 600;
}

.tos-news-single-title {
    text-align: center;
    font-size: clamp(1.95rem, 5.1vw, 4.1rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin: 0 0 24px;
    font-weight: 900;
}

.tos-news-single-lead {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    font-size: clamp(1.03rem, 1.8vw, 1.28rem);
    line-height: 1.75;
    color: #6b7280;
    font-weight: 500;
}

.tos-news-single-hero {
    margin-bottom: 52px;
}

.tos-news-single-hero-media {
    border-radius: 34px;
    overflow: hidden;
    height: clamp(320px, 56vh, 620px);
}

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

.tos-news-single-main {
    padding-bottom: 90px;
}

.tos-news-single-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(290px, 1fr);
    gap: clamp(24px, 3vw, 56px);
    align-items: start;
}

.tos-news-single-content p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #111827;
    font-weight: 400;
    margin: 0 0 1.65rem;
}

.tos-news-single-content h2,
.tos-news-single-content h3,
.tos-news-single-content h4,
.tos-news-single-content h5,
.tos-news-single-content h6 {
    color: #0a0a0a;
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.18;
    margin: 3rem 0 1.2rem;
}

.tos-news-single-content h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.25rem);
}

.tos-news-single-content h3 {
    font-size: clamp(1.35rem, 2.5vw, 1.55rem);
}

.tos-news-single-content h4 {
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
}

.tos-news-single-content a {
    color: var(--tos-news-accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.tos-news-single-content a:hover {
    color: #0a0a0a;
}

.tos-news-single-content ul {
    list-style: none;
    margin: 2.5rem 0;
    padding: 2rem 2rem 1.35rem;
    border-radius: 24px;
    background: #f7f8f9;
}

.tos-news-single-content ul li {
    position: relative;
    margin-bottom: 1rem;
    padding-left: 1.8rem;
    color: #111827;
    font-size: 1.05rem;
    font-weight: 400;
}

.tos-news-single-content ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--tos-news-accent);
    font-weight: 700;
}

.tos-news-single-content ol {
    margin: 2rem 0;
    padding-left: 1.4rem;
}

.tos-news-single-content ol li {
    margin-bottom: 0.7rem;
    color: #111827;
    font-size: 1.02rem;
    line-height: 1.75;
    font-weight: 400;
}

.tos-news-single-content blockquote {
    margin: 3.2rem 0;
    font-size: clamp(1.3rem, 2.4vw, 1.55rem);
    line-height: 1.55;
    font-style: italic;
    font-weight: 700;
    letter-spacing: -0.02em;
    border: 0;
    color: #111827;
    position: relative;
}

.tos-news-single-content blockquote::before {
    content: '"';
    position: absolute;
    left: -0.7rem;
    top: -1.9rem;
    color: #eceff3;
    font-size: 4.2rem;
    line-height: 1;
    z-index: -1;
}

.tos-news-single-content img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    margin: 1.7rem 0;
}

.tos-news-single-content figure {
    margin: 2rem 0;
}

.tos-news-single-content figure img {
    margin: 0;
}

.tos-news-single-content figcaption,
.tos-news-single-content .wp-caption-text {
    margin-top: 0.65rem;
    color: #374151;
    font-size: 0.86rem;
    line-height: 1.5;
    text-align: center;
}

.tos-news-single-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
}

.tos-news-single-content th,
.tos-news-single-content td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    font-size: 0.95rem;
}

.tos-news-single-content th {
    background: #f8fafc;
    color: #0a0a0a;
    font-weight: 700;
}

.tos-news-single-author-share {
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px;
}

.tos-news-single-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tos-news-single-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.95rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tos-news-single-author strong {
    display: block;
    color: #0a0a0a;
    font-size: 0.96rem;
}

.tos-news-single-author span {
    display: block;
    color: #6b7280;
    font-size: 0.85rem;
}

.tos-news-single-share {
    display: flex;
    gap: 8px;
}

.tos-news-single-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    color: #0a0a0a;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
    font-weight: 800;
}

.tos-news-single-share a:hover {
    background: #f9fafb;
}

.tos-news-single-sidebar {
    position: sticky;
    top: 118px;
    display: grid;
    gap: 20px;
}

.tos-news-single-card {
    background: #f7f8f9;
    border-radius: 30px;
    padding: 28px;
}

.tos-news-single-card-border {
    background: #fff;
    border: 1px solid #f0f1f3;
}

.tos-news-single-guide {
    color: #fff;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--tos-cta-from), var(--tos-cta-via) 45%, var(--tos-cta-to));
    text-align: center;
}

.tos-news-single-guide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at right top, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
}

.tos-news-single-guide > * {
    position: relative;
    z-index: 1;
}

.tos-news-single-guide h4 {
    color: #fff;
}

.tos-news-single-guide p {
    margin: 0 0 16px;
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.7;
    font-weight: 400;
}

.tos-news-single-guide-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    border-radius: 999px;
    color: #111827;
    background: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
    font-weight: 800;
}

.tos-news-single-guide-btn:hover {
    background: #f3f4f6;
}

.tos-news-single-card h4 {
    margin: 0 0 18px;
    color: #0a0a0a;
    font-size: 1.27rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 900;
}

.tos-news-single-guide h4,
.tos-news-single-guide p {
    color: #fff;
}

.tos-news-single-guide h4 {
    margin-bottom: 12px;
}

.tos-news-single-quicklinks {
    display: grid;
    gap: 10px;
}

.tos-news-single-quicklinks a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    background: #fff;
    color: #0a0a0a;
    border: 1px solid #eef0f2;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
    transition: box-shadow .25s ease, transform .25s ease;
}

.tos-news-single-quicklinks a span {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 11px;
    font-weight: 800;
}

.tos-news-single-quicklinks a i {
    font-style: normal;
    color: #9ca3af;
    transition: color .2s ease;
}

.tos-news-single-quicklinks a:hover span,
.tos-news-single-quicklinks a:hover i {
    color: var(--tos-link-accent, var(--tos-news-accent));
}

.tos-news-single-explore {
    background: #fff;
    border: 1px solid #eceff3;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.tos-news-single-explore .tos-news-single-quicklinks a:hover {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
    transform: translateY(-1px);
}

.tos-news-single-popular {
    display: grid;
    gap: 16px;
}

.tos-news-single-popular-item {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.tos-news-single-popular-item img,
.tos-news-single-popular-ph {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    background: #f1f5f9;
}

.tos-news-single-popular-item h5 {
    margin: 0 0 6px;
    color: #0a0a0a;
    font-size: 0.92rem;
    line-height: 1.35;
    font-weight: 800;
}

.tos-news-single-popular-item span {
    color: #9ca3af;
    font-size: 12px;
    font-weight: 600;
}

.tos-news-single-popular-item:hover h5 {
    color: var(--tos-news-accent);
}

.tos-news-single-related {
    border-top: 1px solid #e5e7eb;
    padding: 70px 0 96px;
}

.tos-news-single-related-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 28px;
}

.tos-news-single-related-head h2 {
    margin: 0;
    color: #0a0a0a;
    font-size: clamp(1.8rem, 4.2vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.tos-news-single-related-head a {
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    font-size: 12px;
}

.tos-news-single-related-head a:hover {
    color: #0a0a0a;
}

.tos-news-single-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 1.8vw, 24px);
}

.tos-news-single-related-item {
    display: block;
}

.tos-news-single-related-media {
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 14px;
    height: clamp(210px, 26vw, 270px);
}

.tos-news-single-related-media img,
.tos-news-single-related-ph {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.tos-news-single-related-ph {
    background: #f1f5f9;
}

.tos-news-single-related-body {
    padding-right: 6px;
}

.tos-news-single-related-cat {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--tos-related-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
    font-weight: 800;
}

.tos-news-single-related-body h3 {
    margin: 0 0 9px;
    color: #0a0a0a;
    font-size: clamp(1.16rem, 2vw, 1.52rem);
    line-height: 1.22;
    letter-spacing: -0.02em;
    font-weight: 900;
}

.tos-news-single-related-body p {
    margin: 0;
    color: #6b7280;
    font-size: 0.92rem;
    line-height: 1.6;
}

.tos-news-single-related-item:hover .tos-news-single-related-media img {
    transform: scale(1.05);
}

.tos-news-single-related-item:hover .tos-news-single-related-body h3 {
    color: var(--tos-related-accent);
}

@media (max-width: 1100px) {
    .tos-news-single-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .tos-news-single-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .single-post .tos-main {
        padding-top: 4.55rem;
    }

    .tos-news-single-wrap {
        width: min(1200px, calc(100% - 30px));
    }

    .tos-news-single-head {
        padding: 12px 0 10px;
    }

    .tos-news-single-breadcrumbs {
        justify-content: flex-start;
        margin-top: -4px;
        margin-bottom: 8px;
    }

    .tos-news-single-meta {
        justify-content: flex-start;
        margin-bottom: 10px;
    }

    .tos-news-single-title,
    .tos-news-single-lead {
        text-align: left;
    }

    .tos-news-single-hero-media {
        border-radius: 24px;
        height: clamp(260px, 48vh, 420px);
    }

    .tos-news-single-author-share {
        flex-direction: column;
        align-items: flex-start;
    }

    .tos-news-single-related {
        padding: 52px 0 68px;
    }

    .tos-news-single-related-head a {
        display: none;
    }

    .tos-news-single-related-grid {
        grid-template-columns: 1fr;
    }
}

/* News archive (home/category posts). */
.tos-news-archive-head {
    padding: 18px 0 18px;
}

.tos-news-archive-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    margin-bottom: 16px;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tos-news-archive-breadcrumbs a {
    color: #6b7280;
}

.tos-news-archive-breadcrumbs a:hover {
    color: #0a0a0a;
}

.tos-news-archive-head h1 {
    margin: 0;
    color: #0a0a0a;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 900;
}

.tos-news-archive-head p {
    margin: 16px 0 0;
    max-width: 760px;
    color: #6b7280;
    font-size: clamp(1rem, 1.8vw, 1.14rem);
    line-height: 1.75;
    font-weight: 500;
}

.tos-news-archive-main {
    padding-bottom: 90px;
}

.blog .tos-main,
.category .tos-main {
    padding-top: 5rem;
}

.tos-news-archive-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
}

.tos-news-archive-cats a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tos-news-archive-cats a:hover,
.tos-news-archive-cats a.is-active {
    border-color: var(--tos-chip-color, #111827);
    color: var(--tos-chip-color, #111827);
    background: color-mix(in srgb, var(--tos-chip-color, #111827) 10%, white);
}

.tos-news-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 1.8vw, 24px);
}

.tos-news-archive-item {
    display: block;
}

.tos-news-archive-item-media {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 14px;
    height: clamp(210px, 26vw, 270px);
}

.tos-news-archive-item-media img,
.tos-news-archive-item-ph {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.tos-news-archive-item-ph {
    background: #f1f5f9;
}

.tos-news-archive-media-cat {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--tos-news-card-accent) 16%, white);
    color: var(--tos-news-card-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.tos-news-archive-item-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.tos-news-archive-item-meta time {
    color: #9ca3af;
    font-size: 12px;
    font-weight: 600;
}

.tos-news-archive-item h3 {
    margin: 0 0 8px;
    color: #0a0a0a;
    font-size: clamp(1.16rem, 2vw, 1.52rem);
    line-height: 1.22;
    letter-spacing: -0.02em;
    font-weight: 900;
}

.tos-news-archive-item p {
    margin: 0;
    color: #6b7280;
    font-size: 0.92rem;
    line-height: 1.6;
}

.tos-news-archive-item:hover .tos-news-archive-item-media img {
    transform: scale(1.05);
}

.tos-news-archive-item:hover h3 {
    color: var(--tos-news-card-accent);
}

.tos-news-archive-pagination {
    margin-top: 30px;
}

.tos-news-archive-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tos-news-archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    color: #4b5563;
    font-size: 12px;
    font-weight: 800;
}

.tos-news-archive-pagination .page-numbers.current,
.tos-news-archive-pagination .page-numbers:hover {
    border-color: #111827;
    color: #111827;
    background: #f9fafb;
}

.tos-news-archive-empty {
    border: 1px dashed #e5e7eb;
    border-radius: 24px;
    padding: 30px;
    color: #6b7280;
}

.tos-news-archive-empty h2 {
    margin: 0 0 8px;
    color: #111827;
}

.tos-news-archive-empty p {
    margin: 0;
}

@media (max-width: 1024px) {
    .tos-news-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .blog .tos-main,
    .category .tos-main {
        padding-top: 4.4rem;
    }

    .tos-news-archive-head {
        padding: 6px 0 14px;
    }

    .tos-news-archive-breadcrumbs {
        margin-top: 0;
        margin-bottom: 10px;
    }

    .tos-news-archive-grid {
        grid-template-columns: 1fr;
    }
}
