/* Light Of Eyes – Kutyáink: kártyalista és adatlap. Földszínek a honlap arculatából. */

.loek {
	--loek-ink: #381907;
	--loek-text: #4d4038;
	--loek-muted: #7b6a5e;
	--loek-cream: #faf6f0;
	--loek-sand: #efebeb;
	--loek-tan: #e9dfd1;
	--loek-line: #e3d8ca;
	--loek-terra: #b4551f;
	--loek-terra-dark: #96441a;
	--loek-accent: #e2752e;
	--loek-olive: #5f6f44;
	--loek-radius: 18px;
	--loek-shadow: 0 1px 2px rgba(56, 25, 7, .06), 0 8px 24px rgba(56, 25, 7, .08);
	--loek-shadow-hover: 0 2px 4px rgba(56, 25, 7, .08), 0 18px 40px rgba(56, 25, 7, .16);
	color: var(--loek-text);
	font-family: 'Open Sans', sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.65;
	text-align: left;
}

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

.loek ul { list-style: none; margin: 0; padding: 0; }
.loek p { margin: 0; }
.loek img { display: block; max-width: 100%; height: auto; }
.loek a { color: var(--loek-terra); text-decoration: none; }
.loek h2::after, .loek h3::after { display: none; }

.loek-wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding: 36px 24px 80px;
}
.loek-list { max-width: 1180px; margin: 0 auto; }

.loek-pagetitle {
	margin: 0 0 28px;
	color: #381907;
	font-size: 44px;
	font-weight: 700;
	text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
	html:has(.loek) { scroll-behavior: smooth; }
}

/* ---------- Ugrólinkek ---------- */

.loek-jump {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 0 14px;
}
.loek a.loek-jump__item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 46px;
	padding: 8px 10px 8px 20px;
	border: 1px solid var(--loek-line);
	border-radius: 999px;
	background: #fff;
	color: var(--loek-ink);
	font-size: 16px;
	font-weight: 600;
	transition: background-color .18s, border-color .18s, color .18s;
}
.loek a.loek-jump__item:hover,
.loek a.loek-jump__item:focus-visible {
	border-color: var(--loek-ink);
	background: var(--loek-ink);
	color: #fff;
}
.loek-jump__count {
	display: inline-grid;
	place-items: center;
	min-width: 28px;
	height: 28px;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--loek-tan);
	color: var(--loek-ink);
	font-size: 14px;
	font-weight: 700;
}
.loek-hint {
	margin: 0 auto 8px !important;
	max-width: 760px;
	color: var(--loek-muted);
	font-size: 15.5px;
	text-align: center;
}

/* ---------- Csoportok ---------- */

.loek-section { padding-top: 44px; scroll-margin-top: 110px; }
.loek-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 16px;
	margin-bottom: 22px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--loek-line);
}
.loek h2.loek-section__title,
.loek h2.loek-block__title {
	margin: 0;
	color: var(--loek-ink) !important;
	font-size: 30px;
	font-weight: 700 !important;
	line-height: 1.2;
	letter-spacing: -.01em;
	text-align: left;
	text-transform: none;
}
.loek-section__lead { color: var(--loek-muted); font-size: 16px; }

.loek-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
	gap: 26px;
}

/* ---------- Kártya ---------- */

.loek-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--loek-line);
	border-radius: var(--loek-radius);
	background: #fff;
	box-shadow: var(--loek-shadow);
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.loek-card:hover,
.loek-card:focus-within {
	border-color: #d3c2ad;
	box-shadow: var(--loek-shadow-hover);
	transform: translateY(-4px);
}
.loek-card:focus-within { outline: 3px solid var(--loek-accent); outline-offset: 3px; }

.loek-card__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: var(--loek-tan);
}
.loek img.loek-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.loek-card:hover .loek-card__img { transform: scale(1.045); }

.loek-card__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	height: 100%;
	background: linear-gradient(160deg, #efe6d9, #e2d3bf);
	color: #b89f84;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.loek-card__placeholder span { color: #8d755d; }

.loek-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .92);
	color: var(--loek-ink);
	font-size: 13px;
	font-weight: 700;
}

.loek-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 18px 20px 18px;
}
.loek h3.loek-card__name {
	margin: 0 0 2px;
	color: var(--loek-ink);
	font-size: 25px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.01em;
	text-align: left;
}
.loek a.loek-card__link { color: inherit; outline: none; }
/* A címben lévő link az egész kártyára rányúlik: bárhová kattintva megnyílik az adatlap. */
.loek-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}
.loek-card__type { color: var(--loek-text); font-size: 16.5px; font-weight: 600; }
.loek-card__meta { color: var(--loek-muted); font-size: 14.5px; }

.loek-card__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
	padding-top: 13px;
	border-top: 1px solid var(--loek-line);
	color: var(--loek-terra);
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}
/* A felirat mindig a kártya aljára kerül, így a sorban minden kártya egyforma. */
.loek-card__body > :nth-last-child(2) { margin-bottom: 15px; }
.loek-card__arrow {
	display: inline-grid;
	flex: none;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--loek-terra);
	color: #fff;
	transition: transform .22s ease, background-color .22s ease;
}
.loek-card:hover .loek-card__arrow { background: var(--loek-terra-dark); transform: translateX(4px); }

/* A kártyák törzse a tartalomtól függetlenül egyforma magas legyen. */
.loek-card__body { min-height: 150px; }

/* ---------- Adatlap ---------- */

.loek-crumb { margin-bottom: 22px; }
.loek a.loek-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 6px 18px 6px 14px;
	border: 1px solid var(--loek-line);
	border-radius: 999px;
	background: #fff;
	color: var(--loek-ink);
	font-size: 15.5px;
	font-weight: 600;
	transition: background-color .18s, color .18s, border-color .18s;
}
.loek a.loek-back:hover,
.loek a.loek-back:focus-visible { border-color: var(--loek-ink); background: var(--loek-ink); color: #fff; }

.loek-hero {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 48px;
	align-items: start;
	padding: 28px;
	border: 1px solid var(--loek-line);
	border-radius: 26px;
	background: var(--loek-cream);
}
.loek-hero__media { position: sticky; top: 110px; }
.loek a.loek-hero__imglink {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	border-radius: 20px;
	background: var(--loek-tan);
	box-shadow: var(--loek-shadow);
	cursor: zoom-in;
}
.loek img.loek-hero__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.loek-hero__imglink:hover .loek-hero__img { transform: scale(1.03); }
.loek-hero__zoom {
	position: absolute;
	right: 14px;
	bottom: 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px 7px 11px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .92);
	color: var(--loek-ink);
	font-size: 14px;
	font-weight: 600;
}
.loek-hero__placeholder { aspect-ratio: 4 / 5; border-radius: 20px; }

.loek-hero__body { padding: 8px 4px 4px 0; }
.loek-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px !important; }
.loek-chip {
	padding: 5px 14px;
	border-radius: 999px;
	background: var(--loek-tan);
	color: var(--loek-ink);
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: .02em;
}
.loek-chip--aktiv { background: #e3e8d6; color: #3f4c2a; }
.loek-chip--nyugdijas { background: #f3e1d2; color: #7a3d17; }

.loek h1.loek-name {
	margin: 0;
	color: var(--loek-ink);
	font-size: clamp(40px, 5.2vw, 60px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -.02em;
	text-align: left;
}
.loek-type {
	margin-top: 8px !important;
	color: var(--loek-terra);
	font-size: 21px;
	font-weight: 600;
}
.loek-desc { margin-top: 20px; color: var(--loek-text); font-size: 18px; line-height: 1.7; }
.loek-desc p + p { margin-top: 12px; }
.loek-desc a { text-decoration: underline; text-underline-offset: 3px; }

.loek-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 28px;
	margin: 26px 0 0;
	border-top: 1px solid var(--loek-line);
}
.loek-fact { padding: 12px 0; border-bottom: 1px solid var(--loek-line); }
.loek-fact dt {
	margin: 0 0 1px;
	color: var(--loek-muted);
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.loek-fact dd { margin: 0; color: var(--loek-ink); font-size: 17px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.loek-fact dd a { text-decoration: underline; text-underline-offset: 3px; }

.loek-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* ---------- Gombok ---------- */

.loek a.loek-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 10px 22px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.loek a.loek-btn svg { flex: none; }
.loek a.loek-btn--primary { background: var(--loek-terra); color: #fff; }
.loek a.loek-btn--primary:hover, .loek a.loek-btn--primary:focus-visible { background: var(--loek-terra-dark); }
.loek a.loek-btn--ghost { border-color: #cdbba6; background: #fff; color: var(--loek-ink); }
.loek a.loek-btn--ghost:hover, .loek a.loek-btn--ghost:focus-visible { border-color: var(--loek-ink); background: var(--loek-ink); color: #fff; }
.loek a.loek-btn--small { min-height: 42px; padding: 8px 16px; border-color: var(--loek-terra); background: #fff; color: var(--loek-terra); font-size: 14.5px; white-space: nowrap; }
.loek a.loek-btn--small:hover, .loek a.loek-btn--small:focus-visible { background: var(--loek-terra); color: #fff; }
.loek a.loek-btn--light { background: #fff; color: var(--loek-ink); white-space: nowrap; }
.loek a.loek-btn--light:hover, .loek a.loek-btn--light:focus-visible { background: var(--loek-accent); color: #fff; }
.loek a:focus-visible { outline: 3px solid var(--loek-accent); outline-offset: 3px; }

/* ---------- Blokkok: szűrések, galéria ---------- */

.loek-block { margin-top: 64px; scroll-margin-top: 110px; }
.loek-block__head { margin-bottom: 22px; }
.loek-block__lead { margin-top: 8px !important; max-width: 760px; color: var(--loek-muted); font-size: 17px; }

.loek-tests + .loek-tests { margin-top: 30px; }
.loek h3.loek-tests__title {
	margin: 0;
	color: var(--loek-ink);
	font-size: 19px;
	font-weight: 700;
	text-align: left;
}
.loek-tests__lead { color: var(--loek-muted); font-size: 15px; }
.loek-tests__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 14px !important;
}
.loek-test {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas: "icon text" "icon action";
	gap: 4px 14px;
	padding: 18px;
	border: 1px solid var(--loek-line);
	border-radius: 16px;
	background: #fff;
}
.loek-test__icon {
	grid-area: icon;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--loek-tan);
	color: var(--loek-ink);
}
.loek-test__text { grid-area: text; }
.loek-test__name { color: var(--loek-ink); font-size: 17px; font-weight: 700; line-height: 1.35; }
.loek-test__abbr {
	display: inline-block;
	margin-left: 4px;
	padding: 1px 8px;
	border-radius: 6px;
	background: var(--loek-sand);
	color: var(--loek-muted);
	font-size: 12.5px;
	font-weight: 700;
	vertical-align: 2px;
	white-space: nowrap;
}
.loek-test__desc { margin-top: 3px !important; color: var(--loek-muted); font-size: 15px; line-height: 1.5; }
.loek-test__action { grid-area: action; margin-top: 10px; }
.loek-test__done { color: var(--loek-muted); font-size: 14.5px; font-weight: 600; }

.loek-note {
	margin-top: 22px !important;
	padding: 16px 20px;
	border-left: 4px solid var(--loek-accent);
	border-radius: 0 12px 12px 0;
	background: var(--loek-cream);
	color: var(--loek-text);
	font-size: 16.5px;
}

.loek-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.loek-gallery--few { grid-template-columns: repeat(auto-fit, minmax(260px, 420px)); }
.loek-gallery__item a {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 14px;
	background: var(--loek-tan);
	cursor: zoom-in;
}
.loek-gallery__item img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .45s ease; }
.loek-gallery__item a:hover img { transform: scale(1.05); }

/* ---------- Kapcsolat sáv ---------- */

.loek-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px 32px;
	margin-top: 64px;
	padding: 32px 36px;
	border-radius: 22px;
	background: var(--loek-ink);
	color: #f3e9dd;
}
.loek h2.loek-cta__title {
	margin: 0 0 4px;
	color: #fff !important;
	font-size: 26px;
	font-weight: 700 !important;
	line-height: 1.25;
	text-align: left;
}
.loek-cta p { color: #e6d8c8; font-size: 16.5px; }

.loek-more__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.loek a.loek-more__all { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 700; }

/* ---------- Nagyító ---------- */

.loek-lb {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(28, 14, 6, .94);
	font-family: 'Open Sans', sans-serif;
}
.loek-lb.is-open { display: flex; }
.loek-lb__figure { margin: 0; max-width: 94vw; max-height: 100vh; padding: 56px 0 52px; display: flex; flex-direction: column; align-items: center; }
.loek-lb__img { display: block; max-width: 94vw; max-height: calc(100vh - 116px); width: auto; height: auto; border-radius: 6px; background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.loek-lb__caption { margin-top: 12px; color: #f3e9dd; font-size: 15px; font-weight: 600; text-align: center; }
.loek-lb__open { margin-left: 12px; color: #f6b48a; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.loek-lb__open:hover, .loek-lb__open:focus-visible { color: #fff; }
.loek-lb__btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .14);
	color: #fff;
	cursor: pointer;
	transition: background-color .18s;
}
.loek-lb__btn:hover, .loek-lb__btn:focus-visible { background: #e2752e; outline: none; }
.loek-lb__btn svg { width: 24px; height: 24px; }
.loek-lb__close { top: 12px; right: 12px; }
.loek-lb__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.loek-lb__next { right: 12px; top: 50%; transform: translateY(-50%); }
.loek-lb__btn[hidden] { display: none; }
.loek-lb__count { position: absolute; top: 24px; left: 20px; color: #e6d8c8; font-size: 14px; font-weight: 600; }
body.loek-lb-open { overflow: hidden; }

/* ---------- Kisebb képernyők ---------- */

@media (max-width: 900px) {
	.loek-hero { grid-template-columns: 1fr; gap: 24px; padding: 18px; }
	.loek-hero__media { position: static; max-width: 520px; margin: 0 auto; width: 100%; }
	.loek-hero__body { padding: 0 4px 6px; }
	.loek-tests__grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
	.loek { font-size: 16px; }
	.loek-wrap { padding: 20px 16px 56px; }
	.loek-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.loek-card__body { min-height: 0; padding: 14px 14px 14px; }
	.loek h3.loek-card__name { font-size: 21px; }
	.loek-card__type { font-size: 15px; }
	.loek-card__meta { font-size: 13.5px; }
	.loek-card__cta { font-size: 15px; }
	.loek-card__cta-long { display: none; }
	.loek-card__arrow { width: 32px; height: 32px; }
	.loek h2.loek-section__title, .loek h2.loek-block__title { font-size: 25px; }
	.loek-facts { grid-template-columns: 1fr; }
	.loek-actions .loek-btn { flex: 1 1 100%; }
	.loek-block, .loek-cta { margin-top: 44px; }
	.loek-cta { padding: 26px 22px; }
	.loek-cta .loek-btn { width: 100%; }
	.loek-test { padding: 16px; }
	.loek-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.loek-gallery--few { grid-template-columns: 1fr; }
	.loek-pagetitle { font-size: 34px; }
}

@media (max-width: 380px) {
	.loek-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.loek *, .loek *::before, .loek *::after { transition: none !important; }
	.loek-card:hover, .loek-card:focus-within { transform: none; }
}
