/*
Theme Name: La Personal v1.2
Theme URI: https://pressmegpt.com
Author: PressMeGPT
Author URI: https://pressmegpt.com
Description: Quiero una página personal de una sola página, moderna, muy visual y con estética de ciberseguridad premium.

El concepto principal debe inspirarse en una terminal moderna: fondo negro o gris oscuro, tipografía monoespaciada, detalles en verde terminal, cian o azul eléctrico, bordes finos, grids, brillos sutiles y animaciones suaves.

La portada debe mostrar mi nombre de forma destacada y una introducción tipo terminal, por ejemplo:

emilio@security:~$ whoami

Debajo, una breve descripción sobre mi trabajo en Threat Intelligence, Offensive Security, OSINT, Cyber Intelligence y Digital Defense.

Quiero incluir comandos decorativos como cat about.txt, ls ./skills o ./connect, además de un cursor parpadeante y pequeños indicadores técnicos.

Mis enlaces a LinkedIn, GitHub, TryHackMe, Hack The Box y blog deben ser protagonistas, mostrados como comandos, botones o tarjetas tipo terminal.

Evitar clichés como Matrix, capuchas, calaveras o exceso de código.

No quiero tienda, formularios, testimonios ni secciones comerciales.

Debe sentirse como una identidad digital profesional: hacker, técnica, minimalista, elegante y premium.
Version: 1.2.4
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: la-personal
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, custom-menu

Block theme created with PressMeGPT.com - AI WordPress Theme Generator.
*/

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* ============================================
   Theme Defaults - Header/Footer/Button
   These styles ensure the design matches the preview.
   Users can override via Site Editor.
   ============================================ */

:root {
  --pm-header-bg: rgba(10, 10, 12, 0.95);
  --pm-header-text: #ffffff;
  --pm-footer-bg: #050505;
  --pm-footer-text: #888888;
  --pm-header-padding: 0 40px;
  --pm-footer-padding: 100px 0 40px;
}

/* Header styling - frontend AND Site Editor (skip AI-designed headers) */
header.wp-block-template-part:not(:has(.fse-designed-header)):not(.fse-designed-header),
.wp-block-template-part[data-area="header"]:not(:has(.fse-designed-header)) header.wp-block-group:not(.fse-designed-header),
.editor-styles-wrapper header.wp-block-group:not(.fse-designed-header),
.edit-site-visual-editor [data-type="core/template-part"] header.wp-block-group:not(.fse-designed-header) {
  background-color: var(--pm-header-bg);
  color: var(--pm-header-text);
  padding: var(--pm-header-padding);
}

/* Designed headers bring their own width + padding (.fse-header / .fse-header-content),
   so the generic template-part padding must not double up on them. */
header.wp-block-template-part:has(> .fse-designed-header),
header.wp-block-template-part:has(> .fse-header-archetype) {
  padding: 0;
}

/* Header content centering — match body content width (RULE 11); skip designed / copy-preserve headers */
header.wp-block-template-part:not(.fse-copy-preserve):not(:has(.fse-designed-header)) > .wp-block-group:not(.fse-designed-header):not(.fse-header-archetype),
header.wp-block-template-part:not(.fse-copy-preserve):not(:has(.fse-designed-header)) > .wp-block-group:not(.fse-designed-header):not(.fse-header-archetype) > .wp-block-group,
header.wp-block-group:not(.fse-copy-preserve):not(.fse-designed-header) > .wp-block-group:not(.fse-header-archetype) {
  max-width: var(--wp--style--global--wide-size, 1200px);
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
  box-sizing: border-box;
}

/* Designed headers keep their own layout/width from master CSS */
.fse-designed-header,
header.fse-designed-header,
.fse-designed-header .fse-header,
.fse-designed-header .fse-header-content,
.fse-designed-header .fse-header-inner {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

header.wp-block-template-part a:not(.wp-block-button__link):not(.wp-element-button):not(.fse-button):not([class*="fse-button"]),
.wp-block-template-part[data-area="header"] a:not(.wp-block-button__link):not(.wp-element-button):not(.fse-button):not([class*="fse-button"]),
.editor-styles-wrapper header.wp-block-group a:not(.wp-block-button__link):not(.wp-element-button):not(.fse-button):not([class*="fse-button"]),
.edit-site-visual-editor [data-type="core/template-part"] header.wp-block-group a:not(.wp-block-button__link):not(.wp-element-button):not(.fse-button):not([class*="fse-button"]) {
  color: var(--pm-header-text);
}

/* Header navigation links */
header.wp-block-template-part .wp-block-navigation a,
header.wp-block-template-part .wp-block-navigation-item__content,
.editor-styles-wrapper header.wp-block-group .wp-block-navigation a,
.editor-styles-wrapper header.wp-block-group .wp-block-navigation-item__content {
  color: var(--pm-header-text);
}

/* Footer styling - frontend AND Site Editor (skip AI-designed footers) */
footer.wp-block-template-part:not(:has(.fse-designed-footer)):not(.fse-designed-footer),
.wp-block-template-part[data-area="footer"]:not(:has(.fse-designed-footer)) footer.wp-block-group:not(.fse-designed-footer),
.editor-styles-wrapper footer.wp-block-group:not(.fse-designed-footer),
.edit-site-visual-editor [data-type="core/template-part"] footer.wp-block-group:not(.fse-designed-footer) {
  background-color: var(--pm-footer-bg);
  color: var(--pm-footer-text);
  padding: var(--pm-footer-padding);
}

/* WordPress adds padding via has-global-padding on constrained/flow layout groups.
   The design's .fse-footer padding from masterCss is already applied above via --pm-footer-padding.
   Override WP's global-padding injection so the footer uses only the design's values. */
footer.wp-block-group.has-global-padding:not(.fse-designed-footer),
.wp-block-template-part footer.wp-block-group.has-global-padding:not(.fse-designed-footer) {
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

footer.wp-block-template-part a:not(.wp-block-button__link):not(.wp-element-button):not(.fse-button):not([class*="fse-button"]),
.wp-block-template-part[data-area="footer"] a:not(.wp-block-button__link):not(.wp-element-button):not(.fse-button):not([class*="fse-button"]),
.editor-styles-wrapper footer.wp-block-group a:not(.wp-block-button__link):not(.wp-element-button):not(.fse-button):not([class*="fse-button"]),
.edit-site-visual-editor [data-type="core/template-part"] footer.wp-block-group a:not(.wp-block-button__link):not(.wp-element-button):not(.fse-button):not([class*="fse-button"]) {
  color: var(--pm-footer-text);
}

/* Footer social links */
footer.wp-block-template-part .wp-block-social-links a,
.editor-styles-wrapper footer.wp-block-group .wp-block-social-links a {
  color: var(--pm-footer-text);
}

/* Footer content centering — match body content width (RULE 12); skip designed footers */
footer.wp-block-template-part:not(:has(.fse-designed-footer)) > .wp-block-group:not(.fse-designed-footer),
footer.wp-block-template-part:not(:has(.fse-designed-footer)) > .wp-block-group > .wp-block-group:not(.fse-designed-footer),
footer.wp-block-group:not(.fse-designed-footer) > .wp-block-group {
  max-width: var(--wp--style--global--wide-size, 1200px);
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
  box-sizing: border-box;
}

.fse-designed-footer,
footer.fse-designed-footer {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

/* Footer columns — even spacing and clean layout */
footer .wp-block-columns,
footer.wp-block-group .wp-block-columns {
  gap: 2.5rem !important;
  margin-bottom: 2rem;
}

footer .wp-block-column,
footer.wp-block-group .wp-block-column {
  flex: 1 1 0% !important;
  min-width: 0;
}

/* Footer copyright centering */
footer .fse-attribution,
footer .fse-copyright,
footer .has-text-align-center {
  text-align: center !important;
  width: 100%;
}

/* Footer responsive — stack columns on tablet/mobile */
@media (max-width: 781px) {
  footer .wp-block-columns,
  footer.wp-block-group .wp-block-columns {
    flex-direction: column !important;
    gap: 2rem !important;
  }
  
  footer .wp-block-column,
  footer.wp-block-group .wp-block-column {
    flex-basis: 100% !important;
    text-align: center;
  }
  
  footer .wp-block-column .wp-block-heading {
    text-align: center;
  }
  
  footer .wp-block-navigation,
  footer .wp-block-social-links {
    justify-content: center;
  }
}

/* Header navigation: keep CTA buttons and nav from wrapping awkwardly on desktop */
header.wp-block-template-part .header-nav-group,
header.wp-block-group .header-nav-group {
  flex-wrap: nowrap !important;
  gap: 1rem;
}

header.wp-block-template-part .header-nav-group .wp-block-navigation,
header.wp-block-group .header-nav-group .wp-block-navigation {
  flex: 1 1 auto;
  min-width: 0;
}

header.wp-block-template-part .header-nav-group .header-cta-buttons,
header.wp-block-group .header-nav-group .header-cta-buttons {
  flex: 0 0 auto;
}

/* Sticky header — design declares fse-header-sticky */
header.wp-block-template-part,
header.wp-block-group {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Remove gap between header, main content, and footer */
.wp-site-blocks > header,
.wp-site-blocks > footer.wp-block-template-part,
.wp-site-blocks > main,
.wp-site-blocks > header + *,
.wp-site-blocks > * + footer.wp-block-template-part {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

/* Header/Footer: zero margin, padding only */
header.wp-block-template-part,
.wp-block-template-part[data-area="header"],
header.wp-block-group {
  margin: 0 !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

/* Header inner groups: zero vertical margin but preserve horizontal auto centering (RULE 11) */
.wp-block-template-part[data-area="header"] > *,
header.wp-block-group .wp-block-group {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

footer.wp-block-template-part,
.wp-block-template-part[data-area="footer"],
footer.wp-block-group {
  margin: 0 !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

/* Footer inner groups: zero vertical margin but preserve horizontal auto centering (RULE 12) */
.wp-block-template-part[data-area="footer"] > *,
footer.wp-block-group .wp-block-group {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

main.wp-block-group.is-layout-flow {
  margin-top: 0;
  margin-bottom: 0;
}

/* Remove default blockGap between top-level sections — scoped to section-level elements only.
   Do NOT target .wp-block-group generically or this zeros out hero internal element margins. */
main.wp-block-group > section,
main.wp-block-group > .fse-section,
main.wp-block-group > .wp-block-group.fse-section,
main.wp-block-group > .wp-block-cover,
.wp-block-group.is-layout-flow > section,
.wp-block-group.is-layout-flow > .fse-section {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

/* Specifically target FSE sections and cover blocks */
.fse-section,
section.wp-block-group,
.wp-block-group.fse-section,
.wp-block-cover {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

/* ============================================
   HERO OVERLAY FULL COVERAGE FIX
   Ensures hero overlays cover the entire image on all screen widths
   ============================================ */
.wp-block-cover,
.fse-hero,
.fse-hero-split,
.fse-hero-creative {
  position: relative;
  width: 100%;
}

/* Overlay must cover full width/height regardless of screen size */
.wp-block-cover__background,
.wp-block-cover span[aria-hidden="true"],
.fse-hero-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
}

/* Ensure cover image also spans full width on wide screens */
.wp-block-cover__image-background,
.wp-block-cover img,
.fse-hero img.fse-hero-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  min-width: 100% !important;
}

/* Fix for wide screens - ensure cover block content stays constrained while bg stretches */
.wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* ============================================
   GRID ROW LIMIT FIX
   Ensures grids never exceed 3-4 columns on desktop
   ============================================ */
.wp-block-columns,
.fse-columns,
.fse-services-grid,
.fse-features-grid,
.fse-team-grid {
  max-width: 1200px;
  margin-left: auto !important;
  margin-right: auto !important;
  flex-wrap: wrap !important;
}

/* Force max 3 columns per row for multi-item grids (product cards, features, etc.) */
.fse-services-grid,
.fse-features-grid,
.fse-team-grid,
.fse-product-grid,
.wp-block-columns.has-5-columns,
.wp-block-columns.has-6-columns,
.wp-block-columns.has-7-columns,
.wp-block-columns.has-8-columns,
.wp-block-columns.has-9-columns,
.wp-block-columns.has-10-columns,
.wp-block-columns.has-11-columns,
.wp-block-columns.has-12-columns {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px !important;
}

/* When block parser splits 5+ items into multiple rows, stack rows with spacing */
.wp-block-columns.fse-columns-row {
  margin-top: 30px !important;
}

/* Gutenberg flex columns fight CSS grid — reset column flex sizing */
.wp-block-columns.has-5-columns > .wp-block-column,
.wp-block-columns.has-6-columns > .wp-block-column,
.wp-block-columns.has-7-columns > .wp-block-column,
.wp-block-columns.has-8-columns > .wp-block-column,
.wp-block-columns.has-9-columns > .wp-block-column,
.wp-block-columns.has-10-columns > .wp-block-column,
.wp-block-columns.has-11-columns > .wp-block-column,
.wp-block-columns.has-12-columns > .wp-block-column,
.fse-services-grid > .wp-block-column,
.fse-features-grid > .wp-block-column,
.fse-team-grid > .wp-block-column,
.fse-product-grid > .wp-block-column {
  flex-basis: unset !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

/* Tablet: 2 columns */
@media (max-width: 992px) {
  .fse-services-grid,
  .fse-features-grid,
  .fse-team-grid,
  .fse-product-grid,
  .wp-block-columns.has-5-columns,
  .wp-block-columns.has-6-columns,
  .wp-block-columns.has-7-columns,
  .wp-block-columns.has-8-columns,
  .wp-block-columns.has-9-columns,
  .wp-block-columns.has-10-columns,
  .wp-block-columns.has-11-columns,
  .wp-block-columns.has-12-columns,
  .wp-block-columns.has-4-columns {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Mobile: 1 column */
@media (max-width: 576px) {
  .fse-services-grid,
  .fse-features-grid,
  .fse-team-grid,
  .wp-block-columns,
  .fse-columns {
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
  }
}

/* Button reset - prevent double-button from wrapper styling */
/* Reset BOTH .wp-block-buttons (outer container) AND .wp-block-button (inner wrapper) */
/* Use maximum specificity to override WordPress core styles on live site */

/* Reset outer buttons container - should never have button styling */
.wp-block-buttons,
body .wp-block-buttons,
.wp-site-blocks .wp-block-buttons,
main .wp-block-buttons,
section .wp-block-buttons,
.fse-section .wp-block-buttons,
div.wp-block-buttons,
div.wp-block-buttons[class*="fse-"],
div.wp-block-buttons[class*="btn"],
div.wp-block-buttons[class*="cta"] {
  background: none !important;
  background-color: transparent !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Reset inner button wrapper - should never have button styling */
.wp-block-button,
body .wp-block-button,
.wp-site-blocks .wp-block-button,
main .wp-block-button,
section .wp-block-button,
.fse-section .wp-block-button {
  background: none !important;
  background-color: transparent !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
}

/* Aggressively prevent button-in-button - target any wrapper div with button classes */
body div.wp-block-button,
body div.wp-block-buttons,
.wp-site-blocks div.wp-block-button,
.wp-site-blocks div.wp-block-buttons,
main div.wp-block-button,
main div.wp-block-buttons,
.fse-section div.wp-block-button,
.fse-section div.wp-block-buttons,
section div.wp-block-button,
section div.wp-block-buttons,
div.wp-block-button.fse-button,
div.wp-block-button.fse-button-primary,
div.wp-block-button.fse-button-secondary,
div.wp-block-button[class*="fse-button"],
div.wp-block-button[class*="btn"],
div.wp-block-button[class*="cta"],
div.wp-block-buttons[class*="fse-"],
div.wp-block-buttons[class*="btn"],
div.wp-block-buttons[class*="cta"] {
  background: none !important;
  background-color: transparent !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
}

/* Base button styling — defaults only when Site Editor has not set block colors */
/* Gutenberg adds has-background / has-text-color / has-{slug}-color classes */
.wp-block-button__link:not(.has-background),
.wp-element-button:not(.has-background),
a.wp-block-button__link:not(.has-background),
a.wp-element-button:not(.has-background) {
  background-color: #50FA7B;
}
.wp-block-button__link:not(.has-text-color),
.wp-element-button:not(.has-text-color),
a.wp-block-button__link:not(.has-text-color),
a.wp-element-button:not(.has-text-color) {
  color: #282A36;
}
.wp-block-button__link,
.wp-element-button,
a.wp-block-button__link,
a.wp-element-button {
  padding: 12px 24px !important;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none !important;
  display: inline-block;
  border: none !important;
  outline: none !important;
  transition: filter 0.2s ease;
}

/* Ensure no inherited border-radius from parent containers */
.wp-block-buttons .wp-block-button__link,
.wp-block-buttons .wp-element-button,
.fse-section .wp-block-button__link,
.fse-hero .wp-block-button__link,
section .wp-block-button__link {
  border-radius: 4px;
}

/* Button hover states - primary only; variants define their own hover */
.wp-block-button:not(.is-style-outline):not(.fse-button-outline):not(.fse-button-ghost):not(.fse-button-light) .wp-block-button__link:hover,
.wp-block-button:not(.is-style-outline):not(.fse-button-outline):not(.fse-button-ghost):not(.fse-button-light) .wp-block-button__link:focus,
.wp-block-button:not(.is-style-outline):not(.fse-button-outline):not(.fse-button-ghost):not(.fse-button-light) .wp-element-button:hover,
.wp-block-button:not(.is-style-outline):not(.fse-button-outline):not(.fse-button-ghost):not(.fse-button-light) .wp-element-button:focus {
  filter: brightness(0.85);
  text-decoration: none !important;
  outline: none !important;
  opacity: 1;
}

/* Global underline prevention for buttons */
.wp-block-button a,
.wp-block-button__link,
.wp-element-button,
.wp-block-button a:hover,
.wp-block-button__link:hover,
.wp-element-button:hover {
  text-decoration: none !important;
}

/* Prevent link hover styles from affecting buttons - NO color override */
.wp-block-button a:hover,
.wp-block-button a:focus,
.wp-block-button a:active,
.wp-block-button a:visited,
div.wp-block-button a.wp-block-button__link:hover,
div.wp-block-button a.wp-block-button__link:focus,
div.wp-block-button a.wp-block-button__link:active,
div.wp-block-button a.wp-element-button:hover,
div.wp-block-button a.wp-element-button:focus,
div.wp-block-button a.wp-element-button:active {
  text-decoration: none !important;
  filter: brightness(0.85);
}

/* Outline / ghost / light buttons — must override primary defaults below */
.wp-block-button.is-style-outline .wp-block-button__link:not(.has-background),
.wp-block-button.fse-button-outline .wp-block-button__link:not(.has-background),
.wp-block-button.fse-button-ghost .wp-block-button__link:not(.has-background),
.wp-block-button.fse-button-light .wp-block-button__link:not(.has-background),
.wp-block-button.is-style-outline .wp-element-button:not(.has-background),
.wp-block-button.fse-button-outline .wp-element-button:not(.has-background),
.wp-block-button.fse-button-ghost .wp-element-button:not(.has-background),
.wp-block-button.fse-button-light .wp-element-button:not(.has-background) {
  background-color: transparent !important;
  background: rgba(255,255,255,0.95) !important;
  border: 2px solid #50FA7B !important;
  color: #50FA7B !important;
  box-shadow: none !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.fse-button-outline .wp-block-button__link:hover,
.wp-block-button.fse-button-ghost .wp-block-button__link:hover,
.wp-block-button.fse-button-light .wp-block-button__link:hover {
  filter: none !important;
  background-color: #50FA7B !important;
  color: #282A36 !important;
}

/* Text-link CTAs (View Docs, etc.) */
.fse-button-text,
a.fse-button-text,
p.fse-button-text a {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  font-weight: 600;
  text-decoration: none !important;
  color: inherit;
  box-shadow: none !important;
}
.fse-button-text:hover,
a.fse-button-text:hover,
p.fse-button-text a:hover {
  text-decoration: underline !important;
  filter: none !important;
}

/* Outline buttons hover - brightness only, no color change */
.wp-block-button.is-style-outline a:hover,
.wp-block-button.is-style-outline a:focus,
.wp-block-button.is-style-outline a:active {
  text-decoration: none !important;
  filter: brightness(0.85);
}

/* FSE button classes for wp:html preserved sections (creative heroes, etc.) */
a.fse-button,
.fse-button {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none !important;
  border: none;
  outline: none;
  transition: filter 0.2s ease;
  cursor: pointer;
}

a.fse-button-primary:not(.has-background),
.fse-button-primary:not(.has-background) {
  background-color: #50FA7B !important;
}
a.fse-button-primary:not(.has-text-color),
.fse-button-primary:not(.has-text-color) {
  color: #282A36 !important;
}

a.fse-button-secondary:not(.has-background),
.fse-button-secondary:not(.has-background) {
  background-color: #44475A !important;
}
a.fse-button-secondary:not(.has-text-color),
.fse-button-secondary:not(.has-text-color) {
  color: #F8F8F2 !important;
}

a.fse-button-light,
.fse-button-light {
  background-color: rgba(255,255,255,0.9) !important;
  color: #50FA7B !important;
}

/* Secondary/Light button bridge: wrapper class -> inner link */
.wp-block-button.fse-button-secondary .wp-block-button__link:not(.has-background),
.wp-block-button.fse-button-secondary .wp-element-button:not(.has-background) {
  background-color: #44475A !important;
}
.wp-block-button.fse-button-secondary .wp-block-button__link:not(.has-text-color),
.wp-block-button.fse-button-secondary .wp-element-button:not(.has-text-color) {
  color: #F8F8F2 !important;
}

.wp-block-button.fse-button-light .wp-block-button__link:not(.has-background),
.wp-block-button.fse-button-light .wp-element-button:not(.has-background) {
  background-color: rgba(255,255,255,0.9) !important;
}
.wp-block-button.fse-button-light .wp-block-button__link:not(.has-text-color),
.wp-block-button.fse-button-light .wp-element-button:not(.has-text-color) {
  color: #50FA7B !important;
}

/* Descendant selectors for variant wrappers - class is on wrapper div, styles reach inner <a> */
.fse-button-secondary .wp-block-button__link:not(.has-background),
.fse-button-secondary .wp-element-button:not(.has-background),
.fse-button-secondary > a:not(.has-background),
div.wp-block-button.fse-button-secondary .wp-block-button__link:not(.has-background) {
  background-color: #44475A !important;
  border: none !important;
}
.fse-button-secondary .wp-block-button__link:not(.has-text-color),
.fse-button-secondary .wp-element-button:not(.has-text-color),
.fse-button-secondary > a:not(.has-text-color),
div.wp-block-button.fse-button-secondary .wp-block-button__link:not(.has-text-color) {
  color: #F8F8F2 !important;
}

.fse-button-primary .wp-block-button__link:not(.has-background),
.fse-button-primary .wp-element-button:not(.has-background),
div.wp-block-button.fse-button-primary .wp-block-button__link:not(.has-background) {
  background-color: #50FA7B !important;
  border: none !important;
}
.fse-button-primary .wp-block-button__link:not(.has-text-color),
.fse-button-primary .wp-element-button:not(.has-text-color),
div.wp-block-button.fse-button-primary .wp-block-button__link:not(.has-text-color) {
  color: #282A36 !important;
}

.fse-button-light .wp-block-button__link:not(.has-background),
.fse-button-light .wp-element-button:not(.has-background),
div.wp-block-button.fse-button-light .wp-block-button__link:not(.has-background) {
  background-color: rgba(255,255,255,0.95) !important;
  border: 2px solid #50FA7B !important;
}
.fse-button-light .wp-block-button__link:not(.has-text-color),
.fse-button-light .wp-element-button:not(.has-text-color),
div.wp-block-button.fse-button-light .wp-block-button__link:not(.has-text-color) {
  color: #50FA7B !important;
}

a.fse-button:hover,
.fse-button:hover,
a.fse-button:focus,
.fse-button:focus,
a.fse-button:active,
.fse-button:active {
  filter: brightness(0.85);
  text-decoration: none !important;
  opacity: 1;
}

/* Lock fse-button text colors on hover - prevent link styles bleeding in */
a.fse-button-primary:hover:not(.has-text-color),
.fse-button-primary:hover:not(.has-text-color) {
  color: #282A36 !important;
}

a.fse-button-secondary:hover:not(.has-text-color),
.fse-button-secondary:hover:not(.has-text-color) {
  color: #F8F8F2 !important;
}

a.fse-button-light:hover:not(.has-text-color),
.fse-button-light:hover:not(.has-text-color) {
  color: #282A36 !important;
}

/* Footer logo sizing — scope to logos only so partner badges/maps stay full size */
footer .wp-block-site-logo img,
footer.wp-block-group img.fse-logo:not(.fse-logo-sprite),
footer .fse-logo:not(.fse-logo-sprite),
.fse-footer img.fse-logo:not(.fse-logo-sprite),
.fse-designed-footer img.fse-logo:not(.fse-logo-sprite),
.fse-footer .fse-logo-area img:not(.fse-logo-sprite),
footer .fse-logo-area img:not(.fse-logo-sprite) {
  max-width: 200px;
  height: auto !important;
  width: auto;
  display: block;
  margin-bottom: 1rem;
  object-fit: contain;
}

/* Footer logo wrapper - no max-width here, let the img rule handle sizing */
.fse-footer .wp-block-image,
.fse-footer .wp-block-site-logo,
footer .wp-block-site-logo {
  display: block;
  margin-bottom: 1rem;
  overflow: visible;
}

/* Navigation menu spacing */
.wp-block-navigation__container {
  gap: 1.5rem;
}

/* Ensure columns have proper gaps */
.wp-block-columns {
  gap: 2rem;
}

.wp-block-column > * + * {
  margin-top: 1rem;
}

/* Center buttons inside cover blocks */
.wp-block-cover .wp-block-buttons {
  justify-content: center;
}

/* ============================================
   Header CTA Buttons
   ============================================ */
header .wp-block-buttons.header-cta-buttons {
  margin-left: 10px;
  margin-right: 10px;
  gap: 0.75rem;
}

header .wp-block-buttons .wp-block-button__link {
  margin-left: 10px;
  margin-right: 10px;
  padding: 10px 20px;
  font-weight: 600;
  white-space: nowrap;
}

/* Header outline rules removed - all header CTAs use solid backgrounds */

/* Hide header CTA buttons on mobile - hamburger menu takes over */
@media (max-width: 768px) {
  header .wp-block-buttons.header-cta-buttons {
    display: none;
  }
}

/* ============================================
   Navigation CTA Button Classes
   Add these classes to menu items in Site Editor to style as buttons
   ============================================ */
.wp-block-navigation-item.nav-button-primary .wp-block-navigation-item__content {
  background-color: #50FA7B;
  color: #282A36 !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  transition: filter 0.2s ease;
}

.wp-block-navigation-item.nav-button-primary .wp-block-navigation-item__content:hover {
  filter: brightness(0.85);
}

.wp-block-navigation-item.nav-button-secondary .wp-block-navigation-item__content {
  background-color: transparent;
  color: #50FA7B !important;
  padding: 10px 20px;
  border-radius: 4px;
  border: 2px solid #50FA7B;
  font-weight: 600;
  transition: all 0.2s ease;
}

.wp-block-navigation-item.nav-button-secondary .wp-block-navigation-item__content:hover {
  background-color: #50FA7B;
  color: #282A36 !important;
}

/* ============================================
   Decorative Elements Fallback
   Ensure fse-hero-graphic and other animated elements display
   ============================================ */
.fse-hero-graphic,
.hero-graphic,
[class*="hero-graphic"] {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse-animation 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes pulse-animation {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

/* ============================================
   Non-Homepage Page Styles (Blog, Privacy, etc.)
   Ensures proper padding, typography, and readability
   on pages using default page/single/archive templates.
   ============================================ */

/* RULE: Never apply padding to bare main.wp-block-group — it breaks the homepage.
   Only scope to .is-layout-constrained which is used by page/single/archive templates,
   NOT the front-page template (which uses layout type "default"). */
main.wp-block-group.is-layout-constrained {
  padding: 40px 20px 60px;
}

/* Ensure homepage main has zero padding */
main.wp-block-group.is-layout-flow,
main.wp-block-group:not(.is-layout-constrained) {
  padding: 0 !important;
}

main.wp-block-group.is-layout-constrained > * {
  max-width: var(--wp--style--global--content-size, 1200px);
  margin-left: auto !important;
  margin-right: auto !important;
}

main.wp-block-group.is-layout-constrained > * + * {
  margin-top: 1.5rem !important;
  }


main.wp-block-group .wp-block-post-date,
main.wp-block-group .wp-block-post-terms {
  font-size: 0.875rem;
  opacity: 0.65;
  margin-bottom: 1rem;
}

main.wp-block-group p {
  line-height: 1.75;
}

main.wp-block-group h2.wp-block-heading {
  margin-top: 2.5rem;
}

main.wp-block-group h3.wp-block-heading {
  margin-top: 2rem;
}

main.wp-block-group ul,
main.wp-block-group ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

main.wp-block-group li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

main.wp-block-group .wp-block-post-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.wp-block-query .wp-block-group {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.wp-block-query .wp-block-group:last-child {
  border-bottom: none;
}

.wp-block-query .wp-block-post-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.wp-block-query .wp-block-post-title a {
  text-decoration: none;
}

.wp-block-query .wp-block-post-excerpt {
  line-height: 1.6;
}

.wp-block-query-pagination {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.08);
  gap: 0.75rem;
}

.wp-block-query-pagination a {
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
}

.wp-block-comments {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.wp-block-search {
  margin-top: 2rem;
}

/* ============================================
   Block editor: force animated elements visible
   (animations.js runs on frontend only, not in editor iframe)
   ============================================ */
.editor-styles-wrapper .animate-on-scroll,
.editor-styles-wrapper .animate-slide-left,
.editor-styles-wrapper .animate-slide-right,
.editor-styles-wrapper .animate-scale {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ============================================
   Custom styles from Theme Designer
   ============================================ */
:root {
  --td-color-primary: #00F0FF;
  --td-color-secondary: #0a1a20;
  --td-color-background: #0a0a0c;
  --td-color-text: #b0b0b0;
  --td-color-heading: #ffffff;
  --td-color-link: #00F0FF;
  --td-color-link-hover: #ffffff;
  --td-color-btn-primary-bg: #00F0FF;
  --td-color-btn-primary-text: #0a0a0c;
  --td-color-btn-secondary-bg: transparent;
  --td-color-btn-secondary-text: #00F0FF;
  --td-color-header-bg: rgba(10, 10, 12, 0.95);
  --td-color-header-text: #ffffff;
  --td-color-footer-bg: #050505;
  --td-color-footer-text: #888888;
  --td-font-body: 'Roboto Mono', monospace;
  --td-font-heading: 'Space Grotesk', sans-serif;
}
body {
  background-color: var(--td-color-background);
  color: var(--td-color-text);
  font-family: var(--td-font-body);
  line-height: 1.7;
  margin: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.02'/%3E%3C/svg%3E");
}

.fse-header { position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(255,255,255,0.05); backdrop-filter: blur(10px); background: var(--td-color-header-bg); }
.fse-header-content { max-width: 1300px; padding: 0 40px; height: 80px; display: flex; align-items: center; justify-content: space-between; }
.fse-nav-menu a { font-size: 0.9rem; text-transform: lowercase; transition: color 0.3s ease; }
.fse-nav-menu a:hover { color: var(--td-color-primary); }

.fse-logo-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #0a0a0c;
  color: var(--td-color-primary) !important;
  font-family: var(--td-font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  padding: 10px 24px;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 240, 255, 0.1);
  line-height: 1;
  transition: all 0.3s ease;
}
.fse-logo-text-link:hover {
  filter: brightness(1.2);
  border-color: var(--td-color-primary);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.fse-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px;
  overflow: hidden;
}
.hero-content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.hero-title {
  font-size: clamp(4rem, 15vw, 10rem);
  line-height: 0.9;
  margin: 20px 0;
  letter-spacing: -0.05em;
  font-weight: 700;
  text-transform: uppercase;
}
.hero-subheadline {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 40px;
  opacity: 0.8;
}
.hero-background-mesh {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.05) 0%, transparent 70%);
  z-index: 1;
}
.terminal-intro, .terminal-header {
  font-family: var(--td-font-body);
  margin-bottom: 15px;
  font-size: 1rem;
}
.terminal-user { color: var(--td-color-primary); opacity: 0.9; }
.terminal-cmd { color: #fff; }
.terminal-cursor::after {
  content: '_';
  animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.fse-button-primary { background: var(--td-color-primary); color: #000; border: none; box-shadow: 0 0 20px rgba(0, 240, 255, 0.2); }
.fse-button-secondary { border: 1px solid rgba(0, 240, 255, 0.3); color: var(--td-color-primary); }

.editorial-section { padding: 120px 0; }
.content-narrow { max-width: 800px; margin: 0 auto; }
.section-title { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 40px; color: #fff; letter-spacing: -0.02em; }
.large-text { font-size: 1.5rem; line-height: 1.6; color: #fff; margin-bottom: 30px; }

.fse-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(255,255,255,0.05); max-width: 1300px; }
.capability-card {
  background: var(--td-color-background);
  padding: 60px 40px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.capability-card:hover { background: #0e0e11; border-color: rgba(0, 240, 255, 0.2); }
.card-icon { color: var(--td-color-primary); font-size: 2rem; margin-bottom: 25px; }

.experience-timeline { margin-top: 60px; border-left: 1px solid rgba(255,255,255,0.1); padding-left: 40px; }
.timeline-item { position: relative; margin-bottom: 60px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -45px;
  top: 10px;
  width: 9px;
  height: 9px;
  background: var(--td-color-primary);
  border-radius: 50%;
}
.timeline-date { font-size: 0.8rem; color: var(--td-color-primary); display: block; margin-bottom: 10px; }

.connection-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 60px; }
.connect-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 40px 20px;
  border: 1px solid rgba(255,255,255,0.05);
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.02);
}
.connect-link:hover { background: rgba(0, 240, 255, 0.05); border-color: var(--td-color-primary); transform: scale(1.02); }
.connect-link i { font-size: 1.5rem; color: var(--td-color-primary); }

.fse-footer { padding: 100px 0 40px; border-top: 1px solid rgba(255,255,255,0.05); }
.fse-footer-logo { height: 40px; filter: grayscale(1) invert(1); opacity: 0.8; }
.fse-footer-bottom { border-top: 1px solid rgba(255,255,255,0.03); margin-top: 60px; padding-top: 30px; }

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 992px) {
  .fse-services-grid { grid-template-columns: repeat(2, 1fr); }
  .connection-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .fse-services-grid { grid-template-columns: 1fr; }
  .fse-header-content { padding: 0 20px; }
  .hero-title { font-size: 4.5rem; }
  .connection-grid { grid-template-columns: 1fr; }
}

:root {
  --td-color-primary: #50FA7B;
  --td-color-secondary: #44475A;
  --td-color-background: #282A36;
  --td-color-text: #BFBFCB;
  --td-color-heading: #F8F8F2;
  --td-color-link: #50FA7B;
  --td-color-link-hover: #BD93F9;
  --td-color-btn-primary-bg: #50FA7B;
  --td-color-btn-primary-text: #282A36;
  --td-color-btn-primary-hover: #69FF94;
  --td-color-btn-secondary-bg: #44475A;
  --td-color-btn-secondary-text: #F8F8F2;
  --td-color-btn-secondary-hover: #6272A4;
}

body {
  color: var(--td-color-text) !important;
  background-color: var(--td-color-background) !important;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 { color: var(--td-color-heading) !important; }
p, .text, .body-text { color: var(--td-color-text) !important; }

.fse-header-archetype .fse-header-inner, .fse-header-archetype .header-inner, .fse-header-archetype > div { 
  display: flex; 
  flex-direction: row; 
  justify-content: space-between; 
  align-items: center; 
}

.fse-header-sticky {
  position: sticky !important;
  top: 0;
  z-index: 999;
  background: var(--td-color-header-bg, #282A36);
}





/* PressMeGPT — designed nav mapped onto core/navigation markup */
.fse-designed-header .wp-block-navigation {
  display: flex;
  align-items: center;
}
.fse-designed-header .wp-block-navigation__container,
.fse-designed-header .wp-block-navigation__responsive-container-content > .wp-block-navigation__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.fse-designed-header .wp-block-navigation-item {
  list-style: none;
}
.fse-designed-header .wp-block-navigation-item__content,
.fse-designed-header .wp-block-navigation-item__content:visited {
  color: #111111;
  font: inherit;
  text-decoration: none;
}
/* Toggle + close must never inherit an unknown theme color: contrast-checked
   tokens, emitted for every navigation block (not just designed headers) and
   driving fill AND stroke so core's icon markup can't render invisible. */
.wp-block-navigation__responsive-container-open,
.fse-designed-header .wp-block-navigation__responsive-container-open {
  color: #111111 !important;
  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* The X belongs to the open overlay only — never scope-free, or it renders
   inline in the header while the menu is closed. */
.wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-container-close {
  display: none !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
  color: #111111 !important;
  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
.wp-block-navigation__responsive-container-open svg,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg {
  width: 24px !important;
  height: 24px !important;
  display: inline-block !important;
  opacity: 1 !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}
.wp-block-navigation__responsive-container-open svg [fill]:not([fill="none"]),
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg [fill]:not([fill="none"]) {
  fill: currentColor !important;
}
.wp-block-navigation__responsive-container-open svg [stroke]:not([stroke="none"]),
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg [stroke]:not([stroke="none"]) {
  stroke: currentColor !important;
}
.wp-block-navigation__responsive-container.is-menu-open {
  background-color: #ffffff !important;
  color: #111111 !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
.wp-block-navigation__responsive-container.is-menu-open a {
  color: #111111 !important;
}


@media (min-width: 782px) {
  .fse-designed-header .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: none;
  }
}
/* Designed hamburger stays hidden on desktop; core overlay handles mobile. */
@media (min-width: 782px) {
  .fse-designed-header .fse-toggle-button,
  .fse-designed-header .fse-menu-toggle {
    display: none !important;
  }
}
/* Align the core navigation overlay with the 1024px contract used by the
   Customize preview and the Classic/Elementor exports: inline menu >=1024px,
   hamburger overlay below it. */
@media (max-width: 1023px) {
  .fse-designed-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none !important;
  }
  .fse-designed-header .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: flex !important;
  }
  /* Hamburger must sit flush right, ahead of the action icons — the nav block
     keeps its slot in the row otherwise and the toggle floats mid-left. */
  .fse-designed-header .wp-block-navigation,
  .fse-designed-header .fse-archetype-nav {
    order: 98 !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
    justify-content: flex-end !important;
  }
  .fse-designed-header .fse-archetype-actions,
  .fse-designed-header .fse-archetype-icons {
    order: 99 !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    margin-left: 0 !important;
  }
}
/* Logo slot never collapses; text placeholder reads as branding. */
.fse-designed-header .fse-archetype-logo { min-height: 32px; }
.fse-designed-header .fse-logo-placeholder {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color: inherit;
}
@media (max-width: 639px) {
  .fse-designed-header .fse-archetype-icons { gap: 6px; }
  .fse-designed-header .fse-archetype-icons a { font-size: 0; gap: 0; }
  .fse-designed-header .fse-archetype-icons svg,
  .fse-designed-header .fse-archetype-icons i,
  .fse-designed-header .fse-archetype-icons img {
    width: 18px; height: 18px; max-width: 18px; max-height: 18px; font-size: 16px;
  }
}

/* Safety net: any residual designed menu list is hidden — core navigation owns the menu. */
.fse-designed-header .fse-mobile-menu,
.fse-designed-header .mobile-menu,
.fse-designed-header .fse-nav-overlay,
.fse-designed-header .nav-overlay,
.fse-designed-header .fse-toggle-button,
.fse-designed-header .fse-menu-toggle {
  display: none !important;
}
.fse-designed-header ul.fse-nav-menu:not(.wp-block-navigation__container) {
  display: none !important;
}

/* PressMeGPT header archetype: logo-left-menu-right */

.fse-header-archetype .fse-archetype-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  box-sizing: border-box;
}
.fse-header-archetype .fse-archetype-nav { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.fse-header-archetype .fse-archetype-actions { display: flex; align-items: center; gap: 0.75rem; }
.fse-header-archetype .fse-archetype-icons { display: flex; align-items: center; gap: 0.9rem; }
.fse-header-archetype .fse-archetype-icons a { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; color: inherit; font-size: 12px; line-height: 1.2; white-space: nowrap; }
.fse-header-archetype .fse-archetype-icons svg, .fse-header-archetype .fse-archetype-icons i, .fse-header-archetype .fse-archetype-icons img { width: 20px; height: 20px; max-width: 20px; max-height: 20px; font-size: 18px; object-fit: contain; }
.fse-header-archetype form[role="search"], .fse-header-archetype .fse-search, .fse-header-archetype input[type="search"] { display: none !important; }
.fse-header-archetype .fse-archetype-logo { display: flex; align-items: center; flex: 0 0 auto; }
.fse-header-archetype .fse-archetype-logo img:not(.fse-logo-sprite),
.fse-header-archetype .fse-archetype-logo .wp-block-site-logo img:not(.fse-logo-sprite),
.fse-header-archetype .fse-archetype-logo .custom-logo:not(.fse-logo-sprite) {
  height: auto;
  width: auto;
  max-height: 80px;
  max-width: min(320px, 60vw);
  object-fit: contain;
  display: block;
}
@media (max-width: 781px) {
  .fse-header-archetype .fse-archetype-logo img:not(.fse-logo-sprite),
  .fse-header-archetype .fse-archetype-logo .custom-logo:not(.fse-logo-sprite) { max-height: 56px; }
  .fse-header-archetype .fse-archetype-inner { gap: 0.75rem; }
}

.fse-header-archetype .fse-archetype-inner { flex-direction: row; justify-content: space-between; }
.fse-header-archetype .fse-archetype-nav { margin-left: auto; }
/* PressMeGPT — sprite logos keep their designed crop */
.fse-header-archetype img.fse-logo-sprite {
  object-fit: none !important;
  max-width: none !important;
  max-height: none !important;
  flex: 0 0 auto;
}
.fse-header-archetype img.fse-logo-sprite[style*="height"] {
  /* height/width come from the element's own inline style */
  transform-origin: left center;
}
@media (max-width: 781px) {
  .fse-header-archetype img.fse-logo-sprite { transform: scale(1.00); }
}

/* PressMeGPT footer archetype: columns-3 */
.fse-footer .fse-footer-columns, .fse-footer:not(:has(.fse-footer-columns)) .fse-footer-inner, .fse-footer:not(:has(.fse-footer-columns, .fse-footer-inner)) .footer-inner, .fse-footer:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner)) > .container, .fse-footer:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)) > div:only-child > div:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)), .fse-footer:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)) > div:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)), footer.wp-block-template-part .fse-footer-columns, footer.wp-block-template-part:not(:has(.fse-footer-columns)) .fse-footer-inner, footer.wp-block-template-part:not(:has(.fse-footer-columns, .fse-footer-inner)) .footer-inner, footer.wp-block-template-part:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner)) > .container, footer.wp-block-template-part:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)) > div:only-child > div:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)), footer.wp-block-template-part:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)) > div:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)), .wp-site-blocks footer .fse-footer-columns, .wp-site-blocks footer:not(:has(.fse-footer-columns)) .fse-footer-inner, .wp-site-blocks footer:not(:has(.fse-footer-columns, .fse-footer-inner)) .footer-inner, .wp-site-blocks footer:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner)) > .container, .wp-site-blocks footer:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)) > div:only-child > div:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)), .wp-site-blocks footer:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)) > div:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
  text-align: left;
}
@media (max-width: 781px) {
  .fse-footer .fse-footer-columns, .fse-footer:not(:has(.fse-footer-columns)) .fse-footer-inner, .fse-footer:not(:has(.fse-footer-columns, .fse-footer-inner)) .footer-inner, .fse-footer:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner)) > .container, .fse-footer:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)) > div:only-child > div:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)), .fse-footer:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)) > div:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)), footer.wp-block-template-part .fse-footer-columns, footer.wp-block-template-part:not(:has(.fse-footer-columns)) .fse-footer-inner, footer.wp-block-template-part:not(:has(.fse-footer-columns, .fse-footer-inner)) .footer-inner, footer.wp-block-template-part:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner)) > .container, footer.wp-block-template-part:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)) > div:only-child > div:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)), footer.wp-block-template-part:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)) > div:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)), .wp-site-blocks footer .fse-footer-columns, .wp-site-blocks footer:not(:has(.fse-footer-columns)) .fse-footer-inner, .wp-site-blocks footer:not(:has(.fse-footer-columns, .fse-footer-inner)) .footer-inner, .wp-site-blocks footer:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner)) > .container, .wp-site-blocks footer:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)) > div:only-child > div:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)), .wp-site-blocks footer:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)) > div:not(:has(.fse-footer-columns, .fse-footer-inner, .footer-inner, .container)) { grid-template-columns: 1fr; }
}



/* ============================================
   Gutenberg button/link isolation
   Theme Designer link rules use !important and can recolor button <a> tags.
   Primary defaults ONLY — variant wrappers are excluded.
   ============================================ */
.wp-block-button:not(.is-style-outline):not(.fse-button-secondary):not(.fse-button-outline):not(.fse-button-ghost):not(.fse-button-light):not(.fse-button-text) > .wp-block-button__link:not(.has-text-color),
.wp-block-button:not(.is-style-outline):not(.fse-button-secondary):not(.fse-button-outline):not(.fse-button-ghost):not(.fse-button-light):not(.fse-button-text) > .wp-element-button:not(.has-text-color) {
  color: #282A36 !important;
}
.wp-block-button:not(.is-style-outline):not(.fse-button-secondary):not(.fse-button-outline):not(.fse-button-ghost):not(.fse-button-light):not(.fse-button-text) > .wp-block-button__link:not(.has-background),
.wp-block-button:not(.is-style-outline):not(.fse-button-secondary):not(.fse-button-outline):not(.fse-button-ghost):not(.fse-button-light):not(.fse-button-text) > .wp-element-button:not(.has-background) {
  background-color: #50FA7B !important;
}
.wp-block-button.fse-button-secondary .wp-block-button__link:not(.has-text-color),
.wp-block-button.fse-button-secondary .wp-element-button:not(.has-text-color) {
  color: #F8F8F2 !important;
}
.wp-block-button.fse-button-secondary .wp-block-button__link:not(.has-background),
.wp-block-button.fse-button-secondary .wp-element-button:not(.has-background) {
  background-color: #44475A !important;
}



/* PressMeGPT copy/interactive fidelity */

/* PressMeGPT FAQ accordion (native details/summary + JS fallback) */
.fse-faq-details,
details.fse-faq-item,
details[class*="faq"] {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.fse-faq-details summary,
details.fse-faq-item summary,
details[class*="faq"] summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-weight: 600;
}
.fse-faq-details summary::-webkit-details-marker,
details.fse-faq-item summary::-webkit-details-marker {
  display: none;
}
.fse-faq-answer,
.fse-faq-details > div,
details.fse-faq-item > div {
  padding-bottom: 1rem;
}
.fse-faq-item.is-open > .fse-faq-answer,
.fse-accordion-item.is-open > .fse-accordion-body {
  display: block;
}
.fse-faq-item:not(.is-open) > .fse-faq-answer,
.fse-accordion-item:not(.is-open) > .fse-accordion-body {
  display: none;
}

.fse-designed-header:not(.fse-copy-preserve) .fse-main-nav { display: flex !important; align-items: center; }
.fse-designed-header:not(.fse-copy-preserve) .fse-main-nav ul,
.fse-designed-header:not(.fse-copy-preserve) .fse-main-nav ol,
.fse-designed-header:not(.fse-copy-preserve) nav ul,
.fse-designed-header:not(.fse-copy-preserve) .fse-nav-menu,
.fse-designed-header:not(.fse-copy-preserve) ul.fse-nav-menu,
.fse-designed-header:not(.fse-copy-preserve) .wp-block-list,
header.fse-designed-header:not(.fse-copy-preserve) .fse-main-nav ul,
header.fse-designed-header:not(.fse-copy-preserve) .fse-nav-menu,
.fse-header.fse-designed-header:not(.fse-copy-preserve) .fse-nav-menu {
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.fse-designed-header:not(.fse-copy-preserve) .fse-main-nav li,
.fse-designed-header:not(.fse-copy-preserve) nav li,
.fse-designed-header:not(.fse-copy-preserve) .fse-nav-menu li,
header.fse-designed-header:not(.fse-copy-preserve) .fse-main-nav li,
header.fse-designed-header:not(.fse-copy-preserve) .fse-nav-menu li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0;
  padding: 0;
}
.fse-designed-header:not(.fse-copy-preserve) li::marker,
header.fse-designed-header:not(.fse-copy-preserve) li::marker {
  content: none !important;
}
.fse-designed-header .wp-block-html ul,
.fse-designed-header .wp-block-html ol,
header.fse-designed-header .wp-block-html ul {
  list-style: none !important;
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding-left: 0 !important;
  margin: 0 !important;
}
.fse-designed-header:not(.fse-copy-preserve) .fse-header-content,
.fse-designed-header:not(.fse-copy-preserve) .fse-header-inner {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}
.fse-designed-header:not(.fse-copy-preserve) .fse-main-nav a,
.fse-designed-header:not(.fse-copy-preserve) nav a,
.fse-designed-header:not(.fse-copy-preserve) .fse-nav-menu a {
  text-decoration: none;
}
.fse-designed-header:not(.fse-copy-preserve) .fse-header-actions { display: flex !important; align-items: center; gap: 0.5rem; }
.fse-designed-header:not(.fse-copy-preserve) .fse-toggle-button { display: inline-flex; align-items: center; }
[class*="text-center"], .text-center, .has-text-align-center,
[style*="text-align: center"], [style*="text-align:center"] {
  text-align: center;
}
.fse-filter-bar, .fse-filters, [class*="filter-bar"], [class*="filters-row"] {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

/* ============================================
   Per-Page Scoped Styles (PressMeGPT)
   ============================================ */


/* Editable Gutenberg footer site title */
.fse-footer .fse-footer-site-title {
  margin: 0 0 1rem;
  font-family: "Roboto Mono", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
}
.fse-footer .fse-footer-site-title a {
  color: var(--td-color-primary);
  text-decoration: none;
}


/* ============================================
   Gutenberg-safe Dracula text accents
   Keep terminal syntax colors while all text remains native/editable blocks.
   ============================================ */
.terminal-intro .terminal-user,
.terminal-header .terminal-user,
.editor-styles-wrapper .terminal-intro .terminal-user,
.editor-styles-wrapper .terminal-header .terminal-user {
  color: #50FA7B !important;
  opacity: 0.95;
}

.terminal-intro .terminal-cmd,
.terminal-header .terminal-cmd,
.editor-styles-wrapper .terminal-intro .terminal-cmd,
.editor-styles-wrapper .terminal-header .terminal-cmd {
  color: #F8F8F2 !important;
}

.timeline-item .timeline-date,
.editor-styles-wrapper .timeline-item .timeline-date {
  color: #50FA7B !important;
}

.editorial-body strong,
.editor-styles-wrapper .editorial-body strong {
  color: #50FA7B !important;
  font-weight: 600;
}

/* Dracula secondary accent for interactive text, without changing layout. */
a:hover,
.editor-styles-wrapper a:hover {
  color: #BD93F9;
}


/* === v1.2.3 Gutenberg-safe Dracula text accents ===
   Structural fallbacks keep the terminal palette even if Gutenberg strips
   per-block custom classes from a saved page/template. */
.terminal-intro > p:first-of-type,
.terminal-header > p:first-of-type,
.editor-styles-wrapper .terminal-intro > p:first-of-type,
.editor-styles-wrapper .terminal-header > p:first-of-type,
.terminal-intro .terminal-user,
.terminal-header .terminal-user,
.editor-styles-wrapper .terminal-intro .terminal-user,
.editor-styles-wrapper .terminal-header .terminal-user {
  color: #50FA7B !important;
  -webkit-text-fill-color: #50FA7B !important;
  opacity: 0.95;
}

.terminal-intro > p:nth-of-type(2),
.terminal-header > p:nth-of-type(2),
.editor-styles-wrapper .terminal-intro > p:nth-of-type(2),
.editor-styles-wrapper .terminal-header > p:nth-of-type(2),
.terminal-intro .terminal-cmd,
.terminal-header .terminal-cmd,
.editor-styles-wrapper .terminal-intro .terminal-cmd,
.editor-styles-wrapper .terminal-header .terminal-cmd {
  color: #F8F8F2 !important;
  -webkit-text-fill-color: #F8F8F2 !important;
}

.timeline-item > p:first-of-type,
.editor-styles-wrapper .timeline-item > p:first-of-type,
.timeline-item .timeline-date,
.editor-styles-wrapper .timeline-item .timeline-date {
  color: #50FA7B !important;
  -webkit-text-fill-color: #50FA7B !important;
}

.editorial-body strong,
.editor-styles-wrapper .editorial-body strong {
  color: #50FA7B !important;
  -webkit-text-fill-color: #50FA7B !important;
}

/* Fallback for a footer customization already saved in the database. */
.fse-attribution,
.editor-styles-wrapper .fse-attribution {
  display: none !important;
}
