/*
Theme Name: Wajiha Ajmal Studio
Theme URI: https://wajihaajmal.com
Author: Grovers AI
Author URI: https://grovers.io
Description: Custom theme for Wajiha Ajmal — brand & product design studio with a design-education library. Built from the approved design canvas (gushwork.ai-matched visual system).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: wajiha-ajmal
*/

/* ==========================================================================
   0. RESET
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #fff;
  color: #232326;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root {
  --ink: #0d0d10;          /* near-black text / dark sections */
  --ink-soft: #232326;     /* body text */
  --muted: #6b6b70;        /* secondary text */
  --line: #e7e7ea;         /* hairline borders */
  --surface: #f6f6f7;      /* flat card / section background */
  --white: #ffffff;
  --accent: #0070ff;       /* primary electric blue accent */
  --accent-dark: #0058cc;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --wrap: 1240px;
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 44px;
}

.grid-bg {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
}
.dots-bg {
  background-image: radial-gradient(#d7d7db 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ==========================================================================
   2. BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 14.5px;
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  transition: background 0.15s ease, transform 0.1s ease;
}
.btn-blue { background: var(--accent); color: #fff; }
.btn-blue:hover { background: var(--accent-dark); }
.btn-outline { background: #fff; border: 1.5px solid #dcdce0; color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-outline-dark { background: transparent; border: 1.5px solid #3a3a3f; color: #fff; }

.btn-dark-pill {
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 20px 10px 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
}
.avatars { display: flex; }
.avatars > span {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--ink); margin-left: -8px; display: block;
  background-size: cover; background-position: center;
}
.avatars > span:first-child { margin-left: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px 7px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #333338;
}
.eyebrow .dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: #e6f0ff; display: flex; align-items: center; justify-content: center;
  font-size: 10px; flex-shrink: 0;
}
.eyebrow--dark { background: #1a1a1e; border-color: #2c2c31; color: #fff; }
.eyebrow--dark .dot { background: #2c2c31; }

.tag-pill {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.tag-pill--dark { background: var(--ink); }

.check {
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--accent); display: inline-flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}

.card-flat {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

/* ==========================================================================
   3. HEADER / NAV
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.site-logo { display: flex; align-items: center; gap: 8px; }
.site-logo__mark { width: 26px; height: 26px; flex-shrink: 0; display: block; }
.site-logo__text { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--ink); }

.primary-nav ul { display: flex; align-items: center; gap: 28px; }
.primary-nav a { font-size: 14.5px; font-weight: 600; color: #333338; }
.primary-nav a:hover, .primary-nav a.current { color: var(--accent); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle svg { display: block; }

@media (max-width: 900px) {
  .primary-nav { position: fixed; inset: 76px 0 0 0; background: #fff; padding: 24px 20px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: 0.15s ease; }
  .primary-nav ul { flex-direction: column; align-items: flex-start; gap: 18px; }
  .primary-nav a { font-size: 17px; }
  body.nav-open .primary-nav { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-toggle { display: block; }
  .site-header__cta { display: none; }
}

/* ==========================================================================
   4. HERO
   ========================================================================== */
.hero { padding: 90px 0 70px; text-align: center; }
.hero__eyebrow { margin-bottom: 26px; }
.hero h1 { font-size: 58px; line-height: 1.12; max-width: 880px; margin: 0 auto 22px; }
.hero__sub { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 560px; margin: 0 auto 34px; }
.hero__ctas { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 40px; flex-wrap: wrap; }
.hero__proof { display: flex; align-items: center; justify-content: center; gap: 34px; flex-wrap: wrap; }
.hero__proof-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #333338; }

@media (max-width: 640px) {
  .hero { padding: 44px 0 40px; }
  .hero h1 { font-size: 30px; line-height: 1.2; }
  .hero__sub { font-size: 14.5px; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { width: 100%; }
  .hero__proof { flex-direction: column; align-items: flex-start; max-width: 240px; margin: 0 auto; gap: 10px; }
}

/* ==========================================================================
   5. SOCIAL PROOF
   ========================================================================== */
.proof-strip { padding: 44px 0 60px; text-align: center; }
.proof-strip__label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 26px; }
.proof-strip__logos { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; opacity: 0.55; }
.proof-strip__logos span { font-family: var(--font-display); font-weight: 700; font-size: 18px; }

/* ==========================================================================
   6. STORY SECTION
   ========================================================================== */
.story { padding: 90px 0; }
.story h2 { font-size: 42px; line-height: 1.25; max-width: 780px; margin-bottom: 28px; }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.story__copy { font-size: 16px; line-height: 1.85; color: #3a3a3f; }
.story__copy p { margin: 0 0 20px; }
.story__copy p:last-child { margin-bottom: 0; }
.story__card { padding: 10px; }
.story__browser { background: #fff; border-radius: 16px; padding: 10px 10px 0; box-shadow: 0 20px 50px rgba(13,13,16,0.08); }
.story__browser-dots { display: flex; gap: 6px; padding: 10px 6px; }
.story__browser-dots span { width: 9px; height: 9px; border-radius: 50%; }
.story__browser-body { height: 200px; background: var(--surface); border-radius: 10px 10px 0 0; position: relative; overflow: hidden; }
.story__browser-tag { position: absolute; font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: 999px; color: #fff; }

@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .story { padding: 46px 0; }
  .story h2 { font-size: 24px; }
  .story__copy { font-size: 14px; }
}

/* ==========================================================================
   7. SELECTED WORK
   ========================================================================== */
.work { padding: 90px 0 0; }
.work__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 30px; flex-wrap: wrap; gap: 12px; }
.work__head h2 { font-size: 32px; }
.work__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.work__thumb {
  height: 210px; border-radius: 18px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-display); font-size: 32px; font-weight: 800;
  background-size: cover; background-position: center;
}
.work__meta { display: flex; align-items: baseline; justify-content: space-between; }
.work__name { font-weight: 700; font-size: 15px; color: var(--ink); }
.work__type { font-size: 12px; font-weight: 600; color: var(--muted); }

@media (max-width: 900px) { .work__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) {
  .work { padding: 40px 0 0; }
  .work h2 { font-size: 22px; }
  .work__grid { grid-template-columns: 1fr; gap: 12px; }
  .work__thumb { height: 150px; }
}

/* ==========================================================================
   8. TESTIMONIAL
   ========================================================================== */
.testimonial { padding: 100px 0; margin-top: 90px; text-align: center; }
.testimonial blockquote {
  margin: 0 auto 28px; font-family: var(--font-display); font-weight: 800;
  font-size: 32px; line-height: 1.5; max-width: 780px;
}
.testimonial blockquote .dim { color: #c7c7cc; }
.testimonial__author { display: flex; align-items: center; justify-content: center; gap: 12px; }
.testimonial__avatar { width: 38px; height: 38px; border-radius: 50%; background: #ddd; background-size: cover; background-position: center; }
.testimonial__who { text-align: left; font-size: 13.5px; }
.testimonial__who strong { display: block; font-weight: 700; }
.testimonial__who span { color: var(--muted); }

@media (max-width: 640px) {
  .testimonial { padding: 46px 0; margin-top: 44px; }
  .testimonial blockquote { font-size: 20px; }
}

/* ==========================================================================
   9. LEARN SECTION (homepage preview + library page)
   ========================================================================== */
.learn { padding: 20px 0 0; }
.learn__head { text-align: center; margin-bottom: 46px; }
.learn__head h2 { font-size: 40px; max-width: 620px; margin: 0 auto 16px; }
.learn__head p { font-size: 15.5px; color: var(--muted); max-width: 480px; margin: 0 auto; }
.learn__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 30px; }
.learn__topic-card { padding: 24px; }
.learn__topic-links { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.learn__topic-links a { font-size: 13.5px; line-height: 1.5; font-weight: 600; color: var(--ink); }
.learn__topic-links a:hover { color: var(--accent); }
.learn__cta { text-align: center; }

@media (max-width: 900px) { .learn__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) {
  .learn__head h2 { font-size: 26px; }
  .learn__grid { grid-template-columns: 1fr; gap: 12px; }
}

/* --- Learn library page specific --- */
.library-header { padding: 56px 0 10px; text-align: center; }
.library-header h1 { font-size: 40px; max-width: 640px; margin: 0 auto 16px; }
.library-header p { font-size: 15.5px; color: var(--muted); max-width: 520px; margin: 0 auto; line-height: 1.7; }

.tip-of-week {
  padding: 26px 30px; display: grid; grid-template-columns: 200px 1fr; gap: 26px;
  align-items: center; margin: 40px 0 44px;
}
.tip-of-week__img { height: 130px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 12px; font-weight: 600; overflow:hidden; }
.tip-of-week__title { font-family: var(--font-display); font-weight: 800; font-size: 19px; margin: 10px 0 8px; }
.tip-of-week__excerpt { font-size: 13.5px; color: var(--muted); margin: 0; }

.topic-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.chip-btn {
  border: 1.5px solid #dcdce0; border-radius: 999px; padding: 9px 18px;
  font-size: 13.5px; font-weight: 600; cursor: pointer; background: #fff; color: var(--ink);
}
.chip-btn.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.results-count { font-size: 13.5px; font-weight: 700; color: var(--muted); margin-bottom: 20px; }

.lesson-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lesson-card { display: block; overflow: hidden; background: #fff; }
.lesson-card__img { height: 150px; background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 12px; font-weight: 600; overflow: hidden; }
.lesson-card__img img { width: 100%; height: 100%; object-fit: cover; }
.lesson-card__body { padding: 18px 20px 22px; }
.lesson-card__title { font-family: var(--font-display); font-weight: 800; font-size: 15.5px; line-height: 1.4; margin: 10px 0 8px; }
.lesson-card__meta { font-size: 12.5px; color: var(--muted); }
.lesson-empty { text-align: center; padding: 60px 0; color: var(--muted); }

@media (max-width: 900px) { .lesson-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .tip-of-week { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .library-header h1 { font-size: 28px; }
  .lesson-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   10. FREE RESOURCE / NEWSLETTER
   ========================================================================== */
.resource-block { padding: 90px 0 0; }
.resource-block__inner { padding: 44px 50px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.resource-block h3 { font-size: 22px; margin-bottom: 8px; }
.resource-block p { font-size: 14px; color: var(--muted); margin: 0; max-width: 460px; line-height: 1.6; }
.resource-form { display: flex; gap: 10px; }
.resource-form input[type=email] { border: 1.5px solid #dcdce0; border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; width: 220px; }

.newsletter-band { margin-top: 90px; background: var(--ink); padding: 80px 0; text-align: center; }
.newsletter-band h2 { color: #fff; font-size: 36px; max-width: 560px; margin: 0 auto 16px; }
.newsletter-band p { font-size: 15px; color: #a6a6ab; max-width: 420px; margin: 0 auto 28px; }
.newsletter-band .resource-form { max-width: 420px; margin: 0 auto; }
.newsletter-band .resource-form input { flex: 1; border-color: #3a3a3f; background: #1a1a1e; color: #fff; width: auto; }

@media (max-width: 700px) {
  .resource-block__inner { grid-template-columns: 1fr; text-align: center; }
  .resource-form, .newsletter-band .resource-form { flex-direction: column; }
  .resource-form input, .newsletter-band .resource-form input { width: 100%; }
}
@media (max-width: 640px) {
  .newsletter-band { margin-top: 44px; padding: 44px 0; }
  .newsletter-band h2 { font-size: 24px; }
}

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.site-footer { background: var(--ink); color: #a6a6ab; padding-top: 60px; }
.site-footer__top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 36px; padding-bottom: 44px; }
.site-footer__brand { max-width: 260px; }
.site-footer__brand .site-logo__text { color: #fff; }
.site-footer__brand p { font-size: 13px; line-height: 1.7; margin-top: 14px; }
.site-footer__cols { display: flex; gap: 56px; font-size: 13.5px; flex-wrap: wrap; }
.site-footer__col { display: flex; flex-direction: column; gap: 12px; }
.site-footer__col strong { color: #fff; font-weight: 700; margin-bottom: 2px; }
.site-footer__col a:hover { color: #fff; }
.site-footer__bottom { border-top: 1px solid #2c2c31; padding: 20px 0; font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

@media (max-width: 640px) {
  .site-footer__top { flex-direction: column; }
}

/* ==========================================================================
   12. FLOATING CTA
   ========================================================================== */
.floating-cta { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 60; }

/* ==========================================================================
   13. WORK ARCHIVE PAGE
   ========================================================================== */
.work-archive { padding: 56px 0 100px; }
.work-archive__head { text-align: center; margin-bottom: 46px; }
.work-archive__head h1 { font-size: 40px; margin-bottom: 16px; }
.work-archive__head p { font-size: 15.5px; color: var(--muted); max-width: 520px; margin: 0 auto; line-height: 1.7; }
.work-archive__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
@media (max-width: 900px) { .work-archive__grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .work-archive__grid { grid-template-columns: 1fr; } .work-archive__head h1 { font-size: 26px; } }

/* ==========================================================================
   14. SINGLE PROJECT (CASE STUDY)
   ========================================================================== */
.case-hero { margin-bottom: 40px; }
.case-hero__crumb { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.case-hero h1 { font-size: 40px; line-height: 1.2; }
.case-hero__subheading { font-size: 19px; line-height: 1.6; color: var(--muted); margin: 16px 0 0; max-width: 640px; }
.case-hero__image { height: 440px; margin: 0 0 60px; border-radius: 20px; overflow: hidden; background: var(--surface); }
.case-hero__image img { width: 100%; height: 100%; object-fit: cover; }

.case-hero__links { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.case-hero__tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.case-hero__tools-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }

.case-meta { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; padding-bottom: 60px; border-bottom: 1px solid var(--line); margin-bottom: 60px; }
.case-meta__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 6px; }
.case-meta__value { font-weight: 700; font-size: 14.5px; }

.case-process { display: grid; grid-template-columns: 260px 1fr; gap: 60px; margin-bottom: 70px; }
.case-process__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 18px; }
.step-btn { border: none; background: none; text-align: left; cursor: pointer; padding: 16px 0; width: 100%; border-bottom: 1px solid #ececef; color: var(--muted); }
.step-btn .step-title { font-family: var(--font-display); font-weight: 800; font-size: 17px; }
.step-btn.is-active { color: var(--ink); border-bottom-color: var(--accent); border-bottom-width: 2px; }
.case-process__tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); margin-bottom: 12px; }
.case-process__body { font-size: 15px; line-height: 1.8; color: #3a3a3f; max-width: 560px; margin-bottom: 24px; }
.case-process__image { height: 260px; border-radius: 16px; overflow: hidden; background: var(--surface); }
.case-process__image img { width: 100%; height: 100%; object-fit: cover; }
.case-process__pane { display: none; }
.case-process__pane.is-active { display: block; }

.case-gallery { margin-bottom: 60px; }
.case-gallery__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 20px; }
.case-gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.case-gallery__grid > div { height: 220px; border-radius: 16px; overflow: hidden; background: var(--surface); }
.case-gallery__grid img { width: 100%; height: 100%; object-fit: cover; }

.case-next { text-align: center; padding: 50px 0; border-top: 1px solid var(--line); }
.case-next__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 12px; }
.case-next a { font-family: var(--font-display); font-weight: 800; font-size: 28px; }
.case-next a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .case-meta { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .case-process { grid-template-columns: 1fr; }
  .case-gallery__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .case-hero h1 { font-size: 26px; }
  .case-hero__subheading { font-size: 15.5px; }
  .case-hero__image { height: 220px; }
}

/* ==========================================================================
   15. SINGLE LESSON
   ========================================================================== */
.lesson-single { max-width: 720px; margin: 0 auto; padding: 56px 44px 100px; }
.lesson-single__meta { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.lesson-single h1 { font-size: 36px; line-height: 1.25; margin-bottom: 20px; }
.lesson-single__cover { border-radius: 18px; overflow: hidden; margin-bottom: 30px; }
.lesson-single__content { font-size: 16.5px; line-height: 1.85; color: #2a2a2e; }
.lesson-single__content p { margin: 0 0 22px; }
.lesson-single__resource { margin-top: 10px; }

.embed-responsive { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 18px; margin-bottom: 30px; background: var(--surface); }
.embed-responsive iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 640px) { .lesson-single { padding: 30px 20px 60px; } .lesson-single h1 { font-size: 24px; } }

/* ==========================================================================
   16. SCREEN-READER / ACCESSIBILITY
   ========================================================================== */
.screen-reader-text { position: absolute; left: -9999px; }

/* ==========================================================================
   17. BLOG (ARCHIVE GRID + SINGLE POST)
   ========================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.blog-card { display: block; overflow: hidden; background: #fff; }
.blog-card__img { height: 190px; background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 12px; font-weight: 600; overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 18px 20px 22px; }
.blog-card__title { font-family: var(--font-display); font-weight: 800; font-size: 16px; line-height: 1.4; margin: 10px 0 8px; }
.blog-card__meta { font-size: 12.5px; color: var(--muted); }
.blog-empty { text-align: center; padding: 60px 0; color: var(--muted); grid-column: 1 / -1; }

@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-preview { padding: 90px 0 0; }
@media (max-width: 640px) { .blog-preview { padding: 40px 0 0; } }

.pagination-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 34px; margin-top: 10px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.pagination-row a:hover { color: var(--accent); }

.blog-single { max-width: 720px; margin: 0 auto; padding: 56px 44px 60px; }
.blog-single__meta { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.blog-single__meta a:hover { color: var(--accent); }
.blog-single h1 { font-size: 36px; line-height: 1.25; margin-bottom: 20px; }
.blog-single__cover { border-radius: 18px; overflow: hidden; margin-bottom: 30px; }
.blog-single__content { font-size: 16.5px; line-height: 1.85; color: #2a2a2e; }
.blog-single__content p { margin: 0 0 22px; }
.blog-single__content h2, .blog-single__content h3 { margin: 36px 0 16px; }
.blog-single__content blockquote { margin: 0 0 22px; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); color: #3a3a3f; font-style: italic; }
.blog-single__content img { border-radius: 14px; margin: 8px 0 22px; }
.blog-single__content ul, .blog-single__content ol { margin: 0 0 22px; padding-left: 22px; }

.author-box { display: flex; align-items: center; gap: 16px; margin: 10px 0 50px; padding: 22px 24px; max-width: 720px; margin-left: auto; margin-right: auto; }
.author-box img { border-radius: 50%; }
.author-box strong { display: block; font-size: 14.5px; }
.author-box span { font-size: 13px; color: var(--muted); }

.related-posts { border-top: 1px solid var(--line); margin-top: 10px; padding: 60px 0; }
.related-posts__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 22px; text-align: center; }

@media (max-width: 640px) { .blog-single { padding: 30px 20px 30px; } .blog-single h1 { font-size: 24px; } }

/* ==========================================================================
   18. CONTACT PAGE
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 24px; padding: 20px 0 90px; align-items: start; }
.contact-info { padding: 8px 34px; }
.contact-info__item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-info__item:last-child { border-bottom: none; }
.contact-info__item strong { display: block; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 6px; }
.contact-info__item span, .contact-info__item a { font-size: 15px; font-weight: 600; color: var(--ink); }
.contact-info__item a:hover { color: var(--accent); }
.contact-form { padding: 34px; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 7px; color: #333338; }
.contact-form input, .contact-form textarea {
  width: 100%; border: 1.5px solid #dcdce0; border-radius: var(--radius-sm);
  padding: 13px 14px; font-size: 14px; font-family: var(--font-body); background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form .field { margin-bottom: 16px; }
.contact-form .btn { width: 100%; margin-top: 4px; padding: 15px 24px; }

.faq { max-width: 760px; margin: 0 auto; padding: 0 44px 90px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; color: var(--muted); font-weight: 400; flex-shrink: 0; }
.faq details[open] summary::after { content: '–'; }
.faq p { font-size: 14.5px; line-height: 1.75; color: var(--muted); margin: 14px 0 0; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; padding: 20px 0 60px; } }
@media (max-width: 640px) { .contact-form__row { grid-template-columns: 1fr; } .faq { padding: 0 20px 60px; } }

/* ==========================================================================
   19. ABOUT PAGE
   ========================================================================== */
.values-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.value-card { padding: 26px; }
.value-card__icon { width: 38px; height: 38px; border-radius: 10px; background: #e6f0ff; display: flex; align-items: center; justify-content: center; font-size: 17px; margin-bottom: 16px; }
.value-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.value-card p { font-size: 13.5px; line-height: 1.65; color: var(--muted); margin: 0; }

.stats-row { display: flex; justify-content: space-between; gap: 20px; padding: 50px 0 6px; margin-top: 60px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.stat-item { text-align: center; flex: 1; min-width: 120px; }
.stat-item__num { font-family: var(--font-display); font-weight: 800; font-size: 40px; color: var(--accent); }
.stat-item__label { font-size: 13px; color: var(--muted); margin-top: 6px; }

@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) {
  .values-grid { grid-template-columns: 1fr; }
  .stats-row { padding: 30px 0 0; margin-top: 34px; }
  .stat-item__num { font-size: 28px; }
}

/* ==========================================================================
   20. FOOTER POLISH — social icon links + back-to-top
   ========================================================================== */
.site-footer__col--social { display: flex; flex-direction: column; gap: 12px; }
.site-footer__social { display: flex; gap: 10px; margin-top: 2px; }
.site-footer__social a {
  width: 36px; height: 36px; border-radius: 50%; background: #1a1a1e;
  border: 1px solid #2c2c31; display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.site-footer__social a svg { width: 16px; height: 16px; }
.site-footer__social a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

.back-to-top {
  display: inline-flex; align-items: center; gap: 6px;
  color: #a6a6ab; font-size: 12.5px; font-weight: 600; background: none; border: none; cursor: pointer;
  font-family: var(--font-body); padding: 0;
}
.back-to-top:hover { color: #fff; }
.wrap.site-header__inner {
  padding: 0;
}