/* VNT Pages — paslaugų katalogas. Visi stiliai apriboti .vntp-cat, kad nesusikirstų su Avada. */

@font-face { font-family: "VNTP Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../../../assets/fonts/inter-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "VNTP Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../../../assets/fonts/inter-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "VNTP Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../../../assets/fonts/inter-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "VNTP Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../../../assets/fonts/inter-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "VNTP Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../../../assets/fonts/poppins-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "VNTP Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../../../assets/fonts/poppins-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "VNTP Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../../../assets/fonts/poppins-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "VNTP Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../../../assets/fonts/poppins-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "VNTP Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../../../assets/fonts/poppins-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "VNTP Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../../../assets/fonts/poppins-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.vntp-cat {
	--vntp-logo-blue: #0448A4;
	--vntp-deep-blue: #17345C;
	--vntp-secondary-blue: #25609A;
	--vntp-slate: #3D4B5F;
	--vntp-meta: #2FD3A0;
	--vntp-white: #FFFFFF;
	--vntp-cool-light: #F1FAFF;
	--vntp-cool-grey: #F2F3F5;
	--vntp-ink: #1E1E1E;
	--vntp-line: #E1E1E1;
	--vntp-page-bg: #FFFFFF; /* Puslapio fonas – reikalingas grupių juostos užtemimui. */
	--vntp-head: "VNTP Inter", "Inter", system-ui, sans-serif;
	--vntp-body: "VNTP Poppins", "Poppins", system-ui, sans-serif;

	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 40px;
	max-width: 1240px;
	margin: 0 auto;
	container: vntp / inline-size;
	font-family: var(--vntp-body);
	color: var(--vntp-ink);
	-webkit-font-smoothing: antialiased;
}
.vntp-cat *, .vntp-cat *::before, .vntp-cat *::after { box-sizing: inherit; }
.vntp-cat svg { display: block; width: 100%; height: 100%; }
/* Dviguba klasė – kad Avada (.post-content p ir pan.) neperrašytų tarpų. */
.vntp-cat.vntp-cat :where(p, ul, ol, li, dl, dt, dd, h1, h2) { margin: 0; }
.vntp-cat.vntp-cat :where(ul, ol) { padding: 0; }
.vntp-cat ul { list-style: none; }
.vntp-cat a { text-decoration: none; color: inherit; box-shadow: none; }
.vntp-cat button { font: inherit; color: inherit; background: none; border: 0; margin: 0; cursor: pointer; text-transform: none; letter-spacing: normal; line-height: inherit; min-height: 0; box-shadow: none; }
.vntp-cat a:focus-visible, .vntp-cat button:focus-visible { outline: 2px solid var(--vntp-logo-blue); outline-offset: 2px; }
.vntp-cat [hidden] { display: none !important; }
.vntp-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Antraštė, paieška, grupės */
.vntp-cat__head { display: flex; flex-direction: column; gap: 28px; }
.vntp-cat .vntp-cat__title { font-family: var(--vntp-head); font-weight: 600; font-size: 56px; line-height: 62px; letter-spacing: 0; color: var(--vntp-deep-blue); }

.vntp-search { position: relative; display: flex; align-items: center; gap: 16px; height: 64px; padding: 0 16px 0 24px; background: var(--vntp-white); border: 1px solid var(--vntp-line); border-radius: 16px; transition: border-color .15s, box-shadow .15s; }
.vntp-search:focus-within { border-color: var(--vntp-logo-blue); box-shadow: 0 0 0 1px var(--vntp-logo-blue); }
.vntp-search__icon { flex: none; width: 24px; height: 24px; color: var(--vntp-secondary-blue); }
.vntp-cat .vntp-search__input { flex: 1; min-width: 0; height: 100%; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; outline: 0; font-family: var(--vntp-body); font-size: 18px; color: var(--vntp-ink); -webkit-appearance: none; appearance: none; }
.vntp-cat .vntp-search__input::placeholder { color: rgba(61, 75, 95, .6); opacity: 1; }
.vntp-search__input::-webkit-search-cancel-button { display: none; }
.vntp-cat .vntp-search__clear { flex: none; width: 36px; height: 36px; padding: 8px; border-radius: 50%; color: var(--vntp-slate); }
.vntp-cat .vntp-search__clear:hover { background: var(--vntp-cool-grey); }

.vntp-groups { position: relative; }
.vntp-groups__track { display: flex; flex-wrap: wrap; gap: 12px; }
.vntp-cat .vntp-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; background: var(--vntp-cool-grey); color: var(--vntp-deep-blue); font-family: var(--vntp-body); font-weight: 500; font-size: 16px; line-height: 24px; white-space: nowrap; transition: background-color .15s, color .15s; }
.vntp-cat .vntp-chip:hover { background: #E6EBF2; }
.vntp-cat .vntp-chip[aria-pressed="true"] { background: var(--vntp-deep-blue); color: var(--vntp-white); }
.vntp-chip__count { font-weight: 400; font-size: 14px; opacity: .7; }
.vntp-cat .vntp-groups__hint { display: none; }

/* Išskirta paslauga (Šeimos medicina) */
.vntp-feat { position: relative; overflow: hidden; display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 32px; padding: 40px; border-radius: 18px; background: var(--vntp-deep-blue); color: var(--vntp-white); }
.vntp-feat::before { content: ""; position: absolute; right: -40px; bottom: -40px; width: 340px; height: 340px; background: url("../../../assets/img/dots-fan-light.svg") no-repeat right bottom / contain; opacity: .12; pointer-events: none; }
.vntp-feat > * { position: relative; }
.vntp-feat__text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.vntp-feat__icon { display: grid; place-items: center; width: 44px; height: 44px; padding: 9px; border-radius: 50%; background: var(--vntp-cool-light); color: var(--vntp-logo-blue); }
.vntp-cat .vntp-feat__title { font-family: var(--vntp-head); font-weight: 700; font-size: 44px; line-height: 50px; letter-spacing: -.02em; color: var(--vntp-white); }
.vntp-cat .vntp-feat__title a { color: inherit; }
.vntp-cat .vntp-feat__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.vntp-feat__lead { font-size: 18px; line-height: 28px; color: var(--vntp-cool-light); }
.vntp-feat__avatars { display: none; }
.vntp-feat__actions { display: flex; align-items: center; gap: 12px; padding-top: 6px; }
.vntp-cat .vntp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; font-family: var(--vntp-body); font-weight: 500; font-size: 16px; line-height: 20px; transition: filter .15s, background-color .15s; }
.vntp-cat .vntp-btn--mint { padding: 15px 24px; background: var(--vntp-meta); color: var(--vntp-deep-blue); }
.vntp-cat .vntp-btn--mint:hover { filter: brightness(1.06); }
.vntp-cat .vntp-btn--round { width: 50px; height: 50px; padding: 14px; border: 1px solid rgba(241, 250, 255, .4); color: var(--vntp-white); }
.vntp-cat .vntp-btn--round:hover { background: rgba(255, 255, 255, .1); }
.vntp-cat .vntp-feat__links { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 4px; }
.vntp-cat .vntp-feat__links a { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; line-height: 22px; color: var(--vntp-cool-light); text-decoration: underline; text-underline-offset: 3px; }
.vntp-feat__links svg { width: 16px; height: 16px; }

.vntp-feat__doctors { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.vntp-cat .vntp-feat__doctors-title { font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: .3px; color: rgba(241, 250, 255, .7); }
.vntp-docs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.vntp-doc { display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.vntp-cat .vntp-doc__photo { flex: none; width: 68px; height: 82px; object-fit: cover; border-radius: 34px 6px 34px 6px; background: rgba(255, 255, 255, .1); }
.vntp-doc__body { display: flex; flex-direction: column; gap: 0; min-width: 0; flex: 1; }
.vntp-cat .vntp-doc__name { font-size: 16px; line-height: 21px; font-weight: 600; color: var(--vntp-white); }
.vntp-cat .vntp-doc__role { font-size: 13px; line-height: 18px; color: rgba(241, 250, 255, .7); }
/* Tarpas tik prieš darbo laiką: vardas ir pareigos – kartu. */
.vntp-cat .vntp-doc__hours { margin-top: 10px; }
.vntp-doc__hours div { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 8px; font-size: 12px; line-height: 18px; }
.vntp-doc__hours dt { color: rgba(241, 250, 255, .7); font-weight: 400; white-space: nowrap; }
.vntp-doc__hours dd { color: var(--vntp-white); font-weight: 500; white-space: nowrap; }
.vntp-cat .vntp-doc__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; padding-top: 8px; font-size: 13px; line-height: 20px; }
.vntp-cat .vntp-doc__book { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--vntp-meta); }
.vntp-doc__book svg { width: 12px; height: 12px; }
.vntp-cat .vntp-doc__phone { color: var(--vntp-cool-light); }
.vntp-cat .vntp-doc__book:hover, .vntp-cat .vntp-doc__phone:hover { text-decoration: underline; }

/* Paslaugų sąrašas: 2 stulpeliai, pildomi iš viršaus į apačią; VNT Sky panelė su baltomis eilutėmis */
.vntp-cat .vntp-list { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: repeat(var(--vntp-rows, 8), auto); gap: 10px 20px; padding: 32px 40px; border-radius: 18px; background: linear-gradient(180deg, #F1FAFF 0%, #DBE9FE 100%); }
/* Firminiai taškai kairiame viršutiniame kampe: vėduoklės motyvas, atspindėtas; vos matomi. */
.vntp-list::before { content: ""; position: absolute; left: -40px; top: -40px; width: 340px; height: 340px; background: var(--vntp-deep-blue); -webkit-mask: url("../../../assets/img/dots-fan-light.svg") no-repeat right bottom / contain; mask: url("../../../assets/img/dots-fan-light.svg") no-repeat right bottom / contain; transform: scale(-1, -1); opacity: .08; pointer-events: none; }
.vntp-item { position: relative; border-radius: 14px; background: var(--vntp-white); box-shadow: 0 1px 2px rgba(23, 52, 92, .06); transition: box-shadow .15s; }
.vntp-item:hover { box-shadow: 0 6px 18px rgba(23, 52, 92, .12); }
.vntp-cat .vntp-item__link { display: flex; align-items: center; gap: 16px; min-height: 68px; padding: 10px 20px 10px 12px; font-weight: 500; font-size: 18px; line-height: 24px; color: var(--vntp-ink); }
.vntp-item__icon { flex: none; width: 44px; height: 44px; padding: 9px; border-radius: 12px; background: var(--vntp-cool-light); color: var(--vntp-logo-blue); }
.vntp-item__name { flex: 1; min-width: 0; }
.vntp-item__arrow { flex: none; width: 20px; height: 20px; color: var(--vntp-secondary-blue); transition: transform .15s; }
.vntp-cat .vntp-item__link:hover .vntp-item__name { color: var(--vntp-logo-blue); }
.vntp-item__link:hover .vntp-item__arrow { transform: translateX(4px); }
.vntp-empty { font-size: 18px; color: var(--vntp-slate); }
.vntp-bar { display: none; }

/* Destop */
@media (min-width: 1101px) {
	/* Nuorodos prispaudžiamos prie apačios, bet lieka sraute – nepersidengia su mygtuku. */
	.vntp-cat .vntp-feat__text { height: 100%; }
	.vntp-cat .vntp-feat__links { margin-top: auto; }
}
/* Siauresnis Avada konteineris (pvz. 1200 px): siauresnis kairysis stulpelis, kad gydytojų kortelės tilptų. */
@container vntp (max-width: 1239px) {
	@media (min-width: 1101px) {
		/* 324 + 18 = 310 + 32: kortelių plotis nesikeičia, o aprašas telpa į 2 eilutes. */
		.vntp-feat { grid-template-columns: 324px minmax(0, 1fr); column-gap: 18px; }
		.vntp-cat .vntp-feat__title { font-size: 36px; line-height: 42px; }
		.vntp-feat__lead { font-size: 16px; line-height: 26px; }
	}
}

/* Planšetė */
@media (max-width: 1100px) {
	.vntp-feat { grid-template-columns: 1fr; }
}

/* Mobilusis */
@media (max-width: 767px) {
	.vntp-cat { gap: 20px; }
	.vntp-cat__head { gap: 20px; }
	.vntp-cat .vntp-cat__title { font-size: 34px; line-height: 40px; }
	.vntp-search { height: 52px; padding: 0 8px 0 16px; gap: 12px; border-radius: 14px; }
	.vntp-search__icon { width: 20px; height: 20px; }
	.vntp-cat .vntp-search__input { font-size: 16px; }
	.vntp-cat .vntp-feat__links { position: static; flex-direction: column; gap: 10px; }

	.vntp-groups__track { flex-wrap: nowrap; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.vntp-groups__track::-webkit-scrollbar { display: none; }
	.vntp-cat .vntp-chip { scroll-snap-align: start; padding: 9px 16px; font-size: 14px; line-height: 20px; background: var(--vntp-white); border: 1px solid var(--vntp-line); }
	.vntp-cat .vntp-chip[aria-pressed="true"] { border-color: var(--vntp-deep-blue); }
	.vntp-chip__count { font-size: 13px; }
	.vntp-cat .vntp-groups__hint { position: absolute; top: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: flex-end; width: 72px; padding: 0; background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--vntp-page-bg) 55%); transition: opacity .2s; }
	.vntp-groups__hint svg { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--vntp-white); border: 1px solid var(--vntp-line); color: var(--vntp-deep-blue); }
	.vntp-groups.is-end .vntp-groups__hint { opacity: 0; pointer-events: none; }

	.vntp-feat { padding: 20px; gap: 14px; }
	.vntp-feat::before { width: 180px; height: 180px; right: -20px; bottom: -20px; }
	.vntp-feat__text { gap: 14px; }
	.vntp-feat__icon { width: 40px; height: 40px; padding: 8px; }
	.vntp-cat .vntp-feat__title { font-size: 26px; line-height: 32px; }
	.vntp-feat__lead { font-size: 15px; line-height: 22px; }
	.vntp-feat__avatars { display: flex; }
	.vntp-cat .vntp-feat__avatars img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--vntp-deep-blue); margin-left: -10px; }
	.vntp-cat .vntp-feat__avatars img:first-child { margin-left: 0; }
	.vntp-feat__actions { width: 100%; }
	.vntp-cat .vntp-btn--mint { flex: 1; padding: 14px 16px; font-size: 15px; }
	.vntp-cat .vntp-btn--round { width: 48px; height: 48px; }
	.vntp-feat__doctors { display: none; }

	.vntp-cat .vntp-list { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; gap: 8px; padding: 12px; }
	.vntp-list::before { width: 180px; height: 180px; left: -20px; top: -20px; }
	.vntp-cat .vntp-item__link { min-height: 56px; padding: 6px 14px 6px 12px; gap: 14px; font-weight: 400; font-size: 16px; line-height: 22px; }
	.vntp-item__icon { width: 22px; height: 22px; padding: 0; background: none; color: var(--vntp-secondary-blue); }
	.vntp-item__arrow { width: 18px; height: 18px; opacity: .6; }

	.vntp-bar { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; gap: 10px; margin: 4px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--vntp-white); border-top: 1px solid var(--vntp-line); transition: transform .25s, opacity .25s; }
	/* Kol matomas išskirto bloko registracijos mygtukas – juosta paslėpta (nedubliuojama). */
	.vntp-cat.is-feat-cta-visible .vntp-bar { transform: translateY(110%); opacity: 0; pointer-events: none; }
	.vntp-cat .vntp-btn--blue { flex: 1; padding: 15px 16px; background: var(--vntp-logo-blue); color: var(--vntp-white); }
	.vntp-cat .vntp-btn--call { flex: none; width: 52px; height: 52px; padding: 15px; border: 1px solid var(--vntp-logo-blue); color: var(--vntp-logo-blue); }
}

@media (prefers-reduced-motion: reduce) {
	.vntp-cat * { transition: none !important; }
}
