/* =========================================================================
   Azimi Law — blog post stylesheet
   Derived from "FINAL HTML WEBSITE DESIGN - MOBILE RESPONSIVE.html".
   Everything is scoped under .azimi-post so it will NOT collide with the
   WordPress theme. Each post's content is wrapped in an article element that
   carries the azimi-post class, and all selectors below are scoped to it.
   FAQ uses native details/summary elements (no JavaScript required).
   ========================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

.azimi-post{
  --navy:#0b1d38;--navy-mid:#152e5c;--navy-light:#1e3d6e;
  --gold:#b8933e;--gold-light:#d4ad62;--gold-faint:#f7f0e2;--gold-hover:#9a7a30;
  --cream:#faf8f4;--white:#ffffff;
  --text:#1a1a1a;--text-mid:#3a3a3a;--text-muted:#6a6a6a;
  --border:#ddd5c0;--border-light:#eee8d8;
  --red:#c0392b;--red-light:#fdecea;
  --success:#1a7a4a;--success-light:#e8f5ed;
  font-family:'DM Sans',sans-serif;color:var(--text);line-height:1.7;font-size:16px;
}
.azimi-post *{box-sizing:border-box}
/* Content-only: the site theme renders the navy page-hero, title, and breadcrumb.
   These posts import as the post BODY, so there is no hero/breadcrumb/sidebar here. */

/* ---- Hero ---- */
.azimi-post .post-hero{background:linear-gradient(135deg,var(--navy) 0%,var(--navy-mid) 100%);padding:4.5rem 2rem 3.5rem;position:relative;overflow:hidden}
.azimi-post .post-hero-inner{max-width:900px;margin:0 auto;position:relative;z-index:1}
.azimi-post .post-eyebrow{display:inline-block;background:rgba(184,147,62,.18);color:var(--gold-light);font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;padding:.35rem 1rem;border-radius:3px;margin-bottom:1.2rem;border:1px solid rgba(184,147,62,.3)}
.azimi-post .post-hero h1{font-family:'Cormorant Garamond',serif;font-size:clamp(2rem,4vw,3.2rem);font-weight:500;color:var(--white);line-height:1.15;margin:0 0 1.1rem}
.azimi-post .post-hero h1 em{font-style:italic;color:var(--gold-light)}
.azimi-post .post-hero .lead{font-size:1.02rem;color:rgba(255,255,255,.78);max-width:640px;font-weight:300;line-height:1.82;margin:0 0 1.6rem}
.azimi-post .hero-badges{display:flex;gap:.6rem;flex-wrap:wrap}
.azimi-post .badge{display:inline-flex;align-items:center;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);color:rgba(255,255,255,.82);font-size:.76rem;padding:.35rem .85rem;border-radius:3px}
.azimi-post .badge.urgent{background:rgba(192,57,43,.22);border-color:rgba(192,57,43,.45);color:#f5a9a0}

/* ---- Breadcrumb ---- */
.azimi-post .breadcrumb{background:var(--white);border-bottom:1px solid var(--border);padding:.8rem 2rem;font-size:.8rem;color:var(--text-muted)}
.azimi-post .breadcrumb a{color:var(--navy);text-decoration:none}
.azimi-post .breadcrumb a:hover{color:var(--gold)}
.azimi-post .breadcrumb span{margin:0 .4rem;color:var(--border)}

/* ---- Layout ---- */
.azimi-post .content-wrap{max-width:1160px;margin:0 auto;padding:4rem 2rem;display:grid;grid-template-columns:1fr 320px;gap:4rem;align-items:start}
.azimi-post .main-content h2{font-family:'Cormorant Garamond',serif;font-size:1.8rem;font-weight:500;color:var(--navy);margin:2.8rem 0 .85rem;line-height:1.2}
.azimi-post .main-content h2:first-child{margin-top:0}
.azimi-post .main-content h3{font-family:'Cormorant Garamond',serif;font-size:1.3rem;font-weight:500;color:var(--navy-mid);margin:1.8rem 0 .5rem}
.azimi-post .main-content p{font-size:.97rem;color:var(--text-mid);margin-bottom:1.1rem;line-height:1.85}
.azimi-post .main-content ul,.azimi-post .main-content ol{margin:0 0 1.3rem 1.4rem}
.azimi-post .main-content li{font-size:.95rem;color:var(--text-mid);margin-bottom:.5rem;line-height:1.75}
.azimi-post .main-content strong{color:var(--text);font-weight:600}
.azimi-post .main-content a{color:var(--gold-hover);text-decoration:underline;text-underline-offset:2px}

/* ---- Callout boxes ---- */
.azimi-post .info-box{background:var(--gold-faint);border-left:3px solid var(--gold);padding:1.2rem 1.5rem;margin:1.6rem 0;border-radius:0 4px 4px 0}
.azimi-post .info-box p{margin:0;font-size:.92rem}
.azimi-post .warn-box{background:var(--red-light);border-left:3px solid var(--red);padding:1.2rem 1.5rem;margin:1.6rem 0;border-radius:0 4px 4px 0}
.azimi-post .warn-box p{margin:0;font-size:.92rem;color:#6b1e1e}
.azimi-post .success-box{background:var(--success-light);border-left:3px solid var(--success);padding:1.2rem 1.5rem;margin:1.6rem 0;border-radius:0 4px 4px 0}
.azimi-post .success-box p{margin:0;font-size:.92rem;color:#0d4a2e}

/* ---- Checklist (used for Key takeaways) ---- */
.azimi-post .checklist{list-style:none;margin:0 0 1.3rem;padding:0}
.azimi-post .checklist li{display:flex;gap:.75rem;align-items:flex-start;padding:.55rem 0;border-bottom:1px solid var(--border-light);font-size:.93rem;color:var(--text-mid);line-height:1.65}
.azimi-post .checklist li:last-child{border-bottom:none}
.azimi-post .checklist li::before{content:'\2713';color:var(--success);font-weight:600;flex-shrink:0;margin-top:.05rem}

/* ---- Tables ---- */
.azimi-post .main-content table{width:100%;border-collapse:collapse;margin:1.6rem 0;font-size:.9rem}
.azimi-post .main-content th{background:var(--navy);color:#fff;text-align:left;padding:.7rem .9rem;font-weight:500}
.azimi-post .main-content td{padding:.7rem .9rem;border-bottom:1px solid var(--border-light);color:var(--text-mid);vertical-align:top}
.azimi-post .main-content tbody tr:nth-child(even) td{background:var(--gold-faint)}

/* ---- Sidebar ---- */
.azimi-post .sidebar{position:sticky;top:24px}
.azimi-post .sidebar-card{background:var(--white);border:1px solid var(--border);border-radius:6px;padding:1.6rem;margin-bottom:1.2rem;box-shadow:0 2px 12px rgba(0,0,0,.06)}
.azimi-post .sidebar-card h3{font-family:'Cormorant Garamond',serif;font-size:1.12rem;color:var(--navy);font-weight:500;margin:0 0 .85rem}
.azimi-post .sidebar-card p{font-size:.86rem;color:var(--text-muted);margin:0 0 1rem;line-height:1.65}
.azimi-post .sidebar-cta{display:block;background:var(--gold);color:var(--white);text-align:center;padding:.75rem;border-radius:3px;text-decoration:none;font-size:.87rem;font-weight:500;margin-bottom:.55rem;transition:background .2s}
.azimi-post .sidebar-cta:hover{background:var(--gold-hover)}
.azimi-post .sidebar-cta-outline{display:block;border:1.5px solid var(--navy);color:var(--navy);text-align:center;padding:.75rem;border-radius:3px;text-decoration:none;font-size:.87rem;font-weight:500;transition:background .2s,color .2s}
.azimi-post .sidebar-cta-outline:hover{background:var(--navy);color:var(--white)}
.azimi-post .sidebar-list{list-style:none;margin:0;padding:0}
.azimi-post .sidebar-list li{padding:.5rem 0;border-bottom:1px solid var(--border-light);font-size:.85rem}
.azimi-post .sidebar-list li:last-child{border-bottom:none}
.azimi-post .sidebar-list a{color:var(--navy);text-decoration:none;transition:color .15s}
.azimi-post .sidebar-list a:hover{color:var(--gold)}

/* ---- FAQ (native <details>, no JS) ---- */
.azimi-post .faq-section{margin-top:2.5rem}
.azimi-post .faq-item{border-bottom:1px solid var(--border-light);padding:0}
.azimi-post .faq-item:last-child{border-bottom:none}
.azimi-post .faq-q{font-family:'DM Sans',sans-serif;font-weight:500;font-size:.97rem;color:var(--navy);cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 0;list-style:none}
.azimi-post .faq-q::-webkit-details-marker{display:none}
.azimi-post .faq-q::after{content:'+';font-size:1.3rem;color:var(--gold);flex-shrink:0;font-weight:300;transition:transform .25s}
.azimi-post .faq-item[open] .faq-q::after{transform:rotate(45deg)}
.azimi-post .faq-a{font-size:.92rem;color:var(--text-muted);line-height:1.78;padding:0 0 1rem}
.azimi-post .faq-a p{margin:0 0 .8rem;font-size:.92rem;color:var(--text-muted)}
.azimi-post .faq-a p:last-child{margin-bottom:0}

/* ---- CTA band ---- */
.azimi-post .cta-band{background:var(--navy);padding:4rem 2rem;text-align:center;position:relative;overflow:hidden}
.azimi-post .cta-band::before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,transparent 60%,rgba(184,147,62,.08))}
.azimi-post .cta-band h2{font-family:'Cormorant Garamond',serif;font-size:clamp(1.8rem,3vw,2.6rem);color:var(--white);font-weight:500;margin:0 0 .75rem;position:relative}
.azimi-post .cta-band p{color:rgba(255,255,255,.65);max-width:520px;margin:0 auto 2rem;font-size:.97rem;position:relative}
.azimi-post .cta-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;position:relative}
.azimi-post .btn-white{display:inline-flex;align-items:center;gap:.5rem;background:var(--white);color:var(--navy);padding:.9rem 2rem;border-radius:3px;text-decoration:none;font-size:.9rem;font-weight:500;transition:transform .15s}
.azimi-post .btn-white:hover{transform:translateY(-1px)}
.azimi-post .btn-outline-white{display:inline-flex;align-items:center;gap:.5rem;background:transparent;color:var(--white);border:1.5px solid rgba(255,255,255,.5);padding:.9rem 2rem;border-radius:3px;text-decoration:none;font-size:.9rem;font-weight:500;transition:background .2s}
.azimi-post .btn-outline-white:hover{background:rgba(255,255,255,.12)}

/* ---- Related articles (inline, replaces the old sidebar list) ---- */
.azimi-post .post-related{margin:2.5rem 0 0;padding:1.4rem 1.6rem;background:var(--gold-faint);border:1px solid var(--border);border-radius:6px}
.azimi-post .post-related h2{font-family:'Cormorant Garamond',serif;font-size:1.3rem;color:var(--navy);font-weight:500;margin:0 0 .7rem}
.azimi-post .post-related ul{list-style:none;margin:0;padding:0}
.azimi-post .post-related li{padding:.4rem 0;border-bottom:1px solid var(--border-light);font-size:.92rem}
.azimi-post .post-related li:last-child{border-bottom:none}
.azimi-post .post-related a{color:var(--gold-hover);text-decoration:none}
.azimi-post .post-related a:hover{text-decoration:underline}

/* ---- CTA band (flows to the theme content width) ---- */
.azimi-post .cta-band{border-radius:8px;margin-top:2.5rem}

/* ---- Disclaimer ---- */
.azimi-post .disclaimer{margin:1.5rem 0 0;font-size:.8rem;color:var(--text-muted);line-height:1.65;font-style:italic}

/* ---- Responsive ---- */
@media(max-width:900px){
  .azimi-post .content-wrap{grid-template-columns:1fr;gap:2.5rem;padding:2.5rem 1.25rem}
  .azimi-post .sidebar{position:static}
  .azimi-post .post-hero{padding:3rem 1.25rem 2.5rem}
  .azimi-post .cta-band{padding:3rem 1.25rem}
  .azimi-post .breadcrumb{padding:.8rem 1.25rem}
  .azimi-post .disclaimer{padding:1.25rem}
}


/* Wrapper for imported 2026 Spanish articles. */
.azimi-blog-post-self-contained{max-width:980px;margin:0 auto;padding:3.5rem 2rem 4.5rem;direction:ltr;text-align:left}
.azimi-blog-post-self-contained>.azimi-post{width:100%}
.azimi-blog-post-self-contained .azimi-post .main-content{width:100%;max-width:none;margin:0;padding:0}
.azimi-blog-post-self-contained .azimi-post .cta-band{margin-left:0;margin-right:0}
@media(max-width:700px){.azimi-blog-post-self-contained{padding:2.25rem 1rem 3rem}}
