/*
Theme Name: Ádány Tímea 2
Author: Ádány Tímea
Description: Egyedi sablon Ádány Tímea coaching és vezetőfejlesztés honlapjához.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Private use
Text Domain: adany-timea
*/
:root { color-scheme: light; }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }

/* Layout: egy oldalon belül öt fül; balra igazított, nyugodt hasábok. Egyetlen hangsúly: a kezdőlap sötétkék panelje a lovas-kutyás fotóval. Lovas világ: kantárszíj-sárgaréz és vadászkabát-kék. */
:root {
  --bg: #f5f6f8;
  --surface: #e8ebf0;
  --fg: #14203a;
  --muted: #55607a;
  --line: #d0d6e0;
  --accent: #1c3a6e;
  --accent-ink: #ffffff;
  --brass: #b8872b;
  --brass-ink: #7a5513;
  --panel: #15284d;
  --on-panel: #f1f3f8;
  --on-panel-muted: #bfc9de;
  --brass-light: #e3b95a;
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1424;
    --surface: #16203a;
    --fg: #e8ecf4;
    --muted: #a0abc2;
    --line: #26314d;
    --accent: #9bb8f0;
    --accent-ink: #0d1424;
    --brass: #d9a94a;
    --brass-ink: #e0b861;
    --panel: #18284c;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1424;
  --surface: #16203a;
  --fg: #e8ecf4;
  --muted: #a0abc2;
  --line: #26314d;
  --accent: #9bb8f0;
  --accent-ink: #0d1424;
  --brass: #d9a94a;
  --brass-ink: #e0b861;
  --panel: #18284c;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
  padding-block: 0;
}
a { color: var(--accent); text-underline-offset: 0.2em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: 68rem; margin-inline: auto; }

/* Fejléc és menü */
header.top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem 2rem; padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--fg); text-decoration: none; line-height: 1.15; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.8125rem; color: var(--muted); margin-top: 0.15rem; }
.site-nav { font-family: var(--font-body); font-weight: 500; font-size: 0.9375rem; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.75rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--muted); text-decoration: none; padding-block: 0.375rem; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--fg); }
.site-nav a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--brass); }

/* Közös elemek */
h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.25rem, 6vw, 3.5rem); line-height: 1.06; letter-spacing: -0.01em; margin: 0 0 1rem; text-wrap: balance; }
h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.12; margin: 0 0 1.5rem; text-wrap: balance; }
h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.1875rem; line-height: 1.3; margin: 0 0 0.5rem; }
p { margin: 0 0 1rem; max-width: 40rem; }
section { padding-block: clamp(2.5rem, 6vw, 4.5rem); border-top: 1px solid var(--line); }
figure { margin: 0; min-width: 0; }
figure img { display: block; width: 100%; height: auto; border-radius: 0.125rem; background: var(--surface); }
figcaption { font-size: 0.9375rem; color: var(--muted); margin-top: 0.5rem; }
.eyebrow { display: flex; align-items: center; gap: 0.75rem; font-weight: 500; font-size: 0.9375rem; color: var(--brass-ink); margin: 0 0 1.25rem; max-width: none; }
.eyebrow::before { content: ""; flex: none; width: 1.75rem; height: 2px; background: var(--brass); }
.lead { font-weight: 500; font-size: clamp(1.1875rem, 2.5vw, 1.375rem); line-height: 1.45; max-width: 36rem; margin: 0 0 1.25rem; text-wrap: pretty; }
.btn { display: inline-block; font-weight: 600; font-size: 1rem; background: var(--accent); color: var(--accent-ink); padding: 0.85rem 1.5rem; border-radius: 0.125rem; text-decoration: none; }
.btn:hover { filter: brightness(1.12); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.5rem; }
.textlink { font-weight: 600; }
.page-head { padding-block: clamp(2rem, 6vw, 4rem) clamp(1.5rem, 4vw, 2.5rem); }
.page-head p { font-size: 1.1875rem; }

/* Kezdőlap: a sötétkék panel az egyetlen nagy hangsúly */
.hero { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 0; align-items: stretch; margin-block: clamp(1.5rem, 4vw, 2.5rem); background: var(--panel); color: var(--on-panel); border-radius: 0.125rem; overflow: hidden; }
.hero > div { min-width: 0; padding: clamp(1.75rem, 5vw, 3.5rem); align-self: center; }
.hero h1 { font-size: clamp(2.25rem, 5.5vw, 3.75rem); line-height: 1.05; color: var(--on-panel); }
.hero .eyebrow { color: var(--brass-light); }
.hero .eyebrow::before { background: var(--brass-light); }
.hero .lead { color: var(--on-panel); }
.hero p { color: var(--on-panel-muted); }
.hero .lead { color: var(--on-panel); }
.hero .btn { background: var(--brass-light); color: #14203a; }
.hero .textlink { color: var(--on-panel); }
.hero a:focus-visible { outline-color: var(--brass-light); }
.hero-photo { display: block; width: 100%; height: 100%; min-height: 22rem; object-fit: cover; object-position: 50% 50%; background: var(--surface); }

.creds { list-style: none; margin: 0; padding: 1.25rem 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; font-size: 0.9375rem; color: var(--muted); }
.creds li { display: flex; align-items: baseline; gap: 0.6rem; }
.creds li::before { content: ""; flex: none; width: 0.35rem; height: 0.35rem; background: var(--brass); transform: translateY(-0.1em) rotate(45deg); }

.split { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 1.5rem 4rem; }
.split h2 { margin: 0; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.pillars > div { min-width: 0; }
.pillars p { color: var(--muted); }

.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.5rem; }
.area { display: block; padding: 1.25rem 0 0; border-top: 3px solid var(--brass); min-width: 0; color: inherit; text-decoration: none; }
.area:hover { border-top-color: var(--accent); }
.area p { margin: 0 0 1rem; color: var(--muted); font-size: 1rem; }
.area .more { font-weight: 600; color: var(--accent); text-decoration: underline; text-underline-offset: 0.2em; }
.tagline { font-family: var(--font-display); font-size: 1.375rem; color: var(--brass-ink); max-width: none; margin-bottom: 1.5rem; }
.closing { text-align: left; }

/* Szolgáltatások */
.jump { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; margin: 1.5rem 0 0; padding: 0; list-style: none; font-weight: 500; font-size: 0.9375rem; }
.jump a { display: inline-block; border: 1px solid var(--line); border-radius: 0.125rem; padding: 0.35rem 1rem; text-decoration: none; color: var(--fg); }
.jump a:hover { border-color: var(--brass); color: var(--fg); }
.group-label { font-weight: 600; font-size: 0.9375rem; color: var(--brass-ink); margin: 0 0 1.5rem; max-width: none; }
.service { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 1.5rem 4rem; }
.service > div { min-width: 0; }
.service h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin: 0 0 0.75rem; }
.meta { font-weight: 600; font-size: 0.9375rem; color: var(--brass-ink); max-width: none; }
.service-body h3 { font-size: 0.9375rem; color: var(--brass-ink); margin: 0 0 0.75rem; }
.service-body h3:not(:first-child) { margin-top: 1.75rem; }
.topics { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.topics li { display: flex; gap: 0.75rem; align-items: baseline; }
.topics li::before { content: ""; flex: none; width: 0.35rem; height: 0.35rem; background: var(--brass); transform: translateY(-0.1em) rotate(45deg); }
.service-body p { margin: 0 0 1rem; }
.svc-photo { margin-top: 1.5rem; max-width: 26rem; }
.svc-photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.svc-photo.land img { aspect-ratio: 3 / 2; object-position: 50% 50%; }
.note { background: var(--surface); padding: 1rem 1.25rem; border-radius: 0.125rem; font-size: 1rem; color: var(--muted); max-width: none; }

/* Csodák kertje */
.partners > p { margin-bottom: 2rem; }
.partners .lead-in { max-width: 44rem; }
.partners h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.375rem, 3vw, 1.75rem); margin: 0 0 0.5rem; color: var(--fg); }
.partners .mates { margin-bottom: 1.5rem; }
.partners .mates p { margin: 0; }
.partners .mates-noir { margin-top: clamp(2rem, 5vw, 3rem); max-width: 44rem; }
.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.5rem 1rem; margin-top: 1rem; }
.trio img { aspect-ratio: 3 / 4; object-fit: cover; }
.trio .p-noir img { object-position: 50% 75%; }
.trio .p-sit img { object-position: 50% 80%; }
.trio .p-hug img { object-position: 50% 40%; }
.wide img { aspect-ratio: 3 / 2; object-fit: cover; }
.band { margin-top: clamp(2rem, 5vw, 3.5rem); margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.band img { aspect-ratio: 21 / 9; }
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1rem; }
.duo img { aspect-ratio: 4 / 3; object-fit: cover; }
.duo .d-erdo img { object-position: 15% 60%; }

/* Rólam */
.about { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 1.5rem 4rem; padding-block: clamp(2rem, 6vw, 4rem); }
.about h1 { margin: 0 0 1.5rem; }
.portrait { display: block; width: 100%; max-width: 22rem; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: 0.125rem; background: var(--surface); }
@media (min-width: 52.01rem) { .about .side { position: sticky; top: 1.5rem; align-self: start; } }
.about h3 { margin-top: 2rem; }
.about .intro { font-size: 1.1875rem; }
.badge-row { display: flex; align-items: center; gap: 1.5rem; margin-top: 1rem; }
.badge-row > div { min-width: 0; }
.badge-row p { margin: 0 0 0.75rem; }
.badge-row p:last-child { margin-bottom: 0; }
.badge { flex: 0 0 8rem; width: 8rem; height: auto; border-radius: 50%; background: #fff; }
@media (max-width: 36rem) { .badge-row { flex-direction: column; align-items: flex-start; } }

.about p:last-child { margin-bottom: 0; }
.slogan { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.625rem, 3.5vw, 2.25rem); line-height: 1.15; margin: 0 0 0.5rem; max-width: none; }
.slogan-sub { font-weight: 500; color: var(--brass-ink); font-size: 1.1875rem; margin: 0 0 1.5rem; }

/* Kapcsolat */
.contact-box { background: var(--surface); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 0.125rem; margin-block: clamp(2rem, 6vw, 4rem); }
.contact-box h1 { font-size: clamp(1.75rem, 4.5vw, 2.75rem); }
.contact-box dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.5rem 1.5rem; margin: 1.5rem 0 0; font-size: 1.125rem; }
.contact-box dt { color: var(--muted); }
.contact-box dd { margin: 0; overflow-wrap: anywhere; }

footer { border-top: 1px solid var(--line); padding-block: 1.5rem 2rem; font-size: 0.875rem; color: var(--muted); }

/* Megjelenések */
.appear { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; max-width: 44rem; }
.appear li { border-top: 1px solid var(--line); padding-top: 1rem; }
.appear a { font-family: var(--font-display); font-size: 1.375rem; line-height: 1.2; color: var(--fg); text-decoration-color: var(--brass); text-decoration-thickness: 2px; }
.appear a:hover { color: var(--accent); }
.appear p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.9375rem; max-width: none; }

/* Ajánlások */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 2rem 2.5rem; }
.quotes.list { grid-template-columns: minmax(0, 1fr); max-width: 44rem; }
/* Ajánlások: csúszka (JS nélkül sima lista marad) */
.quotes.is-carousel { display: flex; align-items: flex-start; transition: height 0.3s ease; gap: 1.5rem; max-width: 44rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
.quotes.is-carousel::-webkit-scrollbar { display: none; }
.quotes.is-carousel .quote { flex: 0 0 100%; scroll-snap-align: start; box-sizing: border-box; }
.quotes.is-carousel .quote blockquote p { font-size: clamp(1.125rem, 2.4vw, 1.375rem); }
.car-ctrl { display: flex; align-items: center; gap: 1rem; max-width: 44rem; margin-top: 1.5rem; }
.car-btn { appearance: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--accent); font: inherit; font-size: 1.25rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.car-btn:hover { border-color: var(--brass); }
.car-btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.car-count { margin-left: auto; font-size: 0.9375rem; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .quotes.is-carousel { scroll-behavior: auto; } }

.quote { margin: 0; border-top: 3px solid var(--brass); padding-top: 1rem; min-width: 0; }
.quote blockquote { margin: 0; }
.quote blockquote p { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.4; max-width: none; margin: 0 0 0.75rem; }
.quote blockquote p:last-child { margin-bottom: 0; }
.quote figcaption { margin-top: 0.75rem; font-weight: 600; font-size: 0.9375rem; color: var(--fg); }

/* Végzettségek */
.edu { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; max-width: 44rem; }
.edu li { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 0.25rem 1.5rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.edu .yr { font-weight: 600; color: var(--brass-ink); font-variant-numeric: tabular-nums; }
.edu h3 { font-size: 1.125rem; margin: 0 0 0.25rem; }
.edu p { margin: 0 0 0.25rem; color: var(--muted); font-size: 0.9375rem; max-width: none; }
.edu p:last-child { margin-bottom: 0; }
@media (max-width: 36rem) { .edu li { grid-template-columns: minmax(0, 1fr); } }

/* Aktualitások és blog */
.post-list { display: grid; gap: 2rem; max-width: 44rem; }
.post-item { border-top: 3px solid var(--brass); padding-top: 1rem; min-width: 0; }
.post-date { font-size: 0.9375rem; color: var(--muted); margin: 0 0 0.25rem; max-width: none; }
.post-item h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); margin: 0 0 0.5rem; }
.post-item h2 a { color: var(--fg); text-decoration-color: var(--brass); text-decoration-thickness: 2px; }
.post-item h2 a:hover { color: var(--accent); }
.post-item p { max-width: none; }
.post-item .more { font-weight: 600; }
.pagination { margin-top: 2rem; }
.pagination .page-numbers { display: inline-block; padding: 0.25rem 0.75rem; border: 1px solid var(--line); border-radius: 0.125rem; margin: 0 0.5rem 0.5rem 0; text-decoration: none; color: var(--fg); }
.pagination .current { border-color: var(--brass); }

@media (max-width: 52rem) {
  .split, .service, .about { grid-template-columns: minmax(0, 1fr); }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-photo { height: auto; min-height: 0; aspect-ratio: 3 / 2; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* WordPress kiegészítések */
.skip-link { position: absolute; left: -999rem; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 0.5rem 1rem; border-radius: 0.125rem; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--accent); }

/* Az oldalszerkesztőben írt tartalom (pl. Impresszum, Adatkezelési tájékoztató) */
.entry { max-width: 46rem; margin-bottom: 3rem; }
.entry > *:first-child { margin-top: 0; }
.entry h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin: 2rem 0 1rem; }
.entry h3 { margin: 1.75rem 0 0.5rem; }
.entry p { max-width: none; }
.entry ul, .entry ol { padding-left: 1.25rem; margin: 0 0 1rem; }
.entry li { margin-bottom: 0.35rem; }
.entry table { width: 100%; border-collapse: collapse; margin: 0 0 1.5rem; font-size: 1rem; }
.entry th, .entry td { border: 1px solid var(--line); padding: 0.5rem 0.75rem; text-align: left; vertical-align: top; }
.entry th { background: var(--surface); font-weight: 600; }
.entry .wp-block-table { overflow-x: auto; }
.entry img { height: auto; border-radius: 0.125rem; }
.alignleft { float: left; margin: 0 1rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1rem; }
.aligncenter { display: block; margin-inline: auto; }
