/*
Theme Name: INCISCOS Congress Theme
Theme URI: https://inciscos.widboo.com
Author: INCISCOS / UTE
Author URI: https://www.ute.edu.ec
Description: Tema profesional para el congreso INCISCOS. Diseño moderno con estructura de 3 columnas (nav lateral izquierda + contenido principal + sidebar derecha con fechas/sponsors), fiel al diseño original del congreso pero con un toque moderno. Compatible con Elementor y Elementor Pro. Bilingüe ES/EN vía WPML o Polylang.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: inciscos
Tags: conference, bilingual, elementor, three-column, academic, professional
*/

/* ====================================================
   DESIGN SYSTEM – INCISCOS
   Palette: UTE Blue #003087 + Gold #E8A000
   Tone: Academic-editorial, modern precision
   Layout: 3-column (nav | content | sidebar)
   Fonts: Barlow Condensed (headings) + Barlow (body)
   ==================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /*--blue:        #003087;*/
  --blue:        #0063A3;
  /*--blue-dark:   #001d52;*/
  --blue-dark:   #0256A0;
  --blue-mid:    #004ab3;
  --blue-light:  #e8f0fc;
  --gold:        #82bd48;
  --gold-light:  #81c04c;
  --gold-pale:   #81c04c;
  --white:       #ffffff;
  --off:         #f7f8fb;
  --border:      #e0e6f0;
  --text:        #1a2a45;
  --muted:       #5a6a82;
  --font-head:   'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:   'Barlow', 'Segoe UI', sans-serif;
  --r:           6px;
  --shadow:      0 2px 12px rgba(0,48,135,0.08);
  --shadow-md:   0 6px 24px rgba(0,48,135,0.13);
}

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

body {
  font-family: "Opinion Pro", Sans-serif;
  color: var(--text);
  background: var(--off);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-mid); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
p { margin-bottom: 0.85rem; }
p:last-child { margin-bottom: 0; }

/* ====================================================
   BUTTONS
   ==================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 20px;
  border-radius: var(--r);
  font-family: "Opinion Pro", Sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all .2s;
  border: 1.5px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: var(--blue-dark); color: white; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,48,135,0.25); }
.btn-gold { background: var(--gold); color: var(--blue-dark); font-weight: 700; }
.btn-gold:hover { background: var(--gold-light); color: var(--blue-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: white; }
.btn-outline-white { background: transparent; color: white; border-color: rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); color: white; border-color: white; }
.btn-sm { padding: 6px 14px; font-size: 0.78rem; }
.btn-lg { padding: 12px 28px; font-size: 0.9rem; }

/* ====================================================
   TOP BAR
   ==================================================== */
#topbar {
  background: var(--blue-dark);
  padding: 7px 0;
  border-bottom: 2px solid var(--gold);
}
.topbar-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-social { display: flex; gap: 6px; }
.topbar-social a {
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  font-weight: 700;
  transition: all .2s;
}
.topbar-social a:hover { background: var(--gold); color: var(--blue-dark); }
.topbar-lang {
  display: flex; gap: 4px; align-items: center;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
}
.topbar-lang a { color: rgba(255,255,255,0.55); padding: 2px 5px; border-radius: 3px; }
.topbar-lang a.active, .topbar-lang a:hover { color: var(--gold); }
.topbar-lang .sep { color: rgba(255,255,255,0.2); }

/* ====================================================
   HEADER
   ==================================================== */
#masthead {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 200;
  transition: box-shadow .3s;
}
#masthead.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100px;
}

.header-logo {
  display: flex; align-items: center; gap: 18px;
  text-decoration: none; flex-shrink: 0;
}
.logo-ute-ring {
  width: 225px; height: 100px;
  /*border: 2px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);*/
  overflow: hidden; flex-shrink: 0;
}
.logo-ute-ring img { width: 225px; height: 100px; object-fit: contain; }
.logo-divider { width: 1px; height: 40px; background: var(--border); }
.logo-conf { display: flex; flex-direction: column; }
.logo-conf-name {
  font-family: "Opinion Pro", Sans-serif;
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: uppercase;
}
.logo-conf-sub {
  font-family: "Opinion Pro", Sans-serif;
  font-size: 0.67rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.3;
  max-width: 260px;
}

.header-cta { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--blue); border-radius: 2px;
  transition: all .25s;
}

/* ====================================================
   HERO + CARRUSEL
   ==================================================== */
#hero {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: var(--blue-dark);
}

/* Carrusel de slides */
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: opacity;
}
.hero-slide.active { opacity: 1; }

.hero-slide-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
  /* Ken Burns suave */
  animation: kenburns 8s ease-in-out infinite alternate;
}
.hero-slide.active .hero-slide-img {
  animation-play-state: running;
}
.hero-slide:not(.active) .hero-slide-img {
  animation-play-state: paused;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

/* Overlay oscuro para legibilidad del texto */
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 15, 50, 0.30) 0%,
      rgba(0, 15, 50, 0.15) 35%,
      rgba(0, 15, 50, 0.72) 100%
    ),
    linear-gradient(
      90deg,
      rgba(0, 10, 40, 0.55) 0%,
      rgba(0, 10, 40, 0.10) 55%,
      transparent 100%
    );
}

/* Puntos indicadores */
.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 5;
}
.hero-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all .3s;
}
.hero-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.25);
}

/* Flechas de navegación */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all .2s;
  backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: rgba(232,160,0,0.7); border-color: var(--gold); }
.hero-arrow-prev { left: 14px; }
.hero-arrow-next { right: 14px; }

/* Fallback SVG (sin fotos) */
.hero-bg-layer {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(160deg, #011840 0%, #002a72 25%, #003a9e 50%, #001d52 75%, #001030 100%);
}
.hero-bg-stars {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    radial-gradient(1px 1px at 8% 18%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 22% 12%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 38% 7%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 52% 16%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 67% 9%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 81% 20%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 58% 4%, rgba(255,255,255,0.8) 0%, transparent 100%);
}
.hero-city-glow {
  position: absolute;
  bottom: 20px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 80px;
  background: radial-gradient(ellipse, rgba(255,180,30,0.12) 0%, transparent 70%);
  filter: blur(16px);
  z-index: 1;
}

/* El contenido siempre encima del carrusel */
.hero-overlay-gradient { display: none; }

.hero-content {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1160px;
  width: 100%;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 4;
}

.hero-left { animation: fadeUp .7s ease both; }

.hero-edition {
  font-family: "Opinion Pro", Sans-serif;
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px;
}
.hero-edition::before {
  content: ''; width: 22px; height: 2px;
  background: var(--gold); display: inline-block; border-radius: 1px;
}

.hero-title {
  font-family: "Opinion Pro", Sans-serif;
  font-size: 3.8rem; font-weight: 900;
  color: white; line-height: 0.95;
  letter-spacing: -0.02em; text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-title .accent { color: var(--gold-light); }

.hero-sub {
  font-size: 0.82rem; color: rgba(255,255,255,0.8);
  margin-top: 8px; letter-spacing: 0.02em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.hero-chips {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px;
}
.chip {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: white; font-size: 0.73rem; font-weight: 600;
  padding: 4px 12px; border-radius: 100px;
  backdrop-filter: blur(6px);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.chip-gold {
  background: rgba(232,160,0,0.25);
  border-color: var(--gold);
  color: var(--gold-light);
}

.hero-right { animation: fadeUp .7s .15s ease both; }
.hero-dates-box {
  background: rgba(0,10,40,0.75);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px; padding: 14px 20px;
  backdrop-filter: blur(10px);
  min-width: 220px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.hero-dates-label {
  font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.hero-date-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.77rem; color: rgba(255,255,255,0.75);
  padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-date-row:last-child { border-bottom: none; }
.hero-date-val { font-weight: 700; color: white; }

.hero-dots { z-index: 5; }
.hero-arrow { z-index: 5; }

/* ====================================================
   INFO STRIP BAR
   ==================================================== */
#info-strip {
  background: var(--blue);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.info-strip-inner {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.info-strip-item {
  padding: 13px 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; gap: 10px;
}
/*.info-strip-item:last-child { border-right: none; background: rgba(232,160,0,0.12); }*/
.info-strip-icon { font-size: 1.1rem; }
.info-strip-label {
  font-family: "Opinion Pro", Sans-serif;
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 1px;
}
.info-strip-value {
  font-family: "Opinion Pro", Sans-serif;
  font-size: 0.95rem; font-weight: 800;
  color: white; letter-spacing: -0.01em;
}
.info-strip-item:last-child .info-strip-value { color: var(--gold-light); }
.info-strip-sub { font-size: 0.73rem; color: rgba(255,255,255,0.5); }

/* ====================================================
   3-COLUMN LAYOUT
   ==================================================== */
.page-wrap {
  max-width: 1160px; margin: 0 auto;
  padding: 22px 20px 48px;
  display: grid;
  grid-template-columns: 196px 1fr 240px;
  gap: 18px;
  align-items: start;
}

/* ====================================================
   LEFT SIDEBAR NAV
   ==================================================== */
.sidebar-left {
  position: sticky;
  top: 88px;
}
.nav-block {
  background: var(--white);
  border-radius: var(--r);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.nav-block-header {
  background: var(--blue);
  padding: 9px 15px;
  font-family: "Opinion Pro", Sans-serif;
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: white;
}
.nav-list { list-style: none; }
.nav-list a {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 15px;
  font-size: 0.82rem; font-weight: 500;
  color: var(--text);
  border-left: 3px solid transparent;
  border-bottom: 1px solid var(--border);
  transition: all .18s; text-decoration: none;
}
.nav-list li:last-child a { border-bottom: none; }
.nav-list a:hover {
  color: var(--blue-mid); background: var(--blue-light);
  border-left-color: var(--blue); padding-left: 19px;
}
.nav-list li.current-menu-item > a,
.nav-list li.current_page_item > a,
.nav-list a.current-menu-item,
.nav-list a.current_page_item {
  color: var(--blue); 
  background: var(--blue-light);
  border-left-color: var(--gold); 
  font-weight: 600;
}

.nav-list li.current-menu-item > a .nav-dot,
.nav-list li.current_page_item > a .nav-dot {
  background: var(--gold);
}
.nav-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--border); flex-shrink: 0;
  transition: background .18s;
}
.nav-list a:hover .nav-dot,
.nav-list a.current-menu-item .nav-dot { background: var(--gold); }

/* ====================================================
   MAIN CONTENT
   ==================================================== */
.main-content {}
.content-block {
  background: var(--white); border-radius: var(--r);
  border: 1px solid var(--border); padding: 26px 30px;
  margin-bottom: 18px; box-shadow: var(--shadow);
}
.content-block-flush {
  background: var(--white); border-radius: var(--r);
  border: 1px solid var(--border);
  margin-bottom: 18px; box-shadow: var(--shadow);
  overflow: hidden;
}

.block-title-bar {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.block-title-accent {
  width: 4px; height: 22px;
  background: linear-gradient(180deg, var(--gold), var(--blue));
  border-radius: 2px; flex-shrink: 0;
}
.block-title-bar h2 {
  font-family: "Opinion Pro", Sans-serif;
  font-size: 1.45rem; font-weight: 800;
  color: var(--blue); text-transform: uppercase;
  letter-spacing: 0.02em;
}
.block-title-bar h1 {
  font-family: "Opinion Pro", Sans-serif;
  font-size: 1.6rem; font-weight: 800;
  color: var(--blue); text-transform: uppercase;
}

.lead-text {
  font-size: 0.91rem; color: var(--text); line-height: 1.75; margin-bottom: 13px;
}
.lead-text strong { color: var(--blue); font-weight: 600; }
.body-text {
  font-size: 0.87rem; color: var(--muted); line-height: 1.7; margin-bottom: 11px;
}
.body-text strong { color: var(--text); }

.read-more {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.81rem; font-weight: 600;
  color: var(--blue-mid); margin-top: 4px;
}
.read-more::after { content: '→'; transition: transform .2s; display: inline-block; }
.read-more:hover { color: var(--gold); }
.read-more:hover::after { transform: translateX(3px); }

/* Venue figure */
.venue-figure { border-bottom: 1px solid var(--border); }
.venue-caption {
  padding: 10px 18px;
  font-size: 0.77rem; color: var(--muted);
  border-top: 1px solid var(--border);
}
.venue-caption a { color: var(--blue-mid); }
.venue-caption a:hover { color: var(--gold); }

/* ====================================================
   RIGHT SIDEBAR
   ==================================================== */
.sidebar-right {
  display: flex; flex-direction: column; gap: 14px;
  position: sticky; top: 88px;
}
.widget {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow);
}
.widget-header {
  background: var(--blue); padding: 8px 13px;
  display: flex; align-items: center; gap: 7px;
}
.widget-header h3 {
  font-family: "Opinion Pro", Sans-serif; font-size: 0.78rem;
  font-weight: 800; letter-spacing: 0.13em;
  text-transform: uppercase; color: white;
}
.widget-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); animation: pulse 2.5s infinite;
  flex-shrink: 0;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(1.5)} }

/* Countdown widget */
.widget-countdown {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  border-color: var(--blue);
}
.widget-countdown .widget-header {
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.countdown-body { padding: 13px; }
.countdown-sublabel {
  font-size: 0.7rem; color: rgba(255,255,255,0.55);
  text-align: center; margin-bottom: 10px; letter-spacing: 0.03em;
}
.countdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.cd-unit { text-align: center; }
.cd-num {
  display: block; font-family: "Opinion Pro", Sans-serif;
  font-size: 1.75rem; font-weight: 900; color: white;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 5px; padding: 4px 2px; line-height: 1;
}
.cd-lbl {
  display: block; font-size: 0.58rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.45);
  margin-top: 3px; font-weight: 600;
}

/* Dates table widget */
.dates-table { width: 100%; border-collapse: collapse; }
.dates-table th {
  background: var(--blue-light); padding: 6px 12px;
  font-family: "Opinion Pro", Sans-serif; font-size: 0.68rem;
  font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue); text-align: left;
}
.dates-table tr { border-bottom: 1px solid var(--border); }
.dates-table tr:last-child { border-bottom: none; }
.dates-table td { padding: 7px 12px; font-size: 0.77rem; vertical-align: middle; }
.dates-table td:first-child {
  font-weight: 700; color: var(--blue); white-space: nowrap;
  font-family: "Opinion Pro", Sans-serif; font-size: 0.8rem; letter-spacing: 0.02em;
}
.dates-table td:last-child { color: var(--text); }
.dates-table tr:hover td { background: var(--blue-light); }
.date-conf td { background: var(--blue) !important; color: white !important; font-weight: 700 !important; }

/* Sponsors widget */
.sponsors-body { padding: 11px; display: flex; flex-direction: column; gap: 7px; }
.sponsor-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; border-radius: 5px;
  border: 1px solid var(--border); font-size: 0.77rem;
  font-weight: 600; color: var(--blue); transition: all .18s;
}
.sponsor-item:hover { background: var(--blue-light); border-color: var(--blue); }
.sponsor-badge {
  font-size: 0.62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 2px 5px; border-radius: 3px; margin-left: auto;
}
.badge-org { background: var(--gold-pale); color: #7a4f00; }
.badge-add { background: var(--blue-light); color: var(--blue); }

/* Social widget */
.social-widget-body { padding: 13px; }
.tweet-box {
  background: var(--off); border: 1px solid var(--border);
  border-radius: 5px; padding: 12px;
  font-size: 0.77rem; color: var(--muted); text-align: center;
}
.tweet-handle {
  font-weight: 700; color: var(--blue-mid); font-size: 0.82rem;
  display: block; margin-bottom: 5px;
}

/* ====================================================
   PAGE TEMPLATES: Page Hero
   ==================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 32px 0;
  border-bottom: 3px solid var(--gold);
}
.page-hero-inner { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.page-hero h1 {
  font-family: "Opinion Pro", Sans-serif;
  font-size: 2rem; font-weight: 900;
  color: white; text-transform: uppercase;
  letter-spacing: 0.02em;
}
.breadcrumb { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 6px; }
.breadcrumb a { color: rgba(255,255,255,0.45); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .current { color: var(--gold); }

/* ====================================================
   FOOTER
   ==================================================== */
#colophon {
  background: var(--blue-dark);
  border-top: 3px solid var(--gold);
  color: rgba(255,255,255,0.65);
  margin-top: 48px;
}
.footer-main {
  max-width: 1160px; margin: 0 auto;
  padding: 36px 20px 28px;
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 48px; align-items: start;
}
.footer-org-label {
  font-size: 0.67rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: rgba(255,255,255,0.32);
  margin-bottom: 12px; font-weight: 700;
}
.footer-logos { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-logo-circle {
  width: 62px; height: 62px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.footer-logo-circle img { width: 50px; height: 50px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.65; }
.footer-logo-box {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--r); padding: 8px 14px;
  font-family: "Opinion Pro", Sans-serif; font-weight: 900;
  font-size: 0.85rem; color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em; line-height: 1.3;
}

.footer-links-col h4 {
  font-family: "Opinion Pro", Sans-serif; font-size: 0.68rem;
  font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.footer-links-col ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.footer-links-col a { font-size: 0.78rem; color: rgba(255,255,255,0.42); }
.footer-links-col a:hover { color: white; }

.footer-contact-col {}
.footer-contact-col h4 {
  font-family: "Opinion Pro", Sans-serif; font-size: 0.68rem;
  font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.contact-row {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-bottom: 9px;
}
.contact-icon { color: var(--gold); font-size: 0.95rem; margin-top: 1px; }
.contact-row a { color: rgba(255,255,255,0.55); }
.contact-row a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 13px 20px;
  max-width: 1160px; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px;
  font-size: 0.74rem; color: rgba(255,255,255,0.28);
}

/* ====================================================
   UTILITIES & ANIMATIONS
   ==================================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { opacity: 0; transform: translateY(12px); transition: opacity .55s ease, transform .55s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

.text-center { text-align: center; }
.text-blue { color: var(--blue); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--muted); }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }

/* ====================================================
   MENÚ MÓVIL
   ==================================================== */
#mobile-menu {
    display: none;
    background: var(--white);
    border-top: 2px solid var(--gold);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(0,48,135,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
#mobile-menu.open {
    max-height: 600px;
}
.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}
.mobile-nav-list li {
    border-bottom: 1px solid var(--border);
}
.mobile-nav-list li:last-child {
    border-bottom: none;
}
.mobile-nav-list a {
    display: block;
    padding: 11px 20px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all .18s;
}
.mobile-nav-list a:hover {
    background: var(--blue-light);
    color: var(--blue);
    border-left-color: var(--blue);
    padding-left: 24px;
}
.mobile-nav-list a.active {
    background: var(--blue-light);
    color: var(--blue);
    border-left-color: var(--gold);
    font-weight: 700;
}

/* Solo visible en móvil */
@media (min-width: 861px) {
    #mobile-menu  { display: none !important; }
    .nav-toggle   { display: none !important; }
}
@media (max-width: 860px) {
    #mobile-menu  { display: block; }
    .nav-toggle   { display: flex; }
}

/* Hamburguesa animada */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ====================================================
   RESPONSIVE
   ==================================================== */

@media (max-width: 1024px) {
  .page-wrap {
    grid-template-columns: 170px 1fr 210px;
    gap: 14px;
  }
}

@media (max-width: 860px) {
  .sidebar-left { display: none; }
  .page-wrap {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 14px 40px;
  }

  .main-content    { order: 1; }
  .sidebar-right   { order: 2; position: static; flex-direction: column; }
  .sidebar-left    { order: 3; position: static; }

  .widget-countdown { order: 1; }
  .widget-dates     { order: 2; }
  .widget-sponsors  { order: 3; }
  .widget-social    { order: 4; }

  /* Navegación (sidebar-left) va después de sidebar-right gracias al order: 3 de arriba */

  /* Hero */
  #hero { height: 260px; }
  .hero-right { display: none; }
  .hero-title { font-size: 2.4rem; }
  .hero-content { bottom: 20px; }

  /* Info strip */
  .info-strip-inner { grid-template-columns: 1fr; }
  .info-strip-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .info-strip-item:last-child { border-bottom: none; }

  /* Footer */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 16px 20px;
  }
}

@media (max-width: 640px) {
  .header-inner { height: 80px; gap: 12px; }
  .header-cta .btn { display: none; }
  .logo-conf-sub { font-size: 0.5rem; }
  .logo-ute-ring { width: 72px; height: 72px; }
  .logo-ute-ring img { width: 72px; height: 72px; }

  #hero { height: 220px; }
  .hero-title { font-size: 1.9rem; }
  .hero-sub { font-size: 0.75rem; }
  .hero-chips { gap: 5px; }
  .chip { font-size: 0.68rem; padding: 3px 9px; }

  .content-block { padding: 16px; }
  .block-title-bar h2 { font-size: 1.2rem; }

  .page-hero { padding: 22px 0; }
  .page-hero h1 { font-size: 1.4rem; }

  .footer-bottom {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .header-inner { height: 70px; }
  .logo-conf-name { font-size: 1.6rem; }
  .logo-conf-sub { font-size: 0.5rem; }
  .logo-divider { display: none; }
  .logo-ute-ring { width: 60px; height: 60px; }
  .logo-ute-ring img { width: 60px; height: 60px; }

  #hero { height: 200px; }
  .hero-title { font-size: 1.65rem; }

  .info-strip-inner { grid-template-columns: 1fr; }
}

/* ====================================================
   WordPress required
   ==================================================== */
.alignleft  { float: left;  margin: 0 20px 16px 0; }
.alignright { float: right; margin: 0 0 16px 20px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8rem; color: var(--muted); text-align: center; margin-top: 6px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.sticky {}
.bypostauthor {}