/*
 * DT Feature List Block Styles
 */

.dt-feature-list-section {
    padding: 60px 20px;
    background-color: var(--dtfl-main-bg);
    color: var(--dtfl-item-text);
}

.dt-feature-list-container {
    margin: 0 auto;
    width: 100%;
}

/* Width options */
.dtfl-width-1000 { max-width: 1000px; }
.dtfl-width-1200 { max-width: 1200px; }
.dtfl-width-1400 { max-width: 1400px; }

.dt-feature-list-main-title {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--dtfl-main-title);
    margin-bottom: 40px;
    line-height: 1.2;
}

.dt-feature-list-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.dt-feature-list-column {
    flex: 1;
}

.dt-feature-list-features {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Space between feature boxes */
}

.dt-feature-list-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dt-feature-list-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Layout variations */
.dtfl-image-right {
    flex-direction: row;
}
.dtfl-image-left {
    flex-direction: row-reverse;
}

/* Individual Feature Item Box */
.dt-feature-list-item {
    background-color: var(--dtfl-box-bg);
    border: 1px solid var(--dtfl-box-border);
    padding: 25px;
    border-radius: 16px; /* Rounded corners like image */
}

.dt-feature-list-item h3 {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--dtfl-item-title);
    margin-top: 0;
    margin-bottom: 10px;
}

.dt-feature-list-item-content {
    font-size: 0.95em;
    line-height: 1.6;
}
.dt-feature-list-item-content p:last-child {
    margin-bottom: 0;
}


/* Responsive Adjustments */
@media (max-width: 900px) {
    .dt-feature-list-main-title {
        font-size: 2em;
        text-align: center;
    }
    .dt-feature-list-layout {
        flex-direction: column-reverse; /* Stack with image on top */
        gap: 40px;
    }
    
    /* On mobile, force image on top regardless of setting */
    .dtfl-image-left,
    .dtfl-image-right {
        flex-direction: column-reverse;
    }
    
    .dt-feature-list-image img {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .dt-feature-list-main-title {
        font-size: 1.8em;
    }
    .dt-feature-list-item {
        padding: 20px;
    }
}