.error {
    color: red;
}

/* ==========================================================
   BASE / CONTAINER
========================================================== */

.meftal-content-section .container {
    max-width: 1050px;
    width: 90%;
    margin: 0 auto;
}

.meftal-content-section {
    padding: 28px 0 80px;
    font-family: Poppins, sans-serif;
}

/* ==========================================================
   TYPOGRAPHY (kept consistent with the original effective
   values already in use across the page)
========================================================== */

.meftal-content-section h1 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 600;
    color: #111;
    font-family: Poppins, sans-serif;
}

.meftal-content-section h2,
.prescribing-guidelines-title {
    margin: 40px 0 10px;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 600;
    color: #111;
    font-family: Poppins, sans-serif;
}

.meftal-content-section h3 {
    margin: 0 0 16px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 500;
    color: #111;
    font-family: Poppins, sans-serif;
}

.meftal-content-section p,
.more-clinical-item,
.more-clinical-item span,
.prescribing-guidelines-intro,
.pharmacological-highlights-list li,
.prescribing-information-item p,
.posology-section p,
.posology-list li,
.contraindications-list li,
.side-effects-section p,
.condition-card p,
.prescribing-guidelines-table th,
.prescribing-guidelines-table td {
    font-family: Poppins, sans-serif;
    font-size: 13.66px;
    line-height: 1.6;
    font-weight: 400;
    color: #333333;
}

.more-clinical-item strong,
.prescribing-information-item p strong,
.posology-list strong,
.pharmacological-highlights-list strong {
    font-weight: 700;
    color: #111;
}

/* ==========================================================
   HERO: IMAGE + TITLE/DESCRIPTION
========================================================== */

.meftal-hero {
    display: flex;
    align-items: center;
    gap: 41px;
    margin-bottom: 0;
}

.meftal-hero-media {
    /*flex: 0 0 330px;
    max-width: 330px;*/
    width:55%
}

.meftal-image-wrap {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    line-height: 0;
}

.meftal-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    border: none;
    outline: none;
    box-shadow: none;
    vertical-align: middle;
}

.meftal-hero-content {
    flex: 1 1 auto;
}

.meftal-hero-content h1 {
    margin: 0 0 8px;
}

.meftal-hero-content p {
    margin: 0;
    max-width: 480px;
}

/* ==========================================================
   CLINICAL APPLICATIONS INTRO
========================================================== */

.clinical-applications-intro {
    margin-top: 48px;
}

.clinical-applications-intro h2 {
    margin-top: 0;
}

.clinical-applications-intro h3 {
    margin-bottom: 20px;
}

/* ==========================================================
   CONDITION CARDS
========================================================== */

.condition-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    
}

.condition-card {
    background: #fff1f1;
    border-radius: 8px;
    padding: 20px 18px;
    box-sizing: border-box;
    text-align: left;
}

.condition-icon {
    width:100px ;
    height: 40px;
    display: flex;
    margin: 0 0 10px;
    color: #ed1d24;
}

.condition-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.condition-card h4 {
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    color: #111;
    font-family: Poppins, sans-serif;
}

.condition-card p {
    margin: 0 0 14px;
}

.condition-card .meftal-learn-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ed1d24;
    color: #ffffff;
    border: 1px solid #ed1d24;
    border-radius: 24px;
    padding: 8px 20px;
    min-height: 36px;
    box-sizing: border-box;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
    font-family: Poppins, sans-serif;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.condition-card .meftal-learn-more-btn:hover,
.condition-card .meftal-learn-more-btn:focus {
    background: #ffffff;
    color: #ed1d24;
    border-color: #ed1d24;
}

/* ==========================================================
   MORE CLINICAL APPLICATIONS
========================================================== */

.more-clinical-section {
    margin-top: 48px;
}

.more-clinical-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

.more-clinical-item {
    display: block;
    margin: 0;
}

.more-clinical-item strong {
    display: block;
    margin: 0 0 8px;
}

.more-clinical-item span {
    display: block;
}

/* ==========================================================
   PRESCRIBING GUIDELINES BY AGE
========================================================== */

.prescribing-guidelines-section {
padding: 20px 0px;
}

.prescribing-guidelines-intro {
    margin: 0 0 20px;
    max-width: 720px;
}

/* ==========================================================
   PRESCRIBING GUIDELINES TABLE
   ========================================================== */

.prescribing-guidelines-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.prescribing-guidelines-table {
    width: 100%;
    min-width: 640px;
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
    font-family: Poppins, sans-serif;
    table-layout: fixed;
}

/* Table Header */
.prescribing-guidelines-table th {
    background: #fdeeee;
    color: #111;
    font-family: Poppins, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
    vertical-align: middle;

    padding: 10px 14px;

    border: none;
    border-bottom: 2px solid #ffffff;
}

/* Table Body Cells */
.prescribing-guidelines-table td {
    background: #f7f7f7;
    color: #333333;
    font-family: Poppins, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
    text-align: left;
    vertical-align: middle;

    padding: 9px 14px;

    border: none;
    border-bottom: 2px solid #ffffff;
}

/* Keep all body rows same light-grey background */
.prescribing-guidelines-table tbody tr td {
    background: #f7f7f7;
}

/* Column widths - same visual proportion as reference */
.prescribing-guidelines-table th:nth-child(1),
.prescribing-guidelines-table td:nth-child(1) {
    width: 35%;
}

.prescribing-guidelines-table th:nth-child(2),
.prescribing-guidelines-table td:nth-child(2) {
    width: 27%;
}

.prescribing-guidelines-table th:nth-child(3),
.prescribing-guidelines-table td:nth-child(3) {
    width: 38%;
}

/* Remove last row bottom line */
.prescribing-guidelines-table tbody tr:last-child td {
    border-bottom: none;
}

/* ==========================================================
   PHARMACOLOGICAL HIGHLIGHTS / PLAIN TEXT BLOCKS
   (arrow/bullet icons removed - rendered as normal text)
========================================================== */

.pharmacological-highlights-list {
    margin: 0;
    padding: 0;
    list-style: none;
    max-width: 720px;
}

.pharmacological-highlights-list li {
    margin: 0 0 18px;
    padding: 0;
}

.pharmacological-highlights-list h6 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    color: #111;
    font-family: Poppins, sans-serif;
}

/* ==========================================================
   PRESCRIBING INFORMATION / PLAIN TEXT BLOCKS
========================================================== */

.prescribing-information-list {
    width: 100%;
}

.prescribing-information-item {
    margin: 0 0 18px;
    padding: 0;
}

.prescribing-information-item h6 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    color: #111;
    font-family: Poppins, sans-serif;
}

.prescribing-information-item p {
    margin: 0 0 6px;
    max-width: 720px;
}

/* ==========================================================
   POSOLOGY AND METHOD OF ADMINISTRATION
========================================================== */

.posology-section {
    margin-top: 48px;
}

.posology-section p {
    margin: 0 0 12px;
    max-width: 720px;
}

.posology-list {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
    max-width: 720px;
}

.posology-list li {
    margin: 0 0 10px;
    padding: 0;
}

/* ==========================================================
   CONTRAINDICATIONS (plain round bullets, no arrow icons)
========================================================== */

.contraindications-list {
    margin: 0;
    padding: 0 0 0 18px;
    list-style: disc;
    max-width: 720px;
}

.contraindications-list li {
    margin: 0 0 8px;
    padding-left: 4px;
}

.contraindications-list > .patients-with {
    margin-top:0;
}

/* ==========================================================
   POSSIBLE SIDE EFFECTS / SAFETY INFORMATION
========================================================== */

.side-effects-section {
    margin-top: 48px;
}

.side-effects-section p {
    margin: 0;
    max-width: 720px;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 900px) {
    .condition-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .more-clinical-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .meftal-hero {
        flex-wrap: wrap;
    }

    .meftal-hero-media {
        flex: 0 0 260px;
        max-width: 260px;
    }
}

@media (max-width: 700px) {
    .meftal-content-section h1 {
        font-size: 24px;
    }

    .meftal-content-section h2,
    .prescribing-guidelines-title {
        font-size: 20px;
        margin-top: 32px;
    }

    .meftal-content-section h3 {
        font-size: 16px;
    }

    .meftal-hero {
        flex-direction: column;
        text-align: center;
    }

    .meftal-hero-media {
        flex: 0 0 auto;
        max-width: 240px;
        margin: 0 auto;
    }

    .meftal-hero-content {
        padding-top: 20px;
        text-align: center;
    }

    .meftal-hero-content p {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .condition-cards {
        grid-template-columns: 1fr;
    }

    .more-clinical-list {
        grid-template-columns: 1fr;
    }

    .prescribing-guidelines-table th,
    .prescribing-guidelines-table td {
        padding: 12px 13px;
    }
}
.prescribing-guidelines-section div:last-child, .more-clinical-list div:last-child,.prescribing-guidelines-section ul li:last-child, .prescribing-guidelines-section p:last-child, .prescribing-information-item:last-child {
    margin-bottom: 0px !important;
}