/*
Theme Name: Suegra Tóxica
Theme URI: https://example.com/
Author: Suegra Tóxica
Description: A custom bilingual landing-page theme for the Suegra Tóxica comedy and relationship show.
Version: 1.3.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: suegra-toxica
*/


/* Suegra Tóxica blog and article layouts */
:root {
  --st-wine: #8D1636;
  --st-deep: #240B12;
  --st-cream: #FFF7ED;
  --st-gold: #E5A93D;
  --st-rose: #F8D7DF;
  --st-ink: #2B1720;
  --st-white: #FFFFFF;
  --st-shadow: 0 18px 50px rgba(36, 11, 18, .12);
  --st-radius: 24px;
}

body.st-blog-body,
body.single-post,
body.archive,
body.search,
body.error404 {
  margin: 0;
  background: var(--st-cream);
  color: var(--st-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body.admin-bar .st-nav { top: 32px; }

.st-container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.st-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 247, 237, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(141, 22, 54, .1);
}

.st-nav-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.st-brand {
  color: var(--st-ink);
  font-size: 1.28rem;
  font-weight: 950;
  letter-spacing: -.03em;
  text-decoration: none;
}

.st-brand span { color: var(--st-wine); }

.st-nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.st-nav-links a {
  color: var(--st-ink);
  font-size: .95rem;
  font-weight: 800;
  text-decoration: none;
}

.st-nav-links a:hover,
.st-nav-links a[aria-current="page"] {
  color: var(--st-wine);
}

.st-blog-hero {
  padding: 74px 0 56px;
  background:
    radial-gradient(circle at 82% 12%, rgba(229, 169, 61, .25), transparent 31%),
    radial-gradient(circle at 14% 18%, rgba(248, 215, 223, .88), transparent 34%),
    var(--st-cream);
}

.st-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--st-rose);
  color: var(--st-wine);
  font-size: .84rem;
  font-weight: 950;
}

.st-blog-title {
  max-width: 900px;
  margin: 18px 0 14px;
  font-size: clamp(2.75rem, 7vw, 5.8rem);
  line-height: .96;
  letter-spacing: -.065em;
}

.st-blog-intro {
  max-width: 760px;
  margin: 0;
  color: #694A56;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.st-blog-main {
  padding: 62px 0 82px;
}

.st-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.st-post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(141, 22, 54, .1);
  border-radius: var(--st-radius);
  background: var(--st-white);
  box-shadow: 0 10px 32px rgba(36, 11, 18, .07);
}

.st-post-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 15%, rgba(229,169,61,.58), transparent 25%),
    linear-gradient(135deg, var(--st-wine), var(--st-deep));
}

.st-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}

.st-post-card:hover .st-post-thumb img { transform: scale(1.035); }

.st-post-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  color: #FFF4E7;
  font-size: 3.1rem;
}

.st-post-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.st-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  color: #7A5B67;
  font-size: .8rem;
  font-weight: 800;
}

.st-category {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--st-rose);
  color: var(--st-wine);
  text-decoration: none;
}

.st-post-title {
  margin: 13px 0 9px;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.st-post-title a {
  color: var(--st-ink);
  text-decoration: none;
}

.st-post-excerpt {
  margin: 0 0 18px;
  color: #694A56;
}

.st-read-more {
  margin-top: auto;
  color: var(--st-wine);
  font-weight: 950;
  text-decoration: none;
}

.st-pagination {
  margin-top: 36px;
}

.st-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.st-pagination .page-numbers {
  min-width: 42px;
  padding: 9px 12px;
  border-radius: 12px;
  background: white;
  color: var(--st-wine);
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(141, 22, 54, .12);
}

.st-pagination .current {
  background: var(--st-wine);
  color: white;
}

.st-empty {
  padding: 38px;
  border-radius: var(--st-radius);
  background: white;
  box-shadow: var(--st-shadow);
  text-align: center;
}

.st-empty h2 { margin-top: 0; }

.st-article-wrap {
  width: min(850px, 92%);
  margin-inline: auto;
}

.st-article-header {
  padding: 70px 0 34px;
  text-align: center;
}

.st-article-title {
  margin: 16px auto;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.st-article-meta {
  color: #755664;
  font-size: .92rem;
  font-weight: 750;
}

.st-featured-image {
  width: min(1080px, 92%);
  margin: 0 auto 38px;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--st-shadow);
}

.st-featured-image img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  display: block;
}

.st-article-content {
  margin-bottom: 54px;
  padding: 38px;
  border-radius: 30px;
  background: white;
  box-shadow: 0 10px 36px rgba(36, 11, 18, .07);
  font-size: 1.08rem;
}

.st-article-content h2,
.st-article-content h3 {
  margin-top: 1.8em;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.st-article-content a { color: var(--st-wine); }
.st-article-content blockquote {
  margin: 1.7em 0;
  padding: 18px 22px;
  border-left: 5px solid var(--st-gold);
  border-radius: 0 14px 14px 0;
  background: var(--st-cream);
  font-size: 1.15em;
  font-weight: 700;
}
.st-article-content img { max-width: 100%; height: auto; border-radius: 18px; }

.st-article-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 70px;
}

.st-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid var(--st-wine);
  border-radius: 999px;
  color: var(--st-wine);
  font-weight: 950;
  text-decoration: none;
}

.st-button-primary {
  background: var(--st-wine);
  color: white;
}

.st-footer {
  padding: 34px 0 48px;
  border-top: 1px solid rgba(141, 22, 54, .12);
}

.st-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.st-footer-copy {
  color: #745866;
  font-size: .85rem;
}

.st-home-blog-section {
  padding: 76px 0;
  background: #FFFDFC;
}

.st-home-blog-head {
  max-width: 750px;
  margin-bottom: 32px;
}

.st-home-blog-head h2 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
  line-height: 1;
  letter-spacing: -.055em;
}

.st-home-blog-head p {
  color: #6B4D58;
}

.st-home-blog-footer {
  margin-top: 26px;
}

@media (max-width: 900px) {
  .st-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 782px) {
  body.admin-bar .st-nav { top: 46px; }
}

@media (max-width: 680px) {
  .st-nav-inner { min-height: 64px; }
  .st-nav-links { gap: 12px; }
  .st-nav-links a:nth-child(3) { display: none; }
  .st-brand { font-size: 1.03rem; }
  .st-blog-grid { grid-template-columns: 1fr; }
  .st-article-content { padding: 24px; }
  .st-footer-inner { align-items: flex-start; flex-direction: column; }
}
