/* Page-specific styles */

/* ===== HERO =====
   Two-color rhythm matching the homepage: pale green / pale yellow,
   alternating section by section. */
.hero {
  background: #eef5e8;
  border-bottom: 1px solid #dde8c8;
  padding: 56px 24px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: -56px;
  background-image: radial-gradient(circle, rgba(98,181,23,0.13) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  animation: hero-drift 22s linear infinite;
  pointer-events: none; z-index: 0;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 42px); font-weight: 900;
  color: #1a1a1a; line-height: 1.1; margin-bottom: 12px;
  position: relative; z-index: 1;
  animation: fade-up 0.45s ease both;
}
.hero h1 em { font-style: normal; color: var(--brand-green); position: relative; }
.hero h1 em::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: -2px; height: 4px;
  background: #d1db24; border-radius: 3px;
  transform: scaleX(0); transform-origin: left center;
  animation: underline-grow 0.4s 0.5s ease forwards;
}
.hero p {
  font-size: 16px; color: #666; line-height: 1.65;
  max-width: 640px; margin: 0 auto;
  position: relative; z-index: 1;
  animation: fade-up 0.45s 0.15s ease both;
}

/* ===== STORY / CONTENT SECTIONS ===== */
.about-section { padding: 72px 24px; }
.about-container { max-width: 760px; margin: 0 auto; }
.section-label {
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 2.5px;
  color: var(--brand-green);
  border-left: 4px solid #d1db24; padding-left: 10px;
  margin-bottom: 18px;
}
.about-headline {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 900; color: #1a1a1a;
  line-height: 1.2; margin-bottom: 28px;
}
.about-headline em { font-style: normal; color: var(--brand-green); }
.about-body p {
  font-size: 16px; color: #444;
  line-height: 1.8; margin-bottom: 18px;
}
.about-body p strong { color: #1a3a00; font-weight: 800; }
.about-body p:last-child { margin-bottom: 0; }

/* Flat, no pattern. Texture is reserved for bg-train and the closing CTA. */
.about-section.bg-white,
.about-section.bg-cool {
  background: #fefce8;
}

/* Circuit-trace texture, same pattern used on the homepage's dark/CTA sections */
.about-section.bg-train {
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%2362b517' stroke-opacity='0.11' stroke-width='1.5' fill='none' stroke-linecap='round'%3E%3Cpolyline points='0,30 40,30 40,75'/%3E%3Ccircle cx='40' cy='30' r='3'/%3E%3Ccircle cx='40' cy='75' r='3'/%3E%3Cline x1='40' y1='75' x2='100' y2='75'/%3E%3Cline x1='70' y1='0' x2='70' y2='30'/%3E%3Ccircle cx='70' cy='30' r='2.5'/%3E%3Cline x1='70' y1='30' x2='100' y2='30'/%3E%3Cline x1='0' y1='55' x2='15' y2='55'/%3E%3Ccircle cx='15' cy='55' r='2.5'/%3E%3Cline x1='15' y1='55' x2='15' y2='100'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 100px 100px;
}

.ttt-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
.ttt-feature {
  background: #fff;
  border: 1px solid rgba(98,181,23,0.2);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ttt-feature-icon {
  width: 32px; height: 32px;
  background: #f4fae8;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.ttt-feature-text strong {
  display: block;
  font-size: 13px; font-weight: 800;
  color: #1a3a00;
  margin-bottom: 4px;
}
.ttt-feature-text span {
  font-size: 12px;
  color: #555;
  line-height: 1.5;
}
.ttt-best-for {
  margin-top: 28px;
  background: #f4fae8;
  border: 1px solid rgba(98,181,23,0.25);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}
.ttt-best-for strong { color: #1a3a00; font-weight: 800; }
@media (max-width: 600px) {
  .ttt-features { grid-template-columns: 1fr; }
}

/* ===== WORKSHOP GUIDE CARDS ===== */
.workshop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.blog-card {
  background: #fff;
  border: 2px solid #a8c96a;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.removed-post { display: none !important; }
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(98,181,23,0.18);
  border-color: var(--brand-green);
}
.blog-card-img {
  width: 100%;
  height: 170px;
  background: #f0f5e8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.blog-card-img svg { width: 100%; height: 100%; display: block; }
.blog-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}
.blog-card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.blog-card-tag {
  font-size: 9px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 1.8px; color: #fff;
  padding: 3px 8px; border-radius: 5px;
}
/* Tag palette — matches /blog/blog.css so cards look identical to the blog index */
.tag-type-workshop-guide { background: #1a6a5a; }
.tag-ai                  { background: #4a6a20; }
.tag-cybersecurity       { background: #2a5c0a; }
.tag-philosophy          { background: #2a4a8a; }
.tag-rhetoric            { background: #6a2a6a; }
.tag-art                 { background: #a0451a; }
.blog-card-title { font-size: 18px; font-weight: 900; color: #1a1a1a; line-height: 1.3; }
.blog-card-excerpt { font-size: 13px; color: #555; line-height: 1.65; flex: 1; }
.blog-card-read {
  font-size: 12px; font-weight: 800; color: var(--brand-green);
  letter-spacing: 0.04em; text-transform: uppercase;
  padding-top: 10px; border-top: 1px solid #e8f0d8;
}
@media (max-width: 600px) {
  .workshop-grid { grid-template-columns: 1fr; }
}

/* ===== CUSTOM CURRICULUM CALLOUT ===== */
.custom-callout {
  margin-top: 32px;
  background: #fff;
  border: 2px dashed #a8c96a;
  border-radius: 16px;
  padding: 28px 30px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: start;
}
.custom-callout-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: #f4fae8;
  border-radius: 12px;
}
.custom-callout-icon svg { width: 32px; height: 32px; }
.custom-callout h3 { font-size: 18px; font-weight: 900; color: #1a3a00; margin-bottom: 8px; }
.custom-callout p { font-size: 15px; color: #444; line-height: 1.7; margin: 0; }
@media (max-width: 600px) {
  .custom-callout { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
}

/* ===== CTA ===== */
.about-cta {
  background-color: #eef5e8;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%2362b517' stroke-opacity='0.11' stroke-width='1.5' fill='none' stroke-linecap='round'%3E%3Cpolyline points='0,30 40,30 40,75'/%3E%3Ccircle cx='40' cy='30' r='3'/%3E%3Ccircle cx='40' cy='75' r='3'/%3E%3Cline x1='40' y1='75' x2='100' y2='75'/%3E%3Cline x1='70' y1='0' x2='70' y2='30'/%3E%3Ccircle cx='70' cy='30' r='2.5'/%3E%3Cline x1='70' y1='30' x2='100' y2='30'/%3E%3Cline x1='0' y1='55' x2='15' y2='55'/%3E%3Ccircle cx='15' cy='55' r='2.5'/%3E%3Cline x1='15' y1='55' x2='15' y2='100'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 100px 100px;
  padding: 56px 24px;
  text-align: center;
}
.about-cta h2 { font-size: 26px; font-weight: 900; color: #1a1a1a; margin-bottom: 12px; line-height: 1.2; }
.about-cta p { font-size: 15px; color: #444; max-width: 540px; margin: 0 auto 28px; line-height: 1.6; }
.cta-btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-about {
  display: inline-flex; align-items: center;
  background: var(--brand-green); color: #fff;
  font-size: 16px; font-weight: 800;
  padding: 13px 32px; border-radius: 10px;
  text-decoration: none; letter-spacing: 0.5px;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn-about:hover { background: var(--brand-green-dark); transform: scale(1.02); }
.btn-about--secondary {
  background: transparent; color: var(--brand-green-dark);
  border: 2px solid var(--brand-green);
}
.btn-about--secondary:hover { background: rgba(98,181,23,0.12); transform: scale(1.02); }

/* ===== REVEAL ===== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 600px) {
  .about-section { padding: 56px 20px; }
}
