/* BondShape SEO Directory 1.0
   Additional styles only. css/dsk.css remains the main site stylesheet. */

.bsdir-page{
    --bsdir-max:1100px;
    --bsdir-ink:#08251f;
    --bsdir-green:#173d36;
    --bsdir-gold:#b8872d;
    --bsdir-gold-soft:#d5ad60;
    --bsdir-cream:#fbf7ef;
    --bsdir-border:#e8dfcf;
    --bsdir-muted:#66746f;
}

.bsdir-page .bsdir-width,
.bsdir-page .bsdir-editorial{
    width:min(var(--bsdir-max),calc(100% - 44px));
    margin-inline:auto;
}

.bsdir-page .CTHeader h1{
    overflow-wrap:anywhere;
}

.bsdir-page .CTHeader .predic{
    max-width:64ch;
}

.bsdir-breadcrumb-wrap{
    padding-top:18px;
}

.bsdir-breadcrumbs{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    gap:10px;
    margin:0 0 8px;
    font-size:13px;
    line-height:1.5;
}

.bsdir-breadcrumbs a{
    color:inherit;
    text-decoration:underline;
    text-underline-offset:3px;
}

.bsdir-section{
    padding:64px 0 14px;
}

.bsdir-section + .bsdir-section{
    padding-top:72px;
}

.bsdir-section-head{
    max-width:760px;
    margin:0 auto 30px;
    text-align:center;
}

.bsdir-eyebrow{
    display:inline-block;
    margin-bottom:9px;
    font-family:Poppins,sans-serif;
    font-size:12px;
    font-weight:700;
    letter-spacing:.13em;
    text-transform:uppercase;
    color:var(--bsdir-gold);
}

.bsdir-section-head h2,
.bsdir-all-inner h2,
.bsdir-empty h2{
    margin:0;
    font-family:Fraunces,serif;
    font-size:clamp(30px,4vw,46px);
    line-height:1.05;
    color:var(--bsdir-ink);
}

.bsdir-section-head p,
.bsdir-all-inner p,
.bsdir-empty p{
    max-width:690px;
    margin:14px auto 0;
    font-family:Poppins,sans-serif;
    font-size:15px;
    line-height:1.75;
    color:var(--bsdir-muted);
}

.bsdir-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}

.bsdir-card{
    position:relative;
    display:flex;
    min-height:230px;
    flex-direction:column;
    padding:27px 26px 24px;
    overflow:hidden;
    border:1px solid var(--bsdir-border);
    border-radius:14px;
    background:#fff;
    color:var(--bsdir-ink);
    text-decoration:none;
    box-shadow:0 7px 26px rgba(8,37,31,.045);
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

.bsdir-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:74px;
    height:3px;
    background:linear-gradient(90deg,var(--bsdir-gold),var(--bsdir-gold-soft));
}

.bsdir-card:hover{
    transform:translateY(-3px);
    border-color:#d9c49a;
    box-shadow:0 14px 36px rgba(8,37,31,.09);
}

.bsdir-card:focus-visible,
.bsdir-primary-cta:focus-visible{
    outline:3px solid var(--bsdir-gold-soft);
    outline-offset:4px;
}

.bsdir-card-kicker{
    margin-bottom:17px;
    font-family:Poppins,sans-serif;
    font-size:11px;
    font-weight:700;
    letter-spacing:.11em;
    text-transform:uppercase;
    color:var(--bsdir-gold);
}

.bsdir-card h3{
    margin:0;
    font-family:Fraunces,serif;
    font-size:25px;
    line-height:1.08;
    color:var(--bsdir-ink);
}

.bsdir-card p{
    margin:12px 0 20px;
    display:-webkit-box;
    overflow:hidden;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    font-family:Poppins,sans-serif;
    font-size:13px;
    line-height:1.65;
    color:var(--bsdir-muted);
}

.bsdir-card-link{
    margin-top:auto;
    font-family:Poppins,sans-serif;
    font-size:13px;
    font-weight:600;
    color:var(--bsdir-green);
}

.bsdir-card-link span{
    display:inline-block;
    margin-left:5px;
    transition:transform .18s ease;
}

.bsdir-card:hover .bsdir-card-link span{
    transform:translateX(4px);
}

.bsdir-all-logos{
    width:min(var(--bsdir-max),calc(100% - 44px));
    margin:74px auto 58px;
    border:1px solid var(--bsdir-border);
    border-radius:18px;
    background:
        radial-gradient(circle at 80% 20%,rgba(213,173,96,.16),transparent 32%),
        linear-gradient(135deg,#fbf7ef 0%,#fff 58%);
}

.bsdir-all-inner{
    padding:48px 36px 50px;
    text-align:center;
}

.bsdir-primary-cta{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    min-height:50px;
    margin-top:24px;
    padding:13px 25px;
    border-radius:8px;
    background:var(--bsdir-green);
    color:#fff;
    font-family:Poppins,sans-serif;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
}

.bsdir-primary-cta:hover{
    opacity:.94;
}

.bsdir-empty{
    margin:56px auto;
    padding:45px 24px;
    border:1px solid var(--bsdir-border);
    border-radius:14px;
    text-align:center;
    background:#fff;
}

.bsdir-editorial{
    margin-top:0;
    margin-bottom:56px;
    font-family:Poppins,sans-serif;
    line-height:1.8;
}

.bsdir-editorial:empty{
    display:none;
}

@media(max-width:900px){
    .bsdir-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:620px){
    .bsdir-page .bsdir-width,
    .bsdir-page .bsdir-editorial,
    .bsdir-all-logos{
        width:min(var(--bsdir-max),calc(100% - 28px));
    }

    .bsdir-section{
        padding-top:46px;
    }

    .bsdir-section + .bsdir-section{
        padding-top:56px;
    }

    .bsdir-grid{
        grid-template-columns:1fr;
        gap:13px;
    }

    .bsdir-card{
        min-height:0;
        padding:23px 20px;
    }

    .bsdir-card h3{
        font-size:23px;
    }

    .bsdir-all-inner{
        padding:38px 20px 40px;
    }
}

/* =========================================================
   BONDSHAPE DIRECTORY PAGINATION 2.0
   Append to /assets/bondshape-seo/seo-directory.css
   ========================================================= */

.bsdir-pagination-wrap{
    width:100%;
    margin:54px auto 6px;
    padding:0;
    text-align:center;
    font-family:Poppins,sans-serif;
}

.bsdir-page-status{
    margin:0 0 18px;
    color:var(--bsdir-muted);
    font-size:13px;
    line-height:1.6;
}

.bsdir-page-status strong{
    color:var(--bsdir-ink);
    font-weight:600;
}

.bsdir-pagination{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:8px;
}

.bsdir-page-link,
.bsdir-page-number{
    display:inline-flex;
    min-width:42px;
    height:42px;
    align-items:center;
    justify-content:center;
    padding:0 12px;
    border:1px solid var(--bsdir-border);
    border-radius:10px;
    background:#fff;
    color:var(--bsdir-green);
    font-size:13px;
    font-weight:600;
    line-height:1;
    text-decoration:none;
    box-shadow:0 4px 14px rgba(8,37,31,.035);
    transition:
        transform .16s ease,
        border-color .16s ease,
        background .16s ease,
        box-shadow .16s ease;
}

.bsdir-page-link{
    min-width:108px;
    gap:7px;
}

.bsdir-page-link:hover,
.bsdir-page-number:hover{
    transform:translateY(-2px);
    border-color:#d7bf8e;
    background:var(--bsdir-cream);
    box-shadow:0 8px 20px rgba(8,37,31,.07);
}

.bsdir-page-number.is-current{
    border-color:var(--bsdir-green);
    background:var(--bsdir-green);
    color:#fff;
    cursor:default;
    box-shadow:0 8px 22px rgba(23,61,54,.18);
}

.bsdir-page-link.is-disabled{
    opacity:.36;
    cursor:not-allowed;
    box-shadow:none;
}

.bsdir-page-link.is-disabled:hover{
    transform:none;
    border-color:var(--bsdir-border);
    background:#fff;
}

.bsdir-page-ellipsis{
    display:inline-flex;
    min-width:28px;
    height:42px;
    align-items:center;
    justify-content:center;
    color:var(--bsdir-muted);
    font-family:Fraunces,serif;
    font-size:18px;
}

.bsdir-page-link:focus-visible,
.bsdir-page-number:focus-visible{
    outline:3px solid var(--bsdir-gold-soft);
    outline-offset:3px;
}

@media(max-width:620px){
    .bsdir-pagination-wrap{
        margin-top:38px;
    }

    .bsdir-page-status{
        margin-bottom:14px;
        font-size:12px;
    }

    .bsdir-pagination{
        gap:6px;
    }

    .bsdir-page-link,
    .bsdir-page-number{
        min-width:38px;
        height:38px;
        padding:0 10px;
        border-radius:9px;
        font-size:12px;
    }

    .bsdir-page-link{
        min-width:92px;
    }

    .bsdir-page-ellipsis{
        min-width:20px;
        height:38px;
    }
}

@media(max-width:430px){
    .bsdir-pagination{
        display:grid;
        grid-template-columns:1fr repeat(3,40px) 1fr;
        gap:7px;
    }

    .bsdir-page-link{
        width:100%;
        min-width:0;
    }

    .bsdir-page-number{
        min-width:40px;
        padding:0;
    }

    .bsdir-page-ellipsis{
        display:none;
    }

    /*
     * On very narrow screens, extra numeric links wrap naturally.
     * Previous / Next remain visually dominant.
     */
}

/* =========================================================
   BONDSHAPE PAGINATION — COMPACT MOBILE V2.1
   Add this block at the VERY END of seo-directory.css
   ========================================================= */

/* Keep the pager in one clean horizontal row whenever possible. */
.bsdir-pagination{
    flex-wrap:nowrap;
}

/* Mobile: compact Previous / Next to arrow-only buttons. */
@media(max-width:620px){

    .bsdir-pagination-wrap{
        margin-top:38px;
        overflow:hidden;
    }

    .bsdir-page-status{
        margin-bottom:14px;
        padding:0 4px;
        font-size:12px;
        line-height:1.5;
        white-space:normal;
    }

    .bsdir-pagination{
        display:flex !important;
        width:100%;
        max-width:100%;
        flex-wrap:nowrap !important;
        align-items:center;
        justify-content:center;
        gap:5px;
        overflow-x:auto;
        overflow-y:hidden;
        padding:3px 1px 5px;
        scrollbar-width:none;
        -webkit-overflow-scrolling:touch;
    }

    .bsdir-pagination::-webkit-scrollbar{
        display:none;
    }

    .bsdir-page-link,
    .bsdir-page-number{
        flex:0 0 34px;
        width:34px;
        min-width:34px;
        height:36px;
        padding:0;
        border-radius:9px;
        font-size:12px;
    }

    /*
     * Hide the words "Previous" / "Next" on mobile,
     * while keeping the arrow span visible.
     */
    .bsdir-page-link{
        font-size:0;
    }

    .bsdir-page-link > span{
        margin:0 !important;
        font-size:15px;
        line-height:1;
    }

    .bsdir-page-ellipsis{
        display:inline-flex !important;
        flex:0 0 15px;
        width:15px;
        min-width:15px;
        height:36px;
        align-items:center;
        justify-content:center;
        font-size:16px;
    }
}

/*
 * IMPORTANT:
 * This replaces the old @media(max-width:430px) grid behavior.
 * Because this block is placed at the end of the stylesheet,
 * it safely overrides that older rule.
 */
@media(max-width:430px){

    .bsdir-pagination{
        display:flex !important;
        grid-template-columns:none !important;
        flex-wrap:nowrap !important;
        gap:4px;
    }

    .bsdir-page-link,
    .bsdir-page-number{
        flex-basis:32px;
        width:32px;
        min-width:32px;
        height:34px;
        padding:0;
    }

    .bsdir-page-ellipsis{
        display:inline-flex !important;
        flex-basis:13px;
        width:13px;
        min-width:13px;
        height:34px;
    }
}

