/* Blog Cards Styles */
.blog-item {
    height: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.blog-item img {
    width: 100%;
    height: 250px; /* Altura fija para todas las imágenes */
    object-fit: cover; /* Mantiene la proporción y cubre el espacio */
    object-position: center; /* Centra la imagen */
}

.blog-text {
    padding: 1.5rem;
    background: #fff;
}

.blog-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 600;
}

.blog-item p {
    color: #666;
    margin-bottom: 1.5rem;
}

.blog-item .badge {
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.blog-item .btn {
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

/* WhatsApp Button Styles */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 90px; /* Posicionado arriba del botón de subir */
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
}

.whatsapp-float i {
    margin-top: 0;
}

/* Language Controls Styles */
.language-controls {
    position: fixed;
    top: 80px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 8px;
    border-radius: 4px;
    z-index: 9999;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.flag-container {
    width: 80px;
    height: 50px;
    overflow: hidden;
    border-radius: 2px;
    flex-shrink: 0;
}

.flag-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.language-buttons {
    display: flex;
    gap: 1px;
}

.btn-lang {
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
}

.btn-lang.active {
    background-color: #003366;
    color: white !important;
}

.btn-lang:not(.active) {
    background-color: transparent;
    color: #003366 !important;
}

.btn-lang:first-child {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.btn-lang:last-child {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

/* Ensure carousel doesn't hide controls */
.owl-carousel {
    overflow: visible !important;
}

.owl-carousel .owl-stage-outer {
    overflow: visible !important;
}

.owl-carousel-item {
    overflow: visible !important;
}

.owl-carousel-item .owl-carousel-inner {
    z-index: 1;
} 