/* ============================================================
   RESCUER EDUSKILLS — INNER PAGES CSS
   About · Courses · App · Contact
   ============================================================ */

/* Restore bullet points for contact address list */
.contact-address-list {
  list-style: disc;
  padding-left: 20px;
}

.contact-address-list li {
  margin-bottom: 6px;
}

/* ════════════════════════════════════════════════════════════
   ABOUT PAGE
   ════════════════════════════════════════════════════════════ */

.about-intro { padding: 76px 0; }

.about-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.about-intro-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2.3rem);
  color: var(--dark); line-height: 1.2; margin-bottom: 18px;
}
.about-intro-text p { color: var(--text-light); line-height: 1.8; margin-bottom: 14px; }

.about-page-img-ph {
  width: 100%; aspect-ratio: 1;
  border: 2px dashed rgba(108,63,197,.25); border-radius: var(--radius-lg);
  background: linear-gradient(135deg,rgba(108,63,197,.07),rgba(49,151,149,.07));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: var(--purple); font-size: .87rem; font-weight: 500;
  /* ↑ Replace with <img src="images/team.jpg" ...> */
}
.about-page-img-ph .ph-icon { font-size: 3.5rem; opacity: .35; }

/* How We Teach */
.how-we-teach { padding: 72px 0; background: var(--off-white); }

.teach-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 38px; }

.teach-card {
  background: var(--white); border-radius: var(--radius);
  padding: 26px 20px; text-align: center;
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid transparent;
  transition: var(--ease);
}
.teach-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-bottom-color: var(--purple); }
.teach-card .t-icon { font-size: 2.1rem; margin-bottom: 12px; }
.teach-card h3 { font-size: .93rem; font-weight: 600; color: var(--dark); margin-bottom: 7px; }
.teach-card p  { font-size: .82rem; color: var(--text-light); line-height: 1.6; }

/* Vision & Mission */
.vision-mission { padding: 76px 0; }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 38px; }

.vm-card { padding: 34px; border-radius: var(--radius-lg); }
.vm-card.vision  { background: linear-gradient(135deg,#4B28A0,#6C3FC5); }
.vm-card.mission { background: linear-gradient(135deg,#2B6CB0,#319795); }

.vm-card h3 {
  font-family: var(--font-display); font-size: 1.45rem;
  color: var(--white); margin-bottom: 14px;
  display: flex; align-items: center; gap: 9px;
}
.vm-card p, .vm-card li { color: rgba(255,255,255,.85); font-size: .91rem; line-height: 1.75; }
.vm-card ul { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.vm-card ul li { display: flex; align-items: flex-start; gap: 9px; }
.vm-card ul li::before { content: '→'; flex-shrink: 0; margin-top: 1px; color: rgba(255,255,255,.55); }

/* Values */
.values-section { padding: 72px 0; background: var(--off-white); }

.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 38px; }

.value-card {
  background: var(--white); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: var(--ease);
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.value-card .v-icon { font-size: 1.9rem; margin-bottom: 12px; }
.value-card h3 { font-weight: 600; color: var(--dark); margin-bottom: 7px; }
.value-card p  { font-size: .87rem; color: var(--text-light); line-height: 1.6; }

/* Impact Banner */
.impact-banner {
  padding: 72px 0;
  background: var(--grad-hero);
  position: relative; overflow: hidden;
  text-align: center;
}
.impact-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 60%, rgba(72,187,120,.20) 0%, transparent 50%);
}
.impact-banner > div { position: relative; z-index: 1; }
.impact-banner h2 { font-family: var(--font-display); font-size: clamp(1.75rem,4vw,2.8rem); color: var(--white); margin-bottom: 14px; }
.impact-banner p  { color: rgba(255,255,255,.80); max-width: 560px; margin: 0 auto 34px; line-height: 1.75; }
.impact-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════════
   COURSES PAGE
   ════════════════════════════════════════════════════════════ */

.courses-page { padding: 68px 0; }

/* Filter tabs (CSS only — no JS) */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 38px; }

.cat-tabs a {
  padding: 8px 18px; border-radius: 100px;
  font-size: .87rem; font-weight: 500;
  background: var(--light-gray); color: var(--text-light);
  border: 2px solid transparent; transition: var(--ease);
}
.cat-tabs a:hover { background: rgba(108,63,197,.10); color: var(--purple); border-color: rgba(108,63,197,.28); }
.cat-tabs a.active { background: rgba(108,63,197,.10); color: var(--purple); border-color: rgba(108,63,197,.35); font-weight: 600; }

/* Course Sections */
.course-section { margin-bottom: 52px; }

.cs-title { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }

.cs-icon {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
}
.icon-purple { background: linear-gradient(135deg,#4B28A0,#6C3FC5); }
.icon-blue   { background: linear-gradient(135deg,#2B6CB0,#4299E1); }
.icon-green  { background: linear-gradient(135deg,#2F855A,#319795); }
.icon-teal   { background: linear-gradient(135deg,#319795,#4299E1); }
.icon-amber  { background: linear-gradient(135deg,#B7791F,#F6AD55); }
.icon-pink   { background: linear-gradient(135deg,#97266D,#D53F8C); }

.cs-title h2 { font-family: var(--font-display); font-size: 1.35rem; color: var(--dark); font-weight: 700; }

.courses-list { display: grid; grid-template-columns: repeat(auto-fill,minmax(248px,1fr)); gap: 14px; }

.course-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--light-gray);
  border-radius: var(--radius); padding: 16px 20px;
  transition: var(--ease);
}
.course-item:hover { border-color: var(--purple-light); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.course-item .bullet { width: 8px; height: 8px; background: var(--grad-card); border-radius: 50%; flex-shrink: 0; }
.course-item span { font-size: .91rem; font-weight: 500; color: var(--text); }

/* ════════════════════════════════════════════════════════════
   CAROUSEL STYLES (Mobile Compatible)
   ════════════════════════════════════════════════════════════ */

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0 40px;
}

.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.carousel-slide img {
  max-width: 100%;
  height: auto;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(108, 63, 197, 0.9);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.3s ease;
}

.carousel-btn:hover {
  background: rgba(108, 63, 197, 1);
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(108, 63, 197, 0.3);
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-dot.active {
  background: rgba(108, 63, 197, 0.9);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .carousel-container {
    padding: 0 35px;
  }
  
  .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  .carousel-slide img {
    width: 100%;
    height: auto;
  }
  
  .carousel-dots {
    gap: 6px;
  }
  
  .carousel-dot {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    padding: 0 30px;
  }
  
  .carousel-btn {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
}
.enroll-cta {
  background: var(--grad-hero);
  padding: 60px 0; text-align: center;
}
.enroll-cta h2 { font-family: var(--font-display); font-size: clamp(1.55rem,3.5vw,2.3rem); color: var(--white); margin-bottom: 12px; }
.enroll-cta p  { color: rgba(255,255,255,.80); margin-bottom: 26px; }
.enroll-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════════
   TEACHERS PAGE
   ════════════════════════════════════════════════════════════ */

.teachers-hero {
  background:
    radial-gradient(circle at 12% 18%, rgba(72,187,120,.24), transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(155,114,239,.30), transparent 30%),
    linear-gradient(135deg, #26125A 0%, #2B6CB0 58%, #287D80 100%);
  color: var(--white);
  overflow: hidden;
  padding: 76px 0 86px;
  position: relative;
}

.teachers-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 100px;
  background: linear-gradient(180deg, transparent, rgba(247,246,255,.92));
  pointer-events: none;
}

.teachers-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: 54px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.teachers-hero .section-label {
  background: rgba(255,255,255,.14);
  color: #D9F99D;
}

.teachers-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.4vw, 4.35rem);
  line-height: 1.02;
  max-width: 760px;
  margin-top: 8px;
}

.teachers-hero h1 em {
  color: #A3E4B4;
  font-style: italic;
}

.teachers-hero-copy > p {
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 640px;
  margin-top: 18px;
}

.teacher-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
  max-width: 680px;
}

.teacher-hero-stats div {
  padding: 18px 16px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.teacher-hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--white);
}

.teacher-hero-stats span {
  display: block;
  color: rgba(255,255,255,.78);
  font-size: .78rem;
  line-height: 1.45;
  margin-top: 8px;
}

.teacher-portrait-stack {
  min-height: 430px;
  position: relative;
}

.teacher-portrait-stack img {
  position: absolute;
  object-fit: cover;
  border: 8px solid rgba(255,255,255,.88);
  box-shadow: 0 24px 58px rgba(0,0,0,.28);
}

.portrait-main {
  width: min(78%, 360px);
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  left: 8%;
  top: 0;
}

.portrait-small {
  width: 180px;
  aspect-ratio: 1;
  border-radius: 22px;
}

.portrait-one {
  right: 2%;
  top: 52px;
}

.portrait-two {
  right: 14%;
  bottom: 0;
}

.teachers-page {
  padding: 78px 0;
  background:
    linear-gradient(180deg, rgba(247,246,255,.95), #fff 42%);
}

.teacher-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.teacher-section-head > p {
  color: var(--text-light);
  line-height: 1.75;
  max-width: 470px;
}

.teachers-grid {
  display: grid;
  grid-template-columns: 1.15fr .92fr .92fr;
  gap: 24px;
  margin-top: 42px;
}

.teacher-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,246,255,.88)),
    var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 48px rgba(47, 55, 100, .10);
  overflow: hidden;
  transition: var(--ease);
  position: relative;
}

.teacher-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 62px rgba(108,63,197,.18);
  border-color: rgba(108,63,197,.22);
}

.featured-teacher {
  background:
    linear-gradient(160deg, rgba(108,63,197,.10), rgba(49,151,149,.10)),
    var(--white);
}

.teacher-image-wrap {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(108,63,197,.16), transparent 34%),
    linear-gradient(135deg, rgba(247,246,255,.96), rgba(238,241,248,.82));
  display: flex;
  justify-content: center;
  align-items: center;
}

.teacher-image-wrap img {
  width: min(100%, 260px);
  height: 280px;
  object-fit: contain;
  object-position: center center;
  padding: 14px 14px 0;
  transition: var(--ease);
}

.teacher-card:hover .teacher-image-wrap img {
  transform: translateY(-3px);
}

.teacher-image-wrap span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 7px 13px;
  border-radius: 100px;
  background: rgba(255,255,255,.90);
  color: var(--purple);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.teacher-card-body { padding: 26px; }

.teacher-prefix {
  color: var(--purple);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .10em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.teacher-card h3 {
  font-family: var(--font-display);
  color: var(--dark);
  font-size: 1.45rem;
  line-height: 1.15;
  margin-bottom: 10px;
}

.teacher-qualification {
  color: var(--text);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 16px;
}

.teacher-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.teacher-tags span {
  background: rgba(108,63,197,.09);
  color: var(--purple);
  border: 1px solid rgba(108,63,197,.14);
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  padding: 6px 10px;
}

.teacher-experience {
  color: var(--text-light);
  font-size: .91rem;
  line-height: 1.7;
  padding-top: 12px;
  border-top: 1px solid var(--light-gray);
}

.teacher-experience + .teacher-experience {
  margin-top: 10px;
}

/* ════════════════════════════════════════════════════════════
   APP PAGE
   ════════════════════════════════════════════════════════════ */

.app-page { padding: 76px 0; }

.app-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* Phone mockup placeholders */
.phones-wrap { display: flex; gap: 14px; justify-content: center; }

.phone-ph {
  width: 148px; aspect-ratio: 9/19;
  border: 2px dashed rgba(108,63,197,.25); border-radius: 24px;
  background: linear-gradient(135deg,rgba(108,63,197,.07),rgba(49,151,149,.07));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--purple); font-size: .78rem; font-weight: 500; flex-shrink: 0;
  /* ↑ Replace with <img src="images/screen-1.png" ...> */
}
.phone-ph .ph-icon { font-size: 1.9rem; opacity: .40; }
.phone-ph:first-child { margin-top: 30px; }

.app-intro-content h2 { font-family: var(--font-display); font-size: clamp(1.75rem,3.5vw,2.5rem); color: var(--dark); line-height: 1.2; margin-bottom: 18px; }
.app-intro-content p  { color: var(--text-light); line-height: 1.8; margin-bottom: 18px; }
.app-intro-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }

/* App features */
.app-features-section { padding: 72px 0; background: var(--off-white); }

.app-feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 38px; }

.af-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: var(--ease); text-align: center;
}
.af-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.af-card .af-icon {
  width: 58px; height: 58px; background: var(--grad-card);
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 1.55rem; margin: 0 auto 16px;
}
.af-card h3 { font-size: .97rem; font-weight: 600; color: var(--dark); margin-bottom: 9px; }
.af-card p  { font-size: .87rem; color: var(--text-light); line-height: 1.6; }

/* Why the app */
.why-app-section { padding: 72px 0; }

.why-app-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 18px; margin-top: 36px; }

.why-app-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px; background: var(--off-white); border-radius: var(--radius);
}
.why-app-item .wa-icon { font-size: 1.45rem; flex-shrink: 0; }
.why-app-item h4 { font-weight: 600; color: var(--dark); margin-bottom: 5px; }
.why-app-item p  { font-size: .87rem; color: var(--text-light); line-height: 1.6; }

/* Download section */
.app-download { padding: 72px 0; }

.download-card {
  background: var(--grad-hero);
  border-radius: var(--radius-lg); padding: 52px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.download-card::before {
  content: '';
  position: absolute; right: -60px; top: -60px;
  width: 280px; height: 280px;
  background: rgba(155,114,239,.20); border-radius: 50%;
}

.download-card h2 { font-family: var(--font-display); font-size: clamp(1.55rem,3vw,2.1rem); color: var(--white); margin-bottom: 9px; }
.download-card p  { color: rgba(255,255,255,.80); max-width: 430px; }
.dl-btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

.store-btn {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.14);
  color: var(--white); border: 2px solid rgba(255,255,255,.32);
  padding: 12px 20px; border-radius: 12px; transition: var(--ease);
}
.store-btn:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }
.store-btn .s-icon { font-size: 1.45rem; }
.store-btn .s-text { display: flex; flex-direction: column; line-height: 1.2; }
.store-btn .s-text small { font-size: .70rem; opacity: .75; }
.store-btn .s-text strong { font-size: .92rem; }

/* ════════════════════════════════════════════════════════════
   CONTACT PAGE
   ════════════════════════════════════════════════════════════ */

.contact-page { padding: 76px 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }

.contact-info .section-label {
  background: linear-gradient(135deg, rgba(108,63,197,.12), rgba(49,151,149,.14));
  color: var(--purple-dark);
  border: 1px solid rgba(108,63,197,.12);
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.65rem);
  line-height: 1.04;
  color: var(--dark);
  margin: 14px 0 12px;
  max-width: 360px;
}

.contact-info h2::after {
  content: '';
  display: block;
  width: 74px;
  height: 4px;
  border-radius: 999px;
  background: var(--grad-card);
  margin-top: 14px;
}

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 28px;
  line-height: 1.78;
  font-size: 1rem;
  max-width: 430px;
}

.c-items { display: flex; flex-direction: column; gap: 16px; }

.c-item {
  position: relative;
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(108,63,197,.12);
  box-shadow: 0 12px 30px rgba(26,20,51,.07);
  overflow: hidden;
  transition: var(--ease);
}
.c-item::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--grad-card);
}
.c-item:hover {
  box-shadow: 0 16px 38px rgba(108,63,197,.14);
  transform: translateY(-2px);
}
.c-icon {
  width: 46px; height: 46px; background: var(--grad-card);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(108,63,197,.24);
  color: #fff;
}
.c-detail h4 { font-size: .80rem; font-weight: 700; color: var(--purple); margin-bottom: 7px; text-transform: uppercase; letter-spacing: .06em; }
.c-detail p  { font-size: .94rem; color: #000; font-weight: 600; line-height: 1.55; }
.c-detail a  { color: #000; transition: var(--ease); }
.c-detail a:hover { opacity: 0.8; }

/* 1. Location (Purple/Pink) */
.c-items .c-item:nth-child(1)::before,
.c-items .c-item:nth-child(1) .c-icon { background: linear-gradient(135deg, #6C3FC5, #D53F8C); }
.c-items .c-item:nth-child(1) .c-detail h4 { color: #97266D; }

/* 2. Email Address (Green/Teal) */
.c-items .c-item:nth-child(2)::before,
.c-items .c-item:nth-child(2) .c-icon { background: linear-gradient(135deg, #2F855A, #319795); }
.c-items .c-item:nth-child(2) .c-detail h4 { color: #2F855A; }

/* 3. Phone / WhatsApp (Blue) */
.c-items .c-item:nth-child(3)::before,
.c-items .c-item:nth-child(3) .c-icon { background: linear-gradient(135deg, #2B6CB0, #4299E1); }
.c-items .c-item:nth-child(3) .c-detail h4 { color: #2B6CB0; }

/* 4. Support Hours (Orange/Amber) */
.c-items .c-item:nth-child(4)::before,
.c-items .c-item:nth-child(4) .c-icon { background: linear-gradient(135deg, #D97706, #F6AD55); }
.c-items .c-item:nth-child(4) .c-detail h4 { color: #D97706; }

/* Social links */
.social-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.social-link {
  display: flex; align-items: center; gap: 10px;
  min-height: 46px;
  padding: 10px 16px 10px 10px;
  background: var(--white);
  border-radius: 999px; font-size: .9rem; font-weight: 700;
  color: var(--text); border: 1px solid rgba(108,63,197,.14);
  box-shadow: 0 10px 24px rgba(26,20,51,.08);
  transition: var(--ease);
}
.social-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 900;
  line-height: 1;
}
.facebook-link .social-icon { background: #1877F2; font-family: Arial, sans-serif; font-size: 1.05rem; }
.instagram-link .social-icon { background: radial-gradient(circle at 30% 110%, #FEDA75 0 20%, #FA7E1E 35%, #D62976 55%, #962FBF 78%, #4F5BD5 100%); font-size: 1.1rem; }
.youtube-link .social-icon { background: #FF0033; font-size: .85rem; }
.social-link:hover {
  color: var(--purple);
  border-color: rgba(108,63,197,.28);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(108,63,197,.14);
}

/* Contact form */
.contact-form-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 38px; box-shadow: var(--shadow-md);
  border: 1px solid var(--light-gray);
}
.contact-form-card h3 { font-family: var(--font-display); font-size: 1.45rem; color: var(--dark); margin-bottom: 26px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .84rem; font-weight: 600; color: var(--text); margin-bottom: 7px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 15px;
  border: 2px solid var(--light-gray); border-radius: 10px;
  font-size: .91rem; color: var(--text); background: var(--white);
  transition: var(--ease); outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(108,63,197,.09); }
.form-group textarea { resize: vertical; min-height: 116px; }

.form-submit {
  width: 100%; padding: 14px;
  background: var(--grad-card); color: var(--white);
  border-radius: 10px; font-size: .97rem; font-weight: 600;
  border: none; cursor: pointer;
  box-shadow: 0 4px 16px rgba(108,63,197,.35);
  transition: var(--ease);
}
.form-submit:hover { opacity: .92; transform: translateY(-2px); }

/* Map section */
.map-section { padding: 0 0 76px; }

.map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.map-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--dark);
  padding: 18px 20px 4px;
}

.map-card p {
  color: var(--text-light);
  font-size: .92rem;
  padding: 0 20px 16px;
}

.map-frame {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 16px 20px 20px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--grad-card);
  color: var(--white);
  font-size: .9rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(108,63,197,.25);
}

/* Educator CTA */
.educator-cta { padding: 68px 0; background: var(--off-white); border-top: 1px solid var(--light-gray); text-align: center; }
.educator-cta h2 { font-family: var(--font-display); font-size: clamp(1.45rem,3.5vw,2.1rem); color: var(--dark); margin-bottom: 14px; }
.educator-cta h2 span { color: var(--purple); }
.educator-cta p { color: var(--text-light); max-width: 580px; margin: 0 auto 26px; line-height: 1.75; }

/* ════════════════════════════════════════════════════════════
   BLOG / EVENTS / GALLERY PAGES
   ════════════════════════════════════════════════════════════ */

.info-strip {
  padding: 24px 0;
  background: var(--off-white);
  border-bottom: 1px solid var(--light-gray);
}

.info-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.info-chip {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.info-chip strong {
  display: block;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 6px;
}

.info-chip span {
  color: var(--text);
  font-weight: 500;
}

.blog-page {
  padding: 76px 0;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
  gap: 28px;
  align-items: start;
}

.pdf-viewer-card,
.content-card,
.placeholder-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.pdf-viewer-card {
  overflow: hidden;
}

.pdf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px 20px;
  border-bottom: 1px solid var(--light-gray);
  background: linear-gradient(135deg, rgba(108,63,197,.06), rgba(49,151,149,.05));
}

.pdf-toolbar p {
  color: var(--text-light);
  font-size: .9rem;
}

.pdf-frame {
  width: 100%;
  min-height: 880px;
  border: 0;
  background: var(--off-white);
}

.content-card,
.placeholder-card {
  padding: 28px;
}

.content-card h3,
.placeholder-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.content-card p,
.placeholder-card p {
  color: var(--text-light);
  line-height: 1.8;
}

.content-card ul {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.content-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
}

.content-card ul li::before {
  content: '•';
  color: var(--purple);
  font-size: 1.1rem;
  line-height: 1;
  margin-top: 2px;
}

.placeholder-section {
  padding: 76px 0;
}

.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.placeholder-card {
  min-height: 220px;
  background:
    linear-gradient(180deg, rgba(108,63,197,.04), rgba(49,151,149,.08)),
    var(--white);
}

.placeholder-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(108,63,197,.10);
  color: var(--purple);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}

.placeholder-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--off-white);
  color: var(--text);
  font-weight: 500;
}

.contact-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.events-hero,
.gallery-hero,
.blog-hero {
  padding: 86px 0 64px;
  position: relative;
  overflow: hidden;
}

.events-hero {
  background:
    linear-gradient(120deg, rgba(47,133,90,.22), transparent 34%),
    linear-gradient(135deg, #421C7D 0%, #2B6CB0 54%, #319795 100%);
}

.gallery-hero {
  background:
    linear-gradient(120deg, rgba(213,63,140,.28), transparent 36%),
    linear-gradient(135deg, #111827 0%, #4B28A0 52%, #1B8FA8 100%);
}

.blog-hero {
  background:
    linear-gradient(120deg, rgba(255,255,255,.14), transparent 38%),
    linear-gradient(135deg, #2F855A 0%, #2B6CB0 46%, #6C3FC5 100%);
}

.events-hero .section-label,
.gallery-hero .section-label,
.blog-hero .section-label {
  background: rgba(255,255,255,.14);
  color: #D9F99D;
}

.events-hero h1,
.gallery-hero h1,
.blog-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.2vw, 4.15rem);
  color: var(--white);
  font-weight: 900;
  line-height: 1.06;
  max-width: 780px;
}

.events-hero h1 em,
.gallery-hero h1 em,
.blog-hero h1 em {
  color: #A3E4B4;
  font-style: italic;
}

.events-hero p,
.gallery-hero p,
.blog-hero p {
  color: rgba(255,255,255,.82);
  font-size: 1.06rem;
  line-height: 1.8;
  max-width: 650px;
  margin-top: 16px;
}

.event-story-section {
  padding: 76px 0;
  background:
    linear-gradient(180deg, #F8FBFF, #FFFFFF 46%, #F7F6FF);
}

.event-story-feature {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: 34px;
  align-items: stretch;
  margin-bottom: 28px;
}

.event-story-copy {
  border-radius: var(--radius-lg);
  padding: 42px;
  background:
    linear-gradient(145deg, rgba(108,63,197,.10), rgba(49,151,149,.10)),
    var(--white);
  border: 1px solid rgba(108,63,197,.14);
  box-shadow: 0 20px 54px rgba(47,55,100,.10);
}

.event-story-copy h2 {
  font-family: var(--font-display);
  color: var(--dark);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  margin-top: 10px;
}

.event-story-copy p {
  color: var(--text-light);
  line-height: 1.8;
  margin-top: 14px;
}

.event-story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.event-story-stats div {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--light-gray);
}

.event-story-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--purple);
  line-height: 1;
}

.event-story-stats span {
  color: var(--text-light);
  font-size: .78rem;
  line-height: 1.4;
  display: block;
  margin-top: 8px;
}

.event-feature-photo {
  border-radius: 26px;
  overflow: hidden;
  min-height: 420px;
  box-shadow: 0 24px 68px rgba(26,20,51,.20);
}

.event-feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-moments-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 54px;
}

.event-moments-row article {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--light-gray);
  box-shadow: var(--shadow-sm);
}

.event-moments-row span {
  color: var(--teal);
  font-weight: 800;
  letter-spacing: .12em;
  font-size: .78rem;
}

.event-moments-row h3 {
  color: var(--dark);
  margin-top: 8px;
  margin-bottom: 8px;
}

.event-moments-row p {
  color: var(--text-light);
  font-size: .9rem;
  line-height: 1.65;
}

.event-highlights-section {
  padding: 76px 0;
  background: linear-gradient(180deg, var(--white), var(--off-white));
}

.event-highlights-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.event-highlights-head p {
  max-width: 460px;
  color: var(--text-light);
  line-height: 1.75;
}

.event-photo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-flow: dense;
  gap: 14px;
}

.event-photo {
  position: relative;
  min-height: 190px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--light-gray);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(108,63,197,.10);
}

.event-photo:nth-child(1),
.event-photo:nth-child(8) {
  grid-column: span 2;
  grid-row: span 2;
}

.event-photo:nth-child(5),
.event-photo:nth-child(12) {
  grid-column: span 2;
}

.event-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: var(--ease);
}

.event-photo:hover img {
  transform: scale(1.05);
}

.event-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(26,20,51,.58));
  opacity: 0;
  transition: var(--ease);
}

.event-photo:hover::after {
  opacity: 1;
}

.event-photo span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  opacity: 0;
  text-transform: uppercase;
  transition: var(--ease);
}

.event-photo:hover span {
  opacity: 1;
}

.compact-head { margin-top: 0; }

.event-photo-grid-story .event-photo {
  border-radius: 18px;
}

.gallery-showcase-section {
  padding: 78px 0;
  background:
    linear-gradient(180deg, #101422 0%, #1A1433 54%, #F7F6FF 54%, #FFFFFF 100%);
}

.gallery-showcase-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 34px;
}

.gallery-showcase-head .section-title {
  color: var(--white);
}

.gallery-showcase-head .section-title span {
  color: #A3E4B4;
}

.gallery-showcase-head p {
  color: rgba(255,255,255,.74);
  max-width: 450px;
  line-height: 1.75;
}

.gallery-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 158px;
  grid-auto-flow: dense;
  gap: 14px;
}

.gallery-tile {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--light-gray);
  box-shadow: 0 20px 58px rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.12);
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.gallery-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,.68));
  opacity: .72;
}

.gallery-tile:hover img {
  transform: scale(1.06);
  filter: saturate(1.08);
}

.gallery-tile span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  color: var(--white);
  font-weight: 700;
  font-size: .86rem;
}

.tile-wide { grid-column: span 2; }
.tile-tall { grid-row: span 2; }

.blog-feature-strip {
  padding: 0 0 34px;
  background: var(--off-white);
}

.blog-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  transform: translateY(-34px);
}

.blog-issue-card {
  display: block;
  padding: 26px;
  min-height: 170px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(47,55,100,.14);
  border: 1px solid rgba(108,63,197,.12);
  transition: var(--ease);
}

.blog-issue-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(108,63,197,.18);
}

.blog-issue-card span,
.blog-kicker {
  color: var(--purple);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.blog-issue-card h3 {
  font-family: var(--font-display);
  color: var(--dark);
  font-size: 1.75rem;
  margin-top: 8px;
}

.blog-issue-card p {
  color: var(--text-light);
  line-height: 1.6;
  margin-top: 8px;
}

.active-issue {
  background:
    linear-gradient(145deg, rgba(108,63,197,.12), rgba(49,151,149,.12)),
    var(--white);
}

.blog-library-page {
  padding: 42px 0 78px;
  background:
    linear-gradient(180deg, var(--off-white), var(--white));
}

.blog-library-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 34px;
}

.blog-library-head p {
  color: var(--text-light);
  line-height: 1.75;
  max-width: 460px;
}

.blog-reader-stack {
  display: grid;
  gap: 28px;
}

.blog-reader-card {
  display: grid;
  grid-template-columns: minmax(250px, .42fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border-radius: 26px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  box-shadow: 0 22px 62px rgba(47,55,100,.14);
}

.blog-reader-info {
  padding: 34px;
  background:
    linear-gradient(160deg, rgba(108,63,197,.09), rgba(49,151,149,.10)),
    var(--white);
}

.blog-reader-info h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--dark);
  line-height: 1.1;
  margin: 10px 0 12px;
}

.blog-reader-info p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

.accent-card .blog-reader-info {
  background:
    linear-gradient(160deg, rgba(213,63,140,.10), rgba(66,153,225,.10)),
    var(--white);
}

.deep-card .blog-reader-info {
  background:
    linear-gradient(160deg, rgba(47,133,90,.11), rgba(108,63,197,.10)),
    var(--white);
}

.blog-pdf-frame {
  min-height: 620px;
  background: var(--off-white);
}

.blog-article-stack {
  display: grid;
  gap: 24px;
}

.blog-article-card {
  border-radius: 28px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(108,63,197,.14);
  box-shadow: 0 22px 62px rgba(47,55,100,.13);
}

.blog-article-card summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(108,63,197,.10), rgba(49,151,149,.09)),
    var(--white);
}

.blog-article-card summary::-webkit-details-marker {
  display: none;
}

.accent-article summary {
  background:
    linear-gradient(135deg, rgba(213,63,140,.10), rgba(66,153,225,.10)),
    var(--white);
}

.deep-article summary {
  background:
    linear-gradient(135deg, rgba(47,133,90,.12), rgba(108,63,197,.10)),
    var(--white);
}

.blog-number {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--grad-card);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(108,63,197,.28);
}

.blog-card-content {
  display: grid;
  gap: 8px;
}

.blog-card-content strong {
  font-family: var(--font-display);
  color: var(--dark);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.1;
}

.blog-card-content > span:last-child {
  color: var(--text-light);
  line-height: 1.65;
  max-width: 760px;
}

.view-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  padding: 11px 16px;
  border-radius: 100px;
  color: var(--purple);
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(108,63,197,.22);
  font-weight: 800;
  font-size: 0;
  transition: var(--ease);
}

.view-more::after {
  content: 'View More';
  font-size: .86rem;
}

.blog-article-card[open] .view-more {
  background: var(--purple);
  color: var(--white);
}

.blog-article-card[open] .view-more::after {
  content: 'View Less';
}

.blog-full-text {
  padding: 10px 30px 34px 120px;
  max-width: 980px;
}

.blog-full-text .lead {
  color: var(--dark);
  font-size: 1.1rem;
  line-height: 1.8;
  font-weight: 500;
}

.blog-full-text h4 {
  font-family: var(--font-display);
  color: var(--purple);
  font-size: 1.45rem;
  margin: 28px 0 8px;
}

.blog-full-text p {
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 13px;
}

.blog-pdf-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--purple);
  font-weight: 800;
  border-bottom: 2px solid rgba(108,63,197,.28);
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE INNER PAGES
   ════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .teachers-hero-inner { grid-template-columns: 1fr; }
  .teacher-portrait-stack { min-height: 360px; max-width: 520px; }
  .teacher-hero-stats { grid-template-columns: 1fr 1fr 1fr; }
  .teacher-section-head { display: block; }
  .teacher-section-head > p { margin-top: 14px; }
  .about-intro-grid  { grid-template-columns: 1fr; }
  .about-page-img-ph { display: none; }
  .teach-grid        { grid-template-columns: 1fr 1fr; }
  .vm-grid           { grid-template-columns: 1fr; }
  .values-grid       { grid-template-columns: 1fr 1fr; }
  .teachers-grid     { grid-template-columns: 1fr; }
  .app-intro-grid    { grid-template-columns: 1fr; }
  .phones-wrap       { display: none; }
  .app-feat-grid     { grid-template-columns: 1fr 1fr; }
  .contact-grid      { grid-template-columns: 1fr; }
  .form-row          { grid-template-columns: 1fr; }
  .download-card     { flex-direction: column; padding: 36px 28px; }
  .info-strip-grid   { grid-template-columns: 1fr; }
  .blog-layout       { grid-template-columns: 1fr; }
  .placeholder-grid  { grid-template-columns: 1fr 1fr; }
  .event-highlights-head { display: block; }
  .event-highlights-head p { margin-top: 12px; }
  .event-photo-grid { grid-template-columns: repeat(3, 1fr); }
  .event-story-feature { grid-template-columns: 1fr; }
  .event-feature-photo { min-height: 360px; }
  .event-moments-row { grid-template-columns: 1fr; }
  .gallery-showcase-head,
  .blog-library-head { display: block; }
  .gallery-showcase-head p,
  .blog-library-head p { margin-top: 12px; }
  .gallery-wall { grid-template-columns: repeat(3, 1fr); }
  .blog-feature-grid { grid-template-columns: 1fr; transform: translateY(-24px); }
  .blog-reader-card { grid-template-columns: 1fr; }
  .blog-article-card summary { grid-template-columns: auto minmax(0, 1fr); }
  .view-more { grid-column: 2; justify-self: start; }
  .blog-full-text { padding-left: 30px; }
}

@media (max-width: 600px) {
  .teachers-hero { padding: 56px 0 64px; }
  .teacher-hero-stats { grid-template-columns: 1fr; }
  .teacher-portrait-stack { min-height: 310px; }
  .portrait-main { width: 70%; left: 0; }
  .portrait-small { width: 128px; border-width: 6px; }
  .portrait-one { right: 0; top: 36px; }
  .portrait-two { right: 8%; }
  .teacher-image-wrap img {
    width: min(100%, 240px);
    height: 250px;
  }
  .teach-grid     { grid-template-columns: 1fr; }
  .values-grid    { grid-template-columns: 1fr; }
  .teachers-grid  { grid-template-columns: 1fr; }
  .app-feat-grid  { grid-template-columns: 1fr; }
  .c-item { padding: 18px 16px 18px 18px; }
  .social-row { flex-direction: column; }
  .social-link { width: 100%; justify-content: flex-start; }
  .contact-form-card { padding: 24px; }
  .map-grid { grid-template-columns: 1fr; }
  .impact-btns    { flex-direction: column; align-items: center; }
  .placeholder-grid { grid-template-columns: 1fr; }
  .event-photo-grid { grid-template-columns: 1fr 1fr; }
  .events-hero,
  .gallery-hero,
  .blog-hero { padding: 62px 0 52px; }
  .event-story-copy { padding: 28px; }
  .event-story-stats { grid-template-columns: 1fr; }
  .event-feature-photo { min-height: 280px; }
  .gallery-wall {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }
  .gallery-tile,
  .tile-wide,
  .tile-tall {
    grid-column: span 1;
    grid-row: span 1;
  }
  .blog-reader-info { padding: 26px; }
  .blog-pdf-frame { min-height: 520px; }
  .blog-article-card summary {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .blog-number {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    font-size: 1.35rem;
  }
  .view-more { grid-column: 1; }
  .blog-full-text { padding: 4px 24px 28px; }
  .event-photo,
  .event-photo:nth-child(1),
  .event-photo:nth-child(5),
  .event-photo:nth-child(8),
  .event-photo:nth-child(12) {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 170px;
  }
  .pdf-frame { min-height: 560px; }
}

/* Admin and dynamic content helpers */
.event-admin-link { margin: 0 0 22px; }
.event-admin-link .btn-white {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(108,63,197,.25);
  color: var(--purple);
  background: rgba(108,63,197,.08);
  font-size: .85rem;
  font-weight: 600;
}

.admin-panel-wrap { max-width: 980px; }
.admin-card {
  background: var(--white);
  border: 1px solid rgba(108,63,197,.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  margin-bottom: 20px;
}
.admin-head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.admin-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.admin-form-grid {
  display: grid;
  gap: 10px;
}
.admin-form-grid input,
.admin-form-grid textarea,
.admin-form-grid select {
  width: 100%;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: .9rem;
}
.admin-list {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}
.admin-list-group {
  border: 1px solid rgba(108,63,197,.15);
  border-radius: 8px;
  padding: 10px;
}
.admin-list-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  font-size: .8rem;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(108,63,197,.15);
}
.admin-list-item:last-child { border-bottom: 0; }
.admin-msg {
  margin-top: 12px;
  color: var(--text-light);
  font-size: .85rem;
}

@media (max-width: 900px) {
  .admin-grid-2 { grid-template-columns: 1fr; }
}
