@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Barlow:wght@400;500;600&display=swap');

/* ==============================================================
   BMS TECH - Egyesitett Asset Injector CSS
   1. resz: Eredeti site stilusok
   2. resz: Frontpage hero komponensek
   3. resz: Globalis dark override + menu (body.path-frontpage)
   ============================================================== */


/* ---------------------------------------------------------------
   1. EREDETI SITE CSS
   --------------------------------------------------------------- */

.logo { margin-top: 13px; }
.kapcsolat img { border-radius: 18px; }

.gsc-button.medium {
    background: #178e94 !important;
    color: #fff !important;
    border-color: #c9c9c9 !important;
}

@media (max-width: 767.98px) {
    .block-dropdown-language .dropbutton-wrapper ul.dropbutton {
        top: -17px;
        right: -17px;
    }
}

/* --- BMS Media ajanlat --- */
.bms-media-page {
    --bms-accent: #118a95;
    --bms-dark:   #2b303c;
    --bms-text:   #2a2f3a;
    --bms-muted:  #6c7486;
    --bms-border: #e8ebf1;
    --bms-bg:     #ffffff;
    --bms-shadow: 0 12px 30px rgba(18, 24, 40, 0.10);
}

.bms-media-page .bms-cards { max-width: 1100px; margin: 0 auto; padding: 24px 0; display: grid; grid-template-columns: 1fr; gap: 18px; }
.bms-media-page .bms-card { background: var(--bms-bg); border: 1px solid var(--bms-border); border-radius: 16px; box-shadow: var(--bms-shadow); padding: 22px; }
.bms-media-page .bms-title { margin: 0 0 12px 0; font-size: 26px; line-height: 1.2; color: var(--bms-dark); letter-spacing: 0.2px; }
.bms-media-page .bms-subtitle { margin: 0 0 10px 0; font-size: 18px; line-height: 1.25; color: var(--bms-dark); }
.bms-media-page p { color: var(--bms-text); margin: 10px 0; }
.bms-media-page .bms-note { color: var(--bms-muted); margin-top: 14px; }
.bms-media-page .bms-subblock { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--bms-border); }
.bms-media-page .bms-list { margin: 0; padding-left: 18px; }
.bms-media-page .bms-list li { margin: 7px 0; color: var(--bms-text); }
.bms-media-page .bms-link { color: var(--bms-accent); text-decoration: none; font-weight: 600; }
.bms-media-page .bms-link:hover { text-decoration: underline; }
.bms-media-page .bms-actions { margin-top: 14px; }
.bms-media-page .bms-divider { height: 1px; background: var(--bms-border); margin: 18px 0 12px 0; }
.bms-media-page .bms-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 16px; border-radius: 12px; text-decoration: none; font-weight: 700; line-height: 1; border: 1px solid transparent; transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease; }
.bms-media-page .bms-btn-primary { background: var(--bms-accent); color: #fff; box-shadow: 0 10px 20px rgba(17, 138, 149, 0.22); }
.bms-media-page .bms-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(17, 138, 149, 0.28); }
.bms-media-page .bms-table-wrap { margin-top: 12px; border: 1px solid var(--bms-border); border-radius: 14px; overflow: hidden; }
.bms-media-page .bms-table { width: 100%; border-collapse: collapse; background: #fff; }
.bms-media-page .bms-table thead th { text-align: left; padding: 14px; background: rgba(17, 138, 149, 0.08); color: var(--bms-dark); font-weight: 800; }
.bms-media-page .bms-table td { padding: 13px 14px; border-top: 1px solid var(--bms-border); vertical-align: top; color: var(--bms-text); }
.bms-media-page .bms-table tbody tr:hover td { background: rgba(43, 48, 60, 0.03); }

@media (max-width: 620px) {
    .bms-media-page .bms-card { padding: 18px 16px; border-radius: 14px; }
    .bms-media-page .bms-title { font-size: 22px; }
    .bms-media-page .bms-btn { width: 100%; }
    .bms-media-page .bms-table thead { display: none; }
    .bms-media-page .bms-table, .bms-media-page .bms-table tbody, .bms-media-page .bms-table tr, .bms-media-page .bms-table td { display: block; width: 100%; }
    .bms-media-page .bms-table tr { border-top: 1px solid var(--bms-border); }
    .bms-media-page .bms-table td { border: 0; border-top: 1px solid var(--bms-border); }
    .bms-media-page .bms-table td:first-child { font-weight: 800; color: var(--bms-dark); background: rgba(17, 138, 149, 0.05); }
}

.bms-media-page .bms-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; padding-top: 20px; }
.bms-media-page .bms-split-image img { width: 100%; border-radius: 14px; box-shadow: 0 18px 40px rgba(18, 24, 40, 0.15); transition: transform 0.25s ease; }
.bms-media-page .bms-split-image img:hover { transform: scale(1.02); }
.bms-media-page .bms-split-text { padding-right: 10px; }

@media (max-width: 900px) {
    .bms-media-page .bms-split { grid-template-columns: 1fr; }
    .bms-media-page .bms-split-image { order: 2; }
    .bms-media-page .bms-split-text { order: 1; }
}

.bms-media-page .bms-yt-status { margin-top: 14px; color: var(--bms-muted); font-size: 14px; }
.bms-media-page .bms-yt-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1100px) { .bms-media-page .bms-yt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .bms-media-page .bms-yt-grid { grid-template-columns: 1fr; } }
.bms-media-page .bms-yt-card { border: 1px solid var(--bms-border); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 10px 24px rgba(18, 24, 40, 0.10); transition: transform .12s ease, box-shadow .12s ease; cursor: pointer; }
.bms-media-page .bms-yt-card:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(18, 24, 40, 0.14); }
.bms-media-page .bms-yt-thumb { position: relative; aspect-ratio: 16 / 9; background: rgba(17, 138, 149, 0.06); }
.bms-media-page .bms-yt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bms-media-page .bms-yt-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 60%); }
.bms-media-page .bms-yt-play { position: absolute; left: 12px; bottom: 12px; background: rgba(17, 138, 149, .95); color: #fff; font-size: 13px; font-weight: 800; padding: 7px 10px; border-radius: 999px; letter-spacing: .2px; }
.bms-media-page .bms-yt-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.bms-media-page .bms-yt-title { margin: 0 !important; padding: 0 !important; font-size: 16px; line-height: 1.25 !important; color: var(--bms-dark); font-weight: 800; }
.bms-media-page .bms-yt-meta { margin: 0 !important; padding: 0 !important; color: var(--bms-muted) !important; font-size: 13px !important; line-height: 1.2 !important; }
.bms-media-page .bms-yt-modal { display: none; position: fixed; inset: 0; z-index: 9999; }
.bms-media-page .bms-yt-modal.is-open { display: block; }
.bms-media-page .bms-yt-modal-backdrop { position: absolute; inset: 0; background: rgba(18, 24, 40, 0.65); }
.bms-media-page .bms-yt-modal-card { position: relative; max-width: 980px; margin: 60px auto; background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(18, 24, 40, 0.25); overflow: hidden; }
@media (max-width: 1020px) { .bms-media-page .bms-yt-modal-card { margin: 30px 14px; } }
.bms-media-page .bms-yt-modal-close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--bms-border); background: #fff; font-size: 22px; line-height: 1; font-weight: 900; cursor: pointer; }
.bms-media-page .bms-yt-modal-framewrap { aspect-ratio: 16 / 9; background: #000; }
.bms-media-page .bms-yt-modal-framewrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.bms-media-page .bms-yt-modal-actions { padding: 14px; display: flex; justify-content: flex-end; border-top: 1px solid var(--bms-border); }
.bms-intro-card { padding: 32px 36px; }
.bms-intro-text { max-width: 100%; line-height: 1.7; font-size: 16px; }
.bms-intro-text p { margin-bottom: 18px; }
.bms-intro-text strong { color: var(--bms-primary); font-weight: 600; }

.stab .row { row-gap: 28px; }
.stab .row > [class*="col-"] { padding-top: 12px; padding-bottom: 12px; }
.stab .row > [class*="col-"] > .views-field,
.stab .row > [class*="col-"] > .team-item,
.stab .row > [class*="col-"] > .node,
.stab .row > [class*="col-"] > article,
.stab .row > [class*="col-"] > div { background: #fff; border-radius: 18px; box-shadow: 0 12px 30px rgba(20, 30, 50, 0.08); padding: 22px 18px; text-align: center; height: 100%; transition: transform .18s ease, box-shadow .18s ease; }
.stab .row > [class*="col-"] > .views-field:hover,
.stab .row > [class*="col-"] > .team-item:hover,
.stab .row > [class*="col-"] > .node:hover,
.stab .row > [class*="col-"] > article:hover,
.stab .row > [class*="col-"] > div:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20, 30, 50, 0.12); }
.stab img { width: 200px; max-width: 100%; margin: 0 auto; display: block; border-radius: 18px; }
.stab .views-field-field-image, .stab .field--name-field-image, .stab .views-field-field-kep, .stab .field--name-field-kep { overflow: hidden; border-radius: 18px; margin-bottom: 16px; }
.stab .views-field-title, .stab .views-field-title a, .stab .field--name-title, .stab .field--name-title a { color: #1f2a37; font-weight: 700; font-size: 18px; line-height: 1.25; text-decoration: none; margin-top: 10px; }
.stab .views-field-field-position, .stab .views-field-field-role, .stab .views-field-body, .stab .field--name-field-position, .stab .field--name-field-role { margin-top: 6px; color: #6b7280; font-size: 13px; line-height: 1.35; }
.stab .views-field { margin: 0 !important; }


/* ---------------------------------------------------------------
   2. FRONTPAGE HERO KOMPONENSEK
   --------------------------------------------------------------- */

.bms-ep-icon {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    margin: 0 auto 10px;
    background: rgba(0, 229, 211, 0.15);
    border: 1px solid rgba(0, 229, 211, 0.45);
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bms-ep-icon svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    fill: #00e5d3;
    display: block;
}

/* A kártya most <a> tag — alapértelmezett link stílusok visszaállítása */
a.bms-ep-card {
    display: block;
    text-decoration: none !important;
    background: rgba(10, 18, 30, 0.85);
    border: 1px solid rgba(0, 229, 211, 0.45);
    border-radius: 6px;
    padding: 14px 10px 12px;
    text-align: center;
    backdrop-filter: blur(4px);
    transition: border-color 0.2s, background 0.2s;
    cursor: pointer;
}

a.bms-ep-card:hover {
    border-color: #00e5d3;
    background: rgba(0, 229, 211, 0.08);
}

/* MÓDOSÍTVA: 10px → 13px */
.bms-ep-title {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
    margin-bottom: 10px !important;
    font-weight: 500;
}

/* MÓDOSÍTVA: 11px → 13px */
.bms-ep-play {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #00e5d3 !important;
    text-decoration: none !important;
    text-transform: uppercase;
}

.bms-episodes-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

.bms-episodes-label::before {
    content: '';
    display: block;
    width: 3px;
    height: 14px;
    background: #00e5d3;
    flex-shrink: 0;
}

.bms-episodes-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px;
}

.bms-accent { color: #00e5d3 !important; }

.bms-cta-btn a,
.bms-cta-btn .gsc-button-wrap a {
    display: inline-block !important;
    padding: 14px 38px !important;
    border: 2px solid #00e5d3 !important;
    color: #00e5d3 !important;
    background: #111924c7 !important;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-weight: 700 !important;
    font-size: 17px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    transition: background 0.25s, color 0.25s !important;
    box-shadow: none !important;
}

.bms-cta-btn a:hover,
.bms-cta-btn .gsc-button-wrap a:hover {
    background: #00e5d3 !important;
    color: #080c14 !important;
}


/* ---------------------------------------------------------------
   3. HERO MAGASSAG - data attributum alapu celzas
   --------------------------------------------------------------- */

[data-onepage-title="Hero"] {
    min-height: 100vh !important;
    padding-top: 48vh !important;
    padding-bottom: 60px !important;
    box-sizing: border-box !important;
}

[data-onepage-title="Hero"] .gsc-column:first-child {
    padding-left: 40px !important;
}

[data-onepage-title="Hero"] .gsc-column:last-child {
    padding-right: 40px !important;
}

@media (max-width: 1024px) and (min-width: 769px) {
    [data-onepage-title="Hero"] {
        padding-top: 40vh !important;
    }
}

@media (max-width: 768px) {
    [data-onepage-title="Hero"] {
        min-height: auto !important;
        padding-top: 100px !important;
        padding-bottom: 40px !important;
    }
    [data-onepage-title="Hero"] .gsc-column:first-child { padding-left: 16px !important; }
    [data-onepage-title="Hero"] .gsc-column:last-child { padding-right: 16px !important; }
    .bms-episodes-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
    [data-onepage-title="Hero"] { padding-top: 80px !important; }
}


/* ---------------------------------------------------------------
   4. GLOBALIS DARK OVERRIDE + MENU - CSAK FRONTPAGE
   --------------------------------------------------------------- */

body.path-frontpage {
    background-color: #080c14 !important;
    color: #ffffff !important;
    font-family: 'Barlow', sans-serif !important;
}

body.path-frontpage .header-top,
body.path-frontpage .top-bar,
body.path-frontpage .gva-topbar {
    background: rgba(4, 8, 16, 0.98) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

body.path-frontpage .header-top a,
body.path-frontpage .top-bar a,
body.path-frontpage .gva-topbar a {
    color: rgba(255,255,255,0.65) !important;
}

body.path-frontpage .header-top a:hover,
body.path-frontpage .top-bar a:hover,
body.path-frontpage .gva-topbar a:hover {
    color: #00e5d3 !important;
}

body.path-frontpage #header,
body.path-frontpage .header-wrapper,
body.path-frontpage .header-main,
body.path-frontpage .gva-header,
body.path-frontpage header {
    background: rgba(8, 12, 20, 0.97) !important;
    border-bottom: 1px solid rgba(0, 229, 211, 0.12) !important;
    box-shadow: none !important;
}

body.path-frontpage .main-menu > li > a,
body.path-frontpage .gva_menu > li > a {
    color: rgba(255, 255, 255, 0.70) !important;
    font-family: 'Barlow Condensed', sans-serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
}

body.path-frontpage .main-menu > li > a:hover,
body.path-frontpage .gva_menu > li > a:hover {
    color: #ffffff !important;
}

body.path-frontpage .main-menu > li:not(:first-child)::before,
body.path-frontpage .gva_menu > li:not(:first-child)::before {
    content: '|';
    color: rgba(255, 255, 255, 0.25);
    font-size: 12px;
    display: inline-block;
    vertical-align: middle;
}

body.path-frontpage .main-menu > li.menu-highlight > a,
body.path-frontpage .gva_menu > li.menu-highlight > a,
body.path-frontpage li.menu-highlight > a {
    color: #00e5d3 !important;
}

body.path-frontpage .main-menu .sub-menu,
body.path-frontpage .gva_menu .sub-menu,
body.path-frontpage .dropdown-menu {
    background: #0d1422 !important;
    border: 1px solid rgba(0, 229, 211, 0.45) !important;
    border-top: 2px solid #00e5d3 !important;
}

body.path-frontpage .main-menu .sub-menu a,
body.path-frontpage .gva_menu .sub-menu a {
    color: rgba(255,255,255,0.65) !important;
}

body.path-frontpage .main-menu .sub-menu a:hover,
body.path-frontpage .gva_menu .sub-menu a:hover {
    color: #00e5d3 !important;
    background: rgba(0, 229, 211, 0.1) !important;
}

body.path-frontpage #footer,
body.path-frontpage .footer-wrapper,
body.path-frontpage .gva-footer {
    background: rgba(4, 8, 14, 0.99) !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
}

body.path-frontpage #footer a,
body.path-frontpage .gva-footer a { color: rgba(255,255,255,0.6) !important; }

body.path-frontpage #footer a:hover,
body.path-frontpage .gva-footer a:hover { color: #00e5d3 !important; }


header .header-main {
    padding: 0;
    background: linear-gradient(
        180deg,
        #012A2E 0%,
        #021212 50%,
        #010B0C 100%
    );
}

.topbar {
  background: linear-gradient(
    180deg,
    #012A2E 0%,
    #021212 50%,
    #010B0C 100%
    );
}

header.header-default {
  position: relative;
  background: #195f5c;
  z-index: 99;
  -webkit-box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}


body.path-frontpage .gsc-heading .sub-title.text-gray {
    color: #ffffff !important;
}
