
:root{ --edge: 1080px; }
body { font-family:'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif }
.border-bottom{ border-bottom: 1px solid #eceff4; }
.container.narrow{ max-width: var(--edge); }
.hero-has-bg .hero-bg{
  position:absolute; inset:0;
  background-image:url('images/hero-classroom.png');
  background-size:cover; background-position:center 20%;
  opacity:0.8; filter:saturate(0.95) contrast(1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 70vh;          /* ensure good spacing for the image */
  padding-bottom: 4rem; 
}
.hero-card{
  max-width: 820px; margin-top: auto; margin-left:auto; margin-right:auto;
  background: rgba(255,255,255,0.86); backdrop-filter: blur(8px);
  border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  padding-bottom: 5rem; background-position: center 15%
}
.navbar .brand-name{ font-weight: 700; font-size: 1.05rem; color:#1f2937; }
.button.bubble{ border-radius:9999px; padding-left:1.25rem; padding-right:1.25rem; }
.button.cta-enroll{ background:#DAA520; border-color:#DAA520; color:#111 !important; }
.button.cta-enroll:hover{ filter: brightness(0.95); }
.emoji{ margin-right:.35rem; }
.box.lift{ transition: transform .2s ease, box-shadow .2s ease; }
.box.lift:hover{ transform: translateY(-2px); box-shadow: 0 14px 40px rgba(0,0,0,0.08); }
.image img{ border-radius: 12px; }
figure.image.is-3by2, figure.image.is-16by9 { overflow:hidden; border-radius:12px; }
@media (max-width: 768px){
  .hero{ --edge: 92vw; }
}


/* Feature trio on home */
.box.feature{ border-radius:16px; display:flex; flex-direction:column; gap:.5rem; }
.box.feature .title{ line-height:1.2; }

/* Added newly */

/* --- Compact, lower hero card --- */
.hero-has-bg .hero-body{
  display: flex;
  align-items: flex-end;          /* anchor to bottom */
  min-height: 78vh;               /* show more image below the card */
  padding-bottom: 3rem;           /* space below card */
}

.hero-has-bg .hero-bg{
  /* Nudge crop upward so faces are fully visible */
  background-position: center 14%;
}

/* Make the card smaller and lighter */
.hero-card{
  margin-top: auto;               /* push down */
  margin-bottom: .5rem;
  padding: 1rem 1.25rem;          /* tighter padding */
  background: rgba(255,255,255,0.72);
  border-radius: 22px;
}

/* Tighter type scales so the box height shrinks */
.hero-card .title.is-2{
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  line-height: 1.1;
  margin-bottom: .35rem;
  letter-spacing: -0.01em;
  font-weight: 800;
}
.hero-card .subtitle.is-4{
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  margin-bottom: .35rem;
  margin-top: .5rem;  
}

/* Reduce vertical whitespace around the buttons */
.hero-card .buttons{
  margin-top: .5rem;
  gap: .5rem;
}
.hero-card .button{
  height: 2.5rem;
  padding: 0 1rem;
  border-radius: 9999px;
}

/* Responsive tweaks so it still clears faces on smaller screens */
@media (max-width: 1024px){
  .hero-has-bg .hero-body{ min-height: 72vh; padding-bottom: 2rem; }
  .hero-has-bg .hero-bg{ background-position: center 12%; }
}
@media (max-width: 768px){
  .hero-has-bg .hero-body{ min-height: 62vh; padding-bottom: 1.25rem; }
  .hero-has-bg .hero-bg{ background-position: center 10%; }
}

/* Pedagogy card */
.ped-card{
  padding: 2rem 2rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 18px 48px rgba(0,0,0,0.06);
  border: 1px solid #eef2f7;
}

/* Better spacing & alignment inside the card */
.ped-card .title{ margin-bottom: .75rem; }
.ped-card .content p{ margin-bottom: .5rem; }

/* Image polish */
.ped-figure img{
  border-radius: 12px;
  display: block;
}

/* Responsive stacking */
@media (max-width: 1024px){
  .ped-card{ padding: 1.5rem; }
}
@media (max-width: 768px){
  .ped-card{ padding: 1rem 1rem; }
  .ped-figure{ margin-top: 1rem; }
  #pedagogy .columns{ gap: 1rem; }
}

/* ============= Polylog semantic layer ============= */
:root{
  --pl-gold: #F4C542;
  --pl-card-shadow: 0 12px 36px rgba(0,0,0,0.06);
  --pl-card-shadow-lg: 0 18px 48px rgba(0,0,0,0.08);
}

/* Slim gradient hero */
.pl-hero{
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  border-bottom: 1px solid #eaeef4;
  padding: 3.5rem 1rem 2.5rem;
}
.pl-hero-title{
  margin-bottom: .4rem;
  letter-spacing: -0.015em;
  font-weight: 800;
  line-height: 1.15;
}
.pl-section-intro{
  max-width: 780px;
  margin: 0 auto 1.25rem;
  line-height: 1.55;
}

/* Gold pill CTA (scoped) */
.pl-cta{
  background: var(--pl-gold);
  border-color: var(--pl-gold);
  color: #111 !important;
  font-weight: 700;
  border-radius: 9999px;
  padding: .8rem 1.6rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}
.pl-cta:hover{ filter: brightness(0.95); }

/* Grid spacing (scoped) */
.pl-courses-grid{ row-gap: 2rem; }

/* Course cards */
.pl-course-card{
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--pl-card-shadow);
  padding: 1.75rem 2rem;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pl-course-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--pl-card-shadow-lg);
}
.pl-card-title{
  font-weight: 750;
  line-height: 1.2;
  margin-bottom: .35rem;
}
.pl-course-tag{
  color: #677085;
  margin-bottom: .85rem;
}

/* Bullets rhythm (restores spacing without touching global ul/li) */
.pl-bullets{
  list-style: disc;
  padding-left: 1.25rem;
  margin: .5rem 0 1rem;
}
.pl-bullets > li{
  margin-bottom: .45rem;
  line-height: 1.55;
}

/* Inline code chip (scoped) */
.pl-code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  background: #f6f8fa;
  color: #222;
  padding: .05rem .35rem;
  border-radius: 6px;
  text-decoration: none;
  border-bottom: 0;
}

/* Outcome panel */
.pl-value{
  max-width: 880px;
  background: #fafafa;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}
.pl-value p{ line-height: 1.55; }

.navbar-item.is-active {
  color: #1f5c99 !important;
  font-weight: 700;
  border-bottom: 2px solid #1f5c99;
}

/* --- Reuse hero from Courses (already defined if you used earlier patch) --- */
.pl-hero{ background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%); border-bottom:1px solid #eaeef4; padding:3.5rem 1rem 2.5rem; }
.pl-hero-title{ margin-bottom:.4rem; letter-spacing:-.015em; font-weight:800; line-height:1.15; }
.pl-section-intro{ max-width:780px; margin:0 auto 1.25rem; line-height:1.55; }

/* CTA pill (shared) */
.pl-cta{ background:#F4C542; border-color:#F4C542; color:#111!important; font-weight:700; border-radius:9999px; padding:.8rem 1.6rem; box-shadow:0 10px 24px rgba(0,0,0,.08); }
.pl-cta:hover{ filter:brightness(.95); }

/* FAQ grid */
.pl-faq-grid{
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1.25rem 2rem;
}
@media (max-width: 900px){
  .pl-faq-grid{ grid-template-columns: 1fr; }
}

/* FAQ card (details/summary) */
.pl-faq-item{
  background:#fff;
  border-radius:18px;
  box-shadow:0 12px 36px rgba(0,0,0,.06);
  padding: 1rem 1.25rem;
  transition: box-shadow .2s ease, transform .2s ease;
}
.pl-faq-item:hover{ box-shadow:0 18px 48px rgba(0,0,0,.08); transform: translateY(-2px); }

/* Summary row */
.pl-faq-item > summary{
  list-style:none;
  cursor:pointer;
  font-weight:700;
  color:#0f172a;              /* slate-900-ish */
  display:flex; align-items:center; gap:.5rem;
  padding:.25rem .25rem .25rem .25rem;
  position:relative;
}
.pl-faq-item > summary::-webkit-details-marker{ display:none; }

/* Chevron */
.pl-faq-item > summary::after{
  content:"▸";
  margin-left:auto;
  color:#6b7280;
  transition: transform .2s ease;
}
.pl-faq-item[open] > summary::after{ transform: rotate(90deg); }

/* Body copy */
.pl-faq-item > p, .pl-faq-item > .pl-bullets{
  margin: .6rem 0 .2rem;
  line-height: 1.55;
  color:#1f2937;             /* slate-800-ish */
}

/* Bullets for the Enterprise Tools answer */
.pl-bullets{ list-style:disc; padding-left:1.25rem; margin:.5rem 0 1rem; }
.pl-bullets > li{ margin-bottom:.4rem; line-height:1.55; }

/* Focus ring for accessibility */
.pl-faq-item > summary:focus{
  outline: 3px solid rgba(31,92,153,.25);
  border-radius: 10px;
}

/* ===== Blogs (semantic, scoped) ===== */

/* 3-up responsive grid */
.pl-blog-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 2rem;
}
@media (max-width: 1100px){ .pl-blog-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 720px){  .pl-blog-grid{ grid-template-columns: 1fr; } }

/* Card */
.pl-blog-card{
  background:#fff;
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(0,0,0,.06);
  padding: 1rem 1rem 1.25rem;
  transition: transform .2s ease, box-shadow .2s ease;
  display:flex; flex-direction:column; gap:.6rem;
}
.pl-blog-card:hover{ transform: translateY(-3px); box-shadow: 0 18px 48px rgba(0,0,0,.08); }

/* Media with fixed aspect + rounded corners */
.pl-card-media{ display:block; border-radius:12px; overflow:hidden; }
.pl-card-media img{ width:100%; height:auto; display:block; }

/* Meta / title / excerpt */
.pl-blog-meta{
  color:#6B7280;             /* slate-500 */
  font-size:.95rem;
  margin-top:.25rem;
}
.pl-blog-title a{ color:#0f172a; text-decoration:none; }
.pl-blog-title a:hover{ text-decoration:underline; }
.pl-blog-excerpt{ line-height:1.55; color:#1f2937; }

/* Read more link */
.pl-read-more{
  margin-top:.25rem;
  color:#1f5c99;             /* brand-ish */
  font-weight:600;
  text-decoration:none;
}
.pl-read-more:hover{ text-decoration:underline; }

/* CTA under grid */
.pl-blog-cta{ margin-top: 2.25rem; }

/* ===== Individual Blog Post ===== */
.pl-post-hero {
  background: linear-gradient(180deg, #fff 0%, #f9fafb 100%);
  padding-top: 3.5rem;
  padding-bottom: 3rem;
}

/* Image container */
.pl-post-image {
  text-align: center;
  margin-bottom: 1rem;
}
.pl-post-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.pl-post-image img:hover {
  transform: scale(1.03);
}
.pl-post-image figcaption {
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 0.5rem;
  text-align: center;
}

.pl-hp {
  display: none;
}

/* Text side */
.pl-blog-meta {
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.pl-post-title {
  margin-bottom: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}
.pl-post-body p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
  color: #1f2937;
}

/* Responsive stacking */
@media (max-width: 960px) {
  .pl-post-hero .columns {
    flex-direction: column-reverse;
  }
  .pl-post-image {
    margin-top: 2rem;
  }
}

/* ===== Navbar Brand Styling ===== */
.pl-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem; /* space between logo and name */
}

.pl-logo {
  height: 52px;        /* larger, modern size */
  width: auto;
  max-height: 60px;    /* safety cap for scaling */
  transition: transform 0.2s ease;
}

.pl-logo:hover {
  transform: scale(1.05);
}

/* Brand Text */
.pl-brand-text {
  font-size: 1.55rem;       /* slightly larger */
  font-weight: 700;         /* strong, readable */
  color: #0f172a;           /* dark slate tone */
  letter-spacing: -0.015em; /* tighter kerning for elegance */
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

/* Ensure alignment stays nice on smaller screens */
@media (max-width: 768px) {
  .pl-logo {
    height: 42px;
  }
  .pl-brand-text {
    font-size: 1.25rem;
  }
}