/* Feature List Full Container */
.feature-list-full {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 40px;
    max-width: 1142px;
    margin: 60px auto;
    padding: 0 20px;
}

@media (min-width: 1024px) {
    .feature-list-full {
        grid-template-columns: 3fr 4fr;
        align-items: stretch;
    }
}

/* Featured Main Item (left side) */
.feature-full-main {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-self: stretch;
}

.feature-full-main__inner {
    position: relative;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #f8f9fa;
    flex: 1;
}

.feature-full-main__link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    width: 100%;
}

.feature-full-main__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.feature-full-main__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
    padding: 2rem;
    color: white;
    z-index: 2;
}

.feature-full-main__content {
    max-width: 100%;
}

.feature-full-main__title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: white;
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
}

.feature-full-main__description {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
}

/* Grid Items (right side) */
.feature-full-grid {
    display: flex;
    flex-direction: column;
}

.feature-full-grid > * + * {
    margin-top: 1.5rem;
}

.feature-full-item-wrapper {
    position: relative;
    width: 100%;
}

.feature-full-item {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
    width: 100%;
}

.feature-full-item:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

/* CORREÇÃO SAFARI: Container de imagem que acompanha altura do texto */
.feature-full-item__media {
    display: block;
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    margin-right: 15px;
    border-radius: 20px;
    overflow: hidden;
    background: #f8f9fa;
    flex: none;
    position: relative;
    align-self: stretch;
}

.feature-full-item__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.3s ease;
}

.feature-full-item:hover .feature-full-item__image {
    transform: scale(1.05);
}

.feature-full-item__placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #e5e7eb;
    border-radius: 20px;
}

.feature-full-item__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
}

.feature-full-item__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2D6A6E;
    margin: 0 0 8px 0;
    line-height: 1.2;
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
}

.feature-full-item:hover .feature-full-item__title {
    text-decoration: underline;
    color: #2D6A6E;
}

.feature-full-item__description {
    font-size: 1rem;
    line-height: 1.6;
    color: #4B5563;
    margin: 0;
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
}

.feature-full-item__description p {
    margin: 0 0 0.5rem 0;
}

.feature-full-item__description p:last-child {
    margin-bottom: 0;
}

/* Divider between items */
.feature-full-item-wrapper:not(:last-child)::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #E5E7EB;
    margin-top: 1.5rem;
    position: absolute;
    bottom: -12px;
    left: 0;
}

/* Placeholder item styling */
.feature-full-item--placeholder {
    opacity: 0.6;
    font-style: italic;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .feature-list-full {
        grid-template-columns: 1fr;
        grid-gap: 30px;
        margin: 30px auto;
        padding: 0 15px;
    }

    .feature-full-main {
        min-height: 60vh;
    }
    
    .feature-full-main__inner {
        min-height: 300px;
        flex: 1;
    }
    
    .feature-full-main__title {
        font-size: 1.5rem;
    }
    
    .feature-full-main__overlay {
        padding: 1.5rem;
    }
    
    .feature-full-grid > * + * {
        margin-top: 3rem;
    }
    
    .feature-full-item {
        flex-direction: column;
        align-items: stretch;
    }
    
    .feature-full-item__media {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        height: 200px;
        min-height: 200px;
        max-height: 200px;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .feature-full-item__title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-full-item__description {
        font-size: 0.95rem;
    }
    
    .feature-full-item-wrapper:not(:last-child)::after {
        margin-top: 1rem;
        bottom: -8px;
    }
}

/* Para telas muito pequenas */
@media (max-width: 480px) {
    .feature-list-full {
        padding: 0 10px;
        grid-gap: 20px;
    }
    
    .feature-full-main__overlay {
        padding: 1rem;
    }
    
    .feature-full-main__title {
        font-size: 1.3rem;
    }
    
    .feature-full-item__media {
        height: 180px;
        min-height: 180px;
        max-height: 180px;
    }
}