.about-page {
    --about-burgundy: #7b1831;
    --about-burgundy-dark: #541021;
    --about-cream: #f7f2ea;
    --about-border: #e3d9cc;
    --about-text: #2f3033;
    --about-muted: #68646a;
    color: var(--about-text);
    padding-bottom: 3rem;
    font-size: 16px;
    overflow-x: clip;
}

.about-page *, .about-page *::before, .about-page *::after { box-sizing: border-box; }
.about-page > .about-section,
.about-page > .about-cta,
.about-page > .about-more-links { width: calc(100% - 40px); max-width: 1140px; margin-right: auto; margin-left: auto; }
.about-page h1, .about-page h2, .about-page h3 { color: var(--about-burgundy-dark); line-height: 1.18; }
.about-page h2 { font-size: clamp(1.62rem, 2.7vw, 2.2rem); margin: 0 0 1rem; }
.about-page h3 { font-size: 1.15rem; }
.about-page p { line-height: 1.72; }

.about-hero {
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
    border-radius: 0;
    padding: clamp(2rem, 6vw, 4.75rem);
    background-color: #282828;
    background-image: linear-gradient(90deg, rgba(20,20,20,.94) 0%, rgba(35,35,35,.78) 43%, rgba(35,35,35,.12) 78%), url("../Pages/images/apropos/hero-archives-genealogie-quebec.webp");
    background-position: center;
    background-size: cover;
    background-blend-mode: normal, luminosity;
    box-shadow: 0 18px 45px rgba(54, 22, 30, .18);
}
.about-hero__content { width: min(1180px, calc(100% - 40px)); max-width: 1180px; margin: 0 auto; }
.about-hero__content > * { max-width: 650px; }
.about-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 4rem); margin: .3rem 0 1rem; }
.about-hero__lead { color: #f8f2ee; font-size: 1.15rem; max-width: 61ch; }
.about-eyebrow { color: var(--about-burgundy); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.about-hero .about-eyebrow { color: #efd6dc; }
.about-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.about-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border: 2px solid transparent; border-radius: 8px; padding: .7rem 1.15rem; font-weight: 700; text-decoration: none !important; transition: transform .18s ease, background-color .18s ease, border-color .18s ease; }
.about-btn:hover { transform: translateY(-1px); }
.about-btn:focus-visible, .about-faq-toggle:focus-visible, .about-table-scroll:focus-visible { outline: 3px solid #d89a2b; outline-offset: 3px; }
.about-btn--primary { border-color: #C44931; background: #C44931; color: #fff; }
.about-btn--primary:hover, .about-btn--primary:focus { border-color: #a83a27; background: #a83a27; color: #fff !important; }
.about-btn--secondary { border-color: #fff; background: #fff; color: var(--about-burgundy-dark); }
.about-btn--secondary:hover, .about-btn--secondary:focus { background: var(--about-cream); color: var(--about-burgundy-dark) !important; }
.about-btn--burgundy { border-color: var(--about-burgundy); background: var(--about-burgundy); color: #fff; }
.about-btn--burgundy:hover, .about-btn--burgundy:focus { border-color: var(--about-burgundy-dark); background: var(--about-burgundy-dark); color: #fff !important; }
.about-btn--light { background: #fff; color: var(--about-burgundy-dark); }
.about-btn--outline { border-color: #fff; color: #fff; }
.about-btn--light:hover, .about-btn--light:focus { background: var(--about-cream); color: var(--about-burgundy-dark) !important; }
.about-btn--outline:hover, .about-btn--outline:focus { border-color: #fff; background: rgba(255,255,255,.1); color: #fff !important; }

.about-section { margin: clamp(2.5rem, 5vw, 4rem) 0; }
.about-section-heading { max-width: 780px; margin-bottom: 1.6rem; }
.about-collections .about-section-heading { width: 100%; max-width: none; }
.about-collections .about-section-heading h2,
.about-collections .about-section-heading p { width: 100%; max-width: none; }
.about-trust .about-section-heading,
.about-trust .about-section-heading h2 { width: 100%; max-width: none; }
.about-trust .about-section-heading { text-align: center; }
.about-mission { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(320px, .94fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-mission { margin-top: clamp(1.25rem, 3vw, 2rem); }
.about-mission__visual { min-height: 460px; margin: 0; overflow: hidden; border-radius: 16px; background: #e9dfd4; box-shadow: 0 16px 36px rgba(64, 43, 46, .16); }
.about-mission__visual img { display: block; width: 100%; height: 460px; object-fit: cover; filter: grayscale(.72) sepia(.12) contrast(1.05); }
.about-mission-points { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.about-mission-points article { padding: 0 0 1rem 1.15rem; border-bottom: 1px solid var(--about-border); border-left: 3px solid var(--about-burgundy); }
.about-mission-points article:last-child { padding-bottom: 0; border-bottom: 0; }
.about-mission-points h3 { margin: 0 0 .35rem; color: var(--about-burgundy); font-size: 1.12rem; }
.about-mission-points p { margin: 0; color: #4d484a; }

.about-current-collections { padding: 0; }
.about-collections-feature { width: 100%; max-width: none; }
.about-collections-feature h2 { margin-bottom: 1rem; }
.about-collections-feature p:not(.about-eyebrow) { width: 100%; max-width: none; margin: 0 0 1rem; color: #4d484a; }
.about-collections-feature .about-btn { margin-top: .35rem; }

.about-faq-item { margin: 0; border: 0; border-bottom: 1px solid #ddd7cf; border-radius: 0; background: #fffdfa; box-shadow: none; overflow: visible; }
.about-faq-item:last-child { border-bottom: 0; }
.about-faq-item h3 { position: relative; margin: 0; padding: 0; color: #292929; font-size: 18px; font-weight: 400; background: #fffdfa; }
.about-faq-toggle { position: relative; display: block; width: 100%; min-height: 62px; padding: 18px 72px 18px 30px; border: 0; border-radius: 0; color: inherit; background: transparent; font: inherit; line-height: 1.45; text-align: left; overflow-wrap: anywhere; white-space: normal; cursor: pointer; }
.about-faq-toggle:hover, .about-faq-toggle:focus, .about-faq-toggle:active { color: inherit; background: transparent; text-decoration: none; outline: 0; }
.about-faq-toggle:focus-visible { box-shadow: inset 0 0 0 3px rgba(203, 76, 51, .28); }
.about-faq-toggle[aria-expanded="true"] { padding-left: 20px; border-left: 10px solid #cb4c33; color: #a93622; background: #eee8df; font-weight: 700; }
.about-faq-toggle::after { content: "+"; position: absolute; top: 50%; right: 24px; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid #e89a89; border-radius: 50%; color: #c94b32; background: transparent; font-size: 24px; font-weight: 300; line-height: 1; transform: translateY(-50%); }
.about-faq-toggle[aria-expanded="true"]::after { content: "\2212"; border-color: #c94b32; color: #fff; background: #c94b32; }
.about-faq-toggle > span { display: none; }
.about-data-date { margin: -.45rem 0 .8rem; color: var(--about-muted); font-size: .92rem; }
.about-collections-table { width: 100%; }
.about-table-scroll { max-width: 100%; overflow-x: auto; border-radius: 8px; }
.about-data-table { width: 100%; min-width: 660px; margin: 0; border-collapse: collapse; }
.about-data-table caption { caption-side: top; padding: .75rem 0 1rem; color: var(--about-muted); font-size: .95rem; text-align: left; }
.about-data-table thead th { border-color: #6f1029; background: linear-gradient(135deg, var(--about-burgundy-dark), var(--about-burgundy)); color: #fff; padding: .9rem 1rem; }
.about-data-table tbody td, .about-data-table tbody th { padding: .7rem 1rem; border-color: #eadfd5; vertical-align: top; }
.about-data-table tbody tr:nth-child(even) { background: #fbf8f4; }
.about-data-table tbody td:last-child { text-align: right; white-space: nowrap; }
.about-data-table tbody .about-table-group-heading { background: linear-gradient(135deg, var(--about-burgundy-dark), var(--about-burgundy)) !important; color: #fff; }
.about-data-table tbody .about-table-group-heading td { border-color: #7f2940; border-top: 2px solid #6f1029; color: inherit; font-weight: 700; }
.about-data-table tbody .about-table-group-heading a { color: #fff; }
.about-data-table tbody .about-table-group-heading.about-group-collapsed { background: #fcfaf7 !important; color: var(--about-burgundy-dark); }
.about-data-table tbody .about-table-group-heading.about-group-collapsed td { border-color: #eee7df; border-top-color: #e2d7cb; }
.about-data-table tbody .about-table-group-heading.about-group-collapsed a { color: var(--about-burgundy); }
.about-table-group-toggle { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-right: .45rem; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; vertical-align: middle; cursor: pointer; }
.about-group-collapsed .about-table-group-toggle { color: var(--about-burgundy); }
.about-table-group-toggle span { width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(225deg); transition: transform .18s ease; }
.about-table-group-toggle[aria-expanded="false"] span { transform: rotate(45deg); }
.about-table-group-toggle:focus-visible { outline: 3px solid #d89a2b; outline-offset: 2px; }
.about-group-row-hidden { display: none; }
.about-table-total { background: #f1e5e8 !important; }
.about-table-total th { text-align: left; }
.about-data-table a { color: var(--about-burgundy); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }

.about-history { padding: 0; }
.about-history-layout { display: grid; grid-template-columns: minmax(350px, .95fr) minmax(0, 1.8fr); gap: 1.25rem; align-items: stretch; }
.about-history .about-section-heading { width: 100%; max-width: none; margin-right: auto; margin-bottom: 1.25rem; margin-left: auto; text-align: center; }
.about-history-intro { width: 100%; max-width: none; margin: 0; color: #4d484a; text-align: left; }
.about-history-portraits { display: grid; grid-template-columns: 1fr; gap: 1rem; align-content: start; }
.about-history-portrait-card { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: .85rem; align-items: stretch; min-height: 270px; overflow: hidden; margin: 0; padding: 0 .85rem 0 0; border: 1px solid var(--about-border); border-top: 3px solid var(--about-burgundy-dark); border-radius: 10px; background: #fff; box-shadow: 0 5px 14px rgba(53, 38, 42, .07); }
.about-history-portrait-card img { display: block; width: 190px; height: 270px; border-radius: 7px 0 0 7px; object-fit: cover; object-position: center top; filter: saturate(.82) contrast(1.02); }
.about-history-portrait-card figcaption { display: grid; align-content: center; gap: .5rem; color: #4d484a; line-height: 1.45; }
.about-history-portrait-card figcaption strong { color: var(--about-burgundy-dark); font-size: 1.08rem; }
.about-history-portrait-card figcaption span { font-size: .94rem; }
.about-history-portrait-icon { display: grid; place-items: center; width: 36px; height: 36px; margin-top: .35rem; border: 1px solid #eadde0; border-radius: 50%; color: var(--about-burgundy); background: #fff; box-shadow: 0 3px 9px rgba(53, 38, 42, .06); }
.about-history-portrait-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.about-history-story { position: relative; display: grid; gap: 1.5rem; padding: 1.5rem 1.75rem 1.5rem 4.5rem; border: 1px solid #eee5dc; border-radius: 12px; background: #fff; box-shadow: 0 5px 16px rgba(53, 38, 42, .05); }
.about-history-story::before { content: ""; position: absolute; top: 2.1rem; bottom: 2.1rem; left: 2.05rem; width: 1px; background: #d8c8cc; }
.about-history-entry { position: relative; }
.about-history-entry-icon { position: absolute; top: -.05rem; left: -3.65rem; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--about-burgundy); color: #fff; box-shadow: 0 0 0 4px #fff; }
.about-history-entry-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.about-history-entry h3 { margin: 0 0 .45rem; color: var(--about-burgundy); font-size: 1.35rem; }
.about-history-entry p { width: 100%; max-width: none; margin: 0; color: #4d484a; }
.about-card-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.about-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.about-trust .about-card-grid { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.about-card-grid article { padding: 1.6rem; border: 1px solid var(--about-border); border-radius: 12px; background: #fff; box-shadow: 0 7px 20px rgba(53, 38, 42, .06); }
.about-card-icon { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: .85rem; color: var(--about-burgundy); }
.about-card-icon svg { width: 32px; height: 32px; }
.about-card-grid h3 { margin-top: 0; }

.about-page > .about-faq { max-width: 1140px; padding: 0; overflow: visible; background: transparent; }
.about-faq::before, .about-faq::after { display: none; }
.about-faq .about-section-heading, .about-faq-list { position: relative; z-index: 1; }
.about-faq .about-section-heading { max-width: none; margin: 0 0 48px; text-align: center; }
.about-faq .about-section-heading h2 { margin: 0; padding: 0; color: #4f4037; font-size: 44px; font-weight: 700; line-height: 1.18; }
.about-faq .about-section-heading h2::after { content: ""; display: block; width: 54px; height: 3px; margin: 20px auto 0; background: #c94b32; }
.about-faq-list { display: grid; grid-template-columns: 1fr; gap: 0; width: 100%; max-width: none; margin: 0 auto; overflow: hidden; border: 1px solid #ddd7cf; border-radius: 14px; background: #fffdfa; box-shadow: 0 16px 34px rgba(45, 37, 32, .10); }
.about-faq-panel { box-sizing: border-box; width: 100%; height: auto; min-height: 0; margin: 0; padding: 22px 30px 26px; border: 0; border-left: 4px solid #cb4c33; border-radius: 0; color: #57504b; background: #fff; font-size: 17px; font-weight: 400; line-height: 1.62; overflow: visible; overflow-wrap: anywhere; word-break: normal; white-space: normal; }
.about-faq-panel p { max-width: 100%; margin: 0; line-height: inherit; }
.about-faq-panel a { color: #a93622; font-weight: 600; overflow-wrap: anywhere; }
.about-faq-panel[hidden] { display: none; }
.about-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 3.5rem; padding: clamp(1.75rem, 5vw, 3rem); border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--about-burgundy-dark), var(--about-burgundy)); }
.about-cta h2 { color: #fff; margin-bottom: .5rem; }
.about-cta p { margin: 0; }
.about-legacy-links { width: calc(100% - 40px); max-width: 1140px; margin: 3.5rem auto 0; }
.about-more-links { width: 100%; padding: 1.6rem 1.85rem 2.9rem; border-left: 12px solid var(--about-burgundy); border-radius: 12px; background: #fcfaf7; box-shadow: 0 12px 30px rgba(53, 38, 42, .08); }
.about-more-links h3 { margin: 0 0 1rem; color: var(--about-burgundy-dark); font-size: 1.55rem; font-weight: 400; }
.about-more-links ul { margin: 0; padding: 0; list-style: none; }
.about-more-primary-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem 2rem; }
.about-more-primary-links li { min-width: 0; }
.about-more-primary-links a { display: flex; align-items: center; min-height: 44px; padding: .65rem 3.15rem .65rem 1.1rem; border-radius: 4px; background: #fff; color: #242122; font-weight: 700; line-height: 1.3; }
.about-more-links a { position: relative; text-decoration: none; transition: color .18s ease, box-shadow .18s ease, transform .18s ease; }
.about-more-links a::after { content: "\2192"; position: absolute; top: 50%; right: .8rem; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #e7c4cd; border-radius: 50%; color: var(--about-burgundy); background: #fcf2f4; font-size: 1rem; font-weight: 500; transform: translateY(-50%); }
.about-more-links a:hover, .about-more-links a:focus { color: var(--about-burgundy); text-decoration: none; box-shadow: 0 5px 14px rgba(53, 38, 42, .09); transform: translateY(-1px); }
.about-more-links h4 { margin: 1.6rem 0 1.4rem; padding-bottom: .55rem; border-bottom: 1px solid #dbc5ca; color: var(--about-burgundy); font-size: .9rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.about-more-document-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.about-more-document-links li { position: relative; min-width: 0; min-height: 85px; padding: 1rem 3.4rem 1rem 1.1rem; border: 1px solid #dfd2c9; border-radius: 8px; background: #fff; }
.about-more-document-links a { display: block; color: #312d2e; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.about-more-document-links a::after { right: 1rem; }
.about-document-date { display: block; margin-top: .35rem; color: #817878; font-size: .88rem; }

@media (max-width: 900px) {
    .about-mission { grid-template-columns: 1fr; }
    .about-mission__visual { min-height: 360px; }
    .about-mission__visual img { height: 360px; }
    .about-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about-history-layout { grid-template-columns: minmax(270px, 300px) minmax(0, 1fr); gap: 1rem; }
    .about-history-portrait-card { grid-template-columns: 140px minmax(0, 1fr); min-height: 205px; }
    .about-history-portrait-card img { width: 140px; height: 205px; }
    .about-history-story { padding-right: 1.25rem; }
    .about-cta { align-items: flex-start; flex-direction: column; }
    .about-more-document-links { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .about-hero { min-height: 440px; padding: 2rem 0; background-image: linear-gradient(90deg, rgba(20,20,20,.94), rgba(38,38,38,.68)), url("../Pages/images/apropos/hero-archives-genealogie-quebec.webp"); }
    .about-card-grid, .about-faq-list { grid-template-columns: 1fr; }
    .about-page > .about-faq { padding: 0; }
    .about-faq .about-section-heading { margin-bottom: 34px; }
    .about-faq .about-section-heading h2 { font-size: 34px; }
    .about-faq-list { border-radius: 11px; }
    .about-faq-item h3 { font-size: 16px; }
    .about-faq-toggle { min-height: 58px; padding: 16px 58px 16px 20px; }
    .about-faq-toggle[aria-expanded="true"] { padding-left: 14px; }
    .about-faq-toggle::after { right: 16px; width: 30px; height: 30px; font-size: 22px; }
    .about-faq-panel { padding: 20px 20px 24px; font-size: 16px; line-height: 1.58; }
    .about-trust .about-card-grid { grid-template-columns: 1fr; }
    .about-more-links { padding: 1.35rem 1rem 1.6rem; border-left-width: 8px; }
    .about-more-primary-links { grid-template-columns: 1fr; gap: .45rem; }
    .about-more-links h3 { font-size: 1.35rem; }
    .about-section { margin: 2.25rem 0; }
    .about-actions, .about-btn { width: 100%; }
    .about-table-scroll { overflow-x: visible; }
    .about-data-table { width: 100%; min-width: 0; table-layout: fixed; font-size: .86rem; }
    .about-data-table th:first-child,
    .about-data-table td:first-child { width: 62%; }
    .about-data-table th:last-child,
    .about-data-table td:last-child { width: 38%; }
    .about-data-table thead th,
    .about-data-table tbody td,
    .about-data-table tbody th { padding: .58rem .5rem; overflow-wrap: anywhere; word-break: normal; }
    .about-data-table tbody td:last-child { white-space: normal; }
    .about-table-group-toggle { width: 24px; height: 24px; margin-right: .25rem; }
    .about-table-group-toggle span { width: 8px; height: 8px; }
    .about-history-portraits { grid-template-columns: 1fr; }
    .about-history-layout { grid-template-columns: 1fr; gap: 1.75rem; }
    .about-history-portrait-card { grid-template-columns: 155px minmax(0, 1fr); min-height: 225px; }
    .about-history-portrait-card img { width: 155px; height: 225px; }
    .about-history-story { padding: 1.25rem 1rem 1.25rem 3.75rem; }
    .about-history-story::before { left: 1.65rem; }
    .about-history-entry-icon { left: -3.1rem; width: 32px; height: 32px; }
    .about-history-entry-icon svg { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .about-page *, .about-page *::before, .about-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
