/* ============================================================
   About Us page
   Uses the theme variables from the root stylesheet.
   Scoped to .about-us-page so other pages are not affected.
   Logical properties are used so the layout also works in
   right-to-left languages (Arabic, Urdu, Persian, Pashto).
   ============================================================ */

.about-us-page .page-content {
    max-width: 46rem;
    margin-inline: auto;
    padding-block: var(--nz-space-xl) var(--nz-space-xxl);
    line-height: 1.75;
    font-size: 1.0625rem;
}


/* ------------------------------------------------------------
   Tagline block
   ------------------------------------------------------------ */

.about-us-tagline {
    text-align: center;
    margin-block-end: var(--nz-space-xl);
}

.about-us-tagline h2 {
    margin: 0 0 var(--nz-space-sm);
    font-size: 2rem;
    line-height: 1.25;
    color: var(--nz-green);
}

.about-us-tagline p {
    margin: 0;
    font-size: 1.125rem;
    font-style: italic;
    color: var(--nz-text-muted);
}


/* ------------------------------------------------------------
   Sections
   (the vertical gap above each section comes from the
   .about-us-section rule in the root stylesheet)
   ------------------------------------------------------------ */

.about-us-page .page-content > p {
    margin: 0 0 var(--nz-space-lg);
}

.about-us-section {
    padding-block-start: var(--nz-space-xl);
    border-block-start: 1px solid var(--nz-border);
}

.about-us-section h2 {
    margin: 0 0 var(--nz-space-md);
    font-size: 1.5rem;
    line-height: 1.3;
    color: var(--nz-green);
}

.about-us-section p {
    margin: 0 0 var(--nz-space-md);
}

.about-us-section p:last-child {
    margin-block-end: 0;
}


/* ------------------------------------------------------------
   Lists
   ------------------------------------------------------------ */

.about-us-section ul {
    margin: 0 0 var(--nz-space-md);
    padding-inline-start: var(--nz-space-lg);
}

.about-us-section li {
    margin-block-end: var(--nz-space-sm);
    padding-inline-start: var(--nz-space-xs);
}

.about-us-section li:last-child {
    margin-block-end: 0;
}

.about-us-section li::marker {
    color: var(--nz-green);
}


/* ------------------------------------------------------------
   Links
   (the root stylesheet removes link underlines, so they are
   restored here for links inside this page's text)
   ------------------------------------------------------------ */

.about-us-page .page-content a {
    color: var(--nz-green);
    text-decoration: none;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
    transition: text-decoration-thickness var(--nz-transition);
}

.about-us-page .page-content a:hover {
    text-decoration-thickness: 2px;
}


/* ------------------------------------------------------------
   Closing section: 3rem of space before each
   ------------------------------------------------------------ */

.about-us-contact {
    margin-block-start: var(--nz-space-xxxl);
}

.about-us-closing {
    margin-block-start: var(--nz-space-xl);
    text-align: center;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
    color: var(--nz-green);
}


/* ------------------------------------------------------------
   Small screens
   ------------------------------------------------------------ */

@media (max-width: 640px) {

    .about-us-page .page-content {
        font-size: 1rem;
    }

    .about-us-tagline h2 {
        font-size: 1.625rem;
    }

    .about-us-section h2 {
        font-size: 1.3rem;
    }

    .about-us-closing {
        font-size: 1.125rem;
    }
}