/* ==========================================================================
   MASINKO-CLEAN THEME — template-specific components
   Desktop rules; mobile overrides live in 06-responsive.css.
   ========================================================================== */

/* ---------- Homepage: hero ---------- */
.mk-hero { background: var(--c-bg-light); position: relative; z-index: 1; overflow: hidden; }
.mk-hero-row {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    position: relative;
}
.mk-hero-copy { margin-top: -15px; }
.mk-h1 {
    font-size: 101px;
    font-weight: var(--fw-extrabold);
    line-height: 1;
    color: var(--c-text);
    margin: 0 0 24px;
}
.mk-lead { font-size: 26px; font-weight: var(--fw-regular); line-height: 1.4; margin: 0 0 32px; max-width: 550px; }
.mk-hero-figure {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-image: url('/images/masinko/circle-skinny.svg');
    background-repeat: no-repeat;
    background-position: 0 50px;
    background-size: 97%;
}
/* Width-driven, not height-driven: the old fixed height:782px + max-width:100%
   + object-fit:contain combination let the box's own aspect ratio drift away
   from the image's real 720:1024 ratio as the grid column narrowed (the box
   height never changed while its width kept shrinking), which is what made
   the mascot appear to float/shrink unevenly during a continuous resize.
   width:100% + height:auto keeps the rendered box locked to the image's own
   ratio at every width, so .mk-hero-figure (no explicit height) naturally
   hugs it and there's nothing left to drift. */
.mk-hero-mascot { position: relative; z-index: 2; display: block; width: 100%; height: auto; }
.mk-phone-badge {
    position: absolute;
    left: -57px;
    top: 113px;
    width: 163px;
    height: 157px;
    border-radius: 50%;
    background: var(--c-accent);
    color: var(--c-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.3;
    z-index: 3;
    animation: mk-tada 1.2s ease 0.3s both;
}
.mk-phone-badge-number { font-weight: var(--fw-extrabold); font-size: 19px; display: block; }
.mk-phone-badge small { font-weight: var(--fw-bold); font-size: 17px; }

/* ---------- Homepage: section rhythm variants ---------- */
.mk-section-appliances { padding: 82px 0 61px; }
.mk-section-kakoradimo { padding: 46px 0 31px; }
.mk-section-contact { padding: 56px 0 168px; }

/* ---------- Homepage: appliance grid ---------- */
.mk-appliance-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 60px;
    column-gap: 20px;
}
.mk-appliance { text-align: center; margin: 0; }
.mk-appliance img { width: 300px; height: 300px; object-fit: fill; display: block; margin: 0 auto; }
.mk-appliance-ploca img { object-fit: contain; }
.mk-appliance figcaption { font-size: 23px; font-weight: var(--fw-semibold); line-height: 1.4; color: var(--c-figcaption); }

/* ---------- Homepage: feature row (image + text, alternating) ---------- */
.mk-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    margin: 0 -24px 48px;
}
.mk-feature.mk-feature-flush { margin-bottom: 126px; }
.mk-feature.mk-reverse { margin-bottom: 138px; }
.mk-feature.mk-reverse .mk-feature-media { order: 2; }
.mk-feature.mk-reverse .mk-feature-text { order: 1; }
.mk-feature-text { display: flex; flex-direction: column; justify-content: center; padding-left: 20px; }
.mk-feature.mk-reverse .mk-feature-text { padding-left: 0; padding-right: 20px; }
.mk-feature-text .mk-btn { align-self: flex-start; }
.mk-feature-media { border-radius: 100px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--c-bg-light); padding: 10px; display: flex; align-items: center; justify-content: center; }
.mk-feature-media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mk-feature-flush .mk-feature-media { padding: 0; }
.mk-feature-flush .mk-feature-media img { object-fit: fill; }
.mk-feature-text .mk-eyebrow { text-align: left; }
.mk-feature-text h3 { font-size: 43px; font-weight: var(--fw-extrabold); line-height: 1.1; color: var(--c-text); margin: 0 0 16px; }
.mk-feature-text p { font-size: 20px; line-height: 2; margin: 0 0 14.4px; }

/* ---------- Homepage: app/contact split section ---------- */
.mk-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}
.mk-split h3 { font-size: 43px; font-weight: var(--fw-extrabold); line-height: 1.1; margin: 0 0 16px; }
.mk-split p { font-size: 18px; line-height: 1.6; margin: 0 0 24px; }
.mk .mk-check-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 20px; }
.mk-check-list li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: var(--fw-regular); }
.mk-check-list .mk-check-icon {
    width: 29px; height: 29px;
    color: var(--c-accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
}

.mk-contact-card {
    background: var(--c-bg-light);
    border-radius: 100px;
    padding: 80px 40px 40px;
    text-align: center;
}
.mk-contact-card h3 { font-size: 43px; font-weight: var(--fw-extrabold); line-height: 1.1; margin: 0 0 20px; }
.mk .mk-contact-meta {
    font-size: 20px;
    font-weight: var(--fw-semibold);
    color: var(--c-accent);
    margin: 0;
}
.mk .mk-contact-hours { font-size: 20px; font-weight: var(--fw-regular); color: var(--c-text); line-height: 1.4; margin: 0 0 20px; }

/* ==========================================================================
   Service / installation page template
   Calibrated against the live approved baseline (masinko.implexum.hr,
   /hladnjaci) via getBoundingClientRect at 390 and 1440px — not carried
   over from the old Elementor markup this replaces.
   ========================================================================== */
.mk-service-header {
    text-align: center;
    padding-top: 97px;
    padding-bottom: 97px;
}
.mk-service-title {
    font-family: var(--font);
    font-weight: var(--fw-bold);
    color: var(--c-text);
    font-size: 43px;
    line-height: 1;
    margin: 0;
    max-width: 1120px;
    margin-inline: auto;
}
.mk-service-divider {
    margin-top: 6px;
    padding-block: 15px;
    text-align: center;
    font-size: 0; /* kills the inline-formatting-context strut an empty
                     inline-block would otherwise reserve at the default
                     font-size/line-height, which was adding 19px of
                     phantom height around the line. */
    max-width: 1120px;
    margin-inline: auto;
}
.mk-service-divider-line { display: inline-block; width: 12%; border-top: 5.1px solid var(--c-accent); }

.mk-service-row {
    max-width: var(--container-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: var(--service-content-width, 56%) var(--service-sidebar-width, 44%);
    align-items: start;
    gap: 0;
}
.mk-service-content { padding: 10px; }
/* Every direct child (heading/paragraph/list) keeps a uniform 20px gap to
   the next one — matches the original widget-by-widget spacing exactly
   (measured: constant ~20px between each block regardless of type), with
   the last child's own margin dropped so it doesn't add to the column's
   own bottom padding. */
.mk-service-content > *, .mk-content-body > * { margin: 0 0 20px; }
.mk-service-content > *:last-child, .mk-content-body > *:last-child { margin-bottom: 0; }
.mk-service-content h2 { font-size: 32px; font-weight: var(--fw-bold); color: var(--c-text); line-height: 1.6; }
/* Same font-size/weight as the service-page H2, but a genuinely different
   line-height (1.0, not 1.6) — measured separately on this page, not
   assumed identical just because it shares the same visual size. */
.mk-content-body h2 { font-size: 32px; font-weight: var(--fw-bold); color: var(--c-text); line-height: 1; }
/* padding-bottom (not margin) is deliberate: on the baseline, each
   text-editor widget's own <p> carries its own margin-bottom:14.4px, which
   the surrounding Elementor widget wrapper traps as literal rendered
   height (confirmed via line-box count: the text itself wraps to the
   identical number of lines as the baseline — only this trailing space
   was missing). Padding reproduces that trapped height directly, instead
   of relying on margin-collapse behavior this flat markup doesn't have. */
.mk-service-content p, .mk-content-body p { font-size: 20px; font-weight: var(--fw-regular); line-height: 2; padding-bottom: 14.4px; }
/* zastita-osobnih-podataka is a genuine outlier: its real <p> measures
   line-height:32px (1.6) on the baseline, while odustajanje-od-usluge
   (same content-header/content-body template, same font-size) measures
   line-height:40px (2) — confirmed on both via computed style, not
   assumed. Scoped to that one page's wrapper rather than unified, since
   the two pages genuinely differ. */
.mk-content-body--lh16 p { line-height: 1.6; }
/* Source was bare text/spans on the baseline, not a real <p> — no widget
   margin to trap, so no trailing space here (see service.blade.php). */
.mk-service-content p.mk-no-trailing-space, .mk-content-body p.mk-no-trailing-space { padding-bottom: 0; }
/* Paragraph + list were one Elementor widget on the baseline — no gap
   between them (the trapped 14.4px padding above still applies, since the
   <p> itself is real; only the extra 20px inter-widget margin is removed). */
.mk-service-content p.mk-glue-next, .mk-content-body p.mk-glue-next { margin-bottom: 0; }
/* margin set explicitly here (not just via the generic ">*" rule above) —
   02-base.css's global ".mk ul{margin:0}" reset has equal specificity and
   would otherwise win by source order. */
.mk-service-content ul, .mk-content-body ul { list-style: disc; padding-left: 40px; margin: 0 0 20px; }
.mk-service-content > ul:last-child, .mk-content-body > ul:last-child { margin-bottom: 0; }
.mk-service-content li, .mk-content-body li { font-size: 20px; line-height: 2; margin-bottom: 0; }

.mk-service-sidebar { background: var(--c-bg-light); border-radius: 100px; padding: 50px 70px; }
.mk-service-sidebar-group h2 { font-size: 32px; font-weight: var(--fw-bold); color: var(--c-text); margin: 0 0 20px; }
.mk-service-sidebar-group ul { display: flex; flex-direction: column; gap: 4px; margin: 0 0 30px; }
.mk-service-sidebar-group:last-child ul { margin-bottom: 0; }
.mk-service-sidebar-group a { font-size: 20px; color: var(--c-text); }
.mk-service-sidebar-group a:hover { color: var(--c-accent); }

.mk-service-cta { padding-block: 87px; }
.mk-service-cta-row {
    max-width: var(--container-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    background: var(--c-bg-light);
    border-radius: 100px;
    overflow: hidden;
}
.mk-service-cta-text { flex: 1 1 50%; padding-left: 50px; }
.mk-service-cta-media { flex: 1 1 50%; }
.mk-service-cta-title { font-family: var(--font); font-weight: var(--fw-extrabold); line-height: 1; color: var(--c-text); font-size: 43px; margin: 0 0 20px 10px; text-align: left; }
.mk-service-cta-body { font-family: var(--font); font-weight: var(--fw-regular); line-height: 2; color: var(--c-text); font-size: 20px; margin: 0 0 34px; text-align: left; }

/* ==========================================================================
   Information page template (kontakt, and other pages sharing this generic
   H1+divider header — a different size than the service-page header:
   1100px content width here vs 1120px there, measured separately).
   ========================================================================== */
.mk-page-header { text-align: center; padding-top: 107px; padding-bottom: 40px; }
/* Used on pages where a breadcrumb line (not the standard body content)
   follows immediately — the baseline shows that content sitting close
   under the divider, not with the standard 40px header padding-bottom. */
.mk-page-header--tight { padding-bottom: 0; }
.mk-page-title { font-family: var(--font); font-weight: var(--fw-bold); color: var(--c-text); font-size: 43px; line-height: 1; margin: 0; max-width: 1100px; margin-inline: auto; }
.mk-page-divider { margin-top: 6px; padding-block: 15px; text-align: center; font-size: 0; max-width: 1100px; margin-inline: auto; }
.mk-page-divider-line { display: inline-block; width: 12%; border-top: 5.1px solid var(--c-accent); }

.mk-page-form-section { padding-bottom: 87px; }
.mk-page-form-wrap { max-width: 983px; margin: 0 auto; padding: 10px; }

.mk-info-split-wrap { background: var(--c-bg-light); }
.mk-info-split { max-width: var(--container-w); margin: 0 auto; display: flex; align-items: center; }
.mk-info-split-media { flex: 0 0 483px; display: flex; align-items: center; justify-content: center; }
.mk-info-split-media img { width: 349px; height: auto; }
.mk-info-split-content { flex: 1; padding-left: 61px; }
.mk-info-split-content h2 { font-family: var(--font); font-weight: var(--fw-bold); color: var(--c-text); font-size: 31px; margin: 0; }
.mk-icon-list { margin: 0; }
.mk-icon-list li { display: flex; align-items: center; gap: 15px; padding-block: 2.5px; }
.mk-icon-circle { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--c-accent); display: flex; align-items: center; justify-content: center; }
.mk-icon-circle svg { width: 26px; height: 26px; }
.mk-icon-list-text { display: flex; flex-direction: column; font-size: 18px; color: var(--c-text); line-height: 1.4; }
.mk-icon-list-text strong { font-size: 20px; font-weight: var(--fw-semibold); }

/* ---------- FAQ / česta pitanja page ---------- */
.mk-page-subtitle { font-family: var(--font); font-weight: var(--fw-regular); font-size: 21px; color: var(--c-text); margin: 5px 0 0; text-align: center; }

.mk-faq-search { padding-bottom: 90px; }
.mk-faq-search-form { max-width: 580px; margin: 0 auto; position: relative; display: flex; align-items: center; border: 1px solid #ccc6c6; border-radius: 124px; background: var(--c-white); height: 57px; }
.mk-faq-search-icon { width: 18px; height: 18px; margin-left: 19px; flex-shrink: 0; }
.mk-faq-search-input { flex: 1; border: 0; background: none; font-family: var(--font); font-size: 18px; color: var(--c-text); padding: 0 19px; height: 55px; }
.mk-faq-search-input:focus { outline: none; }

.mk-faq-quicklinks { max-width: var(--container-w); margin: 0 auto; padding-inline: 24px; }
.mk-faq-quicklinks ul { display: flex; flex-direction: column; gap: 6px; max-width: 594px; margin: 0 auto; }
.mk-faq-quicklinks a { display: flex; align-items: center; gap: 11px; font-size: 20px; font-weight: var(--fw-regular); color: var(--c-text); }
.mk-faq-quicklinks a:hover { color: var(--c-accent); }
.mk-faq-bullet { width: 9px; height: 9px; border-radius: 50%; background: var(--c-text); flex-shrink: 0; }

.mk-faq-spacer { height: 364px; }

.mk-closing-cta { text-align: center; padding-top: 107px; padding-bottom: 97px; }
/* cijena measures a genuine extra 20px here vs cesta-pitanja/lokacije —
   kept as a real per-page difference, not unified away. */
.mk-closing-cta--gap20 { padding-bottom: 117px; }
.mk-closing-cta h2 { font-family: var(--font); font-weight: var(--fw-bold); color: var(--c-text); font-size: 43px; line-height: 1; margin: 0; }
.mk-closing-cta .mk-page-divider { margin-top: 6px; }
.mk-closing-cta .mk-btn { margin-top: 8px; }

/* ---------- Generic long-form content page (cijena, and others sharing
   this pattern) — single full-width column, no sidebar. H1/divider reuse
   the exact same 1120px-wide dimensions as .mk-service-header (verified:
   identical left/top/width on the baseline, a separate widget instance
   but pixel-identical size), so those classes are reused directly rather
   than duplicating the rule. ---------- */
.mk-content-header { text-align: center; padding-top: 97px; padding-bottom: 0; }
.mk-content-body { max-width: var(--container-w); margin: 0 auto; padding: 106px 0 0; }
/* cijena's breadcrumb-to-body gap measures 30px less than vrste-uredaja/
   marka-uredaja's — a different Elementor widget instance, kept as a real
   per-page value rather than unified. */
.mk-content-body--gap76 { padding-top: 76px; }
.mk-content-body--gap130 { padding-top: 130px; }
.mk-content-body--gap153 { padding-top: 153px; }
.mk-content-body img { display: block; max-width: 100%; height: auto; border-radius: 12px; margin: 0 auto 20px; }
.mk-content-body > img:last-child { margin-bottom: 0; }
/* kako-radimo uses the page-header's own 1100px container throughout its
   body (verified: content left/width matches the H1's own container, not
   the generic 1140px content-body), and measures its own breadcrumb-to-
   body gap (117px) — both real per-page values. */
.mk-content-body--w1100 { max-width: 1100px; padding-top: 117px; }
.mk-content-body ol { list-style: decimal; padding-left: 40px; margin: 0 0 20px; }
.mk-content-body > ol:last-child { margin-bottom: 0; }
.mk-content-body ol li { font-size: 20px; line-height: 2; margin-bottom: 0; }
/* Intro/list/outro text that was one bare-text Elementor widget on the
   baseline (no <p> tags) — zero gaps internally, only the block's own
   trailing 20px margin (inherited from the generic child-spacing rule). */
.mk-glued-block p { margin: 0; padding-bottom: 0; }
.mk-glued-block ul { margin: 0; }
.mk-calc-box { max-width: 480px; margin: 0 auto; background: #e8f2ff; border-radius: 12px; padding: 28px 24px; text-align: center; }
.mk-calc-box p { font-size: 16px !important; padding-bottom: 0 !important; }
.mk-calc-box p:first-child { color: #3a6ea5; font-weight: var(--fw-semibold); margin-bottom: 16px !important; }
.mk-calc-box p:nth-child(2) { margin-bottom: 20px !important; }
.mk-calc-box .mk-btn { font-size: 18px; padding: 14px 28px; }

/* ---------- O nama page ---------- */
.mk-content-header--tight { padding-bottom: 0; }
.mk-onama-map { max-width: 1120px; margin: 0 auto; padding: 50px 0 58px; }
.mk-onama-map iframe { width: 100%; height: 300px; border: 0; border-radius: 12px; display: block; }
.mk-onama-intro { max-width: 1120px; margin: 0 auto 97px; font-family: var(--font); font-size: 18px; line-height: 27px; color: var(--c-text); }

/* ---------- Naše usluge page ---------- */
.mk-usluge-intro { max-width: 1100px; margin: 0 auto; padding-inline: 24px; font-family: var(--font); font-size: 20px; line-height: 2; color: var(--c-text); }
.mk-usluge-grid { max-width: var(--container-w); margin: 0 auto; padding: 63px 24px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.mk-usluge-col h2 { font-family: var(--font); font-weight: var(--fw-bold); color: var(--c-text); font-size: 32px; line-height: 1; margin: 0 0 20px; }
.mk-usluge-checklist { display: flex; flex-direction: column; gap: 4px; margin-bottom: 40px; }
.mk-usluge-checklist li { display: flex; align-items: center; gap: 8px; padding-block: 7px; }
.mk-usluge-checklist a, .mk-usluge-checklist span.mk-usluge-item { display: flex; align-items: center; gap: 8px; font-size: 16px; color: var(--c-text); }
.mk-usluge-checklist a:hover { color: var(--c-accent); }
.mk-usluge-check { color: var(--c-accent); font-size: 14px; flex-shrink: 0; width: 14px; }

.mk-usluge-links { max-width: var(--container-w); margin: 0 auto; padding: 50px 24px 87px; }
.mk-usluge-links h2 { font-family: var(--font); font-weight: var(--fw-bold); color: var(--c-text); font-size: 32px; line-height: 1; margin: 0; }
/* Bare-text Elementor widgets on the baseline (no real <p> tag) — no
   trapped margin, just the standard 20px inter-widget gap. */
.mk-usluge-links p { font-family: var(--font); font-size: 20px; line-height: 2; color: var(--c-text); margin: 0 0 20px; }
.mk-usluge-links p:last-child { margin-bottom: 0; }
.mk-usluge-links a { color: var(--c-text); text-decoration: underline; }
.mk-usluge-links a:hover { color: var(--c-accent); }

/* ---------- Lokacije page ---------- */
.mk-breadcrumb { max-width: 1120px; margin: 10px auto 0; padding-inline: 24px; text-align: center; font-size: 20px; line-height: 1; color: var(--c-text); }
.mk-breadcrumb--gap20 { margin-top: 20px; }
.mk-breadcrumb--gap-7 { margin-top: -7px; }
/* page-header (.mk-page-divider) + breadcrumb combo — a new pairing not
   used elsewhere (page-header pages didn't previously have a breadcrumb
   directly under the divider). Measured on zamjena-dijela: divider box
   bottom 305, breadcrumb top 288 → -17px, a bigger overlap than the
   content-header+breadcrumb pairing's -7px (different divider component,
   .mk-page-divider vs .mk-service-divider). */
.mk-breadcrumb--gap-17 { margin-top: -17px; }
.mk-breadcrumb a { color: var(--c-text); }
.mk-breadcrumb a:hover { color: var(--c-accent); }

.mk-map-section { max-width: 1120px; margin: 0 auto; padding-top: 96px; }
.mk-map-section h2 { font-family: var(--font); font-weight: var(--fw-bold); color: var(--c-text); font-size: 32px; line-height: 1; margin: 0 0 20px; }
#svgContainer { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; background: transparent; border: none; overflow: hidden; }
#svgContainer svg { width: 100%; height: auto; display: block; }
#svgContainer path { stroke: #fff; stroke-width: 2; transition: fill .3s; }
#svgContainer path:hover { fill: rgba(0,0,0,.7); cursor: pointer; }
.tooltip { position: absolute; background: rgba(0,0,0,.7); color: var(--c-white); font-family: var(--font); padding: 5px; border-radius: 3px; font-size: 16px; display: none; pointer-events: none; z-index: 1000; }
.legend { font-family: var(--font); font-size: 20px; color: var(--c-text); line-height: 1.5; margin-top: 20px; }
.legend .color-box { display: inline-block; width: 20px; height: 20px; margin-right: 10px; vertical-align: middle; }
.mk-district-intro { font-family: var(--font); font-size: 20px; color: var(--c-text); line-height: 1.6; margin-top: 46px; }
.mk-district-intro ul { list-style: disc; padding-left: 40px; margin: 20px 0 0; }
.mk-district-intro li { font-size: 20px; line-height: 2.3; }

/* ---------- Blog / blog post template ----------
   A genuinely distinct visual family from the rest of the site — confirmed
   via computed style, not assumed from visual similarity: left-aligned
   (not centered), no visible divider under the H1 (real width:0 on the
   baseline — not a bug to patch, a different design), smaller/lighter
   typography (#666/#7a7a7a instead of the site's --c-text), and a
   genuinely different CTA button (green #61ce70 fill + gray text + 5px
   radius, vs the site-wide orange pill .mk-btn — verified by comparing
   this button's computed style against the same "ZAKAŽITE TERMIN" button
   on a service page, which IS the orange pill). Likely an older Elementor
   template that was never restyled to match the rest of the site — kept
   as its own family rather than forced into content-header/page-header. */
.mk-blog-header { max-width: 1120px; margin: 0 auto; padding-top: 10px; }
.mk-blog-title { font-family: var(--font); font-weight: var(--fw-semibold); color: #666; font-size: 40px; line-height: 1; margin: 0; }
.mk-blog-breadcrumb { font-family: var(--font); font-size: 16px; line-height: 24px; color: #7a7a7a; margin: 40px 0 0; }
.mk-blog-breadcrumb a { color: #666; text-decoration: none; }
.mk-blog-breadcrumb a:hover { text-decoration: underline; }

.mk-blog-body { max-width: 1120px; margin: 0 auto; padding-top: 34px; }
.mk-blog-body > * { margin: 0 0 20px; }
.mk-blog-body > *:last-child { margin-bottom: 0; }
.mk-blog-body img.mk-blog-feature-img { display: block; max-width: 800px; width: 100%; height: auto; border-radius: 12px; margin: 0 0 20px; }
.mk-blog-body p { font-size: 16px; line-height: 24px; color: #7a7a7a; padding-bottom: 14.4px; }
.mk-blog-body p.mk-no-trailing-space { padding-bottom: 0; }
.mk-blog-body p.mk-glue-next { margin-bottom: 0; }
/* Intro paragraph + list + trailing paragraphs that were all ONE Elementor
   widget on the baseline (confirmed: internal p-to-p/ul-to-p gaps measure
   exactly 14.4px — just the <p>'s own margin trap — with zero extra
   inter-widget gap between them, unlike the 20px gap between separate
   widgets/sections). This wrapper carries the outer 20px gap itself; its
   children get no margin of their own. */
.mk-blog-group > * { margin: 0; }
.mk-blog-body .mk-blog-group > ul { margin: 0; }
.mk-blog-body em { font-style: italic; }
.mk-blog-body h2 { font-family: var(--font); font-weight: 600; color: #666; font-size: 32px; line-height: 1; margin: 0 0 20px; }
.mk-blog-body ul { list-style: none; padding-left: 0; margin: 0 0 20px; }
.mk-blog-body li { font-size: 16px; line-height: 24px; color: #5e5e5e; }
.mk-blog-body a { color: #666; }

.mk-blog-cta { max-width: 1120px; margin: 0 auto; padding: 30px 0 60px; text-align: center; }
.mk-blog-cta-title { font-family: var(--font); font-weight: 600; color: #666; font-size: 32px; line-height: 1; margin: 0 0 20px; }
.mk-blog-btn {
    display: inline-block;
    font-family: var(--font);
    font-size: 15px;
    font-weight: var(--fw-semibold);
    letter-spacing: .02em;
    color: #666;
    background: #61ce70;
    padding: 20px 40px;
    border-radius: 5px;
    line-height: 1;
    text-decoration: none;
    transition: transform .3s ease-out;
}
.mk-blog-btn:hover { transform: translateY(-4px); }

/* ---------- Blog listing (/blog) ---------- */
.mk-blog-list-header { max-width: 1120px; margin: 0 auto; padding-top: 10px; }
.mk-blog-list-subtitle { font-family: var(--font); font-size: 16px; line-height: 24px; color: #7a7a7a; margin: 40px 0 0; }
.mk-blog-list { max-width: 1120px; margin: 0 auto; padding-top: 34px; }
.mk-blog-list-item { margin: 0 0 40px; }
.mk-blog-list .mk-blog-list-item img { display: block; max-width: 640px; width: 100%; height: auto; border-radius: 12px; margin: 0 0 20px; }
.mk-blog-list-item h2 { font-family: var(--font); font-weight: 600; color: #666; font-size: 32px; line-height: 1; margin: 0 0 14px; }
.mk-blog-list-item h2 a { color: #666; text-decoration: none; }
.mk-blog-list-item h2 a:hover { text-decoration: underline; }
.mk-blog-list-item p { font-size: 16px; line-height: 24px; color: #7a7a7a; margin: 0; }
.mk-blog-list-item p a { color: #666; }

/* ---------- Booking shell (/rezerviraj-termin) ----------
   Functional application view, not a scraped WordPress page — no baseline
   to pixel-match. Ported from the old cross-tenant components/layout.blade
   (inline styles + legacy masinko.css) into this theme's own tokens/
   components, so it shares real visual continuity with the marketing
   pages that link to it, while the underlying Blade structure (service
   list, sidebar) and booking.show route stay untouched. */
.mk-booking-shell { max-width: 1100px; margin: 0 auto; padding: 40px 24px 80px; display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.mk-booking-lead { font-size: 18px; color: var(--c-text); margin: 0 0 20px; }
.mk-booking-services { display: flex; flex-direction: column; gap: 14px; }
.mk-booking-service-card {
    display: block; background: var(--c-white); border: 1px solid #e6eefc; border-radius: 14px;
    padding: 20px 24px; text-decoration: none; color: var(--c-text);
    box-shadow: 0 2px 10px rgba(113,150,206,.08); transition: box-shadow .2s, transform .2s;
}
.mk-booking-service-card:hover { box-shadow: 0 6px 18px rgba(113,150,206,.16); transform: translateY(-2px); }
.mk-booking-service-card strong { display: block; font-size: 20px; font-weight: var(--fw-semibold); color: var(--c-text); margin-bottom: 4px; }
.mk-booking-service-meta { color: #8a8a8a; font-size: 15px; }
.mk-booking-service-duration { color: #8a8a8a; font-size: 13.5px; margin-top: 6px; }
.mk-booking-service-card--empty { color: #8a8a8a; }
.mk-booking-info h2 { font-size: 22px; font-weight: var(--fw-bold); color: var(--c-text); margin: 0 0 20px; }
.mk-booking-info-card { display: block; text-decoration: none; color: var(--c-text); padding: 12px 0; border-bottom: 1px solid #e6eefc; }
.mk-booking-info-card strong { display: block; font-size: 16px; font-weight: var(--fw-bold); margin-bottom: 2px; }
.mk-booking-info-card span { font-size: 13.5px; color: #8a8a8a; }
.mk-booking-info-card:hover strong { color: var(--c-accent); }
.mk-booking-contact { margin-top: 20px; font-size: 15px; color: var(--c-text); }

/* ---------- Booking wizard (/rezervacije/{service}) ----------
   The step-1/step-2 partials (booking/_resource_picker,
   _repair_fields, _install_fields, _guest_details, _company_fields,
   _terms_checkbox, _terms_text) are reused byte-for-byte — same field
   names/ids/JS behavior the booking.store route and SlotFinder/
   AddressLocator depend on. They render bare <label>/<input>/<select>/
   <textarea> with no classes (previously styled by the old layout's
   unscoped global CSS), so this theme styles those same bare elements
   scoped under .mk-booking-form instead of touching the partials. */
.mk-booking-card {
    background: var(--c-white); border: 1px solid #e6eefc; border-radius: 14px;
    padding: 24px; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(113,150,206,.08);
}
.mk-booking-card h1 { font-size: 22px; font-weight: var(--fw-bold); color: var(--c-text); margin: 0 0 6px; }
.mk-booking-card-meta { color: #8a8a8a; font-size: 14px; margin: 0; }
.mk-booking-form label { display: block; font-family: var(--font); font-size: 14px; font-weight: var(--fw-semibold); color: var(--c-text); margin-bottom: 6px; }
.mk-booking-form input[type=text],
.mk-booking-form input[type=email],
.mk-booking-form input[type=tel],
.mk-booking-form input[type=number],
.mk-booking-form select,
.mk-booking-form textarea {
    display: block; width: 100%; font-family: var(--font); font-size: 15px; color: var(--c-text);
    padding: 12px 14px; border: 1px solid #dce6f5; border-radius: 8px; background: var(--c-white);
    margin-bottom: 20px;
}
.mk-booking-form textarea { resize: vertical; }
.mk-booking-form input:focus, .mk-booking-form select:focus, .mk-booking-form textarea:focus {
    outline: 2px solid var(--c-accent); outline-offset: 1px; border-color: var(--c-accent);
}
.mk-booking-form input[type=checkbox] { width: auto; margin-bottom: 0; accent-color: var(--c-accent); }
.mk-booking-form dialog { font-family: var(--font); color: var(--c-text); }
.mk-booking-form dialog::backdrop { background: rgba(31,42,46,.5); }
.mk-booking-day { font-weight: var(--fw-semibold); color: var(--c-text); margin-bottom: 8px; }
.mk-booking-day + .mk-booking-day { margin-top: 14px; }
.slot-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.slot-btn {
    font-family: var(--font); padding: 8px 16px; border: 1px solid #dce6f5; border-radius: 100px;
    background: var(--c-white); color: var(--c-text); cursor: pointer; font-size: 14px;
}
.slot-btn.selected { background: var(--c-cta); color: var(--c-white); border-color: var(--c-cta); }
.mk-booking-step-actions { display: flex; gap: 10px; }
.mk-booking-btn-secondary {
    font-family: var(--font); background: var(--c-white); color: var(--c-text); border: 1px solid #dce6f5;
    padding: 14px 28px; border-radius: 100px; font-size: 16px; font-weight: var(--fw-semibold); cursor: pointer;
}
.mk-booking-status {
    background: var(--c-bg-panel); color: var(--c-text); border-radius: 8px; padding: 10px 14px;
    margin-bottom: 16px; font-size: 13.5px;
}
.mk-booking-status a { color: var(--c-accent); font-weight: var(--fw-semibold); }
