/* =====================================================
   BLOG PETKIT.PE — CSS landing v2
   Paleta real: crema · beige · negro · naranja
   Archivo: /themes/Astra-ChildKat/blog-landing.css
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

/* ─── TOKENS ──────────────────────────────────────── */
:root {
  --pk-orange:      #f07020;
  --pk-orange-dark: #d45f10;
  --pk-orange-pale: #fdf3ec;
  --pk-cream:       #f5f0e8;
  --pk-cream-dark:  #ede6d8;
  --pk-beige:       #c9a96e;
  --pk-beige-pale:  #f9f4ec;
  --pk-footer-bg:   #c8a882;
  --pk-ink:         #1a1a1a;
  --pk-ink-soft:    #5a5a5a;
  --pk-border:      #e2d9cc;
  --pk-white:       #ffffff;
}

/* =====================================================
   HERO
   ===================================================== */

.pk-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 92vh;
  background: var(--pk-cream);
  overflow: hidden;
}

.pk-hero-left {
  padding: 72px 56px 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pk-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.pk-eyebrow-line {
  width: 28px;
  height: 1px;
  background: var(--pk-orange);
  display: inline-block;
}

.pk-eyebrow-text {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pk-orange);
}

.pk-hero-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(40px, 4.5vw, 64px) !important;
  font-weight: 300 !important;
  line-height: 1.08 !important;
  color: var(--pk-ink) !important;
  margin-bottom: 24px !important;
}

.pk-hero-title em {
  font-style: italic;
  color: var(--pk-orange);
}

.pk-hero-title strong {
  font-weight: 600;
}

.pk-hero-sub {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: var(--pk-ink-soft);
  line-height: 1.8;
  max-width: 420px;
  margin-bottom: 40px;
}

.pk-hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.pk-btn-primary {
  background: var(--pk-orange) !important;
  color: #fff !important;
  padding: 14px 32px !important;
  border-radius: 6px !important;
  font-family: 'Jost', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: background 0.25s !important;
  border: none !important;
}

.pk-btn-primary:hover {
  background: var(--pk-orange-dark) !important;
  color: #fff !important;
}

.pk-btn-ghost {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  color: var(--pk-ink-soft);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
  border-bottom: 1px solid var(--pk-border);
  padding-bottom: 2px;
}

.pk-btn-ghost:hover { color: var(--pk-orange); border-color: var(--pk-orange); }

.pk-hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid var(--pk-border);
}

.pk-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--pk-orange);
  display: block;
  line-height: 1;
}

.pk-stat-desc {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  color: var(--pk-ink-soft);
  margin-top: 4px;
}

/* Hero lado derecho — visual cálido */
.pk-hero-right {
  background:
    radial-gradient(ellipse 55% 50% at 35% 45%, rgba(240,112,32,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 45% 55% at 75% 65%, rgba(201,169,110,0.2) 0%, transparent 60%),
    linear-gradient(150deg, #1a1510 0%, #2a1f14 45%, #1e180f 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 64px 40px;
  position: relative;
}

.pk-float-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 14px;
  padding: 18px 22px;
  backdrop-filter: blur(8px);
  width: 100%;
  max-width: 300px;
  display: flex;
  gap: 14px;
  align-items: center;
  animation: pk-float 6s ease-in-out infinite;
}

.pk-float-card:nth-child(2) { animation-delay: -2s; margin-left: 32px; }
.pk-float-card:nth-child(3) { animation-delay: -4s; margin-left: -16px; }

@keyframes pk-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.pk-fc-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(240,112,32,0.2);
  border: 1px solid rgba(240,112,32,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.pk-fc-label {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.pk-fc-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  line-height: 1.3;
}

.pk-fc-tag {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  color: rgba(240,112,32,0.9);
  background: rgba(240,112,32,0.15);
  border: 1px solid rgba(240,112,32,0.3);
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 6px;
  display: inline-block;
}

/* =====================================================
   BARRA DE CATEGORÍAS
   ===================================================== */

.pk-cat-bar {
  background: var(--pk-white);
  border-bottom: 1px solid var(--pk-border);
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 32px;
}

.pk-cat-bar::-webkit-scrollbar { display: none; }

.pk-cat-pill {
  padding: 16px 22px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--pk-ink-soft);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  display: block;
}

.pk-cat-pill:hover,
.pk-cat-pill.pk-active {
  color: var(--pk-orange);
  border-bottom-color: var(--pk-orange);
}

/* =====================================================
   SECCIÓN — headers compartidos
   ===================================================== */

.pk-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 32px 0;
}

.pk-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}

.pk-section-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.pk-s-line {
  width: 22px;
  height: 1px;
  background: var(--pk-orange);
  display: inline-block;
}

.pk-s-tag {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pk-orange);
}

.pk-section-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 26px !important;
  font-weight: 400 !important;
  color: var(--pk-ink) !important;
  margin: 0 !important;
}

.pk-see-all {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--pk-orange);
  text-decoration: none;
  letter-spacing: 0.06em;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.pk-see-all:hover { border-bottom-color: var(--pk-orange); color: var(--pk-orange); }

/* =====================================================
   ARTÍCULO DESTACADO
   ===================================================== */

.pk-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 16px;
  overflow: hidden;
  background: var(--pk-white);
  border: 1px solid var(--pk-border);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s;
}

.pk-featured:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.pk-featured-visual {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  background:
    radial-gradient(ellipse 60% 55% at 35% 50%, rgba(240,112,32,0.22) 0%, transparent 65%),
    linear-gradient(135deg, #1a130a, #2a1e10);
  position: relative;
}

.pk-featured-tag {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--pk-orange);
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
}

.pk-featured-body {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--pk-white);
}

.pk-article-meta {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  color: var(--pk-ink-soft);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.pk-meta-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--pk-border);
  display: inline-block;
}

.pk-featured-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
  color: var(--pk-ink) !important;
  margin-bottom: 14px !important;
}

.pk-featured-excerpt {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  color: var(--pk-ink-soft);
  line-height: 1.8;
  margin-bottom: 28px;
}

.pk-article-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.pk-atag {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  background: var(--pk-orange-pale);
  color: var(--pk-orange);
  border: 1px solid rgba(240,112,32,0.2);
}

.pk-read-link {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--pk-orange);
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

/* =====================================================
   GRID DE ARTÍCULOS
   ===================================================== */

.pk-articles {
  max-width: 1160px;
  margin: 0 auto;
  padding: 56px 32px 72px;
}

.pk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pk-card {
  background: var(--pk-white);
  border: 1px solid var(--pk-border);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}

.pk-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

/* Thumbs — cálidos y oscuros con toque naranja */
.pk-card-thumb {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  position: relative;
}

.pk-card-thumb.bg1 { background: linear-gradient(135deg, #1a130a, #2e1f0e); }
.pk-card-thumb.bg2 { background: linear-gradient(135deg, #12100e, #241c12); }
.pk-card-thumb.bg3 { background: linear-gradient(135deg, #1a1208, #2a1e10); }
.pk-card-thumb.bg4 { background: linear-gradient(135deg, #0e1218, #1a2030); }
.pk-card-thumb.bg5 { background: linear-gradient(135deg, #1a1500, #2e2500); }
.pk-card-thumb.bg6 { background: linear-gradient(135deg, #100a18, #1e1428); }

.pk-thumb-tag {
  position: absolute;
  top: 12px; left: 12px;
  font-family: 'Jost', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  color: #fff;
}

.pk-thumb-tag.edu  { background: rgba(240,112,32,0.85); }
.pk-thumb-tag.comp { background: rgba(90,80,70,0.85); }
.pk-thumb-tag.guia { background: rgba(201,169,110,0.85); color: #1a1a1a; }

.pk-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pk-card-meta {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  color: var(--pk-ink-soft);
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
}

.pk-card-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  color: var(--pk-ink) !important;
  margin-bottom: 10px !important;
  flex: 1;
}

.pk-card-excerpt {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  color: var(--pk-ink-soft);
  line-height: 1.7;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pk-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--pk-border);
  padding-top: 14px;
  margin-top: auto;
}

.pk-card-kw {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  color: var(--pk-beige);
  font-weight: 500;
}

.pk-card-arrow {
  width: 26px; height: 26px;
  border: 1px solid var(--pk-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pk-ink-soft);
  font-size: 12px;
  transition: all 0.2s;
}

.pk-card:hover .pk-card-arrow {
  background: var(--pk-orange);
  border-color: var(--pk-orange);
  color: #fff;
}

/* =====================================================
   SECCIÓN TEMAS — fondo oscuro cálido
   ===================================================== */

.pk-topics {
  background: #1a130a;
  padding: 72px 32px;
}

.pk-topics-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.pk-topics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.pk-topic-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 24px 20px;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s;
  display: block;
}

.pk-topic-card:hover {
  background: rgba(240,112,32,0.12);
  border-color: rgba(240,112,32,0.4);
}

.pk-topic-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.pk-topic-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 4px;
}

.pk-topic-count {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}

.pk-section-title-light {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 300;
  color: #fff;
}

/* =====================================================
   NEWSLETTER
   ===================================================== */

.pk-newsletter {
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 32px;
}

.pk-nl-card {
  background: var(--pk-cream);
  border: 1px solid var(--pk-border);
  border-radius: 16px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.pk-nl-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,112,32,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.pk-nl-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 34px !important;
  font-weight: 300 !important;
  line-height: 1.2 !important;
  color: var(--pk-ink) !important;
  margin-bottom: 14px !important;
}

.pk-nl-title em { font-style: italic; color: var(--pk-orange); }

.pk-nl-sub {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  color: var(--pk-ink-soft);
  line-height: 1.8;
}

.pk-nl-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pk-nl-input {
  width: 100%;
  padding: 13px 20px;
  border: 1px solid var(--pk-border);
  border-radius: 6px;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--pk-ink);
  background: var(--pk-white);
  outline: none;
  transition: border-color 0.2s;
}

.pk-nl-input:focus { border-color: var(--pk-orange); }
.pk-nl-input::placeholder { color: #aaa; }

.pk-nl-btn {
  background: var(--pk-orange);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 6px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}

.pk-nl-btn:hover { background: var(--pk-orange-dark); }

.pk-nl-note {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  color: var(--pk-ink-soft);
  text-align: center;
  opacity: 0.5;
}

/* =====================================================
   RESPONSIVE — TABLET (≤1024px)
   ===================================================== */

@media (max-width: 1024px) {
  .pk-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .pk-hero-right { display: none; }

  .pk-hero-left { padding: 56px 32px; }

  .pk-featured { grid-template-columns: 1fr; }
  .pk-featured-visual { min-height: 220px; }

  .pk-grid { grid-template-columns: repeat(2, 1fr); }

  .pk-topics-grid { grid-template-columns: repeat(2, 1fr); }

  .pk-nl-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px;
  }
}

/* =====================================================
   RESPONSIVE — MÓVIL (≤640px)
   ===================================================== */

@media (max-width: 640px) {
  .pk-hero-left { padding: 40px 20px 48px; }

  .pk-hero-title { font-size: 36px !important; }

  .pk-hero-stats {
    gap: 20px;
    flex-wrap: wrap;
  }

  .pk-section,
  .pk-articles,
  .pk-newsletter {
    padding-left: 20px;
    padding-right: 20px;
  }

  .pk-cat-bar { padding: 0 20px; }

  .pk-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .pk-featured-body { padding: 24px 20px; }
  .pk-featured-title { font-size: 22px !important; }

  .pk-grid { grid-template-columns: 1fr; }

  .pk-topics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .pk-topics { padding: 52px 20px; }

  .pk-nl-card { padding: 28px 20px; }
  .pk-nl-title { font-size: 26px !important; }

  .pk-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =====================================================
   OCULTAR TÍTULO NATIVO DE LA PÁGINA BLOG
   ===================================================== */

.page-id-46 .entry-header,
.page-id-46 .page-title,
.page-id-46 h1.entry-title {
  display: none !important;
}
/* ── Artículo blog: romper contenedor angosto Astra ── */
.single-post.ast-narrow-container {
  --wp--custom--ast-content-width-size: 100% !important;
  --wp--custom--ast-wide-width-size: 100% !important;
}

.single-post #content.site-content {
  max-width: 100% !important;
  padding: 0 !important;
}

.single-post #primary,
.single-post #main,
.single-post .entry-content {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Ocultar autor y fecha nativos */
.single-post .entry-meta,
.single-post .ast-post-meta,
.single-post .posted-on,
.single-post .byline {
  display: none !important;
}