@font-face {
    font-family: 'BebasNeue';
    src: url('../font/BebasNeue-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ========== Double Sections ========== */
.double-section-wrapper { display: flex; gap: 1em; align-items: flex-start; }
.double-section-block { flex: 1; min-width: 0; }

/* ========== IMAGES N&B / REVEAL COULEUR ========== */

.post-card-image img,
.post-list-image img,
.hero-image img,
.post-thumbnail img,
figure img {
    filter: grayscale(100%);
    transition: filter 0.4s ease;
}

.post-card-image:hover img,
.post-list-image:hover img,
.hero-image:hover img,
.post-thumbnail:hover img,
figure:hover img {
    filter: grayscale(0%);
}


/* ========== WIDGET NEWSLETTER SELEKTROMA ========== */
 
.widget-newsletter-selektroma-body {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
}
 
.widget-newsletter-selektroma-image {
    flex: 0 0 25%;
    max-width: 25%;
}
 
.widget-newsletter-selektroma-image img {
    width: 100%;
    height: auto;
    display: block;
}
 
.widget-newsletter-selektroma-right {
    flex: 0 0 75%;
    max-width: 75%;
}
 
.widget-newsletter-submit--selektroma {
    display: block;
    width: 100%;
    margin-top: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-secondary);
    color: #000;
    font-family: var(--font-display);
    font-size: var(--text-lg);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background var(--transition);
}
 
.widget-newsletter-submit--selektroma:hover {
    background: var(--color-secondary-light);
}
 
@media (max-width: 767px) {
    .widget-newsletter-selektroma-body {
        flex-direction: column;
    }
    .widget-newsletter-selektroma-image,
    .widget-newsletter-selektroma-right {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

h1, h2, h3, h4, h5, h6,
.main-navigation a,
.badge,
.hero-category,
.post-card-title {
    text-transform: uppercase;
}


/* ========== TITRE CARD AU ROLLOVER ========== */

.post-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-sm);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.post-card {
    position: relative;
    overflow: hidden;
}

.post-card:hover .post-card-content {
    opacity: 1;
}

.post-card-title a {
    color: #fff;
}

/* Fallback mobile — titre toujours visible */
@media (max-width: 767px) {
    .post-card-content {
        opacity: 1;
    }
}
