/* Maverick Content and Image Block Styles */

.maverick-contentandimage-block {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.contentandimage-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: 500px;
}

/* Layout Direction Control */
.maverick-contentandimage-block.content-right .contentandimage-wrapper {
    grid-template-columns: 1fr 1fr;
}

.maverick-contentandimage-block.content-right .content-section {
    order: 2;
}

.maverick-contentandimage-block.content-right .image-section {
    order: 1;
}

/* Content Section */
.content-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Section Title */
.section-title {
    margin-bottom: 10px;
}

.section-title span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Main Heading */
.main-heading {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    text-transform: none;
}

/* Tagline with Accent */
.tagline-container {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin: 20px 0 0;
}

.tagline-accent {
    width: 4px;
    min-height: 120px;
    background: var(--secondary);
    border-radius: 2px;
    flex-shrink: 0;
    margin-top: 5px;
}

.tagline-content {
    flex: 1;
}

.tagline {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 30px 0;
    line-height: 1.3;
}

/* Body Copy */
.body-copy {
    line-height: 1.7;
    margin: 0;
}

.body-copy p {
    margin-bottom: 20px;
}

.body-copy p:last-child {
    margin-bottom: 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 30px 0 0;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 20px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.feature-icon-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.feature-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    max-width: 150px;
}

/* Image Section */
.image-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* CTA Link */
.cta-container {
    margin-top: 30px;
    text-align: center;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.cta-link:hover {
    color: var(--primary);
    text-decoration: none;
    border-bottom-color: var(--primary);
}

.cta-link i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.cta-link:hover i {
    transform: translateX(5px);
}

.image-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.image-container:hover .main-image {
    transform: scale(1.05);
}



/* Tablet Styles */
@media (max-width: 1199px) {
    .contentandimage-wrapper {
        gap: 40px;
    }

    .main-heading {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .body-copy {
        font-size: 1rem;
    }

    .features-grid {
        gap: 20px;
        margin: 30px 0;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .feature-icon-image {
        width: 50px;
        height: 50px;
    }

    .feature-label {
        font-size: 0.85rem;
    }

    .image-container {
        height: 400px;
    }

    .tagline-accent {
        display: none;
    }
}

@media (max-width: 991px) {
    .contentandimage-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    /* Reset order for mobile */
    .maverick-contentandimage-block.content-right .content-section,
    .maverick-contentandimage-block.content-right .image-section {
        order: initial;
    }

    .main-heading {
        font-size: 2.2rem;
    }

    .tagline-container {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 400px;
        margin: 30px auto;
    }

    .image-container {
        height: 350px;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .contentandimage-wrapper {
        gap: 40px;
    }

    .main-heading {
        font-size: 2rem;
    }

    .section-title span {
        font-size: 1rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .tagline-accent {
        min-height: 80px;
    }

    .body-copy {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .features-grid {
        margin: 25px auto;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
    }

    .feature-icon-image {
        width: 45px;
        height: 45px;
    }

    .feature-label {
        font-size: 0.8rem;
    }

    .image-container {
        height: 300px;
    }

    .cta-link {
        font-size: 0.9rem;
    }
}

@media (max-width: 575px) {
    .contentandimage-wrapper {
        gap: 30px;
    }

    .content-section {
        gap: 20px;
    }

    .main-heading {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .section-title span {
        font-size: 0.95rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .tagline-container {
        gap: 10px;
    }

    .tagline-accent {
        width: 3px;
        height: 25px;
    }

    .body-copy {
        font-size: 0.9rem;
        margin: 15px 0;
    }

    .features-grid {
        gap: 20px;
        margin: 20px auto;
    }

    .feature-item {
        padding: 15px;
        gap: 10px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .feature-icon-image {
        width: 40px;
        height: 40px;
    }

    .feature-label {
        font-size: 0.75rem;
    }

    .image-container {
        height: 250px;
        border-radius: 15px;
    }

    .cta-container {
        margin-top: 20px;
    }

    .cta-link {
        font-size: 0.85rem;
        gap: 8px;
    }
}