/* Dr. Dimitrovi (EMADENT) – brand layer on top of Astra. Colours taken from the old site's front.min.css. */

@font-face { font-family: "Roboto"; font-weight: 100; font-display: swap; src: url(../fonts/roboto-cyrillic-100-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto"; font-weight: 300; font-display: swap; src: url(../fonts/roboto-cyrillic-300-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto"; font-weight: 400; font-display: swap; src: url(../fonts/roboto-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto"; font-weight: 500; font-display: swap; src: url(../fonts/roboto-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto"; font-weight: 700; font-display: swap; src: url(../fonts/roboto-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto"; font-weight: 100; font-display: swap; src: url(../fonts/roboto-latin-100-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-weight: 300; font-display: swap; src: url(../fonts/roboto-latin-300-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-weight: 400; font-display: swap; src: url(../fonts/roboto-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-weight: 500; font-display: swap; src: url(../fonts/roboto-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-weight: 700; font-display: swap; src: url(../fonts/roboto-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --dd-teal: #345d5a;
    --dd-bronze: #b6814f;
    --dd-coral: #ed735a;
    --dd-coral-dark: #d95f47;
    --dd-peach: #fcbb9d;
    --dd-text: #696969;
    --dd-heading: #454545;
    --dd-muted: #969696;
    --dd-line: #e5e5e5;
    --dd-dark: #464646;
    --dd-font: "Roboto", "Helvetica Neue", Arial, sans-serif;
    --dd-wrap: 1170px;
}

body, button, input, select, textarea { font-family: var(--dd-font); }
body { color: var(--dd-text); font-size: 16px; line-height: 1.65; background: #fff; }
h1, h2, h3, h4, h5, h6, .entry-title { font-family: var(--dd-font); color: var(--dd-heading); line-height: 1.25; }
a { color: var(--dd-teal); }
a:hover, a:focus { color: var(--dd-coral); }

/* ---------- Header ---------- */
.dd-header { background: #fff; position: relative; z-index: 50; }
.dd-header__brand { display: flex; justify-content: center; align-items: center; padding: 22px 16px 18px; border-bottom: 1px solid var(--dd-line); position: relative; }
.dd-logo img { display: block; width: auto; height: 92px; }
.dd-nav__inner { max-width: var(--dd-wrap); margin: 0 auto; padding: 0 16px; display: flex; justify-content: center; align-items: center; gap: 22px; min-height: 52px; }
.dd-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.dd-menu a { color: #6f6f6f; text-transform: uppercase; font-size: 14px; font-weight: 300; letter-spacing: .02em; text-decoration: none; padding: 14px 0; display: inline-block; border-bottom: 1px solid transparent; line-height: 1; }
.dd-menu a:hover, .dd-menu .current-menu-item > a, .dd-menu .current_page_parent > a { color: var(--dd-heading); border-bottom-color: currentColor; }
.dd-social { display: inline-flex; gap: 12px; align-items: center; }
.dd-social a { color: #6f6f6f; display: inline-flex; }
.dd-social a:hover { color: var(--dd-coral); }

.dd-book, .ast-button, .wp-block-button__link, .wpcf7-submit, button.dd-book {
    background: var(--dd-coral); color: #fff; border: 0; border-radius: 0; font-family: var(--dd-font); font-size: 14px; font-weight: 400;
    text-transform: uppercase; letter-spacing: .03em; padding: 9px 20px; cursor: pointer; line-height: 1.2; transition: background .2s;
}
.dd-book:hover, .dd-book:focus-visible, .wp-block-button__link:hover, .wpcf7-submit:hover { background: var(--dd-coral-dark); color: #fff; }
.dd-book--outline { background: transparent; color: var(--dd-heading); border: 1px solid #bbb; }
.dd-book--outline:hover { background: var(--dd-coral); border-color: var(--dd-coral); }

.dd-header .dd-book--mobile { display: none; }
.dd-header .dd-burger, .dd-header .dd-burger:hover, .dd-header .dd-burger:focus { background: none; box-shadow: none; border: 0; }
.dd-burger { display: none; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 10px; cursor: pointer; }
.dd-burger span { display: block; width: 24px; height: 2px; background: var(--dd-heading); margin: 5px 0; transition: transform .2s, opacity .2s; }
.dd-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.dd-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.dd-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991px) {
    .dd-logo img { height: 64px; }
    .dd-header__brand { padding: 12px 16px; }
    .dd-burger { display: block; }
    .dd-header .dd-book--mobile { display: block; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 12px; padding: 8px 10px; }
    .dd-nav .dd-book { display: none; }
    body .entry-header .entry-title { font-size: 26px; }
    .dd-nav { display: none; border-bottom: 1px solid var(--dd-line); }
    .dd-nav.is-open { display: block; }
    .dd-nav__inner { flex-direction: column; gap: 14px; padding: 12px 16px 20px; }
    .dd-menu { flex-direction: column; gap: 0; width: 100%; text-align: center; }
    .dd-menu a { padding: 12px 0; font-size: 15px; }
}

/* ---------- Content ---------- */
.site-content > .ast-container { max-width: var(--dd-wrap); }
.ast-separate-container { background: #fff; }
.ast-separate-container .ast-article-single, .ast-separate-container .ast-article-post { padding: 0; }
.entry-content { font-size: 16px; }
.entry-content p { margin-bottom: 1.1em; }
.entry-content img { height: auto; }
body .entry-header .entry-title { font-weight: 300; text-transform: uppercase; font-size: 34px; color: var(--dd-heading); letter-spacing: .01em; }
.entry-content h2 { font-size: 26px; font-weight: 400; color: var(--dd-bronze); }
.entry-content h3 { font-size: 21px; font-weight: 500; color: var(--dd-heading); }
.entry-content h4, .entry-content h5 { font-size: 18px; font-weight: 500; }
.dd-page .entry-content h4 { color: var(--dd-bronze); font-size: 15px; }

/* Imported content carries inline styles from the old editor (Word paste): keep bold/italic, drop fonts/sizes/backgrounds */
.entry-content [style*="font-family"] { font-family: inherit !important; }
.entry-content span[style*="font-size"], .entry-content p[style*="font-size"], .entry-content li[style*="font-size"] { font-size: inherit !important; }
.entry-content :is(h1, h2, h3, h4, h5, h6, span, p, strong)[style*="background"] { background: none !important; }
.entry-content [style*="text-align:justify"], .entry-content [style*="text-align: justify"] { text-align: left !important; }

/* ---------- Footer ---------- */
.dd-footer { background: var(--dd-dark); color: #bdbdbd; font-size: 14px; }
.dd-footer__inner { max-width: var(--dd-wrap); margin: 0 auto; padding: 48px 16px; display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.dd-footer__logo { width: 150px; height: auto; margin-bottom: 24px; }
.dd-footer h3 { color: var(--dd-bronze); font-size: 22px; font-weight: 500; margin: 0 0 14px; }
.dd-footer__address { font-size: 18px; color: #d0d0d0; line-height: 1.4; }
.dd-footer__address span { color: var(--dd-bronze); }
.dd-footer a { color: #d0d0d0; }
.dd-footer a:hover { color: #fff; }
.dd-footer__links a { display: block; text-decoration: underline; }
.dd-footer .dd-social a { color: #d0d0d0; }
.dd-footer__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.dd-footer__copy { background: #fff; color: var(--dd-muted); text-align: center; padding: 16px; font-size: 13px; }
@media (max-width: 767px) { .dd-footer__inner { grid-template-columns: 1fr; } }

/* ---------- Booking popup ---------- */
.dd-dialog { border: 0; padding: 36px 32px 28px; width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; color: var(--dd-text); }
.dd-dialog::backdrop { background: rgba(0, 0, 0, .6); }
.dd-dialog h2 { text-transform: uppercase; font-weight: 300; text-align: center; margin: 0 0 8px; font-size: 28px; }
.dd-dialog__lead { text-align: center; font-size: 15px; margin-bottom: 20px; }
.dd-dialog .dd-dialog__close { position: absolute; top: 8px; right: 12px; background: none; border: 0; font-size: 32px; line-height: 1; color: var(--dd-muted); cursor: pointer; padding: 4px 8px; }
.dd-dialog .dd-dialog__close:hover, .dd-dialog .dd-dialog__close:focus { color: var(--dd-heading); background: none; }
.dd-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dd-form input[type=text], .dd-form input[type=email], .dd-form input[type=tel], .dd-form select, .dd-form textarea {
    width: 100%; border: 1px solid #d6d6d6; border-radius: 0; padding: 10px 12px; font-size: 15px; color: var(--dd-heading); background: #fff;
}
.dd-form p { margin: 0 0 12px; }
.dd-form textarea { height: 120px; }
.dd-form .wpcf7-acceptance { font-size: 13px; line-height: 1.5; }
.dd-form .wpcf7-submit { width: 100%; padding: 13px; font-size: 15px; border-radius: 0; background: var(--dd-coral); }
.dd-form .wpcf7-submit:hover { background: var(--dd-coral-dark); }
.dd-form .wpcf7-spinner { display: block; margin: 8px auto 0; }
@media (max-width: 560px) { .dd-form__row { grid-template-columns: 1fr; gap: 0; } .dd-dialog { padding: 32px 18px 20px; } }
.dd-form .wpcf7-list-item { margin: 0; }
.dd-form .wpcf7-list-item-label { font-weight: 400; }

/* ---------- Homepage (blocks built by scripts/build_home.php) ---------- */
.home .site-content > .ast-container { max-width: none; padding: 0; }
.home .entry-content > * { margin-top: 0; margin-bottom: 0; }
.home .entry-content > .wp-block-group, .home .entry-content > .wp-block-columns { padding-left: 16px; padding-right: 16px; }
.home .ast-article-single { padding: 0; margin: 0; }

.dd-hero-slider.wp-block-gallery { position: relative; display: flex; flex-wrap: nowrap !important; gap: 0 !important; overflow: hidden; margin: 0 !important; height: clamp(240px, 37vw, 600px); }
.dd-hero-slider.wp-block-gallery > figure.wp-block-image { flex: 0 0 100% !important; width: 100% !important; margin: 0 !important; height: 100%; transition: transform .7s ease; }
.dd-hero-slider.wp-block-gallery > figure.wp-block-image img { width: 100%; height: 100% !important; object-fit: cover; }
.dd-hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: rgba(0, 0, 0, .25) !important; color: #fff; border: 0; width: 44px; height: 64px; font-size: 30px; line-height: 1; cursor: pointer; padding: 0; }
.dd-hero__arrow:hover { background: rgba(0, 0, 0, .45) !important; }
.dd-hero__arrow--prev { left: 0; } .dd-hero__arrow--next { right: 0; }

.home .entry-content .dd-home-intro { text-align: center; padding: 34px 16px 30px !important; }
.entry-content .dd-home-intro__title { font-size: 40px; font-weight: 400; text-transform: uppercase; color: var(--dd-heading); margin: 0; }
.entry-content .dd-home-intro__sub { font-size: 28px; font-weight: 100; text-transform: uppercase; color: #6f6f6f; margin: 4px 0 0; }

.home .entry-content .dd-home-cols { max-width: var(--dd-wrap) !important; margin: 10px auto 60px !important; gap: 32px; }
.dd-home-cols h3 { color: var(--dd-bronze); text-transform: uppercase; font-size: 24px; font-weight: 500; line-height: 1.2; margin-bottom: 18px; hyphens: auto; }
.dd-home-cols p { font-size: 15px; line-height: 1.6; }
.dd-more a { color: var(--dd-teal); font-weight: 500; text-decoration: none; }
.dd-more a:hover { color: var(--dd-coral); text-decoration: underline; }
.entry-content .wp-block-button.is-style-outline > .wp-block-button__link { background: transparent !important; color: var(--dd-heading) !important; border: 1px solid #bbb !important; border-radius: 0; font-size: 13px; padding: 9px 28px; }
.entry-content .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--dd-coral) !important; border-color: var(--dd-coral) !important; color: #fff !important; }

.home .dd-why { background: #ff6a52; padding-top: 40px; padding-bottom: 50px; position: relative; text-align: left; }
.home .dd-why::after { content: ""; position: absolute; left: 0; right: 0; bottom: -60px; height: 60px; background: var(--dd-peach); }
.dd-why > * { max-width: var(--dd-wrap) !important; margin-left: auto !important; margin-right: auto !important; }
.entry-content .dd-why h2 { text-align: center; text-transform: uppercase; font-weight: 300; font-size: 38px; color: var(--dd-heading); margin-bottom: 28px; }
.dd-why__cols { gap: 24px; }
.entry-content .dd-why h3 { color: #fff; text-transform: uppercase; font-size: 16px; font-weight: 500; line-height: 1.25; margin-bottom: 12px; }
.dd-why p { color: rgba(0, 0, 0, .55); font-size: 14px; line-height: 1.45; }
.dd-why .wp-block-buttons { justify-content: center; margin-top: 18px; }
.dd-why .wp-block-button__link { background: var(--dd-heading); color: #fff; border-radius: 0; }
.dd-why .wp-block-button__link:hover { background: #222; }

.home .dd-home-news { padding-top: 100px; padding-bottom: 50px; }
.dd-home-news > * { max-width: var(--dd-wrap) !important; margin-left: auto !important; margin-right: auto !important; }
.dd-home-news__list.wp-block-latest-posts.is-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 0 auto 20px; padding: 0; }
.dd-home-news__list.is-grid li { width: auto !important; }
.dd-home-news__list .wp-block-latest-posts__post-excerpt a { display: none; }
.dd-home-news__list.is-grid li { display: flex; flex-direction: column; align-items: flex-start; margin: 0 !important; }
.dd-home-news__list .wp-block-latest-posts__post-date { order: -1; background: var(--dd-teal); color: #fff; font-size: 18px; padding: 4px 9px; margin-bottom: 16px; }
.dd-home-news__list .wp-block-latest-posts__post-title { color: #6f6f6f; text-transform: uppercase; font-weight: 500; font-size: 15px; line-height: 1.3; text-decoration: none; }
.dd-home-news__list .wp-block-latest-posts__post-title:hover { color: var(--dd-coral); }
.dd-home-news__list .wp-block-latest-posts__post-excerpt { font-size: 14px; margin-top: 10px; }
.dd-home-news .dd-more { text-align: center; }

@media (max-width: 781px) {
    .entry-content .dd-home-intro__title { font-size: 28px; }
    .entry-content .dd-home-intro__sub { font-size: 20px; }
    .dd-home-cols h3 { font-size: 21px; }
    .dd-why__cols { display: grid !important; grid-template-columns: 1fr 1fr; }
    .dd-home-news__list.wp-block-latest-posts.is-grid { grid-template-columns: 1fr; }
    .entry-content .dd-why h2 { font-size: 28px; }
}

/* ---------- Inner pages: band + wrapper ---------- */
.dd-page { width: 100%; }
.dd-band { background: var(--dd-bronze); width: 100vw; margin-left: calc(50% - 50vw); margin-bottom: 26px; }
.dd-band__inner { max-width: var(--dd-wrap); margin: 0 auto; padding: 26px 20px 22px; }
.dd-band__title { color: #fff; font-size: 22px; font-weight: 500; text-transform: uppercase; margin: 0; padding-bottom: 8px; display: inline-block; position: relative; line-height: 1.3; }
.dd-band__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; min-width: 100px; height: 4px; background: #fff; }
.dd-wrap { max-width: var(--dd-wrap); margin: 0 auto 60px; }

/* ---------- Services grid (/uslugi) ---------- */
.dd-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dd-card { display: flex; flex-direction: column; text-decoration: none; background: var(--dd-peach); transition: transform .2s, box-shadow .2s; }
.dd-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0, 0, 0, .12); }
.dd-card__img { aspect-ratio: 3 / 2; overflow: hidden; display: block; background: #eee; }
.dd-card__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .3s; }
.dd-card:hover .dd-card__img img { filter: none; }
.dd-card__body { padding: 14px 16px 18px; text-align: center; flex: 1; }
.dd-card__title { display: block; color: #fff; text-transform: uppercase; font-weight: 500; font-size: 16px; line-height: 1.3; }
.dd-card__text { display: block; color: rgba(0, 0, 0, .55); font-size: 13px; line-height: 1.45; margin-top: 10px; }
.dd-services__intro { margin-bottom: 24px; }
@media (max-width: 900px) { .dd-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dd-cards { grid-template-columns: 1fr; } }

/* ---------- Single service ---------- */
.dd-service { display: grid; grid-template-columns: 5fr 7fr; gap: 26px; align-items: start; }
.dd-options { display: flex; flex-direction: column; gap: 8px; }
.dd-option { background: var(--dd-bronze); color: #fff; text-decoration: none; padding: 7px 14px 7px 36px; font-size: 15px; position: relative; }
.dd-option::before { content: "+"; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; border-radius: 50%; background: #fff; color: var(--dd-bronze); font-size: 14px; line-height: 15px; text-align: center; font-weight: 700; }
.dd-option:hover { background: #a06f42; color: #fff; }
.dd-service__title { font-size: 26px; font-weight: 500; text-transform: uppercase; color: #565656; margin: 0 0 14px; }
.dd-service__actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 30px 0 10px; }
.dd-pill { border: 0; border-radius: 22px !important; color: #fff; font-size: 13px; text-transform: uppercase; padding: 12px 22px; cursor: pointer; font-weight: 500; }
.dd-pill--coral { background: var(--dd-coral) !important; }
.dd-pill--teal { background: var(--dd-teal) !important; }
.dd-pill:hover { filter: brightness(.92); color: #fff; }
.dd-back { margin-top: 20px; }
.dd-back a { color: var(--dd-muted); text-decoration: none; }
.dd-allservices { margin-top: 36px; border-top: 1px solid var(--dd-line); padding-top: 20px; }
.dd-allservices h2 { font-size: 16px; text-transform: uppercase; font-weight: 500; color: var(--dd-bronze); margin-bottom: 12px; }
.dd-allservices ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.dd-allservices li { margin: 0 0 6px; break-inside: avoid; }
.dd-allservices a { color: var(--dd-text); text-decoration: none; font-size: 14px; }
.dd-allservices a:hover, .dd-allservices .is-current a { color: var(--dd-coral); }
@media (max-width: 900px) {
    .dd-service { grid-template-columns: 1fr; }
    .dd-allservices ul { columns: 1; }
}

/* ---------- Service photo carousel ---------- */
.dd-carousel { overflow: hidden; margin-bottom: 22px; }
.dd-carousel__track { display: flex; transition: transform .45s ease, height .3s ease; }
.dd-carousel__track { align-items: flex-start; }
.dd-carousel__slide { flex: 0 0 100%; padding: 0 !important; border: 0; background: #fff !important; cursor: zoom-in; display: block; }
.dd-carousel__slide img { width: 100%; height: auto; display: block; }
.dd-carousel__dots { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.dd-carousel__dot { width: 16px; height: 16px; padding: 0 !important; border: 0; background: #e6e6e6 !important; cursor: pointer; border-radius: 0 !important; }
.dd-carousel__dot.is-active, .dd-carousel__dot:hover { background: #a9a9a9 !important; }

/* ---------- Lightbox ---------- */
.dd-lightbox { border: 0; padding: 0; background: rgba(0, 0, 0, .92); max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.dd-lightbox::backdrop { background: rgba(0, 0, 0, .88); }
.dd-lightbox__stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 50px 60px; box-sizing: border-box; }
.dd-lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.dd-lightbox button { position: absolute; background: none !important; border: 0; color: #fff; font-size: 44px; cursor: pointer; padding: 10px 16px; line-height: 1; }
.dd-lightbox__close { top: 6px; right: 10px; }
.dd-lightbox__prev { left: 6px; top: 50%; transform: translateY(-50%); }
.dd-lightbox__next { right: 6px; top: 50%; transform: translateY(-50%); }
.dd-lightbox__count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #ccc; font-size: 14px; }

/* ---------- Team (/ekip) ---------- */
.dd-team__intro { margin-bottom: 30px; }
.dd-team__intro h2 { color: var(--dd-bronze); font-weight: 500; font-size: 24px; margin-top: 30px; }
.dd-team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 24px; }
.dd-member__photo { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #eee; }
.dd-member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.dd-member__photo:hover img { transform: scale(1.04); }
.dd-member__name { font-size: 18px; font-weight: 400; margin: 12px 0 2px; line-height: 1.3; }
.dd-member__name a { color: var(--dd-bronze); text-decoration: none; }
.dd-member__name a:hover { color: var(--dd-coral); }
.dd-member__more { font-size: 12px; color: var(--dd-muted); text-decoration: none; }
.dd-member__more span { margin-right: 6px; }
.dd-member__more:hover { color: var(--dd-coral); }
@media (max-width: 900px) { .dd-team__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dd-team__grid { grid-template-columns: 1fr; } }

/* ---------- Team member ---------- */
.dd-profile { display: grid; grid-template-columns: 5fr 7fr; gap: 26px; align-items: start; }
.dd-profile__zoom { display: block; width: 100%; padding: 0 !important; border: 0; background: none !important; cursor: zoom-in; }
.dd-profile__zoom img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
@media (max-width: 900px) { .dd-profile { grid-template-columns: 1fr; } .dd-profile__photo { max-width: 420px; } }

/* ---------- Reviews (/otzivi) ---------- */
/* Row-first masonry: site.js sets each card's grid-row span from its height */
.dd-masonry { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 4px; column-gap: 24px; align-items: start; }
.dd-review { background: var(--dd-peach); padding: 22px 22px 18px; margin: 0 0 24px; }
.dd-review__name { display: flex; align-items: flex-start; gap: 12px; font-size: 18px; font-weight: 400; color: var(--dd-heading); margin: 0 0 14px; line-height: 1.35; }
.dd-review__name img { flex: 0 0 auto; width: 20px; height: auto; margin-top: -6px; }
.dd-review__text, .dd-review__text p { font-size: 14px; line-height: 1.55; color: #5a4a44; }
.dd-review__text p:last-child { margin-bottom: 0; }
.dd-reviews__send { text-align: center; margin-top: 20px; }
.dd-reviews__send .dd-book { display: inline-block; text-decoration: none; padding: 11px 32px; }
@media (max-width: 900px) { .dd-masonry { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dd-masonry { grid-template-columns: 1fr; } }

/* ---------- Blog (/polezno + single article) ---------- */
.dd-post { margin: 0 0 30px; }
.dd-post__img { display: block; margin-bottom: 12px; }
.dd-post__img img { width: 100%; height: auto; display: block; transition: opacity .2s; }
.dd-post__img:hover img { opacity: .88; }
.dd-date { display: inline-block; background: var(--dd-teal); color: #fff; font-size: 18px; padding: 3px 9px; margin-bottom: 14px; }
.dd-post__title { font-size: 15px; font-weight: 500; text-transform: uppercase; line-height: 1.3; margin: 0 0 8px; }
.dd-post__title a { color: #6f6f6f; text-decoration: none; }
.dd-post__title a:hover { color: var(--dd-coral); }
.dd-post__text { font-size: 13px; line-height: 1.55; margin: 0 0 6px; }
.dd-post__more { font-size: 13px; color: var(--dd-teal); text-decoration: none; }
.dd-post__more:hover { color: var(--dd-coral); }

.dd-article { display: grid; grid-template-columns: 5fr 7fr; gap: 26px; align-items: start; }
.dd-article__media { display: flex; flex-direction: column; gap: 14px; }
.dd-article__photo { display: block; width: 100%; padding: 0 !important; border: 0; background: none !important; cursor: zoom-in; }
.dd-article__photo img { width: 100%; height: auto; display: block; }
.dd-article__date { display: block; color: var(--dd-muted); font-size: 13px; margin: -6px 0 16px; }
@media (max-width: 900px) { .dd-article { grid-template-columns: 1fr; } .dd-article__media { max-width: 560px; } }
.dd-article__media > img { width: 100%; height: auto; display: block; }
.single-post .site-content > .ast-container, .ast-narrow-container .site-content > .ast-container { max-width: calc(var(--dd-wrap) + 40px); }

/* ---------- Embedded before/after galleries ([dd_gallery]) ---------- */
.entry-content .dd-gallery { margin: 24px 0; }
.dd-gallery .dd-carousel__slide img { aspect-ratio: 16 / 9; object-fit: cover; }
.dd-gallery__thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.dd-gallery__thumb { width: 96px; padding: 0 !important; border: 2px solid transparent !important; background: none !important; cursor: pointer; opacity: .65; border-radius: 0 !important; }
.dd-gallery__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.dd-gallery__thumb.is-active, .dd-gallery__thumb:hover { opacity: 1; border-color: var(--dd-coral) !important; }

/* ---------- Old editor's bootstrap grid inside page content (e.g. /kontakti) ---------- */
.entry-content .btgrid iframe { width: 100%; min-height: 390px; border: 0; display: block; }
.entry-content .fake-h2 { font-size: 17px; font-weight: 300; color: var(--dd-text); line-height: 1.5; margin: 0 0 10px; }
.entry-content .btgrid img[style*="width: 30px"], .entry-content .btgrid img[style*="width: 50px"] { display: inline-block; vertical-align: middle; height: 30px !important; width: auto !important; margin-right: 6px; }
.dd-contact-form { margin-top: 10px; }

/* Old content buttons above each before/after gallery (.btns-group): pills; gallery opens on click */
.entry-content .btns-group { display: flex; flex-wrap: wrap; gap: 16px; margin: 26px 0 18px; }
.entry-content .btns-group a { border-radius: 22px; color: #fff; font-size: 13px; text-transform: uppercase; padding: 11px 22px; font-weight: 500; text-decoration: none; cursor: pointer; }
.entry-content .btns-group a i { display: none; }
.entry-content .btns-group .see-pictures { background: var(--dd-coral); }
.entry-content .btns-group .see-pictures::after { content: " ▾"; }
.entry-content .btns-group .see-pictures.is-open::after { content: " ▴"; }
.entry-content .btns-group .request { background: var(--dd-teal); }
.entry-content .btns-group a:hover { filter: brightness(.92); color: #fff; }
.entry-content .gallery-window { display: none; }
.entry-content .gallery-window.is-open { display: block; }

/* ---------- Old editor's bootstrap columns inside plain pages (/klinika, /za-patsienta) ---------- */
.entry-content .row { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.entry-content .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; padding: 0 12px; box-sizing: border-box; }
@media (min-width: 768px) {
    .entry-content .row > .col-md-3 { flex-basis: 25%; max-width: 25%; }
    .entry-content .row > .col-md-4 { flex-basis: 33.333%; max-width: 33.333%; }
    .entry-content .row > .col-md-6 { flex-basis: 50%; max-width: 50%; }
    .entry-content .row > .col-md-8 { flex-basis: 66.666%; max-width: 66.666%; }
}
.entry-content .btgrid .row { display: flex; }
.entry-content .btgrid .row > .col { flex: 0 0 100%; }
@media (min-width: 768px) { .entry-content .btgrid .row > .col-md-6 { flex-basis: 50%; max-width: 50%; } }
.entry-content a.zoom { display: block; cursor: zoom-in; margin-bottom: 18px; }
.entry-content a.zoom img { width: 100%; height: auto; display: block; }
.entry-content a.reservenow { display: inline-block; background: var(--dd-coral); color: #fff; text-transform: uppercase; font-size: 13px; padding: 9px 22px; text-decoration: none; }
.entry-content a.reservenow:hover { background: var(--dd-coral-dark); color: #fff; }
.page-band .entry-content h2:first-child, .dd-wrap > .entry-content > h2:first-child { margin-top: 0; }
/* /klinika: columns sit directly in .btgrid (no .row), photos cropped 3:2 like the old thumbnails */
.entry-content .btgrid:has(> [class*="col-"]) { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.entry-content .btgrid > [class*="col-"] { flex: 0 0 100%; max-width: 100%; padding: 0 12px; box-sizing: border-box; }
@media (min-width: 768px) { .entry-content .btgrid > .col-md-6 { flex-basis: 50%; max-width: 50%; } }
.entry-content .popup-gallery a.zoom img { aspect-ratio: 3 / 2; object-fit: cover; }
.entry-content .dd-photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0; }
.entry-content .dd-photo-grid a.zoom { margin: 0; }
.entry-content .dd-photo-grid img { aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 560px) { .entry-content .dd-photo-grid { grid-template-columns: 1fr; gap: 14px; } }

/* Honeypot field (inc/form-spam.php): off-screen, not display:none, so bots still see it */
.dd-hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
