/* Prodaja Bazena polish (2026-10-21). Loaded after theme.css; keeps the site's navy/peach identity. */
:root {
    --pb-radius: 14px;
    --pb-radius-sm: 8px;
    --pb-line: #e7e1dc;
    --pb-water: #3fb8d8;
    --pb-shadow: 0 18px 44px rgba(14, 24, 36, 0.10);
    --pb-ease: cubic-bezier(.2, .7, .2, 1);
    --aomark-dialog-accent: #1d7f9b;
    --aomark-dialog-button-bg: var(--pb-navy);
    --aomark-dialog-button-fg: #fff;
    --aomark-dialog-radius: 16px;
}

.pb-icon { flex: 0 0 auto; vertical-align: middle; }
.pb-icon--up { transform: rotate(-90deg); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pb-skip:focus { position: fixed !important; z-index: 100; top: 12px; left: 12px; width: auto; height: auto; clip: auto; padding: 10px 16px; background: #fff; color: var(--pb-navy); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* Buttons */
.pb-btn, .wp-block-button__link {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px; padding: 12px 26px; border: 1px solid var(--pb-peach); border-radius: 999px;
    background: var(--pb-peach); color: var(--pb-navy); font-size: 16px; font-weight: 500; line-height: 1.2;
    text-decoration: none; cursor: pointer; transition: background-color 200ms var(--pb-ease), transform 200ms var(--pb-ease), box-shadow 200ms var(--pb-ease);
}
.pb-btn:hover, .wp-block-button__link:hover { background: var(--pb-peach-deep); color: var(--pb-navy); box-shadow: 0 10px 24px rgba(255, 188, 125, .35); }
.pb-btn:active, .wp-block-button__link:active { transform: translateY(1px) scale(.99); }
.pb-btn .pb-icon { transition: transform 200ms var(--pb-ease); }
.pb-btn:hover .pb-icon { transform: translateX(3px); }
.pb-btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.pb-btn--block { width: 100%; }
.pb-btn--outline { background: transparent; border-color: var(--pb-navy); }
.pb-btn--outline:hover { background: var(--pb-navy); color: #fff; box-shadow: none; }
.pb-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.pb-btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; }
.pb-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: #1d7f9b; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Header ---------- */
.pb-header { display: none; }
.pb-site-header {
    position: absolute; z-index: 50; top: 20px; left: 20px; right: 20px;
    transition: transform 320ms var(--pb-ease), background-color 240ms ease, box-shadow 240ms ease;
}
.pb-site-header__inner {
    display: flex; align-items: center; gap: 28px; min-height: 96px; padding: 14px clamp(20px, 3vw, 48px);
    background: linear-gradient(180deg, rgba(14, 24, 36, .55), rgba(14, 24, 36, 0));
}
.pb-site-header.is-stuck { position: fixed; top: 0; left: 0; right: 0; background: rgba(14, 24, 36, .96); box-shadow: 0 8px 26px rgba(0, 0, 0, .18); }
.admin-bar .pb-site-header.is-stuck { top: 32px; }
.pb-site-header.is-stuck .pb-site-header__inner { min-height: 72px; background: none; }
.pb-site-header.is-hidden { transform: translateY(-110%); }
.pb-logo { display: block; flex: 0 0 auto; width: 200px; line-height: 0; }
.pb-logo__img { width: 100%; height: auto; aspect-ratio: 760 / 110; object-fit: cover; object-position: center 47%; }
.pb-site-header.is-stuck .pb-logo { width: 176px; }
.pb-nav { margin-left: auto; }
.pb-nav ul { display: flex; gap: clamp(18px, 2.2vw, 34px); margin: 0; padding: 0; list-style: none; }
.pb-nav a { position: relative; color: #fff; font-size: 18px; font-weight: 500; text-decoration: none; }
.pb-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--pb-peach); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--pb-ease); }
.pb-nav a:hover, .pb-nav a[aria-current="page"] { color: var(--pb-peach); }
.pb-nav a:hover::after, .pb-nav a[aria-current="page"]::after { transform: scaleX(1); }
.pb-nav-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; margin-left: auto; border: 0; border-radius: 999px; background: #fff; color: var(--pb-navy); cursor: pointer; }

.pb-drawer { position: fixed; z-index: 90; inset: 0; background: rgba(14, 24, 36, .5); opacity: 0; transition: opacity 240ms ease; }
.pb-drawer.is-open { opacity: 1; }
.pb-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 28px; width: min(380px, 88vw); padding: 22px 24px 32px; background: var(--pb-navy); transform: translateX(100%); transition: transform 280ms var(--pb-ease); overflow-y: auto; }
.pb-drawer.is-open .pb-drawer__panel { transform: none; }
.pb-drawer__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pb-drawer__top .pb-logo { width: 170px; }
.pb-drawer__close { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; background: transparent; color: #fff; cursor: pointer; }
.pb-drawer nav ul { margin: 0; padding: 0; list-style: none; }
.pb-drawer nav a { display: block; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); color: #fff; font-size: 22px; font-weight: 500; text-decoration: none; }
.pb-drawer nav a[aria-current="page"] { color: var(--pb-peach); }
body.pb-drawer-open { overflow: hidden; }

@media (max-width: 1000px) {
    .pb-nav, .pb-site-header .pb-header__cta { display: none; }
    .pb-nav-toggle { display: inline-flex; }
    .pb-site-header { top: 12px; left: 12px; right: 12px; }
    .pb-site-header__inner { min-height: 76px; padding: 10px 18px; }
    .pb-logo { width: 164px; }
    .pb-site-header.is-stuck .pb-logo { width: 150px; }
    .pb-site-header.is-stuck .pb-site-header__inner { min-height: 64px; }
}
@media (max-width: 782px) { .admin-bar .pb-site-header.is-stuck { top: 46px; } }

/* ---------- Inner openings (pages, listings, 404, articles) ---------- */
.pb-inner-hero { display: flex; align-items: flex-end; min-height: 460px; margin: 0 20px; padding: 170px clamp(20px, 5vw, 72px) 56px; text-align: left; }
.pb-inner-hero::after { background: linear-gradient(180deg, rgba(14, 24, 36, .55) 0%, rgba(14, 24, 36, .25) 40%, rgba(14, 24, 36, .72) 100%); }
.pb-route-opening__copy { position: relative; width: min(100%, var(--pb-shell)); margin: 0 auto; }
.pb-inner-hero h1, .pb-inner-hero h1.wp-block-heading { max-width: 960px; margin: 0; color: #fff; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.08; text-transform: none; }
.pb-inner-hero .pb-accent { font-size: 1.1em; }
.pb-route-opening__eyebrow { margin: 0 0 10px; color: var(--pb-peach); font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.pb-route-opening__lead { max-width: 640px; margin: 16px 0 0; color: rgba(255, 255, 255, .88); font-size: 18px; }
.pb-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 16px; color: rgba(255, 255, 255, .8); font-size: 14px; }
.pb-breadcrumb a { color: #fff; text-decoration: none; }
.pb-breadcrumb a:hover { color: var(--pb-peach); text-decoration: underline; }
.pb-crumb-sep { display: inline-flex; opacity: .7; }
.pb-post-meta { display: flex; flex-wrap: wrap; gap: 18px; margin: 18px 0 0; color: rgba(255, 255, 255, .88); font-size: 15px; }
.pb-post-meta span { display: inline-flex; align-items: center; gap: 7px; }
@media (max-width: 760px) {
    .pb-inner-hero { min-height: 340px; margin: 0 12px; padding: 130px 20px 34px; }
    .pb-inner-hero h1, .pb-inner-hero h1.wp-block-heading { font-size: clamp(30px, 8.4vw, 40px); }
    .pb-inner-hero .pb-accent { font-size: 1.08em; }
    .pb-route-opening__lead { font-size: 16px; }
}

/* ---------- Listings ---------- */
.pb-listing { padding: clamp(48px, 6vw, 80px) 0 clamp(70px, 8vw, 110px); }
.pb-search { display: flex; max-width: 560px; margin: 0 0 36px; border: 1px solid var(--pb-line); border-radius: 999px; background: #fff; box-shadow: 0 6px 20px rgba(14, 24, 36, .05); }
.pb-search input { flex: 1; min-width: 0; padding: 14px 22px; border: 0; border-radius: 999px; background: transparent; color: var(--pb-ink); font-size: 16px; }
.pb-search input:focus { outline: none; }
.pb-search:focus-within { border-color: var(--pb-navy); }
.pb-search button { display: inline-flex; align-items: center; gap: 8px; margin: 5px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--pb-navy); color: #fff; font-size: 15px; cursor: pointer; }
.pb-search button:hover { background: #1d7f9b; }
.pb-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.pb-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); background: #fff; transition: transform 260ms var(--pb-ease), box-shadow 260ms var(--pb-ease); }
.pb-card:hover { transform: translateY(-4px); box-shadow: var(--pb-shadow); }
.pb-card__media { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--pb-cream); }
.pb-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--pb-ease); }
.pb-card:hover .pb-card__media img { transform: scale(1.04); }
.pb-card__body { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 24px; }
.pb-card__date { display: flex; align-items: center; gap: 7px; margin: 0 0 10px; color: #6b6f73; font-size: 14px; }
.pb-card__title { margin: 0 0 12px; color: var(--pb-navy); font-size: 21px; font-weight: 500; line-height: 1.28; text-transform: none; }
.pb-card__title a { text-decoration: none; }
.pb-card__title a:hover { color: #1d7f9b; }
.pb-card__excerpt { margin: 0 0 18px; color: var(--pb-body); font-size: 15px; line-height: 1.6; }
.pb-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--pb-navy); font-weight: 600; text-decoration: none; }
.pb-card__more:hover { color: #1d7f9b; }
.pb-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 48px 0 0; }
.pb-pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 48px; padding: 0 14px; border: 1px solid var(--pb-line); border-radius: 999px; color: var(--pb-navy); font-weight: 500; text-decoration: none; transition: background-color 200ms ease, color 200ms ease; }
.pb-pager a.page-numbers:hover { border-color: var(--pb-navy); }
.pb-pager .current { border-color: var(--pb-navy); background: var(--pb-navy); color: #fff; }
.pb-pager .dots { border: 0; }
.pb-empty { display: grid; justify-items: start; gap: 14px; padding: 36px; border-radius: var(--pb-radius); background: var(--pb-paper); color: var(--pb-navy); }
.pb-empty p { margin: 0; font-size: 18px; }
.pb-section-heading { margin: 0 0 28px; color: var(--pb-navy); font-size: clamp(28px, 3vw, 40px); font-weight: 500; line-height: 1.15; }
.pb-404-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 64px; }
.pb-404-actions .pb-search { flex: 1 1 360px; margin: 0; }
@media (max-width: 1000px) { .pb-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
    .pb-cards { grid-template-columns: 1fr; gap: 20px; }
    .pb-search button span { display: none; }
    .pb-404-actions .pb-btn { flex: 1 1 100%; }
}

/* ---------- Single article ---------- */
.pb-article-opening { min-height: 520px; }
.pb-article-content { width: min(calc(100% - 40px), 820px); margin: 0 auto; padding: clamp(44px, 6vw, 72px) 0 24px; color: #3b3f43; font-size: 18px; line-height: 1.75; }
.pb-article-content > * + * { margin-top: 1.15em; }
.pb-article-content h2 { margin-top: 2em; color: var(--pb-navy); font-size: clamp(26px, 2.6vw, 34px); font-weight: 500; line-height: 1.2; text-transform: none; }
.pb-article-content h3 { margin-top: 1.6em; color: var(--pb-navy); font-size: 22px; font-weight: 600; line-height: 1.3; text-transform: none; }
.pb-article-content a { color: #1d7f9b; }
.pb-article-content ul, .pb-article-content ol { padding-left: 1.3em; }
.pb-article-content li + li { margin-top: .45em; }
.pb-article-content figure { margin-inline: 0; }
.pb-article-content figure img { border-radius: var(--pb-radius-sm); }
.pb-article-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pb-article-content th, .pb-article-content td { padding: 10px 12px; border: 1px solid var(--pb-line); text-align: left; vertical-align: top; }
.pb-article-content th { background: var(--pb-paper); color: var(--pb-navy); }
.pb-article-content .wp-block-table, .pb-article-content figure.wp-block-table { overflow-x: auto; }
.pb-related { padding: clamp(40px, 5vw, 64px) 0; }
@media (max-width: 680px) { .pb-article-content { font-size: 17px; } .pb-article-opening { min-height: 380px; } }

/* ---------- Ask panel and forms ---------- */
.pb-ask { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; margin-bottom: clamp(70px, 8vw, 110px); padding: clamp(28px, 4vw, 56px); border-radius: 22px; background: var(--pb-paper); }
.pb-ask h2 { margin: 0 0 12px; color: var(--pb-navy); font-size: clamp(28px, 3vw, 40px); font-weight: 500; line-height: 1.15; }
.pb-ask p { margin: 0; }
.pb-ask__form { padding: clamp(22px, 3vw, 32px); border-radius: var(--pb-radius); background: #fff; box-shadow: var(--pb-shadow); }
/* Block flow, not grid: hidden proof/honeypot fields must not create empty grid rows. */
.pb-form { display: block; }
.pb-field + .pb-field { margin-top: 16px; }
.pb-field { display: grid; gap: 7px; }
.pb-form label, .pb-contact-form label { display: block; color: var(--pb-navy); font-size: 15px; font-weight: 600; }
.pb-form > button { margin-top: 20px; }
.pb-form-note { margin-top: 12px !important; }
.pb-req { color: #c2410c; }
.pb-form input, .pb-form textarea, .pb-form select {
    width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid #d4cfca; border-radius: var(--pb-radius-sm);
    background: #fff; color: var(--pb-ink); font-size: 16px; transition: border-color 160ms ease, box-shadow 160ms ease;
}
.pb-form textarea { min-height: 140px; resize: vertical; }
.pb-form input:focus, .pb-form textarea:focus, .pb-form select:focus { border-color: var(--pb-navy); outline: none; box-shadow: 0 0 0 3px rgba(63, 184, 216, .28); }
.pb-form input:user-invalid, .pb-form textarea:user-invalid { border-color: #c2410c; }
.pb-form-note { margin: 0; color: #6b6f73; font-size: 14px; }
.pb-form-honeypot, .pb-contact-form .aomark-hp, .pb-contact-form [class*="honeypot"] { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .pb-ask { grid-template-columns: 1fr; margin-inline: 12px; } }

/* ---------- Kontakt ---------- */
.pb-contact2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding: clamp(56px, 7vw, 100px) 0; }
.pb-contact2__title { margin: 0 0 18px; color: var(--pb-navy); font-size: clamp(30px, 3.4vw, 46px); font-weight: 500; line-height: 1.12; text-transform: none; }
.pb-contact2__lead { margin: 0 0 32px; font-size: 18px; }
.pb-reasons { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.pb-reasons li { display: flex; gap: 16px; padding: 18px 20px; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); background: #fff; }
.pb-reasons__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--pb-paper); color: #1d7f9b; flex: 0 0 auto; }
.pb-reasons h3 { margin: 0 0 4px; color: var(--pb-navy); font-size: 18px; font-weight: 600; }
.pb-reasons p { margin: 0; font-size: 15px; }
.pb-contact2__panel { position: sticky; top: 100px; padding: clamp(24px, 3.4vw, 40px); border-radius: 22px; background: var(--pb-navy); color: #fff; box-shadow: var(--pb-shadow); }
.pb-contact2__panel-title { margin: 0 0 20px; color: #fff; font-size: 26px; font-weight: 500; }
.pb-contact2__panel .pb-form label { color: #fff; }
.pb-contact2__panel .pb-form-note { color: rgba(255, 255, 255, .72); }
.pb-contact2__panel .pb-req { color: var(--pb-peach); }
@media (max-width: 900px) { .pb-contact2 { grid-template-columns: 1fr; } .pb-contact2__panel { position: static; } }

/* ---------- O nama (the cream section had no layout container) ---------- */
.pb-about-hero { min-height: 460px; }
.pb-about-intro { padding-top: clamp(56px, 7vw, 96px); }
.pb-about-intro h2 { color: #1d7f9b; letter-spacing: .12em; text-transform: uppercase; }
.pb-about-intro p { max-width: 760px; margin-inline: auto; color: var(--pb-navy); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; }
.page-template-default .pb-home-section--cream, .pb-page-main > .pb-home-section--cream {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 96px); align-items: start;
    width: min(calc(100% - var(--pb-gutter) * 2), var(--pb-shell)); margin: 0 auto; padding: clamp(56px, 7vw, 96px) clamp(24px, 4vw, 64px); border-radius: 22px;
}
.pb-home-section--cream > .wp-block-image { grid-column: 1; grid-row: 1 / span 12; position: sticky; top: 100px; margin: 0; border-radius: var(--pb-radius); overflow: hidden; }
.pb-home-section--cream > .wp-block-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pb-home-section--cream > :not(.wp-block-image) { grid-column: 2; }
.pb-home-section--cream > h2:first-of-type { margin: 0 0 6px; color: #1d7f9b; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.pb-home-section--cream > h1 { margin: 0 0 18px; color: var(--pb-navy); font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; text-transform: none; }
.pb-home-section--cream > h2:not(:first-of-type) { margin: 26px 0 6px; padding-top: 22px; border-top: 1px solid var(--pb-line); color: var(--pb-navy); font-size: 22px; font-weight: 600; text-transform: none; }
.pb-home-section--cream > p { margin: 0; font-size: 16px; line-height: 1.7; }
.pb-page-main > .pb-home-section:last-child:not(.pb-home-section--cream) { display: grid; justify-items: center; gap: 24px; padding: clamp(64px, 8vw, 110px) 24px; text-align: center; }
.pb-page-main > .pb-home-section:last-child h1 { max-width: 900px; margin: 0; color: var(--pb-navy); font-size: clamp(30px, 3.6vw, 48px); line-height: 1.15; }
@media (max-width: 900px) {
    .pb-page-main > .pb-home-section--cream { grid-template-columns: 1fr; width: calc(100% - 24px); padding: 28px 20px 40px; }
    .pb-home-section--cream > .wp-block-image { position: static; grid-row: auto; margin-bottom: 24px; }
    .pb-home-section--cream > .wp-block-image img { aspect-ratio: 4 / 3; }
    .pb-home-section--cream > :not(.wp-block-image) { grid-column: 1; }
}

/* ---------- Početna ---------- */
.pb-home-hero__content { padding-top: 150px; }
.pb-latest-section { display: grid; justify-items: center; }
.pb-latest-section > .wp-block-button { order: 3; margin: 36px 0 0; }
.pb-latest-section > .pb-latest-grid { order: 2; }
.pb-latest-grid .pb-post-card { overflow: hidden; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); background: #fff; }
.pb-latest-grid h3 { font-size: 20px; line-height: 1.3; text-transform: none; }
.pb-latest-grid h3 a { text-decoration: none; }
.pb-latest-grid h3 a:hover { color: #1d7f9b; }
.pb-pool-card { overflow: hidden; border-radius: var(--pb-radius); }
.pb-pool-card__body { display: flex; flex-direction: column; padding: 26px 24px 28px; }
.pb-pool-card__body > .wp-block-separator { margin: auto 0 20px; padding-top: 24px; }
.pb-gallery .wp-block-image { border-radius: var(--pb-radius-sm); overflow: hidden; }
.pb-why-us__main, .pb-home-about__photo { border-radius: var(--pb-radius); overflow: hidden; }
@media (max-width: 760px) {
    .pb-home .pb-home-hero, .wp-block-post-content > .pb-home-hero { margin: 0 12px; }
    .pb-home-hero__content { padding: 140px 4px 64px; }
    .pb-home-about { padding-top: 64px; }
}

/* ---------- Footer ---------- */
.pb-footer { display: none; }
.pb-footer2 { padding: clamp(56px, 7vw, 88px) 0 28px; background: var(--pb-navy); color: rgba(255, 255, 255, .78); }
.pb-footer2__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.pb-footer2__brand p { max-width: 340px; margin: 20px 0 24px; line-height: 1.65; }
.pb-footer2__title { margin: 6px 0 18px; color: #fff; font-size: 17px; font-weight: 600; letter-spacing: .02em; }
.pb-footer2 ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.pb-footer2 a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.pb-footer2 ul a:hover { color: var(--pb-peach); text-decoration: underline; }
.pb-footer2__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; }
.pb-footer2__bottom p { margin: 0; }
.pb-footer2__top { display: inline-flex; align-items: center; gap: 6px; }
.pb-footer2__top:hover { color: var(--pb-peach); }
@media (max-width: 1000px) { .pb-footer2__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pb-footer2__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .pb-footer2__grid { grid-template-columns: 1fr; } }

/* ---------- Gallery dialog controls ---------- */
.pb-dialog button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; }

/* ---------- Motion ---------- */
.pb-motion .pb-reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--pb-ease), transform 600ms var(--pb-ease); }
.pb-motion .pb-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}

/* ---------- Tools: cards, strip, article CTA ---------- */
.pb-tool-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.pb-tool-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); background: #fff; transition: transform 240ms var(--pb-ease), box-shadow 240ms var(--pb-ease), border-color 240ms ease; }
.pb-tool-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--pb-shadow); }
.pb-tool-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(140deg, #e3f5fa, #fff1e4); color: #1d7f9b; }
.pb-tool-card h2, .pb-tool-card h3 { margin: 6px 0 0; color: var(--pb-navy); font-size: 22px; font-weight: 600; line-height: 1.25; text-transform: none; }
.pb-tool-card h2 a, .pb-tool-card h3 a { text-decoration: none; }
.pb-tool-card h2 a::after, .pb-tool-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pb-tool-card p { margin: 0; font-size: 15px; }
.pb-tool-card__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; color: #1d7f9b; font-weight: 600; }
.pb-tool-card:hover .pb-tool-card__go .pb-icon { transform: translateX(3px); }
.pb-tool-card__go .pb-icon { transition: transform 200ms var(--pb-ease); }
.pb-tools-strip { padding: clamp(64px, 8vw, 110px) 0; background: var(--pb-paper); }
.pb-tools-strip__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 34px; }
.pb-tools-strip__head h2 { margin: 0 0 10px; color: var(--pb-navy); font-size: clamp(30px, 3.4vw, 46px); font-weight: 500; line-height: 1.12; }
.pb-tools-strip__head p:last-child { max-width: 560px; margin: 0; font-size: 17px; }
.pb-tool-cta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; width: min(calc(100% - 40px), 820px); margin: 12px auto 24px; padding: 26px 30px; border-radius: 20px; background: var(--pb-navy); color: rgba(255, 255, 255, .85); }
.pb-tool-cta h2 { margin: 0 0 6px; color: #fff; font-size: 24px; font-weight: 500; }
.pb-tool-cta p { margin: 0; }
.pb-tool-cta .pb-kicker { margin-bottom: 6px; color: var(--pb-peach); }
.pb-tool-cta__icon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 16px; background: rgba(255, 255, 255, .08); color: var(--pb-water); }
@media (max-width: 700px) { .pb-tool-cta { grid-template-columns: 1fr; width: calc(100% - 24px); padding: 24px; } }

/* ---------- Tool page body ---------- */
.pb-tool-body { padding: clamp(40px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); }
.pb-tool-body > :not(.pb-tool):not(.wp-block-shortcode) { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.pb-tool-body > .pb-tool, .pb-tool-body > .pb-tool-cards { width: min(calc(100% - var(--pb-gutter) * 2), var(--pb-shell)); margin: 0 auto clamp(48px, 6vw, 80px); }
.pb-tool-body > h2 { margin-top: 2em; margin-bottom: .6em; color: var(--pb-navy); font-size: clamp(26px, 2.6vw, 34px); font-weight: 500; line-height: 1.2; text-transform: none; }
.pb-tool-body > h3 { margin-top: 1.8em; color: var(--pb-navy); font-size: 20px; font-weight: 600; text-transform: none; }
.pb-tool-body > p, .pb-tool-body > ul { color: #3b3f43; font-size: 17px; line-height: 1.75; }
.pb-tool-body > ul { padding-left: 1.2em; }
.pb-tool-body > ul li + li { margin-top: .5em; }
.pb-tool-body a { color: #1d7f9b; }
.pb-faq__item { border-bottom: 1px solid var(--pb-line); }
.pb-tool-body > h2 + .pb-faq__item { border-top: 1px solid var(--pb-line); }
.pb-faq__item summary { position: relative; padding: 20px 44px 20px 0; color: var(--pb-navy); font-size: 18px; font-weight: 600; list-style: none; cursor: pointer; }
.pb-faq__item summary::-webkit-details-marker { display: none; }
.pb-faq__item summary::after { content: ""; position: absolute; top: 50%; right: 8px; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform 200ms var(--pb-ease); }
.pb-faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.pb-faq__item summary:hover { color: #1d7f9b; }
.pb-faq__item p { margin: 0 0 20px; color: #3b3f43; font-size: 16px; line-height: 1.7; }

/* ---------- Calculator ---------- */
.pb-calc { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.pb-calc__inputs { display: grid; gap: 20px; }
.pb-calc__group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; margin: 0; padding: 24px; border: 1px solid var(--pb-line); border-radius: var(--pb-radius); background: #fff; }
.pb-calc__group legend { display: inline-flex; align-items: center; gap: 8px; padding: 0 8px; color: var(--pb-navy); font-size: 17px; font-weight: 600; }
.pb-calc__group legend .pb-icon { color: #1d7f9b; }
.pb-f { display: grid; gap: 7px; align-content: start; }
.pb-f--full { grid-column: 1 / -1; }
.pb-f[hidden], .pb-calc [hidden] { display: none !important; }
.pb-f label, .pb-f__label { color: var(--pb-navy); font-size: 14px; font-weight: 600; }
.pb-f input, .pb-f select { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #d4cfca; border-radius: var(--pb-radius-sm); background: #fff; color: var(--pb-ink); font-size: 16px; font-variant-numeric: tabular-nums; }
.pb-f input:focus, .pb-f select:focus { border-color: var(--pb-navy); outline: none; box-shadow: 0 0 0 3px rgba(63, 184, 216, .28); }
.pb-hint { margin: 2px 0 0; color: #6b6f73; font-size: 13px; line-height: 1.5; }
.pb-hint a { color: #1d7f9b; }
.pb-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-seg label, .pb-checks label { position: relative; cursor: pointer; }
.pb-choice label { position: relative; }
.pb-seg input, .pb-choice input, .pb-checks input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.pb-tools-strip + .pb-ask { margin-top: clamp(56px, 7vw, 96px); }
.pb-seg span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border: 1px solid #d4cfca; border-radius: 999px; color: var(--pb-navy); font-size: 15px; font-weight: 500; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.pb-seg input:checked + span { border-color: var(--pb-navy); background: var(--pb-navy); color: #fff; }
.pb-seg input:focus-visible + span, .pb-choice input:focus-visible + span, .pb-checks input:focus-visible + span { outline: 3px solid var(--pb-peach-deep); outline-offset: 2px; }
.pb-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pb-choice label { cursor: pointer; }
.pb-choice span { display: grid; gap: 2px; height: 100%; padding: 14px 16px; border: 1px solid #d4cfca; border-radius: var(--pb-radius-sm); transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease; }
.pb-choice strong { color: var(--pb-navy); font-size: 15px; }
.pb-choice small { color: #6b6f73; font-size: 13px; }
.pb-choice input:checked + span { border-color: #1d7f9b; background: #f1fafc; box-shadow: inset 0 0 0 1px #1d7f9b; }
.pb-checks { display: grid; gap: 10px; grid-column: 1 / -1; }
.pb-checks span { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #d4cfca; border-radius: var(--pb-radius-sm); color: var(--pb-navy); font-size: 15px; }
.pb-checks span::before { content: ""; flex: 0 0 auto; width: 20px; height: 20px; border: 2px solid #b9b3ad; border-radius: 6px; background: #fff center / 14px no-repeat; transition: background-color 160ms ease, border-color 160ms ease; }
.pb-checks input:checked + span { border-color: #1d7f9b; background: #f1fafc; }
.pb-checks input:checked + span::before { border-color: #1d7f9b; background-color: #1d7f9b; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

.pb-calc__result { position: sticky; top: 96px; display: grid; gap: 4px; padding: clamp(24px, 3vw, 34px); border-radius: 20px; background: radial-gradient(120% 90% at 100% 0%, #1b3247 0%, var(--pb-navy) 60%); color: rgba(255, 255, 255, .86); box-shadow: var(--pb-shadow); }
.pb-calc__label { margin: 0; color: var(--pb-peach); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.pb-calc__label--steps { margin-top: 18px; }
.pb-calc__big { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 0; color: #fff; font-size: clamp(44px, 5vw, 64px); font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.pb-calc__big span { font-size: .42em; color: rgba(255, 255, 255, .8); }
.pb-calc__big--range { font-size: clamp(30px, 3.4vw, 42px); }
.pb-calc__sub { margin: 6px 0 14px; font-size: 16px; font-variant-numeric: tabular-nums; }
.pb-calc__list { display: grid; margin: 0 0 18px; }
.pb-calc__list > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.pb-calc__list dt { font-size: 15px; }
.pb-calc__list dd { margin: 0; color: #fff; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.pb-calc__list small, .pb-dose small { display: block; color: rgba(255, 255, 255, .62); font-size: 12px; font-weight: 400; }
.pb-calc__note { margin: 0 0 16px; font-size: 14px; }
.pb-hint--light { color: rgba(255, 255, 255, .62); margin-top: 12px; }
.pb-calc__result .pb-btn { margin-top: 4px; }
.pb-dose { display: grid; margin: 8px 0 0; padding: 0; list-style: none; }
.pb-dose__item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.pb-dose__name { color: rgba(255, 255, 255, .9); font-size: 15px; }
.pb-dose strong { color: #fff; font-size: 20px; font-weight: 600; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pb-dose__warn strong, .pb-dose__warn { color: var(--pb-peach); font-size: 15px; white-space: normal; }
.pb-steps { display: grid; gap: 8px; margin: 8px 0 0; padding-left: 1.2em; font-size: 14px; line-height: 1.55; }
@media (max-width: 1000px) { .pb-calc { grid-template-columns: 1fr; } .pb-calc__result { position: static; } }
@media (max-width: 560px) {
    .pb-calc__group { grid-template-columns: 1fr; padding: 20px 16px; }
    .pb-choice { grid-template-columns: 1fr; }
    .pb-tool-body > .pb-tool { width: calc(100% - 24px); }
}
.pb-tool-body .pb-btn, .pb-tool-body .pb-tool-card h2 a { color: var(--pb-navy); }
.pb-calc__list dd { white-space: nowrap; }
@media (max-width: 560px) { .pb-calc__list > div { align-items: baseline; } .pb-calc__list dt { font-size: 14px; } }
/* Header starts at the top edge of the opening photo (no lighter band above its gradient). */
.pb-site-header { top: 0; }
.pb-site-header__inner { padding-top: 22px; }
.pb-site-header.is-stuck .pb-site-header__inner { padding-top: 14px; }
@media (max-width: 1000px) { .pb-site-header { top: 0; } .pb-site-header__inner { padding-top: 14px; } }
.wp-site-blocks > * { margin-block-start: 0 !important; }
/* Popular sizes (volume calculator children) */
.pb-tool-body > .pb-size-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; padding: 0; list-style: none; }
.pb-size-links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--pb-line); border-radius: 999px; background: #fff; color: var(--pb-navy) !important; font-weight: 500; text-decoration: none; transition: border-color 160ms ease, background-color 160ms ease; }
.pb-size-links a:hover { border-color: var(--pb-navy); }
.pb-size-links a[aria-current="page"] { border-color: var(--pb-navy); background: var(--pb-navy); color: #fff !important; }
.pb-size-links .pb-icon { color: #1d7f9b; }
.pb-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; padding: 0 !important; list-style: none; }
.pb-facts li { margin: 0 !important; padding: 16px 18px; border-radius: var(--pb-radius-sm); background: var(--pb-paper); color: var(--pb-body); font-size: 14px !important; line-height: 1.4 !important; }
.pb-facts strong { display: block; margin-bottom: 4px; color: var(--pb-navy); font-size: 22px; font-weight: 600; }
/* Privacy and other plain pages */
.pb-plain { width: min(calc(100% - 40px), 820px); margin: 0 auto; padding: clamp(44px, 6vw, 72px) 0 clamp(64px, 8vw, 100px); color: #3b3f43; font-size: 17px; line-height: 1.75; }
.pb-plain h2 { margin-top: 1.8em; color: var(--pb-navy); font-size: clamp(24px, 2.4vw, 30px); font-weight: 500; text-transform: none; }
.pb-plain a { color: #1d7f9b; }
.pb-form-note a { color: inherit; }
