/* ============================================================
   CITY GROSS - DYNAMIC / FOOTER BAR / GENERAL CONTENT PAGE
   ============================================================ */

.cg-dynamic-page{
    min-height:70vh;
    background:#f5f7fb;
    color:#0b2859;
}

/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */

.cg-page-hero{
    position:relative;
    isolation:isolate;
    min-height:330px;
    display:flex;
    align-items:center;
    overflow:hidden;
    color:#fff;
    background:#082b63;
}

.cg-page-hero::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-2;
}

.cg-page-hero--gradient::before{
    background:
        radial-gradient(circle at 86% 20%,rgba(31,153,210,.36),transparent 31%),
        linear-gradient(112deg,#041a3a 0%,#07346b 55%,#0066a8 100%);
}

.cg-page-hero--has-image::before{
    background:
        linear-gradient(90deg,rgba(3,23,51,.91) 0%,rgba(5,48,96,.70) 55%,rgba(5,48,96,.34) 100%),
        var(--page-desktop) center/cover no-repeat;
}

.cg-page-hero::after{
    content:"";
    position:absolute;
    inset:auto 0 0;
    height:1px;
    background:rgba(255,255,255,.14);
}

.cg-page-hero__inner{
    width:min(1180px,calc(100% - 48px));
    margin:0 auto;
    padding:68px 0 72px;
}

.cg-page-hero__back{
    width:max-content;
    display:inline-flex;
    align-items:center;
    gap:7px;
    margin-bottom:25px;
    color:rgba(255,255,255,.78);
    text-decoration:none;
    font-size:12px;
    font-weight:800;
}

.cg-page-hero__back:hover{
    color:#ffd800;
}

.cg-page-hero__back .material-symbols-rounded{
    font-size:18px;
}

.cg-page-hero__eyebrow{
    display:block;
    margin-bottom:9px;
    color:#ffd800;
    font-size:11px;
    line-height:1;
    font-weight:950;
    letter-spacing:.16em;
}

.cg-page-hero h1{
    max-width:900px;
    margin:0;
    color:#fff;
    font-size:clamp(38px,4.5vw,64px);
    line-height:1.03;
    font-weight:950;
    letter-spacing:-.045em;
    text-wrap:balance;
}

.cg-page-hero p{
    max-width:760px;
    margin:17px 0 0;
    color:rgba(255,255,255,.82);
    font-size:16px;
    line-height:1.7;
}


/* ------------------------------------------------------------
   CONTENT AREA
   ------------------------------------------------------------ */

.cg-page-content-shell{
    width:min(1180px,calc(100% - 48px));
    margin:0 auto;
    padding:54px 0 78px;
}

.cg-page-content{
    width:min(980px,100%);
    margin:0 auto;
    padding:clamp(28px,4vw,58px);
    border:1px solid rgba(15,43,82,.07);
    border-radius:22px;
    background:#fff;
    box-shadow:0 18px 48px rgba(15,43,82,.08);
}

.cg-page-content__heading{
    display:flex;
    align-items:center;
    gap:13px;
    margin-bottom:30px;
    padding-bottom:22px;
    border-bottom:1px solid #e8eef5;
}

.cg-page-content__heading > .material-symbols-rounded{
    width:48px;
    height:48px;
    flex:0 0 48px;
    display:grid;
    place-items:center;
    color:#0068b7;
    background:#edf6fd;
    border-radius:14px;
    font-size:24px;
}

.cg-page-content__heading div{
    min-width:0;
    display:grid;
    gap:3px;
}

.cg-page-content__heading small{
    color:#d09a00;
    font-size:10px;
    font-weight:950;
    letter-spacing:.12em;
}

.cg-page-content__heading strong{
    color:#082b63;
    font-size:20px;
    font-weight:950;
}


/* ------------------------------------------------------------
   RICH TEXT
   ------------------------------------------------------------ */

.cg-rich-content{
    color:#34475f;
    font-size:15px;
    line-height:1.82;
    overflow-wrap:anywhere;
}

.cg-rich-content > :first-child{
    margin-top:0 !important;
}

.cg-rich-content > :last-child{
    margin-bottom:0 !important;
}

.cg-rich-content h1,
.cg-rich-content h2,
.cg-rich-content h3,
.cg-rich-content h4{
    color:#082b63;
    line-height:1.25;
    font-weight:900;
    letter-spacing:-.02em;
}

.cg-rich-content h1{
    margin:0 0 25px;
    font-size:30px;
}

.cg-rich-content h2{
    margin:36px 0 14px;
    font-size:24px;
}

.cg-rich-content h3{
    margin:30px 0 12px;
    font-size:19px;
}

.cg-rich-content h4{
    margin:25px 0 10px;
    font-size:16px;
}

.cg-rich-content p{
    margin:0 0 18px;
}

.cg-rich-content strong{
    color:#173d73;
    font-weight:900;
}

.cg-rich-content a{
    color:#0068b7;
    font-weight:700;
    text-underline-offset:3px;
}

.cg-rich-content ul,
.cg-rich-content ol{
    margin:14px 0 22px;
    padding-left:24px;
}

.cg-rich-content li{
    margin:7px 0;
    padding-left:3px;
}

.cg-rich-content blockquote{
    margin:26px 0;
    padding:18px 20px;
    border-left:4px solid #ffd800;
    border-radius:0 12px 12px 0;
    background:#f8fafc;
    color:#4d6078;
}

.cg-rich-content hr{
    height:1px;
    margin:34px 0;
    border:0;
    background:#e5ebf2;
}

.cg-rich-content img{
    max-width:100%;
    height:auto;
    display:block;
    margin:25px auto;
    border-radius:14px;
}

.cg-rich-content table{
    width:100%;
    margin:24px 0;
    border-collapse:collapse;
    overflow:hidden;
    border:1px solid #dce5ef;
    border-radius:12px;
}

.cg-rich-content th,
.cg-rich-content td{
    padding:12px 14px;
    border:1px solid #e3eaf2;
    text-align:left;
    vertical-align:top;
}

.cg-rich-content th{
    color:#082b63;
    background:#f3f7fb;
    font-weight:900;
}


/* Footer bar sayfalarında uzun hukuki metin için daha sakin ölçü */
.cg-dynamic-page--footerbar .cg-page-content{
    width:min(1040px,100%);
}

.cg-dynamic-page--footerbar .cg-rich-content{
    font-size:14px;
    line-height:1.88;
}


/* ------------------------------------------------------------
   GALLERY
   ------------------------------------------------------------ */

.cg-page-gallery{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
    margin-top:40px;
    padding-top:32px;
    border-top:1px solid #e8eef5;
}

.cg-page-gallery__item{
    padding:0;
    overflow:hidden;
    border:0;
    border-radius:14px;
    background:#edf2f7;
    cursor:pointer;
}

.cg-page-gallery__item img{
    width:100%;
    aspect-ratio:4/3;
    display:block;
    object-fit:cover;
    transition:transform .3s ease;
}

.cg-page-gallery__item:hover img{
    transform:scale(1.035);
}


/* ------------------------------------------------------------
   TABLET
   ------------------------------------------------------------ */

@media(max-width:900px){
    .cg-page-hero{
        min-height:300px;
    }

    .cg-page-hero--has-image::before{
        background:
            linear-gradient(90deg,rgba(3,23,51,.90),rgba(5,48,96,.58)),
            var(--page-mobile) center/cover no-repeat;
    }

    .cg-page-content-shell{
        padding-top:38px;
    }

    .cg-page-gallery{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}


/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media(max-width:620px){
    .cg-page-hero{
        min-height:265px;
    }

    .cg-page-hero__inner{
        width:min(100% - 30px,1180px);
        padding:45px 0 48px;
    }

    .cg-page-hero__back{
        margin-bottom:20px;
    }

    .cg-page-hero h1{
        font-size:clamp(33px,11vw,45px);
    }

    .cg-page-hero p{
        font-size:14px;
    }

    .cg-page-content-shell{
        width:min(100% - 24px,1180px);
        padding:24px 0 52px;
    }

    .cg-page-content{
        padding:24px 18px;
        border-radius:17px;
    }

    .cg-page-content__heading{
        align-items:flex-start;
    }

    .cg-rich-content{
        font-size:14px;
        line-height:1.78;
    }

    .cg-rich-content h2{
        font-size:21px;
    }

    .cg-page-gallery{
        grid-template-columns:1fr;
    }
}
