/* A Kezdő útmutató a nemzetközi kapun (aquahistory.com, docs/AQUAHISTORY_TERV.md §7): a /guide áttekintő és a fejezetoldalak igazítása a kapu keretéhez. */

/* /guide: a 10 lépés */
.ah-utm-hos__belso { position: relative; z-index: 1; padding-bottom: clamp(40px, 6vw, 72px); }
.ah-utm-hos .aql-hos__felcim { justify-content: center; }
.ah-utm-hos .aql-hos__lead { margin-left: auto; margin-right: auto; }
.ah-utm-hos .aql-cta { justify-content: center; }
.ah-utm-hos { isolation: isolate; }
.ah-utm-hos .hj { --padlo: 0px; }

/* Az út belső vonala folytonos, a körök nem vágják ki (a fő oldalé szaggatott, papírszínű gyűrűvel); rajta lassan végigfut egy fény. */
.ah-rajz, .ah-utm .ut__fut { display: none; }
@media (min-width: 1200px) {
  .ah-utm .ut__nyom { stroke-dasharray: none; stroke-width: 2px; opacity: .45; }
  .ah-utm .ut__fut { display: inline; fill: none; vector-effect: non-scaling-stroke; stroke: var(--aq-accent); stroke-width: 4px; stroke-linecap: round;
    stroke-dasharray: 90 1900; opacity: .75; animation: ah-ut-fut 16s linear infinite; }
  .ah-utm .ut__pont, .ah-utm .ut__lepes--merfold .ut__pont { box-shadow: none; }
  .ah-rajz { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none;
    fill: none; stroke: var(--aq-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .5; }
}
.ah-rajz .ah-rajz__fa { stroke: var(--aq-wood); }
.ah-rajz .ah-rajz__tele { fill: var(--aq-accent); stroke: none; }
.ah-rajz .ah-rajz__szin { stroke: none; opacity: .45; }
.ah-rajz .ah-rajz__szin--a { fill: #C9B23C; }
.ah-rajz .ah-rajz__szin--b { fill: #3478C0; }
.ah-rajz .ah-rajz__szin--c { fill: #6F4FD0; }
.ah-rajz__leng { transform-box: fill-box; transform-origin: 50% 100%; animation: ah-leng 6s ease-in-out infinite alternate; }
.ah-rajz__hal { animation: ah-lebeg 4.5s ease-in-out infinite alternate; }
.ah-rajz__bubi { transform-box: fill-box; animation: ah-bubi 4.8s linear infinite; }
.ah-rajz__sugar { animation: ah-sugar 3.6s ease-in-out infinite alternate; }
.ah-rajz .ah-rajz__cso { stroke-width: 6; opacity: .55; }
.ah-rajz .ah-rajz__aram { stroke: #fff; stroke-width: 2; stroke-dasharray: 2 10; animation: ah-aram 1.4s linear infinite; }
.ah-rajz__k2 { animation-delay: -1.6s; }
.ah-rajz__k3 { animation-delay: -3.1s; }
.ah-rajz__k4 { animation-delay: -2.3s; }
@keyframes ah-ut-fut { to { stroke-dashoffset: -1990; } }
@keyframes ah-leng { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
@keyframes ah-lebeg { from { transform: translateY(-3px); } to { transform: translateY(3px); } }
@keyframes ah-bubi { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-46px); opacity: 0; } }
@keyframes ah-sugar { from { opacity: .25; } to { opacity: 1; } }
@keyframes ah-aram { to { stroke-dashoffset: -14; } }
@media (prefers-reduced-motion: reduce) {
  .ah-utm .ut__fut, .ah-rajz__leng, .ah-rajz__hal, .ah-rajz__bubi, .ah-rajz__sugar, .ah-rajz__aram { animation: none; }
  .ah-rajz__bubi { opacity: 1; }
}
/* a 10 lépés útja a fő oldal kezdőblokkjáé (fooldal.css .ut); alatta a gyakorlati záróoldal, a lenyíló menü záró sorához hasonlóan */
.ah-utm__zaro { display: flex; gap: 18px; align-items: center; margin-top: 40px; padding: 22px 26px; border-radius: 18px; background: #0F3038; color: #fff; text-decoration: none;
  transition: box-shadow .2s, transform .2s; }
.ah-utm__zaro:hover, .ah-utm__zaro:focus-visible { box-shadow: 0 10px 28px rgba(15, 48, 56, .18); transform: translateY(-2px); }
.ah-utm__zaro-ikon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: rgba(159, 211, 201, .16); color: #9FD3C9; }
.ah-utm__zaro-ikon .ikon { width: 26px; height: 26px; }
.ah-utm__szoveg { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ah-utm__felcim { color: #9FD3C9; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ah-utm__nev { font-size: 1.3rem; font-weight: 800; line-height: 1.25; }
.ah-utm__leiras { color: rgba(255, 255, 255, .78); line-height: 1.5; }
@media (max-width: 760px) { .ah-utm__zaro { gap: 14px; padding: 18px; } .ah-utm__zaro-ikon { width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .ah-utm__zaro { transition: none; } .ah-utm__zaro:hover { transform: none; } }

/* a videók nyelvi tájékoztatója (csak nem magyar oldalon jelenik meg) */
.videoblokk__nyelv { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #EEF5F3; color: #2E4A4E; font-size: .9rem; line-height: 1.45; }
.videoblokk__nyelv .ikon { flex: none; width: 18px; height: 18px; margin-top: 1px; color: #22605C; }
.videoajanlo > .videoblokk__nyelv { margin: 18px 0 0; }

/* /guide „Dióhéjban” (2026-12-02): minden fejezet vezetőképpel és a „Röviden” pontokkal, váltakozó oldalon; a végén a gyakorlati záróoldal sötét blokkban. */
.ah-osz { padding: 0 0 calc(var(--szekcio-ter) + 16px); scroll-margin-top: 90px; }
.ah-osz__lista { display: grid; gap: clamp(56px, 7vw, 112px); margin: 0; padding: 0; list-style: none; }
.ah-osz__elem { display: grid; gap: 26px; align-items: center; scroll-margin-top: 100px; }
.ah-osz__kep { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 24px; overflow: hidden; background: var(--aql-teal-halvany, #E3F1EE);
  box-shadow: 0 24px 48px -28px rgba(13, 26, 23, .45); }
.ah-osz__kep picture, .ah-osz__kep img { display: block; width: 100%; height: 100%; }
.ah-osz__kep img { object-fit: cover; transition: transform .6s ease; }
.ah-osz__elem:hover .ah-osz__kep img { transform: scale(1.04); }
.ah-osz__szam { position: absolute; top: 18px; left: 18px; display: grid; place-items: center; width: 58px; height: 58px; border: 3px solid rgba(255, 255, 255, .9); border-radius: 50%;
  background: #0F3038; color: #fff; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.ah-osz__szam .ikon { width: 26px; height: 26px; }
.ah-osz__szoveg { min-width: 0; }
.ah-osz__meta { margin: 0 0 10px; color: var(--aq-accent-sotet, #2B7570); font-size: .82rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.ah .ah-osz__cim { margin: 0 0 12px; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.ah-osz__cim a { color: inherit; text-decoration: none; }
.ah-osz__cim a:hover, .ah-osz__cim a:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.ah-osz__leiras { margin: 0 0 18px; color: #4A5B57; font-size: 1.12rem; line-height: 1.55; }
.ah-osz__pontok { display: grid; gap: 12px; margin: 0 0 26px; padding: 0; list-style: none; }
.ah-osz__pontok li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.ah-osz__pontok .ikon { flex: none; width: 22px; height: 22px; margin-top: 1px; padding: 3px; border-radius: 50%; background: var(--aql-teal-halvany, #E3F1EE); color: var(--aq-accent-sotet, #2B7570); }
.ah-osz__gomb { background: var(--aq-accent-sotet, #2B7570); color: #fff; }
.ah-osz__gomb:hover, .ah-osz__gomb:focus-visible { background: #22605C; color: #fff; }
.ah-osz__elem--gyakorlat { padding: clamp(22px, 3vw, 40px); border-radius: 30px; background: #0F3038; color: #fff; }
.ah-osz__elem--gyakorlat .ah-osz__meta { color: #9FD3C9; }
.ah-osz__elem--gyakorlat .ah-osz__leiras, .ah-osz__elem--gyakorlat .ah-osz__pontok li { color: rgba(255, 255, 255, .86); }
.ah-osz__elem--gyakorlat .ah-osz__pontok .ikon { background: rgba(159, 211, 201, .18); color: #9FD3C9; }
.ah-osz__elem--gyakorlat .ah-osz__pontok strong { color: #fff; }
.ah-osz__elem--gyakorlat .ah-osz__gomb { background: #9FD3C9; color: #0F3038; }
.ah-osz__elem--gyakorlat .ah-osz__gomb:hover, .ah-osz__elem--gyakorlat .ah-osz__gomb:focus-visible { background: #fff; color: #0F3038; }
.ah-osz__elem--gyakorlat .ah-osz__szam { background: #9FD3C9; color: #0F3038; }
@media (min-width: 920px) {
  .ah-osz__elem { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); }
  .ah-osz__elem:nth-child(even) .ah-osz__kep { order: 2; }
}
@media (max-width: 600px) { .ah-osz__szam { top: 12px; left: 12px; width: 48px; height: 48px; font-size: 1.05rem; } .ah-osz__kep { border-radius: 18px; } }
@media (prefers-reduced-motion: reduce) { .ah-osz__kep img { transition: none; } .ah-osz__elem:hover .ah-osz__kep img { transform: none; } }
