/* =========================================================
   ICT Blog List — Chanel-style full-width editorial layout
   ========================================================= */

.ict-blog-list {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- Each post: full-width section with background image --- */
.ict-blog-item {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #111;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    box-sizing: border-box;
}

/* --- Dark gradient overlay for text readability --- */
.ict-blog-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.08) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.58) 100%
    );
    z-index: 1;
}

/* --- Centered text content block --- */
.ict-blog-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 800px;
}

/* --- Post title --- */
.ict-blog-title {
    margin: 0;
    font-family: 'Times New Roman', Times, serif;
    font-size: clamp(20px, 4vw, 46px);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: #ffffff;
}

/* --- "Voir plus / Read more" CTA button --- */
.ict-blog-read-more {
    display: inline-block;
    margin-top: 6px;
    padding: 11px 32px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.80);
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    white-space: nowrap;
}

.ict-blog-read-more:hover,
.ict-blog-read-more:focus {
    background-color: #ffffff;
    color: #111111;
    border-color: #ffffff;
    outline: none;
}

/* --- No-image fallback: dark solid background --- */
.ict-blog-item:not([style*="background-image"]) {
    background-color: #1c1c1c;
}

/* --- Empty state --- */
.ict-blog-list-empty {
    text-align: center;
    padding: 60px 24px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 14px;
    letter-spacing: 0.12em;
    color: #666;
}

/* =========================================================
   Responsive breakpoints
   ========================================================= */

/* Tablet landscape */
@media (max-width: 1024px) {
    .ict-blog-item {
        min-height: 75vh;
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    .ict-blog-item {
        min-height: 65vw;
        background-attachment: scroll; /* parallax off on touch */
    }

    .ict-blog-content {
        padding: 48px 20px;
        gap: 16px;
    }

    .ict-blog-title {
        font-size: clamp(18px, 6vw, 30px);
        letter-spacing: 0.08em;
    }

    .ict-blog-read-more {
        padding: 10px 26px;
        font-size: 10px;
        letter-spacing: 0.20em;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .ict-blog-item {
        min-height: 80vw;
    }

    .ict-blog-content {
        padding: 36px 16px;
        gap: 14px;
    }

    .ict-blog-title {
        font-size: clamp(16px, 7vw, 24px);
        letter-spacing: 0.06em;
    }

    .ict-blog-read-more {
        padding: 9px 22px;
        font-size: 10px;
        letter-spacing: 0.18em;
    }
}

/* Small mobile */
@media (max-width: 360px) {
    .ict-blog-title {
        font-size: 16px;
    }

    .ict-blog-read-more {
        padding: 8px 18px;
    }
}
