/* about.php page styles.
   The hero, page shell, reading panel, section titles and the FAQ
   accordion are shared components (includes/styles.css). This file
   holds the brand lockup at the top of the panel, the text rhythm
   inside it (the same .info-doc rules as privacy.css and
   disclaimer.css) and the policy links row that closes it. The
   FIRELIGHT overview is styled in firelight.css. */

/* Brand lockup: the site's own glyph in the admin site colour. */
.about-brand {
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--border-soft);
    text-align: center;
}

.about-logo {
    display: block;
    font-size: 3rem;
    line-height: 1;
    color: var(--site-color, #c0392b);
}

.about-brand-name {
    margin: var(--space-3) 0 0;
    font-size: var(--fs-card-title);
    font-weight: 700;
    line-height: 1.25;
}

/* Text rhythm inside the reading panel. */
.info-doc > section + section {
    margin-top: var(--space-8);
}

.info-doc .section-title {
    margin: 0 0 var(--space-4);
}

.info-doc section > :last-child {
    margin-bottom: 0;
}

/* The section title's tagline (.section-desc) sits under the title. */
.info-doc .section-title + .section-desc {
    margin: calc(var(--space-2) * -1) 0 var(--space-4);
}

/* FAQ. Bootstrap's chevron is a fixed #212529 image (and #052c65 when
   open), which disappears on the dark card; the accordion bridge in
   includes/styles.css has no dark chevron yet. Painting the same
   image as a mask over currentColor makes it follow the button text
   in both themes. Move this into the bridge when a second page uses
   an accordion. */
.faq-accordion .accordion-button::after {
    background-color: currentColor;
    background-image: none;
    -webkit-mask: var(--bs-accordion-btn-icon) center / contain no-repeat;
    mask: var(--bs-accordion-btn-icon) center / contain no-repeat;
}

/* Policy links closing the panel. */
.info-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2) var(--space-6);
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--border-soft);
    font-weight: 600;
}
