/*
Theme Name: Mi Tema Personalizado
Author: Giovanni
Version: 1.0
Description: Tema desde cero
*/

html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'HelveticaNeueLTPro75Bold';
    src: url('assets/fonts/helvetica-neue-lt-pro-55-cufonfonts/HelveticaNeueLTPro-Bd.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'HelveticaNeueLTPro55Roman';
    src: url('assets/fonts/helvetica-neue-lt-pro-55-cufonfonts/HelveticaNeueLTPro-Roman.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Asap Condensed';
    src: url('assets/fonts/Asap_Condensed/AsapCondensed-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Asap Condensed';
    src: url('assets/fonts/Asap_Condensed/AsapCondensed-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


body {
    background-color: #f7f8f5;
    /* Global background */
}

.wp-video {
    margin: 0 auto;
}

/* -----------------------------------------------------------
   HEADER STYLES
----------------------------------------------------------- */
.site-header {
    background-color: #f7f8f5;
    /* Off-white background matching body */
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 100px;
    padding-top: 100px;
    /* Optional: subtle bottom border */
}

/* --- Search Bar --- */
.header-search-form .input-group {
    border: 1px solid #333;
    border-radius: 50px;
    /* Pill shape */
    overflow: hidden;
    max-width: 250px;
    /* Adjust as needed */
    padding: 2px 10px;
}

.header-search-form .input-group-text {
    background: transparent;
    border: none;
    color: #333;
}

.header-search-form .form-control:focus {
    box-shadow: none;
    border-color: transparent;
}

.header-search-form input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

/* --- Logo --- */
.header-logo {
    display: block;
    max-width: 100%;
    height: 120px;
    /* Explicit height for desktop */
    width: auto;
    /* Maintain aspect ratio */
}

/* --- Social Links --- */
.social-links-header .social-link {
    display: block;
    color: #333;
    font-size: 0.75rem;
    /* Small font */
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    text-transform: uppercase;
    font-family: 'HelveticaNeueLTPro75Bold', sans-serif;
    letter-spacing: 0px;
}

.social-links-header .social-link:hover {
    text-decoration: underline;
}

.social-links-header .social-link:last-child {
    margin-bottom: 0;
}

/* --- Navigation Menu --- */
.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-navigation ul li {
    position: relative;
}

.main-navigation ul li a {
    color: #333;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0px;
    font-family: 'HelveticaNeueLTPro75Bold', sans-serif;
    padding: 0 5px;
}

.main-navigation ul li.separator {
    color: #333;
    font-weight: 300;
    user-select: none;
}

.home-video-player {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    left: 0% !important;
    top: 0% !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .site-header {
        position: relative;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .site-header .row {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        position: static;
    }

    .site-header .col-4 {
        flex-grow: 0;
        flex-basis: auto;
        padding: 0 10px;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
    }

    /* Left column - Button left */
    .site-header .col-4:first-child {
        width: 15%;
        text-align: left !important;
        justify-content: flex-start !important;
    }

    /* Center column - Logo */
    .site-header .col-4:nth-child(2) {
        width: 50%;
        display: flex;
        justify-content: center !important;
    }

    /* Right column - Social right */
    .site-header .col-4:last-child {
        width: 25%;
        display: flex !important;
        text-align: right !important;
        justify-content: flex-end !important;
    }

    .header-logo {
        height: auto !important;
        max-height: 100px;
        width: 100%;
        max-width: 250px;
        object-fit: contain;
    }

    .social-links-header {
        flex-direction: row !important;
        /* Horizontal on mobile */
        gap: 15px;
    }

    /* Mobile Menu Custom Styles */
    #mobileMenu {
        background-color: #fcfcfc;
        color: #2b2b2b;
    }

    #mobileMenu .offcanvas-title {
        color: #2b2b2b;
        font-family: "Helvetica Neue", Helvetica, sans-serif;
        letter-spacing: 0.1em;
    }

    #mobileMenu .offcanvas-body a {
        color: #2b2b2b !important;
        font-family: 'Baskerville', serif;
        font-size: 1.5rem;
        text-decoration: none;
        display: block;
        padding: 18px 25px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    #mobileMenu .offcanvas-body a:hover {
        color: #000 !important;
        background-color: rgba(0, 0, 0, 0.05);
        /* Adjusted from rgba(255, 255, 255, 0.1) for contrast */
    }
}

/* -----------------------------------------------------------
   OVERLAY TEXT SECTION (HERO EDITORIAL)
----------------------------------------------------------- */
.hero-overlay-title {
    font-family: 'HelveticaNeueLTPro75Bold', sans-serif;
    /* Strong sans-serif */
    font-weight: 900;
    font-size: 3.5rem;
    /* Mobile default */
    line-height: 1;
    color: #f15a24;
    /* Updated Orange */
    text-transform: uppercase;
    letter-spacing: -2px;
}

.hero-overlay-subtitle {
    font-family: 'HelveticaNeueLTPro75Bold', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #2b2b2b;
    /* Updated Dark Grey */
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-right-text {
    font-family: 'HelveticaNeueLTPro75Bold', sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    line-height: 0.95;
    color: #2b2b2b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Desktop Overrides */
@media (min-width: 992px) {
    .hero-overlay-title {
        font-size: 8rem;
        /* Big impact on desktop */
    }

    .overlay-text-container {
        margin-top: -240px !important;
        /* Overlap 2 lines (approx) */
    }

    .hero-right-content {

        margin-top: 480px !important;
    }
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .overlay-text-container {
        margin-top: -80px !important;
        /* Overlap more on mobile */
        padding-left: 0 !important;
        text-align: center;
    }

    .hero-overlay-title,
    .hero-overlay-subtitle {
        text-align: center;
    }

    .hero-overlay-title {
        font-size: 2.5rem !important;
    }

    .hero-right-content {
        padding-right: 0 !important;
        margin-top: 0 !important;
        text-align: center;
        padding-top: 0 !important;
    }

    .hero-right-text {
        font-size: 1rem !important;
    }
}

/* -----------------------------------------------------------
   ASÍ SOMOS SECTION
----------------------------------------------------------- */
.asi-somos-title-box {
    border: 1px solid #333 !important;
    background-color: #f7f8f5;
    /* Same as body */
    border-radius: 0px 0px 30px 0px;
    /* Top-Left, Top-Right, Bottom-Right (Round), Bottom-Left */
    padding: 10px 40px !important;
    /* More padding horizontal */
}

.asi-somos-title-box h2 {
    font-family: 'HelveticaNeueLTPro75Bold', sans-serif;
}

.asi-somos-content h3 {
    font-family: 'HelveticaNeueLTPro75Bold', sans-serif;
}

.asi-somos-content p {
    font-family: 'HelveticaNeueLTPro45Light', sans-serif;
    font-weight: 300;
}

/* Card Hover Effect */
.asi-somos-card:hover .asi-somos-bg {
    transform: scale(1.05);
    /* Slight zoom on hover */
}

@media (max-width: 767px) {
    .asi-somos-card {
        height: 350px !important;
        /* Smaller on mobile */
        margin-bottom: 15px;
    }
}

/* Post Grid Centering & Gaps */
.grid-post-col {
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .grid-post-col:nth-child(odd) {
        padding-right: 5px;
    }

    .grid-post-col:nth-child(even) {
        padding-left: 5px;
    }
}

@media (max-width: 767px) {
    .grid-post-col {
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 20px;
    }
}

.notes-grid-section {
    padding-top: 150px;
    padding-bottom: 150px;
}

@media (max-width: 767px) {
    .notes-grid-section {
        padding-top: 100px !important;
        padding-bottom: 100px !important;
    }
}

.trending-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 767px) {
    .trending-section {
        margin-top: 0 !important;
        margin-bottom: 100px !important;
    }
}

/* -----------------------------------------------------------
   TRENDINGS SECTION
----------------------------------------------------------- */
.trending-title-box {
    border: 1px solid #333 !important;
    background-color: #f7f8f5;
    border-radius: 0px 0px 40px 0px;
    /* Enhanced curve */
    padding: 10px 40px !important;
}

.trending-title-box h2 {
    font-family: 'HelveticaNeueLTPro75Bold', sans-serif;
}

.trending-card-title {
    font-family: 'HelveticaNeueLTPro75Bold', sans-serif;
    text-transform: uppercase;
}

.trending-card-excerpt {
    font-family: 'HelveticaNeueLTPro45Light', sans-serif;
    font-weight: 300;
}

.trending-arrow {
    transform: translateY(-2px);
    /* Slight visual alignment */
    color: #444;
    /* Slightly lighter than black? or kept dark */
}

/* -----------------------------------------------------------
   SUBSCRIPTION MODULE
----------------------------------------------------------- */
/* Inner Page Subscription specific */
.subscription-section {
    background-image: url('assets/img/hoja_black.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
    padding-bottom: 100px;
    margin-bottom: 0 !important;
}

.subscription-header-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 3.5rem;
    margin-top: 150px;
    margin-bottom: 150px;
    text-align: center;
}

.subscription-title {
    font-family: 'HelveticaNeueLTPro75Bold', sans-serif;
    font-weight: bold;
    font-size: 5rem;
    color: #1eb40e;
    line-height: 0.8;
    text-transform: uppercase;
    margin: 0;
    text-align: left;
}

.subscription-subtitle {
    font-family: 'HelveticaNeueLTPro75Bold', sans-serif;
    font-weight: bold;
    font-size: 1.8rem;
    color: #2b2b2b;
    line-height: 1;
    text-transform: lowercase;
    text-align: left;
    margin-top: -1.3rem;
    /* Overlap effect */
    margin-left: 18rem;
    /* Balanced for centered look */
    z-index: 2;
    position: relative;
}

/* Custom Input Style */
.subscription-input {
    background-color: transparent !important;
    border: 1px solid #999 !important;
    border-radius: 0 !important;
    /* Square corners as requested */
    padding: 15px !important;
    font-family: 'HelveticaNeueLTPro55Roman', sans-serif;
    font-weight: normal;
    color: #fff !important;
    font-size: 0.9rem;
}

.subscription-input::placeholder {
    color: #666;
    opacity: 1;
}

.subscription-input:focus {
    box-shadow: none !important;
    border-color: #333 !important;
}

/* Button */
.subscription-btn {
    background-color: #1eb40e;
    /* Vibrant Green */
    color: #fff !important;
    border: none;
    padding: 12px 25px;
    font-family: 'HelveticaNeueLTPro75Bold', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 0 30px 0 0;
    /* Only top-right rounded */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 250px;
    /* Fixed width to match spread look */
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    transition: background-color 0.3s ease;

    /* Stick to bottom */
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.subscription-btn:hover {
    background-color: #16920a;
    /* Darker Green */
}

.subscription-btn-orange {
    background-color: #f15a24 !important;
    transition: background-color 0.3s ease;
}

.subscription-btn-orange:hover {
    background-color: #d84a1a !important;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .subscription-title {
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 10px !important;
    }

    .subscription-header-wrapper {
        margin-top: 80px !important;
        margin-bottom: 80px !important;
    }

    .subscription-subtitle {
        text-align: center;
        font-size: 1.2rem;
        margin-top: 0;
        margin-left: 0;
    }

    .subscription-btn {
        border-radius: 0px 30px 0px 0px !important;
    }
}

/* -----------------------------------------------------------
   EDICIONES SECTION
----------------------------------------------------------- */
.ediciones-btn-orange {
    background-color: #f15a24 !important;
    color: #fff !important;
    border: none;
    font-family: 'HelveticaNeueLTPro75Bold', sans-serif;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.ediciones-main-title,
.ediciones-main-title span {
    font-family: 'HelveticaNeueLTPro75Bold', sans-serif !important;
}

.ediciones-description-box {
    font-family: 'HelveticaNeueLTPro75Bold', sans-serif !important;
    line-height: 1.2;
    font-size: 35px;
}

@media (max-width: 767px) {
    .ediciones-description-box {
        font-size: 25px !important;
        text-align: center;
    }

    .ediciones-big-image-wrapper,
    .ediciones-small-img-wrapper {
        text-align: center !important;
    }

    .ediciones-big-image-wrapper img,
    .ediciones-small-img-wrapper img {
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
    }

    .ediciones-big-image-wrapper p,
    .ediciones-small-img-wrapper p {
        font-size: 30px !important;
    }
}

.ediciones-big-image-wrapper p,
.ediciones-small-img-wrapper p {
    font-family: 'Asap Condensed', sans-serif !important;
    font-weight: 300 !important;
    letter-spacing: 0.5px;
}

.ediciones-btn-orange:hover {
    background-color: #d1400d !important;
    /* Darker orange */
    color: #fff !important;
}

/* -----------------------------------------------------------
   FOOTER STYLES
----------------------------------------------------------- */
.site-footer {
    background-color: #2b2b2b !important;
    /* Updated to user request */
    color: #f15a24;
    font-family: 'HelveticaNeueLTPro75Bold', sans-serif;
    padding-top: 100px;
    padding-bottom: 100px;
}

.footer-link {
    color: #f15a24 !important;
    font-family: 'HelveticaNeueLTPro75Bold', sans-serif;
    font-weight: bold;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #fff !important;
}

.footer-social-link {
    color: #f15a24 !important;
    font-family: 'HelveticaNeueLTPro75Bold', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-social-link:hover {
    color: #fff !important;
}

/* Search Form in Footer */
.footer-search .search-form {
    border: 1px solid #fff;
    background-color: #fff !important;
    max-width: 250px;
}

.footer-search .search-field {
    color: #333;
    width: 100%;
    outline: none;
}


/* -----------------------------------------------------------
   CATEGORY PAGE STYLES
----------------------------------------------------------- */
.category-header-wrapper {
    margin-bottom: 4rem;
}

.category-title {
    font-family: 'HelveticaNeueLTPro75Bold', sans-serif !important;
    font-size: 6rem;
    color: #f15a24;
    line-height: 1;
    letter-spacing: -2px;
}

.category-description {
    font-family: 'HelveticaNeueLTPro55Roman', sans-serif !important;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.3;
}

/* WordPress wraps the description in <p> tags — remove their margin */
.category-description p {
    margin: 0 !important;
    padding: 0;
}

@media (min-width: 992px) {
    .category-description {
        margin-top: -1.5rem;
        /* Pull up so first line aligns with bottom of title */
        padding-left: 25%;
        /* Push to the right, past the title text */
    }
}

@media (max-width: 991px) {
    .category-title {
        font-size: 3.5rem;
        text-align: center;
        margin-bottom: 1rem !important;
    }

    .category-description {
        text-align: center;
        padding: 0 15px;
        margin-top: -40px;
    }
}

/* -----------------------------------------------------------
   SINGLE POST STYLES
----------------------------------------------------------- */
.single-title {
    font-size: 6rem;
    /* Huge title */
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    letter-spacing: -2px;
}

@media (max-width: 991px) {
    .single-title {
        font-size: 3.5rem;
    }

    .single-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
    }
}

/* -----------------------------------------------------------
   SUBSCRIPTION MODULE (INTERIOR)
----------------------------------------------------------- */
.subscription-section-interior {
    background-image: url('assets/img/hoja_black.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
    padding-top: 80px;
    padding-bottom: 100px;
    margin-bottom: 0 !important;
}

@media (max-width: 767px) {

    .subscription-section,
    .subscription-section-interior {
        padding-top: 40px !important;
    }
}

.subscription-header-wrapper-interior {
    position: relative;
    width: 100%;
    margin-bottom: 2.5rem;
    margin-top: 60px;
    margin-bottom: 60px;
    text-align: center;
}

.subscription-title-interior {
    font-family: 'HelveticaNeueLTPro75Bold', sans-serif;
    font-weight: bold;
    font-size: 3.5rem;
    color: #1eb40e;
    line-height: 0.8;
    text-transform: uppercase;
    margin: 0;
    text-align: left;
}

.subscription-subtitle-interior {
    font-family: 'HelveticaNeueLTPro75Bold', sans-serif;
    font-weight: bold;
    font-size: 1.3rem;
    color: #2b2b2b;
    line-height: 1;
    text-transform: lowercase;
    text-align: left;
    margin-top: -1rem;
    margin-left: 19rem;
    /* Balanced for centered look */
    z-index: 2;
    position: relative;
}

.subscription-input-interior {
    background-color: transparent !important;
    border: 1px solid #999 !important;
    border-radius: 0 !important;
    padding: 10px !important;
    font-family: 'HelveticaNeueLTPro55Roman', sans-serif;
    font-weight: normal;
    color: #fff !important;
    font-size: 0.8rem;
}

.subscription-input-interior::placeholder {
    color: #666;
    opacity: 1;
}

.subscription-input-interior:focus {
    box-shadow: none !important;
    border-color: #333 !important;
}

.subscription-btn-interior {
    background-color: #1eb40e;
    color: #fff !important;
    border: none;
    padding: 8px 15px;
    font-family: 'HelveticaNeueLTPro75Bold', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 0 30px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 200px;
    /* Narrower button */
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    transition: background-color 0.3s ease;

    /* Stick to bottom */
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.subscription-btn-interior:hover {
    background-color: #16920a;
}

@media (max-width: 767px) {
    .subscription-title-interior {
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 10px !important;
    }

    .subscription-subtitle-interior {
        text-align: center;
        font-size: 1.2rem;
        margin-left: 0;
        margin-top: 0;
    }

    .subscription-btn-interior {
        border-radius: 0 30px 0 0 !important;
    }
}

/* Footer specific: Float UP */
.footer-search .search-results-dropdown {
    top: auto;
    bottom: 100%;
    margin-top: 0;
    margin-bottom: 10px;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 15px;
    text-decoration: none !important;
    color: #333 !important;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: #f9f9f9;
}

.search-result-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    margin-right: 20px;
    border-radius: 4px;
    background-color: #eee;
}

.search-result-content {
    flex: 1;
}

.search-result-title {
    display: block;
    font-family: 'HelveticaNeueLTPro75Bold', sans-serif !important;
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.2;
    margin-bottom: 5px;
    color: #000 !important;
    text-align: left;
}

.search-result-excerpt {
    font-family: 'HelveticaNeueLTPro45Light', sans-serif !important;
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
    text-align: left;
}

.search-loading,
.search-no-results,
.search-error {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 0.95rem;
    font-style: italic;
    background: #fff;
    border-radius: 8px;
}

/* --- CATEGORY PAGINATION --- */
.pagination {
    margin-top: 40px;
    width: 100% !important;
    display: block !important;
}

.pagination .nav-links {
    display: flex !important;
    justify-content: center !important;
    gap: 10px;
    flex-wrap: wrap;
    width: 100% !important;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    font-family: 'HelveticaNeueLTPro75Bold', sans-serif;
    font-weight: bold;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.pagination .page-numbers:hover {
    background-color: #f15a24;
    /* Orange accent */
    color: #fff !important;
    border-color: #f15a24;
}

.pagination .page-numbers.current {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    font-size: 1.2rem;
    line-height: 1;
}

.pagination .page-numbers.dots {
    border: none;
    background: transparent;
    cursor: default;
}

@media (max-width: 767px) {
    .pagination .page-numbers {
        min-width: 40px;
        height: 40px;
        padding: 0 10px;
        font-size: 0.9rem;
    }

    .pagination .nav-links {
        justify-content: center !important;
    }

    .pagination {
        margin-bottom: 40px !important;
    }
}

/* --- CATEGORY POST CARDS --- */
.post-title {
    font-size: 18px !important;
}

.post-excerpt {
    font-size: 16px !important;
}

.single-title {
    font-size: 4rem !important;
    line-height: 1;
}

@media (max-width: 767px) {
    .single-title {
        font-size: 1.8rem !important;
    }
}

/* --- ADVERTISING SLOTS --- */
.google-ad-container {
    min-height: 280px;
    width: 100%;
    margin-bottom: 2rem;
    text-align: center;
    background-color: transparent;
    display: block;
    overflow: hidden;
}

.image-ad-container {
    margin-bottom: 2rem;
    display: block;
    text-align: center;
}

.image-ad-container img {
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Notes Grid Mobile Fix */
@media (max-width: 767px) {
    .grid-post-col {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .notes-grid-section .row {
        justify-content: center;
    }
}

/* --- CONTACT FORM --- */
.category-masonry-grid {
    column-count: 3;
    column-gap: 2rem;
    width: 100%;
}

.category-post-card {
    display: block;
    /* Standard block for column flow */
    width: 100%;
    break-inside: avoid;
    margin-bottom: 3rem;
    text-align: center;
    /* Centering the inner wrapper */
}

.category-post-content-inner {
    display: inline-block;
    /* Shrink-wrap to content width */
    max-width: 100%;
    text-align: left;
    /* Reset text align for reading */
}

.category-post-card img {
    display: block;
    margin: 0 auto;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

@media (max-width: 991px) {
    .category-masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 575px) {
    .category-masonry-grid {
        column-count: 1;
    }
}

/* --- SUBSCRIPTION MODULE --- */
.subscription-input,
.subscription-input-interior {
    color: #2b2b2b !important;
}

/* --- SINGLE POST SIDEBAR --- */
.single-sidebar {
    max-width: 200px;
}

/* --- POST CONTENT IMAGES --- */
.entry-content img {
    max-width: 100% !important;
    width: 80%;
    max-height: 600px;
    height: auto;
    display: block;
    margin: 2.5rem auto;
}

/* --- POST CONTENT SPACING & TYPOGRAPHY --- */
.entry-content p {
    margin-bottom: 2rem;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    font-family: 'HelveticaNeueLTPro75Bold', sans-serif !important;
    font-weight: bold;
    line-height: 1.2;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.8rem;
}

.entry-content blockquote {
    margin: 3rem 0;
    padding: 1.5rem;
    padding-left: 2rem;
    border-left: 5px solid #f15a24;
    background-color: rgba(241, 90, 36, 0.05);
    /* very light orange tint matching the theme primary color */
    font-style: italic;
    color: #444;
    font-size: 1.2rem;
}

.entry-content figure,
.entry-content iframe,
.entry-content video {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.entry-content iframe,
.entry-content video,
.entry-content embed,
.entry-content object {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
}

/* --- NOTA 2 LAYOUT --- */
.bg-primary-custom {
    background-color: #4b36e3;
    /* Vibrant Blue/Purple from reference */
}

.design-nota-2 {
    overflow: hidden;
}

.nota-2-img-container {
    height: 100%;
    min-height: 500px;
}

.nota-2-text-block {
    max-width: 500px;
}

.nota-2-excerpt {
    font-family: 'HelveticaNeueLTPro55Roman', sans-serif;
    font-size: 1.5rem;
    line-height: 1.4;
    letter-spacing: 1px;
    font-weight: bold;
    text-align: justify;
}

.nota-2-excerpt p {
    margin: 0;
}

@media (max-width: 767px) {
    .nota-2-img-container {
        min-height: auto;
        height: auto;
    }

    .nota-2-text-block {
        max-width: 100%;
        width: 100%;
        padding: 2rem 1rem !important;
    }

    .nota-2-excerpt {
        font-size: 1.2rem;
    }

    .asi-somos-title-box,
    .trending-title-box {
        border-radius: 0px 0px 30px !important;
    }
}

/* Temporary: Hide Podcast from menu */
[class*="podcast"] {
    display: none !important;
}

/* Custom styles for Swiper navigation on mobile */
@media (max-width: 767px) {

    .trending-section .swiper-custom-prev,
    .trending-section .swiper-custom-next {
        top: 130px !important;
        background-color: rgba(247, 248, 245, 0.6) !important;
        /* Semi-transparent */
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        border: 1px solid #333 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
        transition: background-color 0.2s ease, transform 0.2s ease;
    }

    .trending-section .swiper-custom-prev {
        left: 10px !important;
        right: auto !important;
    }

    .trending-section .swiper-custom-next {
        right: 10px !important;
        left: auto !important;
    }

    .trending-section .swiper-custom-prev:active,
    .trending-section .swiper-custom-next:active {
        transform: scale(0.9) !important;
        background-color: #333 !important;
    }

    .trending-section .swiper-custom-prev:active svg,
    .trending-section .swiper-custom-next:active svg {
        fill: #fff !important;
    }
}