/* p-programok.css: page-only overrides for programok.html (Tamás Tanya 11-06 full-apply round, pages builder).
   Linked after tt-1106.css on that page only. Holds: the no-gradient rule (Matt 7dff4d6d) for the gallery gate title and the #kornyek nearby-programs cards (2026-11-21). */
/* [7dff4d6d] the gallery gate title sits on a solid brand card, no radial veil over the gate photos */
.v5-header { background: none !important; width: max-content; max-width: calc(100% - 32px); padding: 22px 40px 24px; background-color: var(--brand, #2C3E30) !important; border: 1px solid rgba(168,134,85,.6); border-radius: var(--radius, 3px); box-shadow: 0 18px 44px rgba(10,15,11,.3); }
.v5-header :is(.decor-text, .section-title, p) { text-shadow: none !important; }
@media (max-width: 600px) { .v5-header { padding: 16px 20px 18px; } }

/* #kornyek: the four nearby programs at the bottom of programok.html (2026-11-20 call). Mobile: one column. */
.tt-near { padding: 80px 0; background: var(--gray-50, #f7f5f0); border-top: 1px solid var(--gray-200, #e5e1d8); }
.tt-near-lead { max-width: 640px; margin: 12px auto 0; color: var(--text-muted, #5b5b5b); }
.tt-near-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.tt-near-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--gray-200, #e5e1d8); border-radius: var(--radius, 6px); overflow: hidden; box-shadow: var(--shadow-md, 0 6px 20px rgba(0,0,0,.06)); }
.tt-near-card figure { position: relative; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.tt-near-card figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tt-near-card figcaption { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 3px; background: rgba(0,0,0,.55); color: #fff; font-size: .72rem; }
.tt-near-card figcaption a { color: #fff; text-decoration: underline; }
.tt-near-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 22px; flex: 1; }
.tt-near-place { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--accent, #A88655); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.tt-near-body h3 { margin: 0; font-family: "Cormorant Garamond", serif; font-size: 1.5rem; color: var(--brand-dark, #151F17); }
.tt-near-body p { margin: 0; color: var(--text-muted, #5b5b5b); font-size: .95rem; }
.tt-near-body > a { margin-top: auto; padding-top: 6px; color: var(--brand-dark, #151F17); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) { .tt-near-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tt-near { padding: 56px 0; } .tt-near-grid { grid-template-columns: 1fr; gap: 18px; } }
