/* Oron Union — shared inner page styles */

/* ── Inner hero banner ── */
.inner-hero {
  position: relative;
  background: linear-gradient(135deg, var(--red-deep) 0%, var(--maroon) 60%, #1a0408 100%);
  color: #fff;
  padding: 140px 24px 90px;
  text-align: center;
  overflow: hidden;
}
/* dark grain overlay */
.inner-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.07'/%3E%3C/svg%3E");
  opacity: 0.25;
  pointer-events: none;
}
.inner-hero-badge {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 5px 16px;
  margin-bottom: 20px;
}
.inner-hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  margin: 0 0 16px;
  line-height: 1.1;
}
.inner-hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.inner-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}
.inner-hero-wave svg { width: 100%; display: block; }

/* ── Breadcrumb ── */
.inner-breadcrumb {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
}
.inner-breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.inner-breadcrumb a:hover { color: #fff; }
.inner-breadcrumb span { margin: 0 6px; }

/* ── Page sections ── */
.ip-section {
  padding: 80px 24px;
}
.ip-section.beige { background: var(--beige); }
.ip-section.white { background: #fff; }
.ip-section.dark  { background: var(--red-deep); color: #fff; }

.ip-container {
  max-width: 1160px;
  margin: 0 auto;
}
.ip-container.narrow {
  max-width: 860px;
}

/* ── Section heading ── */
.ip-section-badge {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.ip-section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--black);
  margin: 0 0 16px;
}
.ip-section.dark .ip-section-title { color: #fff; }
.ip-section.dark .ip-section-badge { color: rgba(255,200,180,0.85); }
.ip-section-sub {
  font-size: 1rem;
  color: var(--gray);
  max-width: 680px;
  line-height: 1.75;
  margin-bottom: 48px;
}

/* ── Generic card ── */
.ip-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(128,0,32,0.12);
}
.ip-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}
.ip-card-body {
  padding: 24px;
}
.ip-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.ip-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 10px;
  line-height: 1.4;
}
.ip-card-text {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ── Grid helpers ── */
.ip-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.ip-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ip-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  align-items: center;
}

/* ── Leader card ── */
.leader-card {
  background: #fff;
  border-radius: 16px;
  text-align: center;
  padding: 28px 20px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.leader-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(128,0,32,0.13);
}
.leader-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--beige-dark);
  margin: 0 auto 14px;
  display: block;
}
.leader-avatar-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red-deep), var(--red));
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.leader-avatar-placeholder svg { width: 40px; height: 40px; color: rgba(255,255,255,0.7); }
.leader-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 4px;
}
.leader-role {
  font-size: 0.8rem;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.leader-lga {
  font-size: 0.78rem;
  color: var(--gray);
}

/* ── Timeline ── */
.ip-timeline {
  position: relative;
  padding-left: 40px;
  max-width: 760px;
  margin: 0 auto;
}
.ip-timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--red), transparent);
}
.ip-timeline-item {
  position: relative;
  margin-bottom: 40px;
}
.ip-timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px var(--red);
}
.ip-timeline-year {
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.ip-timeline-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 6px;
}
.ip-timeline-text {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ── Value card ── */
.value-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border-top: 3px solid var(--red);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(128,0,32,0.11); }
.value-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--red-deep), var(--red));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.value-icon svg { width: 26px; height: 26px; color: #fff; }
.value-title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}
.value-text { font-size: 0.88rem; color: var(--gray); line-height: 1.7; }

/* ── Clan card ── */
.clan-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.clan-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(128,0,32,0.13); }
.clan-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.clan-card-body {
  padding: 20px;
  background: #fff;
}
.clan-card-name {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}
.clan-card-desc { font-size: 0.85rem; color: var(--gray); line-height: 1.6; }
.clan-card-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

/* ── Stats bar ── */
.ip-stats-bar {
  display: flex;
  justify-content: center;
  gap: 0;
  background: var(--red-deep);
  color: #fff;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 64px;
}
.ip-stat {
  flex: 1;
  text-align: center;
  padding: 28px 16px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.ip-stat:last-child { border-right: none; }
.ip-stat-num {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  display: block;
}
.ip-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ── Contact form ── */
.contact-form-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}
.contact-field {
  margin-bottom: 20px;
}
.contact-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 6px;
}
.contact-field input,
.contact-field textarea,
.contact-field select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e0dbd5;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--black);
  background: #fafaf7;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.contact-field input:focus,
.contact-field textarea:focus,
.contact-field select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(128,0,32,0.1);
}
.contact-field textarea { resize: vertical; min-height: 140px; }
.contact-submit {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  width: 100%;
}
.contact-submit:hover { background: var(--red-hover); transform: translateY(-1px); }

/* ── Office card ── */
.office-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border-left: 4px solid var(--red);
}
.office-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
}
.office-detail {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 0.88rem;
  color: var(--gray);
}
.office-detail svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; color: var(--red); }

/* ── Event card ── */
.event-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.event-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(128,0,32,0.12); }
.event-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.event-card-date-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 0;
}
.event-date-box {
  background: var(--red);
  color: #fff;
  border-radius: 10px;
  width: 52px;
  text-align: center;
  padding: 6px 0;
  flex-shrink: 0;
}
.event-date-day {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
}
.event-date-month {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.event-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.event-card-body { padding: 12px 20px 24px; }
.event-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 8px;
}
.event-card-meta { font-size: 0.82rem; color: var(--gray); }

/* ── Project card ── */
.project-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.project-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(128,0,32,0.12); }
.project-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.project-card-body { padding: 24px; }
.project-status {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 10px;
}
.project-status.ongoing { background: #fef3c7; color: #92400e; }
.project-status.completed { background: #d1fae5; color: #065f46; }
.project-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 8px;
}
.project-card-text { font-size: 0.88rem; color: var(--gray); line-height: 1.7; }
.project-progress { margin-top: 14px; }
.project-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--gray);
  margin-bottom: 6px;
}
.project-progress-bar {
  height: 6px;
  background: var(--beige-dark);
  border-radius: 3px;
  overflow: hidden;
}
.project-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red-deep), var(--red));
  border-radius: 3px;
}

/* ── News card ── */
.news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(128,0,32,0.12); }
.news-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.news-card-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.news-card-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.news-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 10px;
  line-height: 1.45;
  flex: 1;
}
.news-card-meta { font-size: 0.78rem; color: var(--gray); margin-top: auto; }
.news-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.news-filter-btn {
  padding: 8px 20px;
  border: 1.5px solid var(--beige-dark);
  border-radius: 20px;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  transition: all 0.2s;
}
.news-filter-btn:hover,
.news-filter-btn.active { background: var(--red); color: #fff; border-color: var(--red); }

/* ── Inner footer ── */
.inner-footer {
  background: var(--maroon);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 32px 24px;
  font-size: 0.85rem;
}
.inner-footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
.inner-footer a:hover { color: #fff; }
.inner-footer-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-bottom: 12px;
  opacity: 0.85;
}

/* ── Gallery grid ── */
.ip-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.ip-gallery-item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
}
.ip-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ip-gallery-item:hover img { transform: scale(1.06); }

/* ── CTA strip ── */
.ip-cta-strip {
  background: linear-gradient(135deg, var(--red-deep), var(--maroon));
  color: #fff;
  text-align: center;
  padding: 64px 24px;
}
.ip-cta-strip h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 14px;
}
.ip-cta-strip p { color: rgba(255,255,255,0.75); margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }
.ip-cta-btn {
  display: inline-block;
  padding: 14px 36px;
  background: #fff;
  color: var(--red);
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  margin: 6px;
}
.ip-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.ip-cta-btn.outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.ip-cta-btn.outline:hover { background: rgba(255,255,255,0.1); }

/* ── Clan grid (5 columns) ── */
.ip-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

/* ── Language greetings card ── */
.greetings-card {
  background: var(--beige);
  border-radius: 16px;
  padding: 28px;
  border-left: 4px solid var(--red);
}
.greetings-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
}
.greetings-table {
  width: 100%;
  border-collapse: collapse;
}
.greetings-table tr { border-bottom: 1px solid var(--beige-dark); }
.greetings-table tr:last-child { border-bottom: none; }
.greetings-table td {
  padding: 10px 6px;
  font-size: 0.88rem;
}
.greetings-table td:first-child {
  font-weight: 600;
  color: var(--red);
  font-style: italic;
  width: 55%;
}
.greetings-table td:last-child { color: var(--gray); }

/* ── Org structure ── */
.org-level {
  margin-bottom: 16px;
}
.org-level-title {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.org-level-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  font-size: 0.88rem;
  color: var(--gray);
  border-left: 3px solid var(--red);
}
.org-arrow {
  text-align: center;
  color: var(--red);
  font-size: 1.2rem;
  margin: 4px 0;
  opacity: 0.5;
}

/* ── Folklore card ── */
.folklore-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border-top: 3px solid var(--red);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.folklore-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(128,0,32,0.11); }
.folklore-card-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.folklore-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
  font-style: italic;
}
.folklore-card-text {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.75;
}

/* ── Constitution card ── */
.constitution-card {
  background: #fff;
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
  max-width: 640px;
  margin: 0 auto;
}
.constitution-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 20px;
  display: block;
}
.constitution-card p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 28px;
}
.constitution-card .btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  margin-bottom: 16px;
}
.constitution-card .btn-primary:hover { background: var(--red-hover); transform: translateY(-1px); }
.constitution-note {
  font-size: 0.78rem;
  color: var(--light-gray);
  margin-top: 12px;
}

/* ── Mission/Vision/Mandate cards ── */
.mvv-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mvv-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(128,0,32,0.12); }
.mvv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red-deep), var(--red));
}
.mvv-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--red-deep), var(--red));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.mvv-card-icon svg { width: 24px; height: 24px; color: #fff; }
.mvv-card-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.mvv-card-title {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 14px;
}
.mvv-card-text {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.75;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .ip-grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .ip-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .ip-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .ip-section { padding: 56px 20px; }
  .ip-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .ip-grid-2 { grid-template-columns: 1fr; }
  .ip-stats-bar { flex-wrap: wrap; }
  .ip-stat { flex: 0 0 50%; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .ip-gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-form-wrap { padding: 28px 20px; }
  .ip-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .constitution-card { padding: 36px 24px; }
  .inner-hero { padding: 120px 20px 72px; }
  .ip-cta-strip { padding: 52px 20px; }
  .ip-cta-btn { display: block; width: 100%; max-width: 300px; margin: 8px auto; }
  .ip-featured { grid-template-columns: 1fr !important; }
  .ip-featured-body { padding: 28px 24px !important; }
}
@media (max-width: 520px) {
  .ip-grid-3 { grid-template-columns: 1fr; }
  .ip-grid-4 { grid-template-columns: 1fr; }
  .ip-grid-5 { grid-template-columns: 1fr; }
  .ip-gallery { grid-template-columns: repeat(2, 1fr); }
  .ip-featured-body { padding: 24px 18px !important; }
}
@media (max-width: 480px) {
  .inner-hero { padding: 100px 16px 60px; }
  .inner-hero-title { letter-spacing: 0.02em; }
  .inner-breadcrumb { font-size: 0.7rem; }
  .ip-section { padding: 48px 16px; }
  .ip-section-title { font-size: clamp(1.3rem, 6vw, 1.8rem); }
  .ip-section-sub { font-size: 0.9rem; }
  .ip-cta-strip { padding: 48px 16px; }
  .ip-cta-strip h2 { font-size: clamp(1.2rem, 5vw, 1.6rem); }
  .leader-card { padding: 20px 14px; }
  .leader-name { font-size: 0.85rem; }
  .leader-role { font-size: 0.75rem; }
  .inner-footer { padding: 28px 16px; font-size: 0.8rem; }

  /* Event calendar — keep 7 columns (days of week) but shrink cells to fit */
  .ip-cal-head > div { padding: 8px 0 !important; font-size: 0.6rem !important; }
  .ip-cal-body > div { padding: 4px !important; font-size: 0.72rem !important; }
  .ip-cal-body > div span { width: 26px !important; height: 26px !important; font-size: 0.72rem !important; }
}

/* =================================================================
   DARK MODE — INNER PAGES
   ================================================================= */
[data-theme="dark"] .ip-section { background: var(--white); }
[data-theme="dark"] .ip-section:nth-child(even) { background: var(--beige); }

[data-theme="dark"] .ip-card {
  background: #1E1A1A;
  border-color: rgba(255,255,255,0.08);
  color: #EDEDE0;
}
[data-theme="dark"] .ip-card h3 { color: #EDEDE0; }
[data-theme="dark"] .ip-card p  { color: #9A9A9A; }

[data-theme="dark"] .leader-card {
  background: #1E1A1A;
  border-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .leader-name { color: #EDEDE0; }
[data-theme="dark"] .leader-role { color: #9A9A9A; }

[data-theme="dark"] .branch-card {
  background: #1E1A1A;
  border-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .branch-card h3 { color: #EDEDE0; }
[data-theme="dark"] .branch-card p  { color: #9A9A9A; }

[data-theme="dark"] .clan-card {
  background: #1E1A1A;
  border-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .clan-card h3 { color: #EDEDE0; }

[data-theme="dark"] .value-card {
  background: #1E1A1A;
  border-color: rgba(255,255,255,0.08);
}
[data-theme="dark"] .value-card h3 { color: #EDEDE0; }
[data-theme="dark"] .value-card p  { color: #9A9A9A; }

[data-theme="dark"] .ip-timeline-item { border-left-color: rgba(255,255,255,0.12); }
[data-theme="dark"] .ip-timeline-item h3 { color: #EDEDE0; }
[data-theme="dark"] .ip-timeline-item p  { color: #9A9A9A; }

[data-theme="dark"] .ip-section-title { color: #EDEDE0; }
[data-theme="dark"] .ip-section-sub   { color: #9A9A9A; }

[data-theme="dark"] .inner-footer {
  background: var(--maroon);
  color: rgba(255,255,255,0.55);
}
[data-theme="dark"] .inner-footer a { color: rgba(255,255,255,0.7); }

/* Back-to-top and WhatsApp are also available on inner pages via styles.css */
