/*
Theme Name: CREO Reynosa Child
Theme URI: https://creoreynosa.org/
Description: Tema hijo de Kadence para CREO Reynosa. Revista web comunitaria LGBT+ con diseño editorial, moderno y profesional.
Author: CREO Reynosa
Template: kadence
Version: 1.0.0
Text Domain: creo-reynosa-child
*/

:root {
  --creo-red: #d71920;
  --creo-red-dark: #ff3b42;
  --creo-black: #111111;
  --creo-text: #f4f1ed;
  --creo-muted: #b8b2ad;
  --creo-white: #ffffff;
  --creo-soft: #151515;
  --creo-surface: #0d0d0f;
  --creo-surface-2: #171719;
  --creo-border: rgba(255, 255, 255, 0.14);
  --creo-radius: 22px;
  --creo-shadow: 0 26px 70px rgba(0, 0, 0, 0.48);
  --creo-rainbow: linear-gradient(90deg, #e40303, #ff8c00, #ffed00, #008026, #004dff, #750787);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(215, 25, 32, 0.16), transparent 34rem),
    radial-gradient(circle at top right, rgba(117, 7, 135, 0.18), transparent 32rem),
    #050505;
  color: var(--creo-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

body::before {
  content: "";
  display: block;
  height: 5px;
  background: var(--creo-rainbow);
}

a {
  color: var(--creo-red);
  text-underline-offset: 4px;
}

a:hover {
  color: #ff7479;
}

img {
  max-width: 100%;
  height: auto;
}

.creo-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.creo-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 5, 0.92);
  border-bottom: 1px solid var(--creo-border);
  backdrop-filter: blur(14px);
}

.creo-header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.creo-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--creo-white);
  text-decoration: none;
}

.creo-logo {
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--creo-white);
  background: var(--creo-rainbow);
  font-weight: 950;
  letter-spacing: -0.08em;
}

.creo-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.creo-name {
  display: block;
  color: var(--creo-white);
  font-size: clamp(1.28rem, 3vw, 1.75rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.065em;
}

.creo-tagline {
  display: block;
  margin-top: 4px;
  color: var(--creo-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.creo-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.creo-menu a {
  color: var(--creo-white);
  font-size: 0.94rem;
  font-weight: 850;
  text-decoration: none;
}

.creo-menu a:hover,
.creo-menu .current-menu-item > a,
.creo-menu .current_page_item > a {
  color: #ff5b61;
}

.creo-hero {
  padding: clamp(56px, 9vw, 110px) 0 48px;
}

.creo-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: end;
}

.creo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--creo-red);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.creo-kicker::before {
  content: "";
  width: 42px;
  height: 4px;
  border-radius: 99px;
  background: var(--creo-rainbow);
}

.creo-hero h1,
.creo-page-title,
.creo-single-title {
  margin: 0;
  color: var(--creo-white);
  font-size: clamp(4rem, 13vw, 10rem);
  font-weight: 950;
  line-height: 0.82;
  letter-spacing: -0.1em;
}

.creo-hero-subtitle {
  max-width: 820px;
  margin: 26px 0 0;
  color: var(--creo-white);
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.creo-hero-text {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--creo-muted);
  font-size: 1.08rem;
}

.creo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.creo-button,
.creo-button-alt,
.creo-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 0.94rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.creo-button,
.creo-more {
  background: var(--creo-red);
  color: var(--creo-white);
  box-shadow: 0 16px 34px rgba(215, 25, 32, 0.38);
}

.creo-button:hover,
.creo-more:hover {
  transform: translateY(-2px);
  background: #ff3138;
  color: var(--creo-white);
}

.creo-button-alt {
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: var(--creo-white);
  background: transparent;
}

.creo-button-alt:hover {
  transform: translateY(-2px);
  background: var(--creo-white);
  color: #050505;
}

.creo-panel {
  position: relative;
  padding: 28px;
  border: 1px solid var(--creo-border);
  border-radius: var(--creo-radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  overflow: hidden;
  box-shadow: var(--creo-shadow);
}

.creo-panel::before {
  content: "";
  display: block;
  height: 5px;
  margin: -28px -28px 24px;
  background: var(--creo-rainbow);
}

.creo-panel strong {
  display: block;
  color: var(--creo-white);
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.creo-panel p {
  margin: 16px 0 0;
  color: var(--creo-muted);
  font-weight: 700;
}

.creo-section {
  padding: 54px 0;
}

.creo-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}

.creo-section-title {
  margin: 0;
  color: var(--creo-white);
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 950;
  line-height: 0.92;
  letter-spacing: -0.08em;
}

.creo-note {
  max-width: 430px;
  margin: 0;
  color: var(--creo-muted);
}

.creo-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  border: 1px solid var(--creo-border);
  border-radius: 28px;
  overflow: hidden;
  background: var(--creo-surface);
  box-shadow: var(--creo-shadow);
}

.creo-featured-image {
  display: block;
  background: var(--creo-surface-2);
}

.creo-featured-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.creo-featured-content {
  padding: clamp(26px, 5vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.creo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 14px;
  color: var(--creo-muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.creo-cat {
  color: #ff5b61;
}

.creo-featured-title,
.creo-card-title {
  margin: 0;
  color: var(--creo-white);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.07em;
}

.creo-featured-title {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

.creo-card-title {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.creo-featured-title a,
.creo-card-title a {
  color: inherit;
  text-decoration: none;
}

.creo-featured-title a:hover,
.creo-card-title a:hover {
  color: #ff5b61;
}

.creo-excerpt {
  margin: 18px 0 0;
  color: var(--creo-muted);
}

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

.creo-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--creo-border);
  border-radius: var(--creo-radius);
  background: var(--creo-surface);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.34);
}

.creo-card-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--creo-surface-2);
}

.creo-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creo-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.creo-more {
  align-self: flex-start;
  margin-top: auto;
}

.creo-areas {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    #090909;
  border-top: 1px solid var(--creo-border);
  border-bottom: 1px solid var(--creo-border);
}

.creo-area {
  min-height: 185px;
  padding: 24px;
  border: 1px solid var(--creo-border);
  border-radius: var(--creo-radius);
  background: var(--creo-surface);
  color: var(--creo-white);
  text-decoration: none;
}

.creo-area::before {
  content: "";
  display: block;
  width: 58px;
  height: 5px;
  margin-bottom: 22px;
  border-radius: 99px;
  background: var(--creo-rainbow);
}

.creo-area h3 {
  margin: 0;
  color: var(--creo-white);
  font-size: clamp(1.35rem, 2.4vw, 2.05rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.06em;
}

.creo-area p {
  margin: 14px 0 0;
  color: var(--creo-muted);
  font-size: 0.96rem;
}

.creo-page-header {
  padding: 58px 0 30px;
  border-bottom: 1px solid var(--creo-border);
}

.creo-page-title {
  font-size: clamp(3rem, 8vw, 7rem);
}

.creo-archive-loop {
  padding: 42px 0 70px;
}

.creo-single {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 62px 0 74px;
}

.creo-single-title {
  font-size: clamp(3rem, 8vw, 7.2rem);
}

.creo-single-image {
  margin: 34px 0;
}

.creo-single-image img {
  width: 100%;
  border-radius: 28px;
}

.creo-content {
  color: var(--creo-text);
  font-size: 1.1rem;
}

.creo-content p {
  margin: 0 0 1.45em;
}

.creo-content h2 {
  margin: 1.45em 0 0.55em;
  color: var(--creo-white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.07em;
}

.creo-content blockquote {
  margin: 34px 0;
  padding: 8px 0 8px 24px;
  border-left: 5px solid var(--creo-red);
  color: var(--creo-white);
  font-size: 1.35rem;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.creo-empty {
  padding: 32px;
  border: 1px dashed var(--creo-border);
  border-radius: var(--creo-radius);
  background: var(--creo-surface);
  color: var(--creo-muted);
}

.creo-pagination {
  margin-top: 34px;
}

.creo-footer {
  background: #020202;
  color: rgba(255, 255, 255, 0.82);
}

.creo-footer-line {
  height: 5px;
  background: var(--creo-rainbow);
}

.creo-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  padding: 42px 0;
}

.creo-footer-title {
  display: block;
  margin-bottom: 8px;
  color: var(--creo-white);
  font-size: 1.35rem;
  font-weight: 950;
  letter-spacing: -0.055em;
}

.creo-footer p {
  max-width: 620px;
  margin: 0;
}

.creo-footer a {
  color: var(--creo-white);
}

.creo-footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.creo-footer-menu a {
  color: var(--creo-white);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .creo-header-inner,
  .creo-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .creo-menu,
  .creo-footer-menu {
    justify-content: flex-start;
  }

  .creo-hero-grid,
  .creo-featured {
    grid-template-columns: 1fr;
  }

  .creo-grid,
  .creo-area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .creo-footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .creo-container,
  .creo-single {
    width: calc(100% - 28px);
  }

  .creo-header {
    position: relative;
  }

  .creo-header-inner {
    min-height: auto;
    padding: 18px 0;
    gap: 16px;
  }

  .creo-logo {
    width: 44px;
    height: 44px;
  }

  .creo-tagline {
    display: none;
  }

  .creo-menu {
    gap: 10px 14px;
  }

  .creo-menu a {
    font-size: 0.88rem;
  }

  .creo-hero {
    padding-top: 42px;
  }

  .creo-hero h1 {
    font-size: clamp(3.6rem, 24vw, 6rem);
  }

  .creo-featured-image img {
    min-height: 260px;
  }

  .creo-grid,
  .creo-area-grid {
    grid-template-columns: 1fr;
  }

  .creo-card-body,
  .creo-panel {
    padding: 20px;
  }
}
