/*
 * YCS Mega Menu: styles.
 *
 * Developed by vsantos.pt (https://vsantos.pt)
 * November 2026
 */
.ycs-header {
	--ycs-navy: #0d2847;
	--ycs-navy-2: #12365f;
	--ycs-accent: #2f9bef;
	--ycs-accent-ink: #1a7fd1;
	--ycs-accent-50: #eaf5fe;
	--ycs-muted: #5b6b80;
	--ycs-faint: #9aa8ba;
	--ycs-line: #e3e9f1;
	--ycs-soft: #f4f7fb;
	--ycs-star: #f5b301;
	--ycs-top-h: 38px;
	--ycs-bar-h: 80px;
	--ycs-radius: 18px;
	--ycs-ease: cubic-bezier(.2, .7, .2, 1);
	--ycs-panel-w: 1040px;

	--ycs-font:       "proxima nova regular", "proxima-nova", "Proxima Nova", "Figtree", Arial, sans-serif;
	--ycs-font-bold:  "proxima nova bold", "proxima-nova", "Proxima Nova", "Figtree", Arial, sans-serif;
	--ycs-font-light: "proxima nova light", "proxima-nova", "Proxima Nova", "Figtree", Arial, sans-serif;

	position: sticky;
	top: calc(var(--ycs-top-h) * -1);
	z-index: 1000;
	font-family: var(--ycs-font);
	font-synthesis: none;
	color: var(--ycs-navy);
	-webkit-font-smoothing: antialiased;
}
body.admin-bar .ycs-header { top: calc(32px - var(--ycs-top-h)); }

.ycs-header *,
.ycs-header *::before,
.ycs-header *::after { box-sizing: border-box; }

.ycs-header ul { list-style: none; margin: 0; }
.ycs-header p { margin: 0; }
.ycs-header a { text-decoration: none; color: inherit; }

.ycs-header a,
.ycs-header a:hover,
.ycs-header a:focus,
.ycs-header a:active,
.ycs-header a *,
.ycs-header a:hover * { text-decoration: none !important; }
.ycs-header button { background: none; border: 0; border-radius: 0; box-shadow: none; margin: 0; min-height: 0; width: auto; cursor: pointer; }
:where(.ycs-header) ul { padding: 0; }
:where(.ycs-header) button { font: inherit; color: inherit; padding: 0; line-height: inherit; text-transform: none; letter-spacing: inherit; }
.ycs-mm__list, .ycs-mm-svc-list, .ycs-mm-towns, .ycs-mm-results__list { padding: 0; }
.ycs-header [hidden] { display: none !important; }
.ycs-header .ycs-ico { width: 20px; height: 20px; flex: none; display: block; }
.ycs-header :focus-visible { outline: 2px solid var(--ycs-accent); outline-offset: 2px; border-radius: 8px; }

.ycs-container { max-width: calc(var(--ycs-container, 1380px) + 56px); margin: 0 auto; padding: 0 28px; }

.ycs-skip {
	position: absolute; left: 12px; top: -60px; z-index: 2000;
	background: var(--ycs-navy); color: #fff !important; padding: 10px 16px; border-radius: 8px; font-weight: 700; font-family: var(--ycs-font-bold);
}
.ycs-skip:focus { top: 12px; }
.ycs-header strong,
.ycs-header mark { font-weight: 700; font-family: var(--ycs-font-bold); }

.ycs-mm-sub,
.ycs-mm-link__desc,
.ycs-mm-post__meta,
.ycs-mm-results__county,
.ycs-mm-rating > span:last-child,
.ycs-topbar__note { font-weight: 300; font-family: var(--ycs-font-light); }

/* Top bar */
.ycs-topbar { background: var(--ycs-navy); color: #fff; font-size: 13.5px; }
.ycs-topbar__inner { height: var(--ycs-top-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ycs-topbar__note { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .78); }
.ycs-topbar__note .ycs-ico { width: 15px; height: 15px; color: var(--ycs-accent); }
.ycs-topbar__login { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-family: var(--ycs-font-bold); color: #fff !important; opacity: .95; }
.ycs-topbar__login .ycs-ico { width: 17px; height: 17px; }

/* Main bar */
.ycs-mainbar { background: #fff; border-bottom: 1px solid var(--ycs-line); }
.ycs-mainbar__inner { position: relative; height: var(--ycs-bar-h); display: flex; align-items: center; gap: 24px; }

.ycs-logo { flex: none; display: block; }
.ycs-logo img { display: block; width: 120px; height: auto; }
.ycs-admin-edit {
	position: absolute; left: 28px; top: 6px; font-size: 11px; font-weight: 700; font-family: var(--ycs-font-bold); padding: 2px 8px;
	border: 1px solid var(--ycs-line); border-radius: 6px; background: #fff; color: var(--ycs-muted) !important;
}

.ycs-actions { flex: none; display: flex; align-items: center; gap: 20px; margin-left: auto; }
.ycs-actions__phone { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; padding-left: 22px; border-left: 1px solid var(--ycs-line); }
.ycs-actions__phone-ico {
	width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none;
	background: var(--ycs-accent-50); color: var(--ycs-accent);
	transition: background-color .2s, color .2s, box-shadow .2s;
}
.ycs-actions__phone-ico .ycs-ico { width: 18px; height: 18px; }
.ycs-actions__phone-text { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.ycs-actions__phone-label { font-size: 12px; color: var(--ycs-muted); font-weight: 300; font-family: var(--ycs-font-light); }
.ycs-actions__phone-num { font-size: 17px; font-weight: 700; font-family: var(--ycs-font-bold); letter-spacing: .01em; transition: color .2s; }
.ycs-actions__phone:hover .ycs-actions__phone-ico { background: var(--ycs-accent); color: #fff; box-shadow: 0 6px 14px -6px rgba(47, 155, 239, .7); }
.ycs-actions__phone:hover .ycs-actions__phone-num { color: var(--ycs-accent-ink); }
.ycs-actions__book { height: 48px; padding: 0 24px 0 20px; border-radius: 999px; gap: 9px; }
.ycs-actions__book .ycs-actions__book-ico { width: 17px; height: 17px; }
.ycs-header .ycs-actions__book:hover .ycs-ico:last-child { transform: none; }
.ycs-burger { display: none; }

/* Buttons */
.ycs-mm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 46px; padding: 0 22px; border-radius: 10px;
	font-weight: 700; font-family: var(--ycs-font-bold); font-size: 15px; line-height: 1; white-space: nowrap;
	border: 1.5px solid transparent;
	transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.ycs-mm-btn .ycs-ico { width: 18px; height: 18px; transition: transform .2s var(--ycs-ease); }
.ycs-mm-btn:hover .ycs-ico:last-child { transform: translateX(3px); }
.ycs-mm-btn--primary { background: var(--ycs-navy); color: #fff !important; }
.ycs-mm-btn--primary:hover { background: var(--ycs-navy-2); box-shadow: 0 6px 16px -6px rgba(13, 40, 71, .5); }
.ycs-mm-btn--accent { background: var(--ycs-accent); color: #fff !important; }
.ycs-mm-btn--accent:hover { background: var(--ycs-accent-ink); box-shadow: 0 6px 16px -6px rgba(47, 155, 239, .6); }
.ycs-mm-btn--ghost { border-color: var(--ycs-line); color: var(--ycs-navy) !important; background: #fff; }
.ycs-mm-btn--ghost:hover { border-color: var(--ycs-navy); }
.ycs-mm-btn--light { background: #fff; color: var(--ycs-navy) !important; }
.ycs-mm-btn--light:hover { background: var(--ycs-accent-50); }
.ycs-mm-btn--block { width: 100%; }

/* Top-level nav */
.ycs-mm { flex: 1; display: flex; justify-content: center; min-width: 0; }
.ycs-mm__list { display: flex; align-items: stretch; gap: 2px; }
.ycs-mm__trigger {
	position: relative; display: inline-flex; align-items: center; gap: 6px;
	height: var(--ycs-bar-h); padding: 0 14px;
	font-size: 14.5px; font-weight: 700; font-family: var(--ycs-font-bold); letter-spacing: .03em; text-transform: uppercase;
	color: var(--ycs-navy); white-space: nowrap;
}
.ycs-mm__trigger::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0;
	background: var(--ycs-accent); transform: scaleX(0); transition: transform .25s var(--ycs-ease);
}
.ycs-mm__trigger:hover::after,
.ycs-mm__trigger.is-current::after,
.ycs-mm__trigger[aria-current="page"]::after,
.ycs-mm__trigger[aria-expanded="true"]::after { transform: scaleX(1); }
.ycs-mm__trigger[aria-expanded="true"] { color: var(--ycs-accent-ink); }

.ycs-mm__trigger.is-current[aria-expanded="false"]::after { background: #b9dcf9; }
.ycs-mm__chev { width: 16px !important; height: 16px !important; transition: transform .25s var(--ycs-ease); opacity: .7; }
.ycs-mm__trigger[aria-expanded="true"] .ycs-mm__chev { transform: rotate(180deg); opacity: 1; }
.ycs-mm__drawer-head,
.ycs-mm__drawer-foot { display: none; }

.ycs-mm__panel {
	position: absolute; top: calc(100% + 12px); left: 50%;
	width: min(var(--ycs-panel-w), calc(100vw - 40px));
	background: #fff; border: 1px solid var(--ycs-line); border-radius: var(--ycs-radius);
	box-shadow: 0 30px 60px -20px rgba(13, 40, 71, .28), 0 10px 20px -10px rgba(13, 40, 71, .12);
	overflow: hidden;
	opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
	transition: opacity .2s var(--ycs-ease), transform .25s var(--ycs-ease), visibility 0s linear .25s;
}

.ycs-mm__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.ycs-mm__trigger[aria-expanded="true"] + .ycs-mm__panel {
	opacity: 1; visibility: visible; transform: translate(-50%, 0);
	transition: opacity .2s var(--ycs-ease), transform .25s var(--ycs-ease), visibility 0s;
}

.ycs-mm-eyebrow { font-size: 11.5px; font-weight: 700; font-family: var(--ycs-font-bold); letter-spacing: .12em; text-transform: uppercase; color: var(--ycs-muted); margin-bottom: 14px !important; }

/* Icons */
.ycs-mm-svc__ico {
	flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
	background: var(--ycs-soft); color: var(--ycs-navy);
	transition: background-color .2s, color .2s, transform .2s var(--ycs-ease);
}
.ycs-mm-svc__ico--lg { width: 50px; height: 50px; border-radius: 13px; }
.ycs-mm-svc__ico--lg .ycs-ico { width: 24px; height: 24px; }

/* Services */
.ycs-mm-services { display: grid; grid-template-columns: repeat(3, 1fr); padding: 28px 32px 22px; }
.ycs-mm-col + .ycs-mm-col { border-left: 1px solid var(--ycs-line); padding-left: 28px; }
.ycs-mm-col { padding-right: 20px; }

.ycs-mm-svc { display: flex; align-items: center; gap: 13px; padding: 7px 10px 7px 7px; margin-left: -7px; border-radius: 13px; font-size: 15.5px; font-weight: 700; font-family: var(--ycs-font-bold); line-height: 1.25; transition: background-color .2s; }
.ycs-mm-svc-list > li + li { margin-top: 2px; }
.ycs-mm-svc:hover { background: var(--ycs-soft); }
.ycs-mm-svc:hover .ycs-mm-svc__ico,
.ycs-mm-svc[aria-current="page"] .ycs-mm-svc__ico { background: var(--ycs-accent); color: #fff; }
.ycs-mm-svc[aria-current="page"] .ycs-mm-svc__label { color: var(--ycs-accent-ink); }
.ycs-mm-svc--parent { font-size: 16.5px; font-weight: 700; font-family: var(--ycs-font-bold); }
.ycs-mm-svc--parent .ycs-mm-svc__ico { background: var(--ycs-navy); color: #fff; }

.ycs-mm-badge {
	display: inline-block; margin-left: 8px; padding: 3px 7px 2px; border-radius: 999px; vertical-align: 2px;
	font-size: 10.5px; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase;
	font-weight: 700; font-family: var(--ycs-font-bold); background: var(--ycs-accent); color: #fff;
}

/* Service tree */
.ycs-mm-tree { margin: 2px 0 0 20px !important; }
.ycs-mm-tree > li { position: relative; padding-left: 22px; }
.ycs-mm-tree > li::before { content: ""; position: absolute; left: 0; top: -2px; bottom: 0; border-left: 1.5px solid #cfd9e6; }
.ycs-mm-tree > li:last-child::before { bottom: 50%; }
.ycs-mm-tree > li::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; border-top: 1.5px solid #cfd9e6; }
.ycs-mm-tree > li:last-child::after { border-bottom-left-radius: 8px; }
.ycs-mm-tree .ycs-mm-svc { font-size: 15px; }
.ycs-mm-tree .ycs-mm-svc__ico { width: 34px; height: 34px; border-radius: 10px; }
.ycs-mm-tree .ycs-mm-svc__ico .ycs-ico { width: 18px; height: 18px; }

/* Footer strip */
.ycs-mm-strip {
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	padding: 16px 32px; border-top: 1px solid var(--ycs-line);
	background: linear-gradient(90deg, #f3f8fe 0%, var(--ycs-accent-50) 100%);
}
.ycs-mm-strip__text { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 20px; }
.ycs-mm-strip__msg { font-size: 15px; font-weight: 700; font-family: var(--ycs-font-bold); }
.ycs-mm-rating { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ycs-muted); padding-right: 20px; border-right: 1px solid #cfdcec; }
.ycs-mm-rating strong { color: var(--ycs-navy); font-size: 14px; }
.ycs-mm-rating__stars { display: inline-flex; gap: 1px; color: var(--ycs-star); }
.ycs-mm-rating__stars .ycs-ico,
.ycs-mm-card__rating .ycs-ico { width: 15px; height: 15px; }

/* Areas */
.ycs-mm-areas__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px 20px; }
.ycs-mm-title { font-size: 22px; font-weight: 700; font-family: var(--ycs-font-bold); letter-spacing: -.01em; line-height: 1.2; }
.ycs-mm-sub { font-size: 14px; color: var(--ycs-muted); margin-top: 4px !important; }

.ycs-mm-search {
	position: relative; flex: 0 1 360px; display: flex; align-items: center; gap: 10px;
	height: 48px; padding: 0 14px; border: 1.5px solid var(--ycs-line); border-radius: 12px; background: var(--ycs-soft);
	transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.ycs-mm-search .ycs-ico { color: var(--ycs-muted); }
.ycs-mm-search:focus-within { border-color: var(--ycs-accent); background: #fff; box-shadow: 0 0 0 4px rgba(47, 155, 239, .15); }
.ycs-mm-search input {
	flex: 1; min-width: 0; height: 100%; border: 0 !important; outline: 0 !important; background: transparent !important;
	box-shadow: none !important; padding: 0 !important; margin: 0; font: inherit; font-size: 15px; color: var(--ycs-navy);
}
.ycs-mm-search input::placeholder { color: var(--ycs-faint); }
.ycs-mm-search input::-webkit-search-cancel-button { cursor: pointer; }

.ycs-mm-areas__body { display: grid; grid-template-columns: 250px 1fr; border-top: 1px solid var(--ycs-line); }
.ycs-mm-counties { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-right: 1px solid var(--ycs-line); background: #fbfcfe; }
.ycs-header .ycs-mm-county-tab {
	display: flex !important; text-transform: none; letter-spacing: 0; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
	padding: 12px 12px 12px 14px !important; border-radius: 12px; text-align: left;
	font-size: 15px; font-weight: 700; font-family: var(--ycs-font-bold); color: var(--ycs-navy); white-space: nowrap; transition: background-color .2s, color .2s;
}
.ycs-header .ycs-mm-county-tab:hover { background: var(--ycs-soft); }
.ycs-header .ycs-mm-county-tab[aria-selected="true"] { background: var(--ycs-navy); color: #fff; box-shadow: 0 8px 16px -10px rgba(13, 40, 71, .7); }
.ycs-mm-count { min-width: 30px; height: 24px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; font-family: var(--ycs-font-bold); background: #e9eef5; color: var(--ycs-navy); }
.ycs-mm-county-tab[aria-selected="true"] .ycs-mm-count { background: rgba(255, 255, 255, .16); color: #fff; }
.ycs-header .ycs-mm-counties.is-searching .ycs-mm-county-tab[aria-selected="true"] { background: var(--ycs-soft); color: var(--ycs-navy); box-shadow: none; }
.ycs-mm-counties.is-searching .ycs-mm-county-tab[aria-selected="true"] .ycs-mm-count { background: #e9eef5; color: var(--ycs-navy); }

.ycs-mm-county-wrap { padding: 18px 24px 14px 26px; min-width: 0; }
.ycs-mm-county__head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid var(--ycs-line); }
.ycs-mm-county__name { font-size: 17px; font-weight: 700; font-family: var(--ycs-font-bold); }
.ycs-mm-county__count { font-size: 13px; color: var(--ycs-muted); font-weight: 700; font-family: var(--ycs-font-bold); }

.ycs-mm-scroll {
	max-height: 292px; overflow-y: auto; overscroll-behavior: contain; padding-right: 6px;
	scrollbar-width: thin; scrollbar-color: #c7d3e1 transparent;
	-webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent);
	        mask-image: linear-gradient(#000 calc(100% - 28px), transparent);
	padding-bottom: 20px; outline: 0;
}
.ycs-mm-scroll::-webkit-scrollbar { width: 6px; }
.ycs-mm-scroll::-webkit-scrollbar-thumb { background: #c7d3e1; border-radius: 6px; }
.ycs-mm-towns { columns: 3; column-gap: 18px; }
.ycs-mm-towns > li { break-inside: avoid; }
.ycs-mm-towns a,
.ycs-mm-results__list a {
	display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px;
	font-size: 14.5px; font-weight: 400; line-height: 1.3; transition: background-color .15s, color .15s;
}
.ycs-mm-towns a .ycs-ico,
.ycs-mm-results__list a .ycs-ico { width: 15px; height: 15px; color: #b6c3d3; transition: color .15s; }
.ycs-mm-towns a:hover,
.ycs-mm-results__list a:hover,
.ycs-mm-results__list a.is-active { background: var(--ycs-accent-50); color: var(--ycs-accent-ink); }
.ycs-mm-towns a:hover .ycs-ico,
.ycs-mm-results__list a:hover .ycs-ico,
.ycs-mm-results__list a.is-active .ycs-ico { color: var(--ycs-accent); }
.ycs-mm-towns a[aria-current="page"] { font-weight: 700; font-family: var(--ycs-font-bold); color: var(--ycs-accent-ink); }

/* Search results */
.ycs-mm-results__meta { font-size: 13px; font-weight: 700; font-family: var(--ycs-font-bold); color: var(--ycs-muted); padding-bottom: 10px; margin-bottom: 8px !important; border-bottom: 1px solid var(--ycs-line); }
.ycs-mm-results__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 18px; max-height: 292px; overflow-y: auto; }
.ycs-mm-results__list a { flex-wrap: wrap; }
.ycs-mm-results__list mark { background: none; color: inherit; font-weight: 700; font-family: var(--ycs-font-bold); }
.ycs-mm-results__county { flex-basis: 100%; padding-left: 23px; font-size: 12px; color: var(--ycs-muted); font-weight: 400; margin-top: -2px; }
.ycs-mm-results__empty { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px; border-radius: 14px; background: var(--ycs-soft); font-size: 14.5px; }

/* About */
.ycs-mm__panel--about { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; padding: 14px 14px 14px 18px; }
.ycs-mm-links { padding: 4px; }
.ycs-mm-links > li + li { border-top: 1px solid var(--ycs-line); }
.ycs-mm-link,
.ycs-mm-tile { display: flex; align-items: center; gap: 15px; padding: 16px 14px; border-radius: 14px; transition: background-color .2s, border-color .2s, box-shadow .2s; }
.ycs-mm-links > li + li .ycs-mm-link { margin-top: 1px; }
.ycs-mm-link:hover { background: var(--ycs-soft); }
.ycs-mm-link__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.ycs-mm-link__title { font-size: 16px; font-weight: 700; font-family: var(--ycs-font-bold); line-height: 1.25; }
.ycs-mm-link__desc { font-size: 14px; color: var(--ycs-muted); line-height: 1.4; }
.ycs-mm-link__arrow { width: 18px !important; height: 18px !important; color: var(--ycs-accent); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .25s var(--ycs-ease); }
.ycs-mm-link:hover .ycs-mm-link__arrow,
.ycs-mm-tile:hover .ycs-mm-link__arrow { opacity: 1; transform: none; }
.ycs-mm-link:hover .ycs-mm-svc__ico,
.ycs-mm-tile:hover .ycs-mm-svc__ico { background: var(--ycs-accent); color: #fff; }

.ycs-mm-card {
	position: relative; overflow: hidden; border-radius: 14px; padding: 30px 26px;
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px;
	color: #fff; background:
		radial-gradient(120% 80% at 100% 0%, rgba(47, 155, 239, .45) 0%, rgba(47, 155, 239, 0) 60%),
		linear-gradient(160deg, var(--ycs-navy-2) 0%, var(--ycs-navy) 100%);
}
.ycs-mm-card::after {
	content: ""; position: absolute; width: 220px; height: 220px; right: -90px; bottom: -110px;
	border: 28px solid rgba(255, 255, 255, .05); border-radius: 50%;
}
.ycs-mm-card__ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); }
.ycs-mm-card__ico .ycs-ico { width: 28px; height: 28px; }
.ycs-mm-card__title { font-size: 21px; font-weight: 700; font-family: var(--ycs-font-bold); line-height: 1.25; max-width: 15ch; }
.ycs-mm-card__rating { display: flex; align-items: center; gap: 2px; color: var(--ycs-star); font-size: 13px; }
.ycs-mm-card__rating span { color: rgba(255, 255, 255, .78); margin-left: 8px; font-weight: 700; font-family: var(--ycs-font-bold); }
.ycs-mm-card .ycs-mm-btn { position: relative; z-index: 1; margin-top: 4px; }

/* Resources */
.ycs-mm-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px; }
.ycs-mm-tile { height: 100%; padding: 20px; border: 1px solid var(--ycs-line); }
.ycs-mm-tile:hover { border-color: #bcdcf8; background: #fbfdff; box-shadow: 0 10px 24px -14px rgba(13, 40, 71, .35); }

/* Latest posts */
.ycs-mm-res { display: grid; grid-template-columns: 300px 1fr; }
.ycs-mm-res__side { padding: 26px 18px 22px 28px; border-right: 1px solid var(--ycs-line); background: #fbfcfe; }
.ycs-mm-links--plain { padding: 0; }
.ycs-mm-links--plain > li + li { border-top: 0; }
.ycs-mm-links--plain .ycs-mm-link { padding: 12px 10px; margin-left: -10px; align-items: flex-start; }
.ycs-mm-links--plain .ycs-mm-link:hover { background: #fff; box-shadow: 0 6px 18px -12px rgba(13, 40, 71, .35); }
.ycs-mm-res__posts { padding: 26px 28px 28px; min-width: 0; }
.ycs-mm-res__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ycs-mm-res__head .ycs-mm-eyebrow { margin-bottom: 0 !important; }
.ycs-mm-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; font-family: var(--ycs-font-bold); color: var(--ycs-accent-ink) !important; }
.ycs-mm-more .ycs-ico { width: 16px; height: 16px; transition: transform .2s var(--ycs-ease); }
.ycs-mm-more:hover .ycs-ico { transform: translateX(3px); }

.ycs-mm-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ycs-mm-post {
	display: flex; flex-direction: column; height: 100%; background: #fff;
	border: 1px solid var(--ycs-line); border-radius: 14px; overflow: hidden;
	transition: border-color .2s, box-shadow .25s, transform .25s var(--ycs-ease);
}
.ycs-mm-post:hover { border-color: #bcdcf8; box-shadow: 0 16px 30px -18px rgba(13, 40, 71, .45); transform: translateY(-2px); }
.ycs-mm-post__img { display: block; aspect-ratio: 420 / 248; overflow: hidden; background: var(--ycs-soft); }
.ycs-mm-post__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ycs-ease); }
.ycs-mm-post:hover .ycs-mm-post__img img { transform: scale(1.05); }
.ycs-mm-post__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 14px 16px 15px; }
.ycs-mm-post__title {
	font-size: 15.5px; line-height: 1.3; font-weight: 700; font-family: var(--ycs-font-bold);
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ycs-mm-post:hover .ycs-mm-post__title { color: var(--ycs-accent-ink); }
.ycs-mm-post__meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--ycs-muted); }
.ycs-mm-post__read { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-family: var(--ycs-font-bold); color: var(--ycs-accent-ink); }
.ycs-mm-post__read .ycs-ico { width: 14px; height: 14px; transition: transform .2s var(--ycs-ease); }
.ycs-mm-post:hover .ycs-mm-post__read .ycs-ico { transform: translateX(3px); }

.ycs-header .ycs-mm__trigger-ico,
.ycs-header .ycs-mm__go,
.ycs-header .ycs-mm-popular,
.ycs-header .ycs-mm-county-tab__ico,
.ycs-header .ycs-mm-county-tab__sub,
.ycs-header .ycs-mm-county-tab__go,
.ycs-header .ycs-mm-county__back,
.ycs-header .ycs-mm-towns__letter,
.ycs-header .ycs-mm-towns__go,
.ycs-header .ycs-topbar__find,
.ycs-header .ycs-topbar__call,
.ycs-header .ycs-burger__close,
.ycs-header .ycs-burger__label { display: none; }
.ycs-mm-county-tab__text { display: contents; }

/* Backdrop */
.ycs-mm-backdrop {
	position: fixed; inset: 0; z-index: -1; background: rgba(9, 24, 44, .38);
	opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s linear .25s;
}
.ycs-header.is-open .ycs-mm-backdrop,
.ycs-header.is-drawer-open .ycs-mm-backdrop { opacity: 1; visibility: visible; transition: opacity .25s, visibility 0s; }

/* Narrow desktop */
@media (max-width: 1240px) and (min-width: 1101px) {
	.ycs-mainbar__inner { gap: 16px; }
	.ycs-mm__trigger { padding: 0 10px; font-size: 13.5px; }
	.ycs-mm__trigger::after { left: 10px; right: 10px; }
	.ycs-actions { gap: 14px; }
	.ycs-actions__phone { padding-left: 14px; gap: 8px; }
	.ycs-actions__phone-label { display: none; }
	.ycs-actions__phone-ico { width: 36px; height: 36px; }
	.ycs-actions__phone-num { font-size: 15.5px; }
	.ycs-actions__book { padding: 0 18px 0 16px; }
	.ycs-mm-btn { padding: 0 18px; }
}

/* Mobile */
@media (max-width: 1100px) {
	.ycs-header { --ycs-bar-h: 68px; top: 0; }
	body.admin-bar .ycs-header { top: 32px; }
	.ycs-topbar { display: none; }
	.ycs-container { padding: 0 18px; }
	.ycs-logo img { width: 96px; }

	.ycs-actions { gap: 10px; }
	.ycs-actions__phone { padding: 0; border: 0; }
	.ycs-actions__phone-text { display: none; }
	.ycs-actions__phone-ico { width: 44px; height: 44px; }
	.ycs-actions__book { height: 44px; padding: 0 16px 0 14px; font-size: 14px; gap: 7px; }
	.ycs-actions { gap: 8px; }
	.ycs-header .ycs-burger { display: grid; padding: 0; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--ycs-line) !important; color: var(--ycs-navy); }
	.ycs-burger .ycs-ico { width: 22px; height: 22px; }

	.ycs-mm {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 1001;
		width: min(440px, 100%); height: 100vh; height: 100dvh;
		flex-direction: column; justify-content: flex-start; background: #fff;
		box-shadow: -20px 0 50px -20px rgba(9, 24, 44, .35);
		transform: translateX(100%); visibility: hidden;
		transition: transform .32s var(--ycs-ease), visibility 0s linear .32s;
	}
	.ycs-header.is-drawer-open .ycs-mm { transform: none; visibility: visible; transition: transform .32s var(--ycs-ease), visibility 0s; }
	.ycs-header.is-drawer-open .ycs-mm-backdrop { z-index: 1000; }
	body.admin-bar .ycs-mm { top: 46px; height: calc(100dvh - 46px); }

	.ycs-mm__drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 12px 22px; border-bottom: 1px solid var(--ycs-line); }
	.ycs-mm__drawer-title { font-size: 12px; font-weight: 700; font-family: var(--ycs-font-bold); letter-spacing: .14em; text-transform: uppercase; color: var(--ycs-muted); }
	.ycs-header .ycs-mm__close { width: 44px; padding: 0; height: 44px; display: grid; place-items: center; border-radius: 12px; }
	.ycs-header .ycs-mm__close:hover { background: var(--ycs-soft); }

	.ycs-mm__list { flex: 1; display: block; overflow-y: auto; overscroll-behavior: contain; padding: 4px 22px 18px; }
	.ycs-mm__item { border-bottom: 1px solid var(--ycs-line); }
	.ycs-header .ycs-mm__trigger { width: 100%; height: 60px; padding: 0; justify-content: space-between; font-size: 16px; letter-spacing: .02em; }
	.ycs-mm__trigger::after { display: none; }
	.ycs-mm__trigger.is-current,
	.ycs-mm__trigger[aria-current="page"] { color: var(--ycs-accent-ink); }
	.ycs-mm__chev { width: 20px !important; height: 20px !important; }

	.ycs-mm__panel,
	.ycs-mm__trigger[aria-expanded="true"] + .ycs-mm__panel {
		position: static; width: auto; transform: none; opacity: 1; visibility: visible;
		border: 0; border-radius: 0; box-shadow: none; overflow: visible; transition: none;
		display: none; padding: 0 0 18px;
	}
	.ycs-mm__trigger[aria-expanded="true"] + .ycs-mm__panel { display: block; animation: ycs-mm-reveal .25s var(--ycs-ease); }
	.ycs-mm__panel::before { display: none; }

	/* Services */
	.ycs-mm-services { grid-template-columns: 1fr; gap: 22px; padding: 4px 0 0; }
	.ycs-mm-col,
	.ycs-mm-col + .ycs-mm-col { border: 0; padding: 0; }
	.ycs-mm-eyebrow { margin-bottom: 8px !important; }
	.ycs-mm__panel--services .ycs-mm-strip { display: none; }

	/* Areas */
	.ycs-mm-areas__head { display: block; padding: 0 0 14px; }
	.ycs-mm-title,
	.ycs-mm-sub { display: none; }
	.ycs-mm-search { height: 50px; }
	.ycs-mm-areas__body { display: block; border: 0; }
	.ycs-mm-counties {
		flex-direction: row; gap: 8px; padding: 0 0 14px; border: 0; background: none;
		overflow-x: auto; scrollbar-width: none; margin: 0 -22px; padding-left: 22px; padding-right: 22px;
	}
	.ycs-mm-counties::-webkit-scrollbar { display: none; }
	.ycs-header .ycs-mm-county-tab { width: auto; flex: none; padding: 9px 10px 9px 14px !important; border: 1.5px solid var(--ycs-line); font-size: 14px; white-space: nowrap; }
	.ycs-header .ycs-mm-county-tab[aria-selected="true"] { border-color: var(--ycs-navy); }
	.ycs-mm-county-wrap { padding: 0; }
	.ycs-mm-county__head { display: none; }
	.ycs-mm-scroll { max-height: none; overflow: visible; -webkit-mask-image: none; mask-image: none; padding: 0; }
	.ycs-mm-towns { columns: 2; column-gap: 10px; }
	.ycs-mm-towns a { padding: 9px 6px; font-size: 15px; }
	.ycs-mm-results__list { grid-template-columns: 1fr 1fr; max-height: none; }
	.ycs-mm-results__empty { flex-direction: column; align-items: flex-start; }
	.ycs-mm__panel--areas .ycs-mm-strip { margin-top: 14px; padding: 0; border: 0; background: none; display: block; }
	.ycs-mm__panel--areas .ycs-mm-strip__text { display: none; }
	.ycs-mm__panel--areas .ycs-mm-strip .ycs-mm-btn { width: 100%; }

	/* About / Resources */
	.ycs-mm__panel--about { padding: 0 0 12px; gap: 0; }
	.ycs-mm__trigger[aria-expanded="true"] + .ycs-mm__panel--about { display: block; }
	.ycs-mm-links { padding: 0; }
	.ycs-mm-links > li + li { border: 0; }
	.ycs-mm-link,
	.ycs-mm-tile { padding: 11px 8px 11px 0; border: 0; }
	.ycs-mm-link:hover,
	.ycs-mm-tile:hover { background: none; box-shadow: none; }
	.ycs-mm-link__title { font-size: 15.5px; }
	.ycs-mm-link__desc { font-size: 13.5px; }
	.ycs-mm-link__arrow { opacity: 1; transform: none; }
	.ycs-mm-card { display: none; }
	.ycs-mm-tiles { grid-template-columns: 1fr; gap: 0; padding: 0; }
	.ycs-mm-svc__ico--lg { width: 40px; height: 40px; border-radius: 11px; }
	.ycs-mm-svc__ico--lg .ycs-ico { width: 20px; height: 20px; }

	.ycs-mm-res { display: block; }
	.ycs-mm-res__side { padding: 0; border: 0; background: none; }
	.ycs-mm-res__side .ycs-mm-eyebrow { display: none; }
	.ycs-mm-links--plain .ycs-mm-link { margin-left: 0; padding: 11px 8px 11px 0; align-items: center; }
	.ycs-mm-links--plain .ycs-mm-link:hover { box-shadow: none; background: none; }
	.ycs-mm-res__posts { padding: 14px 0 0; margin-top: 6px; border-top: 1px dashed var(--ycs-line); }
	.ycs-mm-posts { grid-template-columns: 1fr; gap: 12px; }
	.ycs-mm-post { flex-direction: row; align-items: center; gap: 14px; border: 0; border-radius: 0; overflow: visible; }
	.ycs-mm-post:hover { transform: none; box-shadow: none; }
	.ycs-mm-post__img { width: 92px; flex: none; border-radius: 10px; aspect-ratio: 4 / 3; }
	.ycs-mm-post__body { padding: 0; gap: 4px; }
	.ycs-mm-post__title { font-size: 14.5px; -webkit-line-clamp: 2; }
	.ycs-mm-post__read { display: none; }

	.ycs-mm__trigger--link { justify-content: flex-start; }

	.ycs-mm__drawer-foot {
		display: grid; gap: 10px; padding: 16px 22px calc(16px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--ycs-line); background: #fff;
	}
	.ycs-mm__drawer-login { display: flex; align-items: center; justify-content: center; gap: 8px; padding-top: 4px; font-size: 14.5px; font-weight: 700; font-family: var(--ycs-font-bold); color: var(--ycs-muted) !important; }
	.ycs-mm__drawer-login .ycs-ico { width: 18px; height: 18px; }
}

@media (max-width: 1100px) {
	.ycs-mm { width: min(460px, 100%); }
	.ycs-header .ycs-mm__drawer-head { height: 68px; padding: 0 12px 0 20px; background: #fff; }
	.ycs-mm__drawer-logo img { display: block; width: 92px; height: auto; }

	.ycs-mm__list { padding: 12px 14px 28px; background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%); }
	.ycs-mm__item { border-bottom: 0; border-radius: 18px; margin-bottom: 4px; transition: background-color .25s; }
	.ycs-mm__item:has(> .ycs-mm__trigger[aria-expanded="true"]) { background: var(--ycs-soft); }

	.ycs-header .ycs-mm__trigger {
		height: 62px; padding: 0 12px; gap: 14px; justify-content: flex-start; border-radius: 18px;
		font-size: 17px; text-transform: none; letter-spacing: 0; color: var(--ycs-navy);
	}
	.ycs-header .ycs-mm__trigger[aria-expanded="true"],
	.ycs-header .ycs-mm__trigger.is-current { color: var(--ycs-navy); }
	.ycs-mm__label { margin-right: auto; }
	.ycs-header .ycs-mm__trigger-ico {
		display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 13px;
		background: var(--ycs-soft); color: var(--ycs-navy); transition: background-color .25s, color .25s, box-shadow .25s;
	}
	.ycs-mm__trigger-ico .ycs-ico { width: 20px; height: 20px; }
	.ycs-mm__trigger[aria-expanded="true"] .ycs-mm__trigger-ico { background: var(--ycs-accent); color: #fff; box-shadow: 0 8px 18px -8px rgba(47, 155, 239, .8); }
	.ycs-mm__trigger.is-current .ycs-mm__label::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-radius: 50%; background: var(--ycs-accent); vertical-align: middle; }
	.ycs-mm__chev { opacity: .45 !important; }
	.ycs-header .ycs-mm__go { display: block; width: 18px; height: 18px; color: var(--ycs-faint); }

	.ycs-mm__trigger[aria-expanded="true"] + .ycs-mm__panel { padding: 2px 12px 16px; background: transparent; }

	/* Services */
	.ycs-mm-services { gap: 20px; padding: 4px 0 0; }
	.ycs-mm-eyebrow { font-size: 11px; margin-bottom: 10px !important; }
	.ycs-mm-svc-list,
	.ycs-mm-tree { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 !important; }
	.ycs-mm-svc-list > li + li { margin-top: 0; }
	.ycs-mm-svc-list > li { display: flex; }
	.ycs-mm-tree > li { padding-left: 0; }
	.ycs-mm-tree > li::before,
	.ycs-mm-tree > li::after { display: none; }
	.ycs-mm-svc,
	.ycs-mm-tree .ycs-mm-svc {
		flex: 1; flex-direction: column; align-items: flex-start; gap: 12px; margin: 0; padding: 14px;
		background: #fff; border: 1px solid var(--ycs-line); border-radius: 15px; font-size: 14.5px; line-height: 1.25;
		transition: border-color .2s, box-shadow .2s, transform .2s;
	}
	.ycs-mm-svc:hover { background: #fff; border-color: #bcdcf8; box-shadow: 0 10px 22px -16px rgba(13, 40, 71, .5); }
	.ycs-mm-svc:active { transform: scale(.98); }
	.ycs-mm-svc .ycs-mm-svc__ico,
	.ycs-mm-tree .ycs-mm-svc__ico { width: 38px; height: 38px; border-radius: 11px; }
	.ycs-mm-svc-list > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.ycs-mm-svc-list > li:last-child:nth-child(odd) .ycs-mm-svc { flex-direction: row; align-items: center; }
	.ycs-header .ycs-mm-svc--parent {
		flex-direction: row; align-items: center; margin-bottom: 10px; padding: 12px 16px 12px 12px;
		background: var(--ycs-navy); border-color: var(--ycs-navy); color: #fff; font-size: 16px;
	}
	.ycs-mm-svc--parent::after { content: "→"; margin-left: auto; opacity: .7; }
	.ycs-header .ycs-mm-svc--parent:hover { background: var(--ycs-navy-2); border-color: var(--ycs-navy-2); }
	.ycs-mm-svc--parent .ycs-mm-svc__ico,
	.ycs-mm-svc--parent:hover .ycs-mm-svc__ico { background: rgba(255, 255, 255, .14); color: #fff; }

	.ycs-mm-areas__head { padding: 2px 0 16px; }
	.ycs-mm-search { height: 52px; border-radius: 14px; background: #fff; }
	.ycs-header .ycs-mm-popular { display: block; }
	.ycs-header .ycs-mm-chips {
		display: flex; gap: 8px; margin: 0 -12px 22px; padding: 0 12px 2px;
		overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
		-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 28px), transparent);
		        mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 28px), transparent);
	}
	.ycs-mm-chips::-webkit-scrollbar { display: none; }
	.ycs-mm-chips > li { flex: none; }
	.ycs-mm-chip {
		display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px;
		background: #fff; border: 1px solid var(--ycs-line); font-size: 14px; font-weight: 700; font-family: var(--ycs-font-bold);
		transition: background-color .2s, color .2s, border-color .2s;
	}
	.ycs-header .ycs-mm-chip:hover,
	.ycs-header .ycs-mm-chip[aria-current="page"] { background: var(--ycs-navy); border-color: var(--ycs-navy); color: #fff; }

	.ycs-mm-counties { flex-direction: column; gap: 8px; overflow: visible; margin: 0; padding: 0; }
	.ycs-header .ycs-mm-county-tab,
	.ycs-header .ycs-mm-county-tab[aria-selected="true"] {
		width: 100%; gap: 14px; padding: 12px 14px 12px 12px !important; border-radius: 16px; white-space: normal;
		background: #fff; color: var(--ycs-navy); border: 1px solid var(--ycs-line); box-shadow: none; font-size: 16px;
	}
	.ycs-header .ycs-mm-county-tab:hover { background: #fff; border-color: #bcdcf8; }
	.ycs-header .ycs-mm-county-tab__ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 13px; background: var(--ycs-accent-50); color: var(--ycs-accent); }
	.ycs-mm-county-tab__ico .ycs-ico { width: 22px; height: 22px; }
	.ycs-mm-county-tab__text { display: flex; flex-direction: column; gap: 4px; margin-right: auto; text-align: left; }
	.ycs-header .ycs-mm-county-tab__sub { display: block; font-size: 13px; color: var(--ycs-muted); font-weight: 300; font-family: var(--ycs-font-light); }
	.ycs-header .ycs-mm-county-tab .ycs-mm-count { display: none; }
	.ycs-header .ycs-mm-county-tab__go { display: block; width: 20px; height: 20px; color: var(--ycs-faint); }

	.ycs-mm-county { display: none; }
	.ycs-mm__panel--areas.is-county-open .ycs-mm-county:not([hidden]) {
		display: block; position: absolute; z-index: 5; top: 68px; left: 0; right: 0; bottom: 0;
		padding: 0 20px 32px; background: #fff; overflow-y: auto; overscroll-behavior: contain;
		animation: ycs-mm-slide .32s var(--ycs-ease);
	}
	.ycs-mm__panel--areas.is-county-open .ycs-mm-county__head {
		display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
		position: sticky; top: 0; z-index: 1; background: #fff; padding: 12px 0 14px; margin: 0; border-bottom: 1px solid var(--ycs-line);
	}
	.ycs-header .ycs-mm-county__back {
		display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px 0 8px; margin: 0 0 4px -8px;
		border-radius: 10px; font-size: 14px; font-weight: 700; font-family: var(--ycs-font-bold); color: var(--ycs-accent-ink);
	}
	.ycs-header .ycs-mm-county__back:hover { background: var(--ycs-accent-50); }
	.ycs-mm-county__back .ycs-ico { width: 18px; height: 18px; }
	.ycs-mm-county__name { font-size: 24px; letter-spacing: -.01em; }
	.ycs-mm-towns { columns: 1; }
	.ycs-header .ycs-mm-towns__letter {
		display: block; padding: 18px 0 6px; font-size: 13px; font-weight: 700; font-family: var(--ycs-font-bold);
		color: var(--ycs-accent-ink); letter-spacing: .08em;
	}
	.ycs-mm-towns a,
	.ycs-mm-results__list a {
		gap: 2px 12px; padding: 13px 2px; border-radius: 0; border-bottom: 1px solid #edf1f6; font-size: 16px;
	}
	.ycs-mm-towns a:hover,
	.ycs-mm-results__list a:hover,
	.ycs-mm-results__list a.is-active { background: none; }
	.ycs-mm-towns a .ycs-ico { width: 17px; height: 17px; }
	.ycs-header .ycs-mm-towns__go { display: block; margin-left: auto; width: 18px !important; height: 18px !important; color: #c7d3e1 !important; }
	.ycs-mm-towns a[aria-current="page"] { color: var(--ycs-accent-ink); }

	.ycs-mm__panel--areas.is-searching .ycs-mm-popular,
	.ycs-mm__panel--areas.is-searching .ycs-mm-counties { display: none; }
	.ycs-mm-results__list { grid-template-columns: 1fr; gap: 0; }
	.ycs-mm-results__county { padding-left: 29px; margin-top: 0; }
	.ycs-mm__panel--areas .ycs-mm-strip { margin-top: 16px; }

	/* About / Resources */
	.ycs-mm-link,
	.ycs-mm-links--plain .ycs-mm-link { padding: 12px; margin: 0 0 8px; background: #fff; border: 1px solid var(--ycs-line); border-radius: 15px; }
	.ycs-mm-links > li + li .ycs-mm-link { margin-top: 0; }
	.ycs-mm-res__posts { border-top: 0; margin-top: 8px; padding-top: 6px; }
	.ycs-mm-post { background: #fff; border: 1px solid var(--ycs-line); border-radius: 15px; padding: 8px; }
	.ycs-mm-post__img { width: 84px; }
}
@keyframes ycs-mm-slide { from { transform: translateX(28px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 1100px) {
	.ycs-header--dropdown { --ycs-top-h: 36px; top: calc(var(--ycs-top-h) * -1); }
	body.admin-bar .ycs-header--dropdown { top: calc(46px - var(--ycs-top-h)); }

	.ycs-header--dropdown .ycs-topbar { display: block; }
	.ycs-header--dropdown .ycs-topbar__note,
	.ycs-header--dropdown .ycs-topbar__login { display: none; }
	.ycs-header.ycs-header--dropdown .ycs-topbar__find,
	.ycs-header.ycs-header--dropdown .ycs-topbar__call {
		display: inline-flex; align-items: center; gap: 7px; height: 36px;
		font-size: 13.5px; font-weight: 700; font-family: var(--ycs-font-bold); color: #fff !important;
	}
	.ycs-header .ycs-topbar__find span,
	.ycs-header .ycs-topbar__call span { text-decoration: underline !important; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
	.ycs-topbar__find .ycs-ico { width: 16px !important; height: 16px !important; color: var(--ycs-accent); }
	.ycs-topbar__call .ycs-ico { width: 15px !important; height: 15px !important; color: var(--ycs-accent); }

	.ycs-header--dropdown .ycs-actions__phone { display: none; }

	.ycs-header--dropdown .ycs-actions__book { border-radius: 999px; background: var(--ycs-accent); height: 46px; padding: 0 18px 0 16px; box-shadow: 0 8px 18px -10px rgba(47, 155, 239, .8); }
	.ycs-header--dropdown .ycs-actions__book:hover { background: var(--ycs-accent-ink); }
	.ycs-header.ycs-header--dropdown .ycs-actions__book .ycs-actions__book-ico { display: block; }
	.ycs-header.ycs-header--dropdown .ycs-burger {
		width: auto; height: 46px; padding: 0 12px; gap: 3px; display: flex; flex-direction: column; justify-content: center; align-items: center;
		border-radius: 10px; min-width: 58px; align-self: center;
	}
	.ycs-header.ycs-header--dropdown .ycs-burger .ycs-ico { width: 19px; height: 19px; }
	.ycs-header--dropdown .ycs-actions { align-items: center; }
	.ycs-header.ycs-header--dropdown .ycs-burger__label { display: block; font-size: 11px; line-height: 1; font-weight: 700; font-family: var(--ycs-font-bold); }
	.ycs-burger__l-close { display: none; }
	.ycs-header--dropdown .ycs-burger[aria-expanded="true"] { background: var(--ycs-navy); border-color: var(--ycs-navy) !important; color: #fff; }
	.ycs-header.ycs-header--dropdown .ycs-burger[aria-expanded="true"] .ycs-burger__open,
	.ycs-header--dropdown .ycs-burger[aria-expanded="true"] .ycs-burger__l-open { display: none; }
	.ycs-header.ycs-header--dropdown .ycs-burger[aria-expanded="true"] .ycs-burger__close,
	.ycs-header--dropdown .ycs-burger[aria-expanded="true"] .ycs-burger__l-close { display: block; }

	.ycs-header--dropdown .ycs-mm,
	body.admin-bar .ycs-header--dropdown .ycs-mm {
		position: fixed; top: var(--ycs-sheet-top, 104px); left: 0; right: 0; bottom: auto; width: auto; height: auto;
		max-height: calc(100vh - var(--ycs-sheet-top, 104px) - 72px); max-height: calc(100dvh - var(--ycs-sheet-top, 104px) - 72px);
	}
	.ycs-header--dropdown .ycs-mm {
		border-radius: 0 0 22px 22px; border-top: 1px solid var(--ycs-line); overflow: hidden;
		box-shadow: 0 30px 50px -20px rgba(9, 24, 44, .45);
		transform: translateY(-10px); opacity: 0; visibility: hidden;
		transition: transform .28s var(--ycs-ease), opacity .2s, visibility 0s linear .28s;
	}
	.ycs-header--dropdown.is-drawer-open .ycs-mm { transform: none; opacity: 1; visibility: visible; transition: transform .28s var(--ycs-ease), opacity .2s, visibility 0s; }
	.ycs-header--dropdown .ycs-mm__drawer-head { display: none; }
	.ycs-header--dropdown .ycs-mm__list { padding-top: 10px; }
	.ycs-header--dropdown .ycs-mm__drawer-foot { padding: 12px 22px 14px; gap: 0; }
	.ycs-header--dropdown .ycs-mm__drawer-foot .ycs-mm-btn { display: none; }
	.ycs-header--dropdown .ycs-mm__drawer-login { padding-top: 0; }

	.ycs-header--dropdown .ycs-mm-backdrop { background: rgba(9, 24, 44, .28); touch-action: none; }
	.ycs-header--dropdown.is-drawer-open .ycs-mm-backdrop { z-index: -1; }

	.ycs-header--dropdown .ycs-mm__panel--areas.is-county-open .ycs-mm-county:not([hidden]) { top: 0; }
}
@media (max-width: 400px) {
	.ycs-header.ycs-header--dropdown .ycs-topbar__find,
	.ycs-header.ycs-header--dropdown .ycs-topbar__call { font-size: 12.5px; gap: 5px; }
}
@media (max-width: 782px) {
	body.admin-bar .ycs-header { top: 46px; }
}
@media (max-width: 600px) {
	body.admin-bar .ycs-header { top: 0; }
	body.admin-bar .ycs-mm { top: 0; height: 100dvh; }
}
@media (max-width: 400px) {
	.ycs-actions__book .ycs-actions__book-ico { display: none; }
	.ycs-actions__book { padding: 0 14px; }
}
@media (max-width: 359px) {
	.ycs-actions__book { display: none; }
}

@keyframes ycs-mm-reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

html.ycs-mm-locked,
html.ycs-mm-locked body { overflow: hidden; }
html.ycs-mm-locked:has(.ycs-header--dropdown),
html.ycs-mm-locked:has(.ycs-header--dropdown) body { overflow: visible; }
.ycs-burger,
.ycs-topbar__find { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

@media (prefers-reduced-motion: reduce) {
	.ycs-header *,
	.ycs-header *::before,
	.ycs-header *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
