/* ==================================================
   ME-NUTRE LAB - ARTÍCULO
   ================================================== */

.article-hero {
    padding: 88px 0 56px;
    background: #F7F8F6;
}

.article-container {
    max-width: 860px;
}

.article-back {
    display: inline-block;
    margin-bottom: 42px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #43ACAF;
}

.article-category,
.article-eyebrow {
    margin: 0 0 16px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #43ACAF;
}

.article-title {
    max-width: 820px;
    margin: 0 0 26px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    font-weight: 500;
    line-height: 1.08;
    color: #333333;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.8rem;
    line-height: 1.6;
    color: #7E6E6F;
}

.article-body {
    padding: 64px 0 56px;
    background: #ffffff;
}

.article-body p {
    margin: 0 0 24px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.85;
    color: #555555;
}

.article-body .article-intro {
    margin-bottom: 28px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.35rem;
    line-height: 1.65;
    color: #333333;
}

/* ==================================================
   CONTENIDO DEL ARTÍCULO
   ================================================== */

.article-introduction {
    margin-bottom: 64px;
}

.article-section {
    padding: 48px 0;
    border-top: 1px solid rgba(67, 172, 175, 0.14);
}

.article-section:last-child {
    padding-bottom: 0;
}

.article-section-heading {
    margin-bottom: 26px;
}

.article-section-number {
    display: block;
    margin-bottom: 10px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #43ACAF;
}

.article-section h2 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    font-weight: 500;
    line-height: 1.2;
    color: #333333;
}


/* ==================================================
   TABLAS EDITORIALES
   ================================================== */

.article-table-wrap {
    width: 100%;
    margin: 34px 0 38px;
    overflow-x: auto;
    border: 1px solid rgba(67, 172, 175, 0.18);
    border-radius: 18px;
    background: #ffffff;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-family: "Montserrat", Arial, sans-serif;
}

.article-table th,
.article-table td {
    padding: 18px 22px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(67, 172, 175, 0.12);
}

.article-table th {
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.5;
    color: #333333;
    background: #F2F7F5;
}

.article-table td {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #555555;
}

.article-table th:first-child,
.article-table td:first-child {
    width: 62%;
}

.article-table th:last-child,
.article-table td:last-child {
    width: 38%;
}

.article-table tbody tr:last-child td {
    border-bottom: 0;
}

.article-table td:last-child {
    font-weight: 600;
    white-space: nowrap;
    color: #333333;
}

/* ==================================================
   LISTAS
   ================================================== */

.article-list {
    margin: 28px 0 34px;
    padding-left: 0;
    list-style: none;
}

.article-list li {
    position: relative;
    margin-bottom: 14px;
    padding-left: 24px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.96rem;
    line-height: 1.75;
    color: #555555;
}

.article-list li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #43ACAF;
}


/* ==================================================
   ACCIONES PRÁCTICAS
   ================================================== */

.article-actions {
    display: grid;
    gap: 16px;
    margin: 32px 0 38px;
}

.article-action {
    padding: 24px 26px;
    background: #F7F8F6;
    border-left: 3px solid #43ACAF;
    border-radius: 0 16px 16px 0;
}

.article-action h3 {
    margin: 0 0 8px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.5;
    color: #333333;
}

.article-action p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.75;
}


/* ==================================================
   DESTACADOS EDITORIALES
   ================================================== */

.article-highlight {
    margin: 36px 0 8px;
    padding: 28px 30px;
    background: rgba(67, 172, 175, 0.07);
    border-left: 4px solid #43ACAF;
    border-radius: 0 18px 18px 0;
}

.article-highlight p {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.65;
    color: #333333;
}

/* ==================================================
   NOTA EDUCATIVA
   ================================================== */

.article-educational-note {
    padding: 0 0 72px;
    background: #ffffff;
}

.article-educational-note-inner {
    padding: 28px 30px;
    background: #F7F8F6;
    border: 1px solid rgba(67, 172, 175, 0.16);
    border-radius: 18px;
}

.article-educational-note-label {
    display: block;
    margin-bottom: 10px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    color: #43ACAF;
}

.article-educational-note p {
    margin: 0;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.86rem;
    line-height: 1.75;
    color: #666666;
}

/* ==================================================
   REFERENCIAS
   ================================================== */

.article-references {
    padding: 72px 0 88px;
    background: #F7F8F6;
}

.article-references-heading {
    margin-bottom: 34px;
}

.article-references-heading h2 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 500;
    line-height: 1.2;
    color: #333333;
}

.article-references-list {
    margin: 0;
    padding-left: 22px;
}

.article-reference {
    padding: 22px 0;
    border-bottom: 1px solid rgba(67, 172, 175, 0.14);
}

.article-reference:first-child {
    padding-top: 0;
}

.article-reference:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.article-reference p {
    margin: 0 0 10px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.86rem;
    line-height: 1.75;
    color: #555555;
}

.article-reference a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #43ACAF;
}

.article-not-found {
    padding: 100px 0;
}

.article-not-found h1 {
    margin: 0 0 18px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: #333333;
}

.article-not-found p {
    margin: 0 0 28px;
    font-family: "Montserrat", Arial, sans-serif;
    line-height: 1.7;
    color: #7E6E6F;
}


@media (max-width: 640px) {

    .article-hero {
        padding: 64px 0 44px;
    }

    .article-back {
        margin-bottom: 32px;
    }

    .article-title {
        font-size: 2.45rem;
    }

    .article-body {
        padding: 48px 0 48px;
    }

    .article-body .article-intro {
        font-size: 1.2rem;
    }

    .article-introduction {
        margin-bottom: 48px;
    }

    .article-section {
        padding: 38px 0;
    }

    .article-table th,
    .article-table td {
        padding: 15px 16px;
    }

    .article-table th:first-child,
    .article-table td:first-child {
        width: 64%;
    }

    .article-table th:last-child,
    .article-table td:last-child {
        width: 36%;
    }

    .article-table td:last-child {
        white-space: normal;
    }
    
        .article-action {
        padding: 21px 20px;
    }

    .article-highlight {
        padding: 24px 22px;
    }

    .article-highlight p {
        font-size: 1.1rem;
    }
    
        .article-references {
        padding: 58px 0 68px;
    }

    .article-reference {
        padding: 19px 0;
    }
    
        .article-educational-note {
        padding-bottom: 56px;
    }

    .article-educational-note-inner {
        padding: 24px 22px;
    }
}