/* ===============================
   EXPRESSION COFFEE - BLOG PAGE STYLES
   =============================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ===============================
   SECTION 1: HERO
   =============================== */
.exp-blog-hero {
    background: #0f2d2e;
    padding: 100px 20px;
    text-align: center;
}

.exp-blog-hero__container {
    max-width: 1200px;
    margin: 0 auto;
}

.exp-blog-hero__title {
    font-family: 'Inter', sans-serif;
    font-size: 76px;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    margin: 0 0 20px 0;
}

.exp-blog-hero__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto;
    max-width: 700px;
}

/* ===============================
   SECTION 2: FEATURED / SINGLE CARD
   =============================== */
.exp-blog-featured {
    background: #173d3e;
    padding: 80px 20px;
}

.exp-blog-featured__header {
    margin-bottom: 48px;
}

.exp-blog-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 16px 0;
    text-align: center;
}

.exp-blog-h2 {
    font-family: 'Inter', sans-serif;
    font-size: 58px;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin: 0 0 12px 0;
    text-align: center;
}

.exp-blog-text {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    text-align: center;
}

/* Grid: centrada con una sola card */
.exp-blog-grid {
    display: flex;
    justify-content: center;
}

.exp-blog-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
    max-width: 780px;
    width: 100%;
    transition: all 0.2s ease;
}

.exp-blog-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

.exp-blog-card__image {
    width: 100%;
    aspect-ratio: 1;
    background: #d1d5db;
    border-radius: 10px;
    overflow: hidden;
}

.exp-blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.exp-blog-card__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.exp-blog-card__meta {
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.exp-blog-card__category {
    font-weight: 600;
}

.exp-blog-card__divider {
    opacity: 0.5;
}

.exp-blog-card__time {
    font-weight: 400;
}

.exp-blog-card__title {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    margin: 0;
}

.exp-blog-card__excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    flex: 1;
}

.exp-blog-card__link {
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    margin-top: auto;
    transition: opacity 0.2s ease;
}

.exp-blog-card__link:hover {
    opacity: 0.8;
}

/* ===============================
   SECTION 3: CTA FINAL
   Reutiliza .exp-blog-newsletter como CTA
   =============================== */
.exp-blog-newsletter {
    background: #d8d9d9;
    padding: 80px 20px;
}

.exp-blog-newsletter-content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.exp-blog-newsletter-title {
    font-family: 'Inter', sans-serif;
    font-size: 58px;
    font-weight: 700;
    line-height: 1.1;
    color: #111;
    margin: 0 0 16px 0;
}

.exp-blog-newsletter-text {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 32px 0;
}

/* Botón Contact en CTA final */
.exp-blog-newsletter-button {
    font-family: 'Inter', sans-serif;
    display: inline-block;
    padding: 14px 36px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    color: #111;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
}

.exp-blog-newsletter-button:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.3);
    color: #111;
}

/* ===============================
   BLOG POST - PÁGINA INDIVIDUAL
   =============================== */
.exp-blogpost {
    background: #ffffff;
}

.exp-blogpost__hero {
    width: 100%;
    max-height: 520px;
    overflow: hidden;
}

.exp-blogpost__hero img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.exp-blogpost__container {
    max-width: 720px;
    margin: 0 auto;
    padding: 60px 24px 100px;
}

.exp-blogpost__meta {
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #666666;
    margin-bottom: 20px;
}

.exp-blogpost__category {
    font-weight: 600;
    color: #111111;
}

.exp-blogpost__date {
    font-weight: 400;
}

.exp-blogpost__title {
    font-family: 'Inter', sans-serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    color: #111111;
    margin: 0 0 40px 0;
}

.exp-blogpost__body {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #333333;
}

.exp-blogpost__body p {
    margin: 0 0 24px 0;
}

.exp-blogpost__body p:last-child {
    margin-bottom: 0;
}

.exp-blogpost__back {
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 60px;
    font-size: 16px;
    font-weight: 600;
    color: #111111;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.exp-blogpost__back:hover {
    background: rgba(0, 0, 0, 0.05);
}

.exp-blogpost__notfound {
    max-width: 600px;
    margin: 100px auto;
    text-align: center;
    padding: 0 24px;
}

.exp-blogpost__notfound h1 {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    color: #111;
    margin: 0 0 20px;
}

.exp-blogpost__notfound a {
    font-family: 'Inter', sans-serif;
    color: #111;
    font-size: 16px;
}

/* ===============================
   RESPONSIVE - HERO
   =============================== */
@media (max-width: 768px) {
    .exp-blog-hero {
        padding: 70px 24px;
    }

    .exp-blog-hero__title {
        font-size: 52px;
    }

    .exp-blog-hero__subtitle {
        font-size: 17px;
    }
}

@media (max-width: 640px) {
    .exp-blog-hero__title {
        font-size: 44px;
    }
}

/* ===============================
   RESPONSIVE - FEATURED / CARD
   =============================== */
@media (max-width: 768px) {
    .exp-blog-featured {
        padding: 60px 24px;
    }

    .exp-blog-h2 {
        font-size: 46px;
    }

    .exp-blog-card {
        grid-template-columns: 1fr;
    }

    .exp-blog-card__image {
        aspect-ratio: 16/10;
    }
}

@media (max-width: 640px) {
    .exp-blog-h2 {
        font-size: 40px;
    }
}

/* ===============================
   RESPONSIVE - CTA FINAL
   =============================== */
@media (max-width: 768px) {
    .exp-blog-newsletter {
        padding: 60px 24px;
    }

    .exp-blog-newsletter-title {
        font-size: 46px;
    }
}

@media (max-width: 640px) {
    .exp-blog-newsletter-title {
        font-size: 40px;
    }
}

/* ===============================
   RESPONSIVE - BLOG POST
   =============================== */
@media (max-width: 768px) {
    .exp-blogpost__title  { font-size: 38px; }
    .exp-blogpost__hero img { height: 320px; }
}

@media (max-width: 480px) {
    .exp-blogpost__title { font-size: 30px; }
}
