/* ── TABLET (768px – 991px) ── */
@media (min-width: 768px) and (max-width: 991.98px) {
    .plans-card {
        max-width: 95%;
    }

    .plan-feat-row,
    .p2-feat-row {
        padding: 14px 20px !important;
    }

    .plan-divider {
        padding: 12px 20px !important;
    }

    .plan-feat-name {
        font-size: 14px !important;
    }

    .plan-feat-sub {
        font-size: 12px !important;
    }

    .p1-tab-name {
        font-size: 14px;
    }

    .p1-tab-price {
        font-size: 16px;
    }

    .p2-mobile-header {
        padding: 12px 20px;
    }

    .p2-mobile-btns {
        padding: 14px 20px;
    }
}

@media (max-width: 991px) {
    .video-swiper-wrap .swiper-slide {
        width: calc(50% - 10px);
    }
}

@media (max-width: 991.98px) {

    /* Header */
    .header-inner {
        flex-wrap: nowrap;
        height: 64px;
        padding: 0;
    }

    .header-cta {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .header-inner .logo img {
        height: 32px;
    }

    .btn-nav-join {
        font-size: 12px;
    }

    .btn-nav-member {
        padding: 7px 14px;
        font-size: 12px;
    }

    /* Navbar collapse */
    .site-navbar .navbar-collapse {
        border-top: 1px solid var(--tea);
        padding-bottom: 10px;
        max-height: 70vh;
        overflow-y: auto;
    }

    .site-navbar .navbar-nav .nav-link {
        padding: 11px 6px !important;
        border-bottom: none !important;
        border-top: 1px solid var(--tea) !important;
        width: 100%;
    }

    .site-navbar .navbar-nav .nav-link:hover,
    .site-navbar .navbar-nav .nav-link.active {
        border-bottom: none !important;
        border-top-color: var(--tea) !important;
        background: var(--beige) !important;
        padding-left: 12px !important;
    }

    .site-navbar .dropdown-menu {
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 0 6px 20px !important;
        background: transparent !important;
        margin-top: 0 !important;
    }

    /* Hero */
    .hero-title {
        font-size: clamp(30px, 6vw, 46px);
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-num {
        font-size: 26px;
    }

    /* Mission */
    .mission-img img {
        height: 320px;
    }

    /* Chapter tabs + panels */
    .tab-content>.tab-pane.active {
        flex-direction: column;
    }

    .chapter-img-panel {
        flex: none;
        min-height: 260px;
        position: relative;
    }

    /* Team slider — 2 per page on tablet */
    .team-card {
        flex: 0 0 calc((100% - 20px) / 2) !important;
    }

    /* About float badges */
    .float-top {
        top: -10px;
        right: -10px;
    }

    .float-bottom {
        bottom: -10px;
        left: -10px;
    }

    /* Footer CTA */
    .footer-cta-bar .d-flex {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    /* About section - stack on tablet */
    .about-section .row {
        flex-direction: column;
    }

    .about-section .col-lg-5,
    .about-section .col-lg-7 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    /* Mission section - stack on tablet */
    .mission-section .row {
        flex-direction: column-reverse;
    }

    .mission-section .col-lg-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .mission-img {
        margin-bottom: 24px;
    }

    .mar-land-cards {
        grid-template-columns: 1fr 1fr;
    }

    .mar-land-main {
        padding: 24px 20px 48px;
    }

    .events-layout {
        flex-direction: column;
        gap: 16px;
    }

    .filter-sidebar {
        flex: none;
        width: 100%;
        min-width: unset;
        position: static;
    }

    /* Hide panel, show via toggle */
    .filter-panel {
        display: none;
    }

    .filter-panel.mobile-open {
        display: block;
    }

    /* Show toggle button */
    .filter-mobile-toggle {
        display: flex;
    }

    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* CTA banner stacks */
    .evt-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 36px 28px;
    }

    .evt-cta-actions {
        justify-content: center;
        width: 100%;
    }

    /* Why attend bar */
    .why-attend-divider {
        display: none;
    }

    .why-attend-cta {
        margin-left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .why-attend-items {
        justify-content: center;
    }

    /* Layout: sidebar above content */
    .event-detail-layout {
        flex-direction: column;
    }

    /* Sidebar: full width flex column */
    .evt-info-sidebar {
        flex: none;
        width: 100%;
        position: static;
        display: flex;
        flex-direction: column;
    }

    /* Order sidebar children */
    .evt-mobile-info-toggle {
        order: 1;
    }

    .evt-info-panel {
        order: 2;
    }

    .evt-quick-links {
        order: 3;
    }

    /* Hide desktop sponsor panel on mobile — mobile copy in content area used instead */
    .evt-sponsor-desktop {
        display: none !important;
    }

    /* Show mobile sponsor copy */
    .evt-sponsor-mobile {
        display: block;
    }

    /* Hide panel by default, show via toggle */
    .evt-info-panel {
        display: none;
    }

    .evt-info-panel.mobile-open {
        display: block;
    }

    .evt-mobile-info-toggle {
        display: flex;
    }

    /* Quick links — full-width row layout */
    .evt-quick-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .evt-quick-link-row:nth-child(2) {
        border-right: none;
    }

    .evt-quick-link-row:nth-child(3),
    .evt-quick-link-row:nth-child(4) {
        border-bottom: none;
    }

    /* Sponsor panel: side by side on tablet */
    .evt-sponsor-panel .evt-sponsor-img {
        padding: 10px 14px;
    }

    /* CTA banner: stack */
    .evt-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 36px 28px;
    }

    .evt-cta-actions {
        justify-content: center;
        width: 100%;
    }

    /* Poster: tablet */
    .evt-poster-wrap {
        height: 280px;
    }

    /* Speaker grid: 3 columns still ok on tablet */
    .evt-speaker-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Why bar */
    .why-attend-divider {
        display: none;
    }

    .why-attend-cta {
        margin-left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .why-attend-items {
        justify-content: center;
    }

    .dird-layout {
        flex-direction: column;
    }

    .dird-sidebar {
        flex: none;
        width: 100%;
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .dird-sidebar-card:first-child {
        grid-column: 1 / -1;
    }

    .dird-tabs-nav {
        position: static;
    }

    .dird-gallery-grid {
        height: 200px;
    }

    .dird-products-grid {
        grid-template-columns: 1fr 1fr;
    }

    .dp-hero-inner {
        flex-direction: column;
        gap: 28px;
    }

    .dp-hero {
        padding: 52px 0 48px;
        overflow-x: hidden;
    }

    .dp-hero-bg::after {
        display: none;
    }

    .dp-who-card {
        flex: none;
        width: 100%;
    }

    .dp-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .access-section {
        padding: 48px 0 56px;
        align-items: flex-start;
    }

    .access-wrap {
        flex-direction: column;
        gap: 32px;
    }

    .access-left {
        display: none;
    }

    .access-benefits {
        max-width: 560px;
        margin: 0 auto;
    }

    .access-benefit-item {
        text-align: left;
    }

    .access-right {
        flex: none;
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
    }

    .otp-wrap {
        flex-direction: column;
        gap: 40px;
    }

    .otp-left {
        display: none;
    }

    .otp-right {
        flex: none;
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }

    .desktop-header-row,
    .desktop-footer-row {
        display: none !important;
    }

    .plans-page {
        padding: 24px 0 60px;
    }

    /* ── P2 mobile: 2-column tabs ── */
    .p2-tabs-override {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 100% !important;
    }

    /* make each tab look like before */
    .p2-tabs-override .p1-tab {
        padding: 10px 6px !important;
        min-height: unset !important;
    }

    /* ── P2 mobile icon switching ── */
    /* default (silver active): show silver, hide gold */
    .p2-icon-s {
        display: flex !important;
    }

    .p2-icon-g {
        display: none !important;
    }

    /* gold active */
    body[data-p2-plan="gold"] .p2-icon-s {
        display: none !important;
    }

    body[data-p2-plan="gold"] .p2-icon-g {
        display: flex !important;
    }

    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blogs-hero {
        padding: 56px 0 48px;
    }

    .blogdt-layout {
        flex-direction: column;
    }

    .blogdt-sidebar {
        flex: none;
        width: 100%;
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .blogdt-ad-card,
    .blogdt-cta-card {
        flex: 1;
        min-width: 240px;
    }

    .blogdt-content {
        padding: 26px 28px;
    }

    .blogdt-article-footer {
        padding: 16px 28px 22px;
    }

    .nl-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nl-hero {
        padding: 72px 0 64px;
        min-height: 360px;
    }

    .nl-hero-title {
        font-size: clamp(34px, 8vw, 52px);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-hero {
        padding: 56px 0 48px;
    }

    .dash-grid {
        grid-template-columns: 1fr;
    }

    .dash-main {
        padding: 24px 20px 48px;
    }

    .dash-quicklinks-card {
        order: -1;
    }

    .mb-main {
        padding: 24px 20px 48px !important;
    }

    .mb-cards {
        grid-template-columns: 1fr 1fr;
    }

    .mb-stat-strip {
        flex-wrap: wrap;
        gap: 16px;
        padding: 18px 20px;
    }

    .mb-stat {
        flex: 1 1 140px;
        padding: 0;
    }

    .mb-stat-sep {
        display: none;
    }

    .biz-hours-row {
        grid-template-columns: 80px 1fr 1fr;
    }

    .biz-closed-btn {
        grid-column: 1 / -1;
        width: fit-content;
    }

    .biz-products-grid {
        grid-template-columns: 1fr 1fr;
    }

    .sc-dashboard {
        overflow-x: hidden;
    }

    .dashboard-wrap {
        overflow-x: hidden;
    }

    .txn-main {
        padding: 20px 12px 40px !important;
    }

    .txn-card {
        border-radius: 12px;
    }
}

/* ══════════════════════════════════════
   DESKTOP (≥992px)
   ══════════════════════════════════════ */

@media (min-width: 992px) {
    .site-navbar .dropdown:hover>.dropdown-menu {
        display: block;
        margin-top: 0;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 9999;
    }

    .navbar-toggler {
        display: none !important;
    }


    /* hide all mobile-only blocks */
    .p1-mobile-tabs,
    .p1-mobile-select-bar,
    .p2-mobile-header,
    .p2-mobile-btns {
        display: none !important;
    }

    /* hero */
    .plans-hero {
        padding: 72px 0 64px;
    }

    .plans-hero-title {
        font-size: clamp(36px, 5.5vw, 60px);
    }

    .plans-hero-desc {
        font-size: 15.5px;
    }

    /* page */
    .plans-page {
        padding: 12px 0 80px;
    }

    /* card */
    .plans-card {
        max-width: 1100px;
        border-radius: 14px;
    }

    /* simple chapter cards: 3 columns */
    .plans-simple-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 960px;
        gap: 20px;
    }

    .plan-simple-card {
        padding: 28px 20px;
    }

    .plan-simple-name {
        font-size: 20px;
    }

    /* ── SHARED DESKTOP TABLE LAYOUT ── */

    /* hide mobile icon toggling — show all 3 icons always */
    .plans-card--compare3 .pfi-s,
    .plans-card--compare3 .pfi-g,
    .plans-card--compare3 .pfi-p {
        display: flex !important;
    }

    body[data-active-plan="gold"] .plans-card--compare3 .pfi-s,
    body[data-active-plan="gold"] .plans-card--compare3 .pfi-g,
    body[data-active-plan="gold"] .plans-card--compare3 .pfi-p {
        display: flex !important;
    }

    body[data-active-plan="platinum"] .plans-card--compare3 .pfi-s,
    body[data-active-plan="platinum"] .plans-card--compare3 .pfi-g,
    body[data-active-plan="platinum"] .plans-card--compare3 .pfi-p {
        display: flex !important;
    }

    /* desktop header row */
    .desktop-header-row {
        display: grid !important;
        grid-template-columns: 1.2fr 500px;
        align-items: center;
        padding: 0 50px;
        border-bottom: 2px solid #eee;
        background: #fff;
    }

    .header-compare-label {
        font-size: 22px;
        font-weight: 900;
        color: #1a2b3c;
        letter-spacing: -.5px;
        padding: 30px 0 10px;
    }

    .plan-header-cols {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 20px 0;
    }

    .p2-desktop-header-cols {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 20px 0;
    }

    .plan-col-head {
        padding: 18px 10px;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
    }

    .plan-head-name {
        font-size: 20px;
    }

    .plan-head-cycle {
        font-size: 13px;
    }

    /* page 1 feat row — desktop grid */
    .plan-feat-row {
        display: grid !important;
        grid-template-columns: 1.2fr 500px;
        align-items: center;
        padding: 20px 50px !important;
        gap: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, .05);
    }

    .plan-feat-columns {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        text-align: center;
    }

    .plan-feat-columns .pfi {
        margin: 0 auto;
    }

    /* page 2 feat row — desktop grid */
    .p2-feat-row {
        display: grid !important;
        grid-template-columns: 1.2fr 500px;
        align-items: center;
        padding: 20px 50px !important;
        gap: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, .05);
    }

    .p2-feat-icons {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        text-align: center;
    }

    .p2-feat-icons .pfi {
        margin: 0 auto;
    }

    /* feature text desktop */
    .plan-feat-text {
        max-width: 100%;
    }

    .plan-feat-name {
        font-size: 15px !important;
    }

    .plan-feat-sub {
        font-size: 12.5px !important;
    }

    /* divider desktop */
    .plan-divider {
        padding: 14px 50px;
    }

    /* desktop footer row */
    .desktop-footer-row {
        display: grid !important;
        grid-template-columns: 1.2fr 500px;
        align-items: center;
        padding: 30px 50px 44px;
        background: #fdfdfd;
        border-top: 1px solid #eee;
    }

    .plan-footer-cols {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .p2-desktop-footer-cols {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .btn-select-plan {
        font-size: 15px;
        padding: 13px;
    }

    /* ══════════════════════════════════════
   DESKTOP: hide mobile-only elements
   always via higher specificity
   ══════════════════════════════════════ */


    .desktop-header-row,
    .desktop-footer-row {
        display: grid;
    }
}

/* ── MOBILE (< 768px) ── */

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 36px;
    }

    .footer-left,
    .footer-right {
        max-width: 100%;
        min-width: unset;
    }
}

@media (max-width: 767.98px) {

    /* Header fix */
    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        height: 64px;
    }

    .header-inner .logo img {
        max-width: 130px;
        height: 25px;
        transform: scale(1.1);
        object-fit: contain;
    }

    .header-cta {
        display: flex;
        align-items: center;
        gap: 6px;
    }


    .btn-nav-join .login-text {
        display: none;
    }

    /* Make button circular */
    .btn-nav-join {
        width: 36px;
        height: 36px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

    /* Globals */
    .section-pad {
        padding: 64px 0;
    }

    /* Announce bar - compact on mobile */
    .announce-bar {
        padding: 8px 12px;
        font-size: 11.5px;
    }

    .announce-bar strong {
        display: block;
        margin-bottom: 2px;
    }

    /* Header */


    /* Hero */
    .hero-section {
        min-height: 70vh;
    }

    .hero-content {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .hero-title {
        font-size: clamp(28px, 8vw, 38px);
    }

    .hero-desc {
        font-size: 15px;
    }

    .hero-btns .btn-primary-custom,
    .hero-btns .btn-white-outline {
        width: 100%;
        justify-content: center;
        margin-bottom: 8px;
    }

    .hero-btns {
        flex-direction: column;
    }

    .hero-stats {
        gap: 18px;
        justify-content: flex-start;
    }

    .hero-stats>div {
        flex: 0 0 calc(50% - 9px);
        max-width: calc(50% - 9px);
    }

    .stat-num {
        font-size: 24px;
    }

    .stat-lbl {
        font-size: 10px;
    }

    /* Sponsor bar */
    .sponsor-divider {
        display: none;
    }

    .sponsor-label {
        text-align: center;
    }

    .sponsor-img-wrap {
        height: 70px;
    }

    /* Section titles */
    .section-title {
        font-size: clamp(24px, 7vw, 34px);
    }

    .mission-title {
        font-size: clamp(26px, 7vw, 36px);
    }

    .section-sub {
        font-size: 14px;
    }

    /* About floats — hide on small screens to avoid overflow */
    .about-float {
        display: none;
    }

    .about-mini-img {
        display: none;
    }

    /* About section */
    .about-main-img {
        aspect-ratio: 3/4;
    }

    .about-main-img img {
        object-position: center top;
    }

    .feature-card {
        padding: 14px 16px;
    }

    .feature-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .feature-text h4 {
        font-size: 13.5px;
    }

    .feature-text p {
        font-size: 12.5px;
    }

    /* Mission image */
    .mission-img img {
        height: 260px;
    }

    .trust-badge {
        font-size: 11px;
        padding: 5px 12px;
    }

    /* Chapter tabs — 2x2 grid on mobile */
    .chapter-nav-tabs {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        justify-content: center !important;
        overflow-x: visible !important;
        padding-bottom: 20px !important;
    }

    .chapter-nav-tabs .nav-item {
        flex: 0 0 calc(50% - 5px) !important;
        max-width: calc(50% - 5px) !important;
    }

    .chapter-tab-btn {
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        font-size: 11px !important;
        padding: 8px 6px !important;
        white-space: normal !important;
        line-height: 1.3 !important;
        height: 100% !important;
        min-height: unset !important;
        gap: 5px !important;
    }

    .chapter-tab-btn i,
    .chapter-tab-btn svg {
        flex-shrink: 0 !important;
        font-size: 12px !important;
    }

    .tab-content>.tab-pane.active {
        flex-direction: column;
    }

    .chapter-info {
        padding: 28px 22px;
    }

    .chapter-info h3 {
        font-size: 22px;
    }

    .chapter-info p {
        font-size: 13px;
    }

    .chapter-img-panel {
        min-height: 220px;
    }

    /* Offer cards */
    .offer-card {
        padding: 22px 18px;
    }

    .offer-card h3 {
        font-size: 14px;
    }

    .offer-card p {
        font-size: 12.5px;
    }

    /* Team slider — 1 per page on mobile */
    .team-card {
        flex: 0 0 100% !important;
    }

    /* Team section */
    .team-section .section-title {
        font-size: clamp(22px, 6vw, 30px);
    }

    /* Keep slider horizontal on mobile */
    #teamSlider {
        flex-direction: row !important;
        transform: none !important;
        gap: 16px;
    }

    /* Team slider wrapper - allow horizontal scroll on mobile */
    .team-section .overflow-hidden {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .team-section .overflow-hidden::-webkit-scrollbar {
        display: none;
    }

    /* Ensure all team cards are visible */
    .team-card {
        display: flex !important;
        visibility: visible !important;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    /* Events */
    .event-img-wrap {
        height: 200px;
    }

    .event-body {
        padding: 20px 18px;
    }

    .event-body h3 {
        font-size: 18px;
    }

    .event-body p {
        font-size: 12.5px;
    }

    /* Skill cards */
    .skill-card {
        padding: 16px 14px;
    }

    .skill-text h4 {
        font-size: 13px;
    }

    /* Why join */
    .why-card {
        padding: 22px 18px;
    }

    .why-title {
        font-size: 16px;
    }

    .why-desc {
        font-size: 12.5px;
    }

    /* Video testimonials */
    .vid-card {
        aspect-ratio: 16/9;
    }

    .vid-play-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    /* FAQ */
    .faq-question {
        padding: 16px 18px;
        font-size: 14px;
    }

    .faq-answer.open {
        padding: 0 18px 16px 44px;
        font-size: 13px;
    }

    .faq-answer {
        font-size: 13px;
    }

    /* FAQ sidebar stacks below on mobile */
    .faq-sidebar {
        margin-top: 28px;
    }

    /* Footer - Updated compact footer */
    .site-footer {
        padding: 32px 0 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
    }

    .footer-left,
    .footer-right {
        max-width: 100%;
    }

    .footer-left .footer-logo {
        height: 36px;
        margin-bottom: 12px;
    }

    .footer-left .footer-desc {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .footer-left .footer-addr {
        font-size: 11px;
        flex-direction: row;
        align-items: flex-start;
        gap: 6px;
    }

    .footer-right h5 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .footer-right .footer-sub {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .footer-right .btn-ygreen.btn-sm {
        padding: 8px 18px;
        font-size: 12px;
        margin-bottom: 16px;
    }

    .footer-links {
        gap: 6px 12px;
    }

    .footer-links a {
        font-size: 11px;
    }

    .footer-links .btn-attendance {
        padding: 4px 10px;
        font-size: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding-top: 16px;
    }

    .footer-bottom p {
        font-size: 11px;
    }

    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    /* WhatsApp float */
    .wa-float {
        bottom: 18px;
        right: 18px;
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    .dir-filters-wrap {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        height: 100%;
        background: #fff;
        z-index: 1100;
        overflow-y: auto;
        transition: 0.3s;
        padding: 20px;
    }

    /* when filter opens */
    .dir-filters-wrap.show-filter {
        left: 0;
    }

    .mar-land-hero {
        padding: 40px 0 34px;
    }

    .mar-land-main {
        padding: 20px 14px 44px;
    }

    .view-hero {
        padding: 36px 0 30px;
    }

    .view-main {
        padding: 18px 14px 44px;
    }

    .view-info-grid {
        grid-template-columns: 1fr;
    }

    .view-info-item {
        border-right: none;
    }

    .view-info-item:last-child {
        border-bottom: none;
    }

    .view-person-row {
        flex-wrap: wrap;
    }

    .view-person-phone {
        margin-left: 0;
    }

    /* prevent horizontal scroll */
    html,
    body {
        overflow-x: hidden;
    }

    .events-hero,
    .why-attend-section,
    .events-main {
        overflow-x: hidden;
        max-width: 100%;
    }

    /* kill decorative circle bleeding right */
    .events-hero::after {
        display: none;
    }

    .events-hero {
        padding: 56px 0 52px;
    }

    .events-title {
        font-size: clamp(28px, 8vw, 42px);
    }

    .events-desc {
        font-size: 14px;
    }

    .events-stats {
        gap: 20px;
    }

    .evt-stat-num {
        font-size: 22px;
    }

    .events-layout {
        flex-direction: column;
        gap: 14px;
        overflow-x: hidden;
    }

    .filter-sidebar {
        flex: none;
        width: 100%;
        min-width: unset;
        position: static;
    }

    .filter-panel {
        display: none;
    }

    .filter-panel.mobile-open {
        display: block;
    }

    .filter-mobile-toggle {
        display: flex;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        max-width: 100%;
    }

    .event-card-new {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* list view fix on mobile */
    .events-grid.list-view .event-card-new {
        flex-direction: column;
    }

    .events-grid.list-view .evt-poster-wrap {
        width: 100%;
        min-width: unset;
        aspect-ratio: 4 / 3;
        min-height: unset;
    }

    .why-attend-section {
        padding: 22px 0;
    }

    .why-attend-inner {
        flex-direction: column;
        gap: 14px;
    }

    .why-attend-heading {
        width: 100%;
        text-align: center;
        font-size: 16px;
    }

    .why-attend-items {
        justify-content: center;
        gap: 8px;
    }

    .why-attend-item {
        font-size: 12px;
        padding: 8px 14px;
    }

    .why-attend-cta {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-left: 0;
    }

    .evt-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px 18px;
        border-radius: 14px;
        gap: 18px;
        margin-bottom: 20px;
    }

    .evt-cta-text h3 {
        font-size: 18px;
    }

    .evt-cta-text p {
        font-size: 13px;
    }

    .evt-cta-actions {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .evt-cta-actions .btn-ygreen,
    .evt-cta-actions .btn-white-outline {
        width: 100%;
        justify-content: center;
    }

    /* ── HERO ── */
    .event-detail-hero {
        padding: 44px 0 40px;
    }

    .evt-breadcrumb {
        font-size: 11px;
        gap: 4px;
    }

    .evt-detail-badge {
        font-size: 10.5px;
        padding: 5px 12px;
        margin-bottom: 14px;
    }

    .evt-detail-title {
        font-size: clamp(26px, 7.5vw, 38px);
        margin-bottom: 12px;
    }

    .evt-detail-desc {
        font-size: 13.5px;
        line-height: 1.65;
        margin-bottom: 20px;
    }

    .evt-detail-stats {
        gap: 16px;
        flex-wrap: wrap;
    }

    .evt-detail-stats .evt-stat-item {
        flex: 0 0 calc(50% - 8px);
    }

    .evt-stat-num {
        font-size: 20px;
    }

    .evt-stat-lbl {
        font-size: 11px;
    }

    /* ── WHY ATTEND BAR ── */
    .why-attend-section {
        padding: 22px 0;
    }

    .why-attend-inner {
        flex-direction: column;
        gap: 14px;
    }

    .why-attend-heading {
        width: 100%;
        text-align: center;
        font-size: 16px;
    }

    .why-attend-items {
        justify-content: center;
        gap: 8px;
    }

    .why-attend-item {
        font-size: 12px;
        padding: 8px 14px;
    }

    .why-attend-cta {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-left: 0;
    }

    .why-attend-cta .btn-primary-custom {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* ── MAIN SECTION ── */
    .event-detail-main {
        padding: 28px 0 52px;
    }

    /* ── CTA BANNER ── */
    .evt-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px 18px;
        border-radius: 14px;
        gap: 18px;
        margin-bottom: 20px;
    }

    .evt-cta-text h3 {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .evt-cta-text p {
        font-size: 13px;
    }

    .evt-cta-actions {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .evt-cta-actions .btn-ygreen,
    .evt-cta-actions .btn-white-outline {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 13.5px;
    }

    /* ── SIDEBAR ── */
    .evt-info-sidebar {
        width: 100%;
    }

    .evt-mobile-info-toggle {
        padding: 12px 16px;
        font-size: 13.5px;
    }

    .evt-info-panel-header {
        padding: 14px 16px;
    }

    .evt-info-row {
        padding: 12px 16px;
    }

    .evt-info-icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .evt-info-label {
        font-size: 9.5px;
    }

    .evt-info-value {
        font-size: 13px;
    }

    .evt-fee-big {
        font-size: 19px;
    }

    .evt-register-btn {
        width: calc(100% - 32px);
        margin: 12px 16px;
        font-size: 13px;
        padding: 11px;
    }

    /* Quick links — full width rows on mobile */
    .evt-quick-links {
        display: block;
    }

    .evt-quick-link-row {
        padding: 11px 16px;
        font-size: 12.5px;
    }

    /* Sponsor panel */
    .evt-sponsor-header {
        padding: 12px 14px;
        font-size: 10px;
    }

    /* ── POSTER CARD ── */
    .evt-poster-card {
        border-radius: 12px;
        margin-bottom: 14px;
    }

    .evt-poster-wrap {
        height: 220px;
    }

    .evt-poster-wrap .evt-status-badge {
        top: 10px;
        left: 10px;
        font-size: 9.5px;
        padding: 4px 9px;
    }

    .evt-share-btn {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .evt-poster-bottom {
        padding: 12px 14px;
    }

    .evt-date-chip {
        font-size: 11.5px;
        padding: 5px 11px;
    }

    /* Thumbnails: smaller on mobile */
    .evt-thumb-strip {
        padding: 10px 14px;
    }

    .evt-thumb {
        width: 60px;
        height: 44px;
        border-radius: 6px;
    }

    .evt-thumb-strip .swiper-slide {
        width: 60px !important;
    }

    /* Poster body */
    .evt-poster-body {
        padding: 14px 16px 12px;
    }

    .evt-poster-toolbar {
        margin-bottom: 8px;
    }

    .evt-poster-chapter {
        font-size: 10px;
    }

    .evt-poster-name {
        font-size: clamp(16px, 5vw, 22px);
        margin-bottom: 10px;
    }

    .evt-meta-row {
        gap: 6px;
        margin-bottom: 10px;
    }

    .evt-meta-pill {
        font-size: 11.5px;
        padding: 5px 10px;
    }

    .evt-meta-pill i {
        font-size: 10px;
    }

    .evt-desc-text {
        font-size: 13px;
        line-height: 1.7;
    }

    .evt-tags {
        gap: 5px;
        margin-top: 10px;
    }

    .evt-tag {
        font-size: 10.5px;
        padding: 3px 8px;
    }

    /* Poster footer: stack buttons */
    .evt-poster-footer {
        flex-direction: column;
        padding: 12px 16px;
        gap: 8px;
    }

    .btn-evt-register,
    .btn-evt-directions {
        width: 100%;
        padding: 11px 16px;
        font-size: 12.5px;
        justify-content: center;
    }

    /* ── SECTION CARDS ── */
    .evt-section-card {
        border-radius: 12px;
        margin-bottom: 14px;
    }

    .evt-section-header {
        padding: 13px 16px;
    }

    .evt-section-header h3 {
        font-size: 13px;
    }

    .evt-section-body {
        padding: 16px;
    }

    /* About content */
    .evt-about-content {
        font-size: 13.5px;
        line-height: 1.75;
    }

    /* Speakers: 2 columns on mobile */
    .evt-speaker-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .evt-speaker-img-wrap {
        width: 70px;
        height: 70px;
    }

    .evt-speaker-role-pill {
        font-size: 7.5px;
        padding: 2px 6px;
    }

    .evt-speaker-name {
        font-size: 12px;
    }

    .evt-speaker-desig {
        font-size: 10.5px;
    }

    /* Sponsors: 2 columns on mobile */
    .evt-sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .evt-sponsor-item {
        padding: 12px 8px;
    }

    .evt-sponsor-item img {
        max-height: 38px;
    }

    .evt-sponsor-item span {
        font-size: 10.5px;
    }

    /* RSVP Modal */
    .rsvp-modal-hdr {
        padding: 16px 18px;
    }

    .rsvp-modal-hdr h5 {
        font-size: 15px;
    }

    .rsvp-form-group label {
        font-size: 10px;
    }

    .rsvp-form-group input,
    .rsvp-form-group select {
        font-size: 13px;
        padding: 9px 12px;
    }

    .dir-hero {
        padding: 40px 0 36px;
    }

    .dir-why-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .dir-filters-mobile-toggle {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 20px;
        background: #fff;
        border: 1.5px solid var(--border);
        border-radius: 10px;
        font-size: 14px;
        font-weight: 600;
        color: var(--dark);
        width: 100%;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(70, 103, 64, .07);
    }



    .dir-filters-wrap.mobile-open {
        display: block;
    }

    .dir-card {
        flex-direction: column;
    }

    .dir-card-logo {
        width: 100%;
        min-width: unset;
        border-right: none;
        border-bottom: 1.5px solid var(--border);
        padding: 16px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 14px;
    }

    .dir-card-member {
        width: 100%;
        min-width: unset;
        flex-direction: row;
        border-left: none;
        border-top: 1.5px solid var(--border);
        justify-content: flex-start;
        text-align: left;
        gap: 12px;
        flex-wrap: wrap;
        padding: 12px 16px;
    }

    .dir-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .dir-search-wrap {
        max-width: 100%;
        width: 100%;
    }

    #reviewModal .modal-dialog {
        margin: 8px;
    }

    .rv-modal-body {
        padding: 18px 16px 16px;
    }

    .prod-modal-dialog {
        margin: 8px;
    }

    .prod-modal-hdr {
        padding: 18px 18px 14px;
    }

    .prod-modal-title {
        font-size: 16px;
    }

    .prod-modal-body {
        padding: 18px 16px;
    }

    .prod-modal-footer {
        padding: 14px 16px 18px;
    }

    .prod-modal-img-wrap {
        max-height: 200px;
    }

    .prod-modal-img-wrap img {
        height: 200px;
    }

    .dp-hero {
        padding: 40px 0 36px;
    }

    .dp-hero-title {
        font-size: clamp(26px, 8vw, 38px);
    }

    .dp-hero-desc {
        font-size: 14px;
    }

    .dp-who-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .dp-cards-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .dp-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .dp-search-wrap {
        width: 100%;
    }

    .dp-card-wrap .flip-scene {
        height: 220px;
    }

    .dp-discount-badge {
        flex: 0 0 95px;
    }

    .dp-discount-value {
        font-size: 32px;
    }

    .register-section {
        padding: 40px 0 60px;
    }

    .register-card {
        padding: 28px 20px;
        border-radius: 18px;
    }

    .reg-grid {
        grid-template-columns: 1fr;
    }

    .reg-field-full {
        grid-column: 1;
    }

    .rev-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .rev-filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .rev-filter-right {
        width: 100%;
    }

    .rev-select {
        flex: 1;
    }

    .rev-card {
        flex-direction: column;
    }

    .rev-card-left {
        flex: none;
        width: 100%;
        flex-direction: row;
        text-align: left;
        border-right: none;
        border-bottom: 1.5px solid var(--tea);
        padding: 14px 16px;
        gap: 12px;
        flex-wrap: wrap;
    }

    .rev-card-right {
        padding: 16px;
    }

    .mb-cards {
        grid-template-columns: 1fr;
    }

    .biz-fields-grid {
        grid-template-columns: 1fr;
    }

    .biz-field-full {
        grid-column: 1;
    }

    .biz-upload-row {
        flex-direction: column;
    }

    .biz-upload-preview {
        width: 100%;
        height: 160px;
    }

    .biz-hours-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .biz-day-label {
        grid-column: 1 / -1;
        padding-bottom: 0;
    }

    .biz-closed-btn {
        grid-column: 1 / -1;
    }

    .biz-photos-grid {
        grid-template-columns: 1fr;
    }

    .biz-products-grid {
        grid-template-columns: 1fr;
    }

    .rsvp-grid {
        grid-template-columns: 1fr;
    }

    .rsvp-tabs-wrap {
        width: 100%;
    }

    .rsvp-tab {
        flex: 1;
        justify-content: center;
    }

    .myplan-cards-grid {
        grid-template-columns: 1fr;
    }

    .myplan-renew-card {
        flex-direction: column;
        text-align: center;
    }

    .myplan-renew-icon {
        margin: 0 auto;
    }

    .myplan-renew-text {
        text-align: center;
    }

    .enq-grid {
        grid-template-columns: 1fr;
    }

    .enq-grid {
        grid-template-columns: 1fr;
    }

    .enq-tabs-wrap {
        width: 100%;
    }

    .enq-tab {
        flex: 1;
        justify-content: center;
    }

    .pb-main {
        padding: 32px 0 56px;
    }

    .pb-card {
        border-radius: 16px;
        margin: 0 12px;
    }

    .pb-plan-strip {
        padding: 18px 20px;
    }

    .pb-plan-name {
        font-size: 16px;
    }

    .pb-plan-price {
        font-size: 18px;
    }

    .pb-form-body {
        padding: 20px 18px 18px;
    }

    .pb-fields-grid {
        grid-template-columns: 1fr;
    }

    .pb-field-full {
        grid-column: 1;
    }

    .mar-fgrid {
        grid-template-columns: 1fr;
    }

    .mar-ff {
        grid-column: 1;
    }

    .mar-main {
        padding: 24px 0 52px;
    }

    .mar-wrap {
        padding: 0 14px;
    }

    .mar-entry-body {
        padding: 16px 16px 14px;
    }

    .mar-entry-hdr {
        padding: 14px 16px;
    }

    .mar-stepper {
        overflow-x: auto;
    }

    .mar-step {
        padding: 13px 14px;
        white-space: nowrap;
        font-size: 12px;
    }

    .mar-fgrid {
        grid-template-columns: 1fr;
    }

    .mar-ff {
        grid-column: 1;
    }

    .mar-main {
        padding: 24px 0 52px;
    }

    .mar-wrap {
        padding: 0 14px;
    }

    .mar-entry-body {
        padding: 16px 16px 14px;
    }

    .mar-entry-hdr {
        padding: 14px 16px;
    }

    .mar-stepper {
        overflow-x: auto;
    }

    .mar-step {
        padding: 13px 14px;
        white-space: nowrap;
        font-size: 12px;
    }

    .mar-person-row {
        flex-wrap: wrap;
    }

    .mar-fgrid {
        grid-template-columns: 1fr;
    }

    .mar-ff {
        grid-column: 1;
    }

    .mar-main {
        padding: 24px 0 52px;
    }

    .mar-wrap {
        padding: 0 14px;
    }

    .mar-entry-body {
        padding: 16px 16px 14px;
    }

    .mar-entry-hdr {
        padding: 14px 16px;
    }

    .mar-stepper {
        overflow-x: auto;
    }

    .mar-step {
        padding: 13px 14px;
        white-space: nowrap;
        font-size: 12px;
    }

    .mar-form-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .mar-submit-final {
        width: 100%;
        justify-content: center;
    }

    .dird-hero {
        padding: 36px 0 32px;
    }

    .dird-hero-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
        gap: 16px;
    }

    .dird-hero-meta {
        justify-content: center;
    }

    .dird-rating-row {
        justify-content: center;
    }

    .dird-hero-address {
        justify-content: center;
    }

    .dird-gallery-grid {
        height: 160px;
        padding: 8px 12px;
        gap: 6px;
    }

    .dird-gal-item {
        width: 140px;
    }

    .dird-sidebar {
        grid-template-columns: 1fr;
    }

    .dird-tabs-nav {
        gap: 4px;
    }

    .dird-tab {
        font-size: 11.5px;
        padding: 8px 10px;
    }

    .dird-tab i {
        display: none;
    }

    .dird-products-grid {
        grid-template-columns: 1fr;
    }

    .dird-detail-grid {
        grid-template-columns: 1fr;
    }

    .dird-detail-item {
        border-right: none;
    }

    .dird-review-card {
        flex-direction: column;
        gap: 10px;
    }

    .dird-reviewer-info {
        flex-direction: row;
        max-width: unset;
        min-width: unset;
    }

    .dird-review-header-inner {
        flex-direction: column;
        gap: 12px;
    }

    .dird-review-summary {
        flex-wrap: wrap;
    }

    /* Review Modal mobile */
    #reviewModal .modal-dialog {
        margin: 10px;
    }

    .rv-modal-hdr {
        padding: 18px 20px 16px;
    }

    .rv-modal-title {
        font-size: 16px;
    }

    .rv-modal-body {
        padding: 20px 18px 16px;
    }

    .rv-fields-grid {
        grid-template-columns: 1fr;
    }

    .rv-field-full {
        grid-column: 1;
    }

    .rv-modal-footer {
        padding: 14px 18px 20px;
    }
}

@media (max-width: 400px) {
    .dir-card-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ── EXTRA SMALL (< 480px) ── */
@media (max-width: 480px) {
    .plans-hero {
        padding: 48px 0 40px;
    }

    .plans-hero-title {
        font-size: 28px;
    }

    .plans-hero-desc {
        font-size: 13px;
    }

    .p1-tab {
        padding: 8px 4px;
    }

    .p1-tab-name {
        font-size: 11px;
    }

    .p1-tab-cycle {
        font-size: 9px;
    }

    .p1-tab-price {
        font-size: 13px;
    }

    .plan-feat-name {
        font-size: 12px !important;
    }

    .plan-feat-sub {
        font-size: 10.5px !important;
    }

    .p2-pill-name {
        font-size: 13px;
    }

    .p2-pill-cycle {
        font-size: 10px;
    }

    .p2-mobile-btns {
        grid-template-columns: 1fr;
    }

    .plans-simple-grid {
        max-width: 100%;
    }
}

@media (max-width: 479.98px) {
    .hero-badge {
        padding: 5px 14px;
    }

    .hero-badge span {
        font-size: 10px;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

    .hero-stats>div {
        flex: 0 0 calc(50% - 9px);
        max-width: calc(50% - 9px);
        margin-bottom: 8px;
    }

    .stat-num {
        font-size: 22px;
    }

    .stat-lbl {
        font-size: 11px;
    }

    /* Header CTA - completely hide secondary */


    .chapter-tab-btn {
        font-size: 11px;
        padding: 6px 12px;
    }

    .chapter-info h3 {
        font-size: 20px;
    }

    .chapter-info {
        padding: 22px 16px;
    }

    .chapter-img-panel {
        min-height: 180px;
    }

    .offer-card {
        padding: 18px 14px;
    }

    .offer-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .why-card {
        padding: 18px 14px;
    }

    .why-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .skill-card {
        padding: 14px 12px;
    }

    .skill-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .footer-cta-bar h2 {
        font-size: 15px;
    }

    .btn-ygreen {
        padding: 11px 24px;
        font-size: 13px;
    }

    .events-main {
        padding: 40px 0 60px;
    }

    .evt-card-actions {
        flex-direction: column;
    }

    .btn-register-new,
    .btn-details-new {
        width: 100%;
    }

    .event-detail-hero {
        padding: 36px 0 32px;
    }

    .evt-detail-title {
        font-size: clamp(22px, 7vw, 30px);
    }

    .evt-detail-desc {
        display: none;
    }

    .evt-detail-stats {
        gap: 12px;
    }

    .evt-detail-stats .evt-stat-item {
        flex: 0 0 calc(50% - 6px);
    }

    .evt-stat-num {
        font-size: 18px;
    }

    .evt-cta-banner {
        padding: 20px 14px;
    }

    .evt-cta-text h3 {
        font-size: 16px;
    }

    .evt-poster-wrap {
        height: 200px;
    }

    .evt-poster-name {
        font-size: 15px;
    }

    .evt-meta-pill {
        font-size: 10.5px;
        padding: 4px 8px;
    }

    .evt-speaker-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .evt-speaker-img-wrap {
        width: 60px;
        height: 60px;
    }

    .evt-speaker-name {
        font-size: 11px;
    }

    .evt-speaker-desig {
        font-size: 9.5px;
    }

    .evt-sponsors-grid {
        grid-template-columns: 1fr 1fr;
    }

    .evt-section-header h3 {
        font-size: 12px;
    }

    .evt-section-body {
        padding: 14px 12px;
    }

    .evt-about-content {
        font-size: 13px;
    }

    .why-attend-item {
        font-size: 11px;
        padding: 6px 10px;
    }

    .why-attend-item i {
        font-size: 10px;
    }

    .evt-register-btn,
    .btn-evt-register,
    .btn-evt-directions {
        min-height: 44px;
    }

    .evt-quick-link-row {
        min-height: 44px;
    }

    .dp-card-wrap .flip-scene {
        height: 200px;
    }

    .dp-discount-badge {
        flex: 0 0 85px;
        padding: 14px 10px;
    }

    .dp-discount-value {
        font-size: 28px;
    }

    .dp-biz-name {
        font-size: 14px;
    }

    .pb-plan-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .pb-plan-price {
        text-align: left;
    }

    .mar-hero {
        padding: 36px 0 30px;
    }

    .mar-hero-title {
        font-size: 22px;
    }

    .mar-yn-group {
        flex-direction: row;
        gap: 10px;
    }

    .mar-radio-group {
        gap: 5px;
    }

    .mar-radio-pill {
        font-size: 12px;
        padding: 7px 12px;
    }

    .mar-hero {
        padding: 36px 0 30px;
    }

    .mar-radio-group {
        gap: 5px;
    }

    .mar-radio-pill {
        font-size: 12px;
        padding: 7px 12px;
    }

    .mar-hero {
        padding: 36px 0 30px;
    }

    .mar-radio-pill {
        font-size: 12px;
        padding: 7px 12px;
    }

    .dird-tabs-nav {
        gap: 3px;
        padding: 4px;
    }

    .dird-tab {
        font-size: 11px;
        padding: 7px 8px;
    }

    .dird-hero-title {
        font-size: 22px;
    }

    .dird-product-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .dird-product-actions {
        width: 100%;
    }

    .dird-btn-outline,
    .dird-btn-primary {
        width: 100%;
    }
}

/* ── NAVBAR TOGGLER STYLE ── */
.navbar-toggler {
    border: 1.5px solid var(--tea);
    border-radius: 8px;
    padding: 6px 10px;
    color: var(--dark);
    background: transparent;
    font-size: 18px;
    line-height: 1;
    position: relative;
    /*z-index: 1050;*/
}

/* When nav is open, keep toggler fixed at navbar level */
.site-navbar .navbar-toggler[aria-expanded="true"] {
    position: fixed;
    top: 78px;
    right: 16px;
    z-index: 1060;
    background: white;
    border-color: var(--tea);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(70, 103, 64, .2);
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2830,43,28,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-size: 100% 100%;
}

/* ── SWIPER PAGINATION DOTS (hero) ── */
.hero-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, .5);
    opacity: 1;
    width: 8px;
    height: 8px;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--ygreen);
    width: 22px;
    border-radius: 4px;
}

/* ── TOUCH DEVICES - IMPROVE TOUCH AREAS ── */
@media (hover: none) and (pointer: coarse) {

    .btn-primary-custom,
    .btn-outline-custom,
    .btn-white-outline,
    .btn-ygreen,
    .btn-nav-join,
    .btn-nav-member {
        min-height: 44px;
    }

    .faq-question {
        min-height: 52px;
    }

    .chapter-tab-btn {
        min-height: 40px;
    }

    .slider-btn {
        min-width: 44px;
        min-height: 44px;
    }

    .evt-register-btn,
    .btn-evt-register,
    .btn-evt-directions,
    .evt-cta-actions .btn-ygreen,
    .evt-cta-actions .btn-white-outline {
        min-height: 46px;
    }

    .evt-quick-link-row {
        min-height: 46px;
    }

    .evt-thumb {
        min-width: 64px;
    }

    .evt-faq-btn {
        min-height: 52px;
    }
}

/* ── DARK MODE SUPPORT (optional) ── */
@media (prefers-color-scheme: dark) {
    /* Can add dark mode styles here if needed */
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-swiper .swiper-slide {
        transition: none !important;
    }

    #teamSlider {
        transition: none !important;
    }

    .evt-poster-wrap .swiper-slide img,
    .evt-poster-card,
    .evt-section-card,
    .s4b-reveal {
        transition: none !important;
        animation: none !important;
    }
}

/* ── PRINT ── */
@media print {

    .site-header,
    .site-navbar,
    .wa-float,
    .announce-bar {
        display: none !important;
    }

    .hero-section {
        min-height: auto;
    }

    .s4b-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 1199.98px) {
    .mar-land-main {
        padding: 24px 24px 52px;
    }

    .view-main {
        padding: 24px 24px 52px;
    }

    .filter-sidebar {
        flex: 0 0 220px;
        width: 220px;
        min-width: 220px;
    }

    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dp-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dp-who-card {
        flex: 0 0 340px;
    }

    .dash-grid {
        grid-template-columns: 1fr 300px;
    }

    .dash-main {
        padding: 28px 28px 60px;
    }

    .rev-main {
        padding: 24px 24px 52px !important;
    }

    .mb-main {
        padding: 28px 28px 52px !important;
    }

    .biz-main {
        padding: 24px 24px 52px !important;
    }

    .rsvp-main {
        padding: 28px 24px 52px !important;
    }

    .txn-main {
        padding: 28px 24px 52px !important;
    }

    .myplan-main {
        padding: 28px 24px 52px !important;
    }

    .enq-main {
        padding: 24px 24px 52px !important;
    }

    .idv-main {
        padding: 24px 24px 52px !important;
    }

    .idv-main {
        padding: 24px 24px 52px !important;
    }
}

/* single column on narrow cards */
@media (max-width: 600px) {
    .bc-persons-grid {
        grid-template-columns: 1fr;
    }
}


/* ── Mobile (≤575px) ── */
@media (max-width: 575px) {
    .video-swiper-wrap .swiper-slide {
        width: calc(100% - 0px);
    }
}

@media (max-width: 575.98px) {
    .access-section {
        padding: 32px 0 48px;
        min-height: unset;
    }

    .access-headline {
        font-size: 28px;
    }

    .access-sub {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .access-benefits {
        gap: 10px;
    }

    .access-benefit-item {
        padding: 12px 14px;
        gap: 10px;
    }

    .access-benefit-icon {
        width: 34px;
        height: 34px;
        font-size: 13px;
        flex-shrink: 0;
    }

    .access-benefit-text strong {
        font-size: 13px;
    }

    .access-benefit-text span {
        font-size: 12px;
    }

    .access-right {
        max-width: 100%;
    }

    .access-card {
        padding: 24px 18px 28px;
        border-radius: 18px;
        box-shadow: 0 6px 24px rgba(70, 103, 64, .08);
    }

    .access-card-badge {
        font-size: 10px;
        padding: 4px 12px;
        margin-bottom: 14px;
    }

    .access-card-title {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .access-card-desc {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .access-input-label {
        font-size: 11px;
    }

    #phone {
        height: 48px;
        font-size: 14px;
        padding-left: 82px;
    }

    .btn-access-submit {
        height: 48px;
        font-size: 14px;
        margin-top: 16px;
    }

    .access-terms {
        font-size: 11.5px;
        margin-top: 14px;
    }

    .access-trust {
        gap: 12px;
        margin-top: 16px;
        padding-top: 16px;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .access-trust-item {
        font-size: 10.5px;
        white-space: nowrap;
    }

    .otp-section {
        padding: 40px 0 52px;
    }

    .otp-card {
        padding: 28px 20px;
        border-radius: 18px;
    }

    .otp-digit {
        width: 44px;
        height: 48px;
        flex: 0 0 44px;
        font-size: 20px;
        border-radius: 10px;
    }

    .otp-inputs-row {
        gap: 6px;
    }

    .register-section {
        padding: 28px 0 48px;
    }

    .register-title {
        font-size: 26px;
    }

    .register-card {
        padding: 22px 16px;
        border-radius: 16px;
    }

    .reg-section {
        margin-bottom: 24px;
        padding-bottom: 24px;
    }

    .reg-section-title {
        font-size: 14px;
    }

    .reg-input {
        height: 46px;
        font-size: 13.5px;
    }

    .btn-register-submit {
        height: 48px;
        font-size: 14px;
    }

    .udm-menu {
        min-width: 260px !important;
    }

    .udm-profile {
        padding: 14px 16px;
    }

    .udm-profile-avatar {
        width: 42px;
        height: 42px;
    }

    .udm-nav-item {
        padding: 11px 16px;
    }

    .udm-logout-wrap {
        padding: 10px 16px 14px;
    }

    .blogs-hero {
        padding: 44px 0 36px;
    }

    .blogs-hero-title {
        font-size: 32px;
    }

    .blogs-hero-desc {
        font-size: 14px;
    }

    .blogs-main {
        padding: 36px 0 56px;
    }

    .blogs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .blog-card-body {
        padding: 18px 18px 16px;
    }

    .blog-card-title {
        font-size: 16px;
    }

    .bc-intro {
        padding: 20px 18px 16px;
    }

    .bc-card-hdr {
        padding: 14px 16px;
        gap: 12px;
    }

    .bc-card-body {
        padding: 16px 18px;
    }

    .bc-card-hdr h2 {
        font-size: 15px !important;
    }

    .blogdt-hero {
        padding: 36px 0 32px;
    }

    .blogdt-title {
        font-size: 24px;
    }

    .blogdt-main {
        padding: 32px 0 56px;
    }

    .blogdt-content {
        padding: 20px 18px;
        font-size: 14.5px;
    }

    .blogdt-content>p:first-of-type {
        font-size: 15px;
    }

    .blogdt-content h2 {
        padding: 12px 16px;
        font-size: 17px;
    }

    .blogdt-article-footer {
        padding: 14px 18px 20px;
    }

    .blogdt-sidebar {
        flex-direction: column;
    }

    .blogdt-ad-card,
    .blogdt-cta-card {
        min-width: unset;
    }

    .nl-hero {
        padding: 56px 0 52px;
        min-height: 300px;
    }

    .nl-hero-title {
        font-size: 34px;
    }

    .nl-hero-desc {
        font-size: 14px;
    }

    .nl-main {
        padding: 36px 0 56px;
    }

    .nl-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .gallery-hero {
        padding: 44px 0 36px;
    }

    .gallery-hero-title {
        font-size: 28px;
    }

    .gallery-main {
        padding: 36px 0 56px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .dash-main {
        padding: 18px 14px 40px;
    }

    .dash-topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .dash-check-item {
        padding: 12px 16px;
        gap: 10px;
    }

    .dash-card-hdr {
        padding: 16px 16px 14px;
    }

    .dash-progress-pill {
        margin-left: 0;
    }

    .dash-no-plan {
        padding: 20px 18px;
    }

    .frev-section {
        padding: 24px 0 52px;
    }

    .frev-card {
        border-radius: 16px;
    }

    .frev-form {
        padding: 18px 16px;
    }

    .frev-fields-grid {
        grid-template-columns: 1fr;
    }

    .frev-field-full {
        grid-column: 1;
    }

    .rev-hero {
        padding: 40px 0 34px;
    }

    .rev-main {
        padding: 18px 14px 40px !important;
    }

    .mb-hero {
        padding: 44px 0 36px;
    }

    .mb-main {
        padding: 18px 14px 40px !important;
        gap: 18px;
    }

    .mb-quick-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .biz-hero {
        padding: 40px 0 34px;
    }

    .biz-main {
        padding: 16px 12px 40px !important;
    }

    .biz-stepper {
        padding: 16px 12px;
    }

    .biz-form-body {
        padding: 18px 16px;
    }

    .biz-step small {
        display: none;
    }

    .rsvp-hero {
        padding: 40px 0 34px;
    }

    .rsvp-main {
        padding: 20px 14px 40px !important;
    }

    .txn-hero {
        padding: 40px 0 34px;
    }

    .txn-main {
        padding: 16px 8px 40px !important;
    }

    .txn-card {
        border-radius: 10px;
        border-left: none;
        border-right: none;
    }

    .txn-card-hdr {
        padding: 14px 16px;
    }

    #financeTable thead th,
    #financeTable tbody td {
        padding: 10px 12px !important;
        font-size: 12px;
    }

    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        padding: 12px 16px 6px;
    }

    .dataTables_wrapper .dataTables_paginate,
    .dataTables_wrapper .dataTables_info {
        padding: 10px 16px !important;
    }

    .myplan-hero {
        padding: 40px 0 34px;
    }

    .myplan-main {
        padding: 20px 14px 40px !important;
    }

    .myplan-empty {
        padding: 36px 20px;
    }

    .myplan-card-hdr {
        padding: 14px 16px;
    }

    .myplan-card-body {
        padding: 14px 16px;
    }

    .myplan-renew-card {
        padding: 20px 18px;
    }

    .enq-hero {
        padding: 40px 0 34px;
    }

    .enq-main {
        padding: 18px 14px 40px !important;
    }

    .idv-hero {
        padding: 40px 0 34px;
    }

    .idv-main {
        padding: 18px 14px 40px !important;
    }

    .idv-stepper {
        padding: 16px 12px;
    }

    .idv-step small {
        display: none;
    }

    .idv-hero {
        padding: 40px 0 34px;
    }

    .idv-main {
        padding: 18px 14px 40px !important;
    }

    .idv-card-body {
        padding: 18px 16px 22px;
    }

    .idv-stepper {
        max-width: 100%;
        padding: 16px 12px;
    }

    .idv-step small {
        display: none;
    }

    .idv-hero {
        padding: 40px 0 34px;
    }

    .idv-main {
        padding: 18px 14px 40px !important;
    }

    .idv-stepper {
        max-width: 100%;
    }

    .idv-step small {
        display: none;
    }
}

/* ── Small phones (≤380px) ── */
@media (max-width: 380px) {
    .access-headline {
        font-size: 24px;
    }

    .access-card {
        padding: 20px 14px 24px;
    }

    .access-trust {
        flex-wrap: nowrap;
        gap: 10px;
    }

    .nl-grid {
        grid-template-columns: 1fr;
    }
}