/* 
   FSCT Style Theme for Coop Thai ICT
   Font: Kanit | Palette: Corporate Deep Blue, Sky Blue, Emerald Green
*/

@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');

:root {
    --fsct-primary: #0a3d91;
    --fsct-primary-dark: #072b6b;
    --fsct-secondary: #0076c9;
    --fsct-sky: #0284c7;
    --fsct-accent: #0f9d58;
    --fsct-footer-bg: #071e4a;
    --fsct-bg-light: #f8fafc;
    --fsct-card-bg: #ffffff;
    --fsct-text-main: #1e293b;
    --fsct-text-muted: #64748b;
    --fsct-border: #e2e8f0;
    --fsct-shadow: 0 10px 30px rgba(10, 61, 145, 0.07);
    --fsct-shadow-hover: 0 16px 36px rgba(10, 61, 145, 0.14);
    --fsct-radius: 16px;
    --fsct-radius-sm: clamp(8px, 0.4rem + 0.3vw, 12px);
    --fsct-radius-md: clamp(12px, 0.6rem + 0.4vw, 16px);
    --fsct-radius-lg: clamp(16px, 0.8rem + 0.6vw, 24px);

    /* Fluid Typography Scale */
    --fsct-text-xs: clamp(0.70rem, 0.65rem + 0.20vw, 0.80rem);
    --fsct-text-sm: clamp(0.78rem, 0.72rem + 0.25vw, 0.90rem);
    --fsct-text-base: clamp(0.875rem, 0.82rem + 0.28vw, 1.00rem);
    --fsct-text-md: clamp(0.95rem, 0.88rem + 0.35vw, 1.125rem);
    --fsct-text-lg: clamp(1.05rem, 0.95rem + 0.45vw, 1.25rem);
    --fsct-text-xl: clamp(1.15rem, 1.00rem + 0.65vw, 1.50rem);
    --fsct-text-2xl: clamp(1.30rem, 1.10rem + 0.90vw, 1.85rem);
    --fsct-text-3xl: clamp(1.45rem, 1.20rem + 1.15vw, 2.15rem);

    /* Fluid Spacing & Dimensions */
    --fsct-section-py: clamp(1.75rem, 1.20rem + 2.50vw, 4.00rem);
    --fsct-card-pad: clamp(0.85rem, 0.65rem + 0.90vw, 1.50rem);
    --fsct-grid-gap: clamp(0.75rem, 0.50rem + 1.00vw, 1.50rem);
}

html {
    background-color: var(--fsct-bg-light, #f8fafc);
}

body {
    font-family: 'Kanit', sans-serif !important;
    background-color: var(--fsct-bg-light);
    color: var(--fsct-text-main);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .btn, .nav-link {
    font-family: 'Kanit', sans-serif !important;
}

/* ==================== 1. TOP BAR ==================== */
.fsct-topbar {
    background-color: #072b6b;
    color: #e2e8f0;
    font-size: 0.875rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.fsct-topbar a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s ease;
}
.fsct-topbar a:hover {
    color: #38bdf8;
}
.fsct-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 18px;
}
.fsct-topbar-social {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.fsct-topbar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}
.fsct-topbar-social a:hover {
    background: var(--fsct-secondary);
    color: #fff;
    transform: translateY(-2px);
}

/* ==================== 2. MAIN NAVBAR ==================== */
.fsct-navbar {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: all 0.3s ease;
}
body.admin-bar .fsct-navbar {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar .fsct-navbar {
        top: 46px;
    }
}
@media screen and (max-width: 600px) {
    body.admin-bar .fsct-navbar {
        top: 0;
    }
}
.fsct-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}
.fsct-brand-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.08));
    flex-shrink: 0;
}
.fsct-brand-text {
    display: flex;
    flex-direction: column;
}
.fsct-brand-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--fsct-primary);
    line-height: 1.25;
    margin: 0;
    white-space: nowrap;
}
.fsct-brand-subtitle {
    font-size: 0.68rem;
    color: var(--fsct-text-muted);
    font-weight: 400;
    letter-spacing: 0.2px;
    margin: 0;
    white-space: nowrap;
}

.fsct-nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}
.fsct-nav .nav-item {
    margin: 0 2px;
    flex-shrink: 0;
}
.fsct-nav .nav-link {
    font-size: 0.90rem;
    font-weight: 500;
    color: #334155 !important;
    padding: 7px 9px !important;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
}
@media (min-width: 1400px) {
    .fsct-nav .nav-link {
        font-size: 0.95rem;
        padding: 8px 12px !important;
    }
    .fsct-brand-title {
        font-size: 1.15rem;
    }
    .fsct-brand-subtitle {
        font-size: 0.75rem;
    }
    .fsct-brand-logo {
        width: 52px;
        height: 52px;
    }
}

/* Responsive adjustments for Laptop / iPad Pro Landscape (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .fsct-brand {
        gap: 8px;
    }
    .fsct-brand-title {
        font-size: clamp(0.95rem, 1.05vw, 1.25rem);
    }
    .fsct-brand-subtitle {
        font-size: clamp(0.70rem, 0.75vw, 0.82rem);
    }
    .fsct-nav .nav-item {
        margin: 0 1px;
    }
    .fsct-nav .nav-link {
        font-size: clamp(0.80rem, 0.85vw, 0.92rem) !important;
        padding: 0.5rem clamp(0.40rem, 0.6vw, 0.75rem) !important;
    }
    .fsct-header-action-btn {
        padding: 4px clamp(8px, 0.7vw, 12px) 4px clamp(6px, 0.5vw, 9px) !important;
        gap: clamp(5px, 0.5vw, 8px) !important;
    }
    .fsct-header-action-btn .fsct-action-icon-box {
        width: 32px !important;
        height: 32px !important;
        font-size: 1rem !important;
    }
    .fsct-header-action-btn .fsct-action-badge {
        font-size: clamp(0.58rem, 0.62vw, 0.66rem) !important;
        line-height: 1.1 !important;
        margin-bottom: 1px !important;
    }
    .fsct-header-action-btn .fsct-action-title {
        font-size: clamp(0.76rem, 0.80vw, 0.86rem) !important;
        line-height: 1.15 !important;
    }
    .fsct-header-action-btn .fsct-action-arrow {
        font-size: 0.75rem !important;
    }
}
.fsct-nav .nav-link:hover,
.fsct-nav .nav-link:focus,
.fsct-nav .nav-item.active .nav-link {
    color: var(--fsct-primary) !important;
    background-color: #f1f5f9;
}
.fsct-nav .dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(10, 61, 145, 0.12);
    padding: 8px;
    min-width: 250px;
    margin-top: 8px;
    animation: fadeInDown 0.25s ease;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.fsct-nav .dropdown-item {
    font-size: 0.92rem;
    padding: 9px 16px;
    border-radius: 8px;
    color: #334155;
    font-weight: 400;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.fsct-nav .dropdown-item:hover {
    background-color: #eff6ff;
    color: var(--fsct-primary);
    transform: translateX(4px);
}

/* ==================== 2.4 MODERN HEADER QUICK ACTION & CTA CARD ==================== */
.fsct-header-action-btn {
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 14px 6px 9px;
    border-radius: 12px;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    line-height: 1.25;
}

/* Icon Box */
.fsct-header-action-btn .fsct-action-icon-box {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease;
}
.fsct-header-action-btn:hover .fsct-action-icon-box {
    transform: scale(1.08);
}

/* Pulsing Online Dot */
.fsct-header-action-btn .fsct-action-pulse-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 9px;
    height: 9px;
    background-color: #10b981;
    border: 2px solid #ffffff;
    border-radius: 50%;
    animation: fsct-action-pulse 2s infinite ease-in-out;
}
@keyframes fsct-action-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Text Container */
.fsct-header-action-btn .fsct-action-text-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

/* Micro Subtitle / Badge */
.fsct-header-action-btn .fsct-action-badge {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 2px;
}

/* Main Title */
.fsct-header-action-btn .fsct-action-title {
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: -0.2px;
    line-height: 1.2;
}

/* Right Arrow */
.fsct-header-action-btn .fsct-action-arrow {
    display: inline-flex;
    align-items: center;
    font-size: 0.88rem;
    opacity: 0.75;
    transition: transform 0.25s ease, opacity 0.25s ease;
    margin-left: 2px;
}
.fsct-header-action-btn:hover .fsct-action-arrow {
    transform: translateX(3px);
    opacity: 1;
}

/* ---------- STYLES (PRESETS) ---------- */

/* Style 1: Modern Action Card (Dual Line) */
.fsct-action-style-card {
    border-radius: 12px;
    border: 1.5px solid rgba(0, 118, 201, 0.25);
    box-shadow: 0 3px 12px rgba(0, 118, 201, 0.08);
}
.fsct-action-style-card:hover {
    box-shadow: 0 6px 20px rgba(0, 118, 201, 0.18);
    transform: translateY(-2px);
}

/* Style 2: Glowing Capsule Pill (1 Line) */
.fsct-action-style-pill {
    border-radius: 50px;
    padding: 7px 18px 7px 10px;
    border: none;
}
.fsct-action-style-pill .fsct-action-icon-box {
    border-radius: 50%;
    width: 32px;
    height: 32px;
}
.fsct-action-style-pill:hover {
    transform: translateY(-2px);
}

/* Style 3: Urgent Notice / Quick Alert Badge */
.fsct-action-style-notice {
    border-radius: 10px;
    border: 1.5px dashed rgba(245, 158, 11, 0.5);
}
.fsct-action-style-notice:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.22);
}

/* ---------- COLOR THEMES ---------- */

/* 1. Primary Blue (Ocean Blue & Cyan) */
.fsct-action-theme-primary_blue.fsct-action-style-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f6ff 100%);
    border-color: rgba(0, 118, 201, 0.35);
}
.fsct-action-theme-primary_blue.fsct-action-style-card .fsct-action-icon-box {
    background: linear-gradient(135deg, #0076c9 0%, #004b93 100%);
    color: #ffffff;
}
.fsct-action-theme-primary_blue.fsct-action-style-card .fsct-action-badge {
    color: #0076c9;
}
.fsct-action-theme-primary_blue.fsct-action-style-card .fsct-action-title {
    color: #002d5a;
}
.fsct-action-theme-primary_blue.fsct-action-style-card .fsct-action-arrow {
    color: #0076c9;
}

.fsct-action-theme-primary_blue.fsct-action-style-pill {
    background: linear-gradient(135deg, #0076c9 0%, #004b93 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 118, 201, 0.35);
}
.fsct-action-theme-primary_blue.fsct-action-style-pill .fsct-action-icon-box {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}
.fsct-action-theme-primary_blue.fsct-action-style-pill .fsct-action-title,
.fsct-action-theme-primary_blue.fsct-action-style-pill .fsct-action-arrow {
    color: #ffffff;
}
.fsct-action-theme-primary_blue.fsct-action-style-pill:hover {
    box-shadow: 0 6px 22px rgba(0, 118, 201, 0.5);
}

/* 2. Navy Dark */
.fsct-action-theme-navy_dark.fsct-action-style-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}
.fsct-action-theme-navy_dark.fsct-action-style-card .fsct-action-icon-box {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    color: #ffffff;
}
.fsct-action-theme-navy_dark.fsct-action-style-card .fsct-action-badge {
    color: #38bdf8;
}
.fsct-action-theme-navy_dark.fsct-action-style-card .fsct-action-title {
    color: #ffffff;
}
.fsct-action-theme-navy_dark.fsct-action-style-card .fsct-action-arrow {
    color: #94a3b8;
}

.fsct-action-theme-navy_dark.fsct-action-style-pill {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.35);
}
.fsct-action-theme-navy_dark.fsct-action-style-pill .fsct-action-icon-box {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
}
.fsct-action-theme-navy_dark.fsct-action-style-pill .fsct-action-title,
.fsct-action-theme-navy_dark.fsct-action-style-pill .fsct-action-arrow {
    color: #ffffff;
}

/* 3. Emerald Green */
.fsct-action-theme-emerald_green.fsct-action-style-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    border-color: rgba(16, 185, 129, 0.35);
}
.fsct-action-theme-emerald_green.fsct-action-style-card .fsct-action-icon-box {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
}
.fsct-action-theme-emerald_green.fsct-action-style-card .fsct-action-badge {
    color: #059669;
}
.fsct-action-theme-emerald_green.fsct-action-style-card .fsct-action-title {
    color: #064e3b;
}
.fsct-action-theme-emerald_green.fsct-action-style-card .fsct-action-arrow {
    color: #059669;
}

.fsct-action-theme-emerald_green.fsct-action-style-pill {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}
.fsct-action-theme-emerald_green.fsct-action-style-pill .fsct-action-icon-box {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}
.fsct-action-theme-emerald_green.fsct-action-style-pill .fsct-action-title,
.fsct-action-theme-emerald_green.fsct-action-style-pill .fsct-action-arrow {
    color: #ffffff;
}

/* 4. Amber Orange */
.fsct-action-theme-amber_orange.fsct-action-style-card,
.fsct-action-theme-amber_orange.fsct-action-style-notice {
    background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
    border-color: rgba(245, 158, 11, 0.45);
}
.fsct-action-theme-amber_orange .fsct-action-icon-box {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
}
.fsct-action-theme-amber_orange .fsct-action-badge {
    color: #b45309;
}
.fsct-action-theme-amber_orange .fsct-action-title {
    color: #78350f;
}
.fsct-action-theme-amber_orange .fsct-action-arrow {
    color: #b45309;
}

.fsct-action-theme-amber_orange.fsct-action-style-pill {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}
.fsct-action-theme-amber_orange.fsct-action-style-pill .fsct-action-icon-box {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}
.fsct-action-theme-amber_orange.fsct-action-style-pill .fsct-action-title,
.fsct-action-theme-amber_orange.fsct-action-style-pill .fsct-action-arrow {
    color: #ffffff;
}

/* 5. Crimson Red */
.fsct-action-theme-crimson_red.fsct-action-style-card,
.fsct-action-theme-crimson_red.fsct-action-style-notice {
    background: linear-gradient(135deg, #ffffff 0%, #fff1f2 100%);
    border-color: rgba(225, 29, 72, 0.35);
}
.fsct-action-theme-crimson_red .fsct-action-icon-box {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #ffffff;
}
.fsct-action-theme-crimson_red .fsct-action-badge {
    color: #be123c;
}
.fsct-action-theme-crimson_red .fsct-action-title {
    color: #881337;
}
.fsct-action-theme-crimson_red .fsct-action-arrow {
    color: #be123c;
}

.fsct-action-theme-crimson_red.fsct-action-style-pill {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.35);
}
.fsct-action-theme-crimson_red.fsct-action-style-pill .fsct-action-icon-box {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}
.fsct-action-theme-crimson_red.fsct-action-style-pill .fsct-action-title,
.fsct-action-theme-crimson_red.fsct-action-style-pill .fsct-action-arrow {
    color: #ffffff;
}

/* Fallback for standalone .fsct-cta-btn */
.fsct-cta-btn:not(.fsct-header-action-btn) {
    background: linear-gradient(135deg, var(--fsct-secondary), var(--fsct-primary));
    color: #ffffff !important;
    font-weight: 500;
    font-size: 0.88rem;
    padding: 7px 18px;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(0, 118, 201, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    line-height: 1.4;
}

@media (max-width: 1199.98px) {
    .fsct-nav {
        flex-direction: column;
        align-items: flex-start !important;
        padding: 15px 0;
    }
    .fsct-nav .nav-item {
        width: 100%;
        margin: 2px 0;
    }
    .fsct-nav .nav-link {
        width: 100%;
        padding: 10px 14px !important;
    }
    .fsct-nav .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none;
        background-color: #f8fafc;
        border-radius: 8px;
        margin: 4px 0 10px 10px;
    }
    .fsct-header-action-btn,
    .fsct-cta-btn {
        width: 100%;
        justify-content: space-between;
        margin-top: 10px;
        padding: 10px 16px;
    }
    .fsct-action-text-box {
        flex-grow: 1;
        margin-left: 6px;
    }
}

/* ==================== 2.5 TOP BRANDED PATTERN ZONE (BOX 1: HERO + BOX 2: QUICK CARDS & SERVICES) ==================== */
.fsct-top-branded-zone {
    position: relative;
    background-color: var(--fsct-bg-light);
    overflow: hidden;
    z-index: 1;
}

.fsct-top-branded-zone::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/bg-coopthaiict-pattern.png');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.fsct-top-branded-zone.fsct-pattern-disabled::before {
    display: none !important;
}

.fsct-top-branded-zone > * {
    position: relative;
    z-index: 1;
}

/* ==================== 3. HERO SLIDER ==================== */
.fsct-hero-wrapper {
    position: relative;
    padding: 24px 0 60px 0;
    background: transparent !important;
}
.fsct-slider-container {
    border-radius: var(--fsct-radius);
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}
.fsct-slider-container .carousel-item img {
    height: 460px;
    width: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 768px) {
    .fsct-slider-container .carousel-item img {
        height: 240px;
    }
}
.fsct-slider-container .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: #ffffff;
    opacity: 0.5;
    border: none;
    transition: all 0.3s ease;
}
.fsct-slider-container .carousel-indicators .active {
    width: 28px;
    border-radius: 10px;
    opacity: 1;
    background-color: #ffffff;
}

/* ==================== 4. QUICK ACTION CARDS ==================== */
.fsct-quick-cards-row {
    position: relative;
    margin-top: -55px;
    z-index: 10;
    padding: 0 15px;
}
.fsct-quick-card {
    background: #ffffff;
    border-radius: var(--fsct-radius-md, 14px);
    padding: clamp(12px, 1.5vw, 22px) clamp(10px, 1.3vw, 18px);
    box-shadow: var(--fsct-shadow);
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.1vw, 15px);
    text-decoration: none;
    color: var(--fsct-text-main);
    transition: all 0.3s ease;
    border: 1px solid rgba(226, 232, 240, 0.85);
    height: 100%;
}
.fsct-quick-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--fsct-shadow-hover);
    color: var(--fsct-primary);
    border-color: #cbd5e1;
}
.fsct-quick-icon {
    width: clamp(40px, 3.8vw, 56px);
    height: clamp(40px, 3.8vw, 56px);
    border-radius: clamp(10px, 1vw, 14px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.15rem, 1.4vw, 1.55rem);
    flex-shrink: 0;
    color: #ffffff;
}
.fsct-icon-blue { background: linear-gradient(135deg, #0076c9, #0a3d91); }
.fsct-icon-green { background: linear-gradient(135deg, #10b981, #0f9d58); }
.fsct-icon-cyan { background: linear-gradient(135deg, #06b6d4, #0284c7); }
.fsct-icon-purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.fsct-icon-orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.fsct-icon-red { background: linear-gradient(135deg, #ef4444, #dc2626); }
.fsct-icon-amber { background: linear-gradient(135deg, #f59e0b, #d97706); }
.fsct-icon-teal { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.fsct-icon-indigo { background: linear-gradient(135deg, #6366f1, #4f46e5); }

.fsct-quick-icon-img {
    width: clamp(40px, 3.8vw, 56px);
    height: clamp(40px, 3.8vw, 56px);
    border-radius: clamp(10px, 1vw, 14px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
.fsct-quick-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

.fsct-quick-title,
.fsct-quick-card-content h3 {
    font-size: clamp(0.82rem, 1.02vw, 1.0rem);
    font-weight: 600;
    margin: 0 0 2px 0;
    line-height: 1.3;
    color: var(--fsct-text-main);
}
.fsct-quick-desc {
    font-size: clamp(0.70rem, 0.82vw, 0.82rem);
    color: var(--fsct-text-muted);
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==================== 5. SECTION HEADINGS ==================== */
.fsct-section {
    padding: var(--fsct-section-py, 65px) 0;
}
.section-header {
    margin-bottom: clamp(16px, 2vw, 24px);
}

.section-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: clamp(10px, 1.2vw, 14px);
    flex-wrap: wrap;
    gap: 12px;
}

.section-title-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #E8F2FF;
    color: #0066FF;
    font-size: clamp(10px, 0.85vw, 12px);
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: clamp(4px, 0.5vw, 6px) clamp(10px, 1vw, 14px);
    border-radius: 999px;
    margin-bottom: clamp(6px, 0.8vw, 10px);
    line-height: 1.2;
    text-transform: uppercase;
    box-shadow: 0 1px 3px rgba(0, 102, 255, 0.08);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #0066FF;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* สำหรับแบบ Variant B (ป้ายสีน้ำเงินทึบ) */
.section-badge.badge-solid {
    background-color: #0066FF;
    color: #FFFFFF;
}

.section-badge.badge-solid .badge-dot {
    display: none;
}

.section-title {
    margin: 0;
    color: #062B61;
    font-family: 'Kanit', sans-serif !important;
    font-size: var(--fsct-text-3xl);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.section-subtitle {
    font-size: var(--fsct-text-base);
    color: var(--fsct-text-muted);
    margin: 6px 0 0 0;
    font-weight: 400;
    line-height: 1.5;
}

.section-link {
    color: #0066FF;
    font-size: clamp(13px, 1.05vw, 15px);
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.section-link:hover {
    opacity: 0.75;
    color: #0052cc;
    transform: translateX(4px);
}

.section-divider {
    position: relative;
    height: 2px;
    background-color: #E2E8F0;
    border-radius: 999px;
    width: 100%;
}

.section-divider::before {
    content: "";
    position: absolute;
    left: 0;
    top: -1px;
    width: clamp(75px, 8vw, 110px);
    height: 4px;
    background-color: #0066FF;
    border-radius: 999px;
}

/* Center-aligned variant for standalone pages */
.section-header.text-center .section-header-top {
    justify-content: center;
}

.section-header.text-center .section-title-group {
    align-items: center;
    text-align: center;
}

.section-header.text-center .section-divider::before {
    left: 50%;
    transform: translateX(-50%);
}

/* Legacy bridge for older templates */
.fsct-section-title-wrap {
    margin-bottom: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 14px;
    position: relative;
    border-bottom: 2px solid #E2E8F0;
}

.fsct-section-title-wrap::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 110px;
    height: 4px;
    background-color: #0066FF;
    border-radius: 999px;
    z-index: 2;
}

.fsct-section-title {
    font-size: var(--fsct-text-3xl);
    font-weight: 800;
    color: #062B61;
    margin: 0;
    line-height: 1.2;
    position: relative;
}

.fsct-section-title::after {
    display: none !important;
}

.fsct-view-all-btn {
    color: #0066FF;
    font-size: clamp(13px, 1.05vw, 15px);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.fsct-view-all-btn:hover {
    color: #0052cc;
    opacity: 0.75;
    transform: translateX(4px);
}

/* ==================== 6. CORE SERVICES GRID ==================== */
.fsct-service-card {
    background: #ffffff;
    border-radius: var(--fsct-radius-md, 16px);
    padding: clamp(16px, 2.2vw, 30px) clamp(12px, 1.6vw, 24px);
    text-align: center;
    box-shadow: var(--fsct-shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--fsct-border);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer;
}
.fsct-service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--fsct-shadow-hover);
    border-color: #93c5fd;
    color: inherit !important;
}
.fsct-service-card:hover .fsct-service-btn {
    background-color: var(--fsct-primary);
    border-color: var(--fsct-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 75, 147, 0.25);
}
.fsct-service-icon {
    width: clamp(50px, 5.2vw, 76px);
    height: clamp(50px, 5.2vw, 76px);
    border-radius: 50%;
    background: #eff6ff;
    color: var(--fsct-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.4rem, 1.9vw, 2.1rem);
    margin-bottom: clamp(10px, 1.4vw, 20px);
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.fsct-service-card:hover .fsct-service-icon {
    transform: scale(1.08);
}
/* Color Variants for Service Card Icons */
.fsct-service-icon.fsct-icon-blue   { background: #eff6ff; color: #0076c9; }
.fsct-service-card:hover .fsct-service-icon.fsct-icon-blue   { background: linear-gradient(135deg, #0076c9, #0a3d91); color: #fff; box-shadow: 0 6px 18px rgba(0, 118, 201, 0.3); }

.fsct-service-icon.fsct-icon-green  { background: #ecfdf5; color: #10b981; }
.fsct-service-card:hover .fsct-service-icon.fsct-icon-green  { background: linear-gradient(135deg, #10b981, #0f9d58); color: #fff; box-shadow: 0 6px 18px rgba(16, 185, 129, 0.3); }

.fsct-service-icon.fsct-icon-cyan   { background: #ecfeff; color: #06b6d4; }
.fsct-service-card:hover .fsct-service-icon.fsct-icon-cyan   { background: linear-gradient(135deg, #06b6d4, #0284c7); color: #fff; box-shadow: 0 6px 18px rgba(6, 182, 212, 0.3); }

.fsct-service-icon.fsct-icon-purple { background: #f5f3ff; color: #8b5cf6; }
.fsct-service-card:hover .fsct-service-icon.fsct-icon-purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff; box-shadow: 0 6px 18px rgba(139, 92, 246, 0.3); }

.fsct-service-icon.fsct-icon-orange { background: #fff7ed; color: #f97316; }
.fsct-service-card:hover .fsct-service-icon.fsct-icon-orange { background: linear-gradient(135deg, #f97316, #ea580c); color: #fff; box-shadow: 0 6px 18px rgba(249, 115, 22, 0.3); }

.fsct-service-icon.fsct-icon-amber,
.fsct-service-icon.fsct-icon-gold   { background: #fffbeb; color: #d97706; }
.fsct-service-card:hover .fsct-service-icon.fsct-icon-amber,
.fsct-service-card:hover .fsct-service-icon.fsct-icon-gold   { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; box-shadow: 0 6px 18px rgba(217, 119, 6, 0.3); }

.fsct-service-icon.fsct-icon-red    { background: #fef2f2; color: #ef4444; }
.fsct-service-card:hover .fsct-service-icon.fsct-icon-red    { background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; box-shadow: 0 6px 18px rgba(239, 68, 68, 0.3); }

.fsct-service-icon.fsct-icon-teal   { background: #f0fdfa; color: #0d9488; }
.fsct-service-card:hover .fsct-service-icon.fsct-icon-teal   { background: linear-gradient(135deg, #14b8a6, #0d9488); color: #fff; box-shadow: 0 6px 18px rgba(13, 148, 136, 0.3); }

.fsct-service-icon.fsct-icon-indigo { background: #eef2ff; color: #6366f1; }
.fsct-service-card:hover .fsct-service-icon.fsct-icon-indigo { background: linear-gradient(135deg, #6366f1, #4f46e5); color: #fff; box-shadow: 0 6px 18px rgba(99, 102, 241, 0.3); }

.fsct-service-icon-img {
    background: #ffffff;
    border: 1.5px dashed #cbd5e1;
    overflow: hidden;
    padding: 8px;
}
.fsct-service-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.fsct-service-card:hover .fsct-service-icon-img img {
    transform: scale(1.1);
}
.fsct-card-title,
.fsct-service-title {
    font-size: clamp(0.90rem, 1.15vw, 1.2rem);
    font-weight: 600;
    color: var(--fsct-primary);
    margin-bottom: clamp(6px, 0.8vw, 12px);
    line-height: 1.3;
}
.fsct-service-desc {
    font-size: clamp(0.75rem, 0.88vw, 0.88rem);
    color: var(--fsct-text-muted);
    margin-bottom: clamp(10px, 1.4vw, 20px);
    flex-grow: 1;
    line-height: 1.5;
}
.fsct-service-btn {
    transition: all 0.25s ease;
    cursor: pointer;
    font-size: clamp(0.74rem, 0.88vw, 0.875rem);
    padding: clamp(4px, 0.5vw, 6px) clamp(12px, 1.2vw, 18px);
}

/* ==================== 7. TABBED NEWS & ACTIVITIES ==================== */
.fsct-nav-tabs {
    border: none;
    gap: clamp(6px, 0.8vw, 10px);
    margin-bottom: clamp(16px, 2vw, 28px);
}
.fsct-nav-tabs .nav-link {
    border: none !important;
    background: #ffffff;
    color: var(--fsct-text-muted);
    font-weight: 500;
    font-size: clamp(0.80rem, 1vw, 1rem);
    padding: clamp(7px, 0.8vw, 10px) clamp(12px, 1.8vw, 24px);
    border-radius: 50px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}
.fsct-nav-tabs .nav-link:hover {
    color: var(--fsct-primary);
    background: #f1f5f9;
}
.fsct-nav-tabs .nav-link.active {
    background: var(--fsct-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(10, 61, 145, 0.3) !important;
}

.fsct-article-card {
    background: #ffffff;
    border-radius: var(--fsct-radius-md, 16px);
    overflow: hidden;
    box-shadow: var(--fsct-shadow);
    border: 1px solid var(--fsct-border);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.fsct-article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--fsct-shadow-hover);
}
.fsct-article-img-wrap {
    position: relative;
    height: clamp(145px, 15vw, 210px);
    overflow: hidden;
    background: #e2e8f0;
    flex-shrink: 0;
}
.fsct-article-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.fsct-article-card:hover .fsct-article-img-wrap img {
    transform: scale(1.06);
}
.fsct-article-badge {
    position: absolute;
    top: clamp(8px, 1vw, 14px);
    left: clamp(8px, 1vw, 14px);
    background: rgba(10, 61, 145, 0.88);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: clamp(0.68rem, 0.8vw, 0.76rem);
    font-weight: 500;
    padding: 3px clamp(8px, 0.9vw, 12px);
    border-radius: 50px;
}
.fsct-article-body {
    padding: clamp(12px, 1.5vw, 20px);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.fsct-article-date {
    font-size: clamp(0.72rem, 0.82vw, 0.8rem);
    color: var(--fsct-text-muted);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.fsct-news-title,
.fsct-article-title {
    font-size: clamp(0.86rem, 1.05vw, 1.05rem);
    font-weight: 600;
    color: var(--fsct-text-main);
    line-height: 1.4;
    margin-bottom: clamp(6px, 0.8vw, 12px);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fsct-article-desc {
    font-size: clamp(0.76rem, 0.88vw, 0.86rem);
    color: var(--fsct-text-muted);
    line-height: 1.45;
    margin-bottom: clamp(10px, 1.2vw, 16px);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}
.fsct-article-btn {
    font-size: clamp(0.74rem, 0.88vw, 0.85rem);
    padding: clamp(4px, 0.5vw, 6px) clamp(10px, 1.2vw, 16px);
}

/* ==================== 8. FINANCIAL & RATES HIGHLIGHTS ==================== */
.fsct-rate-card,
.fsct-financial-card {
    background: #ffffff;
    border-radius: var(--fsct-radius, 16px);
    padding: 26px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
    height: 100%;
}
.fsct-rate-card:hover,
.fsct-financial-card:hover {
    box-shadow: 0 8px 30px rgba(0, 75, 147, 0.08);
}

.fsct-card-badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.fsct-badge-rates {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}
.fsct-badge-reports {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Sub-Tabs Navigation Inside Cards */
.fsct-sub-nav-pills {
    background: #f1f5f9;
    padding: 4px;
    border-radius: 50px;
    gap: 4px;
    display: inline-flex;
    border: 1px solid #e2e8f0;
}
.fsct-sub-nav-pills .nav-link {
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #64748b;
    padding: 6px 18px;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    cursor: pointer;
    line-height: 1.3;
}
.fsct-sub-nav-pills .nav-link:hover:not(.active) {
    color: #004b93;
    background: rgba(255, 255, 255, 0.65);
}
.fsct-sub-nav-pills .nav-link.active {
    background: #ffffff;
    color: #004b93;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Rate Item Row */
.fsct-rate-item-link {
    display: block;
    text-decoration: none !important;
    color: inherit;
    border-radius: 10px;
    transition: all 0.2s ease;
    margin-bottom: 8px;
}
.fsct-rate-item-link:last-child {
    margin-bottom: 0;
}
.fsct-rate-item-link:hover .fsct-rate-item {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateX(3px);
}
.fsct-rate-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    transition: all 0.2s ease;
}
.fsct-rate-icon-badge {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #eff6ff;
    color: #004b93;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.fsct-rate-name {
    font-weight: 500;
    font-size: 0.94rem;
    color: var(--fsct-text-main, #1e293b);
}
.fsct-rate-val {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--fsct-primary, #004b93);
    white-space: nowrap;
    text-align: right;
}
.fsct-rate-val small {
    font-size: 0.78rem;
    font-weight: 400;
    color: #64748b;
    margin-left: 3px;
}

/* Compact Report Item Row */
.fsct-report-item-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-bottom: 8px;
    transition: all 0.2s ease;
    text-decoration: none !important;
}
.fsct-report-item-compact:last-child {
    margin-bottom: 0;
}
.fsct-report-item-compact:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    transform: translateX(3px);
}
.fsct-report-pdf-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #fef2f2;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.fsct-report-title-compact {
    font-size: 0.92rem;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.3;
}
.fsct-report-date-compact {
    font-size: 0.76rem;
    color: #64748b;
    display: block;
}
.fsct-btn-download-compact {
    font-size: 0.78rem;
    padding: 3px 12px;
    border-radius: 20px;
    font-weight: 500;
    border: 1px solid #004b93;
    color: #004b93;
    background: transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.fsct-report-item-compact:hover .fsct-btn-download-compact {
    background: #004b93;
    color: #ffffff;
}

/* Modern Soft Pills for Bottom Quick Actions */
.fsct-soft-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 0.84rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border-width: 1px;
    border-style: solid;
    text-align: center;
    line-height: 1.25;
}
.fsct-soft-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.fsct-pill-blue {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}
.fsct-pill-blue:hover {
    background: #1d4ed8;
    color: #ffffff !important;
    border-color: #1d4ed8;
}

.fsct-pill-green {
    background: #f0fdf4;
    color: #15803d;
    border-color: #bbf7d0;
}
.fsct-pill-green:hover {
    background: #15803d;
    color: #ffffff !important;
    border-color: #15803d;
}

.fsct-pill-amber {
    background: #fffbeb;
    color: #b45309;
    border-color: #fde68a;
}
.fsct-pill-amber:hover {
    background: #b45309;
    color: #ffffff !important;
    border-color: #b45309;
}

.fsct-pill-purple {
    background: #faf5ff;
    color: #7e22ce;
    border-color: #e9d5ff;
}
.fsct-pill-purple:hover {
    background: #7e22ce;
    color: #ffffff !important;
    border-color: #7e22ce;
}

.fsct-pill-cyan {
    background: #ecfeff;
    color: #0e7490;
    border-color: #a5f3fc;
}
.fsct-pill-cyan:hover {
    background: #0e7490;
    color: #ffffff !important;
    border-color: #0e7490;
}

.fsct-pill-red {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}
.fsct-pill-red:hover {
    background: #b91c1c;
    color: #ffffff !important;
    border-color: #b91c1c;
}

.fsct-pill-teal {
    background: #f0fdfa;
    color: #0f766e;
    border-color: #99f6e4;
}
.fsct-pill-teal:hover {
    background: #0f766e;
    color: #ffffff !important;
    border-color: #0f766e;
}

.fsct-pill-gray {
    background: #f8fafc;
    color: #475569;
    border-color: #e2e8f0;
}
.fsct-pill-gray:hover {
    background: #475569;
    color: #ffffff !important;
    border-color: #475569;
}

/* ==================== 9. SUBPAGES & SIDEBAR ==================== */
.fsct-subpage-header {
    background: linear-gradient(135deg, #072b6b, #0076c9);
    color: #ffffff;
    padding: 50px 0 45px 0;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(7, 43, 107, 0.15);
}
.fsct-subpage-title {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.fsct-breadcrumb {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.88rem;
    color: #cbd5e1;
}
.fsct-breadcrumb a {
    color: #e2e8f0;
    text-decoration: none;
}
.fsct-breadcrumb a:hover {
    color: #38bdf8;
}
.fsct-breadcrumb span {
    color: #94a3b8;
}

.fsct-sidebar-card {
    background: #ffffff;
    border-radius: var(--fsct-radius);
    box-shadow: var(--fsct-shadow);
    border: 1px solid var(--fsct-border);
    padding: 20px;
    position: sticky;
    top: 100px;
}
.fsct-sidebar-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--fsct-primary);
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 2px solid #e2e8f0;
}
.fsct-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.fsct-sidebar-menu li {
    margin-bottom: 6px;
}
.fsct-sidebar-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--fsct-text-main);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 400;
    transition: all 0.2s ease;
}
.fsct-sidebar-menu a:hover,
.fsct-sidebar-menu a.active {
    background-color: #eff6ff;
    color: var(--fsct-primary);
    font-weight: 500;
    transform: translateX(4px);
}

.fsct-content-card {
    background: #ffffff;
    border-radius: var(--fsct-radius);
    box-shadow: var(--fsct-shadow);
    border: 1px solid var(--fsct-border);
    padding: 36px;
    min-height: 480px;
}

/* Officer Profile Cards */
.fsct-profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 24px;
    margin-top: 24px;
}
.fsct-profile-card {
    background: #ffffff;
    border-radius: var(--fsct-radius);
    padding: 20px;
    text-align: center;
    box-shadow: var(--fsct-shadow);
    border: 1px solid var(--fsct-border);
    transition: all 0.3s ease;
}
.fsct-profile-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--fsct-shadow-hover);
    border-color: #93c5fd;
}
.fsct-profile-img {
    width: 140px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.fsct-profile-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--fsct-primary);
    margin-bottom: 4px;
}
.fsct-profile-role {
    font-size: 0.85rem;
    color: var(--fsct-text-muted);
    margin: 0;
}

/* ==================== 10. MODERN FOOTER ==================== */
.fsct-footer {
    background-color: var(--fsct-footer-bg);
    color: #cbd5e1;
    padding: clamp(28px, 4.5vw, 60px) 0 clamp(14px, 2vw, 24px) 0;
    font-size: clamp(0.75rem, 0.92vw, 0.92rem);
    margin-top: clamp(28px, 4.5vw, 60px);
}
.fsct-footer-logo {
    width: clamp(36px, 4vw, 52px);
    height: clamp(36px, 4vw, 52px);
    object-fit: contain;
    filter: brightness(1.1);
}
.fsct-footer-org-th {
    font-size: clamp(0.92rem, 1.3vw, 1.30rem) !important;
    line-height: 1.3 !important;
}
.fsct-footer-org-en {
    font-size: clamp(0.62rem, 0.75vw, 0.78rem) !important;
    line-height: 1.25 !important;
}
.fsct-footer-about {
    font-size: clamp(0.74rem, 0.90vw, 0.90rem) !important;
    line-height: 1.6 !important;
}
.fsct-footer-title {
    font-size: clamp(0.88rem, 1.12vw, 1.15rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: clamp(10px, 1.5vw, 20px);
    position: relative;
    padding-bottom: clamp(6px, 0.8vw, 10px);
}
.fsct-footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: clamp(28px, 3vw, 40px);
    height: 2px;
    background: var(--fsct-secondary);
}
.fsct-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.fsct-footer-menu li {
    margin-bottom: clamp(5px, 0.8vw, 10px);
}
.fsct-footer-menu a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    font-size: clamp(0.74rem, 0.92vw, 0.92rem);
    line-height: 1.4;
}
.fsct-footer-menu a:hover {
    color: #38bdf8;
    transform: translateX(4px);
}
.fsct-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: clamp(6px, 0.9vw, 12px);
    margin-bottom: clamp(8px, 1.1vw, 14px);
    color: #cbd5e1;
    font-size: clamp(0.74rem, 0.92vw, 0.92rem);
    line-height: 1.45;
}
.fsct-footer-contact i {
    color: #38bdf8;
    font-size: clamp(0.85rem, 1.05vw, 1.1rem);
    margin-top: 2px;
}
.fsct-social-btn {
    width: clamp(28px, 2.8vw, 36px) !important;
    height: clamp(28px, 2.8vw, 36px) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    font-size: clamp(0.78rem, 0.95vw, 1rem) !important;
}
.fsct-footer-bottom {
    margin-top: clamp(20px, 3.5vw, 45px);
    padding-top: clamp(14px, 2vw, 24px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: clamp(0.70rem, 0.85vw, 0.85rem);
    color: #94a3b8;
    text-align: center;
}
.fsct-footer-policy-link {
    font-size: clamp(0.70rem, 0.85vw, 0.85rem);
}

/* Hide redundant old ASP.NET breadcrumbs since modern header has them */
.site-breadcrumb,
.history-header-image,
.full-width-navbar {
    display: none !important;
}

/* Enhancements for officer and committee grids */
.officers-grid, .committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 24px;
    margin-top: 20px;
}
.officer-card, .committee-card {
    background: #ffffff;
    border-radius: var(--fsct-radius);
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border: 1px solid var(--fsct-border);
    transition: all 0.3s ease;
}
.officer-card:hover, .committee-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--fsct-shadow-hover);
    border-color: #93c5fd;
}
.officer-card img, .committee-card img {
    border-radius: 12px;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* ==================== GLOBAL IMAGE FIT & RESPONSIVE RULES ==================== */
img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* 1. Hero Slider Banner Image Fit (Exact 1170x300 proportion) */
.fsct-slider-container {
    border-radius: var(--fsct-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: #ffffff;
}
.fsct-slider-container .carousel-item {
    background: #f1f5f9;
    text-align: center;
}
.fsct-slider-container .carousel-item img {
    width: 100% !important;
    max-height: 380px !important;
    height: auto !important;
    aspect-ratio: 1170 / 300 !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
}
@media (max-width: 768px) {
    .fsct-slider-container .carousel-item img {
        aspect-ratio: auto !important;
        max-height: 220px !important;
    }
}

/* 2. Content & Article Images Fit */
.fsct-content-card img,
.page-content img,
.main-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    margin: 15px auto;
    display: block;
}

/* 3. Officers & Committee Profile Photos Fit (from 1240x1748 to neat portrait cards) */
.col-md-3 img[src*="/pic/officers/"],
.col-md-4 img[src*="/pic/officers/"],
.col-md-3 img[src*="/pic/committee/"],
.col-md-4 img[src*="/pic/committee/"],
.col-md-3 img[src*="/pic/consultant/"],
.col-md-4 img[src*="/pic/consultant/"],
.card img[src*="/pic/officers/"],
.officer-item img,
.committee-item img {
    width: 100% !important;
    max-width: 220px !important;
    height: 270px !important;
    object-fit: cover !important;
    object-position: top center !important;
    border-radius: 12px !important;
    margin: 0 auto 12px auto !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
    display: block;
    transition: transform 0.3s ease;
}
.col-md-3:hover img[src*="/pic/officers/"],
.col-md-4:hover img[src*="/pic/officers/"] {
    transform: translateY(-4px) scale(1.02);
}

/* 4. Album & Activity Grid Photos Fit */
.album-item img,
.album-card img,
.row [class*="col-"] img[src*="/pic/album/"] {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}
.row [class*="col-"]:hover img[src*="/pic/album/"] {
    transform: scale(1.03);
}

/* 5. Annual Report Preview Covers */
img[src*="/pic/yearly_report/preview/"] {
    max-width: 180px !important;
    height: 240px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
    margin: 0 auto 12px auto !important;
}

/* 6. Interest Rate Image Banner */
img[src*="/pic/interest-rate/"] {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
}

/* 7. Subpage Content Wrappers & Embeds */
.mission-content, .vision-content, .structure-content, .service-content {
    width: 100%;
}
.mission-image, .vision-image, .service-image {
    max-width: 100% !important;
    height: auto !important;
    display: inline-block;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}
.structure-pdf,
.coopthaiict-pdf-viewer {
    width: 100%;
    margin-bottom: 24px;
}
.structure-pdf,
.coopthaiict-pdf-viewer .card {
    background: #fff;
    border: 1px solid #dce3eb;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}
.structure-pdf iframe,
.coopthaiict-pdf-viewer iframe {
    width: 100%;
    height: 750px;
    border: none;
    display: block;
}
@media (max-width: 767.98px) {
    .structure-pdf,
    .structure-pdf iframe,
    .coopthaiict-pdf-viewer iframe {
        height: 520px !important;
    }
}

/* ========================================================
   8. News & Activities Slider Buttons
   ======================================================== */
.fsct-slider-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.fsct-slider-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: var(--fsct-primary, #0a3d91);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    padding: 0;
    line-height: 1;
}

.fsct-slider-btn:hover:not(:disabled) {
    background: var(--fsct-primary, #0a3d91);
    color: #ffffff;
    border-color: var(--fsct-primary, #0a3d91);
    box-shadow: 0 4px 10px rgba(10, 61, 145, 0.2);
}

.fsct-slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #94a3b8;
    box-shadow: none;
}

/* ========================================================
   9. Section 6: Video Showcase & PR Media Cards
   ======================================================== */
.fsct-video-hero-card {
    min-height: clamp(320px, 28vw, 420px);
    height: 100%;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.fsct-video-hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2) !important;
}
.fsct-video-hero-img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.fsct-video-hero-card:hover .fsct-video-hero-img {
    transform: scale(1.04);
}
.fsct-video-hero-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.35) 45%, rgba(15, 23, 42, 0.94) 100%);
    pointer-events: none;
}
.fsct-play-icon-circle {
    width: clamp(54px, 5vw, 76px);
    height: clamp(54px, 5vw, 76px);
    border-radius: 50%;
    background: #e50914;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.6rem, 2vw, 2.3rem);
    padding-left: 4px;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fsct-play-pulse 2.2s infinite;
}
.fsct-video-hero-card:hover .fsct-play-icon-circle {
    transform: scale(1.15);
    background: #ff1f2d;
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.8) !important;
}
@keyframes fsct-play-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.7);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(229, 9, 20, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(229, 9, 20, 0);
    }
}
.fsct-pr-media-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    max-width: 100% !important;
    overflow: hidden !important;
}
.fsct-pr-media-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(10, 61, 145, 0.12) !important;
    border-color: rgba(10, 61, 145, 0.35) !important;
}
.fsct-pr-thumb-wrap {
    width: clamp(88px, 8.5vw, 110px);
    height: clamp(110px, 10.5vw, 135px);
    background: #e2e8f0;
}
.fsct-pr-thumb-wrap img {
    transition: transform 0.4s ease;
}
.fsct-pr-media-card:hover .fsct-pr-thumb-wrap img {
    transform: scale(1.08);
}
.fsct-pr-thumb-hover {
    position: absolute;
    inset: 0;
    background: rgba(10, 61, 145, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.4rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.fsct-pr-media-card:hover .fsct-pr-thumb-hover {
    opacity: 1;
}
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fsct-pr-info {
    min-width: 0 !important;
    overflow: hidden !important;
}

/* Custom sleek scrollbar for PR media cards container */
.fsct-pr-scroll-container {
    max-height: clamp(340px, 28vw, 420px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}
.fsct-pr-scroll-container::-webkit-scrollbar {
    width: 6px;
}
.fsct-pr-scroll-container::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 4px;
}
.fsct-pr-scroll-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.fsct-pr-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--fsct-primary, #0a3d91);
}

/* Footer Social & Policy Styling */
.fsct-social-btn {
    transition: all 0.25s ease;
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: #f1f5f9 !important;
}
.fsct-social-btn:hover {
    background-color: var(--fsct-primary, #0a3d91) !important;
    border-color: var(--fsct-primary, #0a3d91) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.hover-underline {
    transition: color 0.2s ease;
}
.hover-underline:hover {
    text-decoration: underline !important;
    color: #38bdf8 !important;
}

/* ========================================================
   11. FLUID & PROPORTIONAL RESPONSIVE DESIGN SYSTEM
   Supports: Desktop (>= 1200px), Tablet/iPad (768px - 1199.98px), Mobile (< 768px)
   ======================================================== */

/* Root overflow safety */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
}

/* 1. Mobile Horizontal Subpage Navigation Bar (Pills) */
.fsct-mobile-subnav {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 12px 14px;
}
.fsct-mobile-pills-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
}
.fsct-mobile-pills-scroll::-webkit-scrollbar {
    display: none;
}
.fsct-mobile-pill {
    flex-shrink: 0;
    scroll-snap-align: start;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 50px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-height: 42px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.fsct-mobile-pill:hover,
.fsct-mobile-pill:focus {
    background: #eff6ff;
    color: var(--fsct-primary, #0a3d91);
    border-color: #93c5fd;
}
.fsct-mobile-pill.active {
    background: linear-gradient(135deg, var(--fsct-secondary, #0076c9), var(--fsct-primary, #0a3d91));
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(10, 61, 145, 0.25);
    font-weight: 600;
}

/* 2. Responsive Personnel Photo (strictly 3:4 aspect ratio, zero distortion) */
.fsct-personnel-photo {
    width: 100%;
    max-width: 170px;
    aspect-ratio: 3 / 4;
    height: auto;
    object-fit: cover;
    object-position: top center;
    border-radius: 12px;
    margin: 0 auto 12px auto;
    display: block;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

/* 3. Responsive Tables & Content */
.fsct-table-responsive {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.fsct-table-responsive table {
    margin-bottom: 0 !important;
}
.fsct-table-responsive th {
    background-color: #f8fafc;
    color: #1e293b;
    font-weight: 600;
    white-space: nowrap;
}

/* 4. Responsive PDF Embed Container */
.structure-pdf {
    width: 100%;
    height: 750px;
    background: #fff;
    border: 1px solid #dce3eb;
    border-radius: 12px;
    overflow: hidden;
}

/* ==================== TABLET / iPAD TIER (768px - 1199.98px) ==================== */
@media (min-width: 768px) and (max-width: 1199.98px) {
    /* Quick Cards: 4 cards across in 1 row, scaled down proportionally */
    .fsct-quick-cards-row {
        margin-top: -32px;
        padding: 0 12px;
    }
    .fsct-quick-card {
        padding: clamp(10px, 1.3vw, 16px) clamp(8px, 1.1vw, 14px);
        gap: clamp(8px, 1vw, 12px);
        border-radius: 12px;
    }
    .fsct-quick-icon,
    .fsct-quick-icon-img {
        width: clamp(36px, 4.2vw, 46px);
        height: clamp(36px, 4.2vw, 46px);
        font-size: clamp(1.05rem, 1.5vw, 1.35rem);
        border-radius: 10px;
    }
    .fsct-quick-title,
    .fsct-quick-card-content h3 {
        font-size: clamp(0.78rem, 1.15vw, 0.94rem);
        line-height: 1.25;
    }
    .fsct-quick-desc {
        font-size: clamp(0.68rem, 0.92vw, 0.78rem);
        -webkit-line-clamp: 1;
    }

    /* Core Services: 4 cards across in 1 row, scaled down proportionally */
    .fsct-service-card {
        padding: clamp(14px, 1.8vw, 22px) clamp(10px, 1.3vw, 16px);
        border-radius: 14px;
    }
    .fsct-service-icon {
        width: clamp(46px, 5.2vw, 62px);
        height: clamp(46px, 5.2vw, 62px);
        font-size: clamp(1.3rem, 1.8vw, 1.75rem);
        margin-bottom: clamp(8px, 1.2vw, 14px);
    }
    .fsct-service-title {
        font-size: clamp(0.84rem, 1.2vw, 1.05rem);
        margin-bottom: 6px;
    }
    .fsct-service-desc {
        font-size: clamp(0.72rem, 0.95vw, 0.82rem);
        margin-bottom: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .fsct-service-btn {
        font-size: clamp(0.72rem, 0.9vw, 0.82rem);
        padding: 4px 12px;
    }

    /* News & Activities: 3 cards across in 1 row (via col-md-4), scaled proportionally */
    .fsct-proportional-3col-row .fsct-article-img-wrap {
        height: clamp(130px, 15.5vw, 180px);
    }
    .fsct-proportional-3col-row .fsct-article-body {
        padding: clamp(12px, 1.4vw, 18px);
    }
    .fsct-proportional-3col-row .fsct-article-title {
        font-size: clamp(0.84rem, 1.2vw, 1.0rem);
        line-height: 1.35;
        margin-bottom: 6px;
    }
    .fsct-proportional-3col-row .fsct-article-desc {
        font-size: clamp(0.74rem, 1vw, 0.84rem);
        line-height: 1.4;
        margin-bottom: 10px;
        -webkit-line-clamp: 2;
    }
    .fsct-proportional-3col-row .fsct-article-btn {
        font-size: clamp(0.72rem, 0.95vw, 0.82rem);
        padding: 4px 12px;
    }

    /* Video Showcase on Tablet */
    .fsct-video-hero-card {
        aspect-ratio: 16 / 9;
        min-height: 260px;
        height: auto;
    }
    .fsct-pr-scroll-container {
        max-height: 380px;
    }
}

@media (max-width: 991.98px) {
    .fsct-subpage-header {
        padding: 34px 0 30px 0;
        margin-bottom: 24px;
    }
    .fsct-subpage-title {
        font-size: clamp(1.35rem, 2.5vw, 1.7rem);
    }
    .fsct-content-card {
        padding: 22px 18px;
        min-height: 360px;
    }
    .fsct-section {
        padding: var(--fsct-section-py, 42px) 0;
    }
    .fsct-rate-card,
    .fsct-financial-card {
        padding: 20px;
    }
    .structure-pdf {
        height: 520px;
    }
}

/* ==================== MOBILE TIER (max-width: 767.98px) ==================== */
@media (max-width: 767.98px) {
    /* Mobile Navbar & Brand UX */
    .fsct-navbar {
        padding: 8px 0 !important;
    }
    .fsct-brand {
        max-width: calc(100% - 52px) !important;
        gap: 8px !important;
    }
    .fsct-brand-logo {
        width: 36px !important;
        height: 36px !important;
    }
    .fsct-brand-title {
        font-size: clamp(0.82rem, 3.4vw, 0.92rem) !important;
        white-space: normal !important;
        line-height: 1.2 !important;
    }
    .fsct-brand-subtitle {
        font-size: clamp(0.60rem, 2.2vw, 0.68rem) !important;
    }
    .navbar-toggler {
        padding: 4px 6px !important;
    }

    /* Hero Banner on Mobile */
    .fsct-hero-wrapper {
        padding: 12px 0 36px 0;
    }

    /* 1. Homepage Quick Action Cards: Full-Width 2x2 Grid (via Bootstrap col-6) */
    .fsct-quick-cards-row {
        margin-top: -22px;
        padding: 0 12px;
    }
    .fsct-quick-card {
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        padding: 10px 10px !important;
        gap: 8px !important;
        min-height: 56px !important;
        height: 100% !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 12px rgba(10, 61, 145, 0.07) !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
    }
    .fsct-quick-card:active {
        background: #f1f5f9 !important;
        transform: scale(0.98);
    }
    .fsct-quick-icon,
    .fsct-quick-icon-img {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        font-size: 1.1rem !important;
        border-radius: 9px !important;
        margin: 0 !important;
    }
    .fsct-quick-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex-grow: 1;
        min-width: 0;
    }
    .fsct-quick-title,
    .fsct-quick-card-content h3 {
        font-size: clamp(0.76rem, 3.1vw, 0.86rem) !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        margin: 0 !important;
        line-height: 1.25 !important;
        white-space: normal !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    .fsct-quick-desc {
        display: none !important;
    }
    .fsct-quick-arrow {
        display: none !important;
    }

    /* 2. Core Services Cards on Mobile: Full-Width 2x2 Proportional Grid (via col-6) */
    .fsct-service-card {
        padding: 14px 10px !important;
        border-radius: 14px !important;
    }
    .fsct-service-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.25rem !important;
        margin-bottom: 8px !important;
    }
    .fsct-card-title,
    .fsct-service-title {
        font-size: clamp(0.80rem, 3.2vw, 0.92rem) !important;
        margin-bottom: 4px !important;
        line-height: 1.25 !important;
    }
    .fsct-service-desc {
        font-size: clamp(0.68rem, 2.6vw, 0.76rem) !important;
        line-height: 1.35 !important;
        margin-bottom: 10px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    .fsct-service-btn {
        font-size: 0.72rem !important;
        padding: 3px 12px !important;
    }

    /* 3. News & Activities Cards on Mobile: Sleek Proportional Horizontal Cards */
    .fsct-nav-tabs {
        gap: 6px;
        margin-bottom: 14px;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }
    .fsct-nav-tabs .nav-link {
        font-size: 0.78rem !important;
        padding: 6px 12px !important;
        white-space: nowrap;
    }
    .fsct-proportional-3col-row .fsct-article-card {
        flex-direction: row !important;
        align-items: stretch !important;
        min-height: 112px !important;
        border-radius: 12px !important;
    }
    .fsct-proportional-3col-row .fsct-article-img-wrap {
        width: 118px !important;
        min-width: 118px !important;
        height: auto !important;
        min-height: 112px !important;
    }
    .fsct-proportional-3col-row .fsct-article-badge {
        top: 6px !important;
        left: 6px !important;
        font-size: 0.62rem !important;
        padding: 2px 7px !important;
    }
    .fsct-proportional-3col-row .fsct-article-body {
        padding: 10px 12px !important;
        justify-content: space-between !important;
        min-width: 0 !important;
    }
    .fsct-proportional-3col-row .fsct-article-title {
        font-size: clamp(0.80rem, 3.2vw, 0.88rem) !important;
        line-height: 1.3 !important;
        margin-bottom: 4px !important;
        -webkit-line-clamp: 2 !important;
    }
    .fsct-proportional-3col-row .fsct-article-desc {
        font-size: 0.72rem !important;
        line-height: 1.3 !important;
        margin-bottom: 6px !important;
        -webkit-line-clamp: 1 !important;
    }
    .fsct-proportional-3col-row .fsct-article-btn {
        font-size: 0.70rem !important;
        padding: 2px 10px !important;
    }

    /* Mobile Subpage Header & Content Card */
    .fsct-subpage-header {
        padding: 24px 0 20px 0;
        margin-bottom: 18px;
        border-radius: 0 0 14px 14px;
    }
    .fsct-subpage-title {
        font-size: 1.25rem;
        line-height: 1.3;
    }
    .fsct-breadcrumb {
        font-size: 0.75rem;
        gap: 6px;
    }
    .fsct-content-card {
        padding: 16px 12px;
        border-radius: 14px;
    }

    /* Modern Section Header Mobile Tweaks */
    .section-header {
        margin-bottom: 16px;
    }
    .section-header-top {
        gap: 8px;
        padding-bottom: 8px;
    }
    .section-title, 
    .fsct-section-title {
        font-size: clamp(1.25rem, 5vw, 1.5rem) !important;
    }
    .section-badge {
        font-size: 10px;
        padding: 3px 10px;
        margin-bottom: 4px;
    }
    .badge-dot {
        width: 6px;
        height: 6px;
    }
    .section-divider::before, 
    .fsct-section-title-wrap::before {
        width: 70px;
        height: 3px;
    }
    .section-link, 
    .fsct-view-all-btn {
        font-size: 13px;
    }

    /* Responsive Personnel Cards: 2 columns on mobile */
    .officers-grid,
    .committee-grid,
    .fsct-personnel-grid,
    .personnel-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .officer-card,
    .committee-card,
    .fsct-personnel-card {
        padding: 10px 8px !important;
        border-radius: 10px !important;
    }
    .officer-card img,
    .committee-card img,
    .fsct-personnel-card img,
    .fsct-personnel-photo {
        max-width: 115px !important;
        height: auto !important;
        aspect-ratio: 3 / 4 !important;
        border-radius: 8px !important;
        margin: 0 auto 8px auto !important;
        display: block !important;
    }
    .officer-card h4,
    .officer-card h5,
    .committee-card h4,
    .committee-card h5,
    .fsct-personnel-card .fsct-personnel-name {
        font-size: clamp(0.76rem, 2.8vw, 0.86rem) !important;
        line-height: 1.3 !important;
        margin-bottom: 4px !important;
    }
    .officer-card p,
    .committee-card p,
    .fsct-personnel-card .fsct-personnel-role {
        font-size: clamp(0.68rem, 2.2vw, 0.76rem) !important;
        line-height: 1.3 !important;
        margin-bottom: 0 !important;
    }

    /* Table and Document Cards Responsive Touch Styling */
    .fsct-table-responsive,
    .table-responsive {
        border-radius: 10px;
        -webkit-overflow-scrolling: touch;
        overflow-x: auto;
    }
    .fsct-table-responsive table,
    .table-responsive table,
    table.fsct-table {
        min-width: 460px;
        font-size: 0.82rem;
    }
    .fsct-table-responsive th,
    .fsct-table-responsive td,
    .table-responsive th,
    .table-responsive td {
        padding: 8px 10px !important;
        vertical-align: middle;
    }
    .fsct-report-item-compact,
    .fsct-document-card,
    .document-card,
    .fsct-download-item {
        padding: 10px 12px !important;
        border-radius: 10px !important;
        gap: 8px !important;
    }
    .fsct-report-title-compact,
    .fsct-document-title {
        font-size: clamp(0.78rem, 2.6vw, 0.86rem) !important;
        line-height: 1.35 !important;
    }
    .fsct-report-pdf-icon,
    .fsct-document-icon {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        font-size: 1.05rem !important;
    }
    .fsct-btn-download-compact,
    .fsct-document-btn {
        padding: 4px 10px !important;
        font-size: 0.74rem !important;
    }

    /* PDF Embed Container on Phone */
    .structure-pdf {
        height: 380px;
    }

    /* Video Hero & PR Scroll Container on Mobile */
    .fsct-video-hero-card {
        aspect-ratio: 16 / 9 !important;
        min-height: 210px !important;
        height: auto !important;
    }
    .fsct-pr-scroll-container {
        height: auto !important;
        max-height: 320px !important;
    }
    .fsct-video-play-btn .fsct-play-icon-circle {
        width: 48px;
        height: 48px;
        font-size: 1.45rem;
    }

    /* Rates & Financial on Mobile */
    .fsct-rate-card,
    .fsct-financial-card {
        padding: 16px 14px;
    }
    .fsct-rate-card-title {
        font-size: 1.0rem !important;
    }
    .fsct-rate-val {
        font-size: 0.98rem !important;
    }
    .fsct-rate-name {
        font-size: 0.82rem !important;
    }
    .fsct-sub-nav-pills .nav-link {
        font-size: 0.78rem;
        padding: 5px 10px;
    }

    /* Footer on Mobile */
    .fsct-footer {
        padding: 28px 0 18px 0;
        margin-top: 28px;
    }
    .fsct-footer-title {
        font-size: clamp(0.88rem, 3.6vw, 0.98rem);
        margin-bottom: 10px;
        padding-bottom: 6px;
    }
    .fsct-footer-menu li {
        margin-bottom: 5px;
    }
    .fsct-footer-menu a {
        font-size: clamp(0.76rem, 3.1vw, 0.85rem);
    }
    .fsct-footer-contact {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 12px;
    }
    .fsct-footer-contact li {
        font-size: clamp(0.75rem, 3.1vw, 0.84rem);
        gap: 6px;
        margin-bottom: 0;
        word-break: break-word;
    }
    .fsct-footer-contact li.fsct-footer-contact-full {
        grid-column: 1 / -1;
    }

    /* Cookie Banner on Mobile */
    #cookie-banner {
        bottom: 10px !important;
        left: 10px !important;
        right: 10px !important;
        padding: 12px 14px !important;
    }
}

/* ========================================================
   18. CONTACT US PAGE SPECIFIC STYLES & RESPONSIVE RULES
   ======================================================== */

.fsct-contact-hero-banner {
    position: relative;
    background: linear-gradient(135deg, var(--fsct-primary, #0a3d91) 0%, #062b66 100%);
    padding: 60px 0 45px 0;
}

.fsct-contact-hero-badge {
    display: inline-block;
}

.fsct-hero-clock-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 14px 20px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    text-align: left;
}

/* Quick Contact Stats Cards */
.fsct-contact-quick-section {
    background-color: var(--fsct-bg-light, #f8fafc);
}

.fsct-contact-card {
    background: #ffffff;
    border: 1px solid var(--fsct-border, #e2e8f0);
    border-radius: var(--fsct-radius, 16px);
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 18px rgba(10, 61, 145, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.fsct-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(10, 61, 145, 0.12);
    border-color: #cbd5e1;
}

.fsct-contact-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.fsct-contact-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #ffffff;
    flex-shrink: 0;
}

.bg-primary-gradient {
    background: linear-gradient(135deg, #0a3d91 0%, #0076c9 100%);
}

.bg-success-gradient {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.bg-indigo-gradient {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

.bg-sky-gradient {
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
}

.fsct-contact-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(10, 61, 145, 0.08);
    color: var(--fsct-primary, #0a3d91);
}

.fsct-contact-card-title {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--fsct-text-main, #1e293b);
    margin-bottom: 8px;
}

.fsct-contact-card-text {
    font-size: 0.88rem;
    color: var(--fsct-text-muted, #64748b);
    line-height: 1.55;
    margin-bottom: 16px;
}

.fsct-card-action-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--fsct-primary, #0a3d91);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.fsct-card-action-link:hover {
    color: var(--fsct-secondary, #0076c9);
    transform: translateX(3px);
}

/* Contact Main Section: Form & Location */
.fsct-contact-form-card,
.fsct-contact-location-card {
    background: #ffffff;
    border: 1px solid var(--fsct-border, #e2e8f0);
    border-radius: 20px;
    padding: 34px;
    box-shadow: 0 8px 30px rgba(10, 61, 145, 0.05);
}

.fsct-form-card-title,
.fsct-location-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--fsct-primary, #0a3d91);
}

.fsct-form-control {
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.92rem;
    border: 1.5px solid #cbd5e1;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fsct-form-control:focus {
    border-color: var(--fsct-primary, #0a3d91);
    box-shadow: 0 0 0 3px rgba(10, 61, 145, 0.12);
}

.fsct-btn-submit-contact {
    background: linear-gradient(135deg, #0a3d91 0%, #0076c9 100%);
    border: none;
    font-size: 1.02rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fsct-btn-submit-contact:hover {
    background: linear-gradient(135deg, #072b6b 0%, #005fa3 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 61, 145, 0.25);
}

/* Map & Transit */
.fsct-map-container {
    height: 320px;
}

.fsct-map-badge-overlay {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 10;
    pointer-events: none;
}

.fsct-transit-item {
    display: flex;
    gap: 14px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid var(--fsct-border, #e2e8f0);
    border-radius: 14px;
    margin-bottom: 12px;
    transition: background 0.2s ease;
}

.fsct-transit-item:hover {
    background: #f1f5f9;
}

.fsct-transit-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.fsct-transit-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--fsct-text-main, #1e293b);
    margin-bottom: 3px;
}

.fsct-transit-desc {
    font-size: 0.85rem;
    color: var(--fsct-text-muted, #64748b);
    line-height: 1.5;
}

/* Department Directory Table */
.fsct-dept-table th {
    background-color: #f8fafc;
    font-size: 0.92rem;
    font-weight: 600;
}

.fsct-dept-table td {
    vertical-align: middle;
}

.fsct-dept-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Bottom Callout Banner */
.fsct-contact-cta-box {
    background: linear-gradient(135deg, #0a3d91 0%, #071e4a 100%);
    position: relative;
}

.fsct-cta-bg-glow {
    position: absolute;
    width: 450px;
    height: 450px;
    top: -150px;
    right: -150px;
    background: radial-gradient(circle, rgba(0, 118, 201, 0.35) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ========================================================
   RESPONSIVE MEDIA QUERIES FOR CONTACT PAGE
   ======================================================== */

/* Tablet (iPad, 768px - 991.98px) */
@media (max-width: 991.98px) {
    .fsct-contact-form-card,
    .fsct-contact-location-card {
        padding: 26px 20px;
    }
    .fsct-form-card-title,
    .fsct-location-card-title {
        font-size: 1.25rem;
    }
    .fsct-contact-card {
        padding: 20px 18px;
    }
}

/* Mobile Phone (< 768px) */
@media (max-width: 767.98px) {
    .fsct-contact-hero-banner {
        padding: 35px 0 25px 0;
    }
    .fsct-subpage-title {
        font-size: 1.45rem !important;
    }
    .fsct-contact-form-card,
    .fsct-contact-location-card {
        padding: 20px 16px;
        border-radius: 16px;
    }
    .fsct-form-card-title,
    .fsct-location-card-title {
        font-size: 1.15rem;
    }
    .fsct-contact-card {
        padding: 16px;
        border-radius: 14px;
    }
    .fsct-map-container {
        height: 250px !important;
    }
    .fsct-map-container iframe {
        height: 250px !important;
    }
    .fsct-contact-cta-box {
        padding: 28px 18px !important;
    }
    .fsct-cta-title {
        font-size: 1.22rem !important;
    }
    .fsct-contact-cta-box .btn {
        width: 100%;
    }
    .fsct-transit-item {
        padding: 12px;
        gap: 12px;
    }
    .fsct-transit-icon-box {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
}

/* ========================================================
   19. SEMINAR & TRAINING HUB (ICTSEMINAR) UI/UX STYLES
   ======================================================== */

.fsct-seminar-clean-card,
.fsct-seminar-featured-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: clamp(14px, 1.8vw, 20px);
    box-shadow: 0 8px 28px rgba(10, 61, 145, 0.06);
    overflow: hidden;
    margin-bottom: clamp(20px, 2.5vw, 32px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.fsct-seminar-clean-card:hover,
.fsct-seminar-featured-card:hover {
    box-shadow: 0 14px 36px rgba(10, 61, 145, 0.10);
    border-color: #cbd5e1;
}

.fsct-seminar-banner-full,
.fsct-seminar-poster-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f172a;
    overflow: hidden;
    display: block;
    cursor: pointer;
    border-bottom: 1px solid #e2e8f0;
}

.fsct-seminar-banner-full img,
.fsct-seminar-poster-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.fsct-seminar-banner-full:hover img,
.fsct-seminar-poster-wrap:hover img {
    transform: scale(1.02);
}

.fsct-seminar-clean-body {
    padding: clamp(18px, 2.4vw, 32px);
}

.fsct-seminar-topbar {
    background: linear-gradient(90deg, #062b61 0%, #0a3d91 60%, #0066ff 100%);
    color: #ffffff;
    padding: clamp(10px, 1.4vw, 14px) clamp(16px, 2.2vw, 26px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.fsct-seminar-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
    font-size: clamp(0.74rem, 0.9vw, 0.84rem);
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
}

.fsct-seminar-topbar .fsct-seminar-status-pill {
    background: rgba(16, 185, 129, 0.22);
    border-color: rgba(52, 211, 153, 0.55);
    color: #ecfdf5;
}

.fsct-seminar-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.fsct-seminar-poster-zoom-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: clamp(0.70rem, 0.85vw, 0.80rem);
    padding: 5px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.fsct-seminar-clean-title,
.fsct-seminar-course-title {
    font-size: clamp(1.12rem, 1.6vw, 1.48rem);
    font-weight: 700;
    color: #0a3d91;
    line-height: 1.4;
    margin-bottom: clamp(8px, 1vw, 14px);
}

.fsct-seminar-clean-desc,
.fsct-seminar-course-desc {
    font-size: clamp(0.84rem, 1.02vw, 0.96rem);
    color: #475569;
    line-height: 1.65;
    margin-bottom: clamp(16px, 2vw, 24px);
}

.fsct-seminar-info-grid,
.fsct-seminar-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 1.3vw, 16px);
    margin-bottom: clamp(18px, 2.2vw, 26px);
}

.fsct-seminar-info-item,
.fsct-seminar-meta-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: clamp(10px, 1.2vw, 15px);
    display: flex;
    align-items: flex-start;
    gap: clamp(10px, 1.1vw, 14px);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.fsct-seminar-info-item:hover,
.fsct-seminar-meta-box:hover {
    background: #ffffff;
    border-color: #93c5fd;
}

.fsct-seminar-info-icon,
.fsct-seminar-meta-icon {
    width: clamp(34px, 3vw, 42px);
    height: clamp(34px, 3vw, 42px);
    border-radius: 10px;
    background: #eff6ff;
    color: #0066ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.98rem, 1.2vw, 1.18rem);
    flex-shrink: 0;
}

.fsct-seminar-info-label,
.fsct-seminar-meta-label {
    font-size: clamp(0.70rem, 0.82vw, 0.78rem);
    color: #64748b;
    font-weight: 500;
    display: block;
    margin-bottom: 2px;
}

.fsct-seminar-info-value,
.fsct-seminar-meta-val {
    font-size: clamp(0.82rem, 0.98vw, 0.94rem);
    color: #0f172a;
    font-weight: 600;
    line-height: 1.35;
}

.fsct-seminar-clean-actions,
.fsct-seminar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(8px, 1.2vw, 14px);
    align-items: center;
    padding-top: clamp(12px, 1.5vw, 18px);
    border-top: 1px solid #f1f5f9;
}

.fsct-seminar-btn-primary {
    background: linear-gradient(135deg, #0a3d91 0%, #0066ff 100%);
    color: #ffffff !important;
    font-weight: 600;
    font-size: clamp(0.84rem, 1vw, 0.95rem);
    padding: clamp(9px, 1vw, 12px) clamp(18px, 2.2vw, 26px);
    border-radius: 999px;
    border: none;
    box-shadow: 0 6px 18px rgba(10, 61, 145, 0.22);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.fsct-seminar-btn-primary:hover {
    background: linear-gradient(135deg, #062b61 0%, #0052cc 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(10, 61, 145, 0.32);
}

.fsct-seminar-btn-secondary {
    background: #ffffff;
    color: #0a3d91 !important;
    font-weight: 600;
    font-size: clamp(0.82rem, 0.98vw, 0.92rem);
    padding: clamp(8px, 0.95vw, 11px) clamp(16px, 1.8vw, 22px);
    border-radius: 999px;
    border: 1.5px solid #cbd5e1;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.fsct-seminar-btn-secondary:hover {
    border-color: #0066ff;
    color: #0066ff !important;
    background: #f0f7ff;
}

@media (max-width: 767.98px) {
    .fsct-seminar-info-grid,
    .fsct-seminar-meta-grid {
        grid-template-columns: 1fr;
    }
    .fsct-seminar-clean-actions .fsct-seminar-btn-primary,
    .fsct-seminar-clean-actions .fsct-seminar-btn-secondary,
    .fsct-seminar-actions .fsct-seminar-btn-primary,
    .fsct-seminar-actions .fsct-seminar-btn-secondary {
        width: 100%;
    }
}

/* ========================================================
   20. HOMEPAGE FEATURED HIGHLIGHT SECTION
   ======================================================== */

.fsct-highlight-section {
    padding: clamp(32px, 4.5vw, 60px) 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid #e2e8f0;
}

.fsct-highlight-subtitle {
    font-size: clamp(0.82rem, 1.05vw, 0.98rem);
    color: #64748b;
    line-height: 1.5;
}

/* Single Featured Showcase Banner Card (count == 1) */
.fsct-highlight-hero-card {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: clamp(14px, 1.8vw, 22px);
    box-shadow: 0 10px 30px rgba(10, 61, 145, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.fsct-highlight-hero-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(10, 61, 145, 0.13);
    border-color: #93c5fd;
}

.fsct-highlight-hero-img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: clamp(210px, 24vw, 340px);
    aspect-ratio: 16 / 9;
    background: #0f172a;
    overflow: hidden;
    position: relative;
}

.fsct-highlight-hero-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.fsct-highlight-hero-card:hover .fsct-highlight-hero-img img {
    transform: scale(1.03);
}

.fsct-highlight-hero-body {
    padding: clamp(18px, 2.5vw, 34px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
}

.fsct-highlight-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: clamp(10px, 1.2vw, 16px);
}

.fsct-highlight-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    font-size: clamp(0.72rem, 0.88vw, 0.82rem);
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
}

.fsct-highlight-tag-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
}

.fsct-highlight-date {
    font-size: clamp(0.75rem, 0.9vw, 0.85rem);
    color: #64748b;
    font-weight: 500;
}

.fsct-highlight-hero-title {
    font-size: clamp(1.05rem, 1.55vw, 1.42rem);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: clamp(8px, 1.1vw, 14px);
    color: #0a3d91;
}

.fsct-highlight-hero-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fsct-highlight-hero-title a:hover {
    color: #0066ff;
}

.fsct-highlight-hero-desc {
    font-size: clamp(0.82rem, 1vw, 0.95rem);
    color: #475569;
    line-height: 1.6;
    margin-bottom: clamp(14px, 1.8vw, 24px);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fsct-highlight-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #0a3d91 0%, #0066ff 100%);
    color: #ffffff !important;
    font-size: clamp(0.82rem, 0.98vw, 0.94rem);
    font-weight: 600;
    padding: clamp(9px, 1vw, 12px) clamp(18px, 2vw, 24px);
    border-radius: 999px;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(10, 61, 145, 0.22);
    transition: all 0.25s ease;
}

.fsct-highlight-btn-primary:hover {
    background: linear-gradient(135deg, #062b61 0%, #0052cc 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(10, 61, 145, 0.32);
}

/* Multi-Card Highlight Grid (count >= 2) */
.fsct-highlight-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: clamp(12px, 1.5vw, 16px);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(10, 61, 145, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.fsct-highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(10, 61, 145, 0.11);
    border-color: #93c5fd;
}

.fsct-highlight-card-img {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f172a;
    overflow: hidden;
}

.fsct-highlight-card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
    transition: transform 0.4s ease;
}

.fsct-highlight-card:hover .fsct-highlight-card-img img {
    transform: scale(1.04);
}

.fsct-highlight-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: clamp(0.68rem, 0.82vw, 0.76rem);
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
}

.fsct-highlight-card-body {
    padding: clamp(14px, 1.6vw, 22px);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.fsct-highlight-card-date {
    font-size: clamp(0.72rem, 0.85vw, 0.80rem);
    color: #64748b;
    margin-bottom: 6px;
}

.fsct-highlight-card-title {
    font-size: clamp(0.92rem, 1.25vw, 1.12rem);
    font-weight: 700;
    line-height: 1.4;
    color: #0a3d91;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fsct-highlight-card-title a {
    color: inherit;
    text-decoration: none;
}

.fsct-highlight-card-title a:hover {
    color: #0066ff;
}

.fsct-highlight-card-desc {
    font-size: clamp(0.78rem, 0.95vw, 0.88rem);
    color: #475569;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Tablet / iPad Tier (768px - 1199.98px) */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .fsct-highlight-hero-img {
        min-height: 220px;
    }
    .fsct-highlight-hero-body {
        padding: clamp(16px, 2vw, 24px);
    }
    .fsct-highlight-hero-title {
        font-size: clamp(0.96rem, 1.45vw, 1.22rem);
    }
    .fsct-highlight-hero-desc {
        -webkit-line-clamp: 2;
    }
}

/* Mobile Tier (< 768px) */
@media (max-width: 767.98px) {
    .fsct-highlight-section {
        padding: 26px 0;
    }
    .fsct-highlight-hero-img {
        min-height: 180px;
        aspect-ratio: 16 / 9;
    }
    .fsct-highlight-hero-body {
        padding: 16px 14px;
    }
    .fsct-highlight-hero-title {
        font-size: 1.02rem;
    }
    .fsct-highlight-hero-desc {
        font-size: 0.82rem;
        margin-bottom: 14px;
        -webkit-line-clamp: 3;
    }
    .fsct-highlight-btn-primary {
        width: 100%;
    }
}

