/* ====== BLUE THEME (default) ====== */
:root,
[data-theme="blue"] {
    --primary: #3f5874;
    --primary-dark: #2c3e50;
    --primary-deeper: #1a2a3a;
    --primary-light: #5a7a9b;
    --accent: #3a7bbf;
    --accent-light: rgba(58, 123, 191, 0.12);
    --accent-hover: #2d6aa8;
    --warm: #e8913a;
    --warm-light: rgba(232, 145, 58, 0.12);
    --text-dark: #333;
    --text-body: #666;
    --text-muted: #888;
    --dark: #1a2a3a;
    --white: #ffffff;
    --bg-light: #f4f7fa;
    --bg-alt: #eaf0f6;
    --banner-bg: #dde4e6;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.13);
    --radius: 12px;
    --transition: all 0.3s ease;
    --navbar-height: 68px;
}

/* ====== GREEN THEME ====== */
[data-theme="green"] {
    --primary: #2e7d32;
    --primary-dark: #1b5e20;
    --primary-deeper: #0d3b13;
    --primary-light: #4caf50;
    --accent: #66bb6a;
    --accent-light: rgba(76, 175, 80, 0.12);
    --accent-hover: #388e3c;
    --warm: #f9a825;
    --warm-light: rgba(249, 168, 37, 0.12);
    --text-dark: #333;
    --text-body: #666;
    --text-muted: #888;
    --dark: #0d3b13;
    --white: #ffffff;
    --bg-light: #f2f7f2;
    --bg-alt: #e8f0e8;
    --banner-bg: #e0e8e0;
}

/* ====== THEME TOGGLE ====== */
.theme-toggle {
    position: fixed;
    bottom: 110px;
    right: 45px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.theme-toggle-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #fff;
    background: var(--primary-dark);
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.theme-toggle-btns {
    display: flex;
    gap: 6px;
}

.theme-toggle-btns button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #fff;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    position: relative;
}

.theme-toggle-btns button:hover {
    transform: scale(1.15);
}

.theme-toggle-btns button.active::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 0.7rem;
}

.theme-toggle-btns .btn-theme-blue {
    background: linear-gradient(135deg, #3f5874, #3a7bbf);
}

.theme-toggle-btns .btn-theme-green {
    background: linear-gradient(135deg, #2e7d32, #66bb6a);
}

/* ====== BASE ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    line-height: 1.3;
}

.section-title {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-body);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--warm));
    border: none;
    margin: 0.8rem auto 1.5rem;
    border-radius: 2px;
}

/* Spinner */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    background: var(--primary);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    color: #fff;
}

/* ====== NAVBAR ====== */
.navbar {
    padding: 0 2rem;
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    z-index: 1000;
    min-height: var(--navbar-height);
}

.navbar .navbar-nav .nav-link {
    padding: 1.2rem 0.9rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    position: relative;
    transition: var(--transition);
}

.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: 70%;
}

.nav-btn-register {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px;
    font-weight: 600 !important;
    letter-spacing: 0.03em;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(63, 88, 116, 0.3);
    margin-left: 0.5rem;
}

.nav-btn-register:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #fff !important;
    transform: translateY(-2px);
}

.nav-btn-register::after {
    display: none !important;
}

.social-icons a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 0.85rem;
    margin-left: 5px;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

/* ====== BANNER ====== */
.hero-banner {
    position: relative;
    overflow: hidden;
    background: var(--banner-bg);
}

.hero-banner img {
    width: 100%;
    display: block;
    object-fit: contain;
}

/* Full-viewport banner (countdown hidden) */
.hero-banner.hero-full {
    height: calc(100vh - var(--navbar-height));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner.hero-full img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Countdown-wrap variant (kept for when countdown is restored) */
.hero-countdown-wrap {
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--navbar-height));
}

.hero-countdown-wrap .hero-banner {
    flex: 1 1 0%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-countdown-wrap .hero-banner img {
    max-height: 100%;
    width: 100%;
    object-fit: contain;
}

.hero-countdown-wrap .countdown-strip {
    flex-shrink: 0;
}

/* ====== COUNTDOWN SECTION ====== */
.countdown-strip {
    background: linear-gradient(135deg, var(--primary-deeper), var(--primary-dark) 50%, var(--primary));
    padding: 0.9rem 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.countdown-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.5;
}

.countdown-strip .countdown-box {
    text-align: center;
    padding: 0.2rem 1.2rem;
    position: relative;
}

.countdown-strip .countdown-box+.countdown-box::before {
    content: ':';
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translateY(-60%);
    font-size: 1.4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
}

.countdown-strip .countdown-box .count-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    font-family: 'Roboto Slab', serif;
}

.countdown-strip .countdown-box .count-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    opacity: 0.55;
    margin-top: 0.15rem;
}

.event-info-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.event-info-strip .info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.9;
}

.event-info-strip .info-item i {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

/* ====== ABOUT SECTION ====== */
.about-section {
    padding: 5rem 0;
    background: var(--white);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(ellipse at 0% 0%, var(--accent-light) 0%, transparent 50%);
    pointer-events: none;
}

.about-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
    position: relative;
}

.about-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.about-section .theme-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.2rem;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.btn-outline-custom {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    background: transparent;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* ====== SECTION WAVE DIVIDER ====== */
.wave-divider {
    position: relative;
    margin-top: -2px;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 40px;
}

/* ====== HIGHLIGHTS / INFO CARDS ====== */
.highlights-section {
    padding: 4rem 0;
    background: var(--bg-light);
    position: relative;
}

.highlight-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--warm));
    transition: height 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.highlight-card:hover::before {
    height: 6px;
}

.highlight-card .icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    transition: var(--transition);
}

.highlight-card:hover .icon-box {
    background: var(--primary);
}

.highlight-card:hover .icon-box i {
    color: #fff;
}

.highlight-card .icon-box i {
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition);
}

.highlight-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.highlight-card p {
    color: var(--text-body);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ====== SPEAKERS SECTION ====== */
.speakers-section {
    padding: 5rem 0;
    background: var(--white);
    position: relative;
}

.speakers-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--warm-light) 0%, transparent 70%);
    pointer-events: none;
}

/* ====== SPEAKER MARQUEE ====== */
.speaker-marquee-wrap {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.speaker-marquee-track {
    display: flex;
    width: max-content;
    gap: 1.25rem;
    animation: speakerMarquee 45s linear infinite;
}

.speaker-marquee-wrap:hover .speaker-marquee-track {
    animation-play-state: paused;
}

@keyframes speakerMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.speaker-marquee-track .speaker-card {
    flex: 0 0 auto;
    width: 200px;
}

@media (prefers-reduced-motion: reduce) {
    .speaker-marquee-track {
        animation: none;
    }
    .speaker-marquee-wrap {
        overflow-x: auto;
    }
}

/* ====== PARTNERS SECTION ====== */
.partners-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.partner-category {
    margin-bottom: 2.5rem;
}

.partner-category-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    position: relative;
}

.partner-category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--warm);
    border-radius: 2px;
}

.partner-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.partner-logo {
    max-height: 98px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: var(--transition);
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.partner-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* ====== PLACEHOLDER / COMING SOON ====== */
.placeholder-section {
    padding: 5rem 0;
    text-align: center;
    position: relative;
}

.placeholder-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 80% 20%, var(--accent-light) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, var(--warm-light) 0%, transparent 50%);
    pointer-events: none;
}

.placeholder-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 4rem 2rem;
    max-width: 700px;
    margin: 4rem auto 0 !important;
    border: 2px dashed #cdd5de;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.placeholder-box i {
    font-size: 3rem;
    color: var(--primary-light);
    opacity: 0.35;
    margin-bottom: 1rem;
}

.placeholder-box h4 {
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.placeholder-box p {
    color: var(--text-body);
    font-size: 1rem;
}

/* ====== CTA SECTION ====== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-deeper), var(--primary-dark));
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -8%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    opacity: 0.85;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    background: var(--warm);
    color: #fff;
    border: none;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    color: #fff;
    filter: brightness(1.1);
}

/* ====== FOOTER ====== */
.footer {
    background: var(--primary-deeper);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 0;
}

.footer h5 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--warm);
    border-radius: 2px;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: #fff;
    padding-left: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem 0;
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer .footer-social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    margin-right: 8px;
    transition: var(--transition);
}

.footer .footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
    padding-left: 0;
}

/* ====== PAGE HEADER (subpages) ====== */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 1.8rem 0 1.5rem;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -15%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--warm), var(--accent));
}

.page-header h1 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.page-header .breadcrumb {
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    font-size: 0.8rem;
}

.page-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.page-header .breadcrumb a:hover {
    color: #fff;
    padding-left: 0;
}

.page-header .breadcrumb .active {
    color: rgba(255, 255, 255, 0.5);
}

/* ====== CONCEPT NOTE PAGE ====== */
.concept-content {
    padding: 4rem 0;
    position: relative;
}

.concept-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(ellipse at 100% 20%, var(--accent-light) 0%, transparent 60%);
    pointer-events: none;
}

.concept-content p {
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1.5rem;
    color: #555;
}

.concept-sidebar {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 2rem;
    position: sticky;
    top: 100px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.concept-sidebar .info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #dde3ea;
}

.concept-sidebar .info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.concept-sidebar .info-item .icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
}

.concept-sidebar .info-item h6 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
    font-family: 'Inter', 'Roboto', sans-serif;
}

.concept-sidebar .info-item p {
    margin: 0;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* ====== ANIMATIONS ====== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 991px) {
    .navbar {
        padding: 0.5rem 1rem;
    }

    .navbar .navbar-nav .nav-link {
        padding: 0.7rem 0.5rem;
    }

    .nav-btn-register {
        margin: 0.5rem 0;
        display: inline-block;
    }

    .social-icons {
        margin-top: 0.5rem;
    }

    .countdown-strip .countdown-box .count-num {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .cta-section h2 {
        font-size: 1.6rem;
    }

    .hero-countdown-wrap {
        height: auto;
    }

    .hero-banner img {
        height: auto;
    }

    .theme-toggle {
        right: 15px;
        bottom: 90px;
    }
}

@media (max-width: 767px) {
    .hero-countdown-wrap {
        height: auto;
    }

    .hero-banner img {
        height: auto;
    }

    .countdown-strip {
        padding: 0.8rem 0;
    }

    .countdown-strip .countdown-box {
        padding: 0.2rem 0.6rem;
    }

    .countdown-strip .countdown-box .count-num {
        font-size: 1.2rem;
    }

    .countdown-strip .countdown-box+.countdown-box::before {
        font-size: 1rem;
    }

    .event-info-strip {
        gap: 1rem;
    }

    .highlight-card {
        padding: 1.5rem 1rem;
    }

    .about-card {
        padding: 1.5rem;
    }

    .placeholder-box {
        padding: 2.5rem 1.5rem;
    }

    .concept-sidebar {
        position: static;
        margin-bottom: 2rem;
    }

    .page-header {
        padding: 1.5rem 0 1.2rem;
    }

    .page-header h1 {
        font-size: 1.3rem;
    }

    .theme-toggle {
        right: 10px;
        bottom: 75px;
    }

    .theme-toggle-btns button {
        width: 34px;
        height: 34px;
    }
}

/* ====== ABOUT INFO STRIP ====== */
.about-info-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5eaf0;
}

.ais-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-light);
    border-radius: 50px;
    padding: 0.45rem 2rem;
    font-size: 0.85rem;
    color: var(--text-dark);
    border: 1px solid #dde3ea;
}

.ais-item i {
    color: var(--primary);
    font-size: 0.9rem;
}

.ais-link {
    text-decoration: none;
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transition: var(--transition);
}

.ais-link i {
    color: #fff;
}

.ais-link:hover {
    background: var(--primary-deeper);
    border-color: var(--primary-deeper);
    color: #fff;
    transform: translateY(-2px);
}

/* ====== VIDEO CARD ====== */
.video-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.video-thumb {
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: #1a2a3a;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 42, 58, 0.85) 0%, rgba(26, 42, 58, 0.15) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-card:hover .video-overlay {
    background: linear-gradient(to top, rgba(26, 42, 58, 0.92) 0%, rgba(26, 42, 58, 0.35) 50%, transparent 100%);
}

.play-btn {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 0;
}

.video-card:hover .play-btn {
    background: var(--warm);
    transform: scale(1.12);
}

.play-btn i {
    color: var(--primary-dark);
    font-size: 1.4rem;
    margin-left: 4px;
    transition: var(--transition);
}

.video-card:hover .play-btn i {
    color: #fff;
}

.video-label {
    text-align: center;
    color: #fff;
    padding: 1rem;
    width: 100%;
}

.video-label .video-tag {
    background: var(--warm);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.video-label p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.95;
}

.video-caption {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1.1rem;
    background: var(--white);
    font-size: 0.9rem;
    color: var(--text-body);
    font-weight: 500;
}

/* ====== ORGANIZER STRIP ====== */
.organizer-strip {
    margin-top: 1.2rem;
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    border: 1px solid #dde3ea;
}

.org-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    white-space: nowrap;
}

.org-logos {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.org-logos img {
    height: 58px;
    width: auto;
    object-fit: contain;
    background: #fff;
    border-radius: 6px;
    padding: 6px 10px;
    box-shadow: var(--shadow-sm);
    filter: grayscale(15%);
    transition: var(--transition);
}

.org-logos img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* ====== VIDEO MODAL ====== */
.video-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 32, 0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    backdrop-filter: blur(6px);
}

.video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
}

.video-modal-box {
    position: relative;
    width: 100%;
    max-width: 900px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-modal-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    z-index: 1;
}

.video-modal-close:hover {
    background: var(--warm);
    border-color: var(--warm);
}

/* ====== KEY ACTIVITIES SECTION ====== */
.activities-section {
    padding: 5rem 0;
    background: var(--white);
    position: relative;
}

.activities-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 100% 100%, var(--warm-light) 0%, transparent 50%);
    pointer-events: none;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
    margin-top: 2.5rem;
}

.activity-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.2rem 1.8rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e5eaf0;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.activity-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--warm));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-light);
}

.activity-card:hover::before {
    transform: scaleX(1);
}

.activity-num {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.2;
    font-family: 'Roboto Slab', serif;
    letter-spacing: 0.05em;
}

.activity-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: var(--transition);
}

.activity-card:hover .activity-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.activity-card:hover .activity-icon i {
    color: #fff;
}

.activity-icon i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.activity-card h5 {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.activity-card p {
    font-size: 0.85rem;
    color: var(--text-body);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ====== SPEAKERS ====== */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.speaker-card {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    isolation: isolate;
}

.speaker-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--warm));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    z-index: 2;
}

.speaker-card:hover::before {
    transform: scaleX(1);
}

.speaker-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.speaker-photo {
    position: absolute;
    inset: 0;
}

.speaker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(45%);
    transform: scale(1);
    transition: transform 0.5s ease, filter 0.4s ease;
}

.speaker-card:hover .speaker-photo img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

.speaker-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.1rem 1rem 1rem;
    background: linear-gradient(to top, rgba(13, 20, 28, 0.94) 0%, rgba(13, 20, 28, 0.6) 42%, rgba(13, 20, 28, 0) 75%);
}

.speaker-name {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.speaker-role {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.72rem;
    line-height: 1.4;
    cursor: default;
}

/* ====== GALLERY ====== */
.gallery-section {
    padding: 4rem 0 5rem;
}

.gallery-day-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.2rem;
    padding: 0.5rem 1.2rem;
    background: var(--accent-light);
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
    display: inline-block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.1rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid #eef1f5;
    transition: var(--transition);
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    box-sizing: border-box;
    padding: 10px;
    background: var(--bg-light);
    transition: transform 0.4s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 42, 58, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.gallery-item-overlay i {
    color: #fff;
    font-size: 1.5rem;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    background: rgba(26, 42, 58, 0.45);
}

.gallery-item:hover .gallery-item-overlay i {
    opacity: 1;
    transform: scale(1);
}

/* ====== EXHIBITION VISUAL ====== */
.exhibition-visual {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    background: var(--white);
    border: 1px solid #e5eaf0;
    transition: var(--transition);
}

.exhibition-visual img {
    width: 100%;
    display: block;
}

.exhibition-visual:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.exhibition-visual-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 42, 58, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.exhibition-visual-overlay i {
    color: #fff;
    font-size: 1.8rem;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.exhibition-visual:hover .exhibition-visual-overlay {
    background: rgba(26, 42, 58, 0.35);
}

.exhibition-visual:hover .exhibition-visual-overlay i {
    opacity: 1;
    transform: scale(1);
}

/* ====== LIGHTBOX ====== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.93);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 4px;
    display: block;
}

.lightbox-counter {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-align: center;
    margin-top: 0.8rem;
    font-weight: 500;
}

.lightbox-close {
    position: fixed;
    top: 1.2rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    z-index: 1;
}

.lightbox-close:hover {
    background: var(--warm);
    border-color: var(--warm);
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    z-index: 1;
}

.lightbox-prev {
    left: 1.5rem;
}

.lightbox-next {
    right: 1.5rem;
}

.lightbox-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* ====== SOCIAL MEDIA PAGE — REDESIGN ====== */
.sm-feed-section,
.social-media-section {
    padding: 4rem 0 6rem;
    position: relative;
}

.social-platform-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.spl-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1.3rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.spl-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: #fff;
}

.spl-facebook {
    background: #1877f2;
}

.spl-twitter {
    background: #111;
}

.spl-linkedin {
    background: #0a66c2;
}

.spl-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.spl-youtube {
    background: #ff0000;
}

/* Feed card */
.social-feed-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid #e5eaf0;
}

.social-feed-header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1.2rem;
    background: var(--primary-dark);
    color: #fff;
    font-weight: 600;
    font-size: 0.92rem;
}

.social-feed-header.yt-header {
    background: #c00;
}

.social-feed-header i {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    flex-shrink: 0;
}

.sfc-follow-link {
    margin-left: auto;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.sfc-follow-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Twitter feed wrapper */
.twitter-feed-wrap {
    overflow: hidden;
    min-height: 520px;
}

/* YouTube channel card body */
.yt-channel-body {
    padding: 1.5rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.yt-channel-graphic {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.yt-icon-ring {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    background: #ff0000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(255, 0, 0, 0.25);
}

.yt-icon-ring i {
    font-size: 1.6rem;
    color: #fff;
}

.yt-channel-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.yt-channel-info strong {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.yt-channel-info span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.yt-channel-info p {
    margin: 0.4rem 0 0;
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.5;
}

.yt-channel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.yt-channel-tags span {
    font-size: 0.78rem;
    background: var(--bg-light);
    border: 1px solid #dde3ea;
    color: var(--text-body);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
}

.yt-channel-tags span i {
    color: #ff0000;
    font-size: 0.78rem;
}

.yt-subscribe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff0000;
    color: #fff;
    border-radius: 50px;
    padding: 0.65rem 1.8rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(255, 0, 0, 0.25);
    align-self: flex-start;
}

.yt-subscribe-btn:hover {
    background: #b00000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
}

/* Social CTA cards (2×2 grid) */
.social-cta-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius);
    text-decoration: none;
    color: #fff;
    transition: var(--transition);
    height: 100%;
    min-height: 68px;
}

.social-cta-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: #fff;
    filter: brightness(1.07);
}

.scc-icon {
    font-size: 1.4rem;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.social-cta-card div {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
    min-width: 0;
}

.social-cta-card strong {
    font-size: 0.9rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.social-cta-card span {
    font-size: 0.75rem;
    opacity: 0.8;
}

.scc-arrow {
    font-size: 0.8rem;
    opacity: 0.6;
    flex-shrink: 0;
}

.facebook-cta {
    background: #1877f2;
}

.twitter-cta {
    background: #111;
}

.linkedin-cta {
    background: #0a66c2;
}

.instagram-cta {
    background: linear-gradient(135deg, #f09433, #dc2743, #bc1888);
}

/* ====== PLATFORM STATS BAR ====== */
.sm-stats-bar {
    background: var(--primary-deeper);
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sm-stats-inner {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}

.sm-stat-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.1rem 2rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    flex: 1;
    min-width: 160px;
    justify-content: center;
}

.sm-stat-item:last-child {
    border-right: none;
}

.sm-stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.sm-stat-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sm-stat-text {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

.sm-stat-num {
    font-size: 1.05rem;
    font-weight: 800;
    font-family: "Merriweather";
    color: #f1e9e9;
    line-height: 1;
}

.sm-stat-label {
    font-size: 0.7rem;
    opacity: 0.55;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    white-space: nowrap;
}

/* ====== FEED SECTION ====== */
.sm-feed-section {
    background: var(--bg-light);
}

.sm-feed-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.sm-filter-tabs {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    align-items: center;
}

.sm-filter {
    background: var(--white);
    border: 1px solid #dde3ea;
    color: var(--text-body);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.sm-filter:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.sm-filter.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 2px 10px rgba(63, 88, 116, 0.25);
}

/* ====== POST GRID (3-col masonry-like) ====== */
.sm-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    align-items: start;
}

/* ====== POST CARD ====== */
.post-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e8ecf1;
    position: relative;
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Coloured left accent by platform */
.post-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 3px 0 0 3px;
}

.post-card[data-platform="twitter"]::before {
    background: #111;
}

.post-card[data-platform="instagram"]::before {
    background: linear-gradient(to bottom, #f09433, #bc1888);
}

.post-card[data-platform="linkedin"]::before {
    background: #0a66c2;
}

.post-card[data-platform="facebook"]::before {
    background: #1877f2;
}

.post-card[data-platform="youtube"]::before {
    background: #ff0000;
}

/* Platform badge (top-right) */
.pc-badge {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    color: #fff;
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

/* Card header */
.pc-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1rem 0.6rem 1.2rem;
}

.pc-avatar {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5eaf0;
}

.pc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* YouTube avatar — icon-only */
.pc-av-yt {
    background: #ff0000;
    font-size: 1rem;
    color: #fff;
}

.pc-meta {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    flex: 1;
    min-width: 0;
    padding-right: 1.8rem;
}

.pc-meta strong {
    font-size: 0.88rem;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pc-meta span {
    font-size: 0.73rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pc-date {
    font-size: 0.72rem;
    color: var(--text-muted);
    white-space: nowrap;
    margin-left: auto;
    flex-shrink: 0;
}

/* Card body */
.pc-body {
    padding: 0.2rem 1.2rem 0.8rem;
}

/* Native platform embed (X/Twitter, Instagram, LinkedIn, Facebook) */
.pc-embed {
    padding: 0.6rem;
    min-height: 250px;
    display: flex;
    align-items: stretch;
}

.pc-embed > * {
    width: 100%;
}

.pc-body p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--text-dark);
    margin: 0;
}

.pc-body p+p {
    margin-top: 0.6rem;
}

/* Post image */
.pc-img-wrap {
    margin: 0.6rem 0 0.8rem;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-light);
}

.pc-img-wrap img {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
}

.post-card:hover .pc-img-wrap img {
    transform: scale(1.03);
}

/* Hashtag pills */
.pc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.65rem;
}

.pc-tag {
    font-size: 0.77rem;
    color: var(--accent);
    font-weight: 600;
}

/* LinkedIn event card embed */
.li-event-card {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    background: var(--bg-light);
    border: 1px solid #dde3ea;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    margin: 0.7rem 0 0.5rem;
}

.li-event-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    background: #0a66c2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
}

.li-event-card>div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.li-event-card strong {
    font-size: 0.85rem;
    color: var(--text-dark);
}

.li-event-card span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Card footer */
.pc-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.2rem;
    border-top: 1px solid #f0f3f7;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.pc-footer span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.pc-footer i {
    font-size: 0.78rem;
}

.pc-link {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition);
}

.pc-link:hover {
    color: var(--primary);
}

/* YouTube post card */
.pc-yt-thumb {
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.pc-yt-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    text-decoration: none;
    transition: background 0.3s ease;
}

.pc-yt-play:hover {
    background: rgba(0, 0, 0, 0.55);
}

.pc-yt-play i {
    width: 56px;
    height: 56px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    padding-left: 4px;
    transition: transform 0.3s ease;
}

.pc-yt-play:hover i {
    transform: scale(1.1);
}

.pc-yt-label {
    position: absolute;
    bottom: 0.7rem;
    left: 0.8rem;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

/* Empty state */
.sm-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 4rem 2rem;
    color: var(--text-muted);
    text-align: center;
}

.sm-empty i {
    font-size: 2.5rem;
    opacity: 0.3;
}

/* ====== TWITTER LIVE SECTION ====== */
.sm-twitter-live {
    padding: 5rem 0;
    background: var(--white);
    border-top: 1px solid #edf0f4;
}

.sm-tw-intro {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 90px;
}

.sm-tw-icon {
    width: 52px;
    height: 52px;
    background: #111;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
}

.sm-tw-intro h3 {
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin: 0;
}

.sm-tw-intro p {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.sm-tw-follow-btn {
    display: inline-flex;
    align-items: center;
    background: #111;
    color: #fff;
    border-radius: 50px;
    padding: 0.65rem 1.5rem;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    align-self: flex-start;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.sm-tw-follow-btn:hover {
    background: #333;
    color: #fff;
    transform: translateY(-2px);
}

.sm-tw-stats {
    display: flex;
    gap: 1.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #edf0f4;
}

.sm-tw-stats>div {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.sm-tw-stats strong {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
    font-family: 'Roboto Slab', serif;
}

.sm-tw-stats span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sm-tw-feed {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #e5eaf0;
    box-shadow: var(--shadow-sm);
    background: var(--white);
    min-height: 520px;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1100px) {
    .activities-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .sm-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sm-posts-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 7px;
    }

    .lightbox-nav {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .lightbox-prev {
        left: 0.5rem;
    }

    .lightbox-next {
        right: 0.5rem;
    }

    .sm-stats-inner {
        flex-wrap: wrap;
    }

    .sm-stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        flex: 0 0 50%;
    }

    .sm-stat-item:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.07);
    }

    .sm-feed-head {
        flex-direction: column;
    }

    .sm-tw-intro {
        position: static;
    }
}

@media (max-width: 480px) {
    .activities-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sm-stat-item {
        flex: 0 0 100%;
        border-right: none;
    }

    .sm-stat-item:nth-child(odd) {
        border-right: none;
    }

    .sm-filter-tabs {
        gap: 0.3rem;
    }

    .sm-filter {
        padding: 0.35rem 0.75rem;
        font-size: 0.78rem;
    }
}