/* p-home.css: home page (index.html) changes of the 11-06 round, linked only on index.html after tt-1106.css.
   - #aktualis: lays out the restored first-version poster rotator (markup in index.html, base rules and JS in
     tt-refresh.css / tt-refresh.js) as a dark band directly under the hero (comments eac9195e, 9abfc412).
   - .tt-strip: smaller photo tiles under the hero (meeting 03:41).
   - #gyors-ajanlat: lower photo choices and a more compact intro (comment 5a24bc79), eight equal choices.
   - #ajanlat bottom form: the renamed categories make nine choices, "Egyéb" spans the row.
   The hero itself lives in sections/hero/section.css. */

/* ---------- Aktuális programjaink ---------- */
.tt-now { position: relative; background: var(--brand-darkest, #0A0F0B); padding: 30px 0 32px; }
.tt-now .tt-posters {
  display: grid; width: 100%; max-width: 1080px; justify-self: auto; margin: 0 auto;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr); column-gap: 48px;
  grid-template-rows: 1fr auto auto auto auto 1fr;
  grid-template-areas: "stage ." "stage head" "stage meta" "stage dots" "stage foot" "stage .";
  background: rgba(253, 252, 249, .03); border: 1px solid rgba(168, 134, 85, .45);
  box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  padding: 20px 24px 20px 20px;
}
.tt-now .tt-posters-head { grid-area: head; justify-content: flex-start; gap: 18px; margin: 0 0 14px; }
.tt-now .tt-posters-head h2 { font-size: clamp(1.9rem, 2.6vw, 2.5rem); }
.tt-now .tt-posters-stage { grid-area: stage; aspect-ratio: 2 / 3; }
/* The whole poster, date included: portrait frame, contain (posters run 2:3 to 4:5). */
.tt-now .tt-poster img { object-fit: contain; }
.tt-now .tt-poster-meta { grid-area: meta; margin: 0; min-height: 0; }
.tt-now .tt-poster-meta strong { font-size: 1.3rem; line-height: 1.3; margin-bottom: 4px; }
.tt-now .tt-poster-meta time { font-size: 1rem; }
.tt-now .tt-posters-dots { grid-area: dots; justify-content: flex-start; margin: 20px 0 18px; }
/* 24 px hit area around the 12 px dot. */
.tt-now .tt-posters-dots button { position: relative; width: 12px; height: 12px; }
.tt-now .tt-posters-dots button::before { content: ''; position: absolute; inset: -6px; }
.tt-now .tt-posters-dots button:focus-visible { outline: 2px solid var(--accent, #A88655); outline-offset: 3px; }
.tt-now .tt-posters-empty { grid-area: meta; }
.tt-now .tt-posters-foot { grid-area: foot; margin: 0; }
.tt-now .tt-posters-foot .btn { flex: 0 0 auto; padding: 12px 22px; }
.tt-now .tt-poster:focus-visible { outline: 2px solid var(--accent, #A88655); outline-offset: -4px; }
.tt-now .tt-poster-card { gap: 4px; padding: 0 18px; }
.tt-now .tt-poster-card b { font-size: clamp(3.6rem, 7vw, 5rem); }
.tt-now .tt-poster-card em { margin-top: 2px; }
.tt-now .tt-poster-card strong {
  margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(168, 134, 85, .5);
  font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 1.45rem; line-height: 1.15; color: #fff;
}
/* Nothing left to show: the empty note takes the place of the stage. */
.tt-now .tt-posters-none { grid-template-columns: 1fr; grid-template-areas: "head" "meta" "foot"; }

@media (max-width: 860px) {
  .tt-now { padding: 22px 0 24px; }
  .tt-now .tt-posters {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: none;
    grid-template-areas: "head" "stage" "meta" "dots" "foot";
    padding: 16px;
  }
  .tt-now .tt-posters-head { margin: 0 0 12px; justify-content: space-between; }
  .tt-now .tt-posters-head h2 { font-size: 1.6rem; }
  .tt-now .tt-posters-stage { width: min(100%, 260px); justify-self: center; }
  .tt-now .tt-poster-meta { margin-top: 12px; min-height: 3.6em; }
  .tt-now .tt-poster-meta strong { font-size: 1.08rem; }
  .tt-now .tt-posters-dots { justify-content: center; margin: 10px 0 14px; }
  .tt-now .tt-posters-foot .btn { flex: 1 1 auto; }
}

/* ---------- Photo strip under the hero: smaller tiles ---------- */
.tt-strip { padding: 8px 0; }
.tt-strip figure { height: clamp(150px, 13vw, 200px); }
.tt-strip figcaption { padding: 18px 10px 8px; font-size: .72rem; }
@media (max-width: 991px) { .tt-strip figure { height: 150px; } }
@media (max-width: 600px) { .tt-strip { padding: 6px 0; } .tt-strip figure { height: 118px; } }

/* ---------- Quick enquiry: lower choices, compact intro ---------- */
.tt-quick { padding: 44px 0 52px; }
/* Eight equal choices (the wedding card no longer spans two rows). */
.tt-quick .site-form .service-select-card:first-child { grid-row: auto; }
.tt-quick .site-form .service-select-card:first-child span { font-size: 1rem; }
.tt-quick .site-form .service-select-grid { grid-auto-rows: 116px; margin-bottom: 16px; }
@media (min-width: 992px) {
  .tt-quick .form-card { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); }
  .tt-quick-intro { padding: 30px 32px 26px; gap: 12px; }
  .tt-quick-intro h2 { font-size: clamp(1.8rem, 2.2vw, 2.15rem); }
  .tt-quick-intro p { font-size: .95rem; line-height: 1.55; }
  .tt-quick-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; }
  .tt-quick-points li { font-size: .9rem; }
  .tt-quick-phone { padding-top: 16px; }
  .tt-quick-form { padding: 24px 30px 22px; }
  .tt-quick .site-step-progress { margin-bottom: 14px; }
  /* tt-v3.css stretches the rows to the intro height; cap them so the choices stay low. */
  .tt-quick .site-form .service-select-grid { grid-auto-rows: minmax(116px, 136px); align-content: start; }
}
@media (max-width: 600px) {
  .tt-quick .site-form .service-select-card:first-child { grid-column: auto; }
  .tt-quick .site-form .service-select-grid { grid-auto-rows: 92px; }
  .tt-quick .site-form .service-select-card:first-child span { font-size: .92rem; }
}

/* ---------- Bottom form (#ajanlat): same categories as the quick enquiry, nine choices, "Egyéb" takes a full row ---------- */
#ajanlat .site-form .service-select-card.choice-other { grid-column: 1 / -1; }

/* Homepage references use the same logo tiles as rendezvenyek.html (copied from p-rendezvenyek.css, 11-06 hero-sv) */
#referenciak .tt-logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; max-width: 1120px; margin: 0 auto 22px; }
#referenciak .tt-logos li { display: flex; align-items: center; justify-content: center; height: 96px; padding: 14px 18px; background: var(--tt-cream, #fbf7ee); border: 1px solid var(--tt-line, #e7dcc6); }
#referenciak .tt-logos img { display: block; width: auto; height: auto; max-width: 100%; max-height: 46px; object-fit: contain; }
#referenciak .tt-logos img[src$="soos-teszta.svg"] { max-height: 66px; } /* upright script mark, reads too small at the shared height */
@media (max-width: 992px) { #referenciak .tt-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  #referenciak .tt-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  #referenciak .tt-logos li { height: 76px; padding: 10px; }
  #referenciak .tt-logos img { max-height: 34px; }
  #referenciak .tt-logos img[src$="soos-teszta.svg"] { max-height: 52px; }
}

/* ---------- Aktuális poster row (2026-11-19 meeting D04, markup index.html .ak, JS p-home-v.js) ----------
   Dark band as before, a small title card on the left and 3-4 poster cards next to it with arrows. */
.ak { background: var(--brand-darkest, #0A0F0B); color: #fff; padding: 40px 0 44px; }
.ak-grid { display: grid; grid-template-columns: 230px minmax(0, max-content); justify-content: center; gap: 28px; align-items: center; }
.ak-head { display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; border: 1px solid rgba(168, 134, 85, .45); border-radius: 4px; background: rgba(255, 255, 255, .04); }
.ak-eyebrow { font-family: 'Style Script', cursive; font-size: 2rem; line-height: 1; color: var(--accent, #A88655); }
.ak-title { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 1.9rem; line-height: 1.08; color: #fff; margin: 0; }
.ak-fb { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: #e9dcc3; text-decoration: underline; text-underline-offset: 3px; }
.ak-fb:hover { color: #fff; }
.ak-nav { display: flex; gap: 10px; margin-top: auto; padding-top: 10px; }
.ak-arrow { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); background: transparent; color: #fff; font-size: 1.1rem; cursor: pointer; transition: background-color .2s ease, opacity .2s ease; }
.ak-arrow:hover:not(:disabled) { background: rgba(255, 255, 255, .12); }
.ak-arrow:focus-visible { outline: 2px solid var(--accent, #A88655); outline-offset: 3px; }
.ak-arrow:disabled { opacity: .35; cursor: default; }
.ak.ak-fits .ak-nav { visibility: hidden; }
.ak-track { display: grid; grid-auto-flow: column; grid-auto-columns: 240px; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ak-track::-webkit-scrollbar { display: none; }
.ak-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ak-poster { display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: 4px; overflow: hidden; background: #1b231d; cursor: zoom-in; }
.ak-poster img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 0; transition: transform .4s ease; }
/* 2026-11-21: Tamás sends 4:5 and 2:3 posters. contain shows the whole poster (dates and phone at the edges), the dark .ak-poster fills the rest. */
.ak-poster:hover img { transform: scale(1.03); }
.ak-poster:focus-visible { outline: 2px solid var(--accent, #A88655); outline-offset: 3px; }
.ak-datecard { cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; color: #fff; text-decoration: none; padding: 0 16px;
  background: linear-gradient(160deg, #26332a 0%, #141c16 100%); border: 1px solid rgba(168, 134, 85, .55); }
.ak-datecard small { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #e9dcc3; }
.ak-datecard b { font-family: 'Cormorant Garamond', serif; font-size: clamp(3.4rem, 5.4vw, 4.6rem); line-height: 1; color: var(--accent, #A88655); }
.ak-buffet b { font-size: clamp(2.6rem, 4vw, 3.4rem); }
.ak-datecard em { font-style: normal; font-size: .95rem; color: #e9dcc3; }
.ak-datecard strong { margin-top: 10px; font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; line-height: 1.15; }
.ak-meta { display: grid; gap: 2px; }
.ak-meta time { font-size: .85rem; color: #e9dcc3; }
.ak-meta strong { font-size: 1rem; line-height: 1.3; color: #fff; }
.ak-act { margin-top: auto; justify-content: center; padding: 10px 14px; font-size: .9rem; }
.ak .btn-outline.ak-act { color: #fff; border-color: rgba(255, 255, 255, .6); }
.ak-more .ak-datecard i { font-size: 3rem; color: var(--accent, #A88655); }
.ak .ph-empty { width: 240px; color: #e9dcc3; margin: 0; align-self: center; }
.ak-zoom { padding: 0; border: 0; background: transparent; max-width: min(92vw, 720px); max-height: 92vh; overflow: visible; }
.ak-zoom::backdrop { background: rgba(10, 15, 11, .82); }
.ak-zoom img { display: block; max-width: 100%; max-height: 90vh; width: auto; height: auto; border-radius: 4px; }
.ak-close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 0; background: #fff; color: #151F17; font-size: 1.1rem; cursor: pointer; }
@media (max-width: 760px) {
  .ak { padding: 28px 0 32px; }
  .ak-grid { grid-template-columns: 1fr; gap: 18px; }
  .ak-head { padding: 0; border: 0; background: none; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
  .ak-eyebrow { width: 100%; font-size: 1.7rem; }
  .ak-grid { justify-content: stretch; }
  .ak-title { font-size: 1.7rem; width: 100%; }
  .ak-fb { flex: 1 1 auto; }
  .ak-nav { margin: 0; padding: 0; }
  .ak-track { grid-auto-columns: 62%; }
}

/* ---------- Drone photo slot in the contact section (D06): admin image, a site photo stands in ---------- */
.tt-dron { margin: 28px 0 32px; border-radius: 4px; overflow: hidden; aspect-ratio: 21 / 8; background: #c9d3bd; }
.tt-dron img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; border-radius: 0; }
@media (max-width: 760px) { .tt-dron { aspect-ratio: 4 / 3; margin: 20px 0 22px; } }
