/* p-rendezvenyek.css: Rendezvények page only, linked after tt-1106.css in rendezvenyek.html.
   Styles the nine #alkalmak cards, the nine occasion sections (section.tt-occ, built on the
   #napi-rend sd2 gallery markup) and the #referenciak logo wall. Does not touch the header,
   the floating widgets or the inside of the #asztalfoglalas booking placeholder. */

/* Cards: nine in a 3 x 3 grid (2 and 1 columns come from tt-1103.css) */
#alkalmak .tt-card .btn { display: inline-flex; align-items: center; gap: 8px; }
#alkalmak .tt-card .btn i { transition: transform .25s ease; }
#alkalmak .tt-card .btn:hover i, #alkalmak .tt-card .btn:focus-visible i { transform: translateY(3px); }

/* Occasion sections */
.tt-occ .sd2-content-side { gap: 26px; }
.tt-occ .sd2-content-side > div > p { margin: 0 0 14px; }
.tt-occ .sd2-content-side > div > p:last-child { margin-bottom: 0; }
.tt-occ h2:focus { outline: none; }
.tt-occ h2:focus-visible { outline: 2px solid var(--accent, #A88655); outline-offset: 6px; }
.tt-occ-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tt-occ-facts li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px; background: var(--tt-card, #fffdf8); border: 1px solid var(--tt-line, #e7dcc6); border-radius: var(--radius, 8px); text-align: left; color: var(--tt-ink, #2c2a24); line-height: 1.45; }
.tt-occ.bg-white .tt-occ-facts li { background: var(--tt-cream, #fbf7ee); }
.tt-occ-facts i { flex: 0 0 auto; font-size: 1.35rem; color: var(--accent, #A88655); margin-top: 1px; }
.tt-occ-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tt-occ-actions .btn { display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 1200px) {
  .tt-occ .sd2-content-side > div { max-width: 720px; }
  .tt-occ-facts { width: 100%; max-width: 720px; }
  .tt-occ-actions { justify-content: center; }
}
@media (max-width: 600px) {
  .tt-occ-facts li { padding: 14px 16px; }
  .tt-occ-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .tt-occ-actions .btn { justify-content: center; }
}

/* Reference logos: the companies' own logos in their own colours on calm cream tiles (greyscale made boxed logos such as Dachser and Lidl read as grey blocks) */
#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; }
}

/* [7dff4d6d] room panels of #anyagok: no gradient over the photos, the room name and text sit on solid brand chips */
#anyagok .accordion-panel::before { content: none !important; background: none !important; }
#anyagok .accordion-panel .vertical-title { padding: 10px 18px; background: var(--brand, #2C3E30); border-radius: 2px; text-shadow: none; box-shadow: 0 8px 24px rgba(10,15,11,.3); }
#anyagok .accordion-content { padding: 22px 26px 24px; background: var(--brand, #2C3E30); }
