/*
Theme Name: Starter
Theme URI: https://wptheme.site/
Author: Jach
Author URI: https://wptheme.site/
Description: Un tema profesional, limpio y adaptable, inspirado en los diseños de blogs modernos. Presenta una estética minimalista con una excelente tipografía y optimización SEO.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: starter-theme
Tags: blog, two-columns, right-sidebar, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================
   CSS VARIABLES
============================================ */
:root {
    --primary-color: #3bb2cf;
    --secondary-color: #22272d;
    --text-color: #22272d;
    --text-light: #9ca8af;
    --background: #fafafa;
    --white: #ffffff;
    --red: #d1354f;
    --border-color: #e8e8e8;
    --shadow: 0 2px 10px rgba(0,0,0,0.08);
    --font-primary: 'Raleway', sans-serif;
    --transition: all 0.3s ease;
}

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

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

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

ul, ol {
    list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary-color);
}

/* ============================================
   CONTAINER
============================================ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.wrapper {
    display: flex;
    gap: 30px;
    padding: 30px 0;
}

/* Sidebar position - Right (default) */
body.sidebar-right .wrapper {
    flex-direction: row;
}

/* Sidebar position - Left */
body.sidebar-left .wrapper {
    flex-direction: row-reverse;
}

/* ============================================
   HEADER
============================================ */
.site-header {
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition);
}

/* Adjust for WordPress admin bar */
.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

/* Fix admin bar spacing */
body.admin-bar {
    padding-top: 0 !important;
}

.admin-bar #wpadminbar {
    position: fixed;
    top: 0;
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    position: relative;
}

/* Hamburguesa solo en móvil (evita que gane la especificidad sobre el media query) */
@media (min-width: 769px) {
    .header-left .menu-toggle {
        display: none;
    }
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Header Search Form */
.header-search-form {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 0;
}

.header-search-form.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.search-form-header {
    flex: 1;
}

.search-field-header {
    width: 100%;
    padding: 10px 15px;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--secondary-color);
    outline: none;
}

.search-field-header::placeholder {
    color: var(--text-light);
}

.header-search-close {
    background: transparent;
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.header-search-close:hover {
    color: var(--primary-color);
}

/* Hide header elements when search is active */
.site-header.search-active .header-left,
.site-header.search-active .header-icons {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-logo svg {
    width: 18px !important;
    height: 18px !important;
}

.site-logo .logo-text {
    font-size: 0.875rem !important;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: -0.1px;
}

/* Custom logo from WordPress */
.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo {
    max-width: 120px !important;
    max-height: 40px !important;
    width: auto !important;
    height: auto !important;
}

/* Dual Logo System */
.site-logo .logo-light,
.site-logo .logo-dark {
    max-width: 120px;
    max-height: 40px;
    width: auto;
    height: auto;
}

.site-logo .logo-dark {
    display: none;
}

body.dark-mode .site-logo .logo-light {
    display: none;
}

body.dark-mode .site-logo .logo-dark {
    display: block;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-radius: 0;
    transition: var(--transition);
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
    background: transparent;
    color: var(--primary-color);
}

/* Dropdown */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li {
    position: relative;
}

.nav-menu .sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.875rem;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.nav-menu .sub-menu li a:hover {
    color: var(--primary-color);
}

/* Arrow indicator for items with submenu - Only main menu */
.nav-menu > li.menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 0.75rem;
}

/* Arrow indicator for submenu items with children */
.nav-menu .sub-menu li.menu-item-has-children > a::after {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
}

/* Nested Dropdown - Second level submenu */
.nav-menu .sub-menu .sub-menu {
    position: absolute !important;
    left: 100% !important;
    top: 0 !important;
    margin-left: 2px;
    transform: translateX(10px);
}

.nav-menu .sub-menu li:hover > .sub-menu {
    transform: translateX(0);
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-icon {
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border: none;
    background: transparent;
    color: var(--secondary-color);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.header-icon:hover {
    background: transparent;
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
}

/* ============================================
   MAIN CONTENT
============================================ */
.main-content {
    flex: 1;
    min-width: 0;
}

/* Post Card */
.post-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.post-card:hover {
    box-shadow: 0 5px 25px rgba(0,0,0,0.12);
}

.post-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    color: var(--secondary-color);
}

.post-title a {
    color: var(--secondary-color);
}

.post-title a:hover {
    color: var(--primary-color);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.post-card-inner {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.post-thumbnail {
    flex-shrink: 0;
    width: 200px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-meta .by {
    color: var(--text-light);
}

.post-meta .author {
    color: var(--primary-color);
    font-weight: 600;
}

.post-meta .separator {
    color: var(--text-light);
}

.post-meta .date {
    color: var(--text-light);
}

.post-excerpt {
    flex: 1;
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Load More Button */
.load-more-wrapper {
    text-align: center;
    padding: 20px 0;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: #2196F3;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.load-more-btn:hover:not(:disabled) {
    background: #1976D2;
    transform: translateY(-2px);
}

.load-more-btn:disabled {
    background: #e0e0e0;
    color: #9e9e9e;
    cursor: not-allowed;
    opacity: 1;
}

body.dark-mode .load-more-btn:disabled {
    background: #4a4a4a;
    color: #808080;
    opacity: 0.6;
}

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

.sidebar-sticky {
    position: sticky;
    top: 100px;
}

/* Adjust sticky position when admin bar is present */
.admin-bar .sidebar-sticky {
    top: 132px;
}

@media screen and (max-width: 782px) {
    .admin-bar .sidebar-sticky {
        top: 146px;
    }
}

.widget {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 12px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Social Links Widget */
.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 5px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-2px);
    color: var(--white);
}

.social-link.facebook { background: #1877f2; }
.social-link.twitter { background: #000000; }
.social-link.youtube { background: #ff0000; }
.social-link.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

.social-link svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.social-link.facebook svg circle,
.social-link.facebook svg path,
.social-link.youtube svg path,
.social-link.instagram svg circle,
.social-link.instagram svg rect,
.social-link.instagram svg path {
    stroke: currentColor;
}

.social-link .separator {
    opacity: 0.5;
    font-weight: 400;
}

/* Dark mode - white icons and text */
body.dark-mode .social-link {
    color: #f7feff;
}

body.dark-mode .social-link svg {
    stroke: #f7feff;
}

body.dark-mode .social-link:hover {
    color: #f7feff;
}


/* Popular Posts Widget */
.popular-post {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.popular-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-post:first-child {
    padding-top: 0;
}

.popular-post-thumb {
    width: 70px;
    height: 55px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-post-content {
    flex: 1;
    min-width: 0;
}

.popular-post-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-post-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Comments Widget */
.recent-comment {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.recent-comment:last-child {
    border-bottom: none;
}

.comment-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--background);
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-author {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.comment-text {
    font-size: 0.85rem;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Categories Widget */
.category-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list li a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
}

.category-list li a:hover {
    color: var(--primary-color);
}

.category-list li .count {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Tags Widget */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    display: inline-block;
    padding: 8px 16px;
    background: var(--background);
    color: var(--text-color);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.tag-cloud a:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ============================================
   ADS
============================================ */
.starter-ad {
    margin: 30px 0;
    text-align: center;
    clear: both;
    display: flex;
    justify-content: center;
    align-items: center;
}

.starter-ad-header {
    margin: 20px auto;
    max-width: 1200px;
}

.starter-ad-between_posts {
    margin: 40px 0;
    padding: 20px 0;
}

.starter-ad-footer {
    margin: 40px auto;
    max-width: 1200px;
}

.starter-ad-sidebar {
    margin: 20px 0;
}

.starter-ad-below_featured {
    margin: 30px 0 20px 0;
}

.starter-ad-end_post {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
    background: var(--white);
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
}

.footer-main {
    padding: 20px 0;
    background: var(--white);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    max-width: 600px;
}

.footer-logo-wrapper {
    margin-bottom: 15px;
}

.footer-logo-wrapper .site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo-wrapper .site-logo svg {
    width: 32px;
    height: 32px;
}

.footer-logo-wrapper .site-logo .logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.footer-logo-wrapper .site-logo .logo-light,
.footer-logo-wrapper .site-logo .logo-dark {
    max-width: 150px;
    max-height: 50px;
}

.footer-description {
    font-size: 0.9rem;
    color: var(--text-light);
    max-width: 600px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background);
    color: var(--text-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Facebook hover - Blue */
.footer-social-link.facebook:hover {
    background: #1877f2;
    color: #ffffff;
}

/* Twitter/X hover - Black */
.footer-social-link.twitter:hover {
    background: #000000;
    color: #ffffff;
}

/* YouTube hover - Red */
.footer-social-link.youtube:hover {
    background: #ff0000;
    color: #ffffff;
}

/* Instagram hover - Gradient */
.footer-social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
}

/* Pinterest hover - Red */
.footer-social-link.pinterest:hover {
    background: #e60023;
    color: #ffffff;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    background: #111111;
}

.footer-bottom .copyright,
.footer-bottom .footer-menu a {
    color: #ffffff;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.875rem;
    color: var(--text-light);
}

.copyright a {
    color: var(--primary-color);
    font-weight: 600;
}

.footer-menu {
    display: flex;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    list-style: none;
}

.footer-menu a {
    font-size: 0.875rem;
    font-weight: 500;
}

.footer-menu a:hover {
    color: var(--primary-color);
}

/* ============================================
   BACK TO TOP
============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: #1c73c0;
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(28, 115, 192, 0.4);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #1b67ab;
    transform: translateY(-3px);
}

.back-to-top:hover svg {
    stroke: #ffffff;
}

/* ============================================
   FLOATING BUTTONS
============================================ */
.floating-buttons {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.floating-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    padding: 12px 8px;
    background: var(--white);
    color: var(--text-color);
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    border: 1px solid var(--border-color);
    border-right: none;
    cursor: pointer;
    transition: var(--transition);
}

.floating-btn:first-child {
    border-radius: 8px 0 0 0;
}

.floating-btn:last-child {
    border-radius: 0 0 0 8px;
}

.floating-btn i {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.floating-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ============================================
   SINGLE POST
============================================ */
.single-post-header {
    margin-bottom: 30px;
}

.single-post-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.single-post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.single-post-content {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.single-post-content p {
    margin-bottom: 1.5em;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
    margin: 1.5em 0 0.75em;
}

.single-post-content img {
    border-radius: 8px;
    margin: 1.5em 0;
}

/* ============================================
   COMMENTS SECTION
============================================ */
.comments-area {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: var(--shadow);
}

.comments-title {
    font-size: 1.25rem;
    margin-bottom: 25px;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.comment:last-child {
    border-bottom: none;
}

/* Nested comments (replies) */
.comment-list .children {
    list-style: none;
    padding-left: 50px;
    margin-top: 20px;
}

.comment-list .children .comment {
    border-bottom: 1px solid var(--border-color);
}

.comment-list .children .comment:last-child {
    border-bottom: none;
}

/* Reply link */
.comment-reply-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.comment-reply-link:hover {
    text-decoration: underline;
}

.comment-body {
    display: flex;
    gap: 15px;
}

.comment-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.comment-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-main {
    flex: 1;
}

.comment-author-name {
    font-weight: 700;
    margin-bottom: 5px;
}

.comment-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.comment-text {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Comment Form */
.comment-form {
    margin-top: 30px;
}

.comment-form .form-group {
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form button {
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.comment-form button:hover {
    background: var(--secondary-color);
}

/* Dark mode adjustments for comments */
body.dark-mode .comment-form input,
body.dark-mode .comment-form textarea {
    background: #191919;
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

body.dark-mode .comment-form input:focus,
body.dark-mode .comment-form textarea:focus {
    border-color: var(--primary-color);
    background: #1f1f1f;
}

body.dark-mode .comment-form label {
    color: #ffffff;
}

body.dark-mode .comment-reply-title {
    color: #ffffff;
}

/* ============================================
   PAGE TEMPLATES
============================================ */
.page-header {
    padding: 40px 0;
    text-align: center;
    background: var(--white);
    margin-bottom: 30px;
}

.page-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.page-description {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   PAGINATION
============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 30px 0;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--white);
    color: var(--text-color);
    font-weight: 500;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.pagination a:hover,
.pagination .current {
    background: var(--primary-color);
    color: var(--white);
}

/* ============================================
   SEARCH
============================================ */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-form-overlay {
    width: 90%;
    max-width: 600px;
}

.search-form-overlay input {
    width: 100%;
    padding: 20px;
    font-size: 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--white);
    color: var(--white);
    outline: none;
}

.search-form-overlay input::placeholder {
    color: rgba(255,255,255,0.5);
}

.search-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

/* ============================================
   COOKIE NOTICE
============================================ */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 9998;
    transform: translateY(100%);
    transition: var(--transition);
}

.cookie-notice.visible {
    transform: translateY(0);
}

.cookie-notice p {
    font-size: 0.9rem;
}

.cookie-notice a {
    color: var(--primary-color);
}

.cookie-accept {
    padding: 8px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-accept:hover {
    background: var(--white);
    color: var(--secondary-color);
}

/* ============================================
   MOBILE MENU
============================================ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 10000;
    transform: translateX(-100%);
    transition: var(--transition);
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-close {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background);
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.mobile-nav {
    padding: 20px;
}

.mobile-nav-menu,
.mobile-nav .mobile-nav-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav li {
    border-bottom: 1px solid var(--border-color);
    width: 100%;
}

.mobile-nav li a {
    display: block;
    padding: 12px 0;
    font-weight: 500;
}

.mobile-nav .sub-menu {
    padding-left: 20px;
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-nav .sub-menu.active {
    display: block;
    max-height: 1000px;
}

.mobile-nav .sub-menu li:last-child {
    border-bottom: none;
}

.mobile-nav .menu-item-has-children > a {
    position: relative;
    padding-right: 30px;
}

.mobile-nav .menu-item-has-children > a::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.mobile-nav .menu-item-has-children.active > a::after {
    transform: translateY(-50%) rotate(180deg);
}

/* ============================================
   TYPOGRAPHY & CONTENT STYLES
============================================ */
/* Lists */
article ul,
article ol,
.post-content ul,
.post-content ol,
.entry-content ul,
.entry-content ol,
.content ul,
.content ol {
    margin: 1.5em 0;
    padding-left: 2em;
    list-style: none;
}

article ul li,
.post-content ul li,
.entry-content ul li,
.content ul li {
    list-style: none !important;
    margin-bottom: 0.5em;
    line-height: 1.8;
    position: relative;
    padding-left: 1.2em;
}

article ul li:before,
.post-content ul li:before,
.entry-content ul li:before,
.content ul li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2em;
    line-height: 1.5;
}

article ol,
.post-content ol,
.entry-content ol,
.content ol {
    counter-reset: item;
}

article ol li,
.post-content ol li,
.entry-content ol li,
.content ol li {
    list-style: none !important;
    margin-bottom: 0.5em;
    line-height: 1.8;
    position: relative;
    padding-left: 1.5em;
    counter-increment: item;
}

article ol li:before,
.post-content ol li:before,
.entry-content ol li:before,
.content ol li:before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
}

article ul ul,
article ol ol,
.post-content ul ul,
.post-content ol ol,
.entry-content ul ul,
.entry-content ol ol {
    margin: 0.5em 0;
}

/* Blockquotes */
blockquote,
.post-content blockquote,
.entry-content blockquote,
.wp-block-quote {
    margin: 1.5em 0;
    padding: 1.5em 2em;
    background: #f5f5f5;
    border-left: none;
    border-radius: 6px;
    font-style: italic;
    font-size: 1rem;
    color: #333333;
    position: relative;
}

blockquote:before {
    content: '"';
    position: absolute;
    top: 0.2em;
    left: 0.3em;
    font-size: 3rem;
    color: var(--primary-color);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.25;
}

blockquote p,
.post-content blockquote p,
.entry-content blockquote p {
    margin: 0 0 0.5em 0;
    line-height: 1.7;
    color: #333333;
}

blockquote p:last-child,
.post-content blockquote p:last-child,
.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

blockquote cite,
.post-content blockquote cite,
.entry-content blockquote cite {
    display: block;
    margin-top: 1em;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 600;
    color: #555555;
}

blockquote cite:before,
.post-content blockquote cite:before,
.entry-content blockquote cite:before {
    content: '- ';
}

/* Code */
.post-content code,
.entry-content code {
    padding: 2px 6px;
    background: var(--background);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #d1354f;
}

.post-content pre,
.entry-content pre {
    margin: 1.5em 0;
    padding: 1.5em;
    background: var(--secondary-color);
    border-radius: 8px;
    overflow-x: auto;
    line-height: 1.6;
}

.post-content pre code,
.entry-content pre code {
    padding: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 0.9rem;
}

/* Tables */
.post-content table,
.entry-content table {
    width: 100%;
    margin: 2em 0;
    border-collapse: collapse;
    border: 1px solid var(--border-color);
}

.post-content table th,
.entry-content table th {
    padding: 12px 15px;
    background: var(--background);
    font-weight: 700;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
    color: var(--secondary-color);
}

.post-content table td,
.entry-content table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

.post-content table tr:last-child td,
.entry-content table tr:last-child td {
    border-bottom: none;
}

.post-content table tr:hover,
.entry-content table tr:hover {
    background: var(--background);
}

/* Horizontal Rule */
.post-content hr,
.entry-content hr {
    margin: 2.5em 0;
    border: none;
    border-top: 2px solid var(--border-color);
}

/* Images */
.post-content img,
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5em 0;
}

.post-content figure,
.entry-content figure {
    margin: 2em 0;
}

.post-content figcaption,
.entry-content figcaption {
    margin-top: 0.5em;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    font-style: italic;
}

/* Paragraphs */
.post-content p,
.entry-content p {
    margin-bottom: 1.2em;
    line-height: 1.7;
}

/* Headings in content */
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary-color);
}

.post-content h1,
.entry-content h1 {
    font-size: 2rem;
}

.post-content h2,
.entry-content h2 {
    font-size: 1.5rem;
}

.post-content h3,
.entry-content h3 {
    font-size: 1.3rem;
}

.post-content h4,
.entry-content h4 {
    font-size: 1.15rem;
}

.post-content h5,
.entry-content h5 {
    font-size: 1.05rem;
}

.post-content h6,
.entry-content h6 {
    font-size: 1rem;
}

/* Links in content */
.post-content a,
.entry-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.post-content a:hover,
.entry-content a:hover {
    color: var(--secondary-color);
}

/* Strong and Em */
.post-content strong,
.entry-content strong,
article strong {
    font-weight: 700;
}

.post-content em,
.entry-content em,
article em {
    font-style: italic;
}

/* Underline */
.post-content u,
.entry-content u,
article u {
    text-decoration: underline;
}

/* Strikethrough */
.post-content del,
.post-content s,
.entry-content del,
.entry-content s,
article del,
article s {
    text-decoration: line-through;
    opacity: 0.7;
}

/* Colored text - using mark or span with color */
.post-content mark,
.entry-content mark,
article mark {
    background: transparent;
    color: var(--primary-color);
    padding: 0;
}

/* Background colored text */
.post-content .has-background,
.entry-content .has-background,
article .has-background {
    padding: 2px 6px;
    border-radius: 3px;
}

/* Text Sizes */
.post-content .has-small-font-size,
.entry-content .has-small-font-size,
article .has-small-font-size,
.post-content small,
.entry-content small,
article small {
    font-size: 0.8rem;
}

.post-content .has-normal-font-size,
.entry-content .has-normal-font-size,
article .has-normal-font-size {
    font-size: 1rem;
}

.post-content .has-large-font-size,
.entry-content .has-large-font-size,
article .has-large-font-size {
    font-size: 1.5rem;
}

.post-content .has-larger-font-size,
.post-content .has-huge-font-size,
.entry-content .has-larger-font-size,
.entry-content .has-huge-font-size,
article .has-larger-font-size,
article .has-huge-font-size {
    font-size: 2rem;
    line-height: 1.4;
}

/* Dark mode adjustments */
body.dark-mode blockquote,
body.dark-mode .post-content blockquote,
body.dark-mode .entry-content blockquote,
body.dark-mode .wp-block-quote {
    background: rgba(255, 255, 255, 0.06);
    border-left: 4px solid var(--primary-color);
    color: var(--text-color);
}

body.dark-mode blockquote p,
body.dark-mode .post-content blockquote p,
body.dark-mode .entry-content blockquote p {
    color: var(--text-color);
}

body.dark-mode blockquote cite,
body.dark-mode .post-content blockquote cite,
body.dark-mode .entry-content blockquote cite {
    color: var(--text-light);
}

body.dark-mode .post-content code,
body.dark-mode .entry-content code {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .post-content table th,
body.dark-mode .entry-content table th {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .post-content table tr:hover,
body.dark-mode .entry-content table tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* ============================================
   SINGLE POST
============================================ */
.breadcrumbs {
    margin-bottom: 1.5em;
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: var(--text-light);
}

.single-post-title {
    font-size: 35px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.single-post-meta-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2em;
    padding-bottom: 1em;
    border-bottom: 1px solid var(--border-color);
}

.single-post-meta-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-author-avatar {
    flex-shrink: 0;
}

.post-author-avatar img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.post-author-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.post-author-label {
    color: var(--text-light);
}

.post-author-name {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.post-author-name:hover {
    text-decoration: underline;
}

.post-author-info .separator {
    color: var(--text-light);
}

.post-date {
    color: var(--text-light);
}

.single-post-meta-right {
    flex-shrink: 0;
}

.post-comments-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.post-comments-link:hover {
    color: var(--secondary-color);
}

.post-comments-link i {
    font-size: 1.1rem;
}

.single-post-thumbnail {
    margin-bottom: 2em;
    border-radius: 12px;
    overflow: hidden;
}

.single-post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.single-post-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* Post Footer Meta */
.post-footer-meta {
    margin-top: 3em;
    padding-top: 2em;
    border-top: 1px solid var(--border-color);
}

.post-tags {
    margin-bottom: 1.5em;
    font-size: 14px;
}

.post-tags strong {
    color: var(--text-color);
    margin-right: 8px;
}

.post-tags a {
    color: var(--primary-color);
    text-decoration: none;
}

.post-tags a:hover {
    text-decoration: underline;
}

/* Share Buttons */
.post-share {
    margin-top: 1.5em;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.share-btn.share-extra {
    display: none;
}

.share-btn.share-extra.show {
    display: inline-flex;
}

.share-btn.more {
    display: inline-flex;
}

.share-btn.more.hide {
    display: none;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.share-btn span {
    display: none;
}

.share-btn .separator-line {
    display: none;
}

.share-btn.facebook,
.share-btn.twitter {
    width: auto;
    padding: 10px 14px;
}

.share-btn.facebook span,
.share-btn.twitter span {
    display: inline;
}

.share-btn.facebook .separator-line,
.share-btn.twitter .separator-line {
    display: inline;
    opacity: 0.7;
    font-weight: 700;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #000000;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.pinterest {
    background: #e60023;
}

.share-btn.email {
    background: #6c757d;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.reddit {
    background: #ff4500;
}

.share-btn.tumblr {
    background: #35465c;
}

.share-btn.telegram {
    background: #0088cc;
}

.share-btn.more,
.share-btn.more-close {
    background: #d1d5db;
    color: #374151;
}

.share-btn i {
    font-size: 18px;
}

.share-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.share-btn.facebook svg circle,
.share-btn.facebook svg path {
    stroke: currentColor;
}

/* Related Posts Section */
.related-posts-section {
    margin: 3em 0;
    padding: 2em 0;
}

.related-posts-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5em;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-posts-title svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.related-post-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.related-post-thumbnail {
    width: 100%;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.related-post-thumbnail img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.related-post-card:hover .related-post-thumbnail img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 1.2em;
    background: var(--white);
}

.related-post-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5em;
}

.related-post-title a {
    color: var(--secondary-color);
    text-decoration: none;
}

.related-post-title a:hover {
    color: var(--primary-color);
}

.related-post-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Dark mode adjustments for single post */
body.dark-mode .single-post-title {
    color: #ffffff;
}

body.dark-mode .related-posts-title {
    color: #ffffff;
}

body.dark-mode .related-post-content {
    background: #191919;
}

body.dark-mode .related-post-title a {
    color: #ffffff;
}

body.dark-mode .related-post-date {
    color: #9ca8af;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
    .wrapper,
    body.sidebar-right .wrapper,
    body.sidebar-left .wrapper {
        flex-direction: column !important;
    }

    .sidebar {
        width: 100%;
        order: 2;
    }
    
    .main-content {
        order: 1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .header-left .menu-toggle,
    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .post-card-inner {
        flex-direction: column;
    }

    .post-thumbnail {
        width: 100%;
        height: 200px;
    }

    .post-title {
        font-size: 1.25rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 15px;
    }

    /* Widget Síguenos: 2x2 en móvil (misma cuadrícula que en desktop) */
    .widget-social .social-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .floating-buttons {
        display: none;
    }
}

@media (max-width: 480px) {
    .header-inner {
        padding: 10px 0;
    }

    .post-card {
        padding: 20px;
    }

    .widget {
        padding: 20px;
    }

    .single-post-title {
        font-size: 1.5rem;
    }
}

/* ============================================
   WORDPRESS SPECIFIC
============================================ */
.alignleft {
    float: left;
    margin: 0 1.5em 1.5em 0;
}

.alignright {
    float: right;
    margin: 0 0 1.5em 1.5em;
}

.aligncenter {
    display: block;
    margin: 1.5em auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
    padding: 10px 0;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin: 1.5em 0;
}

.gallery-item {
    margin: 0;
}

.gallery-item img {
    width: 100%;
    height: auto;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* WordPress Block Editor Styles */
.wp-block-image {
    margin: 1.5em 0;
}

.wp-block-quote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 1.5em 0;
    font-style: italic;
}

.wp-block-quote cite {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 10px;
}

.has-text-align-center {
    text-align: center;
}

.has-text-align-right {
    text-align: right;
}

/* ============================================
   DARK MODE
============================================ */
body.dark-mode {
    --text-color: #e4e4e4;
    --text-light: #a0a0a0;
    --background: #111111;
    --white: #191919;
    --secondary-color: #ffffff;
    --border-color: #2a2a2a;
    --shadow: 0 2px 10px rgba(0,0,0,0.5);
}

body.dark-mode .site-header {
    background: var(--white);
    border-bottom-color: var(--border-color);
}

body.dark-mode .post-card,
body.dark-mode .widget {
    background: var(--white);
}

body.dark-mode .site-footer {
    background: transparent;
}

body.dark-mode .footer-main {
    background: #191919;
}

body.dark-mode .footer-bottom {
    background: #111111;
}

body.dark-mode .search-overlay {
    background: rgba(0,0,0,0.95);
}

body.dark-mode .site-logo .logo-text,
body.dark-mode .footer-logo-wrapper .site-logo .logo-text {
    color: #ffffff;
}

body.dark-mode .site-logo svg,
body.dark-mode .footer-logo-wrapper .site-logo svg {
    fill: #ffffff;
}

