/* firearm.report FFL directory  /FFL-map/assets/ffl.css  (loads after /assets/fr.css) */
.ffl { --accent: #2C4A7A; --accent-text: #fff; --accent-hover: #23406a; --surface: #F6F7F9; --card: #fff; --border: #E3E5E9; --muted: #6F737A;
    --heading: #1F1F24; --text: #1F1F24; --dark: #1F1F24; --page-bg: #fff; --f-heading: Montserrat, Arial, sans-serif; --t-heading-weight: 700;
    --t-heading-style: normal; --t-heading-transform: none; background: var(--surface); }
.ffl .container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.ffl .m-0 { margin: 0; } .ffl .mt-2 { margin-top: .75rem; } .ffl .mt-4 { margin-top: 1.5rem; }
.ffl .btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.ffl .btn-accent:hover { background: var(--accent-hover); }
.ffl .bi { line-height: 1; }

/* breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .5rem; margin: 0 0 .9rem; padding: 0; font-size: .82rem; }
.crumbs li + li::before { content: "\203A"; margin-right: .5rem; opacity: .6; }
.crumbs a { color: inherit; opacity: .85; text-decoration: none; } .crumbs a:hover { opacity: 1; text-decoration: underline; }
.lc .crumbs { color: #fff; position: relative; z-index: 3; margin-top: -2.4rem; }

/* ---------- dealer page (from the contact-us template) ---------- */
.lc { background: var(--surface); padding-bottom: 3rem; }
.lc-hero { height: 220px; background: radial-gradient(120% 140% at 85% 0%, #2C4A7A 0%, #1F1F24 62%); position: relative; }
.lc-hero::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 14px); }
.lc-wrap { position: relative; z-index: 2; margin-top: -120px; }
.lc-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.lc-col { display: grid; gap: 1.25rem; min-width: 0; }
.lc-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 6px 20px rgba(0,0,0,.06); }
.lc-panel { padding: 1.5rem 1.5rem 1.25rem; }
.lc-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 .35rem; }
.lc-name { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--heading); margin: 0; line-height: 1.15; }
.lc-sub { margin: .35rem 0 0; color: var(--muted); }
.lc-status { margin: .6rem 0 0; font-size: .95rem; }
.lc-open { color: #188038; font-weight: 700; }
.lc-actions { display: flex; gap: .5rem; margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--border); }
.lc-act { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .4rem; min-width: 0; padding: .25rem 0; border: 0; background: none;
    color: var(--accent); font: 600 .8rem Inter, Arial, sans-serif; text-decoration: none; cursor: pointer; }
.lc-act i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; font-size: 1.2rem; border: 1px solid var(--border);
    background: color-mix(in srgb, var(--accent) 10%, #fff); transition: background-color .15s; }
.lc-act.is-main i { background: var(--accent); color: #fff; border-color: var(--accent); }
.lc-act:hover i, .lc-act:focus-visible i { background: color-mix(in srgb, var(--accent) 22%, #fff); }
.lc-act.is-main:hover i { background: var(--accent-hover); }
.lc-act span { color: var(--text); white-space: nowrap; }
.lc-rows { list-style: none; margin: 0; padding: .35rem 0; }
.lc-row { display: flex; gap: 1rem; padding: .9rem 1.5rem; align-items: flex-start; }
.lc-row + .lc-row { border-top: 1px solid var(--border); }
.lc-row > i { color: var(--accent); font-size: 1.2rem; line-height: 1.3; flex-shrink: 0; width: 1.3rem; text-align: center; }
.lc-row-body { flex: 1; min-width: 0; }
.lc-row a { color: var(--text); text-decoration: none; overflow-wrap: anywhere; } .lc-row a:hover { color: var(--accent); }
.lc-row small { display: block; color: var(--muted); font-size: .8rem; margin-top: .1rem; }
.lc-row address { font-style: normal; }
.lc-areas { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .45rem; }
.lc-areas span { padding: .2rem .65rem; border: 1px solid var(--border); border-radius: 999px; font-size: .82rem; background: var(--surface); }
.lc-section { padding: 1.35rem 1.5rem 1.5rem; }
.lc-h2 { font-family: var(--f-heading); font-weight: 700; color: var(--heading); font-size: 1.2rem; margin: 0 0 .85rem; }
.lc-about p { line-height: 1.6; margin-bottom: .6rem; } .lc-about p:last-child { margin-bottom: 0; }
.lc-map { overflow: hidden; }
.lc-map iframe { display: block; width: 100%; height: 320px; border: 0; }
.lc-map-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.25rem; }
.lc-map-foot address { margin: 0; font-style: normal; font-size: .92rem; min-width: 0; }
.lc-btn-line { flex-shrink: 0; display: inline-flex; align-items: center; gap: .35rem; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--border);
    color: var(--accent); font-weight: 600; font-size: .85rem; text-decoration: none; background: #fff; }
.lc-btn-line:hover { background: var(--surface); }
.lc-cta { border-top: 4px solid var(--gold); }
.lc-send { width: 100%; height: 50px; font-size: 1rem; }
.lc-form-help { margin: .75rem 0 0; font-size: .82rem; color: var(--muted); text-align: center; }
.lc-faq { margin-top: 1.5rem; }
.lc-faq details { border-top: 1px solid var(--border); } .lc-faq details:first-of-type { border-top: 0; }
.lc-faq summary { cursor: pointer; list-style: none; padding: .9rem 0; font-weight: 700; color: var(--heading); display: flex; justify-content: space-between; gap: 1rem; }
.lc-faq summary::-webkit-details-marker { display: none; }
.lc-faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.lc-faq details[open] summary::after { content: "\2212"; }
.lc-faq p { margin: 0 0 1rem; line-height: 1.6; }
.mini { list-style: none; margin: 0; padding: 0; }
.mini li + li { border-top: 1px solid var(--border); }
.mini a { display: block; padding: .6rem 0; color: var(--text); text-decoration: none; }
.mini a:hover b { color: var(--accent); }
.mini small { display: block; color: var(--muted); font-size: .8rem; }
.src { margin: 1.25rem 0 0; }
.lc-callbar { display: none; }

/* used-gun tips */
.tips { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.tip { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: .85rem .95rem; }
.tip b { display: block; font-family: Montserrat, Arial; font-size: .92rem; margin-bottom: .2rem; }
.tip p { margin: 0; font-size: .88rem; color: #3b3d42; line-height: 1.45; }

/* gun show list */
.shows { list-style: none; margin: 0; padding: 0; }
.shows li { display: flex; gap: .85rem; padding: .7rem 0; align-items: flex-start; }
.shows li + li { border-top: 1px solid var(--border); }
.sh-date { flex: none; width: 50px; text-align: center; border-radius: 8px; background: var(--slate); color: #fff; font: 800 1.15rem/1 Montserrat, Arial; padding: .4rem 0 .45rem; }
.sh-date b { display: block; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: .2rem; }
.sh-tx { min-width: 0; } .sh-tx b { display: block; font-size: .95rem; }
.sh-tx small { display: block; color: var(--muted); font-size: .8rem; margin: .1rem 0 .2rem; }
.sh-tx a { font-size: .8rem; font-weight: 600; }

/* ---------- directory pages (map, state, city) ---------- */
.dir-hero { background: radial-gradient(120% 140% at 85% 0%, #2C4A7A 0%, var(--slate) 62%); color: #fff; padding: 38px 0 92px; }
.dir-hero h1 { color: #fff; margin-bottom: .3em; } .dir-hero .lead { color: #d9dce2; margin: 0; }
.dir-hero .crumbs { color: #fff; }
.mapbox { position: relative; margin-top: -64px; background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.fflmap { height: 520px; background: #e8ebef; }
.map-legend { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; padding: .7rem 1rem; border-top: 1px solid var(--border); font-size: .88rem; }
.map-legend label { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; }
.map-legend .fine { margin-left: auto; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.dot-d { background: var(--blue); } .dot-s { background: var(--gold); }
.pin { width: 18px; height: 18px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.45); }
.pin-d { background: var(--blue); }
.pin-s { background: var(--gold); width: 22px; height: 22px; border-radius: 5px; transform: rotate(45deg); }
.leaflet-popup-content { font: 14px/1.4 Inter, Arial, sans-serif; margin: 12px 14px; }
.leaflet-popup-content b { display: block; font-family: Montserrat, Arial; font-size: 14.5px; margin-bottom: 2px; }
.leaflet-popup-content a.pop-go { display: inline-block; margin-top: 6px; font-weight: 700; }
.ffl .marker-cluster-small, .ffl .marker-cluster-medium, .ffl .marker-cluster-large { background: rgba(44,74,122,.28); }
.ffl .marker-cluster-small div, .ffl .marker-cluster-medium div, .ffl .marker-cluster-large div { background: #2C4A7A; color: #fff; font: 700 12px Montserrat, Arial; box-shadow: 0 0 0 2px #fff; }
.dir-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; margin: 2rem 0 0; }
.dir-grid > aside { display: grid; gap: 1.25rem; }
.dir-grid h2 { margin-top: 0; }
.dlist, .cities { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .6rem; }
.dl { display: flex; align-items: center; gap: .75rem; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: .75rem .9rem; }
.dl-main { flex: 1; min-width: 0; color: var(--text); text-decoration: none; }
.dl-main b { display: block; font-family: Montserrat, Arial; font-size: .98rem; } .dl-main:hover b { color: var(--blue); }
.dl-main small { display: block; color: var(--muted); font-size: .82rem; }
.dl-call { flex: none; display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .8rem; border: 1px solid var(--border); border-radius: 999px;
    color: var(--blue); font-weight: 600; font-size: .85rem; text-decoration: none; white-space: nowrap; }
.dl-call:hover { background: var(--surface); }
.cities { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.cities a { display: flex; justify-content: space-between; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--border); border-radius: 10px;
    padding: .8rem .95rem; color: var(--text); text-decoration: none; }
.cities a:hover { border-color: var(--blue); } .cities span { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.states { margin-top: 2.25rem; }
.stgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.stb { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.1rem; }
.stb h3 { margin: 0; font-size: 1.1rem; } .stb h3 a { color: var(--slate); text-decoration: none; } .stb h3 a:hover { color: var(--blue); }
.stb .fine { margin: .15rem 0 .55rem; }
.stb ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 1rem; }
.stb li { break-inside: avoid; } .stb li a { display: block; padding: .2rem 0; font-size: .9rem; text-decoration: none; }
.stb li span, .chips span { color: var(--muted); font-size: .78rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0 1rem; }
.chips a { display: inline-flex; gap: .4rem; align-items: center; padding: .4rem .8rem; border: 1px solid var(--border); border-radius: 999px; background: #fff;
    text-decoration: none; font-size: .9rem; }
.more { margin: 2rem 0 0; }

/* ---------- 3 banners ---------- */
.bnrs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0 0; }
.bnr { position: relative; display: flex; flex-direction: column; gap: .75rem; padding: 1.25rem 1.25rem 1.1rem; border-radius: 14px; color: #fff; text-decoration: none;
    overflow: hidden; min-height: 190px; box-shadow: 0 6px 20px rgba(0,0,0,.12); transition: transform .15s, box-shadow .2s; }
.bnr:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.18); color: #fff; }
.bnr::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; border: 18px solid rgba(255,255,255,.06); }
.bnr-report { background: linear-gradient(135deg, #1F1F24 0%, #2C4A7A 100%); border-bottom: 4px solid var(--gold); }
.bnr-range { background: linear-gradient(135deg, #18392b 0%, #2f6b3a 100%); border-bottom: 4px solid #8fd19e; }
.bnr-care { background: linear-gradient(135deg, #5b4413 0%, #a07a2c 100%); border-bottom: 4px solid #f1dba6; }
.bnr-ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.12); color: #fff; }
.bnr-ic svg { width: 28px; height: 28px; }
.bnr-tx { display: flex; flex-direction: column; gap: .2rem; position: relative; z-index: 1; }
.bnr-tx small { font: 700 .7rem Montserrat, Arial; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.bnr-tx b { font: 800 1.25rem/1.15 Montserrat, Arial; }
.bnr-tx em { font-style: normal; font-size: .9rem; opacity: .88; line-height: 1.4; }
.bnr-go { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .95rem; border-radius: 8px;
    background: #fff; color: var(--slate); font: 700 .85rem Montserrat, Arial; position: relative; z-index: 1; }

/* ---------- Firearm Care page (/firearm-care.html) ---------- */
.cr-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem; margin-top: 1.5rem; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.cr-lift { margin-top: -64px; position: relative; border-top: 4px solid var(--gold); }
.cr-card h2 { margin-top: 0; }
.cr-bens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.cr-ben { background: var(--surface); border-radius: 12px; padding: 1.1rem; }
.cr-ben i { font-size: 1.6rem; color: var(--blue); } .cr-ben b { display: block; font-family: Montserrat, Arial; margin: .5rem 0 .25rem; }
.cr-ben p { margin: 0; font-size: .92rem; color: #3b3d42; }
.cr-table { overflow-x: auto; }
.cr-table table { width: 100%; border-collapse: collapse; }
.cr-table th, .cr-table td { padding: .75rem .6rem; border-bottom: 1px solid var(--border); text-align: left; }
.cr-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.cr-table td:last-child { text-align: right; }
.cr-steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.cr-steps li { counter-increment: s; background: var(--surface); border-radius: 12px; padding: 1rem 1.1rem; }
.cr-steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--slate); color: var(--gold); font: 800 15px Montserrat, Arial; margin-bottom: .5rem; }
.cr-steps b { display: block; font-family: Montserrat, Arial; } .cr-steps span { font-size: .92rem; color: #3b3d42; }
.cr-modal { position: fixed; inset: 0; z-index: 9999; background: rgba(15,23,42,.65); display: flex; align-items: center; justify-content: center; padding: 20px; }
.cr-modal[hidden] { display: none; }
.cr-box { background: #fff; width: 100%; max-width: 800px; height: 88vh; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.cr-head { display: flex; align-items: center; gap: 1rem; padding: 10px 16px; border-bottom: 1px solid var(--border); font: 700 16px Montserrat, Arial; }
.cr-head span { flex: 1; } .cr-head a { font: 600 13px Inter, Arial; }
.cr-x { background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer; color: var(--muted); padding: 0 4px; }
.cr-box iframe { flex: 1; width: 100%; border: 0; }

/* ---------- phones ---------- */
@media (max-width: 900px) {
    .cr-bens { grid-template-columns: 1fr 1fr; }
    .bnrs { grid-template-columns: 1fr; }
    .bnr { flex-direction: row; align-items: center; min-height: 0; padding: 1rem; gap: .9rem; }
    .bnr-tx { flex: 1; min-width: 0; } .bnr-tx b { font-size: 1.05rem; } .bnr-tx em { display: none; }
    .bnr-go { margin: 0; align-self: center; padding: .5rem .7rem; font-size: 0; gap: 0; }
    .bnr-go i { font-size: 1rem; }
    .dir-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
    .lc-hero { height: 150px; }
    .lc-wrap { margin-top: -96px; padding-left: 12px; padding-right: 12px; }
    .lc .crumbs { margin-top: -1.9rem; font-size: .76rem; }
    .lc-grid { grid-template-columns: 1fr; gap: 1rem; } .lc-col { gap: 1rem; }
    .lc-panel { padding: 1.2rem 1.1rem 1rem; } .lc-row { padding: .85rem 1.1rem; } .lc-section { padding: 1.15rem 1.1rem 1.25rem; }
    .lc-act i { width: 42px; height: 42px; } .lc-act { font-size: .72rem; }
    .lc-map iframe { height: 240px; }
    .lc { padding-bottom: 5.5rem; }
    .lc-callbar { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom, 0px)); z-index: 1040; display: flex; align-items: center;
        justify-content: center; gap: .5rem; height: 52px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none;
        box-shadow: 0 8px 24px rgba(0,0,0,.25); }
    .tips { grid-template-columns: 1fr; }
    .dir-hero { padding: 26px 0 80px; }
    .fflmap { height: 380px; }
    .mapbox { margin-top: -56px; }
    .map-legend .fine { margin-left: 0; width: 100%; }
    .dl { flex-wrap: wrap; } .dl-call { width: 100%; justify-content: center; }
    .stb ul { columns: 1; }
    .cr-bens, .cr-steps { grid-template-columns: 1fr; }
    .cr-card { padding: 1.15rem; }
    .cr-modal { padding: 0; } .cr-box { max-width: none; height: 100%; border-radius: 0; }
}
