/*
 * Template Six ("Scholar"): navy and gold. Contact strip, white brand row, full-width menu bar,
 * full-width hero slider with quick links over its bottom edge, notice/event tabs, leadership
 * messages, a numbers band, about, corners, teachers, gallery and a dark footer.
 * Colours of the top bar, header, menu, drop-down, sidebar, footer and section titles still come from
 * Website → Theme Setup (site/theme/cp/layout/styles.blade.php); the rest is set here.
 * zz_campus.css (loaded first) keeps the shared inner-page parts.
 */
body.t6 {
    --t6-navy: #0b2545;
    --t6-navy-2: #13315c;
    --t6-ink: #1d2939;
    --t6-muted: #667085;
    --t6-line: #e4e7ec;
    --t6-soft: #f5f7fb;
    --t6-gold: #f2b705;
    --t6-gold-2: #d99a00;
    --t6-red: #c8102e;
    --t6-radius: 14px;
    --t6-shadow: 0 6px 24px rgba(16, 24, 40, .07);
    font-family: "Noto Sans Bengali", "SolaimanLipi", "Segoe UI", Arial, sans-serif;
    color: var(--t6-ink);
    background: var(--t6-soft);
    font-size: 15.5px;
}
body.t6 a { text-decoration: none; }
.t6 .container-xl { max-width: 1240px; }

/* ---------- top bar ---------- */
.t6-topbar { font-size: 13.5px; }
.t6-topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.t6-topbar-info, .t6-topbar-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.t6-topbar a, .t6-topbar span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.t6-topbar i { opacity: .8; }
.t6-topbar a:hover { opacity: .8; }
.t6 .t6-login { background: rgba(255, 255, 255, .12); padding: 4px 12px; border-radius: 30px; }
@media (max-width: 575.98px) { .t6-topbar-info { display: none; } .t6-topbar-row { justify-content: flex-end; } .t6-topbar-actions { gap: 12px; } }

/* ---------- brand row ---------- */
.t6-header { position: relative; z-index: 1031; border-bottom: 1px solid var(--t6-line); }
.t6-header-row { display: flex; align-items: center; gap: 16px; padding: 14px 12px; }
.t6-brand { display: flex; align-items: center; gap: 14px; flex: 1 1 auto; min-width: 0; }
.t6-logo { width: 70px; height: 70px; object-fit: contain; flex: 0 0 auto; }
.t6-brand-text { display: flex; flex-direction: column; min-width: 0; }
.t6-name { font-size: 27px; font-weight: 700; line-height: 1.2; color: var(--t6-navy); }
.t6 .t6-sub { font-size: 13.5px; color: var(--t6-muted); margin-top: 3px; }
.t6-sub i { color: var(--t6-gold-2); margin-right: 3px; }
.t6-header-side { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.t6-hcontact { align-items: center; gap: 10px; }
.t6-hicon { width: 44px; height: 44px; border-radius: 50%; background: #fff6d6; color: var(--t6-gold-2); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.t6-hcontact small { display: block; font-size: 12px; color: var(--t6-muted); line-height: 1.2; }
.t6-hcontact b { font-size: 15px; color: var(--t6-navy); }
.t6-cta { align-items: center; gap: 8px; background: var(--t6-gold); color: var(--t6-navy) !important; font-weight: 700; padding: 11px 20px; border-radius: 40px; box-shadow: 0 6px 16px rgba(242, 183, 5, .35); transition: transform .15s, box-shadow .15s; }
.t6-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(242, 183, 5, .45); }
.t6-toggler { border: 1px solid var(--t6-line); border-radius: 10px; padding: 8px 13px; font-size: 18px; color: var(--t6-navy); background: #fff; }
.t6-toggler:focus { box-shadow: none; }
@media (max-width: 991.98px) { .t6-logo { width: 54px; height: 54px; } .t6-name { font-size: 21px; } }
@media (max-width: 575.98px) { .t6-header-row { padding: 10px 6px; gap: 10px; } .t6-logo { width: 44px; height: 44px; } .t6-name { font-size: 17px; } .t6 .t6-sub { display: none; } }

/* ---------- menu bar ---------- */
.t6-menubar { position: sticky; top: 0; z-index: 1030; box-shadow: 0 4px 18px rgba(11, 37, 69, .18); }
.t6 .t6-nav { gap: 0; }
.t6 .t6-nav > .nav-item > .nav-link { font-size: 15px; font-weight: 600; padding: 15px 14px !important; }
.t6 .t6-nav > .nav-item > .nav-link::after { top: auto; bottom: 0; height: 3px; background: var(--t6-gold); left: 14px; right: 14px; border-radius: 3px 3px 0 0; }
.t6 .submenu { border-top: 3px solid var(--t6-gold); border-radius: 0 0 12px 12px; min-width: 250px; }
.t6 .submenu li a:hover { background: #fff8e1; }
@media (max-width: 1199.98px) {
    .t6 .t6-nav { padding: 6px 0 14px; }
    .t6 .t6-nav > .nav-item > .nav-link { padding: 11px 6px !important; border-bottom: 1px solid rgba(255, 255, 255, .1); }
    .t6 .submenu { background: transparent !important; }
    .t6 .submenu li a { border-bottom: 0; }
}

/* ---------- inner page title band ---------- */
.t6-banner { background: linear-gradient(120deg, var(--t6-navy) 0%, var(--t6-navy-2) 60%, #1d4e89 100%); color: #fff; padding: 34px 0 30px; position: relative; overflow: hidden; }
.t6-banner::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(242, 183, 5, .12); }
.t6-crumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .75); flex-wrap: wrap; }
.t6-crumb a { color: rgba(255, 255, 255, .9); }
.t6-crumb a:hover { color: var(--t6-gold); }
.t6-crumb-sep { font-size: 11px; opacity: .6; }
.t6 .t6-banner-title { font-size: 30px; font-weight: 700; margin: 8px 0 0; color: #fff; }
.t6-inner .t6-main { padding: 28px 0 40px; }
.t6-inner .t6-main .card { border-radius: var(--t6-radius); border: 1px solid var(--t6-line) !important; box-shadow: var(--t6-shadow); }

/* ---------- shared bits ---------- */
.t6-main { padding: 0 0 40px; }
.t6-card { background: #fff; border: 1px solid var(--t6-line); border-radius: var(--t6-radius); box-shadow: var(--t6-shadow); overflow: hidden; }
.t6-sec { margin-top: 44px; }
.t6-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.t6-kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--t6-gold-2); margin-bottom: 4px; }
.t6 .t6-h2 { font-size: 26px; font-weight: 700; color: var(--t6-navy); margin: 0; line-height: 1.25; }
.t6-more { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14.5px; color: var(--t6-navy); }
.t6-more i { transition: transform .15s; }
.t6-more:hover { color: var(--t6-red); }
.t6-more:hover i { transform: translateX(3px); }
.t6-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; padding: 12px 24px; border-radius: 40px; transition: transform .15s, background .15s, color .15s; }
.t6-btn:hover { transform: translateY(-2px); }
.t6-btn-gold { background: var(--t6-gold); color: var(--t6-navy) !important; }
.t6-btn-gold:hover { background: #ffc61a; }
.t6-btn-ghost { border: 2px solid rgba(255, 255, 255, .7); color: #fff !important; }
.t6-btn-ghost:hover { background: #fff; color: var(--t6-navy) !important; }
.t6-btn-navy { background: var(--t6-navy); color: #fff !important; }
.t6-btn-navy:hover { background: var(--t6-navy-2); }
.t6-empty { text-align: center; color: var(--t6-muted); padding: 30px 12px; margin: 0; }
.t6-empty i { margin-right: 6px; }
.t6 .t6-card-title { margin: 0; display: flex; align-items: center; gap: 9px; font-weight: 700; }

/* ---------- hero ---------- */
.t6-hero { position: relative; background: var(--t6-navy); }
.t6-hero .carousel-item { height: clamp(320px, 52vw, 560px); }
.t6-hero .carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.t6-hero .carousel-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 26, 51, .88) 0%, rgba(7, 26, 51, .55) 45%, rgba(7, 26, 51, .1) 100%); }
.t6-hero-overlay { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; pointer-events: none; padding-bottom: 50px; }
.t6-hero-text { max-width: 640px; color: #fff; pointer-events: auto; }
.t6-hero-kicker { display: inline-block; background: rgba(242, 183, 5, .18); color: var(--t6-gold); font-weight: 700; padding: 5px 14px; border-radius: 30px; font-size: 14px; letter-spacing: .5px; }
.t6 .t6-hero-text h1 { font-size: clamp(28px, 4.2vw, 50px); font-weight: 700; line-height: 1.18; margin: 14px 0 10px; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .3); }
.t6-hero-text p { font-size: 16px; color: rgba(255, 255, 255, .85); margin: 0 0 24px; }
.t6-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.t6-hero-cap { position: absolute; right: 24px; bottom: 76px; z-index: 3; max-width: 46%; }
.t6-hero-cap span { display: inline-block; background: rgba(255, 255, 255, .92); color: var(--t6-navy); font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 10px; border-left: 4px solid var(--t6-gold); }
.t6-hero .carousel-control-prev, .t6-hero .carousel-control-next { z-index: 3; width: 56px; opacity: .7; }
.t6-hero .carousel-indicators { z-index: 3; margin-bottom: 72px; }
.t6-hero .carousel-indicators [data-bs-target] { width: 26px; height: 4px; border-radius: 4px; }
@media (max-width: 767.98px) {
    .t6-hero-overlay { padding-bottom: 20px; }
    .t6-hero-text p { font-size: 14px; }
    .t6-hero-cap { display: none; }
    .t6-hero .carousel-indicators { margin-bottom: 16px; }
    .t6-hero .carousel-control-prev, .t6-hero .carousel-control-next { display: none; }
    .t6-btn { padding: 10px 18px; font-size: 14px; }
}

/* ---------- quick links (over the hero) ---------- */
.t6-quick { position: relative; z-index: 5; margin-top: -54px; display: grid; grid-template-columns: repeat(6, 1fr); background: #fff; border-radius: var(--t6-radius); box-shadow: 0 16px 40px rgba(11, 37, 69, .16); overflow: hidden; }
.t6-quick-item { display: flex; align-items: center; gap: 12px; padding: 20px 16px; color: var(--t6-ink); border-right: 1px solid var(--t6-line); transition: background .2s; }
.t6-quick-item:last-child { border-right: 0; }
.t6-quick-ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 19px; background: #eef3fb; color: var(--t6-navy); transition: background .2s, color .2s; }
.t6-quick-tx b { display: block; font-size: 15px; line-height: 1.25; color: var(--t6-navy); }
.t6-quick-tx small { display: block; font-size: 12.5px; color: var(--t6-muted); }
.t6-quick-item:hover { background: var(--t6-navy); }
.t6-quick-item:hover .t6-quick-ic { background: var(--t6-gold); color: var(--t6-navy); }
.t6-quick-item:hover b, .t6-quick-item:hover small { color: #fff; }
@media (max-width: 1199.98px) { .t6-quick { grid-template-columns: repeat(3, 1fr); } .t6-quick-item:nth-child(3n) { border-right: 0; } .t6-quick-item:nth-child(-n+3) { border-bottom: 1px solid var(--t6-line); } }
@media (max-width: 767.98px) { .t6-quick { margin-top: 18px; grid-template-columns: repeat(2, 1fr); } .t6-quick-item { padding: 14px 12px; border-bottom: 1px solid var(--t6-line); } .t6-quick-item:nth-child(3n) { border-right: 1px solid var(--t6-line); } .t6-quick-item:nth-child(2n) { border-right: 0; } .t6-quick-tx small { display: none; } .t6-quick-ic { width: 40px; height: 40px; font-size: 16px; } }

/* ---------- ticker ---------- */
.t6-ticker { display: flex; align-items: stretch; margin-top: 26px; background: #fff; border: 1px solid var(--t6-line); border-radius: 50px; overflow: hidden; box-shadow: var(--t6-shadow); }
.t6-ticker-label { flex: 0 0 auto; display: flex; align-items: center; gap: 7px; background: var(--t6-red); color: #fff; font-weight: 700; font-size: 14.5px; padding: 10px 20px; border-radius: 50px; }
.t6-ticker-track { flex: 1; overflow: hidden; }
.t6-ticker-move { display: inline-flex; gap: 46px; white-space: nowrap; padding: 10px 0 10px 100%; animation: t6ticker 45s linear infinite; }
.t6-ticker:hover .t6-ticker-move { animation-play-state: paused; }
.t6-ticker-move a { color: var(--t6-navy); font-weight: 600; }
.t6-ticker-move a::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--t6-gold); margin-right: 10px; vertical-align: middle; }
.t6-ticker-move a:hover { color: var(--t6-red); }
@keyframes t6ticker { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .t6-ticker-move { animation: none; padding-left: 14px; } }

/* ---------- notice / events board ---------- */
.t6-board-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 22px; border-bottom: 1px solid var(--t6-line); }
.t6-board-head .t6-h2 { font-size: 21px; display: flex; align-items: center; gap: 10px; }
.t6-board-head .t6-h2 i { color: var(--t6-red); font-size: 18px; }
.t6-tabs { display: flex; gap: 4px; padding: 4px; background: var(--t6-soft); border-radius: 40px; margin: 0; list-style: none; }
.t6-tabs button { border: 0; background: transparent; border-radius: 40px; padding: 7px 16px; font-weight: 600; font-size: 14px; color: var(--t6-muted); }
.t6-tabs button.active { background: var(--t6-navy); color: #fff; }
.t6-note { display: flex; align-items: center; gap: 14px; padding: 13px 22px; border-bottom: 1px solid #f0f2f5; color: var(--t6-ink); transition: background .15s; }
.t6-note:hover { background: #f8fafd; }
.t6-date { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 12px; background: #eef3fb; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.t6-date b { font-size: 21px; color: var(--t6-navy); }
.t6-date small { font-size: 11px; color: var(--t6-muted); margin-top: 3px; text-transform: uppercase; }
.t6-date-alt { background: #fff6d6; }
.t6-date-alt b { color: var(--t6-gold-2); }
.t6-note-tx { flex: 1; font-weight: 500; line-height: 1.45; }
.t6-note:hover .t6-note-tx { color: var(--t6-navy); }
.t6-new { display: inline-block; margin-left: 6px; background: var(--t6-red); color: #fff; font-size: 11px; font-weight: 700; border-radius: 10px; padding: 1px 8px; vertical-align: middle; }
.t6-clip { color: var(--t6-muted); }
.t6-note-go { color: #c0c7d2; transition: transform .15s, color .15s; }
.t6-note:hover .t6-note-go { color: var(--t6-navy); transform: translateX(3px); }
.t6-more-bar { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; font-weight: 700; color: var(--t6-navy); background: #f8fafd; }
.t6-more-bar:hover { background: var(--t6-navy); color: #fff; }

/* useful links */
.t6-links .tray_title { border-radius: 0; }
.t6-links ul { list-style: none; margin: 0; padding: 8px 0; }
.t6-links li a { display: flex; align-items: center; gap: 12px; padding: 11px 20px; color: var(--t6-ink); font-weight: 500; border-bottom: 1px dashed #edf0f4; transition: background .15s, color .15s, padding .15s; }
.t6-links li:last-child a { border-bottom: 0; }
.t6-links li a i { width: 30px; height: 30px; border-radius: 8px; background: #eef3fb; color: var(--t6-navy); display: flex; align-items: center; justify-content: center; font-size: 13px; }
.t6-links li a:hover { background: #f8fafd; color: var(--t6-navy); padding-left: 24px; }

/* ---------- messages ---------- */
.t6-msg { display: flex; height: 100%; }
.t6-msg-photo { flex: 0 0 38%; max-width: 38%; object-fit: cover; min-height: 240px; background: #eef3fb; }
.t6-msg-body { padding: 22px; position: relative; display: flex; flex-direction: column; }
.t6-msg-q { position: absolute; right: 18px; top: 16px; font-size: 34px; color: #eef3fb; }
.t6 .t6-msg-body h3 { font-size: 18px; font-weight: 700; color: var(--t6-navy); margin: 0 30px 4px 0; }
.t6-msg-name { font-size: 13.5px; color: var(--t6-gold-2); font-weight: 600; }
.t6-msg-body p { color: var(--t6-muted); font-size: 14.5px; line-height: 1.7; margin: 12px 0 14px; }
.t6-msg-body .t6-more { margin-top: auto; }
@media (max-width: 575.98px) { .t6-msg { flex-direction: column; } .t6-msg-photo { max-width: 100%; height: 240px; } }

/* ---------- numbers band ---------- */
.t6-stats { margin-top: 50px; background: linear-gradient(120deg, var(--t6-navy) 0%, var(--t6-navy-2) 100%); position: relative; overflow: hidden; }
.t6-stats::before { content: ""; position: absolute; left: -60px; bottom: -120px; width: 300px; height: 300px; border-radius: 50%; background: rgba(242, 183, 5, .08); }
.t6-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.t6-stat { text-align: center; color: #fff; padding: 40px 12px; border-right: 1px solid rgba(255, 255, 255, .1); }
.t6-stat:last-child { border-right: 0; }
.t6-stat i { font-size: 26px; color: var(--t6-gold); }
.t6-stat b { display: block; font-size: 38px; font-weight: 700; line-height: 1.1; margin: 10px 0 4px; }
.t6-stat span { font-size: 15px; color: rgba(255, 255, 255, .75); }
@media (max-width: 767.98px) { .t6-stats-grid { grid-template-columns: repeat(2, 1fr); } .t6-stat { padding: 26px 8px; } .t6-stat:nth-child(2) { border-right: 0; } .t6-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .1); } .t6-stat b { font-size: 30px; } }

/* ---------- about ---------- */
.t6-about-img { height: 100%; min-height: 320px; background: #eef3fb center / cover no-repeat; }
.t6-about-body { padding: 38px 40px; }
.t6-about-body p { color: var(--t6-muted); line-height: 1.85; margin: 16px 0 22px; }
@media (max-width: 767.98px) { .t6-about-img { min-height: 220px; } .t6-about-body { padding: 24px; } }

/* ---------- corners ---------- */
.t6-corner-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--t6-line); }
.t6-corner-tabs button { width: 100%; height: 100%; border: 0; background: #fff; padding: 18px 10px; display: flex; flex-direction: column; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; color: var(--t6-ink); border-bottom: 3px solid transparent; transition: background .15s, color .15s; }
.t6-corner-tabs button img { width: 44px; height: 44px; object-fit: contain; }
.t6-corner-tabs button i { font-size: 28px; color: var(--t6-navy); }
.t6-corner-tabs button:hover { background: #f8fafd; }
.t6-corner-tabs button.active { background: #f8fafd; color: var(--t6-navy); border-bottom-color: var(--t6-gold); }
.t6-corner-list { list-style: none; margin: 0; padding: 12px 8px; columns: 2; column-gap: 20px; }
.t6-corner-list li { break-inside: avoid; }
.t6-corner-list a { display: flex; gap: 10px; padding: 9px 16px; color: var(--t6-ink); border-radius: 8px; }
.t6-corner-list a i { color: var(--t6-gold-2); margin-top: 4px; }
.t6-corner-list a:hover { background: #f8fafd; color: var(--t6-navy); }
@media (max-width: 767.98px) { .t6-corner-list { columns: 1; } }

/* ---------- people ---------- */
.t6-people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.t6-person { display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border: 1px solid var(--t6-line); border-radius: var(--t6-radius); padding: 24px 14px 20px; color: var(--t6-ink); box-shadow: var(--t6-shadow); position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.t6-person::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 64px; background: linear-gradient(120deg, var(--t6-navy), var(--t6-navy-2)); }
.t6-person img, .t6-avatar { position: relative; width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 6px 18px rgba(16, 24, 40, .15); margin-bottom: 12px; background: #eef3fb; }
.t6-avatar { display: flex; align-items: center; justify-content: center; color: var(--t6-navy); font-size: 34px; font-weight: 700; }
.t6-person b { font-size: 15.5px; line-height: 1.3; color: var(--t6-navy); }
.t6-person span { font-size: 13.5px; color: var(--t6-muted); margin-top: 3px; }
.t6-person small { font-size: 12.5px; color: var(--t6-gold-2); font-weight: 600; margin-top: 2px; }
a.t6-person:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(11, 37, 69, .14); color: var(--t6-ink); }
.t6-topper::before { background: linear-gradient(120deg, var(--t6-gold-2), var(--t6-gold)); }
.t6-gpa { background: #fff6d6; padding: 2px 10px; border-radius: 20px; margin-top: 6px !important; }
@media (max-width: 991.98px) { .t6-people { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575.98px) { .t6-people { grid-template-columns: repeat(2, 1fr); gap: 12px; } .t6-person img, .t6-avatar { width: 80px; height: 80px; } }

/* ---------- gallery / video ---------- */
.t6-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.t6-gallery.t6-gallery-big .t6-photo:first-child { grid-column: span 2; grid-row: span 2; }
.t6-photo { display: block; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: #e4e7ec; position: relative; cursor: zoom-in; }
.t6-gallery.t6-gallery-big .t6-photo:first-child { aspect-ratio: auto; }
.t6-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.t6-photo::after { content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; background: rgba(11, 37, 69, .45); opacity: 0; transition: opacity .2s; }
.t6-photo:hover img { transform: scale(1.07); }
.t6-photo:hover::after { opacity: 1; }
.t6-videos { display: grid; gap: 12px; }
.t6-video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.t6-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.t6-video-fb { aspect-ratio: auto; background: transparent; }
@media (max-width: 575.98px) { .t6-gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---------- widgets (side bar components) ---------- */
.t6-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.t6-widget { padding-bottom: 12px; }
.t6-widget .tray_title { margin: 0 0 10px; }
.t6-widget > *:not(.tray_title) { margin-left: 14px; margin-right: 14px; }
#sidebar.t6-widgets { background: transparent !important; }

/* ---------- section titles from Theme Setup ---------- */
.t6 .tray_title { font-family: inherit !important; font-weight: 700; }

/* ---------- footer ---------- */
.t6-footer { margin-top: 60px; padding: 54px 0 0; position: relative; border-top: 4px solid var(--t6-gold); }
.t6-fbrand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.t6-fbrand img { width: 54px; height: 54px; object-fit: contain; background: #fff; border-radius: 12px; padding: 4px; }
.t6-fbrand b { font-size: 19px; line-height: 1.3; }
.t6-footer .tray_title { background: none !important; padding: 0 0 12px !important; margin: 0 0 14px; font-size: 17px !important; font-weight: 700; color: #fff !important; position: relative; }
.t6-footer .tray_title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--t6-gold); }
.t6-footer ul { list-style: none; margin: 0; padding: 0; }
.t6-footer li { padding: 6px 0; font-size: 14.5px; }
.t6-contact li { display: flex; gap: 12px; }
.t6-contact li i { width: 18px; margin-top: 5px; color: var(--t6-gold); }
.t6-fcol a { opacity: .9; }
.t6-fcol a:hover { opacity: 1; }
.t6-flinks li a::before { content: "\203A"; margin-right: 8px; color: var(--t6-gold); font-weight: 700; }
.t6-fmap { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; }
.t6-fmap iframe { width: 100%; height: 100%; border: 0; display: block; }
.t6-copy { margin-top: 44px; padding: 16px 0; background: rgba(0, 0, 0, .22); font-size: 13.5px; }

/* back to top */
.t6-top-btn { position: fixed; right: 18px; bottom: 90px; z-index: 1040; width: 44px; height: 44px; border-radius: 50%; background: var(--t6-gold); color: var(--t6-navy); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(11, 37, 69, .25); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s; }
.t6-top-btn.show { opacity: 1; visibility: visible; transform: none; }
.t6-top-btn:hover { color: var(--t6-navy); background: #ffc61a; }

/* shared inner-page parts from Template Five, in this theme's colours */
.t6 .t5-card { border-radius: var(--t6-radius); border-color: var(--t6-line); box-shadow: var(--t6-shadow); }
.t6 .t5-see-all { background: #f8fafd; color: var(--t6-navy); }
.t6 .t5-see-all:hover { background: var(--t6-navy); color: #fff; }
.t6 .t5-read { color: var(--t6-navy); }
.t6 .t5-info-list li a i { color: var(--t6-navy); }

/* hero text: the shared site styles centre carousel text */
.t6 .t6-hero-text { text-align: left; }
/* widgets: each keeps its own height; a very tall one (a long picture of links) scrolls inside */
.t6-widgets { align-items: start; }
.t6-widget > :not(.tray_title) { max-height: 420px; overflow: auto; }
.t6-widget img { max-width: 100%; height: auto; }
/* the initial when a person has no photo */
.t6-person .t6-avatar { font-size: 34px; color: var(--t6-navy); margin-top: 0; }
/* the slider arrows would sit on the welcome text when the screen is not much wider than the page */
@media (max-width: 1320px) { .t6-hero .carousel-control-prev, .t6-hero .carousel-control-next { display: none; } }
/* corner tabs: one row; on a narrow screen it scrolls sideways instead of wrapping */
.t6-corner-tabs { display: flex; overflow-x: auto; scrollbar-width: thin; }
.t6-corner-tabs > li { flex: 1 0 140px; }
/* shared widgets (speech, about) in this theme's colours */
.t6 .widget-heading, .t6 .wiz_heading { background: var(--t6-navy) !important; color: #fff !important; border-radius: 10px 10px 0 0; font-family: inherit; }
/* a Facebook page box is a few pixels wider than its column: no sideways scroll */
body.t6 { overflow-x: clip; }
.t6 .fb-page, .t6 .fb-page span, .t6 .fb-page iframe { max-width: 100% !important; }
/* phone / tablet menu: the drop-down opens inside the dark menu bar, so its links are light */
@media (max-width: 1199.98px) {
    .t6 #menu .submenu { border-top: 0; box-shadow: none; padding-left: 12px; }
    .t6 #menu .submenu ul li .sub_link { color: rgba(255, 255, 255, .82) !important; padding: 8px 10px; font-size: 14.5px; }
    .t6 #menu .submenu ul li .sub_link::before { content: "\203A"; margin-right: 8px; color: var(--t6-gold); }
    .t6 #menu .submenu ul li .sub_link:hover { color: var(--t6-gold) !important; background: rgba(255, 255, 255, .05); }
}
/* details pages: the title and path are in the title band, so the old "Home / title" line in the page is not repeated */
.t6-inner #body-content > .row > .col-md-9 > .row > .col-md-12 > h4.fw-bold:first-child { display: none; }
.t6 .t6-banner-title { font-size: clamp(22px, 3vw, 30px); line-height: 1.3; }
