/* =============================================================
   qualifications.css — page-specific styles for the
   Qualifications page. Shared tokens, header, footer, buttons,
   .icon-circle, .eyebrow, .section-head, .divider, .cta-banner,
   .hero-actions etc. live in style.css.
   Classes below are prefixed (qual-/cert-/edu-/lang-/dev-/info-)
   to avoid colliding with other pages' classes.
   ============================================================= */

/* Serif display font, scoped to this page only */
body.page-qualifications h1,
body.page-qualifications h2{
  font-family: 'Playfair Display', serif;
}

/* Eyebrow label followed by a short horizontal rule, e.g. "My Qualifications ——"
   (duplicated from about.css/experience.css intentionally — this page
   doesn't load those files) */
.eyebrow-row{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:16px;
}
.eyebrow-row .eyebrow{ margin-bottom:0; }
.eyebrow-row .eyebrow-rule{
  flex:0 0 42px;
  height:1px;
  background: var(--gold);
}

/* Left-aligned variant of the shared centered .divider */
.divider-left{ margin-left:0; }

/* -------------------------------------------------------------
   1. HERO — "My Qualifications"
   ------------------------------------------------------------- */
.qual-hero{
  position:relative;
  background: var(--bg-light);
  overflow:hidden;
  padding: 76px 0 96px;
}

.qual-hero-grid{
  position:relative;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items:center;
}

.qual-hero-copy h1{
  font-size: 2.6rem;
  font-weight:700;
  margin-bottom:22px;
}
.qual-hero-copy h1 .accent{ color: var(--gold); }

.qual-hero-copy p{
  max-width:480px;
  color: var(--text-body);
  margin-bottom:30px;
}

.qual-hero-media{ display:flex; justify-content:center; }

.qual-hero-photo{
  width:100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  object-fit:cover;
  aspect-ratio: 4 / 3;
}

/* -------------------------------------------------------------
   2. PROFESSIONAL CERTIFICATIONS
   ------------------------------------------------------------- */
.certs-section{ background: var(--bg); }

.certs-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.cert-card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display:grid;
  grid-template-columns: 130px 1fr;
  gap: 22px;
}

/* certificate thumbnail with clipped "folded corner" accents */
.cert-thumb{
  position:relative;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow:hidden;
  aspect-ratio: 5 / 6;
}
.cert-thumb img{ width:100%; height:100%; object-fit:cover; }
.cert-thumb::before,
.cert-thumb::after{
  content:"";
  position:absolute;
  width:0; height:0;
  z-index:1;
}
.cert-thumb::before{
  top:0; left:0;
  border-style:solid;
  border-width: 22px 22px 0 0;
  border-color: var(--navy) transparent transparent transparent;
}
.cert-thumb::after{
  bottom:0; right:0;
  border-style:solid;
  border-width: 0 0 22px 22px;
  border-color: transparent transparent var(--navy) transparent;
}

.cert-body .icon-circle{ margin-bottom:14px; }
.cert-body h3{
  font-family: var(--font-body);
  font-size:1.02rem;
  font-weight:700;
  color: var(--navy);
  margin-bottom:3px;
}
.cert-issuer{
  display:block;
  font-size:.86rem;
  font-weight:600;
  color: var(--gold-dark);
  margin-bottom:4px;
}
.cert-date{
  display:block;
  font-size:.78rem;
  color: var(--text-muted);
  margin-bottom:12px;
}
.cert-body p{
  font-size:.88rem;
  color: var(--text-body);
}

/* -------------------------------------------------------------
   3. EDUCATION
   ------------------------------------------------------------- */
.education-section{ background: var(--bg-tint); }

.edu-wide-card{
  position:relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 34px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
/* vertical divider between the two education entries */
.edu-wide-card::before{
  content:"";
  position:absolute;
  top:30px; bottom:30px;
  left:50%;
  width:1px;
  background: var(--border);
}

.edu-entry{
  display:flex;
  align-items:flex-start;
  gap:14px;
}

.edu-icon-wrap{
  display:flex;
  align-items:center;
  gap:10px;
}
.edu-icon-wrap .icon-circle{ margin-bottom:0; }
.edu-dot{
  width:10px; height:10px;
  min-width:10px;
  border-radius:50%;
  background: var(--gold);
}

.edu-date{
  display:block;
  font-size:.8rem;
  font-weight:700;
  color: var(--gold-dark);
  margin-bottom:6px;
}
.edu-text h3{
  font-family: var(--font-body);
  font-size:1.02rem;
  font-weight:700;
  color: var(--navy);
  margin-bottom:3px;
}
.edu-institution{
  display:block;
  font-size:.86rem;
  font-weight:600;
  color: var(--gold-dark);
  margin-bottom:10px;
}
.edu-text p{
  font-size:.88rem;
  color: var(--text-body);
}

/* -------------------------------------------------------------
   4. LANGUAGES + PROFESSIONAL DEVELOPMENT
   ------------------------------------------------------------- */
.info-section{ background: var(--bg); }

.info-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items:stretch;
}

.info-card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 28px;
}
.info-card-tint{ background: var(--bg-tint); }

.info-card h3{
  font-family: var(--font-head);
  font-size:1.15rem;
  color: var(--navy);
  margin-bottom:12px;
}

/* Languages */
.lang-list{ margin-top:22px; }
.lang-item{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:20px;
}
.lang-item:last-child{ margin-bottom:0; }

.lang-flag{ font-size:1.5rem; line-height:1; }

.lang-info{
  flex:0 0 110px;
  display:flex;
  flex-direction:column;
}
.lang-info strong{
  font-size:.92rem;
  color: var(--navy);
}
.lang-info span{
  font-size:.76rem;
  color: var(--text-muted);
}

.lang-bar-track{
  flex:1;
  height:8px;
  background: var(--border);
  border-radius:4px;
  overflow:hidden;
}
.lang-bar-fill{
  height:100%;
  background: var(--navy);
  border-radius:4px;
}

/* Professional Development */
.dev-list{ margin-top:22px; }
.dev-item{
  display:flex;
  align-items:flex-start;
  gap:14px;
  margin-bottom:22px;
}
.dev-item:last-child{ margin-bottom:0; }
.dev-item .icon-circle{ margin-bottom:0; }
.dev-item h4{
  font-family: var(--font-body);
  font-size:.94rem;
  font-weight:700;
  color: var(--navy);
  margin-bottom:4px;
}
.dev-item p{
  font-size:.85rem;
  color: var(--text-body);
}

/* -------------------------------------------------------------
   5. CTA BANNER — Qualifications-page variant
   Reuses .cta-banner from style.css; same treatment as the
   Experience page (outlined icon + gold accent line).
   ------------------------------------------------------------- */
.qual-cta .cta-icon{
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.cta-accent-line{
  width:3px;
  height:64px;
  min-width:3px;
  background: var(--gold);
  border-radius:2px;
}

/* -------------------------------------------------------------
   6. FOOTER — highlight the current page in Quick Links
   ------------------------------------------------------------- */
.footer-links a.active{ color: var(--gold); }
.footer-links a.active i{ color: var(--gold); }