/*
Theme Name:     Vöröskereszt KE - Astra Child
Theme URI:      https://www.komaromesztergommegye.voroskereszt.hu/
Description:    Magyar Vöröskereszt Komárom-Esztergom Vármegyei Szervezet - Astra gyermektéma
Author:         Komáromi Attila
Author URI:     https://donromi.hu
Template:       astra
Version:        2.1.5
License:        GNU General Public License v2 or later
License URI:    https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    voroskereszt-child
*/

/* ============================================
   CSS VÁLTOZÓK — Vöröskereszt arculat v2
   (voroskereszt.hu inspiráció)
   ============================================ */
:root {
    --vk-red: #CE1126;
    --vk-red-dark: #A00E1F;
    --vk-red-light: #E8384F;
    --vk-white: #FFFFFF;
    --vk-gray-light: #F5F5F5;
    --vk-gray: #666666;
    --vk-gray-medium: #999999;
    --vk-gray-dark: #333333;
    --vk-black: #1a1a1a;
    --vk-green: #28a745;
    --vk-green-dark: #1e7e34;
    --vk-font: 'Open Sans', Arial, Helvetica, sans-serif;
    --vk-font-heading: 'Roboto', 'Open Sans', Arial, Helvetica, sans-serif;
    --vk-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --vk-shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
    --vk-radius: 4px;
    --vk-radius-lg: 8px;
    --vk-transition: all 0.3s ease;
    --vk-max-width: 1200px;
}

/* ============================================
   ALAP RESET ÉS TIPOGRÁFIA
   ============================================ */
body {
    font-family: var(--vk-font);
    color: var(--vk-gray-dark);
    line-height: 1.7;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--vk-font-heading);
    font-weight: 700;
    color: var(--vk-gray-dark);
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

a {
    color: var(--vk-red);
    text-decoration: none;
    transition: var(--vk-transition);
}

a:hover {
    color: var(--vk-red-dark);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   FELSŐ INFO SÁV (voroskereszt.hu stílus)
   ============================================ */
.vk-top-bar {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    z-index: 1000;
}

.vk-top-bar-inner {
    max-width: var(--vk-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px;
    gap: 20px;
}

.vk-top-bar-left {
    flex-shrink: 0;
}

.vk-top-bar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    color: var(--vk-black) !important;
}

.vk-top-bar-logo img {
    height: 45px;
    width: auto;
}

.vk-top-bar-name {
    font-family: var(--vk-font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.2;
    color: var(--vk-white);
}

.vk-top-bar-name small {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.8;
    display: block;
    letter-spacing: 0;
}

.vk-top-bar-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.vk-top-bar-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--vk-black);
}

.vk-donate-line .vk-tax-number {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.vk-donate-line .vk-tax-number small {
    font-size: 0.6rem;
    font-weight: 400;
    color: #777777;
    letter-spacing: 0;
}
.vk-donate-sep {
    color: var(--vk-green);
    font-weight: 700;
}

.vk-tax-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.vk-tax-number {
    font-size: 1.15rem;
    font-weight: 700;
    font-family: var(--vk-font-heading);
    letter-spacing: 0.5px;
}

.vk-donate-btn {
    display: inline-block;
    background: var(--vk-green);
    color: var(--vk-white) !important;
    padding: 10px 25px;
    border-radius: var(--vk-radius);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--vk-transition);
    text-decoration: none !important;
    border: none;
    cursor: pointer;
}

.vk-donate-btn:hover {
    background: var(--vk-green-dark);
    text-decoration: none !important;
    transform: translateY(-1px);
}

.vk-search-toggle {
    background: none;
    border: none;
    color: var(--vk-black);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--vk-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vk-search-toggle:hover {
    background: rgba(0,0,0,0.08);
}

/* Keresés overlay */
.vk-search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.85);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.vk-search-overlay.visible {
    display: flex;
}

.vk-search-overlay-inner {
    width: 90%;
    max-width: 600px;
}

.vk-search-overlay form {
    display: flex;
    position: relative;
}

.vk-search-input {
    flex: 1;
    padding: 18px 25px;
    font-size: 1.2rem;
    border: none;
    border-radius: var(--vk-radius) 0 0 var(--vk-radius);
    outline: none;
    font-family: var(--vk-font);
}

.vk-search-submit {
    padding: 18px 30px;
    background: var(--vk-red);
    color: var(--vk-white);
    border: none;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 0 var(--vk-radius) var(--vk-radius) 0;
    transition: var(--vk-transition);
    font-family: var(--vk-font);
}

.vk-search-submit:hover {
    background: var(--vk-red-dark);
}

.vk-search-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: var(--vk-white);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 5px 15px;
}

/* ============================================
   NAVIGÁCIÓ — piros sáv (voroskereszt.hu stílus)
   ============================================ */
.site-header {
    background: var(--vk-white);
    box-shadow: none;
    position: relative;
    z-index: 100;
}

/* Astra primary header override */
.ast-primary-header,
.ast-primary-header .ast-primary-header-bar {
    background: var(--vk-red) !important;
    border: none !important;
}

.main-header-menu,
.ast-primary-header .main-header-menu {
    background: var(--vk-red) !important;
}

.main-header-menu .menu-item > a,
.ast-primary-header .menu-item > a {
    color: var(--vk-white) !important;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 18px 16px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--vk-transition);
    white-space: nowrap;
}

.main-header-menu .menu-item > a:hover,
.main-header-menu .menu-item.current-menu-item > a,
.main-header-menu .menu-item.current-menu-ancestor > a {
    background: var(--vk-red-dark) !important;
    color: var(--vk-white) !important;
}

/* Dropdown menü */
.main-header-menu .sub-menu {
    background: var(--vk-white) !important;
    box-shadow: var(--vk-shadow-lg);
    border-top: 3px solid var(--vk-red);
    min-width: 240px;
    border-radius: 0 0 var(--vk-radius) var(--vk-radius);
}

.main-header-menu .sub-menu .menu-item > a {
    color: var(--vk-gray-dark) !important;
    font-weight: 400;
    text-transform: none;
    padding: 12px 22px !important;
    border-bottom: 1px solid var(--vk-gray-light);
    font-size: 0.9rem;
}

.main-header-menu .sub-menu .menu-item > a:hover {
    background: var(--vk-gray-light) !important;
    color: var(--vk-red) !important;
    padding-left: 28px !important;
}

/* Hide Astra site identity in header since we have our own top bar */
.site-header .site-branding,
.site-header .ast-site-identity {
    display: none !important;
}

/* Astra dropdown toggle nyíl */
.ast-header-break-point .ast-button-wrap .menu-toggle,
.menu-toggle {
    color: var(--vk-white);
}

/* ============================================
   HERO SLIDER (Főoldal)
   ============================================ */
.vk-hero-slider {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
}

.vk-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.vk-hero-slide.active {
    opacity: 1;
}

.vk-hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(206,17,38,0.75) 0%, rgba(0,0,0,0.5) 100%);
}

.vk-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--vk-white);
    max-width: 800px;
    padding: 0 20px;
}

.vk-hero-content h1 {
    font-size: 3rem;
    color: var(--vk-white);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-family: var(--vk-font-heading);
}

.vk-hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    opacity: 0.95;
}

.vk-hero-btn {
    display: inline-block;
    background: var(--vk-white);
    color: var(--vk-red);
    padding: 14px 40px;
    border-radius: var(--vk-radius);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--vk-transition);
    border: 2px solid var(--vk-white);
}

.vk-hero-btn:hover {
    background: transparent;
    color: var(--vk-white);
    text-decoration: none;
}

/* Slider navigáció */
.vk-slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.vk-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--vk-transition);
    border: 2px solid transparent;
}

.vk-slider-dot.active {
    background: var(--vk-white);
    transform: scale(1.2);
}

/* ============================================
   SZEKCIÓ ÁLTALÁNOS STÍLUSOK
   ============================================ */
.vk-section {
    padding: 60px 20px;
}

.vk-section-inner {
    max-width: var(--vk-max-width);
    margin: 0 auto;
}

.vk-section-title {
    text-align: center;
    margin-bottom: 45px;
    position: relative;
}

.vk-section-title h2 {
    font-size: 2rem;
    color: var(--vk-gray-dark);
    margin-bottom: 10px;
    font-family: var(--vk-font-heading);
}

.vk-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--vk-red);
    margin: 15px auto 0;
    border-radius: 2px;
}

.vk-section-title p {
    font-size: 1.05rem;
    color: var(--vk-gray);
    max-width: 600px;
    margin: 10px auto 0;
}

/* ============================================
   GYORSELÉRÉSI KÁRTYÁK
   ============================================ */
.vk-quick-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 60px 20px;
    max-width: var(--vk-max-width);
    margin: 0 auto;
}

.vk-quick-card {
    background: var(--vk-white);
    border-radius: var(--vk-radius-lg);
    box-shadow: var(--vk-shadow);
    padding: 35px 25px;
    text-align: center;
    transition: var(--vk-transition);
    border-top: 4px solid var(--vk-red);
    position: relative;
    overflow: hidden;
}

.vk-quick-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--vk-red);
    transition: var(--vk-transition);
}

.vk-quick-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--vk-shadow-lg);
}

.vk-quick-card:hover::before {
    height: 6px;
}

.vk-quick-card .card-icon {
    font-size: 3rem;
    color: var(--vk-red);
    margin-bottom: 15px;
}

.vk-quick-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--vk-gray-dark);
}

.vk-quick-card p {
    font-size: 0.9rem;
    color: var(--vk-gray);
    line-height: 1.6;
}

.vk-quick-card .card-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--vk-red);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--vk-transition);
}

.vk-quick-card .card-link:hover {
    color: var(--vk-red-dark);
    text-decoration: none;
    letter-spacing: 0.5px;
}

/* ============================================
   ELNÖKI KÖSZÖNTŐ
   ============================================ */
.vk-greeting {
    background: var(--vk-gray-light);
    padding: 60px 0;
}

.vk-greeting-inner {
    max-width: var(--vk-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: center;
    padding: 0 20px;
}

.vk-greeting-photo {
    background: #e0e0e0;
    border-radius: var(--vk-radius-lg);
    overflow: hidden;
    box-shadow: var(--vk-shadow);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vk-gray);
}

.vk-greeting-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.vk-greeting-text h2 {
    color: var(--vk-red);
    margin-bottom: 20px;
    font-family: var(--vk-font-heading);
}

.vk-greeting-text blockquote {
    font-style: italic;
    font-size: 1.05rem;
    border-left: 4px solid var(--vk-red);
    padding-left: 20px;
    margin: 20px 0;
    color: var(--vk-gray);
    line-height: 1.7;
}

.vk-greeting-text .vk-btn {
    display: inline-block;
    background: var(--vk-red);
    color: var(--vk-white);
    padding: 12px 30px;
    border-radius: var(--vk-radius);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    transition: var(--vk-transition);
}

.vk-greeting-text .vk-btn:hover {
    background: var(--vk-red-dark);
    text-decoration: none;
}

/* ============================================
   PÁLYÁZATOK & HÍREK KÁRTYÁK (voroskereszt.hu stílus)
   ============================================ */
.vk-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: var(--vk-max-width);
    margin: 0 auto;
}

.vk-card {
    background: var(--vk-white);
    border-radius: var(--vk-radius-lg);
    box-shadow: var(--vk-shadow);
    overflow: hidden;
    transition: var(--vk-transition);
}

.vk-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--vk-shadow-lg);
}

.vk-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--vk-gray-light);
}

.vk-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--vk-transition);
}

.vk-card:hover .vk-card-image img {
    transform: scale(1.05);
}

.vk-card-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0,0,0,0.7);
    color: var(--vk-white);
    padding: 4px 12px;
    border-radius: var(--vk-radius);
    font-size: 0.8rem;
    font-weight: 600;
}

.vk-card-body {
    padding: 20px;
}

.vk-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.vk-card-body h3 a {
    color: var(--vk-gray-dark);
}

.vk-card-body h3 a:hover {
    color: var(--vk-red);
    text-decoration: none;
}

.vk-card-excerpt {
    font-size: 0.9rem;
    color: var(--vk-gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.vk-card-link {
    display: inline-block;
    color: var(--vk-red);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--vk-transition);
}

.vk-card-link:hover {
    color: var(--vk-red-dark);
    text-decoration: none;
}

/* Status badge (pályázatok) */
.vk-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.vk-status-badge.active {
    background: var(--vk-green);
    color: var(--vk-white);
}

.vk-status-badge.closed {
    background: var(--vk-gray);
    color: var(--vk-white);
}

/* ============================================
   ESEMÉNYEK LISTA
   ============================================ */
.vk-events-list {
    max-width: var(--vk-max-width);
    margin: 0 auto;
}

.vk-event-item {
    display: flex;
    gap: 25px;
    padding: 25px;
    border-bottom: 1px solid #eee;
    align-items: flex-start;
    transition: var(--vk-transition);
    border-radius: var(--vk-radius-lg);
}

.vk-event-item:hover {
    background: var(--vk-gray-light);
}

.vk-event-date {
    flex-shrink: 0;
    width: 80px;
    text-align: center;
    background: var(--vk-red);
    color: var(--vk-white);
    border-radius: var(--vk-radius-lg);
    padding: 12px;
}

.vk-event-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.vk-event-date .month {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-top: 5px;
    letter-spacing: 1px;
}

.vk-event-details h3 {
    font-size: 1.15rem;
    margin-bottom: 5px;
}

.vk-event-details .location {
    color: var(--vk-gray);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

/* ============================================
   CTA SZEKCIÓ (Csatlakozz / Adományozz)
   ============================================ */
.vk-cta-section {
    background: var(--vk-red);
    padding: 80px 20px;
    text-align: center;
    color: var(--vk-white);
    position: relative;
    overflow: hidden;
}

.vk-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.05) 0%, transparent 70%);
}

.vk-cta-section h2 {
    color: var(--vk-white);
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
}

.vk-cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    position: relative;
}

.vk-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.vk-cta-btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: var(--vk-radius);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--vk-transition);
}

.vk-cta-btn.primary {
    background: var(--vk-white);
    color: var(--vk-red);
}

.vk-cta-btn.primary:hover {
    background: var(--vk-gray-light);
    text-decoration: none;
    transform: translateY(-2px);
}

.vk-cta-btn.secondary {
    background: transparent;
    color: var(--vk-white);
    border: 2px solid var(--vk-white);
}

.vk-cta-btn.secondary:hover {
    background: var(--vk-white);
    color: var(--vk-red);
    text-decoration: none;
    transform: translateY(-2px);
}

/* ============================================
   SZEKCIÓ - BŐVEBBEN GOMB (középre)
   ============================================ */
.vk-section-more {
    text-align: center;
    margin-top: 35px;
}

.vk-more-btn {
    display: inline-block;
    padding: 12px 35px;
    border: 2px solid var(--vk-red);
    color: var(--vk-red);
    border-radius: var(--vk-radius);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: var(--vk-transition);
}

.vk-more-btn:hover {
    background: var(--vk-red);
    color: var(--vk-white);
    text-decoration: none;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer,
.ast-footer-overlay {
    background: var(--vk-black) !important;
    color: #bbb;
}

.site-footer .footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: var(--vk-max-width);
    margin: 0 auto;
    padding: 50px 20px 30px;
}

.site-footer h4,
.site-footer .widget-title {
    color: var(--vk-white) !important;
    font-size: 1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
    font-family: var(--vk-font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.site-footer h4::after,
.site-footer .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--vk-red);
}

.site-footer a {
    color: #bbb !important;
    transition: var(--vk-transition);
}

.site-footer a:hover {
    color: var(--vk-white) !important;
    text-decoration: none;
}

.site-footer .footer-bottom,
.ast-small-footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: #888;
    background: var(--vk-black) !important;
}

/* ============================================
   AKADÁLYMENTESÍTÉS
   ============================================ */
.vk-accessibility-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--vk-red);
    color: var(--vk-white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 9999;
    box-shadow: var(--vk-shadow);
    transition: var(--vk-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vk-accessibility-btn:hover {
    background: var(--vk-red-dark);
    transform: scale(1.1);
}

.vk-accessibility-panel {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: var(--vk-white);
    border-radius: var(--vk-radius-lg);
    box-shadow: var(--vk-shadow-lg);
    padding: 20px;
    z-index: 9998;
    display: none;
    min-width: 250px;
}

.vk-accessibility-panel.visible {
    display: block;
}

.vk-accessibility-panel h4 {
    margin-bottom: 15px;
    font-size: 1rem;
}

.vk-accessibility-panel label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 0.95rem;
}

/* Nagy betűméret mód */
body.vk-large-text { font-size: 20px; }
body.vk-large-text h1 { font-size: 3rem; }
body.vk-large-text h2 { font-size: 2.5rem; }
body.vk-large-text h3 { font-size: 1.8rem; }

/* Nagy kontraszt mód */
body.vk-high-contrast { background: #000 !important; color: #FFD700 !important; }
body.vk-high-contrast a { color: #00BFFF !important; }
body.vk-high-contrast .site-header,
body.vk-high-contrast .site-footer { background: #111 !important; }
body.vk-high-contrast .vk-top-bar { background: #000 !important; }

/* Vissza az elejére gomb */
.vk-back-to-top {
    position: fixed;
    bottom: 80px;
    right: 80px;
    width: 45px;
    height: 45px;
    background: var(--vk-red);
    color: var(--vk-white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 9997;
    opacity: 0;
    visibility: hidden;
    transition: var(--vk-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vk-back-to-top.visible { opacity: 1; visibility: visible; }
.vk-back-to-top:hover { background: var(--vk-red-dark); }

/* ============================================
   RESZPONZÍV DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
    .vk-top-bar-inner {
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        gap: 10px 16px;
        padding: 10px 14px;
    }

    /* A logó kitér a jobb felső sarokban fixen ülő EU embléma elől */
    .vk-top-bar-left {
        max-width: calc(100% - 145px);
    }

    /* A jobb oldali blokk (adományvonal, adószám, gomb, kereső) a logó alá,
       saját sorba törik, és ott teljes szélességben elfér — mobilon is látszik */
    .vk-top-bar-right {
        width: 100%;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px 18px;
    }

    /* Az adományvonal és az adószám mobilon is látszik, balra rendezve */
    .vk-top-bar-info {
        align-items: flex-start;
    }

    .vk-quick-cards {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px 20px;
    }

    .vk-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vk-greeting-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .vk-greeting-photo {
        max-width: 250px;
        margin: 0 auto;
    }

    .site-footer .footer-widgets {
        grid-template-columns: 1fr 1fr;
    }

    .vk-hero-slider { height: 380px; }
    .vk-hero-content h1 { font-size: 2.2rem; }
}

/* Mobil */
@media (max-width: 576px) {
    .vk-top-bar-left {
        max-width: calc(100% - 125px);
    }

    .vk-top-bar-right {
        gap: 8px 14px;
    }

    .vk-tax-number {
        font-size: 1rem;
    }

    .vk-donate-line .vk-tax-number small {
        font-size: 0.55rem;
    }

    .vk-top-bar-logo img {
        height: 38px;
    }

    .vk-top-bar-name {
        font-size: 0.9rem;
    }

    .vk-top-bar-name small {
        font-size: 0.6rem;
    }

    .vk-donate-btn {
        padding: 8px 15px;
        font-size: 0.75rem;
    }

    .vk-quick-cards { grid-template-columns: 1fr; }
    .vk-cards-grid { grid-template-columns: 1fr; }

    .site-footer .footer-widgets { grid-template-columns: 1fr; }
    .vk-hero-slider { height: 300px; }
    .vk-hero-content h1 { font-size: 1.8rem; }
    .vk-hero-content p { font-size: 1rem; }
    .vk-cta-section h2 { font-size: 1.8rem; }
    .vk-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   VIZSGANAPTÁR
   ============================================ */
.vk-vizsga-wrap { max-width: var(--vk-max-width); margin: 0 auto; }
.vk-vizsga-msg { padding: 15px 20px; border-radius: var(--vk-radius); margin-bottom: 20px; font-weight: 600; }
.vk-vizsga-ok { background: #e8f5e9; color: #1e7e34; border: 1px solid #a5d6a7; }
.vk-vizsga-err { background: #fdecea; color: #b71c1c; border: 1px solid #f5c6cb; }
.vk-vizsga-grid { display: grid; grid-template-columns: 320px 1fr; gap: 30px; align-items: start; }
.vk-vizsga-list h3, .vk-vizsga-detail h3 { color: var(--vk-red); margin-top: 0; }
#vk-vizsga-list-items { display: flex; flex-direction: column; gap: 12px; max-height: 520px; overflow-y: auto; }
.vk-vizsga-list-item { display: flex; flex-direction: column; gap: 3px; text-align: left; background: #fff; border: 1px solid #eee; border-left: 4px solid var(--vk-red); border-radius: var(--vk-radius); padding: 12px 15px; cursor: pointer; transition: var(--vk-transition); font-family: var(--vk-font); }
.vk-vizsga-list-item:hover { box-shadow: var(--vk-shadow); transform: translateX(2px); }
.vk-vli-date { font-weight: 700; color: var(--vk-gray-dark); }
.vk-vli-tipus { color: var(--vk-red); font-weight: 600; font-size: 0.9rem; }
.vk-vli-hely { color: var(--vk-gray); font-size: 0.85rem; }
.vk-vizsga-empty { color: var(--vk-gray); }

.vk-vizsga-cal { background: #fff; border: 1px solid #eee; border-radius: var(--vk-radius-lg); padding: 20px; box-shadow: var(--vk-shadow); }
.vk-cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.vk-cal-header span { font-family: var(--vk-font-heading); font-weight: 700; font-size: 1.3rem; color: var(--vk-gray-dark); }
.vk-cal-header button { background: var(--vk-gray-light); border: none; width: 38px; height: 38px; border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--vk-red); transition: var(--vk-transition); }
.vk-cal-header button:hover { background: var(--vk-red); color: #fff; }
.vk-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.vk-cal-dow { text-align: center; font-size: 0.75rem; font-weight: 700; color: var(--vk-gray-medium); text-transform: uppercase; padding: 6px 0; }
.vk-cal-cell { position: relative; min-height: 60px; border: 1px solid #f0f0f0; border-radius: var(--vk-radius); padding: 6px; }
.vk-cal-empty { border: none; background: transparent; }
.vk-cal-num { font-size: 0.9rem; color: var(--vk-gray-dark); }
.vk-cal-cell.vk-has-event { cursor: pointer; background: #fff5f6; border-color: var(--vk-red-light); }
.vk-cal-cell.vk-has-event:hover { background: #ffe6e9; }
.vk-cal-cell.vk-selected { background: var(--vk-red); }
.vk-cal-cell.vk-selected .vk-cal-num { color: #fff; font-weight: 700; }
.vk-cal-dot { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 8px; height: 8px; border-radius: 50%; background: var(--vk-red); }
.vk-cal-cell.vk-selected .vk-cal-dot { background: #fff; }
.vk-cal-legend { margin-top: 15px; font-size: 0.85rem; color: var(--vk-gray); display: flex; align-items: center; gap: 8px; }
.vk-cal-legend .vk-cal-dot { position: static; transform: none; }

.vk-vizsga-detail { margin-top: 30px; background: var(--vk-gray-light); border-radius: var(--vk-radius-lg); padding: 25px; }
.vk-vizsga-chosen { font-size: 1.05rem; }
.vk-vizsga-choose { font-weight: 600; margin: 0 0 8px; }
.vk-vizsga-options { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 15px; }
.vk-vizsga-opt { display: flex; flex-direction: column; gap: 2px; text-align: left; background: #fff; border: 2px solid #eee; border-radius: var(--vk-radius); padding: 10px 14px; cursor: pointer; }
.vk-vizsga-opt.vk-active { border-color: var(--vk-red); }
.vk-vizsga-opt span { font-size: 0.85rem; color: var(--vk-gray); }
.vk-vizsga-form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 10px; }
.vk-form-row { display: flex; flex-direction: column; gap: 5px; }
.vk-vizsga-form .vk-form-row:last-of-type { grid-column: 1 / -1; }
.vk-vizsga-submit { grid-column: 1 / -1; }
.vk-form-row label { font-weight: 600; font-size: 0.9rem; color: var(--vk-gray-dark); }
.vk-form-row input, .vk-form-row textarea { padding: 10px 12px; border: 1px solid #ccc; border-radius: var(--vk-radius); font-family: var(--vk-font); font-size: 1rem; }
.vk-form-row input:focus, .vk-form-row textarea:focus { outline: none; border-color: var(--vk-red); }
.vk-vizsga-submit { background: var(--vk-red); color: #fff; border: none; padding: 14px; border-radius: var(--vk-radius); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.5px; cursor: pointer; transition: var(--vk-transition); }
.vk-vizsga-submit:hover { background: var(--vk-red-dark); }

@media (max-width: 782px) {
    .vk-vizsga-grid { grid-template-columns: 1fr; }
    .vk-vizsga-form { grid-template-columns: 1fr; }
    .vk-cal-cell { min-height: 44px; }
}

/* Vizsganaptár — modal */
.vk-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); z-index: 10001; display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 40px 15px; }
.vk-modal-overlay[hidden] { display: none; }
.vk-modal { background: #fff; border-radius: var(--vk-radius-lg); padding: 30px 30px 35px; max-width: 640px; width: 100%; position: relative; box-shadow: var(--vk-shadow-lg); margin: auto; }
.vk-modal h3 { color: var(--vk-red); margin-top: 0; }
.vk-modal-close { position: absolute; top: 10px; right: 15px; background: none; border: none; font-size: 2rem; line-height: 1; color: var(--vk-gray); cursor: pointer; padding: 0 6px; }
.vk-modal-close:hover { color: var(--vk-red); }
.vk-modal .vk-vizsga-form { margin-top: 15px; }
@media (max-width: 576px) { .vk-modal .vk-vizsga-form { grid-template-columns: 1fr; } }

/* ============================================
   EU PROJEKT EMBLÉMA — fix badge (jobb felső sarok)
   Uniós láthatóság: módosítatlan embléma + nyilatkozat.
   Betűtípus Arial (uniós ajánlás), Reflex Blue szöveg,
   fehér háttér a megfelelő kontrasztért.
   ============================================ */
.vk-eu-badge {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    background: #ffffff;
    border-left: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    border-bottom-left-radius: 8px;
    box-shadow: -2px 2px 12px rgba(0, 0, 0, 0.15);
}
.vk-eu-flag {
   