/* Seznam Zprávy ribbon — full offline replacement */
:root {
  --ribbon-height: 56px;
  --ribbon-bg: #fff5f5;
  --ribbon-border: #f0c8c8;
  --ribbon-accent: #cc0000;
  --ribbon-text: #382c2c;
  --ribbon-menu-primary-color: #a05d5d;
  --ribbon-search-button-color: #a05d5d;
  --ribbon-search-button-hover-color: #704141;
}

/* ── ogm-ribbon wrapper (sticky, reserves height) ── */
.ogm-ribbon {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--ribbon-height);
}
.ribbon_wrapper {
  position: relative;
}

/* ── TOP RIBBON BAR ── */
.ribbon {
  display: flex;
  align-items: center;
  background: var(--ribbon-bg);
  border-bottom: 1px solid var(--ribbon-border);
  box-sizing: border-box;
  height: var(--ribbon-height);
  padding: 0 16px;
  position: relative;
  width: 100%;
}

.ribbon__start {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
}
.ribbon__center {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  min-width: 0;
}
.ribbon__end {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
}

/* ── HAMBURGER ── */
.ribbon-button {
  display: flex;
  align-items: center;
}
.ribbon-button__button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--ribbon-text);
  cursor: pointer;
  height: 40px;
  width: 40px;
  padding: 8px;
  border-radius: 4px;
  transition: background .15s;
}
.ribbon-button__button:hover {
  background: rgba(160,93,93,.12);
}
.ribbon-icon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}
.ribbon-icon__menu {
  width: 0.875rem;
  height: 0.875rem;
}

/* ── LOGO (top ribbon — small icon + text) ── */
.ribbon-service {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ribbon-text);
}
.ribbon-service__icon {
  display: block;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.ribbon-service__icon-label {
  display: none; /* visually hidden, present for screen readers */
}
.ribbon-service__logo {
  display: block;
  height: 24px;
  width: auto;
}

/* ── SEARCH BAR ── */
.ribbon-search {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 480px;
}
.ribbon-search__bar {
  display: flex;
  width: 100%;
  align-items: center;
}
.ribbon-search-desktop {
  display: flex;
  flex: 1;
  position: relative;
}
.ribbon-search-desktop input {
  flex: 1;
  height: 36px;
  border: 1px solid var(--ribbon-border);
  border-radius: 18px 0 0 18px;
  padding: 0 16px;
  font-size: .875rem;
  color: var(--ribbon-text);
  background: #fff;
  outline: none;
  box-sizing: border-box;
  width: 100%;
  font-family: Arial,sans-serif;
}
.ribbon-search-desktop input:focus {
  border-color: var(--ribbon-menu-primary-color);
}
.ribbon-search-desktop__suggest {
  display: none;
}
.ribbon-search-desktop__clear {
  display: none;
}
.ribbon-search-desktop__submit .ribbon-button__button {
  background: var(--ribbon-menu-primary-color);
  color: #fff;
  border-radius: 0 18px 18px 0;
  width: 40px;
  height: 36px;
  flex-shrink: 0;
}
.ribbon-search-desktop__submit .ribbon-button__button:hover {
  background: var(--ribbon-search-button-hover-color);
}
.ribbon-search-desktop__icon-search {
  width: 1rem;
  height: 1rem;
}

/* ── SEZNAM LINK (right) ── */
.ribbon-seznam {
  display: flex;
  align-items: center;
}
.ribbon-seznam__link {
  font-family: Arial,sans-serif;
  font-size: .75rem;
  color: var(--ribbon-text);
  text-decoration: none;
  white-space: nowrap;
}
.ribbon-seznam__link:hover {
  color: var(--ribbon-accent);
}

/* ── MOBILE MENU OVERLAY ── */
.ribbon-menu {
  position: fixed;
  inset: 0;
  background: var(--ribbon-bg);
  z-index: 2000;
  overflow-y: auto;
}
.ribbon-menu--hidden {
  display: none !important;
}
.ribbon-menu__content {
  padding: 8px 0 24px;
}
.ribbon-menu__content--hidden {
  display: none;
}
.ribbon--blind {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 14px 24px;
  color: var(--ribbon-text);
  font-family: Arial,sans-serif;
}
.ribbon-menu__primary {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ribbon-menu__item {
  border-bottom: 1px solid var(--ribbon-border);
}
.ribbon-menu__link {
  display: block;
  padding: 14px 24px;
  color: var(--ribbon-text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  font-family: Arial,sans-serif;
}
.ribbon-menu__link:hover {
  color: var(--ribbon-accent);
  background: rgba(204,0,0,.04);
}

/* ── DESKTOP NAV BAR (below ribbon) ── */
._62c69082e3d01407c9e2074d {
  background: var(--ribbon-bg);
  border-bottom: 1px solid var(--ribbon-border);
  position: sticky;
  top: var(--ribbon-height);
  z-index: 999;
}

.c_kR {
  display: flex;
  flex-flow: column;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 3;
  font-family: 'Montserrat',Arial,sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.c_k1 {
  display: flex;
  flex-flow: column;
  align-items: center;
  width: 100%;
}

.c_k- {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  position: relative;
}

/* Logo column in desktop nav */
.c_k2 {
  display: flex;
  align-items: center;
  width: 34%;
  max-width: 304px;
  flex-shrink: 0;
}
.f_ho.ogm-desktop-menu__logo--desktop {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 8px 0;
  height: 45px;
  box-sizing: border-box;
}
.atm-icon__logo {
  height: 32px;
  width: auto;
  display: block;
}

/* Nav list shared */
.c_kW {
  display: flex;
  flex-grow: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

/* Top row right-aligned nav (c_kZ) */
.c_kZ {
  flex-grow: 0;
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
}
.c_kZ .c_kT .e_n {
  line-height: 2.8125rem;
}

/* Bottom row nav (c_kX) */
.c_k0 {
  border-top: 1px solid var(--ribbon-border);
  height: 4rem;
  overflow: hidden;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}
.c_kX {
  flex-wrap: nowrap;
  height: 100%;
}
.c_kX .c_kT {
  height: 100%;
  display: flex;
  align-items: center;
}
.c_kX .c_kT .e_n {
  line-height: 3.875rem;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Nav item */
.c_kT {
  list-style: none;
  display: flex;
  align-items: center;
}
.c_kT .e_n {
  display: inline-flex;
  align-items: center;
  color: var(--ribbon-text);
  text-decoration: none;
  font-size: .75rem;
  padding: 0 .8rem;
  height: 100%;
  white-space: nowrap;
  position: relative;
}
.c_kT:first-child .e_n { padding-left: 0; }
.c_kT:last-child .e_n { padding-right: 0; }
.c_kT .e_n:hover,
.c_kT .e_n:focus {
  color: var(--ribbon-search-button-hover-color);
}

/* Active underline indicator */
.c_kY {
  display: inline-block;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.c_kX .c_kU .c_kY::after,
.c_kX .e_n:hover .c_kY::after,
.c_kX .e_n:focus .c_kY::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #a05d5d;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .ribbon-search { display: none !important; }
  .ribbon-seznam { display: none !important; }
}
@media (max-width: 600px) {
  .ribbon-service { max-width: 150px; }
  .ribbon-service__logo { height: 20px; }
}
@media (max-width: 620px) {
  ._62c69082e3d01407c9e2074d { display: none; }
}
@media (max-width: 1080px) {
  ._62c69082e3d01407c9e2074d .c_kZ .c_kT:nth-child(7) { display: none; }
}
@media (max-width: 940px) {
  ._62c69082e3d01407c9e2074d .c_kZ .c_kT:nth-child(6) { display: none; }
}
@media (max-width: 830px) {
  ._62c69082e3d01407c9e2074d .c_kZ .c_kT:nth-child(5) { display: none; }
}
@media (max-width: 680px) {
  ._62c69082e3d01407c9e2074d .c_kZ .c_kT:nth-child(4) { display: none; }
}
