/* ========================================================
   The Banyan World - Blog Page Stylesheet
   Matching exact design specifications
   ======================================================== */

/* Hide site preloader */
.loading-spinner,
.js-loading-spinner {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -999999 !important;
}

/* Ensure mobile menu trigger and drawer are 100% clickable and animated */
.drawer-trigger {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    z-index: 99999 !important;
    pointer-events: auto !important;
}

@media (min-width: 1000px) {
    .drawer-trigger {
        top: 8px;
        right: 40px;
        width: 67px;
        height: 67px;
    }
}

.mobile-toggle {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    border: 0;
    background: #FFF44F;
    border-radius: 50%;
    cursor: pointer !important;
    pointer-events: auto !important;
    transition: background 0.3s;
    z-index: 100000 !important;
}

.mobile-toggle:hover {
    background: #7db82d;
}

.mobile-toggle:after,
.mobile-toggle:before {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 2px;
    width: 40%;
    content: "";
    background: #0b523f;
    transition: all 0.3s;
}

.mobile-toggle:before {
    margin-top: -0.42105em;
    transform: translate(-50%, -50%);
}

.mobile-toggle:after {
    box-shadow: 0 0.42105em 0 0 #0b523f;
    transform: translate(-50%, -50%);
}

.drawer-is-active .mobile-toggle:before {
    margin-top: 0 !important;
    transform: translate(-50%, -50%) rotate(-45deg) !important;
}

.drawer-is-active .mobile-toggle:after {
    box-shadow: none !important;
    transform: translate(-50%, -50%) rotate(45deg) !important;
}

#fsMenu {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    transform: translate(100%) !important;
    width: 100% !important;
    height: 100% !important;
    background: #fff !important;
    z-index: 9999999 !important;
    transition: transform 0.35s ease-in-out !important;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15) !important;
}

@media (min-width: 700px) {
    #fsMenu {
        max-width: 600px !important;
    }
}

@media (min-width: 1000px) {
    #fsMenu {
        max-width: 720px !important;
        height: 100vh !important;
        background: hsla(0, 0%, 100%, 0.96) !important;
    }
}

.drawer-is-active #fsMenu {
    transform: translate(0) !important;
}

.fsMenu {
    position: relative;
    height: 100%;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    background: #fefff9;
    padding: 20px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

@media (min-width: 1000px) {
    .fsMenu {
        padding: 60px 56px;
    }
}

.drawer-is-active .fsMenu {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Global Section Settings */
.banyan-blog-page-wrapper {
    background-color: #ffffff;
    padding: 30px 0 60px 0;
}

.banyan-blog-page-wrapper button,
.banyan-blog-page-wrapper input,
.banyan-blog-page-wrapper select,
.banyan-blog-page-wrapper textarea {
    font-family: inherit;
}

.banyan-main-grid-container {
    width: 100%;
    max-width: 1540px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Centered Header */
.banyan-center-header {
    text-align: center;
    margin-bottom: 25px;
}

.banyan-center-header .sub-tagline {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #228b4e;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.banyan-center-header .main-heading {
    font-size: 42px;
    font-weight: 800;
    color: #166534;
    margin: 0;
    line-height: 1.15;
}

/* Column Panels with Light Mint Background */
.banyan-mint-panel {
    background-color: #e4f2ea;
    border-radius: 20px;
    padding: 24px 20px 28px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    position: relative;
}

.banyan-panel-title {
    font-size: 20px;
    font-weight: 700;
    color: #166534;
    margin-bottom: 6px;
}

.banyan-panel-accent {
    width: 32px;
    height: 3px;
    background-color: #166534;
    border-radius: 2px;
    margin-bottom: 22px;
}

/* ========================================================
   LEFT COLUMN: Blog Categories
   ======================================================== */
.category-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-white-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
}

.category-white-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 101, 52, 0.08);
}

.category-white-card.active {
    border: 2px solid #166534;
    box-shadow: 0 4px 14px rgba(22, 101, 52, 0.12);
}

.category-card-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.category-circle-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.category-white-card:hover .category-circle-badge {
    transform: scale(1.06);
}

.category-card-text {
    font-size: 14.5px;
    font-weight: 600;
    color: #21513a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-white-card.active .category-card-text {
    color: #166534;
    font-weight: 700;
}

.category-card-arrow {
    color: #21513a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.category-white-card:hover .category-card-arrow {
    transform: translateX(4px);
}

.clear-category-link {
    font-size: 13px;
    color: #166534;
    text-decoration: underline;
    margin-top: 12px;
    display: inline-block;
    font-weight: 600;
}

/* ========================================================
   CENTER COLUMN: Blog Cards Grid
   ======================================================== */
.blog-item-card-mint {
    background-color: #f1f9f4;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.blog-item-card-mint:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(22, 101, 52, 0.1);
}

.blog-card-thumbnail-wrap {
    position: relative;
    height: 175px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background-color: #e2ede6;
}

.blog-card-thumbnail-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.blog-item-card-mint:hover .blog-card-thumbnail-wrap img {
    transform: scale(1.06);
}

.blog-card-mint-content {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-mint-date {
    font-size: 13px;
    font-weight: 600;
    color: #208b4d;
    margin-bottom: 8px;
}

.blog-mint-title {
    font-size: 15px;
    font-weight: 700;
    color: #124b33;
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.blog-mint-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-mint-title a:hover {
    color: #1b8344;
}

.blog-mint-desc {
    font-size: 13px;
    color: #4b6b5c;
    line-height: 1.5;
    margin-bottom: 18px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 58px;
    font-weight: bold;
}

.btn-mint-readmore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #208b4d;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    padding: 0px 13px;
    border-radius: 25px;
    text-decoration: none !important;
    width: fit-content;
    transition: all 0.25s ease;
    border: none;
}

.btn-mint-readmore:hover {
    background-color: #166534;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(32, 139, 77, 0.3);
}

/* Custom Pagination */
.banyan-pagination-row {
    margin-top: 36px;
    display: flex;
    justify-content: center;
}

.banyan-pagination-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.banyan-pagination-list li .page-num-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    background: #ffffff;
    color: #334155;
    font-size: 13.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.banyan-pagination-list li .page-num-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

.banyan-pagination-list li.active .page-num-btn {
    background: #f15a24 !important;
    border-color: #f15a24 !important;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(241, 90, 36, 0.3);
}

.banyan-pagination-list li.disabled .page-num-btn {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8fafc;
}

/* ========================================================
   RIGHT COLUMN: Enquiry Form
   ======================================================== */
.enquiry-fields-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.enquiry-input-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 0 14px;
    height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.enquiry-input-card:focus-within {
    border-color: #208b4d;
    box-shadow: 0 0 0 3px rgba(32, 139, 77, 0.12);
}

.enquiry-input-icon {
    color: #718096;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.enquiry-native-input,
.enquiry-native-input:focus,
.enquiry-native-input:active,
.enquiry-native-input:hover {
    width: 100%;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    font-size: 14px;
    color: #1e293b;
    padding: 0 !important;
    margin: 0 !important;
}

.enquiry-native-input::placeholder {
    color: #94a3b8;
}

/* Dropdown field */
.enquiry-select-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 8px 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.enquiry-select-card:focus-within {
    border-color: #208b4d;
    box-shadow: 0 0 0 3px rgba(32, 139, 77, 0.12);
}

.enquiry-select-label-mini {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    color: #21513a;
    margin-bottom: 2px;
}

.enquiry-select-relative {
    position: relative;
    display: flex;
    align-items: center;
}

.enquiry-native-select,
.enquiry-native-select:focus,
.enquiry-native-select:active,
.enquiry-native-select:hover {
    width: 100%;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    font-size: 14px;
    font-weight: 700;
    color: #166534;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 22px;
    padding-left: 0 !important;
    margin: 0 !important;
}

.enquiry-select-chevron {
    position: absolute;
    right: 0;
    pointer-events: none;
    color: #5a7a6a;
    display: flex;
    align-items: center;
}

/* Textarea field */
.enquiry-textarea-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 14px;
    min-height: 110px;
    display: flex;
    gap: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.enquiry-textarea-card:focus-within {
    border-color: #208b4d;
    box-shadow: 0 0 0 3px rgba(32, 139, 77, 0.12);
}

.enquiry-textarea-icon {
    color: #718096;
    display: flex;
    align-items: flex-start;
    flex-shrink: 0;
    margin-top: 2px;
}

.enquiry-native-textarea,
.enquiry-native-textarea:focus,
.enquiry-native-textarea:active,
.enquiry-native-textarea:hover {
    width: 100%;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    font-size: 14px;
    color: #1e293b;
    resize: vertical;
    min-height: 80px;
    padding: 0 !important;
    margin: 0 !important;
}

.enquiry-native-textarea::placeholder {
    color: #94a3b8;
}

.enquiry-btn-container {
    margin-top: 4px;
}

.btn-submit-enquiry-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #1f8a4c;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(31, 138, 76, 0.25);
}

.btn-submit-enquiry-pill:hover {
    background-color: #166534;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(31, 138, 76, 0.35);
}

/* Hand-Drawn Sun Doodle */
.banyan-sun-doodle {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
    padding-right: 12px;
}

/* AJAX Alerts */
.enquiry-ajax-message {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    display: none;
}

.enquiry-ajax-message.success {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.enquiry-ajax-message.error {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

@media (max-width: 991px) {

    .banyan-left-col,
    .banyan-right-col {
        margin-bottom: 30px;
    }
}

/* ========================================================
   BOTTOM SECTION: Explore Our Programs
   ======================================================== */
.banyan-programs-banner {
    background-color: #f1f9f4;
    border-radius: 20px;
    padding: 30px 40px 36px 40px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.programs-banner-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
    text-align: center;
}

.programs-banner-accent {
    width: 32px;
    height: 3px;
    background-color: #166534;
    border-radius: 2px;
    display: inline-block;
}

.programs-banner-title {
    font-size: 27px;
    font-weight: 700;
    color: #166534;
    margin: 0;
    text-align: center;
}

.programs-banner-grid {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    padding-right: 90px;
}

.program-card-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 6px 20px;
    position: relative;
    text-decoration: none !important;
    transition: transform 0.25s ease;
}

.program-card-col:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 8%;
    height: 84%;
    width: 1px;
    background-color: rgba(22, 101, 52, 0.14);
}

.program-card-col:hover {
    transform: translateY(-4px);
}

.program-outer-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.program-card-col:hover .program-outer-circle {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(22, 101, 52, 0.12);
}

.program-inner-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-card-name {
    font-size: 15.5px;
    font-weight: 700;
    color: #166534;
    margin: 0 auto 8px auto;
    text-align: center;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
}

.program-card-arrow {
    color: #166534;
    font-size: 14px;
    font-weight: bold;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.program-card-col:hover .program-card-arrow {
    transform: translateX(4px);
}

.programs-botanical-doodle {
    position: absolute;
    right: 25px;
    bottom: 5px;
    pointer-events: none;
    z-index: 1;
}

.program-leaves-img {
    width: 90px;
    height: auto;
    max-height: 120px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(34, 139, 78, 0.12));
    animation: gentleLeafSway 3.8s ease-in-out infinite alternate;
    transform-origin: bottom center;
}

@keyframes gentleLeafSway {
    0% {
        transform: rotate(0deg) translateY(0px) scale(1);
    }

    35% {
        transform: rotate(5deg) translateY(-8px) scale(1.03);
    }

    70% {
        transform: rotate(-3deg) translateY(-4px) scale(0.99);
    }

    100% {
        transform: rotate(6deg) translateY(-10px) scale(1.04);
    }
}

@media (max-width: 991px) {
    .programs-banner-grid {
        flex-wrap: wrap;
        padding-right: 0;
        gap: 24px 0;
    }

    .program-card-col {
        flex: 0 0 50%;
    }

    .program-card-col:nth-child(2n)::after {
        display: none !important;
    }

    .programs-botanical-doodle {
        opacity: 0.25;
    }
}

@media (max-width: 576px) {
    .program-card-col {
        flex: 0 0 100%;
    }

    .program-card-col::after {
        display: none !important;
    }
}