/**
 * Department website styles.
 * Mobile defaults, followed by each selector's wider-screen overrides.
 */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --navy: #101e30;
    --red: #bb2833;
    --ink: #19283b;
    --muted: #5c6775;
    --paper: #f3f5f7;
}

* {
    box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}

*::before {
    box-sizing: border-box;
}

*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
}

a:focus-visible {
    outline: 3px solid #e5ac36;
    outline-offset: 5px;
}

input:focus-visible {
    outline: 3px solid #e5ac36;
    outline-offset: 5px;
}

select:focus-visible {
    outline: 3px solid #e5ac36;
    outline-offset: 5px;
}

textarea:focus-visible {
    outline: 3px solid #e5ac36;
    outline-offset: 5px;
}

button:focus-visible {
    outline: 3px solid #e5ac36;
    outline-offset: 5px;
}

.wrap {
    width: min(1200px, 90%);
    margin: auto;
}

.utility {
    background: var(--navy);
    color: #fff;
    font-size: 14px;
}

.utility .wrap {
    display: flex;
    padding: 7px 0;
    justify-content: center;
}

@media (min-width: 721px) {
    .utility .wrap {
        justify-content: space-between;
    }
}

.utility strong {
    color: #fff;
}

.utility a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 5;
    border-bottom: 1px solid #e6e8eb;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    min-height: 80px;
}

@media (min-width: 721px) {
    .header {
        min-height: 100px;
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    line-height: 1.1;
}

.crest {
    width: 57px;
    height: 65px;
    background: var(--red);
    clip-path: polygon(0 0, 100% 0, 100% 65%, 50% 100%, 0 65%);
    display: grid;
    place-content: center;
    color: white;
    font-size: 27px;
    font-family: Georgia;
    font-weight: bold;
}

.brand strong {
    font:
        800 26px 'Barlow Condensed',
        Arial,
        sans-serif;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 23px;
}

@media (min-width: 721px) {
    .brand strong {
        font:
            800 26px 'Barlow Condensed',
            Arial,
            sans-serif;
        font-size: 22px;
    }
}

@media (min-width: 901px) {
    .brand strong {
        font-size: 26px;
        font:
            800 26px 'Barlow Condensed',
            Arial,
            sans-serif;
    }
}

.brand small {
    display: block;
    letter-spacing: 0.2em;
    margin-top: 7px;
    font-size: 9px;
}

@media (min-width: 901px) {
    .brand small {
        font-size: 11px;
    }
}

nav {
    font-size: 14px;
    font-weight: 600;
    gap: 14px;
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    padding: 25px 5%;
    box-shadow: 0 10px 15px #0001;
    align-items: stretch;
}

@media (min-width: 721px) {
    nav {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        background: transparent;
        padding: 0;
        box-shadow: none;
        display: flex;
        align-items: center;
    }
}

@media (min-width: 901px) {
    nav {
        gap: 26px;
    }
}

nav a:hover {
    color: var(--red);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: #fff;
    padding: 13px 25px;
    border: 1px solid var(--red);
    font-size: 14px;
    font-weight: 700;
    border-radius: 3px;
    transition: background 0.2s;
}

.btn:hover {
    background: #97202b;
    color: white;
}

.btn.light {
    background: white;
    color: var(--ink);
    border-color: white;
}

.btn.outline {
    background: transparent;
    color: white;
    border-color: #ffffff80;
}

.menu {
    background: none;
    border: 1px solid #ddd;
    padding: 7px 12px;
    display: block;
}

@media (min-width: 721px) {
    .menu {
        display: none;
    }
}

.hero {
    position: relative;
    background: var(--navy);
    color: white;
    display: flex;
    align-items: center;
    overflow: hidden;
    min-height: 570px;
}

@media (min-width: 721px) {
    .hero {
        min-height: 610px;
    }
}

.hero:before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, #091627eb, #09162785),
        url('https://www.rousespointfiredept.com/assets/images/station.png') center/cover;
}

@media (min-width: 721px) {
    .hero:before {
        background:
            linear-gradient(
                90deg,
                rgba(9, 22, 39, 0.96) 0%,
                rgba(9, 22, 39, 0.85) 35%,
                rgba(9, 22, 39, 0.15) 100%
            ),
            url('https://www.rousespointfiredept.com/assets/images/station.png') center 55% / cover;
    }
}

.hero .wrap {
    position: relative;
    padding: 70px 0 95px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.eyebrow:before {
    content: '';
    height: 3px;
    width: 30px;
    background: var(--red);
}

h1 {
    font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    line-height: 1.03;
    margin: 20px 0;
    font-weight: 700;
    max-width: 700px;
    letter-spacing: -0.015em;
    font-size: 57px;
}

@media (min-width: 721px) {
    h1 {
        font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
        font-weight: 700;
        font-size: clamp(56px, 6.3vw, 88px);
    }
}

h2 {
    font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    line-height: 1.03;
    margin: 20px 0;
    font-weight: 700;
    font-size: clamp(38px, 4vw, 54px);
}

h3 {
    font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    line-height: 1.03;
    margin: 20px 0;
    font-weight: 700;
}

h1 span {
    color: #ef5d65;
}

.hero p {
    color: #d3d9e1;
    max-width: 510px;
    font-size: 17px;
}

.actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
    margin-top: 29px;
}

.hero-caption {
    position: absolute;
    right: 5%;
    bottom: 27px;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: #e0e6ee;
    display: none;
}

@media (min-width: 721px) {
    .hero-caption {
        display: block;
    }
}

.facts {
    background: var(--navy);
    color: white;
    border-top: 1px solid #ffffff25;
}

.facts .wrap {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 721px) {
    .facts .wrap {
        grid-template-columns: repeat(3, 1fr);
    }
}

.fact {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 15px 0;
    border-right: 0;
    border-bottom: 1px solid #ffffff25;
}

@media (min-width: 721px) {
    .fact {
        border-bottom: 0;
        border-right: 1px solid #ffffff25;
        padding: 22px;
    }
}

@media (min-width: 901px) {
    .fact {
        padding: 27px 35px;
    }
}

.fact:first-child {
    padding-left: 0;
    padding: 15px 0;
    border-right: 0;
    border-bottom: 1px solid #ffffff25;
}

@media (min-width: 721px) {
    .fact:first-child {
        padding: 22px 22px 22px 0;
        border-right: 1px solid #ffffff25;
        border-bottom: 0;
        padding-left: 0;
    }
}

@media (min-width: 901px) {
    .fact:first-child {
        padding: 27px 35px 27px 0;
        padding-left: 0;
    }
}

.fact:last-child {
    border: 0;
}

.fact strong {
    font:
        700 37px 'Barlow Condensed',
        Arial,
        sans-serif;
    min-width: 80px;
    font-size: 30px;
}

@media (min-width: 721px) {
    .fact strong {
        min-width: 0;
        font-size: 37px;
        font:
            700 37px 'Barlow Condensed',
            Arial,
            sans-serif;
    }
}

.fact span {
    font-size: 13px;
    color: #c4ceda;
    line-height: 1.5;
}

.section {
    padding: 60px 0;
}

@media (min-width: 721px) {
    .section {
        padding: 90px 0;
    }
}

.intro {
    display: grid;
    align-items: center;
    gap: 40px;
    grid-template-columns: 1fr;
}

@media (min-width: 721px) {
    .intro {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 901px) {
    .intro {
        gap: 75px;
    }
}

.intro p {
    color: var(--muted);
}

.photo {
    position: relative;
    margin-top: 10px;
}

@media (min-width: 721px) {
    .photo {
        margin-top: 0;
    }
}

.photo img {
    display: block;
    width: 100%;
    object-fit: cover;
    border-radius: 3px;
    height: 290px;
}

@media (min-width: 721px) {
    .photo img {
        height: 360px;
    }
}

.photo:after {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    bottom: -15px;
    right: -15px;
    border: 2px solid #dfe4ea;
    z-index: -1;
}

.tag {
    background: white;
    position: absolute;
    bottom: 20px;
    padding: 17px 25px;
    box-shadow: 0 6px 25px #0002;
    border-left: 4px solid var(--red);
    font:
        700 23px 'Barlow Condensed',
        Arial,
        sans-serif;
    left: 10px;
}

@media (min-width: 721px) {
    .tag {
        left: -22px;
    }
}

.textlink {
    color: var(--red);
    font-weight: 700;
    font-size: 14px;
    border-bottom: 1px solid #bb283350;
    padding-bottom: 5px;
}

.pale {
    background: var(--paper);
}

.section-head {
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 34px;
    display: block;
}

@media (min-width: 721px) {
    .section-head {
        display: flex;
    }
}

.section-head h2 {
    margin-bottom: 0;
}

.section-head p {
    max-width: 340px;
    color: var(--muted);
    font-size: 15px;
}

.paths {
    display: grid;
    gap: 22px;
    grid-template-columns: 1fr;
}

@media (min-width: 721px) {
    .paths {
        grid-template-columns: repeat(3, 1fr);
    }
}

.path {
    background: white;
    padding: 32px;
    border-top: 3px solid var(--red);
    box-shadow: 0 7px 25px #10203006;
}

.icon {
    color: var(--red);
    width: 39px;
    height: 39px;
    margin-bottom: 25px;
}

.icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.path h3 {
    font-size: 29px;
}

.path p {
    font-size: 15px;
    color: var(--muted);
    min-height: 0;
}

@media (min-width: 721px) {
    .path p {
        min-height: 78px;
    }
}

.fleet {
    display: grid;
    background: var(--navy);
    color: white;
    overflow: hidden;
    border-radius: 4px;
    align-items: stretch;
    grid-template-columns: 1fr;
}

@media (min-width: 721px) {
    .fleet {
        grid-template-columns: 1.2fr 1fr;
    }
}

.fleet img {
    width: 100%;
    object-fit: cover;
    height: 270px;
}

@media (min-width: 721px) {
    .fleet img {
        height: 410px;
    }
}

.fleet-content {
    padding: 30px;
}

@media (min-width: 901px) {
    .fleet-content {
        padding: 45px;
    }
}

.fleet-content h3 {
    font-size: 40px;
}

.fleet-content p {
    color: #c4ceda;
}

.pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 23px 0;
}

.pills span {
    font-size: 12px;
    border: 1px solid #ffffff35;
    padding: 3px 11px;
}

.join {
    background: var(--red);
    color: white;
    position: relative;
}

.join .wrap {
    display: grid;
    align-items: center;
    padding: 65px 0;
    grid-template-columns: 1fr;
    gap: 25px;
}

@media (min-width: 721px) {
    .join .wrap {
        grid-template-columns: 1.5fr 1fr;
        gap: 70px;
    }
}

.join h2 {
    margin: 10px 0 20px;
}

.join p {
    color: #ffe0e3;
    max-width: 620px;
}

.join .eyebrow:before {
    background: white;
}

.join-aside {
    border-left: 1px solid #ffffff50;
    padding-left: 0;
    border: 0;
    border-top: 1px solid #ffffff50;
    padding-top: 15px;
}

@media (min-width: 721px) {
    .join-aside {
        border: 0;
        border-top: 0;
        padding-top: 0;
        border-left: 1px solid #ffffff50;
        padding-left: 45px;
    }
}

.join-aside h3 {
    font-size: 28px;
}

.join-aside p {
    font-size: 14px;
}

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

@media (min-width: 721px) {
    .history {
        grid-template-columns: 1fr 1.5fr;
        gap: 40px;
    }
}

@media (min-width: 901px) {
    .history {
        gap: 80px;
    }
}

.milestones {
    border-left: 2px solid #e0e5eb;
    padding-left: 30px;
}

.milestone {
    position: relative;
    margin-bottom: 26px;
}

.milestone:before {
    content: '';
    position: absolute;
    left: -37px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--red);
    border: 2px solid white;
}

.milestone strong {
    color: var(--red);
    font-weight: 700;
}

.milestone p {
    margin: 4px 0;
    color: var(--muted);
    font-size: 15px;
}

footer {
    background: var(--navy);
    color: white;
    padding: 55px 0 20px;
}

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

@media (min-width: 721px) {
    .footer-grid {
        gap: 60px;
        grid-template-columns: 1.2fr 0.7fr 1.1fr;
    }
}

footer h3 {
    font-size: 23px;
}

footer p {
    color: #b8c4d1;
    font-size: 14px;
}

footer a {
    color: #b8c4d1;
    font-size: 14px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer a:hover {
    color: white;
}

footer .brand strong {
    color: white;
}

footer .brand small {
    color: #c8d1db;
}

.fine {
    margin-top: 40px;
    border-top: 1px solid #ffffff20;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 12px;
    color: #9eacbd;
    flex-direction: column;
}

@media (min-width: 721px) {
    .fine {
        flex-direction: row;
    }
}

.notice {
    background: #fff5e7;
    color: #66481d;
    padding: 10px 5%;
    text-align: center;
    font-size: 12px;
}

.dialog {
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    border: 0;
    border-radius: 8px;
    max-width: 540px;
    width: 90%;
    padding: 35px;
    color: var(--ink);
}

.dialog::backdrop {
    background: #081321b3;
}

.dialog h2 {
    font-size: 34px;
}

.dialog p {
    color: var(--muted);
}

.dialog .close {
    float: right;
    border: 0;
    background: #eee;
    border-radius: 3px;
    padding: 4px 12px;
}

.dialog a:not(.btn) {
    color: var(--red);
    text-decoration: underline;
}

.utility .wrap span:first-child {
    display: none;
}

@media (min-width: 721px) {
    .utility .wrap span:first-child {
        display: inline;
    }
}

nav.open {
    display: flex;
    flex-direction: column;
}

@media (min-width: 721px) {
    nav.open {
        flex-direction: row;
    }
}

.fleet > img {
    object-fit: contain;
    background: #091422;
    height: 280px;
    min-height: 0;
}

@media (min-width: 721px) {
    .fleet > img {
        height: 100%;
        min-height: 360px;
    }
}

@media (min-width: 901px) {
    .fleet > img {
        height: 410px;
        min-height: 0;
    }
}

.fleet-controls {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 25px;
}

.fleet-controls button {
    background: transparent;
    border: 1px solid #ffffff60;
    color: white;
    border-radius: 3px;
    padding: 7px 14px;
    font-size: 14px;
}

.fleet-controls button:hover {
    background: #ffffff15;
}

#fleet-count {
    font-size: 14px;
    color: #c4ceda;
    min-width: 40px;
    text-align: center;
}

.fleet-thumbnails {
    display: grid;
    margin-top: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

@media (min-width: 721px) {
    .fleet-thumbnails {
        gap: 12px;
    }
}

@media (min-width: 901px) {
    .fleet-thumbnails {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }
}

.fleet-thumbnails button {
    padding: 5px;
    background: white;
    border: 2px solid #e0e5eb;
    border-radius: 3px;
    text-align: left;
    color: var(--ink);
}

.fleet-thumbnails button[aria-pressed='true'] {
    border-color: var(--red);
    background: #fff6f6;
}

.fleet-thumbnails img {
    display: block;
    width: 100%;
    object-fit: contain;
    background: #edf0f3;
    height: 60px;
}

@media (min-width: 721px) {
    .fleet-thumbnails img {
        height: 72px;
    }
}

.fleet-thumbnails span {
    display: block;
    font-weight: 600;
    padding: 7px 3px;
    line-height: 1.4;
    font-size: 11px;
}

@media (min-width: 721px) {
    .fleet-thumbnails span {
        font-size: 12px;
        font-weight: 600;
    }
}

.member-heading {
    margin-bottom: 15px;
}

.member-search label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.member-search input {
    max-width: 100%;
    border: 1px solid #cbd3dc;
    border-radius: 4px;
    background: white;
    font: inherit;
    font-size: 14px;
    color: var(--ink);
    padding: 11px 14px;
    width: 100%;
}

@media (min-width: 721px) {
    .member-search input {
        width: 270px;
    }
}

.member-search input:focus-visible {
    outline: 3px solid #e5ac36;
    outline-offset: 2px;
}

.member-intro {
    font-size: 15px;
    color: var(--muted);
    margin: 0 0 26px;
}

.member-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
    align-content: start;
    min-height: 266px;
    grid-template-columns: 1fr;
}

@media (min-width: 381px) {
    .member-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1051px) {
    .member-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.member-card {
    min-width: 0;
    display: flex;
    background: white;
    border: 1px solid #e2e7ec;
    border-radius: 5px;
    align-items: flex-start;
    min-height: 126px;
    padding: 12px 10px;
    gap: 9px;
}

@media (min-width: 721px) {
    .member-card {
        gap: 12px;
        padding: 18px 15px;
    }
}

.member-avatar {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: #fbecef;
    border-radius: 50%;
    color: var(--red);
    font-weight: 700;
    width: 34px;
    height: 34px;
    font-size: 12px;
}

@media (min-width: 721px) {
    .member-avatar {
        width: 43px;
        height: 43px;
        font-weight: 700;
        font-size: 14px;
    }
}

.member-card h3 {
    font-family: Inter, Arial, sans-serif;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 3px;
    overflow-wrap: anywhere;
    font-size: 13px;
}

@media (min-width: 721px) {
    .member-card h3 {
        font-family: Inter, Arial, sans-serif;
        font-weight: 600;
        font-size: 14px;
    }
}

.member-card div > span {
    color: var(--muted);
    font-size: 11px;
}

@media (min-width: 721px) {
    .member-card div > span {
        font-size: 12px;
    }
}

.member-pagination {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
    align-items: flex-start;
    flex-direction: column;
}

@media (min-width: 721px) {
    .member-pagination {
        flex-direction: row;
        align-items: center;
    }
}

.member-pagination p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
}

.member-pagination > div {
    display: flex;
    align-items: center;
    gap: 17px;
}

.member-pagination button {
    border: 1px solid #cbd3dc;
    background: white;
    color: var(--ink);
    padding: 7px 14px;
    border-radius: 3px;
    font-size: 13px;
}

.member-pagination button:hover:not(:disabled) {
    border-color: var(--red);
    color: var(--red);
}

.member-pagination button:disabled {
    opacity: 0.4;
    cursor: default;
}

#member-page {
    font-size: 13px;
}

.member-empty {
    grid-column: 1/-1;
    color: var(--muted);
    padding: 30px 0;
}

header nav {
    gap: 13px;
}

@media (min-width: 1051px) {
    header nav {
        gap: 26px;
    }
}

.member-search {
    margin-top: 22px;
}

@media (min-width: 721px) {
    .member-search {
        margin-top: 0;
    }
}

.member-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 0 21px;
}

.member-filters button {
    border: 1px solid #d3dae2;
    border-radius: 4px;
    background: white;
    color: var(--ink);
    font-weight: 600;
    font-size: 12px;
    padding: 8px 10px;
}

@media (min-width: 721px) {
    .member-filters button {
        padding: 9px 13px;
        font-size: 13px;
        font-weight: 600;
    }
}

.member-filters button[aria-pressed='true'] {
    background: var(--navy);
    border-color: var(--navy);
    color: white;
}

.member-filters button span {
    margin-left: 8px;
    opacity: 0.65;
}

.member-card.officer {
    background: var(--navy);
    border-color: var(--navy);
    border-top: 3px solid var(--red);
    color: white;
}

.member-card.officer .member-avatar {
    background: #ffffff16;
    color: #fff;
}

.member-card .member-role {
    display: block;
    line-height: 1.5;
    color: var(--red);
    font-weight: 600;
    margin-top: 4px;
    font-size: 11px;
}

@media (min-width: 721px) {
    .member-card .member-role {
        font-size: 12px;
        font-weight: 600;
    }
}

.member-card.officer .member-role {
    color: #f6b6bc;
}

.member-card .company-role {
    display: block;
    font-size: 11px;
    line-height: 1.5;
    color: var(--muted);
    margin-top: 5px;
}

.member-card.officer .company-role {
    color: #c4ceda;
}

.member-card.company {
    border-top: 3px solid #a58136;
}

.member-card .member-alias {
    font-size: 11px;
    color: var(--muted);
    display: block;
}

.member-card.officer .member-alias {
    color: #c4ceda;
}

.history-full {
    grid-column: 1/-1;
    margin-top: 10px;
}

@media (min-width: 721px) {
    .history-full {
        margin-top: 0;
    }
}

.history-full details {
    border: 1px solid #dce2e9;
    border-radius: 5px;
    overflow: hidden;
}

.history-full summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: var(--paper);
    padding: 20px;
}

@media (min-width: 721px) {
    .history-full summary {
        padding: 23px 28px;
    }
}

.history-full summary::-webkit-details-marker {
    display: none;
}

.history-full summary strong {
    display: block;
    font-family: 'Barlow Condensed', Arial, sans-serif;
    font-size: 25px;
    line-height: 1.3;
}

.history-full summary span span {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-top: 3px;
}

.history-expand {
    font-size: 30px;
    font-weight: 400;
    color: var(--red);
}

.history-full details[open] .history-expand {
    transform: rotate(45deg);
}

.history-article {
    max-width: 940px;
    margin: auto;
    padding: 25px 20px;
}

@media (min-width: 721px) {
    .history-article {
        padding: 38px 40px;
    }
}

.history-article-header {
    position: static;
    border: 0;
    background: none;
    padding-bottom: 24px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e5eb;
}

.history-article-header h2 {
    font-size: 32px;
}

@media (min-width: 721px) {
    .history-article-header h2 {
        font-size: 38px;
    }
}

.history-article-header p {
    color: var(--muted);
    font-size: 15px;
}

.history-chapter {
    display: grid;
    margin-bottom: 32px;
    grid-template-columns: 1fr;
    gap: 8px;
}

@media (min-width: 721px) {
    .history-chapter {
        grid-template-columns: 110px 1fr;
        gap: 25px;
    }
}

.history-year {
    color: var(--red);
    font-weight: 700;
    font-size: 14px;
    padding-top: 6px;
}

.history-chapter h3 {
    font-size: 27px;
    margin: 0 0 16px;
    line-height: 1.2;
}

.history-chapter p {
    line-height: 1.85;
    color: var(--muted);
    margin: 0 0 16px;
    font-size: 15px;
}

@media (min-width: 721px) {
    .history-chapter p {
        font-size: 16px;
    }
}

.history-credit {
    background: var(--paper);
    padding: 22px;
    margin: 15px 0 25px;
    border-left: 3px solid var(--red);
}

.history-credit p {
    font-size: 13px;
    color: var(--muted);
    margin: 8px 0;
}

.history-open {
    background: none;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    cursor: pointer;
    padding-left: 0;
    text-align: left;
}

#history-collapse {
    background: none;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    cursor: pointer;
    padding-left: 0;
    text-align: left;
}

.history-full summary:focus-visible {
    outline: 3px solid #e5ac36;
    outline-offset: -4px;
}

.company-name {
    font-weight: 600;
    line-height: 1.6;
}

.company-address {
    font-style: normal;
    color: #c4ceda;
    font-size: 14px;
    line-height: 1.8;
}

.company-phone {
    margin: 16px 0;
}

.company-phone span {
    display: block;
    font-size: 12px;
    color: #9eacbd;
}

.company-phone a {
    font-size: 18px;
    color: white;
    font-weight: 600;
}

.facebook-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #ffffff40;
    border-radius: 4px;
    padding: 9px 14px;
    color: white;
    margin: 3px 0 8px;
    font-weight: 600;
    font-size: 13px;
}

.facebook-link:hover {
    background: #ffffff10;
    border-color: #ffffff80;
}

.facebook-link svg {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.detail-style-1 {
    background: none;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    padding-left: 0;
}

.detail-style-2 {
    text-decoration: underline;
    text-underline-offset: 5px;
    font-weight: 600;
}

.detail-style-3 {
    color: var(--muted);
}

.detail-style-4 {
    color: white;
}

.detail-style-5 {
    color: white;
    font-weight: 700;
}
