/*
Theme Name: PAD International Group
Theme URI: https://padinternationalgroup.com
Author: PAD International Group
Description: Custom theme for PAD International Group — Iranian legal services for international clients. Includes Articles and Courses content types, a one-page homepage design, and a built-in consultation form.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: pad-international-group
*/


    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --navy:    #0D1B2A;
      --gold:    #B8892A;
      --gold-lt: #D4A84B;
      --cream:   #F7F4EF;
      --warm:    #EDE8DF;
      --muted:   #6B7280;
      --white:   #FFFFFF;
      --rule:    rgba(184,137,42,0.25);
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--cream);
      color: var(--navy);
      font-size: 16px;
      line-height: 1.7;
    }

    /* ─── NAV ─── */
    #navbar {
      position: fixed; top: 0; width: 100%; z-index: 100;
      background: rgba(13,27,42,0.97);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid var(--rule);
      padding: 0 5vw;
      display: flex; align-items: center; justify-content: space-between;
      height: 170px;
    }

    .logo {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.3rem; font-weight: 700;
      color: var(--white); letter-spacing: 0.04em;
      text-decoration: none;
    }
    .logo span { color: var(--gold); }

    .nav-links { display: flex; gap: 1.1rem; list-style: none; align-items: center; flex-wrap: nowrap; }
    .nav-links a {
      color: rgba(255,255,255,0.75);
      text-decoration: none; font-size: 0.7rem;
      letter-spacing: 0.05em; text-transform: uppercase;
      white-space: nowrap;
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--gold-lt); }

    .nav-cta {
      background: var(--gold); color: var(--navy) !important;
      padding: 0.4rem 0.95rem; font-weight: 600 !important; font-size: 0.7rem;
      transition: background 0.2s !important;
    }
    .nav-cta:hover { background: var(--gold-lt) !important; color: var(--navy) !important; }

    .menu-toggle { display: none; background: none; border: none; cursor: pointer; }
    .menu-toggle span {
      display: block; width: 24px; height: 2px;
      background: var(--white); margin: 5px 0; transition: 0.3s;
    }

    /* ─── HERO ─── */
    #hero {
      min-height: 100vh;
      background: var(--navy);
      display: flex; align-items: center;
      position: relative; overflow: hidden;
    }

    .hero-pattern {
      position: absolute; inset: 0;
      background-image:
        repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(184,137,42,0.04) 60px, rgba(184,137,42,0.04) 61px),
        repeating-linear-gradient(-45deg, transparent, transparent 60px, rgba(184,137,42,0.04) 60px, rgba(184,137,42,0.04) 61px);
    }

    .hero-seal {
      position: absolute; right: 8vw; top: 50%;
      transform: translateY(-50%);
      width: min(400px, 40vw);
      opacity: 0.06;
    }
    /* SVG seal drawn inline */

    .hero-inner {
      position: relative; z-index: 2;
      padding: 90px 5vw 40px;
      max-width: 760px;
      margin: 0 auto;
      text-align: center;
    }

    .hero-eyebrow {
      font-size: 0.75rem; letter-spacing: 0.2em;
      text-transform: uppercase; color: var(--gold);
      margin-bottom: 1.5rem;
      display: flex; align-items: center; justify-content: center; gap: 0.75rem;
    }
    .hero-eyebrow::before {
      content: ''; display: block; width: 40px; height: 1px; background: var(--gold);
    }

    h1 {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.8rem, 5.5vw, 4.8rem);
      font-weight: 600; line-height: 1.1;
      color: var(--white); margin-bottom: 1.5rem;
    }
    h1 em {
      font-family: 'EB Garamond', serif;
      font-style: italic; color: var(--gold-lt);
    }

    .hero-body {
      font-size: 1.05rem; color: rgba(255,255,255,0.65);
      max-width: 540px; margin-bottom: 2.5rem; line-height: 1.8;
      margin-left: auto; margin-right: auto;
    }

    .btn-group { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

    .btn-primary {
      background: var(--gold); color: var(--navy);
      padding: 0.85rem 2rem; font-weight: 600;
      font-size: 0.88rem; letter-spacing: 0.05em;
      text-decoration: none; text-transform: uppercase;
      transition: background 0.2s, transform 0.15s;
      display: inline-block;
    }
    .btn-primary:hover { background: var(--gold-lt); transform: translateY(-1px); }

    .btn-outline {
      border: 1px solid rgba(255,255,255,0.3); color: var(--white);
      padding: 0.85rem 2rem; font-size: 0.88rem;
      letter-spacing: 0.05em; text-transform: uppercase;
      text-decoration: none; transition: border-color 0.2s, color 0.2s;
    }
    .btn-outline:hover { border-color: var(--gold); color: var(--gold); }

    .hero-stats {
      position: relative; z-index: 2;
      padding: 0 5vw 60px;
      display: flex; gap: 3rem; flex-wrap: wrap; justify-content: center;
    }
    .stat { color: var(--white); }
    .stat-num {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.8rem; font-weight: 700; color: var(--gold);
      line-height: 1;
    }
    .stat-label {
      font-size: 0.78rem; letter-spacing: 0.1em;
      text-transform: uppercase; color: rgba(255,255,255,0.5);
      margin-top: 0.3rem;
    }

    /* ─── SECTIONS ─── */
    section { padding: 90px 5vw; }

    .section-eyebrow {
      font-size: 0.72rem; letter-spacing: 0.2em;
      text-transform: uppercase; color: var(--gold);
      margin-bottom: 1rem;
    }

    h2 {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2rem, 3.5vw, 3rem);
      font-weight: 600; line-height: 1.2;
      color: var(--navy); margin-bottom: 1.5rem;
    }

    .section-rule {
      width: 48px; height: 2px; background: var(--gold);
      margin: 1.5rem 0;
    }

    /* ─── SERVICES ─── */
    #services { background: var(--white); }

    .services-intro {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 4rem; align-items: end;
      margin-bottom: 4rem;
    }
    .services-intro p { color: var(--muted); font-size: 1rem; line-height: 1.8; }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 1px; background: var(--warm);
    }

    .service-card {
      background: var(--white);
      padding: 2.5rem;
      transition: background 0.2s;
      position: relative;
    }
    .service-card:hover { background: var(--cream); }

    .service-icon {
      width: 48px; height: 48px;
      background: var(--navy); border-radius: 0;
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 1.5rem;
      color: var(--gold); font-size: 1.3rem;
    }

    .service-card h3 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.35rem; font-weight: 600;
      margin-bottom: 0.75rem; color: var(--navy);
    }
    .service-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

    .service-link {
      display: inline-flex; align-items: center; gap: 0.5rem;
      margin-top: 1.2rem; font-size: 0.8rem;
      letter-spacing: 0.1em; text-transform: uppercase;
      color: var(--gold); text-decoration: none; font-weight: 500;
    }
    .service-link::after { content: '→'; transition: transform 0.2s; }
    .service-link:hover::after { transform: translateX(4px); }

    /* ─── WHY IRAN ─── */
    #why {
      background: var(--navy);
      color: var(--white);
    }
    #why h2 { color: var(--white); }
    #why .section-eyebrow { color: var(--gold); }

    .why-grid {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 5rem; align-items: center; margin-top: 3rem;
    }
    .why-body { font-size: 1rem; color: rgba(255,255,255,0.65); line-height: 1.9; }

    .why-list { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; }
    .why-list li {
      display: flex; gap: 1.2rem; align-items: flex-start;
      padding-bottom: 1.5rem;
      border-bottom: 1px solid rgba(184,137,42,0.2);
    }
    .why-list li:last-child { border-bottom: none; }
    .why-num {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2rem; color: var(--gold); opacity: 0.5;
      line-height: 1; min-width: 2rem; font-weight: 700;
    }
    .why-list h4 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.15rem; font-weight: 600; color: var(--white);
      margin-bottom: 0.3rem;
    }
    .why-list p { font-size: 0.88rem; color: rgba(255,255,255,0.55); }

    /* ─── PROCESS ─── */
    #process { background: var(--cream); }

    .process-steps {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 0; position: relative; margin-top: 3.5rem;
    }
    .process-step {
      padding: 2rem 2rem 2rem 0;
      position: relative;
    }
    .process-step::before {
      content: '';
      position: absolute; left: 0; top: 0; bottom: 0;
      width: 1px; background: var(--rule);
    }
    .process-step:first-child::before { display: none; }

    .step-num {
      font-family: 'Cormorant Garamond', serif;
      font-size: 3.5rem; font-weight: 700;
      color: var(--gold); opacity: 0.2; line-height: 1;
      margin-bottom: 0.75rem;
    }
    .process-step h4 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem;
    }
    .process-step p { font-size: 0.88rem; color: var(--muted); }

    /* ─── ABOUT ─── */
    #about { background: var(--white); }

    .about-grid {
      display: grid; grid-template-columns: 1fr 1.2fr;
      gap: 6rem; align-items: center;
    }

    .about-portrait {
      aspect-ratio: 3/4; background: var(--warm);
      position: relative; overflow: hidden;
      display: flex; align-items: center; justify-content: center;
    }
    .portrait-placeholder {
      font-family: 'Cormorant Garamond', serif;
      font-size: 6rem; color: var(--gold); opacity: 0.15;
    }
    .about-portrait img {
      width: 100%; height: 100%;
      object-fit: cover; object-position: center top; display: block;
    }
    .about-badge {
      position: absolute; bottom: 2rem; left: -1.5rem;
      background: var(--navy); color: var(--white);
      padding: 1.2rem 1.5rem; min-width: 160px;
    }
    .badge-num {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.2rem; color: var(--gold); line-height: 1;
    }
    .badge-label { font-size: 0.75rem; color: rgba(255,255,255,0.6); letter-spacing: 0.05em; }

    .about-content p { color: var(--muted); line-height: 1.85; margin-bottom: 1.2rem; }

    .credentials { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
    .credential {
      display: flex; gap: 0.75rem; align-items: center;
      font-size: 0.88rem;
    }
    .credential::before {
      content: ''; width: 6px; height: 6px;
      background: var(--gold); flex-shrink: 0;
    }

    /* ─── TESTIMONIALS ─── */
    #testimonials { background: var(--cream); }

    .testi-grid {
      display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 2rem; margin-top: 3rem;
    }
    .testi-card {
      background: var(--white);
      padding: 2.5rem;
      border-top: 3px solid var(--gold);
    }
    .quote-mark {
      font-family: 'Cormorant Garamond', serif;
      font-size: 4rem; color: var(--gold); opacity: 0.3;
      line-height: 0.5; margin-bottom: 1rem; display: block;
    }
    .testi-card p { font-size: 0.95rem; color: var(--muted); line-height: 1.8; font-style: italic; }
    .testi-author {
      margin-top: 1.5rem; padding-top: 1rem;
      border-top: 1px solid var(--warm);
      font-size: 0.82rem; font-weight: 600; color: var(--navy);
    }
    .testi-author span { color: var(--muted); font-weight: 400; }

    /* ─── FAQ ─── */
    #faq { background: var(--white); }
    .faq-inner { max-width: 780px; }

    .faq-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0; }
    .faq-item { border-bottom: 1px solid var(--warm); }

    .faq-q {
      width: 100%; background: none; border: none;
      padding: 1.4rem 0; display: flex;
      justify-content: space-between; align-items: center;
      cursor: pointer; text-align: left;
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.15rem; font-weight: 600; color: var(--navy);
    }
    .faq-q .icon {
      width: 24px; height: 24px;
      background: var(--warm); border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; transition: background 0.2s; font-size: 0.9rem;
    }
    .faq-q.open .icon { background: var(--gold); color: var(--navy); }

    .faq-a {
      display: none; padding-bottom: 1.5rem;
      font-size: 0.92rem; color: var(--muted); line-height: 1.8;
    }
    .faq-a.open { display: block; }

    /* ─── CONTACT ─── */
    #contact { background: var(--navy); color: var(--white); }
    #contact h2 { color: var(--white); }
    #contact .section-eyebrow { color: var(--gold); }

    .contact-grid {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 5rem; margin-top: 3rem;
    }

    .contact-info p { color: rgba(255,255,255,0.6); margin-bottom: 2rem; line-height: 1.8; }

    .contact-details { display: flex; flex-direction: column; gap: 1.2rem; }
    .contact-item {
      display: flex; gap: 1rem; align-items: flex-start;
    }
    .contact-icon {
      width: 40px; height: 40px; background: rgba(184,137,42,0.15);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; font-size: 1rem;
    }
    .contact-item h5 { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.2rem; }
    .contact-item p { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.5; }
    .contact-item a { color: var(--gold-lt); text-decoration: none; }
    .contact-item a:hover { color: var(--gold); text-decoration: underline; }

    .contact-form { display: flex; flex-direction: column; gap: 1.2rem; }

    .thank-you { text-align: center; padding: 2.8rem 1.2rem; background: rgba(255,255,255,0.03); border: 1px solid var(--rule); }
    .thank-you .ty-icon { width: 58px; height: 58px; border-radius: 50%; background: #2A6B3A; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; margin: 0 auto 1.1rem; }
    .thank-you h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; color: var(--white); margin-bottom: 0.6rem; }
    .thank-you p { color: rgba(255,255,255,0.7); font-size: 0.95rem; max-width: 380px; margin: 0 auto; line-height: 1.6; }
    .form-error { display: none; color: #ffb4b4; background: rgba(255,80,80,0.08); border: 1px solid rgba(255,80,80,0.3); padding: 0.7rem 1rem; font-size: 0.85rem; }

    .form-group { display: flex; flex-direction: column; gap: 0.4rem; }
    .form-group label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
    .form-group input,
    .form-group select,
    .form-group textarea {
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.12);
      color: var(--white); padding: 0.85rem 1rem;
      font-family: 'Inter', sans-serif; font-size: 0.92rem;
      outline: none; transition: border-color 0.2s;
      width: 100%;
    }
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus { border-color: var(--gold); }
    .form-group select option { background: var(--navy); }
    .form-group textarea { min-height: 130px; resize: vertical; }

    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

    .submit-btn {
      background: var(--gold); color: var(--navy);
      border: none; padding: 1rem 2.5rem;
      font-family: 'Inter', sans-serif; font-weight: 600;
      font-size: 0.88rem; letter-spacing: 0.08em;
      text-transform: uppercase; cursor: pointer;
      transition: background 0.2s; width: 100%; margin-top: 0.5rem;
    }
    .submit-btn:hover { background: var(--gold-lt); }

    /* ─── FOOTER ─── */
    footer {
      background: #080F17;
      padding: 3rem 5vw;
      border-top: 1px solid rgba(184,137,42,0.15);
    }
    .footer-inner {
      display: flex; justify-content: space-between;
      align-items: center; flex-wrap: wrap; gap: 1rem;
    }
    .footer-brand {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.1rem; color: var(--white);
    }
    .footer-brand span { color: var(--gold); }
    .footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
    .footer-links { display: flex; gap: 1.5rem; }
    .footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.4); text-decoration: none; }
    .footer-links a:hover { color: var(--gold); }

    /* Mobile/tablet text wordmark (hidden on desktop) */
    .brand-mobile {
      display: none;
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.5rem; font-weight: 700; letter-spacing: 0.04em;
      color: #fff; text-decoration: none; white-space: nowrap;
    }
    .brand-mobile span { color: var(--gold-lt); }

    /* ─── RESPONSIVE ─── */
    /* On mobile and tablet show the text wordmark instead of the round logo */
    @media (max-width: 1024px) {
      .logo-img-link { display: none !important; }
      .brand-mobile { display: inline-block !important; }
      .brand-text { display: none !important; }
      #navbar { height: 72px; }
    }

    @media (max-width: 900px) {
      .services-intro { grid-template-columns: 1fr; gap: 1.5rem; }
      .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
      .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
      .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
      .form-row { grid-template-columns: 1fr; }
    }

    @media (max-width: 768px) {
      #navbar { height: 72px; }
      #navbar .logo-img-link img { height: 52px !important; }
      .brand-text { display: none !important; }
      .menu-toggle { display: block !important; }
      .nav-links { display: none; flex-direction: column; gap: 0.5rem; }
      .nav-links.open {
        display: flex;
        position: absolute; top: 72px; left: 0; right: 0;
        background: var(--navy);
        padding: 1rem 5vw 2rem;
        border-bottom: 1px solid var(--rule);
      }
      .hero-stats { gap: 1.5rem; }
      .about-badge { display: none; }
      .process-steps { grid-template-columns: 1fr 1fr; }
    }

    @media (max-width: 480px) {
      section { padding: 60px 5vw; }
      .btn-group { flex-direction: column; }
      .btn-primary, .btn-outline { text-align: center; }
    }
  
    .footer-contact {
      display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
      gap: 0.5rem 1.6rem; max-width: 1100px; margin: 0 auto 1.4rem;
      padding-bottom: 1.4rem; border-bottom: 1px solid rgba(255,255,255,0.08);
      font-size: 0.82rem;
    }
    .footer-contact a, .footer-contact span { color: rgba(255,255,255,0.6); text-decoration: none; }
    .footer-contact a:hover { color: var(--gold-lt); }
  
/* ===== Article & Course page styles ===== */
.page-head {
      background: var(--navy); color: var(--white);
      padding: 150px 5vw 70px; position: relative; overflow: hidden;
    }
.page-head::before {
      content: ''; position: absolute; inset: 0;
      background-image:
        repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(184,137,42,0.04) 60px, rgba(184,137,42,0.04) 61px),
        repeating-linear-gradient(-45deg, transparent, transparent 60px, rgba(184,137,42,0.04) 60px, rgba(184,137,42,0.04) 61px);
    }
.page-head-inner { position: relative; z-index: 2; max-width: 820px; }
.eyebrow {
      font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
      color: var(--gold-lt); margin-bottom: 1rem;
      display: flex; align-items: center; gap: 0.75rem;
    }
.eyebrow::before { content: ''; display: block; width: 40px; height: 1px; background: var(--gold); }
.page-head h1 {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; line-height: 1.1;
      margin-bottom: 1.2rem;
    }
.page-head h1 em { font-family: 'EB Garamond', serif; font-style: italic; color: var(--gold-lt); }
.page-head p { color: rgba(255,255,255,0.65); max-width: 640px; font-size: 1.05rem; }
.cards { display: grid; gap: 1.6rem; }
.card {
      background: var(--white); border: 1px solid var(--warm);
      border-left: 3px solid var(--gold);
      padding: 2rem 2.2rem;
      display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: start;
    }
.card-num { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 700; color: var(--gold); line-height: 1; }
.card-tag { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.card h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.4rem,2.4vw,1.9rem); font-weight: 600; color: var(--navy); line-height: 1.2; margin-bottom: 0.6rem; }
.card p { color: #2b3a4a; margin-bottom: 1rem; font-size: 0.97rem; }
.read-more {
      display: inline-flex; align-items: center; gap: 0.4rem;
      color: var(--navy); text-decoration: none; font-weight: 600; font-size: 0.82rem;
      letter-spacing: 0.06em; text-transform: uppercase;
      border-bottom: 2px solid var(--gold); padding-bottom: 2px; transition: color 0.2s, border-color 0.2s;
    }
.read-more::after { content: '\2192'; color: var(--gold); }
.read-more:hover { color: var(--gold); border-color: var(--gold-lt); }
.cta-strip {
      background: var(--navy); color: var(--white);
      padding: 70px 5vw; text-align: center;
    }
.cta-strip h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; margin-bottom: 1rem; }
.cta-strip p { color: rgba(255,255,255,0.65); max-width: 560px; margin: 0 auto 2rem; }
.disclaimer { max-width: 860px; margin: 0 auto; padding: 0 5vw 50px; }
.disclaimer p { font-size: 0.82rem; color: var(--muted); font-style: italic; }
.article-tools { max-width: 860px; margin: 0 auto; padding: 1.5rem 5vw 0; }
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--gold); text-decoration: none; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.back-link:hover { color: var(--gold-lt); }
.prevnext { max-width: 860px; margin: 0 auto; padding: 2.5rem 5vw 0; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--warm); }
.prevnext a { color: var(--navy); text-decoration: none; font-size: 0.85rem; max-width: 46%; }
.prevnext a span { display: block; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem; }
.prevnext a:hover { color: var(--gold); }
.prevnext .nxt { text-align: right; margin-left: auto; }
.prevnext .disabled { visibility: hidden; }
article { margin-bottom: 4.5rem; scroll-margin-top: 110px; }
article + article { padding-top: 4.5rem; border-top: 1px solid var(--warm); }
.article-meta { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; }
article h2 {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 600; line-height: 1.2;
      color: var(--navy); margin-bottom: 0.5rem;
    }
.article-rule { width: 48px; height: 2px; background: var(--gold); margin: 1.2rem 0 1.6rem; }
article h3 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.35rem; font-weight: 600; color: var(--navy);
      margin: 2rem 0 0.6rem;
    }
article p { color: #2b3a4a; margin-bottom: 1.1rem; }
article ul { margin: 0 0 1.1rem 1.2rem; color: #2b3a4a; }
article li { margin-bottom: 0.5rem; }
article strong { color: var(--navy); }
.lead { font-size: 1.1rem; color: #243140; }
.course {
      background: var(--white); border: 1px solid var(--warm);
      border-left: 3px solid var(--gold);
      padding: 2.5rem; margin-bottom: 2rem;
      display: grid; grid-template-columns: auto 1fr; gap: 1.8rem; align-items: start;
    }
.course-num {
      font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; font-weight: 700;
      color: var(--gold); line-height: 1; min-width: 2.6rem;
    }
.course h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 600; color: var(--navy); margin-bottom: 0.3rem; }
.course-tag { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.course p { color: #2b3a4a; margin-bottom: 1rem; }
.course ul { margin: 0 0 1rem 1.2rem; color: #2b3a4a; }
.course li { margin-bottom: 0.45rem; }
.course-cta {
      display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.4rem;
      color: var(--navy); text-decoration: none; font-weight: 600; font-size: 0.9rem;
      border-bottom: 2px solid var(--gold); padding-bottom: 2px; transition: color 0.2s, border-color 0.2s;
    }
.course-cta:hover { color: var(--gold); border-color: var(--gold-lt); }
.course-cta::after { content: '\2192'; color: var(--gold); }

.article-main { max-width: 860px; margin: 0 auto; padding: 70px 5vw 40px; }
.course-main { max-width: 1000px; margin: 0 auto; padding: 70px 5vw 30px; }

/* Keep the fixed site nav below the WordPress admin toolbar (logged-in view) so the logo isn't covered */
body.admin-bar #navbar { top: 32px; }
@media screen and (max-width: 782px){ body.admin-bar #navbar { top: 46px; } }
