/* Diseño editorial de las crónicas Alcores Bike, servido una vez por el tema. */
.ab-mag {
  --ab-mag-teal: #13a3be;
  --ab-mag-teal-dark: #0c7f96;
  --ab-mag-navy: #0b2733;
  --ab-mag-ink: #20211f;
  color: var(--ab-mag-ink);
  background: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.78;
}

.ab-mag *,
.ab-mag *::before,
.ab-mag *::after {
  box-sizing: border-box;
}

.ab-mag img {
  display: block;
  max-width: 100%;
}

.ab-mag .ab-prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 10px 24px 28px;
}

.ab-mag .ab-prose p {
  margin: 0 0 1.45em;
}

.ab-mag .ab-lead {
  color: #15161a;
  font-size: 21.5px;
}

.ab-mag .ab-lead::first-letter {
  float: left;
  padding: 8px 14px 0 0;
  color: var(--ab-mag-teal);
  font-size: 86px;
  font-weight: 800;
  line-height: 0.72;
}

.ab-mag h2.ab-h2 {
  margin: 1.7em 0 0.5em;
  color: var(--ab-mag-navy);
  font-size: clamp(25px, 3.6vw, 37px);
  font-weight: 700;
  line-height: 1.16;
}

.ab-mag h2.ab-h2::before {
  width: 56px;
  height: 4px;
  display: block;
  margin-bottom: 18px;
  content: "";
  background: var(--ab-mag-teal);
  border-radius: 2px;
}

.ab-mag h3.ab-h3 {
  margin: 1.5em 0 0.4em;
  color: var(--ab-mag-navy);
  font-size: clamp(21px, 2.6vw, 27px);
  line-height: 1.2;
}

.ab-mag ul.ab-list,
.ab-mag ol.ab-list {
  margin: 1.3em 0;
  padding: 0;
  list-style: none;
}

.ab-mag ul.ab-list li,
.ab-mag ol.ab-list li {
  position: relative;
  padding: 11px 0 11px 30px;
  border-bottom: 1px solid #ececec;
  font-size: 18px;
}

.ab-mag ul.ab-list li::before {
  position: absolute;
  top: 19px;
  left: 2px;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--ab-mag-teal);
  transform: rotate(45deg);
}

.ab-mag a {
  color: var(--ab-mag-teal-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ab-mag .ab-pullquote {
  max-width: 640px;
  margin: 1.5em auto;
  padding: 0.5em 0;
  color: var(--ab-mag-navy);
  border-top: 2px solid var(--ab-mag-teal);
  border-bottom: 2px solid var(--ab-mag-teal);
  font-size: clamp(30px, 4.4vw, 50px);
  font-style: italic;
  font-weight: 700;
  line-height: 1.12;
  text-align: center;
}

.ab-mag .ab-note {
  position: relative;
  margin: 44px 0;
  padding: 26px 32px 22px;
  background: #eef6f7;
  border-left: 5px solid var(--ab-mag-teal);
  border-radius: 0 10px 10px 0;
}

.ab-mag .ab-note-label,
.ab-mag .ab-gallery-title,
.ab-mag .ab-sponsors h4 {
  display: block;
  color: var(--ab-mag-teal-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ab-mag .ab-note p {
  margin: 0 0 0.7em;
  color: #243033;
  font-size: 19px;
  font-style: italic;
}

.ab-mag .ab-note p:last-child {
  margin-bottom: 0;
}

.ab-mag .ab-figure {
  margin: 44px auto;
}

.ab-mag .ab-figure img {
  width: 100%;
  height: auto;
  border-radius: 3px;
}

.ab-mag .ab-figcap {
  margin-top: 10px;
  color: #62686d;
  font-size: 14px;
  font-style: italic;
  text-align: center;
}

.ab-mag .ab-gallery-wrap {
  max-width: 1180px;
  margin: 56px auto 24px;
  padding: 0 16px;
}

.ab-mag .ab-gallery-title {
  margin: 0 0 22px;
  text-align: center;
}

.ab-mag .ab-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}

.ab-mag .ab-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 3px;
}

.ab-mag .ab-sponsors {
  max-width: 900px;
  margin: 46px auto 8px;
  padding: 30px 26px;
  color: #dcecf1;
  background: var(--ab-mag-navy);
  border-radius: 8px;
  text-align: center;
}

.ab-mag .ab-sponsors h4 {
  margin: 0 0 14px;
  color: var(--ab-mag-teal);
}

.ab-mag .ab-sponsors p {
  margin: 0;
  color: #bcd4dc;
  font-size: 14px;
  line-height: 2;
  word-spacing: 3px;
}

@media (min-width: 1000px) {
  .ab-mag .ab-prose .ab-figure {
    width: calc(100% + 240px);
    margin-right: -120px;
    margin-left: -120px;
  }
}

@media (max-width: 700px) {
  .ab-mag {
    font-size: 17px;
    line-height: 1.7;
  }

  .ab-mag .ab-prose {
    padding: 4px 20px 20px;
  }

  .ab-mag .ab-lead {
    font-size: 19px;
  }

  .ab-mag .ab-lead::first-letter {
    font-size: 70px;
  }

  .ab-mag .ab-note {
    padding: 22px 22px 18px;
  }

  .ab-mag .ab-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 440px) {
  .ab-mag .ab-gallery {
    grid-template-columns: 1fr;
  }
}

