﻿/* Vizuální styl odvozený z euromedia.cz (téměř černá hlavička a patička, bílé tělo, pískový akcent,
   písmo Rethink Sans s velkými titulky v normální velikosti písmen, serifový wordmark EUROMEDIA).
   Načítá se po site.css a přepisuje jeho barvy.
   Převzato z dodaného webu (SOU-004), doplněno o přepisy tyrkysových akcentů ze site.css (DEV-4215). */
@import url('/fonts/rethink-sans/rethink-sans.css'); /* jen Rethink Sans (brandmanuál C) */

:root {
    --em-black: #000000;
    --em-ink: #111111;
    --em-sand: #b8a58c; /* brandmanuál F: bronzová/béžová, PANTONE 465 U */
    --em-sand-dark: #8a7a5e;
    --em-sand-light: #e9e9e9; /* brandmanuál F: světle šedá */
    --em-grey: #e9e9e9;
    --em-line: #2a2a2a;
    --em-muted: #6b6b6b;
}

html { font-size: 16px; }
body { font-family: 'Rethink Sans', sans-serif; color: var(--em-ink); background: #fff; line-height: 1.55; }
.em-serif, .em-accent { font-family: 'Rethink Sans', sans-serif; font-style: normal; font-weight: 400; letter-spacing: 0; color: var(--em-sand); }

/* ---------- titulky ---------- */
h1, h2 { font-family: 'Rethink Sans', sans-serif; font-weight: 400; letter-spacing: -.02em; line-height: 1.08; }
h2 { font-size: clamp(34px, 4vw, 56px); margin-bottom: 28px; }
.news-detail h1 { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 24px; }
h3, .regions .name, .news-item .name { font-family: 'Rethink Sans', sans-serif; font-weight: 500; letter-spacing: -.01em; }

/* ---------- hlavička ---------- */
header, .top-menu { background-color: var(--em-black) !important; }
header .navbar { font-size: 11.5px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; padding: 0 20px; min-height: 72px; }
.onepage { padding-top: 72px; }
.onepage .menu-anchor { top: -112px; }
header .navbar-brand { display: flex !important; align-items: center; gap: 20px; margin: 0; }
header .navbar .logo { height: 38px; margin: 0; }
.em-brand-sub { display: inline-flex; align-items: center; gap: 10px; padding-left: 20px; border-left: 1px solid #3a3a3a; color: var(--em-sand); font-size: 14px; letter-spacing: 0; text-transform: none; line-height: 1; }
.em-brand-sub img { height: 15px; }
.top-menu a.nav-link { color: #fff !important; padding: .5rem .5rem; position: relative; }
.top-menu a.nav-link::after { content: ""; position: absolute; left: .5rem; right: .5rem; bottom: 2px; height: 1px; background: var(--em-sand); transform: scaleX(0); transition: transform .2s; }
.top-menu a.nav-link:hover::after { transform: scaleX(1); }
.nav-language .nav-link { display: flex; align-items: center; gap: 8px; letter-spacing: .06em; text-transform: lowercase; }
.nav-language a { background: none !important; width: auto; height: auto; border-radius: 0; color: #fff !important; }
.nav-language a + a { margin-left: 0; }
.nav-language a.em-active { color: var(--em-sand) !important; }
.nav-language .em-sep { color: #555; }
@media (min-width: 1200px) {
    header .navbar { display: flex; justify-content: space-between; align-items: center; }
    header .navbar-collapse { flex-grow: 0; }
    .top-menu .list-inline { display: flex; align-items: center; justify-content: flex-end; width: auto; }
    header .navbar li { padding: 0 2px; }
    .navbar .nav-language { position: static; margin-left: 10px; }
    .top-menu .list-inline { padding-right: 0; }
}
@media (max-width: 1599px) { .em-brand-sub { display: none; } }
@media (max-width: 1199px) {
    header .navbar { padding: 12px 16px; }
    .em-brand-sub { display: none; }
}

/* pískový pruh pod hlavičkou (jako claim na euromedia.cz) */
.em-groupbar { background: var(--em-sand); color: #fff; font-size: 14px; letter-spacing: .04em; padding: 10px 0; text-align: center; }
.em-groupbar img { height: 14px; margin-left: 10px; vertical-align: -1px; }

/* ---------- úvodní sekce ---------- */
[data-node-id="1101"] { background-color: var(--em-black) !important; background-size: cover !important; background-repeat: no-repeat !important; color: #fff; }
[data-node-id="1101"]::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,11,.55) 0%, rgba(11,11,11,.82) 60%, rgba(11,11,11,.95) 100%); }
[data-node-id="1101"] > .container { position: relative; z-index: 1; }
[data-node-id="1101"] .body { padding-bottom: 40px; }
.em-display { font-size: clamp(40px, 5.2vw, 76px); font-weight: 400; letter-spacing: -.03em; line-height: 1.02; color: #fff; margin: 0 auto 22px; max-width: 980px; }
.em-display .em-serif { color: var(--em-sand); }
[data-node-id="1101"] .HPpopis { font-size: 17px; color: #d6d6d6; }
[data-node-id="1101"] .body > p { max-width: 820px; margin-left: auto; margin-right: auto; }
.em-lockup { position: static; transform: none; text-align: center; white-space: nowrap; margin: 0 auto 36px; }
.em-lockup img.content-logo { display: inline-block; position: static; transform: none; max-height: 110px; }
.em-lockup-sub { margin-top: 14px; color: #fff; font-size: 18px; }
.em-lockup-sub img { height: 24px; margin-left: 12px; vertical-align: middle; }

/* ---------- sekce: bílé tělo, bez tapet; vybrané sekce černé / pískové ---------- */
/* em-attr-fix: sekce bez class (1076, 1117) se cílí atributem */
[data-node-id]:not([data-node-id="1101"]), .news { background-image: none !important; }
[data-node-id="1117"] { background-color: var(--em-sand-light) !important; }
[data-node-id="1176"] { background-color: #fff !important; }
.em-dark, [data-node-id="1076"] { background-color: var(--em-black) !important; color: #fff !important; padding-bottom: 40px; }
.em-dark a, .em-dark [href*=mailto], [data-node-id="1076"] a, [data-node-id="1076"] [href*=mailto] { color: var(--em-sand) !important; }
.em-dark .person .info, .em-dark .person .name, [data-node-id="1076"] .person .info, [data-node-id="1076"] .person .name { color: #fff; }

/* ---------- odkazy, tlačítka, prvky ---------- */
a { color: var(--em-sand-dark); }
a:hover { color: var(--em-black); }
.btn-search, .btn.btn-emg { background-color: var(--em-black); border-color: var(--em-black); color: #fff; border-radius: 0; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 500; padding: 12px 28px; }
.btn-search:hover, .btn.btn-emg:hover { background-color: var(--em-sand); border-color: var(--em-sand); color: var(--em-black); }
.regions .name { color: var(--em-ink); }
.news-item .name a { color: var(--em-ink); }
.news-item .name a:hover { color: var(--em-sand-dark); }
.publishers-list .item { background-color: var(--em-grey); border-radius: 0; }
.dialogwindow .head { background-color: var(--em-black); }
.form-control { border-radius: 0; }

/* ---------- zvýrazněná aktualita ---------- */
.em-news-feature { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; background: var(--em-black); color: #fff; padding: 36px 40px; margin: 0 0 40px; }
.em-news-feature .em-news-logo img { height: 36px; }
.em-news-feature .em-news-text { flex: 1 1 420px; }
.em-news-feature h3 { margin: 0 0 10px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 400; letter-spacing: -.02em; line-height: 1.15; }
.em-news-feature h3 a { color: #fff; }
.em-news-feature h3 a:hover { color: var(--em-sand); }
.em-news-feature p { margin: 0 0 16px; color: #cfcfcf; }
.em-news-feature .btn.btn-emg { background: var(--em-sand); border-color: var(--em-sand); color: var(--em-black); }
.em-news-feature .btn.btn-emg:hover { background: #fff; border-color: #fff; }

/* ---------- patička (podle euromedia.cz: černá, serifový wordmark, sloupce s pískovou linkou, spodní řádek) ---------- */
.footer, .onepage .footer { background: var(--em-black); color: #fff; padding: 56px 0 28px; }
.footer a, .footer [href*=mailto] { color: #fff; }
.footer a:hover { color: var(--em-sand); }
.footer .text, .footer p { font-size: 14px; color: #d9d9d9; }
.footer .text strong { color: #fff; }
.footer .h-empty { display: none; }
.em-footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-bottom: 44px; }
.em-footer-brand .em-footer-em { height: 30px; }
.em-footer-brand .em-footer-pemic { height: 40px; }
.em-footer-brand .em-serif { color: var(--em-sand); font-size: 18px; }
.em-footer-brand .em-footer-claim { margin-left: auto; color: var(--em-sand); font-size: 20px; }
@media (min-width: 768px) { .footer .row > .col-md-3 + .col-md-3 { border-left: 1px solid var(--em-sand); } }
.em-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--em-line); font-size: 12px; color: #8d8d8d; }
.em-footer-bottom a { color: #b5b5b5; }

/* ---------- detail aktuality ---------- */
.news-detail .image.em-logo-image img { padding: 28px; background: var(--em-grey); width: 320px; }
.news-detail .em-sources { font-size: 13px; color: var(--em-muted); }


/* ================= SOU-004: EUROMEDIA GROUP SLOVAKIA ================= */
.onepage { padding-top: 112px; }
.onepage .menu-anchor { top: -124px; }
header { position: fixed; top: 0; left: 0; right: 0; z-index: 600; }
.onepage .top-menu { position: static; }
.em-announce { background: var(--em-sand); color: #000; font-size: 14px; letter-spacing: .02em; padding: 10px 16px; text-align: center; }
.em-announce strong { font-weight: 700; }
header .navbar .logo { height: auto; width: 180px; min-width: 132px; margin: 0; }   /* brandmanuál A: min. 132 px */
.em-groupbar, .em-brand-sub, .nav-language { display: none !important; }

/* úvod: logo s claimem (brandmanuál B), bronzový claim na černé */
[data-node-id="1101"]::before { background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.70) 55%, rgba(0,0,0,.92) 100%); }
.em-lockup { display: inline-block; text-align: left; margin: 0 auto 40px; }
.em-hero-logo { width: clamp(220px, 30vw, 420px); height: auto; display: block; }
.em-hero-claim { color: var(--em-sand); font-size: clamp(15px, 1.55vw, 22px); margin-top: 6px; line-height: 1.1; }
[data-node-id="1101"] .body { text-align: center; }
.em-display .em-accent { color: var(--em-sand); }
.em-hero-text { max-width: 820px; margin: 0 auto; font-size: 17px; color: #d6d6d6; }

/* O nás */
.em-credo { margin-top: 28px; padding: 20px 24px; border-left: 4px solid var(--em-sand); background: var(--em-grey); font-weight: 500; }

/* tým */
.person .photo img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; }
.regions h3.name { font-size: 22px; text-transform: none; }

/* mapa v popupu */
.em-map-link { font-size: 18px; text-decoration: underline; text-underline-offset: 4px; }
.em-map-embed { position: relative; width: 100%; aspect-ratio: 16 / 10; background: var(--em-grey); margin-bottom: 14px; }
.em-map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* patička */
.em-footer-brand { align-items: flex-end; }
.em-footer-brand .em-footer-em { height: auto; width: 220px; }
.em-footer-brand .em-footer-claim { margin-left: 16px; font-size: 18px; color: var(--em-sand); font-family: 'Rethink Sans', sans-serif; font-style: normal; }
.footer .text p { margin-bottom: 14px; }
@media (max-width: 767px) { .em-footer-brand .em-footer-claim { margin-left: 0; } .em-announce { font-size: 12px; } }

[data-node-id="1117"] .top-text .text-center { margin: 28px 0 48px; }
.em-display { font-size: clamp(36px, 4.2vw, 64px); }

/* ===== SOU-004 připomínky 26. 10. ===== */
/* 1) nižší úvodní fotka */
[data-node-id="1101"] { height: auto !important; min-height: 0 !important; max-height: none !important; background-size: cover !important; background-position: center 40% !important; }
[data-node-id="1101"] > .container { padding-top: clamp(80px, 14vh, 160px); padding-bottom: clamp(48px, 8vh, 96px); }
@media (min-width: 1200px) { [data-node-id="1101"] { height: auto !important; } }
[data-node-id="1101"] .center-block { position: static; transform: none; }
h1.em-display { margin-bottom: 22px; }
/* 4) tlačítko registrace */
.em-submit { margin: 8px 0 24px; }
/* 5) větší popup s mapou */
.dialogwindow:has(.em-map-embed) { max-width: 96vw; }
.em-map-embed { width: min(92vw, 1700px); aspect-ratio: auto; height: 74vh; }

/* ===== SOU-004 připomínky 27. 10.: výřez fotek ===== */
:root { --em-photo-h: clamp(360px, 38vw, 600px); }
/* úvod: horní část fotky (víc robotů), pevná výška */
[data-node-id="1101"] { height: var(--em-photo-h) !important; background-position: center 8% !important; display: flex !important; align-items: center; }
[data-node-id="1101"] > .container { padding-top: 0; padding-bottom: 0; }
/* spodní fotka skladu: stejná výška jako úvodní */
.onepage-control > img[src*="euromedia2-bw"] { width: 100%; height: var(--em-photo-h); object-fit: cover; object-position: center 55%; display: block; }

/* ===== SOU-004: mobilní zobrazení (27. 10.) ===== */
/* 1) hlavička v toku stránky (sticky) – nepřekrývá obsah při libovolné výšce lišty */
header { position: sticky !important; top: 0; }
.onepage { padding-top: 0 !important; }
.onepage .menu-anchor { top: -130px; }
/* 4) menší loga vydavatelů */
.publishers .colcount-lg-5 img { max-height: 130px; width: auto; }
/* 5) bez velké mezery pod kontakty dodavatelů */
.contacts > div { margin-bottom: 32px; }
/* e-maily se nikdy nevylijí z bloku */
.person .email a, .footer a[href^="mailto"] { overflow-wrap: anywhere; }

@media (max-width: 767px) {
    .em-announce { font-size: 12px; padding: 8px 12px; line-height: 1.35; }
    header .navbar { min-height: 60px; }
    header .navbar .logo { width: 150px; }
    .onepage .menu-anchor { top: -110px; }
    /* 3) bez zarovnání do bloku */
    [style*="justify"] { text-align: left !important; }
    h2 { font-size: 32px; }
    .onepage h2 { padding-top: 40px; }
    /* 2) kontakty: fotka nad textem, celá šířka */
    .person.row { text-align: center; }
    .person .photo, .person .info { flex: 0 0 100%; max-width: 100%; }
    .person .photo { margin-bottom: 14px; }
    .person .photo img { width: 120px; height: 120px; }
    .person .info span { min-width: 0; margin-right: 8px; }
    .regions .row > h3.name { flex: 0 0 100%; max-width: 100%; margin-left: 0; text-align: center; }
    .regions .region { margin-bottom: 8px; }
    .contacts > div { margin-bottom: 16px; }
    /* 4) loga vydavatelů */
    .publishers .colcount-lg-5 { margin-bottom: 24px !important; }
    .publishers .colcount-lg-5 img { max-height: 70px; max-width: 85%; }
    /* 6) patička: oddělené bloky */
    .footer .row > .col-md-3 { padding-top: 16px; padding-bottom: 6px; border-top: 1px solid var(--em-line); }
    .footer .row > .col-md-3:first-child { border-top: 0; padding-top: 0; }
    .em-footer-brand { margin-bottom: 28px; }
    .em-footer-bottom { flex-direction: column; }
}
@media (max-width: 767px) {
    [data-node-id="1101"] { height: auto !important; }
    [data-node-id="1101"] > .container { padding-top: 56px !important; padding-bottom: 48px !important; }
    h1.em-display { font-size: 34px; }
    .em-hero-text { font-size: 15px; }
}

/* ===== SOU-004: slabší zatmavení úvodní fotky (27. 10.) ===== */
[data-node-id="1101"]::before { background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.30) 55%, rgba(0,0,0,.48) 100%) !important; }
[data-node-id="1101"] h1.em-display, [data-node-id="1101"] .em-hero-text { text-shadow: 0 1px 14px rgba(0,0,0,.7), 0 0 2px rgba(0,0,0,.5); }

/* ===== SOU-004: nadpisy sekcí v béžové (27. 10.) ===== */
.onepage h2 { color: var(--em-sand); }

/* ===== SOU-004: registrace – skrytá past na roboty (pole companymain) ===== */
.customer-registration .maininfo > .form-group:first-child { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ===== Umbraco: přepisy tyrkysových akcentů ze site.css (DEV-4215) ===== */
.top-menu a:hover, .top-menu .current > a { color: #fff !important; }
.dialogwindow .head, .dialogwindow .head .close { color: #fff; }
.dialogwindow .head .close:hover { color: var(--em-sand); }
.video-container .image-before-video { color: #FF0000; } /* ikona YouTube jako na dodaném webu; bílý trojúhelník tvoří ::after v site.css */
