/* Content Block 2 Styles */
.content-block-2 {
    margin-top: 2rem;
}

/* Main container */
.content-block-2 .row {
    border-radius: 0; /* Removed border radius from main container */
    overflow: hidden;
    margin: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-height: 400px; /* Reduced base height */
}

/* Text column (70% width) */
.content-block-2 .text-column {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Text content */
.content-block-2 .text-content {
    max-width: 100%;
    margin: 0 auto;
    padding-right: 0.5rem;
}

.content-block-2 .text-column h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.content-block-2 .text-column h2 {
    font-size: 1.75rem;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.content-block-2 .text-column p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Image column (30% width) */
.content-block-2 .owner-column {
    padding: 0;
}

.content-block-2 .image-container {
    width: 100%;
    height: 100%;
}

.content-block-2 .image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.content-block-2 .img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Custom width classes */
.w-80 {
    width: 80% !important;
}

/* Responsive Adjustments */

@media (min-width: 768px) {
    .w-md-75 {
        width: 75% !important;
    }
}

/* Large desktop (1200px and up) */
@media (min-width: 1200px) {
    .content-block-2 .row {
        min-height: 450px;
    }
    .content-block-2 .text-column {
        padding: 2rem;
    }
}

/* Tablet landscape (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .content-block-2 .row {
        min-height: 380px;
    }
    .content-block-2 .text-column h2 {
        font-size: 1.6rem;
    }
    .content-block-2 .text-column p {
        font-size: 0.9rem;
    }
}

/* Tablet portrait (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .content-block-2 .row {
        min-height: 350px;
        margin: 1rem 0;
    }
    .content-block-2 .text-column {
        padding: 1.5rem;
    }
    .content-block-2 .text-column h2 {
        font-size: 1.5rem;
    }
    .content-block-2 .text-column p {
        font-size: 0.85rem;
    }
}

/* Mobile landscape (below 768px) */
@media (max-width: 767px) and (orientation: landscape) {
    .content-block-2 .row {
        min-height: 250px;
        flex-direction: row;
    }
    .content-block-2 .text-column {
        padding: 1rem;
        border-radius: 0 !important;
    }
    .content-block-2 .owner-column {
        height: 300px;
    }
    .content-block-2 .img-fluid {
        border-radius: 0 !important;
    }
}

/* Mobile portrait (below 768px) */
@media (max-width: 767px) and (orientation: portrait) {
    .content-block-2 .row {
        min-height: auto;
        flex-direction: column;
    }
    .content-block-2 .text-column {
        width: 100%;
        padding: 1.5rem;
        border-radius: 0 0 0.5rem 0.5rem !important;
    }
    .content-block-2 .owner-column {
        width: 100%;
        height: 300px; /* Reduced image height */
    }
    .content-block-2 .img-fluid {
        border-radius: 0.5rem 0.5rem 0 0 !important;
        object-position: top; /* Focus on upper part */
    }
    .content-block-2 .text-column h2 {
        font-size: 1.4rem;
    }
}

/* Small mobile devices (below 480px) */
@media (max-width: 480px) {
    .content-block-2 .text-column {
        padding: 1.25rem;
    }
    .content-block-2 .text-column h2 {
        font-size: 1.3rem;
    }
    .content-block-2 .text-column p {
        font-size: 0.8rem;
    }
    @media (orientation: portrait) {
        .content-block-2 .owner-column {
            height: 220px; /* Further reduced image height */
        }
    }
}