/* CT202 bilingual professional-site header correction, isolated from CT200. */
body.wp-theme-akcaoglu-tr .site-header,
body.wp-theme-akcaoglu-tr #masthead {
    min-height: 0 !important;
    height: auto !important;
}
body.wp-theme-akcaoglu-tr .site-header .custom-logo-link,
body.wp-theme-akcaoglu-tr #masthead .custom-logo-link,
body.wp-theme-akcaoglu-tr .site-header .site-logo,
body.wp-theme-akcaoglu-tr .site-header .site-branding,
body.wp-theme-akcaoglu-tr .site-header .ak-brand-logo {
    display: inline-flex !important;
    width: auto !important;
    max-width: 190px !important;
    height: auto !important;
    max-height: 105px !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
}
body.wp-theme-akcaoglu-tr .site-header img,
body.wp-theme-akcaoglu-tr #masthead img,
body.wp-theme-akcaoglu-tr img.custom-logo,
body.wp-theme-akcaoglu-tr .ak-brand-logo img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 170px !important;
    max-height: 92px !important;
    object-fit: contain !important;
}
body.wp-theme-akcaoglu-tr .site-header .site-title,
body.wp-theme-akcaoglu-tr .site-header .site-description {
    overflow-wrap: anywhere;
}
body.wp-theme-akcaoglu-tr #dark-mode-toggle,
body.wp-theme-akcaoglu-tr .dark-mode-toggle,
body.wp-theme-akcaoglu-tr .theme-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: max-content !important;
    max-width: none !important;
    min-height: 36px;
    padding: 6px 10px !important;
    font-size: 0.85rem !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
}
@media (min-width: 769px) {
    body.wp-theme-akcaoglu-tr .site-header .inside-header,
    body.wp-theme-akcaoglu-tr #masthead .inside-header,
    body.wp-theme-akcaoglu-tr .site-header .header-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 16px;
        flex-wrap: wrap;
    }
    body.wp-theme-akcaoglu-tr .site-header .main-navigation,
    body.wp-theme-akcaoglu-tr .site-header #site-navigation {
        min-width: 0;
        flex: 1 1 auto;
    }
}
@media (max-width: 768px) {
    body.wp-theme-akcaoglu-tr .site-header .custom-logo-link,
    body.wp-theme-akcaoglu-tr .site-header .site-logo,
    body.wp-theme-akcaoglu-tr .site-header .ak-brand-logo {
        max-width: 120px !important;
        max-height: 72px !important;
    }
    body.wp-theme-akcaoglu-tr .site-header img,
    body.wp-theme-akcaoglu-tr #masthead img,
    body.wp-theme-akcaoglu-tr img.custom-logo {
        max-width: 110px !important;
        max-height: 64px !important;
    }
}
