/* Actualidad Dev Style Customizations */

/* CSS Reset & Variables override */
:root {
    --cyan-glow: rgba(0, 240, 255, 0.4);
    --emerald-glow: rgba(16, 185, 129, 0.3);
}

body {
    background-color: var(--bg);
    color: #cbd5e1;
    font-family: var(--font-body);
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #f1f5f9;
}

/* Sections */
.section-label {
    font-family: var(--font-heading);
    color: var(--emerald);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 0.25rem;
}

.section-title {
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.section-divider {
    height: 3px;
    width: 60px;
    background: linear-gradient(90deg, var(--cyan), var(--emerald));
    margin-bottom: 2rem;
    border-radius: 2px;
}

/* Cards & Grid Styling */
.news-card {
    background: var(--dark);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 240, 255, 0.15);
    border-color: var(--cyan);
}

.news-card-img-wrap {
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
}

.news-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-img {
    transform: scale(1.05);
}

.news-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cat-badge {
    align-self: flex-start;
    background: rgba(16, 185, 129, 0.1);
    color: var(--emerald);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.news-card-title {
    font-size: 1.15rem;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #f8fafc;
}

.news-card-meta {
    margin-top: auto;
    font-size: 0.75rem;
    color: #64748b;
    font-family: var(--font-heading);
}

/* Premium Layout Accents */
.accent-border {
    position: relative;
}

.accent-border::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.2), transparent);
}
