/* AlloDentiste Events Widget Styles */

.allo-events-widget {
    background-color: #F5F5F5;
    padding: 80px 0;
    overflow: hidden;
}

.events-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--allo-gutter);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Left Content Column */
.events-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.events-top-text {
    font-size: 18px;
    font-style: italic;
    color: #666666;
    font-weight: 400;
    margin: 0;
}

.events-heading {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #1A1A1A;
    margin: 0;
}

.events-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
    margin: 0;
}

.events-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 4px 5px 4px 10px;
    background-color: #00A1AD !important;
    color: #FFFFFF !important;
    text-decoration: none;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 10px;
}

.events-button:hover {
    background-color: #008A95 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 161, 173, 0.3);
}

.events-button:active {
    transform: translateY(0);
}

/* Arrow icon after button text */
.events-button::after {
    content: '';
    width: 32px;
    height: 32px;
    background-color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%2300A1AD" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M7 17L17 7M17 7H7M17 7V17"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
}

/* Right Images Column */
.events-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.large-image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

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

.small-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.small-image {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .events-container {
        gap: 40px;
    }
    
    .events-heading {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .allo-events-widget {
        padding: 60px 0;
    }
    
    .events-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .events-heading {
        font-size: 32px;
    }
    
    .events-top-text {
        font-size: 16px;
    }
    
    .events-description {
        font-size: 15px;
    }
    
    .small-images {
        gap: 15px;
    }
    
    .events-images {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .events-heading {
        font-size: 28px;
    }
    
    .events-content {
        gap: 15px;
    }
}
