/* Home only. Loaded after legacy theme/custom CSS to establish one layout. */
/* Shared desktop masthead. The rest of this sheet remains home-only. */
body.pfpc-desktop-chrome .pfpc-masthead { background: #080808; border-bottom: 1px solid #590000; }
body.pfpc-desktop-chrome .pfpc-masthead-inner { max-width: var(--pfpc-desktop-container-width, 1200px); padding: 19px 0; margin: auto; display: grid; grid-template-columns: 300px minmax(0,1fr) 235px; gap: 17px; align-items: center; }
@media (min-width: 1101px) { body.pfpc-desktop-chrome .pfpc-masthead-inner--no-actions { grid-template-columns: 300px minmax(0,1fr); } body.pfpc-desktop-chrome .pfpc-masthead-inner--no-actions .pfpc-header-actions { display: none; } body.pfpc-desktop-chrome .pfpc-masthead-inner--no-actions .pfpc-search { max-width: 640px; } }
body.pfpc-desktop-chrome .pfpc-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
body.pfpc-desktop-chrome .pfpc-account-button { width: 58px; }
body.pfpc-desktop-chrome .pfpc-brand { display: flex; min-width: 0; gap: 12px; align-items: center; color: #ffffff; font-size: 12px; font-weight: 700; letter-spacing: .12em; line-height: 1.2; }
body.pfpc-desktop-chrome .pfpc-brand-name { display: block; min-width: 0; flex: 1 1 auto; font-family: Arial, Helvetica, sans-serif; font-size: 24px; font-weight: 800; letter-spacing: -.06em; line-height: 1.05; white-space: nowrap; text-shadow: 0 1px 0 rgba(255,255,255,.08); }
body.pfpc-desktop-chrome .pfpc-brand-badge { display: inline-block; position: relative; top: -1px; margin-left: 8px; padding: 4px 6px; border: 1px solid rgba(255,255,255,.2); border-radius: 4px; background: #8e0202; color: #ffffff; font-size: .48em; font-weight: 800; letter-spacing: .02em; line-height: 1.05; vertical-align: middle; white-space: nowrap; }
body.pfpc-desktop-chrome .pfpc-brand-badge--horizontal { animation: pfpc-brand-badge-horizontal var(--pfpc-brand-badge-duration, 2.8s) ease-in-out infinite; }
body.pfpc-desktop-chrome .pfpc-brand-badge--vertical { animation: pfpc-brand-badge-vertical var(--pfpc-brand-badge-duration, 2.8s) ease-in-out infinite; }
@keyframes pfpc-brand-badge-horizontal { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(2px); } }
@keyframes pfpc-brand-badge-vertical { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) {
    body.pfpc-desktop-chrome .pfpc-brand-badge--horizontal,
    body.pfpc-desktop-chrome .pfpc-brand-badge--vertical,
    body.pfpc-home-v2 .pfpc-brand-badge--horizontal,
    body.pfpc-home-v2 .pfpc-brand-badge--vertical { animation: none !important; }
}

body.pfpc-desktop-chrome .pfpc-brand-image { display: block; width: auto; max-width: 100%; max-height: 48px; object-fit: contain; }
body.pfpc-desktop-chrome .pfpc-brand strong { display: block; font-size: 27px; letter-spacing: -.035em; }
body.pfpc-desktop-chrome .pfpc-brand strong span { color: #8e0202; }
body.pfpc-desktop-chrome .pfpc-search { display: flex; position: relative; z-index: 60; justify-self: start; margin: 0; width: 100%; max-width: 640px; height: 48px; }
body.pfpc-desktop-chrome .pfpc-search-field { position: relative; min-width: 0; flex: 1 1 auto; }
body.pfpc-desktop-chrome .pfpc-search input { min-width: 0; width: 100%; height: 100%; border: 1px solid #dddddd; border-right: 0; background: #ffffff; color: #202020; padding: 0 17px; border-radius: 7px 0 0 7px; font: 14px Arial,sans-serif; }
body.pfpc-desktop-chrome .pfpc-search input:focus,
body.pfpc-desktop-chrome .pfpc-search input:focus-visible { outline: 0 !important; outline-offset: 0 !important; box-shadow: inset 0 0 0 2px #8e0202 !important; }
body.pfpc-desktop-chrome .pfpc-search button { flex-shrink: 0; padding: 0 23px; border: 0; border-radius: 0 7px 7px 0; background: #8e0202; color: #ffffff; font-size: 13px; font-weight: 700; cursor: pointer; }
body.pfpc-desktop-chrome .pfpc-search-suggestions { display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; max-height: none; overflow: visible; margin: 0; padding: 4px 0; background: #191c20; border: 1px solid #30343a; border-radius: 0 0 7px 7px; box-shadow: 0 12px 25px rgba(0,0,0,.45); }
body.pfpc-desktop-chrome .pfpc-search-suggestions.is-visible { display: block; }
body.pfpc-desktop-chrome .pfpc-search-suggestions a { display: flex; align-items: center; gap: 10px; padding: 8px 13px; color: #f3f3f3; font: 600 13px/1.35 Arial,sans-serif; text-decoration: none; }
body.pfpc-desktop-chrome .pfpc-search-suggestion__image { flex: 0 0 32px; width: 32px; height: 32px; object-fit: contain; border-radius: 4px; background: #ffffff; }
body.pfpc-desktop-chrome .pfpc-search-suggestion__content { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
body.pfpc-desktop-chrome .pfpc-search-suggestion__title { min-width: 0; }
body.pfpc-desktop-chrome .pfpc-search-suggestion__date { color: #aeb5bd; font: 11px/1.2 Arial,sans-serif; }
body.pfpc-desktop-chrome .pfpc-search-suggestions a:hover, body.pfpc-desktop-chrome .pfpc-search-suggestions a:focus { background: #2b3036; color: #ffffff; outline: 0; }
body.pfpc-desktop-chrome .pfpc-search-suggestions__all { justify-content: center; border-top: 1px solid #30343a; color: #ffb0b0; font-weight: 700; }
body.pfpc-desktop-chrome .pfpc-search-suggestions__all:hover, body.pfpc-desktop-chrome .pfpc-search-suggestions__all:focus { color: #ffffff; }
body.pfpc-desktop-chrome .pfpc-search-suggestions__message { padding: 9px 13px; color: #bfc4ca; font: 12px/1.35 Arial,sans-serif; }
body.pfpc-desktop-chrome .srch-header--archive { display: none !important; }
/* En búsquedas de escritorio se conserva solo la franja informativa, sin el segundo buscador rojo. */
.srch-desktop-summary { display: none; }
.pfpc-search-pagination-desktop { display: none; }
@media (min-width: 769px) {
    body.pfpc-desktop-chrome .PdP_busqueda .srch-header { align-items: center; justify-content: center; min-height: 42px; padding: 0.7rem 1rem !important; }
    body.pfpc-desktop-chrome .PdP_busqueda .srch-text-wrap,
    body.pfpc-desktop-chrome .PdP_busqueda .srch-count-badge { display: none !important; }
    body.pfpc-desktop-chrome .PdP_busqueda .srch-desktop-summary { display: block !important; margin: 0; color: #ffffff; font-size: 15px; font-weight: 700; line-height: 1.35; text-align: center; }
    body.pfpc-desktop-chrome .PdP_busqueda .srch-desktop-summary strong { color: #ffffff; font-weight: 800; }
    body.pfpc-desktop-chrome .PdP_busqueda .srch-header { box-shadow: 0 5px 14px rgba(31,31,38,.16) !important; }
    body.pfpc-desktop-chrome .PdP_busqueda > .container.bg-white { box-shadow: 0 3px 12px rgba(31,31,38,.10) !important; }
}
@media (min-width: 901px) {
    body.pfpc-desktop-chrome .PdP_busqueda .pfpc-search-pagination-desktop { display: block; }
    body.pfpc-desktop-chrome .PdP_busqueda .pfpc-search-pagination-legacy { display: none !important; }
}
 body.pfpc-desktop-chrome #page .pfpc-archive-intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; margin: 0 0 14px; padding: 20px 28px; box-sizing: border-box; background: #161616; border: 1px solid #720909; border-top: 2px solid #a31616; border-radius: 10px; color: #ffffff; box-shadow: 0 8px 22px rgba(0,0,0,.34); }
body.pfpc-desktop-chrome #page .pfpc-archive-intro__copy { min-width: 0; }
body.pfpc-desktop-chrome #page .pfpc-archive-intro__eyebrow { margin: 0 0 5px; color: #ff7777; font-size: 11px; font-weight: 800; letter-spacing: .16em; line-height: 1.3; text-transform: uppercase; }
body.pfpc-desktop-chrome #page .pfpc-archive-intro h1 { margin: 0 0 8px; color: #ffffff; font-size: clamp(26px, 3vw, 34px); font-weight: 800; line-height: 1.1; }
body.pfpc-desktop-chrome #page .pfpc-archive-intro__description { max-width: 850px; color: #dedede; font-size: 14px; line-height: 1.5; }
body.pfpc-desktop-chrome #page .pfpc-archive-intro__description p { margin: 0 0 8px; font-size: 14px !important; text-align: left !important; }
body.pfpc-desktop-chrome #page .pfpc-archive-intro__description p:last-child { margin-bottom: 0; }
body.pfpc-desktop-chrome #page .pfpc-archive-intro__description span { color: inherit !important; font-size: inherit !important; }
body.pfpc-desktop-chrome #page .pfpc-archive-intro__description i { color: #ff7777 !important; }
body.pfpc-desktop-chrome #page .pfpc-archive-intro__description a { color: #ff9696; text-decoration: underline; }
body.pfpc-desktop-chrome #page .pfpc-archive-intro__description hr { margin: 8px 0; border-color: #5e2525; }
body.pfpc-desktop-chrome #page .pfpc-archive-intro__count { flex: 0 0 160px; padding: 14px 18px; border: 1px solid rgba(220,58,58,.55); border-radius: 9px; text-align: center; }
body.pfpc-desktop-chrome #page .pfpc-archive-intro__count strong { display: block; color: #ff7777; font-size: 30px; line-height: 1; }
body.pfpc-desktop-chrome #page .pfpc-archive-intro__count span { display: block; margin-top: 7px; color: #ffffff; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
body.pfpc-desktop-chrome #page .pfpc-archive-filters .pfpc-archive-filter-group > label { font-size: 12px; line-height: 18px; }
body.pfpc-desktop-chrome #page .pfpc-archive-filters select { height: 34px; min-height: 34px; padding: 5px 8px; font-size: 13px; line-height: 18px; }
body.pfpc-desktop-chrome #page .pfpc-archive-filters .pfpc-filter-submit { font-size: 14px; }
@media (min-width: 769px) {
    body.pfpc-desktop-chrome #page .pfpc-archive-filters .pfpc-filter-submit,
    body.pfpc-desktop-chrome #page .pfpc-archive-filters .pfpc-filter-submit:hover,
    body.pfpc-desktop-chrome #page .pfpc-archive-filters .pfpc-filter-submit:focus-visible {
        box-shadow: none !important;
    }
}

/* Selector de pieles: Original, Claro y Oscuro. */
@media (min-width: 769px) {
    body.pfpc-desktop-chrome .pfpc-theme-switcher,
    body.pfpc-home-v2 .pfpc-theme-switcher {
        position: relative;
        display: block;
    }

    body.pfpc-desktop-chrome .pfpc-theme-toggle,
    body.pfpc-home-v2 .pfpc-theme-toggle {
        position: relative;
        z-index: 2;
    }

    body.pfpc-desktop-chrome .pfpc-theme-control-icon,
    body.pfpc-home-v2 .pfpc-theme-control-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 22px;
        height: 22px;
    }

    body.pfpc-desktop-chrome .pfpc-theme-control-icon svg,
    body.pfpc-home-v2 .pfpc-theme-control-icon svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    body.pfpc-desktop-chrome .pfpc-theme-control-half,
    body.pfpc-home-v2 .pfpc-theme-control-half {
        fill: currentColor;
        stroke: none;
    }

    body.pfpc-desktop-chrome .pfpc-theme-menu,
    body.pfpc-home-v2 .pfpc-theme-menu {
        position: absolute;
        z-index: 1000;
        top: calc(100% + 8px);
        right: 0;
        width: 164px;
        padding: 4px;
        overflow: hidden;
        border: 1px solid #cdd5dc;
        border-radius: 5px;
        background: #eef3f9;
        box-shadow: 0 8px 18px rgba(0, 0, 0, .2);
    }

    body.pfpc-desktop-chrome .pfpc-theme-option,
    body.pfpc-home-v2 .pfpc-theme-option {
        display: grid;
        grid-template-columns: 22px minmax(0, 1fr) 16px;
        align-items: center;
        width: 100%;
        min-height: 34px;
        gap: 8px;
        padding: 5px 7px;
        border: 0;
        border-radius: 2px;
        background: transparent !important;
        color: #777777;
        font: 15px/1.2 Arial, sans-serif;
        text-align: left;
        cursor: pointer;
    }

    body.pfpc-desktop-chrome .pfpc-theme-option svg,
    body.pfpc-home-v2 .pfpc-theme-option svg {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    body.pfpc-desktop-chrome .pfpc-theme-option[data-pfpc-theme-mode="original"] svg path:first-child,
    body.pfpc-home-v2 .pfpc-theme-option[data-pfpc-theme-mode="original"] svg path:first-child {
        fill: currentColor;
        stroke: none;
    }

    body.pfpc-desktop-chrome .pfpc-theme-option b,
    body.pfpc-home-v2 .pfpc-theme-option b {
        visibility: hidden;
        color: currentColor;
        font-size: 17px;
        font-weight: 700;
        text-align: center;
    }

    body.pfpc-desktop-chrome .pfpc-theme-option:hover,
    body.pfpc-desktop-chrome .pfpc-theme-option:focus-visible,
    body.pfpc-home-v2 .pfpc-theme-option:hover,
    body.pfpc-home-v2 .pfpc-theme-option:focus-visible {
        outline: 0;
        background: #dce7f1 !important;
        color: #4b5563;
    }

    body.pfpc-desktop-chrome .pfpc-theme-option[aria-selected="true"],
    body.pfpc-home-v2 .pfpc-theme-option[aria-selected="true"] {
        background: var(--pfpc-user-accent, #168fba) !important;
        color: #ffffff;
    }

    body.pfpc-desktop-chrome .pfpc-theme-option[aria-selected="true"] b,
    body.pfpc-home-v2 .pfpc-theme-option[aria-selected="true"] b {
        visibility: visible;
    }
}
body.pfpc-desktop-chrome .pfpc-account-button { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 48px; padding: 0; border: 0; background: transparent; color: #ffffff; line-height: 1; cursor: pointer; font: inherit; }
body.pfpc-desktop-chrome .pfpc-account-icon { display: flex; align-items: center; justify-content: center; color: #ff5757; }
body.pfpc-desktop-chrome .pfpc-account-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.pfpc-desktop-chrome .pfpc-account-icon svg { width: 22px; height: 22px; }
body.pfpc-desktop-chrome .pfpc-account-button small { margin-top: 4px; color: #ffffff; font-size: 9px; font-weight: 700; }
body.pfpc-desktop-chrome .pfpc-account-button:hover, body.pfpc-desktop-chrome .pfpc-account-button:focus-visible { color: #ff8c8c; }
body.pfpc-desktop-chrome .pfpc-account-button:hover small, body.pfpc-desktop-chrome .pfpc-account-button:focus-visible small { color: #ff8c8c; }
body.pfpc-desktop-chrome .pfpc-account-button:hover .pfpc-account-icon, body.pfpc-desktop-chrome .pfpc-account-button:focus-visible .pfpc-account-icon { color: #ff8c8c; }
body.pfpc-desktop-chrome .pfpc-header-shortcut { color: #eeeeee; font-size: 13px; text-align: right; }
body.pfpc-desktop-chrome .pfpc-header-shortcut span { color: #ffb3b3; font-size: 22px; margin-right: 6px; }
body.pfpc-desktop-chrome .pfpc-primary-nav { background: #111111; border-bottom: 1px solid #a32727; position: relative; z-index: 40; }
body.pfpc-desktop-chrome .pfpc-nav-inner { max-width: var(--pfpc-desktop-container-width, 1200px); margin: auto; }
body.pfpc-desktop-chrome .pfpc-primary-menu { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
body.pfpc-desktop-chrome .pfpc-primary-menu li { position: relative; list-style: none; margin: 0; }
body.pfpc-desktop-chrome .pfpc-primary-menu > li { display: flex; align-items: center; }
body.pfpc-desktop-chrome .pfpc-primary-menu a { display: block; padding: 15px 17px; color: #ffffff; font-size: 14px; font-weight: 600; line-height: 22px; }
body.pfpc-desktop-chrome .pfpc-primary-menu a:hover { color: #fff; background: #222222; }
body.pfpc-desktop-chrome .pfpc-primary-menu i { color: #fff; margin-right: 7px; }
body.pfpc-desktop-chrome .pfpc-primary-menu ul { display: none; position: absolute; top: 100%; left: 0; width: 258px; max-height: 65vh; overflow-y: auto; margin: 0; padding: 7px; background: #191919; border: 1px solid #730000; border-radius: 0 0 9px 9px; box-shadow: 0 20px 40px #0007; }
body.pfpc-desktop-chrome .pfpc-primary-menu ul { scrollbar-width: thin; scrollbar-color: #b50000 #191919; }
body.pfpc-desktop-chrome .pfpc-primary-menu ul::-webkit-scrollbar { width: 7px; }
body.pfpc-desktop-chrome .pfpc-primary-menu ul::-webkit-scrollbar-track { margin: 6px 2px; border-radius: 8px; background: #0d0d0d; }
body.pfpc-desktop-chrome .pfpc-primary-menu ul::-webkit-scrollbar-thumb { min-height: 32px; border: 2px solid #0d0d0d; border-radius: 8px; background: linear-gradient(#e22a2a,#810000); }
body.pfpc-desktop-chrome .pfpc-primary-menu ul::-webkit-scrollbar-thumb:hover { background: #f34444; }
body.pfpc-desktop-chrome .pfpc-primary-menu ul a { padding: 9px 12px; line-height: 20px; white-space: normal; }
body.pfpc-desktop-chrome .pfpc-primary-menu li.is-expanded > ul { display: block; }
body.pfpc-desktop-chrome .pfpc-primary-menu ul ul { position: static; width: 100%; max-height: none; box-shadow: none; }
body.pfpc-desktop-chrome .pfpc-submenu-toggle { background: none; border: 0; color: #fff; padding: 8px 10px; cursor: pointer; font-size: 18px; }
body.pfpc-desktop-chrome .pfpc-nav-toggle { display: none; }
@media (hover:hover) and (min-width: 901px) { body.pfpc-desktop-chrome .pfpc-primary-menu li:hover > ul { display: block; } }
@media (min-width: 901px) {
    body.pfpc-desktop-chrome .pfpc-primary-menu > li.menu-item-has-children > a { padding-right: 34px; }
    body.pfpc-desktop-chrome .pfpc-submenu-toggle { position: absolute; top: 50%; right: 7px; width: 18px; height: 18px; padding: 0; font-size: 0; transform: translateY(-50%); }
    body.pfpc-desktop-chrome .pfpc-submenu-toggle::after { content: ''; display: block; width: 6px; height: 6px; margin: -3px auto 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
}

/* Keep both header actions on the same alignment guide while making the account control subtler. */
body.pfpc-desktop-chrome .pfpc-account-button,
body.pfpc-home-v2 .pfpc-account-button { width: 58px; transform: none; }
@media (max-width: 1380px) { body.pfpc-desktop-chrome .pfpc-masthead-inner, body.pfpc-desktop-chrome .pfpc-nav-inner { margin-left: 24px; margin-right: 24px; } }
@media (max-width: 1100px) { body.pfpc-desktop-chrome .pfpc-masthead-inner { grid-template-columns: 250px minmax(0,1fr); gap: 24px; } body.pfpc-desktop-chrome .pfpc-header-actions, body.pfpc-desktop-chrome .pfpc-header-shortcut { display: none; } }
body.pfpc-home-v2 {
    --pfpc-bg: #000000; --pfpc-panel: #ffffff; --pfpc-border: #8e0202;
    --pfpc-text: #161616; --pfpc-muted: #666666; --pfpc-accent: #8e0202;
    background: #000000 !important;
    color: var(--pfpc-text); font: 15px/1.6 Arial, Helvetica, sans-serif;
}
.pfpc-home-v2 #page { width: 100%; max-width: none; margin: 0; padding: 0; background: transparent; border: 0; box-shadow: none; }
.pfpc-home-v2 #content { display: block; width: min(var(--pfpc-desktop-container-width, 1200px), calc(100% - 48px)); max-width: none; margin: 20px auto 48px; padding: 0; background: transparent; }
.pfpc-home-v2 .pfpc-home-shell, .pfpc-home-v2 #primary, .pfpc-home-v2 #main { display: block; width: 100%; max-width: none; float: none; margin: 0; padding: 0; background: transparent; }
.pfpc-home-v2 #page *, .pfpc-home-v2 #page *::before, .pfpc-home-v2 #page *::after { box-sizing: border-box; }
.pfpc-home-v2 #page h1, .pfpc-home-v2 #page h2, .pfpc-home-v2 #page h3, .pfpc-home-v2 #page .widget-title {
    background: none !important; box-shadow: none !important; border: 0 !important; text-shadow: none; color: var(--pfpc-text); padding: 0; margin: 0; line-height: 1.25; font-family: inherit;
}
.pfpc-home-v2 #page a { text-decoration: none; }
.pfpc-home-v2 #page a:focus-visible, .pfpc-home-v2 #page button:focus-visible, .pfpc-home-v2 #page input:focus-visible { outline: 2px solid var(--pfpc-accent); outline-offset: 4px; }
.pfpc-home-v2 .pfpc-masthead { background: #080808; border-bottom: 1px solid #590000; }
body.pfpc-home-v2 .pfpc-masthead-inner { max-width: var(--pfpc-desktop-container-width, 1200px); padding: 19px 0; margin: auto; display: grid; grid-template-columns: 300px minmax(0,772px) 235px; gap: 34px; align-items: center; }
@media (min-width: 1101px) { body.pfpc-home-v2 .pfpc-masthead-inner--no-actions { grid-template-columns: 300px minmax(0,1fr); } body.pfpc-home-v2 .pfpc-masthead-inner--no-actions .pfpc-header-actions { display: none; } body.pfpc-home-v2 .pfpc-masthead-inner--no-actions .pfpc-search { max-width: 640px; } }
body.pfpc-home-v2 .pfpc-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
body.pfpc-home-v2 .pfpc-account-button { width: 58px; }
.pfpc-home-v2 .pfpc-brand { display: flex; gap: 12px; align-items: center; color: #ffffff; font-size: 12px; font-weight: 700; letter-spacing: .12em; line-height: 1.2; }
.pfpc-home-v2 .pfpc-brand-name { font-family: Arial, Helvetica, sans-serif; font-size: 24px; font-weight: 800; letter-spacing: -.06em; line-height: 1.05; white-space: nowrap; text-shadow: 0 1px 0 rgba(255,255,255,.08); }
.pfpc-home-v2 .pfpc-brand-badge { display: inline-block; position: relative; top: -1px; margin-left: 8px; padding: 4px 6px; border: 1px solid rgba(255,255,255,.2); border-radius: 4px; background: #8e0202; color: #ffffff; font-size: .48em; font-weight: 800; letter-spacing: .02em; line-height: 1.05; vertical-align: middle; white-space: nowrap; }
.pfpc-home-v2 .pfpc-brand-badge--horizontal { animation: pfpc-brand-badge-horizontal var(--pfpc-brand-badge-duration, 2.8s) ease-in-out infinite; }
.pfpc-home-v2 .pfpc-brand-badge--vertical { animation: pfpc-brand-badge-vertical var(--pfpc-brand-badge-duration, 2.8s) ease-in-out infinite; }
.pfpc-home-v2 .pfpc-brand-image { max-width: 100%; max-height: 48px; }
.pfpc-home-v2 .pfpc-brand strong { display: block; font-size: 27px; letter-spacing: -.035em; }
.pfpc-home-v2 .pfpc-brand strong span { color: var(--pfpc-accent); }
.pfpc-home-v2 .pfpc-search { display: flex; position: relative; z-index: 60; justify-self: start; margin: 0; width: 100%; max-width: 640px; height: 48px; }
.pfpc-home-v2 .pfpc-search-field { position: relative; min-width: 0; flex: 1 1 auto; }
.pfpc-home-v2 .pfpc-search input { min-width: 0; width: 100%; height: 100%; border: 1px solid #dddddd; border-right: 0; background: #ffffff; color: #202020; padding: 0 17px; border-radius: 7px 0 0 7px; font: 14px Arial,sans-serif; }
.pfpc-home-v2 .pfpc-search button { flex-shrink: 0; padding: 0 23px; border: 0; border-radius: 0 7px 7px 0; background: var(--pfpc-accent); color: #ffffff; font-size: 13px; font-weight: 700; cursor: pointer; }
.pfpc-home-v2 .pfpc-search-suggestions { display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; max-height: 260px; overflow-y: auto; margin: 0; padding: 4px 0; background: #191c20; border: 1px solid #30343a; border-radius: 0 0 7px 7px; box-shadow: 0 12px 25px rgba(0,0,0,.45); }
.pfpc-home-v2 .pfpc-search-suggestions.is-visible { display: block; }
.pfpc-home-v2 .pfpc-search-suggestions a { display: flex; align-items: center; gap: 10px; padding: 8px 13px; color: #f3f3f3; font: 600 13px/1.35 Arial,sans-serif; text-decoration: none; }
.pfpc-home-v2 .pfpc-search-suggestion__image { flex: 0 0 32px; width: 32px; height: 32px; object-fit: contain; border-radius: 4px; background: #ffffff; }
.pfpc-home-v2 .pfpc-search-suggestion__content { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.pfpc-home-v2 .pfpc-search-suggestion__title { min-width: 0; }
.pfpc-home-v2 .pfpc-search-suggestion__date { color: #aeb5bd; font: 11px/1.2 Arial,sans-serif; }
.pfpc-home-v2 .pfpc-search-suggestions a:hover, .pfpc-home-v2 .pfpc-search-suggestions a:focus { background: #2b3036; color: #ffffff; outline: 0; }
.pfpc-home-v2 .pfpc-search-suggestions__message { padding: 9px 13px; color: #bfc4ca; font: 12px/1.35 Arial,sans-serif; }
body.pfpc-home-v2 .pfpc-account-button { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 48px; padding: 0; border: 0; background: transparent; color: #ffffff; line-height: 1; cursor: pointer; font: inherit; }
body.pfpc-home-v2 .pfpc-account-icon { display: flex; align-items: center; justify-content: center; color: #ff5757; }
body.pfpc-home-v2 .pfpc-account-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.pfpc-home-v2 .pfpc-account-icon svg { width: 22px; height: 22px; }
body.pfpc-home-v2 .pfpc-account-button small { margin-top: 4px; color: #ffffff; font-size: 9px; font-weight: 700; }
body.pfpc-home-v2 .pfpc-account-button:hover, body.pfpc-home-v2 .pfpc-account-button:focus-visible { color: #ff8c8c; }
body.pfpc-home-v2 .pfpc-account-button:hover small, body.pfpc-home-v2 .pfpc-account-button:focus-visible small { color: #ff8c8c; }
body.pfpc-home-v2 .pfpc-account-button:hover .pfpc-account-icon, body.pfpc-home-v2 .pfpc-account-button:focus-visible .pfpc-account-icon { color: #ff8c8c; }
body.pfpc-home-v2 .pfpc-account-button { width: 58px; transform: none; }
.pfpc-home-v2 .pfpc-header-shortcut { color: #eeeeee; font-size: 13px; text-align: right; }
.pfpc-home-v2 .pfpc-header-shortcut span { color: #ffb3b3; font-size: 22px; margin-right: 6px; }
.pfpc-home-v2 .pfpc-primary-nav { background: #111111; border-bottom: 0 !important; position: relative; z-index: 40; }
body.pfpc-home-v2 .pfpc-nav-inner { max-width: var(--pfpc-desktop-container-width, 1200px); margin: auto; }
.pfpc-home-v2 .pfpc-primary-menu { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pfpc-home-v2 .pfpc-primary-menu li { position: relative; list-style: none; margin: 0; }
.pfpc-home-v2 .pfpc-primary-menu > li { display: flex; align-items: center; }
.pfpc-home-v2 .pfpc-primary-menu a { display: block; padding: 15px 17px; color: #ffffff; font-size: 14px; font-weight: 600; line-height: 22px; }
.pfpc-home-v2 .pfpc-primary-menu a:hover { color: #fff; background: #222222; }
.pfpc-home-v2 .pfpc-primary-menu i { color: #fff; margin-right: 7px; }
.pfpc-home-v2 .pfpc-primary-menu ul { display: none; position: absolute; top: 100%; left: 0; width: 258px; max-height: 65vh; overflow-y: auto; margin: 0; padding: 7px; background: #191919; border: 1px solid #730000; border-radius: 0 0 9px 9px; box-shadow: 0 20px 40px #0007; }
.pfpc-home-v2 .pfpc-primary-menu ul { scrollbar-width: thin; scrollbar-color: #b50000 #191919; }
.pfpc-home-v2 .pfpc-primary-menu ul::-webkit-scrollbar { width: 7px; }
.pfpc-home-v2 .pfpc-primary-menu ul::-webkit-scrollbar-track { margin: 6px 2px; border-radius: 8px; background: #0d0d0d; }
.pfpc-home-v2 .pfpc-primary-menu ul::-webkit-scrollbar-thumb { min-height: 32px; border: 2px solid #0d0d0d; border-radius: 8px; background: linear-gradient(#e22a2a,#810000); }
.pfpc-home-v2 .pfpc-primary-menu ul::-webkit-scrollbar-thumb:hover { background: #f34444; }
.pfpc-home-v2 .pfpc-primary-menu ul a { padding: 9px 12px; line-height: 20px; white-space: normal; }
.pfpc-home-v2 .pfpc-primary-menu li.is-expanded > ul { display: block; }
.pfpc-home-v2 .pfpc-primary-menu ul ul { position: static; width: 100%; max-height: none; box-shadow: none; }
.pfpc-home-v2 .pfpc-submenu-toggle { background: none; border: 0; color: #fff; padding: 8px 10px; cursor: pointer; font-size: 18px; }
.pfpc-home-v2 .pfpc-nav-toggle { display: none; }
@media (hover:hover) and (min-width: 901px) {
    .pfpc-home-v2 .pfpc-primary-menu li:hover > ul { display: block; }
}
@media (min-width: 901px) {
    .pfpc-home-v2 .pfpc-primary-menu > li.menu-item-has-children > a { padding-right: 34px; }
    .pfpc-home-v2 .pfpc-submenu-toggle { position: absolute; top: 50%; right: 7px; width: 18px; height: 18px; padding: 0; font-size: 0; transform: translateY(-50%); }
    .pfpc-home-v2 .pfpc-submenu-toggle::after { content: ''; display: block; width: 6px; height: 6px; margin: -3px auto 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
}
.pfpc-home-v2 .pfpc-top-grid, .pfpc-home-v2 .pfpc-columns { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; align-items: start; }
.pfpc-home-v2 .pfpc-welcome { align-self: stretch; min-height: 263px; position: relative; overflow: hidden; border: 1px solid #8e0202; border-radius: 14px; background: radial-gradient(ellipse at 90% 100%, #8e0202, transparent 62%), linear-gradient(110deg,#240000,#500000); }
.pfpc-home-v2 .pfpc-welcome-copy { position: relative; z-index: 2; padding: 30px 34px; max-width: 64%; }
.pfpc-home-v2 #page .pfpc-eyebrow { color: var(--pfpc-accent); font-size: 10px; letter-spacing: .13em; font-weight: 700; margin: 0 0 11px; }
.pfpc-home-v2 #page .pfpc-welcome h1 { color: #fff; font-size: clamp(28px,2.4vw,38px) !important; letter-spacing: -.04em; font-weight: 800; line-height: 1.09; }
.pfpc-home-v2 .pfpc-welcome h1 em { color: #fff; font-style: normal; }
.pfpc-home-v2 .pfpc-welcome-copy > p:not(.pfpc-eyebrow) { margin: 14px 0 18px; font-size: 13px; line-height: 1.65; color: #eddada; }
.pfpc-home-v2 .pfpc-hero-benefits { display: flex; align-items: center; gap: 19px; width: max-content; max-width: 100%; padding: 11px 14px; border: 1px solid #a62525; border-radius: 6px; background: linear-gradient(100deg,#420000,#790000); box-shadow: inset 0 1px 0 #ff8a8a35, 0 7px 18px #16000045; color: #ffffff; font-size: 11px; font-weight: 700; line-height: 1; }
.pfpc-home-v2 .pfpc-hero-benefits span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.pfpc-home-v2 .pfpc-hero-benefits svg { width: 15px; height: 15px; fill: #ffd16a; flex: 0 0 auto; }
.pfpc-home-v2 .pfpc-cta { display: inline-flex; gap: 28px; align-items: center; border-radius: 6px; padding: 9px 15px; background: var(--pfpc-accent); color: #ffffff; font-size: 12px; font-weight: 700; }
.pfpc-home-v2 .pfpc-computer { position: absolute; right: 30px; bottom: 29px; width: 34%; transform: none; }
.pfpc-home-v2 .pfpc-hero-image { display: block; width: 100%; height: auto; max-height: 210px; object-fit: contain; }
.pfpc-home-v2 .pfpc-computer-screen { position: relative; height: 176px; padding: 10px; background: radial-gradient(ellipse at 70% 60%,#b51c1c,#100000 75%); border: 5px solid #4b3030; border-radius: 9px; box-shadow: 0 0 55px #e2252530; overflow: hidden; }
.pfpc-home-v2 .pfpc-screen-toolbar { display: flex; justify-content: space-between; color: #eedddd; font-size: 6px; letter-spacing: .04em; position: relative; z-index: 2; }
.pfpc-home-v2 .pfpc-screen-toolbar > span:first-child { color: #fff; letter-spacing: 2px; }
.pfpc-home-v2 .pfpc-screen-orbit { position: absolute; width: 175px; height: 175px; border: 28px solid #e8363690; border-radius: 50%; left: 26%; top: 22px; box-shadow: 0 0 0 20px #ff787821, 0 0 0 43px #ff707012; }
.pfpc-home-v2 .pfpc-screen-symbol { position: relative; margin: 33px auto 0; display: grid; grid-template-columns: 27px 27px; gap: 4px; width: 58px; transform: skewY(-7deg); }
.pfpc-home-v2 .pfpc-screen-symbol span { width: 27px; height: 27px; border-radius: 2px; background: #ffffff; box-shadow: 0 0 20px #ff7d7d60; }
.pfpc-home-v2 .pfpc-screen-caption { position: relative; text-align: center; margin-top: 22px; font-size: 7px; letter-spacing: .13em; color: #fff; }
.pfpc-home-v2 .pfpc-computer-base { width: 114%; height: 9px; margin-left: -7%; background: linear-gradient(90deg,#777777,#dddddd 50%,#666666); border-radius: 0 0 50% 50%; box-shadow: 0 15px 22px #0008; }
.pfpc-home-v2 .pfpc-stats { align-self: stretch; border: 1px solid #8e0202; border-radius: 14px; padding: 22px; background: linear-gradient(140deg,#211010,#141414); }
.pfpc-home-v2 .pfpc-stats > div { display: flex; gap: 14px; align-items: center; border-bottom: 1px solid #8e0202; padding: 13px 0; }
.pfpc-home-v2 .pfpc-stats p { margin: 0; }
.pfpc-home-v2 .pfpc-stats strong { display: block; font-size: 25px; color: #ffffff; letter-spacing: -.03em; line-height: 1.25; }
.pfpc-home-v2 .pfpc-stats p span { color: #dddddd; font-size: 11px; }
.pfpc-home-v2 .pfpc-stat-icon { font-size: 26px; color: #ffb3b3; width: 30px; }
.pfpc-home-v2 .pfpc-stat-icon svg { width: 25px; height: 25px; }

/* Hero panorámico independiente de las reglas del diseño compacto. */
body.pfpc-home-v2 #page .pfpc-hero-full {
    --hero-accent: var(--pfpc-user-accent, #8e0202);
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 41fr) minmax(0, 35fr) minmax(0, 24fr);
    align-items: center;
    min-height: 235px;
    margin-bottom: 10px;
    padding: 10px 32px;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid var(--hero-accent);
    border-radius: 16px;
    color: #fff;
    background: radial-gradient(ellipse at 57% 115%, var(--hero-accent), transparent 58%), linear-gradient(105deg, #190000, #300000 65%, #190000);
    background: radial-gradient(ellipse at 57% 115%, var(--hero-accent), transparent 58%), linear-gradient(105deg, color-mix(in srgb, var(--hero-accent) 19%, #080000), color-mix(in srgb, var(--hero-accent) 32%, #080000) 65%, #160000);
    box-shadow: inset 0 1px 5px color-mix(in srgb, var(--hero-accent) 65%, transparent);
}
.pfpc-hero-full::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, transparent 43%, #ff303008 43.2%, transparent 44%, transparent 53%, #ff303032 53.1%, transparent 54%, transparent 66%, #ff303018 66.2%, transparent 68%);
}
body.pfpc-home-v2 #page .pfpc-hero-full__copy { position: relative; z-index: 2; min-width: 0; }
body.pfpc-home-v2 #page .pfpc-hero-full__eyebrow { margin: 0 0 6px; color: #eadbdb; font: 700 10px/1.4 Arial, sans-serif; letter-spacing: .18em; }
body.pfpc-home-v2 #page .pfpc-hero-full h1 { margin: 0; color: #fff; font: 800 clamp(28px, 3vw, 38px)/1.07 Arial, sans-serif !important; letter-spacing: -.035em; text-wrap: balance; }
body.pfpc-home-v2 #page .pfpc-hero-full h1 em { color: inherit; font-style: normal; }
body.pfpc-home-v2 #page .pfpc-hero-full__description { margin: 8px 0; color: #e9dddd; font: 400 13px/1.55 Arial, sans-serif; }
.pfpc-hero-full__benefits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pfpc-hero-full__benefits > span { display: inline-flex; flex: 1 1 auto; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 0 10px; border: 1px solid var(--hero-accent); border-radius: 7px; background: #15000060; box-shadow: inset 0 1px 3px #ffffff10; color: #fff; font: 700 12px/1.3 Arial, sans-serif; }
.pfpc-hero-full__benefits svg { width: 18px; height: 18px; flex-shrink: 0; fill: currentColor; }
.pfpc-hero-full__art { position: absolute; z-index: 1; left: 39%; top: 0; bottom: 0; width: 38%; pointer-events: none; }
.pfpc-hero-full__art img { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; object-position: var(--pfpc-hero-image-x, 50%) var(--pfpc-hero-image-y, 0%); transform: scale(var(--pfpc-hero-image-zoom, 2.8)); transform-origin: var(--pfpc-hero-image-x, 50%) var(--pfpc-hero-image-y, 0%); }
body.pfpc-home-v2 #page .pfpc-hero-full__art-caption,
body.pfpc-home-v2 #page .pfpc-hero-full__community-caption { color: #dbc5c5; font: italic 20px/1.05 "Segoe Print", "Bradley Hand", cursive; text-align: center; transform: rotate(-10deg); }
body.pfpc-home-v2 #page .pfpc-hero-full__art-caption { position: absolute; z-index: 2; left: 43%; top: 36px; margin: 0; }
.pfpc-hero-full__art-caption::after,
.pfpc-hero-full__community-caption::after { content: ""; display: block; width: 62px; height: 3px; margin: 8px auto 0; background: var(--hero-accent); border-radius: 50%; transform: rotate(-10deg); }
.pfpc-hero-full__community { grid-column: 3; position: relative; z-index: 2; display: grid; gap: 7px; padding-left: 6px; }
.pfpc-hero-full__stat { display: flex; align-items: center; gap: 18px; min-height: 66px; padding: 6px 15px; box-sizing: border-box; border: 1px solid var(--hero-accent); border-radius: 11px; background: linear-gradient(110deg, #1c0909e8, #111111db); box-shadow: inset 0 1px 2px #ffffff0a; }
body.pfpc-home-v2 #page .pfpc-hero-full__stat p { margin: 0; min-width: 0; }
body.pfpc-home-v2 #page .pfpc-hero-full__stat strong { display: block; margin-bottom: 5px; color: #fff; font: 800 27px/1.1 Arial, sans-serif; }
body.pfpc-home-v2 #page .pfpc-hero-full__stat p > span { display: block; color: #e8dddd; font: 400 11px/1.4 Arial, sans-serif; }
.pfpc-hero-full__stat-icon { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid #ffffff08; border-radius: 9px; color: #f6b5b5; background: #00000030; }
.pfpc-hero-full__stat-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.pfpc-home-v2 #page .pfpc-hero-full__community-caption { margin: 4px 0 0; justify-self: end; font-size: 18px; }
.pfpc-hero-full--no-community .pfpc-hero-full__art { left: 49%; width: 45%; }
@media (max-width: 1100px) {
    body.pfpc-home-v2 #page .pfpc-hero-full { grid-template-columns: minmax(0, 44fr) minmax(0, 28fr) minmax(0, 28fr); padding: 10px 22px; }
    body.pfpc-home-v2 #page .pfpc-hero-full h1 { font-size: 30px !important; }
    .pfpc-hero-full__stat { gap: 9px; padding: 6px 10px; }
    .pfpc-hero-full__stat-icon { width: 32px; }
    body.pfpc-home-v2 #page .pfpc-hero-full__art-caption { display: none; }
}
@media (max-width: 900px) {
    body.pfpc-home-v2 #page .pfpc-hero-full { grid-template-columns: minmax(0, 56fr) minmax(0, 44fr); gap: 24px 0; }
    .pfpc-hero-full__art { left: 56%; width: 42%; height: 235px; bottom: auto; }
    .pfpc-hero-full__community { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; padding: 0; }
    body.pfpc-home-v2 #page .pfpc-hero-full__community-caption { grid-column: 1 / -1; justify-self: center; }
}
@media (max-width: 600px) {
    body.pfpc-home-v2 #page .pfpc-hero-full { display: block; }
    .pfpc-hero-full__art { opacity: .15; left: 45%; width: 55%; }
    .pfpc-hero-full__community { margin-top: 24px; grid-template-columns: 1fr; }
}
.pfpc-home-v2 .pfpc-stats > a { display: flex; gap: 10px; justify-content: space-between; color: #fff; font-size: 11px; padding-top: 16px; }
.pfpc-home-v2 .pfpc-category-hub { width: 100%; margin: 14px 0 18px; padding: 0; border: 0; background: none; }
.pfpc-home-v2 .pfpc-category-hub__links { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: 7px; }
.pfpc-home-v2 .pfpc-category-hub__links { width: 100%; margin: 0; list-style: none; padding: 0; }
.pfpc-home-v2 .pfpc-category-hub__links > li { min-width: 0; margin: 0; list-style: none; }
.pfpc-home-v2 .pfpc-category-hub__item { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 6px; min-height: 49px; color: #ffffff; border: 1px solid #8e0202; background: linear-gradient(#450000,#260000); border-radius: 6px; font-size: 11px; font-weight: 700; line-height: 1.25; text-align: center; }
.pfpc-home-v2 .pfpc-category-hub__links > li > a { display: flex; align-items: center; justify-content: center; min-height: 49px; padding: 13px 6px; color: #ffffff; border: 1px solid #8e0202; background: linear-gradient(#450000,#260000); border-radius: 6px; font-size: 11px; font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; }
.pfpc-home-v2 .pfpc-category-hub__item:hover { color: #fff; border-color: #ff8c8c; }
.pfpc-home-v2 .pfpc-category-hub__links > li > a:hover { color: #fff; border-color: #ff8c8c; }
.pfpc-home-v2 .pfpc-category-hub__icon { color: #fff; display: flex; }
.pfpc-home-v2 .pfpc-category-hub__icon i { width: 16px; height: 16px; margin: 0; }
.pfpc-home-v2 .pfpc-category-hub__count { display: none; }
.pfpc-home-v2 .pfpc-main-column, .pfpc-home-v2 .pfpc-side-column { min-width: 0; }
.pfpc-home-v2 .pfpc-panel, .pfpc-home-v2 .actualizad, .pfpc-home-v2 .pfpc-existing-content > .mg_abajo { border: 1px solid var(--pfpc-border) !important; border-radius: 12px; overflow: hidden; background: var(--pfpc-panel); margin-bottom: 18px; padding: 0; }
.pfpc-home-v2 .pfpc-panel-heading { display: flex; align-items: center; justify-content: space-between; padding: 17px 20px; border-bottom: 1px solid #8e0202; }
.pfpc-home-v2 #page .pfpc-panel-heading .pfpc-eyebrow { display: block; margin-bottom: 5px; font-size: 9px; }
.pfpc-home-v2 #page .pfpc-panel-heading h2 { font-size: 21px; font-weight: 700; letter-spacing: -.025em; }
.pfpc-home-v2 #page .pfpc-welcome .pfpc-eyebrow, .pfpc-home-v2 #page .pfpc-stats .pfpc-eyebrow { color: #ffcece; }
.pfpc-home-v2 #page .actualizad h2, .pfpc-home-v2 #page .top-categorias-widget h2 { color: #fff; }
.pfpc-home-v2 .pfpc-dot { color: var(--pfpc-accent); }
.pfpc-home-v2 .pfpc-scroll-buttons { display: flex; gap: 5px; }
.pfpc-home-v2 .pfpc-scroll-buttons button { width: 32px; height: 32px; border: 1px solid #cccccc; border-radius: 5px; background: #ffffff; color: var(--pfpc-accent); padding: 0; cursor: pointer; }
.pfpc-home-v2 #page #tarjetas { padding: 15px; background: transparent; border: 0; margin: 0; box-shadow: none !important; border-radius: 0; }
.pfpc-home-v2 #tarjetas .tarjetas_scroll { display: flex; gap: 11px; margin: 0; padding: 0 0 10px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #8e0202 #eeeeee; }
.pfpc-home-v2 #tarjetas .tarjeta { flex: 0 0 calc((100% - 66px)/7); min-width: 111px; width: auto !important; margin: 0; padding: 0; }
.pfpc-home-v2 #tarjetas .post_popular { border: 0; border-radius: 5px; overflow: visible; background: transparent; }
.pfpc-home-v2 #tarjetas .post_popular img { display: block; width: 100%; height: auto !important; aspect-ratio: 3/4; object-fit: cover; border: 1px solid #333333; border-radius: 5px; }
.pfpc-home-v2 #page #tarjetas .post_titulo_populares { display: block; position: static; white-space: normal; padding: 8px 0 0; margin: 0; color: #171717; background: none; font-size: 10px; line-height: 1.45; text-align: left; font-weight: 600; text-transform: none; max-height: 37px; overflow: hidden; }
.pfpc-home-v2 #page #tarjetas .post_titulo_populares { display: none; }
@media (min-width: 769px) {
    .pfpc-home-v2 .pfpc-category-hub { margin: 10px 0 13px; }
    .pfpc-home-v2 .pfpc-category-hub__links { gap: 5px; }
    .pfpc-home-v2 .pfpc-category-hub__links > li > a,
    .pfpc-home-v2 .pfpc-category-hub__item { min-height: 46px; padding: 11px 5px; }
    .pfpc-home-v2 #page #tarjetas { padding: 10px; }
    .pfpc-home-v2 #tarjetas .tarjetas_scroll { gap: 8px; padding-bottom: 6px; }
    .pfpc-home-v2 #tarjetas .tarjeta { flex-basis: calc((100% - 48px)/7); min-width: 0; }
}
.pfpc-home-v2 #page .actualizad { padding: 0; color: #222222; }
.pfpc-home-v2 #page .actualizad h2 { background: linear-gradient(90deg,#171717,#000000) !important; font-size: 18px; font-weight: 700; text-align: left; padding: 17px 20px; margin: 0; border-bottom: 1px solid #8e0202 !important; }
.pfpc-home-v2 #page .actualizad ul { list-style: none; margin: 0; padding: 6px 18px 10px; }
.pfpc-home-v2 #page .actualizad li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 0; margin: 0; border-bottom: 1px solid #e3e3e3; font-size: 12px; line-height: 1.5; }
.pfpc-home-v2 #page .actualizad li:last-child { border: 0; }
.pfpc-home-v2 #page .actualizad li a { color: #171717; flex: 1; min-width: 0; font-weight: 600; }
.pfpc-home-v2 .actualizad .menu-windows { color: #8e0202; }
@media (min-width: 901px) {
    .pfpc-home-v2 #page .actualizad .updates-favicon {
        display: block;
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
        object-fit: contain;
        border-radius: 3px;
        background: transparent !important;
    }
}

.pfpc-home-v2 #page .metabox_bg_home { font-size: 10px; border-radius: 4px; padding: 2px 6px; }
.pfpc-home-v2 #page .pfpc-existing-content .wdg_mensaje { padding: 20px; color: #333333; font-size: 13px; line-height: 1.8; }
.pfpc-home-v2 #page .pfpc-existing-content .wdg_mensaje h2 { font-size: 19px; margin-bottom: 12px; text-align: left; }
.pfpc-home-v2 #page .pfpc-existing-content .wdg_mensaje p { margin: 0 0 8px; }
.pfpc-home-v2 #page .pfpc-existing-content .wdg_mensaje strong { color: #111111; }
.pfpc-home-v2 #page .pfpc-existing-content a { color: var(--pfpc-accent); }
.pfpc-home-v2 #page .wdg_titulo { margin: 0; display: flex; align-items: center; justify-content: space-between; background: #171717; box-shadow: none !important; border-radius: 0; border-bottom: 1px solid #8e0202; }
.pfpc-home-v2 #page .wdg_titulo_text { width: auto; padding: 17px 20px; color: #ffffff !important; background: none !important; border: 0 !important; font-size: 19px; font-weight: 700; }
.pfpc-home-v2 #page .wdg_titulo_ver_mas { border: 0 !important; background: none !important; color: #fff !important; padding: 12px 16px; font-size: 12px; }
.pfpc-home-v2 #page .pfpc-existing-content .container, .pfpc-home-v2 #page .pfpc-home-footer-widgets .container { width: 100%; max-width: none; padding: 16px; margin: 0; background: #ffffff !important; }
.pfpc-home-v2 #page .pfpc-existing-content .row { margin-top: 0; }
.pfpc-home-v2 #page .pfpc-side-column #right-sidebar { width: 100%; margin: 0; padding: 0; float: none; }
.pfpc-home-v2 #page .pfpc-side-column .inside-right-sidebar { margin: 0; padding: 0; }
.pfpc-home-v2 #page .pfpc-side-column .widget { padding: 16px; margin: 0 0 15px; background: #ffffff; border: 1px solid #d2d2d2; border-radius: 11px; color: #222222; }
.pfpc-home-v2 #page .pfpc-side-column .widget-title { font-size: 15px; padding: 0 0 13px; margin: 0 0 14px; text-align: left; border-bottom: 1px solid #8e0202 !important; }
.pfpc-home-v2 #page .pfpc-side-column .widget a { color: #222222; }
.pfpc-home-v2 #page .top-categorias-widget { background: #ffffff; border: 1px solid #d2d2d2; border-radius: 11px; color: #222222; overflow: hidden; }
.pfpc-home-v2 #page .top-categorias-widget .titulo-widget { padding: 16px; background: #171717; border-bottom: 1px solid #8e0202; }
.pfpc-home-v2 #page .top-categorias-widget h2 { font-size: 15px; text-align: left; }
.pfpc-home-v2 #page .top-categorias-widget .contenedor-scroll { background: transparent; }
.pfpc-home-v2 #page .top-categorias-widget .categoria-header { background: transparent; border-color: #8e0202; }
.pfpc-home-v2 #page .top-categorias-widget .enlace-categoria { color: #333333; font-size: 12px; }
.pfpc-home-v2 #page .pfpc-side-column .probox { height: 40px !important; min-height: 40px; padding: 0 !important; }
.pfpc-home-v2 #page .pfpc-side-column .proinput { height: 40px !important; padding: 0 8px !important; margin: 0 !important; }
.pfpc-home-v2 #page .pfpc-side-column .proinput input.orig { height: 40px !important; line-height: 40px !important; padding: 0 !important; margin: 0 !important; }
.pfpc-home-v2 #page .pfpc-side-column .promagnifier, .pfpc-home-v2 #page .pfpc-side-column .proclose, .pfpc-home-v2 #page .pfpc-side-column .proloading { width: 40px !important; height: 40px !important; }
.pfpc-home-v2 #page .pfpc-existing-content .wdg_mensaje h1 { font-size: 19px !important; text-align: left !important; margin-bottom: 10px; }
.pfpc-home-v2 #page .social-widget { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; margin: 0; padding: 4px 0; background: transparent; }
.pfpc-home-v2 #page .social-widget .social-item { display: flex; flex-direction: column; align-items: center; min-width: 0; gap: 7px; font-size: 10px; color: #222222; }
.pfpc-home-v2 #page .social-widget .icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid #dddddd; border-radius: 10px; background: #ffffff; }
.pfpc-home-v2 #page .social-widget svg { width: 20px; height: 20px; }
.pfpc-home-v2 .pfpc-home-footer-widgets { margin-top: 20px; }
@media (max-width: 1380px) { body.pfpc-home-v2 .pfpc-masthead-inner, body.pfpc-home-v2 .pfpc-nav-inner { margin-left: 24px; margin-right: 24px; } }
@media (max-width: 1100px) {
    body.pfpc-home-v2 .pfpc-masthead-inner { grid-template-columns: 250px minmax(0,1fr); gap: 24px; }
    body.pfpc-home-v2 .pfpc-header-actions, body.pfpc-home-v2 .pfpc-header-shortcut { display: none; }
    .pfpc-home-v2 .pfpc-category-hub__links { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .pfpc-home-v2 .pfpc-computer { right: 14px; width: 32%; opacity: .8; }
    .pfpc-home-v2 .pfpc-welcome-copy { max-width: 75%; padding: 24px; }
    .pfpc-home-v2 .pfpc-top-grid, .pfpc-home-v2 .pfpc-columns { grid-template-columns: minmax(0,1fr) 260px; gap: 15px; }
}
@media (max-width: 900px) {
    .pfpc-home-v2 .pfpc-top-grid, .pfpc-home-v2 .pfpc-columns { grid-template-columns: 1fr; }
    .pfpc-home-v2 .pfpc-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 16px 20px; }
    .pfpc-home-v2 .pfpc-stats > .pfpc-eyebrow { display: none; }
    .pfpc-home-v2 .pfpc-stats > div { border: 0; padding: 0; flex: 1; }
    .pfpc-home-v2 .pfpc-stats > a { padding: 0; }
    .pfpc-home-v2 .pfpc-nav-toggle { display: flex; gap: 10px; align-items: center; width: 100%; padding: 14px 0; font-size: 13px; color: #ffffff; background: none; border: 0; }
    .pfpc-home-v2 .pfpc-primary-menu { display: none; padding-bottom: 12px; }
    .pfpc-home-v2 .pfpc-primary-nav.is-open .pfpc-primary-menu { display: block; }
    .pfpc-home-v2 .pfpc-primary-menu > li { display: block; }
    .pfpc-home-v2 .pfpc-primary-menu > li > a { padding-right: 50px; }
    .pfpc-home-v2 .pfpc-primary-menu ul { position: static; width: 100%; box-shadow: none; max-height: none; }
    .pfpc-home-v2 .pfpc-submenu-toggle { position: absolute; right: 0; top: 3px; }
    .pfpc-home-v2 .pfpc-side-column { width: 100%; }
}
@media (max-width: 600px) {
    .pfpc-home-v2 #content { width: calc(100% - 24px); margin-top: 12px; }
    body.pfpc-home-v2 .pfpc-masthead-inner { display: flex; flex-direction: column; align-items: stretch; margin: 0 16px; gap: 15px; padding: 15px 0; }
    .pfpc-home-v2 .pfpc-brand { justify-content: center; }
    .pfpc-home-v2 .pfpc-search { height: 44px; }
    .pfpc-home-v2 .pfpc-nav-inner { margin: 0 16px; }
    .pfpc-home-v2 .pfpc-search input { font-size: 12px; }
    .pfpc-home-v2 .pfpc-search button { padding: 0 14px; }
    .pfpc-home-v2 .pfpc-welcome { min-height: 255px; }
    .pfpc-home-v2 .pfpc-welcome-copy { padding: 24px; max-width: 100%; }
    .pfpc-home-v2 .pfpc-hero-benefits { gap: 10px; padding: 10px; font-size: 10px; }
    .pfpc-home-v2 .pfpc-computer { opacity: .17; width: 55%; right: -20px; bottom: 25px; }
    .pfpc-home-v2 #page .pfpc-welcome h1 { font-size: 31px !important; }
    .pfpc-home-v2 #page .pfpc-eyebrow { font-size: 8px; }
    .pfpc-home-v2 .pfpc-stats { gap: 12px; padding: 16px; }
    .pfpc-home-v2 .pfpc-stats > div { gap: 9px; }
    .pfpc-home-v2 .pfpc-stats > a { width: 100%; padding-top: 10px; border-top: 1px solid #8e0202; }
    .pfpc-home-v2 .pfpc-stats strong { font-size: 23px; }
    .pfpc-home-v2 .pfpc-stats p span { font-size: 10px; }
    .pfpc-home-v2 .pfpc-category-hub__links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .pfpc-home-v2 .pfpc-category-hub__item, .pfpc-home-v2 .pfpc-category-hub__links > li > a { justify-content: flex-start; padding: 11px; min-height: 43px; }
    .pfpc-home-v2 .pfpc-panel-heading { padding: 15px; }
    .pfpc-home-v2 #page .pfpc-panel-heading h2 { font-size: 18px; }
    .pfpc-home-v2 #tarjetas .tarjeta { flex-basis: 125px; }
    .pfpc-home-v2 #page .actualizad li { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .pfpc-home-v2 #page * { scroll-behavior: auto !important; transition: none !important; } }

/* Image framing controls for the desktop hero. Mobile keeps its original artwork rules. */
@media (min-width: 901px) {
    /* Compact desktop hero. */
    .pfpc-home-v2 #content {
        margin-top: 14px;
    }
    .pfpc-home-v2 .pfpc-category-hub {
        margin-bottom: 14px;
    }
    .pfpc-home-v2 .pfpc-welcome-copy {
        padding-top: 22px;
        padding-bottom: 22px;
    }
    .pfpc-home-v2 .pfpc-welcome .pfpc-eyebrow {
        margin-bottom: 7px;
    }
    .pfpc-home-v2 .pfpc-welcome-copy > p:not(.pfpc-eyebrow) {
        margin-top: 10px;
        margin-bottom: 12px;
    }
    .pfpc-home-v2 .pfpc-hero-benefits {
        gap: 0;
        padding: 0;
        border: 1px solid rgba(255, 126, 126, .42);
        border-radius: 9px;
        background: rgba(20, 0, 0, .34);
        box-shadow: inset 0 1px 0 rgba(255, 220, 220, .12), 0 8px 20px rgba(0, 0, 0, .16);
        overflow: hidden;
    }
    .pfpc-home-v2 .pfpc-hero-benefits span {
        gap: 8px;
        min-height: 40px;
        padding: 0 15px;
        color: #fff4f1;
        font-size: 11px;
        letter-spacing: .01em;
    }
    .pfpc-home-v2 .pfpc-hero-benefits span + span {
        border-left: 1px solid rgba(255, 151, 151, .28);
    }
    .pfpc-home-v2 .pfpc-hero-benefits svg {
        width: 16px;
        height: 16px;
        fill: #ffffff;
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35));
    }
    .pfpc-home-v2 .pfpc-stats > a {
        display: none;
    }
    .pfpc-home-v2 .pfpc-stats > div:last-of-type {
        border-bottom: 0;
    }
    .pfpc-home-v2 .pfpc-welcome {
        min-height: 220px;
        height: 220px;
    }
    .pfpc-home-v2 .pfpc-stats {
        align-self: start;
        display: flex;
        flex-direction: column;
        height: 220px;
        padding: 10px 20px;
        overflow: hidden;
    }
    .pfpc-home-v2 .pfpc-stats > .pfpc-eyebrow {
        margin-bottom: 3px;
        font-size: 9px;
    }
    .pfpc-home-v2 .pfpc-stats > div {
        flex: 1 1 0;
        min-height: 0;
        padding: 8px 0;
        align-items: center;
    }
    .pfpc-home-v2 .pfpc-stats > div:nth-of-type(2) {
        border-bottom: 0;
    }
    .pfpc-home-v2 .pfpc-stats strong {
        font-size: 22px;
    }
    .pfpc-home-v2 .pfpc-stats p span {
        font-size: 9px;
    }
    .pfpc-home-v2 .pfpc-stat-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        min-width: 40px;
        font-size: 26px;
        transform: translateY(-4px);
    }
    .pfpc-home-v2 .pfpc-stat-icon svg {
        width: 34px;
        height: 34px;
    }
    .pfpc-home-v2 .pfpc-computer--custom-image {
        right: 28px;
        bottom: 0;
        height: 220px;
        overflow: visible;
    }
    .pfpc-home-v2 .pfpc-computer--custom-image .pfpc-hero-image {
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: contain;
        object-position: var(--pfpc-hero-image-x, 50%) var(--pfpc-hero-image-y, 50%);
        transform: scale(var(--pfpc-hero-image-zoom, 1));
        transform-origin: var(--pfpc-hero-image-x, 50%) var(--pfpc-hero-image-y, 50%);
    }
}

/* Widgets de la home: radios discretos como en Plantilla 4. */
@media (min-width: 769px) {
    /* Buscador lateral unificado en home, entradas y archivos de Plantilla 5. */
    body.pfpc-desktop-chrome #page .pfpc-side-column .probox,
    body.pfpc-desktop-chrome #page .widget-area .probox,
    body.pfpc-desktop-chrome #page .pfpc-side-column .search-form,
    body.pfpc-desktop-chrome #page .widget-area .search-form {
        width: 100% !important;
        max-width: 256px !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    body.pfpc-desktop-chrome #page .pfpc-side-column .probox,
    body.pfpc-desktop-chrome #page .widget-area .probox {
        height: 40px !important;
        min-height: 40px !important;
    }

    body.pfpc-desktop-chrome #page .pfpc-side-column .proinput,
    body.pfpc-desktop-chrome #page .widget-area .proinput,
    body.pfpc-desktop-chrome #page .pfpc-side-column .proinput input.orig,
    body.pfpc-desktop-chrome #page .widget-area .proinput input.orig,
    body.pfpc-desktop-chrome #page .pfpc-side-column .promagnifier,
    body.pfpc-desktop-chrome #page .widget-area .promagnifier,
    body.pfpc-desktop-chrome #page .pfpc-side-column .proclose,
    body.pfpc-desktop-chrome #page .widget-area .proclose,
    body.pfpc-desktop-chrome #page .pfpc-side-column .proloading,
    body.pfpc-desktop-chrome #page .widget-area .proloading {
        height: 40px !important;
    }

    .pfpc-home-v2 #page .pfpc-side-column .widget,
    .pfpc-home-v2 #page .top-categorias-widget {
        border-radius: 5px;
        margin-bottom: 10px;
        padding: 10px;
    }
    .pfpc-home-v2 #page .pfpc-side-column .widget-title,
    .pfpc-home-v2 #page .top-categorias-widget .titulo-widget,
    .pfpc-home-v2 #page .top-categorias-widget h2 {
        background: #161616 url('/wp-content/uploads/download.gif') repeat !important;
        color: #ffffff !important;
        border-bottom: 2px solid #8e0202 !important;
        border-radius: 5px 5px 0 0 !important;
        font-size: 18px !important;
        line-height: 1.25 !important;
        padding: 9px 12px !important;
        text-align: center !important;
    }

    /* Widget nativo de contenido más visto. */
    body.pfpc-desktop-chrome #page .pfpc-most-popular-table {
        width: 100%;
        margin: 0;
        border-collapse: collapse;
        border: 0 !important;
        table-layout: fixed;
        font-size: 12px;
    }
    body.pfpc-desktop-chrome #page .pfpc-most-popular-table th {
        padding: 0 0 8px;
        border: 0;
        color: var(--pfpc-user-accent, #8e0202);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .05em;
        text-align: left;
        text-transform: uppercase;
    }
    body.pfpc-desktop-chrome #page .pfpc-most-popular-table th:first-child,
    body.pfpc-desktop-chrome #page .pfpc-most-popular-table td:first-child {
        width: 24px;
    }
    body.pfpc-desktop-chrome #page .pfpc-most-popular-table th:last-child,
    body.pfpc-desktop-chrome #page .pfpc-most-popular-table td:last-child {
        width: 48px;
        text-align: right;
    }
    body.pfpc-desktop-chrome #page .pfpc-most-popular-table td {
        padding: 8px 0 !important;
        border-top: 1px solid rgba(127, 127, 127, .24);
        vertical-align: middle;
    }
    body.pfpc-desktop-chrome #page .pfpc-most-popular-table > tbody {
        display: block;
    }
    body.pfpc-desktop-chrome #page .pfpc-most-popular-table > tbody > tr {
        display: grid;
        grid-template-columns: 32px minmax(0, 1fr) 48px;
        border: 0 !important;
    }
    body.pfpc-desktop-chrome #page .pfpc-most-popular-table > tbody > tr + tr {
        margin-top: 3px;
    }
    body.pfpc-desktop-chrome #page .pfpc-most-popular-table > tbody > tr > td {
        display: block;
        width: auto !important;
        min-width: 0;
        border: 0 !important;
    }
    body.pfpc-desktop-chrome #page .pfpc-most-popular-table > tbody > tr > td.pfpc-most-popular-rank {
        padding: 8px 0 !important;
        text-align: left !important;
    }
    body.pfpc-desktop-chrome #page .pfpc-most-popular-table .pfpc-most-popular-rank {
        color: var(--pfpc-user-accent, #8e0202);
        font-weight: 700;
    }
    body.pfpc-desktop-chrome #page .pfpc-most-popular-table .pfpc-most-popular-title {
        overflow: hidden;
        padding-right: 8px;
        text-align: left !important;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    body.pfpc-desktop-chrome #page .pfpc-most-popular-table .pfpc-most-popular-title a {
        display: block;
        color: inherit;
        text-align: left !important;
    }
    body.pfpc-desktop-chrome #page .widget_pfpc_most_popular .pfpc-most-popular-table > tbody > tr > td.pfpc-most-popular-title,
    body.pfpc-desktop-chrome #page .widget_pfpc_most_popular .pfpc-most-popular-table > tbody > tr > td.pfpc-most-popular-title > a {
        text-align: left !important;
    }
    body.pfpc-desktop-chrome #page .widget_pfpc_most_popular .pfpc-most-popular-table > tbody > tr > td.pfpc-most-popular-title {
        padding: 8px 8px 8px 0 !important;
    }
    body.pfpc-desktop-chrome #page .widget_pfpc_most_popular .pfpc-most-popular-table > tbody > tr > td.pfpc-most-popular-title > a {
        display: block !important;
        min-width: 0;
        width: 100% !important;
        margin: 0 !important;
        overflow: hidden;
        text-align: left !important;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    body.pfpc-desktop-chrome #page .pfpc-most-popular-table .pfpc-most-popular-title a:hover {
        color: var(--pfpc-user-accent, #8e0202);
    }
    body.pfpc-desktop-chrome #page .pfpc-most-popular-table .pfpc-most-popular-views {
        color: var(--pfpc-user-accent, #8e0202);
        font-weight: 700;
        white-space: nowrap;
    }
    body.pfpc-desktop-chrome #page .pfpc-most-popular-notice,
    body.pfpc-desktop-chrome #page .pfpc-most-popular-empty {
        margin: 0;
        color: inherit;
        font-size: 12px;
        line-height: 1.55;
    }
}

/*
 * Superficies compartidas de Plantilla 5 en escritorio.
 * Mantiene el mismo fondo del bloque de categoría y no se aplica al móvil:
 * en móvil no se añade la clase pfpc-desktop-chrome.
 */
@media (min-width: 769px) {
    body.pfpc-desktop-chrome {
        --pfpc-desktop-surface: #161616;
        --pfpc-desktop-surface-border: #8e0202;
    }

    body.pfpc-desktop-chrome #page .pfpc-archive-filters,
    body.pfpc-desktop-chrome #page .PdP_archivos > .container-xl.bg-white,
    body.pfpc-home-v2 #page .pfpc-panel,
    body.pfpc-home-v2 #page .actualizad,
    body.pfpc-home-v2 #page .pfpc-existing-content > .mg_abajo,
    body.pfpc-home-v2 #page .pfpc-existing-content .container,
    body.pfpc-home-v2 #page .pfpc-home-footer-widgets .container,
    body.pfpc-home-v2 #page .pfpc-side-column .widget,
    body.pfpc-home-v2 #page .top-categorias-widget {
        background: var(--pfpc-desktop-surface) !important;
        border-color: var(--pfpc-desktop-surface-border) !important;
        color: #f1eeee;
    }

    body.pfpc-home-v2 #page .social-widget {
        background: transparent !important;
        color: #f1eeee;
    }

    body.pfpc-home-v2 #page .pfpc-side-column .widget:has(> .social-widget),
    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .widget-area .widget:has(> .social-widget) {
        border-color: #8e0202 !important;
    }

    body.pfpc-desktop-chrome #page .pfpc-archive-filters {
        box-shadow: 0 8px 22px rgba(0, 0, 0, .34);
    }

    body.pfpc-desktop-chrome #page .PdP_archivos > .container-xl.bg-white {
        box-shadow: 0 8px 22px rgba(0, 0, 0, .34) !important;
    }

    body.pfpc-desktop-chrome #page .pfpc-archive-filters > .pfpc-archive-filter-group {
        background: rgba(255, 255, 255, .06);
        border-color: #5e2525;
    }

    body.pfpc-desktop-chrome #page .PdP_card {
        background: var(--pfpc-desktop-surface) !important;
        border-color: #000000 !important;
        box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .24) !important;
        color: #f1eeee;
    }

    body.pfpc-desktop-chrome #page .card_meta_inferior {
        color: #ded4d4;
    }

    body.pfpc-desktop-chrome #page #pfpc-archive-pagination .page-numbers {
        background: var(--pfpc-desktop-surface) !important;
        border-color: #5e2525;
        color: #ff9696;
    }

    body.pfpc-desktop-chrome #page #pfpc-archive-pagination .page-numbers.current,
    body.pfpc-desktop-chrome #page #pfpc-archive-pagination .page-numbers:hover {
        background: #8e0202 !important;
        color: #ffffff;
    }

    body.pfpc-desktop-chrome #page .pfpc-archive-filters .pfpc-archive-filter-group > label {
        color: #ff9696;
    }

    body.pfpc-home-v2 #page .actualizad,
    body.pfpc-home-v2 #page .pfpc-existing-content .wdg_mensaje,
    body.pfpc-home-v2 #page .pfpc-existing-content .wdg_mensaje h1,
    body.pfpc-home-v2 #page .pfpc-existing-content .wdg_mensaje h2,
    body.pfpc-home-v2 #page .pfpc-existing-content .wdg_mensaje h3,
    body.pfpc-home-v2 #page .pfpc-existing-content .wdg_mensaje h4 {
        color: #f1eeee;
    }

    body.pfpc-home-v2 #page .actualizad li {
        border-bottom-color: #8e0202;
    }

    body.pfpc-home-v2 #page .actualizad li a,
    body.pfpc-home-v2 #page .pfpc-side-column .widget a,
    body.pfpc-home-v2 #page .top-categorias-widget .enlace-categoria,
    body.pfpc-home-v2 #page .social-widget .social-item {
        color: #f1eeee;
    }

    body.pfpc-home-v2 #page .pfpc-scroll-buttons button,
    body.pfpc-home-v2 #page .social-widget .icon {
        background: rgba(255, 255, 255, .06);
        border-color: #8e0202;
        color: #ffffff;
    }

    body.pfpc-home-v2 #page #tarjetas .post_popular img,
    body.pfpc-desktop-chrome #page .card_cont_img,
    body.pfpc-desktop-chrome #page .PdP_card .card_img {
        border-color: #000000 !important;
    }

    body.pfpc-home-v2 #page .pfpc-existing-content .wdg_mensaje strong {
        color: #ffffff;
    }

    body.pfpc-home-v2 #page .pfpc-existing-content a,
    body.pfpc-home-v2 #page .pfpc-side-column .widget a:hover,
    body.pfpc-home-v2 #page .top-categorias-widget .enlace-categoria:hover {
        color: #ff9696;
    }
}

/* Superficies del contenido individual de Plantilla 5 en escritorio. */
@media (min-width: 769px) {
    body.pfpc-desktop-chrome #page .plantilla_5 > .pfpc-breadcrumbs,
    body.pfpc-desktop-chrome #page .plantilla_5 > .pl_header,
    body.pfpc-desktop-chrome #page .plantilla_5 > .pl_contenido,
    body.pfpc-desktop-chrome #page .plantilla_5 > .pl_galeria,
    body.pfpc-desktop-chrome #page .plantilla_5 > .plan_cont_partes,
    body.pfpc-desktop-chrome #page .plantilla_5 .post-img,
    body.pfpc-desktop-chrome #page .plantilla_5 > .relacionados .rl_etiqueta.v2,
    body.pfpc-desktop-chrome #page .plantilla_5 > .relacionados > .container,
    body.pfpc-desktop-chrome #page .widget-area .widget,
    body.pfpc-desktop-chrome #page .site-main > .telegram-bar,
    body.pfpc-desktop-chrome #page .site-main > .comments {
        background: var(--pfpc-desktop-surface) !important;
        border-color: var(--pfpc-desktop-surface-border) !important;
        color: #f1eeee;
    }

    body.pfpc-desktop-chrome #page .plantilla_5 > .pfpc-breadcrumbs,
    body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes,
    body.pfpc-desktop-chrome #page .plantilla_5 .post-img,
    body.pfpc-desktop-chrome #page .widget-area .widget {
        box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .24);
    }

    body.pfpc-desktop-chrome #page .plantilla_5 .titulo,
    body.pfpc-desktop-chrome #page .plantilla_5 .post-img h1,
    body.pfpc-desktop-chrome #page .plantilla_5 .pl_contenido p,
    body.pfpc-desktop-chrome #page .plantilla_5 .pl_contenido li,
    body.pfpc-desktop-chrome #page .plantilla_5 .pl_contenido strong,
    body.pfpc-desktop-chrome #page .plantilla_5 .pl_contenido em,
    body.pfpc-desktop-chrome #page .plantilla_5 .pl_contenido span,
    body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes p,
    body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes li,
    body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes strong,
    body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes em,
    body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes span,
    body.pfpc-desktop-chrome #page .plantilla_5 .pl_contenido h3,
    body.pfpc-desktop-chrome #page .plantilla_5 .pl_contenido h4,
    body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes h3,
    body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes h4 {
        color: #f1eeee !important;
        -webkit-text-fill-color: #f1eeee;
    }

    body.pfpc-desktop-chrome #page .plantilla_5 > .pfpc-breadcrumbs {
        color: #ded4d4;
    }

    body.pfpc-desktop-chrome #page .plantilla_5 > .pfpc-breadcrumbs a,
    body.pfpc-desktop-chrome #page .plantilla_5 .pl_contenido a,
    body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes a,
    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .widget-area .widget a {
        color: #ff9696;
    }

    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .widget-area .widget {
        color: #f1eeee;
    }

    body.pfpc-desktop-chrome #page .widget-area .widget-title {
        color: #ffffff;
    }

    body.pfpc-desktop-chrome #page .widget-area .social-widget {
        background: transparent !important;
    }

    body.pfpc-desktop-chrome #page .widget-area .social-widget .icon {
        background: rgba(255, 255, 255, .06);
        border-color: #8e0202;
    }

    /* La tarjeta social de los posts usa el mismo diseño de la Home en modo oscuro. */
    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .widget-area .widget:has(> .social-widget) {
        padding: 16px !important;
    }

    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .widget-area .social-widget {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 5px;
        margin: 0;
        padding: 4px 0;
        background: transparent !important;
    }

    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .widget-area .social-widget .social-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 0;
        gap: 7px;
        color: #f1eeee;
        font-size: 10px;
        text-decoration: none;
    }

    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .widget-area .social-widget .icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: 1px solid #8e0202;
        border-radius: 10px;
        background: rgba(255, 255, 255, .06);
        color: #ffffff;
    }

    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .widget-area .social-widget svg {
        width: 20px;
        height: 20px;
    }
}

/* Contraste de los bloques internos del post y de los widgets embebidos. */
@media (min-width: 769px) {
    body.pfpc-desktop-chrome #page .plantilla_5 .pl_contenido,
    body.pfpc-desktop-chrome #page .plantilla_5 .sinopsis,
    body.pfpc-desktop-chrome #page .plantilla_5 .sinopsis_scroll,
    body.pfpc-desktop-chrome #page .plantilla_5 .informacion,
    body.pfpc-desktop-chrome #page .plantilla_5 .galeria,
    body.pfpc-desktop-chrome #page .plantilla_5 .galeria_scroll,
    body.pfpc-desktop-chrome #page .plantilla_5 .secciones,
    body.pfpc-desktop-chrome #page .plantilla_5 .programas-container,
    body.pfpc-desktop-chrome #page .plantilla_5 .programa-item,
    body.pfpc-desktop-chrome #page .plantilla_5 .capturas,
    body.pfpc-desktop-chrome #page .plantilla_5 .comodes {
        background: var(--pfpc-desktop-surface) !important;
        color: #f1eeee;
    }

    body.pfpc-desktop-chrome #page .plantilla_5 .pl_contenido h3:has(> span > strong > span[style*="color"]),
    body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes h3:has(> span > strong > span[style*="color"]) {
        background: transparent !important;
        color: #f1eeee !important;
        -webkit-text-fill-color: #f1eeee;
    }

    body.pfpc-desktop-chrome #page .widget-area .widget .textwidget,
    body.pfpc-desktop-chrome #page .widget-area .widget .custom-html-widget,
    body.pfpc-desktop-chrome #page .widget-area .widget .ia-card,
    body.pfpc-desktop-chrome #page .widget-area .widget .ia-panel,
    body.pfpc-desktop-chrome #page .widget-area .widget .ia-leader-list,
    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .widget-area .widget .widget-contenido-relacionado {
        background: transparent !important;
        color: #f1eeee;
    }

    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .widget-area .widget:has(> .widget-contenido-relacionado),
    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .widget-area .widget .widget-contenido-relacionado h2 {
        border-color: #8e0202 !important;
    }

    body.pfpc-desktop-chrome #page .widget-area .widget .ia-card {
        border-color: #5e2525 !important;
    }

    body.pfpc-desktop-chrome #page .widget-area .widget .ia-card a,
    body.pfpc-desktop-chrome #page .widget-area .widget .ia-name,
    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .widget-area .widget .widget-contenido-relacionado .categoria,
    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .widget-area .widget .widget-contenido-relacionado .fecha-actualizacion,
    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .widget-area .widget .widget-contenido-relacionado .dato-custom,
    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .widget-area .widget .widget-contenido-relacionado .wcr-rating__summary {
        color: #ff9696;
    }

    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .widget-area .widget .widget-contenido-relacionado h2,
    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .widget-area .widget .widget-contenido-relacionado strong {
        color: #f1eeee;
    }

    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .widget-area .widget .widget-contenido-relacionado .wcr-legal-notice {
        color: #ded4d4 !important;
    }

    /* El botón oficial conserva el texto blanco original del widget en modo oscuro. */
    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .widget-area .widget .widget-contenido-relacionado .boton-busqueda,
    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .widget-area .widget .widget-contenido-relacionado .boton-busqueda:visited {
        color: #ffffff !important;
    }
}

/* Contraste del aviso de Telegram y del área de comentarios. */
@media (min-width: 769px) {
    body.pfpc-desktop-chrome #page .telegram-bar,
    body.pfpc-desktop-chrome #page .comments,
    body.pfpc-desktop-chrome #page #comments,
    body.pfpc-desktop-chrome #page #wpdcom {
        background: var(--pfpc-desktop-surface) !important;
        border-color: var(--pfpc-desktop-surface-border) !important;
        color: #f1eeee !important;
    }

    body.pfpc-desktop-chrome #page .telegram-bar,
    body.pfpc-desktop-chrome #page .comments {
        border: 0 !important;
        box-shadow: none !important;
    }

    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .telegram-bar strong,
    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .telegram-bar .tg-left,
    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .comments b {
        color: #f1eeee !important;
    }

    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .comments .icon {
        background: #2a2a2a;
        border: 1px solid #8e0202;
        color: #ffffff;
    }

    body.pfpc-desktop-chrome #page #wpdcom .wpd-thread-head .wpd-thread-info,
    body.pfpc-desktop-chrome #page #wpdcom .wpd-thread-head .wpdiscuz-user-settings,
    body.pfpc-desktop-chrome #page #wpdcom .wpd-thread-filter .wpd-filter,
    body.pfpc-desktop-chrome #page #wpdcom .wpd-thread-filter .wpdf-active {
        border-bottom-color: #8e0202 !important;
    }

    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page #wpdcom,
    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page #wpdcom .wpd-form-wrap,
    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page #wpdcom .wpd-form-head,
    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page #wpdcom .wpd-form,
    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page #wpdcom .wpd-form-foot,
    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page #wpdcom .wpd-comment,
    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page #wpdcom .wpd-comment-wrap,
    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page #wpdcom .wpd-thread-head {
        background-color: var(--pfpc-desktop-surface) !important;
        color: #f1eeee !important;
    }

    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page #wpdcom a,
    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page #wpdcom .wpd-form-head,
    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page #wpdcom label,
    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page #wpdcom .wpd-comment-text {
        color: #ff9696;
    }

    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page #wpdcom .wpd-comment-text,
    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page #wpdcom .wpd-comment-text * {
        color: #ffffff !important;
    }

    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page #wpdcom input,
    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page #wpdcom textarea,
    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page #wpdcom select {
        background: #ffffff;
        color: #222222;
    }
}

/* Selector de tema: el nocturno sigue siendo el estado predeterminado. */
.pfpc-language-switcher {
    display: none;
}

.pfpc-accent-switcher {
    display: none;
}

@media (min-width: 769px) {
    body.pfpc-desktop-chrome .pfpc-header-actions {
        gap: 8px;
    }

    .pfpc-accent-switcher {
        position: relative;
        display: block;
    }

    .pfpc-accent-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #ffffff;
        line-height: 1;
        cursor: pointer;
        font: inherit;
    }

    .pfpc-accent-icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pfpc-accent-icon svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .pfpc-accent-toggle small {
        margin-top: 4px;
        color: #ffffff;
        font-size: 9px;
        font-weight: 700;
    }

    .pfpc-accent-toggle:hover,
    .pfpc-accent-toggle:focus-visible,
    .pfpc-accent-toggle[aria-expanded="true"] {
        color: var(--pfpc-user-accent, #8e0202);
    }

    .pfpc-accent-toggle:hover small,
    .pfpc-accent-toggle:focus-visible small,
    .pfpc-accent-toggle[aria-expanded="true"] small {
        color: #ffffff;
    }

    .pfpc-accent-menu {
        position: absolute;
        z-index: 110;
        top: calc(100% + 12px);
        left: -110px;
        width: 278px;
        padding: 12px;
        background: #17191b;
        border: 1px solid var(--pfpc-user-accent, #8e0202);
        border-radius: 10px;
        box-shadow: 0 18px 42px rgba(0, 0, 0, .45);
        color: #eeeeee;
    }

    .pfpc-accent-menu[hidden] {
        display: none;
    }

    .pfpc-accent-menu__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 0 1px 10px;
        border-bottom: 1px solid #30343a;
        color: #ffffff;
        font-size: 12px;
        font-weight: 700;
    }

    .pfpc-accent-menu__check {
        margin-right: 4px;
        color: var(--pfpc-user-accent, #8e0202);
        font-size: 16px;
    }

    .pfpc-accent-close {
        width: 24px;
        height: 24px;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--pfpc-user-accent, #8e0202);
        font-size: 20px;
        line-height: 1;
        cursor: pointer;
    }

    .pfpc-accent-menu__hint {
        margin: 12px 0 10px;
        color: #bfc4ca;
        font-size: 11px;
        line-height: 1.45;
    }

    .pfpc-accent-swatches {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .pfpc-accent-swatch {
        width: 100%;
        height: 36px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, .24);
        border-radius: 6px;
        background: var(--pfpc-swatch);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 3px 8px rgba(0,0,0,.25);
        cursor: pointer;
    }

    .pfpc-accent-swatch:hover,
    .pfpc-accent-swatch:focus-visible,
    .pfpc-accent-swatch[aria-pressed="true"] {
        border-color: #ffffff;
        outline: 2px solid var(--pfpc-user-accent, #8e0202);
        outline-offset: 1px;
    }

    .pfpc-accent-custom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-top: 12px;
        padding: 9px 10px;
        border: 1px solid #30343a;
        border-radius: 7px;
        background: #202327;
        color: #eeeeee;
        font-size: 11px;
        font-weight: 600;
    }

    .pfpc-accent-custom input {
        width: 34px;
        height: 27px;
        padding: 2px;
        border: 1px solid #808991;
        border-radius: 3px;
        background: #ffffff;
        cursor: pointer;
    }

    .pfpc-accent-reset {
        display: block;
        margin: 14px auto 0;
        padding: 6px 12px;
        border: 1px solid #59636c;
        border-radius: 6px;
        background: transparent;
        color: #eeeeee;
        font: 600 11px/1.2 Arial, sans-serif;
        cursor: pointer;
    }

    .pfpc-accent-reset:hover,
    .pfpc-accent-reset:focus-visible {
        border-color: var(--pfpc-user-accent, #8e0202);
        color: #ffffff;
        outline: 0;
    }

    body.pfpc-desktop-chrome .pfpc-language-switcher {
        position: relative;
        display: block;
    }

    body.pfpc-desktop-chrome .pfpc-language-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 58px;
        height: 48px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #ffffff;
        line-height: 1;
        cursor: pointer;
        font: inherit;
    }

    body.pfpc-desktop-chrome .pfpc-language-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
    }

    body.pfpc-desktop-chrome .pfpc-language-icon svg {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    body.pfpc-desktop-chrome .pfpc-language-toggle small {
        margin-top: 4px;
        color: #ffffff;
        font-size: 9px;
        font-weight: 700;
    }

    body.pfpc-desktop-chrome .pfpc-language-toggle:hover,
    body.pfpc-desktop-chrome .pfpc-language-toggle:focus-visible {
        color: #ff8c8c;
    }

    body.pfpc-desktop-chrome .pfpc-language-toggle:hover small,
    body.pfpc-desktop-chrome .pfpc-language-toggle:focus-visible small,
    body.pfpc-desktop-chrome .pfpc-language-toggle[aria-expanded="true"] small {
        color: #ff8c8c;
    }

    body.pfpc-desktop-chrome .pfpc-language-menu {
        position: absolute;
        z-index: 100;
        top: calc(100% + 12px);
        right: -12px;
        width: 304px;
        padding: 12px;
        background: #17191b;
        border: 1px solid var(--pfpc-user-accent, #8e0202);
        border-radius: 10px;
        box-shadow: 0 18px 42px rgba(0, 0, 0, .45);
    }

    body.pfpc-desktop-chrome .pfpc-language-menu[hidden] {
        display: none;
    }

    body.pfpc-desktop-chrome .pfpc-language-menu__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 0 1px 10px;
        color: #ffffff;
        font-size: 12px;
        font-weight: 700;
    }

    body.pfpc-desktop-chrome .pfpc-language-auto {
        padding: 3px 8px;
        border: 1px solid #a32727;
        border-radius: 99px;
        background: #25282b;
        color: #ffffff;
        font: 700 10px/1.2 Arial, sans-serif;
        cursor: pointer;
    }

    body.pfpc-desktop-chrome .pfpc-language-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    body.pfpc-desktop-chrome .pfpc-language-grid button {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
        min-height: 38px;
        padding: 7px 8px;
        border: 1px solid #30343a;
        border-radius: 7px;
        background: #202327;
        color: #eeeeee;
        text-align: left;
        font: 600 12px/1.15 Arial, sans-serif;
        cursor: pointer;
    }

    body.pfpc-desktop-chrome .pfpc-language-flag {
        flex: 0 0 24px;
        width: 24px;
        height: 16px;
        overflow: hidden;
        border-radius: 2px;
        box-shadow: 0 0 0 1px rgba(255,255,255,.12);
    }

    body.pfpc-desktop-chrome .pfpc-language-status {
        min-height: 14px;
        margin: 8px 1px 0;
        color: #ffb0b0;
        font-size: 10px;
        line-height: 14px;
    }

    body.pfpc-desktop-chrome .pfpc-google-translate,
    body.pfpc-desktop-chrome .goog-te-gadget,
    body.pfpc-desktop-chrome .goog-te-gadget span {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        overflow: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    body.pfpc-desktop-chrome .goog-te-banner-frame.skiptranslate {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        top: -9999px !important;
    }

    html body.pfpc-desktop-chrome iframe.goog-te-banner-frame,
    html body.pfpc-desktop-chrome iframe[class*="goog-te-banner-frame"],
    html body.pfpc-desktop-chrome iframe.skiptranslate,
    html body.pfpc-desktop-chrome iframe[class*="VIpgJd"],
    html body.pfpc-desktop-chrome .goog-te-banner-frame,
    html body.pfpc-desktop-chrome #goog-gt-tt,
    html body.pfpc-desktop-chrome iframe.goog-te-balloon-frame,
    html body.pfpc-desktop-chrome .goog-te-balloon-frame,
    html body.pfpc-desktop-chrome .goog-te-gadget-icon,
    html body.pfpc-desktop-chrome .goog-te-gadget-simple,
    html body.pfpc-desktop-chrome .goog-logo-link,
    html body.pfpc-desktop-chrome .goog-tooltip,
    html body.pfpc-desktop-chrome .goog-tooltip:hover {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        height: 0 !important;
        top: -9999px !important;
    }

    /* Ocultar por completo la interfaz visual inyectada por Google Translate. */
    html body.pfpc-desktop-chrome #google_translate_element,
    html body.pfpc-desktop-chrome .goog-te-banner-frame,
    html body.pfpc-desktop-chrome .skiptranslate,
    html body.pfpc-desktop-chrome > .skiptranslate,
    html body.pfpc-desktop-chrome > div[class*="skiptranslate"],
    html body.pfpc-desktop-chrome iframe.skiptranslate,
    html body.pfpc-desktop-chrome #goog-gt-tt,
    html body.pfpc-desktop-chrome .goog-te-balloon-frame,
    html body.pfpc-desktop-chrome .goog-te-gadget,
    html body.pfpc-desktop-chrome .goog-te-gadget-icon,
    html body.pfpc-desktop-chrome .goog-logo-link,
    html body.pfpc-desktop-chrome [class*="VIpgJd-ZVi9od"],
    html body.pfpc-desktop-chrome [id*="goog-gt-"],
    html body.pfpc-desktop-chrome .goog-tooltip,
    html body.pfpc-desktop-chrome .goog-tooltip:hover {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        width: 0 !important;
        height: 0 !important;
        position: absolute !important;
        left: -9999px !important;
        top: -9999px !important;
    }

    html.translated-ltr body.pfpc-desktop-chrome,
    html.translated-rtl body.pfpc-desktop-chrome {
        top: 0 !important;
    }

    body.pfpc-desktop-chrome .pfpc-theme-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #ffffff;
        line-height: 1;
        cursor: pointer;
        font: inherit;
    }

    body.pfpc-desktop-chrome .pfpc-theme-toggle svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: #ffffff;
        stroke-width: 1.8;
        stroke-linecap: round;
    }

    body.pfpc-desktop-chrome .pfpc-theme-icon--moon { display: none; }
    body.pfpc-desktop-chrome .pfpc-theme-icon--sun { display: block; }
    body.pfpc-desktop-chrome .pfpc-theme-toggle .pfpc-theme-icon--moon {
        fill: #ffffff;
        stroke: none;
    }

    body.pfpc-desktop-chrome .pfpc-theme-toggle small {
        margin-top: 4px;
        color: #ffffff;
        font-size: 9px;
        font-weight: 700;
    }

    body.pfpc-desktop-chrome .pfpc-theme-toggle:hover small,
    body.pfpc-desktop-chrome .pfpc-theme-toggle:focus-visible small {
        color: #ffb0b0;
    }
}

/* Modo claro completo de Plantilla 5. Solo se activa en escritorio. */
@media (min-width: 769px) {
    html.pfpc-light-mode body.pfpc-desktop-chrome {
        --pfpc-desktop-surface: #ffffff;
        --pfpc-desktop-surface-border: #8e0202;
        background: #f2f2f2 !important;
        color: #222222;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-masthead,
    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-primary-nav {
        background: #ffffff;
        border-color: #b40000;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-brand,
    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-brand-name,
    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-account-button,
    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-account-button small,
    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-theme-toggle small {
        color: #222222;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-account-icon,
    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-theme-toggle svg {
        color: #8e0202;
        stroke: #222222;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-language-toggle,
    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-language-toggle small,
    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-language-menu__header {
        color: #222222;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-language-icon {
        color: #222222;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-language-menu {
        background: #ffffff;
        border-color: #c8c8c8;
        box-shadow: 0 18px 42px rgba(0, 0, 0, .2);
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-language-grid button {
        border-color: #d8dce0;
        background: #f5f6f7;
        color: #222222;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-language-auto {
        border-color: #c3c7cb;
        background: #f5f6f7;
        color: #222222;
    }

    /* Hover y foco compartidos por Original, Clara y Oscura, sobre sus bases. */
    html body.pfpc-desktop-chrome .pfpc-language-menu .pfpc-language-grid button:hover,
    html body.pfpc-desktop-chrome .pfpc-language-menu .pfpc-language-grid button:focus-visible {
        border-color: var(--pfpc-user-accent, #8e0202);
        background: var(--pfpc-user-accent, #8e0202);
        color: var(--pfpc-user-accent-contrast, #ffffff);
        outline: 0;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-language-status {
        color: #8e0202;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-theme-icon--moon { display: block; }
    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-theme-icon--sun { display: none; }
    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-theme-toggle .pfpc-theme-icon--moon {
        fill: #ffffff;
        stroke: none;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-theme-toggle:hover small,
    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-theme-toggle:focus-visible small,
    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-account-button:hover small {
        color: #8e0202;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-primary-menu a {
        color: #222222;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-primary-menu a:hover {
        color: #8e0202;
        background: #f0f0f0;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-primary-menu i,
    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-submenu-toggle {
        color: #222222;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-primary-menu ul {
        background: #ffffff;
        border-color: #b40000;
        box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
        scrollbar-color: #b50000 #eeeeee;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-primary-menu ul::-webkit-scrollbar-track {
        background: #eeeeee;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-search-suggestions {
        background: #ffffff;
        border-color: #d0d0d0;
        box-shadow: 0 12px 25px rgba(0, 0, 0, .2);
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-search-suggestions a {
        color: #222222;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-search-suggestions a:hover,
    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-search-suggestions a:focus {
        background: #f0f0f0;
        color: #8e0202;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-search-suggestion__date,
    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-search-suggestions__message {
        color: #666666;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-search-suggestions__all {
        border-color: #dddddd;
        color: #8e0202;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .pfpc-archive-intro {
        background: #ffffff;
        border-color: #cfcfcf;
        border-top-color: #a31616;
        color: #222222;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .pfpc-archive-intro h1,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .pfpc-archive-intro__count span {
        color: #222222;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .pfpc-archive-intro__eyebrow,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .pfpc-archive-intro__count strong {
        color: #111111;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .pfpc-archive-intro__description {
        color: #555555;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .pfpc-archive-intro__count {
        border-color: #bdbdbd;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .pfpc-archive-filters > .pfpc-archive-filter-group {
        background: #f4f4f4;
        border-color: #cccccc;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .pfpc-archive-filters .pfpc-archive-filter-group > label {
        color: #8e0202;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .pfpc-archive-filters select {
        background: #ffffff;
        color: #222222;
        border-color: #bdbdbd;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .pfpc-archive-pagination .page-numbers,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page #pfpc-archive-pagination .page-numbers {
        background: #ffffff !important;
        border-color: #cccccc;
        color: #8e0202;
    }

    html.pfpc-light-mode body.pfpc-home-v2 {
        --pfpc-bg: #f2f2f2;
        --pfpc-panel: #ffffff;
        --pfpc-border: #8e0202;
        --pfpc-text: #222222;
        --pfpc-muted: #666666;
        --pfpc-accent: #8e0202;
        background: #f2f2f2 !important;
        color: #222222;
    }

    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-welcome {
        background: radial-gradient(ellipse at 90% 100%, #8e0202, transparent 62%), linear-gradient(110deg, #240000, #500000);
        border-color: #730000;
    }

    html.pfpc-light-mode body.pfpc-home-v2 #page .pfpc-welcome h1,
    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-welcome h1 em {
        color: #ffffff;
    }

    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-welcome-copy > p:not(.pfpc-eyebrow) {
        color: #eddada;
    }

    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-hero-benefits {
        background: linear-gradient(100deg, #420000, #790000);
        border-color: #a62525;
        box-shadow: inset 0 1px 0 #ff8a8a35, 0 7px 18px #16000045;
        color: #ffffff;
    }

    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-hero-benefits span + span {
        border-color: #a62525;
    }

    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-stats {
        background: linear-gradient(140deg, #211010, #141414);
        border-color: #8e0202;
    }

    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-stats strong,
    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-stats > a {
        color: #ffffff;
    }

    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-stats p span {
        color: #dddddd;
    }

    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-stats > div {
        border-color: #8e0202;
    }

    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-category-hub__item,
    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-category-hub__links > li > a {
        background: linear-gradient(#450000, #260000);
        border-color: #8e0202;
        color: #ffffff;
    }

    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-category-hub__item:hover,
    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-category-hub__links > li > a:hover {
        background: linear-gradient(#450000, #260000);
        border-color: #ff8c8c;
        color: #ffffff;
    }

    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-category-hub__icon {
        color: #ffffff;
    }

    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-panel-heading,
    html.pfpc-light-mode body.pfpc-home-v2 #page .actualizad h2,
    html.pfpc-light-mode body.pfpc-home-v2 #page .wdg_titulo,
    html.pfpc-light-mode body.pfpc-home-v2 #page .pfpc-side-column .widget-title,
    html.pfpc-light-mode body.pfpc-home-v2 #page .top-categorias-widget .titulo-widget {
        background: #161616 url('/wp-content/uploads/download.gif') repeat !important;
        border-bottom: 2px solid #8e0202 !important;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff;
    }

    html.pfpc-light-mode body.pfpc-home-v2 #page .actualizad,
    html.pfpc-light-mode body.pfpc-home-v2 #page .pfpc-existing-content .wdg_mensaje,
    html.pfpc-light-mode body.pfpc-home-v2 #page .pfpc-side-column .widget,
    html.pfpc-light-mode body.pfpc-home-v2 #page .top-categorias-widget {
        color: #222222;
        border-color: #8e0202;
    }

    html.pfpc-light-mode body.pfpc-home-v2 #page .actualizad li,
    html.pfpc-light-mode body.pfpc-home-v2 #page .actualizad li a,
    html.pfpc-light-mode body.pfpc-home-v2 #page .pfpc-side-column .widget:not(:has(> .social-widget)) a,
    html.pfpc-light-mode body.pfpc-home-v2 #page .top-categorias-widget .enlace-categoria,
    html.pfpc-light-mode body.pfpc-home-v2 #page .social-widget .social-item {
        color: #8e0202;
    }

    html.pfpc-light-mode body.pfpc-home-v2 #page .actualizad li {
        border-bottom-color: #8e0202;
    }

    html.pfpc-light-mode body.pfpc-home-v2 #page .pfpc-scroll-buttons button,
    html.pfpc-light-mode body.pfpc-home-v2 #page .social-widget .icon {
        background: #ffffff;
        border-color: #8e0202;
        color: #8e0202;
    }

    html.pfpc-light-mode body.pfpc-home-v2 #page .pfpc-side-column .widget:has(> .social-widget),
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .widget-area .widget:has(> .social-widget) {
        border-color: #8e0202 !important;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .PdP_card {
        background: #ffffff !important;
        color: #222222;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .PdP_archivos > .container-xl.bg-white {
        box-shadow: 0 3px 12px rgba(31, 31, 38, .10) !important;
    }

    html.pfpc-light-mode body.pfpc-home-v2 #page .pfpc-existing-content .wdg_mensaje strong {
        color: #222222;
    }

    /* Post individual: superficies blancas, texto oscuro y acento rojo. */
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 {
        background: transparent !important;
        color: #222222;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 > .pfpc-breadcrumbs,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 > .pl_header,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 > .pl_contenido,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 > .pl_galeria,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 > .plan_cont_partes,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .post-img,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .pl_contenido,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .sinopsis,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .sinopsis_scroll,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .informacion,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .galeria,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .galeria_scroll,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .secciones,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .widget-area .widget,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 > .relacionados .rl_etiqueta.v2,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 > .relacionados > .container {
        background: #ffffff !important;
        border-color: #8e0202 !important;
        color: #222222 !important;
    }

    /* En modo claro la imagen destacada queda limpia, sin el cuadro de sombra. */
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .post-img,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .post-img .main-post-img {
        box-shadow: none !important;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .post-img h1,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .pl_contenido p,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .pl_contenido li,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .pl_contenido strong,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .pl_contenido em,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .pl_contenido span,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes p,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes li,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes strong,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes em,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes span,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .pl_contenido h3,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .pl_contenido h4,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes h3,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes h4 {
        color: #222222 !important;
        -webkit-text-fill-color: #222222;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .pl_contenido h2,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes h2,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .widget-area .widget-title {
        background: #161616 url('/wp-content/uploads/download.gif') repeat !important;
        border-bottom: 2px solid #8e0202 !important;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff;
    }

    /* Contraste global de los H2 del contenido del post. Algunos posts
     * incluyen spans con color inline, por eso también se fuerza el texto
     * descendiente en el modo diurno. */
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 h2 {
        background: #161616 url('/wp-content/uploads/download.gif') repeat !important;
        border-bottom: 2px solid #8e0202 !important;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 h2 * {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 > .pfpc-breadcrumbs,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 > .pfpc-breadcrumbs a,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .pl_contenido a,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes a,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .widget-area .widget:not(:has(.widget-contenido-relacionado)) a {
        color: #8e0202;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .widget-area .widget .textwidget,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .widget-area .widget .custom-html-widget,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .widget-area .widget .ia-card,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .widget-area .widget .ia-panel,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .widget-area .widget .ia-leader-list {
        background: transparent !important;
        color: #222222;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .widget-area .widget .ia-card a,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .widget-area .widget .ia-name {
        color: #8e0202;
    }

    /* La tarjeta informativa conserva los colores del plugin; el contenedor
     * del widget solo aporta una superficie neutra en el modo diurno. */
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .widget-area .widget:has(> .widget-contenido-relacionado) {
        background: #ffffff !important;
        border-color: #8e0202 !important;
        color: inherit !important;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .widget-area .widget .widget-contenido-relacionado h2 {
        border-color: #8e0202 !important;
    }

    /* La tarjeta social de los posts usa el mismo diseño limpio de la Home. */
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .widget-area .widget:has(> .social-widget) {
        padding: 16px !important;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .widget-area .social-widget {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 5px;
        margin: 0;
        padding: 4px 0;
        background: transparent !important;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .widget-area .social-widget .social-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 0;
        gap: 7px;
        color: #8e0202 !important;
        font-size: 10px;
        text-decoration: none;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .widget-area .social-widget .icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: 1px solid #8e0202;
        border-radius: 10px;
        background: #ffffff;
        color: #8e0202;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .widget-area .social-widget svg {
        width: 20px;
        height: 20px;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .telegram-bar,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .comments,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page #comments,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page #wpdcom {
        background: #ffffff !important;
        border-color: #8e0202 !important;
        color: #222222 !important;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .telegram-bar strong,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .telegram-bar .tg-left,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .comments b {
        color: #222222 !important;
    }

    /* wpDiscuz recupera sus colores originales en el modo diurno. */
    html.pfpc-light-mode body.pfpc-desktop-chrome #page #wpdcom .wpd-comment-text,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page #wpdcom .wpd-comment-text * {
        color: #000000 !important;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page #wpdcom .wpd-comment-header {
        color: #999999 !important;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page #wpdcom .wpd-comment-header .wpd-comment-link {
        color: #aaaaaa !important;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page #wpdcom .wpd-comment-footer .wpd-reply-button,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page #wpdcom .wpd-comment-footer .wpd-vote-result {
        color: #999999 !important;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page #wpdcom .wpd-comment-footer .wpd-reply-button svg {
        fill: #999999 !important;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .comments .icon {
        background: transparent;
        border: none;
        color: inherit;
    }

    /* Las migajas de Plantilla 5 usan el mismo marcado global que Plantilla 4. */
    body.pfpc-desktop-chrome #page .plantilla_5 > .pfpc-breadcrumbs {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    body.pfpc-desktop-chrome #page .plantilla_5 > .pfpc-breadcrumbs > ol {
        background: var(--pfpc-desktop-surface) !important;
        border: 0 !important;
        box-shadow: none !important;
        color: #ded4d4;
    }

    body.pfpc-desktop-chrome #page .plantilla_5 > .pfpc-breadcrumbs > ol a {
        color: #ff9696;
    }

    body.pfpc-desktop-chrome #page .plantilla_5 > .pfpc-breadcrumbs > ol [aria-current="page"] {
        color: #f1eeee !important;
        -webkit-text-fill-color: #f1eeee;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 > .pfpc-breadcrumbs > ol {
        background: #ffffff !important;
        border: 0 !important;
        box-shadow: none !important;
        color: #5f6368;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 > .pfpc-breadcrumbs > ol a {
        color: #8e0202;
    }

    /* En modo diurno solo el encabezado conserva la paleta nocturna. */
    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-masthead,
    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-primary-nav,
    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-masthead,
    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-primary-nav {
        background: #080808;
        border-color: #730000;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-brand,
    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-brand-name,
    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-account-button,
    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-account-button small,
    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-theme-toggle small,
    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-primary-menu a,
    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-brand,
    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-brand-name,
    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-account-button,
    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-account-button small,
    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-primary-menu a {
        color: #ffffff;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-primary-menu a:hover,
    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-primary-menu a:hover {
        background: #222222;
        color: #ffffff;
    }

    /* El encabezado permanece oscuro en el tema diurno: el idioma debe conservar alto contraste. */
    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-language-toggle,
    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-language-toggle small,
    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-language-icon,
    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-language-toggle,
    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-language-toggle small,
    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-language-icon {
        color: #ffffff;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-language-toggle:hover,
    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-language-toggle:focus-visible,
    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-language-toggle:hover,
    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-language-toggle:focus-visible {
        color: #ff8c8c;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-primary-menu i,
    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-submenu-toggle,
    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-primary-menu i,
    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-submenu-toggle {
        color: #ffffff;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome .pfpc-primary-menu ul,
    html.pfpc-light-mode body.pfpc-home-v2 .pfpc-primary-menu ul {
        background: #191919;
        border-color: #730000;
        scrollbar-color: #b50000 #191919;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 > .pfpc-breadcrumbs > ol [aria-current="page"] {
        color: #202124 !important;
        -webkit-text-fill-color: #202124 !important;
    }

}

@media (min-width: 901px) {
    body.pfpc-updates-page #page .site-content {
        margin: 0 !important;
        padding: 10px 0 !important;
        background: transparent !important;
    }

    body.pfpc-updates-page #page .site-main,
    body.pfpc-updates-page #page .site-main > article,
    body.pfpc-updates-page #page .inside-article,
    body.pfpc-updates-page #page .entry-content,
    body.pfpc-updates-page #page .entry-content > p {
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.pfpc-updates-page #page .entry-content > .actualizad {
        width: 100%;
        margin: 0 !important;
        box-sizing: border-box;
    }

    body.pfpc-desktop-chrome #page .actualizad {
        padding: 0;
        overflow: hidden;
        border: 1px solid #8e0202;
        border-radius: 12px;
        background: #161616;
        color: #f1eeee;
    }

    body.pfpc-desktop-chrome #page .actualizad h2 {
        margin: 0;
        padding: 17px 20px;
        border-bottom: 1px solid #8e0202 !important;
        background: #161616 url('/wp-content/uploads/download.gif') repeat !important;
        color: #ffffff !important;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.25;
        text-align: left;
    }

    body.pfpc-desktop-chrome #page .actualizad ul {
        list-style: none;
        margin: 0;
        padding: 6px 18px 10px;
    }

    body.pfpc-desktop-chrome #page .actualizad li {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        padding: 12px 0;
        margin: 0;
        border-bottom: 1px solid #8e0202;
        font-size: 13px;
        line-height: 1.5;
    }

    body.pfpc-desktop-chrome #page .actualizad li:last-child {
        border-bottom: 0;
    }

    body.pfpc-desktop-chrome #page .actualizad li a {
        flex: 1;
        min-width: 0;
        color: #f1eeee;
        font-weight: 600;
    }

    body.pfpc-desktop-chrome #page .actualizad .updates-favicon {
        display: block;
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
        object-fit: contain;
        border-radius: 3px;
        background: transparent !important;
    }

    /* El SVG de macOS es negro por diseño; en la piel oscura necesita contraste. */
    html[data-pfpc-theme-mode="dark"] body.pfpc-desktop-chrome #page .actualizad img[src$="/macos.svg"] {
        filter: brightness(0) invert(1);
    }

    body.pfpc-desktop-chrome #page .actualizad .version-label,
    body.pfpc-desktop-chrome #page .actualizad .metabox_bg_home {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        height: 26px;
        min-height: 26px;
        font-size: 13px;
        line-height: 1;
        vertical-align: middle;
    }

    body.pfpc-desktop-chrome #page .actualizad .metabox_bg_home {
        transform: translateY(1px);
    }

    body.pfpc-desktop-chrome #page .actualizad .updates-date {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 26px;
        min-height: 26px;
        box-sizing: border-box;
        padding: 3px 9px;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.2;
        vertical-align: middle;
        white-space: nowrap;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .actualizad .updates-date {
        border: 1px solid #8e0202;
        border-left: 3px solid #8e0202;
        border-radius: 5px;
        background: #f3f3f3;
        color: #444444;
    }

    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .actualizad .updates-date {
        border: 1px solid #8e0202;
        border-left: 3px solid #8e0202;
        border-radius: 5px;
        background: #242020;
        color: #f1eeee;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .actualizad {
        border-color: #8e0202;
        background: #ffffff;
        color: #222222;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .actualizad li {
        border-bottom-color: #8e0202;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page .actualizad li a {
        color: #171717;
    }
}

/* Desktop Plantilla 5: professional archive pagination controls. */
@media (min-width: 901px) {
    body.pfpc-desktop-chrome #page #pfpc-archive-pagination {
        margin: 26px 0 30px;
        padding: 0 16px;
    }

    body.pfpc-desktop-chrome #page #pfpc-archive-pagination .pfpc-archive-pagination-nav {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    body.pfpc-desktop-chrome #page #pfpc-archive-pagination .nav-links {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        flex-wrap: wrap;
    }

    body.pfpc-desktop-chrome #page #pfpc-archive-pagination .page-numbers {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        min-width: 53px;
        height: 36px;
        padding: 0 12px;
        border: 1px solid #3f3f3f;
        border-radius: 6px;
        background: #161616 !important;
        color: #f1eeee;
        font-size: 14px;
        font-weight: 700;
        line-height: 1;
        text-decoration: none;
        transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
    }

    body.pfpc-desktop-chrome #page #pfpc-archive-pagination .page-numbers:not(.prev):not(.next) {
        width: 53px;
        padding: 0;
        border-radius: 6px;
    }

    body.pfpc-desktop-chrome #page #pfpc-archive-pagination .page-numbers.dots {
        border-color: #3f3f3f;
        background: #161616 !important;
        color: #ff9696;
        pointer-events: none;
    }

    body.pfpc-desktop-chrome #page #pfpc-archive-pagination .page-numbers.current {
        border-color: #a31616;
        background: #8e0202 !important;
        color: #ffffff;
        box-shadow: 0 5px 14px rgba(142, 2, 2, .3);
    }

    body.pfpc-desktop-chrome #page #pfpc-archive-pagination a.page-numbers:hover,
    body.pfpc-desktop-chrome #page #pfpc-archive-pagination a.page-numbers:focus-visible {
        border-color: #c43b3b;
        background: #8e0202 !important;
        color: #ffffff;
        outline: 0;
    }

    body.pfpc-desktop-chrome #page #pfpc-archive-pagination .page-numbers.next::after {
        content: none;
    }

    body.pfpc-desktop-chrome #page #pfpc-archive-pagination .page-numbers.prev::before {
        content: none;
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page #pfpc-archive-pagination .page-numbers {
        border-color: #d1d1d1;
        background: #ffffff !important;
        color: #8e0202;
        box-shadow: 0 2px 7px rgba(0, 0, 0, .08);
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page #pfpc-archive-pagination .page-numbers.dots {
        border-color: #d1d1d1;
        background: #ffffff !important;
        color: #8e0202;
        box-shadow: 0 2px 7px rgba(0, 0, 0, .08);
    }

    html.pfpc-light-mode body.pfpc-desktop-chrome #page #pfpc-archive-pagination .page-numbers.current,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page #pfpc-archive-pagination a.page-numbers:hover,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page #pfpc-archive-pagination a.page-numbers:focus-visible {
        border-color: #a31616;
        background: #8e0202 !important;
        color: #ffffff;
    }
}

/* Selector experimental de color de acento para Plantilla 5. */
:root {
    --pfpc-user-accent: #8e0202;
    --pfpc-user-accent-contrast: #ffffff;
    --pfpc-user-accent-light-text: #8e0202;
    --pfpc-user-accent-dark: #3f0101;
    --pfpc-user-accent-deep: #241717;
    --pfpc-user-accent-soft: #b86565;
}

body.pfpc-home-v2 {
    --pfpc-accent: var(--pfpc-user-accent);
    --pfpc-border: var(--pfpc-user-accent);
}

body.pfpc-desktop-chrome {
    --pfpc-desktop-surface-border: var(--pfpc-user-accent);
}

@media (min-width: 769px) {
    /* La franja de resultados sigue el acento elegido por el usuario. */
    body.pfpc-desktop-chrome .PdP_busqueda .srch-header {
        background: #5a0a14 !important;
        background: color-mix(in srgb, var(--pfpc-user-accent, #8e0202) 65%, #000000) !important;
        border-bottom-color: color-mix(in srgb, var(--pfpc-user-accent, #8e0202) 72%, #ffffff) !important;
    }

    body.pfpc-desktop-chrome .PdP_busqueda .srch-header::before {
        background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--pfpc-user-accent, #8e0202) 35%, #ffffff) 50%, transparent 100%) !important;
    }
}

body.pfpc-desktop-chrome .pfpc-search button,
body.pfpc-home-v2 .pfpc-search button,
body.pfpc-desktop-chrome .pfpc-brand-badge,
body.pfpc-home-v2 .pfpc-brand-badge {
    background: var(--pfpc-user-accent) !important;
}

body.pfpc-home-v2 .pfpc-welcome,
body.pfpc-home-v2 .pfpc-stats,
body.pfpc-home-v2 .pfpc-category-hub__item,
body.pfpc-home-v2 .pfpc-category-hub__links > li > a,
body.pfpc-home-v2 .pfpc-panel,
body.pfpc-home-v2 .actualizad,
body.pfpc-home-v2 .pfpc-side-column .widget,
body.pfpc-home-v2 .top-categorias-widget {
    border-color: var(--pfpc-user-accent) !important;
}

body.pfpc-home-v2 #page .pfpc-panel-heading,
body.pfpc-home-v2 #page .actualizad h2,
body.pfpc-home-v2 #page .wdg_titulo,
body.pfpc-home-v2 #page .pfpc-side-column .widget-title,
body.pfpc-home-v2 #page .top-categorias-widget .titulo-widget,
body.pfpc-home-v2 #page .top-categorias-widget .categoria-header,
body.pfpc-desktop-chrome #page .actualizad h2,
body.pfpc-desktop-chrome #page .plantilla_5 h2,
body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes h2,
body.pfpc-desktop-chrome #page .widget-area .widget-title {
    border-bottom-color: var(--pfpc-user-accent) !important;
}

body.pfpc-home-v2 #page .social-widget .icon,
body.pfpc-desktop-chrome #page .widget-area .social-widget .icon,
body.pfpc-desktop-chrome #page .widget-area .widget:has(> .social-widget),
body.pfpc-desktop-chrome #page .widget-area .widget:has(> .widget-contenido-relacionado),
body.pfpc-desktop-chrome #page .widget-area .widget .widget-contenido-relacionado h2,
body.pfpc-desktop-chrome #page .comments .icon {
    border-color: var(--pfpc-user-accent) !important;
}

body.pfpc-desktop-chrome #page .actualizad .updates-date {
    border-color: var(--pfpc-user-accent);
    border-left-color: var(--pfpc-user-accent);
}

body.pfpc-desktop-chrome #page #wpdcom .wpd-thread-head .wpd-thread-info,
body.pfpc-desktop-chrome #page #wpdcom .wpd-thread-head .wpdiscuz-user-settings,
body.pfpc-desktop-chrome #page #wpdcom .wpd-thread-filter .wpd-filter,
body.pfpc-desktop-chrome #page #wpdcom .wpd-thread-filter .wpdf-active {
    border-bottom-color: var(--pfpc-user-accent) !important;
}

#pfpc-footer #footer-widgets {
    border-top-color: var(--pfpc-user-accent);
}

#pfpc-footer #footer-widgets .footer-widget-1 .widget-title,
#pfpc-footer a:hover,
#pfpc-footer a:focus-visible,
#pfpc-footer .footer-links a:hover,
#pfpc-footer .footer-widget-3 .textwidget a,
#pfpc-footer .pfpc-footer-bottom-links a:hover {
    color: var(--pfpc-user-accent);
}

#pfpc-footer a:focus-visible {
    outline-color: var(--pfpc-user-accent);
}

#pfpc-footer .site-info {
    border-top-color: var(--pfpc-user-accent);
}

@media (min-width: 769px) {
    html.pfpc-light-mode .pfpc-accent-menu {
        background: #ffffff;
        border-color: var(--pfpc-user-accent);
        box-shadow: 0 18px 42px rgba(0, 0, 0, .2);
        color: #222222;
    }

    html.pfpc-light-mode .pfpc-accent-menu__header {
        border-bottom-color: #e1e5e8;
        color: #202124;
    }

    html.pfpc-light-mode .pfpc-accent-menu__hint {
        color: #5f6368;
    }

    html.pfpc-light-mode .pfpc-accent-custom {
        border-color: #d8dfe4;
        background: #f3f6f8;
        color: #2f3b45;
    }

    html.pfpc-light-mode .pfpc-accent-reset {
        border-color: #c4cdd4;
        color: #33404a;
    }

    html.pfpc-light-mode .pfpc-accent-reset:hover,
    html.pfpc-light-mode .pfpc-accent-reset:focus-visible {
        border-color: var(--pfpc-user-accent);
        color: #222222;
    }
}

/* El acento elegido también recolorea superficies y líneas que antes usaban
 * distintos rojos. El menú conserva su paleta original al restaurar el color. */
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome .pfpc-masthead,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 .pfpc-masthead {
    border-color: color-mix(in srgb, var(--pfpc-user-accent) 55%, #000000) !important;
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome .pfpc-primary-nav,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 .pfpc-primary-nav {
    border-color: var(--pfpc-user-accent) !important;
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome .pfpc-primary-menu ul,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 .pfpc-primary-menu ul {
    border-color: var(--pfpc-user-accent) !important;
    scrollbar-color: var(--pfpc-user-accent) #191919;
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome .pfpc-primary-menu ul::-webkit-scrollbar-thumb,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 .pfpc-primary-menu ul::-webkit-scrollbar-thumb {
    background: var(--pfpc-user-accent);
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome .pfpc-primary-menu ul::-webkit-scrollbar-thumb:hover,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 .pfpc-primary-menu ul::-webkit-scrollbar-thumb:hover {
    background: var(--pfpc-user-accent-soft);
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 .pfpc-welcome {
    background: radial-gradient(ellipse at 90% 100%, var(--pfpc-user-accent-dark), transparent 62%),
        linear-gradient(110deg, var(--pfpc-user-accent-deep), var(--pfpc-user-accent-dark));
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 .pfpc-hero-benefits {
    border-color: var(--pfpc-user-accent);
    background: linear-gradient(100deg, var(--pfpc-user-accent-deep), var(--pfpc-user-accent-dark));
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 .pfpc-stats {
    background: linear-gradient(140deg, var(--pfpc-user-accent-deep), #141414);
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 .pfpc-category-hub__item,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 .pfpc-category-hub__links > li > a {
    background: linear-gradient(var(--pfpc-user-accent-dark), var(--pfpc-user-accent-deep));
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 .pfpc-computer-screen {
    background: radial-gradient(ellipse at 70% 60%, var(--pfpc-user-accent-soft), #101010 75%);
    box-shadow: 0 0 55px color-mix(in srgb, var(--pfpc-user-accent) 20%, transparent);
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 .pfpc-screen-orbit {
    border-color: color-mix(in srgb, var(--pfpc-user-accent) 60%, transparent);
    box-shadow: 0 0 0 20px color-mix(in srgb, var(--pfpc-user-accent-soft) 18%, transparent),
        0 0 0 43px color-mix(in srgb, var(--pfpc-user-accent-soft) 10%, transparent);
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 .pfpc-stats > div,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 #page .actualizad li {
    border-bottom-color: var(--pfpc-user-accent) !important;
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) #pfpc-footer #footer-widgets {
    background: #111111;
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) #pfpc-footer .site-info {
    background: #080808;
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) #pfpc-footer .footer-widget-3 .textwidget {
    border-color: color-mix(in srgb, var(--pfpc-user-accent) 30%, #383030);
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome .pfpc-brand strong span,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 .pfpc-brand strong span,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome .pfpc-search input:focus-visible,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 .pfpc-search input:focus-visible {
    color: var(--pfpc-user-accent);
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome .pfpc-search input:focus-visible,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 .pfpc-search input:focus-visible {
    box-shadow: inset 0 0 0 2px var(--pfpc-user-accent) !important;
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome .pfpc-account-button:hover,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome .pfpc-account-button:focus-visible,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 .pfpc-account-button:hover,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 .pfpc-account-button:focus-visible {
    color: var(--pfpc-user-accent-soft);
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 .pfpc-category-hub__item:hover,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 .pfpc-category-hub__links > li > a:hover {
    color: #ffffff;
    border-color: var(--pfpc-user-accent-soft);
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 #tarjetas .tarjetas_scroll {
    scrollbar-color: var(--pfpc-user-accent) #eeeeee;
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 .actualizad .menu-windows {
    color: var(--pfpc-user-accent);
}

/* Refuerzo para las reglas del tema claro y para los widgets que tienen su
 * borde definido en componentes independientes. */
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 {
    --pfpc-accent: var(--pfpc-user-accent) !important;
    --pfpc-border: var(--pfpc-user-accent) !important;
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 #page .pfpc-panel,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 #page .actualizad,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 #page .pfpc-existing-content > .mg_abajo,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 #page .pfpc-side-column .widget,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 #page .top-categorias-widget,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 #page .pfpc-side-column .widget:has(> .social-widget),
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 #page .pfpc-side-column .widget:has(> .widget-contenido-relacionado),
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 #page .widget-contenido-relacionado {
    border-color: var(--pfpc-user-accent) !important;
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .actualizad,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .widget-area .widget:has(> .social-widget),
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .widget-area .widget:has(> .widget-contenido-relacionado),
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .widget-area .widget .widget-contenido-relacionado {
    border-color: var(--pfpc-user-accent) !important;
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 #page .pfpc-panel-heading,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 #page .actualizad h2,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 #page .wdg_titulo,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 #page .pfpc-side-column .widget-title,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 #page .top-categorias-widget .titulo-widget,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 #page .top-categorias-widget .categoria-header,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .actualizad h2,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .plantilla_5 h2,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes h2,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .widget-area .widget-title,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .widget-contenido-relacionado h2,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .entry-content h2 {
    border-bottom-color: var(--pfpc-user-accent) !important;
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 #page .pfpc-hero-benefits span + span,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 .pfpc-stats > a {
    border-color: var(--pfpc-user-accent) !important;
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .actualizad .updates-date,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 #page .actualizad .updates-date {
    border-color: var(--pfpc-user-accent) !important;
    border-left-color: var(--pfpc-user-accent) !important;
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 #page .pfpc-side-column .widget:not(:has(> .social-widget)) a,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 #page .top-categorias-widget .enlace-categoria {
    color: var(--pfpc-user-accent) !important;
}

/* GeneratePress aplica un fondo global a todos los botones en hover/focus.
 * Las muestras deben conservar siempre su propio color. */
.pfpc-accent-switcher .pfpc-accent-swatch,
.pfpc-accent-switcher .pfpc-accent-swatch:hover,
.pfpc-accent-switcher .pfpc-accent-swatch:focus,
.pfpc-accent-switcher .pfpc-accent-swatch:focus-visible,
.pfpc-accent-switcher .pfpc-accent-swatch[aria-pressed="true"] {
    -webkit-appearance: none;
    appearance: none;
    background: var(--pfpc-swatch) !important;
}

/* Archivos de categorías y etiquetas: filtros, cabecera y paginación siguen
 * el mismo acento que la plantilla principal. */
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome {
    --pfpc-desktop-surface-border: var(--pfpc-user-accent) !important;
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .pfpc-archive-intro,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .pfpc-archive-filters,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .pfpc-archive-filter-group,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .pfpc-archive-intro__count {
    border-color: var(--pfpc-user-accent) !important;
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .pfpc-archive-intro,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .pfpc-archive-intro__count {
    border-top-color: var(--pfpc-user-accent) !important;
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .pfpc-archive-intro__eyebrow,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .pfpc-archive-intro__description i,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .pfpc-archive-intro__count strong,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .pfpc-archive-filters .pfpc-archive-filter-group > label {
    color: var(--pfpc-user-accent-soft) !important;
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .pfpc-archive-intro__description a {
    color: var(--pfpc-user-accent-soft) !important;
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .pfpc-archive-filters > .pfpc-archive-filter-group:hover,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .pfpc-archive-filters select:hover,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .pfpc-archive-filters select:focus {
    border-color: var(--pfpc-user-accent) !important;
    box-shadow: 0 0 12px color-mix(in srgb, var(--pfpc-user-accent) 45%, transparent);
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .pfpc-archive-filters .pfpc-filter-submit,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .pfpc-archive-filters .pfpc-filter-submit:hover,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .pfpc-archive-filters .pfpc-filter-submit:focus-visible {
    background: var(--pfpc-user-accent) !important;
    border-color: var(--pfpc-user-accent) !important;
    outline-color: var(--pfpc-user-accent) !important;
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page #pfpc-archive-pagination .page-numbers {
    border-color: color-mix(in srgb, var(--pfpc-user-accent) 60%, #333333) !important;
    color: var(--pfpc-user-accent-soft) !important;
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page #pfpc-archive-pagination .page-numbers.dots {
    border-color: color-mix(in srgb, var(--pfpc-user-accent) 45%, #333333) !important;
    color: var(--pfpc-user-accent-soft) !important;
}

html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page #pfpc-archive-pagination .page-numbers.current,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page #pfpc-archive-pagination a.page-numbers:hover,
html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page #pfpc-archive-pagination a.page-numbers:focus-visible {
    border-color: var(--pfpc-user-accent) !important;
    background: var(--pfpc-user-accent) !important;
    color: #ffffff !important;
    box-shadow: 0 5px 14px color-mix(in srgb, var(--pfpc-user-accent) 30%, transparent);
}

/* Hover/focus de los accesos del encabezado: el mismo color que Buscar. */
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-accent-toggle:hover,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-accent-toggle:focus-visible,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-accent-toggle[aria-expanded="true"],
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-language-toggle:hover,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-language-toggle:focus-visible,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-language-toggle[aria-expanded="true"],
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-account-button:hover,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-account-button:focus-visible,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-theme-toggle:hover,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-theme-toggle:focus-visible,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-accent-toggle:hover,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-accent-toggle:focus-visible,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-accent-toggle[aria-expanded="true"],
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-language-toggle:hover,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-language-toggle:focus-visible,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-language-toggle[aria-expanded="true"],
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-account-button:hover,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-account-button:focus-visible,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-theme-toggle:hover,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-theme-toggle:focus-visible {
    color: var(--pfpc-user-accent) !important;
}

html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-accent-toggle:hover small,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-accent-toggle:focus-visible small,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-language-toggle:hover small,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-language-toggle:focus-visible small,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-language-toggle[aria-expanded="true"] small,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-account-button:hover small,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-account-button:focus-visible small,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-theme-toggle:hover small,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-theme-toggle:focus-visible small,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-accent-toggle:hover small,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-accent-toggle:focus-visible small,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-language-toggle:hover small,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-language-toggle:focus-visible small,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-language-toggle[aria-expanded="true"] small,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-account-button:hover small,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-account-button:focus-visible small,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-theme-toggle:hover small,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-theme-toggle:focus-visible small {
    color: var(--pfpc-user-accent) !important;
}

html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-accent-toggle:hover .pfpc-accent-icon,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-accent-toggle:focus-visible .pfpc-accent-icon,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-language-toggle:hover .pfpc-language-icon,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-language-toggle:focus-visible .pfpc-language-icon,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-language-toggle[aria-expanded="true"] .pfpc-language-icon,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-account-button:hover .pfpc-account-icon,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-account-button:focus-visible .pfpc-account-icon,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-accent-toggle:hover .pfpc-accent-icon,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-accent-toggle:focus-visible .pfpc-accent-icon,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-language-toggle:hover .pfpc-language-icon,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-language-toggle:focus-visible .pfpc-language-icon,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-language-toggle[aria-expanded="true"] .pfpc-language-icon,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-account-button:hover .pfpc-account-icon,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-account-button:focus-visible .pfpc-account-icon {
    color: var(--pfpc-user-accent) !important;
}

/* Evita que el hover global de GeneratePress dibuje un cuadro blanco en los
 * botones de acciones del encabezado. */
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-accent-toggle,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-language-toggle,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-account-button,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-theme-toggle,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-accent-toggle:hover,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-language-toggle:hover,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-account-button:hover,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-theme-toggle:hover,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-accent-toggle,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-language-toggle,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-account-button,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-theme-toggle,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-accent-toggle:hover,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-language-toggle:hover,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-account-button:hover,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-theme-toggle:hover {
    background: transparent !important;
}

html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-account-icon,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-account-icon {
    color: var(--pfpc-user-accent) !important;
}

html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-theme-toggle:hover svg,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-theme-toggle:focus-visible svg,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-theme-toggle:hover svg,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-theme-toggle:focus-visible svg {
    stroke: currentColor !important;
}

html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-theme-toggle:hover .pfpc-theme-icon--moon,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-theme-toggle:focus-visible .pfpc-theme-icon--moon,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-theme-toggle:hover .pfpc-theme-icon--moon,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-theme-toggle:focus-visible .pfpc-theme-icon--moon {
    fill: currentColor !important;
    stroke: none !important;
}

html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-theme-toggle .pfpc-theme-icon,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-theme-toggle .pfpc-theme-icon {
    color: var(--pfpc-user-accent) !important;
}

html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-theme-toggle .pfpc-theme-icon--sun,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-theme-toggle .pfpc-theme-icon--sun {
    stroke: var(--pfpc-user-accent) !important;
}

html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-theme-toggle .pfpc-theme-icon--moon,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-theme-toggle .pfpc-theme-icon--moon {
    fill: var(--pfpc-user-accent) !important;
    stroke: none !important;
}

/* El botón Tema no debe conservar el contorno de foco después de cambiar de piel. */
body.pfpc-desktop-chrome .pfpc-theme-toggle:focus,
body.pfpc-home-v2 .pfpc-theme-toggle:focus {
    outline: 0 !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* Evita que un acento muy oscuro haga desaparecer las acciones del encabezado. */
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-account-button,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-account-button,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-theme-toggle,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-theme-toggle {
    color: #ffffff !important;
}

html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-account-button small,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-account-button small,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-theme-toggle small,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-theme-toggle small,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-account-icon,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-account-icon,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-theme-toggle .pfpc-theme-icon,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-theme-toggle .pfpc-theme-icon {
    color: #ffffff !important;
}

html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-theme-toggle .pfpc-theme-icon--sun,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-theme-toggle .pfpc-theme-icon--sun {
    stroke: #ffffff !important;
}

html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-theme-toggle .pfpc-theme-icon--moon,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-theme-toggle .pfpc-theme-icon--moon {
    fill: #ffffff !important;
    stroke: none !important;
}

html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-account-button:hover,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-account-button:hover,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-theme-toggle:hover,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-theme-toggle:hover {
    color: var(--pfpc-user-accent) !important;
}

html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-account-button:hover small,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-account-button:hover small,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-theme-toggle:hover small,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-theme-toggle:hover small,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-account-button:hover .pfpc-account-icon,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-account-button:hover .pfpc-account-icon,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-theme-toggle:hover .pfpc-theme-icon,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-theme-toggle:hover .pfpc-theme-icon {
    color: var(--pfpc-user-accent) !important;
}

html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-theme-toggle:hover .pfpc-theme-icon--sun,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-theme-toggle:hover .pfpc-theme-icon--sun {
    stroke: var(--pfpc-user-accent) !important;
}

html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-theme-toggle:hover .pfpc-theme-icon--moon,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-theme-toggle:hover .pfpc-theme-icon--moon {
    fill: var(--pfpc-user-accent) !important;
    stroke: none !important;
}

/* Los controles usan una variante visible cuando el acento personalizado es
 * demasiado oscuro para colocarse sobre el encabezado negro. */
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-search button,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-search button,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-brand-badge,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-brand-badge {
    background: var(--pfpc-user-accent-control, var(--pfpc-user-accent)) !important;
}

html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-accent-toggle:hover,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-accent-toggle:focus-visible,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-accent-toggle[aria-expanded="true"],
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-language-toggle:hover,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-language-toggle:focus-visible,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-language-toggle[aria-expanded="true"],
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-account-button:hover,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-theme-toggle:hover,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-accent-toggle:hover,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-accent-toggle:focus-visible,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-accent-toggle[aria-expanded="true"],
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-language-toggle:hover,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-language-toggle:focus-visible,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-language-toggle[aria-expanded="true"],
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-account-button:hover,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-theme-toggle:hover {
    color: var(--pfpc-user-accent-control, var(--pfpc-user-accent)) !important;
}

html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-accent-toggle:hover small,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-accent-toggle:focus-visible small,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-language-toggle:hover small,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-language-toggle:focus-visible small,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-language-toggle[aria-expanded="true"] small,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-account-button:hover small,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-theme-toggle:hover small,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-accent-toggle:hover small,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-accent-toggle:focus-visible small,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-language-toggle:hover small,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-language-toggle:focus-visible small,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-language-toggle[aria-expanded="true"] small,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-account-button:hover small,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-theme-toggle:hover small,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-accent-toggle:hover .pfpc-accent-icon,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-accent-toggle:focus-visible .pfpc-accent-icon,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-language-toggle:hover .pfpc-language-icon,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-language-toggle:focus-visible .pfpc-language-icon,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-language-toggle[aria-expanded="true"] .pfpc-language-icon,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-account-button:hover .pfpc-account-icon,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-theme-toggle:hover .pfpc-theme-icon,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-accent-toggle:hover .pfpc-accent-icon,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-accent-toggle:focus-visible .pfpc-accent-icon,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-language-toggle:hover .pfpc-language-icon,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-language-toggle:focus-visible .pfpc-language-icon,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-language-toggle[aria-expanded="true"] .pfpc-language-icon,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-account-button:hover .pfpc-account-icon,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-theme-toggle:hover .pfpc-theme-icon {
    color: var(--pfpc-user-accent-control, var(--pfpc-user-accent)) !important;
}

html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-theme-toggle:hover .pfpc-theme-icon--sun,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-theme-toggle:hover .pfpc-theme-icon--sun {
    stroke: var(--pfpc-user-accent-control, var(--pfpc-user-accent)) !important;
}

html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-theme-toggle:hover .pfpc-theme-icon--moon,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-theme-toggle:hover .pfpc-theme-icon--moon {
    fill: var(--pfpc-user-accent-control, var(--pfpc-user-accent)) !important;
    stroke: none !important;
}

/* En el tema blanco, los textos de los botones de descarga siempre deben
 * conservar contraste blanco sobre sus fondos azul/verde/amarillo. */
html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes .myButton,
html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes .botonesads a,
html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes .dbutton a,
html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .pl_contenido a.btn.blue,
html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .pl_contenido a.btn.green,
html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .pl_contenido a.btn.yellow,
html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes a.btn.blue,
html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes a.btn.green,
html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes a.btn.yellow,
html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes .myButton:hover,
html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes .botonesads a:hover,
html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes .dbutton a:hover {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes .myButton *,
html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes .botonesads a *,
html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .plan_cont_partes .dbutton a *,
html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 a.btn.blue *,
html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 a.btn.green *,
html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 a.btn.yellow * {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-category-hub__item:hover,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-category-hub__item:focus-visible,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-category-hub__links > li > a:hover,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-category-hub__links > li > a:focus-visible {
    background: linear-gradient(
        color-mix(in srgb, var(--pfpc-user-accent) 62%, #111111),
        color-mix(in srgb, var(--pfpc-user-accent) 36%, #050505)
    ) !important;
    border-color: var(--pfpc-user-accent-soft) !important;
    color: #ffffff !important;
    outline: 0;
}

/* Los beneficios del hero son indicadores informativos, no botones. */
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-hero-benefits {
    border-color: color-mix(in srgb, var(--pfpc-user-accent) 34%, transparent) !important;
    background: color-mix(in srgb, var(--pfpc-user-accent) 12%, #141414) !important;
    box-shadow: none !important;
    cursor: default;
}

html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-hero-benefits span + span {
    border-left-color: color-mix(in srgb, var(--pfpc-user-accent) 34%, transparent) !important;
}

/* Neutralizar los matices rosados del hero en ambos temas. */
html[data-pfpc-accent] body.pfpc-home-v2 #page .pfpc-welcome .pfpc-eyebrow,
html[data-pfpc-accent] body.pfpc-home-v2 #page .pfpc-stats .pfpc-eyebrow,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-welcome-copy > p:not(.pfpc-eyebrow),
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-stat-icon {
    color: #ffffff !important;
}

/* Igualar la caja del icono de idioma con las demás acciones del encabezado. */
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-language-icon,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-language-icon {
    width: 22px;
    height: 22px;
}

html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-language-icon svg,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-language-icon svg {
    width: 22px;
    height: 22px;
}

/* Light home: a subtle shadow keeps the white widgets visible on the page. */
@media (min-width: 769px) {
    html.pfpc-light-mode body.pfpc-home-v2 {
        background: #e7e7e8 !important;
    }

    html.pfpc-light-mode body.pfpc-home-v2 #page .pfpc-panel,
    html.pfpc-light-mode body.pfpc-home-v2 #page .actualizad,
    html.pfpc-light-mode body.pfpc-home-v2 #page .pfpc-existing-content > .mg_abajo,
    html.pfpc-light-mode body.pfpc-home-v2 #page .pfpc-side-column .widget,
    html.pfpc-light-mode body.pfpc-home-v2 #page .top-categorias-widget {
        border-color: transparent !important;
        border-top-color: var(--pfpc-user-accent) !important;
        box-shadow: 0 3px 12px rgba(31, 31, 38, .10) !important;
    }
}

/* Any selected accent follows the same light top-line treatment. */
@media (min-width: 769px) {
    body.pfpc-home-v2 #page .pfpc-panel,
    body.pfpc-home-v2 #page .actualizad,
    body.pfpc-home-v2 #page .pfpc-existing-content > .mg_abajo,
    body.pfpc-home-v2 #page .pfpc-side-column .widget,
    body.pfpc-home-v2 #page .top-categorias-widget,
    html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 #page .pfpc-panel,
    html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 #page .actualizad,
    html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 #page .pfpc-existing-content > .mg_abajo,
    html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 #page .pfpc-side-column .widget,
    html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-home-v2 #page .top-categorias-widget {
        border-color: transparent !important;
        border-top-color: var(--pfpc-user-accent) !important;
    }
}

/* Category and tag archives use the same single top accent line. */
@media (min-width: 769px) {
    body.pfpc-desktop-chrome #page .pfpc-archive-intro,
    body.pfpc-desktop-chrome #page .pfpc-archive-filters,
    body.pfpc-desktop-chrome #page .pfpc-archive-filters > .pfpc-archive-filter-group,
    body.pfpc-desktop-chrome #page .pfpc-archive-intro__count,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .pfpc-archive-intro,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .pfpc-archive-filters,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .pfpc-archive-filters > .pfpc-archive-filter-group,
    html.pfpc-light-mode body.pfpc-desktop-chrome #page .pfpc-archive-intro__count,
    html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .pfpc-archive-intro,
    html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .pfpc-archive-filters,
    html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .pfpc-archive-filters > .pfpc-archive-filter-group,
    html[data-pfpc-accent]:not([data-pfpc-accent="#8e0202"]) body.pfpc-desktop-chrome #page .pfpc-archive-intro__count {
        border-color: transparent !important;
        border-top-color: var(--pfpc-user-accent) !important;
    }
}

/* El widget de redes conserva sus colores propios, independiente del acento elegido. */
body.pfpc-home-v2 #page .social-widget .social-item,
body.pfpc-desktop-chrome #page .widget-area .social-widget .social-item,
html[data-pfpc-accent] body.pfpc-home-v2 #page .social-widget .social-item,
html[data-pfpc-accent] body.pfpc-desktop-chrome #page .widget-area .social-widget .social-item {
    color: #333333 !important;
}

body.pfpc-home-v2 #page .social-widget .icon,
body.pfpc-desktop-chrome #page .widget-area .social-widget .icon,
html[data-pfpc-accent] body.pfpc-home-v2 #page .social-widget .icon,
html[data-pfpc-accent] body.pfpc-desktop-chrome #page .widget-area .social-widget .icon {
    border-color: #e5e7eb !important;
}

body.pfpc-home-v2 #page .social-widget .icon.facebook,
body.pfpc-desktop-chrome #page .widget-area .social-widget .icon.facebook,
html[data-pfpc-accent] body.pfpc-home-v2 #page .social-widget .icon.facebook,
html[data-pfpc-accent] body.pfpc-desktop-chrome #page .widget-area .social-widget .icon.facebook {
    color: #1877f2 !important;
}

body.pfpc-home-v2 #page .social-widget .icon.telegram,
body.pfpc-desktop-chrome #page .widget-area .social-widget .icon.telegram,
html[data-pfpc-accent] body.pfpc-home-v2 #page .social-widget .icon.telegram,
html[data-pfpc-accent] body.pfpc-desktop-chrome #page .widget-area .social-widget .icon.telegram {
    color: #0088cc !important;
}

body.pfpc-home-v2 #page .social-widget .icon.youtube,
body.pfpc-desktop-chrome #page .widget-area .social-widget .icon.youtube,
html[data-pfpc-accent] body.pfpc-home-v2 #page .social-widget .icon.youtube,
html[data-pfpc-accent] body.pfpc-desktop-chrome #page .widget-area .social-widget .icon.youtube {
    color: #ff0000 !important;
}

body.pfpc-home-v2 #page .social-widget .icon.x,
body.pfpc-desktop-chrome #page .widget-area .social-widget .icon.x,
html[data-pfpc-accent] body.pfpc-home-v2 #page .social-widget .icon.x,
html[data-pfpc-accent] body.pfpc-desktop-chrome #page .widget-area .social-widget .icon.x {
    color: #000000 !important;
}

body.pfpc-home-v2 #page .social-widget .icon svg,
body.pfpc-desktop-chrome #page .widget-area .social-widget .icon svg,
html[data-pfpc-accent] body.pfpc-home-v2 #page .social-widget .icon svg,
html[data-pfpc-accent] body.pfpc-desktop-chrome #page .widget-area .social-widget .icon svg {
    fill: currentColor !important;
}

body.pfpc-home-v2 #page .social-widget .social-item:hover .icon.facebook,
body.pfpc-desktop-chrome #page .widget-area .social-widget .social-item:hover .icon.facebook {
    border-color: #1877f2 !important;
}

body.pfpc-home-v2 #page .social-widget .social-item:hover .icon.telegram,
body.pfpc-desktop-chrome #page .widget-area .social-widget .social-item:hover .icon.telegram {
    border-color: #0088cc !important;
}

body.pfpc-home-v2 #page .social-widget .social-item:hover .icon.youtube,
body.pfpc-desktop-chrome #page .widget-area .social-widget .social-item:hover .icon.youtube {
    border-color: #ff0000 !important;
}

body.pfpc-home-v2 #page .social-widget .social-item:hover .icon.x,
body.pfpc-desktop-chrome #page .widget-area .social-widget .social-item:hover .icon.x {
    border-color: #000000 !important;
}

/* El subtitulo del banner de colecciones debe conservar contraste en la piel blanca. */
html.pfpc-light-mode body.pfpc-desktop-chrome #page .plantilla_5 .dvc-banner-content p {
    color: rgba(255, 255, 255, .9) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, .9) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
}

/* Ritmo vertical uniforme entre los bloques principales de la home. */
@media (min-width: 769px) {
    body.pfpc-home-v2 {
        --pfpc-home-section-gap: 12px;
    }

    body.pfpc-home-v2 #content {
        margin-top: var(--pfpc-home-section-gap);
        margin-bottom: var(--pfpc-home-section-gap);
    }

    body.pfpc-home-v2 .pfpc-category-hub {
        margin-top: var(--pfpc-home-section-gap);
        margin-bottom: var(--pfpc-home-section-gap);
    }

    body.pfpc-home-v2 .pfpc-top-grid,
    body.pfpc-home-v2 .pfpc-columns {
        gap: var(--pfpc-home-section-gap);
    }

    body.pfpc-home-v2 .pfpc-panel,
    body.pfpc-home-v2 .actualizad,
    body.pfpc-home-v2 .pfpc-existing-content > .mg_abajo,
    body.pfpc-home-v2 #page .pfpc-side-column .widget,
    body.pfpc-home-v2 #page .top-categorias-widget {
        margin-bottom: var(--pfpc-home-section-gap) !important;
    }
}

/* Los globos de tarjetas siguen el acento elegido en archivos, categorías y etiquetas. */
@media (min-width: 769px) {
    body.pfpc-desktop-chrome.archive.style_contenedores .card_hover_overlay.tooltip-bubble,
    body.pfpc-desktop-chrome.category.style_contenedores .card_hover_overlay.tooltip-bubble,
    body.pfpc-desktop-chrome.tag.style_contenedores .card_hover_overlay.tooltip-bubble,
    body.pfpc-desktop-chrome.style_contenedores .card_hover_overlay.tooltip-bubble {
        border-color: var(--pfpc-user-accent, #8e0202) !important;
    }

    body.pfpc-desktop-chrome.archive.style_contenedores .card_hover_overlay.tooltip-bubble::after,
    body.pfpc-desktop-chrome.category.style_contenedores .card_hover_overlay.tooltip-bubble::after,
    body.pfpc-desktop-chrome.tag.style_contenedores .card_hover_overlay.tooltip-bubble::after,
    body.pfpc-desktop-chrome.style_contenedores .card_hover_overlay.tooltip-bubble::after {
        border-right-color: var(--pfpc-user-accent, #8e0202) !important;
    }

    body.pfpc-desktop-chrome.archive.style_contenedores .card_hover_overlay.tooltip-bubble .card_hover_titulo,
    body.pfpc-desktop-chrome.category.style_contenedores .card_hover_overlay.tooltip-bubble .card_hover_titulo,
    body.pfpc-desktop-chrome.tag.style_contenedores .card_hover_overlay.tooltip-bubble .card_hover_titulo,
    body.pfpc-desktop-chrome.style_contenedores .card_hover_overlay.tooltip-bubble .card_hover_titulo {
        color: var(--pfpc-user-accent, #8e0202) !important;
    }
}




/* Contraste automático: el acento se conserva y solo cambia el texto que se
 * coloca directamente sobre una superficie con ese color. */
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-search button,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-search button,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-brand-badge,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-brand-badge,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-cta,
html[data-pfpc-accent] body.pfpc-desktop-chrome #page .pfpc-archive-filters .pfpc-filter-submit,
html[data-pfpc-accent] body.pfpc-desktop-chrome #page .pfpc-archive-filters .pfpc-filter-submit:hover,
html[data-pfpc-accent] body.pfpc-desktop-chrome #page .pfpc-archive-filters .pfpc-filter-submit:focus-visible {
    color: var(--pfpc-user-accent-contrast, #ffffff) !important;
    -webkit-text-fill-color: var(--pfpc-user-accent-contrast, #ffffff) !important;
}

html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-search button,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-search button,
html[data-pfpc-accent] body.pfpc-desktop-chrome #page .pfpc-archive-filters .pfpc-filter-submit,
html[data-pfpc-accent] body.pfpc-desktop-chrome #page .pfpc-archive-filters .pfpc-filter-submit:hover,
html[data-pfpc-accent] body.pfpc-desktop-chrome #page .pfpc-archive-filters .pfpc-filter-submit:focus-visible {
    border-color: color-mix(in srgb, var(--pfpc-user-accent-contrast, #ffffff) 28%, var(--pfpc-user-accent)) !important;
}

html[data-pfpc-accent] body.pfpc-desktop-chrome #page #pfpc-archive-pagination .page-numbers.current,
html[data-pfpc-accent] body.pfpc-desktop-chrome #page #pfpc-archive-pagination a.page-numbers:hover,
html[data-pfpc-accent] body.pfpc-desktop-chrome #page #pfpc-archive-pagination a.page-numbers:focus-visible {
    border-color: color-mix(in srgb, var(--pfpc-user-accent-contrast, #ffffff) 35%, var(--pfpc-user-accent)) !important;
    color: var(--pfpc-user-accent-contrast, #ffffff) !important;
    -webkit-text-fill-color: var(--pfpc-user-accent-contrast, #ffffff) !important;
}

/* En superficies claras, los enlaces y etiquetas usan el contraste calculado
 * para que un acento blanco no produzca texto blanco sobre blanco. */
html.pfpc-light-mode[data-pfpc-accent] body.pfpc-home-v2 #page .pfpc-existing-content a,
html.pfpc-light-mode[data-pfpc-accent] body.pfpc-home-v2 #page .pfpc-side-column .widget:not(:has(> .social-widget)) a,
html.pfpc-light-mode[data-pfpc-accent] body.pfpc-home-v2 #page .top-categorias-widget .enlace-categoria,
html.pfpc-light-mode[data-pfpc-accent] body.pfpc-home-v2 #page .actualizad .menu-windows,
html.pfpc-light-mode[data-pfpc-accent] body.pfpc-home-v2 .pfpc-scroll-buttons button,
html.pfpc-light-mode[data-pfpc-accent] body.pfpc-home-v2 .pfpc-dot,
html.pfpc-light-mode[data-pfpc-accent] body.pfpc-desktop-chrome #page .pfpc-archive-filters .pfpc-archive-filter-group > label,
html.pfpc-light-mode[data-pfpc-accent] body.pfpc-desktop-chrome #page #pfpc-archive-pagination .page-numbers {
    color: var(--pfpc-user-accent-light-text, #8e0202) !important;
}

/* Widgets sociales de los posts: misma tarjeta que la Home en modo nocturno. */
@media (min-width: 769px) {
    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .widget-area .widget:has(> .social-widget) {
        padding: 16px !important;
        background: #161616 !important;
        border-color: var(--pfpc-user-accent, #8e0202) !important;
        color: #f1eeee !important;
    }

    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .widget-area .social-widget {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 5px;
        margin: 0;
        padding: 4px 0;
        background: transparent !important;
    }

    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .widget-area .social-widget .social-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 0;
        gap: 7px;
        color: #f1eeee !important;
        font-size: 10px;
        text-decoration: none;
    }

    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .widget-area .social-widget .icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: 1px solid var(--pfpc-user-accent, #8e0202) !important;
        border-radius: 10px;
        background: rgba(255, 255, 255, .06) !important;
        color: #ffffff !important;
    }

    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .widget-area .social-widget .icon svg {
        width: 20px;
        height: 20px;
        fill: currentColor !important;
    }

    html:not(.pfpc-light-mode) body.pfpc-desktop-chrome #page .widget-area .social-widget .icon.x {
        color: #ffffff !important;
    }
}

/* En la Home clara el widget social conserva sus colores propios y no hereda
 * el acento seleccionado por el usuario. */
@media (min-width: 769px) {
    html.pfpc-light-mode body.pfpc-home-v2 #page .pfpc-side-column .widget:has(> .social-widget) {
        border-color: #e5e7eb !important;
    }

    html.pfpc-light-mode body.pfpc-home-v2 #page .social-widget .social-item {
        color: #333333 !important;
        -webkit-text-fill-color: #333333 !important;
    }

    html.pfpc-light-mode body.pfpc-home-v2 #page .social-widget .social-item .label {
        color: #333333 !important;
        -webkit-text-fill-color: #333333 !important;
    }

    html.pfpc-light-mode body.pfpc-home-v2 #page .social-widget .icon {
        border-color: #e5e7eb !important;
        background: #ffffff !important;
    }

    html.pfpc-light-mode body.pfpc-home-v2 #page .social-widget .icon.facebook {
        color: #1877f2 !important;
    }

    html.pfpc-light-mode body.pfpc-home-v2 #page .social-widget .icon.telegram {
        color: #0088cc !important;
    }

    html.pfpc-light-mode body.pfpc-home-v2 #page .social-widget .icon.youtube {
        color: #ff0000 !important;
    }

    html.pfpc-light-mode body.pfpc-home-v2 #page .social-widget .icon.x {
        color: #000000 !important;
    }

    html.pfpc-light-mode body.pfpc-home-v2 #page .social-widget .icon svg {
        fill: currentColor !important;
    }

    html.pfpc-light-mode body.pfpc-home-v2 #page .social-widget .social-item:hover .icon.facebook {
        border-color: #1877f2 !important;
    }

    html.pfpc-light-mode body.pfpc-home-v2 #page .social-widget .social-item:hover .icon.telegram {
        border-color: #0088cc !important;
    }

    html.pfpc-light-mode body.pfpc-home-v2 #page .social-widget .social-item:hover .icon.youtube {
        border-color: #ff0000 !important;
    }

    html.pfpc-light-mode body.pfpc-home-v2 #page .social-widget .social-item:hover .icon.x {
        border-color: #000000 !important;
    }
}

/* El texto de los controles del encabezado permanece blanco sobre cualquier
 * acento visible. */
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-search button,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-search button,
html[data-pfpc-accent] body.pfpc-desktop-chrome .pfpc-brand-badge,
html[data-pfpc-accent] body.pfpc-home-v2 .pfpc-brand-badge {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Solo la línea inferior del título de Contenido relacionado sigue el acento. */
html[data-pfpc-accent] body.pfpc-desktop-chrome #page .widget-area .widget .widget-contenido-relacionado h2,
html[data-pfpc-accent] body.pfpc-desktop-chrome #page .widget-contenido-relacionado h2 {
    border-bottom-color: var(--pfpc-user-accent, #8e0202) !important;
}

/* El icono de Modo conserva su mitad blanca en todas las pieles y estados. */
html body.pfpc-desktop-chrome .pfpc-header-actions .pfpc-theme-toggle .pfpc-theme-control-icon svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
    fill: none;
}

html body.pfpc-desktop-chrome .pfpc-header-actions .pfpc-theme-toggle .pfpc-theme-control-half {
    fill: #ffffff !important;
    stroke: none !important;
}

/* Buscador único para Home, posts, categorías y resultados. */
@media (min-width: 769px) {
    /* Icono y etiqueta ocupan los mismos 48px de alto que el buscador. */
    body.pfpc-desktop-chrome .pfpc-header-actions :is(.pfpc-accent-toggle, .pfpc-language-toggle, .pfpc-account-button, .pfpc-theme-toggle) {
        height: 48px;
        min-height: 48px;
        padding: 0;
        gap: 0;
        box-sizing: border-box;
    }

    body.pfpc-desktop-chrome .pfpc-header-actions :is(.pfpc-accent-icon, .pfpc-language-icon, .pfpc-account-icon, .pfpc-theme-control-icon) {
        display: flex;
        width: 32px;
        height: 32px;
        flex: 0 0 32px;
        align-items: center;
        justify-content: center;
    }

    body.pfpc-desktop-chrome .pfpc-header-actions :is(.pfpc-accent-icon, .pfpc-language-icon, .pfpc-account-icon, .pfpc-theme-control-icon) svg {
        display: block;
        width: 32px;
        height: 32px;
    }

    body.pfpc-desktop-chrome .pfpc-header-actions :is(.pfpc-accent-toggle, .pfpc-language-toggle, .pfpc-account-button, .pfpc-theme-toggle) > small {
        margin-top: 4px;
        font-size: 11px;
        line-height: 12px;
        white-space: nowrap;
    }

    body.pfpc-desktop-chrome .pfpc-search {
        width: min(100%, 640px) !important;
        max-width: 640px !important;
        height: 48px !important;
        box-sizing: border-box;
    }

    body.pfpc-desktop-chrome .pfpc-search input,
    body.pfpc-desktop-chrome .pfpc-search button {
        height: 48px !important;
        box-sizing: border-box;
    }

    body.pfpc-desktop-chrome .pfpc-search-suggestions {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Original siempre conserva el fondo exterior negro, incluso al reutilizar
 * las reglas visuales de la piel Clara. */
@media (min-width: 769px) {
    html.pfpc-original-mode,
    html.pfpc-original-mode body.pfpc-desktop-chrome,
    html.pfpc-original-mode body.pfpc-home-v2 {
        background: #000000 !important;
    }

    html.pfpc-original-mode body.pfpc-desktop-chrome #page,
    html.pfpc-original-mode body.pfpc-home-v2 #page {
        background: transparent !important;
    }

    /* Las barras de título cubren el borde interno blanco de las tarjetas. */
    html.pfpc-original-mode body.pfpc-home-v2 #page .pfpc-panel-heading,
    html.pfpc-original-mode body.pfpc-home-v2 #page .actualizad > h2,
    html.pfpc-original-mode body.pfpc-home-v2 #page .wdg_titulo,
    html.pfpc-original-mode body.pfpc-home-v2 #page .pfpc-side-column .widget-title,
    html.pfpc-original-mode body.pfpc-home-v2 #page .top-categorias-widget .titulo-widget {
        width: calc(100% + 4px) !important;
        margin-left: -2px !important;
        margin-right: -2px !important;
        border-left: 1px solid var(--pfpc-user-accent, #8e0202) !important;
        border-right: 1px solid var(--pfpc-user-accent, #8e0202) !important;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

    html.pfpc-original-mode body.pfpc-home-v2 #page .pfpc-panel,
    html.pfpc-original-mode body.pfpc-home-v2 #page .actualizad,
    html.pfpc-original-mode body.pfpc-home-v2 #page .pfpc-existing-content > .mg_abajo,
    html.pfpc-original-mode body.pfpc-home-v2 #page .pfpc-side-column .widget,
    html.pfpc-original-mode body.pfpc-home-v2 #page .top-categorias-widget {
        background-clip: padding-box !important;
    }

}
