/* --- Dynamic Content Tabs Main Container --- */
.dct-container {
    background: linear-gradient(135deg, #6dd5ed 0%, #2193b0 100%);;
    /* border: 2px solid #005e38; */
    border-radius: 20px;
    font-family: sans-serif;
    margin: 2em 0;
    overflow: hidden;
    box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.3);
}

/* --- Tab Navigation --- */
.dct-nav {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 2px solid #e0e0e0;
}

.dct-nav-item {
    margin: 0;
}

.dct-nav-item a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #555;
    font-weight: 600;
    /* border-top: 4px solid transparent;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent; */

    position: relative;
    top: 2px;
}

.dct-nav-item a:hover {
    color: #00854a;
    /* background-color: #fbf8aa; */

}

/* Active Tab Style */
.dct-nav-item.active a {


    color: #005e38;
    background-color: #fbf8aa;
    /* border-color: #00854a #00854a transparent #00854a; */
    border-radius: 20px 20px 0 0;
    margin-top: -1px;
    outline: none;
    box-shadow: inset 1px 4px 4px rgba(0, 0, 0, 0.5);
}

/* --- Tab Content Panels --- */
.dct-content {
    padding: 30px 40px;
    background: #fbf8aa;
    margin-top: -18px;
}

.dct-panel {
    display: none; /* Hide panels by default */
}

.dct-panel.active {
    display: flex; /* Show active panel as flex container */
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.dct-panel-left {
    flex: 1;
    min-width: 300px;
}

.dct-panel-right {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.dct-panel-right img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Typography and Button */
.dct-panel-left h2, .dct-panel-left .wp-block-heading {
    font-size: 2.5rem;
    color: #1b2621;
    margin-top: 0;
    margin-bottom: 0.5em;
    font-weight: 700;
    line-height: 1.2;
}

.dct-panel-left p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
}

.dct-button {
    display: inline-block;
    background: linear-gradient(135deg,#6dd5ed 0%,#2193b0 100%);
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.dct-button:hover {
    background-color: #005e38;
    color: #fff;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .dct-panel.active {
        flex-direction: column;
    }

    .dct-panel-left {
        text-align: center;
    }

    .dct-panel-right {
        order: -1; /* Move image to the top on mobile */
        margin-bottom: 20px;
    }

    .dct-panel-left h2, .dct-panel-left .wp-block-heading {
        font-size: 2rem;
    }

    .dct-content {
        padding: 20px;
    }
}