
:root {
  --blue: #06447d;
  --blue-dark: #063663;
  --blue-bright: #0c70b3;
  --sky: #e4f4ff;
  --light: #f6fbff;
  --text: #18344e;
  --muted: #647a8e;
  --line: #d6e5ef;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(11, 63, 103, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.container {
  width: min(1200px, calc(100% - 34px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 100px;
  display: grid;
  grid-template-columns: 285px 1fr auto;
  align-items: center;
  gap: 26px;
}

.brand {
  height: 88px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.main-nav a {
  font-size: .94rem;
  font-weight: 700;
}

.main-nav a:hover { color: var(--blue-bright); }

.social-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-icons a {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.1rem;
  background: var(--blue-bright);
  transition: transform .2s ease, opacity .2s ease;
}

.social-icons a:hover {
  transform: translateY(-2px);
  opacity: .88;
}

.social-icons a[aria-label="Instagram"],
.social-icons a:has(.fa-instagram) { background: #d94278; }

.social-icons a[aria-label="WhatsApp"],
.social-icons a:has(.fa-whatsapp) { background: #20ad5a; }

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  color: var(--blue);
  font-size: 1.6rem;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #edf8ff 68%, #dcefff 100%);
  padding: 62px 0 66px;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 24%, rgba(56,158,216,.18), transparent 25%),
    repeating-radial-gradient(ellipse at 86% 39%, transparent 0 20px, rgba(27,122,181,.07) 21px 22px);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #dcecf9;
  color: var(--blue);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.eyebrow-light {
  background: rgba(255,255,255,.16);
  color: white;
}

h1, h2, h3 {
  margin-top: 0;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
}

h1 {
  max-width: 700px;
  margin: 23px 0 20px;
  font-size: clamp(2.8rem, 5vw, 5rem);
}

#current-title{
    margin: 23px 0 20px;
}

#current-title .title-main{
    display:block;
    font-size:clamp(2.8rem,5vw,5rem);
    line-height:1;
}

#current-title .title-month{
    display:block;
    margin-top:18px;
    font-size:clamp(1.3rem,2vw,2rem);
    font-family:Arial, Helvetica, sans-serif;
    font-weight:500;
    color:#4f6b84;
}

h2 {
  margin: 12px 0 20px;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 { font-size: 1.28rem; }

.hero-copy p {
  max-width: 670px;
  margin: 0 0 30px;
  font-size: 1.18rem;
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 51px;
  padding: 14px 23px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(7,57,100,.18);
}

.button-primary {
  color: white;
  background: var(--blue);
}

.button-light {
  color: var(--blue);
  background: white;
}

.hero-cover {
  display: flex;
  justify-content: center;
}

.hero-cover img {
  width: min(345px, 82vw);
  filter: drop-shadow(0 25px 28px rgba(20,49,75,.25));
  transform: perspective(900px) rotateY(-8deg) rotateZ(1deg);
  transition: transform .25s ease;
}

.hero-cover:hover img {
  transform: perspective(900px) rotateY(-3deg) rotateZ(0deg) translateY(-4px);
}

.section { padding: 82px 0; }

.latest-info { padding: 35px 0; }

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.info-strip > div {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.info-strip i {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: var(--sky);
  font-size: 1.25rem;
}

.info-strip strong { align-self: end; }
.info-strip span { color: var(--muted); line-height: 1.4; }

.library-section { background: white; }

.library-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 50px;
  align-items: start;
}

.section-heading { margin-bottom: 31px; }
.section-heading p { color: var(--muted); }
.centered { text-align: center; }

.magazine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.mag-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  box-shadow: 0 9px 30px rgba(6,68,125,.07);
}

.mag-card img {
  width: 100%;
  aspect-ratio: 8 / 11;
  object-fit: cover;
}

.mag-card-content { padding: 16px; }

.mag-card h3 {
  margin-bottom: 9px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.06rem;
}

.mag-card p {
  min-height: 38px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}

.mag-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 17px;
  border-radius: 6px;
  color: white;
  background: var(--blue);
  font-size: .85rem;
  font-weight: 800;
}

.subscribe-card {
  position: sticky;
  top: 124px;
  padding: 34px 26px;
  border: 1px solid #bad2e3;
  border-radius: 15px;
  background: white;
  text-align: center;
  box-shadow: var(--shadow);
}

.subscribe-icon {
  width: 66px;
  height: 66px;
  margin: -67px auto 18px;
  display: grid;
  place-items: center;
  border: 1px solid #bdd8eb;
  border-radius: 50%;
  color: var(--blue);
  background: var(--sky);
  font-size: 1.6rem;
}

.subscribe-card h2 { font-size: 1.45rem; }
.subscribe-card p { line-height: 1.55; }

.subscribe-card form {
  display: grid;
  gap: 10px;
  margin: 22px 0 15px;
}

.subscribe-card input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid #c8d9e5;
  border-radius: 7px;
}

.subscribe-card button {
  height: 50px;
  border: 0;
  border-radius: 7px;
  color: white;
  background: var(--blue);
  font-weight: 800;
  cursor: pointer;
}

.small-note {
  color: var(--muted);
  font-size: .78rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.content-sections { background: var(--light); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.feature-grid article > i {
  margin-bottom: 20px;
  color: var(--blue-bright);
  font-size: 2rem;
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.collaborate-section {
  color: white;
  background: linear-gradient(135deg, var(--blue-dark), #0a75b1);
}

.collaborate-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 65px;
  align-items: center;
}

.collaborate-section h2 { color: white; }

.collaborate-section p {
  max-width: 690px;
  color: #e4f1f9;
  font-size: 1.08rem;
  line-height: 1.65;
}

.support-card {
  padding: 32px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 18px;
  background: rgba(255,255,255,.1);
}

.support-card h3 { color: white; }
.support-card ul { padding: 0; margin: 0; list-style: none; }
.support-card li { margin: 14px 0; }
.support-card i { margin-right: 8px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 70px;
}

.contact-section p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--light);
}

.contact-card a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-weight: 800;
}

.contact-card i {
  width: 25px;
  text-align: center;
}

.site-footer {
  padding-top: 52px;
  color: white;
  background: #073d75;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.footer-grid h3 {
  color: white;
  font-family: Arial, Helvetica, sans-serif;
}

.footer-grid p,
.footer-grid a {
  color: #dceaf4;
  line-height: 1.55;
}

.footer-grid > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-bottom {
  margin-top: 38px;
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,.2);
  color: #dceaf4;
  text-align: center;
}

@media (max-width: 1020px) {
  .header-inner {
    grid-template-columns: 235px auto;
    min-height: 88px;
  }

  .brand { height: 78px; }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav,
  .header-social { display: none; }

  .main-nav.open {
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    background: white;
    border-bottom: 1px solid var(--line);
  }

  .hero-grid,
  .library-layout,
  .collaborate-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy { text-align: center; }
  .hero-copy p { margin-left: auto; margin-right: auto; }

  .subscribe-card {
    position: relative;
    top: auto;
    margin-top: 30px;
  }

  .magazine-grid,
  .feature-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
  .header-inner { grid-template-columns: 190px auto; }
  .brand { height: 68px; }

  .hero { padding-top: 42px; }
  .section { padding: 64px 0; }

  .info-strip,
  .magazine-grid,
  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 2.75rem; }
}

/* Título de la edición actual */

#current-title {
  margin: 23px 0 20px;
}

#current-title .title-main {
  display: block;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1;
}

#current-title .title-line {
  display: block;
  width: 80px;
  height: 2px;
  margin: 18px 0 14px;
  background-color: #d5aa4b;
}

#current-title .title-edition {
  display: block;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  line-height: 1.35;
  font-weight: 500;
  color: #6c7a89;
  letter-spacing: 0.05em;
}

/* Formulario oficial de MailerLite */

.kolenu-subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kolenu-subscribe-form input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 1px solid #d7dce2;
  border-radius: 8px;
  background-color: #ffffff;
  color: #263442;
  font: inherit;
}

.kolenu-subscribe-form input[type="email"]:focus {
  outline: none;
  border-color: #307aa6;
  box-shadow: 0 0 0 3px rgba(48, 122, 166, 0.14);
}

.kolenu-subscribe-form button.primary {
  width: 100%;
  padding: 14px 18px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.kolenu-subscribe-form button.primary i {
  margin-right: 7px;
}

.subscription-success {
  padding: 20px;
  text-align: center;
}

.subscription-success > i {
  margin-bottom: 12px;
  font-size: 2.5rem;
}

.subscription-success h3 {
  margin: 0 0 8px;
}

.subscription-success p {
  margin: 0;
}


