/* Shared public-page adjustments for compact headers and narrow screens. */
.tg-header__top #setLanguageHeader .nice-select { width: auto; min-width: 160px; padding-inline-end: 26px; }
.tg-header__top .header_language_area { width: auto; flex: 0 0 auto; }
.tg-header__top .header_language_area > ul { flex-wrap: nowrap; }
.tg-header__top .tg-header__top-social { flex-shrink: 0; white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1599px) {
    .tg-header__area .tgmenu__nav { flex-wrap: nowrap; gap: 12px; }
    .tg-header__area .tgmenu__nav > .logo { flex: 0 0 190px; }
    .tg-header__area .tgmenu__nav > .logo img { max-width: 100%; height: auto; }
    .tg-header__area .tgmenu__navbar-wrap { flex: 1 1 auto; }
    .tg-header__area .tgmenu__navbar-wrap > ul { margin-inline: 0; justify-content: center; }
    .tg-header__area .tgmenu__navbar-wrap > ul > li > a { font-size: 14px; padding-inline: 6px; }
    .tg-header__area .tgmenu__search { flex: 0 1 260px; min-width: 180px; width: 260px; margin: 0; }
    .tg-header__area .tgmenu__search-form { width: 100%; }
    .tg-header__area .tgmenu__search-form .select-grp { display: none; }
    .tg-header__area .tgmenu__search-form .input-grp { min-width: 0; }
    .tg-header__area .tgmenu__action { flex: 0 0 auto; margin: 0; }
}
@media (max-width: 767px) {
    .tg-header__area .tgmenu__nav { flex-wrap: nowrap; gap: 8px; }
    .tg-header__area .tgmenu__nav > .logo { flex: 1 1 auto; min-width: 0; max-width: 175px; }
    .tg-header__area .tgmenu__nav > .logo img { width: 100%; height: auto; }
    .tg-header__area .tgmenu__action { flex: 0 0 auto; margin: 0 0 0 auto; }
    .tg-header__area .tgmenu__action > ul { gap: 4px; }
    .tg-header__area .tgmenu__action > ul > li { margin: 0; padding: 0; }
    .tg-header__area .mobile-nav-toggler { flex: 0 0 40px; min-height: 44px; align-content: center; text-align: center; }
    .tgmobile__menu { width: min(100%, 360px); }
    .tgmobile__menu .navigation a { overflow-wrap: anywhere; }
    .breadcrumb__area { padding-top: 48px; padding-bottom: 48px; }
    .breadcrumb__content .title { font-size: clamp(24px, 6vw, 30px); overflow-wrap: anywhere; }
    .breadcrumb__content .breadcrumb { flex-wrap: wrap; }
    .breadcrumb__content .breadcrumb > * { min-width: 0; overflow-wrap: anywhere; }
    .main-area .section-py-120 { padding-top: 56px; padding-bottom: 56px; }
    .main-area .section-pt-120 { padding-top: 56px; }
    .main-area .section-pb-90 { padding-bottom: 40px; }
    .main-area .section__title .title { font-size: clamp(26px, 6.5vw, 32px); line-height: 1.25; overflow-wrap: anywhere; }
    .courses__item-bottom { gap: 16px; align-items: center; }
    .courses__item-bottom .button { min-width: 0; max-width: 100%; }
    .courses__item-bottom .button a { white-space: normal; height: auto; min-height: 44px; }
    .courses__item-bottom .price { margin: 0; }
    .courses__nav-tabs .nav-link { white-space: normal; overflow-wrap: anywhere; }
    .instructor__content, .courses__item-content { min-width: 0; overflow-wrap: anywhere; }
    .newsletter__form { width: 100%; }
    .newsletter__form form { flex-wrap: wrap; gap: 16px; }
    .newsletter__form form input { width: 100%; min-width: 0; padding-inline-end: 24px; font-size: 16px; }
    .newsletter__form form .btn { position: static; transform: none; width: 100%; white-space: normal; }
    .faq__img { max-width: 100%; }
    .faq__img img { max-width: 100%; height: auto; }
    .account__form-wrap { padding: 24px 20px; }
    .account__form-wrap .title { font-size: 28px; overflow-wrap: anywhere; }
    .account__form .account__check-remember { flex-wrap: wrap; gap: 12px; }
    .account__form input:not([type=checkbox]):not([type=radio]),
    .contact-form-wrap input, .contact-form-wrap textarea { font-size: 16px; min-width: 0; }
    .footer__top { padding-top: 56px; padding-bottom: 16px; }
    .footer__widget { margin-bottom: 32px; min-width: 0; }
    .footer__content, .footer__link, .footer__bottom-menu { overflow-wrap: anywhere; }
    .footer__bottom-menu ul { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: center; }
    .footer__bottom-menu ul li { padding: 0; margin: 0; border: 0; }
    .footer__bottom-menu ul li::before, .footer__bottom-menu ul li::after { display: none; }
    .footer__bottom-menu a::before, .footer__bottom-menu a::after { display: none; }
    .footer__bottom-menu a { display: inline-block; padding: 6px 0; }
}
@media (max-width: 359px) {
    .tg-header__area .tgmenu__nav > .logo { max-width: 130px; }
    .tg-header__area .tgmenu__nav { gap: 4px; }
    .courses__item-bottom { flex-direction: column; align-items: flex-start; }
}
