/* Hero */

main {
    /* margin-top: 75px; */
}
.in-hero {
    /* margin-top: 76px; */
    height: 440px;
    background-image: url('../images/insights-banner.png');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 60px;
}

.in-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.in-hero::before {
    content: '';
    position: absolute;
    inset: 0;
}

.in-hero-overlay {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0;
}

.in-hero-overlay h1 {
    color: #0F0F33;
    font-family: 'Sailec Bold';
    font-size: 4vw;
    line-height: 1.3;
    margin: 0 0 16px;
}

span.in-green {
    color: #0185EE;

}

.in-hero-overlay .in-hero-line {
    width: 90px;
    height: 5px;
    background: #8BD440;
    border-radius: 2px;
}

.in-hero-desc {
    font-family: 'Sailec Light';
    font-size: 17px;
    color: #555;
    line-height: 1.6;
    margin: auto;
    width: 60%;
}

/* CTA Section */
.in-cta-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 100px;
}

.in-cta-section a {
    border: 1px solid #445D3D;
    border-radius: 40px;
    padding: 7px 18px;
    text-decoration: none;
    color: #4A4A4A;
    font-family: 'Sailec Medium';
}

span.in-bottom-green {
    color: #8BD440;
}

.in-cta-btn {
    background: #8BD440;
    color: #0F0F33;
    font-family: 'Sailec Medium';
    font-size: 19px;
    padding: 18px 35px 18px 35px;
    border-radius: 16px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.in-cta-btn:hover {
    opacity: 0.85;
}

/* Intro Section */
.in-intro-section {
    text-align: center;
    padding-top: 135px;
    padding-bottom: 50px;
    max-width: 90%;
    margin: 0 auto;
}

.in-intro-section h2 {
    font-family: 'Sailec Bold';
    font-size: 2.5vw;
    color: #0F0F33;
    margin: 0;
    line-height: 1.1;
}

/* Cards Section */
.in-models {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 0 40px 80px;
    max-width: 90%;
    margin: 0 auto;
    margin-top: 100px;
}

.in-model-card {
    border: 1px solid rgb(50 48 48 / 10%);
    border-radius: 16px;
    background: #fff;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
    min-height: clamp(460px, 34vw, 500px);
    box-shadow: 0 2px 10px rgb(0 0 0 / 4%);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.in-model-card:hover {
    box-shadow: 0 8px 24px rgb(0 0 0 / 10%);
    transform: translateY(-4px);
}

/* Card Image */
.in-card-img {
    display: block;
    height: 220px;
    background: linear-gradient(180deg, #d8d8de 0%, #c3c3cb 100%);
    overflow: hidden;
}

.in-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.in-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(255 255 255 / 60%);
    font-size: 48px;
}

/* Card Content */
.in-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.in-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-family: 'Sailec Light';
    font-size: 13px;
    color: #6B6B6B;
    margin-bottom: 14px;
}

.in-card-meta i {
    color: #6B6B6B;
    margin-right: 6px;
}

.in-card-author strong {
    font-family: 'Sailec Medium';
    color: #0F0F33;
}

.in-card-divider {
    width: 48px;
    height: 3px;
    background: #0185EE;
    border-radius: 2px;
    margin-bottom: 16px;
}

.in-card-title {
    margin: 0 0 20px;
    flex: 1;
}

.in-card-title a {
    font-family: 'Sailec Medium';
    font-size: 18px;
    color: #0F0F33;
    line-height: 1.5;
    text-decoration: none;
}

.in-card-title a:hover {
    color: #0185EE;
}

.in-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Sailec Medium';
    font-size: 15px;
    color: #0F0F33;
    text-decoration: none;
    margin-top: auto;
}

.in-card-readmore i {
    color: #0185EE;
    font-size: 20px;
}

.in-card-readmore:hover {
    color: #0185EE;
}

/* Load More Button */
.in-load-more {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

#in-load-more {
    border: 1px solid #00338C;
    border-radius: 40px;
    padding: 10px 30px;
    background: transparent;
    color: #4A4A4A;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#in-load-more:hover {
    background: #00338C;
    border-color: #00338C;
    color: #0F0F33;
}

/* Responsive */

@media (min-width: 1500px) {
    .in-card-title a {
        font-size: 26px;
    }
}
@media (max-width: 1200px) {
    .in-intro-section {
        padding-top: 75px;
    }
}
@media (max-width: 970px) {
    .in-hero-overlay h1 {
        font-size: 30px;
    }

    .in-models {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 24px 60px;
    }
}

@media (max-width: 767px) {
    .in-hero {
        height: 320px;
        padding: 0 30px;
    }

    .in-hero-desc {
        width: 100%;
    }

    .in-hero-overlay h1 {
        font-size: 24px;
    }

    .in-intro-section {
        padding: 40px 20px;
        max-width: 100%;
    }

    .in-intro-section h2 {
        font-size: 24px;
    }

    .in-models {
        grid-template-columns: 1fr;
        padding: 0 20px 40px;
        max-width: 100%;
    }
    .in-card-content {
        padding: 20px;
    }
    .in-card-title a {
        font-size: 17px;
    }
}
