.content-page {
    margin: 0 auto;
    max-width: 960px;
    padding: 3rem 0 4rem;
}

.content-page__header {
    border-bottom: 3px solid var(--brand-primary);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.content-page__header h1 {
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    margin: 0;
    text-transform: uppercase;
}

.content-page__hero {
    aspect-ratio: 16 / 9;
    margin: 0 0 2rem;
    overflow: hidden;
}

.content-page__hero picture,
.content-page__hero img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.content-page__body {
    font-size: 1rem;
    line-height: 1.7;
}

/* A content page is not a legal document: media runs the full 960px column,
   only running text keeps the reading measure. */
.content-page__body.legal-body {
    max-width: none;
}

.content-page__body p,
.content-page__body ul,
.content-page__body ol,
.content-page__body blockquote {
    max-width: 72ch;
}

/* Sub-headings (FAQ questions, the sub-sections under a section) read as
   bold labels, a clear step below the section <h2>. */
.content-page__body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 2rem;
}

.content-page__body h2 + h3 {
    margin-top: 1rem;
}

.content-page__body img {
    display: block;
    height: auto;
    margin: 1.5rem auto;
    max-width: 100%;
}

/* A page laid out centred end to end (ContentPage::CENTERED_SLUGS): the copy
   follows the centred images instead of hugging the left edge. */
.content-page--centered .content-page__body {
    text-align: center;
}

.content-page--centered .content-page__body p,
.content-page--centered .content-page__body ul,
.content-page--centered .content-page__body ol,
.content-page--centered .content-page__body blockquote {
    margin-inline: auto;
}

.content-page--centered .content-page__links {
    justify-content: center;
}

/* Button row: bare links the layout pass grouped (installer downloads,
   "Explore Release Notes"). Brand fill + on-primary text, never accent-as-text. */
.content-page__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0 2rem;
    max-width: none;
}

.content-page__body .content-page__button {
    background: var(--brand-primary-fill, var(--brand-primary));
    border-radius: 3px;
    color: var(--brand-on-primary, #fff);
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.7rem 1.4rem;
    text-decoration: none;
    text-transform: uppercase;
}

.content-page__body .content-page__button:hover,
.content-page__body .content-page__button:focus-visible {
    background: var(--brand-primary-fill-hover, var(--brand-primary-fill, var(--brand-primary)));
    color: var(--brand-on-primary, #fff);
}

/* Captioned cards: a picture plus the short line that described it. */
.content-page__grid {
    align-items: start;
    display: grid;
    gap: 2rem 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin: 2rem 0 2.5rem;
}

.content-page__card {
    margin: 2rem 0;
    text-align: center;
}

.content-page__grid .content-page__card {
    margin: 0;
}

.content-page__card img {
    margin: 0 auto 1rem;
    max-height: 440px;
    width: auto;
}

.content-page__card figcaption {
    color: #333;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 auto;
    max-width: 34ch;
}

.content-page__body table {
    border-collapse: collapse;
    display: block;
    margin: 1.5rem 0;
    max-width: 100%;
    overflow-x: auto;
    width: max-content;
}

.content-page__body th,
.content-page__body td {
    border: 1px solid #ddd;
    padding: 0.75rem;
    text-align: left;
}

.video-embed {
    aspect-ratio: 16 / 9;
    margin: 2rem 0;
}

.video-embed iframe {
    border: 0;
    height: 100%;
    width: 100%;
}

.manuals-index__group + .manuals-index__group {
    border-top: 1px solid #ddd;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
}

.manuals-index__group h2 {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.manuals-index__products {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.manuals-index__product {
    border: 1px solid #ddd;
    padding: 1.25rem;
}

.manuals-index__product h3 {
    font-size: 1.125rem;
}

.manuals-index__product ul,
.manuals-index__legacy {
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .content-page {
        padding: 2rem 0 3rem;
    }

    .content-page__header h1 {
        font-size: 1.75rem;
    }

    .manuals-index__products {
        grid-template-columns: 1fr;
    }
}
