:root {
    font-family: Roboto, Arial, sans-serif;
    color: #172033;
    background: #f3f5f7;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}
body {
    margin: 0;
}

.advertise-header {
    color: #fff;
    background: #003366;
    border-bottom: 5px solid #ff0000;
}
.advertise-header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: 1200px;
    min-height: 50px;
    margin: auto;
    padding: 0 24px;
}
.advertise-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
}
.advertise-brand img {
    width: 100px;
    height: auto;
    object-fit: contain;
}
.advertise-brand small {
    display: block;
    font-size: 10px;
    letter-spacing: 0.08em;
}
.advertise-header nav {
    display: flex;
    gap: 22px;
    margin-left: auto;
}
.advertise-header nav a,
.advertise-contact-link {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}
.advertise-header nav a:hover,
.advertise-contact-link:hover {
    text-decoration: underline;
}

.advertise-main {
    width: min(1200px, calc(100% - 32px));
    margin: 32px auto 56px;
}
.advertise-intro {
    padding: 32px;
    background: #fff;
    border-top: 4px solid #c20017;
}
.advertise-eyebrow {
    margin: 0 0 8px;
    color: #c20017;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
}
.advertise-intro h1,
.advertise-section-heading h2 {
    margin: 0;
    color: #003366;
    font-weight: 800;
}
.advertise-intro h1 {
    font-size: 34px;
}
.advertise-intro > p:last-child {
    max-width: 760px;
    margin: 12px 0 0;
    color: #4b5563;
    line-height: 1.6;
}
.advertise-placements,
.advertise-gallery {
    margin-top: 24px;
    padding: 26px;
    background: #fff;
    border: 1px solid #d3d9e0;
}
.advertise-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}
.advertise-section-heading h2 {
    font-size: 23px;
}
.advertise-placement-list {
    border-top: 1px solid #d8dde3;
}
.advertise-placement-row {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 180px 130px;
    align-items: center;
    gap: 20px;
    padding: 16px 10px;
    border-bottom: 1px solid #d8dde3;
}
.advertise-placement-row > div {
    display: flex;
    align-items: center;
    gap: 14px;
}
.advertise-placement-row img {
    width: 68px;
    height: 50px;
    object-fit: contain;
    background: #f3f5f7;
}
.advertise-placement-row h3 {
    margin: 0 0 4px;
    color: #003366;
    font-size: 17px;
}
.advertise-placement-row p {
    margin: 0;
    color: #606b78;
    font-size: 14px;
}
.advertise-placement-row > strong {
    font-size: 14px;
}
.advertise-placement-row > a {
    color: #003366;
    font-weight: 700;
    text-decoration: none;
}
.advertise-placement-row > a:hover {
    text-decoration: underline;
}

.advertise-slider-controls {
    display: flex;
    gap: 8px;
}
.advertise-slider-controls button {
    width: 38px;
    height: 38px;
    border: 1px solid #c4ccd5;
    background: #fff;
    color: #003366;
    font-size: 24px;
    cursor: pointer;
}
.advertise-slider-controls button:hover {
    box-shadow: 0 4px 10px #00336633;
}
.advertise-slider {
    overflow: hidden;
}
.advertise-slider-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.advertise-slider-track::-webkit-scrollbar {
    display: none;
}
.advertise-demo-card {
    display: flex;
    flex: 0 0 calc((100% - 36px) / 3);
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid #d6dce3;
    color: #003366;
    text-decoration: none;
    scroll-snap-align: start;
}
.advertise-demo-card:hover {
    box-shadow: 0 6px 16px #00336626;
}
.advertise-demo-card img {
    width: 100%;
    height: 130px;
    object-fit: contain;
    background: #f7f8fa;
}
.advertise-demo-card strong {
    font-size: 16px;
}
.advertise-demo-card span {
    color: #667085;
    font-size: 13px;
}
.advertise-slider-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 16px;
}
.advertise-slider-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c7ccd2;
    cursor: pointer;
}
.advertise-slider-dots button[aria-current='true'] {
    background: #003366;
}

.advertise-contact-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
    padding: 24px 28px;
    background: #003366;
    color: #fff;
}
.advertise-contact-strip h2 {
    margin: 0;
    font-size: 21px;
}
.advertise-contact-strip p {
    margin: 6px 0 0;
    color: #e2e8f0;
}
.advertise-contact-strip > a {
    padding: 12px 16px;
    background: #c20017;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}
.advertise-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 22px max(24px, calc((100% - 1200px) / 2));
    background: #111827;
    color: #d1d5db;
    font-size: 13px;
}
.advertise-footer a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.ad-demo-page {
    background: #e9edf1;
}
.demo-toolbar {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px max(20px, calc((100% - 1200px) / 2));
    background: #fff;
    border-bottom: 1px solid #d8dde3;
}
.demo-toolbar a {
    color: #003366;
    font-weight: 700;
    text-decoration: none;
}
.demo-toolbar strong {
    color: #003366;
}
.demo-toolbar > span {
    color: #c20017;
    font-size: 12px;
    font-weight: 800;
}
.demo-news-page {
    width: min(1200px, 100%);
    min-height: 100vh;
    margin: auto;
    background: #fff;
}
.demo-news-topline,
.demo-news-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 14px 22px;
    background: #111;
    color: #fff;
    font-weight: 800;
}
.demo-news-topline span {
    margin-left: auto;
    color: #cbd5e1;
    font-size: 12px;
}
.demo-news-nav {
    border-bottom: 4px solid #c20017;
    background: #003366;
}
.demo-news-nav span {
    font-size: 13px;
}
.demo-breadcrumb {
    display: flex;
    gap: 10px;
    padding: 18px 22px;
    color: #6b7280;
    font-size: 13px;
}
.demo-breadcrumb a {
    color: #003366;
}
.demo-ad-slot {
    display: flex;
    min-height: 180px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 18px 22px;
    border: 1px solid #d8dde3;
    background: #edf0f3;
    color: #003366;
}
.demo-ad-slot > span {
    font-size: 11px;
    letter-spacing: 0.1em;
}
.demo-ad-slot > strong {
    display: grid;
    width: 100%;
    max-width: 760px;
    aspect-ratio: 4 / 1;
    place-items: center;
    background: #003366;
    color: #fff;
    font-size: 22px;
}
.demo-ad-slot > small {
    color: #6b7280;
}
.demo-ad-aside {
    width: 100%;
    max-width: 300px;
    min-height: 600px;
    margin: 0;
}
.demo-ad-aside > strong {
    width: 100%;
    aspect-ratio: 1 / 2;
}
.demo-news-columns {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr);
    gap: 28px;
    padding: 0 22px;
}
.demo-article {
    min-width: 0;
}
.demo-category {
    margin: 0 0 8px;
    color: #c20017;
    font-size: 12px;
    font-weight: 800;
}
.demo-article h1 {
    margin: 0;
    color: #003366;
    font-size: 34px;
    line-height: 1.15;
}
.demo-deck {
    color: #475569;
    font-size: 18px;
    font-style: italic;
}
.demo-byline {
    padding: 12px 0;
    border-bottom: 1px solid #d8dde3;
    color: #64748b;
    font-size: 13px;
}
.demo-article-image {
    display: grid;
    min-height: 360px;
    margin: 18px 0;
    place-items: center;
    background: #e8ebef;
    color: #64748b;
}
.demo-copy {
    font-size: 16px;
    line-height: 1.8;
}
.demo-news-aside {
    min-width: 0;
    padding-left: 20px;
    border-left: 1px solid #d8dde3;
}
.demo-ad-placeholder {
    display: grid;
    min-height: 600px;
    place-items: center;
    background: #edf0f3;
    color: #657080;
    font-size: 12px;
}
.is-section-demo {
    grid-template-columns: minmax(0, 1fr);
}
.demo-section-before,
.demo-section-after {
    max-width: 860px;
}
.demo-section-slot .demo-ad-slot {
    min-height: auto;
    margin: 12px 0;
}
.demo-section-slot .demo-ad-slot > strong {
    max-width: none;
}
.demo-news-footer {
    margin-top: 42px;
    padding: 24px;
    background: #003366;
    color: #fff;
    text-align: center;
}

@media (max-width: 760px) {
    .advertise-header-inner {
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px 16px;
    }
    .advertise-header nav {
        order: 3;
        width: 100%;
        margin: 0;
    }
    .advertise-contact-link {
        margin-left: auto;
    }
    .advertise-main {
        width: calc(100% - 20px);
        margin-top: 16px;
    }
    .advertise-intro,
    .advertise-placements,
    .advertise-gallery {
        padding: 18px;
    }
    .advertise-intro h1 {
        font-size: 28px;
    }
    .advertise-placement-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
    }
    .advertise-placement-row > a {
        grid-column: 1 / -1;
    }
    .advertise-placement-row img {
        width: 52px;
        height: 42px;
    }
    .advertise-demo-card {
        flex-basis: 80%;
    }
    .advertise-contact-strip {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px;
    }
    .advertise-footer {
        padding: 18px 16px;
    }
    .demo-news-topline span {
        display: none;
    }
    .demo-news-nav {
        gap: 12px;
        overflow: hidden;
        white-space: nowrap;
        font-size: 12px;
    }
    .demo-news-nav span {
        font-size: 10px;
    }
    .demo-news-columns {
        grid-template-columns: minmax(0, 1fr);
        padding: 0 14px;
    }
    .demo-news-aside {
        padding: 0;
        border: 0;
    }
    .demo-ad-aside {
        min-height: 300px;
    }
    .demo-ad-aside > strong {
        max-width: 300px;
    }
    .demo-article h1 {
        font-size: 28px;
    }
    .demo-article-image {
        min-height: 240px;
    }
    .demo-toolbar {
        padding: 12px;
    }
    .demo-toolbar > span {
        display: none;
    }
}
