/* Charity oldal és főoldali banner */

/* ---- Főoldali banner ---- */
.hv-charity-band { padding: 28px 0 8px; background: #0a0a0a; }
.hv-charity-banner { display: flex; align-items: stretch; gap: 0; overflow: hidden; color: #fff; text-decoration: none; border-radius: 14px; background: linear-gradient(120deg, #3a0907 0%, #1a1a1a 62%); border: 1px solid rgba(225, 6, 0, .45); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); transition: transform .2s ease, border-color .2s ease; }
.hv-charity-banner:hover { color: #fff; transform: translateY(-2px); border-color: #e10600; }
.hv-charity-banner__img { flex: 0 0 38%; max-width: 420px; position: relative; min-height: 190px; }
.hv-charity-banner__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; padding: 8px; }
.hv-charity-banner__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding: 26px 30px; }
.hv-charity-banner__label { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ff6b63; }
.hv-charity-banner__label i { color: #e10600; }
.hv-charity-banner__title { font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif; font-size: clamp(1.5rem, 3.2vw, 2.2rem); line-height: 1.15; font-weight: 700; color: #fff; }
.hv-charity-banner__text { color: #d6d6d6; font-size: 1rem; line-height: 1.55; max-width: 640px; }
.hv-charity-banner__cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; padding: 10px 20px; background: #e10600; border-radius: 6px; font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif; font-size: 1.05rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; transition: background-color .2s ease; }
.hv-charity-banner:hover .hv-charity-banner__cta { background: #ff1a14; }
@media (max-width: 767.98px) {
  .hv-charity-banner { flex-direction: column; }
  .hv-charity-banner__img { flex: none; max-width: none; width: 100%; min-height: 0; }
  .hv-charity-banner__img img { position: static; height: auto; padding: 10px 10px 0; }
  .hv-charity-banner__body { padding: 18px 18px 22px; }
  .hv-charity-banner__cta { width: 100%; justify-content: center; }
}

/* ---- Oldal ---- */
.hv-charity { padding-top: 100px; }
.hv-charity__head { text-align: center; margin-bottom: 34px; }
.hv-charity__label { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ff6b63; }
.hv-charity__label i { color: #e10600; }
.hv-charity__title { margin: 8px 0 14px; font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 800; color: #fff; line-height: 1.15; text-shadow: 2px 2px 4px rgba(0, 0, 0, .5); }
.hv-charity__line { width: 80px; height: 4px; margin: 0 auto; background: linear-gradient(90deg, transparent, #ff3d07ff, transparent); }
.hv-charity__card { overflow: hidden; background: rgba(26, 26, 26, .95); border: 1px solid #2a2a2a; border-radius: 12px; }
.hv-charity__cover { display: block; width: 100%; height: auto; }
.hv-charity__content { padding: 26px 28px 30px; color: #e6e6e6; min-width: 0; overflow-wrap: anywhere; }
.hv-charity__content > :first-child { margin-top: 0; }
.hv-charity__content h2, .hv-charity__content h3 { color: #fff; }

/* A tartalom a hírekével egyező megjelenésű (a híroldal stílusait ide is átvesszük) */
.hv-charity .news-content { font-size: 1.1rem; line-height: 1.8; }
.hv-charity .news-content img { max-width: 100%; height: auto; border-radius: .5rem; }
.hv-charity .news-content img:not([style*="float"]) { margin: 1rem 0; }
.hv-charity .news-content h2, .hv-charity .news-content h3 { margin-top: 2rem; margin-bottom: 1rem; }
.hv-charity .news-content p { margin-bottom: 1rem; }
.hv-charity .news-content blockquote { border-left: 4px solid #dc3545; padding-left: 1rem; margin: 1.5rem 0; font-style: italic; color: #b9b9b9; }
.hv-charity .news-content ul, .hv-charity .news-content ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.hv-charity .news-content a { color: #ff5a52; text-decoration: underline; }
.hv-charity .news-content mark { background: #ffdd57; color: #000; border-radius: 2px; padding: 0 2px; }
.hv-charity .news-content hr { border: none; border-top: 1px solid #444; margin: 2rem 0; }
.hv-charity .news-content table { border-collapse: collapse; width: 100%; margin: 1.5rem 0; background: transparent; display: block; overflow-x: auto; }
.hv-charity .news-content table th, .hv-charity .news-content table td { border: 1px solid #4a4a4a; padding: 8px 12px; text-align: left; background: rgba(255, 255, 255, .04); color: #f2f2f2; }
.hv-charity .news-content table th { background: rgba(255, 255, 255, .08); font-weight: 600; }
.hv-charity .news-content [style*="text-align: center"] { text-align: center; }
.hv-charity .news-content [style*="text-align: right"] { text-align: right; }
.hv-charity .news-content iframe, .hv-charity .news-content video { max-width: 100%; }

/* Előnézet-sáv (csak adminnak) */
.hv-charity-preview { position: sticky; top: 0; z-index: 1500; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; padding: 8px 14px; background: #f0b44c; color: #111; font-weight: 700; font-size: .85rem; text-align: center; }
.hv-charity-preview a { color: #111; text-decoration: underline; }

@media (max-width: 575.98px) {
  .hv-charity { padding-top: 70px; }
  .hv-charity__content { padding: 18px 16px 22px; }
  .hv-charity .news-content { font-size: 1.02rem; }
}
