/* ==========================================================================
   Flanör — Landing custom page'lerin üst boşluğu compactify
   Sorun: Grupo'nun custom_page.php'sinde header py-lg-5 + content py-lg-5
          çift padding + dalga divider + h1 = devasa üst boşluk.
   Çözüm: padding'i azalt, dalga divider'ı sadeleştir, içsel h1 olan
          sayfalarda Grupo'nun page_title h1'ini gizle.
   ========================================================================== */

/* Genel: custom_page wrapper'ın iç padding'ini compactify */
body.landing_page section.custom_page > .header > .heading {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}

body.landing_page section.custom_page > .header > .heading > .row {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.landing_page section.custom_page > .header > .heading h1 {
    font-size: 28px !important;
    margin: 0 !important;
    color: #FFFFFF !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
}

/* Featured image (varsayılan dalga + overlay görseli) gizle —
   bizim custom_page'lerde gerçek featured image yok, sadece dekoratif gradient */
body.landing_page section.custom_page > .header > .featured_image {
    display: none !important;
}

/* Dalga divider'ı küçült (silmek yerine ince blurple çizgiye çevir) */
body.landing_page section.custom_page > .header > .divider {
    height: 2px !important;
    background: linear-gradient(90deg, transparent 0%, rgba(88,101,242,0.6) 50%, transparent 100%);
    margin: 0 !important;
    overflow: hidden;
}

body.landing_page section.custom_page > .header > .divider svg {
    display: none !important;
}

/* Content padding compactify */
body.landing_page section.custom_page > .content > div > .container > .row {
    padding-top: 24px !important;
    padding-bottom: 32px !important;
}

/* İçeriği daha geniş kullan (col-lg-10 yerine col-lg-12 etkisi) */
body.landing_page section.custom_page > .content > div > .container > .row > [class*="col-"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

/* Sayfa-spesifik: kendi içsel h1'i olan sayfalarda Grupo h1'ini gizle */
body.page_etkinlik section.custom_page > .header > .heading,
body.page_etkinlikler section.custom_page > .header > .heading,
body.page_hikayeler section.custom_page > .header > .heading,
body.page_bildirimler section.custom_page > .header > .heading,
body.page_topluluk-lideri section.custom_page > .header > .heading,
body.page_grup-whatsapp section.custom_page > .header > .heading,
body.page_admin-aktivite section.custom_page > .header > .heading,
body.page_bildirim-tercihleri section.custom_page > .header > .heading,
body.page_davetlerim section.custom_page > .header > .heading,
body.page_etkinlik-olustur section.custom_page > .header > .heading,
body.page_grup-olustur section.custom_page > .header > .heading,
body.page_ticker-yonetimi section.custom_page > .header > .heading,
body.page_topluluk section.custom_page > .header > .heading {
    display: none !important;
}

body.page_etkinlik section.custom_page > .header > .divider,
body.page_etkinlikler section.custom_page > .header > .divider,
body.page_hikayeler section.custom_page > .header > .divider,
body.page_bildirimler section.custom_page > .header > .divider,
body.page_topluluk-lideri section.custom_page > .header > .divider,
body.page_grup-whatsapp section.custom_page > .header > .divider,
body.page_admin-aktivite section.custom_page > .header > .divider,
body.page_bildirim-tercihleri section.custom_page > .header > .divider,
body.page_davetlerim section.custom_page > .header > .divider,
body.page_etkinlik-olustur section.custom_page > .header > .divider,
body.page_grup-olustur section.custom_page > .header > .divider,
body.page_ticker-yonetimi section.custom_page > .header > .divider,
body.page_topluluk section.custom_page > .header > .divider {
    display: none !important;
}

body.page_etkinlik section.custom_page > .header,
body.page_etkinlikler section.custom_page > .header,
body.page_hikayeler section.custom_page > .header,
body.page_bildirimler section.custom_page > .header,
body.page_topluluk-lideri section.custom_page > .header,
body.page_grup-whatsapp section.custom_page > .header,
body.page_admin-aktivite section.custom_page > .header,
body.page_bildirim-tercihleri section.custom_page > .header,
body.page_davetlerim section.custom_page > .header,
body.page_etkinlik-olustur section.custom_page > .header,
body.page_grup-olustur section.custom_page > .header,
body.page_ticker-yonetimi section.custom_page > .header,
body.page_topluluk section.custom_page > .header {
    padding: 12px 0 0 !important;
}

body.page_etkinlik section.custom_page > .content > div > .container > .row,
body.page_etkinlikler section.custom_page > .content > div > .container > .row,
body.page_hikayeler section.custom_page > .content > div > .container > .row,
body.page_bildirimler section.custom_page > .content > div > .container > .row,
body.page_topluluk-lideri section.custom_page > .content > div > .container > .row,
body.page_grup-whatsapp section.custom_page > .content > div > .container > .row,
body.page_admin-aktivite section.custom_page > .content > div > .container > .row,
body.page_bildirim-tercihleri section.custom_page > .content > div > .container > .row,
body.page_davetlerim section.custom_page > .content > div > .container > .row,
body.page_etkinlik-olustur section.custom_page > .content > div > .container > .row,
body.page_grup-olustur section.custom_page > .content > div > .container > .row,
body.page_ticker-yonetimi section.custom_page > .content > div > .container > .row,
body.page_topluluk section.custom_page > .content > div > .container > .row {
    padding-top: 8px !important;
    padding-bottom: 24px !important;
}

/* Mobil ek compactify */
@media (max-width: 768px) {
    body.landing_page section.custom_page > .header > .heading h1 {
        font-size: 22px !important;
    }
    body.landing_page section.custom_page > .header {
        padding-top: 8px !important;
    }
}
