/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Template: generatepress
Author: Tom Usborne
Author URI: https://generatepress.com/about
Description: GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Performance is important to us, which is why a fresh GeneratePress install adds less than 10kb (gzipped) to your page size. We take full advantage of the block editor (Gutenberg), which gives you more control over creating your content. If you use page builders, GeneratePress is the right theme for you. It is completely compatible with all major page builders, including Beaver Builder and Elementor. Thanks to our emphasis on WordPress coding standards, we can boast full compatibility with all well-coded plugins, including WooCommerce. GeneratePress is fully responsive, uses valid HTML/CSS, and is translated into over 25 languages by our amazing community of users. A few of our many features include 60+ color controls, powerful dynamic typography, 5 navigation locations, 5 sidebar layouts, dropdown menus (click or hover), and 9 widget areas. Learn more and check out our powerful premium version at https://generatepress.com
Tags: two-columns,three-columns,one-column,right-sidebar,left-sidebar,footer-widgets,blog,e-commerce,flexible-header,full-width-template,buddypress,custom-header,custom-background,custom-menu,custom-colors,sticky-post,threaded-comments,translation-ready,rtl-language-support,featured-images,theme-options
Version: 3.6.1.1781093405
Updated: 2026-06-10 12:10:05

*/
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* =============================================
   CERRADURAS DIGITALES MDP - Blog & Global Style
   Agregar en generatepress-child/style.css
   después del encabezado del tema
   ============================================= */

/* Variables */
:root {
  --cdm-black: #0a0a0a;
  --cdm-graphite: #1a1a1a;
  --cdm-gray-border: #2e2e2e;
  --cdm-gray-muted: #6b6b6b;
  --cdm-gray-text: #a0a0a0;
  --cdm-white: #f5f4f0;
  --cdm-white-pure: #ffffff;
  --cdm-blue: #2563eb;
  --cdm-blue-light: #3b82f6;
  --cdm-accent: #60a5fa;
  --cdm-surface: #111111;
  --cdm-surface-3: #1e1e1e;
}

/* ── GLOBAL ── */
body {
  background: var(--cdm-black) !important;
  color: var(--cdm-white) !important;
  font-family: 'DM Sans', sans-serif !important;
}

/* Cargar tipografías */
/* ── HEADER ── */
.site-header,
#site-header {
  background: rgba(10, 10, 10, 0.92) !important;
  border-bottom: 1px solid var(--cdm-gray-border) !important;
  backdrop-filter: blur(16px) !important;
}

.site-title a,
.site-title {
  color: var(--cdm-white-pure) !important;
  font-family: 'Syne', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  letter-spacing: -0.03em !important;
}

/* Ocultar logo/imagen anterior si existe */
.site-logo img { display: none !important; }

/* Nav header */
.main-navigation a,
.nav-primary a,
#site-navigation a {
  color: var(--cdm-gray-text) !important;
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  transition: color 0.2s !important;
}

.main-navigation a:hover,
.nav-primary a:hover,
#site-navigation a:hover {
  color: var(--cdm-white-pure) !important;
}

/* ── CONTENIDO GENERAL ── */
.site-content,
#content,
.content-area {
  background: var(--cdm-black) !important;
}

/* ── SINGLE POST ── */
.single .site-main,
.blog .site-main,
.archive .site-main {
  background: var(--cdm-black) !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 4rem clamp(1.5rem, 5vw, 4rem) !important;
}

/* Eliminar sidebar */
.widget-area,
#secondary {
  display: none !important;
}

/* Ancho completo cuando no hay sidebar */
.single .content-area,
.blog .content-area,
.archive .content-area {
  width: 100% !important;
  float: none !important;
  max-width: 760px !important;
  margin: 0 auto !important;
}

/* ── TIPOGRAFÍA DEL POST ── */
.entry-title,
.page-title {
  font-family: 'Syne', sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(1.8rem, 4vw, 3rem) !important;
  color: var(--cdm-white-pure) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 1rem !important;
}

.entry-content h2 {
  font-family: 'Syne', sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(1.3rem, 3vw, 1.8rem) !important;
  color: var(--cdm-white-pure) !important;
  margin-top: 2.5rem !important;
  margin-bottom: 1rem !important;
  letter-spacing: -0.02em !important;
  line-height: 1.25 !important;
}

.entry-content h3 {
  font-family: 'Syne', sans-serif !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  color: var(--cdm-white-pure) !important;
  margin-top: 2rem !important;
  margin-bottom: 0.75rem !important;
}

.entry-content p {
  color: var(--cdm-gray-text) !important;
  font-size: 1rem !important;
  line-height: 1.75 !important;
  font-weight: 300 !important;
  margin-bottom: 1.25rem !important;
}

.entry-content strong {
  color: var(--cdm-white-pure) !important;
  font-weight: 500 !important;
}

.entry-content a {
  color: var(--cdm-accent) !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}

.entry-content a:hover {
  color: var(--cdm-blue-light) !important;
}

.entry-content ul,
.entry-content ol {
  color: var(--cdm-gray-text) !important;
  font-weight: 300 !important;
  line-height: 1.75 !important;
  padding-left: 1.5rem !important;
  margin-bottom: 1.25rem !important;
}

.entry-content li {
  margin-bottom: 0.5rem !important;
}

/* ── TABLA ── */
.entry-content table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin-bottom: 2rem !important;
  font-size: 0.9rem !important;
}

.entry-content th {
  background: var(--cdm-surface-3) !important;
  color: var(--cdm-white-pure) !important;
  font-family: 'Syne', sans-serif !important;
  font-weight: 600 !important;
  padding: 0.75rem 1rem !important;
  text-align: left !important;
  border-bottom: 1px solid var(--cdm-gray-border) !important;
}

.entry-content td {
  color: var(--cdm-gray-text) !important;
  padding: 0.75rem 1rem !important;
  border-bottom: 1px solid var(--cdm-gray-border) !important;
  font-weight: 300 !important;
}

.entry-content tr:hover td {
  background: var(--cdm-surface-3) !important;
}

/* ── META DEL POST (autor, fecha) ── */
.entry-meta,
.posted-on,
.byline,
.entry-footer {
  color: var(--cdm-gray-muted) !important;
  font-size: 0.8rem !important;
  font-weight: 300 !important;
}

.entry-meta a,
.entry-footer a {
  color: var(--cdm-gray-muted) !important;
}

/* ── CTA AL FINAL DEL POST ── */
.entry-content::after {
  content: '';
  display: block;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--cdm-gray-border);
}

/* ── BLOG INDEX (listado de posts) ── */
.blog .entry-header,
.archive .entry-header {
  margin-bottom: 1rem !important;
}

.blog article,
.archive article {
  background: var(--cdm-surface) !important;
  border: 1px solid var(--cdm-gray-border) !important;
  border-radius: 12px !important;
  padding: 2rem !important;
  margin-bottom: 1.5rem !important;
  transition: border-color 0.2s, transform 0.2s !important;
}

.blog article:hover,
.archive article:hover {
  border-color: var(--cdm-gray-muted) !important;
  transform: translateY(-2px) !important;
}

.blog .entry-title a,
.archive .entry-title a {
  color: var(--cdm-white-pure) !important;
  font-family: 'Syne', sans-serif !important;
}

.blog .entry-summary p,
.archive .entry-summary p {
  color: var(--cdm-gray-muted) !important;
  font-weight: 300 !important;
}

/* ── FOOTER ── */
.site-footer,
#colophon {
  background: var(--cdm-black) !important;
  border-top: 1px solid var(--cdm-gray-border) !important;
  color: var(--cdm-gray-muted) !important;
  font-size: 0.8rem !important;
  font-weight: 300 !important;
  padding: 1.5rem clamp(1.5rem, 5vw, 4rem) !important;
}

.site-footer a {
  color: var(--cdm-gray-muted) !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .single .site-main,
  .blog .site-main,
  .archive .site-main {
    padding: 2rem 1.5rem !important;
  }
}


/* ========================================
   BLOG HUB PAGE (page-id-2133)
   ======================================== */

/* Hide sidebar on blog page */
.page-id-2133 #right-sidebar,
.page-id-2133 .sidebar,
.page-id-2133 .widget-area {
  display: none !important;
}

/* Make content full width on blog page */
.page-id-2133 .content-area {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

.page-id-2133 .site-main {
  max-width: 100% !important;
}

/* Remove white bg from inside-article on blog page */
.page-id-2133 .inside-article {
  background: transparent !important;
  padding: 0 !important;
}

/* Hide page title on blog hub */
.page-id-2133 .entry-header {
  display: none !important;
}







/* ========================================
   FOOTER OVERRIDE - Override CSS variables
   ======================================== */

/* Override the GeneratePress inline CSS variable for footer */
.footer-widgets,
#footer-widgets {
  --base-3: #0f0f0f;
  background-color: #0f0f0f !important;
}

body .footer-widgets {
  background-color: #0f0f0f !important;
  background: #0f0f0f !important;
}

html body div#footer-widgets.site.footer-widgets {
  background-color: #0f0f0f !important;
}

.site-info,
body footer.site-info {
  background-color: #080808 !important;
  background: #080808 !important;
  --base-3: #080808;
}
/* ========================================
   SINGLE POST - Fondo y diseño consistente
   ======================================== */

/* Eliminar el card blanco de GeneratePress en entradas */
.single .inside-article {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Eliminar el separador de pie de artículo */
.single .entry-footer {
    background: transparent !important;
    border-top: 1px solid #2e2e2e !important;
    margin-top: 2rem !important;
    padding-top: 1rem !important;
}

/* Navegación entre posts (anterior/siguiente) */
.post-navigation {
    background: transparent !important;
    border-top: 1px solid #2e2e2e !important;
    padding: 2rem 0 !important;
    margin-top: 2rem !important;
}
.post-navigation .nav-links a {
    color: #60a5fa !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 0.9rem !important;
    text-decoration: none !important;
}
.post-navigation .nav-links a:hover {
    color: #f5f4f0 !important;
}
.post-navigation .nav-previous::before,
.post-navigation .nav-next::before {
    color: #6b6b6b !important;
    font-size: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
}

/* Ocultar sidebar en entradas individuales */
.single .widget-area,
.single #secondary {
    display: none !important;
}

/* Breadcrumbs / categorías al pie */
.single .entry-footer .cat-links a,
.single .entry-footer .tags-links a {
    color: #6b6b6b !important;
    background: #1e1e1e !important;
    border: 1px solid #2e2e2e !important;
    border-radius: 4px !important;
    padding: 0.2rem 0.6rem !important;
    font-size: 0.75rem !important;
    text-decoration: none !important;
}
.single .entry-footer .cat-links a:hover,
.single .entry-footer .tags-links a:hover {
    color: #f5f4f0 !important;
    border-color: #6b6b6b !important;
}

/* Ocultar "Uncategorized" si no tiene valor */
.single .entry-footer .cat-links a[href*="uncategorized"] {
    display: none !important;
}



/* ── OCULTAR HEADER Y FOOTER EN ENTRADAS INDIVIDUALES ── */
.single .site-header,
.single #site-header,
.single header.site-header {
  display: none !important;
}

.single .site-footer,
.single #colophon,
.single footer.site-info,
.single .footer-widgets,
.single #footer-widgets {
  display: none !important;
}
