
/* =========================================================
   DUI CHECKPOINTS TONIGHT
   Clean UI — no neumorphism
   ========================================================= */

:root{
    --dct-ink:#16384d;
    --dct-ink-dark:#102c3d;
    --dct-muted:#60717c;
    --dct-border:#dbe5eb;
    --dct-border-strong:#c7d7e0;
    --dct-bg:#f5f8fa;
    --dct-card:#ffffff;
    --dct-blue:#176fa8;
    --dct-blue-dark:#0e5f91;
    --dct-blue-soft:#edf6fb;
    --dct-green:#17764b;
    --dct-green-soft:#eaf8f0;
    --dct-purple:#67458a;
    --dct-purple-soft:#f2edf8;
    --dct-shadow:0 8px 24px rgba(17,55,77,.07);
    --dct-shadow-hover:0 14px 32px rgba(17,55,77,.11);
}

*{
    box-sizing:border-box;
}

.dui-page{
    width:100%;
    max-width:1180px;
    margin:0 auto;
    padding:0 16px 60px;
    color:var(--dct-ink);
}

.dui-hero{
    max-width:900px;
    margin:0 auto;
    padding:26px 0 8px;
    text-align:center;
}

.dui-hero h1{
    margin:0 0 14px;
    color:var(--dct-ink-dark);
    font-size:clamp(1.9rem,4.5vw,2.7rem);
    line-height:1.15;
    letter-spacing:-.025em;
    font-weight:800;
}

.dui-hero p{
    max-width:820px;
    margin:0 auto 10px;
    color:#4d626e;
    font-size:1rem;
    line-height:1.7;
}

.dui-trust{
    max-width:900px;
    margin:20px auto;
    padding:15px 17px;
    background:var(--dct-blue-soft);
    border:1px solid #cfe3ee;
    border-left:4px solid var(--dct-blue);
    border-radius:10px;
    color:#425a67;
    font-size:.91rem;
    line-height:1.65;
}

.dui-trust strong{
    color:var(--dct-ink-dark);
}

.dui-updated{
    margin:0 auto 26px;
    color:#687983;
    font-size:.84rem;
    text-align:center;
}

.coverage-note{
    max-width:900px;
    margin:12px auto 0;
    color:#647681;
    font-size:.86rem;
    line-height:1.6;
    text-align:center;
}

.dui-section{
    margin:42px 0 0;
}

.dui-section-title{
    max-width:980px;
    margin:0 auto 7px;
    color:var(--dct-ink-dark);
    font-size:clamp(1.35rem,3.5vw,1.75rem);
    line-height:1.3;
    font-weight:800;
}

.dui-section-intro{
    max-width:980px;
    margin:0 auto 18px;
    color:#536872;
    font-size:.96rem;
    line-height:1.7;
}

.checkpoint-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
    max-width:980px;
    margin:0 auto;
}

.checkpoint-card{
    position:relative;
    display:flex;
    flex-direction:column;
    min-width:0;
    overflow:hidden;
    background:var(--dct-card);
    border:1px solid var(--dct-border);
    border-radius:16px;
    box-shadow:var(--dct-shadow);
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

.checkpoint-card:hover{
    transform:translateY(-2px);
    border-color:var(--dct-border-strong);
    box-shadow:var(--dct-shadow-hover);
}

.checkpoint-card-accent{
    height:4px;
    background:linear-gradient(90deg,#176fa8,#36a874);
}

.checkpoint-card-head{
    padding:18px 19px 16px;
    border-bottom:1px solid #edf2f5;
}

.checkpoint-topline{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    flex-wrap:wrap;
}

.checkpoint-status,
.archive-label{
    display:inline-flex;
    align-items:center;
    min-height:28px;
    padding:5px 9px;
    border-radius:999px;
    font-size:.68rem;
    line-height:1;
    font-weight:800;
    letter-spacing:.045em;
    text-transform:uppercase;
}

.status-upcoming{
    background:var(--dct-green-soft);
    color:var(--dct-green);
    border:1px solid #c7ead6;
}

.status-recent{
    background:#edf5ff;
    color:#17639c;
    border:1px solid #d2e3f3;
}

.status-historical{
    background:var(--dct-purple-soft);
    color:var(--dct-purple);
    border:1px solid #dfd3ec;
}

.archive-label{
    background:#f5f7f8;
    color:#667780;
    border:1px solid #e0e7ea;
}

.checkpoint-date-block{
    margin:15px 0 11px;
    padding:12px 13px;
    background:#f7fafc;
    border:1px solid #e2ebf0;
    border-radius:11px;
}

.checkpoint-day{
    display:block;
    margin-bottom:2px;
    color:var(--dct-blue);
    font-size:.68rem;
    font-weight:850;
    letter-spacing:.08em;
}

.checkpoint-date{
    display:block;
    color:var(--dct-ink-dark);
    font-size:1.05rem;
    font-weight:800;
    line-height:1.35;
}

.checkpoint-time{
    display:block;
    margin-top:4px;
    color:#4e6470;
    font-size:.84rem;
    font-weight:700;
}

.checkpoint-card h3{
    margin:0;
    color:var(--dct-ink-dark);
    font-size:1.18rem;
    line-height:1.35;
    font-weight:800;
}

.checkpoint-card-body{
    display:flex;
    flex-direction:column;
    flex:1;
    padding:15px 19px 18px;
}

.checkpoint-location{
    padding:12px 13px;
    background:#f9fbfc;
    border:1px solid #e0e9ed;
    border-left:3px solid var(--dct-blue);
    border-radius:10px;
}

.field-label{
    display:block;
    margin-bottom:4px;
    color:#74858e;
    font-size:.64rem;
    line-height:1.2;
    font-weight:850;
    letter-spacing:.07em;
    text-transform:uppercase;
}

.checkpoint-location strong{
    display:block;
    color:#294857;
    font-size:.91rem;
    line-height:1.5;
    font-weight:750;
    overflow-wrap:anywhere;
}

.checkpoint-meta{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
    margin-top:11px;
}

.meta-item{
    min-width:0;
    padding:10px 11px;
    background:#fff;
    border:1px solid #e3ebef;
    border-radius:9px;
    color:#425b67;
    font-size:.86rem;
    line-height:1.4;
    overflow-wrap:anywhere;
}

.meta-item a{
    color:var(--dct-blue-dark);
    font-weight:800;
    text-decoration:none;
}

.meta-item a:hover{
    text-decoration:underline;
    text-underline-offset:3px;
}

.source-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
    margin-top:auto;
    padding-top:14px;
    border-top:1px dashed #dce6ea;
}

.source-row .field-label{
    margin:0;
}

.source-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:8px 13px;
    background:var(--dct-blue);
    border:1px solid var(--dct-blue-dark);
    border-radius:8px;
    color:#fff!important;
    font-size:.78rem;
    font-weight:800;
    line-height:1;
    text-decoration:none!important;
    white-space:nowrap;
}

.source-button:hover{
    background:var(--dct-blue-dark);
}

.source-unavailable{
    display:inline-flex;
    align-items:center;
    min-height:36px;
    padding:7px 10px;
    background:#f7f9fa;
    border:1px solid #e0e7ea;
    border-radius:8px;
    color:#6c7c84;
    font-size:.76rem;
}

.empty-state{
    max-width:980px;
    margin:0 auto;
    padding:28px 20px;
    background:#fff;
    border:1px dashed #cbd9e0;
    border-radius:14px;
    text-align:center;
}

.empty-state-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    margin:0 auto 10px;
    border-radius:50%;
    background:#edf6fb;
    color:var(--dct-blue);
    font-weight:900;
}

.empty-state h3{
    margin:0 0 6px;
    color:var(--dct-ink-dark);
    font-size:1rem;
}

.empty-state p{
    max-width:680px;
    margin:0 auto;
    color:#647680;
    font-size:.88rem;
    line-height:1.65;
}

.archive-cta{
    max-width:980px;
    margin:42px auto 0;
    padding:20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    flex-wrap:wrap;
    background:#f5f9fb;
    border:1px solid #d7e4ea;
    border-radius:14px;
}

.archive-cta strong{
    display:block;
    margin-bottom:4px;
    color:var(--dct-ink-dark);
    font-size:1rem;
}

.archive-cta span{
    display:block;
    color:#5c707b;
    font-size:.87rem;
    line-height:1.55;
}

.archive-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:9px 15px;
    background:var(--dct-ink);
    border:1px solid var(--dct-ink-dark);
    border-radius:8px;
    color:#fff!important;
    font-size:.82rem;
    font-weight:800;
    text-decoration:none!important;
    white-space:nowrap;
}

.archive-button:hover{
    background:var(--dct-ink-dark);
}

.info-section,
.faq-section,
.final-safety{
    max-width:980px;
    margin:44px auto 0;
}

.info-section{
    padding-top:2px;
}

.info-section h2,
.faq-section h2,
.final-safety h2{
    margin:0 0 10px;
    color:var(--dct-ink-dark);
    font-size:1.35rem;
    line-height:1.35;
}

.info-section p,
.final-safety p{
    margin:0 0 11px;
    color:#50646f;
    font-size:.94rem;
    line-height:1.75;
}

.info-section a{
    color:var(--dct-blue-dark);
    font-weight:750;
}

.safety-box{
    padding:19px;
    background:#f7fafb;
    border:1px solid #dce7eb;
    border-radius:14px;
}

.faq-list{
    display:grid;
    gap:10px;
}

.faq-item{
    padding:15px 17px;
    background:#fff;
    border:1px solid var(--dct-border);
    border-radius:11px;
}

.faq-item h3{
    margin:0 0 6px;
    color:var(--dct-ink-dark);
    font-size:.97rem;
    line-height:1.45;
}

.faq-item p{
    margin:0;
    color:#586c76;
    font-size:.88rem;
    line-height:1.65;
}

.final-safety{
    padding:20px;
    background:#eef8f2;
    border:1px solid #d2eadb;
    border-radius:14px;
}

.final-safety h2{
    color:#165c3d;
}

.final-safety p{
    color:#416355;
}

/* =========================================================
   ARCHIVE
   ========================================================= */

.archive-header{
    max-width:900px;
    margin:0 auto;
    padding:26px 0 4px;
    text-align:center;
}

.archive-header h1{
    margin:0 0 12px;
    color:var(--dct-ink-dark);
    font-size:clamp(1.85rem,4.5vw,2.55rem);
    line-height:1.18;
    font-weight:800;
}

.archive-header p{
    margin:0 auto 9px;
    color:#536872;
    font-size:.97rem;
    line-height:1.7;
}

.archive-toolbar{
    max-width:980px;
    margin:25px auto 0;
    padding:17px;
    background:#fff;
    border:1px solid var(--dct-border);
    border-radius:13px;
    box-shadow:0 5px 18px rgba(17,55,77,.05);
}

.archive-toolbar-title{
    margin:0 0 12px;
    color:var(--dct-ink-dark);
    font-size:.92rem;
    font-weight:800;
}

.archive-filters{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr)) auto;
    gap:10px;
    align-items:end;
}

.filter-field label{
    display:block;
    margin-bottom:5px;
    color:#697b84;
    font-size:.68rem;
    font-weight:800;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.filter-field select{
    width:100%;
    min-height:42px;
    padding:8px 10px;
    background:#fff;
    border:1px solid #ccdbe2;
    border-radius:8px;
    color:#304b59;
    font:inherit;
    font-size:.87rem;
}

.filter-actions{
    display:flex;
    gap:7px;
}

.filter-button{
    min-height:42px;
    padding:8px 14px;
    background:var(--dct-blue);
    border:1px solid var(--dct-blue-dark);
    border-radius:8px;
    color:#fff;
    font-size:.82rem;
    font-weight:800;
    cursor:pointer;
}

.filter-button:hover{
    background:var(--dct-blue-dark);
}

.clear-filter{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:8px 12px;
    border:1px solid #ccdbe2;
    border-radius:8px;
    color:#49616d;
    font-size:.8rem;
    font-weight:750;
    text-decoration:none;
}

.clear-filter:hover{
    background:#f7fafb;
}

.archive-summary{
    max-width:980px;
    margin:22px auto 0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    flex-wrap:wrap;
}

.archive-summary strong{
    color:var(--dct-ink-dark);
    font-size:.92rem;
}

.archive-summary span{
    color:#6b7d86;
    font-size:.82rem;
}

.archive-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
    max-width:980px;
    margin:14px auto 0;
}

.archive-pagination{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    flex-wrap:wrap;
    margin:28px auto 0;
    max-width:980px;
}

.archive-pagination a,
.archive-pagination span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:38px;
    min-height:38px;
    padding:7px 10px;
    border:1px solid #d5e1e6;
    border-radius:8px;
    background:#fff;
    color:#35515f;
    font-size:.8rem;
    font-weight:800;
    text-decoration:none;
}

.archive-pagination a:hover{
    background:#f2f7fa;
    border-color:#bdcfd8;
}

.archive-pagination .pagination-current{
    background:var(--dct-blue);
    border-color:var(--dct-blue);
    color:#fff;
}

.archive-pagination .pagination-prev,
.archive-pagination .pagination-next{
    padding-left:12px;
    padding-right:12px;
}

.archive-pagination .pagination-disabled{
    color:#9aa8ae;
    background:#f7f9fa;
    border-color:#e2e8eb;
}

.archive-pagination .pagination-ellipsis{
    min-width:24px;
    padding-left:3px;
    padding-right:3px;
    border-color:transparent;
    background:transparent;
}

.archive-note{
    max-width:980px;
    margin:18px auto 0;
    padding:14px 16px;
    background:#f7fafb;
    border:1px solid #dce7eb;
    border-radius:10px;
    color:#5b6f79;
    font-size:.84rem;
    line-height:1.65;
}

/* =========================================================
   ADS
   ========================================================= */

.dct-ad{
    width:100%;
    max-width:980px;
    margin:22px auto;
    min-height:100px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}

.dct-ad ins{
    display:block;
    width:100%;
    min-height:90px;
}

/* =========================================================
   FOCUS / ACCESSIBILITY
   ========================================================= */

a:focus-visible,
button:focus-visible,
select:focus-visible{
    outline:3px solid rgba(23,111,168,.28);
    outline-offset:2px;
}

@media (max-width:760px){
    .checkpoint-grid,
    .archive-grid{
        grid-template-columns:1fr;
    }

    .archive-filters{
        grid-template-columns:1fr;
    }

    .filter-actions{
        width:100%;
    }

    .filter-button,
    .clear-filter{
        flex:1;
    }

    .dui-page{
        padding-left:12px;
        padding-right:12px;
    }
}

@media (max-width:600px){
    .dui-page{
        padding-bottom:42px;
    }

    .dui-hero,
    .archive-header{
        padding-top:18px;
    }

    .dui-hero h1,
    .archive-header h1{
        font-size:1.72rem;
    }

    .dui-hero p,
    .archive-header p{
        font-size:.93rem;
    }

    .dui-trust{
        margin-top:16px;
        padding:14px;
        font-size:.88rem;
    }

    .checkpoint-grid,
    .archive-grid{
        gap:14px;
    }

    .checkpoint-card{
        border-radius:14px;
    }

    .checkpoint-card-head{
        padding:16px;
    }

    .checkpoint-card-body{
        padding:14px 16px 16px;
    }

    .checkpoint-meta{
        grid-template-columns:1fr;
    }

    .source-row{
        align-items:stretch;
    }

    .source-button{
        width:100%;
    }

    .archive-cta{
        padding:17px;
    }

    .archive-button{
        width:100%;
    }

    .archive-pagination a,
    .archive-pagination span{
        min-width:35px;
        min-height:35px;
        font-size:.75rem;
    }

    .dct-ad{
        min-height:90px;
        margin:16px auto;
    }
}

@media (prefers-reduced-motion:reduce){
    .checkpoint-card{
        transition:none;
    }
}
