/* ══════════════════════════════════════════════════════════
   international-relations.css  —  International Relations page
   All classes prefixed  ir-  — zero conflicts with
   style.css / globals.css / about.css / contact.css /
   executive-committee.css / news-media.css / msg-from.css
   Sections:
   1. Hero / Intro Band
   2. Main Section  (two-col: left text + right timeline)
══════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────
   KEYFRAMES  (ir- prefix)
─────────────────────────────────────────── */
@keyframes ir-fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ir-slideRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ──────────────────────────────────────────
   SHARED LAYOUT UTILITY  (ir- scoped)
─────────────────────────────────────────── */
.ir-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 60px;
}

/* ──────────────────────────────────────────
   1. HERO / INTRO BAND
─────────────────────────────────────────── */
.ir-hero {
  background: #142960;
  padding: 68px 0 64px;
  position: relative;
  overflow: hidden;
}

/* grid texture */
.ir-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); */
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 0;
}

/* red accent line */
.ir-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red) 0%, transparent 70%);
  z-index: 2;
}

.ir-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

/* ── Eyebrow tag ── */
.ir-tag {
  font-family: var(--font-family-secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(16px);
  animation: ir-fadeUp 0.6s ease forwards 0.1s;
}

.ir-tag span {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

/* ── Hero Title ── */
.ir-hero-title {
  font-family: var(--font-family-secondary);
  font-size: 64px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1;
  opacity: 0;
  transform: translateY(24px);
  animation: ir-fadeUp 0.7s ease forwards 0.2s;
}

.ir-hero-title em {
  font-style: normal;
  color: var(--red);
}

/* ── Hero right desc ── */
.ir-hero-right {
  max-width: 380px;
  opacity: 0;
  transform: translateY(20px);
  animation: ir-fadeUp 0.7s ease forwards 0.35s;
}

.ir-hero-right p {
  font-family: var(--font-family-primary);
  font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
}

/* ──────────────────────────────────────────
   2. MAIN SECTION
─────────────────────────────────────────── */
.ir-main {
  background: var(--white);
  padding: 100px 0;
}

.ir-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}

/* ── Section label (red line + uppercase text) ── */
.ir-section-label {
  font-family: var(--font-family-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(14px);
}

.ir-section-label span {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

/* ── Left column ── */
.ir-left h2 {
  font-family: var(--font-family-secondary);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
}

.ir-left p {
  font-family: var(--font-family-primary);
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.9;
  opacity: 0;
  transform: translateY(14px);
}

/* Scroll-triggered animations — added via JS */
.ir-left.ir-visible .ir-section-label { animation: ir-fadeUp 0.6s ease forwards 0.05s; }
.ir-left.ir-visible h2               { animation: ir-fadeUp 0.6s ease forwards 0.15s; }
.ir-left.ir-visible p                { animation: ir-fadeUp 0.6s ease forwards 0.25s; }

/* ── Right column ── */
.ir-right {
  opacity: 0;
  transform: translateX(24px);
}

.ir-right.ir-visible { animation: ir-slideRight 0.7s ease forwards 0.2s; }

/* ──────────────────────────────────────────
   TIMELINE  (circ items)
─────────────────────────────────────────── */
.ir-item {
  display: flex;
  gap: 20px;
  padding-bottom: 28px;
  position: relative;
  cursor: default;
}

/* Connector line between items */
.ir-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 17px;
  top: 38px;
  bottom: 0;
  width: 2px;
  background: rgba(13,27,62,0.08);
}

/* ── Dot / icon circle ── */
.ir-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1B83F5;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition:
    background 0.3s ease,
    transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.ir-item:hover .ir-dot {
  background: var(--red);
  transform: scale(1.15);
}

.ir-dot svg {
  width: 15px;
  height: 15px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Item content ── */
.ir-content {
  flex: 1;
  padding-top: 4px;
}

.ir-tag-inline {
  font-family: var(--font-family-secondary);
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}

.ir-content h5 {
  font-family: var(--font-family-secondary);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
  transition: color 0.25s ease;
}

.ir-item:hover .ir-content h5 { color: var(--red); }

.ir-content p {
  font-family: var(--font-family-primary);
  font-size: 0.76rem;
  color: #aaa;
  line-height: 1.7;
}

/* ──────────────────────────────────────────
   RESPONSIVE
─────────────────────────────────────────── */
@media (max-width: 1000px) {
  .ir-wrap        { padding: 0 36px; }
  .ir-hero-inner  { flex-direction: column; align-items: flex-start; }
  .ir-hero-right  { max-width: 100%; }
  .ir-grid        { grid-template-columns: 1fr; gap: 52px; }
}

@media (max-width: 640px) {
  .ir-wrap  { padding: 0 20px; }
  .ir-hero  { padding: 52px 0 48px; }
  .ir-main  { padding: 64px 0; }
  .ir-hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
}
