/* =========================
   Kapsayıcı ve Grid Ayarları
========================= */
.coloraltmaindis {
    max-width: 100%;
    margin: 0 auto;
    background:
        linear-gradient(to bottom, #7A8184, #99A0A3) top,
        linear-gradient(to top, #7A8184, #99A0A3) bottom;
    background-repeat: no-repeat, no-repeat;
    background-size: 100% 20px, 100% 20px;
    background-position: top, bottom;
    background-color: #99A0A3;
}

.coloraltmain {
    max-width: 1440px;
    margin: 0 auto;
    padding: 100px 40px;
}

.grid-page {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 1440px;
    margin: 0 auto;
    color: #2a2a2a;
    box-sizing: border-box;
}

.grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 0; 
}

/* =========================
   Başlık ve Paragraf Hiyerarşisi
========================= */

/* H3 Başlıklar */
.grid-left h3,
.grid-right h3 {
    font-size: 1.8rem;
    color: rgba(10, 37, 64, 1);
    font-weight: 400;
    margin-top: 0;
}

/* H3-H4 tiplerine göre boşluklar */
.grid-left h3:first-of-type,
.grid-right h3:first-of-type {
    margin-top: 0; /* ilk başlık */
    margin-bottom: 50px; /* ilk başlık */
}

.grid-left h4:first-of-type,
.grid-right h4:first-of-type {
    margin-top: 5px;       /* üst boşluk */
    margin-bottom: 10px;   /* alt boşluk net */
}

.grid-left h4:first-of-type + p,
.grid-right h4:first-of-type + p {
    margin-top: 0; /* istediğin boşluk */
}

.grid-left h3:not(:first-of-type),
.grid-right h3:not(:first-of-type) {
    margin-top: 40px; /* aradaki başlıklar */
}

.grid-left h4:not(:first-of-type),
.grid-right h4:not(:first-of-type) {
    margin-top: 30px; /* aradaki başlıklar */
    margin-bottom: 10px;
}

/* H4 Başlıkları (opsiyonel, H3 ile aynı ayar, margin farklı olabilir) */
.grid-left h4,
.grid-right h4 {
    font-size: 1.3rem;
    color: rgba(10, 37, 64, 1);
    font-weight: 500;
}

.grid-left h3 + h4,
.grid-right h3 + h4 {
    margin-top: 30px;
}

.grid-left h4 + p,
.grid-right h4 + p {
    margin-top: 20px;
}

.grid-left p + h4,
.grid-right p + h4 {
    margin-top: 30px !important;
}

/* Paragraflar */

.grid-left,
.grid-right {
    margin: 0;
}
.grid-left p,
.grid-right p {
    font-size: 1.1rem;
    line-height: 1.6;
    padding-left: 0;
    margin-top: 10px !important;
}

.grid-left p:first-of-type,
.grid-right p:first-of-type {
    margin-top: 0;
}

.grid-left p:not(:first-of-type),
.grid-right p:not(:first-of-type) {
    margin-top: 10px;
}

.quote {
    display: block;
    padding-top: 20px;
    padding-bottom: 50px;
    padding-left: 30px;
    margin-right: 30px;
    text-align: left;
}

.quote-right {
    display: block;
    padding-top: 20px;
    padding-bottom: 50px;
    padding-right: 100px;
    text-align: right;
}

/* Madde imleri */
.grid-left ul,
.grid-right ul {
    padding-left: 35px; 
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.grid-left ol,
.grid-right ol {
    padding-left: 40px; 
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.grid-left ul li,
.grid-left ol li,
.grid-right ul li,
.grid-right ol li {
    padding-left: 0;
    margin-top: 5px;
}

/* Paragraf + Liste kombinasyonu */
.grid-left p + ul,
.grid-right p + ul,
.grid-left p + ol,
.grid-right p + ol {
    margin-top: 10px;
}

/* Başlık + paragraf kombinasyonu */
.grid-left h3 + p,
.grid-right h3 + p,
.grid-left h4 + p,
.grid-right h4 + p {
    margin-top: 20px;
}

/* Görseller */
.grid-right img {
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: 12px;
    object-fit: cover;
    margin-top: 16px;
    transition: transform 0.2s ease;
}

.grid-right img:hover {
    transform: scale(1.03);
}

/* Advisor photo block */
.advisor-photo {
    width: 40%;
    margin: 50px auto 25px auto;
    text-align: center;
}

.advisor-photo-top {
    width: 40%;
    margin: 10px auto 75px auto;
    text-align: center;
}

.advisor-photo-top img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.advisor-photo img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.advisor-name {
    padding-top: 10px;
    font-size: 1.2rem !important;
    font-weight: 600;
    text-align: center;
}

/* =========================
   Responsive: Tablet ve Altı
========================= */
@media (max-width: 1024px) {
    .grid-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .grid-left p,
    .grid-right p {
        font-size: 1rem;
    }

    .grid-left h3,
    .grid-right h3 {
        font-size: 1.5rem;
        margin-top: 30px;
    }

    .grid-left h4,
    .grid-right h4 {
        font-size: 1.15rem;
        margin-top: 30px;
    }


    .grid-left h3 + p,
    .grid-right h3 + p {
        margin-top: 15px;
    }

    .grid-left h4 + p,
    .grid-right h4 + p {
        margin-top: 12px;
    }

    .grid-left ul li,
    .grid-left ol li,
    .grid-right ul li,
    .grid-right ol li {
    padding-left: 35px; 
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    }

    .grid-left ul li,
    .grid-left ol li,
    .grid-right ul li,
    .grid-right ol li {
        padding-left: 0;
        margin-top: 5px;
    }

}

@media (max-width: 600px) {
.advisor-photo {
    width: 70%;
    }
.advisor-photo-top {
    width: 70%;
    }
}
