/*
Theme Name: SraBigotes Pro
Template: libreros-base
Author: Libreros Media
Description: Lightweight editorial child theme for SraBigotes.
Version: 0.3.0
Requires PHP: 8.2
License: Proprietary
Text Domain: srabigotes-pro
*/

.lm-header .lm-header__home-signature p,
.lm-header .lm-header__home-signature time {
  color: #fff;
}

.lm-header__brand .lm-brand--header,
.lm-footer .lm-brand--footer {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  color: #fff;
  font-family: var(--lm-ui_font);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.lm-header__brand .lm-brand--header {
  gap: 0.7rem;
}

.lm-header__brand .lm-brand--header::after,
.lm-footer .lm-brand--footer::after {
  content: "Sra Bigotes";
  white-space: nowrap;
}

.lm-header__brand .lm-brand--header::after {
  font-size: 1.3rem;
}

.lm-header__brand .lm-brand--header img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.lm-card__image img,
.lm-article__image img,
.srabigotes-story-card__image img,
.srabigotes-lead__image img {
  box-shadow: 0 14px 34px rgba(23, 63, 55, 0.1);
}

.srabigotes-landing {
  padding: 3.5rem 0 0;
}

.srabigotes-lead {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(260px, 4fr);
  gap: 3rem;
  align-items: start;
}

.srabigotes-lead__primary {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  border-top: 3px solid var(--lm-ink);
}

.srabigotes-lead__image {
  min-height: 100%;
  background: var(--lm-surface);
  overflow: hidden;
}

.srabigotes-lead__image img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.srabigotes-lead__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0 2rem 2rem;
}

.srabigotes-lead__copy h2 {
  margin: 1rem 0;
  font-family: var(--lm-editorial_font);
  font-size: 3.45rem;
  font-weight: 520;
  line-height: 0.98;
}

.srabigotes-lead__copy h2 a,
.srabigotes-story-card h3 a {
  color: var(--lm-ink);
  text-decoration: none;
}

.srabigotes-lead__copy h2 a:hover,
.srabigotes-story-card h3 a:hover {
  color: var(--lm-accent_dark);
}

.srabigotes-lead__copy > p,
.srabigotes-story-card > p {
  margin: 0;
  color: var(--lm-muted);
  font-family: var(--lm-editorial_font);
  font-size: 1.02rem;
  line-height: 1.55;
}

.srabigotes-lead__rail {
  border-top: 3px solid var(--lm-ink);
}

.srabigotes-section-label {
  margin: 0;
  padding-top: 1rem;
  color: var(--lm-accent_dark);
  font-family: var(--lm-ui_font);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.srabigotes-story-card--rail {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 0 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--lm-line);
}

.srabigotes-story-card--rail .srabigotes-story-card__image {
  grid-row: 1 / 4;
  aspect-ratio: 1;
}

.srabigotes-story-card--rail .srabigotes-story-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.srabigotes-story-card--rail h3 {
  margin: 0.4rem 0 0;
  font-size: 1.12rem;
  line-height: 1.14;
}

.srabigotes-story-card--rail > p {
  display: none;
}

.srabigotes-story-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  color: var(--lm-muted);
  font-family: var(--lm-ui_font);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.srabigotes-story-card__meta > * + *::before {
  margin-right: 0.45rem;
  color: var(--lm-accent);
  content: "•";
}

.srabigotes-story-card__meta a {
  color: var(--lm-accent_dark);
  text-decoration: none;
}

.srabigotes-editorial-section {
  margin-top: 6rem;
}

.srabigotes-editorial-section--soft {
  margin-inline: max(-1.75rem, calc((100% - 100vw) / 2));
  padding: 2.75rem 1.75rem 3rem;
  background: var(--lm-surface);
}

.srabigotes-section-heading {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 3px solid var(--lm-ink);
}

.srabigotes-section-heading h2 {
  margin: 0;
  font-family: var(--lm-editorial_font);
  font-size: 2.8rem;
  font-weight: 520;
  line-height: 1;
}

.srabigotes-section-heading > a {
  min-height: 44px;
  padding: 0.75rem 1rem;
  color: var(--lm-paper);
  background: var(--lm-accent_dark);
  border-radius: var(--lm-radius);
  font-family: var(--lm-ui_font);
  font-size: 0.8rem;
  font-weight: 750;
  text-decoration: none;
}

.srabigotes-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.srabigotes-story-card {
  min-width: 0;
}

.srabigotes-story-card__image {
  display: block;
  margin-bottom: 1rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--lm-surface);
}

.srabigotes-story-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.srabigotes-story-card__image:hover img {
  transform: scale(1.025);
}

.srabigotes-story-card h3 {
  margin: 0.7rem 0 0.65rem;
  font-family: var(--lm-editorial_font);
  font-size: 1.55rem;
  font-weight: 560;
  line-height: 1.08;
}

.srabigotes-wildlife {
  margin-top: 6rem;
  padding: 4rem 0 5rem;
  color: #fff;
  background: var(--lm-dark_surface);
}

.srabigotes-section-heading--dark {
  border-color: rgba(255, 255, 255, 0.65);
}

.srabigotes-section-heading--dark h2,
.srabigotes-section-heading--dark .srabigotes-section-label,
.srabigotes-story-card--dark h3 a,
.srabigotes-story-card--dark .srabigotes-story-card__meta,
.srabigotes-story-card--dark .srabigotes-story-card__meta a,
.srabigotes-story-card--dark > p {
  color: #fff;
}

.srabigotes-section-heading--dark > a {
  color: var(--lm-ink);
  background: #fff;
}

.srabigotes-deferred-social[data-srabigotes-provider="instagram"],
.srabigotes-deferred-social[data-srabigotes-provider="tiktok"] {
  max-width: 440px;
  aspect-ratio: 9 / 16;
  margin-inline: auto;
}

.lm-footer {
  color: #fff;
  background: var(--lm-dark_surface);
  border-color: rgba(255, 255, 255, 0.3);
}

.lm-footer .lm-brand--footer {
  width: fit-content;
  gap: 1rem;
}

.lm-footer .lm-brand--footer img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.lm-footer .lm-brand--footer::after {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.lm-footer__identity,
.lm-footer__topics,
.lm-footer__nav {
  min-width: 0;
}

.lm-footer__eyebrow,
.lm-footer__tagline,
.lm-footer__topics a,
.lm-footer__nav a,
body .lm-footer__copyright,
body .lm-footer__privacy {
  color: #fff;
}

.lm-footer__bottom {
  border-color: rgba(255, 255, 255, 0.22);
}

@media (max-width: 1100px) {
  .srabigotes-lead {
    grid-template-columns: 1fr;
  }

  .srabigotes-lead__rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .srabigotes-lead__rail > .srabigotes-section-label {
    grid-column: 1 / -1;
  }

  .srabigotes-story-card--rail {
    display: block;
  }

  .srabigotes-story-card--rail .srabigotes-story-card__image {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 820px) {
  .lm-header__brand .lm-brand--header {
    gap: 0.5rem;
  }

  .lm-header__brand .lm-brand--header img {
    width: 40px;
    height: 40px;
  }

  .lm-header__brand .lm-brand--header::after {
    font-size: 1.05rem;
  }

  .srabigotes-landing {
    padding-top: 2rem;
  }

  .srabigotes-lead__primary {
    grid-template-columns: 1fr;
  }

  .srabigotes-lead__image img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .srabigotes-lead__copy {
    padding: 1.5rem 0 0;
  }

  .srabigotes-lead__copy h2 {
    font-size: 2.8rem;
  }

  .srabigotes-section-heading {
    grid-template-columns: 1fr auto;
  }

  .srabigotes-section-heading .srabigotes-section-label {
    grid-column: 1 / -1;
  }

  .srabigotes-story-grid {
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .srabigotes-lead__copy h2 {
    font-size: 2.25rem;
  }

  .srabigotes-lead__rail,
  .srabigotes-story-grid {
    grid-template-columns: 1fr;
  }

  .srabigotes-story-card--rail {
    display: grid;
    grid-template-columns: 110px 1fr;
  }

  .srabigotes-editorial-section {
    margin-top: 4rem;
  }

  .srabigotes-editorial-section--soft {
    margin-inline: -1rem;
    padding-inline: 1rem;
  }

  .srabigotes-section-heading {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .srabigotes-section-heading h2 {
    font-size: 2.2rem;
  }

  .srabigotes-section-heading > a {
    justify-self: start;
  }

  .srabigotes-story-card h3 {
    font-size: 1.4rem;
  }

  .srabigotes-wildlife {
    margin-top: 4rem;
    padding: 3rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .srabigotes-story-card__image img {
    transition: none;
  }
}
