/*
Theme Name: PromptForge Neon
Theme URI: https://example.com/
Author: OpenAI
Author URI: https://openai.com/
Description: Tema WordPress full width para PromptForge Pro, con diseño premium, modo oscuro/claro y una landing optimizada para destacar el generador de prompts.
Version: 1.5.6
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: promptforge-neon
Tags: custom-background, custom-logo, custom-menu, featured-images, one-column, translation-ready
*/

:root {
  --pf-bg: #06080d;
  --pf-bg-2: #0b0f18;
  --pf-bg-3: #101624;
  --pf-card: rgba(12, 16, 26, 0.88);
  --pf-card-2: rgba(16, 21, 34, 0.95);
  --pf-border: rgba(86, 231, 255, 0.16);
  --pf-border-2: rgba(179, 136, 255, 0.18);
  --pf-text: #edf3ff;
  --pf-muted: #97a4bd;
  --pf-cyan: #61ebff;
  --pf-violet: #b78aff;
  --pf-green: #50f0a8;
  --pf-shell: min(1600px, calc(100vw - 24px));
  --pf-shadow: 0 0 40px rgba(97, 235, 255, 0.08), 0 0 80px rgba(183, 138, 255, 0.06);
  --pf-radius: 30px;
  --pf-radius-sm: 22px;
}

html[data-theme="light"] {
  --pf-bg: #f5f8ff;
  --pf-bg-2: #ffffff;
  --pf-bg-3: #eef4ff;
  --pf-card: rgba(255, 255, 255, 0.92);
  --pf-card-2: rgba(246, 250, 255, 0.96);
  --pf-border: rgba(44, 170, 209, 0.22);
  --pf-border-2: rgba(130, 103, 230, 0.2);
  --pf-text: #132033;
  --pf-muted: #50627b;
  --pf-cyan: #009fcb;
  --pf-violet: #7057da;
  --pf-green: #14b86f;
  --pf-shadow: 0 12px 36px rgba(31, 72, 124, 0.08), 0 0 60px rgba(46, 176, 215, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--pf-text);
  background:
    radial-gradient(circle at top left, rgba(97, 235, 255, 0.12), transparent 24%),
    radial-gradient(circle at right, rgba(183, 138, 255, 0.10), transparent 18%),
    linear-gradient(180deg, #05070b 0%, #090d15 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at top left, rgba(0, 159, 203, 0.10), transparent 24%),
    radial-gradient(circle at right, rgba(112, 87, 218, 0.08), transparent 18%),
    linear-gradient(180deg, #eff5ff 0%, #f8fbff 100%);
}

a {
  color: var(--pf-cyan);
  text-decoration: none;
}

a:hover {
  opacity: 0.92;
}

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

.site-shell {
  width: var(--pf-shell);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(6, 8, 13, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

html[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.78);
  border-bottom-color: rgba(15, 50, 90, 0.08);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

.site-header__top {
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-header__middle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.site-header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-branding {
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-branding__home {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  color: inherit;
}

.site-branding__logo,
.site-branding .custom-logo-link {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
}

.site-branding__logo img,
.site-branding .custom-logo {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 0 28px rgba(97, 235, 255, 0.20);
}

.site-branding__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.site-title {
  margin: 0;
  font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--pf-text);
  text-wrap: balance;
  text-shadow: 0 0 24px rgba(97, 235, 255, 0.10);
}

.site-description {
  margin: 0;
  color: var(--pf-muted);
  font-size: 0.88rem;
  line-height: 1.25;
}

html[data-theme="light"] .site-title {
  color: #071726;
  text-shadow: 0 8px 20px rgba(0, 159, 203, 0.08);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .site-title {
    background: linear-gradient(90deg, #ffffff 0%, #b4f8ff 42%, #d7c4ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  html[data-theme="light"] .site-title {
    background: linear-gradient(90deg, #081726 0%, #0f6f8f 48%, #5f43db 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0;
  margin: 0;
}

.site-nav a {
  color: var(--pf-text);
  font-size: 0.95rem;
}

.site-nav .cta-link,
.theme-toggle {
  border: 1px solid rgba(97, 235, 255, 0.22);
  background: linear-gradient(180deg, rgba(97, 235, 255, 0.16), rgba(97, 235, 255, 0.08));
  color: var(--pf-text);
  border-radius: 16px;
  padding: 12px 16px;
  font-weight: 700;
  box-shadow: 0 0 24px rgba(97, 235, 255, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.site-nav .cta-link {
  color: #f5fcff;
}

html[data-theme="light"] .site-nav .cta-link,
html[data-theme="light"] .theme-toggle {
  color: #102033;
  border-color: rgba(0, 159, 203, 0.28);
  background: linear-gradient(180deg, rgba(0, 159, 203, 0.22), rgba(0, 159, 203, 0.12));
  box-shadow: 0 12px 24px rgba(0, 159, 203, 0.12);
}

html[data-theme="light"] .theme-toggle[aria-pressed="true"] {
  border-color: rgba(112, 87, 218, 0.30);
  background: linear-gradient(180deg, rgba(112, 87, 218, 0.22), rgba(112, 87, 218, 0.12));
  box-shadow: 0 12px 24px rgba(112, 87, 218, 0.12);
  color: #161f38;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
}

.theme-toggle__icon {
  font-size: 1rem;
}


.site-return-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid rgba(97, 235, 255, 0.22);
  background: linear-gradient(180deg, rgba(97, 235, 255, 0.16), rgba(97, 235, 255, 0.08));
  color: var(--pf-text);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 0 24px rgba(97, 235, 255, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.site-return-home__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  line-height: 1;
  flex: 0 0 18px;
}

.site-return-home__icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

html[data-theme="light"] .site-return-home {
  color: #102033;
  border-color: rgba(0, 159, 203, 0.28);
  background: linear-gradient(180deg, rgba(0, 159, 203, 0.22), rgba(0, 159, 203, 0.12));
  box-shadow: 0 12px 24px rgba(0, 159, 203, 0.12);
}

.site-return-home:hover,
.site-return-home:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(97, 235, 255, 0.38);
  box-shadow: 0 0 30px rgba(97, 235, 255, 0.16);
}

html[data-theme="light"] .site-return-home:hover,
html[data-theme="light"] .site-return-home:focus-visible {
  border-color: rgba(0, 159, 203, 0.40);
  box-shadow: 0 14px 26px rgba(0, 159, 203, 0.16);
}

.site-main {
  padding: 24px 0 44px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(97, 235, 255, 0.22);
  background: linear-gradient(180deg, rgba(97, 235, 255, 0.12), rgba(97, 235, 255, 0.06));
  color: var(--pf-text);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(97, 235, 255, 0.08);
}

html[data-theme="light"] .menu-toggle {
  color: #102033;
  border-color: rgba(0, 159, 203, 0.26);
  background: linear-gradient(180deg, rgba(0, 159, 203, 0.18), rgba(0, 159, 203, 0.10));
  box-shadow: 0 10px 20px rgba(0, 159, 203, 0.10);
}

.menu-toggle__icon {
  font-size: 1.1rem;
  line-height: 1;
}

body.menu-open {
  overflow: hidden;
}

.pf-page {
  border: 1px solid rgba(97, 235, 255, 0.12);
  border-radius: 32px;
  box-shadow: var(--pf-shadow);
  background:
    radial-gradient(circle at top left, rgba(97, 235, 255, 0.14), transparent 22%),
    radial-gradient(circle at right, rgba(183, 138, 255, 0.1), transparent 18%),
    linear-gradient(180deg, #06080d 0%, #0a0e16 100%);
  overflow: hidden;
}

html[data-theme="light"] .pf-page {
  background:
    radial-gradient(circle at top left, rgba(0, 159, 203, 0.10), transparent 22%),
    radial-gradient(circle at right, rgba(112, 87, 218, 0.08), transparent 18%),
    linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.pf-section {
  margin: 0 20px 20px;
  padding: 28px;
  border-radius: var(--pf-radius);
  background: var(--pf-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] .pf-section,
html[data-theme="light"] .entry-wrap,
html[data-theme="light"] .pf-card,
html[data-theme="light"] .pf-hero-card,
html[data-theme="light"] .pf-step,
html[data-theme="light"] .pf-faq details,
html[data-theme="light"] 
.site-footer__brand {
  display: grid;
  gap: 4px;
}

.site-footer__legal {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-footer__legal a {
  color: var(--pf-text);
  text-decoration: none;
  font-weight: 600;
}

.site-footer__legal a:hover {
  color: var(--pf-cyan);
}

html[data-theme="light"] .site-footer__legal a {
  color: #15253c;
}

html[data-theme="light"] .site-footer__legal a:hover {
  color: #006f9a;
}

.site-footer__legal span {
  color: var(--pf-muted);
}

.notice-card {
  border-color: rgba(17, 50, 87, 0.08);
}

.pf-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 26px;
  align-items: center;
  margin: 20px;
  padding: 28px;
  border-radius: var(--pf-radius);
  background: linear-gradient(180deg, rgba(10, 13, 21, 0.94), rgba(7, 10, 16, 0.84));
  border: 1px solid var(--pf-border);
}

html[data-theme="light"] .pf-hero {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.94));
}

.pf-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--pf-cyan);
  background: rgba(97, 235, 255, 0.1);
  border: 1px solid rgba(97, 235, 255, 0.2);
  margin-bottom: 18px;
}

html[data-theme="light"] .pf-badge {
  background: rgba(0, 159, 203, 0.08);
  border-color: rgba(0, 159, 203, 0.16);
}

.pf-hero h1,
.entry-title {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  line-height: 1.04;
  color: var(--pf-text);
}

.pf-hero p,
.page-intro {
  margin: 18px 0 0;
  color: var(--pf-muted);
  line-height: 1.85;
  font-size: 1rem;
  max-width: 780px;
}

.pf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.pf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 18px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  border: 1px solid rgba(97, 235, 255, 0.22);
  background: linear-gradient(180deg, rgba(97, 235, 255, 0.16), rgba(97, 235, 255, 0.08));
  color: #f3fbff;
  box-shadow: 0 0 24px rgba(97, 235, 255, 0.1);
}

html[data-theme="light"] .pf-btn {
  color: #102033;
  border-color: rgba(0, 159, 203, 0.28);
  background: linear-gradient(180deg, rgba(0, 159, 203, 0.24), rgba(0, 159, 203, 0.12));
  box-shadow: 0 12px 24px rgba(0, 159, 203, 0.12);
}

.pf-btn:hover,
.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(97, 235, 255, 0.42);
  box-shadow: 0 0 28px rgba(97, 235, 255, 0.16);
}

html[data-theme="light"] .pf-btn:hover,
html[data-theme="light"] .theme-toggle:hover {
  border-color: rgba(0, 159, 203, 0.40);
  box-shadow: 0 14px 26px rgba(0, 159, 203, 0.16);
}

.pf-btn.secondary {
  border-color: rgba(183, 138, 255, 0.24);
  background: linear-gradient(180deg, rgba(183, 138, 255, 0.14), rgba(183, 138, 255, 0.08));
  box-shadow: 0 0 24px rgba(183, 138, 255, 0.1);
}

html[data-theme="light"] .pf-btn.secondary {
  color: #161f38;
  border-color: rgba(112, 87, 218, 0.28);
  background: linear-gradient(180deg, rgba(112, 87, 218, 0.22), rgba(112, 87, 218, 0.12));
  box-shadow: 0 12px 24px rgba(112, 87, 218, 0.12);
}

.pf-hero-card {
  background: rgba(13, 17, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  padding: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

html[data-theme="light"] .pf-hero-card {
  background: rgba(248, 251, 255, 0.95);
}

.pf-metric-grid,
.pf-grid-2,
.pf-grid-3,
.pf-grid-4 {
  display: grid;
  gap: 16px;
}

.pf-metric-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pf-metric-item {
  min-width: 0;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
}

html[data-theme="light"] .pf-metric-item,
html[data-theme="light"] .pf-card,
html[data-theme="light"] .pf-step,
html[data-theme="light"] .pf-faq details {
  background: rgba(255, 255, 255, 0.72);
}

.pf-metric-item strong {
  display: block;
  font-size: clamp(1.6rem, 2vw, 2.1rem);
  color: var(--pf-text);
  margin-bottom: 6px;
}

.pf-metric-item span {
  color: var(--pf-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  display: block;
}

.pf-section-title {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
  line-height: 1.14;
  color: var(--pf-text);
}

.pf-section-subtitle {
  margin: 0 0 20px;
  color: var(--pf-muted);
  line-height: 1.85;
  font-size: 1rem;
  max-width: 900px;
}

.pf-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pf-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pf-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.pf-card {
  min-width: 0;
  background: var(--pf-card-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 20px;
}

.pf-card h3,
.pf-step h3,
.pf-faq summary {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--pf-text);
}

.pf-card p,
.pf-card li,
.pf-step p,
.pf-faq p,
.entry-content,
.entry-content p,
.entry-content li {
  color: var(--pf-muted);
  line-height: 1.85;
  font-size: 0.97rem;
}

.pf-card ul,
.entry-content ul {
  padding-left: 18px;
  margin: 0;
}

.pf-highlight {
  border: 1px solid var(--pf-border-2);
  background: linear-gradient(180deg, rgba(183, 138, 255, 0.08), rgba(97, 235, 255, 0.04));
}

html[data-theme="light"] .pf-highlight {
  background: linear-gradient(180deg, rgba(112, 87, 218, 0.06), rgba(0, 159, 203, 0.04));
}

.pf-work-section {
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(97, 235, 255, 0.08), 0 0 40px rgba(97, 235, 255, 0.08);
}

.pf-work-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(97, 235, 255, 0.09), transparent 34%);
  pointer-events: none;
}

@media (min-width: 1181px) {
  .pf-work-section {
    margin-left: 12px;
    margin-right: 12px;
  }
}

.pf-work-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.pf-work-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.pf-work-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--pf-text);
  border: 1px solid rgba(97, 235, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

html[data-theme="light"] .pf-work-steps span {
  color: #13253a;
  border-color: rgba(0, 159, 203, 0.22);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(240,248,255,0.92));
  box-shadow: 0 8px 18px rgba(31, 72, 124, 0.08), inset 0 1px 0 rgba(255,255,255,0.72);
}

.pf-generator-wrap {
  border: 1px solid rgba(97, 235, 255, 0.28);
  background: rgba(8, 11, 18, 0.88);
  border-radius: 28px;
  padding: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 0 36px rgba(97, 235, 255, 0.08);
}

html[data-theme="light"] .pf-generator-wrap {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(0, 159, 203, 0.2);
}

.pf-generator-wrap .pfp-wrap,
.entry-content .pfp-wrap {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
}

.pf-generator-wrap .pfp-hero,
.entry-content .pfp-hero,
.pf-generator-wrap .pfp-main-grid,
.entry-content .pfp-main-grid,
.pf-generator-wrap .pfp-bottom-grid,
.entry-content .pfp-bottom-grid,
.pf-generator-wrap .pfp-grid-4,
.entry-content .pfp-grid-4,
.pf-generator-wrap .pfp-cards,
.entry-content .pfp-cards,
.pf-generator-wrap .pfp-small-grid,
.entry-content .pfp-small-grid {
  width: 100% !important;
}


.pf-generator-wrap .pfp-main-grid,
.entry-content .pfp-main-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  align-items: start !important;
}

.pf-generator-wrap .pfp-main-grid > *,
.entry-content .pfp-main-grid > *,
.pf-generator-wrap .pfp-panel,
.entry-content .pfp-panel {
  min-width: 0 !important;
  width: 100% !important;
}

.pf-generator-wrap .pfp-textarea,
.entry-content .pfp-textarea,
.pf-generator-wrap .pfp-output,
.entry-content .pfp-output {
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}

.pf-steps {
  counter-reset: pf-step;
  display: grid;
  gap: 14px;
}

.pf-step {
  position: relative;
  padding: 18px 18px 18px 72px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.pf-step::before {
  counter-increment: pf-step;
  content: counter(pf-step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #061018;
  background: linear-gradient(180deg, var(--pf-cyan), #a2f3ff);
  box-shadow: 0 0 20px rgba(97, 235, 255, 0.18);
}

.pf-faq details {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  padding: 16px 18px;
}

.pf-faq details + details {
  margin-top: 12px;
}

.pf-faq summary {
  cursor: pointer;
  list-style: none;
}

.pf-faq summary::-webkit-details-marker {
  display: none;
}

.pf-cta {
  text-align: center;
  padding: 38px 24px;
  margin: 0 20px 20px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top, rgba(97, 235, 255, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(11, 15, 24, 0.96), rgba(8, 10, 17, 0.9));
  border: 1px solid rgba(97, 235, 255, 0.14);
}

html[data-theme="light"] .pf-cta {
  background:
    radial-gradient(circle at top, rgba(0, 159, 203, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 248, 255, 0.92));
}

.pf-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 3vw, 3rem);
  color: var(--pf-text);
}

.pf-cta p {
  margin: 0 auto 18px;
  max-width: 760px;
  color: var(--pf-muted);
  line-height: 1.8;
}

.entry-wrap {
  margin: 20px;
  padding: 28px;
  border-radius: var(--pf-radius);
  background: var(--pf-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.entry-content,
.entry-content > * {
  max-width: 100%;
}

.site-footer {
  padding: 8px 0 30px;
}

.site-footer__inner {
  padding: 16px 0 0;
  color: var(--pf-muted);
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.94rem;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}


.site-footer__brand {
  display: grid;
  gap: 4px;
}

.site-footer__legal {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-footer__legal a {
  color: var(--pf-text);
  text-decoration: none;
  font-weight: 600;
}

.site-footer__legal a:hover {
  color: var(--pf-cyan);
}

html[data-theme="light"] .site-footer__legal a {
  color: #15253c;
}

html[data-theme="light"] .site-footer__legal a:hover {
  color: #006f9a;
}

.site-footer__legal span {
  color: var(--pf-muted);
}

.notice-card {
  border: 1px solid rgba(255, 190, 92, 0.2);
  background: rgba(255, 190, 92, 0.08);
  color: #ffe7b5;
  border-radius: 18px;
  padding: 16px;
}


@media (max-width: 1024px) {
  .pf-generator-wrap .pfp-grid-4,
  .entry-content .pfp-grid-4,
  .pf-generator-wrap .pfp-cards,
  .entry-content .pfp-cards,
  .pf-generator-wrap .pfp-small-grid,
  .entry-content .pfp-small-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .pf-generator-wrap .pfp-bottom-grid,
  .entry-content .pfp-bottom-grid,
  .pf-generator-wrap .pfp-workspace-head,
  .entry-content .pfp-workspace-head {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 1180px) {
  .pf-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .site-header {
    backdrop-filter: blur(14px);
  }

  .site-header__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    min-height: auto;
    padding: 12px 0;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .site-header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }

  .site-header__middle {
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .site-return-home {
    display: inline-flex;
    min-width: 0;
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-return-home__text {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-header__actions {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(10, 14, 22, 0.82);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  }

  html[data-theme="light"] .site-header__actions {
    background: rgba(255,255,255,0.88);
    border-color: rgba(17, 50, 87, 0.08);
  }

  .site-header.is-menu-open .site-header__actions {
    display: flex;
  }

  .site-nav,
  .site-nav ul {
    width: 100%;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .site-nav li,
  .site-nav a,
  .site-nav .cta-link,
  .theme-toggle {
    width: 100%;
  }

  .site-nav a,
  .theme-toggle,
  .site-nav .cta-link {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 16px;
  }

  .pf-hero,
  .pf-grid-2,
  .pf-grid-3,
  .pf-grid-4,
  .pf-metric-grid,
  .pf-work-head {
    grid-template-columns: 1fr;
  }

  .pf-work-steps {
    justify-content: flex-start;
  }

  .pf-generator-wrap .pfp-main-grid,
  .entry-content .pfp-main-grid,
  .pf-generator-wrap .pfp-grid-4,
  .entry-content .pfp-grid-4,
  .pf-generator-wrap .pfp-cards,
  .entry-content .pfp-cards,
  .pf-generator-wrap .pfp-small-grid,
  .entry-content .pfp-small-grid,
  .pf-generator-wrap .pfp-bottom-grid,
  .entry-content .pfp-bottom-grid,
  .pf-generator-wrap .pfp-workspace-head,
  .entry-content .pfp-workspace-head {
    grid-template-columns: 1fr !important;
  }

  .pf-generator-wrap .pfp-panel-head,
  .entry-content .pfp-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .pf-generator-wrap .pfp-workspace-steps,
  .entry-content .pfp-workspace-steps {
    justify-content: flex-start;
  }

  .pf-hero-card,
  .pf-card,
  .pf-metric-item {
    min-width: 0;
  }
}

@media (max-width: 680px) {
  :root {
    --pf-shell: calc(100vw - 16px);
  }

  .site-shell {
    width: calc(100% - 16px);
  }

  .site-main {
    padding-top: 12px;
  }

  .site-branding__home {
    gap: 12px;
  }

  .site-branding__logo,
  .site-branding .custom-logo-link,
  .site-branding__logo img,
  .site-branding .custom-logo {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 15px;
  }

  .site-title {
    font-size: clamp(1.16rem, 1rem + 1.4vw, 1.42rem);
  }

  .site-description {
    font-size: 0.76rem;
  }

  .menu-toggle,
  .theme-toggle,
  .site-nav .cta-link,
  .site-nav a {
    font-size: 0.98rem;
  }

  .pf-page {
    border-radius: 24px;
  }

  .pf-hero,
  .pf-section,
  .pf-cta,
  .entry-wrap {
    margin-left: 8px;
    margin-right: 8px;
    padding: 18px;
    border-radius: 24px;
  }

  .pf-badge {
    letter-spacing: 0.14em;
    font-size: 10px;
    padding: 8px 10px;
    max-width: 100%;
    white-space: normal;
  }

  .pf-hero h1,
  .entry-title {
    font-size: clamp(2rem, 10vw, 2.8rem);
    line-height: 1.02;
  }

  .pf-hero p,
  .page-intro,
  .pf-section-subtitle,
  .pf-card p,
  .pf-card li,
  .pf-step p,
  .pf-faq p {
    font-size: 0.98rem;
    line-height: 1.78;
  }

  .pf-section-title,
  .pf-cta h2 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .pf-actions,
  .pf-work-steps {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .pf-actions .pf-btn,
  .pf-work-steps span {
    width: 100%;
    min-height: 52px;
    justify-content: center;
    text-align: center;
  }

  .pf-hero {
    gap: 18px;
  }

  .pf-step {
    padding-left: 18px;
    padding-top: 64px;
  }

  .pf-step::before {
    left: 18px;
    top: 16px;
  }

  .pf-generator-wrap {
    padding: 12px;
  }
}


/* Light mode consistency polish */
html[data-theme="light"] .pf-badge {
  color: #0f2338;
  background: linear-gradient(180deg, rgba(0, 159, 203, 0.16), rgba(0, 159, 203, 0.09));
  border-color: rgba(0, 159, 203, 0.24);
  box-shadow: 0 8px 18px rgba(0, 159, 203, 0.10);
  font-weight: 800;
}

html[data-theme="light"] .pf-work-steps span {
  color: #102336;
  border-color: rgba(0, 159, 203, 0.26);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(232,243,255,0.96));
  box-shadow: 0 10px 22px rgba(31, 72, 124, 0.10), inset 0 1px 0 rgba(255,255,255,0.78);
}

html[data-theme="light"] .site-description {
  color: #43556e;
}

html[data-theme="light"] .site-nav a:not(.cta-link) {
  color: #122236;
}

html[data-theme="light"] .pf-section-subtitle {
  color: #455972;
}


/* Microdetail polish v1.3.2 */
.pf-section,
.pf-card,
.pf-metric-item,
.pf-step,
.pf-faq details,
.pf-generator-wrap,
.pf-hero-card {
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

.pf-section {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02), 0 16px 40px rgba(5, 14, 28, 0.18);
}

.pf-card,
.pf-metric-item,
.pf-step,
.pf-faq details,

.site-footer__brand {
  display: grid;
  gap: 4px;
}

.site-footer__legal {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-footer__legal a {
  color: var(--pf-text);
  text-decoration: none;
  font-weight: 600;
}

.site-footer__legal a:hover {
  color: var(--pf-cyan);
}

html[data-theme="light"] .site-footer__legal a {
  color: #15253c;
}

html[data-theme="light"] .site-footer__legal a:hover {
  color: #006f9a;
}

.site-footer__legal span {
  color: var(--pf-muted);
}

.notice-card {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02), 0 12px 28px rgba(6, 16, 30, 0.10);
}

.pf-card:hover,
.pf-metric-item:hover,
.pf-step:hover,
.pf-faq details:hover {
  border-color: rgba(97, 235, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 18px 34px rgba(7, 18, 34, 0.14), 0 0 0 1px rgba(97, 235, 255, 0.05);
}

.pf-card h3,
.pf-step h3,
.pf-faq summary {
  letter-spacing: -0.01em;
}

.pf-card p,
.pf-card li,
.pf-step p,
.pf-faq p {
  text-wrap: pretty;
}

.pf-badge {
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(97, 235, 255, 0.10), inset 0 1px 0 rgba(255,255,255,0.05);
}

.pf-work-steps span {
  font-weight: 800;
  letter-spacing: -0.01em;
}

html[data-theme="light"] .pf-section {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75), 0 18px 42px rgba(31, 72, 124, 0.08);
}

html[data-theme="light"] .pf-card,
html[data-theme="light"] .pf-metric-item,
html[data-theme="light"] .pf-step,
html[data-theme="light"] .pf-faq details,
html[data-theme="light"] .notice-card,
html[data-theme="light"] .pf-hero-card,
html[data-theme="light"] .pf-generator-wrap {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82), 0 12px 28px rgba(31, 72, 124, 0.08);
}

html[data-theme="light"] .pf-card:hover,
html[data-theme="light"] .pf-metric-item:hover,
html[data-theme="light"] .pf-step:hover,
html[data-theme="light"] .pf-faq details:hover {
  border-color: rgba(0, 159, 203, 0.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.86), 0 16px 32px rgba(31, 72, 124, 0.10), 0 0 0 1px rgba(0, 159, 203, 0.06);
}

html[data-theme="light"] .pf-card p,
html[data-theme="light"] .pf-card li,
html[data-theme="light"] .pf-step p,
html[data-theme="light"] .pf-faq p,
html[data-theme="light"] .pf-metric-item span {
  color: #475a72;
}

html[data-theme="light"] .pf-card h3,
html[data-theme="light"] .pf-step h3,
html[data-theme="light"] .pf-faq summary,
html[data-theme="light"] .pf-metric-item strong {
  color: #102338;
}

html[data-theme="light"] .pf-work-steps span {
  border-color: rgba(0, 159, 203, 0.28);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(228,241,255,0.94));
  box-shadow: 0 12px 24px rgba(31, 72, 124, 0.10), inset 0 1px 0 rgba(255,255,255,0.84);
}

html[data-theme="light"] .pf-btn,
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .site-nav .cta-link,
html[data-theme="light"] .menu-toggle {
  text-shadow: 0 1px 0 rgba(255,255,255,0.18);
}


/* Bloques publicitarios del plugin core */
.pf-theme-ad-slot,
.pfp-public-ad-slot {
  max-width: 1200px;
  margin: 22px auto;
}
.pfp-public-ad-slot {
  border: 1px solid rgba(97, 235, 255, 0.16);
  background: rgba(12, 16, 26, 0.78);
  border-radius: 24px;
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.14);
}
.pfp-public-ad-slot__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pfp-cyan, #61ebff);
  background: rgba(97, 235, 255, 0.08);
  border: 1px solid rgba(97, 235, 255, 0.18);
  border-radius: 999px;
  padding: 7px 11px;
  margin-bottom: 12px;
}
.pfp-public-ad-slot__inner > *:first-child {
  margin-top: 0 !important;
}
html[data-theme="light"] .pfp-public-ad-slot {
  background: rgba(255,255,255,0.94);
  border-color: rgba(0, 159, 203, 0.16);
  box-shadow: 0 8px 24px rgba(34,58,94,.08);
}
html[data-theme="light"] .pfp-public-ad-slot__label {
  color: #0f172a;
  background: rgba(37, 99, 235, 0.10);
  border-color: rgba(37, 99, 235, 0.18);
}
@media (max-width: 900px) {
  .pf-theme-ad-slot,
  .pfp-public-ad-slot {
    margin: 18px 0;
  }
}


/* Mobile app-like full-width UX */
@media (max-width: 820px) {
  .site-shell {
    width: calc(100% - 8px);
  }

  .pf-page {
    border-radius: 22px;
  }

  .pf-work-section {
    margin-left: 2px;
    margin-right: 2px;
    padding: 12px 8px 14px;
    border-radius: 22px;
  }

  .pf-work-head {
    gap: 14px;
    margin-bottom: 12px;
  }

  .pf-generator-wrap {
    padding: 6px;
    border-radius: 22px;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: 100%;
  }

  .pf-page {
    border-left: 0;
    border-right: 0;
    border-radius: 18px;
  }

  .pf-section,
  .pf-cta,
  .entry-wrap {
    margin-left: 0;
    margin-right: 0;
    padding: 14px 10px;
    border-radius: 18px;
  }

  .pf-work-section {
    margin-left: 0;
    margin-right: 0;
    padding: 10px 4px 12px;
    border-radius: 18px;
  }

  .pf-generator-wrap {
    padding: 4px;
    border-radius: 18px;
  }

  .pf-work-steps {
    gap: 8px;
  }

  .pf-work-steps span {
    min-height: 48px;
    padding: 10px 12px;
    font-size: 0.86rem;
  }
}


/* Mobile priority UX vNext: more space for form fields and textarea */
@media (max-width: 820px) {
  .site-shell {
    width: 100%;
    padding-left: max(4px, env(safe-area-inset-left));
    padding-right: max(4px, env(safe-area-inset-right));
  }

  .pf-page {
    border-left: 0;
    border-right: 0;
  }

  .pf-work-section {
    padding: 8px 2px 10px;
    background: linear-gradient(180deg, rgba(8,16,28,.94), rgba(7,10,16,.88));
  }

  .pf-work-head {
    gap: 10px;
    margin-bottom: 10px;
  }

  .pf-work-head > div:first-child .pf-badge {
    margin-bottom: 10px;
    font-size: 10px;
    letter-spacing: .16em;
    padding: 7px 12px;
  }

  .pf-work-head > div:first-child .pf-section-title {
    font-size: 30px;
    line-height: 1.1;
    margin-bottom: 6px;
  }

  .pf-work-head > div:first-child .pf-section-subtitle {
    display: none;
  }

  .pf-work-steps {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .pf-work-steps::-webkit-scrollbar { display: none; }
  .pf-work-steps span {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 10px 14px;
    font-size: 13px;
  }

  .pf-generator-wrap {
    padding: 2px;
    border-radius: 20px;
  }

  .pf-work-section > .pf-section-subtitle:last-child {
    display: none;
  }
}

@media (max-width: 560px) {
  .site-shell {
    padding-left: max(2px, env(safe-area-inset-left));
    padding-right: max(2px, env(safe-area-inset-right));
  }

  .pf-page {
    border-radius: 0;
  }

  .pf-work-section {
    padding: 6px 0 8px;
    border-radius: 16px;
  }

  .pf-work-head > div:first-child .pf-section-title {
    font-size: 28px;
  }

  .pf-work-steps span {
    padding: 9px 12px;
    font-size: 12px;
  }

  .pf-generator-wrap {
    padding: 0;
    border-radius: 16px;
  }
}


/* Workspace emphasis refresh */
.pf-work-section {
  border-color: rgba(97, 235, 255, 0.24);
  background:
    radial-gradient(circle at top right, rgba(97, 235, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(16, 24, 40, 0.96), rgba(10, 14, 22, 0.94));
  box-shadow: inset 0 0 0 1px rgba(97, 235, 255, 0.08), 0 20px 46px rgba(7, 18, 34, 0.22), 0 0 0 1px rgba(97,235,255,0.04);
}

.pf-work-head > div:first-child {
  padding: 18px 18px 16px;
  border-radius: 22px;
  border: 1px solid rgba(97, 235, 255, 0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.pf-generator-wrap {
  border-color: rgba(97, 235, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(9, 13, 22, 0.98), rgba(7, 10, 16, 0.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03), 0 0 46px rgba(97, 235, 255, 0.10), 0 24px 44px rgba(5, 14, 28, 0.22);
}

html[data-theme="light"] .pf-work-section {
  border-color: rgba(0, 159, 203, 0.22);
  background:
    radial-gradient(circle at top right, rgba(0, 159, 203, 0.10), transparent 30%),
    linear-gradient(180deg, rgba(243, 249, 255, 0.98), rgba(235, 244, 255, 0.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.88), 0 20px 42px rgba(31,72,124,0.10), 0 0 0 1px rgba(0, 159, 203, 0.05);
}

html[data-theme="light"] .pf-work-head > div:first-child {
  border-color: rgba(0, 159, 203, 0.16);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(242,247,255,0.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 12px 24px rgba(31,72,124,0.06);
}

html[data-theme="light"] .pf-generator-wrap {
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(246,250,255,0.92));
  border-color: rgba(0, 159, 203, 0.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 18px 36px rgba(31,72,124,0.10), 0 0 0 1px rgba(0,159,203,0.05);
}

@media (max-width: 767px) {
  .pf-work-head > div:first-child {
    padding: 14px 14px 12px;
    border-radius: 18px;
  }
}


/* Workspace emphasis boost v2 */
.pf-work-section {
  border-color: rgba(97, 235, 255, 0.30);
  background:
    radial-gradient(circle at top right, rgba(97, 235, 255, 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(183, 138, 255, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(11, 18, 30, 0.98), rgba(7, 12, 20, 0.96));
  box-shadow: inset 0 0 0 1px rgba(97,235,255,0.08), 0 22px 48px rgba(7, 18, 34, 0.24), 0 0 0 1px rgba(97,235,255,0.05);
}

.pf-work-head > div:first-child {
  border-color: rgba(97, 235, 255, 0.18);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.pf-generator-wrap {
  border-color: rgba(97, 235, 255, 0.38);
  background:
    radial-gradient(circle at top right, rgba(97, 235, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(8, 13, 22, 0.99), rgba(7, 10, 16, 0.97));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 0 54px rgba(97, 235, 255, 0.12), 0 24px 44px rgba(5, 14, 28, 0.24);
}

html[data-theme="light"] .pf-work-section {
  border-color: rgba(28, 104, 143, 0.22);
  background:
    radial-gradient(circle at top right, rgba(0, 159, 203, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(214, 231, 243, 0.98), rgba(201, 220, 235, 0.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.78), 0 20px 42px rgba(31,72,124,0.10), 0 0 0 1px rgba(28,104,143,0.05);
}

html[data-theme="light"] .pf-work-head > div:first-child {
  border-color: rgba(28, 104, 143, 0.16);
  background: linear-gradient(180deg, rgba(255,255,255,0.84), rgba(240,247,255,0.72));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.88), 0 12px 24px rgba(31,72,124,0.06);
}

html[data-theme="light"] .pf-generator-wrap {
  background: linear-gradient(180deg, rgba(244,250,255,0.96), rgba(237,245,255,0.94));
  border-color: rgba(28, 104, 143, 0.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.88), 0 18px 36px rgba(31,72,124,0.10), 0 0 0 1px rgba(28,104,143,0.05);
}


.pf-guides__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.pf-guides__grid {
  align-items: stretch;
}

.pf-guide-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pf-guide-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--pf-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.pf-guide-card h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.35;
}

.pf-guide-card h3 a {
  color: var(--pf-text);
}

.pf-guide-card p {
  margin: 0;
  color: var(--pf-muted);
  line-height: 1.75;
}

.pf-guide-card__link {
  margin-top: auto;
  font-weight: 700;
  color: var(--pf-cyan);
}

html[data-theme="light"] .pf-guide-card__link {
  color: #0a7592;
}

@media (max-width: 960px) {
  .pf-guides__head {
    align-items: stretch;
  }

  .pf-guides__head .pf-btn {
    width: 100%;
  }
}

.blog-shell {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 52px;
}

.blog-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 22px;
}

.blog-hero__main,
.blog-hero__side,
.blog-card,
.blog-single,
.blog-sidebar,
.blog-empty,
.blog-section {
  background: linear-gradient(180deg, rgba(10,13,21,0.94), rgba(7,10,16,0.84));
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius);
  box-shadow: var(--pf-shadow);
}

html[data-theme="light"] .blog-hero__main,
html[data-theme="light"] .blog-hero__side,
html[data-theme="light"] .blog-card,
html[data-theme="light"] .blog-single,
html[data-theme="light"] .blog-sidebar,
html[data-theme="light"] .blog-empty,
html[data-theme="light"] .blog-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,250,255,0.94));
}

.blog-hero__main {
  padding: 34px;
}

.blog-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pf-cyan);
  background: rgba(97,235,255,0.10);
  border: 1px solid rgba(97,235,255,0.20);
  margin-bottom: 18px;
}

html[data-theme="light"] .blog-eyebrow {
  background: rgba(0,159,203,0.10);
  border-color: rgba(0,159,203,0.18);
  color: #0a7592;
}

.blog-title {
  margin: 0;
  color: var(--pf-text);
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.4rem);
  line-height: 1.04;
  text-wrap: balance;
}

.blog-subtitle {
  margin: 16px 0 0;
  max-width: 760px;
  color: var(--pf-muted);
  font-size: 1rem;
  line-height: 1.85;
}

.blog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.blog-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 18px;
  font-size: 0.96rem;
  font-weight: 700;
  color: #f6fcff;
  border: 1px solid rgba(97, 235, 255, 0.22);
  background: linear-gradient(180deg, rgba(97,235,255,0.16), rgba(97,235,255,0.08));
  box-shadow: 0 0 24px rgba(97,235,255,0.10);
}

.blog-button--ghost {
  color: var(--pf-text);
  border-color: rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  box-shadow: none;
}

html[data-theme="light"] .blog-button {
  color: #0d1c2f;
}

.blog-hero__side {
  padding: 22px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.blog-hero__box {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
}

html[data-theme="light"] .blog-hero__box {
  background: rgba(13, 27, 46, 0.03);
  border-color: rgba(13, 27, 46, 0.08);
}

.blog-hero__box strong {
  display: block;
  color: var(--pf-text);
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 8px;
}

.blog-hero__box span {
  color: var(--pf-muted);
  font-size: 0.95rem;
}

.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--pf-text);
  font-size: 0.9rem;
  font-weight: 600;
}

.blog-chip.is-active,
.blog-chip:hover {
  border-color: rgba(97,235,255,0.22);
  background: rgba(97,235,255,0.10);
  color: var(--pf-cyan);
}

html[data-theme="light"] .blog-chip {
  background: rgba(13,27,46,0.03);
  border-color: rgba(13,27,46,0.08);
  color: #12213a;
}

html[data-theme="light"] .blog-chip.is-active,
html[data-theme="light"] .blog-chip:hover {
  color: #0a7592;
  background: rgba(0,159,203,0.08);
  border-color: rgba(0,159,203,0.16);
}

.blog-search {
  flex: 1 1 320px;
  max-width: 420px;
}

.blog-search form {
  display: flex;
  gap: 10px;
}

.blog-search input[type="search"] {
  width: 100%;
  min-height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--pf-text);
  padding: 0 14px;
}

.blog-search input[type="search"]::placeholder {
  color: var(--pf-muted);
}

.blog-search button {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(97,235,255,0.22);
  background: linear-gradient(180deg, rgba(97,235,255,0.16), rgba(97,235,255,0.08));
  color: #f6fcff;
  font-weight: 700;
}

html[data-theme="light"] .blog-search input[type="search"] {
  background: rgba(13,27,46,0.03);
  border-color: rgba(13,27,46,0.08);
  color: #0f1f36;
}

html[data-theme="light"] .blog-search button {
  color: #0d1c2f;
}

.blog-featured {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  margin-bottom: 22px;
}

.blog-featured__media,
.blog-card__thumb {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(97,235,255,0.14), rgba(183,138,255,0.18));
  min-height: 240px;
}

.blog-featured__media img,
.blog-card__thumb img,
.blog-single__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-featured__content {
  padding: 10px 4px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  color: var(--pf-muted);
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.blog-meta a {
  color: var(--pf-cyan);
}

.blog-featured__title,
.blog-card__title,
.blog-single__title {
  margin: 0 0 12px;
  line-height: 1.15;
  color: var(--pf-text);
}

.blog-featured__title {
  font-size: clamp(1.7rem, 1.2rem + 1vw, 2.4rem);
}

.blog-card__title {
  font-size: 1.2rem;
}

.blog-featured__excerpt,
.blog-card__excerpt {
  color: var(--pf-muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

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

.blog-card {
  overflow: hidden;
}

.blog-card__body {
  padding: 18px;
}

.blog-card__thumb {
  min-height: 210px;
}

.blog-card__thumb--placeholder,
.blog-featured__media--placeholder,
.blog-single__hero--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.88);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.4rem, 0.8rem + 1.2vw, 2rem);
  text-align: center;
  padding: 24px;
}

.blog-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.blog-card__readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.blog-card__category {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(97,235,255,0.10);
  border: 1px solid rgba(97,235,255,0.18);
  color: var(--pf-cyan);
  font-size: 0.8rem;
  font-weight: 700;
}

html[data-theme="light"] .blog-card__category {
  color: #0a7592;
  background: rgba(0,159,203,0.08);
  border-color: rgba(0,159,203,0.16);
}

.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--pf-text);
  font-weight: 700;
}

.blog-pagination .current,
.blog-pagination .page-numbers:hover {
  border-color: rgba(97,235,255,0.22);
  background: rgba(97,235,255,0.10);
  color: var(--pf-cyan);
}

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

.blog-sidebar {
  padding: 20px;
  position: sticky;
  top: 96px;
  align-self: start;
}

.blog-sidebar h3 {
  margin: 0 0 14px;
  font-size: 1.1rem;
}

.blog-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.blog-sidebar li a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--pf-text);
}

html[data-theme="light"] .blog-sidebar li a {
  background: rgba(13,27,46,0.03);
  border-color: rgba(13,27,46,0.08);
}

.blog-single {
  padding: 26px;
}

.blog-single__hero {
  overflow: hidden;
  border-radius: 26px;
  margin: 18px 0 22px;
  min-height: 300px;
  background: linear-gradient(135deg, rgba(97,235,255,0.14), rgba(183,138,255,0.18));
}

.blog-single__title {
  font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem);
  text-wrap: balance;
}

.blog-single__content,
.blog-single__content p,
.blog-single__content li,
.blog-single__content blockquote,
.blog-single__content h2,
.blog-single__content h3,
.blog-single__content h4 {
  color: var(--pf-text);
}

.blog-single__content {
  font-size: 1rem;
  line-height: 1.9;
}

.blog-single__content h2,
.blog-single__content h3,
.blog-single__content h4 {
  margin-top: 1.8em;
  line-height: 1.2;
}

.blog-single__content p,
.blog-single__content ul,
.blog-single__content ol {
  margin-bottom: 1.1em;
}

.blog-single__content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-single__content blockquote {
  margin: 1.6em 0;
  padding: 18px 20px;
  border-left: 4px solid var(--pf-cyan);
  background: rgba(255,255,255,0.03);
  border-radius: 0 18px 18px 0;
}

html[data-theme="light"] .blog-single__content blockquote {
  background: rgba(13,27,46,0.03);
}

.blog-related {
  margin-top: 26px;
}

.blog-related h2,
.blog-section__title {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 1.1rem + 0.8vw, 2rem);
}

.blog-empty {
  padding: 32px;
  text-align: center;
}

.blog-empty p {
  color: var(--pf-muted);
}

.blog-note {
  color: var(--pf-muted);
  font-size: 0.95rem;
}

@media (max-width: 1180px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .blog-layout {
    grid-template-columns: 1fr;
  }
  .blog-sidebar {
    position: static;
  }
}

@media (max-width: 960px) {
  .blog-hero,
  .blog-featured {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .blog-shell {
    padding: 18px 0 34px;
  }
  .blog-hero__main,
  .blog-hero__side,
  .blog-single,
  .blog-empty,
  .blog-sidebar,
  .blog-section {
    padding: 20px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-search form {
    flex-direction: column;
  }
  .blog-search,
  .blog-search button {
    max-width: none;
  }
  .blog-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .blog-button,
  .blog-button--ghost {
    width: 100%;
  }
}


/* Blog magazine v2 */
.blog-shell--magazine{max-width:1400px;margin:0 auto;padding:32px 22px 72px;}
.blog-hero--compact{align-items:stretch;margin-bottom:24px;}
.blog-showcase.blog-section,.blog-magazine.blog-section{padding:26px;}
.blog-showcase__head{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;margin-bottom:18px;}
.blog-showcase__head--grid{align-items:center;}
.blog-slider{position:relative;overflow:hidden;border-radius:28px;border:1px solid rgba(255,255,255,.07);background:linear-gradient(180deg,rgba(8,13,22,.9),rgba(8,11,18,.72));}
html[data-theme="light"] .blog-slider{background:linear-gradient(180deg,rgba(250,252,255,.96),rgba(239,245,251,.92));border-color:rgba(22,39,78,.08);}
.blog-slider__track{display:flex;transition:transform .45s ease;will-change:transform;}
.blog-slide{min-width:100%;display:grid;grid-template-columns:1.15fr .85fr;gap:0;}
.blog-slide__media,.blog-slide__thumb{height:100%;min-height:340px;display:block;}
.blog-slide__thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.blog-slide__body{padding:28px;display:flex;flex-direction:column;justify-content:center;gap:14px;}
.blog-slide__title{font-size:clamp(1.8rem,2vw,2.6rem);line-height:1.12;margin:0;}
.blog-slide__title a{color:inherit;text-decoration:none;}
.blog-slide__excerpt{margin:0;color:var(--muted);font-size:1rem;line-height:1.8;}
.blog-slider__actions{display:flex;gap:10px;}
.blog-slider__button{appearance:none;border:none;border-radius:999px;padding:12px 14px;min-width:48px;background:rgba(6,13,22,.85);color:#fff;border:1px solid rgba(0,210,255,.22);box-shadow:0 10px 24px rgba(0,0,0,.18);cursor:pointer;transition:.2s ease;}
.blog-slider__button:hover{transform:translateY(-1px);border-color:rgba(0,210,255,.4);}
html[data-theme="light"] .blog-slider__button{background:#ffffff;color:#172033;border-color:rgba(22,39,78,.12);}
.blog-slider__dots{display:flex;justify-content:center;gap:10px;padding:16px 16px 18px;}
.blog-slider__dot{width:10px;height:10px;border-radius:999px;border:none;background:rgba(255,255,255,.24);cursor:pointer;transition:.2s ease;}
.blog-slider__dot.is-active{width:30px;background:linear-gradient(90deg,#58d5ff,#8a7bff);}
html[data-theme="light"] .blog-slider__dot{background:rgba(19,32,63,.18);}
.blog-magazine{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start;}
.blog-magazine__content{min-width:0;}
.blog-magazine__sidebar{position:sticky;top:110px;display:flex;flex-direction:column;gap:18px;}
.blog-sidepanel{border-radius:24px;padding:22px;background:linear-gradient(180deg,rgba(7,12,20,.88),rgba(8,12,19,.74));border:1px solid rgba(255,255,255,.07);box-shadow:0 18px 36px rgba(0,0,0,.14);}
html[data-theme="light"] .blog-sidepanel{background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(244,248,252,.95));border-color:rgba(22,39,78,.09);box-shadow:0 18px 36px rgba(15,23,42,.06);}
.blog-sidepanel--soft{background:linear-gradient(180deg,rgba(14,20,34,.86),rgba(8,12,19,.7));}
html[data-theme="light"] .blog-sidepanel--soft{background:linear-gradient(180deg,rgba(247,250,255,.98),rgba(239,245,251,.96));}
.blog-sidepanel__title{font-size:1.15rem;margin:0 0 10px;}
.blog-sidepanel__intro{margin:0 0 12px;color:var(--muted);line-height:1.7;font-size:.96rem;}
.blog-categories-list,.blog-note-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;}
.blog-categories-list li a{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);text-decoration:none;color:inherit;transition:.2s ease;}
.blog-categories-list li a:hover{transform:translateX(2px);border-color:rgba(0,210,255,.3);}
html[data-theme="light"] .blog-categories-list li a{background:#fff;border-color:rgba(22,39,78,.08);}
.blog-note-list li{padding:10px 0;border-bottom:1px dashed rgba(255,255,255,.08);color:var(--muted);}
html[data-theme="light"] .blog-note-list li{border-bottom-color:rgba(22,39,78,.08);}
.blog-magazine__grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.95fr);gap:22px;align-items:start;}
.blog-featured--magazine{height:100%;}
.blog-featured--magazine .blog-featured__media{min-height:280px;}
.blog-magazine__cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-content:start;}
.blog-grid--archive{grid-template-columns:repeat(2,minmax(0,1fr));}
@media (max-width: 1180px){.blog-magazine{grid-template-columns:1fr;}.blog-magazine__sidebar{position:static;}.blog-slide{grid-template-columns:1fr;}.blog-slide__media,.blog-slide__thumb{min-height:240px;}.blog-magazine__grid{grid-template-columns:1fr;}.blog-magazine__cards{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width: 860px){.blog-showcase__head{flex-direction:column;align-items:flex-start;}.blog-magazine__cards,.blog-grid--archive{grid-template-columns:1fr;}.blog-slide__body{padding:22px;}.blog-slider__actions{width:100%;justify-content:flex-end;}}
@media (max-width: 640px){.blog-shell--magazine{padding:22px 14px 60px;}.blog-showcase.blog-section,.blog-magazine.blog-section{padding:18px;}.blog-slide__title{font-size:1.65rem;}.blog-slide__excerpt{font-size:.95rem;}.blog-slider__button{padding:10px 12px;}.blog-showcase__head--grid .blog-search{width:100%;}.blog-search--compact form{width:100%;}}


/* Blog magazine poster layout */
.blog-magazine__grid--posters{display:flex;flex-direction:column;gap:18px;}
.blog-poster-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.blog-poster{position:relative;overflow:hidden;min-height:332px;border-radius:28px;background:linear-gradient(135deg,#6bc2df 0%,#7db1d8 48%,#8d89cf 100%);box-shadow:0 18px 42px rgba(8,15,27,.12);}
.blog-poster--featured{min-height:430px;background:linear-gradient(135deg,#6bc2df 0%,#73c1d6 32%,#7ca7d0 65%,#79b888 100%);}
.blog-poster:nth-child(4n+1), .blog-poster-grid .blog-poster:nth-child(4n+1){background:linear-gradient(135deg,#d47a5f 0%,#c8685d 100%);}
.blog-poster:nth-child(4n+2), .blog-poster-grid .blog-poster:nth-child(4n+2){background:linear-gradient(135deg,#b681d4 0%,#7c98d3 100%);}
.blog-poster:nth-child(4n+3), .blog-poster-grid .blog-poster:nth-child(4n+3){background:linear-gradient(135deg,#ca88d6 0%,#8597d6 100%);}
.blog-poster:nth-child(4n+4), .blog-poster-grid .blog-poster:nth-child(4n+4){background:linear-gradient(135deg,#4bd69e 0%,#4d90de 100%);}
.blog-poster__media,.blog-poster__thumb{position:absolute;inset:0;display:block;width:100%;height:100%;}
.blog-poster__thumb img{width:100%;height:100%;object-fit:cover;display:block;opacity:.28;mix-blend-mode:multiply;transform:scale(1.02);}
.blog-poster__thumb--placeholder{display:flex;align-items:center;justify-content:center;height:100%;padding:24px;font-size:clamp(1.3rem,.95rem + 1vw,2.3rem);font-weight:800;line-height:1.1;color:rgba(255,255,255,.16);text-align:center;}
.blog-poster__overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,14,24,.10) 0%,rgba(8,14,24,.18) 28%,rgba(8,14,24,.68) 100%);}
.blog-poster__content{position:absolute;left:0;right:0;bottom:0;padding:28px 26px;z-index:2;}
.blog-poster__badge{display:inline-flex;align-items:center;min-height:30px;padding:6px 11px;border-radius:6px;background:#080808;color:#fff !important;font-size:.72rem;font-weight:800;letter-spacing:.04em;text-transform:none;margin-bottom:16px;}
.blog-poster__title{margin:0 0 14px;color:#fff;font-size:clamp(1.55rem,1.05rem + 1.2vw,2.15rem);line-height:1.15;font-weight:800;max-width:92%;text-wrap:balance;}
.blog-poster__title a{color:#fff;}
.blog-poster__title--featured{font-size:clamp(2rem,1.2rem + 1.6vw,3.1rem);max-width:82%;}
.blog-poster__meta{display:flex;flex-wrap:wrap;gap:12px 18px;color:rgba(255,255,255,.86);font-size:.92rem;font-weight:600;}
.blog-poster__meta span{display:inline-flex;align-items:center;gap:6px;}
.blog-poster__meta span::before{content:"•";font-size:.7rem;opacity:.75;}
.blog-poster__meta span:first-child::before{content:"";display:none;}
html[data-theme="light"] .blog-poster{box-shadow:0 18px 42px rgba(31,56,90,.10);}
.blog-showcase__head--grid{align-items:end;}
.blog-showcase__head--grid .blog-search{max-width:280px;}
.blog-card,.blog-featured,.blog-magazine__cards{display:none !important;}
@media (max-width: 1180px){.blog-poster-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width: 860px){.blog-poster-grid{grid-template-columns:1fr;}.blog-poster--featured{min-height:360px;}.blog-poster{min-height:300px;}.blog-poster__title--featured{max-width:100%;}.blog-poster__title{max-width:100%;}}
@media (max-width: 640px){.blog-poster--featured{min-height:320px;}.blog-poster{min-height:270px;border-radius:24px;}.blog-poster__content{padding:22px 20px;}.blog-poster__badge{margin-bottom:14px;}.blog-poster__meta{font-size:.84rem;gap:10px 14px;}.blog-showcase__head--grid .blog-search{max-width:none;}}

/* Blog poster grid v5 fix */
.blog-posters-layout{display:grid;grid-template-columns:1fr;gap:18px;}
.blog-poster--featured-main{min-height:430px;background:linear-gradient(135deg,#6bc2df 0%,#73c1d6 32%,#7ca7d0 65%,#79b888 100%);position:relative;overflow:hidden;border-radius:28px;box-shadow:0 18px 42px rgba(8,15,27,.12);}
.blog-posters-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.blog-posters-grid .blog-poster{position:relative;overflow:hidden;min-height:332px;border-radius:28px;background:linear-gradient(135deg,#d47a5f 0%,#c8685d 100%);box-shadow:0 18px 42px rgba(8,15,27,.12);}
.blog-posters-grid .blog-poster:nth-child(4n+2){background:linear-gradient(135deg,#b681d4 0%,#7c98d3 100%);}
.blog-posters-grid .blog-poster:nth-child(4n+3){background:linear-gradient(135deg,#ca88d6 0%,#8597d6 100%);}
.blog-posters-grid .blog-poster:nth-child(4n+4){background:linear-gradient(135deg,#4bd69e 0%,#4d90de 100%);}
.blog-posters-grid .blog-poster:nth-child(4n+5){background:linear-gradient(135deg,#d47a5f 0%,#c8685d 100%);}
.blog-posters-grid .blog-poster .blog-poster__title{font-size:clamp(1.45rem,1rem + 1vw,2.2rem);max-width:90%;}
.blog-posters-grid .blog-poster .blog-poster__content{padding:26px 24px;}
.blog-posters-grid .blog-poster .blog-poster__meta{font-size:.9rem;}
@media (max-width: 860px){
  .blog-posters-grid{grid-template-columns:1fr;}
  .blog-poster--featured-main{min-height:340px;}
  .blog-posters-grid .blog-poster{min-height:280px;}
}


/* Blog magazine v6 */
.blog-shell--editorial{max-width:1760px;padding-left:18px;padding-right:18px;}
.blog-magazine--wide{grid-template-columns:minmax(0,1fr) 260px;gap:18px;}
.blog-magazine--wide .blog-magazine__content{display:flex;flex-direction:column;gap:18px;}
.blog-featured-box{padding:22px;border-radius:30px;background:linear-gradient(180deg,rgba(7,12,20,.92),rgba(8,12,19,.78));border:1px solid rgba(255,255,255,.07);box-shadow:0 18px 36px rgba(0,0,0,.14);}
html[data-theme="light"] .blog-featured-box{background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(244,248,252,.96));border-color:rgba(22,39,78,.09);box-shadow:0 18px 36px rgba(15,23,42,.05);}
.blog-featured-grid{display:grid;gap:16px;grid-template-columns:repeat(4,minmax(0,1fr));}
.blog-featured-grid--count-1{grid-template-columns:1fr;}
.blog-featured-grid--count-2{grid-template-columns:repeat(2,minmax(0,1fr));}
.blog-featured-grid--count-3{grid-template-columns:repeat(3,minmax(0,1fr));}
.blog-featured-grid--count-4{grid-template-columns:repeat(4,minmax(0,1fr));}
.blog-feature-card{position:relative;overflow:hidden;min-height:280px;border-radius:26px;background:linear-gradient(135deg,#d47a5f 0%,#c8685d 100%);box-shadow:0 18px 42px rgba(8,15,27,.12);isolation:isolate;}
.blog-feature-card:nth-child(4n+2){background:linear-gradient(135deg,#b681d4 0%,#7c98d3 100%);}
.blog-feature-card:nth-child(4n+3){background:linear-gradient(135deg,#ca88d6 0%,#8597d6 100%);}
.blog-feature-card:nth-child(4n+4){background:linear-gradient(135deg,#4bd69e 0%,#4d90de 100%);}
.blog-feature-card__media,.blog-feature-card__thumb{position:absolute;inset:0;width:100%;height:100%;display:block;}
.blog-feature-card__thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.blog-feature-card__thumb--placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:30px;background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.18),transparent 35%),transparent;color:rgba(255,255,255,.3);font-size:clamp(2rem,1.5rem + 1vw,3.2rem);font-weight:800;text-align:center;line-height:1.05;}
.blog-feature-card__overlay,.blog-posters-grid--magazine2 .blog-poster__overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,7,12,.06) 0%,rgba(8,12,19,.22) 36%,rgba(8,12,19,.82) 100%);z-index:1;}
.blog-feature-card__content{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:flex-end;min-height:280px;padding:22px;color:#fff;}
.blog-feature-card__title{margin:12px 0 0;font-size:clamp(1.2rem,.9rem + .65vw,1.8rem);line-height:1.15;max-width:92%;}
.blog-feature-card__title a,.blog-posters-grid--magazine2 .blog-poster__title a{color:inherit;text-decoration:none;}
.blog-feature-card__meta{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px;font-size:.88rem;color:rgba(255,255,255,.9);}
.blog-showcase__head--featured-box{margin-bottom:16px;align-items:flex-end;}
.blog-showcase__head--gridwide{margin-top:2px;}
.blog-posters-grid--magazine2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch;}
.blog-posters-grid--magazine2 .blog-poster{position:relative;overflow:hidden;min-height:360px;border-radius:28px;background:linear-gradient(135deg,#d47a5f 0%,#c8685d 100%);box-shadow:0 18px 42px rgba(8,15,27,.12);isolation:isolate;}
.blog-posters-grid--magazine2 .blog-poster:nth-child(4n+2){background:linear-gradient(135deg,#b681d4 0%,#7c98d3 100%);}
.blog-posters-grid--magazine2 .blog-poster:nth-child(4n+3){background:linear-gradient(135deg,#ca88d6 0%,#8597d6 100%);}
.blog-posters-grid--magazine2 .blog-poster:nth-child(4n+4){background:linear-gradient(135deg,#4bd69e 0%,#4d90de 100%);}
.blog-posters-grid--magazine2 .blog-poster__media,.blog-posters-grid--magazine2 .blog-poster__thumb{position:absolute;inset:0;width:100%;height:100%;display:block;}
.blog-posters-grid--magazine2 .blog-poster__thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.blog-posters-grid--magazine2 .blog-poster__thumb--placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:24px;background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.18),transparent 35%),transparent;color:rgba(255,255,255,.26);font-size:clamp(1.8rem,1.1rem + 1vw,2.8rem);font-weight:800;text-align:center;line-height:1.08;}
.blog-posters-grid--magazine2 .blog-poster__content{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:flex-end;min-height:360px;padding:24px;color:#fff;}
.blog-posters-grid--magazine2 .blog-poster__title{margin:14px 0 0;font-size:clamp(1.7rem,1rem + 1vw,2.7rem);line-height:1.04;max-width:92%;text-wrap:balance;}
.blog-posters-grid--magazine2 .blog-poster__meta{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px;font-size:.9rem;color:rgba(255,255,255,.92);}
.blog-posters-grid--magazine2 .blog-poster__badge,.blog-feature-card .blog-poster__badge{display:inline-flex;width:max-content;padding:8px 12px;border-radius:10px;background:#000;color:#fff;font-size:.78rem;font-weight:700;text-decoration:none;box-shadow:none;}
.blog-search--compact{display:flex;align-items:center;justify-content:flex-end;max-width:320px;}
.blog-search--compact form{display:flex;align-items:center;gap:10px;width:100%;}
.blog-search--compact input[type="search"]{min-height:48px;border-radius:16px;padding:0 16px;}
.blog-search--compact button,.blog-search--compact input[type="submit"]{min-height:48px;padding:0 18px;border-radius:16px;}
.blog-empty--compact{border-radius:22px;padding:18px 20px;background:rgba(255,255,255,.03);border:1px dashed rgba(255,255,255,.12);}
html[data-theme="light"] .blog-empty--compact{background:rgba(242,248,252,.9);border-color:rgba(22,39,78,.12);}
@media (max-width: 1580px){.blog-shell--editorial{max-width:1600px;}.blog-featured-grid--count-4{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width: 1380px){.blog-magazine--wide{grid-template-columns:minmax(0,1fr) 250px;}}
@media (max-width: 1180px){.blog-magazine--wide{grid-template-columns:1fr;}.blog-magazine__sidebar{position:static;}.blog-featured-grid--count-3,.blog-featured-grid--count-4{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width: 860px){.blog-posters-grid--magazine2,.blog-featured-grid,.blog-featured-grid--count-2,.blog-featured-grid--count-3,.blog-featured-grid--count-4{grid-template-columns:1fr;}.blog-posters-grid--magazine2 .blog-poster,.blog-posters-grid--magazine2 .blog-poster__content{min-height:300px;}.blog-feature-card,.blog-feature-card__content{min-height:250px;}}
@media (max-width: 640px){.blog-shell--editorial{padding-left:12px;padding-right:12px;}.blog-featured-box{padding:18px;}.blog-posters-grid--magazine2 .blog-poster__content{padding:20px;}.blog-posters-grid--magazine2 .blog-poster__title{font-size:clamp(1.45rem,1.1rem + 1vw,2rem);}.blog-search--compact{max-width:none;width:100%;}}



.blog-post-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:16px;align-items:center;margin-top:18px;}
.blog-post-toolbar__side{display:flex;align-items:center;min-height:48px;}
.blog-post-toolbar__side--left{justify-content:flex-start;}
.blog-post-toolbar__side--right{justify-content:flex-end;}
.blog-post-toolbar__center{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;}
.blog-post-toolbar .blog-button{white-space:nowrap;}
.blog-related-posts__intro{margin:-4px 0 18px;color:var(--pf-muted);line-height:1.75;font-size:.98rem;}
.blog-grid--related{grid-template-columns:repeat(3,minmax(0,1fr));}
@media (max-width: 1080px){
  .blog-post-toolbar{grid-template-columns:1fr;}
  .blog-post-toolbar__side,.blog-post-toolbar__side--left,.blog-post-toolbar__side--right,.blog-post-toolbar__center{justify-content:center;}
}
@media (max-width: 860px){
  .blog-grid--related{grid-template-columns:1fr;}
  .blog-post-toolbar__center{flex-direction:column;align-items:stretch;}
  .blog-post-toolbar .blog-button{width:100%;justify-content:center;text-align:center;}
}



/* Blog single refinement v2 */
.blog-post-toolbar .blog-button{min-height:52px;padding:0 18px;border-radius:18px;display:inline-flex;align-items:center;justify-content:center;font-weight:800;}
.blog-post-toolbar__center .blog-button{min-width:180px;}
.blog-post-toolbar__side .blog-button{min-width:190px;}
.blog-grid--related-posters{grid-template-columns:repeat(3,minmax(0,1fr));}
.blog-grid--related-posters .blog-poster{min-height:300px;}
.blog-grid--related-posters .blog-poster__content{min-height:300px;}
.blog-related-posts{padding:24px;}
@media (max-width:1080px){.blog-grid--related-posters{grid-template-columns:1fr 1fr;}.blog-post-toolbar__center .blog-button,.blog-post-toolbar__side .blog-button{min-width:unset;width:100%;}}
@media (max-width:860px){.blog-grid--related-posters{grid-template-columns:1fr;}}


/* === v1.5.4 workspace layout refinements === */
.home .pf-generator-wrap {
  max-width: 1320px;
  margin-inline: auto;
}

.home .pf-generator-wrap .pfp-wrap {
  max-width: none;
}

.home .pf-work-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home .pf-work-steps span {
  justify-content: center;
  text-align: center;
}

@media (min-width: 1280px) {
  .home .site-shell {
    max-width: 1380px;
  }

  .home .pf-generator-wrap {
    max-width: 1340px;
  }
}

@media (max-width: 782px) {
  .home .pf-work-steps {
    grid-template-columns: none;
  }

  .home .pf-work-steps span {
    text-align: left;
    justify-content: flex-start;
  }
}


/* === v1.5.4 wider workspace and stacked result === */
.home .site-shell {
  max-width: 1520px;
}

.home .pf-work-section .pf-section-subtitle {
  max-width: 1180px;
}

.home .pf-generator-wrap {
  max-width: 1480px;
  margin-inline: auto;
}

.home .pf-generator-wrap .pfp-wrap {
  max-width: none;
}

.home .pf-generator-wrap .pfp-main-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 18px !important;
}

.home .pf-generator-wrap .pfp-panel {
  margin-top: 0;
}

@media (min-width: 1360px) {
  .home .site-shell {
    max-width: 1580px;
  }

  .home .pf-generator-wrap {
    max-width: 1520px;
  }
}

@media (max-width: 960px) {
  .home .site-shell {
    max-width: 100%;
  }

  .home .pf-generator-wrap {
    max-width: 100%;
  }
}


/* === v1.5.5 wider workspace and purple emphasis === */
:root {
  --pf-shell: min(1760px, calc(100vw - 20px));
}

.home .site-shell {
  max-width: 1720px;
}

.home .pf-work-section {
  padding-left: 20px;
  padding-right: 20px;
}

.home .pf-generator-wrap {
  max-width: 1660px;
  margin-inline: auto;
}

.home .pf-generator-wrap .pfp-wrap {
  padding: 28px;
}

.home .pf-generator-wrap .pfp-workspace,
.home .pf-generator-wrap .pfp-panel {
  border-color: rgba(124, 103, 224, 0.24);
}

html[data-theme="light"] .home .pf-generator-wrap .pfp-workspace,
html[data-theme="light"] .home .pf-generator-wrap .pfp-panel {
  border-color: rgba(112, 87, 218, 0.18);
}

@media (min-width: 1500px) {
  .home .site-shell {
    max-width: 1760px;
  }

  .home .pf-generator-wrap {
    max-width: 1700px;
  }
}

@media (max-width: 960px) {
  :root {
    --pf-shell: calc(100vw - 16px);
  }

  .home .pf-work-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .home .pf-generator-wrap .pfp-wrap {
    padding: 18px;
  }
}


/* === v1.5.6 wider workspace for stacked generator/result === */
.home .site-shell {
  max-width: 1860px;
}

.home .pf-work-section {
  padding-left: 16px;
  padding-right: 16px;
}

.home .pf-generator-wrap {
  max-width: 1800px;
  margin-inline: auto;
}

.home .pf-generator-wrap .pfp-wrap {
  max-width: none;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 1600px) {
  .home .site-shell {
    max-width: 1920px;
  }

  .home .pf-generator-wrap {
    max-width: 1840px;
  }
}

@media (max-width: 960px) {
  .home .site-shell,
  .home .pf-generator-wrap {
    max-width: 100%;
  }

  .home .pf-work-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .home .pf-generator-wrap .pfp-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
}
