#main {
  padding-top: 0rem;
}

.container--article h1+p,.container--article .h1+p {
  margin-top: clamp(1rem, 3vw, 2rem);
}

/* Posuneme celé logo a menu nižší, aby tlačítka nahoře nic nepřekrývala */
header, .header, #header {
  padding-top: 45px !important;
}

/* Kontejner tlačítek na střed s přesným odstupem */
#contactus {
  position: absolute !important;
  top: 8px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  right: auto !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0 !important;
  width: max-content !important;
  z-index: 999 !important;
}

/* Společný základ pro obě tlačítka */
#contactus a, 
#contactus span {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #0056b3 !important;
  background-color: #eaf3ff !important;
  border: 1.5px solid #0056b3 !important;
  border-radius: 20px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 4px rgba(0,86,179,0.15) !important;
  padding: 6px 14px !important;
  min-width: 135px !important;
  box-sizing: border-box !important;
}

/* Tlačítko TELEFONU */
#contactus a:first-of-type,
#contactus span:first-of-type {
  word-spacing: 2px !important;
}

/* Tmavé sluchátko u telefonu */
#contactus a:first-of-type::before,
#contactus span:first-of-type::before {
  content: "" !important;
  display: inline-block !important;
  width: 14px !important;
  height: 14px !important;
  margin-right: 6px !important;
  background-color: #002b5c !important;
  filter: drop-shadow(0.3px 0.3px 0px #002b5c) !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.01 15.38c-1.23 0-2.42-.2-3.53-.56a.977.977 0 00-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-0.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-0.99-.99z'/%3E%3C/svg%3E") no-repeat center / contain !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.01 15.38c-1.23 0-2.42-.2-3.53-.56a.977.977 0 00-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-0.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-0.99-.99z'/%3E%3C/svg%3E") no-repeat center / contain !important;
}

/* Tlačítko E-MAILU - Skrytí staré adresy */
#contactus a:nth-of-type(2),
#contactus span:nth-of-type(2) {
  font-size: 0 !important;
}

/* TMAVÁ OBÁLKA S KONTRASTNÍMI VÝŘEZY */
#contactus a:nth-of-type(2)::before,
#contactus span:nth-of-type(2)::before {
  content: "" !important;
  display: inline-block !important;
  width: 15px !important;
  height: 15px !important;
  margin-right: 6px !important;
  background-color: #002b5c !important; /* Tmavě modro-šedá výplň obálky */
  filter: drop-shadow(0.3px 0.3px 0px #002b5c) !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E") no-repeat center / contain !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E") no-repeat center / contain !important;
}

/* Nový text "Napsat e-mail" */
#contactus a:nth-of-type(2)::after,
#contactus span:nth-of-type(2)::after {
  content: "Napsat e-mail" !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #0056b3 !important;
}

/* Zrušení obří mezery mezi hlavičkou a hlavním obsahem */
#content, .content, #main, .main-content, #main-in, .content-in {
  padding-top: 0px !important;
  margin-top: 0px !important;
}

/* Posun samotné první karty o něco výše k logu */
#content section:first-child, .content section:first-child, article:first-child {
  margin-top: -15px !important;
}
/* Sjednocení vnitřního odsazení a rozšíření karet */
#content div[style*="border-radius"], 
.content div[style*="border-radius"] {
  padding: 12px 14px !important;
}
/* =================================================== */
/* ÚPRAVA POUZE SPODNÍHO KONTAKTNÍHO BLOKU (NAD PATIČKOU) */
/* =================================================== */

/* 1. Barva textu a odkazů (Královská modrá) */
.footer-contacts, 
.pre-footer, 
#footer-contact, 
.footer-contacts a, 
.pre-footer a, 
#footer-contact a {
    color: #0056b3 !important; /* Sytá královská modrá */
    font-weight: 500 !important;
}

/* 2. Barva ikonek (Tmavě šedá z loga #4D4D4D) */
.footer-contacts i, 
.pre-footer i, 
#footer-contact i,
.footer-contacts .icon, 
.pre-footer .icon, 
#footer-contact .icon,
.footer-contacts svg, 
.pre-footer svg, 
#footer-contact svg {
    color: #4D4D4D !important; /* Tmavě šedá z loga */
    fill: #4D4D4D !important;  /* Pro SVG ikonky */
    opacity: 1 !important;     /* Odstraní případné průhlednosti/bledost */
}