/* ================================================================
   아인교회 (Ain Church) — Global Design System & Styles
   ================================================================ */

/* --- Fonts --- */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --color-bg: #FFFFFF;
  --color-text: #1A1A1A;
  --color-accent: #2E5C8A;
  --color-accent-light: #3d7ab8;
  --color-gray-50: #F8F9FA;
  --color-gray-100: #F1F3F5;
  --color-gray-200: #E9ECEF;
  --color-gray-400: #ADB5BD;
  --color-gray-600: #868E96;
  --color-footer-bg: #111111;

  /* Typography */
  --font-kr: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-en: 'Montserrat', sans-serif;

  /* Spacing & Borders */
  --section-pad: 160px;
  --container-max: 1200px;
  --nav-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Shadows (Premium Soft UI Kit) */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 48px rgba(0, 0, 0, 0.12);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.08);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-kr);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ================================================================
   1. PREMIUM SOFT UI KIT (Components)
   ================================================================ */

/* --- UI Card --- */
.ui-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.ui-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

/* --- UI Buttons --- */
.ui-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-kr);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease-smooth);
  text-align: center;
  white-space: nowrap;
}

.ui-btn--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(46, 92, 138, 0.3);
}

.ui-btn--primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 92, 138, 0.4);
}

.ui-btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-gray-400);
}

.ui-btn--outline:hover {
  background: var(--color-text);
  color: #fff;
  border-color: var(--color-text);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* --- UI Forms --- */
.ui-input {
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  font-family: var(--font-kr);
  border: 1.5px solid var(--color-gray-200);
  border-radius: var(--radius-sm);
  background: var(--color-gray-50);
  transition: all 0.3s var(--ease-smooth);
}

.ui-input:focus {
  outline: none;
  border-color: var(--color-accent);
  background: var(--color-bg);
  box-shadow: 0 0 0 4px rgba(46, 92, 138, 0.1);
}

/* ================================================================
   2. GLOBAL NAVIGATION BAR (GNB)
   ================================================================ */
.gnb {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1100;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.4s var(--ease-smooth),
    box-shadow 0.4s var(--ease-smooth),
    backdrop-filter 0.4s var(--ease-smooth);
}

.gnb__inner {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 4%;
}

.gnb.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.gnb__logo {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.3s var(--ease-smooth);
}

.gnb__logo:hover {
  opacity: 0.8;
}

/* 아이콘 로고 (Ayin 지구본) */
.gnb__logo-icon {
  position: absolute;
  height: 32px;
  width: auto;
  right: 80px;
  object-fit: contain;
}

/* 풀 텍스트 로고 (아인교회) */
.gnb__logo-full {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.gnb__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

/* Each menu item wrapper for dropdown */
.gnb__item {
  position: relative;
}

.gnb__link {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--color-text);
  position: relative;
  padding: 28px 0;
  transition: color 0.4s var(--ease-smooth);
  display: inline-block;
}

/* Right side CTA area */
.gnb__right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
}

.gnb__login {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-gray-500);
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.gnb__login:hover {
  color: var(--color-accent);
}

.gnb__cta {
  font-size: 14px;
  padding: 10px 22px;
}

.gnb__link::after {
  content: '';
  position: absolute;
  bottom: 22px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s var(--ease-out), left 0.3s var(--ease-out);
}

.gnb__item:hover .gnb__link::after {
  width: 100%;
  left: 0;
}

.gnb__item:hover .gnb__link {
  color: var(--color-accent);
}

/* Dropdown panel */
.gnb__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-gray-200);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.25s var(--ease-smooth),
    visibility 0.25s var(--ease-smooth),
    transform 0.25s var(--ease-out);
  z-index: 1010;
}

/* Invisible bridge to prevent hover gap */
.gnb__dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
}

.gnb__item:hover .gnb__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.gnb__dropdown-link {
  display: block;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  transition: background 0.2s var(--ease-smooth),
    color 0.2s var(--ease-smooth),
    padding-left 0.2s var(--ease-smooth);
}

.gnb__dropdown-link:hover {
  background: var(--color-gray-50);
  color: var(--color-accent);
  padding-left: 28px;
}

/* Hamburger */
.gnb__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  padding: 4px 0;
  z-index: 1100;
  justify-self: end;
}

.gnb__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s var(--ease-smooth);
}

/* Mobile Nav Backdrop */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s var(--ease-out);
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: none;
  height: auto;
  max-height: calc(100vh - 20px);
  border-radius: 0 0 24px 24px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
  padding: calc(var(--nav-height) + 20px) 32px 40px;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  overflow-y: auto;
}

.mobile-nav.active {
  transform: translateY(0);
}

.mobile-nav__group {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(-20px);
}

.mobile-nav.active .mobile-nav__group {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.mobile-nav.active .mobile-nav__group:nth-child(1) {
  transition-delay: 0.1s;
}

.mobile-nav.active .mobile-nav__group:nth-child(2) {
  transition-delay: 0.2s;
}

.mobile-nav.active .mobile-nav__group:nth-child(3) {
  transition-delay: 0.3s;
}

.mobile-nav.active .mobile-nav__group:nth-child(4) {
  transition-delay: 0.4s;
}

.mobile-nav__title {
  display: block;
  width: 100%;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-accent);
  padding: 14px 8px 10px;
  border-bottom: 2px solid var(--color-gray-200);
  margin-bottom: 8px;
  font-family: var(--font-kr);
}

.mobile-nav__sub {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav__sub-link {
  display: block;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-gray-600);
  transition: color 0.2s var(--ease-smooth);
}

.mobile-nav__sub-link:hover {
  color: var(--color-accent);
}

/* Desktop Full Menu (Mega Menu Grid) */
@media (min-width: 769px) {
  .mobile-nav {
    flex-direction: row;
    justify-content: center;
    gap: 40px;
    padding: calc(var(--nav-height) + 40px) 4% 60px;
  }

  .mobile-nav__group {
    max-width: none;
    flex: 1;
    margin: 0;
  }
}


/* ================================================================
   2. HERO SECTION — Padded Landscape
   ================================================================ */
.hero {
  width: 100%;
  padding: 100px 5% 40px;
}

.hero__container {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 500px;
  max-height: 800px;
  border-radius: 24px;
  overflow: hidden;
  background: #111;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.45) 100%);
}

.hero__content {
  position: absolute;
  bottom: 12%;
  left: 8%;
  z-index: 10;
  max-width: 809px;
}

.hero__sub {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(30px);
}

.hero__title {
  font-size: 64px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(30px);
}

.hero__sub.visible,
.hero__title.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.hero__title.visible {
  transition-delay: 0.2s;
}

.hero__scroll-cue {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-family: var(--font-en);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero__scroll-cue i {
  font-size: 20px;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-8px);
  }

  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}

/* ================================================================
   3. SECTION COMMON
   ================================================================ */
.section {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--section-pad) 24px;
}

.section__label {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.section__title {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 60px;
}

/* Fade-up animation */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.stagger>.fade-up:nth-child(1) {
  transition-delay: 0s;
}

.stagger>.fade-up:nth-child(2) {
  transition-delay: 0.15s;
}

.stagger>.fade-up:nth-child(3) {
  transition-delay: 0.3s;
}

.stagger>.fade-up:nth-child(4) {
  transition-delay: 0.45s;
}

.stagger>.fade-up:nth-child(5) {
  transition-delay: 0.6s;
}

.stagger>.fade-up:nth-child(6) {
  transition-delay: 0.75s;
}

/* ================================================================
   4. WORSHIP SCHEDULE
   ================================================================ */
.worship {
  text-align: center;
}

.worship .section__title {
  margin-bottom: 60px;
}

.worship__table-wrap {
  overflow-x: auto;
}

.worship__table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.worship__table thead {
  border-bottom: 2px solid var(--color-text);
}

.worship__table th {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 20px;
  color: var(--color-gray-600);
  font-family: var(--font-en);
}

.worship__table td {
  padding: 20px 20px;
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid var(--color-gray-200);
  transition: background 0.3s var(--ease-smooth);
}

.worship__table tbody tr:hover td {
  background: var(--color-gray-50);
}

.worship__table td:first-child {
  font-weight: 700;
  color: var(--color-text);
}

/* ================================================================
   5. SERMON SECTION (YouTube-powered two-column layout)
   ================================================================ */
.sermon-section__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

/* --- Left: Featured Video --- */
.sermon-featured__header,
.sermon-recent__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
}

.sermon-featured__title,
.sermon-recent__title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.sermon-featured__sub,
.sermon-recent__sub {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-gray-400);
  margin-top: 4px;
}

.sermon-featured__more,
.sermon-recent__more {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-gray-600);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: color 0.3s var(--ease-smooth);
}

.sermon-featured__more:hover,
.sermon-recent__more:hover {
  color: var(--color-accent);
}

.sermon-featured__video {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  transition: box-shadow 0.4s var(--ease-out);
}

.sermon-featured__video:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.sermon-featured__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.sermon-featured__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.sermon-featured__video:hover .sermon-featured__img {
  transform: scale(1.03);
}

.sermon-featured__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease-out), background 0.4s var(--ease-smooth);
}

.sermon-featured__play i {
  font-size: 22px;
  color: #fff;
  margin-left: 3px;
}

.sermon-featured__video:hover .sermon-featured__play {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(0, 0, 0, 0.6);
}

.sermon-featured__badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sermon-featured__info {
  padding: 20px 20px 24px;
}

.sermon-featured__name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--color-text);
}

.sermon-featured__meta {
  font-size: 14px;
  color: var(--color-gray-600);
  font-family: var(--font-en);
  font-weight: 500;
}

/* --- Right: Recent Sermons List --- */
.sermon-recent__list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-gray-200);
  border-radius: 16px;
  overflow: hidden;
  max-height: 520px;
  overflow-y: auto;
}

.sermon-recent__list::-webkit-scrollbar {
  width: 4px;
}

.sermon-recent__list::-webkit-scrollbar-thumb {
  background: var(--color-gray-200);
  border-radius: 2px;
}

.sermon-recent__item {
  display: flex;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-gray-100);
  cursor: pointer;
  transition: background 0.25s var(--ease-smooth);
  text-decoration: none;
  color: inherit;
}

.sermon-recent__item:last-child {
  border-bottom: none;
}

.sermon-recent__item:hover {
  background: var(--color-gray-50);
}

.sermon-recent__thumb {
  width: 100px;
  min-width: 100px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.sermon-recent__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sermon-recent__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.sermon-recent__name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sermon-recent__desc {
  font-size: 13px;
  color: var(--color-gray-600);
  line-height: 1.4;
}

.sermon-recent__date {
  font-size: 12px;
  font-family: var(--font-en);
  font-weight: 500;
  color: var(--color-gray-400);
}

.sermon-recent__loading {
  padding: 60px 20px;
  text-align: center;
  color: var(--color-gray-400);
  font-size: 15px;
}

/* ================================================================
   6. NEWS & COMMUNITY
   ================================================================ */
.news {
  text-align: center;
}

.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}

.news__card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  cursor: pointer;
}

.news__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.news__card-img-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.news__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.news__card:hover .news__card-img {
  transform: scale(1.05);
}

.news__card-body {
  padding: 28px 24px;
}

.news__card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.news__card-date {
  font-size: 14px;
  font-family: var(--font-en);
  font-weight: 500;
  color: var(--color-gray-400);
}

/* ================================================================
   7. FOOTER
   ================================================================ */
.footer {
  background: var(--color-footer-bg);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 5%;
}

.footer__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer__logo {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
}

.footer__logo span {
  display: block;
  font-family: var(--font-kr);
  font-size: 14px;
  font-weight: 500;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__info p {
  font-size: 14px;
  line-height: 2;
}

.footer__social {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-top: 8px;
}

.footer__social-link {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.3s var(--ease-smooth), color 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth);
}

.footer__social-link:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-3px);
}

.footer__copyright {
  text-align: center;
  margin-top: 4px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-family: var(--font-en);
  color: rgba(255, 255, 255, 0.35);
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

/* ================================================================
   8. RESPONSIVE (Mobile ≤ 768px)
   ================================================================ */
@media (max-width: 768px) {
  :root {
    --section-pad: 80px;
    --nav-height: 64px;
  }

  /* Nav */
  .gnb__inner {
    grid-template-columns: 1fr auto;
    /* use inner for grid definition */
  }

  .gnb__menu {
    display: none;
  }

  .gnb__cta {
    display: none;
  }

  .gnb__hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: 80px 4% 24px;
  }

  .hero__container {
    height: 60vh;
    min-height: 360px;
    border-radius: 16px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__sub {
    font-size: 15px;
  }

  .hero__content {
    bottom: 10%;
    left: 6%;
    right: 6%;
  }

  /* Section */
  .section__title {
    font-size: 32px;
    margin-bottom: 40px;
  }

  /* Sermon */
  .sermon-section__grid {
    grid-template-columns: 1fr;
  }

  .sermon-featured__title,
  .sermon-recent__title {
    font-size: 24px;
  }

  .sermon-recent__list {
    max-height: 400px;
  }

  /* News */
  .news__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Footer */
  .footer__inner {
    flex-direction: column;
  }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero__title {
    font-size: 48px;
  }

  .sermon-section__grid {
    grid-template-columns: 1fr 1fr;
  }

  .sermon-featured__title {
    font-size: 26px;
  }

  .news__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================================================================
   9. SCROLL-BAR
   ================================================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-gray-50);
}

::-webkit-scrollbar-thumb {
  background: var(--color-gray-400);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gray-600);
}