/*
Theme Name: SENTIDO Theme
Theme URI: https://sentidoistmonoticias.mx
Author: Sentido Istmeño Noticias
Description: A modern WordPress theme with Tailwind CSS and Vue.js based on the SENTIDO design.
Version: 1.0.0
Tags: tailwind, vue, responsive, news-portal
License: MIT
*/

/* Weather transition styles */
#weather-info, #weather-city-label {
    transition: opacity 0.3s ease;
    opacity: 1;
}

#weather-icon {
    width: 52px !important;
    height: 52px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.08));
}

/* Custom Glow Pulse Animation for Play Icon */
@keyframes glow-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}
.animate-blink {
    animation: glow-pulse 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

/* Custom Sidebar Background matching Somos Sentido Istmeño */
.news-sidebar-pattern {
    background-color: #00a99d !important;
    background-image: 
        url("data:image/svg+xml;base64,PHN2ZyAgZmlsbD0icmdiYSgwLDAsMCwwLjA0KSIgaGVpZ2h0PSIyNnB4IiB3aWR0aD0iMjAwcHgiIHZpZXdCb3g9IjAgMCAyMDAgMjYiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTMzLjc3LDBDMjUuMDksMy44MSwxNC41Nyw2LjUsMCw2LjVWMFpNMjAwLDYuNVYwSDE2Ni4yM0MxNzQuOTEsMy44MSwxODUuNDMsNi41LDIwMCw2LjVaTTEzMy43NywwSDEwMGMyNCwwLDM1Ljc5LDcuNjQsNDguMjMsMTUuNzNhMTI1LDEyNSwwLDAsMCwxOCwxMC4yN0gyMDBjLTI0LDAtMzUuNzktNy42NC00OC4yMy0xNS43M0ExMjUsMTI1LDAsMCwwLDEzMy43NywwWk0xMDAsMEg2Ni4yM2ExMjUsMTI1LDAsMCwwLTE4LDEwLjI3QzM1Ljc5LDE4LjM2LDI0LDI2LDAsMjZIMzMuNzdhMTI1LDEyNSwwLDAsMCwxOC0xMC4yN0M2NC4yMSw3LjY0LDc2LDAsMTAwLDBaTTY2LjIzLDI2aDY3LjU0Yy04LjY4LTMuODEtMTkuMi02LjUtMzMuNzctNi41Uzc0LjkxLDIyLjE5LDY2LjIzLDI2WiIvPjwvc3ZnPg=="),
        linear-gradient(140deg, #2f455a 0%, #29c4a9 56%) !important;
    background-position: 0 0, 0 0;
    background-repeat: repeat, no-repeat;
    transition: all 0.3s ease;
}

/* Custom Logo responsive handling */
.custom-logo-link {
    display: block !important;
    max-width: 100% !important;
}
.custom-logo {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Hide scrollbar for carousel */
.scrollbar-none::-webkit-scrollbar {
    display: none !important;
}
.scrollbar-none {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}


/* ==========================================================================
   Main Desktop Navigation
   ========================================================================== */
.main-nav-bar {
    background-color: #0d9488 !important;
    background-image: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.main-nav-container {
    max-width: 1728px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 1.5rem;
}

.main-nav-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 100% !important;
    flex-wrap: nowrap !important;
}

.main-nav-menu > li {
    position: relative !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 2px !important;
}

.main-nav-menu > li > a {
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    padding: 8px 14px !important;
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.main-nav-menu > li > a:hover,
.main-nav-menu > li.current-menu-item > a {
    background-color: rgba(0, 0, 0, 0.15) !important;
    color: #ffffff !important;
}

/* Dropdown Submenu ("Más") */
.main-nav-menu li.menu-item-has-children > a::after {
    content: "\f107";
    font-family: FontAwesome;
    font-size: 13px;
    margin-left: 3px;
    opacity: 0.8;
    transition: transform 0.2s ease;
    display: inline-block;
}

.main-nav-menu li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

.main-nav-menu .sub-menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 210px !important;
    background-color: #1a2e35 !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35) !important;
    border-radius: 0 0 6px 6px !important;
    padding: 6px 0 !important;
    list-style: none !important;
    margin: 0 !important;
    z-index: 100 !important;
    border-top: 2px solid #0d9488 !important;
}

.main-nav-menu li:hover > .sub-menu {
    display: block !important;
}

.main-nav-menu .sub-menu li {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
}

.main-nav-menu .sub-menu li a {
    display: block !important;
    padding: 9px 20px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    transition: background-color 0.2s, color 0.2s !important;
    white-space: nowrap !important;
}

.main-nav-menu .sub-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #2dd4bf !important;
}

/* ==========================================================================
   Single Post Typography & Hero Banner
   ========================================================================== */
.single .entry-title,
.single article h1,
.single .prose h1,
.single .prose h2,
.single .prose h3,
.single .prose h4,
.single .prose h5,
.single .prose h6 {
    font-family: 'Work Sans', sans-serif !important;
    font-weight: 700 !important;
}

.single-hero-banner {
    background-color: #2f455a !important;
    background-image: url("data:image/svg+xml;base64,PHN2ZyAgZmlsbD0icmdiYSgwLDE2OSwxNTcsMC4xMykiIGhlaWdodD0iNTZweCIgd2lkdGg9IjExMnB4IiB2aWV3Qm94PSIwIDAgMTEyIDU2IiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0wLDBINTZMMCwyOFpNMTEyLDBINTZsNTYsMjhabTAsNTZMNTYsMjgsMCw1NloiLz48L3N2Zz4=") !important;
    background-position: 0 0;
    background-repeat: repeat;
    padding: 3.5rem 0 3rem;
}

.single-hero-title {
    font-family: 'Work Sans', sans-serif !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.3em !important;
    text-shadow: 0.08em 0.08em 0.08em rgba(0, 0, 0, 0.4);
    border-bottom: 4px solid #00a99d;
    padding-bottom: 12px !important;
    margin: 0 !important;
}

.sidebar-ad-header {
    background-color: #333333;
    color: #ffffff;
    font-style: italic;
    font-size: 13px;
    text-align: center;
    padding: 4px 8px;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Footer Styles (Sentido Istmeño)
   ========================================================================== */
.site-footer {
    background-color: #2f455a !important;
    position: relative;
    overflow: hidden;
}

.site-footer .footer-bg-mask {
    background-image: url("data:image/svg+xml;base64,PHN2ZyAgZmlsbD0iIzJmNDU1YSIgdmlld0JveD0iMCAwIDE5MjAgMTQ0MCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Zz4KCQkJCQkJCQkJCTxwb2x5Z29uIHBvaW50cz0iMTQ3OS4zOCA0NzguNDEgMTI1Mi40NiAwIDEwOTcuNTEgMCAxNDEyLjg5IDY2NC45IDE5MjAgNDI0LjM2IDE5MjAgMjY5LjQxIDE0NzkuMzggNDc4LjQxIi8+CgkJCQkJCQkJCQk8cG9seWdvbiBwb2ludHM9IjE0MzYuMzggNjEuMDcgMTU0NS44NyAyOTEuOTIgMTc3Ni43MiAxODIuNDIgMTY5MC4xOSAwIDE1NjUuMTMgMCAxNDM2LjM4IDYxLjA3Ii8+CgkJCQkJCQkJCQk8cG9seWdvbiBwb2ludHM9IjE5MjAgMCAxODQ1LjE0IDAgMTkyMCAxNTcuODEgMTkyMCAwIi8+CgkJCQkJCQkJCQk8cG9seWdvbiBwb2ludHM9IjEzNDYuMzkgODUxLjM5IDk0Mi41NiAwIDc4Ny42MSAwIDEyNzkuOSAxMDM3Ljg4IDE5MjAgNzM0LjI2IDE5MjAgNTc5LjMxIDEzNDYuMzkgODUxLjM5Ii8+CgkJCQkJCQkJCQk8cG9seWdvbiBwb2ludHM9IjEyMTMuNCAxMjI0LjM3IDYzMi42NiAwIDAgMCAwIDE0NDAgMTkyMCAxNDQwIDE5MjAgODg5LjIyIDEyMTMuNCAxMjI0LjM3Ii8+CgkJCQkJCQkJCTwvZz48L3N2Zz4=");
    background-size: calc(100% + 2px) calc(100% + 2px);
    background-repeat: no-repeat;
    background-position: 50%;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.site-footer .footer-bg-pattern {
    background-image: url("data:image/svg+xml;base64,PHN2ZyAgZmlsbD0icmdiYSgwLDAsMCwwLjIpIiBoZWlnaHQ9IjExcHgiIHdpZHRoPSIxMXB4IiB2aWV3Qm94PSIwIDAgMTEgMTEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEuNDEsMCwwLDEuNDFWMFpNMTEsMEg5LjU5TDAsOS41OVYxMUgxLjQxTDExLDEuNDFabTAsOS41OUw5LjU5LDExSDExWiIvPjwvc3ZnPg==");
    background-position: 0 0;
    background-repeat: repeat;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.footer-col-title {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 800 !important;
    font-size: 21px !important;
    color: #ffffff !important;
    margin: 0 0 16px 0 !important;
    line-height: 1.2 !important;
}

.footer-vertical-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.footer-vertical-menu li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-vertical-menu li a {
    font-family: 'Poppins', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #00a99d !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    display: inline-block !important;
    line-height: 1.4 !important;
}

.footer-vertical-menu li a:hover {
    color: #2dd4bf !important;
    text-decoration: none !important;
}

/* Bottom Horizontal Menu */
.footer-bottom-menu-wrap {
    width: 100%;
}

.footer-bottom-menu {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px 32px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-bottom-menu > li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

.footer-bottom-menu > li > a {
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #00a99d !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.footer-bottom-menu > li > a:hover,
.footer-bottom-menu > li.current-menu-item > a {
    color: #ffffff !important;
}

.footer-bottom-menu li.menu-item-has-children > a::after {
    content: "\f107";
    font-family: FontAwesome;
    font-size: 12px;
    margin-left: 4px;
    display: inline-block;
    transition: transform 0.2s;
}

.footer-bottom-menu li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

.footer-bottom-menu .sub-menu {
    display: none !important;
    position: absolute !important;
    bottom: 100% !important;
    left: 0 !important;
    margin-bottom: 8px !important;
    min-width: 180px !important;
    background-color: #1a2e35 !important;
    border-bottom: 2px solid #00a99d !important;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35) !important;
    border-radius: 6px 6px 0 0 !important;
    padding: 6px 0 !important;
    list-style: none !important;
    z-index: 100 !important;
}

.footer-bottom-menu li:hover > .sub-menu {
    display: block !important;
}

.footer-bottom-menu .sub-menu li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-bottom-menu .sub-menu li a {
    display: block !important;
    padding: 8px 18px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
}

.footer-bottom-menu .sub-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #2dd4bf !important;
}

/* Footer Bottom Cenefa Ribbon */
.footer-bottom-ribbon {
    height: 30px !important;
    width: 100% !important;
    background-image: url('assets/img/bg-sentido-iste.png');
    background-size: 13% auto !important;
    background-repeat: repeat !important;
    background-blend-mode: color;
    background-color: rgba(47, 69, 90, 0.31);
    border-top: 1px solid rgba(224, 224, 224, 0.13);
}

@media (max-width: 767px) {
    .footer-bottom-ribbon {
        background-size: 71% auto !important;
    }
}

.font-bebas {
    font-family: 'Bebas Neue', cursive, sans-serif !important;
}