
/* St. Benedict's CBSE Toppers — v1.1.0
 * Theme-friendly typography: inherits the active school theme font.
 */

.stbct-section{
    --stbct-navy:#071f4d;
    --stbct-navy-2:#0b2e66;
    --stbct-blue:#3159e8;
    --stbct-gold:#dca514;
    --stbct-gold-soft:#f5e6bd;
    --stbct-text:#101828;
    --stbct-muted:#667085;
    --stbct-border:#e5e7eb;
    position:relative;
    width:100%;
    padding:clamp(48px,5.5vw,78px) 0;
    overflow:hidden;
    background:
        radial-gradient(circle at 8% 20%, rgba(49,89,232,.09), transparent 28%),
        radial-gradient(circle at 92% 85%, rgba(220,165,20,.10), transparent 25%),
        linear-gradient(180deg,#f8faff 0%,#ffffff 48%,#f8fafc 100%);
}

.stbct-section::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:.34;
    background-image:
        linear-gradient(rgba(7,31,77,.025) 1px,transparent 1px),
        linear-gradient(90deg,rgba(7,31,77,.025) 1px,transparent 1px);
    background-size:42px 42px;
}

.stbct-section-glow{
    position:absolute;
    width:300px;
    height:300px;
    border-radius:50%;
    filter:blur(60px);
    pointer-events:none;
    opacity:.25;
}

.stbct-glow-one{top:-180px;left:-120px;background:#3159e8}
.stbct-glow-two{right:-130px;bottom:-190px;background:#dca514}

.stbct-container{
    position:relative;
    z-index:1;
    width:min(1280px,calc(100% - 40px));
    margin:auto;
}

.stbct-heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:28px;
    margin-bottom:28px;
}

.stbct-heading-copy{min-width:0}

.stbct-eyebrow{
    display:flex;
    align-items:center;
    gap:7px;
    margin-bottom:9px;
    color:var(--stbct-blue);
    font:800 11px/1.2 inherit;
    letter-spacing:2px;
    text-transform:uppercase;
}

.stbct-eyebrow span{
    width:7px;
    height:7px;
    border-radius:50%;
    background:var(--stbct-gold);
    box-shadow:0 0 0 4px rgba(220,165,20,.13);
}

.stbct-title{
    display:flex!important;
    align-items:center;
    gap:13px;
    margin:0!important;
    padding:0!important;
    color:var(--stbct-text)!important;
    font-family:inherit!important;
    font-size:clamp(29px,3.3vw,43px)!important;
    font-weight:800!important;
    line-height:1.08!important;
    letter-spacing:-.9px!important;
}

.stbct-title i{
    width:5px;
    height:43px;
    flex:0 0 5px;
    border-radius:3px;
    background:linear-gradient(180deg,var(--stbct-blue),var(--stbct-navy));
}

.stbct-subtitle{
    max-width:690px;
    margin:10px 0 0 18px!important;
    color:var(--stbct-muted)!important;
    font-family:inherit!important;
    font-size:15px!important;
    line-height:1.5!important;
}

.stbct-heading-badge{
    flex:none;
    padding:9px 12px;
    border:1px solid rgba(220,165,20,.35);
    border-radius:8px;
    background:rgba(255,255,255,.72);
    color:var(--stbct-navy);
    font:800 10px/1 inherit;
    letter-spacing:1.4px;
    box-shadow:0 6px 20px rgba(7,31,77,.05);
}

.stbct-heading-badge strong{
    color:var(--stbct-blue);
}

.stbct-toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-bottom:24px;
    padding:6px;
    border:1px solid rgba(7,31,77,.08);
    border-radius:12px;
    background:rgba(255,255,255,.82);
    box-shadow:0 7px 22px rgba(7,31,77,.055);
    backdrop-filter:blur(12px);
}

.stbct-filters{
    display:flex;
    gap:4px;
    overflow:auto;
    scrollbar-width:none;
}

.stbct-filters::-webkit-scrollbar{display:none}

.stbct-filters button{
    min-height:40px;
    border:0!important;
    border-radius:8px!important;
    background:transparent!important;
    color:#667085!important;
    padding:0 15px!important;
    font:700 13px/1 inherit!important;
    white-space:nowrap;
    cursor:pointer;
    transition:.2s ease;
}

.stbct-filters button:hover{
    color:var(--stbct-navy)!important;
    background:#f3f6fb!important;
}

.stbct-filters button.is-active{
    background:var(--stbct-navy)!important;
    color:#fff!important;
    box-shadow:0 4px 12px rgba(7,31,77,.18);
}

.stbct-toolbar select{
    min-width:180px;
    height:40px;
    border:1px solid #dfe4ec;
    border-radius:8px;
    background:#fff;
    color:var(--stbct-text);
    padding:0 12px;
    outline:none;
    font:700 13px/1 inherit;
    cursor:pointer;
}

.stbct-toolbar select:focus{
    border-color:var(--stbct-blue);
    box-shadow:0 0 0 3px rgba(49,89,232,.10);
}

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

.stbct-card{
    position:relative;
    overflow:hidden;
    border:1px solid rgba(7,31,77,.09);
    border-radius:15px;
    background:#fff;
    box-shadow:0 10px 28px rgba(7,31,77,.085);
    transition:transform .28s ease,box-shadow .28s ease;
}

.stbct-card::after{
    content:"";
    position:absolute;
    left:18px;
    right:18px;
    bottom:0;
    height:3px;
    border-radius:3px 3px 0 0;
    background:linear-gradient(90deg,var(--stbct-blue),var(--stbct-gold));
    transform:scaleX(0);
    transform-origin:left;
    transition:transform .3s ease;
}

.stbct-card:hover{
    transform:translateY(-5px);
    box-shadow:0 18px 38px rgba(7,31,77,.13);
}

.stbct-card:hover::after{transform:scaleX(1)}

.stbct-photo{
    position:relative;
    aspect-ratio:1/1.02;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    background:linear-gradient(145deg,#dbe5f3,#aebfd7);
    font-size:60px;
    font-weight:800;
}

.stbct-photo::after{
    content:"";
    position:absolute;
    inset:auto 0 0;
    height:35%;
    background:linear-gradient(transparent,rgba(7,31,77,.2));
    pointer-events:none;
}

.stbct-photo img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center top;
    transition:transform .5s ease;
}

.stbct-card:hover .stbct-photo img{transform:scale(1.035)}

.stbct-rank{
    position:absolute;
    top:11px;
    left:11px;
    z-index:2;
    padding:6px 9px;
    border-radius:6px;
    background:var(--stbct-gold);
    color:var(--stbct-navy);
    box-shadow:0 5px 12px rgba(7,31,77,.12);
    font-family:inherit;
    font-size:9px;
    font-weight:900;
    line-height:1;
    letter-spacing:.7px;
}

.stbct-body{
    position:relative;
    padding:17px 18px 20px;
}

.stbct-body small{
    color:var(--stbct-blue);
    font:800 10px/1 inherit;
    letter-spacing:1.1px;
}

.stbct-body h3{
    margin:6px 0 6px!important;
    color:var(--stbct-text)!important;
    font:800 19px/1.25 inherit!important;
}

.stbct-body strong{
    display:block;
    color:var(--stbct-navy);
    font:900 30px/1 inherit;
    letter-spacing:-.7px;
}

.stbct-body p{
    margin:8px 0 0!important;
    color:var(--stbct-muted)!important;
    font:600 11px/1.35 inherit!important;
}

.stbct-body em{
    display:block;
    margin-top:8px;
    color:#697386;
    font:12px/1.45 inherit;
}

.stbct-empty{
    padding:35px;
    border:1px dashed #ccd3df;
    border-radius:12px;
    background:rgba(255,255,255,.7);
    color:#667085;
    text-align:center;
}

@media(max-width:1050px){
    .stbct-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:800px){
    .stbct-container{width:calc(100% - 30px)}
    .stbct-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .stbct-toolbar{flex-direction:column;align-items:stretch}
    .stbct-toolbar select{width:100%}
    .stbct-heading-badge{display:none}
}

@media(max-width:560px){
    .stbct-section{padding:36px 0 44px}
    .stbct-container{width:calc(100% - 24px)}
    .stbct-heading{margin-bottom:19px}
    .stbct-eyebrow{font-size:9px;letter-spacing:1.5px}
    .stbct-title{gap:10px;font-size:25px!important;letter-spacing:-.5px!important}
    .stbct-title i{width:4px;height:29px;flex-basis:4px}
    .stbct-subtitle{margin-left:14px!important;font-size:13px!important}
    .stbct-toolbar{margin-bottom:18px;padding:5px;border-radius:10px}
    .stbct-filters button{min-height:38px;padding:0 13px!important;font-size:12px!important}
    .stbct-grid{gap:10px}
    .stbct-card{border-radius:11px}
    .stbct-body{padding:12px}
    .stbct-body h3{font-size:14px!important}
    .stbct-body strong{font-size:22px}
    .stbct-body p{font-size:9px!important}
    .stbct-body em{display:none}
    .stbct-rank{top:7px;left:7px;font-size:7px;padding:5px 6px}
}

@media(max-width:360px){
    .stbct-grid{grid-template-columns:1fr}
    .stbct-body h3{font-size:17px!important}
    .stbct-body strong{font-size:26px}
}

/* Hard reset for the rank badge so theme typography cannot enlarge it. */
.stbct-section .stbct-card .stbct-photo .stbct-rank{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:auto;
    max-width:max-content;
    height:auto;
    min-height:0;
    margin:0;
    padding:6px 9px;
    box-sizing:border-box;
    color:#071f4d;
    background:#dca514;
    border:0;
    border-radius:6px;
    font-family:inherit !important;
    font-size:9px !important;
    font-style:normal !important;
    font-weight:900 !important;
    line-height:1 !important;
    letter-spacing:.7px !important;
    text-transform:uppercase;
    white-space:nowrap;
}

@media(max-width:560px){
    .stbct-section .stbct-card .stbct-photo .stbct-rank{
        padding:5px 6px;
        font-size:7px !important;
    }
}

/* v1.2.0 — compact academic result card */
.stbct-section .stbct-card .stbct-body{
    padding:14px 16px 15px;
}

.stbct-section .stbct-student-meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    min-height:18px;
    margin-bottom:7px;
}

.stbct-section .stbct-class{
    display:inline-flex;
    align-items:center;
    color:#3159e8;
    font-family:inherit !important;
    font-size:10px !important;
    font-weight:800 !important;
    line-height:1 !important;
    letter-spacing:1px !important;
    text-transform:uppercase;
}

.stbct-section .stbct-session{
    display:inline-flex;
    align-items:center;
    gap:5px;
    color:#7a8497;
    font-family:inherit !important;
    font-size:9px !important;
    font-weight:600 !important;
    line-height:1 !important;
    white-space:nowrap;
}

.stbct-section .stbct-calendar{
    width:9px;
    height:9px;
    position:relative;
    display:inline-block;
    border:1.2px solid currentColor;
    border-radius:2px;
    opacity:.75;
}

.stbct-section .stbct-calendar::before{
    content:"";
    position:absolute;
    left:1px;
    right:1px;
    top:2px;
    border-top:1px solid currentColor;
}

.stbct-section .stbct-calendar::after{
    content:"";
    position:absolute;
    left:2px;
    top:-2px;
    width:1px;
    height:3px;
    background:currentColor;
    box-shadow:4px 0 0 currentColor;
}

.stbct-section .stbct-card .stbct-body h3{
    margin:0 0 11px !important;
    color:#101828 !important;
    font-family:inherit !important;
    font-size:18px !important;
    font-weight:800 !important;
    line-height:1.18 !important;
    letter-spacing:-.2px !important;
}

.stbct-section .stbct-result-row{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:10px;
    padding-top:10px;
    border-top:1px solid #edf0f4;
}

.stbct-section .stbct-result-label{
    color:#98a2b3;
    font-family:inherit !important;
    font-size:8px !important;
    font-weight:800 !important;
    line-height:1 !important;
    letter-spacing:1px !important;
}

.stbct-section .stbct-result-row strong{
    display:block;
    margin:0;
    color:#071f4d !important;
    font-family:inherit !important;
    font-size:25px !important;
    font-weight:900 !important;
    line-height:.95 !important;
    letter-spacing:-.7px !important;
}

.stbct-section .stbct-card .stbct-body em{
    margin-top:9px;
    padding-top:8px;
    border-top:1px solid #edf0f4;
    color:#7a8497;
    font-family:inherit !important;
    font-size:10px !important;
    font-style:normal !important;
    line-height:1.35 !important;
}

@media(max-width:560px){
    .stbct-section .stbct-card .stbct-body{
        padding:11px 12px 12px;
    }
    .stbct-section .stbct-student-meta{
        margin-bottom:6px;
    }
    .stbct-section .stbct-class{
        font-size:8px !important;
        letter-spacing:.8px !important;
    }
    .stbct-section .stbct-session{
        font-size:8px !important;
    }
    .stbct-section .stbct-card .stbct-body h3{
        margin-bottom:9px !important;
        font-size:14px !important;
    }
    .stbct-section .stbct-result-row{
        padding-top:8px;
    }
    .stbct-section .stbct-result-label{
        font-size:7px !important;
    }
    .stbct-section .stbct-result-row strong{
        font-size:21px !important;
    }
}

/* v1.3.0 — six-column desktop achievers grid + stronger score emphasis */
.stbct-section .stbct-grid{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:14px;
}

.stbct-section .stbct-card{
    min-width:0;
    border-radius:18px;
    overflow:hidden;
}

.stbct-section .stbct-card .stbct-photo{
    aspect-ratio:4 / 4.35;
}

.stbct-section .stbct-card .stbct-body{
    padding:12px 13px 13px;
}

.stbct-section .stbct-student-meta{
    margin-bottom:6px;
}

.stbct-section .stbct-class{
    font-size:8px !important;
    letter-spacing:.8px !important;
}

.stbct-section .stbct-session{
    font-size:7.5px !important;
    gap:4px;
}

.stbct-section .stbct-card .stbct-body h3{
    margin-bottom:8px !important;
    font-size:14px !important;
    line-height:1.12 !important;
    letter-spacing:-.25px !important;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.stbct-section .stbct-result-row{
    padding-top:8px;
    align-items:center;
}

.stbct-section .stbct-result-label{
    font-size:6.5px !important;
    letter-spacing:.8px !important;
}

.stbct-section .stbct-result-row strong{
    font-size:24px !important;
    line-height:.9 !important;
    letter-spacing:-1px !important;
}

@media (min-width:1200px){
    .stbct-section .stbct-grid{
        gap:12px;
    }
}

@media (min-width:1500px){
    .stbct-section .stbct-grid{
        gap:14px;
    }
    .stbct-section .stbct-result-row strong{
        font-size:27px !important;
    }
}

/* Keep tablets comfortable rather than forcing six tiny cards. */
@media (max-width:1199px) and (min-width:768px){
    .stbct-section .stbct-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:16px;
    }
    .stbct-section .stbct-card .stbct-body{
        padding:13px 14px 14px;
    }
}

/* Mobile remains intentionally easy to read. */
@media (max-width:767px){
    .stbct-section .stbct-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
    }
    .stbct-section .stbct-card{
        border-radius:14px;
    }
    .stbct-section .stbct-card .stbct-photo{
        aspect-ratio:1 / 1.08;
    }
    .stbct-section .stbct-card .stbct-body{
        padding:10px 10px 11px;
    }
    .stbct-section .stbct-card .stbct-body h3{
        font-size:12px !important;
        margin-bottom:7px !important;
    }
    .stbct-section .stbct-result-row strong{
        font-size:20px !important;
    }
}

/* v1.4.0 — two-row responsive pagination */
.stbct-section .stbct-pagination{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin:22px 0 2px;
}

.stbct-section .stbct-page-numbers{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:5px;
}

.stbct-section .stbct-page-prev,
.stbct-section .stbct-page-next,
.stbct-section .stbct-page-number{
    appearance:none;
    border:1px solid #dfe5ef;
    background:rgba(255,255,255,.92);
    color:#102b59;
    min-width:36px;
    height:36px;
    padding:0 10px;
    border-radius:10px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    font-family:inherit !important;
    font-size:12px !important;
    font-weight:700 !important;
    line-height:1 !important;
    cursor:pointer;
    transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease;
}

.stbct-section .stbct-page-prev span:first-child,
.stbct-section .stbct-page-next span:last-child{
    font-size:20px !important;
    line-height:0 !important;
    font-weight:400 !important;
}

.stbct-section .stbct-page-number{
    width:36px;
    padding:0;
}

.stbct-section .stbct-page-number.is-active{
    background:#0b2857;
    border-color:#0b2857;
    color:#fff;
    box-shadow:0 5px 14px rgba(11,40,87,.18);
}

.stbct-section .stbct-page-prev:hover:not(:disabled),
.stbct-section .stbct-page-next:hover:not(:disabled),
.stbct-section .stbct-page-number:hover:not(.is-active){
    border-color:#dca514;
    color:#0b2857;
    transform:translateY(-1px);
}

.stbct-section .stbct-page-prev:disabled,
.stbct-section .stbct-page-next:disabled{
    opacity:.42;
    cursor:not-allowed;
    transform:none;
}

.stbct-section .stbct-page-ellipsis{
    width:28px;
    text-align:center;
    color:#8792a5;
    font-size:15px;
    line-height:36px;
}

@media(max-width:767px){
    .stbct-section .stbct-pagination{
        margin-top:16px;
        gap:5px;
    }
    .stbct-section .stbct-page-prev,
    .stbct-section .stbct-page-next{
        min-width:34px;
        height:34px;
        padding:0 8px;
        border-radius:9px;
        font-size:10px !important;
    }
    .stbct-section .stbct-page-number{
        width:34px;
        min-width:34px;
        height:34px;
        border-radius:9px;
    }
}


/* v1.6.0 — premium CBSE toppers marquee presentation */
.stbct-section{
    --stbct-navy:#071f4d;
    --stbct-navy-2:#0b2e66;
    --stbct-blue:#3159e8;
    --stbct-gold:#dca514;
    --stbct-gold-light:#f5d879;
    --stbct-text:#101b33;
    --stbct-muted:#637089;
    position:relative;
    overflow:hidden;
    padding:clamp(42px,5vw,70px) 0 clamp(34px,4vw,52px);
    background:
      radial-gradient(circle at 5% 15%,rgba(49,89,232,.11),transparent 26%),
      radial-gradient(circle at 95% 12%,rgba(220,165,20,.10),transparent 24%),
      linear-gradient(180deg,#ffffff 0%,#f7faff 52%,#eef4ff 100%);
}

.stbct-section::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:.42;
    background-image:
      linear-gradient(rgba(7,31,77,.022) 1px,transparent 1px),
      linear-gradient(90deg,rgba(7,31,77,.022) 1px,transparent 1px);
    background-size:44px 44px;
}
.stbct-section::after{
    content:"";
    position:absolute;
    left:-5%;
    right:-5%;
    top:250px;
    height:90px;
    pointer-events:none;
    background:linear-gradient(170deg,transparent 40%,rgba(220,165,20,.12) 41%,rgba(220,165,20,.12) 45%,transparent 46%),
               linear-gradient(10deg,transparent 44%,rgba(49,89,232,.10) 45%,rgba(49,89,232,.10) 49%,transparent 50%);
}

.stbct-container{
    position:relative;
    z-index:1;
    width:min(1400px,calc(100% - 44px));
    margin:auto;
}

/* Hero */
.stbct-hero{
    position:relative;
    min-height:240px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    padding:10px 36px 24px;
}
.stbct-hero-copy{position:relative;z-index:2;max-width:820px}
.stbct-hero-eyebrow{
    display:inline-flex;
    align-items:center;
    gap:9px;
    margin-bottom:8px;
    color:var(--stbct-gold);
    font:800 12px/1.2 inherit;
    letter-spacing:1.8px;
    text-transform:uppercase;
}
.stbct-hero-eyebrow-icon{
    display:inline-flex;
    width:22px;height:22px;
    align-items:center;justify-content:center;
    border-radius:50%;
    background:rgba(220,165,20,.12);
    font-size:12px;
}
.stbct-title{
    margin:0!important;
    padding:0!important;
    color:var(--stbct-navy)!important;
    font-family:inherit!important;
    font-size:clamp(38px,5vw,68px)!important;
    font-weight:850!important;
    line-height:1.02!important;
    letter-spacing:-1.8px!important;
}
.stbct-title::first-line{color:var(--stbct-navy)}
.stbct-subtitle{
    max-width:760px;
    margin:14px 0 0!important;
    color:#59667d!important;
    font:500 clamp(14px,1.35vw,18px)/1.55 inherit!important;
}
.stbct-hero-motto{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:18px;
    color:var(--stbct-navy);
}
.stbct-hero-motto strong,
.stbct-hero-motto small{display:block}
.stbct-hero-motto strong{
    font-size:14px;
    line-height:1.2;
    font-weight:800;
}
.stbct-hero-motto small{
    margin-top:3px;
    color:var(--stbct-gold);
    font-size:13px;
    font-weight:700;
}
.stbct-laurel{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:36px;height:36px;
    border:1px solid rgba(220,165,20,.28);
    border-radius:50%;
    color:var(--stbct-gold);
    font-size:19px;
}
.stbct-laurel-right{transform:scaleX(-1)}
.stbct-hero-art{
    position:absolute;
    right:10px;
    top:-14px;
    width:420px;
    height:285px;
    pointer-events:none;
}
.stbct-art-glow{
    position:absolute;
    width:260px;height:260px;
    right:30px;top:5px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(220,165,20,.20),transparent 67%);
}
.stbct-trophy{
    position:absolute;
    right:105px;
    top:12px;
    width:160px;
    filter:drop-shadow(0 18px 18px rgba(7,31,77,.12));
    transform:rotate(2deg);
}
.stbct-art-star{
    position:absolute;
    color:var(--stbct-gold);
    text-shadow:0 3px 10px rgba(220,165,20,.28);
}
.stbct-star-one{right:40px;top:52px;font-size:27px}
.stbct-star-two{right:290px;top:85px;font-size:17px}
.stbct-art-dots{
    position:absolute;
    right:5px;
    bottom:34px;
    width:74px;height:74px;
    background-image:radial-gradient(var(--stbct-blue) 1.4px,transparent 1.4px);
    background-size:10px 10px;
    opacity:.5;
}

/* Filters */
.stbct-toolbar{
    position:relative;
    z-index:3;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin:0 0 22px;
    padding:6px;
    border:1px solid rgba(7,31,77,.08);
    border-radius:16px;
    background:rgba(255,255,255,.92);
    box-shadow:0 10px 30px rgba(7,31,77,.07);
    backdrop-filter:blur(12px);
}
.stbct-filters{display:flex;gap:3px;overflow:auto;scrollbar-width:none}
.stbct-filters::-webkit-scrollbar{display:none}
.stbct-filters button{
    min-height:42px;
    padding:0 20px!important;
    border:0!important;
    border-radius:11px!important;
    background:transparent!important;
    color:#69758a!important;
    font:750 13px/1 inherit!important;
    white-space:nowrap;
    cursor:pointer;
    transition:.22s ease;
}
.stbct-filters button:hover{background:#f2f5fa!important;color:var(--stbct-navy)!important}
.stbct-filters button.is-active{
    background:var(--stbct-navy)!important;
    color:#fff!important;
    box-shadow:0 6px 16px rgba(7,31,77,.18);
}
.stbct-toolbar select{
    min-width:205px;
    height:42px;
    border:1px solid #dfe5ef;
    border-radius:11px;
    background:#fff;
    color:var(--stbct-navy);
    padding:0 14px;
    outline:none;
    font:700 13px/1 inherit;
}

/* Navy carousel stage */
.stbct-marquee-wrap{
    position:relative;
    width:100%;
    margin:0;
    padding:22px 20px 76px;
    border-radius:24px;
    background:
      radial-gradient(circle at 8% 50%,rgba(49,89,232,.20),transparent 24%),
      linear-gradient(135deg,#071f4d 0%,#09295e 58%,#071f4d 100%);
    box-shadow:0 18px 48px rgba(7,31,77,.16);
    overflow:hidden;
}
.stbct-marquee-wrap::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:.22;
    background:
      linear-gradient(120deg,transparent 0 35%,rgba(255,255,255,.05) 36%,transparent 37%),
      radial-gradient(circle at 92% 18%,rgba(220,165,20,.28) 0 2px,transparent 3px);
}
.stbct-marquee-viewport{
    position:relative;
    z-index:1;
    width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:none;
    -ms-overflow-style:none;
    cursor:grab;
    overscroll-behavior-x:contain;
    touch-action:pan-x;
    padding:4px 2px 10px;
}
.stbct-marquee-viewport::-webkit-scrollbar{display:none}
.stbct-marquee-viewport.is-dragging{cursor:grabbing}
.stbct-marquee-viewport.is-static{overflow-x:hidden;cursor:default}
.stbct-marquee-track{
    display:flex;
    align-items:stretch;
    flex-wrap:nowrap;
    width:max-content;
    gap:16px;
    will-change:scroll-position;
}
.stbct-marquee-track .stbct-card{
    flex:0 0 clamp(188px,14.2vw,218px);
    width:clamp(188px,14.2vw,218px);
    min-width:0;
    overflow:hidden;
    border:2px solid rgba(255,255,255,.92);
    border-radius:17px;
    background:#fff;
    box-shadow:0 12px 25px rgba(0,0,0,.16);
}
.stbct-marquee-track .stbct-card::after{display:none}
.stbct-marquee-track .stbct-card .stbct-photo{
    aspect-ratio:1/1.03;
    background:linear-gradient(145deg,#f8db70,#f5e8b6);
}
.stbct-marquee-track .stbct-card .stbct-photo img{object-fit:cover}
.stbct-marquee-track .stbct-card .stbct-body{
    min-height:132px;
    padding:12px 13px 13px;
    display:flex;
    flex-direction:column;
}
.stbct-marquee-track .stbct-card .stbct-student-meta{margin-bottom:7px}
.stbct-marquee-track .stbct-card .stbct-class{
    color:#3159e8!important;
    font-size:8px!important;
    letter-spacing:.8px!important;
}
.stbct-marquee-track .stbct-card .stbct-session{
    color:#7d899c!important;
    font-size:7.5px!important;
}
.stbct-marquee-track .stbct-card .stbct-body h3{
    margin:0 0 10px!important;
    color:#101b33!important;
    font-size:14px!important;
    font-weight:850!important;
    line-height:1.15!important;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.stbct-marquee-track .stbct-card .stbct-result-row{
    margin-top:auto;
    padding-top:8px;
    border-top:1px solid #edf0f4;
}
.stbct-marquee-track .stbct-card .stbct-result-label{
    color:#9aa5b6!important;
    font-size:6.5px!important;
}
.stbct-marquee-track .stbct-card .stbct-result-row strong{
    color:var(--stbct-navy)!important;
    font-size:27px!important;
    font-weight:900!important;
    letter-spacing:-1px!important;
}
.stbct-marquee-track .stbct-card .stbct-rank{
    top:9px!important;
    left:9px!important;
    border-radius:8px!important;
    padding:6px 8px!important;
    background:var(--stbct-gold)!important;
    color:var(--stbct-navy)!important;
}

/* Controls deliberately placed together at bottom-right */
.stbct-carousel-controls{
    position:absolute;
    z-index:5;
    right:22px;
    bottom:18px;
    display:flex;
    align-items:center;
    gap:0;
    height:43px;
    padding:3px;
    border:1px solid rgba(220,165,20,.72);
    border-radius:24px;
    background:rgba(4,22,57,.74);
    box-shadow:0 8px 22px rgba(0,0,0,.18);
    backdrop-filter:blur(8px);
}
.stbct-marquee-nav{
    width:42px!important;
    height:36px!important;
    padding:0!important;
    border:0!important;
    border-radius:20px!important;
    background:transparent!important;
    color:#f5c646!important;
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:.2s ease;
}
.stbct-marquee-nav span{
    font-size:22px!important;
    font-weight:500!important;
    line-height:1!important;
}
.stbct-marquee-nav:hover{
    background:var(--stbct-gold)!important;
    color:var(--stbct-navy)!important;
    transform:none!important;
}
.stbct-marquee-nav:focus-visible{
    outline:2px solid #fff;
    outline-offset:2px;
}
.stbct-controls-divider{
    width:1px;
    height:21px;
    background:rgba(255,255,255,.34);
}

/* Achievement strip */
.stbct-achievement-strip{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:1.35fr repeat(4,1fr);
    margin-top:22px;
    padding:20px 18px;
    border:1px solid rgba(220,165,20,.32);
    border-radius:20px;
    background:rgba(255,255,255,.96);
    box-shadow:0 10px 30px rgba(7,31,77,.08);
}
.stbct-achievement-intro{
    display:flex;
    align-items:center;
    gap:13px;
    padding:0 20px 0 8px;
}
.stbct-achievement-emblem{
    display:flex;
    align-items:center;
    justify-content:center;
    width:52px;height:52px;
    flex:0 0 52px;
    border-radius:50%;
    background:linear-gradient(145deg,#0b2e66,#071f4d);
    color:var(--stbct-gold);
    font-size:21px;
    box-shadow:0 7px 16px rgba(7,31,77,.16);
}
.stbct-achievement-intro strong,
.stbct-achievement-intro span{display:block}
.stbct-achievement-intro strong{
    color:var(--stbct-navy);
    font:800 18px/1.1 inherit;
}
.stbct-achievement-intro div>span{
    margin-top:3px;
    color:var(--stbct-gold);
    font:800 15px/1.1 inherit;
}
.stbct-stat{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    min-height:60px;
    padding:0 14px;
    border-left:1px solid #e7ebf2;
    text-align:center;
}
.stbct-stat strong{
    color:var(--stbct-navy);
    font:900 clamp(22px,2.1vw,30px)/1 inherit;
    letter-spacing:-.8px;
}
.stbct-stat span{
    margin-top:5px;
    color:#6d7890;
    font:600 10px/1.3 inherit;
}

/* Empty */
.stbct-empty{
    margin:18px 0;
    padding:24px;
    border:1px dashed #ccd3df;
    border-radius:14px;
    background:rgba(255,255,255,.7);
    color:#667085;
    text-align:center;
}

/* Responsive */
@media(max-width:1050px){
    .stbct-hero{min-height:220px}
    .stbct-hero-art{right:-45px;opacity:.58}
    .stbct-marquee-track .stbct-card{flex-basis:200px;width:200px}
    .stbct-achievement-strip{grid-template-columns:1.3fr repeat(4,1fr)}
}
@media(max-width:800px){
    .stbct-container{width:calc(100% - 30px)}
    .stbct-hero{padding:5px 8px 20px;min-height:205px}
    .stbct-hero-art{right:-100px;opacity:.24}
    .stbct-toolbar{flex-direction:column;align-items:stretch}
    .stbct-toolbar select{width:100%}
    .stbct-achievement-strip{grid-template-columns:repeat(2,1fr);gap:0;padding:12px}
    .stbct-achievement-intro{grid-column:1/-1;padding:10px 8px 16px;border-bottom:1px solid #e7ebf2}
    .stbct-stat:nth-last-child(-n+2){border-top:1px solid #e7ebf2}
}
@media(max-width:560px){
    .stbct-section{padding:30px 0 38px}
    .stbct-container{width:calc(100% - 20px)}
    .stbct-hero{min-height:190px;padding:4px 3px 15px}
    .stbct-hero-copy{max-width:100%}
    .stbct-hero-eyebrow{font-size:9px;letter-spacing:1.3px}
    .stbct-title{font-size:34px!important;letter-spacing:-1px!important}
    .stbct-subtitle{max-width:94%;margin-top:9px!important;font-size:13px!important}
    .stbct-hero-motto{margin-top:13px}
    .stbct-hero-motto strong{font-size:12px}
    .stbct-hero-motto small{font-size:11px}
    .stbct-laurel{width:29px;height:29px;font-size:15px}
    .stbct-hero-art{right:-135px;top:15px;opacity:.14;transform:scale(.82)}
    .stbct-toolbar{margin-bottom:14px;padding:4px;border-radius:12px}
    .stbct-filters button{min-height:38px;padding:0 13px!important;font-size:11px!important}
    .stbct-marquee-wrap{padding:13px 10px 68px;border-radius:18px}
    .stbct-marquee-track{gap:10px}
    .stbct-marquee-track .stbct-card{
        flex-basis:calc((100vw - 64px)/1.35);
        width:calc((100vw - 64px)/1.35);
        min-width:220px;
        border-radius:14px;
    }
    .stbct-marquee-track .stbct-card .stbct-photo{aspect-ratio:1/1.03}
    .stbct-marquee-track .stbct-card .stbct-body{min-height:118px;padding:10px}
    .stbct-marquee-track .stbct-card .stbct-body h3{font-size:13px!important}
    .stbct-marquee-track .stbct-card .stbct-result-row strong{font-size:24px!important}
    .stbct-carousel-controls{right:12px;bottom:12px;height:40px}
    .stbct-marquee-nav{width:38px!important;height:34px!important}
    .stbct-marquee-nav span{font-size:20px!important}
    .stbct-achievement-strip{grid-template-columns:1fr 1fr;margin-top:14px;border-radius:16px;padding:9px}
    .stbct-achievement-intro{padding:9px 6px 13px}
    .stbct-achievement-emblem{width:43px;height:43px;flex-basis:43px}
    .stbct-achievement-intro strong{font-size:15px}
    .stbct-achievement-intro div>span{font-size:12px}
    .stbct-stat{min-height:65px;padding:8px 4px}
    .stbct-stat strong{font-size:22px}
    .stbct-stat span{font-size:9px}
}
@media(prefers-reduced-motion:reduce){
    .stbct-marquee-viewport{scroll-behavior:auto}
    .stbct-card,.stbct-marquee-nav{transition:none!important}
}

/* v1.6.1 — achievement statistics strip intentionally removed from frontend */
.stbct-section .stbct-achievement-strip{
    display:none !important;
}
