:root {
    --teal: #007a72;
    --teal-dark: #004f4a;
    --coral: #ff5a49;
    --ink: #17323a;
    --muted: #6f7f85;
    --line: rgba(242, 140, 0, .34);
    --soft: #f6faf9;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(23, 50, 58, .08);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: #f8fbfa;
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }

body.modal-open {
    overflow: hidden;
}

.app-shell {
    max-width: 1360px;
    margin: 0 auto;
    padding: 24px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.brand-logo-full {
    width: auto;
    height: 64px;
    max-width: 190px;
    object-fit: contain;
    display: block;
}

.topnav {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-size: 15px;
    flex-wrap: wrap;
}

.button,
.link-button {
    border: 0;
    border-radius: 8px;
    padding: 13px 20px;
    font-weight: 800;
    cursor: pointer;
}

.button {
    background: var(--teal);
    color: white;
    display: inline-flex;
    justify-content: center;
}

.button-coral { background: var(--coral); }
.link-button { background: transparent; color: var(--muted); }

.topnav-about-button {
    border: 0;
    border-radius: 999px;
    padding: 13px 20px;
    background: #eaf7f4;
    color: var(--teal-dark);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.topnav-about-button:hover {
    background: #dff2ee;
}

.about-modal[hidden] {
    display: none;
}

.about-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
}

.about-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 38, 36, .42);
    backdrop-filter: blur(4px);
}

.about-modal-panel {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 34px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 8% 0%, rgba(255, 90, 73, .12), transparent 24%),
        radial-gradient(circle at 100% 20%, rgba(0, 122, 114, .12), transparent 28%),
        #fff;
    border: 1px solid rgba(242, 140, 0, .34);
    box-shadow: 0 30px 80px rgba(0, 38, 36, .24);
}

.about-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #eaf7f4;
    color: var(--teal-dark);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.about-modal-panel h2 {
    margin: 8px 0 12px;
    color: var(--teal-dark);
    font-size: 34px;
    line-height: 1.12;
}

.about-modal-panel > p:not(.eyebrow) {
    margin: 0;
    color: #435962;
    font-size: 17px;
    line-height: 1.65;
    font-weight: 700;
}

.about-modal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.about-modal-grid div {
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(242, 140, 0, .34);
}

.about-modal-grid span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 14px;
    background: #eaf7f4;
    font-size: 24px;
}

.about-modal-grid strong {
    display: block;
    margin-bottom: 7px;
    color: var(--teal-dark);
    font-size: 16px;
}

.about-modal-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
}

.about-page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: stretch;
    margin-top: 20px;
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background:
        radial-gradient(circle at 8% 0%, rgba(255, 90, 73, .14), transparent 24%),
        radial-gradient(circle at 96% 18%, rgba(0, 122, 114, .15), transparent 28%),
        linear-gradient(135deg, #fff, #eff8f5);
    box-shadow: var(--shadow);
}

.about-page-hero h1 {
    max-width: 860px;
    margin: 10px 0 18px;
    color: var(--teal-dark);
    font-size: 44px;
    line-height: 1.08;
}

.about-page-hero p:not(.eyebrow),
.about-page-band p {
    margin: 0;
    color: #435962;
    font-size: 18px;
    line-height: 1.65;
    font-weight: 700;
}

.about-page-section {
    margin-top: 24px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
}

.about-page-title {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-bottom: 22px;
}

.about-page-title h2,
.about-page-band h2 {
    max-width: 760px;
    margin: 0;
    color: var(--teal-dark);
    font-size: 32px;
    line-height: 1.15;
}

.about-page-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.about-page-card {
    padding: 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--line);
}

.about-page-card-main {
    display: grid;
    align-content: center;
    background: #fff;
}

.about-page-card span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 16px;
    background: #eaf7f4;
    font-size: 28px;
}

.about-page-card strong {
    display: block;
    margin-bottom: 10px;
    color: var(--teal-dark);
    font-size: 19px;
    line-height: 1.2;
}

.about-page-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
    font-weight: 700;
}

.about-page-band {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
    background:
        linear-gradient(135deg, #004f4a, #007a72);
}

.about-page-band .eyebrow,
.about-page-band h2,
.about-page-band p {
    color: #fff;
}

.about-page-band p {
    max-width: 820px;
    opacity: .92;
}

.panel,
.auth-card,
.post-card,
.left-rail,
.public-card,
.theme-tile {
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.app-grid {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
}

.left-rail {
    padding: 12px;
    display: grid;
    gap: 8px;
}

.rail-link {
    padding: 14px 16px;
    border-radius: 10px;
    font-weight: 800;
}

.rail-link.active,
.rail-link:hover {
    background: #eaf7f4;
    color: var(--teal-dark);
}

.panel {
    padding: 24px;
    margin-bottom: 18px;
}

.panel h1 {
    margin: 12px 0;
    font-size: 36px;
    line-height: 1.1;
}

.panel h2 {
    margin: 0;
    font-size: 26px;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--teal);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.muted {
    color: var(--muted);
    line-height: 1.5;
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.tag,
.theme-chip {
    display: inline-flex;
    border-radius: 999px;
    background: #eaf7f4;
    color: var(--teal-dark);
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 800;
}

.theme-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.theme-tile {
    padding: 16px;
    box-shadow: none;
}

.post-card {
    padding: 16px;
    margin-top: 12px;
    box-shadow: none;
}

.post-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar,
.avatar-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

.avatar {
    display: grid;
    place-items: center;
    background: var(--teal);
    color: white;
    font-weight: 900;
}

.avatar-img {
    object-fit: cover;
    border: 2px solid white;
}

.post-meta {
    color: var(--muted);
    font-size: 13px;
}

.auth-card {
    max-width: 560px;
    margin: 0 auto;
    padding: 32px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.field,
.field.full {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.field.full,
.full {
    grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea {
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 14px;
}

.public-screen {
    display: flex;
    justify-content: center;
}

.public-card {
    width: min(100%, 430px);
    overflow: hidden;
}

.public-hero {
    padding: 34px 28px 24px;
    text-align: center;
    background: linear-gradient(180deg, #ffffff, #eff8f5);
}

.public-hero h1 {
    max-width: 340px;
    margin: 18px auto 12px;
    color: var(--teal-dark);
    font-size: 28px;
    line-height: 1.18;
}

.public-subtitle {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.public-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 22px 28px;
}

.public-themes {
    padding: 0 28px 24px;
}

.locked-box {
    margin: 0 28px 28px;
    padding: 18px;
    border: 1px dashed rgba(242, 140, 0, .46);
    border-radius: 12px;
    background: #f7fbfa;
}

@media (max-width: 900px) {
    .app-grid {
        grid-template-columns: 1fr;
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}/* Nouveau design accueil ministère */
.home-ministry {
    display: grid !important;
    grid-template-columns: minmax(0, 1.2fr) 420px;
    gap: 28px;
    align-items: stretch;
    margin-top: 20px;
}

.home-intro {
    padding: 54px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background:
        radial-gradient(circle at 8% 18%, rgba(255, 90, 73, .14), transparent 22%),
        radial-gradient(circle at 92% 70%, rgba(0, 122, 114, .13), transparent 24%),
        linear-gradient(135deg, #ffffff, #eff8f5);
    box-shadow: var(--shadow);
}

.ministry-label {
    display: inline-flex;
    margin: 12px 0 22px;
    padding: 9px 14px;
    border-radius: 999px;
    background: white;
    color: var(--teal-dark);
    border: 1px solid var(--line);
    font-weight: 800;
    font-size: 14px;
}

.home-intro h1 {
    max-width: 760px;
    margin: 0;
    color: var(--teal-dark);
    font-size: 48px;
    line-height: 1.08;
}

.home-lead {
    max-width: 760px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.home-actions {
    display: flex;
    gap: 14px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.home-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 36px;
}

.home-highlights div {
    padding: 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .85);
    border: 1px solid var(--line);
}

.home-highlights strong {
    display: block;
    color: var(--teal-dark);
    font-size: 18px;
    margin-bottom: 6px;
}

.home-highlights span {
    display: block;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
}

.home-access-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: white;
    box-shadow: var(--shadow);
}

.access-visual {
    height: 180px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff, #edf8f5);
    margin-bottom: 24px;
}

.access-person {
    width: 82px;
    height: 118px;
    border-radius: 45px 45px 14px 14px;
    border: 5px solid white;
    box-shadow: 0 14px 26px rgba(23, 50, 58, .14);
}

.access-person.one { background: #007a72; }
.access-person.two { height: 142px; background: #e99237; }
.access-person.three { background: #ff5a49; }

.home-access-card h2 {
    margin: 0;
    color: var(--teal-dark);
    font-size: 28px;
    line-height: 1.16;
}

.home-access-card p {
    color: var(--muted);
    line-height: 1.55;
}

.access-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 24px 0;
}

.home-locked {
    margin: 0;
}

.home-themes-section {
    margin-top: 28px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: white;
    box-shadow: var(--shadow);
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-bottom: 18px;
}

.section-head h2 {
    margin: 0;
    font-size: 30px;
    color: var(--ink);
}

.section-head p {
    margin: 0;
    color: var(--muted);
}

.home-theme-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

.home-theme-tile {
    min-height: 118px;
    display: grid;
    align-content: center;
    gap: 10px;
}

.home-theme-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #edf8f5;
    color: var(--teal);
    font-weight: 900;
}

@media (max-width: 1000px) {
    .home-ministry {
        grid-template-columns: 1fr !important;
    }

    .home-intro {
        padding: 34px;
    }

    .home-intro h1 {
        font-size: 36px;
    }

    .home-highlights {
        grid-template-columns: 1fr;
    }

    .home-theme-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .section-head {
        display: grid;
    }
}


/* Harmonisation du logo avec le fond institutionnel */
body {
    background:
        radial-gradient(circle at 8% 0%, rgba(255, 168, 70, .10), transparent 24%),
        radial-gradient(circle at 92% 8%, rgba(0, 122, 114, .10), transparent 26%),
        linear-gradient(135deg, #fffaf2 0%, #f4fbf8 48%, #fff7ee 100%);
}

.topbar {
    position: relative;
    display: block;
    padding: 0;
    border: 1px solid rgba(242, 140, 0, .30);
    border-radius: 18px;
    background: #fffaf2;
    box-shadow: 0 16px 40px rgba(23, 50, 58, .06);
    backdrop-filter: blur(8px);
    overflow: hidden;
}

.brand {
    position: relative;
    min-height: 150px;
    padding: 0;
    border-radius: 0;
    background: #fffaf2;
    border: 0;
    box-shadow: none;
    display: block;
}

.brand::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 250, 242, 0) 0%, rgba(255, 250, 242, .18) 52%, rgba(255, 250, 242, .82) 100%);
    pointer-events: none;
}

.brand-logo-full {
    position: relative;
    width: 100%;
    height: 150px;
    max-width: none;
    border-radius: 0;
    object-fit: cover;
    object-position: center 42%;
    mix-blend-mode: normal;
}

.topnav {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .76);
    border: 1px solid rgba(255, 255, 255, .62);
    box-shadow: 0 12px 28px rgba(23, 50, 58, .10);
    backdrop-filter: blur(8px);
}

@media (max-width: 760px) {
    .brand,
    .brand-logo-full {
        height: 120px;
        min-height: 120px;
    }

    .topnav {
        position: static;
        transform: none;
        justify-content: center;
        margin: 10px;
    }
}

.home-intro,
.home-access-card,
.home-themes-section,
.panel,
.auth-card,
.public-card {
    background: rgba(255, 255, 255, .86);
}

/* Site footer */
.site-footer {
    margin-top: 44px;
    padding: 24px 28px;
    border: 1px solid rgba(242, 140, 0, .30);
    border-radius: 18px;
    background:
        radial-gradient(circle at 8% 20%, rgba(255, 90, 73, .10), transparent 24%),
        radial-gradient(circle at 92% 14%, rgba(242, 140, 0, .12), transparent 22%),
        linear-gradient(135deg, rgba(255,255,255,.92), rgba(239,248,245,.92));
    box-shadow: 0 16px 40px rgba(23, 50, 58, .06);
    color: var(--ink);
}

.site-footer-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(242, 140, 0, .30);
}

.site-footer-main strong {
    color: var(--teal-dark);
    font-size: 18px;
    line-height: 1.35;
}

.site-footer-main span {
    max-width: 560px;
    color: var(--muted);
    line-height: 1.5;
    text-align: right;
}

.site-footer-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 16px;
}

.site-footer-info span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eaf7f4;
    color: var(--teal-dark);
    font-size: 13px;
    font-weight: 800;
}

@media (max-width: 760px) {
    .site-footer {
        padding: 20px;
    }

    .site-footer-main {
        display: grid;
    }

    .site-footer-main span {
        text-align: left;
    }
}

/* Professional institutional footer */
.institutional-footer {
    margin-top: 56px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(135deg, #063f3c 0%, #075f58 58%, #0a7b72 100%);
    box-shadow: 0 -12px 40px rgba(23, 50, 58, .08);
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(180px, .7fr) minmax(220px, .8fr);
    gap: 34px;
    padding: 34px 36px 28px;
}

.footer-block h2,
.footer-block h3,
.footer-block p {
    margin: 0;
}

.footer-kicker {
    margin-bottom: 10px !important;
    color: #ffb457;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.footer-ministry h2 {
    max-width: 560px;
    font-size: 24px;
    line-height: 1.22;
}

.footer-ministry p {
    max-width: 620px;
    margin-top: 14px;
    color: rgba(255, 255, 255, .78);
    line-height: 1.65;
}

.footer-block h3 {
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 16px;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, .78);
    font-weight: 700;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.footer-tags span {
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    color: rgba(255, 255, 255, .88);
    font-size: 13px;
    font-weight: 800;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 36px;
    background: rgba(0, 0, 0, .16);
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        padding: 28px 24px 24px;
    }

    .footer-bottom {
        display: grid;
        padding: 16px 24px;
    }
}

/* Compact institutional footer override */
.institutional-footer {
    margin-top: 36px;
    border-radius: 14px 14px 0 0;
}

.footer-grid {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
    padding: 22px 28px 18px;
}

.footer-kicker {
    margin-bottom: 6px !important;
    font-size: 11px;
}

.footer-ministry h2 {
    font-size: 19px;
}

.footer-ministry p {
    margin-top: 8px;
    line-height: 1.45;
    font-size: 14px;
}

.footer-block h3 {
    margin-bottom: 10px;
    font-size: 15px;
}

.footer-links {
    gap: 7px;
}

.footer-links a {
    font-size: 14px;
}

.footer-bottom {
    padding: 11px 28px;
    font-size: 12px;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        padding: 22px 22px 18px;
    }

    .footer-bottom {
        padding: 12px 22px;
    }
}

/* Centered institutional footer override */
.institutional-footer {
    margin-top: 40px;
    border-radius: 16px 16px 0 0;
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
    padding: 24px 28px 18px;
}

.footer-ministry h2,
.footer-ministry p {
    margin-left: auto;
    margin-right: auto;
}

.footer-ministry h2 {
    max-width: 760px;
    font-size: 20px;
}

.footer-ministry p {
    max-width: 780px;
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.footer-block h3 {
    margin-bottom: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, .9);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .16);
    color: rgba(255, 255, 255, .86);
    font-size: 13px;
}

.footer-bottom {
    justify-content: center;
    flex-wrap: wrap;
    padding: 12px 28px;
    text-align: center;
}

/* Independent management area */
.management-body {
    background:
        radial-gradient(circle at 8% 0%, rgba(255, 168, 70, .08), transparent 24%),
        radial-gradient(circle at 92% 8%, rgba(0, 122, 114, .08), transparent 26%),
        #f6faf9;
}

.management-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px;
}

.management-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--shadow);
}

.management-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--teal-dark);
    font-weight: 900;
}

.management-brand .brand-logo-full {
    height: 54px;
    max-width: 160px;
}

.management-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--muted);
    font-weight: 800;
}

@media (max-width: 760px) {
    .management-topbar,
    .management-nav {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Password visibility and recovery links */
.password-field {
    position: relative;
    display: flex;
    align-items: center;
}

.password-field input {
    width: 100%;
    padding-right: 54px !important;
}

.password-field input::-ms-reveal,
.password-field input::-ms-clear {
    display: none;
}

.password-field input::-webkit-credentials-auto-fill-button,
.password-field input::-webkit-caps-lock-indicator {
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    right: 0;
}

.password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #eaf7f4;
    color: var(--teal-dark);
    display: inline-grid;
    place-items: center;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
}

.password-toggle:hover {
    background: #d9f0eb;
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--muted);
}

.auth-row a {
    color: var(--teal-dark);
    font-weight: 900;
}

@media (max-width: 620px) {
    .auth-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Password rule helper */
.password-rule {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

/* Form validation messages */
.field-error {
    margin-top: 6px;
    color: #b83224;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
}

/* Page thematiques structuree */
.themes-page {
    display: grid;
    gap: 28px;
}

.themes-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, .88);
    box-shadow: var(--shadow);
}

.themes-hero h1 {
    margin: 12px 0 10px;
    color: var(--ink);
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.05;
}

.themes-hero .muted {
    max-width: 820px;
    font-size: 18px;
    line-height: 1.55;
}

.themes-directory-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 0;
}

.theme-directory-card {
    min-height: 260px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 18px 45px rgba(23, 50, 58, .08);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.theme-directory-card:hover {
    transform: translateY(-4px);
    border-color: rgba(242, 140, 0, .58);
    box-shadow: 0 22px 55px rgba(23, 50, 58, .13);
}

.theme-card-top,
.theme-card-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.theme-directory-card .theme-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: #eaf7f4;
    color: var(--teal-dark);
    font-size: 26px;
}

.theme-status {
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff1ef;
    color: var(--coral);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.theme-status.is-followed {
    background: #e9f7f4;
    color: var(--teal-dark);
}

.theme-status.is-locked {
    background: #fff1ef;
    color: var(--coral);
}

.theme-card-body h2 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: 24px;
    line-height: 1.15;
}

.theme-card-body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.theme-card-stats {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.theme-card-stats strong {
    color: var(--teal-dark);
    font-size: 22px;
}

.theme-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 14px;
    background: var(--teal);
    color: white;
    font-weight: 900;
    text-decoration: none;
}

.theme-card-link-soft {
    background: #e9f7f4;
    color: var(--teal-dark);
}

.theme-card-link-soft:hover {
    background: var(--teal);
    color: #fff;
}

@media (max-width: 760px) {
    .themes-hero {
        align-items: stretch;
        flex-direction: column;
        padding: 24px;
    }

    .themes-directory-grid {
        grid-template-columns: 1fr;
    }
}


/* Reseau membres */
.members-page,
.member-profile-page {
    display: grid;
    gap: 24px;
}

.members-hero,
.member-profile-card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, .9);
    box-shadow: var(--shadow);
}

.members-hero h1,
.member-profile-card h1 {
    margin: 8px 0 10px;
    color: var(--ink);
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
}

.member-filters {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) auto;
    gap: 14px;
    align-items: end;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 45px rgba(23, 50, 58, .07);
}

.member-filters .field {
    margin: 0;
}

.member-filters label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 900;
}

.member-filters input,
.member-filters select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 11px 12px;
    background: #fff;
    color: var(--ink);
    outline: none;
}

.member-filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.member-filter-actions .button {
    min-height: 46px;
    white-space: nowrap;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 18px;
}

.member-card {
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 45px rgba(23, 50, 58, .08);
}

.member-card-head,
.member-profile-main,
.member-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.member-card-head h2 {
    margin: 0 0 4px;
    font-size: 22px;
    line-height: 1.15;
}

.member-name-line {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
}

.member-name-text {
    min-width: 0;
    overflow-wrap: anywhere;
}

.member-profession-line {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.expert-profession-label {
    color: #9a6400;
    font-weight: 900;
}

.member-card-head h2 a {
    color: var(--ink);
    text-decoration: none;
}

.member-card-head p,
.member-meta,
.member-card .muted {
    margin: 0;
    color: var(--muted);
}

.member-avatar,
.member-profile-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--coral));
    color: white;
    font-weight: 900;
    overflow: hidden;
}

.member-avatar {
    width: 68px;
    height: 68px;
    font-size: 24px;
}

.member-profile-avatar {
    width: 132px;
    height: 132px;
    font-size: 44px;
}

.member-avatar img,
.member-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-profile-identity {
    display: grid;
    justify-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.member-profile-avatar-name {
    display: block;
    max-width: 180px;
    color: var(--teal-dark);
    font-size: 18px;
    font-weight: 900;
    text-align: center;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.member-meta {
    display: grid;
    gap: 6px;
}

.member-stats,
.member-profile-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.member-profile-stats {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 22px;
}

.member-stats span,
.member-profile-stats span {
    padding: 12px;
    border-radius: 14px;
    background: #f4fbf9;
    color: var(--muted);
    font-weight: 800;
}

.member-stats strong,
.member-profile-stats strong {
    display: block;
    color: var(--teal-dark);
    font-size: 24px;
}

.member-themes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.member-themes span {
    padding: 7px 10px;
    border-radius: 999px;
    background: #fff1ef;
    color: var(--coral);
    font-size: 13px;
    font-weight: 900;
}

.member-themes.large span {
    background: #eaf7f4;
    color: var(--teal-dark);
}

.member-actions {
    justify-content: space-between;
    margin-top: 4px;
}

.button-soft {
    background: #eaf7f4 !important;
    color: var(--teal-dark) !important;
}

.pagination-wrap {
    display: flex;
    justify-content: center;
}

.member-profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.profile-info-list p {
    margin: 0 0 10px;
    color: var(--muted);
}

@media (max-width: 760px) {
    .member-profile-main,
    .member-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .member-profile-stats,
    .member-profile-grid {
        grid-template-columns: 1fr;
    }
}

/* Badge nombre de notifications */
.nav-badge-link,
.section-title-with-badge,
.resource-item {
    position: relative;
}

.nav-badge-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.notification-badge {
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--coral);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(255, 91, 73, .28);
}

.topnav .notification-badge {
    margin-left: 2px;
}

.expert-star {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin-left: 0;
    border-radius: 50%;
    background: #fff3c4;
    color: #f59e0b;
    border: 1px solid #ffd36a;
    font-size: 13px;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(245, 158, 11, .18);
    vertical-align: middle;
}

.expert-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    margin-left: 6px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #fff3c4 !important;
    color: #9a6400 !important;
    border: 1px solid #ffd36a;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(245, 158, 11, .18);
}

.expert-star.large {
    width: 30px;
    height: 30px;
    font-size: 17px;
}

.expert-star.gold {
    width: auto;
    height: auto;
    margin-left: 4px;
    border: 0;
    background: transparent;
    color: #d4af37 !important;
    font-size: 19px;
    text-shadow: 0 1px 0 #fff5c2, 0 3px 10px rgba(160, 113, 0, .45);
    box-shadow: none;
}

.expert-label {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff8df;
    color: #8a5b00;
    font-weight: 900;
    border: 1px solid #ffe0a3;
}

.dash-sidebar .nav-badge-link {
    justify-content: space-between;
}

.section-title-with-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.resource-item .notification-badge {
    margin-left: auto;
}

/* Messagerie privee */
.messages-page {
    display: grid;
    gap: 22px;
}

.message-list {
    display: grid;
    gap: 12px;
}

.message-thread,
.message-chat-head,
.message-composer {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 45px rgba(23, 50, 58, .08);
}

.message-thread {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
}

.message-thread.is-unread {
    border-color: rgba(255, 91, 73, .35);
    background: #fff8f6;
}

.message-thread strong,
.message-thread small {
    display: block;
}

.message-thread small {
    overflow: hidden;
    color: var(--muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.message-thread em {
    color: var(--muted);
    font-style: normal;
    font-size: 13px;
}

.message-chat-head {
    display: grid;
    gap: 18px;
    padding: 22px;
}

.message-chat-profile {
    display: flex;
    gap: 14px;
    align-items: center;
}

.message-chat-profile h1 {
    margin: 4px 0;
    color: var(--ink);
}

.message-chat {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, .74);
}

.message-bubble {
    width: min(72%, 620px);
    padding: 12px 14px;
    border-radius: 16px;
}

.message-bubble p {
    margin: 0;
    line-height: 1.45;
}

.message-bubble span {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    opacity: .72;
}

.message-bubble.is-mine {
    justify-self: end;
    background: var(--teal);
    color: #fff;
    border-bottom-right-radius: 5px;
}

.message-bubble.is-other {
    justify-self: start;
    background: #eef7f5;
    color: var(--ink);
    border-bottom-left-radius: 5px;
}

.message-composer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
    padding: 16px;
}

.message-composer textarea {
    min-height: 84px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
    resize: vertical;
}

@media (max-width: 680px) {
    .message-thread,
    .message-composer {
        grid-template-columns: 1fr;
    }

    .message-bubble {
        width: 100%;
    }
}

@media (max-width: 1050px) {
    .member-filters {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .member-filters {
        grid-template-columns: 1fr;
    }
}

/* Header banner final override */
.app-shell > .topbar {
    position: relative !important;
    display: block !important;
    min-height: 190px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    background: #fffaf2 !important;
}

.app-shell > .topbar .brand {
    display: block !important;
    width: 100% !important;
    min-height: 190px !important;
    padding: 0 !important;
    border: 3px solid rgba(242, 140, 0, .72) !important;
    border-radius: 0 !important;
    background:
        radial-gradient(circle at 12% 34%, rgba(255, 90, 73, .14), transparent 17%),
        radial-gradient(circle at 26% 78%, rgba(242, 151, 48, .16), transparent 18%),
        radial-gradient(circle at 86% 20%, rgba(0, 122, 114, .13), transparent 20%),
        linear-gradient(90deg, rgba(255, 245, 232, .92), rgba(255, 250, 242, .52) 38%, rgba(239, 248, 245, .86) 100%),
        url("../logo.png") center center / contain no-repeat !important;
    box-shadow: none !important;
}

.app-shell > .topbar .brand::after {
    display: block !important;
    content: "" !important;
    position: absolute !important;
    inset: 18px auto auto 26px !important;
    width: 330px !important;
    height: 118px !important;
    border-radius: 999px !important;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .18)) !important;
    border: 1px solid rgba(255, 184, 105, .22) !important;
    box-shadow: 0 18px 40px rgba(124, 70, 24, .07) !important;
    pointer-events: none !important;
}

.app-shell > .topbar .brand-logo-full {
    width: 100% !important;
    height: 190px !important;
    opacity: 0 !important;
    display: block !important;
}

.brand-banner-copy {
    position: absolute;
    left: 58px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 255px;
    color: var(--teal-dark);
    font-size: 19px;
    font-weight: 900;
    line-height: 1.22;
    text-align: left;
}

.brand-banner-copy::before {
    content: "Forum des Femmes";
    display: block;
    margin-bottom: 8px;
    color: var(--coral);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.app-shell > .topbar .topnav {
    position: absolute !important;
    right: 24px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 3 !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, .82) !important;
    border: 1px solid rgba(255, 255, 255, .68) !important;
    box-shadow: 0 12px 28px rgba(23, 50, 58, .10) !important;
    backdrop-filter: blur(8px) !important;
}

@media (max-width: 760px) {
    .app-shell > .topbar,
    .app-shell > .topbar .brand,
    .app-shell > .topbar .brand-logo-full {
        min-height: 130px !important;
        height: 130px !important;
    }

    .app-shell > .topbar .topnav {
        left: 10px !important;
        right: 10px !important;
        top: auto !important;
        bottom: 10px !important;
        transform: none !important;
        justify-content: center !important;
    }

    .brand-banner-copy {
        display: none;
    }
}

/* Professional header banner override */
.app-shell > .topbar {
    display: grid !important;
    grid-template-columns: minmax(420px, 1fr) auto !important;
    align-items: center !important;
    gap: 24px !important;
    min-height: 124px !important;
    padding: 18px 28px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(0, 122, 114, .10) !important;
    background:
        linear-gradient(90deg, #ffffff 0%, #fffaf2 42%, #eef8f5 100%) !important;
    box-shadow: 0 18px 42px rgba(23, 50, 58, .08) !important;
    overflow: visible !important;
}

.app-shell > .topbar::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    height: 5px !important;
    background: linear-gradient(90deg, var(--teal), #f0a12f, var(--coral)) !important;
    border-radius: 18px 18px 0 0 !important;
}

.app-shell > .topbar .brand {
    position: relative !important;
    width: 100% !important;
    min-height: 88px !important;
    padding: 0 !important;
    border: 3px solid rgba(242, 140, 0, .72) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    display: grid !important;
    grid-template-columns: 250px minmax(260px, 1fr) !important;
    align-items: center !important;
    gap: 22px !important;
}

.app-shell > .topbar .brand::after {
    display: none !important;
}

.app-shell > .topbar .brand-logo-full {
    position: static !important;
    width: 250px !important;
    height: 88px !important;
    max-width: 250px !important;
    opacity: 1 !important;
    display: block !important;
    object-fit: contain !important;
    object-position: left center !important;
    mix-blend-mode: normal !important;
}

.brand-banner-copy {
    position: static !important;
    transform: none !important;
    z-index: 1 !important;
    width: auto !important;
    max-width: 520px !important;
    color: var(--teal-dark) !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
    text-align: left !important;
}

.brand-banner-copy::before {
    content: "Plateforme officielle" !important;
    display: block !important;
    margin-bottom: 7px !important;
    color: var(--coral) !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
}

.app-shell > .topbar .topnav {
    position: static !important;
    transform: none !important;
    z-index: 2 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 3px solid rgba(242, 140, 0, .72) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
}

@media (max-width: 960px) {
    .app-shell > .topbar {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .app-shell > .topbar .brand {
        grid-template-columns: 210px 1fr !important;
    }

    .app-shell > .topbar .brand-logo-full {
        width: 210px !important;
        max-width: 210px !important;
    }

    .app-shell > .topbar .topnav {
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
    }
}

@media (max-width: 640px) {
    .app-shell > .topbar {
        padding: 18px !important;
    }

    .app-shell > .topbar .brand {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .brand-banner-copy {
        display: block !important;
        font-size: 15px !important;
    }
}

/* Final visible image banner */
.app-shell > .topbar {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    aspect-ratio: 6.85 / 1 !important;
    min-height: 0 !important;
    margin-bottom: 72px !important;
    padding: 0 !important;
    border: 3px solid rgba(242, 140, 0, .72) !important;
    border-radius: 22px !important;
    background:
        url("../forum-femmes-banner-final.jpg?v=11") top center / contain no-repeat !important;
    box-shadow: 0 0 0 6px rgba(242, 140, 0, .10), 0 18px 42px rgba(23, 50, 58, .10) !important;
    overflow: visible !important;
}

.app-shell > .topbar::before {
    display: none !important;
}

.app-shell > .topbar::after {
    display: none !important;
}

.app-shell > .topbar .brand {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.app-shell > .topbar .brand-logo-full,
.app-shell > .topbar .brand-banner-copy {
    opacity: 0 !important;
    visibility: hidden !important;
}

.app-shell > .topbar .topnav {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: -54px !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
    z-index: 5 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 7px 12px !important;
    border: 1px solid rgba(242, 140, 0, .42) !important;
    border-top: 0 !important;
    border-radius: 0 0 22px 22px !important;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .96), rgba(239, 248, 245, .94)) !important;
    box-shadow: 0 -1px 0 rgba(242, 140, 0, .24) inset, 0 10px 24px rgba(242, 140, 0, .10) !important;
    backdrop-filter: none !important;
}

.app-shell > .topbar .topnav a,
.app-shell > .topbar .topnav .topnav-about-button {
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    min-height: 42px !important;
    padding: 9px 16px !important;
    border-radius: 999px !important;
    color: var(--teal-dark) !important;
    font-weight: 900 !important;
    background: #eef8f5 !important;
    border: 0 !important;
    font-family: inherit !important;
    font-size: inherit !important;
    cursor: pointer !important;
}

.app-shell > .topbar .topnav form {
    margin: 0 !important;
}

.app-shell > .topbar .topnav .logout-button {
    min-height: 42px !important;
    padding: 9px 16px !important;
    border-radius: 999px !important;
    background: #fff1ef !important;
    color: #b83224 !important;
    font-weight: 900 !important;
    border: 0 !important;
    cursor: pointer !important;
}

.app-shell > .topbar .topnav .button-coral {
    background: var(--coral) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(255, 90, 73, .22) !important;
}

@media (max-width: 760px) {
    .app-shell > .topbar {
        aspect-ratio: 16 / 9 !important;
        min-height: 0 !important;
    }

    .app-shell > .topbar .topnav {
        top: auto !important;
        bottom: 0 !important;
        flex-wrap: wrap !important;
    }

    .about-modal-panel {
        padding: 26px 20px;
    }

    .about-modal-panel h2 {
        font-size: 28px;
    }

    .about-modal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-page-hero,
    .about-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-page-hero h1 {
        font-size: 36px;
    }

    .about-page-band {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .about-modal {
        padding: 14px;
    }

    .about-modal-grid {
        grid-template-columns: 1fr;
    }

    .about-page-hero,
    .about-page-section {
        padding: 22px;
    }

    .about-page-hero,
    .about-page-grid {
        grid-template-columns: 1fr;
    }

    .about-page-hero h1 {
        font-size: 30px;
    }

    .about-page-title h2,
    .about-page-band h2 {
        font-size: 26px;
    }
}
