/*
Theme Name: Pluma Theme
Theme URI: https://plumamaestra.com/pluma-theme
Author: Pluma Maestra
Author URI: https://plumamaestra.com
Description: Theme profesional, moderno, rápido y optimizado desarrollado desde cero.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Privado
Text Domain: pluma
Tags: blog, e-commerce, gutenberg, responsive, accesibilidad, rendimiento
*/

/* =====================================================
   VARIABLES GLOBALES (LIGHT MODE)
   ===================================================== */
:root {
    --color-bg: #F3F4F8;
    --color-surface: #ffffff;
    --color-surface-2: #f8f8f8;
    --color-text: #181818;
    --color-muted: #666666;
    --color-border: rgba(0, 0, 0, 0.08);
    --color-primary: #2471a3;
    --color-link: #0183e4;
    --shadow-elevation: 0 8px 20px rgba(0, 0, 0, 0.10);
    --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* =====================================================
   RESET Y BASE
   ===================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 18px;
    color: #181818;
    background: #F3F4F8;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.pluma-diseno-normal {
    background: #ffffff;
}

a {
    color: #0183e4;
    text-decoration: none;
}

a:hover {
    color: #0183e4;
    opacity: .8;
}

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

button {
    cursor: pointer;
    font-family: inherit;
}

h1 {
    font-size: 38px;
    font-weight: 400;
    line-height: 1.3;
    color: #181818;
}

h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.3;
    color: #181818;
}

h3 {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.3;
    color: #181818;
}

h4 {
    font-size: 23px;
    font-weight: 400;
    line-height: 1.3;
    color: #181818;
}

h5,
h6 {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    color: #181818;
}

p {
    font-size: 18px;
    color: #181818;
    line-height: 1.6;
    margin-bottom: 1rem;
}

@media (max-width: 480px) {
    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 24px;
    }
}

/* =====================================================
   TRANSICIONES GLOBALES
   ===================================================== */
.pluma-tarjeta-bucle .pluma-tarjeta-imagen,
.pluma-tarjeta-bucle a p,
.pluma-tarjeta-bucle img,
.pluma-imagen-destacada,
input,
textarea,
a {
    transition: all .2s;
}

/* =====================================================
   HEADER
   ===================================================== */
.pluma-barra-logo {
    background: #2471a3;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.pluma-barra-logo__contenido {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: calc(980px - 32px);
    margin: 0 auto;
    padding: 0 16px;
    min-height: 60px;
}

.pluma-cabecera {
    background: #2471a3;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 12px rgb(0 0 0 / 20%);
}

.pluma-cabecera--no-fijo {
    position: relative;
}

.pluma-cabecera__contenido {
    display: flex;
    align-items: center;
    max-width: calc(980px - 32px);
    margin: 0 auto;
    padding: 0 16px;
    min-height: 60px;
    gap: 12px;
}

/* Logo */
.pluma-logo a,
.pluma-nombre-sitio a {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
}

.pluma-logo img {
    max-width: 160px;
    width: 100%;
}

.pluma-logo a:hover,
.pluma-nombre-sitio a:hover {
    opacity: .85;
}

/* Buscador en header */
.pluma-busqueda-cabecera {
    position: relative;
    margin-left: 12px;
}

.pluma-busqueda-cabecera form {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    width: 200px;
}

.pluma-busqueda-cabecera input {
    border: none;
    outline: none;
    padding: 6px 10px;
    font-size: 14px;
    width: 100%;
    background: transparent;
    color: #484848;
    font-family: inherit;
}

.pluma-busqueda-cabecera input::placeholder {
    color: #999;
}

.pluma-busqueda-cabecera .pluma-btn-buscar {
    border: none;
    background: transparent;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    color: #484848;
}

.pluma-busqueda-cabecera .pluma-btn-buscar svg {
    width: 16px;
    height: 16px;
    stroke: #484848;
    fill: none;
}

/* Resultados autocomplete */
#pluma-resultados-busqueda {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    border-radius: 0 0 4px 4px;
    display: none;
}

#pluma-resultados-busqueda ul {
    padding: 0;
    margin: 0;
}

#pluma-resultados-busqueda li {
    border-bottom: 1px solid #f0f0f0;
}

#pluma-resultados-busqueda li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: #181818;
    font-size: 14px;
}

#pluma-resultados-busqueda li a:hover {
    background: #f5f5f5;
}

#pluma-resultados-busqueda li a img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
}

#pluma-ver-todos {
    display: none;
    padding: 8px 12px;
    border-top: 1px solid #eee;
}

.pluma-ver-todos-btn {
    display: block;
    text-align: center;
    font-size: 13px;
    color: #2471a3;
    font-weight: 500;
}

/* WooCommerce carrito en header */
.pluma-cabecera-wc {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.pluma-cabecera-wc a {
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
}

.pluma-cabecera-wc svg {
    stroke: #ffffff;
    fill: none;
    width: 22px;
    height: 22px;
}

/* =====================================================
   MENÚ DE NAVEGACIÓN
   ===================================================== */
#pluma-btn-menu {
    display: none;
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

#pluma-icono-nav {
    display: none;
    cursor: pointer;
    margin-left: auto;
    z-index: 1100;
    flex-shrink: 0;
}

.pluma-circulo-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: border-color .2s;
}

.pluma-circulo-nav:hover {
    border-color: #fff;
}

.pluma-linea-nav {
    display: block;
    width: 18px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all .3s;
    transform-origin: center;
}

/* Animación hamburguesa activo */
#pluma-btn-menu:checked~label .pluma-linea-nav.pluma-linea-top {
    transform: translateY(6px) rotate(45deg);
}

#pluma-btn-menu:checked~label .pluma-linea-nav.pluma-linea-medio {
    opacity: 0;
}

#pluma-btn-menu:checked~label .pluma-linea-nav.pluma-linea-bottom {
    transform: translateY(-6px) rotate(-45deg);
}

/* Redes sociales en desktop (widget) */
.pluma-sociales-desktop {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Nav principal */
#pluma-menu {
    margin-left: auto;
}

.pluma-menu-lista {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 2px;
}

.pluma-menu-lista>li>a {
    display: block;
    padding: 8px 14px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 300;
    text-decoration: none;
    border-radius: 4px;
    transition: background .2s;
    white-space: nowrap;
}

.pluma-menu-lista>li>a:hover,
.pluma-menu-lista>li.current-menu-item>a,
.pluma-menu-lista>li.current-menu-ancestor>a {
    background: rgba(255, 255, 255, .15);
    color: #ffffff;
    opacity: 1;
}

/* Indicador de submenú (caret) */
.pluma-menu-lista .menu-item-has-children>a::after {
    content: '';
    display: inline-block;
    margin-left: 6px;
    width: 6px;
    height: 6px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translateY(-2px);
    vertical-align: middle;
}

/* Submenú dropdown */
.pluma-menu-lista .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .12);
    border-radius: 4px;
    border: 1px solid #e8e8e8;
    display: none;
    z-index: 9999;
    padding: 4px 0;
}

.pluma-menu-lista li {
    position: relative;
}

.pluma-menu-lista li:hover>.sub-menu,
.pluma-menu-lista li:focus-within>.sub-menu {
    display: block;
}

.pluma-menu-lista .sub-menu a {
    display: block;
    padding: 9px 16px;
    color: #181818;
    font-size: 15px;
    white-space: nowrap;
    transition: background .15s;
}

.pluma-menu-lista .sub-menu a:hover {
    background: #f5f5f5;
    color: #2471a3;
}

/* Buscador en menú (responsive) */
.pluma-busqueda-responsiva {
    display: none;
    padding: 12px 16px;
}

.pluma-busqueda-responsiva form {
    display: flex;
    background: rgba(255, 255, 255, .15);
    border-radius: 4px;
    overflow: hidden;
}

.pluma-busqueda-responsiva input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    padding: 8px 12px;
    font-size: 15px;
    font-family: inherit;
}

.pluma-busqueda-responsiva input::placeholder {
    color: rgba(255, 255, 255, .7);
}

.pluma-busqueda-responsiva button {
    background: transparent;
    border: none;
    padding: 8px 12px;
    color: #fff;
}

/* Redes sociales en menú móvil */
.pluma-sociales-movil {
    display: none;
    padding: 12px 16px;
}

/* =====================================================
   OVERLAY (diseño flotante)
   ===================================================== */
#pluma-overlay-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 900;
}

/* =====================================================
   LAYOUT PRINCIPAL
   ===================================================== */
.pluma-bucle-contenido,
.pluma-contenido-single,
.pluma-contenido-pagina,
.pluma-contenido-busqueda {
    max-width: 980px;
    margin: 0 auto;
    padding: 20px 16px 30px;
}

.pluma-contenido-completo {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* Artículo con sidebar */
.pluma-contenido-estrecho {
    width: calc(95% - 300px);
    min-width: 0;
}

/* Artículo sin sidebar */
.pluma-articulo-completo {
    width: 100%;
}

/* Área de contenido (grid de posts) */
.pluma-area-contenido {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.pluma-area-contenido.pluma-columnas-1 {
    grid-template-columns: 1fr;
}

.pluma-area-contenido.pluma-columnas-2 {
    grid-template-columns: repeat(2, 1fr);
}

.pluma-area-contenido.pluma-columnas-3 {
    grid-template-columns: repeat(3, 1fr);
}

.pluma-area-contenido.pluma-columnas-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1050px) {
    .pluma-area-contenido {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .pluma-area-contenido {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   SIDEBAR
   ===================================================== */
.pluma-sidebar-principal {
    width: 300px;
    flex-shrink: 0;
}

.pluma-sidebar-principal .pluma-sticky {
    position: sticky;
    top: 70px;
}

.pluma-sidebar-principal .widget {
    margin-bottom: 24px;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}

.pluma-sidebar-principal .widget-title,
.pluma-sidebar-principal .sidebar-title {
    font-size: 19px;
    font-weight: 500;
    padding: 10px 14px;
    background: #f8f8f8;
    border-bottom: 1px solid #eee;
    margin: 0;
    color: #181818;
}

.pluma-sidebar-principal .widget>ul,
.pluma-sidebar-principal .widget ul {
    padding: 8px 0;
}

.pluma-sidebar-principal .widget li {
    border-bottom: 1px solid #f0f0f0;
}

.pluma-sidebar-principal .widget li a {
    display: block;
    padding: 8px 14px;
    color: #181818;
    font-size: 15px;
    transition: background .15s;
}

.pluma-sidebar-principal .widget li a:hover {
    background: #f5f5f5;
    color: #2471a3;
}

/* =====================================================
   TARJETAS DE ENTRADA (ARTICLE LOOP)
   ===================================================== */
.pluma-tarjeta-bucle {
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.pluma-tarjeta-bucle a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.pluma-tarjeta-bucle a:hover {
    opacity: 1;
}

/* Imagen de fondo (background-image) */
.pluma-tarjeta-contenido {
    position: relative;
    height: 196px;
    overflow: hidden;
}

.pluma-tarjeta-imagen {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #d8d8d8;
    transition: transform .2s;
}

.pluma-tarjeta-bucle:hover .pluma-tarjeta-imagen {
    transform: scale(1.05);
}

/* Imagen real (cuando no hay background-image) */
.pluma-tarjeta-bucle img {
    width: 100%;
    height: 196px;
    object-fit: cover;
    transition: transform .2s;
}

.pluma-tarjeta-bucle:hover img {
    transform: scale(1.05);
}

/* Caja de texto (box design) */
.pluma-caja-texto {
    padding: 10px 12px 14px;
}

.pluma-fecha-bucle {
    display: block;
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
}

.pluma-titulo-entrada {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.35;
    color: #181818;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pluma-extracto {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-top: 6px;
}

.pluma-extracto p {
    font-size: 14px;
    color: #555;
    margin: 0;
}

.pluma-leer-mas {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    color: #2471a3;
    font-weight: 500;
}

.pluma-leer-mas:hover {
    opacity: .8;
}

/* Badges */
.pluma-etiqueta-destacado,
.pluma-etiqueta-nuevo {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 2px;
    z-index: 5;
    line-height: 1.4;
}

.pluma-etiqueta-destacado {
    background: #e88330;
    color: #ffffff;
}

.pluma-etiqueta-nuevo {
    background: #e83030;
    color: #ffffff;
    left: auto;
    right: 10px;
}

/* Chip de categoría sobre la imagen */
.pluma-categoria-tarjeta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
}

.pluma-categoria-tarjeta>span {
    display: inline-block;
    background: #2471a3;
    color: #fff;
    font-size: 12px;
    padding: 3px 10px;
    font-weight: 400;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

/* Columnas del loop */
.pluma-columnas-1 {
    grid-column: span 1;
}

@media (min-width: 1050px) {

    .pluma-bucle-contenido .pluma-area-contenido.pluma-columnas-3 .pluma-tarjeta-bucle:first-child,
    .pluma-tarjeta-bucle.pluma-columnas-destacada {
        grid-column: span 2;
    }

    .pluma-tarjeta-bucle.pluma-columnas-destacada .pluma-tarjeta-contenido {
        height: 260px;
    }
}

/* Tarjeta destacada (featured) */
.pluma-tarjeta-destacada {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}

.pluma-tarjeta-destacada .pluma-imagen-destacada-tarjeta {
    position: relative;
    height: 220px;
    background-size: cover;
    background-position: center;
    background-color: #d8d8d8;
    overflow: hidden;
}

.pluma-tarjeta-destacada .pluma-imagen-destacada-tarjeta img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pluma-tarjeta-destacada__texto {
    padding: 10px 12px 14px;
}

.pluma-tarjeta-destacada__titulo {
    font-size: 18px;
    font-weight: 500;
    color: #181818;
    line-height: 1.35;
}

/* =====================================================
   ENCABEZADO DE PÁGINA (H1 + META)
   ===================================================== */
.pluma-encabezado-pagina {
    margin-bottom: 18px;
}

.pluma-encabezado-pagina h1 {
    font-size: 38px;
    color: #181818;
    margin-bottom: 8px;
}

.pluma-subtitulo-post {
    font-size: 16px;
    color: #666;
    margin-bottom: 6px;
}

.pluma-meta-articulo {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    color: #888;
    align-items: center;
    margin-bottom: 16px;
}

.pluma-meta-articulo a {
    color: #0183e4;
}

.pluma-meta-articulo .pluma-sep {
    opacity: .4;
}

/* =====================================================
   MIGAS DE PAN (BREADCRUMB)
   ===================================================== */
.pluma-miga-pan {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.pluma-miga-pan a {
    color: #888;
}

.pluma-miga-pan a:hover {
    color: #2471a3;
}

.pluma-miga-pan span.pluma-sep-miga {
    opacity: .5;
}

.pluma-miga-pan span.pluma-miga-actual {
    color: #555;
}

/* Migas al pie del contenido */
.pluma-pie-migas {
    max-width: 980px;
    margin: 10px auto 0;
    padding: 0 16px;
}

/* =====================================================
   HERO
   ===================================================== */
.pluma-hero {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.pluma-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(36, 113, 163, .7) 18%, rgba(0, 0, 0, .82) 100%);
}

.pluma-hero__contenido {
    position: relative;
    z-index: 1;
    max-width: calc(980px - 32px);
    margin: 0 auto;
    padding: 40px 16px;
}

.pluma-hero__contenido h1,
.pluma-hero__contenido p {
    color: #ffffff;
}

/* =====================================================
   POST INDIVIDUAL (SINGLE)
   ===================================================== */
.pluma-miniatura-post {
    margin-bottom: 20px;
}

.pluma-miniatura-post img {
    width: 100%;
    border-radius: 4px;
    height: auto;
}

.pluma-contenido-post {
    font-size: 18px;
    line-height: 1.7;
    color: #181818;
}

.pluma-contenido-post>*+* {
    margin-top: 1rem;
}

.pluma-contenido-post h2 {
    margin-top: 2rem;
    font-size: 32px;
}

.pluma-contenido-post h3 {
    margin-top: 1.5rem;
    font-size: 28px;
}

.pluma-contenido-post h4 {
    margin-top: 1.25rem;
    font-size: 23px;
}

.pluma-contenido-post ul,
.pluma-contenido-post ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.pluma-contenido-post ul {
    list-style: disc;
}

.pluma-contenido-post ol {
    list-style: decimal;
}

.pluma-contenido-post blockquote {
    border-left: 4px solid #2471a3;
    padding: 12px 20px;
    background: rgba(36, 113, 163, .06);
    margin: 1.5rem 0;
    font-style: italic;
    color: #555;
}

.pluma-contenido-post img {
    max-width: 100%;
    border-radius: 4px;
    height: auto;
}

.pluma-contenido-post a {
    color: #0183e4;
}

.pluma-contenido-post a:hover {
    opacity: .75;
}

.pluma-contenido-post pre {
    background: #1e1e1e;
    color: #f1f1f1;
    padding: 16px;
    border-radius: 4px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 15px;
}

.pluma-contenido-post code {
    background: #f0f0f0;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 15px;
    font-family: 'Courier New', monospace;
}

/* Caja de contenido (box design dentro del single) */
.pluma-caja-contenido {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    padding: 20px;
}

/* =====================================================
   TABLA DE CONTENIDOS (TOC)
   ===================================================== */
.pluma-toc {
    border: 1px solid #2471a3;
    border-top: 2px solid #2471a3;
    background: rgba(36, 113, 163, .07);
    border-radius: 4px;
    padding: 14px 16px;
    margin: 1.5rem 0;
}

.pluma-toc__cabecera {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.pluma-toc__titulo {
    font-size: 16px;
    font-weight: 500;
    color: #181818;
}

.pluma-toc__btn-toggle {
    background: none;
    border: none;
    font-size: 13px;
    color: #2471a3;
    cursor: pointer;
    font-family: inherit;
}

#pluma-indice-toc {
    padding-left: 16px;
    list-style: decimal;
}

#pluma-indice-toc li {
    margin-bottom: 4px;
}

#pluma-indice-toc a {
    font-size: 15px;
    color: #0183e4;
}

#pluma-indice-toc a:hover {
    opacity: .75;
}

#pluma-indice-toc .pluma-toc-h3 {
    padding-left: 14px;
    list-style: circle;
}

/* =====================================================
   ETIQUETAS DEL POST
   ===================================================== */
.pluma-etiquetas-post {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pluma-etiquetas-post a {
    border: 1px solid #0183e4;
    color: #0183e4;
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 13px;
    transition: all .15s;
}

.pluma-etiquetas-post a:hover {
    background: #0183e4;
    color: #fff;
    opacity: 1;
}

/* =====================================================
   BOTONES SOCIALES (ICONOS CIRCULARES)
   FIX: SVG solo usa stroke para iconos de línea,
   fill:none para que no se rellene el área interior
   ===================================================== */
.pluma-botones-sociales {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 16px 0;
}

.pluma-botones-sociales a,
.pluma-icono-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2471a3;
    color: #fff;
    transition: opacity .2s;
    text-decoration: none;
}

.pluma-botones-sociales a:hover {
    opacity: .8;
    color: #fff;
}

/* SVG dentro de botones sociales circulares:
   Son iconos de línea → fill:none, stroke:white */
.pluma-botones-sociales svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    display: block;
}

/* =====================================================
   BOTONES COMPARTIR (pluma-compartir)
   FIX: Separado fill/stroke correctamente según
   si el SVG es de línea (outline) o sólido (filled)
   ===================================================== */
.pluma-compartir {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.pluma-compartir__botones {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

/* Botón base */
.pluma-compartir__btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 8px 14px;
    min-height: 40px;
    min-width: 44px;
    box-sizing: border-box;
    background: #ffffff;
    color: #181818;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity .15s ease, transform .12s ease, box-shadow .18s ease;
    -webkit-tap-highlight-color: transparent;
    flex: 0 0 auto;
}

/* FIX: SVG de compartir — los iconos de redes son sólidos (filled logos)
   Usamos currentColor en fill y sin stroke para que se vean bien */
.pluma-compartir__btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: block;
    fill: currentColor;
    stroke: none;
}

/* Si el SVG tiene paths que deben ser de línea (stroke icons), usar esta clase */
.pluma-compartir__btn--stroke-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pluma-compartir__btn img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: block;
}

.pluma-compartir__btn span {
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
}

.pluma-compartir__btn:hover {
    opacity: .88;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .10);
}

.pluma-compartir__btn:active {
    transform: translateY(0);
    opacity: .95;
}

.pluma-compartir__btn:focus-visible {
    outline: 3px solid rgba(1, 131, 228, 0.25);
    outline-offset: 2px;
    border-color: #0183e4;
}

/* Icon-only helper */
.pluma-compartir__btn--icon {
    padding: 8px;
    min-width: 40px;
    justify-content: center;
}

/* Colores por red social — el color de la red se usa en el texto e icono */
.pluma-compartir__btn--facebook {
    color: #1877F2;
    border-color: rgba(24, 119, 242, .20);
}

.pluma-compartir__btn--facebook:hover {
    background: #1877F2;
    color: #ffffff;
    border-color: #1877F2;
    opacity: 1;
}

.pluma-compartir__btn--twitter {
    color: #000000;
    border-color: rgba(0, 0, 0, .15);
}

.pluma-compartir__btn--twitter:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
    opacity: 1;
}

.pluma-compartir__btn--whatsapp {
    color: #25D366;
    border-color: rgba(37, 211, 102, .20);
}

.pluma-compartir__btn--whatsapp:hover {
    background: #25D366;
    color: #ffffff;
    border-color: #25D366;
    opacity: 1;
}

.pluma-compartir__btn--linkedin {
    color: #0A66C2;
    border-color: rgba(10, 102, 194, .20);
}

.pluma-compartir__btn--linkedin:hover {
    background: #0A66C2;
    color: #ffffff;
    border-color: #0A66C2;
    opacity: 1;
}

.pluma-compartir__btn--telegram {
    color: #26A5E4;
    border-color: rgba(38, 165, 228, .20);
}

.pluma-compartir__btn--telegram:hover {
    background: #26A5E4;
    color: #ffffff;
    border-color: #26A5E4;
    opacity: 1;
}

.pluma-compartir__btn--copy {
    color: #555555;
    border-color: rgba(0, 0, 0, .12);
}

.pluma-compartir__btn--copy:hover {
    background: #555555;
    color: #ffffff;
    border-color: #555555;
    opacity: 1;
}

/* Mobile: botones circulares sin texto */
@media (max-width: 600px) {
    .pluma-compartir {
        gap: 8px;
    }

    .pluma-compartir__botones {
        gap: 8px;
    }

    .pluma-compartir__btn {
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        align-items: center;
    }

    .pluma-compartir__btn span {
        display: none;
    }

    .pluma-compartir__btn svg,
    .pluma-compartir__btn img {
        width: 20px;
        height: 20px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    .pluma-compartir__btn,
    .pluma-compartir__btn:hover,
    .pluma-compartir__btn:active {
        transition: none !important;
        transform: none !important;
    }
}

/* Botones sociales fijos (móvil) */
.pluma-sociales-fijos {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 800;
    background: #2471a3;
    padding: 8px 16px;
    justify-content: center;
    gap: 8px;
}

@media (max-width: 1050px) {
    .pluma-sociales-fijos {
        display: flex;
    }
}

/* =====================================================
   NAVEGACIÓN PREV / NEXT (SINGLE)
   ===================================================== */
.pluma-nav-single {
    display: flex;
    justify-content: space-between;
    margin: 24px 0;
    gap: 12px;
}

.pluma-nav-single a {
    font-size: 15px;
    color: #181818;
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 48%;
}

.pluma-nav-single a::before,
.pluma-nav-single a::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border: solid #2471a3;
    flex-shrink: 0;
}

.pluma-nav-anterior a::before {
    border-width: 0 0 2px 2px;
    transform: rotate(45deg);
}

.pluma-nav-siguiente a::after {
    border-width: 2px 2px 0 0;
    transform: rotate(45deg);
}

.pluma-nav-siguiente {
    margin-left: auto;
    text-align: right;
}

/* =====================================================
   AUTOR BOX
   ===================================================== */
.pluma-caja-autor {
    display: flex;
    gap: 16px;
    background: #fff;
    border-radius: 4px;
    padding: 20px;
    margin: 24px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
}

.pluma-caja-autor__avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.pluma-caja-autor__nombre {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #181818;
}

.pluma-caja-autor__bio {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
}

/* =====================================================
   ENTRADAS RELACIONADAS
   ===================================================== */
.pluma-relacionados {
    margin-top: 30px;
}

.pluma-relacionados h3 {
    font-size: 22px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #2471a3;
}

.pluma-relacionados .pluma-area-contenido .pluma-tarjeta-contenido {
    height: 120px;
}

/* =====================================================
   COMENTARIOS
   ===================================================== */
.pluma-area-comentarios {
    margin-top: 30px;
}

.pluma-area-comentarios>p {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.pluma-area-comentarios ol {
    padding: 0;
    list-style: none;
}

.pluma-area-comentarios li.comment {
    margin-bottom: 16px;
}

.pluma-area-comentarios .comment-body {
    background: #fff;
    border-radius: 4px;
    padding: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}

.pluma-area-comentarios .pluma-texto-comentario {
    margin-bottom: 10px;
}

.pluma-area-comentarios .reply a {
    display: inline-block;
    background: #2471a3;
    color: #fff;
    border: 2px solid #2471a3;
    padding: 4px 14px;
    border-radius: 3px;
    font-size: 13px;
    transition: background .15s;
}

.pluma-area-comentarios .reply a:hover {
    background: transparent;
    color: #2471a3;
}

/* Formulario de comentarios */
.comment-respond {
    margin-top: 24px;
}

.comment-respond p {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 16px;
}

#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"],
#commentform textarea {
    width: 100%;
    border: 2px solid #2471a3;
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 15px;
    font-family: inherit;
    font-weight: 300;
    margin-bottom: 10px;
    outline: none;
    transition: border-color .2s;
    background: #fff;
}

#commentform input:focus,
#commentform textarea:focus {
    border-color: #0183e4;
}

#commentform .submit {
    background: #2471a3;
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    font-weight: 400;
    cursor: pointer;
    transition: opacity .2s;
}

#commentform .submit:hover {
    opacity: .85;
}

/* =====================================================
   PAGINACIÓN
   ===================================================== */
.pluma-paginacion {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.pluma-paginacion a,
.pluma-paginacion span.current,
.pluma-paginacion span.dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 400;
}

.pluma-paginacion a {
    background: #2471a3;
    color: #fff;
    text-decoration: none;
    transition: opacity .2s;
}

.pluma-paginacion a:hover {
    opacity: .75;
    color: #fff;
}

.pluma-paginacion span.current {
    background: rgba(36, 113, 163, .2);
    color: #2471a3;
    font-weight: 600;
}

.pluma-paginacion span.dots {
    color: #888;
    min-width: auto;
}

/* Paginación de páginas múltiples dentro del post */
.pluma-paginacion-post {
    margin-top: 20px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.pluma-paginacion-post a,
.pluma-paginacion-post span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: #2471a3;
    color: #fff;
    font-size: 14px;
}

.pluma-paginacion-post span.pluma-pagina-actual {
    background: rgba(36, 113, 163, .2);
    color: #2471a3;
}

/* =====================================================
   404 Y SIN RESULTADOS
   ===================================================== */
.pluma-sin-resultados,
.pluma-p404 {
    text-align: center;
    padding: 50px 20px;
}

.pluma-p404 h1 {
    font-size: 80px;
    color: #e0e0e0;
    margin-bottom: 8px;
    font-weight: 700;
}

.pluma-p404 h2 {
    font-size: 26px;
    color: #555;
    margin-bottom: 16px;
}

.pluma-busqueda-home {
    max-width: 500px;
    margin: 16px auto;
    display: flex;
    gap: 8px;
}

.pluma-busqueda-home input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid #2471a3;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    outline: none;
}

.pluma-busqueda-home button {
    background: #2471a3;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
}

/* =====================================================
   BOTÓN "IR ARRIBA"
   ===================================================== */
.pluma-ir-arriba {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 800;
    background: #2471a3;
    color: #fff;
    padding: 8px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
    transition: opacity .2s;
    user-select: none;
}

.pluma-ir-arriba:hover {
    opacity: .85;
}

.pluma-ir-arriba.pluma-visible {
    display: flex;
}

.pluma-flecha-arriba {
    display: inline-block;
    width: 8px;
    height: 8px;
    border: solid #fff;
    border-width: 2px 2px 0 0;
    transform: rotate(-45deg) translateY(2px);
}

/* =====================================================
   FOOTER
   ===================================================== */

/* Franja de redes sociales */
.pluma-footer-social {
    background: rgba(36, 113, 163, .1);
    padding: 10px 0;
}

.pluma-footer-social .pluma-footer-social__contenido {
    max-width: calc(980px - 32px);
    margin: 0 auto;
    padding: 0 16px;
}

/* Footer principal */
footer.pluma-footer-principal {
    background: #2471a3;
    color: #fff;
}

.pluma-footer-contenido {
    max-width: calc(980px - 32px);
    margin: 0 auto;
}

/* Modo total (widgets en columnas) */
.pluma-footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    padding: 30px 16px 20px;
}

.pluma-footer-logo {
    margin-bottom: 20px;
}

.pluma-footer-logo img {
    max-width: 140px;
}

.pluma-footer-widgets .widget-title,
.pluma-footer-widgets .widget-area-titulo {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.pluma-footer-widgets .widget a {
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
}

.pluma-footer-widgets .widget a:hover {
    color: #fff;
    opacity: 1;
}

.pluma-footer-widgets .widget li {
    margin-bottom: 6px;
}

.pluma-footer-widgets .widget p {
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
}

/* Footer inferior (compacto) */
.pluma-footer-fondo {
    border-top: 1px solid rgba(255, 255, 255, .15);
    padding: 12px 16px;
    text-align: center;
}

.pluma-footer-fondo .widget-area li {
    display: inline;
    font-size: 14px;
    color: rgba(255, 255, 255, .8);
}

.pluma-footer-fondo .widget-area li::before {
    content: '|';
    color: #fff;
    opacity: .4;
    margin: 0 6px;
}

.pluma-footer-fondo .widget-area li:first-child::before {
    display: none;
}

.pluma-footer-fondo .widget-area a {
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
}

.pluma-footer-fondo .widget-area a:hover {
    color: #fff;
    opacity: 1;
}

.pluma-footer-fondo .widget-title {
    display: none;
}

.pluma-footer-fondo p {
    color: rgba(255, 255, 255, .75);
    font-size: 14px;
    margin: 0;
}

/* =====================================================
   COOKIES
   ===================================================== */
#pluma-cookies {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: rgba(20, 20, 20, .95);
    color: #fff;
    padding: 14px 20px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

#pluma-cookies.pluma-visible {
    display: flex;
}

#pluma-cookies p {
    margin: 0;
    font-size: 14px;
    color: #eee;
}

#pluma-cookies a {
    color: #80cbc4;
}

#pluma-cookies button {
    background: #2471a3;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    flex-shrink: 0;
}

/* =====================================================
   ACCESIBILIDAD
   ===================================================== */
.pluma-saltar {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 9999;
    background: #2471a3;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
}

.pluma-saltar:focus {
    left: 8px;
}

.pluma-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =====================================================
   ENCABEZADO DE ARCHIVO (CATEGORÍA / ETIQUETA)
   ===================================================== */
.pluma-encabezado-archivo {
    margin-bottom: 18px;
}

.pluma-encabezado-archivo h1 {
    font-size: 32px;
    margin-bottom: 8px;
}

.pluma-descripcion-archivo {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
}

/* Filtros de subcategorías */
.pluma-filtros-categoria {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.pluma-filtros-categoria a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 13px;
    color: #555;
    background: #fff;
    transition: all .15s;
}

.pluma-filtros-categoria a:hover,
.pluma-filtros-categoria a.pluma-activo {
    background: #2471a3;
    border-color: #2471a3;
    color: #fff;
}

/* =====================================================
   RESPONSIVE — BREAKPOINT PRINCIPAL: 1050px
   ===================================================== */
@media (max-width: 1050px) {

    .pluma-barra-logo__contenido,
    .pluma-cabecera__contenido {
        max-width: 100%;
    }

    .pluma-busqueda-cabecera {
        display: none;
    }

    #pluma-icono-nav {
        display: flex;
    }

    .pluma-sociales-desktop {
        display: none;
    }

    #pluma-menu {
        position: fixed;
        top: 0;
        left: -100%;
        bottom: 0;
        width: 280px;
        background: #1e5f8a;
        z-index: 1050;
        overflow-y: auto;
        transition: left .3s ease;
        margin: 0;
        padding-top: 60px;
    }

    #pluma-btn-menu:checked~#pluma-menu {
        left: 0;
    }

    #pluma-btn-menu:checked~#pluma-overlay-menu {
        display: block;
    }

    .pluma-menu-lista {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .pluma-menu-lista>li>a {
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }

    .pluma-menu-lista .sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        border-left: 3px solid rgba(255, 255, 255, .3);
        background: rgba(0, 0, 0, .15);
        display: none;
    }

    .pluma-menu-lista .menu-item-has-children>a::after {
        float: right;
        margin-top: 4px;
    }

    .pluma-busqueda-responsiva {
        display: block;
    }

    .pluma-sociales-movil {
        display: block;
    }

    .pluma-contenido-completo {
        flex-direction: column;
    }

    .pluma-contenido-estrecho {
        width: 100%;
    }

    .pluma-sidebar-principal {
        width: 100%;
    }

    .pluma-sidebar-principal .pluma-sticky {
        position: static;
    }

    .pluma-ir-arriba {
        bottom: 80px;
    }
}

@media (max-width: 768px) {
    .pluma-nav-single {
        flex-direction: column;
    }

    .pluma-nav-single a {
        max-width: 100%;
    }

    .pluma-nav-siguiente {
        margin-left: 0;
        text-align: left;
    }

    .pluma-caja-autor {
        flex-direction: column;
    }
}

@media (max-width: 480px) {

    .pluma-bucle-contenido,
    .pluma-contenido-single,
    .pluma-contenido-pagina {
        padding: 14px 12px 20px;
    }

    .pluma-encabezado-pagina h1 {
        font-size: 28px;
    }

    .pluma-tarjeta-contenido {
        height: 180px;
    }

    .pluma-hero {
        min-height: 200px;
    }
}