/* ================================================================
   AI Workshop — Page Styles
   ================================================================ */

/*
 * WordPress body class for this template: .page-template-public-templates-ai-workshop
 * Use it to neutralise any theme content-area constraints so our
 * full-width sections (teal bands, cream sections, etc.) can bleed edge-to-edge.
 */
.page-template-public-templates-ai-workshop .site-content,
.page-template-public-templates-ai-workshop #content,
.page-template-public-templates-ai-workshop #main,
.page-template-public-templates-ai-workshop .entry-content,
.page-template-public-templates-ai-workshop .hentry,
.page-template-public-templates-ai-workshop article,
.page-template-public-templates-ai-workshop .ast-container,
.page-template-public-templates-ai-workshop .container {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

#main-header {
  display: none !important;
}

#pr-nav {
  background-color: transparent !important;
  position: relative;
  z-index: 10;
}

#pr-nav .nav-link,
#pr-nav .nav-link span,
#pr-nav .custom-logo-link,
#pr-nav .custom-logo-link h5 {
  color: #1e383b !important;
}

#pr-nav .nav-link:hover,
#pr-nav .nav-link:hover span {
  color: #2B4E52 !important;
  opacity: .75;
}

.aw-page {
  width: 100%;
  overflow: hidden; /* contain floats / negative margins */
  background: var(--cream);
}

:root {
  --cream:    #F9F6F0;
  --cream-dk: #EDE9E1;
  --teal:     #2B4E52;
  --teal-dk:  #1e383b;
  --gold:     #8B6914;
  --gold-lt:  #a07c24;
  --text:     #1a1a1a;
  --muted:    #5a5a5a;
  --white:    #ffffff;
  --radius:   6px;
  --shadow:   0 4px 24px rgba(0,0,0,.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }

/* ── Container ─────────────────────────────────────────────────── */
.aw-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Label (eyebrow text) ───────────────────────────────────────── */
.aw-label {
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ── Buttons ────────────────────────────────────────────────────── */
.aw-btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--gold);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.aw-btn:hover { background: var(--gold-lt); border-color: var(--gold-lt); }

.aw-btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.aw-btn--outline:hover {
  background: var(--white);
  color: var(--teal);
}

.aw-btn--submit {
  width: 100%;
  margin-top: 8px;
  font-size: 1rem;
  padding: 16px;
  border-radius: var(--radius);
}

/* ================================================================
   Navigation
   ================================================================ */
.aw-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dk);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}

.aw-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.aw-nav__brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal);
  white-space: nowrap;
}

.aw-nav__links {
  display: flex;
  list-style: none;
  gap: 28px;
}
.aw-nav__links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
}
.aw-nav__links a:hover { color: var(--teal); }

/* Hamburger */
.aw-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.aw-nav__toggle span {
  display: block;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* ================================================================
   Hero
   ================================================================ */
.aw-hero {
  position: relative;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 120px 0 100px;
}

.aw-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(249, 246, 240, .95) 0%, rgb(249 246 240 / 11%) 45%, rgba(249, 246, 240, .1) 100%);
  pointer-events: none;
}

.aw-hero .aw-container {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  display: flex;
  justify-content: flex-start;
}

.aw-hero__content {
  max-width: 480px;
  width: 100%;
}

.aw-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--teal);
  margin-bottom: 20px;
}

.aw-hero__sub {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 36px;
}

/* ================================================================
   Subtitle band
   ================================================================ */
.aw-subtitle {
  background: var(--teal);
  padding: 48px 0;
  text-align: center;
}
.aw-subtitle h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.aw-subtitle p {
  font-size: .95rem;
  color: #b2c2c4;
  letter-spacing: .04em;
}

/* ================================================================
   Partners bar
   ================================================================ */
.aw-partners {
  background: var(--teal-dk);
  padding: 20px 0;
}
.aw-partners__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.aw-partners__row span {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #cad3d4;
  opacity: .7;
}

/* ================================================================
   What You'll Learn
   ================================================================ */
.aw-learn {
  padding: 88px 0;
  background: var(--cream);
}
.aw-learn__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}

.aw-learn__intro-body {
  margin-top: 20px;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 480px;
}

.aw-learn__intro-photo img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  max-height: 380px;
  display: block;
  box-shadow: var(--shadow);
}

.aw-learn__heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 600;
  color: var(--teal);
  line-height: 1.3;
  margin-bottom: 0;
  max-width: 480px;
}

.aw-modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
}

.aw-module { display: flex; flex-direction: column; }

.aw-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}

.aw-module h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 10px;
}
.aw-module p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ================================================================
   Next Session band
   ================================================================ */
.aw-next {
  background: var(--teal);
  padding: 56px 0;
}
.aw-next__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.aw-next .aw-label { color: #b2c2c4; }
.aw-next h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.aw-next__topic {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.aw-next__time {
  font-size: .9rem;
  color: #b2c2c4;
}

/* ================================================================
   Registration Form
   ================================================================ */
.aw-register {
  padding: 88px 0;
  background: var(--cream-dk);
}
.aw-register__card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 56px 48px;
  max-width: 720px;
  margin: 0 auto;
}
.aw-register__card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 6px;
}
.aw-register__session {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 32px;
}

.aw-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.aw-form-field { display: flex; flex-direction: column; }
.aw-form-field label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.aw-form-field input {
  padding: 11px 14px;
  border: 1.5px solid #d5d0c8;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color .2s;
  outline: none;
}
.aw-form-field input:focus { border-color: var(--teal); background: var(--white); }

.aw-req   { color: var(--gold); margin-left: 2px; }
.aw-optional { font-weight: 400; color: var(--muted); font-size: .78rem; }

.aw-form-field--full { grid-column: 1 / -1; }

.aw-form-field select {
  padding: 11px 14px;
  border: 1.5px solid #d5d0c8;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--cream);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238B6914' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
  outline: none;
  transition: border-color .2s;
  width: 100%;
}
.aw-form-field select:focus { border-color: var(--teal); background-color: var(--white); }

.aw-form-note {
  margin-top: 12px;
  font-size: .8rem;
  color: #7a8394;
  line-height: 1.5;
}
.aw-form-result {
  margin-top: 14px;
  font-size: .9rem;
  min-height: 1.4em;
}
.aw-form-result.is-success { color: #2B6B40; }
.aw-form-result.is-error   { color: #9B2335; }

/* ================================================================
   Testimonials
   ================================================================ */
.aw-testimonials {
  padding: 88px 0;
  background: var(--cream);
}
.aw-testimonials h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 8px;
}
.aw-testimonials__sub {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 48px;
}
.aw-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.aw-testimonial {
  background: var(--white);
  border-radius: 10px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.aw-testimonial__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}
.aw-testimonial__by {
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.aw-testimonial p:last-child {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ================================================================
   News
   ================================================================ */
.aw-news {
  padding: 88px 0;
  background: var(--cream-dk);
}
.aw-news h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 40px;
}
.aw-news__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.aw-news-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.aw-news-card__img-link { display: block; }
.aw-news-card__img-link:hover .aw-news-card__img { opacity: .88; }
.aw-news-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: opacity .2s;
}
.aw-news-card__img-placeholder {
  width: 100%;
  height: 200px;
  background: var(--cream-dk);
  display: flex;
  align-items: center;
  justify-content: center;
}
.aw-news-card__img-placeholder svg { opacity: .25; }
.aw-news-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.aw-news-card__date {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.aw-news-card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--teal);
  line-height: 1.35;
  margin-bottom: 10px;
}
.aw-news-card__excerpt {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.aw-news-card__link {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  align-self: flex-start;
}
.aw-news-card__link:hover { color: var(--teal); }

.aw-loading {
  color: var(--muted);
  font-size: .9rem;
  grid-column: 1 / -1;
}

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 1000px) {
  .aw-modules { grid-template-columns: repeat(2, 1fr); }
  .aw-testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .aw-learn__intro { gap: 36px; }
}

@media (max-width: 768px) {
  .aw-hero {
    padding: 80px 0 64px;
  }
  .aw-hero .aw-container {
    justify-content: flex-start;
  }
  .aw-hero__content {
    max-width: 100%;
  }
  .aw-hero::before {
    background: rgba(249,246,240,.88);
  }
  .aw-learn__intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .aw-learn__intro-photo { order: -1; }
}

@media (max-width: 720px) {
  .aw-news__grid { grid-template-columns: 1fr; }
  .aw-register__card { padding: 36px 24px; }
  .aw-form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .aw-modules { grid-template-columns: 1fr; }
  .aw-testimonials__grid { grid-template-columns: 1fr; }
  .aw-next__inner { flex-direction: column; align-items: flex-start; }
  .aw-learn, .aw-register, .aw-testimonials, .aw-news { padding: 64px 0; }
}
