/* Operák24 - Hero sekce | Autor: Milan Maček | DOXY.cz | https://doxy.cz */
.op24-homepage-hero,
.op24-homepage-hero * { box-sizing: border-box; }
.op24-homepage-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: #101d43;
  background-color: var(--op24h-bg-color, #f2f8ff);
  background-image: var(--op24h-bg, linear-gradient(115deg,#fff,#dceeff));
  background-position: var(--op24h-bg-position, center center);
  background-repeat: no-repeat;
  background-size: cover;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.op24-hero__inner {
  width: min(100% - 96px, 1400px);
  min-height: clamp(345px, 33vw, 510px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 50%) minmax(0, 50%);
  align-items: stretch;
  gap: 0;
}
.op24-hero__content {
  position: relative;
  z-index: 3;
  min-width: 0;
  padding-block: clamp(34px, 3.8vw, 66px) clamp(52px, 4.5vw, 75px);
  padding-right: clamp(22px, 3vw, 62px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.op24-hero__heading {
  margin: 0 0 clamp(15px, 1.6vw, 24px) !important;
  padding: 0 !important;
  border: 0 !important;
  color: #0c173d;
  font-size: clamp(27px, 2.7vw, 46px);
  font-weight: 750;
  line-height: 1.21;
  letter-spacing: -.038em;
}
.op24-hero__heading span { display: block; }
.op24-hero__heading .op24-hero__heading-second { color: #0766dd; }
.op24-hero__intro {
  max-width: 510px;
  margin: 0 0 clamp(17px, 1.7vw, 25px) !important;
  color: #16213e;
  font-size: clamp(12px, 1.03vw, 15px);
  font-weight: 450;
  line-height: 1.6;
}
.op24-hero__benefits {
  display: grid;
  gap: 8px;
  padding: 0 !important;
  margin: 0 0 clamp(20px, 2vw, 30px) !important;
  list-style: none !important;
}
.op24-hero__benefits li {
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #12213d;
  font-size: clamp(11px, .98vw, 14px);
  font-weight: 500;
  line-height: 1.45;
  list-style: none !important;
}
.op24-hero__benefits li::before { display: none !important; }
.op24-hero__check {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 1px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #0766dd;
}
.op24-hero__check svg { display: block; width: 11px; height: 11px; }
.op24-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.op24-hero__button,
.op24-hero__button:visited {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 23px;
  border: 2px solid #0766dd;
  border-radius: 7px;
  font-family: inherit;
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.2;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.op24-hero__button--primary,
.op24-hero__button--primary:visited { color: #fff; background: #0766dd; box-shadow: 0 3px 7px rgba(0,81,181,.12); }
.op24-hero__button--secondary,
.op24-hero__button--secondary:visited { color: #0766dd; background: rgba(255,255,255,.92); }
.op24-hero__button--primary:hover { background: #0053be; border-color: #0053be; color: #fff; transform: none; }
.op24-hero__button--secondary:hover { background: #e8f2ff; color: #0053be; }
/* Theme rules must not underline or move CTA anchors in any interaction state. */
.op24-homepage-hero .op24-hero__button,
.op24-homepage-hero .op24-hero__button:hover,
.op24-homepage-hero .op24-hero__button:focus,
.op24-homepage-hero .op24-hero__button:active,
.op24-homepage-hero .op24-hero__button:visited {
  text-decoration: none !important;
  transform: none !important;
  translate: none !important;
  top: auto !important;
  margin: 0;
}
.op24-homepage-hero .op24-hero__button span { text-decoration: none !important; }

.op24-hero__button:focus-visible,
.op24-hero__offer-link:focus-visible { outline: 3px solid #0c173d; outline-offset: 3px; }
.op24-hero__button .op24-hero__uicon { display:inline-flex; align-items:center; justify-content:center; width: 18px; height: 18px; flex: 0 0 18px; }
.op24-hero__button .op24-hero__uicon svg { display:block; width:100%; height:100%; }
.op24-hero__offer-price .op24-hero__price-query { color: #152348; font-size: 17px; }
.op24-hero__visual { position: relative; min-width: 0; min-height: 100%; }
.op24-hero__car {
  position: absolute;
  z-index: 1;
  inset: auto auto clamp(8px, 1.6vw, 27px) 0;
  width: var(--op24h-photo-width, 100%);
  max-width: none;
  transform: translate(var(--op24h-photo-x, 0px), var(--op24h-photo-y, 0px));
}
.op24-hero__picture { display: block; width: 100%; }
.op24-hero__car-photo {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: clamp(225px, 26vw, 370px);
  max-width: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center bottom;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.op24-hero__offer {
  position: absolute;
  z-index: 2;
  top: clamp(18px, 1.8vw, 38px);
  right: 0;
  width: min(310px, 58%);
  padding: clamp(13px, 1.35vw, 21px);
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(232,238,248,.9);
  border-radius: 13px;
  box-shadow: 0 8px 24px rgba(31,58,103,.14);
  overflow-wrap: anywhere;
}
.op24-hero__offer-badge {
  display: inline-block;
  margin: 0 0 8px;
  padding: 5px 8px;
  border-radius: 3px;
  color: #fff;
  background: #0766dd;
  font-size: clamp(9px, .7vw, 11px);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -.005em;
  text-transform: uppercase;
}
.op24-hero__offer-brand { margin: 0 0 2px; font-size: 12px; font-weight: 600; }
.op24-hero__offer-title {
  margin: 0 0 7px !important;
  padding: 0 !important;
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.3;
  font-weight: 750;
  letter-spacing: -.025em;
  color: #101c40;
}
.op24-hero__offer-engine { margin: 0 0 5px !important; color: #53617b; font-size: 12px; line-height: 1.35; }
.op24-hero__offer-price { display: flex; gap: 4px; align-items: baseline; flex-wrap: wrap; margin: 0 0 4px; }
.op24-hero__offer-prefix { color: #0b1534; font-size: 13px; font-weight: 700; }
.op24-hero__offer-price strong { color: #0766dd; font-size: clamp(20px, 2vw, 31px); line-height: 1.14; font-weight: 800; letter-spacing: -.025em; white-space: nowrap; }
.op24-hero__offer-suffix { color: #0b1534; font-size: 12px; font-weight: 700; }
.op24-hero__offer-note { margin: 0 0 6px !important; color: #46526c; font-size: clamp(10px, .82vw, 12px); line-height: 1.5; }
.op24-hero__offer-link { display: inline-flex; gap: 5px; align-items: center; margin-top: 4px; color: #0766dd; font-size: 12px; font-weight: 700; text-decoration: none; }
.op24-hero__offer-link:hover { color: #0052ba; text-decoration: underline; }
@media (min-width: 768px) and (max-width: 1099px) {
  .op24-hero__inner { width: min(100% - 52px, 1400px); grid-template-columns: minmax(0, 53%) minmax(0, 47%); }
  .op24-hero__content { padding-right: 18px; }
  .op24-hero__offer { width: min(235px, 68%); padding: 12px; }
  .op24-hero__offer-price strong { font-size: 23px; }
  .op24-hero__car-photo { max-height: 250px; }
  .op24-hero__button { min-height: 42px; padding: 10px 16px; }
  .op24-hero__heading { font-size: clamp(25px, 3.2vw, 35px); }
}
@media (max-width: 767px) {
  .op24-homepage-hero { background-image: var(--op24h-mobile-bg, var(--op24h-bg)); background-position: var(--op24h-mobile-bg-position, var(--op24h-bg-position, center center)); }
  .op24-hero__inner { display: block; width: min(100% - 36px, 540px); min-height: 0; }
  .op24-hero__content { padding: 40px 0 43px; }
  .op24-hero__heading { margin-bottom: 18px !important; font-size: clamp(27px, 6.6vw, 35px); line-height: 1.18; }
  .op24-hero__intro { max-width: 100%; font-size: 13px; margin-bottom: 20px !important; }
  .op24-hero__benefits { margin-bottom: 23px !important; gap: 9px; }
  .op24-hero__benefits li { font-size: 13px; }
  .op24-hero__actions { width: 100%; gap: 10px; }
  .op24-hero__button { min-height: 47px; font-size: 13px; padding: 11px 15px; }
  .op24-hero__visual { display: none !important; }
}
@media (max-width: 480px) {
  .op24-hero__actions { flex-direction: column; align-items: stretch; }
  .op24-hero__button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .op24-hero__button { transition: none; }
}
