/* ============================================
   Noma Viajes — Article Style (2026 Redesign)
   ============================================ */

*{margin:0;padding:0;box-sizing:border-box;}
body{font-family:'DM Sans',sans-serif;background:#f8fafc;color:#1e293b;line-height:1.8;}

/* ---------- Hero with background image ---------- */
.art-hero{
    position:relative;
    background:linear-gradient(135deg,#0f172a 0%,#1e3a5f 100%);
    background-size:cover;
    background-position:center;
    color:#fff;
    padding:0 20px;
    min-height:320px;
    display:flex;
    align-items:flex-end;
}
.art-hero::before{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(15,23,42,0.35) 0%,rgba(15,23,42,0.82) 70%,rgba(15,23,42,0.95) 100%);
    z-index:1;
}
.art-hero-inner{
    position:relative;
    z-index:2;
    max-width:800px;
    margin:0 auto;
    width:100%;
    padding:48px 0 36px;
}
.art-hero .back-link{color:#38bdf8;text-decoration:none;font-size:14px;font-weight:600;display:inline-block;margin-bottom:16px;transition:color 0.2s;}
.art-hero .back-link:hover{color:#7dd3fc;}
.art-hero .breadcrumb{font-size:13px;color:#cbd5e1;margin-bottom:12px;letter-spacing:0.02em;}
.art-hero .breadcrumb a{color:#38bdf8;text-decoration:none;}
.art-hero h1{font-size:34px;font-weight:800;line-height:1.18;margin-bottom:12px;text-shadow:0 2px 12px rgba(0,0,0,0.25);}
.art-hero .art-meta{font-size:14px;color:#94a3b8;}

/* ---------- Featured image (inside article body) ---------- */
.art-featured-img{
    width:100%;
    border-radius:12px;
    margin-top:-40px;
    position:relative;
    z-index:3;
    box-shadow:0 8px 30px rgba(0,0,0,0.18);
    display:block;
    object-fit:cover;
    max-height:420px;
}

/* ---------- Article body ---------- */
.art-body{max-width:800px;margin:0 auto;padding:36px 20px 64px;}
.art-body p{font-size:17px;color:#334155;margin-bottom:18px;line-height:1.8;}
.art-body h2{
    font-size:25px;font-weight:800;color:#0f172a;
    margin:40px 0 14px;padding:4px 0 4px 16px;
    border-left:4px solid #0284c7;
    line-height:1.3;
}
.art-body h3{
    font-size:20px;font-weight:700;color:#0f172a;
    margin:28px 0 10px;padding-left:16px;
    border-left:3px solid #94a3b8;
    line-height:1.35;
}
.art-body ul,.art-body ol{padding-left:26px;margin-bottom:18px;}
.art-body li{font-size:17px;color:#334155;margin-bottom:8px;line-height:1.7;}
.art-body a{color:#0284c7;text-decoration:underline;text-underline-offset:3px;transition:color 0.2s;}
.art-body a:hover{color:#0369a1;}
.art-body strong{color:#0f172a;}

/* ---------- Figures & captions ---------- */
figure{margin:28px 0;text-align:center;}
figure img{
    max-width:100%;border-radius:12px;
    box-shadow:0 4px 16px rgba(0,0,0,0.08);
}
figcaption{
    font-size:14px;color:#64748b;
    margin-top:10px;font-style:italic;
    line-height:1.5;
}

/* ---------- Tip & Warning boxes ---------- */
.tip-box{
    background:linear-gradient(135deg,#f0fdf4 0%,#ecfdf5 100%);
    border-left:4px solid #16a34a;
    padding:18px 22px;border-radius:0 12px 12px 0;
    margin:24px 0;font-size:16px;color:#14532d;
    line-height:1.7;
}
.tip-box strong{color:#166534;}
.warning-box{
    background:linear-gradient(135deg,#fffbeb 0%,#fef3c7 100%);
    border-left:4px solid #d97706;
    padding:18px 22px;border-radius:0 12px 12px 0;
    margin:24px 0;font-size:16px;color:#78350f;
    line-height:1.7;
}
.warning-box strong{color:#92400e;}

/* ---------- Compare table ---------- */
.compare-table{
    width:100%;border-collapse:collapse;
    margin:24px 0;font-size:15px;
    border-radius:12px;overflow:hidden;
    box-shadow:0 1px 6px rgba(0,0,0,0.06);
}
.compare-table thead{background:#0f172a;color:#fff;}
.compare-table th{padding:14px 16px;text-align:left;font-weight:700;font-size:14px;letter-spacing:0.02em;text-transform:uppercase;}
.compare-table td{padding:13px 16px;border-bottom:1px solid #f1f5f9;}
.compare-table tbody tr:nth-child(even) td{background:#f8fafc;}
.compare-table tbody tr:nth-child(odd) td{background:#fff;}
.compare-table tbody tr:hover td{background:#eff6ff;}

/* ---------- CTA block ---------- */
.art-cta{
    background:linear-gradient(135deg,#0f172a 0%,#1e3a5f 100%);
    border-radius:16px;padding:36px;
    text-align:center;margin:44px 0;
    box-shadow:0 4px 20px rgba(15,23,42,0.15);
}
.art-cta h3{color:#fff;font-size:21px;font-weight:800;margin-bottom:8px;}
.art-cta p{color:#94a3b8;font-size:15px;margin-bottom:18px;}
.art-cta a{
    display:inline-block;padding:13px 30px;
    background:#0284c7;color:#fff;border-radius:10px;
    font-weight:700;text-decoration:none;font-size:15px;
    transition:all 0.2s;box-shadow:0 2px 10px rgba(2,132,199,0.3);
}
.art-cta a:hover{background:#0369a1;transform:translateY(-1px);box-shadow:0 4px 14px rgba(2,132,199,0.4);}

/* ---------- Related articles ---------- */
.art-related{margin-top:44px;padding-top:36px;border-top:1.5px solid #e2e8f0;}
.art-related h3{font-size:21px;font-weight:800;margin-bottom:18px;color:#0f172a;}
.art-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
.art-related-card{
    background:#fff;border:1.5px solid #e2e8f0;border-radius:12px;
    text-decoration:none;color:inherit;transition:all 0.25s;overflow:hidden;
    display:flex;flex-direction:column;
}
.art-related-card:hover{border-color:#0284c7;transform:translateY(-3px);box-shadow:0 6px 20px rgba(0,0,0,0.08);}
.art-related-card img{
    width:100%;height:120px;object-fit:cover;
    display:block;
}
.art-related-card .art-related-card-body{padding:14px 16px;}
.art-related-card h4{font-size:14px;font-weight:700;color:#0f172a;margin-bottom:5px;line-height:1.35;}
.art-related-card p{font-size:12px;color:#64748b;margin:0;line-height:1.5;}

/* ---------- Footer ---------- */
.art-footer{text-align:center;padding:36px 20px;color:#94a3b8;font-size:13px;border-top:1px solid #e2e8f0;margin-top:36px;}
.art-footer a{color:#0284c7;text-decoration:none;font-weight:600;}
.art-footer a:hover{text-decoration:underline;}

/* ---------- Mobile responsive ---------- */
@media(max-width:700px){
    .art-hero{min-height:260px;}
    .art-hero h1{font-size:24px;}
    .art-hero-inner{padding:36px 0 28px;}
    .art-featured-img{margin-top:-24px;border-radius:8px;max-height:280px;}
    .art-body{padding:28px 16px 48px;}
    .art-body p,.art-body li{font-size:16px;}
    .art-body h2{font-size:21px;margin:32px 0 12px;padding-left:12px;}
    .art-body h3{font-size:18px;margin:24px 0 8px;padding-left:12px;}
    .art-related-grid{grid-template-columns:1fr;}
    .art-related-card img{height:160px;}
    .compare-table{font-size:13px;}
    .compare-table th,.compare-table td{padding:10px 12px;}
    .art-cta{padding:28px 20px;}
    figure{margin:20px -8px;}
}
@media(max-width:420px){
    .art-hero{min-height:220px;}
    .art-hero h1{font-size:21px;}
    .art-body h2{font-size:19px;}
}
