:root {
    --ink: #111827;
    --ink-soft: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --line-strong: #cbd5e1;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --surface-tint: #eef3ff;
    --page: #f5f7fb;
    --brand: #3157e3;
    --brand-dark: #1735a9;
    --brand-soft: #e9eeff;
    --success: #067647;
    --danger: #b42318;
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 18px 50px rgba(15, 23, 42, 0.10);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--page);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
}

a {
    color: var(--brand);
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(100% - 2rem, 1180px);
    max-width: 1180px;
    margin-inline: auto;
}

.article-container,
.comments-container {
    width: min(100% - 2rem, 900px);
    max-width: 900px;
    margin-inline: auto;
}

.text-center {
    text-align: center;
}

.text-end {
    text-align: right;
}

.py-4 {
    padding-block: 1.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.w-100 {
    width: 100%;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-inline: -0.75rem;
}

.row > * {
    width: 100%;
    padding-inline: 0.75rem;
}

.g-3 {
    row-gap: 1rem;
}

.g-5 {
    row-gap: 2.5rem;
}

.col-12 {
    width: 100%;
}

.col-md-6 {
    width: 50%;
}

.col-lg-8 {
    width: 66.6667%;
}

.col-lg-4 {
    width: 33.3333%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0.7rem 1.15rem;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #ffffff;
    background: var(--brand);
    border-color: var(--brand);
    box-shadow: 0 8px 20px rgba(49, 87, 227, 0.24);
}

.btn-primary:hover {
    color: #ffffff;
    background: var(--brand-dark);
}

.btn-outline-dark {
    color: var(--ink);
    background: transparent;
    border-color: var(--line-strong);
}

.btn-outline-dark:hover {
    color: var(--ink);
    background: #ffffff;
}

.btn-light {
    color: var(--ink);
    background: #ffffff;
    border-color: #ffffff;
}

.btn-lg {
    min-height: 50px;
    padding: 0.85rem 1.35rem;
    font-size: 1rem;
}

.form-label,
label {
    display: inline-block;
    margin-bottom: 0.4rem;
    color: var(--ink-soft);
    font-size: 0.9rem;
    font-weight: 700;
}

.form-control {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 0.72rem 0.9rem;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    outline: 0;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(49, 87, 227, 0.12);
}

.alert {
    padding: 0.9rem 1rem;
    border: 1px solid transparent;
    border-radius: 14px;
    font-weight: 650;
}

.alert-success {
    color: var(--success);
    background: #ecfdf3;
    border-color: #abefc6;
}

.alert-danger {
    color: var(--danger);
    background: #fef3f2;
    border-color: #fecdca;
}

.notice-wrap {
    padding-top: 1rem;
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: -120px;
    z-index: 9999;
    padding: 0.75rem 1rem;
    color: var(--ink);
    background: #ffffff;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.skip-link:focus {
    top: 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    backdrop-filter: blur(18px);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 78px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 190px;
    color: var(--ink);
    text-decoration: none;
}

.site-brand img {
    display: block;
    max-width: 220px;
    max-height: 50px;
    object-fit: contain;
}

.brand-mark {
    display: grid;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(49, 87, 227, 0.25);
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.brand-copy strong,
.brand-copy small {
    display: block;
}

.brand-copy strong {
    color: var(--ink);
    font-size: 1.03rem;
    letter-spacing: -0.02em;
}

.brand-copy small {
    max-width: 220px;
    margin-top: 0.12rem;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.68rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.25rem;
}

.site-nav a {
    position: relative;
    padding: 0.65rem 0.7rem;
    color: var(--ink-soft);
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 720;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.18s ease, background 0.18s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--brand-dark);
    background: var(--brand-soft);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    color: var(--ink);
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 1.25rem;
    cursor: pointer;
}

.site-search {
    display: none;
}

.hero-section {
    padding: 5.5rem 0;
    background:
        radial-gradient(circle at 88% 8%, rgba(49, 87, 227, 0.17), transparent 34%),
        linear-gradient(180deg, #ffffff, #f4f7ff);
    border-bottom: 1px solid var(--line);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    gap: 4rem;
    align-items: center;
}

.eyebrow {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--brand);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-section h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.7rem, 6vw, 5.3rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero-section p {
    max-width: 700px;
    margin: 1.35rem 0 0;
    color: var(--muted);
    font-size: 1.16rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.hero-feature,
.hero-placeholder {
    display: block;
    overflow: hidden;
    padding: 1.35rem;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.hero-feature img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 18px;
}

.hero-feature > span {
    display: inline-flex;
    margin-top: 1.1rem;
    color: var(--brand);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-feature h2 {
    margin: 0.45rem 0 0.6rem;
    font-size: 1.7rem;
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.hero-feature p,
.hero-placeholder p {
    margin: 0;
    color: var(--muted);
}

.content-section {
    padding: 5rem 0;
    background: #ffffff;
}

.content-section.alt,
.related-section {
    background: var(--surface-soft);
    border-block: 1px solid var(--line);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.section-heading > a {
    font-weight: 750;
    text-decoration: none;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}

.article-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.article-card-image {
    display: grid;
    aspect-ratio: 16 / 10;
    place-items: center;
    overflow: hidden;
    color: var(--brand);
    background: linear-gradient(135deg, #dce5ff, #f4f7ff);
    font-size: 0.8rem;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-transform: uppercase;
}

.article-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.article-card:hover .article-card-image img {
    transform: scale(1.035);
}

.article-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.35rem;
}

.article-category {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding: 0.38rem 0.7rem;
    color: var(--brand-dark);
    background: var(--brand-soft);
    border: 1px solid #d9e2ff;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.article-card h3 {
    margin: 0.75rem 0 0.6rem;
    font-size: 1.28rem;
    line-height: 1.23;
    letter-spacing: -0.025em;
}

.article-card h3 a {
    color: var(--ink);
    text-decoration: none;
}

.article-card p {
    display: -webkit-box;
    margin: 0 0 1.1rem;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.92rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
    margin-top: auto;
    color: var(--muted);
    font-size: 0.72rem;
}

.article-meta span:not(:last-child)::after {
    margin-left: 0.65rem;
    color: var(--line-strong);
    content: "•";
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.category-grid a {
    padding: 1.5rem;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.category-grid a:hover {
    transform: translateY(-2px);
    border-color: #c9d5ff;
}

.category-grid strong,
.category-grid span {
    display: block;
}

.category-grid span {
    margin-top: 0.25rem;
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 750;
}

.category-grid p {
    margin: 0.7rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.category-directory-section {
    min-height: 50vh;
}

.category-directory-summary {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    color: var(--muted);
}

.category-directory-summary strong {
    color: var(--ink);
    font-size: 1.35rem;
}

.category-directory-grid a {
    min-height: 170px;
}

.article-list > a {
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.35rem 0;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}

.article-list h3 {
    margin: 0.25rem 0 0.4rem;
    letter-spacing: -0.025em;
}

.article-list p {
    margin: 0;
    color: var(--muted);
}

.popular-panel {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    color: #ffffff;
    background: linear-gradient(145deg, #111827, #1e293b);
    border-radius: 22px;
    box-shadow: var(--shadow-md);
}

.popular-panel h2 {
    margin: 0 0 0.6rem;
    font-size: 1.5rem;
}

.popular-panel > a {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
}

.popular-panel > a > span {
    color: #9db0ff;
    font-size: 1.2rem;
    font-weight: 850;
}

.popular-panel small {
    display: block;
    margin-top: 0.25rem;
    color: #94a3b8;
}

.newsletter-section {
    padding: 4rem 0;
    color: #ffffff;
    background: linear-gradient(135deg, #1735a9, #3157e3);
}

.newsletter-section > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.newsletter-section h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.04em;
}

.newsletter-section p {
    margin: 0.65rem 0 0;
    color: #dbe4ff;
}

.newsletter-section form {
    display: grid;
    min-width: 54%;
    grid-template-columns: 1fr 1.35fr auto;
    gap: 0.7rem;
}

.newsletter-section input {
    min-height: 48px;
    padding: 0.8rem 1rem;
    border: 0;
    border-radius: 12px;
    outline: 0;
}

.site-footer {
    padding: 4.5rem 0 1.5rem;
    color: #cbd5e1;
    background: #0f172a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.2fr 1.35fr;
    gap: 3rem;
}

.footer-grid h2,
.footer-grid h3 {
    margin-top: 0;
    color: #ffffff;
}

.footer-grid h2 {
    font-size: 1.6rem;
}

.footer-grid h3 {
    font-size: 1rem;
}

.footer-grid p {
    color: #94a3b8;
}

.footer-grid a {
    display: block;
    margin: 0.42rem 0;
    color: #cbd5e1;
    text-decoration: none;
}

.footer-grid a:hover {
    color: #ffffff;
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.85rem;
}

.footer-social-links a {
    font-size: 0.86rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.75rem;
    padding-top: 1.5rem;
    color: #94a3b8;
    border-top: 1px solid #334155;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: #ffffff;
    text-decoration: none;
}

.page-hero {
    padding: 4.5rem 0;
    background:
        radial-gradient(circle at 90% 10%, rgba(49, 87, 227, 0.10), transparent 35%),
        linear-gradient(180deg, #ffffff, #f7f9ff);
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(2.6rem, 5vw, 4.7rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.page-hero p {
    max-width: 760px;
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 1.12rem;
}

.search-large {
    display: flex;
    max-width: 720px;
    margin-top: 2rem;
}

.search-large input {
    flex: 1;
    min-width: 0;
    padding: 0.95rem 1rem;
    border: 1px solid var(--line-strong);
    border-right: 0;
    border-radius: 14px 0 0 14px;
    outline: 0;
}

.search-large button {
    border-radius: 0 14px 14px 0;
}

.results-count {
    margin: 0 0 1.2rem;
    color: var(--muted);
}

.public-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.public-pagination a {
    font-weight: 750;
    text-decoration: none;
}

.empty-public {
    padding: 3.5rem 1.5rem;
    color: var(--muted);
    background: var(--surface-soft);
    border: 1px dashed var(--line-strong);
    border-radius: 20px;
    text-align: center;
}

.empty-public.compact {
    padding: 1.5rem;
}

.article-hero {
    padding: 4.8rem 0 3.4rem;
    background:
        radial-gradient(circle at 12% 0%, rgba(49, 87, 227, 0.10), transparent 30%),
        radial-gradient(circle at 90% 10%, rgba(14, 165, 233, 0.08), transparent 28%),
        linear-gradient(180deg, #ffffff, #f7f9ff);
    border-bottom: 1px solid var(--line);
}

.article-heading-wrap {
    width: min(100% - 2rem, 980px);
    max-width: 980px;
    margin-inline: auto;
}

.breadcrumb-public {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.35rem;
    color: var(--muted);
    font-size: 0.8rem;
}

.breadcrumb-public a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumb-public a:hover {
    color: var(--brand);
}

.article-kicker-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--muted);
    font-size: 0.82rem;
}

.article-hero h1 {
    max-width: 960px;
    margin: 1rem 0 0;
    font-size: clamp(2.65rem, 6vw, 5.15rem);
    line-height: 0.99;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.article-deck {
    max-width: 850px;
    margin: 1.35rem 0 0;
    color: var(--muted);
    font-size: clamp(1.08rem, 2vw, 1.3rem);
    line-height: 1.65;
}

.article-byline-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: 2rem;
    padding-top: 1.45rem;
    border-top: 1px solid var(--line);
}

.author-avatar {
    display: grid;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    border-radius: 50%;
    font-size: 0.88rem;
    font-weight: 850;
}

.author-avatar-large {
    width: 58px;
    height: 58px;
    font-size: 1rem;
}

.author-summary {
    min-width: 150px;
}

.author-summary strong,
.author-summary span {
    display: block;
}

.author-summary strong {
    line-height: 1.25;
}

.author-summary span {
    margin-top: 0.15rem;
    color: var(--muted);
    font-size: 0.78rem;
}

.article-byline-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    margin-left: auto;
    color: var(--muted);
    font-size: 0.79rem;
}

.article-byline-meta span:not(:last-child)::after {
    margin-left: 1rem;
    color: var(--line-strong);
    content: "•";
}

.article-ad-container {
    padding-top: 1.25rem;
}

.article-media-container {
    width: min(100% - 2rem, 1120px);
    max-width: 1120px;
    margin-inline: auto;
}

.featured-figure {
    margin: 2.5rem 0 0;
}

.featured-figure img {
    display: block;
    width: 100%;
    max-height: 680px;
    object-fit: cover;
    border-radius: 26px;
    box-shadow: var(--shadow-md);
}

.featured-figure figcaption {
    margin-top: 0.65rem;
    color: var(--muted);
    font-size: 0.82rem;
    text-align: center;
}

.article-layout {
    display: grid;
    width: min(100% - 2rem, 1120px);
    max-width: 1120px;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 2.4rem;
    align-items: start;
    padding-top: 3rem;
    padding-bottom: 5rem;
}

.article-layout.has-right-ad {
    width: min(100% - 2rem, 1380px);
    max-width: 1380px;
    grid-template-columns: 230px minmax(0, 1fr) 180px;
    gap: 2rem;
}

.article-sidebar {
    min-width: 0;
}

.toc,
.share-box {
    padding: 1.15rem;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

.toc {
    position: sticky;
    top: 98px;
    max-height: calc(100vh - 125px);
    overflow-y: auto;
}

.sidebar-label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--ink);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.toc a {
    display: block;
    padding: 0.38rem 0;
    color: var(--muted);
    border-left: 2px solid transparent;
    font-size: 0.81rem;
    line-height: 1.35;
    text-decoration: none;
    transition: color 0.18s ease, border-color 0.18s ease, padding-left 0.18s ease;
}

.toc a:hover {
    padding-left: 0.35rem;
    color: var(--brand);
    border-left-color: var(--brand);
}

.toc .level-3 {
    padding-left: 0.65rem;
    font-size: 0.77rem;
}

.toc .level-4 {
    padding-left: 1.1rem;
    font-size: 0.74rem;
}

.share-box {
    margin-top: 1rem;
}

.share-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.share-links a,
.share-links button {
    min-width: 0;
    padding: 0.6rem 0.65rem;
    color: var(--ink-soft);
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 720;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.share-links a:hover,
.share-links button:hover {
    color: var(--brand-dark);
    background: var(--brand-soft);
    border-color: #cdd8ff;
}

.article-main-column {
    min-width: 0;
}

.article-ad-sidebar {
    position: sticky;
    top: 98px;
    min-width: 0;
    text-align: center;
}

.advertisement-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.article-skyscraper-ad {
    width: 160px;
    max-width: 100%;
    min-height: 600px;
    margin-inline: auto;
}

.article-skyscraper-ad .ad-slot {
    width: 160px;
    max-width: 160px;
    min-height: 600px;
    margin: 0 auto;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}

.article-skyscraper-ad .ad-slot iframe,
.article-skyscraper-ad .ad-slot object,
.article-skyscraper-ad .ad-slot embed {
    display: block;
    width: 160px;
    max-width: 160px;
    height: 600px;
    border: 0;
}

.article-skyscraper-ad .ad-slot img {
    width: 160px;
    max-width: 160px;
    height: 600px;
    object-fit: cover;
}

.article-skyscraper-ad .ad-text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.article-content-card {
    overflow: hidden;
    padding: clamp(1.5rem, 4vw, 3.6rem);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.article-content {
    color: #273244;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.06rem, 1.7vw, 1.16rem);
    line-height: 1.88;
    overflow-wrap: anywhere;
}

.article-content > :first-child {
    margin-top: 0;
}

.article-content > :last-child {
    margin-bottom: 0;
}

.article-content p {
    margin: 0 0 1.45rem;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    line-height: 1.18;
    letter-spacing: -0.035em;
    scroll-margin-top: 105px;
    text-wrap: balance;
}

.article-content h2 {
    margin: 3rem 0 1rem;
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
}

.article-content h3 {
    margin: 2.3rem 0 0.85rem;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.article-content h4 {
    margin: 1.9rem 0 0.7rem;
    font-size: 1.2rem;
}

.article-content a {
    color: var(--brand-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.article-content ul,
.article-content ol {
    margin: 0 0 1.5rem;
    padding-left: 1.4rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    padding-left: 0.2rem;
}

.article-content strong {
    color: #172033;
}

.article-content img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 2rem auto;
    border-radius: 16px;
}

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

.article-inline-featured {
    float: left;
    width: 300px;
    max-width: 46%;
    margin: 0.35rem 1.8rem 1rem 0;
}

.article-inline-featured img {
    display: block;
    width: 300px;
    max-width: 100%;
    height: 300px;
    margin: 0;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

.article-inline-featured figcaption {
    margin-top: 0.45rem;
    color: var(--muted);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 0.72rem;
    line-height: 1.4;
    text-align: center;
}

.article-content table {
    display: block;
    width: 100%;
    margin: 2rem 0;
    overflow-x: auto;
    border-collapse: collapse;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 0.9rem;
}

.article-content th,
.article-content td {
    min-width: 130px;
    padding: 0.8rem;
    border: 1px solid var(--line);
    text-align: left;
}

.article-content th {
    color: var(--ink);
    background: var(--surface-soft);
}

.article-content blockquote {
    margin: 2rem 0;
    padding: 1.25rem 1.4rem;
    color: var(--ink-soft);
    background: var(--surface-tint);
    border-left: 4px solid var(--brand);
    border-radius: 0 14px 14px 0;
    font-style: italic;
}

.article-content .ad-slot {
    margin-block: 2rem;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.tag-list strong {
    margin-right: 0.2rem;
    color: var(--ink);
    font-size: 0.82rem;
}

.tag-list a {
    padding: 0.42rem 0.72rem;
    color: var(--brand-dark);
    background: var(--brand-soft);
    border: 1px solid #d7e0ff;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 720;
    text-decoration: none;
}

.author-box {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.35rem;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 18px;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.author-box strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--ink);
    font-size: 1.05rem;
}

.author-box p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.article-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.article-navigation a {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 1rem;
    color: var(--ink);
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 14px;
    text-decoration: none;
}

.article-navigation a:hover {
    border-color: #cbd7ff;
    box-shadow: var(--shadow-sm);
}

.article-navigation small {
    margin-bottom: 0.35rem;
    color: var(--muted);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.article-navigation strong {
    overflow: hidden;
    line-height: 1.35;
    text-overflow: ellipsis;
}

.article-bottom-ad {
    margin-top: 1rem;
}

.related-section {
    padding-block: 4.5rem;
}

.comments-section {
    padding: 4.5rem 0;
    background: #ffffff;
}

.comments-heading {
    align-items: center;
}

.comments-heading > span {
    color: var(--muted);
    font-size: 0.82rem;
}

.comments-list {
    display: grid;
    gap: 0.8rem;
}

.comment {
    padding: 1.2rem 1.3rem;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.comment time {
    color: var(--muted);
    font-size: 0.75rem;
}

.comment p {
    margin: 0.7rem 0 0;
    color: var(--ink-soft);
}

.comment-form,
.contact-form {
    margin-top: 2rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.honeypot {
    position: absolute !important;
    left: -10000px !important;
}

.ad-slot {
    display: flex;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto;
    overflow: auto;
    text-align: center;
}

.ad-slot img {
    max-width: 100%;
    height: auto;
}

.ad-text {
    padding: 1rem;
    border: 1px dashed var(--line);
}

.preview-banner {
    position: relative;
    z-index: 110;
    padding: 0.75rem 1rem;
    color: #111827;
    background: #fbbf24;
    font-weight: 800;
    text-align: center;
}

@media (max-width: 1100px) {
    .site-nav {
        gap: 0.08rem;
    }

    .site-nav a {
        padding-inline: 0.52rem;
        font-size: 0.78rem;
    }
}

@media (max-width: 992px) {
    .col-lg-8,
    .col-lg-4 {
        width: 100%;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        display: none;
        max-height: calc(100vh - 80px);
        align-items: stretch;
        padding: 0.75rem 1rem 1rem;
        overflow-y: auto;
        background: #ffffff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
    }

    .site-nav.open {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-nav a {
        padding: 0.85rem;
        font-size: 0.87rem;
    }

    .nav-toggle {
        display: inline-grid;
        place-items: center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .newsletter-section > .container {
        display: block;
    }

    .newsletter-section form {
        min-width: 0;
        margin-top: 1.75rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-layout,
    .article-layout.has-right-ad {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .article-ad-sidebar {
        position: static;
        padding-top: 0.5rem;
    }

    .article-sidebar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 250px;
        gap: 1rem;
    }

    .toc {
        position: static;
        max-height: none;
    }

    .share-box {
        margin-top: 0;
    }
}

@media (max-width: 720px) {
    .col-md-6 {
        width: 100%;
    }

    .container,
    .article-container,
    .comments-container,
    .article-heading-wrap,
    .article-media-container,
    .article-layout {
        width: min(100% - 1.25rem, 1180px);
    }

    .header-main {
        min-height: 70px;
    }

    .brand-copy small {
        display: none;
    }

    .site-brand {
        min-width: 0;
    }

    .hero-section,
    .content-section,
    .page-hero,
    .comments-section {
        padding-block: 3.25rem;
    }

    .hero-section h1 {
        font-size: clamp(2.5rem, 14vw, 4rem);
    }

    .article-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-section form {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .search-large {
        display: grid;
        gap: 0.6rem;
    }

    .search-large input,
    .search-large button {
        border: 1px solid var(--line-strong);
        border-radius: 12px;
    }

    .article-hero {
        padding: 3.3rem 0 2.5rem;
    }

    .article-hero h1 {
        font-size: clamp(2.35rem, 12vw, 3.5rem);
    }

    .article-byline-card {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .article-byline-meta {
        width: 100%;
        margin-left: 0;
        padding-left: 3.7rem;
    }

    .article-sidebar {
        grid-template-columns: 1fr;
    }

    .article-content-card {
        padding: 1.3rem;
        border-radius: 20px;
    }

    .article-content {
        font-size: 1.03rem;
        line-height: 1.82;
    }

    .article-inline-featured {
        float: none;
        width: min(100%, 300px);
        max-width: 100%;
        margin: 0 auto 1.5rem;
    }

    .article-inline-featured img {
        width: 300px;
        max-width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .article-navigation {
        grid-template-columns: 1fr;
    }

    .author-box {
        align-items: flex-start;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .site-nav.open {
        grid-template-columns: 1fr;
    }

    .site-brand strong {
        font-size: 0.92rem;
    }

    .article-byline-meta {
        display: grid;
        gap: 0.25rem;
    }

    .article-byline-meta span::after {
        display: none;
    }

    .share-links {
        grid-template-columns: 1fr;
    }

    .public-pagination {
        gap: 0.75rem;
        font-size: 0.82rem;
    }
}

/* ArticlePress Pro 14.0.6: featured image and horizontal 728x90 ad safeguards. */
.article-inline-featured {
    display: block !important;
    float: left !important;
    width: 300px !important;
    max-width: 46% !important;
    margin: 0.35rem 1.8rem 1rem 0 !important;
}

.article-inline-featured img {
    display: block !important;
    width: 300px !important;
    max-width: 100% !important;
    height: 300px !important;
    margin: 0 !important;
    object-fit: cover !important;
}

.article-horizontal-ad,
.article-inline-ad,
.article-ad-container,
.article-bottom-ad {
    clear: both;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.article-horizontal-ad > .ad-slot,
.article-horizontal-ad .ad-slot-article_top_728x90,
.article-horizontal-ad .ad-slot-article_middle_728x90,
.article-horizontal-ad .ad-slot-article_bottom_728x90,
.article-inline-ad > .ad-slot {
    display: flex !important;
    width: 728px !important;
    min-width: 728px !important;
    max-width: 728px !important;
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
    flex: 0 0 728px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 1.5rem auto !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.article-horizontal-ad iframe,
.article-horizontal-ad object,
.article-horizontal-ad embed,
.article-inline-ad iframe,
.article-inline-ad object,
.article-inline-ad embed {
    display: block !important;
    width: 728px !important;
    min-width: 728px !important;
    max-width: 728px !important;
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
    border: 0 !important;
}

.article-horizontal-ad .ad-slot img,
.article-inline-ad .ad-slot img {
    display: block !important;
    width: 728px !important;
    min-width: 728px !important;
    max-width: 728px !important;
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
    margin: 0 !important;
    object-fit: contain !important;
}

@media (max-width: 720px) {
    .article-inline-featured {
        float: none !important;
        width: min(100%, 300px) !important;
        max-width: 100% !important;
        margin: 0 auto 1.5rem !important;
    }

    .article-inline-featured img {
        width: 300px !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1;
    }
}

/* ArticlePress Pro 14.0.7: category imagery, isolated ad frames, and fixed banner dimensions. */
.category-directory-card {
    display: flex !important;
    min-height: 0 !important;
    flex-direction: column;
    padding: 0 !important;
    overflow: hidden;
}

.category-directory-image,
.category-directory-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 7 / 4;
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand-soft), #eef3ff);
}

.category-directory-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.category-directory-card:hover .category-directory-image img {
    transform: scale(1.035);
}

.category-directory-placeholder {
    display: grid;
    place-items: center;
    color: var(--brand-dark);
    font-size: 2.25rem;
    font-weight: 850;
}

.category-directory-body {
    display: block;
    padding: 1.25rem 1.35rem 1.4rem;
}

.category-directory-body > strong {
    font-size: 1.05rem;
}

.category-page-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.category-page-hero:not(.has-image) .category-page-hero-inner {
    grid-template-columns: minmax(0, 760px);
}

.category-page-copy p {
    max-width: 720px;
}

.category-article-count {
    display: inline-flex;
    margin-top: 0.75rem;
    padding: 0.5rem 0.8rem;
    color: var(--brand-dark);
    background: var(--brand-soft);
    border: 1px solid #d5dfff;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 760;
}

.category-page-image {
    margin: 0;
}

.category-page-image img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-md);
}

.ad-slot-code {
    display: block !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.ad-code-frame {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    border: 0 !important;
}

.article-horizontal-ad .ad-size-728x90,
.article-inline-ad .ad-size-728x90 {
    width: 728px !important;
    min-width: 728px !important;
    max-width: 728px !important;
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
}

.article-horizontal-ad .ad-size-728x90 > .ad-code-frame,
.article-inline-ad .ad-size-728x90 > .ad-code-frame {
    width: 728px !important;
    min-width: 728px !important;
    max-width: 728px !important;
    height: 90px !important;
    min-height: 90px !important;
    max-height: 90px !important;
}

.article-skyscraper-ad .ad-size-160x600,
.article-skyscraper-ad .ad-size-160x600 > .ad-code-frame {
    width: 160px !important;
    min-width: 160px !important;
    max-width: 160px !important;
    height: 600px !important;
    min-height: 600px !important;
    max-height: 600px !important;
}

@media (max-width: 900px) {
    .category-page-hero-inner {
        grid-template-columns: 1fr;
    }

    .category-page-image {
        max-width: 520px;
    }
}

/* ArticlePress Pro 14.0.9: homepage engagement hook and finishing refinements. */
.hero-lead {
    max-width: 740px !important;
    color: #52627a !important;
    font-size: clamp(1.05rem, 1.55vw, 1.24rem) !important;
    line-height: 1.72;
}

.hero-hook-card {
    position: relative;
    overflow: hidden;
    padding: clamp(1.6rem, 3vw, 2.35rem);
    color: var(--ink);
    background:
        radial-gradient(circle at 100% 0%, rgba(49, 87, 227, 0.18), transparent 42%),
        rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(205, 216, 240, 0.95);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.hero-hook-card::after {
    content: "";
    position: absolute;
    right: -48px;
    bottom: -58px;
    width: 160px;
    height: 160px;
    background: rgba(49, 87, 227, 0.08);
    border-radius: 999px;
    pointer-events: none;
}

.hero-hook-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.38rem 0.75rem;
    color: var(--brand);
    background: var(--brand-soft);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.hero-hook-card h2 {
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin: 1.1rem 0 0.75rem;
    font-size: clamp(1.75rem, 3.1vw, 2.55rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero-hook-card > p {
    position: relative;
    z-index: 1;
    max-width: 580px;
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.hero-hook-points {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.68rem;
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
}

.hero-hook-points li {
    display: flex;
    gap: 0.72rem;
    align-items: flex-start;
    color: #334155;
    font-size: 0.94rem;
    line-height: 1.45;
}

.hero-hook-points li::before {
    content: "✓";
    display: inline-grid;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    place-items: center;
    color: #ffffff;
    background: var(--brand);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 900;
}

.hero-hook-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    margin-top: 1.55rem;
}

.hero-hook-actions a {
    color: var(--brand);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.hero-hook-actions a::after {
    content: " →";
}

.hero-hook-actions a:hover {
    text-decoration: underline;
}

.footer-bottom a[href*="/admin/login"] {
    min-width: 72px;
    text-align: right;
}

@media (max-width: 720px) {
    .hero-hook-card {
        padding: 1.4rem;
    }

    .hero-hook-card h2 {
        font-size: clamp(1.65rem, 8vw, 2.15rem);
    }

    .hero-hook-actions {
        display: grid;
    }
}

/* ArticlePress Pro 14.0.11: dynamic header dropdown navigation. */
.site-nav > a,
.nav-dropdown-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    min-height: 38px;
    padding: 0.65rem 0.7rem;
    color: var(--ink-soft);
    background: transparent;
    border: 0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 720;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.18s ease, background 0.18s ease;
}

.site-nav > a:hover,
.site-nav > a.active,
.nav-dropdown-toggle:hover,
.nav-dropdown.active .nav-dropdown-toggle,
.nav-dropdown.open .nav-dropdown-toggle {
    color: var(--brand-dark);
    background: var(--brand-soft);
}

.nav-dropdown {
    position: relative;
}

.nav-caret {
    display: inline-block;
    font-size: 0.72rem;
    line-height: 1;
    transition: transform 0.18s ease;
}

.nav-dropdown.open .nav-caret {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    z-index: 160;
    display: none;
    min-width: 230px;
    padding: 0.55rem;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

.nav-dropdown-categories .nav-dropdown-menu {
    right: 0;
    left: auto;
    width: min(330px, calc(100vw - 2rem));
}

.nav-category-menu {
    max-height: min(66vh, 520px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.nav-dropdown-menu a {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0.72rem 0.82rem;
    color: var(--ink-soft);
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 680;
    line-height: 1.25;
    text-decoration: none;
    white-space: normal;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
    color: var(--brand-dark);
    background: var(--brand-soft);
    outline: none;
}

.nav-dropdown-menu .nav-menu-featured {
    margin-bottom: 0.35rem;
    color: var(--brand-dark);
    background: #f5f7ff;
    border-bottom: 1px solid var(--line);
    font-weight: 820;
}

.nav-dropdown.open > .nav-dropdown-menu {
    display: block;
}

@media (min-width: 993px) {
    .nav-dropdown:hover > .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown:hover .nav-caret {
        transform: rotate(180deg);
    }
}

@media (max-width: 1100px) {
    .site-nav > a,
    .nav-dropdown-toggle {
        padding-inline: 0.52rem;
        font-size: 0.78rem;
    }
}

@media (max-width: 992px) {
    .site-nav > a,
    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 0.85rem;
        font-size: 0.87rem;
        text-align: left;
    }

    .nav-dropdown {
        min-width: 0;
    }

    .nav-dropdown-menu,
    .nav-dropdown-categories .nav-dropdown-menu {
        position: static;
        width: 100%;
        min-width: 0;
        max-height: 320px;
        margin-top: 0.25rem;
        padding: 0.35rem;
        background: #f8faff;
        border-radius: 12px;
        box-shadow: none;
    }

    .nav-dropdown:not(.open) > .nav-dropdown-menu {
        display: none;
    }

    .nav-dropdown.open > .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-menu a {
        padding: 0.7rem 0.78rem;
    }
}

@media (max-width: 480px) {
    .nav-dropdown,
    .site-nav > a {
        grid-column: 1 / -1;
    }
}


/* ArticlePress Pro 14.0.12: two stacked 300x250 ads below Editor's Picks. */
.homepage-editor-ad-stack {
    display: grid;
    justify-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.homepage-editor-ad {
    width: min(100%, 320px);
    text-align: center;
}

.homepage-editor-ad .advertisement-label {
    display: block;
    margin: 0 0 0.55rem;
}

.homepage-editor-ad .ad-slot,
.homepage-editor-ad .ad-size-300x250 {
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
    height: 250px !important;
    min-height: 250px !important;
    max-height: 250px !important;
    margin: 0 auto !important;
    overflow: hidden !important;
}

.homepage-editor-ad .ad-code-frame,
.homepage-editor-ad .ad-slot iframe,
.homepage-editor-ad .ad-slot object,
.homepage-editor-ad .ad-slot embed,
.homepage-editor-ad .ad-slot img {
    display: block !important;
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
    height: 250px !important;
    min-height: 250px !important;
    max-height: 250px !important;
    margin: 0 !important;
    border: 0 !important;
}

@media (max-width: 380px) {
    .homepage-editor-ad {
        overflow-x: auto;
    }
}
