.top-announcement-bar {
    position: relative;
    overflow: hidden;
    height: 36px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-bottom: 1px solid rgba(0, 0, 0, .16);
    background: linear-gradient(90deg, #012e2c, #064846 48%, #012e2c);
    color: #fff;
}

.top-announcement-track {
    display: flex;
    align-items: center;
    width: max-content;
    min-width: 200%;
    height: 100%;
    flex-wrap: nowrap;
    animation: topAnnouncementMarquee var(--announcement-duration, 22s) linear infinite;
    will-change: transform;
}

.top-announcement-bar:hover .top-announcement-track,
.top-announcement-bar:focus-within .top-announcement-track {
    animation-play-state: paused;
}

.top-announcement-group {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 50%;
    gap: clamp(48px, 6vw, 110px);
    padding: 0 clamp(22px, 4vw, 72px);
    box-sizing: border-box;
}

.top-announcement-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 36px;
    color: #fff;
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.top-announcement-item strong {
    font-weight: 700;
}

.top-announcement-item time {
    color: var(--lime, #cce216);
    font-weight: 850;
    font-variant-numeric: tabular-nums;
}

.top-announcement-item em {
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
    color: var(--lime, #cce216);
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

.announcement-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--lime, #cce216);
    box-shadow: 0 0 0 4px rgba(204, 226, 22, .12);
}

@keyframes topAnnouncementMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

:root {
    --layout-frame-height: 1080px;
    --top-info-bar-height: 58px;
    --top-announcement-bar-height: 0px;
    --site-header-height: 90px;
    --header-offset: calc(var(--top-info-bar-height) + var(--top-announcement-bar-height) + var(--site-header-height));
    --slider-height: calc(min(100svh, var(--layout-frame-height)) - var(--header-offset));
}

.site-header-shell.has-top-announcements {
    --top-announcement-bar-height: 36px;
}

@media (max-width: 1080px) {
    :root {
        --top-info-bar-height: 58px;
        --site-header-height: 94px;
    }

    .site-header-shell.has-top-announcements {
        --top-announcement-bar-height: 36px;
    }

    .top-announcement-group {
        gap: 42px;
        padding-inline: 22px;
        justify-content: flex-start;
    }
}

/* Keep the contact strip on one line across tablet and compact desktop widths. */
@media (min-width: 600px) and (max-width: 1180px) {
    .top-info-bar {
        display: grid !important;
        grid-template-columns: auto auto auto 1fr !important;
        align-items: center;
        gap: 6px !important;
        min-height: 50px;
        padding: 6px 10px !important;
    }

    .top-contact-pill,
    .top-contact-pill:nth-of-type(2) {
        display: flex !important;
        min-height: 38px;
        gap: 6px;
        padding: 5px 9px;
    }

    .top-contact-pill span {
        display: none !important;
    }

    .top-contact-pill strong {
        font-size: clamp(10px, 1.15vw, 12px);
    }

    .top-contact-pill svg {
        width: 15px;
        height: 15px;
    }

    .top-socials {
        display: flex !important;
        justify-content: flex-end;
        gap: 5px;
    }

    .top-socials a {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
        border-radius: 10px;
    }
}

@media (max-width: 860px) {
    :root {
        --top-info-bar-height: 48px;
        --header-offset: calc(var(--top-info-bar-height) + var(--top-announcement-bar-height) + var(--site-header-height));
    }

    .top-announcement-item {
        font-size: 12px;
    }

    /* 7 ikon: WhatsApp, mail, tel + 4 sosyal — eşit aralıklı tek sıra */
    .top-info-bar {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center;
        justify-content: space-between !important;
        gap: 0 !important;
        min-height: var(--top-info-bar-height);
        padding: 6px 10px !important;
    }

    .top-socials {
        display: contents !important;
    }

    .top-contact-pill,
    .top-contact-pill:nth-of-type(2),
    .top-socials a {
        flex: 0 0 auto;
        width: 44px !important;
        max-width: 44px !important;
        height: 42px !important;
        margin: 0 !important;
    }

    /* İletişim kutuları scroll/menu durumunda da renkli kalsın */
    .site-header-shell .top-contact-pill,
    .site-header-shell.is-scrolled .top-contact-pill,
    .site-header-shell.menu-open .top-contact-pill {
        background: linear-gradient(145deg, #013634, #045150) !important;
        border-color: rgba(255, 255, 255, 0.14) !important;
        color: #fff !important;
    }

    .site-header-shell .top-contact-pill.whatsapp,
    .site-header-shell.is-scrolled .top-contact-pill.whatsapp,
    .site-header-shell.menu-open .top-contact-pill.whatsapp {
        background: #25d366 !important;
        border-color: #25d366 !important;
    }

    .site-header-shell .top-contact-pill svg,
    .site-header-shell.is-scrolled .top-contact-pill svg,
    .site-header-shell.menu-open .top-contact-pill svg {
        color: #fff !important;
    }
}

/* Header her genişlikte fixed — hero'yu offset'siz bırakma */
@media (min-width: 861px) and (max-width: 1180px) {
    .hero:not(.hero-slider) {
        margin-top: 0 !important;
    }
}

/* backdrop-filter makes the header the fixed panel's containing block. */
@media (min-width: 861px) and (max-width: 1450px) {
    .site-header .dropdown-panel {
        top: calc(100% + 8px);
        max-height: calc(100vh - var(--header-offset) - 16px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .top-announcement-track {
        animation-duration: 48s;
    }
}

.footer-bottom .footer-credit {
    display: inline;
    margin: 0;
    color: var(--lime, #cce216);
    font-weight: 750;
    text-decoration: none;
}

.footer-bottom .footer-credit:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-credit-separator {
    margin: 0 8px;
    color: rgba(255, 255, 255, .32);
}

.site-footer address {
    margin: 8px 0;
    color: rgba(255, 255, 255, .72);
    font-style: normal;
    line-height: 1.8;
}

.success-heading-logo {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    object-fit: contain;
}

.founder-hero {
    padding-top: calc(var(--header-offset) + clamp(42px, 5vw, 72px));
    padding-bottom: clamp(42px, 5vw, 72px);
}

.founder-hero .founder-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    align-items: center;
    gap: clamp(36px, 7vw, 100px);
    padding-right: clamp(24px, 4vw, 72px);
}

.founder-hero-copy {
    min-width: 0;
}

.founder-hero-figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    justify-self: end;
    margin-right: clamp(12px, 2vw, 34px);
}

.founder-hero-image {
    position: relative;
    z-index: 2;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 380px;
    border: 1px solid rgba(204, 226, 22, .24);
    border-radius: 24px;
    object-fit: contain;
    object-position: center;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .3);
}

.founder-hero-title {
    margin: 0;
    text-align: center;
    font-weight: 800;
    font-size: clamp(15px, 1.4vw, 19px);
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.4;
    background: linear-gradient(90deg, #cce216, #9bbf0f);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #cce216;
}

.founder-content {
    width: min(100% - 48px, 1120px);
}

.founder-content .rich-content {
    width: 100%;
}

@media (min-width: 761px) and (max-width: 1450px) {
    .founder-hero-copy {
        padding-left: 28px;
    }

    .founder-hero .founder-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
        padding-right: clamp(44px, 7vw, 96px);
    }

    .founder-hero-figure {
        margin-right: 0;
    }

    .founder-hero-image {
        max-height: 340px;
    }
}

@media (max-width: 760px) {
    .founder-hero {
        padding-top: calc(var(--header-offset) + 32px);
    }

    .founder-hero .founder-hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-right: 0;
    }

    .founder-hero-figure {
        justify-self: center;
        margin-right: 0;
    }

    .founder-hero-image {
        width: auto;
        max-width: min(100%, 420px);
        height: auto;
        max-height: none;
    }
}

@media (min-width: 861px) and (max-width: 1180px) {
    .founder-hero {
        padding-top: clamp(42px, 5vw, 64px);
    }

    .founder-hero .founder-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
        padding-right: clamp(52px, 8vw, 110px);
    }

    .founder-hero-image {
        max-width: 320px;
        max-height: 320px;
    }
}

.mobile-home-jumps {
    display: none;
}

@media (max-width: 860px) {
    .site-header.has-mobile-jumps {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "brand menu"
            "jumps jumps";
        align-items: center;
        gap: 8px 10px;
        padding-bottom: 10px;
    }

    .site-header.has-mobile-jumps .brand {
        grid-area: brand;
        min-width: 0;
    }

    .site-header.has-mobile-jumps .menu-toggle {
        grid-area: menu;
        justify-self: end;
        margin-left: 0;
    }

    .site-header.has-mobile-jumps .login-dropdown--header {
        display: none;
    }

    .mobile-home-jumps {
        display: grid;
        grid-area: jumps;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
    }

    .mobile-home-jump {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 38px;
        padding: 8px 10px;
        border: 1px solid transparent;
        border-radius: 10px;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
        text-decoration: none;
        transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    }

    .mobile-home-jump.is-videos {
        background: linear-gradient(135deg, var(--deep-2, #002a28) 0%, var(--deep, #013634) 100%);
        border-color: rgba(204, 226, 22, 0.24);
        color: #fff;
        box-shadow: 0 8px 18px rgba(2, 36, 35, 0.16);
    }

    .mobile-home-jump.is-announcements {
        background: var(--lime, #cce216);
        border-color: rgba(6, 47, 47, 0.08);
        color: var(--ink, #062f2f);
        box-shadow: 0 8px 18px rgba(204, 226, 22, 0.2);
    }

    .mobile-home-jump:hover,
    .mobile-home-jump:focus-visible {
        transform: translateY(-1px);
    }

    .mobile-home-jump.is-videos:hover,
    .mobile-home-jump.is-videos:focus-visible {
        border-color: rgba(204, 226, 22, 0.48);
        box-shadow: 0 10px 22px rgba(2, 36, 35, 0.22);
    }

    .mobile-home-jump.is-announcements:hover,
    .mobile-home-jump.is-announcements:focus-visible {
        background: #d8eb3a;
        box-shadow: 0 10px 22px rgba(204, 226, 22, 0.28);
    }

    #duyurular,
    #basari-videolari {
        scroll-margin-top: calc(var(--header-offset, 120px) + 12px);
    }
}
