/* blog.css — plantilla del blog con la misma identidad visual que la home
   (colores y tipografías de la configuración global de Elementor del sitio original). */
:root {
  --gs-primary: #C07858;
  --gs-primary-dark: #B2582B;
  --gs-text: #3C3D42;
  --gs-muted: #7B7C83;
  --gs-line: #D9D9D9;
  --gs-soft: #F1D5C8;
  --gs-soft-2: #F2CAB8;
  --gs-bg: #FAF9F7;
  --gs-white: #FFFFFF;
  --gs-serif: "Times New Roman", Times, serif;
  --gs-sans: "Outfit", system-ui, sans-serif;
  --gs-script: "Pinyon Script", cursive;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.gs-blog {
  margin: 0;
  background: var(--gs-bg);
  color: var(--gs-text);
  font-family: var(--gs-sans);
  font-size: 18px;
  line-height: 1.65;
}
.gs-blog img { max-width: 100%; height: auto; display: block; }
.gs-blog a { color: var(--gs-primary); text-decoration: none; }
.gs-blog a:hover, .gs-blog a:focus { text-decoration: underline; }
.gs-skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 200; }
.gs-skip:focus { left: 8px; }

/* Cabecera */
.gs-hero {
  position: relative;
  background: #2a2420 url("../img/professional-stock-photography-tarot-readings-1.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 36px 20px 32px;
}
.gs-hero::before { content: ""; position: absolute; inset: 0; background: rgba(20, 14, 10, .45); }
.gs-hero__inner { position: relative; max-width: 1140px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.gs-logo img { width: 210px; }
.gs-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 26px; font-size: 16px; }
.gs-blog .gs-nav a { color: #fff; font-weight: 500; }
.gs-blog .gs-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }

/* Botones */
.gs-blog .gs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--gs-primary); color: #fff; border-radius: 40px;
  padding: 12px 26px; font-size: 16px; font-weight: 500; line-height: 1.2;
  text-decoration: none; transition: background .2s;
}
.gs-blog .gs-btn:hover, .gs-blog .gs-btn:focus { background: var(--gs-text); color: #fff; text-decoration: none; }
.gs-blog .gs-btn--dark { background: var(--gs-text); }
.gs-blog .gs-btn--dark:hover, .gs-blog .gs-btn--dark:focus { background: var(--gs-primary); }
.gs-btn svg { width: 16px; height: 16px; fill: currentColor; flex: none; }

/* Contenido */
.gs-main { max-width: 1140px; margin: 0 auto; padding: 28px 20px 70px; }
.gs-breadcrumb { font-size: 14px; color: var(--gs-muted); margin-bottom: 26px; }
.gs-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gs-breadcrumb li + li::before { content: "›"; margin-right: 6px; }
.gs-article { max-width: 780px; margin: 0 auto; }
.gs-kicker { color: var(--gs-primary); font-weight: 600; font-size: 14px; letter-spacing: .02em; margin: 0 0 8px; text-transform: uppercase; }
.gs-blog h1 { font-family: var(--gs-serif); font-style: italic; font-weight: 400; font-size: 52px; line-height: 1.12; margin: 0 0 16px; color: var(--gs-text); }
.gs-blog h2 { font-family: var(--gs-serif); font-style: italic; font-weight: 400; font-size: 36px; line-height: 1.2; margin: 48px 0 14px; color: var(--gs-text); }
.gs-blog h3 { font-family: var(--gs-serif); font-weight: 400; font-size: 25px; line-height: 1.25; margin: 30px 0 8px; color: var(--gs-text); }
.gs-meta { color: var(--gs-muted); font-size: 15px; margin: 0 0 26px; }
.gs-cover { margin: 0 0 30px; border-radius: 12px; overflow: hidden; background: var(--gs-soft); }
.gs-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gs-article p { margin: 0 0 18px; }
.gs-article ul, .gs-article ol { margin: 0 0 20px; padding-left: 24px; }
.gs-article li { margin-bottom: 8px; }
.gs-article li::marker { color: var(--gs-primary); }
.gs-note { font-size: 15px; color: var(--gs-muted); border-top: 1px solid var(--gs-line); padding-top: 16px; margin-top: 30px; }

.gs-toc { background: var(--gs-white); border: 1px solid var(--gs-line); border-radius: 12px; padding: 20px 24px; margin: 0 0 30px; font-size: 16px; }
.gs-toc__title { font-weight: 600; margin: 0 0 8px !important; }
.gs-toc ol { margin: 0; padding-left: 20px; }
.gs-toc li { margin-bottom: 4px; }

.gs-table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 16px; background: var(--gs-white); }
.gs-table th, .gs-table td { border: 1px solid var(--gs-line); padding: 10px 12px; text-align: left; vertical-align: top; }
.gs-table thead th { background: var(--gs-soft); }
.gs-table-wrap { overflow-x: auto; margin: 0 0 24px; }
.gs-table-wrap .gs-table { margin: 0; min-width: 520px; }

/* Caja de llamada */
.gs-cta { background: var(--gs-soft); border-radius: 12px; padding: 28px; margin: 36px 0; text-align: center; }
.gs-cta__title { font-family: var(--gs-script); font-size: 42px; line-height: 1.1; color: var(--gs-text); margin: 0 0 10px !important; }
.gs-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 18px 0 12px; }
.gs-cta__small { font-size: 13px; color: var(--gs-text); margin: 0 !important; opacity: .85; }

/* Preguntas frecuentes */
.gs-faq details { border-bottom: 1px solid var(--gs-line); padding: 14px 0; }
.gs-faq details:first-of-type { border-top: 1px solid var(--gs-line); }
.gs-faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.gs-faq summary::-webkit-details-marker { display: none; }
.gs-faq summary::after { content: "+"; color: var(--gs-primary); font-size: 22px; line-height: 1; }
.gs-faq details[open] summary::after { content: "–"; }
.gs-faq details p { margin: 10px 0 0; }

/* Tarjetas */
.gs-related { border-top: 1px solid var(--gs-line); margin-top: 60px; padding-top: 10px; }
.gs-related > h2 { text-align: center; }
.gs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.gs-card { background: var(--gs-white); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s; }
.gs-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.gs-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gs-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gs-card__kicker { font-size: 13px; font-weight: 600; text-transform: uppercase; color: var(--gs-primary); }
.gs-blog .gs-card h2, .gs-blog .gs-card h3 { font-size: 24px; line-height: 1.2; margin: 0; font-style: italic; }
.gs-blog .gs-card h2 a, .gs-blog .gs-card h3 a { color: var(--gs-text); }
.gs-card p { margin: 0; font-size: 16px; line-height: 1.5; }
.gs-card__more { margin-top: auto; padding-top: 6px; font-weight: 500; font-size: 15px; }

/* Índice del blog */
.gs-blog-intro { max-width: 780px; margin: 0 auto 40px; text-align: center; }
.gs-blog-intro .gs-script { font-family: var(--gs-script); font-size: 40px; color: var(--gs-primary); margin: 0; line-height: 1.1; }

/* Pie */
.gs-footer { background: var(--gs-bg); border-top: 1px solid var(--gs-line); text-align: center; font-size: 14px; padding: 30px 20px 40px; }
.gs-footer p { margin: 0 0 10px; }

/* Barra fija de llamada (móvil) */
.gs-callbar { display: none; }

@media (max-width: 1024px) {
  .gs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  body.gs-blog { font-size: 16px; padding-bottom: 64px; }
  .gs-blog h1 { font-size: 36px; }
  .gs-blog h2 { font-size: 29px; margin-top: 38px; }
  .gs-blog h3 { font-size: 22px; }
  .gs-logo img { width: 170px; }
  .gs-nav .gs-btn { display: none; }
  .gs-hero { padding: 26px 16px 22px; }
  .gs-main { padding: 20px 16px 50px; }
  .gs-grid { grid-template-columns: 1fr; }
  .gs-cta { padding: 22px 18px; }
  .gs-cta__title { font-size: 34px; }
  .gs-callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 99;
    background: #000; padding: 10px 12px;
  }
  .gs-blog .gs-callbar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; border-radius: 40px; color: #fff; font-weight: 500; font-size: 14px;
    text-transform: uppercase; text-decoration: none; background: var(--gs-primary); text-align: center; line-height: 1.15;
  }
  .gs-callbar svg { width: 20px; height: 20px; fill: currentColor; }
}
