/*
 * Psicólogo Plus brand layer (loaded after editorial.css, only for this tenant).
 * Black header, deep teal accent, Figtree, generous radii and tinted surfaces.
 */
[data-theme="psicologoplus"] {
    --pp-ink: #1a1a1a;
    --pp-muted: #4f5b5e;
    --pp-teal: #00717a;
    --pp-teal-dark: #005c63;
    --pp-teal-light: #7fd6d9;
    --pp-tint: #eaf6f6;
    --pp-tint-strong: #dfeced;
    --pp-paper: #f2f5f5;
    --pp-line: #dde5e6;
    --pp-radius: 24px;
    --pp-radius-sm: 16px;
}
[data-theme="psicologoplus"] .editorial-site {
    --editorial-ink: var(--pp-ink);
    --editorial-muted: var(--pp-muted);
    --editorial-accent: var(--pp-teal);
    --editorial-paper: var(--pp-paper);
    --editorial-line: var(--pp-line);
    --salus-search-accent: var(--pp-teal);
    --salus-search-ink: var(--pp-ink);
    --salus-search-soft: var(--pp-paper);
    color: var(--pp-ink);
}
[data-theme="psicologoplus"] ::selection { background: var(--pp-teal-light); color: #000; }

/* Header */
[data-theme="psicologoplus"] #site-header { background: #000 !important; box-shadow: none !important; border-bottom: 0 !important; backdrop-filter: none; --brand-mark-cutout: #000; }
[data-theme="psicologoplus"] #site-header .nav-link { font-size: .92rem; font-weight: 600; color: #fff; }
[data-theme="psicologoplus"] #site-header .nav-link:hover { background: rgba(255, 255, 255, .1); }
[data-theme="psicologoplus"] #site-header .nav-cta-outline { border: 1.5px solid rgba(255, 255, 255, .85) !important; color: #fff !important; padding: .4rem 1.1rem; }
[data-theme="psicologoplus"] #site-header .nav-cta-outline:hover { background: #fff; color: #000 !important; }
[data-theme="psicologoplus"] #site-header .salus-search-trigger__key { background: transparent; border-color: rgba(255, 255, 255, .3); }
[data-theme="psicologoplus"] .brand-wordmark { font-family: 'Figtree', sans-serif; font-weight: 800; letter-spacing: -.045em !important; font-size: 1.65rem; }
[data-theme="psicologoplus"] .site-brand { gap: .55rem; }
[data-theme="psicologoplus"] .site-brand > span:first-child { width: 2.4rem; }
[data-theme="psicologoplus"] #mobile-menu { background: #000; --brand-mark-cutout: #000; }
[data-theme="psicologoplus"] #mobile-menu a, [data-theme="psicologoplus"] #mobile-menu .maps-navigation__trigger { color: #fff; }
[data-theme="psicologoplus"] #mobile-menu a:hover { background: rgba(255, 255, 255, .08); }
[data-theme="psicologoplus"] #mobile-menu .border-navy-200 { border-color: rgba(255, 255, 255, .5); }

/* Typography */
[data-theme="psicologoplus"] .editorial-site main :is(h1, h2, h3, h4) { font-family: 'Figtree', sans-serif; letter-spacing: -.025em; }
[data-theme="psicologoplus"] .editorial-site main :is(h1, h2) { font-weight: 700; }
[data-theme="psicologoplus"] .editorial-site main :is(.text-navy-500, .text-navy-600) { color: var(--pp-ink); }
[data-theme="psicologoplus"] .editorial-site :is(.editorial-eyebrow, h2.editorial-eyebrow),
[data-theme="psicologoplus"] .editorial-site main .uppercase.tracking-\[0\.2em\] {
    text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 600; color: var(--pp-teal);
}

/* Home hero */
[data-theme="psicologoplus"] .editorial-hero { background: #fff; border-bottom: 0; padding-top: 8.5rem; }
[data-theme="psicologoplus"] .editorial-hero h1 { font-family: 'Figtree', sans-serif; font-weight: 800; font-size: clamp(2.6rem, 4.2vw, 4.1rem); line-height: 1.06; letter-spacing: -.035em; }
[data-theme="psicologoplus"] .editorial-hero h1 span { color: var(--pp-teal); }
[data-theme="psicologoplus"] .editorial-hero__principles { border-top-color: var(--pp-line); }
[data-theme="psicologoplus"] .editorial-hero__links h2 { font-size: 1.05rem; font-weight: 700; }
[data-theme="psicologoplus"] .editorial-hero__links > a > span[aria-hidden] {
    font-size: 0; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--pp-tint); color: var(--pp-teal); transition: background .2s, color .2s;
}
[data-theme="psicologoplus"] .editorial-hero__links > a > span[aria-hidden]::before { content: "→"; font-size: 1rem; font-weight: 700; }
[data-theme="psicologoplus"] .editorial-hero__links > a:hover > span[aria-hidden] { background: var(--pp-teal); color: #fff; }
[data-theme="psicologoplus"] .editorial-feature { border: 0; border-radius: var(--pp-radius); background: var(--pp-teal); }
[data-theme="psicologoplus"] .editorial-feature :is(h2, p, span, .editorial-eyebrow, .editorial-feature__excerpt, .editorial-feature__read) { color: #fff !important; }
[data-theme="psicologoplus"] .editorial-feature__image { border-radius: var(--pp-radius) var(--pp-radius) 0 0; }
[data-theme="psicologoplus"] .editorial-feature:focus-within { outline-color: var(--pp-teal-dark); }

/* Buttons, search */
[data-theme="psicologoplus"] .editorial-button { border-radius: 999px; font-family: 'Figtree', sans-serif; font-size: .95rem; font-weight: 600; padding: .75rem 1.5rem; }
[data-theme="psicologoplus"] .editorial-button:hover { background: var(--pp-teal-dark); border-color: var(--pp-teal-dark); }
[data-theme="psicologoplus"] .editorial-button--secondary { background: #fff; color: var(--pp-teal); border: 1.5px solid var(--pp-teal); }
[data-theme="psicologoplus"] .editorial-button--secondary:hover { background: var(--pp-tint); color: var(--pp-teal-dark); }
[data-theme="psicologoplus"] .salus-search-hero { border-radius: 999px; border: 1.5px solid #c5d2d4; box-shadow: none; }
[data-theme="psicologoplus"] .salus-search-hero__submit { border-radius: 999px; background: var(--pp-teal); }
[data-theme="psicologoplus"] .editorial-site main .cta-glow { background: var(--pp-teal); box-shadow: none; }
[data-theme="psicologoplus"] .editorial-site main .cta-glow:hover { background: var(--pp-teal-dark); transform: none; }
[data-theme="psicologoplus"] .editorial-site .editorial-form button[type="submit"] { border-radius: 999px; background: var(--pp-teal); }
[data-theme="psicologoplus"] .editorial-site .editorial-form :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), select, textarea) { border-radius: 12px; border-color: #b9c7c9; }

/* Surfaces and cards */
[data-theme="psicologoplus"] .bg-\[\#f6f8f8\] { background: var(--pp-paper) !important; }
[data-theme="psicologoplus"] .editorial-site main :is(.rounded-2xl, .rounded-3xl) { border-radius: var(--pp-radius); }
[data-theme="psicologoplus"] .editorial-site .editorial-post-card { border: 0; border-radius: var(--pp-radius); background: transparent; }
[data-theme="psicologoplus"] .editorial-site .editorial-post-card img { border-radius: var(--pp-radius); }
[data-theme="psicologoplus"] .editorial-site .editorial-post-card > a > div:last-child { padding: 1rem .25rem 0; }
[data-theme="psicologoplus"] .editorial-site .editorial-post-card h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.35; }
[data-theme="psicologoplus"] .editorial-site .editorial-post-card:hover h3 { color: var(--pp-teal); }
[data-theme="psicologoplus"] .editorial-site .editorial-ranking-card { border-radius: var(--pp-radius-sm); }
[data-theme="psicologoplus"] .editorial-site .editorial-listing { border: 0; border-radius: var(--pp-radius); background: var(--pp-paper); box-shadow: none; }
[data-theme="psicologoplus"] .editorial-site .editorial-listing img { border-radius: var(--pp-radius-sm); }
[data-theme="psicologoplus"] .editorial-site .editorial-contents { border: 0; border-radius: var(--pp-radius-sm); background: var(--pp-tint); }

/* Page and ranking headers */
[data-theme="psicologoplus"] .editorial-site .editorial-page-header { background: var(--pp-paper); border-bottom: 0; }
[data-theme="psicologoplus"] .editorial-site .editorial-ranking-header { border-bottom: 0; }
[data-theme="psicologoplus"] .editorial-site .editorial-ranking-header--image > .absolute:nth-child(2) { background-color: rgba(0, 60, 66, .84) !important; }
[data-theme="psicologoplus"] .editorial-site .editorial-ranking-header--image :is(h1, h2) { color: #fff; }

/* Article prose */
[data-theme="psicologoplus"] .editorial-site .prose { font-size: 1.125rem; line-height: 1.8; }
[data-theme="psicologoplus"] .editorial-site .prose :is(h2, h3, h4) { color: var(--pp-ink); }
[data-theme="psicologoplus"] .editorial-site .prose h2 { font-weight: 700; }
[data-theme="psicologoplus"] .editorial-site .prose p { color: #2b3335; }
[data-theme="psicologoplus"] .editorial-site .prose a { color: var(--pp-teal); text-decoration-thickness: 1px; text-underline-offset: .2em; }
[data-theme="psicologoplus"] .editorial-site .prose a:hover { color: var(--pp-teal-dark); }
[data-theme="psicologoplus"] .editorial-site .prose blockquote { border-left-color: var(--pp-teal); border-radius: 0 var(--pp-radius-sm) var(--pp-radius-sm) 0; font-style: normal; }
[data-theme="psicologoplus"] .editorial-site .prose img { border-radius: var(--pp-radius-sm); }

/* Closing CTA and footer */
[data-theme="psicologoplus"] .editorial-site main .bg-gradient-to-br.from-navy-400.via-navy-500 { background: var(--pp-teal) !important; }
[data-theme="psicologoplus"] .editorial-site footer { background: #000; --brand-mark-cutout: #000; }
[data-theme="psicologoplus"] .editorial-site footer a:hover { color: var(--pp-teal-light); }

@media (max-width: 767px) {
    [data-theme="psicologoplus"] .editorial-hero { padding-top: 6rem; }
    [data-theme="psicologoplus"] .editorial-hero h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
    [data-theme="psicologoplus"] .brand-wordmark { font-size: 1.4rem; }
    [data-theme="psicologoplus"] .site-brand > span:first-child { width: 2.1rem; }
}

/* Line icons and icon tiles (emoji replacements) */
[data-theme="psicologoplus"] .ui-icon { display: block; flex-shrink: 0; }
[data-theme="psicologoplus"] .ui-icon-tile { background: var(--pp-tint) !important; color: var(--pp-teal); box-shadow: none !important; }
[data-theme="psicologoplus"] a:hover .ui-icon-tile { background: var(--pp-teal) !important; color: #fff; }

/* Typographic covers for cards without imagery */
[data-theme="psicologoplus"] .pp-cover { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; overflow: hidden; color: #fff; }
[data-theme="psicologoplus"] .pp-cover--ranking { background: linear-gradient(135deg, var(--pp-teal) 0%, #004c53 100%); }
[data-theme="psicologoplus"] .pp-cover--test { background: var(--pp-tint); color: var(--pp-teal); justify-content: center; align-items: flex-start; }
[data-theme="psicologoplus"] .pp-cover__motif { position: absolute; right: -12%; top: 50%; width: 85%; transform: translateY(-50%); stroke: currentColor; stroke-width: 1.2; opacity: .22; transition: transform .5s ease; }
[data-theme="psicologoplus"] .pp-cover--test .pp-cover__motif { opacity: .35; }
[data-theme="psicologoplus"] a:hover .pp-cover__motif { transform: translateY(-50%) translateX(-4%); }
[data-theme="psicologoplus"] .pp-cover__count { position: relative; font: 800 clamp(3.5rem, 6vw, 5rem)/.9 'Figtree', sans-serif; letter-spacing: -.05em; }
[data-theme="psicologoplus"] .pp-cover__label { position: relative; margin-top: .5rem; max-width: 80%; font: 600 .95rem/1.3 'Figtree', sans-serif; color: rgba(255, 255, 255, .85); }
[data-theme="psicologoplus"] .pp-cover__icon { position: relative; }
[data-theme="psicologoplus"] .pp-cover__badge { position: relative; display: flex; align-items: center; justify-content: center; width: 5rem; height: 5rem; border-radius: 50%; background: #fff; color: var(--pp-teal); }
[data-theme="psicologoplus"] .pp-cover__meta { position: relative; margin-top: .9rem; font: 600 .85rem/1 'Figtree', sans-serif; color: var(--pp-teal-dark); }
[data-theme="psicologoplus"] .pp-cover ~ span.absolute { z-index: 1; }

/* Card containers on listings: softer borders, larger radii */
[data-theme="psicologoplus"] .editorial-site main a.group.block.bg-white { border-color: var(--pp-line); box-shadow: none; }
[data-theme="psicologoplus"] .editorial-site main a.group.block.bg-white:hover { box-shadow: 0 18px 40px -18px rgba(0, 60, 66, .25); transform: translateY(-3px); }

/* Final CTA button on teal */
[data-theme="psicologoplus"] .editorial-site main .bg-gradient-to-br.from-navy-400.via-navy-500 a { background: #fff; color: var(--pp-teal); border-radius: 999px; }
[data-theme="psicologoplus"] .editorial-site main .bg-gradient-to-br.from-navy-400.via-navy-500 a:hover { background: var(--pp-tint); }
[data-theme="psicologoplus"] .editorial-site main .bg-gradient-to-br.from-navy-400.via-navy-500 p { color: rgba(255, 255, 255, .85); }
[data-theme="psicologoplus"] .editorial-site main .bg-gradient-to-br.from-navy-400.via-navy-500 > .absolute { display: none; }
[data-theme="psicologoplus"] .pp-cover--test ~ span.absolute { background: #fff !important; color: var(--pp-teal) !important; border: 0 !important; backdrop-filter: none; }
[data-theme="psicologoplus"] .pp-cover--test { align-items: center; }
[data-theme="psicologoplus"] footer .analytics-consent-settings { font-size: .75rem; text-decoration: none; color: rgba(255, 255, 255, .55); }
[data-theme="psicologoplus"] footer .analytics-consent-settings:hover { color: #fff; }

/* Legacy dark page heroes (templates without .editorial-page-header) adopt the light editorial header */
[data-theme="psicologoplus"] .editorial-site main > section:first-child.bg-gradient-to-br.from-navy-400:not(.editorial-page-header) { background: var(--pp-paper) !important; color: var(--pp-ink); }
[data-theme="psicologoplus"] .editorial-site main > section:first-child.bg-gradient-to-br.from-navy-400:not(.editorial-page-header) > .absolute { display: none; }
[data-theme="psicologoplus"] .editorial-site main > section:first-child.bg-gradient-to-br.from-navy-400:not(.editorial-page-header) :is(h1, h2, h3, .text-white) { color: var(--pp-ink) !important; }
[data-theme="psicologoplus"] .editorial-site main > section:first-child.bg-gradient-to-br.from-navy-400:not(.editorial-page-header) :is(p, span, time, li, [class*="text-white\/"]) { color: var(--pp-muted); }
[data-theme="psicologoplus"] .editorial-site main > section:first-child.bg-gradient-to-br.from-navy-400:not(.editorial-page-header) a:not([class*="bg-"]) { color: var(--pp-teal); }
[data-theme="psicologoplus"] .editorial-site main > section:first-child.bg-gradient-to-br.from-navy-400:not(.editorial-page-header) [class*="bg-white\/"] { background: #fff; border-color: var(--pp-line); }
[data-theme="psicologoplus"] .editorial-site .editorial-page-header h1 { font-weight: 800; letter-spacing: -.035em; }
[data-theme="psicologoplus"] .editorial-site main [class*="from-navy-900"] .animate-float { color: #fff; background: rgba(255, 255, 255, .08) !important; border-color: rgba(127, 214, 217, .35) !important; box-shadow: none !important; }
[data-theme="psicologoplus"] #site-header > div > nav { position: relative; z-index: 50; }
[data-theme="psicologoplus"] #mobile-menu .maps-navigation__trigger { display: flex; align-items: center; gap: .5rem; }
