/*
Theme Name:   El Aire de la Calle
Template:     generatepress
Version:      4.0.0
Text Domain:  aire-de-la-calle
*/

/* ================================================================
   VARIABLES
   ================================================================ */
:root {
  --rojo:    #cc0000;
  --rojo-dk: #aa0000;
  --navy:    #1a1a2e;
  --dark:    #111111;
  --gris:    #666;
  --gris-lt: #f5f5f5;
  --borde:   #e0e0e0;
  --texto:   #222;
  --max-w:   1160px;
  --f-serif: 'Merriweather', Georgia, serif;
  --f-sans:  'Source Sans 3', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: var(--f-sans);
  background: #fff;
  color: var(--texto);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ================================================================
   TOPBAR
   ================================================================ */
.aire-topbar {
  background: var(--dark);
  padding: 7px 16px;
  font-size: 12px;
  color: #aaa;
}
.aire-topbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.aire-topbar-date { text-transform: capitalize; font-size: 11.5px; }
.aire-topbar-redes { display: flex; gap: 12px; align-items: center; }
.aire-topbar-redes a { color: #888; transition: color .2s; line-height: 1; }
.aire-topbar-redes a:hover { color: #fff; }
.aire-social-icon svg { width: 14px; height: 14px; fill: currentColor; display: block; }

/* ================================================================
   HEADER
   ================================================================ */
.aire-header {
  background: var(--dark);
  padding: 20px 16px 18px;
  text-align: center;
  border-bottom: 3px solid var(--rojo);
}
.aire-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.aire-site-title {
  font-family: var(--f-serif);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
}
.aire-site-title em { color: var(--rojo); font-style: normal; }
.aire-tagline {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: var(--f-sans);
}
.aire-header-search {
  display: flex;
  gap: 0;
  margin-top: 4px;
  border: 1px solid #333;
  border-radius: 4px;
  overflow: hidden;
}
.aire-header-search input[type="search"] {
  background: #222;
  border: none;
  color: #fff;
  padding: 7px 12px;
  font-size: 13px;
  font-family: var(--f-sans);
  outline: none;
  width: 220px;
}
.aire-header-search input::placeholder { color: #666; }
.aire-header-search button {
  background: var(--rojo);
  border: none;
  color: #fff;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--f-sans);
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: background .2s;
}
.aire-header-search button:hover { background: var(--rojo-dk); }

/* ================================================================
   NAV
   ================================================================ */
.aire-nav-wrap {
  background: var(--navy) !important;
  border-bottom: none !important;
  box-shadow: 0 2px 4px rgba(0,0,0,.3);
}
.aire-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}
.aire-nav-wrap .main-navigation,
.aire-nav-wrap .main-navigation .inside-navigation,
.aire-nav-wrap .main-navigation .main-nav { background: transparent !important; }

.aire-nav-wrap .main-navigation ul,
.aire-nav-wrap .main-navigation .main-nav > ul,
.aire-nav-wrap nav ul {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  align-items: stretch !important;
  scrollbar-width: none;
}
.aire-nav-wrap .main-navigation ul::-webkit-scrollbar { display: none; }
.aire-nav-wrap .main-navigation li,
.aire-nav-wrap nav li { flex-shrink: 0; position: relative; }

.aire-nav-wrap .main-navigation a,
.aire-nav-wrap .main-navigation .main-nav ul li a,
.aire-nav-wrap nav a {
  display: block !important;
  padding: 13px 16px !important;
  color: rgba(255,255,255,.85) !important;
  font-family: var(--f-sans) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .7px !important;
  white-space: nowrap !important;
  background: transparent !important;
  border-bottom: 3px solid transparent !important;
  line-height: normal !important;
  transition: color .15s, border-color .15s, background .15s !important;
  text-decoration: none !important;
}
.aire-nav-wrap .main-navigation a:hover,
.aire-nav-wrap .main-navigation .main-nav ul li a:hover {
  color: #fff !important;
  border-bottom-color: var(--rojo) !important;
  background: rgba(255,255,255,.05) !important;
}
.aire-nav-wrap .main-navigation li.current-menu-item > a,
.aire-nav-wrap .main-navigation li.current-category-ancestor > a {
  color: #fff !important;
  border-bottom-color: var(--rojo) !important;
}

/* Submenú */
.aire-nav-wrap .main-navigation .sub-menu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy);
  min-width: 200px;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
  border-top: 2px solid var(--rojo);
  flex-direction: column;
}
.aire-nav-wrap .main-navigation li:hover > .sub-menu { display: flex !important; }
.aire-nav-wrap .main-navigation .sub-menu li a {
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  font-size: 12px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  padding: 10px 16px !important;
}

/* ================================================================
   BREAKING NEWS
   ================================================================ */
.aire-breaking {
  background: var(--rojo);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.aire-breaking-label {
  background: #fff;
  color: var(--rojo);
  font-size: 9.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 2px 7px;
  border-radius: 2px;
  white-space: nowrap;
}
.aire-breaking a { color: #fff; text-decoration: underline; }

/* ================================================================
   LAYOUT
   ================================================================ */
.aire-site-wrap { flex: 1 0 auto; }
.aire-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 22px 16px;
}
.aire-content-sidebar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) { .aire-content-sidebar { grid-template-columns: 1fr; } }

/* ================================================================
   HERO
   ================================================================ */
.aire-hero {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2px;
  margin-bottom: 28px;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
}
@media (max-width: 860px) { .aire-hero { grid-template-columns: 1fr; } }

.aire-hero-main {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
}
.aire-hero-main .aire-card-img {
  position: absolute;
  inset: 0;
  background: #222;
}
.aire-hero-main .aire-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .85;
  transition: transform .4s, opacity .3s;
}
.aire-hero-main:hover .aire-card-img img { transform: scale(1.03); opacity: .75; }
.aire-hero-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.3) 50%, transparent 100%);
  pointer-events: none;
}
.aire-hero-main .aire-card-body {
  position: relative;
  z-index: 1;
  padding: 20px 22px;
  width: 100%;
}
.aire-hero-main .entry-title {
  font-family: var(--f-serif);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  margin: 7px 0 8px;
}
.aire-hero-main .entry-title a { color: #fff; }
.aire-hero-main .entry-title a:hover { color: #eee; }
.aire-hero-main .aire-excerpt { font-size: 14px; color: rgba(255,255,255,.8); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.aire-hero-main .aire-meta { color: rgba(255,255,255,.6); font-size: 12px; margin-top: 8px; }

.aire-hero-aside {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #000;
}
.aire-hero-mini {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-height: 93px;
  display: flex;
  align-items: flex-end;
}
.aire-hero-mini .aire-card-img {
  position: absolute;
  inset: 0;
  background: #333;
}
.aire-hero-mini .aire-card-img img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .2s; }
.aire-hero-mini:hover .aire-card-img img { opacity: .6; }
.aire-hero-mini::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.3) 80%, transparent 100%);
  pointer-events: none;
}
.aire-hero-mini .aire-card-body {
  position: relative;
  z-index: 1;
  padding: 10px 12px;
  width: 100%;
}
.aire-hero-mini .entry-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  font-family: var(--f-sans);
}
.aire-hero-mini .entry-title a { color: #fff; }

/* ================================================================
   SECCIONES
   ================================================================ */
.aire-seccion { margin-bottom: 32px; }
.aire-seccion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 8px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--texto);
}
.aire-seccion-title {
  font-family: var(--f-sans);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--texto);
  display: flex;
  align-items: center;
  gap: 8px;
}
.aire-seccion-title::before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  background: var(--rojo);
  border-radius: 2px;
}
.aire-seccion-header a.ver-mas {
  font-size: 11.5px;
  color: var(--rojo);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  border: 1px solid var(--rojo);
  padding: 3px 10px;
  border-radius: 3px;
  transition: background .15s, color .15s;
}
.aire-seccion-header a.ver-mas:hover { background: var(--rojo); color: #fff; }

.aire-seccion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 860px) { .aire-seccion-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .aire-seccion-grid { grid-template-columns: 1fr; } }

/* ================================================================
   CARDS
   ================================================================ */
.aire-card {
  background: #fff;
  border: 1px solid var(--borde);
  overflow: hidden;
  transition: box-shadow .2s;
}
.aire-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.aire-card .aire-card-img {
  aspect-ratio: 16/9;
  background: #eee;
  overflow: hidden;
  position: relative;
}
.aire-card .aire-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.aire-card:hover .aire-card-img img { transform: scale(1.04); }
.aire-card .aire-card-body { padding: 12px; }
.aire-card .entry-title {
  font-family: var(--f-sans);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  margin: 6px 0 8px;
  color: var(--texto);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.aire-card .entry-title a:hover { color: var(--rojo); }

/* Card horizontal para noticias secundarias */
.aire-card-h {
  display: flex;
  gap: 0;
  border: 1px solid var(--borde);
  background: #fff;
  overflow: hidden;
  transition: box-shadow .2s;
}
.aire-card-h:hover { box-shadow: 0 3px 10px rgba(0,0,0,.08); }
.aire-card-h .aire-card-img { width: 110px; flex-shrink: 0; background: #eee; }
.aire-card-h .aire-card-img img { width: 100%; height: 100%; object-fit: cover; }
.aire-card-h .aire-card-body { padding: 10px 12px; display: flex; flex-direction: column; justify-content: center; }
.aire-card-h .entry-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--texto);
  font-family: var(--f-sans);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.aire-card-h .entry-title a:hover { color: var(--rojo); }

/* ================================================================
   BADGES Y META
   ================================================================ */
.aire-cat-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .7px;
  padding: 2px 7px;
  background: var(--rojo);
  color: #fff;
  line-height: 1.5;
}
.cat-el-puerto       { background: #0369a1; }
.cat-bahia-provincia { background: #0891b2; }
.cat-actualidad      { background: #cc0000; }
.cat-opinion         { background: #6d28d9; }
.cat-deportes        { background: #15803d; }
.cat-sociedad        { background: #b45309; }
.cat-sucesos         { background: #b91c1c; }
.cat-economia        { background: #1d4ed8; }

.aire-meta {
  font-size: 11px;
  color: #999;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.aire-meta-sep { opacity: .4; }
.aire-meta-autor { font-weight: 600; color: #666; }

/* ================================================================
   SIDEBAR
   ================================================================ */
.aire-sidebar { display: flex; flex-direction: column; gap: 18px; }
.aire-sidebar-box { border: 1px solid var(--borde); background: #fff; }
.aire-sidebar-box-header {
  background: var(--navy);
  color: #fff;
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 9px 12px;
}
.aire-sidebar-box-body { padding: 12px; }
.aire-sidebar-box-body ul { display: flex; flex-direction: column; }
.aire-sidebar-box-body ul li {
  border-bottom: 1px solid var(--borde);
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}
.aire-sidebar-box-body ul li:last-child { border-bottom: none; }
.aire-sidebar-box-body ul li a:hover { color: var(--rojo); }

/* ================================================================
   PUBLICIDAD
   ================================================================ */
.aire-pub-banner, .aire-pub-horizontal {
  background: #f9f9f9;
  border: 1px dashed #ccc;
  text-align: center;
  font-size: 11px;
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 16px;
}
.aire-pub-banner img, .aire-pub-horizontal img { max-width: 100%; margin: 0 auto; }

/* ================================================================
   SINGLE
   ================================================================ */
.aire-single-wrap { max-width: 780px; }
.aire-single-cat { margin-bottom: 10px; }
.aire-single-title {
  font-family: var(--f-serif);
  font-size: clamp(22px, 3.5vw, 34px);
  line-height: 1.2;
  font-weight: 900;
  margin-bottom: 12px;
  color: #111;
}
.aire-single-entradilla {
  font-size: 17px;
  color: #555;
  line-height: 1.65;
  margin-bottom: 16px;
  border-left: 3px solid var(--rojo);
  padding-left: 14px;
  font-style: italic;
}
.aire-single-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--borde);
  border-bottom: 1px solid var(--borde);
  margin-bottom: 20px;
  font-size: 12.5px;
  color: #888;
  flex-wrap: wrap;
}
.aire-single-meta .aire-meta-autor { font-weight: 700; color: #444; }
.aire-single-featured { margin-bottom: 20px; }
.aire-single-featured img { width: 100%; }
.aire-single-featured figcaption { font-size: 12px; color: #888; padding: 6px 10px; background: #f5f5f5; border-left: 3px solid var(--borde); }
.entry-content { font-size: 16px; line-height: 1.8; color: #333; }
.entry-content p { margin-bottom: 1.3em; }
.entry-content h2 { font-family: var(--f-serif); font-size: 21px; margin: 2em 0 .7em; color: #111; border-left: 3px solid var(--rojo); padding-left: 12px; }
.entry-content h3 { font-family: var(--f-serif); font-size: 17px; margin: 1.5em 0 .6em; color: #111; }
.entry-content blockquote { border-left: 4px solid var(--rojo); padding: 12px 16px; margin: 1.5em 0; background: #fafafa; font-style: italic; font-size: 16px; color: #555; }
.entry-content a { color: var(--rojo); text-decoration: underline; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin-bottom: 1.3em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content img { margin: 1em auto; }

.aire-author-box { display: flex; gap: 14px; background: #f9f9f9; padding: 16px; margin-top: 28px; border: 1px solid var(--borde); border-left: 4px solid var(--navy); }
.aire-author-box .avatar { border-radius: 50%; flex-shrink: 0; }
.aire-author-box h4 { font-size: 14px; font-weight: 800; margin-bottom: 4px; }
.aire-author-box p { font-size: 13px; color: #666; line-height: 1.5; }

/* ================================================================
   COMMENTS
   ================================================================ */
.comments-area { margin-top: 36px; padding-top: 20px; border-top: 2px solid var(--borde); }
.comments-title { font-family: var(--f-sans); font-size: 15px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; color: #111; }
.comment-list { display: flex; flex-direction: column; gap: 14px; }
.comment-body { background: #fafafa; border: 1px solid var(--borde); padding: 14px; border-left: 3px solid #ddd; }
.comment-body.bypostauthor { border-left-color: var(--rojo); }
.comment-author { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.comment-author .fn { font-weight: 700; font-size: 13.5px; }
.comment-author .avatar { border-radius: 50%; }
.comment-metadata { font-size: 11px; color: #aaa; margin-bottom: 8px; }
.comment-content { font-size: 14px; line-height: 1.65; color: #444; }
.reply a { font-size: 12px; color: var(--rojo); font-weight: 700; }
.children { padding-left: 20px; margin-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.comment-respond { margin-top: 24px; background: #fff; border: 1px solid var(--borde); padding: 20px; }
.comment-reply-title { font-size: 15px; font-weight: 800; margin-bottom: 14px; color: #111; }
.comment-form { display: flex; flex-direction: column; gap: 12px; }
.comment-form-fields { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
@media (max-width: 600px) { .comment-form-fields { grid-template-columns: 1fr; } }
.comment-form input, .comment-form textarea {
  width: 100%; border: 1px solid #ccc; padding: 8px 10px;
  font-size: 13.5px; font-family: var(--f-sans); outline: none; transition: border-color .2s;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--rojo); }
.comment-form textarea { min-height: 110px; resize: vertical; }
.comment-form .submit { background: var(--rojo); color: #fff; border: none; padding: 10px 22px; font-size: 13px; font-weight: 700; font-family: var(--f-sans); text-transform: uppercase; letter-spacing: .5px; cursor: pointer; transition: background .2s; align-self: flex-start; }
.comment-form .submit:hover { background: var(--rojo-dk); }

/* ================================================================
   ARCHIVE
   ================================================================ */
.aire-archive-header { margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--texto); display: flex; align-items: center; gap: 10px; }
.aire-archive-title { font-family: var(--f-sans); font-size: 20px; font-weight: 900; text-transform: uppercase; letter-spacing: .5px; color: #111; }
.aire-archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
@media (max-width: 860px) { .aire-archive-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .aire-archive-grid { grid-template-columns: 1fr; } }
.aire-pagination { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.aire-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; font-size: 13px; font-weight: 700; border: 1px solid #ccc; background: #fff; color: #333; transition: all .15s; }
.aire-pagination .page-numbers:hover, .aire-pagination .page-numbers.current { background: var(--rojo); border-color: var(--rojo); color: #fff; }

/* ================================================================
   PAGE
   ================================================================ */
.aire-page-wrap { max-width: 820px; background: #fff; border: 1px solid var(--borde); padding: 30px 34px; }
@media (max-width: 600px) { .aire-page-wrap { padding: 18px 14px; } }
.aire-page-title { font-family: var(--f-serif); font-size: 28px; font-weight: 900; margin-bottom: 6px; color: #111; }
.aire-page-updated { font-size: 12px; color: #aaa; margin-bottom: 22px; }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer { background: var(--dark); color: #aaa; flex-shrink: 0; margin-top: auto !important; border-top: 4px solid var(--rojo); }
.aire-footer-main { padding: 36px 16px 28px; }
.aire-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 860px) { .aire-footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .aire-footer-inner { grid-template-columns: 1fr; } }

.aire-footer-logo { font-family: var(--f-serif); font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 8px; line-height: 1; }
.aire-footer-desc { font-size: 12.5px; line-height: 1.6; color: #666; margin-bottom: 14px; }
.aire-footer-social { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.aire-footer-social .aire-social-icon { color: #555; transition: color .2s; }
.aire-footer-social .aire-social-icon:hover { color: #fff; }
.aire-footer-social svg { width: 16px; height: 16px; fill: currentColor; }

.aire-footer-col h4 { font-family: var(--f-sans); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 2px; color: #555; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid #222; }
.aire-footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.aire-footer-col ul li a { font-size: 13px; color: #888; transition: color .15s; }
.aire-footer-col ul li a:hover { color: #fff; }

.aire-footer-bottom { background: #000; border-top: 1px solid #1a1a1a; padding: 12px 16px; }
.aire-footer-bottom-inner { max-width: var(--max-w); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 11.5px; color: #555; }
.aire-footer-legal-links { display: flex; gap: 14px; flex-wrap: wrap; }
.aire-footer-legal-links a { color: #555; transition: color .15s; font-size: 11.5px; }
.aire-footer-legal-links a:hover { color: #ccc; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
  .aire-header-inner { gap: 8px; }
  .aire-header-search { display: none; }
  .aire-hero { grid-template-columns: 1fr; }
  .aire-hero-aside { flex-direction: row; flex-wrap: wrap; }
  .aire-hero-mini { min-width: 45%; }
}

/* ================================================================
   ARCHIVE
   ================================================================ */
.aire-archive-header {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--texto);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.aire-archive-title {
  font-family: var(--f-serif);
  font-size: 26px;
  font-weight: 900;
  color: #111;
  line-height: 1.1;
}
.aire-archive-desc {
  font-size: 13.5px;
  color: var(--gris);
  font-style: italic;
}

/* Noticia destacada */
.aire-archive-featured {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  border: 1px solid var(--borde);
  background: #fff;
  margin-bottom: 20px;
  overflow: hidden;
}
@media (max-width: 700px) { .aire-archive-featured { grid-template-columns: 1fr; } }
.aire-archive-featured-img { display: block; overflow: hidden; }
.aire-archive-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.aire-archive-featured:hover .aire-archive-featured-img img { transform: scale(1.03); }
.aire-archive-featured-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  border-left: 1px solid var(--borde);
}
.aire-archive-featured-title {
  font-family: var(--f-serif);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.3;
  color: #111;
}
.aire-archive-featured-title a:hover { color: var(--rojo); }
.aire-archive-featured-excerpt { font-size: 14px; color: var(--gris); line-height: 1.6; }

/* Grid de cards */
.aire-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 860px) { .aire-archive-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .aire-archive-grid { grid-template-columns: 1fr; } }

.aire-empty {
  text-align: center;
  color: var(--gris);
  padding: 48px 0;
  font-size: 15px;
}

/* Paginación */
.aire-pagination {
  display: flex;
  gap: 4px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}
.aire-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  transition: all .15s;
}
.aire-pagination .page-numbers:hover,
.aire-pagination .page-numbers.current {
  background: var(--rojo);
  border-color: var(--rojo);
  color: #fff;
}

/* ================================================================
   SINGLE POST
   ================================================================ */

/* Hero con foto de portada */
.aire-single-hero {
  position: relative;
  background: var(--dark);
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-bottom: 0;
}
.aire-single-hero.no-thumbnail {
  min-height: auto;
  background: var(--navy);
  padding: 36px 0 28px;
}
.aire-single-hero-img {
  position: absolute;
  inset: 0;
}
.aire-single-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .6;
}
.aire-single-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.2) 100%);
}
.aire-single-hero-body {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 32px 16px 28px;
}
.aire-single-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.aire-single-title {
  font-family: var(--f-serif);
  font-size: clamp(22px, 4vw, 38px);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin: 0;
}
.aire-single-deck {
  font-size: 17px;
  color: rgba(255,255,255,.8);
  line-height: 1.6;
  font-style: italic;
  border-left: 3px solid var(--rojo);
  padding-left: 14px;
}
.aire-single-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  flex-wrap: wrap;
}
.aire-single-byline img { border-radius: 50%; flex-shrink: 0; }
.aire-single-byline > div { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.aire-byline-autor { font-weight: 700; color: rgba(255,255,255,.9); }
.aire-byline-sep { opacity: .4; }

/* Layout del artículo */
.aire-single-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: start;
  padding-top: 24px;
}
@media (max-width: 900px) { .aire-single-layout { grid-template-columns: 1fr; } }

.aire-single-article { min-width: 0; }

/* Botones de compartir */
.aire-share {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--borde);
}
.aire-share-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-right: 4px;
}
.aire-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 3px;
  color: #fff;
  transition: opacity .2s;
  font-family: var(--f-sans);
}
.aire-share-btn:hover { opacity: .85; }
.aire-share-btn svg { width: 14px; height: 14px; fill: currentColor; flex-shrink: 0; }
.aire-share-twitter  { background: #000; }
.aire-share-facebook { background: #1877f2; }
.aire-share-whatsapp { background: #25d366; }

.aire-single-noimg-sep { height: 8px; }

/* Contenido del artículo */
.aire-single-article .entry-content {
  font-size: 16.5px;
  line-height: 1.85;
  color: #333;
}
.aire-single-article .entry-content p { margin-bottom: 1.4em; }
.aire-single-article .entry-content h2 {
  font-family: var(--f-serif);
  font-size: 22px;
  margin: 2em 0 .7em;
  color: #111;
  border-left: 4px solid var(--rojo);
  padding-left: 12px;
}
.aire-single-article .entry-content h3 {
  font-family: var(--f-serif);
  font-size: 18px;
  margin: 1.6em 0 .6em;
  color: #111;
}
.aire-single-article .entry-content blockquote {
  border-left: 4px solid var(--rojo);
  padding: 14px 18px;
  margin: 1.8em 0;
  background: #fafafa;
  font-style: italic;
  font-size: 17px;
  color: #555;
  border-radius: 0 4px 4px 0;
}
.aire-single-article .entry-content a { color: var(--rojo); text-decoration: underline; }
.aire-single-article .entry-content img { border-radius: 4px; margin: 1.4em auto; }
.aire-single-article .entry-content ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1.4em; }
.aire-single-article .entry-content ol { list-style: decimal; padding-left: 1.4em; margin-bottom: 1.4em; }

/* Tags */
.aire-single-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--borde);
  font-size: 12.5px;
}
.aire-single-tags span { color: #999; font-weight: 700; text-transform: uppercase; font-size: 10.5px; letter-spacing: .8px; }
.aire-single-tags a {
  background: var(--gris-lt);
  border: 1px solid var(--borde);
  color: #555;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  transition: all .15s;
}
.aire-single-tags a:hover { background: var(--rojo); border-color: var(--rojo); color: #fff; }

/* Caja de autor */
.aire-author-box {
  display: flex;
  gap: 14px;
  background: #f7f7f7;
  border: 1px solid var(--borde);
  border-left: 4px solid var(--navy);
  padding: 18px;
  margin-top: 28px;
}
.aire-author-box img { border-radius: 50%; flex-shrink: 0; }
.aire-author-box h4 { font-size: 14px; font-weight: 800; margin-bottom: 4px; }
.aire-author-box p { font-size: 13px; color: #666; line-height: 1.55; }

/* Artículos relacionados */
.aire-relacionados { margin-top: 36px; padding-top: 20px; border-top: 2px solid var(--borde); }
.aire-relacionados-header {
  margin-bottom: 16px;
}
.aire-relacionados-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 640px) { .aire-relacionados-grid { grid-template-columns: 1fr; } }
\n/* === ENVIAR COLUMNA === */\n
/* ── Wrapper ── */
.ec-page {
  display: grid;
  grid-template-columns: 340px 1fr;
  min-height: 560px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.07);
  margin: 8px 0 40px;
}
@media(max-width:860px){ .ec-page { grid-template-columns: 1fr; } }

/* ── Panel izquierdo ── */
.ec-panel {
  background: #111;
  position: relative;
  overflow: hidden;
}
.ec-panel-inner {
  padding: 48px 36px;
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ec-panel-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #cc0000;
  margin: 0;
}
.ec-panel-title {
  font-family: "Merriweather", Georgia, serif;
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin: 0;
}
.ec-panel-title em { color: #cc0000; font-style: normal; }
.ec-panel-text { font-size: 14px; color: #ccc; line-height: 1.7; margin: 0; }
.ec-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
}
.ec-checklist li {
  font-size: 13px;
  color: #bbb;
  padding-left: 18px;
  position: relative;
}
.ec-checklist li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #ff4444;
  font-size: 11px;
  top: 1px;
}
.ec-panel-deco {
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 40px solid rgba(204,0,0,.08);
  pointer-events: none;
}
@media(max-width:860px){ .ec-panel { display: none; } }

/* ── Formulario ── */
.ec-form-panel { background: #fff; padding: 40px 36px; }
@media(max-width:600px){ .ec-form-panel { padding: 28px 20px; } }

.ec-form { display: flex; flex-direction: column; gap: 16px; }

.ec-step {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.ec-step-num {
  font-size: 11px;
  font-weight: 900;
  color: #cc0000;
  font-variant-numeric: tabular-nums;
  letter-spacing: .5px;
}
.ec-step-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #bbb;
}

.ec-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media(max-width:540px){ .ec-row { grid-template-columns: 1fr; } }

.ec-field input[type="text"],
.ec-field input[type="email"],
.ec-field textarea {
  width: 100%;
  background: #f9f9f9;
  border: 1.5px solid #efefef;
  border-radius: 6px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  color: #111;
  outline: none;
  transition: border-color .2s, background .2s;
}
.ec-field input:focus, .ec-field textarea:focus {
  border-color: #cc0000;
  background: #fff;
}
.ec-field input::placeholder, .ec-field textarea::placeholder { color: #bbb; }
.ec-field textarea { resize: vertical; min-height: 72px; }

/* Upload zones */
.ec-upload-row { display: flex; gap: 12px; }
.ec-upload-row--2 { }
@media(max-width:540px){ .ec-upload-row { flex-direction: column; } }

.ec-upload-zone {
  flex: 1;
  border: 1.5px dashed #ddd;
  border-radius: 8px;
  transition: border-color .2s, background .2s;
  position: relative;
  cursor: pointer;
}
.ec-upload-zone input[type="file"] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer; z-index: 2;
}
.ec-upload-zone label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 12px;
  cursor: pointer;
  text-align: center;
}
.ec-upload-zone svg { width: 14px; height: 14px; color: #ccc; transition: color .2s; }
.ec-upload-zone label span { font-size: 12.5px; font-weight: 700; color: #999; }
.ec-upload-zone label span em { color: #cc0000; font-style: normal; }
.ec-upload-zone label small { font-size: 10.5px; color: #ccc; }

.ec-upload-zone:hover,
.ec-upload-zone.is-dragging { border-color: #cc0000; background: #fff5f5; }
.ec-upload-zone:hover svg { color: #cc0000; }

.ec-upload-zone.is-filled { border-color: #cc0000; border-style: solid; background: #fff5f5; }
.ec-upload-zone.is-filled svg { color: #cc0000; }
.ec-upload-zone.is-filled span { color: #cc0000; }

.ec-upload-zone--primary { flex: 1.4; }

/* Bottom */
.ec-form-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
  flex-wrap: wrap;
}
.ec-legal { font-size: 11.5px; color: #ccc; line-height: 1.5; }
.ec-legal a { color: #999; text-decoration: underline; }

.ec-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #111;
  color: #fff;
  border: none;
  padding: 13px 28px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .5px;
  cursor: pointer;
  font-family: inherit;
  border-radius: 6px;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.ec-btn svg { width: 16px; height: 16px; transition: transform .2s; }
.ec-btn:hover { background: #cc0000; }
.ec-btn:hover svg { transform: translateX(4px); }

/* Success */
.ec-success {
  text-align: center;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.ec-success-check svg { width: 64px; height: 64px; }
.ec-success h3 { font-size: 26px; font-weight: 900; color: #111; margin: 0; }
.ec-success p { font-size: 15px; color: #888; line-height: 1.6; max-width: 420px; margin: 0; }
.ec-back { font-size: 13px; color: #cc0000; font-weight: 700; margin-top: 8px; }
.ec-back:hover { text-decoration: underline; }
        