.closure-section {
    background: #fdfcfa;
}

.closure-tag {
    display: inline-block;
    font-family: "logofont", serif;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c9a15b;
    border: 1px solid #c9a15b;
    padding: 4px 18px;
    border-radius: 30px;
    margin-bottom: 12px;
}

/* ---- Tag-wise layout: sidebar tabs + dynamic panel ---- */
.closure-wrap {
    display: flex;
    align-items: flex-start;
    gap: 1px;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid #eee2cc;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(201, 161, 91, 0.1);
    overflow: hidden;
}

.closure-tabs {
    flex: 0 0 380px;
    display: flex;
    flex-direction: column;
    background: #fdf8ee;
    border-right: 1px solid #eee2cc;
     height: auto;
    padding: 10px;
    gap: 4px;
}

.closure-tab {
    text-align: left;
    background: transparent;
    border: none;

    border-left: 3px solid transparent;
    font-size: 12px;
    font-weight: 600;
    color: black;
    padding: 14px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    line-height: 1.3;
}

.closure-tab:hover {
    background: #f5eedd;
    color: #b78e46;
}

.closure-tab.active {
    background: linear-gradient(135deg, #c9a15b, #b78e46);
    border-left-color: #8a6a30;
    color: #fff;
    box-shadow: 0 4px 12px rgba(201, 161, 91, 0.3);
}

.closure-panels {
    flex: 1;
    padding: 30px 34px;
    min-width: 0;
}

.closure-panel {
    display: none;
    animation: closureFadeIn 0.3s ease;
}

.closure-panel.active {
    display: block;
}

.closure-tab:focus,
.closure-tab:focus-visible {
    outline: none;
    box-shadow: none;
}


@keyframes closureFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.closure-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px dashed #e3c383;
}

.closure-heading {
    font-family: "logofont", serif;
    color: #2b2b2b;
    font-size: 19px;
    font-weight: 700;
    margin: 0;
}



.closure-list {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 1;
}

.closure-list-2col {
    columns: 2;
    column-gap: 30px;
}

.closure-list li {
    padding: 7px 0;
    font-size: 12px;
    line-height: 1.4;
    color: #444;
    border-bottom: 1px solid #f5eedd;
    break-inside: avoid;
}

.closure-list li:last-child {
    border-bottom: none;
}

.closure-cta {
    background: linear-gradient(160deg, #c9a15b, #b78e46);
    border-radius: 10px;
    padding: 40px 28px;
    box-shadow: 0 4px 15px rgba(201, 161, 91, 0.25);
}

.closure-cta-icon {
    font-size: 34px;
    color: #fff;
    margin-bottom: 16px;
}

.closure-cta-heading {
    font-family: serif;
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
}

.closure-cta-text {
    color: #fdf6e9;
    font-size: 14px;
    margin-bottom: 20px;
}

.closure-cta-btn {
    background: #fff;
    color: #b78e46;
    font-family: "logofont", serif;
    font-weight: 600;
    padding: 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.closure-cta-btn:hover {
    background: #2b2b2b;
    color: #fff;
}

/* ---- Mobile: sidebar becomes a horizontal scrollable tab strip ---- */
@media (max-width: 991px) {
    .closure-wrap {
        flex-direction: column;
        border-radius: 12px;
    }

    .closure-tabs {
        flex: none;
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-right: none;
        border-bottom: 1px solid #eee2cc;
        padding: 12px 10px;
        gap: 8px;
        scrollbar-width: thin;
    }

    .closure-tab {
        flex: 0 0 auto;
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
        border-radius: 30px;
        background: #fff;
        border: 1px solid #eee2cc;
        font-size: 13px;
        padding: 10px 18px;
    }

    .closure-tab.active {
        border-color: #b78e46;
    }

    .closure-panels {
        padding: 22px 20px;
    }

    .closure-list-2col {
        columns: 1;
    }


}

@media (max-width: 575px) {
    .closure-heading {
        font-size: 16px;
    }

    .closure-panels {
        padding: 18px 16px;
    }

    .closure-tab {
        font-size: 12.5px;
        padding: 9px 14px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .closure-tab,
    .closure-panel {
        transition: none;
        animation: none;
    }
}