/* TM7 metin+görsel bölümleri (Nedir, Özellikler, vb.) — tipografi ve boşluklar tek yerden */

.tm7-section {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

/* Section içi üst/alt boşluk her blokta aynı */
.tm7-section__container {
    box-sizing: border-box;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-top: clamp(2.75rem, 5.5vw, 4.75rem);
    padding-bottom: clamp(2.75rem, 5.5vw, 4.75rem);
    padding-left: max(clamp(1rem, 4vw, 1.875rem), env(safe-area-inset-left, 0px));
    padding-right: max(clamp(1rem, 4vw, 1.875rem), env(safe-area-inset-right, 0px));
}

.tm7-section-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(2rem, 4vw, 3.5rem);
    row-gap: clamp(1.5rem, 3vw, 2.25rem);
    align-items: center;
    min-height: 0;
}

.tm7-section-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

.tm7-section-media img {
    width: 100%;
    height: auto;
    max-height: min(400px, 52vh);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    border-radius: clamp(18px, 2.2vw, 32px);
}

.tm7-section-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.125rem;
    min-height: 0;
    text-align: center;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .tm7-section-content {
        align-items: flex-start;
        text-align: left;
        margin-left: 0;
        margin-right: 0;
        max-width: none;
    }

    .tm7-section .world-desc {
        max-width: 40rem;
    }
}

.tm7-section .world-title {
    margin: 0;
    font-weight: 600;
    font-size: clamp(1.5rem, 0.65rem + 3.2vw, 2.375rem);
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: #111;
}

.tm7-section .world-desc {
    margin: 0;
    font-weight: 500;
    font-size: clamp(0.9375rem, 0.88rem + 0.45vw, 1.125rem);
    line-height: 1.65;
    color: rgba(17, 17, 17, 0.78);
}

.tm7-section .world-desc strong {
    font-weight: 600;
    color: rgba(17, 17, 17, 0.92);
}

.tm7-section--green {
    background-color: #16b2542b;
}

.tm7-section--green .world-title {
    color: #0d0d0d;
}

.tm7-section--green .world-desc {
    color: rgba(13, 13, 13, 0.84);
}

@media (max-width: 1023px) {
    .tm7-section-inner {
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    .tm7-section-media {
        width: 100%;
    }

    .tm7-section-media img {
        max-height: min(300px, 42vw);
        aspect-ratio: 16 / 10;
    }

    .tm7-section-content {
        gap: 1rem;
    }
}

@media (max-width: 639px) {
    .tm7-section__container {
        padding-top: 2.25rem;
        padding-bottom: 2.25rem;
        padding-left: max(1rem, env(safe-area-inset-left, 0px));
        padding-right: max(1rem, env(safe-area-inset-right, 0px));
    }

    .tm7-section-inner {
        row-gap: 1.25rem;
    }

    .tm7-section .world-title {
        font-size: clamp(1.25rem, 4.8vw, 1.5rem);
    }

    .tm7-section .world-desc {
        font-size: 0.9375rem;
        line-height: 1.62;
    }

    .tm7-section-media img {
        max-height: 240px;
        border-radius: 20px;
    }
}
