.page-header.type3.sticky-header ~ .custom-top-bar-fixed {
    /* display: none !important; */
}

.page-header.type3.sticky-header .header-main {
    margin-top: 41px !important;
}

.custom-top-bar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #f1f1f1;
    padding: 8px 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.custom-top-bar-fixed .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.custom-top-bar-fixed ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.custom-top-bar-fixed ul li {
    border-radius: 25px;
    background: black;
    padding: 3px 15px;
}

.custom-top-bar-fixed ul li a {
    color: white;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
}

.custom-top-bar-fixed ul li a:hover {
    text-decoration: underline;
}

/* Ocultar el header por defecto page-header type3 */
.page-header.type3 {
    display: none !important;
}

/* Desplazar el contenido hacia abajo para que no lo tape */
body {
    padding-top: 40px; /* Ajusta según el alto real de la barra */
}

/* Blog Grid Responsive - 3 columnas desktop, 2 tablet, 1 móvil */
.amblog-container-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 -10px;
}

.amblog-container-list .amblog-post-container a {
    height: auto;
}

/* Desktop - 3 columnas */
.amblog-container-list .amblog-post-container {
    position: relative;
    width: calc(33.333% - 20px);
    flex: 0 0 calc(33.333% - 20px);
    margin: 0;
    padding: 0px;
    box-sizing: border-box;
}
.amblog-container-list .amblog-post-container .amblog-content {
    padding: 0 25px !important;
}

/* Tablet - 2 columnas (max-width: 1024px) */
@media screen and (max-width: 1024px) {
    .amblog-container-list .amblog-post-container {
        width: calc(50% - 20px);
        flex: 0 0 calc(50% - 20px);
    }
}

/* Móvil - 1 columna (max-width: 768px) */
@media screen and (max-width: 768px) {
    .amblog-container-list {
        gap: 15px;
    }
    
    .amblog-container-list .amblog-post-container {
        width: 100%;
        flex: 0 0 100%;
        padding: 0;
    }
}