@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}



/* ------ UTILITIES ------ */
:root {

    --vib-dark-green-1: #007939;
    --vib-dark-green-2: #006C3C;

    --vib-light-green-1: #7FD047;
    --vib-light-green-2: #63C349;

    --vib-dark-blue-1: #000B3D;
    --vib-dark-blue-2: #000000;

    --vib-light-blue-1: #00AADE;
    --vib-light-blue-2: #006F89;

    --vib-white: #FFFFFF;
    --vib-black: #000000;
    --vib-gray: #eff0f1;

    --font-family-1: "Open Sans", sans-serif;
    --font-family-2: "Open Sans", sans-serif;

    /*
    --font-family-1: "Roboto", sans-serif;
    --font-family-2: "Roboto", sans-serif;
    */
}


.slider-section {
    width: 100%;
    overflow: hidden;
    padding: 3rem 0;
    position: relative;
    background: var(--vib-white);
}

.slider-track {
    display: flex;
    gap: 2rem;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.slider-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .375rem .875rem;
    background: var(--vib-white);
    border: 1px solid var(--vib-black);
    border-radius: 50px;
    white-space: nowrap;
    font-family: var(--font-family-2);
    font-size: 1rem;
}

.slider-item i {
    display: flex;
    color: var(--ghosxt-red-1);
    font-size: 1.5rem;
}

body {
    padding: 0;
    margin: 0;
    font-family: var(--font-family-1);
}


/* ------ SCROLL TO TOP BUTTON ------ */
.scroll-to-top {
    position: fixed;
    bottom: 7rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    color: var(--vib-dark-blue-1);
    background: var(--vib-light-green-1);
    border: 2px dashed var(--vib-dark-blue-1);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-4px);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

.scroll-to-top i {
    font-size: 1.25rem;
    color: var(--vib-dark-blue-1);
    display: flex;
}
/* ------ COOKIE BANNER ------ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--vib-white);
    border-top: 2px solid var(--vib-dark-blue-1);
    z-index: 1000;
    padding: 1.5rem 24px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
}

.cookie-icon {
    width: 50px;
    height: 50px;
    background: var(--vib-light-green-1);
    border: 2px dashed var(--vib-dark-blue-1);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cookie-icon i {
    font-size: 1.5rem;
    color: var(--vib-dark-blue-1);
    display: flex;
}

.cookie-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cookie-message {
    font-family: var(--font-family-2);
    font-size: 0.95rem;
    color: var(--vib-dark-blue-1);
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

.cookie-link {
    font-family: var(--font-family-2);
    font-size: 0.875rem;
    color: var(--vib-dark-blue-1);
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s ease;
    width: fit-content;
}

.cookie-link:hover {
    opacity: 0.7;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: 2px dashed var(--vib-dark-blue-1);
    border-radius: 2px;
    font-family: var(--font-family-2);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-secondary {
    background: var(--vib-white);
    color: var(--vib-dark-blue-1);
}

.cookie-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 5px 5px 0 0 var(--vib-dark-blue-1);
}

.cookie-btn-primary {
    background: var(--vib-light-green-1);
    color: var(--vib-dark-blue-1);
}

.cookie-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 5px 5px 0 0 var(--vib-dark-blue-1);
}

/* Adjust scroll-to-top button when banner is visible */
.cookie-banner.visible ~ .scroll-to-top {
    bottom: 140px;
    transition: bottom 0.4s ease, all 0.3s ease;
}

/* Responsive */
@media (max-width: 968px) {
    .cookie-banner-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }

    .cookie-content {
        align-items: flex-start;
    }

    .cookie-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 640px) {
    .cookie-banner {
        padding: 1.25rem 24px;
    }

    .cookie-icon {
        width: 45px;
        height: 45px;
    }

    .cookie-icon i {
        font-size: 1.35rem;
    }

    .cookie-message {
        font-size: 0.9rem;
    }

    .cookie-actions {
        flex-direction: column;
        gap: 0.625rem;
    }

    .cookie-btn {
        width: 100%;
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 1rem 24px;
    }

    .cookie-message {
        font-size: 0.85rem;
    }

    .cookie-link {
        font-size: 0.8rem;
    }
}

/* ------ TOP BANNER ------ */
.top-banner {
    top: 0;
    left: 0;
    right: 0;
    background: var(--vib-dark-blue-1);
    color: var(--vib-white);
    z-index: 1001;
    padding: 0 24px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.top-banner.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.banner-container {
    max-width: 1400px;
    margin: 0 auto;
    height: auto;
    padding: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.banner-text {
    font-family: var(--font-family-2);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--vib-white);
}

.banner-btn {
    padding: 0.375rem 0.875rem;
    background: var(--vib-light-green-1);
    color: var(--vib-dark-blue-1);
    border-radius: 2px;
    text-decoration: none;
    font-family: var(--font-family-2);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.banner-btn:hover {
    transform: translateY(-2px);
}

.banner-btn i {
    display: flex !important;
}

.banner-close {
    position: absolute;
    right: 0;
    background: none;
    border: none;
    color: var(--vib-white);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: opacity 0.2s ease;
}

.banner-close:hover {
    opacity: 0.7;
}

.navbar {
    top: 48px;
    transition: top 0.3s ease;
}

.top-banner.hidden ~ .navbar {
    top: 0;
}

.hero-section {
    padding-top: 142px; /* 48px banner + 70px navbar + 24px extra */
    transition: padding-top 0.3s ease;
}

.top-banner.hidden ~ * .hero-section,
body:has(.top-banner.hidden) .hero-section {
    padding-top: 94px; /* 70px navbar + 24px extra */
}


/* ------ NAVBAR ------ */
.navbar {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 24px;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.navbar-left {
    display: flex;
    align-items: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--vib-black);
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-logo img {
    width: 150px;
    height: auto;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-link {
    color: var(--vib-dark-blue-1);
    text-decoration: none;
    font-family: var(--font-family-2);
    font-size: 1.2rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: opacity 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar-link:hover {
    color: var(--vib-light-blue-1);
}

.navbar-dropdown {
    position: relative;
}

.dropdown-trigger i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.navbar-dropdown:hover .dropdown-trigger i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--vib-white);
    border: 1px solid var(--vib-black);
    border-radius: 2px;
    padding: 0.5rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 2px 2px 0 0 var(--vib-black);
}

.navbar-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-item {
    display: block;
    padding: 0.625rem 0.875rem;
    color: var(--vib-black);
    text-decoration: none;
    font-family: var(--font-family-2);
    font-size: 0.95rem;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.navbar-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-right {
    display: flex;
    gap: 1rem;
}

.theme-toggle {
    background: none;
    border: 1px solid var(--vib-black);
    border-radius: 100px;
    padding: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-track {
    position: relative;
    width: 56px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
}

.toggle-icon {
    font-size: 0.75rem;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.moon-icon {
    color: var(--vib-black);
    opacity: 0.3;
}

.sun-icon {
    color: var(--vib-black);
    opacity: 1;
}

.toggle-thumb {
    position: absolute;
    left: 2px;
    width: 24px;
    height: 24px;
    background: var(--vib-black);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.theme-toggle.dark .toggle-thumb {
    transform: translateX(28px);
}

.theme-toggle.dark .moon-icon {
    opacity: 1;
}

.theme-toggle.dark .sun-icon {
    opacity: 0.3;
}

.navbar-btn {
    padding: 1rem 1.25rem;
    border: 1px dashed var(--vib-dark-blue-1);
    border-radius: 2px;
    text-decoration: none;
    font-family: var(--font-family-2);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: stretch;
    gap:10px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-whatsapp {
    background: var(--vib-light-green-1);
    color: var(--vib-dark-blue-1);
    border: 2px dashed var(--vib-dark-blue-1);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 5px 5px 0 var(--vib-dark-blue-1);
}

.whatsapp-icon {
    width: 45px;
    height: auto;
    display: block;
    transition: transform 0.2s ease;
}

.whatsapp-icon:hover {
    transform: scale(1.1);
}

.navbar-mobile-toggle {
    display: none;
    background: var(--vib-dark-blue-1);
    border: 1px solid var(--vib-dark-blue-1);
    border-radius: 2px;
    padding: 0.5rem;
    cursor: pointer;
    font-size: 1.25rem;
}

.navbar-mobile-toggle i {
    display: flex;
    color: var(--vib-light-green-1);
}

.navbar-mobile-menu {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    background: var(--vib-white);
    border-bottom: 1px solid var(--vib-black);
    max-height: calc(100vh - 71px);
    overflow-y: auto;
    padding: 1rem 24px;
    flex-direction: column;
    gap: 0.5rem;
}

.navbar-mobile-menu.active {
    display: flex;
    background: var(--vib-gray);
    z-index: 100;
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.navbar-overlay {
    position: fixed;
    top: 119px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.navbar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.top-banner.hidden ~ .navbar-overlay {
    top: 71px;
}

@media (max-width: 968px) {
    .navbar-overlay {
        top: 160px;
    }
}

@media (max-width: 640px) {
    .navbar-overlay {
        top: 130px;
    }

    .top-banner.hidden ~ .navbar-overlay {
        top: 61px;
    }
}

.mobile-link {
    padding: 0.75rem 1rem;
    color: var(--vib-black);
    text-decoration: none;
    font-family: var(--font-family-2);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.mobile-link:hover {
    background: rgba(0, 0, 0, 0.05);
}

.mobile-accordion {
    border-radius: 4px;
    overflow: hidden;
}

.mobile-accordion-trigger {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--vib-white);
    border: none;
    color: var(--vib-black);
    font-family: var(--font-family-2);
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.mobile-accordion-trigger i {
    font-size: 0.875rem;
    transition: transform 0.2s ease;
}

.mobile-accordion.active .mobile-accordion-trigger i {
    transform: rotate(180deg);
}

.mobile-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.02);
}

.mobile-accordion.active .mobile-accordion-content {
    max-height: 500px;
}

.mobile-dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--vib-black);
    text-decoration: none;
    font-family: var(--font-family-2);
    font-size: 0.95rem;
    transition: background 0.2s ease;
}

.mobile-dropdown-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-btn {
    padding: 0.75rem 1rem;
    border: 1px solid var(--vib-black);
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--font-family-2);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.mobile-btn.btn-whatsapp {
    background: var(--vib-light-green-1);
    color: var(--vib-dark-blue-1);
    border: 2px dashed var(--vib-dark-blue-1);
}


/* ------ FOOTER SECTION ------ */
.footer {
    background: var(--vib-dark-blue-1);
    color: var(--vib-white);
    padding: 4rem 24px 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Footer Grid - 4 columnas */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-column-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--vib-light-green-1);
    font-family: var(--font-family-2);
    margin: 0;
    letter-spacing: 0.02em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li a,
.footer-links li {
    color: var(--vib-white);
    text-decoration: none;
    font-size: 0.95rem;
    font-family: var(--font-family-2);
    transition: all 0.3s ease;
    opacity: 1;
}

.footer-links hr{
    opacity: 0.2;
}

.footer-links li a:hover {
    color: var(--vib-light-green-1);
    opacity: 1;
    padding-left: 5px;
}

/* Footer Bottom - 3 Columnas */
.footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

/* Columna 1 - Logo y Nombre */
.footer-bottom-left {
    display: flex;
    justify-content: flex-start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo span {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--vib-light-green-1);
    font-family: var(--font-family-2);
}

/* Columna 2 - Copyright (Centrado) */
.footer-bottom-center {
    display: flex;
    justify-content: center;
    text-align: center;
}

.footer-copyright {
    margin: 0;
    font-size: 0.875rem;
    color: var(--vib-white);
    font-family: var(--font-family-2);
    opacity: 0.85;
}

/* Columna 3 - Desarrollado por (Derecha) */
.footer-bottom-right {
    display: flex;
    justify-content: flex-end;
    text-align: right;
}

.footer-developed {
    margin: 0;
    font-size: 0.875rem;
    color: var(--vib-white);
    font-family: var(--font-family-2);
}

.footer-dev-link {
    color: var(--vib-light-green-1);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-dev-link:hover {
    text-decoration: underline;
}

/* Responsive - Tablet */
@media (max-width: 968px) {
    .footer {
        padding: 3rem 24px 2rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-bottom-left,
    .footer-bottom-center,
    .footer-bottom-right {
        justify-content: center;
    }

    .footer-bottom-right {
        text-align: center;
    }
}

/* Responsive - Mobile */
@media (max-width: 640px) {
    .footer {
        padding: 2.5rem 24px 1.5rem;
    }

    .footer-container {
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-column {
        text-align: center;
        align-items: center;
    }

    .footer-links li a:hover {
        padding-left: 0;
    }

    .footer-bottom {
        gap: 1rem;
    }

    .footer-logo {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-copyright,
    .footer-developed {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .footer-column-title {
        font-size: 1rem;
    }

    .footer-links li a {
        font-size: 0.875rem;
    }

    .footer-logo span {
        font-size: 1rem;
    }

    .footer-copyright,
    .footer-developed {
        font-size: 0.75rem;
    }
}


/* ------ RESPONSIVE NAVBAR ------ */
@media (max-width: 1100px) {
    .navbar-menu {
        gap: 1.5rem;
    }

    .navbar-link {
        font-size: 0.95rem;
    }

    .navbar-btn {
        font-size: 0.95rem;
        padding: 0.45rem 0.9rem;
    }
}

@media (max-width: 968px) {
    .navbar-menu,
    .navbar-buttons .navbar-btn {
        display: none;
    }

    .navbar-mobile-toggle {
        display: block;
    }

    .navbar-buttons {
        gap: 0.75rem;
    }

    .navbar-right {
        flex-direction: row-reverse;
    }

    .navbar-mobile-menu {
        max-height: calc(100vh - 157px);
        padding: 12px 24px 24px 24px;
        top: 156px;
    }
}

@media (max-width: 640px) {
    .navbar-container {
        height: 60px;
    }

    .navbar-logo {
        font-size: 1.25rem;
    }

    .navbar-logo img {
        width: 100px;
        height: auto;
    }

    .navbar-mobile-menu {
        max-height: calc(100vh - 129px);
        padding: 12px 24px 24px 24px;
        top: 129px;
    }

    .theme-toggle {
        padding: 3px;
    }

    .toggle-track {
        width: 48px;
        height: 24px;
        padding: 0 4px;
    }

    .toggle-icon {
        font-size: 0.7rem;
    }

    .toggle-thumb {
        width: 20px;
        height: 20px;
    }

    .theme-toggle.dark .toggle-thumb {
        transform: translateX(24px);
    }

}

@media (max-width: 480px) {
    .navbar-logo span {
        font-size: 1.125rem;
    }
}

/* ------ RESPONSIVE SCROLL TO TOP ------ */
@media (max-width: 640px) {
    .scroll-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }
    .scroll-to-top i {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }

    .scroll-to-top i {
        font-size: 1rem;
    }
}


/* ------ RESPONSIVE BANNER ------ */
@media (max-width: 640px) {
    .top-banner {
        padding: 0 16px;
    }

    .banner-container {
        height: 44px;
    }

    .banner-text {
        font-size: 0.85rem;
    }

    .banner-btn {
        padding: 0.3rem 0.75rem;
        font-size: 0.85rem;
    }

    .banner-close {
        font-size: 0.9rem;
        padding: 0.375rem;
    }

  
}

@media (max-width: 480px) {
    .banner-content {
        gap: 0.75rem;
    }

    .banner-text {
        font-size: 0.8rem;
    }

    .banner-btn {
        padding: 0.25rem 0.625rem;
        font-size: 0.8rem;
    }
}






/* ========================================
   CONSULTORES VIB - BLOG STYLES
   Environmental Services Blog Layout
   ======================================== */

/* CSS Variables - Adjust these to match your theme colors */
:root {
    --vib-light-green-1: #7FD047;      /* Green */
    --cv-secondary: #8B4513;    /* Brown */
    --cv-accent: #FFD700;       /* Gold */
    --cv-text: #333333;
    --cv-text-light: #666666;
    --cv-border: #E0E0E0;
    --cv-bg: #FFFFFF;
    --cv-bg-alt: #F8F9FA;
}

/* ========================================
   BLOG LAYOUT
   ======================================== */

.blog-content-wrapper {
    display: flex;
    gap: 5rem;
}

/* Blog container */
.blog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem 2rem;
    display: flex;
    gap: 0;
    flex-direction: column;
}

.single-post-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem;
    display: flex;
    gap: 5rem;
    flex-direction: row;
}

/* Blog main content */
.blog-main,
.single-post-main {
    flex: 1;
}

/* Blog sidebar */
.blog-sidebar,
.single-post-sidebar {
    flex: 0 0 320px;
    max-width: 320px;
}

/* Blog header */
.blog-header {
}

.blog-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--vib-dark-blue-1);
    margin-bottom: 1.2rem;
}

.blog-description {
    font-size: 1.125rem;
    color: var(--vib-dark-blue-1);
    line-height: 1.6;
}

/* ========================================
   BLOG POST CARDS (Archive/Category Pages)
   ======================================== */

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-post-card {
    border: 2px solid var(--vib-dark-blue-1);
    background: var(--cv-bg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 1.5rem;
    border-radius: 2px;
}

.blog-post-card:hover {
    transform: translateY(-2px);
	box-shadow: 3px 3px 0 0 var(--vib-dark-blue-1);
}

.post-thumbnail {
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.post-thumbnail img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

/* ========================================
   POST HEADER & META
   ======================================== */

.post-header {
    margin-bottom: 1rem;
}

.post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.post-category {
    padding: 0.25rem 0.75rem;
    border: 2px solid var(--vib-dark-blue-1);
    background: var(--vib-light-green-1);
    color: var(--vib-dark-blue-1);
    font-size: 0.7rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.post-category:hover {
    background: ;
}

.post-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--vib-dark-blue-1);
    margin: 1rem 0 !important;
    line-height: 1.3;
}

.post-title a {
    color: inherit;
    text-decoration: none;
}

.post-title a:hover {
    color: var(--vib-light-blue-1);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--vib-dark-blue-1);
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta i {
    font-size: 0.875rem;
}

/* ========================================
   POST CONTENT
   ======================================== */

.post-excerpt {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--vib-dark-blue-1);
    margin-bottom: 1.5rem;
}

.post-content {
    font-size: 1.125rem;
    line-height: 1.5;
    color: var(--vib-dark-blue-1);
}

.post-content p {
    margin-bottom: 1rem !important;
    font-size: 1rem !important;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin: 2rem 0 1rem;
    color: var(--vib-dark-blue-1);
}

.post-footer {
    display: inline;
    border-top: 1px solid var(--cv-border);
    padding-top: 1rem;
}

.read-more {
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--vib-light-green-1);
    color: var(--vib-dark-blue-1);
    border: 2px solid var(--vib-dark-blue-1);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.read-more i {
    display: flex;
}

.read-more:hover {
    transform: translateY(-2px);
	box-shadow: 3px 3px 0 0 var(--vib-dark-blue-1);
}

/* ========================================
   SINGLE POST STYLES
   ======================================== */

.single-post-header {
    margin-bottom: 2rem;
}

.single-post .post-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.single-post .post-meta {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--cv-border);
}

.author-avatar {
    display: none;
    align-items: center;
    gap: 1rem;
}

.author-avatar img {
    border-radius: 50%;
}

.meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.featured-image {
    margin: 2rem 0;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--cv-border);
}

.featured-image img {
    width: 100%;
    height: auto;
}

.image-caption {
    text-align: center;
    font-style: italic;
    color: var(--cv-text-light);
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

/* ========================================
   POST FOOTER (Tags, Share, Author)
   ======================================== */

.single-post .post-footer {
    border-top: 1px solid var(--cv-border);
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    background: var(--cv-bg);
    color: var(--cv-text);
}

.post-tags {
    margin-bottom: 0;
}

.post-tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--cv-bg-alt);
    color: var(--cv-text);
    text-decoration: none;
    border-radius: 4px;
    margin: 0.25rem;
    font-size: 0.875rem;
    transition: background 0.2s ease;
}

.post-tag:hover {
    background: var(--vib-light-green-1);
    color: var(--cv-bg);
}

.post-share {
    display: none;
    background: var(--cv-bg);
    border-radius: 8px;
    margin-bottom: 2rem;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.share-buttons a {
    background: var(--vib-light-green-1) !important;
    border-radius: 0px;
}

.share-buttons i {
    display: flex;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--cv-bg);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.share-button:hover {
    transform: translateY(-2px);
}

.share-button.facebook { background: #3b5998; }
.share-button.twitter { background: #1da1f2; }
.share-button.linkedin { background: #0077b5; }
.share-button.email { background: var(--cv-secondary); }

/* Author Box */
.author-box {
    display: none !important;
    gap: 2rem;
    padding: 2rem;
    background: var(--cv-bg-alt);
    border-radius: 8px;
    margin: 2rem 0;
}

.author-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.author-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--vib-light-green-1);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
}

.author-link:hover {
    color: var(--cv-secondary);
}

/* ========================================
   RELATED POSTS
   ======================================== */

.related-posts {
    margin: 3rem 0;
}

.related-posts h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.related-post {
    border: 1px solid var(--cv-border);
    padding: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    transition: transform 0.2s ease;
}

.related-post:hover {
    transform: translateY(-4px);
}

.related-post-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.related-post-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.related-post-content a {
    color: var(--cv-text);
    text-decoration: none;
}

.related-post-content a:hover {
    color: var(--vib-light-green-1);
}

.related-post-date {
    font-size: 0.875rem;
    color: var(--cv-text-light);
}

/* ========================================
   SIDEBAR WIDGETS
   ======================================== */

.widget:first-child {
    display: none;
}

.blog-sidebar .widget,
.single-post-sidebar .widget {
    margin-bottom: 2rem;
    background: var(--vib-gray);
    padding: 1.5rem;
    border: 2px solid var(--vib-dark-blue-1);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--vib-dark-blue-1);
    margin-bottom: 1rem;
}

.categories-list,
.recent-posts,
.popular-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.categories-list li,
.recent-posts li,
.popular-posts li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--cv-border);
}

.categories-list li:last-child,
.recent-posts li:last-child,
.popular-posts li:last-child {
    border-bottom: none;
}

.categories-list a,
.recent-posts a,
.popular-posts a {
    color: var(--vib-dark-blue-1);
    text-decoration: none;
    font-weight: 600;
}

.categories-list a:hover,
.recent-posts a:hover,
.popular-posts a:hover {
    color: var(--vib-light-blue-1);
}

.categories-list .count {
    background: var(--vib-dark-blue-1);
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
}

.recent-posts .post-date,
.popular-posts .post-date {
    font-size: 0.875rem;
    color: var(--vib-dark-blue-1);
    display: block;
    margin-top: 0.25rem;
}

/* Popular Posts Layout */
.popular-posts li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.popular-post-thumbnail img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.popular-post-content h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

/* Author Mini Widget */
.author-mini {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.author-details h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.author-details p {
    font-size: 0.95rem;
    color: var(--cv-text-light);
    margin-bottom: 0.5rem;
}

.author-details a {
    color: var(--vib-light-green-1);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
}

.author-details a:hover {
    text-decoration: underline;
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-cloud a {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: var(--cv-bg-alt);
    color: var(--cv-text);
    text-decoration: none;
    border-radius: 2px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.tag-cloud a:hover {
    background: var(--vib-light-green-1);
    color: var(--cv-bg);
}

/* ========================================
   SEARCH FORM
   ======================================== */

.widget_search form {
    display: flex;
    gap: 0.5rem;
}

.widget_search input[type="search"] {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--cv-border);
    font-family: inherit;
}

.blog-sidebar input[type="submit"],
.widget_search button {
    padding: 0.75rem 1.5rem;
    background: var(--vib-light-green-1);
    color: var(--cv-bg);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease;
}

.blog-sidebar input[type="submit"] {
    color: var(--jr-white);
    cursor: pointer;
    padding: 0.75rem 1rem;
    background: var(--jr-black);
    border: 1px solid var(--jr-black);
}

.blog-sidebar form label {
    width: 100% !important;
}

.blog-sidebar input[type="submit"]:hover,
.widget_search button:hover {
    background: var(--vib-dark-green-1);
}

.search-form {
    display: flex;
}

.search-form input[type="submit"] {
    background: var(--vib-light-green-1);
    color: var(--vib-dark-blue-1);
    border: 2px solid var(--vib-dark-blue-1);
}

.search-form input[type="search"] {
    padding: 12px 0 12px 12px;
    border-top: 2px solid var(--vib-dark-blue-1);
    border-bottom: 2px solid var(--vib-dark-blue-1);
    border-left: 2px solid var(--vib-dark-blue-1);
    border-right: none;
    width: -webkit-fill-available;
}


/* ========================================
   PAGINATION
   ======================================== */

.blog-pagination {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--cv-border);
}

.navigation.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    color: var(--cv-text);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--cv-border);
    transition: all 0.2s ease;
}

.page-numbers.current,
.page-numbers:hover:not(.dots) {
    background: var(--vib-light-green-1);
    color: var(--cv-bg);
    border-color: var(--vib-light-green-1);
}

.page-numbers.dots {
    border: none;
}

.page-numbers.prev,
.page-numbers.next {
    padding: 0 1.25rem;
}

/* ========================================
   COMMENTS SECTION
   ======================================== */

.comments-area {
    margin-top: 3rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--cv-border);
}

.comments-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

#comments {
    margin-bottom: 2rem;
}

.comment {
    padding: 1.5rem;
    border: 1px solid var(--cv-border);
    margin-bottom: 1.5rem;
    background: var(--cv-bg-alt);
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.comment-author img {
    border-radius: 50%;
}

.comment-metadata {
    font-size: 0.875rem;
    color: var(--cv-text-light);
    margin-bottom: 1rem;
}

.comment-metadata a {
    color: var(--vib-light-green-1);
    text-decoration: none;
}

.comment-content {
    line-height: 1.6;
}

.comment-reply-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--vib-light-green-1);
    color: var(--cv-bg);
    text-decoration: none;
    font-size: 0.875rem;
    margin-top: 1rem;
    transition: background 0.2s ease;
}

.comment-reply-link:hover {
    background: var(--cv-secondary);
}

/* Comment Form */
.comment-respond {
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px solid var(--cv-border);
    background: var(--cv-bg-alt);
}

.comment-reply-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--cv-border);
    font-family: inherit;
    margin-bottom: 1rem;
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form .submit {
    padding: 0.75rem 1.5rem;
    background: var(--vib-light-green-1);
    color: var(--cv-bg);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.comment-form .submit:hover {
    background: var(--cv-secondary);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 968px) {
    .blog-container,
    .single-post-container {
        flex-direction: column;
        padding: 3rem 2rem;
    }
    
    .blog-content-wrapper {
        flex-direction: column;
    }
    
    .blog-sidebar,
    .single-post-sidebar {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .single-post .post-title {
        font-size: 2.25rem;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .related-posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 640px) {
    .blog-title {
        font-size: 2rem;
    }
    
    .single-post .post-title {
        font-size: 1.75rem;
    }
    
    .post-meta {
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .navigation.pagination {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .post-meta .author-avatar {
        display: none;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
}

/* ========================================
   NO POSTS MESSAGE
   ======================================== */

.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--cv-bg-alt);
    border: 1px solid var(--cv-border);
}

.no-posts h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--cv-text);
}

.no-posts p {
    color: var(--cv-text-light);
}