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

:root {
  --navy: #071324;
  --navy2: #0b1227;
  --navy3: #16233b;
  --cream: #fff5e1;
  --cream2: #f6ecd9;
  --red: #6b0f1a;
  --blue: #071b34;
  --blue2: #06152b;
  --gray-text: #d1d5db;
  --gray-text2: #9ca3af;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: linear-gradient(to bottom, var(--navy), var(--navy));
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
}

.compass-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 20px 0; /* Adjust vertical spacing as needed */
}

.compass-container img {
  max-width: 100%;
  height: auto;
}

/* ── UTILITY ── */
.hidden {
  display: none !important;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-5 {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── PAGE WRAPPER ── */
#app {
  min-height: 100vh;
}
.page {
  display: none;
}
.page.active {
  display: block;
}

/* ── LOADING SPINNER ── */
.spinner-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}
.spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── NAVBAR ── */
#navbar {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  position: relative;
  z-index: 100;
}
#navbar img.logo {
  width: 128px;
  height: 48px;
  object-fit: contain;
}
#navbar ul {
  display: flex;
  gap: 40px;
  list-style: none;
  font-size: 14px;
  color: var(--gray-text);
  margin-left: auto;
  margin-right: 80px;
}
#navbar ul a {
  color: var(--gray-text);
  text-decoration: none;
  transition: color 0.2s;
}
#navbar ul a:hover {
  color: #f2e8d5;
}
#navbar .linkedin-btn {
  margin-right: 40px;
}
#navbar .linkedin-btn img {
  transition: transform 0.3s;
}
#navbar .linkedin-btn img:hover {
  transform: scale(1.25);
}
#hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
}
#hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}
#hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
#hamburger.open span:nth-child(2) {
  opacity: 0;
}
#hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
#mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 140;
}
#mobile-overlay.visible {
  display: block;
}
.bday-section {
  max-width: 1152px;
  margin: 48px auto 0;
  padding: 0 16px;
}

.bday-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  background: #f6ecd9;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .bday-card {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.bday-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bday-iframe-wrap,
.bday-image-wrap {
  width: 100%;
  height: 384px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.bday-iframe-wrap iframe,
.bday-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: none;
  display: block;
}

.bday-text {
  color: #1f2937;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
#mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 256px;
  background: rgba(11, 18, 39, 0.85);
  backdrop-filter: blur(12px);
  z-index: 150;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  padding: 80px 24px 24px;
  gap: 24px;
}
#mobile-drawer.open {
  transform: translateX(0);
}
#mobile-drawer a {
  color: var(--gray-text);
  text-decoration: none;
  font-size: 18px;
  transition: color 0.2s;
}
#mobile-drawer a:hover {
  color: #f2e8d5;
}
#drawer-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 768px) {
  #hamburger {
    display: flex;
  }
  #navbar ul,
  #navbar .linkedin-btn {
    display: none;
  }
}

/* ── HOME PAGE ── */
/* Hero Carousel */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 400px;
  padding: 8px 48px 0;
  margin-bottom: 40px;
  overflow: hidden;
}
.hero-bg-left {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 600px;
  height: 100%;
  background: var(--red);
  z-index: 0;
  clip-path: polygon(0 0, 100% 0, 80% 70%, 0 100%);
}
.hero-bg-center {
  display: none;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 100%;
  background: var(--red);
  z-index: 0;
}
.hero-bg-right {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  background: var(--red);
  z-index: 0;
  clip-path: polygon(20% 0, 100% 0, 100% 80%, 0 100%);
}
.hero-bg-mobile {
  position: absolute;
  inset: 0;
  background: var(--red);
  z-index: 0;
}
@media (min-width: 768px) {
  .hero-bg-left,
  .hero-bg-center,
  .hero-bg-right {
    display: block;
  }
  .hero-bg-mobile {
    display: none;
  }
}
.hero-track-wrap {
  position: relative;
  z-index: 10;
  margin-top: 16px;
  max-width: 1100px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}
.hero-track-outer {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
}
.hero-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}
.hero-slide {
  min-width: 100%;
}
.slide-with-text {
  display: flex;
  flex-direction: column;
  background: var(--navy2);
  border-radius: 16px;
  overflow: hidden;
}
.slide-with-text img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top;
}
.slide-text {
  padding: 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.slide-text h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 700;
  font-style: italic;
  margin-bottom: 12px;
}
.slide-text p {
  color: var(--gray-text);
  font-size: 14px;
  margin-bottom: 24px;
}
.slide-btn {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 8px 24px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  width: fit-content;
  transition: background 0.2s;
}
.slide-btn:hover {
  background: #1d4ed8;
}
.slide-image-only {
  background: var(--navy2);
  border-radius: 16px;
  overflow: hidden;
}
.slide-image-only img {
  width: 100%;
  min-height: 400px;
  object-fit: cover;
}
@media (min-width: 768px) {
  .hero-section {
    min-height: 600px;
  }
  .hero-track-wrap {
    height: 600px;
  }
  .hero-track {
    height: 100%;
  }
  .hero-slide {
    height: 100%;
  }
  .slide-with-text {
    flex-direction: row;
    height: 100%;
  }
  .slide-with-text img {
    width: 50%;
    height: 100%;
  }
  .slide-with-text.wide-img img {
    width: 60%;
  }
  .slide-text {
    width: 50%;
    padding: 48px;
    position: relative;
    top: -80px;
  }
  .slide-with-text.wide-img .slide-text {
    width: 40%;
  }
  .slide-text .slide-btn {
    margin-left: 24px;
  }
}
.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  width: 32px;
  height: 32px;
  background: rgba(21, 38, 59, 0.4);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.hero-prev:hover,
.hero-next:hover {
  background: rgba(11, 18, 39, 0.8);
}
.hero-prev {
  left: 8px;
}
.hero-next {
  right: 8px;
}
@media (min-width: 768px) {
  .hero-prev {
    left: -4px;
  }
  .hero-next {
    right: -4px;
  }
}
.slide-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.2s;
  border: none;
}
.dot.active {
  background: #fff;
}

/* Bio Card */
.bio-section {
  max-width: 1280px;
  margin: 0 auto 0;
  padding: 48px 24px 0;
}
.bio-card {
  background: var(--cream2);
  color: #1f2937;
  border-radius: 16px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.bio-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
}
.bio-card p {
  font-size: 14px;
  line-height: 1.75;
}
@media (min-width: 768px) {
  .bio-card {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 24px;
  }
  .bio-card img {
    height: 384px;
  }
  .bio-card p {
    font-size: 16px;
    margin-top: 56px;
  }
}

/* Books Section */
.books-section {
  position: relative;
  width: 100%;
  margin-top: 80px;
  padding: 0 16px;
}
.books-bg {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1184px;
  border-radius: 6px;
  top: -40px;
  height: 360px;
  background: var(--navy3);
  z-index: 0;
}
.books-grid {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 8px;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  justify-items: center;
}
.books-grid a {
  display: flex;
  justify-content: center;
  width: 100%;
}
.books-grid img {
  height: 200px;
  width: auto;
  object-fit: contain;
  padding-bottom: 64px;
  margin-top: -20px;
  cursor: pointer;
  border-radius: 8px;
  transition:
    transform 0.4s,
    box-shadow 0.4s;
}
.books-grid img:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
@media (min-width: 768px) {
  .books-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
  .books-grid img {
    height: 384px;
  }
}

/* YouTube Section */
.yt-section {
  max-width: 56rem;
  margin: 8px auto 0;
  padding: 0 16px 16px;
}
.yt-section p {
  color: #374151;
  margin-bottom: 16px;
  font-weight: 500;
  text-align: center;
}
.yt-btn {
  display: inline-block;
  background: #dc2626;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  text-decoration: none;
}
.yt-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.yt-btn p {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
  margin-bottom: 0;
}
.yt-wrap {
  text-align: center;
}

/* Blog Cards */
.blog-section {
  position: relative;
  max-width: 1280px;
  margin: 80px auto 0;
  padding: 0 16px 48px;
}
.blog-bg {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1216px;
  border-radius: 6px;
  top: -40px;
  height: 320px;
  background: var(--navy3);
  z-index: 0;
}
.blog-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }
}
.blog-card {
  background: var(--cream2);
  color: #1f2937;
  border-radius: 6px;
  padding: 20px;
  margin-top: -20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 350px;
  width: 100%;
  justify-self: center;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: box-shadow 0.3s;
}
.blog-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}
.blog-card h3 {
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 16px;
}
.blog-card p {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}
.blog-card .read-more {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
}
.blog-card .read-more:hover {
  text-decoration: underline;
}
.skeleton {
  background: #d1d5db;
  border-radius: 4px;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* ── INNER PAGE HERO ── */
.page-hero {
  width: 100%;
  background: linear-gradient(to bottom, var(--blue), var(--blue2));
}
.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 300px;
  padding: 48px 24px;
  position: relative;
  overflow: hidden;
}
.page-hero-content {
  max-width: 48rem;
  position: relative;
  z-index: 10;
  padding-top: 40px;
}
.page-hero-content h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 600;
  margin-bottom: 16px;
}
.page-hero-content p {
  color: var(--gray-text);
  font-size: 16px;
}
.page-hero-oval {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-70%);
  width: 340px;
  height: 200px;
  background: rgba(156, 163, 175, 0.6);
  border-radius: 50%;
  display: none;
}
@media (min-width: 768px) {
  .page-hero-inner {
    height: 350px;
    padding: 0 24px;
  }
  .page-hero-content {
    padding-top: 80px;
  }
  .page-hero-oval {
    display: block;
  }
}

/* ── ABOUT PAGE ── */
#about-content {
  background: #fff;
  color: #1f2937;
}
#about-loading {
  color: #6b7280;
}

/* About Hero */
.about-hero {
  width: 100%;
  background: #fff5e1;
}
.about-hero-inner {
  display: flex;
  flex-direction: column;
}
.about-hero-text {
  border: 1px solid #4b5563;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-hero-text h1 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  margin-bottom: 8px;
  color: #111827;
}
.about-hero-text .subtitle {
  font-size: 18px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 24px;
}
.about-hero-text .body {
  color: #4b5563;
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-line;
  text-align: justify;
}
.about-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 1024px) {
  .about-hero-inner {
    flex-direction: row;
  }
  .about-hero-text {
    width: 50%;
    padding: 64px;
  }
  .about-hero-img {
    width: 50%;
  }
}

/* Section divider */
.section-divider {
  width: 80px;
  height: 4px;
  background: #b91c1c;
  margin-top: 12px;
}

/* Academic Section */
.academic-section {
  width: 100%;
  background: #fff;
  padding: 48px 16px;
  padding-left: 40px;
}
.academic-grid {
  max-width: 1152px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
@media (min-width: 1024px) {
  .academic-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.academic-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: #111827;
  margin-top: 40px;
}
.academic-bio {
  margin-top: 24px;
  color: #1f2937;
  font-size: 14px;
  line-height: 1.75;
  text-align: justify;
}
.academic-bio p {
  margin-bottom: 16px;
}
.fellow-list {
  margin-top: 48px;
  font-weight: 600;
}
.fellow-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.fellow-item p {
  color: #6b7280;
  font-size: 16px;
  margin-top: 4px;
}
.profile-card {
  padding: 40px;
}
.profile-card h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 24px;
}
.degree-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.degree-item .deg-title {
  color: #9ca3af;
  font-size: 13px;
  margin-bottom: 8px;
}
.degree-item .deg-inst {
  font-size: 14px;
  font-weight: 600;
  color: #4b5563;
}

/* Apostle Section */
.apostle-section {
  width: 100%;
  padding: 48px 16px;
}
.apostle-inner {
  max-width: 1152px;
  margin: 0 auto;
}
.apostle-card {
  background: #fff5e1;
  border-radius: 24px;
  border-left: 8px solid #000;
  border-top: 8px solid #000;
  padding: 24px;
}
.apostle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 1024px) {
  .apostle-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.apostle-name {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 40px;
}
.apostle-body {
  color: #1f2937;
  font-size: 15px;
  line-height: 1.75;
  text-align: justify;
}
.apostle-body p {
  margin-bottom: 16px;
}
.edu-list {
  margin-top: 24px;
}
.edu-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.edu-item .edu-title {
  color: #6b7280;
  font-size: 13px;
  margin-bottom: 4px;
}
.edu-item .edu-inst {
  font-size: 14px;
  font-weight: 600;
  color: #4b5563;
}
.apostle-img {
  width: 100%;
  height: 384px;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: -16px;
  margin-bottom: 4px;
  margin-left: 32px;
}
.social-links a img {
  cursor: pointer;
  height: 48px;
}
.passion-box {
  background: #fff;
  border-radius: 24px;
  border-left: 8px solid #4b5563;
  border-top: 8px solid #4b5563;
  padding: 24px;
  margin-top: 16px;
}
.passion-box h3 {
  font-weight: 700;
  font-size: 18px;
  color: #111827;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.passion-box p {
  color: #374151;
  text-align: justify;
}

/* Mission Section */
.mission-section {
  width: 100%;
  background: #fff;
  padding: 48px 16px;
}
.mission-inner {
  max-width: 1152px;
  margin: 0 auto;
}
.mission-h {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: #111827;
}
.mission-card {
  background: #fff5e1;
  border-radius: 24px;
  padding: 32px 48px;
  margin-top: 32px;
  border-top: 1px solid #9ca3af;
  border-left: 1px solid #9ca3af;
  box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 0.4);
  color: #1f2937;
  font-size: 14px;
  line-height: 1.75;
}

/* Track Record */
.track-section {
  width: 100%;
  padding: 48px 16px;
}
.track-inner {
  max-width: 1152px;
  margin: 0 auto;
}
.track-h {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: #111827;
}
.track-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 48px;
  margin-top: 32px;
  border: 1px solid #e5e7eb;
  color: #111827;
  font-size: 14px;
  line-height: 1.75;
  text-align: justify;
}

/* Additional Text */
.additional-section {
  width: 100%;
  padding: 48px 16px;
  margin-top: -32px;
}
.additional-inner {
  max-width: 1152px;
  margin: 0 auto;
}
.additional-grid {
  background: #fff5e1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}
@media (min-width: 768px) {
  .additional-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
.additional-text p {
  color: #374151;
  line-height: 1.75;
  margin-top: 16px;
  margin-left: 32px;
  font-size: 14px;
  text-align: justify;
}
.additional-grid img {
  width: 100%;
  height: 550px;
  border-radius: 8px;
  margin: 16px 0;
}

/* Brand Story */
.brand-section {
  width: 100%;
  background: #fff;
  padding: 48px 16px;
}
.brand-inner {
  max-width: 1152px;
  margin: 0 auto;
}
.brand-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px 48px;
  border-right: 4px solid #d1d5db;
  border-bottom: 4px solid #d1d5db;
  color: #111827;
  font-size: 14px;
  line-height: 1.75;
  text-align: justify;
}

/* Location Email */
.loc-section {
  width: 100%;
  padding: 48px 16px;
  margin-top: -32px;
}
.loc-inner {
  max-width: 1152px;
  margin: 0 auto;
}
.loc-grid {
  background: #fff;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}
@media (min-width: 768px) {
  .loc-grid {
    grid-template-columns: 1fr 1fr;
    gap: 240px;
  }
}
.loc-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.loc-item .loc-label {
  color: #6b7280;
  font-size: 16px;
  margin-bottom: 4px;
}
.loc-item .loc-val {
  font-size: 14px;
  font-weight: 700;
  color: #4b5563;
}

/* Top Skills */
.skills-section {
  width: 100%;
  background: #fff;
  padding: 48px 16px;
}
.skills-inner {
  max-width: 1152px;
  margin: 0 auto;
}
.skills-h {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 32px;
}
.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 16px;
  background: #fff5e1;
  border-radius: 16px 100px 100px 0;
  padding: 8px;
}
@media (min-width: 640px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.skill-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.skill-item img {
  width: 24px;
  height: 24px;
}
.skill-item p {
  font-weight: 600;
  font-size: 14px;
  color: #374151;
}

/* ── BLOG PAGE ── */
.blog-list-section {
  width: 100%;
  background: #fff5e1;
}
.blog-list-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}
.blog-list-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .blog-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .blog-list-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.blog-list-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.3s;
}
.blog-list-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}
.blog-list-card img {
  width: 100%;
  height: 192px;
  object-fit: cover;
}
.blog-list-card-body {
  padding: 20px;
}
.blog-list-card-body h2 {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}
.blog-list-card-body .meta {
  color: #4b5563;
  font-size: 12px;
  margin-bottom: 12px;
}
.blog-list-card-body p {
  color: #374151;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.blog-list-card-body .rm {
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
  background: none;
  border: none;
  cursor: pointer;
}
.blog-list-card-body .rm:hover {
  text-decoration: underline;
}

/* ── BLOG DETAIL ── */
.blog-detail-content {
  width: 100%;
  background: #fff5e1;
}
.blog-detail-inner {
  max-width: 56rem;
  margin: 0 auto;
  padding: 48px 16px 64px;
}
.blog-detail-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 24px;
}
.blog-detail-card img {
  width: 100%;
  height: 256px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .blog-detail-card img {
    height: 384px;
  }
}
.blog-detail-card .prose {
  color: #374151;
  line-height: 1.8;
  font-size: 16px;
}
.blog-detail-card .prose p {
  margin-bottom: 16px;
}
.blog-detail-card .prose h1,
.blog-detail-card .prose h2,
.blog-detail-card .prose h3 {
  font-weight: 700;
  margin: 24px 0 12px;
  color: #111827;
}
.blog-detail-card .prose img {
  max-width: 100%;
  border-radius: 8px;
  margin: 16px 0;
}
.back-link {
  color: var(--gray-text);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 16px;
  transition: color 0.2s;
}
.back-link:hover {
  color: #fff;
}

/* ── TEACHING PAGE ── */
.teaching-list-section {
  width: 100%;
  background: #fff5e1;
  padding: 48px 16px 80px;
}
.teaching-list-inner {
  max-width: 1152px;
  margin: 0 auto;
}
.teaching-list-h {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: #111827;
  margin-bottom: 48px;
}
.teaching-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .teaching-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 56px;
  }
}
.teaching-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.3s;
}
.teaching-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}
.teaching-card-img {
  position: relative;
  height: 192px;
  overflow: hidden;
}
.teaching-card-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.3s;
}
.teaching-card:hover .teaching-card-img img {
  transform: scale(1.05);
}
.teaching-card-img .placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--red), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
}
.teaching-card-body {
  padding: 20px;
}
.teaching-card-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}
.teaching-card-body .scripture {
  color: var(--red);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
}
.teaching-card-body p {
  color: #374151;
  font-size: 14px;
  line-height: 1.6;
}

/* ── TEACHING DETAIL ── */
.teaching-detail-section {
  width: 100%;
  background: #fff5e1;
  padding: 48px 16px 64px;
}
.teaching-detail-inner {
  max-width: 56rem;
  margin: 0 auto;
}
.teaching-detail-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 24px;
}
.teaching-detail-card img.thumb {
  width: 100%;
  height: 256px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .teaching-detail-card img.thumb {
    height: 384px;
  }
}
.scripture-ref {
  margin-bottom: 24px;
  padding: 16px;
  background: #f3f4f6;
  border-radius: 8px;
  border-left: 4px solid var(--red);
}
.scripture-ref .label {
  color: #6b7280;
  font-size: 13px;
}
.scripture-ref .text {
  color: #1f2937;
  font-weight: 500;
}
.duration-text {
  color: #e05c45;
  font-size: 13px;
  font-weight: 700;
  font-family: monospace;
  margin-bottom: 16px;
}
.teaching-prose {
  color: #374151;
  font-size: 15px;
  line-height: 1.8;
}
.teaching-prose p {
  margin-bottom: 16px;
}
.audio-wrap {
  margin-bottom: 32px;
  padding: 16px;
  background: #f9fafb;
  border-radius: 8px;
}
.audio-wrap .label {
  color: #6b7280;
  font-size: 13px;
  margin-bottom: 8px;
}
.audio-wrap audio {
  width: 100%;
}
.yt-embed-wrap {
  margin-bottom: 32px;
  border-radius: 12px;
  overflow: hidden;
}
.yt-embed-wrap iframe {
  width: 100%;
  height: 315px;
  border: none;
}

/* ── BOOKS PAGE ── */
#books-page {
  background: #f3f4f6;
}
.books-hero {
  width: 100%;
  background: #d1d5db;
  position: relative;
}
.books-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 300px;
  padding: 48px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.books-hero-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 120px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  filter: blur(30px);
}
.books-hero-text {
  position: relative;
  z-index: 10;
  text-align: center;
}
.books-hero-text h1 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
}
.books-hero-text p {
  color: #6b7280;
  font-size: 16px;
  font-weight: 700;
}
.books-list-section {
  width: 100%;
  background: #fff;
  padding: 48px 16px 64px;
}
.books-list-inner {
  max-width: 1152px;
  margin: 0 auto;
}
.books-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.book-item {
  background: rgba(246, 236, 217, 0.9);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: -6px -6px 0px 0px rgba(0, 0, 0, 0.4);
}
@media (min-width: 768px) {
  .book-item {
    flex-direction: row;
  }
}
.book-cover {
  padding: 16px;
}
.book-cover img {
  width: 100%;
  height: 256px;
  object-fit: cover;
  border-radius: 8px;
}
@media (min-width: 768px) {
  .book-item .book-cover {
    width: 33%;
  }
  .book-cover img {
    height: auto;
  }
}
.book-details {
  padding: 24px 32px;
  flex: 1;
}
.book-details h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
  margin-top: 40px;
}
.book-details .subtitle {
  font-size: 18px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}
.book-details .author {
  color: #4b5563;
  font-weight: 500;
  margin-bottom: 16px;
}
.book-details .desc {
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 16px;
}
.book-details .buy-btn {
  display: inline-block;
  background: #fff;
  color: #374151;
  border: 1px solid #374151;
  padding: 4px 32px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
}
.book-details .buy-btn:hover {
  background: #374151;
  color: #fff;
}
.book-hr {
  border: none;
  border-top: 2px solid #d1d5db;
  margin: 64px 0;
}

/* ── RESEARCH PAGE ── */
.research-list {
  padding: 0 16px 64px;
}
.research-inner {
  max-width: 1152px;
  margin: 0 auto;
}
.journal-item {
  margin-bottom: 64px;
}
.journal-card {
  background: #fff5e1;
  border-radius: 24px;
  padding: 32px 24px;
  border-top: 1px solid #d1d5db;
  border-left: 1px solid #d1d5db;
  box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 0.4);
  max-width: 92%;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .journal-card {
    max-width: 1152px;
  }
}
.journal-card h2 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: #111827;
  margin-bottom: 24px;
  text-align: center;
}
.journal-card .abstract {
  color: #1f2937;
  font-size: 14px;
  line-height: 1.75;
}
.journal-card .abstract strong {
  font-weight: 600;
}
.journal-card .full-article {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.journal-card .full-article a {
  color: #111827;
  font-weight: 500;
  font-size: 14px;
  border: 2px solid #6b7280;
  border-radius: 8px;
  background: #fff;
  padding: 4px 20px;
  text-decoration: none;
  transition: background 0.2s;
}
.journal-card .full-article a:hover {
  background: #f3f4f6;
}
.journal-divider {
  border: 1px solid #9ca3af;
  margin: 0 0 64px;
}

/* ── FOOTER ── */
#footer {
  position: relative;
  background: #0f1e35;
  color: #fff;
  margin-top: 80px;
}
.footer-wave-left {
  position: absolute;
  top: -24px;
  left: 0;
  width: 500px;
  height: 28px;
}
.footer-wave-right {
  position: absolute;
  top: -12px;
  right: 240px;
  width: 400px;
  height: 12px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}
.footer-brand h3 {
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 16px;
}
.footer-brand p {
  color: var(--gray-text);
  font-size: 14px;
}
.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.footer-social a {
  color: #fff;
  transition: opacity 0.2s;
}
.footer-social a:hover {
  opacity: 0.7;
}
.footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.footer-links h3 {
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 16px;
}
.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links ul a {
  color: var(--gray-text);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links ul a:hover {
  color: #fff;
}
.footer-cta h3 {
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 16px;
}
.footer-cta a {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  padding: 8px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.footer-cta a:hover {
  background: #1d4ed8;
}
.footer-bottom {
  padding: 0 32px 32px;
}
.footer-bottom p {
  color: #6b7280;
  font-size: 14px;
}
.footer-bottom a {
  color: #4b5563;
  font-size: 12px;
  margin-left: 16px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom a:hover {
  color: #9ca3af;
}

/* Error State */
.error-state {
  text-align: center;
  padding: 48px 16px;
  color: #6b7280;
}
.error-state h2 {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
}
.error-state a {
  color: var(--blue);
  cursor: pointer;
}
.error-state a:hover {
  text-decoration: underline;
}

/* Prose utility for dynamic HTML */
.prose-content {
  color: #374151;
  line-height: 1.75;
}
.prose-content p {
  margin-bottom: 12px;
}
.prose-content ul,
.prose-content ol {
  margin: 12px 0 12px 24px;
}
.prose-content li {
  margin-bottom: 6px;
}
.prose-content strong,
.prose-content b {
  font-weight: 700;
}
.prose-content h1,
.prose-content h2,
.prose-content h3 {
  font-weight: 700;
  margin: 20px 0 10px;
  color: #111827;
}
.prose-content a {
  color: #1d4ed8;
  text-decoration: underline;
}
.prose-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 12px 0;
}
