/* ── CSS Variables ─────────────────────────────────── */
:root {
  --primary: #f2753f;
  --primary-dark: #d85e28;
  --primary-light: #f7a07a;
  --brown-deep: #55433b;
  --brown-light: #bda79e;
  --green: #46ae44;
  --green-deep: #00780d;
  --cream: #fdf8f5;
  --cream-dark: #f5ede7;
  --white: #ffffff;
  --text-dark: #2a1f1a;
  --text-mid: #55433b;
  --text-muted: #8a7068;
  --border-light: rgba(189, 167, 158, 0.3);
  --border-mid: rgba(189, 167, 158, 0.55);
  --shadow-sm: 0 2px 16px rgba(85, 67, 59, 0.08);
  --shadow-md: 0 6px 32px rgba(85, 67, 59, 0.14);
  --shadow-lg: 0 16px 56px rgba(85, 67, 59, 0.2);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "DM Sans", system-ui, sans-serif;
}

/* ── Base Reset ─────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  transition: color var(--transition);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ── Utility ─────────────────────────────────────────── */

.section-pad {
  padding: 64px 0;
}

.section-header {
  margin-bottom: 8px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid rgba(242, 117, 63, 0.4);
  padding: 4px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--brown-deep);
  line-height: 1.2;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ── Navbar ───────────────────────────────────────────── */
#mainNav {
  background: rgba(85, 67, 59, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(242, 117, 63, 0.2);
  padding: 0;
  z-index: 1050;
  transition: box-shadow var(--transition);
}

#mainNav.scrolled {
  box-shadow: var(--shadow-md);
}

#mainNav .container {
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 20px;
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-right: 20px;
}

.nav-event-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.nav-event-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}

.navbar-toggler {
  border: none;
  background: transparent;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.toggler-icon {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar-nav .nav-link {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 12px;
  transition: color var(--transition);
  white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--primary-light);
}

.navbar-nav .dropdown-menu {
  background: var(--brown-deep);
  border: 1px solid rgba(242, 117, 63, 0.3);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  box-shadow: var(--shadow-lg);
  min-width: 220px;
}

.navbar-nav .dropdown-item {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  padding: 8px 18px;
  transition:
    background var(--transition),
    color var(--transition);
}

.navbar-nav .dropdown-item:hover {
  background: rgba(242, 117, 63, 0.12);
  color: var(--primary-light);
}

.btn-register {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 30px;
  padding: 8px 22px;
  transition:
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  white-space: nowrap;
}

.btn-register:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(242, 117, 63, 0.45);
}

/* ── Hero ─────────────────────────────────────────────── */
.hero-section {
  position: relative;
  /* min-height: 100vh; */
  display: flex;
  align-items: center;
  background: var(--brown-deep);
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(42, 31, 26, 0.9) 0%,
      rgba(42, 31, 26, 0.58) 48%,
      rgba(42, 31, 26, 0.74) 100%
    ),
    url("https://images.unsplash.com/photo-1706186839147-0d708602587b") center
      center / cover no-repeat;
  transform: scale(1.03);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      ellipse 80% 60% at 60% 40%,
      rgba(242, 117, 63, 0.18) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 40% at 10% 80%,
      rgba(70, 174, 68, 0.08) 0%,
      transparent 60%
    ),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, 0.015) 40px,
      rgba(255, 255, 255, 0.015) 41px
    );
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(85, 67, 59, 0.3) 0%,
    rgba(85, 67, 59, 0.65) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
}

.hero-logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

.hero-logo-badge {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  padding: 4px;
  /* background-color: white; */
  /* background: rgba(242, 117, 63, 0.25); */
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* Safari */
  border: 1px solid rgba(242, 117, 63, 0.35);
  box-shadow: var(--shadow-md);
}

/* .hero-logo-badge:last-child {
} */

.hero-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  border-radius: 50%;
}

.hero-badge {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--primary-light);
  border: 1px solid rgba(242, 117, 63, 0.45);
  padding: 5px 18px;
  border-radius: 30px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.1s forwards;
}

.hero-year-accent {
  color: var(--primary);
}

.hero-subtitle {
  /* font-family: var(--font-serif); */
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
  /* max-width: 680px; */
  margin: 0 auto 28px;
  line-height: 1.6;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.2s forwards;
}

.hero-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.4s forwards;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-meta-item i {
  color: var(--primary);
}

.hero-meta-divider {
  color: var(--primary);
  font-size: 1.8rem;
  /* opacity: 0.5; */
}

.hero-organizer {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.5s forwards;
}

.hero-organizer strong {
  color: rgba(255, 255, 255, 0.75);
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.6s forwards;
}

.btn-hero-primary {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 30px;
  padding: 14px 36px;
  transition:
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.btn-hero-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(242, 117, 63, 0.45);
}

.btn-hero-secondary {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  padding: 14px 36px;
  transition:
    border-color var(--transition),
    color var(--transition),
    background var(--transition);
}

.btn-hero-secondary:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(242, 117, 63, 0.08);
}

/* ── Timer ────────────────────────────────────────────── */
.timer-section {
  background: var(--brown-deep);
  padding: 48px 0;
  border-top: 1px solid rgba(242, 117, 63, 0.2);
  border-bottom: 1px solid rgba(242, 117, 63, 0.2);
}

.timer-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin-bottom: 28px;
}

.timer-grid {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.timer-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 96px;
}

.timer-number {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 600;
  color: var(--primary-light);
  line-height: 1;
  letter-spacing: -0.02em;
}

.timer-unit {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 6px;
}

.timer-colon {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--primary);
  opacity: 0.6;
  margin-bottom: 20px;
  animation: blink 1s step-end infinite;
}

/* ── Welcome Letter ───────────────────────────────────── */
.welcome-letter-section {
  background: var(--cream);
}

.welcome-letter-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius);
  padding: 48px 52px;
  box-shadow: var(--shadow-sm);
  max-width: 860px;
  margin: 0 auto;
}

.welcome-letter-card .letter-salutation {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--brown-deep);
  margin-bottom: 20px;
}

.welcome-letter-card .letter-body {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 18px;
}

.welcome-letter-card .letter-theme-box {
  background: rgba(242, 117, 63, 0.07);
  border: 1px solid rgba(242, 117, 63, 0.3);
  border-radius: var(--radius-sm);
  padding: 16px 22px;
  margin: 24px 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.welcome-letter-card .letter-theme-box i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.welcome-letter-card .letter-theme-box p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--brown-deep);
  line-height: 1.5;
}

.welcome-letter-card .letter-theme-box p small {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.04em;
}

.welcome-letter-card .letter-closing {
  font-size: 0.92rem;
  color: var(--text-mid);
  margin-bottom: 28px;
}

.letter-signatories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.signatory {
  /* text-align: left; */
  text-align: center;
}

.signatory-name {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--brown-deep);
  margin-bottom: 2px;
}

.signatory-role {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* ── Quick Links Cards ────────────────────────────────── */
.welcome-section {
  background: var(--cream-dark);
}

.welcome-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition:
    box-shadow var(--transition),
    transform var(--transition),
    border-color var(--transition);
  height: 100%;
}

.welcome-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(242, 117, 63, 0.4);
}

.wcard-icon {
  width: 56px;
  height: 56px;
  background: rgba(242, 117, 63, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.wcard-icon i {
  font-size: 1.3rem;
  color: var(--primary);
}

.wcard-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brown-deep);
  margin-bottom: 10px;
}

.wcard-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── Highlights ───────────────────────────────────────── */
.highlights-section {
  background: var(--brown-deep);
}

.highlights-section .section-title {
  color: var(--white);
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(242, 117, 63, 0.18);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  transition:
    background var(--transition),
    border-color var(--transition);
  height: 100%;
}

.highlight-item:hover {
  background: rgba(242, 117, 63, 0.08);
  border-color: rgba(242, 117, 63, 0.35);
}

.highlight-item i {
  font-size: 1.1rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.highlight-item span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

/* ── Registration ─────────────────────────────────────── */
.registration-section {
  background: var(--cream-dark);
}

.table-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.reg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  background: var(--white);
  min-width: 900px;
}

.reg-table th,
.reg-table td {
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
  vertical-align: middle;
}

.reg-table thead tr:first-child th {
  background: var(--brown-deep);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.reg-table thead tr:nth-child(2) th {
  background: #6b5549;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
  font-weight: 400;
}

.slab-head.early-bird {
  border-bottom: 2px solid var(--primary);
}

.slab-head.regular {
  border-bottom: 2px solid var(--green);
}

.slab-head.late {
  border-bottom: 2px solid var(--brown-light);
}

.reg-table tbody tr:nth-child(even) td {
  background: rgba(242, 117, 63, 0.03);
}

.reg-table tbody tr:hover td {
  background: rgba(242, 117, 63, 0.06);
}

.cat-name {
  text-align: left;
  font-weight: 500;
  color: var(--brown-deep);
  white-space: nowrap;
}

.cat-name small {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.total-col {
  font-weight: 600;
  color: var(--brown-deep);
  background: rgba(242, 117, 63, 0.06) !important;
}

.reg-notes {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
}

.notes-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--brown-deep);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.notes-title i {
  color: var(--primary);
}

.notes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notes-list li {
  font-size: 0.85rem;
  color: var(--text-mid);
  padding: 6px 0 6px 20px;
  position: relative;
  line-height: 1.6;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.notes-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.8rem;
}

.notes-list li a {
  color: var(--green-deep);
}

.notes-list li a:hover {
  color: var(--primary);
}

.btn-register-main {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  background: var(--brown-deep);
  color: var(--primary-light);
  border: 1px solid rgba(242, 117, 63, 0.4);
  border-radius: 30px;
  padding: 14px 40px;
  transition:
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.btn-register-main:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(242, 117, 63, 0.35);
}

/* ── Workshops ────────────────────────────────────────── */
.workshops-section {
  background: var(--cream);
}

.workshop-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    box-shadow var(--transition),
    transform var(--transition);
  height: 100%;
}

.workshop-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.wshop-img-wrap {
  overflow: hidden;
}

.wshop-img-wrap img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.workshop-card:hover .wshop-img-wrap img {
  transform: scale(1.04);
}

.wshop-body {
  padding: 22px 20px;
}

.wshop-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brown-deep);
  margin-bottom: 8px;
}

.wshop-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ── Important Dates (formerly abstract section) ─────── */
.dates-section {
  padding-bottom: 64px;
  background: var(--brown-deep);
}

.dates-section .section-title {
  color: var(--white);
}

.dates-section .section-tag {
  border-color: rgba(242, 117, 63, 0.4);
}

.dates-grid-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(242, 117, 63, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
}

.dates-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dates-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition);
}

.dates-list li:last-child {
  border-bottom: none;
}

.dates-list li:hover {
  background: rgba(242, 117, 63, 0.07);
}

.date-event {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  gap: 10px;
}

.date-event i {
  color: var(--primary);
  font-size: 0.8rem;
  width: 14px;
}

.date-val {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--primary-light);
  white-space: nowrap;
  font-family: var(--font-serif);
  font-size: 1rem;
}

.abstract-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--primary-light);
  border: 1px solid rgba(242, 117, 63, 0.4);
  border-radius: 30px;
  padding: 10px 18px;
  transition:
    background var(--transition),
    color var(--transition);
}

.abstract-contact-link:hover {
  background: rgba(242, 117, 63, 0.1);
  color: var(--primary-light);
}

/* ── Messages ─────────────────────────────────────────── */
.messages-section {
  background: var(--cream);
}

.message-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition:
    box-shadow var(--transition),
    transform var(--transition);
  height: 100%;
}

.message-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.msg-avatar {
  margin: 0 auto 16px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(242, 117, 63, 0.4);
}

.msg-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.msg-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown-deep);
  margin-bottom: 4px;
}

.msg-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.msg-excerpt {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 16px;
}

.msg-read-more {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--green-deep);
  text-transform: uppercase;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.msg-read-more:hover {
  color: var(--primary);
}

/* ── Varanasi ─────────────────────────────────────────── */
.varanasi-section {
  background: var(--cream);
  /* background: var(--cream-dark); */
}

.varanasi-text {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

.varanasi-main-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  height: 360px;
}

.btn-varanasi {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--brown-deep);
  border: 1.5px solid var(--brown-deep);
  border-radius: 30px;
  padding: 10px 26px;
  transition:
    background var(--transition),
    color var(--transition);
}

.btn-varanasi:hover {
  background: var(--brown-deep);
  color: var(--primary-light);
}

/* ── Nearby ───────────────────────────────────────────── */
.nearby-section {
  background: var(--white);
}

.nearby-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition:
    box-shadow var(--transition),
    transform var(--transition);
  height: 100%;
}

.nearby-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.nearby-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.nearby-card:hover img {
  transform: scale(1.04);
}

.nearby-info {
  padding: 18px;
  background: var(--white);
}

.nearby-info h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--brown-deep);
  margin-bottom: 6px;
}

.nearby-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ── Committees ───────────────────────────────────────── */
.committees-section {
  background: var(--cream-dark);
}

.loc-section {
  background: var(--cream);
}

/* ── Tab Navigation ── */
.tab-nav {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tab-btn {
  background: var(--white);
  border: 1px solid var(--border-mid);
  border-radius: 20px;
  padding: 7px 18px;
  font-size: 0.8rem;
  color: var(--brown-deep);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-sans);
}

.tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* ── Committee Cards ── */
.committee-card {
  padding: 28px 20px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition:
    box-shadow var(--transition),
    transform var(--transition);
  text-align: center;
}

.committee-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.committee-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: contain;
  margin: 0 auto 16px;
  border: 2px solid rgba(242, 117, 63, 0.4);
  display: block;
}

.committee-card h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--brown-deep);
  margin-bottom: 4px;
}

.committee-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.committee-card .hindi {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 2px 0 0;
}

/* ── Card Grid ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
}

/* ── Section Subtitle ── */
.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: -4px;
  margin-bottom: 0;
}

/* ── Local Organising Committee ── */
.loc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 991px) {
  .loc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .loc-grid {
    grid-template-columns: 1fr;
  }
}

.loc-group {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 20px 20px 16px;
}

.loc-group--wide {
  grid-column: span 2;
}

@media (max-width: 575px) {
  .loc-group--wide {
    grid-column: span 1;
  }
}

.loc-group-header {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.loc-group-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.92rem;
  color: var(--brown-deep);
  font-weight: 600;
  line-height: 1.3;
}

.loc-group-hindi {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.loc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.loc-list li {
  font-size: 0.88rem;
  color: var(--brown-deep);
  padding: 5px 0;
  border-bottom: 1px dashed var(--border-light);
}

.loc-list li:last-child {
  border-bottom: none;
}

.loc-list--cols {
  columns: 2;
  gap: 16px;
}

/* ── State Scientific Committee ── */
.ssc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (max-width: 991px) {
  .ssc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .ssc-grid {
    grid-template-columns: 1fr;
  }
}

.ssc-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.87rem;
  color: var(--brown-deep);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.ssc-city {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  background: rgba(242, 117, 63, 0.08);
  padding: 2px 8px;
  border-radius: 20px;
  flex-shrink: 0;
}

/* ── Venue ────────────────────────────────────────────── */
.venue-section {
  background: var(--white);
}

.venue-name {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--brown-deep);
  margin-bottom: 10px;
}

.venue-addr {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.venue-addr i {
  color: var(--primary);
}

.venue-desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
}

.venue-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.venue-tags span {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--brown-deep);
  border: 1px solid var(--border-mid);
  border-radius: 20px;
  padding: 4px 14px;
  background: rgba(85, 67, 59, 0.04);
}

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
}

/* ── Venue Image ──────────────────────────────────────── */
.venue-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.venue-img-wrap img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.venue-img-wrap:hover img {
  transform: scale(1.03);
}

/* ── Contact ──────────────────────────────────────────── */
.contact-section {
  background: var(--cream-dark);
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px 24px;
  font-weight: bold;
  /* text-align: center; */
  transition:
    box-shadow var(--transition),
    transform var(--transition);
  height: 100%;
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.contact-card i {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.contact-card h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: bolder;
  color: var(--brown-deep);
  margin-bottom: 10px;
}

.contact-card p {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--brown-deep);
  margin-bottom: 4px;
}

.contact-card a {
  font-size: 0.85rem;
  color: var(--green-deep);
  word-break: break-all;
}

.contact-card a:hover {
  color: var(--primary);
}

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
  background: var(--brown-deep);
  padding: 72px 0 0;
  border-top: 1px solid rgba(242, 117, 63, 0.2);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
}

.footer-brand-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-light);
}

.footer-brand-tagline {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
}

.footer-about {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin: 0;
}

.footer-about a {
  font-size: 0.84rem;
  color: rgb(236, 114, 62);
  line-height: 1.7;
  text-decoration: none;
  margin: 0;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-downloads a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-downloads i {
  color: var(--primary);
  font-size: 0.82rem;
}

/* ── Visitor Counter ──────────────────────────────────── */
.footer-counter {
  padding: 28px 0;
  margin-top: 48px;
  border-top: 1px solid rgba(242, 117, 63, 0.15);
  border-bottom: 1px solid rgba(242, 117, 63, 0.15);
  text-align: center;
}

.counter-wrap {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(242, 117, 63, 0.25);
  border-radius: 4px;
  padding: 12px 12px;
}

.counter-wrap i {
  font-size: 1rem;
  color: var(--primary);
}

.counter-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.counter-number {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary-light);
  letter-spacing: 0.04em;
  line-height: 1;
}

.footer-bottom {
  margin-top: 56px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
  margin: 0;
}

.footer-org {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

.footer-org strong {
  color: rgba(255, 255, 255, 0.55);
}

/* ── Animations ───────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 1;
    height: 60px;
  }

  50% {
    opacity: 0.3;
    height: 36px;
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 0;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1199px) {
  .navbar-nav .nav-link {
    padding: 8px 10px;
    font-size: 0.78rem;
  }
}

@media (max-width: 991px) {
  #navbarContent {
    background: var(--brown-deep);
    padding: 16px;
    border-top: 1px solid rgba(242, 117, 63, 0.2);
    margin-top: 10px;
  }

  .navbar-brand {
    margin-right: 0;
  }

  .navbar-nav .dropdown-menu {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    box-shadow: none;
    padding-left: 12px;
  }

  .btn-register {
    margin-top: 12px;
  }

  .welcome-letter-card {
    padding: 32px 28px;
  }
}

@media (max-width: 767px) {
  .hero-logo-row {
    gap: 14px;
    margin-bottom: 22px;
  }

  .hero-logo-badge {
    width: 72px;
    height: 72px;
    padding: 8px;
  }

  .hero-meta {
    gap: 12px;
  }

  .hero-meta-divider {
    display: none;
  }

  .timer-block {
    min-width: 72px;
  }

  .timer-number {
    font-size: 2.5rem;
  }

  .timer-colon {
    font-size: 1.8rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .letter-signatories {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575px) {
  .dates-section {
    padding-bottom: 48px;
  }

  .section-pad {
    padding: 48px 0;
  }

  .welcome-letter-card {
    padding: 24px 18px;
  }

  .letter-signatories {
    grid-template-columns: 1fr;
  }

  .signatory {
    text-align: left;
  }
}

/* register.php */
.inner-page-main {
  padding-top: 92px;
}

.auth-page,
.dashboard-page {
  background:
    radial-gradient(
      circle at top left,
      rgba(242, 117, 63, 0.12),
      transparent 30%
    ),
    linear-gradient(180deg, #fdf8f5 0%, #f7efe8 100%);
}

.auth-hero-section,
.dashboard-hero-section {
  padding: 48px 0 0;
}

.auth-hero-card,
.dashboard-hero-card {
  background: linear-gradient(
    135deg,
    rgba(85, 67, 59, 0.97),
    rgba(85, 67, 59, 0.88)
  );
  border: 1px solid rgba(242, 117, 63, 0.2);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  color: var(--white);
  padding: 42px;
  position: relative;
  overflow: hidden;
}

.auth-hero-card::before,
.dashboard-hero-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(242, 117, 63, 0.18);
  filter: blur(4px);
}

.auth-hero-card .section-title,
.auth-hero-card .section-sub,
.dashboard-hero-card .section-title,
.dashboard-hero-card .section-sub {
  color: var(--white);
}

.auth-form-section,
.dashboard-content-section {
  padding-top: 32px;
}

.auth-card,
.auth-info-card,
.dashboard-panel,
.dashboard-stat-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(189, 167, 158, 0.35);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}

.auth-card,
.auth-info-card,
.dashboard-panel {
  padding: 30px;
}

.auth-card-header {
  margin-bottom: 24px;
}

.auth-card-header h2,
.auth-info-card h3,
.dashboard-panel-head h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--brown-deep);
  margin-bottom: 6px;
}

.auth-card-header p,
.dashboard-panel-head span,
.auth-helper-text {
  color: var(--text-muted);
}

.auth-form .form-label {
  color: var(--brown-deep);
  font-weight: 500;
  margin-bottom: 8px;
}

.auth-form .form-control,
.auth-form .form-select {
  border: 1px solid rgba(85, 67, 59, 0.16);
  border-radius: 14px;
  min-height: 52px;
  padding: 14px 16px;
  box-shadow: none;
}

.auth-form .form-control:focus,
.auth-form .form-select:focus {
  border-color: rgba(242, 117, 63, 0.65);
  box-shadow: 0 0 0 0.2rem rgba(242, 117, 63, 0.15);
}

.password-field {
  position: relative;
}

.password-field .form-control {
  padding-right: 54px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(242, 117, 63, 0.12);
  color: var(--primary-dark);
}

.btn-auth-primary,
.btn-auth-secondary {
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 12px 24px;
}

.btn-auth-primary {
  background: var(--primary);
  border: 1px solid var(--primary);
  color: var(--white);
}

.btn-auth-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

.btn-auth-secondary {
  background: rgba(242, 117, 63, 0.12);
  border: 1px solid rgba(242, 117, 63, 0.22);
  color: var(--primary-dark);
}

.btn-auth-secondary:hover {
  background: rgba(242, 117, 63, 0.18);
  color: var(--primary-dark);
}

.auth-check .form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.auth-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.auth-inline-link {
  color: var(--primary-dark);
  font-weight: 500;
}

.auth-info-card {
  position: sticky;
  top: 112px;
}

.auth-info-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  display: grid;
  gap: 14px;
}

.auth-info-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-mid);
}

.auth-info-list li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--green);
  position: absolute;
  left: 0;
  top: 0;
}

/* login.php */
.login-page .auth-card {
  max-width: 100%;
}

/* dashboard.php */
.dashboard-hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.dashboard-stat-card {
  padding: 24px;
  height: 100%;
}

.dashboard-stat-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.dashboard-stat-card strong {
  display: block;
  font-size: 1.6rem;
  color: var(--brown-deep);
  margin-bottom: 4px;
}

.dashboard-stat-card small {
  color: var(--text-muted);
}

.dashboard-panel-head {
  margin-bottom: 22px;
}

.dashboard-activity-list {
  display: grid;
  gap: 18px;
}

.dashboard-activity-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(189, 167, 158, 0.3);
}

.dashboard-activity-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.dashboard-activity-date {
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.88rem;
}

.dashboard-activity-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--brown-deep);
}

.dashboard-activity-item p {
  margin-bottom: 0;
  color: var(--text-mid);
}

.dashboard-actions {
  display: grid;
  gap: 12px;
}

.dashboard-action-link {
  display: block;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(242, 117, 63, 0.1);
  color: var(--brown-deep);
  font-weight: 500;
}

.dashboard-action-link:hover {
  background: rgba(242, 117, 63, 0.16);
  color: var(--primary-dark);
}

@media (max-width: 991px) {
  .auth-info-card {
    position: static;
  }

  .dashboard-hero-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .inner-page-main {
    padding-top: 80px;
  }

  .auth-hero-card,
  .dashboard-hero-card,
  .auth-card,
  .auth-info-card,
  .dashboard-panel {
    padding: 24px;
  }

  .auth-form-row,
  .dashboard-activity-item {
    grid-template-columns: 1fr;
    display: grid;
  }
}

@media (max-width: 575px) {
  .auth-hero-card,
  .dashboard-hero-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .auth-card,
  .auth-info-card,
  .dashboard-panel,
  .dashboard-stat-card {
    border-radius: 18px;
  }
}

/* ── Intro Image Section ────────────────────────────── */
.intro-image-section {
  width: 100%;
  padding: 6px 0;
  background: linear-gradient(
    135deg,
    rgba(242, 117, 63, 0.12) 0%,
    rgba(70, 174, 68, 0.12) 100%
  );
  border-bottom: 1.5px solid rgba(242, 117, 63, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: slideInDown 0.6s ease-out;
  box-shadow: 0 2px 8px rgba(85, 67, 59, 0.08);
}

.intro-image-section.hidden {
  display: none !important;
}

.intro-image-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.intro-image-wrapper {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 70px;
}

.intro-image {
  width: auto;
  height: 100%;
  max-height: 65px;
  max-width: 400px;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(85, 67, 59, 0.08);
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.intro-image:hover {
  transform: scale(1.01);
}

.intro-close-btn {
  flex-shrink: 0;
  background: rgba(242, 117, 63, 0.15);
  border: 1px solid rgba(242, 117, 63, 0.25);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  line-height: 1;
}

.intro-close-btn:hover {
  background: rgba(242, 117, 63, 0.25);
  border-color: rgba(242, 117, 63, 0.4);
  transform: rotate(90deg);
}

.intro-close-btn:active {
  transform: scale(0.9) rotate(90deg);
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .intro-image-container {
    padding: 0 12px;
  }

  .intro-image-wrapper {
    max-height: 60px;
  }

  .intro-image {
    max-height: 55px;
    max-width: 350px;
  }
}

@media (max-width: 768px) {
  .intro-image-section {
    padding: 5px 0;
    border-bottom: 1px solid rgba(242, 117, 63, 0.2);
  }

  .intro-image-container {
    padding: 0 10px;
    gap: 10px;
  }

  .intro-image-wrapper {
    max-height: 50px;
  }

  .intro-image {
    max-height: 48px;
    max-width: 280px;
  }

  .intro-close-btn {
    width: 26px;
    height: 26px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .intro-image-section {
    padding: 4px 0;
  }

  .intro-image-container {
    padding: 0 8px;
    gap: 8px;
  }

  .intro-image-wrapper {
    max-height: 40px;
  }

  .intro-image {
    max-height: 38px;
    max-width: 200px;
  }

  .intro-close-btn {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
}

/* Intro Image Popup Override */
.intro-image-section {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  padding: 20px;
  background: rgba(42, 31, 26, 0.65);
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: introFadeIn 0.25s ease-out;
  overflow: auto;
}

.intro-image-section.hidden {
  display: none !important;
}

.intro-image-section.is-closing {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.intro-image-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 80px);
  max-width: 1300px;
  height: auto;
  max-height: 85vh;
  margin: auto;
  padding: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: 0 20px 70px rgba(42, 31, 26, 0.35);
  animation: introPopIn 0.32s ease-out;
}

.intro-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  max-height: 85vh;
  overflow: auto;
  border-radius: 8px;
  background: transparent;
}

.intro-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: none;
  object-fit: contain;
  transition: none;
}

.intro-image:hover {
  transform: none;
}

.intro-close-btn {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  border: 2.5px solid var(--white);
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(42, 31, 26, 0.32);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  transition:
    background var(--transition),
    transform var(--transition);
  z-index: 2001;
}

.intro-close-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.08) rotate(90deg);
}

.intro-close-btn:active {
  transform: scale(0.95) rotate(90deg);
}

@keyframes introFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes introPopIn {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1024px) {
  .intro-image-container {
    max-width: 90vw;
    max-height: 80vh;
  }

  .intro-image-wrapper {
    max-height: 80vh;
  }

  .intro-image {
    max-height: 80vh;
  }
}

@media (max-width: 768px) {
  .intro-image-section {
    padding: 16px;
  }

  .intro-image-container {
    max-width: 95vw;
    max-height: 75vh;
  }

  .intro-image-wrapper {
    max-height: 75vh;
  }

  .intro-image {
    max-height: 75vh;
  }

  .intro-close-btn {
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    font-size: 22px;
    border-width: 2px;
  }
}

@media (max-width: 480px) {
  .intro-image-section {
    padding: 12px;
  }

  .intro-image-container {
    max-width: 98vw;
    max-height: 70vh;
  }

  .intro-image-wrapper {
    max-height: 70vh;
  }

  .intro-image {
    max-height: 70vh;
  }

  .intro-close-btn {
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    font-size: 18px;
    border-width: 1.5px;
  }
}
/* ── Rule list ── */
.rule-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rule-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(189, 167, 158, 0.2);
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.65;
}

.rule-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.rule-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: rgba(242, 117, 63, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-top: 3px;
}

.rule-highlight {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(242, 117, 63, 0.07);
  border-left: 3px solid var(--primary);
  border-radius: 0 5px 5px 0;
  padding: 7px 13px;
  margin-top: 8px;
  font-size: 0.84rem;
  color: var(--brown-deep);
  font-weight: 500;
}

.rule-highlight i {
  color: var(--primary);
  font-size: 0.75rem;
}

/* ── Bullet list ── */
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(189, 167, 158, 0.2);
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.65;
}

.bullet-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.bullet-list li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  margin-top: 9px;
}

/* ── Spec grid ── */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.spec-item {
  background: var(--cream-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
}

.spec-label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.spec-val {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--brown-deep);
}

/* ── Notice ── */
.notice-banner {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: rgba(70, 174, 68, 0.07);
  border: 1px solid rgba(70, 174, 68, 0.25);
  border-radius: var(--radius-sm);
  padding: 13px 17px;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.55;
  margin-bottom: 20px;
}

.notice-banner i {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

.notice-banner.warn {
  background: rgba(242, 117, 63, 0.07);
  border-color: rgba(242, 117, 63, 0.25);
}

.notice-banner.warn i {
  color: var(--primary);
}

/* ── Sub label ── */
.sub-label {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 24px 0 12px;
  display: block;
}

/* ── Content type cards ── */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.content-card {
  background: var(--cream-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.content-card-title {
  font-family: var(--font-serif);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--brown-deep);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.content-card-title i {
  color: var(--primary);
  font-size: 0.75rem;
}

.content-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.content-steps li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 4px 0;
  border-bottom: 1px dashed rgba(189, 167, 158, 0.3);
  line-height: 1.4;
}

.content-steps li:last-child {
  border-bottom: none;
}

/* ── Section divider ── */
.guide-section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.guide-section-divider h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--brown-deep);
  margin: 0;
  white-space: nowrap;
}

.guide-section-divider .line {
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

.guide-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--primary-dark);
  background: rgba(242, 117, 63, 0.1);
  border: 1px solid rgba(242, 117, 63, 0.25);
  border-radius: 20px;
  padding: 4px 12px;
  white-space: nowrap;
}

/* ── CTA ── */
.abstract-cta {
  /* background: var(--brown-deep); */
  background:
    linear-gradient(rgba(42, 31, 26, 0.84) 100%),
    url("https://images.unsplash.com/photo-1706186839147-0d708602587b") center
      center / cover no-repeat;
  border-top: 1px solid rgba(242, 117, 63, 0.2);
  margin: 56px;
  padding: 56px 0;
  border-radius: var(--radius-sm);
  text-align: center;
}

.abstract-cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 10px;
}

.abstract-cta p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 28px;
}
