/* ==========================================================
   BigTruck S.r.l. — Variante 01: Editoriale Industriale
   Palette: #0e0e0f (bg) · #16161a (panel) · #26262b (line)
            #f3f2ee (fg) · #8a8a92 (muted) · #d9c66a (yellow)
   Font: Archivo (text) · JetBrains Mono (labels/mono)
   ========================================================== */

/* ----------------------------------------------------------
   TOKENS
   ---------------------------------------------------------- */
:root {
    --bt-bg:      #0e0e0f;
    --bt-panel:   #16161a;
    --bt-line:    #26262b;
    --bt-fg:      #f3f2ee;
    --bt-muted:   #8a8a92;
    --bt-yellow:  #d9c66a;
    --bt-footer:  #070708;

    --bt-font:    'Archivo', sans-serif;
    --bt-mono:    'JetBrains Mono', monospace;

    --bt-px:      48px;   /* padding orizzontale sezioni */
    --bt-fontbase:  16px;   /* padding orizzontale sezioni */
}

/* ----------------------------------------------------------
   RESET / BASE
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

.bt-body {
    background: var(--bt-bg);
    color: var(--bt-fg);
    font-family: var(--bt-font);
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

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

/* ----------------------------------------------------------
   UTILITIES
   ---------------------------------------------------------- */
.bt-mono  { font-family: var(--bt-mono); }
.bt-muted { color: var(--bt-muted); }

/* Tag-label (es. "01 — VEICOLI INDUSTRIALI") */
.bt-tag {
    display: inline-block;
    font-family: var(--bt-mono);
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--bt-muted);
    border: 1px solid var(--bt-line);
    padding: 4px 8px;
    border-radius: 2px;
}

/* Placeholder immagini / mappe */
.bt-placeholder {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(135deg, #1c1c20 0 12px, #191920 12px 24px);
    border: 1px solid var(--bt-line);
    font-family: var(--bt-mono);
    font-size: 11px;
    color: var(--bt-muted);
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* ----------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------- */
.bt-btn {
    display: inline-block;
    font-family: var(--bt-font);
    font-weight: 700;
    font-size: var(--bt-fontbase);
    letter-spacing: .05em;
    cursor: pointer;
    border: none;
    padding: 14px 22px;
    transition: opacity .15s;
    text-align: center;
}
.bt-btn:hover { opacity: .85; }

.bt-btn--primary {
    background: var(--bt-fg);
    color: var(--bt-bg);
}
.bt-btn--yellow {
    background: var(--bt-yellow);
    color: var(--bt-bg);
}
.bt-btn--ghost {
    background: transparent;
    color: var(--bt-fg);
    border: 1px solid var(--bt-line);
}
.bt-btn--full { width: 100%; padding: 18px; font-size: var(--bt-fontbase); font-weight: 800; }

/* ----------------------------------------------------------
   TOPBAR
   ---------------------------------------------------------- */
.bt-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px var(--bt-px);
    border-bottom: 1px solid var(--bt-line);
    font-family: var(--bt-mono);
    font-size: 11px;
    color: var(--bt-muted);
    letter-spacing: .1em;
    text-transform: uppercase;
}
.bt-topbar__right  { display: flex; gap: 24px; }
.bt-topbar__status { color: var(--bt-yellow); }

/* ----------------------------------------------------------
   HEADER
   ---------------------------------------------------------- */
.bt-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px var(--bt-px);
    border-bottom: 1px solid var(--bt-line);
    gap: 24px;
}

/* Brand */
.bt-header__brand { display: flex; align-items: center; gap: 14px; }
.bt-logo-placeholder {
    width: 56px; height: 56px;
    border: 1px solid var(--bt-line);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--bt-mono); font-size: 9px;
    color: var(--bt-muted); letter-spacing: .15em;
    flex-shrink: 0;
}
.bt-logo { width: 456px; height: 156px; object-fit: contain; }

.bt-header__brand-text { display: flex; flex-direction: column; }
.bt-header__brand-name {
    font-weight: 800; font-size: 22px; letter-spacing: -.02em; line-height: 1;
}
.bt-header__brand-sub {
    font-family: var(--bt-mono); font-size: 10px;
    color: var(--bt-muted); letter-spacing: .15em; margin-top: 3px;
}

/* Nav */
.bt-nav { display: flex; gap: 32px; }
.bt-nav__link {
    font-size: var(--bt-fontbase); font-weight: 500;
    color: var(--bt-fg);
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: border-color .15s, color .15s;
}
.bt-nav__link:hover,
.bt-nav__link--active {
    color: var(--bt-yellow);
    border-bottom-color: var(--bt-yellow);
}

/* Mobile nav */
.bt-nav-toggle {
    background: none; border: none; cursor: pointer;
    display: flex; flex-direction: column; gap: 5px; padding: 4px;
}
.bt-nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--bt-fg); border-radius: 1px;
}
.bt-mobile-nav {
    border-bottom: 1px solid var(--bt-line);
    padding: 16px var(--bt-px);
    display: flex; flex-direction: column; gap: 4px;
    background: var(--bt-bg);
}
.bt-mobile-nav__link {
    display: block; padding: 12px 0;
    border-bottom: 1px solid var(--bt-line);
    font-size: 15px; font-weight: 500;
}
.bt-mobile-nav__cta { margin-top: 12px; }

/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */
.bt-hero { padding: 24px var(--bt-px) 0; }

.bt-hero__intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    gap: 40px;
}
.bt-hero__intro-left { max-width: 880px; }

.bt-hero__title {
    font-size: clamp(56px, 7.8vw, 112px);
    line-height: .95;
    font-weight: 800;
    letter-spacing: -.04em;
    margin: 24px 0 0;
}
.bt-hero__title-accent {
    font-style: italic;
    font-weight: 400;
    color: var(--bt-yellow);
}

.bt-hero__intro-right { max-width: 320px; padding-bottom: 12px; }
.bt-hero__desc { color: var(--bt-muted); font-size: 15px; line-height: 1.5; margin: 0; }
.bt-hero__cta-group { display: flex; gap: 12px; margin-top: 24px; }

/* Immagine hero */
.bt-hero__img-wrap { width: 100%; }
.bt-hero__img { width: 100%; height: 520px; object-fit: cover; display: block; }
.bt-placeholder--hero { height: 520px; }

/* Stats grid */
.bt-hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--bt-line);
    border-bottom: 1px solid var(--bt-line);
}
.bt-hero__stat {
    padding: 28px 24px;
}
.bt-hero__stat--bordered { border-right: 1px solid var(--bt-line); }

.bt-hero__stat-num {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
}
.bt-hero__stat-label {
    font-family: var(--bt-mono);
    font-size: 11px;
    color: var(--bt-muted);
    letter-spacing: .15em;
    margin-top: 4px;
}

/* ----------------------------------------------------------
   QUICK LINKS
   ---------------------------------------------------------- */
.bt-quick { padding: 80px var(--bt-px); }

.bt-quick__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 40px;
}

.bt-quick__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--bt-line);
}

.bt-quick__card {
    background: var(--bt-yellow);
    padding: 32px 24px;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: background .15s;
    margin: 12px;
    color: var(--bt-line);
}
.bt-quick__card:hover { 
    background: var(--bt-panel); 
    color: var(--bt-fg);
}

.bt-quick__num { font-size: 11px; letter-spacing: .15em; }

.bt-quick__title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 12px;
}
.bt-quick__desc {
    color: var(--bt-muted);
    font-size: var(--bt-fontbase);
    line-height: 1.5;
}
.bt-quick__arrow { font-size: 28px; color: var(--bt-yellow); margin-top: 24px; }

/* ----------------------------------------------------------
   SEARCH BAR
   ---------------------------------------------------------- */
.bt-search-bar { padding: 0 var(--bt-px) 80px; }

.bt-search-bar__panel {
    background: var(--bt-panel);
    border: 1px solid var(--bt-line);
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.bt-search-bar__title {
    font-size: clamp(32px, 3.3vw, 48px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
    margin: 20px 0 12px;
}
.bt-search-bar__desc {
    color: var(--bt-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.bt-search-bar__form { display: flex; flex-direction: column; gap: 12px; }

.bt-search-bar__filters {
    /*
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    */
}

/* Select filter */
.bt-filter-select { position: relative; }
.bt-filter-select__input {
    width: 100%;
    background: var(--bt-bg);
    border: 1px solid var(--bt-line);
    color: var(--bt-muted);
    padding: 14px 16px;
    font-family: var(--bt-mono);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8a92' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.bt-filter-text__input {
    width: 100%;
    background: var(--bt-fg);
    border: 1px solid var(--bt-line);
    color: var(--bt-bg);
    padding: 14px 16px;
    font-family: var(--bt-mono);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 36px;
}
.bt-filter-text__input:focus {
    outline: none;
    border-color: var(--bt-yellow);
    color: var(--bt-bg);
}

.bt-filter-select__input:focus {
    outline: none;
    border-color: var(--bt-yellow);
    color: var(--bt-fg);
}
.bt-filter-select__input option { background: var(--bt-bg); color: var(--bt-fg); }

/* ----------------------------------------------------------
   SEDI
   ---------------------------------------------------------- */
.bt-sedi { padding: 0 var(--bt-px) 80px; }

.bt-sedi__header { margin-bottom: 32px; }

.bt-sedi__title {
    font-size: clamp(32px, 3.9vw, 56px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
    margin: 16px 0 0;
}

.bt-sedi__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.bt-sede { border: 1px solid var(--bt-line); overflow: hidden; }

.bt-sede__body { padding: 24px; }

.bt-sede__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.bt-sede__status {
    font-family: var(--bt-mono);
    font-size: 11px;
    color: var(--bt-yellow);
}

.bt-sede__citta {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 8px;
}
.bt-sede__indirizzo {
    color: var(--bt-muted);
    font-size: var(--bt-fontbase);
    line-height: 1.5;
    margin-bottom: 16px;
}
.bt-sede__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--bt-line);
    padding-top: 16px;
    font-family: var(--bt-mono);
    font-size: 13px;
}
.bt-link--yellow {
    color: var(--bt-yellow);
    font-size: var(--bt-fontbase);
    font-weight: 600;
    transition: opacity .15s;
}
.bt-link--yellow:hover { opacity: .8; }

/* ----------------------------------------------------------
   SOCIAL
   ---------------------------------------------------------- */
.bt-social {
    padding: 0 var(--bt-px) 80px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.bt-social__feed {
    border: 1px solid var(--bt-line);
    padding: 32px;
}
.bt-social__feed-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 24px;
}
.bt-social__posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.bt-social__post-placeholder { height: 160px; }
.bt-social__post-img { width: 100%; height: 160px; object-fit: cover; display: block; }

/* CTA social */
.bt-social__cta {
    background: var(--bt-fg);
    color: var(--bt-bg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.bt-social__cta-eyebrow {
    font-family: var(--bt-mono);
    font-size: 10px;
    letter-spacing: .18em;
    color: #777;
}
.bt-social__cta-title {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
    margin-top: 12px;
}
.bt-social__channels {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: #ddd;
    margin-top: 24px;
}
.bt-social__channel {
    background: var(--bt-fg);
    padding: 14px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: var(--bt-fontbase);
    color: var(--bt-bg);
    transition: background .15s;
}
.bt-social__channel:hover { background: #ece9df; }

/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */
.bt-footer {
    background: var(--bt-footer);
    border-top: 1px solid var(--bt-line);
    padding: 64px var(--bt-px) 32px;
}
.bt-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.bt-footer__brand-name {
    font-weight: 800;
    font-size: 24px;
    margin-bottom: 8px;
}
.bt-footer__brand-info {
    color: var(--bt-muted);
    font-size: 13px;
    line-height: 1.6;
}

.bt-footer__col-title {
    font-family: var(--bt-mono);
    font-size: 11px;
    color: var(--bt-muted);
    letter-spacing: .18em;
    margin-bottom: 16px;
}
.bt-footer__link {
    display: block;
    font-size: var(--bt-fontbase);
    margin-bottom: 8px;
    color: var(--bt-fg);
    transition: color .15s;
}
.bt-footer__link:hover { color: var(--bt-yellow); }

.bt-footer__bottom {
    border-top: 1px solid var(--bt-line);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-family: var(--bt-mono);
    font-size: 11px;
    color: var(--bt-muted);
    letter-spacing: .1em;
}

/* ----------------------------------------------------------
   RESPONSIVE (breakpoints Bootstrap-compatibili)
   ---------------------------------------------------------- */
@media (max-width: 1199px) {
    :root { --bt-px: 32px; }
    .bt-quick__grid       { grid-template-columns: repeat(2, 1fr); }
    .bt-search-bar__panel { grid-template-columns: 1fr; gap: 32px; }
    .bt-social            { grid-template-columns: 1fr; }
}

@media (max-width: 991px) {
    :root { --bt-px: 24px; }
    .bt-nav               { display: none; }
    .bt-header__cta       { display: none; }
    .bt-hero__intro       { flex-direction: column; align-items: flex-start; }
    .bt-hero__intro-right { max-width: 100%; }
    .bt-hero__stats       { grid-template-columns: repeat(2, 1fr); }
    .bt-hero__stat--bordered:nth-child(2) { border-right: none; }
    .bt-hero__stat--bordered:nth-child(3) { border-right: 1px solid var(--bt-line); }
    .bt-sedi__grid        { grid-template-columns: 1fr; }
    .bt-footer__grid      { grid-template-columns: 1fr 1fr; gap: 32px; }
    .bt-logo {
        width: 80%;
        height: auto;
    }
}

@media (max-width: 575px) {
    :root { --bt-px: 16px; }
    .bt-topbar            { display: none; }          /* troppo stretto */
    .bt-quick__grid       { grid-template-columns: 1fr; }
    .bt-hero__title       { font-size: 48px; }
    .bt-search-bar__filters { grid-template-columns: 1fr; }
    .bt-hero__stats       { grid-template-columns: 1fr 1fr; }
    .bt-social__posts     { grid-template-columns: repeat(2, 1fr); }
    .bt-footer__grid      { grid-template-columns: 1fr; }
    .bt-footer__bottom    { flex-direction: column; gap: 8px; }
    .bt-logo {
        width: 80%;
        height: auto;
    }
}



/* ----------------------------------------------------------
   SOCIAL — post card con overlay hover (Facebook feed)
   ---------------------------------------------------------- */

/* Post con immagine reale: è un <a> cliccabile */
.bt-social__post {
    position: relative;
    display: block;
    overflow: hidden;
    cursor: pointer;
    background: var(--bt-panel);
}

.bt-social__post-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.bt-social__post:hover .bt-social__post-img {
    transform: scale(1.05);
}

/* Post senza immagine (solo testo) */
.bt-social__post-text {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    padding: 16px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--bt-muted);
    background: repeating-linear-gradient(135deg,#1c1c20 0 12px,#191920 12px 24px);
}

/* Data post in basso a sinistra */
.bt-social__post-date {
    position: absolute;
    bottom: 8px;
    left: 10px;
    font-family: var(--bt-mono);
    font-size: 10px;
    color: rgba(243,242,238,.6);
    letter-spacing: .08em;
    z-index: 2;
    pointer-events: none;
}

/* Overlay hover con CTA */
.bt-social__post-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14,14,15,.72);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .25s ease;
    z-index: 3;
}
.bt-social__post:hover .bt-social__post-overlay {
    opacity: 1;
}
.bt-social__post-cta {
    font-family: var(--bt-mono);
    font-size: 11px;
    letter-spacing: .14em;
    color: var(--bt-yellow);
    text-transform: uppercase;
}

/* Placeholder (prima della prima sync) */
.bt-social__post-placeholder {
    height: 160px;
}

/* ----------------------------------------------------------
   SOCIAL POST — formato verticale stile Facebook (4:5)
   ---------------------------------------------------------- */
.bt-social__post {
    position: relative;
    display: block;
    overflow: hidden;
    cursor: pointer;
    background: var(--bt-panel);
    /* Aspect ratio 4:5 — formato post Facebook verticale */
    aspect-ratio: 4 / 5;
}

.bt-social__post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.bt-social__post:hover .bt-social__post-img {
    transform: scale(1.05);
}

/* Post senza immagine (solo testo) */
.bt-social__post-text {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    padding: 16px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--bt-muted);
    background: repeating-linear-gradient(135deg,#1c1c20 0 12px,#191920 12px 24px);
}

/* Data */
.bt-social__post-date {
    position: absolute;
    bottom: 10px; left: 12px;
    font-family: var(--bt-mono);
    font-size: 10px;
    color: rgba(243,242,238,.7);
    letter-spacing: .08em;
    z-index: 2;
    pointer-events: none;
    text-shadow: 0 1px 4px rgba(0,0,0,.8);
}

/* Overlay hover */
.bt-social__post-overlay {
    position: absolute; inset: 0;
    background: rgba(14,14,15,.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .25s ease;
    z-index: 3;
}
.bt-social__post:hover .bt-social__post-overlay { opacity: 1; }
.bt-social__post-cta {
    font-family: var(--bt-mono);
    font-size: 11px;
    letter-spacing: .14em;
    color: var(--bt-yellow);
    text-transform: uppercase;
}

/* Placeholder prima della prima sync */
.bt-social__post-placeholder {
    aspect-ratio: 4 / 5;
    height: auto;  /* sovrascrive il vecchio height:160px */
}

/* ----------------------------------------------------------
   MODAL LIGHTBOX FACEBOOK
   ---------------------------------------------------------- */
.bt-fb-modal .modal-dialog { margin: 0; max-width: 100%; }

.bt-fb-modal__content {
    background: #000;
    border: none;
    border-radius: 0;
    height: 100dvh;
    display: grid;
    grid-template-columns: 1fr 380px;
    position: relative;
    overflow: hidden;
}

.bt-fb-modal__close {
    position: absolute;
    top: 20px; right: 20px;
    z-index: 10;
    background: rgba(14,14,15,.7);
    border: 1px solid rgba(243,242,238,.15);
    color: var(--bt-fg);
    width: 44px; height: 44px;
    font-size: 18px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
    transition: background .15s;
}
.bt-fb-modal__close:hover { background: rgba(217,198,106,.85); color: #000; }

.bt-fb-modal__counter {
    position: absolute;
    top: 24px; left: 24px;
    z-index: 10;
    font-family: var(--bt-mono);
    font-size: 11px;
    letter-spacing: .15em;
    color: rgba(243,242,238,.55);
}

.bt-fb-modal__img-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
}
.bt-fb-modal__img {
    max-width: 100%;
    max-height: 100dvh;
    object-fit: contain;
    display: block;
    transition: opacity .2s ease;
}
.bt-fb-modal__img.bt-fading { opacity: 0; }

.bt-fb-modal__nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(14,14,15,.6);
    border: 1px solid rgba(243,242,238,.15);
    color: var(--bt-fg);
    width: 48px; height: 48px;
    font-size: 22px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
    transition: background .15s;
    z-index: 5;
}
.bt-fb-modal__nav:hover { background: var(--bt-yellow); color: #000; border-color: transparent; }
.bt-fb-modal__nav--prev { left: 20px; }
.bt-fb-modal__nav--next { right: 20px; }

.bt-fb-modal__panel {
    background: var(--bt-panel);
    border-left: 1px solid var(--bt-line);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 64px 32px 40px;
    gap: 16px;
    overflow-y: auto;
}
.bt-fb-modal__date {
    font-size: 11px;
    letter-spacing: .15em;
    color: var(--bt-muted);
    text-transform: uppercase;
}
.bt-fb-modal__message {
    font-size: 15px;
    line-height: 1.65;
    color: var(--bt-fg);
    margin: 0;
    white-space: pre-line;
    overflow-y: auto;
}
.bt-fb-modal__link {
    display: inline-block;
    align-self: flex-start;
    margin-top: 8px;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .bt-fb-modal__content {
        grid-template-columns: 1fr;
        grid-template-rows: 55dvh 1fr;
    }
    .bt-fb-modal__panel {
        border-left: none;
        border-top: 1px solid var(--bt-line);
        padding: 24px 20px;
    }
    .bt-fb-modal__nav--prev { left: 10px; }
    .bt-fb-modal__nav--next { right: 10px; }
}
