/* Učesání statické kopie webu (makleri-olomouc.cz). Design šablony Sydney zůstává,
   tady jsou jen opravy rozpadlých míst a styly, které po WordPress pluginech chyběly. */

/* --- SiteOrigin widgety (plugin Widgets Bundle už neexistuje, jeho CSS chybí) --- */
.panel-grid-cell { min-width: 0; }
.sow-image-container { display: flex; justify-content: center; }
.sow-image-container img, .so-widget-image { max-width: 100%; height: auto; display: block; }
.siteorigin-widget-tinymce h4 { margin: 0 0 .35em; line-height: 1.35; overflow-wrap: anywhere; }

/* --- mapa místo Google Maps widgetu (bez API klíče) --- */
.site-map { display: block; width: 100%; height: 380px; border: 0; border-radius: 4px; background: #eef1f5; }

/* --- formulář --- */
.site-form input[type="text"], .site-form input[type="email"], .site-form input[type="tel"], .site-form textarea {
  width: 100%; max-width: 560px; }
.site-form textarea { min-height: 150px; }
.site-form input[type="file"] { max-width: 100%; }
.site-form [aria-invalid="true"] { border-color: #e11b22 !important; }
.form-consent { font-size: 14px; color: #6d7685; margin: 6px 0 0; }
.poptavky-stav { margin: 14px 0 0; padding: 12px 14px; border-radius: 4px; font-size: 15px; border: 1px solid transparent; }
.poptavky-ok { background: #ecfdf5; border-color: #6ee7b7; color: #065f46; }
.poptavky-chyba { background: #fff1f2; border-color: #fda4af; color: #9f1239; }
.wpcf7-response-output:empty { display: none; }

/* --- patička --- */
.site-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* --- drobnosti --- */
img { max-width: 100%; }
html, body { overflow-x: hidden; }


/* ===== remax-komfort.cz ===== */
/* menu na jeden řádek: logo nepotřebuje třetinu šířky */
@media (min-width: 992px) {
  .site-header .branding-container { width: 20%; }
  .site-header .menu-container { width: 80%; }
}
/* služby na cihlové zdi: zeď zesvětlit, text ztmavit (byl špatně čitelný) */
#pg-6-2 > .panel-row-style { background-color: rgba(255,255,255,.72) !important; background-blend-mode: screen; }
#pg-6-2 p, #pg-6-2 .siteorigin-widget-tinymce { color: #2d3142; }
/* krátké stránky: pod patičkou žádný bílý pruh */
html { background: #2d3142; }
body { background: #fff; }
/* patička: šablona měla kredit skrytý (schovávala „Powered by WordPress“) — teď je tam náš */
.site-footer .site-info { display: block !important; padding: 12px 0; }
.site-footer .site-info, .site-footer .site-info a { color: #aab0c0; font-size: 13px; }

/* ===== po oponentuře 30. 11. ===== */
/* viditelný nadpis „Náš tým“ (šablona nadpis stránky nezobrazovala) */
.site-page-title { font-size: 34px; margin: 40px 0 24px; }
/* kontakt v patičce, odsazení na mobilu */
.site-footer .site-info { line-height: 1.7; }
.site-contact a, .site-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 767px) {
  .site-footer .site-info { padding-left: 16px; padding-right: 16px; }
  /* ocenění: loga se ořezávala a každé zabíralo celou šířku */
  #pg-6-6 .featured-section { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  #pg-6-6 .featured-section::before, #pg-6-6 .featured-section::after { content: none; }
  #pg-6-6 .featured-section { align-items: start; }
  #pg-6-6 .featured-item, #pg-6-6 .featured-img { height: auto !important; min-height: 0 !important; position: static !important; }
  #pg-6-6 .featured-img img { position: static !important; transform: none !important; }
  #pg-6-6 .featured-item { width: auto !important; float: none !important; margin: 0 !important; min-height: 0 !important; padding: 10px !important; }
  #pg-6-6 .featured-img img { max-height: 120px; width: auto; max-width: 100%; object-fit: contain; display: block; margin: 0 auto; }
  #pg-6-6 .featured-text { display: none; }
  /* dekorativní balonek u formulářů a kontaktu na mobilu menší */
  .image-widget img[src*="REMAX_Balloon"] { max-width: 140px; margin: 0 auto; display: block; }
}
/* selecty ve formuláři odhadu ceny stejně vysoké jako ostatní pole */
.site-form select { min-height: 44px; padding: 6px 10px; border: 1px solid #ddd; border-radius: 3px; background: #fff; max-width: 560px; }
/* kontakt: barva odkazů podle webu, ne výchozí modrá prohlížeče */
.entry-content a[href^="mailto:"], .entry-content a[href^="tel:"] { color: #0054a4; }

/* e-mail v patičce se lámal uprostřed */
.site-contact a { white-space: nowrap; }
.site-footer .site-info { width: 100%; float: none; }
