/*
Theme Name: Soledad · Juanjo Luna
Template: soledad
Description: Tema hijo de Soledad con la marca Juanjo Luna (dirección D): Inter alojada en el servidor, rojo Luna-Soft y tarjetas limpias. Conserva todas las funciones de Soledad.
Author: Juanjo Luna
Version: 1.0.0
Text Domain: soledad-juanjo
*/

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("assets/fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("assets/fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root { --jl-brand: #871818; --jl-fg: #18181b; --jl-muted: #55555c; --jl-line: #e6e6e9; --jl-bg: #f7f7f8; }

/* Tipografía: Inter en todo el sitio (Soledad ya no carga Google Fonts). */
body, p, li, input, textarea, select, button, .penci-wrapper-data, .post-entry, .inner-post-entry,
h1, h2, h3, h4, h5, h6, .penci-entry-title, .entry-title, .post-title, .penci-grid li .item h2 a,
#navigation .menu > li > a, .penci-menuhbg-wapper, .widget-title, .penci-border-arrow .inner-arrow,
.penci-pagination, .penci-button, .grid-post-box-meta, .post-box-meta, .penci-homepage-title {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important;
}
body { color: var(--jl-fg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .penci-entry-title, .entry-title, .post-title { letter-spacing: -0.02em; font-weight: 800 !important; }
.post-entry, .inner-post-entry { font-size: 17px; line-height: 1.7; }

/* Enlaces y acentos con el rojo de la marca. */
.post-entry a, .inner-post-entry a { color: var(--jl-brand); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--jl-brand); outline-offset: 2px; }

/* Cabecera: blanca, con línea fina debajo. */
.penci-header-wrap, .pc-wrapbuilder-header, .penci_header, .sticky-wrapper .penci_header { box-shadow: none !important; border-bottom: 1px solid var(--jl-line); }

/* Tarjetas de las entradas: esquinas redondeadas e imagen sin bordes duros. */
.penci-grid li .item .thumbnail img, .penci-image-holder, .penci-grid .thumbnail, .penci-single-thumbnail img, .post-image img { border-radius: 12px; }
.penci-grid li .item h2 a:hover, .grid-post-box-meta a:hover { color: var(--jl-brand) !important; }
.cat a.penci-cat-name, .penci-cat-name { color: var(--jl-brand) !important; font-weight: 600; letter-spacing: 0.04em; }

/* Botones */
.penci-button, .post-password-form input[type=submit], .wpcf7 input[type=submit], .mc4wp-form input[type=submit], #respond #submit {
  background: var(--jl-brand) !important; border-color: var(--jl-brand) !important; color: #fff !important; border-radius: 10px !important; font-weight: 600;
}
.mc4wp-form input[type=email], .mc4wp-form input[type=text] { border-radius: 10px; border: 1px solid var(--jl-line); padding: 12px 14px; width: 100%; }

/* Caja de autor y bloques de código */
.post-author { border-radius: 16px; }
.wp-block-code, .post-entry pre { background: #18181b; color: #ededef; border-radius: 12px; padding: 16px 18px; }

/* Portada (página de Elementor 1528): se adaptan sus colores sin tocar la página. */
.elementor-1528 .elementor-element-353e9f54 > .elementor-widget-wrap,
.elementor-1528 .elementor-element-63e5336d > .elementor-widget-wrap { background-color: #f6e9e9 !important; border-radius: 16px; }
.elementor-element-353e9f54 .penci-ibox-btn, .elementor-element-63e5336d .penci-ibox-btn { background-color: var(--jl-brand) !important; border-color: var(--jl-brand) !important; color: #fff !important; border-radius: 10px; }
.penci-header-signup-form, .widget_mc4wp_form_widget.penci-header-signup-form { background-color: var(--jl-brand) !important; border-radius: 16px; }
.tag-cloud-link { background: #f6e9e9 !important; color: var(--jl-brand) !important; border: 0 !important; border-radius: 999px; }
.tag-cloud-link:hover { background: var(--jl-brand) !important; color: #fff !important; }

/* Icono de acceso de la cabecera: era blanco sobre el fondo azul anterior. */
a[href="#penci-login-popup"], a[href="#penci-login-popup"] i { color: var(--jl-fg) !important; }
a[href="#penci-login-popup"]:hover, a[href="#penci-login-popup"]:hover i { color: var(--jl-brand) !important; }
.penci-ibox-stit { color: var(--jl-brand) !important; letter-spacing: 0.06em; font-weight: 700; }
