/*
Theme Name: AE Press
Theme URI: https://argentinosemigrados.com
Author: Argentinos Emigrados
Description: Tema reconstruido 1:1 desde HTML mobile/desktop (inline styles).
Version: 2.2.7
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: ae-press
*/

body { margin: 0; background: #FFFFFF; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
a { color: #1B4A6B; text-decoration: none; }
a:hover { color: #1B4A6B; }
.noscroll::-webkit-scrollbar { display: none; }
.screen-reader-text { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
.ae-d { display: none; }
.ae-m { display: block; }
@media (min-width: 900px) {
  .ae-m { display: none; }
  .ae-d { display: block; }
}
.ae-hero-bleed {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.ae-hero-bleed__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ae-hero-bleed__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
}
body.ae-drawer-open,
body.ae-search-open { overflow: hidden; }

/* Search overlay — entry/exit mirrored (0.28s ease, like drawer) */
.ae-search {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 14vh 20px 40px;
  pointer-events: none;
}
.ae-search.is-open {
  pointer-events: auto;
}
.ae-search__scrim {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(20, 18, 15, 0.48);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.ae-search.is-open .ae-search__scrim {
  opacity: 1;
}
.ae-search__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  background: #FFFFFF;
  border-top: 2px solid #141412;
  padding: 28px 26px 24px;
  box-shadow: 0 24px 60px rgba(20, 18, 15, 0.18);
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.ae-search.is-open .ae-search__panel {
  opacity: 1;
  transform: translateY(0);
}
.ae-search__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.ae-search__eyebrow {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #1B4A6B;
  margin-bottom: 6px;
}
.ae-search__title {
  font-family: 'Instrument Serif', serif;
  font-size: 36px;
  line-height: 1;
  color: #141412;
}
.ae-search__close {
  width: 44px;
  height: 44px;
  border: 1px solid #E3E3E0;
  background: #FFFFFF;
  font-size: 16px;
  cursor: pointer;
  color: #141412;
  flex: none;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.ae-search__close:hover {
  background: #F7F7F6;
  border-color: #CBCBC7;
}
.ae-search__label {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8B8A85;
  margin-bottom: 8px;
}
.ae-search__input {
  width: 100%;
  height: 56px;
  border: 1px solid #E3E3E0;
  background: #F7F7F6;
  padding: 0 16px;
  font-family: 'Newsreader', serif;
  font-size: 20px;
  color: #141412;
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.ae-search__input:focus {
  border-color: #141412;
  background: #FFFFFF;
}
.ae-search__submit {
  width: 100%;
  height: 50px;
  border: 0;
  background: #1B4A6B;
  color: #FFFFFF;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s ease;
}
.ae-search__submit:hover {
  background: #163A55;
}
.ae-search__hint {
  margin: 14px 0 0;
  font-family: 'Newsreader', serif;
  font-size: 14px;
  line-height: 1.4;
  color: #8B8A85;
}

/* CTA hovers (inline-styled buttons/links across views) */
a[style*="border:1px solid #141412"][style*="color:#141412"][style*="text-transform:uppercase"],
button[style*="border:1px solid #141412"][style*="color:#141412"][style*="text-transform:uppercase"],
a[style*="background:#1B4A6B"][style*="text-transform:uppercase"],
button[style*="background:#1B4A6B"][style*="text-transform:uppercase"],
button[type="submit"][style*="background:#1B4A6B"],
.ae-cta {
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease !important;
}

/* Ghost / outline → fill black */
a[style*="border:1px solid #141412"][style*="color:#141412"][style*="text-transform:uppercase"]:hover,
a[style*="border:1px solid #141412"][style*="color:#141412"][style*="text-transform:uppercase"]:focus-visible,
button[style*="border:1px solid #141412"][style*="color:#141412"][style*="text-transform:uppercase"]:hover,
button[style*="border:1px solid #141412"][style*="color:#141412"][style*="text-transform:uppercase"]:focus-visible,
.ae-cta--outline:hover,
.ae-cta--outline:focus-visible {
  background: #141412 !important;
  color: #FFFFFF !important;
  border-color: #141412 !important;
}

/* Solid brand → darker blue */
a[style*="background:#1B4A6B"]:hover,
a[style*="background:#1B4A6B"]:focus-visible,
button[style*="background:#1B4A6B"]:hover,
button[style*="background:#1B4A6B"]:focus-visible,
.ae-cta--solid:hover,
.ae-cta--solid:focus-visible {
  background: #163A55 !important;
  color: #FFFFFF !important;
}

/* Solid black CTAs */
a[style*="background:#141412"][style*="color:#FFFFFF"][style*="text-transform:uppercase"]:hover,
a[style*="background:#141412"][style*="color:#FFFFFF"][style*="text-transform:uppercase"]:focus-visible,
button[style*="background:#141412"][style*="color:#FFFFFF"][style*="text-transform:uppercase"]:hover,
button[style*="background:#141412"][style*="color:#FFFFFF"][style*="text-transform:uppercase"]:focus-visible {
  background: #2A2926 !important;
  color: #FFFFFF !important;
  border-color: #2A2926 !important;
}

@media (max-width: 899px) {
  .ae-search {
    padding: 10vh 16px 32px;
  }
  .ae-search__panel {
    padding: 22px 18px 20px;
  }
  .ae-search__title {
    font-size: 30px;
  }
  .ae-search__input {
    height: 52px;
    font-size: 18px;
  }
}

.ae-ad,
.ae-ad__link,
.ae-ad__canvas {
  display: block;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}
.ae-ad__canvas > div {
  width: 100% !important;
  height: 100% !important;
  box-sizing: border-box;
}

/* Enqueue advertiser fonts used in banners */


/* Article body from the_content — mirrors HTML design typography */
.ae-prose p {
  margin: 0 0 18px;
  font-family: 'Newsreader', serif;
  font-size: 17.5px;
  line-height: 1.62;
  color: #24231F;
  text-wrap: pretty;
}
.ae-prose--d p { font-size: 19px; line-height: 1.65; }
.ae-prose h2 {
  margin: 26px 0 12px;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 27px;
  line-height: 1.1;
  color: #141412;
}
.ae-prose--d h2 { font-size: 34px; }
.ae-prose blockquote {
  margin: 24px 0;
  padding: 20px;
  background: #F7F7F6;
  border-top: 2px solid #141412;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
}
.ae-prose blockquote p {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 25px;
  line-height: 1.16;
  color: #141412;
  margin: 0;
}
.ae-prose img { max-width: 100%; height: auto; }
.ae-prose > *:first-child::first-letter {
  float: left;
  font-family: 'Instrument Serif', serif;
  font-size: 58px;
  line-height: 0.78;
  padding: 4px 9px 0 0;
  color: #141412;
}
