/* ==========================================================================
   SENTIUS HOME - SMALLER ABOUT IMAGE + INSTAGRAM EMBEDS
   Hero alanına müdahale etmez.
   ========================================================================== */

/* Hakkımızda alanını merkezle ve görseli küçült. */
.home-editorial {
    grid-template-columns: minmax(0, 44%) minmax(0, 56%);
    align-items: center;
    min-height: auto;
    padding: clamp(3.5rem, 6vw, 6rem) 0;
}

.home-editorial .editorial-media {
    width: min(100%, 720px);
    height: auto;
    min-height: 0;
    max-height: 680px;
    margin-left: auto;
    overflow: hidden;
}

.home-editorial .editorial-image {
    display: block;
    width: 100%;
    height: min(680px, 68vw);
    max-height: 680px;
    object-fit: cover;
    object-position: center;
}

.home-editorial .editorial-content {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Instagram alanı */
.home-instagram-section {
    padding: clamp(4rem, 7vw, 7rem) 0;
    border-top: 1px solid var(--border-color);
    background: var(--surface-color);
}

.home-instagram-heading {
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.home-instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: clamp(1rem, 2vw, 2rem);
}

.home-instagram-item {
    min-width: 0;
    padding: 0.75rem;
    background: #fff;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.home-instagram-item .instagram-media {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
}

@media (max-width: 1024px) {
    .home-editorial {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    .home-editorial .editorial-media {
        width: 100%;
        max-height: 580px;
    }

    .home-editorial .editorial-image {
        height: 580px;
        max-height: 580px;
    }

    .home-instagram-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .home-editorial {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .home-editorial .editorial-media {
        width: min(100%, 620px);
        max-height: 460px;
        margin: 0 auto;
    }

    .home-editorial .editorial-image {
        height: 460px;
        max-height: 460px;
    }

    .home-editorial .editorial-content {
        padding: 3rem var(--container-padding);
    }

    .home-instagram-grid {
        grid-template-columns: 1fr;
        max-width: 540px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .home-editorial .editorial-media {
        max-height: 360px;
    }

    .home-editorial .editorial-image {
        height: 360px;
        max-height: 360px;
    }

    .home-instagram-item {
        padding: 0.4rem;
    }
}

/* Instagram embed kartlarını eşit genişlikte ve merkezde tut. */
.home-instagram-item {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.home-instagram-item > .instagram-media {
    width: 100% !important;
    max-width: 540px !important;
    min-width: 0 !important;
}

