#whats-new {
    padding-top: calc(var(--spacing-unit) * 2);
    padding-bottom: calc(var(--spacing-unit) * 3);
}

#whats-new h1,
#whats-new h2 {
    color: var(--secondary-color);
    font-weight: 300;
    font-family: 'EB Garamond', serif;
    text-align: center;
}

#whats-new .subtitle {
    text-align: left;
    max-width: 1069px;
    margin: 0px;
    font-size: 1.1rem;
    line-height: 1.5;
}

#whats-new h1 {
    font-size: 2.5rem;
    max-width: 900px;
    margin-left: 0px;
    margin-right: auto;
    margin-bottom: var(--spacing-unit);
    line-height: 1.3;
    text-align: left;
}

#whats-new h2 {
    font-size: 2.2rem;
    text-align: left;
    margin-top: calc(var(--spacing-unit) * 1);
    margin-bottom: calc(var(--spacing-unit) * 1);
}

.features-grid {
    margin-top: calc(var(--spacing-unit) * 2);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 1.5);
}

.feature-card {
    background-color: #fff;
    background-color: #003555;
    background-color: #6E6A19;
    
    color: #fff;

    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: visible; /* Changed from hidden to allow absolute child to show */
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease-in-out;
    cursor: default;
    position: relative; /* Set positioning context for the absolute body */
}

.feature-card:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

.feature-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px 4px 0 0;
}

.feature-card-content {
    padding: calc(var(--spacing-unit) * 1.25);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.feature-card h3 {
/*
    font-family: 'Poppins', sans-serif;
    
    font-weight: 700;
    color: var(--heading-color);
    color: white;
*/
    
    
    font-family: 'EB Garamond', serif;
/*     color: var(--secondary-color); */
    color: white;
    font-weight: 300;


    font-size: 1.35rem;
    margin: 0;
    line-height: 1.4;
    text-align: center;
}
.all-realism{
	margin-bottom: 4%;
}

.toggle-btn::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.toggle-btn[aria-expanded="true"]::after {
    /* Gira la barra vertical para formar un '-' cuando está abierto */
    transform: translate(-50%, -50%) rotate(0deg);
}
.toggle-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    width: auto;
    height: auto;
    border-radius: 0;
    align-self: center;
}

.toggle-btn::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(-45deg); /* Points right > */
    transition: transform 0.3s ease-out, border-color 0.3s ease-out;
}

.toggle-btn:hover {
    background-color: transparent;
}

.feature-card-body {
    position: absolute;
    top: calc(94%); /* Position below the header, overlapping the border */
    left: -1px; /* Align with parent border */
    right: -1px; /* Align with parent border */
    z-index: 10;
    background-color: #fff;
    background-color: #6E6A19;
    
    
    border: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 4px 4px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    
    /* Animation Properties */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out, visibility 0.3s;
    padding: 10px var(--spacing-unit) 15px var(--spacing-unit) ;
}

.feature-card-body p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-color);
    color: white;
    margin: 0;
    padding: 0;
    text-align: left;
}

/* --- Active State --- */
.feature-card.active .toggle-btn {
    background-color: transparent;
}

.feature-card.active .toggle-btn::before {
    transform: rotate(45deg); /* Points down v */
    border-color: #fff;
}

.feature-card.active .feature-card-body {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* Responsive adjustments */
@media (max-width: 980px) {
    #whats-new {
        padding-top: calc(var(--spacing-unit) * 1);
    }
	.all-realism{
		margin-bottom: 8%;
	}
    #whats-new h1 {
        font-size: 2rem;
        line-height: 2rem;
    }
    #whats-new h2 {
        font-size: 1.75rem;
    }
    .feature-card h3 {
        font-size: 1.1rem;
    }
}

body.dark-theme .logo,
body.dark-theme .logo-desktop,
body.dark-theme .logo-mobile,
body.dark-theme .social-logo {
    filter: invert(1) brightness(2);
}