.site-shell {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    background: #f7f8f5;
}

.site-topbar {
    display: grid;
    grid-template-columns: minmax(190px, 1fr) minmax(280px, 680px) minmax(70px, 1fr);
    gap: 18px;
    align-items: center;
    min-height: 82px;
    padding: 12px clamp(16px, 4vw, 44px);
    border-bottom: 1px solid rgba(16, 20, 24, .1);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
    z-index: 10;
}

.site-brand {
    color: #101418;
    display: inline-flex;
    align-items: baseline;
    gap: 1px;
    width: max-content;
    text-decoration: none;
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 850;
    letter-spacing: 0;
}

.site-brand span {
    font-weight: 250;
}

.site-brand small {
    margin-left: 8px;
    color: #66717a;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.site-search {
    width: 100%;
}

.site-actions {
    display: flex;
    justify-content: flex-end;
}

.site-scroll {
    position: relative;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    background:
        linear-gradient(180deg, rgba(15, 118, 110, .04), rgba(245, 184, 75, .05) 520px, transparent 920px),
        #f7f8f5;
}

.site-scroll > hr,
.D_ComputerView hr,
.D_MobileView hr {
    border: 0;
    height: 1px;
    margin: 0;
    background: rgba(16, 20, 24, .1);
}

.site-scroll a {
    color: #0b4f49;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.site-scroll h1,
.site-scroll h2,
.site-scroll h3,
.site-scroll h4 {
    color: inherit;
    letter-spacing: 0;
}

.site-scroll p {
    color: inherit;
}

.ranking-search {
    width: 100%;
    margin: 0 auto;
}

.ranking-search-large {
    max-width: 820px;
}

.ranking-search-compact {
    max-width: 680px;
}

.ranking-search .mud-input-root-outlined {
    background: #fff;
    border-radius: 8px;
}

.ranking-search-large .mud-input-root {
    min-height: 68px;
    font-size: 18px;
}

.ranking-search-large .mud-input-control > .mud-input-control-input-container > div.mud-input.mud-input-outlined {
    border-radius: 8px;
}

.ranking-search .mud-input-outlined-border {
    border-color: rgba(16, 20, 24, .18) !important;
}

.ranking-search .mud-input-control:hover .mud-input-outlined-border,
.ranking-search .mud-input-control:focus-within .mud-input-outlined-border {
    border-color: #0f766e !important;
    border-width: 2px;
}

.ranking-search .mud-input-adornment button,
.ranking-search .mud-input-adornment .mud-icon-button {
    color: #0f766e;
}

.ranking-search-header {
    display: block;
    padding: 8px 8px 4px;
    color: #66717a;
    font-weight: 850;
    letter-spacing: .08em;
}

.ranking-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 8px 4px;
}

.ranking-search-item-copy {
    min-width: 0;
}

.ranking-search-item-title {
    overflow: hidden;
    font-weight: 750;
    text-overflow: ellipsis;
}

.ranking-search-item-subtitle {
    color: #66717a;
}

.ranking-search-message {
    margin: 8px 4px 0;
    color: #9b1c1c;
    font-size: 13px;
}

.mud-button-filled,
.mud-button-filled-primary {
    background: #0f766e !important;
    color: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 24px rgba(15, 118, 110, .22) !important;
}

.mud-button-filled:hover,
.mud-button-filled-primary:hover {
    background: #0b4f49 !important;
}

.mud-button-filled .mud-icon-root,
.mud-button-filled-primary .mud-icon-root {
    color: currentColor !important;
}

.mud-button-outlined-primary,
.mud-icon-button-color-primary {
    color: #0f766e !important;
}

.mud-button-outlined-primary {
    border-color: rgba(15, 118, 110, .42) !important;
}

.mud-button-text-primary {
    color: #0f766e !important;
}

.mud-primary-text {
    color: #0f766e !important;
}

.mud-primary-hover:hover {
    background-color: rgba(15, 118, 110, .08) !important;
}

.mud-input-root-outlined {
    border-radius: 8px !important;
    background: #fff;
}

.mud-input-outlined-border {
    border-color: rgba(16, 20, 24, .16) !important;
}

.mud-input-control:hover .mud-input-outlined-border,
.mud-input-control:focus-within .mud-input-outlined-border {
    border-color: #0f766e !important;
}

.city-page {
    background:
        linear-gradient(180deg, rgba(16, 20, 24, .02), transparent 520px),
        #f7f8f5;
}

.city-editorial-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, .55fr);
    gap: clamp(24px, 5vw, 72px);
    align-items: end;
    min-height: clamp(430px, 56vh, 620px);
    padding: clamp(44px, 7vw, 92px) clamp(18px, 6vw, 92px);
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(110deg, rgba(10, 14, 18, .94) 0%, rgba(10, 14, 18, .76) 45%, rgba(10, 14, 18, .28) 100%),
        url('/driving-school-hero.png') center right / cover no-repeat;
    color: #fff;
}

.city-editorial-hero::before {
    content: "";
    position: absolute;
    right: clamp(18px, 6vw, 92px);
    top: 72px;
    width: min(42vw, 520px);
    height: 1px;
    background: linear-gradient(90deg, rgba(245, 184, 75, 0), rgba(245, 184, 75, .85));
}

.city-editorial-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 92px;
    background: linear-gradient(0deg, rgba(247, 248, 245, 1), rgba(247, 248, 245, 0));
    pointer-events: none;
}

.city-hero-copy,
.city-hero-panel {
    position: relative;
    z-index: 1;
}

.city-breadcrumb {
    margin-bottom: 22px;
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
}

.city-breadcrumb a {
    color: #d9f5ec;
}

.city-kicker {
    width: max-content;
    margin: 0 0 16px;
    border: 1px solid rgba(245, 184, 75, .46);
    border-radius: 999px;
    padding: 7px 12px;
    color: #ffe1a1 !important;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.city-editorial-hero h1 {
    max-width: 840px;
    margin: 0;
    color: #fff !important;
    font-size: clamp(46px, 8vw, 92px);
    font-weight: 900;
    line-height: .94;
    text-shadow: 0 20px 54px rgba(0, 0, 0, .45);
}

.city-lead {
    max-width: 720px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .82) !important;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.55;
}

.city-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.city-primary-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    border-radius: 8px;
    padding: 10px 16px;
    background: #f5b84b;
    color: #101418 !important;
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 16px 30px rgba(245, 184, 75, .2);
}

.city-hero-actions .mud-button-outlined {
    border-color: rgba(255, 255, 255, .28) !important;
    color: #fff !important;
    background: rgba(255, 255, 255, .08) !important;
}

.city-hero-panel {
    display: grid;
    gap: 1px;
    align-self: stretch;
    min-height: 300px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, .16);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .24);
    backdrop-filter: blur(12px);
}

.city-hero-panel div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(18px, 3vw, 28px);
    background: rgba(255, 255, 255, .9);
}

.city-hero-panel span {
    color: #0b4f49;
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 900;
    line-height: 1;
}

.city-hero-panel p {
    margin: 8px 0 0;
    color: #39434c;
    font-weight: 750;
}

.city-map-panel {
    position: relative;
    height: 420px;
    margin: clamp(18px, 4vw, 42px) auto;
    width: min(1120px, calc(100% - 36px));
    border: 1px solid rgba(16, 20, 24, .1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(16, 20, 24, .12);
}

.city-map-panel-expanded {
    position: fixed;
    inset: 92px 18px 18px;
    z-index: 20;
    width: auto;
    height: auto;
    margin: 0;
}

.city-map-toggle {
    position: absolute !important;
    left: 14px;
    bottom: 14px;
    z-index: 1001;
}

.city-intro-section {
    padding: clamp(26px, 5vw, 58px) clamp(18px, 6vw, 92px) 0;
}

.city-intro-card {
    width: min(960px, 100%);
    border-left: 4px solid #f5b84b;
    padding: 0 0 0 clamp(18px, 3vw, 34px);
}

.city-intro-card h2 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
}

.city-intro-card h2 span {
    color: #0b4f49;
    font-weight: 500;
}

.city-intro-card p {
    max-width: 980px;
    color: #39434c;
    font-size: 17px;
    line-height: 1.72;
}

.D_CityTopHolder {
    min-height: 330px;
    height: 38vh;
    background:
        linear-gradient(90deg, rgba(10, 14, 18, .84), rgba(10, 14, 18, .38)),
        url('/driving-school-hero.png') center right / cover no-repeat !important;
    border-bottom: 1px solid rgba(16, 20, 24, .12);
    overflow: hidden;
}

.D_CityTopHolder > p {
    position: relative;
    z-index: 2;
    color: #fff;
    text-shadow: 0 14px 40px rgba(0, 0, 0, .42);
    font-size: clamp(42px, 7vw, 76px) !important;
    font-weight: 850 !important;
}

.D_CityTopHolder .leaflet-container {
    filter: saturate(.82) contrast(.94);
}

.D_CityTopHolder::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(10, 14, 18, .06), rgba(10, 14, 18, .28));
}

.D_CityOskList_Holder {
    display: grid !important;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: 18px;
    align-items: flex-start;
    max-width: 1180px !important;
    width: min(1180px, 100%) !important;
    padding-top: clamp(22px, 4vw, 42px) !important;
}

.D_CityOskList_Holder > .D_Spacer {
    display: none !important;
}

.D_CityOskList_Holder + * {
    border-color: rgba(16, 20, 24, .1) !important;
}

.D_SettingsHolder {
    border: 1px solid rgba(16, 20, 24, .1) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, .92) !important;
    box-shadow: 0 18px 48px rgba(16, 20, 24, .08);
    position: sticky;
    top: 18px;
    width: 100% !important;
    padding: 20px !important;
}

.D_SettingsHolder p:first-child {
    color: #101418;
    font-size: 22px !important;
    line-height: 1.1;
}

.D_SettingsHolder .mud-input-control,
.D_SettingsHolder .mud-select {
    margin-top: 12px;
}

.D_DrivingSchoolHolder,
.AllSides_D_OskHolder {
    border: 1px solid rgba(16, 20, 24, .1) !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 18px 46px rgba(16, 20, 24, .07);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    overflow: hidden;
}

.D_DrivingSchoolHolder:hover,
.AllSides_D_OskHolder:hover {
    border-color: rgba(15, 118, 110, .28) !important;
    box-shadow: 0 24px 60px rgba(16, 20, 24, .1);
    transform: translateY(-2px);
}

.D_DrivingSchoolHolder h2 {
    color: #101418;
    font-size: clamp(24px, 3vw, 34px) !important;
    line-height: 1.1;
}

.D_DrivingSchoolHolder p,
.D_SettingsHolder p {
    color: #39434c;
}

.B_SeeMoreAboutOSK {
    background: #0f766e !important;
    color: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 14px 28px rgba(15, 118, 110, .22) !important;
}

.B_SeeMoreAboutOSK:hover {
    background: #0b4f49 !important;
}

.D_DrivingSchoolHolder > hr,
.D_DrivingSchoolHolder hr {
    border: 0 !important;
    height: 1px !important;
    background: rgba(16, 20, 24, .1) !important;
}

.D_DrivingSchoolHolder div[style*="background-color: rgba(230, 230, 230"] {
    background: #f7faf8 !important;
}

.P_FilterLabel {
    color: #66717a;
}

.P_FilterLabel.first {
    color: #101418;
    font-weight: 800 !important;
}

.D_DrivingSchoolHolder .mud-icon-root,
.rating .mud-icon-root {
    color: #f5b84b;
}

.D_ComputerView .D_OSK_MainInfo,
.D_MobileView .D_Top,
.D_ComputerView .D_CommentSection,
.D_MobileView .D_CommentSection,
.D_ComputerView .D_PricingSection_SubFrame,
.D_MobileView .D_PricingSection_SubFrame,
.D_Bottom {
    background-image: none !important;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, .08), rgba(245, 184, 75, .08)),
        #f7f8f5 !important;
}

.D_ComputerView .D_OSK_MainInfo {
    min-height: calc(100dvh - 82px);
    padding: clamp(22px, 4vw, 48px);
}

.D_ComputerView .D_OSK_MainInfo_SubFrame,
.D_MobileView .D_Top_Inside,
.D_ComputerView .D_CommentSubFrame,
.D_MobileView .D_CommentSubFrame,
.D_PricingSection,
.D_InsideHolder,
.searchHolder > div[style*="border"],
.D_OSK_Description {
    border: 1px solid rgba(16, 20, 24, .1) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, .94) !important;
    box-shadow: 0 22px 58px rgba(16, 20, 24, .08);
}

.D_ComputerView .D_OSK_MainInfo_SubFrame {
    max-height: none !important;
    min-height: 620px;
}

.D_ComputerView .D_MapHolder {
    border: 0 !important;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(16, 20, 24, .1);
}

.D_TopInfoForMainHolder,
.searchHolder .D_TopInfoForMainHolder,
.stateHolder .D_TopInfoForMainHolder,
.D_ComputerView .D_TopInfoForMainHolder,
.D_MobileView .D_TopInfoForMainHolder {
    width: auto !important;
    min-width: 140px;
    border: 1px solid rgba(15, 118, 110, .18) !important;
    border-radius: 999px !important;
    background: #eff8f5 !important;
    color: #0b4f49;
    padding: 6px 14px !important;
    box-shadow: 0 10px 24px rgba(16, 20, 24, .07);
}

.D_TopInfoForMainHolder p,
.D_TopInfoForMainHolder h2 {
    margin: 0;
    color: #0b4f49;
}

.D_ContactElements,
.D_AllLocalizations,
.D_ComputerView .D_CityHolder,
.D_MobileView .D_CityHolder,
.D_CommentHolder,
.D_WriteCommentHolder,
.D_OSK_Pricing_Frame,
.D_SocialMediaHolder {
    border: 1px solid rgba(16, 20, 24, .1) !important;
    border-radius: 8px !important;
    background: #fff !important;
}

.D_ContactHolder {
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
    transition: background .2s ease;
}

.D_ContactHolder:hover {
    background: #f2f8f6;
}

.D_ContactHolder .mud-icon-root {
    color: #0f766e;
}

.D_AllLocalizations {
    height: auto !important;
    min-height: 94px;
}

.D_CityHolder {
    box-shadow: 0 10px 22px rgba(16, 20, 24, .05);
}

.D_OSK_Description {
    line-height: 1.7;
}

.D_OSK_Description h1,
.D_OSK_Description h2,
.D_OSK_Description h3 {
    margin-top: 0;
}

.D_CommentSection {
    padding: clamp(22px, 4vw, 48px) !important;
}

.D_CommentSubFrame {
    padding-top: 22px;
}

.D_CommentHolder {
    box-shadow: 0 12px 30px rgba(16, 20, 24, .05);
}

.D_WriteCommentHolder {
    top: 96px !important;
    box-shadow: 0 18px 44px rgba(16, 20, 24, .08);
}

.D_PricingSection {
    margin: 32px 20px !important;
    overflow: hidden;
}

.D_OSK_Pricing_Frame {
    gap: 18px;
    box-shadow: 0 12px 28px rgba(16, 20, 24, .05);
}

.D_InsideHolder {
    max-width: 980px;
}

.platform-page {
    width: min(1080px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(28px, 5vw, 64px) 0;
}

.platform-card {
    border: 1px solid rgba(16, 20, 24, .1);
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 22px 58px rgba(16, 20, 24, .08);
    padding: clamp(22px, 4vw, 42px);
}

.platform-card h1 {
    margin-top: 0;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.04;
}

.platform-card h2 {
    margin-top: 34px;
    font-size: clamp(24px, 3vw, 34px);
}

.platform-card p,
.platform-card li {
    color: #39434c;
    font-size: 17px;
    line-height: 1.72;
}

.all-sites-page {
    display: grid;
    gap: 22px;
}

.all-sites-state {
    border: 1px solid rgba(16, 20, 24, .1);
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 46px rgba(16, 20, 24, .07);
    padding: clamp(18px, 3vw, 30px);
}

.all-sites-city {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid rgba(16, 20, 24, .1);
}

.all-sites-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 16px;
}

.all-sites-links a {
    border: 1px solid rgba(15, 118, 110, .16);
    border-radius: 999px;
    padding: 8px 12px;
    background: #eff8f5;
    color: #0b4f49;
    text-decoration: none;
    font-size: 14px;
    font-weight: 750;
}

.mobile-search-page {
    min-height: calc(100dvh - 70px);
    padding: 24px 16px 42px !important;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, .08), rgba(245, 184, 75, .1)),
        #f7f8f5;
}

.mobile-search-page h1 {
    font-size: 30px !important;
    line-height: 1.1;
}

.mobile-search-section,
.mobile-search-empty {
    border: 1px solid rgba(16, 20, 24, .1) !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 18px 46px rgba(16, 20, 24, .08);
    padding: 18px !important;
}

.mobile-search-row {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.mobile-search-row p {
    flex: 1;
    margin: 0;
    color: #101418;
    font-size: 18px;
    font-weight: 750;
}

.site-footer {
    border-top: 1px solid rgba(16, 20, 24, .1);
    background: #101418;
    color: rgba(255, 255, 255, .78);
}

.site-footer-inner {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
    padding: 38px 0 28px;
}

.site-footer h2,
.site-footer strong {
    color: #fff;
}

.site-footer a {
    color: #d9f5ec;
}

.site-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0;
}

.site-footer-nav a {
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    padding: 8px 12px;
    text-decoration: none;
}

.site-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.site-footer-socials {
    display: flex;
    gap: 12px;
}

.site-footer-socials a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
}

.site-footer-socials img {
    filter: invert(1);
}

@media screen and (max-width: 1100px) {
    .site-topbar {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .site-search {
        display: none;
    }

    .D_SettingsHolder {
        position: static;
    }

    .D_CityOskList_Holder {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 640px) {
    .site-topbar {
        min-height: 70px;
        padding: 10px 16px;
    }

    .site-brand small {
        display: none;
    }

    .D_ComputerView .D_OSK_MainInfo,
    .D_CommentSection {
        padding: 16px !important;
    }

    .D_OSK_Pricing_Frame {
        display: block !important;
    }

    .site-footer-bottom {
        display: block;
    }
}
