/* Corrective styling for the real Gutenberg render. Author: ropko.online. */
/* Navigation: normal links are black; only active destination is blue. */
body.mp-site .mp-site-header .mp-menu li > a,
body.mp-site .mp-site-header .mp-menu li.menu-item > a {color:#161616!important;}
body.mp-site .mp-site-header .mp-menu li.current-menu-item > a,
body.mp-site .mp-site-header .mp-menu li.current_page_item > a,
body.mp-site .mp-site-header .mp-menu li.current-menu-ancestor > a,
body.mp-site .mp-site-header .mp-menu li.current_page_ancestor > a {color:#1840da!important;}
body.mp-site .mp-site-header .mp-menu li > a:hover,
body.mp-site .mp-site-header .mp-menu li > a:focus-visible {color:#1840da!important;}

/* Miniature special offer: target the actual content column, not a particular
   Gutenberg group nesting depth. The original background is blue. */
body.mp-site .mp-hero .mp-home-special-text h3,
body.mp-site .mp-hero .mp-home-special-text .wp-block-heading:is(h3) {
  color:#e02b20!important;font-size:20px!important;font-weight:700!important;
  text-decoration:underline!important;line-height:1.25!important;
}
body.mp-site .mp-hero .mp-home-special-text h4,
body.mp-site .mp-hero .mp-home-special-text .wp-block-heading:is(h4) {
  color:#fff!important;font-size:23px!important;font-weight:700!important;
  text-decoration:none!important;line-height:1.15!important;
}
body.mp-site .mp-hero .mp-home-special-text p,
body.mp-site .mp-hero .mp-home-special-text p span,
body.mp-site .mp-hero .mp-home-special-text .wp-block-paragraph {color:#fff!important;}
body.mp-site .mp-hero .mp-home-special-text .wp-block-button__link {color:#fff!important;}
body.mp-site .mp-hero .mp-home-special-text .wp-block-button__link:hover {color:#1840da!important;}

/* Cards overlap the hero's lower edge, as in the original Divi layout. */
@media (min-width:981px) {
  body.mp-site .mp-benefits .mp-home-four-up {
    position:relative!important;z-index:2!important;
    transform:translateY(-54px)!important;
    margin-bottom:-54px!important;
    align-items:stretch!important;
  }
  body.mp-site .mp-benefits .mp-feature-card {min-height:260px!important;}
}
@media (min-width:731px) and (max-width:980px) {
  body.mp-site .mp-benefits .mp-home-four-up {
    position:relative!important;z-index:2!important;
    transform:translateY(-28px)!important;margin-bottom:-28px!important;
  }
}

/* The original special-offer hover uses the Divi chevron, not a text glyph.
   Draw it with CSS edges for consistent weight and shape across browsers. */
body.mp-site .mp-page-specialna-ponuka .wp-block-button__link::after {
  content:''!important;width:13px!important;height:13px!important;
  border-top:3px solid currentColor!important;border-right:3px solid currentColor!important;
  border-bottom:0!important;border-left:0!important;
  border-radius:1px!important;position:absolute!important;
  top:50%!important;right:17px!important;
  margin:0!important;color:#1840da!important;
  transform:translate(-7px,-50%) rotate(45deg)!important;
  opacity:0!important;transition:opacity .22s ease,transform .22s ease!important;
}
body.mp-site .mp-page-specialna-ponuka .wp-block-button__link:hover,
body.mp-site .mp-page-specialna-ponuka .wp-block-button__link:focus-visible {
  background:#ededed!important;border-color:transparent!important;
  padding-right:44px!important;color:#1840da!important;
}
body.mp-site .mp-page-specialna-ponuka .wp-block-button__link:hover::after,
body.mp-site .mp-page-specialna-ponuka .wp-block-button__link:focus-visible::after {
  opacity:1!important;transform:translate(0,-50%) rotate(45deg)!important;
}

/* Contact form is a central, full-width module, not the 610px v1.5 inset. */
body.mp-site .mp-contact-light-v15 > .mp-container {width:min(88%,1140px)!important;max-width:1140px!important;}
body.mp-site .mp-contact-grid-v15 {max-width:800px!important;gap:22px 30px!important;}
body.mp-site .mp-contact-form-v15 {max-width:800px!important;width:100%!important;}
body.mp-site .mp-contact-form-v15 .mp-form-shell,
body.mp-site .mp-contact-form-v15 .wp-block-shortcode,
body.mp-site .mp-contact-form-v15 .mp-contact-form {max-width:none!important;width:100%!important;min-width:0!important;}
@media (max-width:700px) {
  body.mp-site .mp-contact-light-v15 > .mp-container {width:90%!important;}
  body.mp-site .mp-contact-grid-v15 {max-width:520px!important;gap:15px!important;}
}
@media (prefers-reduced-motion:reduce) {
  body.mp-site .mp-page-specialna-ponuka .wp-block-button__link,
  body.mp-site .mp-page-specialna-ponuka .wp-block-button__link::after {transition:none!important;}
}
