/* Sulu Content Blocks Styles */

/* Text Block Styles */
.text-block {
    padding: 60px 0;
}

.text-align-left { text-align: left; }
.text-align-center { text-align: center; }
.text-align-right { text-align: right; }

.narrow { max-width: 800px; margin: 0 auto; }

/* Features Block Styles */
.features-block {
    padding: 80px 0;
}

.features-wrapper {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.features-wrapper--grid.features-cols-2 { grid-template-columns: repeat(2, 1fr); }
.features-wrapper--grid.features-cols-3 { grid-template-columns: repeat(3, 1fr); }
.features-wrapper--grid.features-cols-4 { grid-template-columns: repeat(4, 1fr); }
.features-wrapper--grid.features-cols-6 { grid-template-columns: repeat(6, 1fr); }

.features-wrapper--list { grid-template-columns: 1fr; }
.features-wrapper--cards .feature-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.features-wrapper--cards .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-item {
    text-align: center;
}

.feature-item__icon {
    margin-bottom: 20px;
}

.feature-item__icon img {
    max-width: 60px;
    height: auto;
}

.feature-item__title {
    margin-bottom: 15px;
    font-size: 1.25rem;
    font-weight: 600;
}

.feature-item__description {
    margin-bottom: 20px;
}

.feature-item__link {
    color: #026BCA;
    text-decoration: none;
    font-weight: 500;
}

/* Image Text Block Styles */
.image-text-block {
    padding: 80px 0;
}

.image-text-block .flx {
    align-items: center;
    gap: 40px;
}

.image-text__image {
    flex: 0 0 50%;
}

.image-text__image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.image-text__content {
    flex: 1;
}

.image-text__image--top,
.image-text__image--bottom {
    flex: 0 0 100%;
    order: 1;
}

.image-text__image--bottom {
    order: 3;
}

.image-text__image--top ~ .image-text__content {
    order: 2;
}

/* Background colors */
.bg-white { background-color: #ffffff; }
.bg-light_gray { background-color: #f8f9fa; }
.bg-dark { background-color: #2c3e50; color: #ffffff; }
.bg-primary { background-color: #026BCA; color: #ffffff; }
.bg-secondary { background-color: #6c757d; color: #ffffff; }

/* CTA Block Styles */
.cta-block {
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    margin-bottom: 20px;
}

.cta-description {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    margin: 0;
}

/* Spacer Styles */
.spacer--small { height: 30px; }
.spacer--medium { height: 60px; }
.spacer--large { height: 100px; }
.spacer--xlarge { height: 150px; }

/* Price Block Enhanced Styles */
.price-block__item-wr--highlighted {
    position: relative;
}

.price-block__item-wr--highlighted::before {
    content: "Most Popular";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #026BCA;
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.price-block__item-wr--highlighted .price-block__item {
    border: 2px solid #026BCA;
    transform: scale(1.05);
}

/* Hero Block Enhanced Styles */
.hero--centered .container {
    text-align: center;
}

.hero--left_aligned .container {
    text-align: left;
}

.hero__bg--image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Responsive Design */
@media (max-width: 768px) {
    .features-wrapper--grid {
        grid-template-columns: 1fr;
    }
    
    .image-text-block .flx {
        flex-direction: column;
    }
    
    .image-text__image {
        flex: 0 0 100%;
        order: 1;
    }
    
    .image-text__content {
        order: 2;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .price-block {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .features-wrapper--grid.features-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-wrapper--grid.features-cols-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}
