/* ============================================================
   IAT ARGENTINA — SHARED PAGE LAYOUT STYLESHEET
   Shared by: institucional, curso, programa, tricologos, trayectoria
   ============================================================ */

/* ── RESETS ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body.body-ita {
  margin: 0; padding: 0;
  background-color: #f4f3f8;
  font-family: 'Outfit', 'Roboto', 'Helvetica Neue', sans-serif;
  color: #333333;
}

/* Base link reset to override legacy A:link { color: #ffffff } in css.css */
a,
body.body-ita a,
body.body-ita a:link,
body.body-ita a:visited {
  color: #29176b;
  text-decoration: none;
}

body.body-ita a:hover {
  text-decoration: underline;
}

/* ── STICKY HEADER ───────────────────────────────────────────── */
#iat-header {
  background: #ffffff;
  border-bottom: 1px solid #e8e5f0;
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 8px rgba(41,23,107,0.08);
}

#iat-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 80px;
  gap: 20px;
}

#iat-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

#iat-logo-link img {
  height: 58px;
  width: auto;
  display: block;
}

/* ── PRIMARY NAV ─────────────────────────────────────────────── */
#iat-primary-nav {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

#iat-primary-nav li { position: relative; }

#iat-primary-nav li a {
  display: block;
  padding: 10px 13px;
  font-size: 12px;
  font-weight: 600;
  color: #29176b;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}

#iat-primary-nav li a:hover,
#iat-primary-nav li a.active {
  background: #29176b;
  color: #ffffff;
  text-decoration: none;
}

#iat-primary-nav li.nav-has-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-arrow {
  font-size: 9px;
  transition: transform 0.25s ease;
  display: inline-block;
}

.nav-has-dropdown:hover .nav-arrow,
.nav-has-dropdown:focus-within .nav-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #1b0861;
  min-width: 200px;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 1000;
  list-style: none;
  margin: 0;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.nav-has-dropdown:hover .nav-dropdown-menu,
.nav-has-dropdown:focus-within .nav-dropdown-menu {
  display: flex;
}

.nav-dropdown-menu li {
  width: 100%;
}

.nav-dropdown-menu li a {
  display: block;
  width: 100%;
  padding: 8px 12px;
  color: #ffffff !important;
  font-size: 11.5px;
  border-radius: 4px;
}

.nav-dropdown-menu li a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.nav-dropdown-menu li a.active {
  background: #ffbd4a;
  color: #151f6d !important;
  font-weight: 700;
}

/* ── PAGE SUBHEADER BAND ─────────────────────────────────────── */
.page-subheader {
  background: linear-gradient(135deg, #29176b 0%, #1b0861 100%);
  padding: 26px 24px;
  text-align: left;
}

.page-subheader-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-subheader h1 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px 0;
  letter-spacing: -0.01em;
	
}

.page-subheader p {
  color: #c8c3e0;
  font-size: 13px;
  margin: 0;
}

/* ── PAGE BODY GRID ──────────────────────────────────────────── */
#iat-page-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 24px 60px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: start;
}

/* ── LEFT SIDEBAR ────────────────────────────────────────────── */
#iat-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar-widget {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(41,23,107,0.07);
  margin-bottom: 16px;
}

.sidebar-widget img.widget-banner {
  width: 100%;
  height: auto;
  display: block;
}

.sidebar-widget .widget-title {
  margin: 0;
  padding: 11px 14px;
  background: linear-gradient(135deg, #29176b 0%, #1b0861 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(255, 255, 255, 0.12);
}

.sidebar-widget .widget-body {
  padding: 12px 14px;
  font-size: 11.5px;
  line-height: 1.6;
  color: #444;
}

.sidebar-widget .widget-body p { margin: 0 0 8px 0; }
.sidebar-widget .widget-body p:last-child { margin-bottom: 0; }

.sidebar-widget .widget-body a {
  color: #29176b;
  font-weight: 600;
  text-decoration: none;
}

.sidebar-widget .widget-body a:hover { text-decoration: underline; }

/* ── MAIN COLUMN ─────────────────────────────────────────────── */
#iat-main-col { min-width: 0; }

/* Content card */
.content-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 28px 32px;
  box-shadow: 0 3px 14px rgba(41,23,107,0.07);
  margin-bottom: 24px;
  border-top: 3px solid #29176b;
}

.content-card h2 {
  color: #29176b;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8e5f0;
  letter-spacing: -0.01em;
}

.content-card p {
  font-size: 13.5px;
  line-height: 1.75;
  color: #444;
  margin: 0 0 12px 0;
}

.content-card p:last-child { margin-bottom: 0; }

.content-card .hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin-bottom: 20px;
}

/* Bullet list inside content card */
.content-card ul.topic-list {
  list-style: none;
  margin: 8px 0 0 0;
  padding: 0;
}

.content-card ul.topic-list li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 13px;
  line-height: 1.5;
  color: #444;
  border-bottom: 1px solid #f3f1f9;
}

.content-card ul.topic-list li:last-child { border-bottom: none; }

.content-card ul.topic-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #29176b;
  font-size: 12px;
  top: 7px;
}

.content-card h3 {
  color: #29176b;
  font-size: 16px;
  font-weight: 700;
  margin: 22px 0 10px 0;
  letter-spacing: -0.01em;
}

.info-callout {
  background: #f7f6fb;
  border-left: 4px solid #29176b;
  border-radius: 6px;
  padding: 16px 20px;
  margin: 18px 0;
}

.info-callout p {
  font-size: 13px;
  line-height: 1.65;
  color: #444;
  margin: 0 0 8px 0;
}

.info-callout p:last-child {
  margin-bottom: 0;
}

.info-callout strong {
  color: #29176b;
}

/* Modules list */
.modules-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.module-card {
  background: #fbfaff;
  border: 1px solid #e7e3f2;
  border-radius: 8px;
  padding: 14px 18px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.module-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(41, 23, 107, 0.08);
  border-color: #29176b;
}

.module-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.module-badge {
  background: #29176b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 4px;
  white-space: nowrap;
}

.module-title {
  color: #29176b;
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.module-desc {
  font-size: 12.5px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.feature-box {
  background: #f7f6fb;
  border: 1px solid #e8e4f5;
  border-radius: 8px;
  padding: 16px 18px;
}

.feature-box h4 {
  color: #29176b;
  font-size: 13.5px;
  font-weight: 700;
  margin: 0 0 6px 0;
}

.feature-box p {
  font-size: 12px;
  line-height: 1.55;
  color: #555;
  margin: 0;
}

/* Contact box for Argentina */
.contact-box-argentina {
  background: linear-gradient(135deg, #f7f6fb 0%, #ece8f8 100%);
  border: 1.5px solid #dcd7ed;
  border-radius: 8px;
  padding: 20px 24px;
  margin-top: 24px;
}

.contact-box-argentina h3 {
  margin: 0 0 8px 0;
  color: #29176b;
  font-size: 15px;
  font-weight: 700;
}

.contact-box-argentina p {
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  color: #333;
}

.contact-box-argentina a {
  color: #29176b;
  font-weight: 600;
}

/* Section-level CTA pair */
.section-cta-pair {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #eee;
}

.btn-iat-primary,
a.btn-iat-primary,
a.btn-iat-primary:link,
a.btn-iat-primary:visited {
  display: inline-block;
  background: #29176b;
  color: #ffffff !important;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 9px 18px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.18s;
}

.btn-iat-primary:hover,
a.btn-iat-primary:hover {
  background: #1b0861;
  color: #ffffff !important;
  text-decoration: none;
}

.btn-iat-ghost,
a.btn-iat-ghost,
a.btn-iat-ghost:link,
a.btn-iat-ghost:visited {
  display: inline-block;
  background: transparent;
  color: #29176b !important;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 9px 18px;
  border-radius: 5px;
  border: 1.5px solid #29176b;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}

.btn-iat-ghost:hover,
a.btn-iat-ghost:hover {
  background: #29176b;
  color: #ffffff !important;
  text-decoration: none;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
#iat-footer {
  background: #222222;
  color: #aaaaaa;
  text-align: center;
  padding: 14px 20px;
  font-size: 11.5px;
}

#iat-footer a { color: #d4d1e1; text-decoration: none; }
#iat-footer a:hover { text-decoration: underline; }

/* ── HIGHLIGHT CALLOUT CARD (Hispanohablante Leadership) ─────── */
.highlight-leadership-card {
  background: linear-gradient(135deg, rgba(41, 23, 107, 0.04) 0%, rgba(255, 189, 74, 0.12) 100%);
  border: 1.5px solid rgba(41, 23, 107, 0.18);
  border-left: 5px solid #29176b;
  border-radius: 8px;
  padding: 22px 24px;
  margin: 24px 0 28px 0;
}

.highlight-leadership-card h3 {
  color: #29176b;
  font-size: 16.5px;
  font-weight: 700;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.highlight-leadership-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  margin: 0 0 10px 0;
}

.highlight-leadership-card p:last-child {
  margin-bottom: 0;
}

.country-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 20px 0;
}

.country-tag {
  background: #edeaf5;
  color: #29176b;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}

/* ── HAMBURGER BUTTON ─────────────────────────────────────────── */
.iat-hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 999;
  margin-left: auto;
}

.iat-hamburger-btn span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: #29176b;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.iat-hamburger-btn.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.iat-hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.iat-hamburger-btn.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 960px) {
  #iat-header-inner { height: auto; padding: 12px 16px; flex-wrap: wrap; gap: 10px; }
  .iat-hamburger-btn { display: flex; }
  #iat-primary-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0 6px;
    border-top: 1px solid #e8e5f0;
    gap: 4px;
  }
  #iat-primary-nav.mobile-open {
    display: flex;
  }
  #iat-primary-nav li a {
    padding: 10px 14px;
    font-size: 13px;
    border-radius: 6px;
  }
  #iat-page-body { grid-template-columns: 1fr; padding: 20px 14px 40px; }
  #iat-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .page-subheader h1 { font-size: 18px; }
}

@media (max-width: 480px) {
  #iat-sidebar { grid-template-columns: 1fr; }
  .content-card { padding: 20px 18px; }
}
