/* ==========================================================================
   Single listing v2 — petermilling.com.au (2026-09-02)
   Loaded only when pm_listing_v2_active(); everything scoped to body.pm-listing-v2.
   Tokens use the site's current accent (#111659) so the page sits with the
   live header and footer; swap the tokens when the new palette ships.
   ========================================================================== */
body.pm-listing-v2 {
	--pm-navy: #111659;
	--pm-navy-deep: #0b0f3f;
	--pm-red: #d81b1e;
	--pm-ink: #1a1b22;
	--pm-soft: #5a5e6e;
	--pm-faint: #8c8f9c;
	--pm-paper: #fbfaf7;
	--pm-rail: #e4e0d4;
	--pm-rail-soft: #efece2;
	--pm-white: #fff;
	--pm-hero-h: clamp(360px, 44vw, 660px);
}

/* ---- layout ---------------------------------------------------------- */
body.pm-listing-v2 .pm-listing { background: var(--pm-paper); }
body.pm-listing-v2 .pm-wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
body.pm-listing-v2 .pm-listing a { text-decoration: none; }

/* ---- breadcrumb ------------------------------------------------------ */
body.pm-listing-v2 .pm-crumbs { border-bottom: 1px solid var(--pm-rail); background: var(--pm-paper); }
body.pm-listing-v2 .pm-crumbs .pm-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding-top: 15px; padding-bottom: 15px; font-size: 13.5px; color: var(--pm-soft); }
body.pm-listing-v2 .pm-crumbs a { color: var(--pm-soft); }
body.pm-listing-v2 .pm-crumbs a:hover { color: var(--pm-navy); }
body.pm-listing-v2 .pm-crumbs__sep { color: #c9c6ba; }
body.pm-listing-v2 .pm-crumbs__here { color: var(--pm-ink); font-weight: 600; }

/* ---- hero (EPL carousel inside our frame) ---------------------------- */
body.pm-listing-v2 .pm-hero { position: relative; margin-top: 30px; border-radius: 4px; overflow: hidden; background: #141A2E; }
body.pm-listing-v2 .pm-hero .epl-slick-carousel-outer-wrapper,
body.pm-listing-v2 .pm-hero .epl-slick-carousel-inner-wrapper,
body.pm-listing-v2 .pm-hero .epl-slick-carousel-main-wrapper { max-width: 100% !important; width: 100%; flex: none; align-self: auto; }
body.pm-listing-v2 .pm-hero .epl-slick-carousel,
body.pm-listing-v2 .pm-hero .slick-list,
body.pm-listing-v2 .pm-hero .slick-track,
body.pm-listing-v2 .pm-hero .epl-slick-item,
body.pm-listing-v2 .pm-hero .frame { height: var(--pm-hero-h) !important; margin: 0; }
body.pm-listing-v2 .pm-hero .epl-slick-item img,
body.pm-listing-v2 .pm-hero .frame img { width: 100% !important; height: 100% !important; object-fit: contain; object-position: center; display: block; background: #141A2E; }
/* video play control: frosted circle replacing the plugin's outline icon */
body.pm-listing-v2 .pm-hero .epl-caro-play-button.epl-caro-main-play-button { top: 50% !important; left: 50%; transform: translate(-50%, -50%); width: 88px; height: 88px; border-radius: 50%; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 34px rgba(0, 0, 0, .32), 0 0 0 8px rgba(255, 255, 255, .18); display: flex; align-items: center; justify-content: center; z-index: 25; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
body.pm-listing-v2 .pm-hero .epl-caro-play-button.epl-caro-main-play-button svg { display: none; }
body.pm-listing-v2 .pm-hero .epl-caro-play-button.epl-caro-main-play-button::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 13px 0 13px 23px; border-color: transparent transparent transparent var(--pm-navy); margin-left: 6px; }
body.pm-listing-v2 .pm-hero .epl-caro-play-button.epl-caro-main-play-button:hover { transform: translate(-50%, -50%) scale(1.07); background: #fff; box-shadow: 0 14px 40px rgba(0, 0, 0, .38), 0 0 0 12px rgba(255, 255, 255, .22); }
body.pm-listing-v2 .pm-hero .slick-prev,
body.pm-listing-v2 .pm-hero .slick-next { top: 50% !important; transform: translateY(-50%); z-index: 20; }
body.pm-listing-v2 .pm-hero .slick-dots { bottom: 14px; }
body.pm-listing-v2 .pm-hero__badges { position: absolute; top: 22px; left: 22px; display: flex; gap: 10px; z-index: 30; pointer-events: none; }
body.pm-listing-v2 .pm-badge { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; padding: 8px 14px 7px; border-radius: 2px; line-height: 1; }
body.pm-listing-v2 .pm-badge--hot { background: var(--pm-red); }
body.pm-listing-v2 .pm-badge--ink { background: rgba(17, 22, 89, .84); }
body.pm-listing-v2 .pm-badge--sold { background: var(--pm-ink); }
body.pm-listing-v2 .pm-hero__pills { position: absolute; bottom: 22px; right: 22px; display: flex; gap: 10px; z-index: 30; }
body.pm-listing-v2 .pm-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .95); color: var(--pm-ink) !important; font-size: 13.5px; font-weight: 600; padding: 0 18px; height: 42px; border-radius: 3px; line-height: 1; }
body.pm-listing-v2 .pm-pill i { color: var(--pm-navy); font-size: 15px; }
body.pm-listing-v2 .pm-pill:hover { background: #fff; }

/* ---- title ----------------------------------------------------------- */
body.pm-listing-v2 .pm-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding-top: 34px; }
body.pm-listing-v2 .pm-kicker { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pm-faint); margin-bottom: 12px; }
body.pm-listing-v2 .pm-title__h1 { margin: 0 0 8px; font-size: 42px; line-height: 1.1; letter-spacing: -.01em; color: var(--pm-ink); }
body.pm-listing-v2 .pm-title__h1 .entry-title-sub { display: block; }
body.pm-listing-v2 .pm-title__h1 .item-street { display: block; }
body.pm-listing-v2 .pm-title__h1 .item-suburb,
body.pm-listing-v2 .pm-title__h1 .item-state,
body.pm-listing-v2 .pm-title__h1 .item-pcode { font-size: .5em; font-weight: 500; color: var(--pm-soft); letter-spacing: 0; }
body.pm-listing-v2 .pm-title__h1 .item-suburb { text-transform: capitalize; }
body.pm-listing-v2 .pm-title__heading { margin: 6px 0 0; font-size: 20px; line-height: 1.4; color: var(--pm-soft); font-weight: 400; }

/* ---- primary band ---------------------------------------------------- */
body.pm-listing-v2 .pm-band { margin-top: 28px; border-radius: 4px; padding: 26px 34px; display: flex; align-items: center; justify-content: space-between; gap: 36px; background: var(--pm-white); border: 1px solid var(--pm-rail); color: var(--pm-ink); }
body.pm-listing-v2 .pm-band--auction { background: var(--pm-navy); border-color: var(--pm-navy); color: #fff; }
body.pm-listing-v2 .pm-band--sold { background: var(--pm-ink); border-color: var(--pm-ink); color: #fff; }
body.pm-listing-v2 .pm-band__label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 7px; }
body.pm-listing-v2 .pm-band__big,
body.pm-listing-v2 .pm-band__big .price,
body.pm-listing-v2 .pm-band__big .page-price { font-size: 27px; line-height: 1.2; font-weight: 600; color: inherit; margin: 0; padding: 0; display: block; }
body.pm-listing-v2 .pm-band__big .price .page-price { display: inline; }
body.pm-listing-v2 .pm-band__sub { font-size: 14.5px; margin-top: 5px; opacity: .78; }
body.pm-listing-v2 .pm-band__side { display: flex; align-items: center; gap: 26px; flex-shrink: 0; }
body.pm-listing-v2 .pm-band__link { color: inherit; font-size: 14.5px; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .45); padding-bottom: 2px; }
body.pm-listing-v2 .pm-band--price .pm-band__link { border-color: var(--pm-rail); }
body.pm-listing-v2 .pm-count { display: flex; gap: 14px; }
body.pm-listing-v2 .pm-count__item { text-align: center; padding: 0 10px; border-right: 1px solid rgba(255, 255, 255, .22); }
body.pm-listing-v2 .pm-count__item:last-child { border-right: 0; }
body.pm-listing-v2 .pm-count__n { display: block; font-size: 32px; line-height: 1; font-weight: 600; }
body.pm-listing-v2 .pm-count__l { display: block; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-top: 6px; }

/* ---- buttons --------------------------------------------------------- */
body.pm-listing-v2 .pm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 50px; padding: 0 24px; border-radius: 3px; font-size: 15px; font-weight: 700; line-height: 1; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
body.pm-listing-v2 .pm-btn--primary { background: var(--pm-navy); color: #fff !important; border: 1px solid var(--pm-navy); }
body.pm-listing-v2 .pm-btn--primary:hover { background: var(--pm-navy-deep); }
body.pm-listing-v2 .pm-btn--outline { background: #fff; color: var(--pm-navy) !important; border: 1px solid var(--pm-navy); }
body.pm-listing-v2 .pm-btn--outline:hover { background: var(--pm-navy); color: #fff !important; }
body.pm-listing-v2 .pm-btn--white { background: #fff; color: var(--pm-navy) !important; border: 1px solid #fff; }
body.pm-listing-v2 .pm-band--price .pm-btn--white { background: var(--pm-navy); color: #fff !important; border-color: var(--pm-navy); }
body.pm-listing-v2 .pm-btn--block { width: 100%; }

/* ---- facts strip ----------------------------------------------------- */
body.pm-listing-v2 .pm-facts { margin-top: 22px; background: var(--pm-white); border: 1px solid var(--pm-rail); border-radius: 4px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
body.pm-listing-v2 .pm-facts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.pm-listing-v2 .pm-facts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.pm-listing-v2 .pm-facts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.pm-listing-v2 .pm-facts--1 { grid-template-columns: 1fr; }
body.pm-listing-v2 .pm-fact { padding: 22px 26px; border-right: 1px solid var(--pm-rail-soft); }
body.pm-listing-v2 .pm-fact:last-child { border-right: 0; }
body.pm-listing-v2 .pm-fact__label { display: block; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pm-faint); margin-bottom: 8px; }
body.pm-listing-v2 .pm-fact__value { display: block; font-size: 21px; font-weight: 600; color: var(--pm-ink); line-height: 1.2; }

/* ---- body grid ------------------------------------------------------- */
body.pm-listing-v2 .pm-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; padding-top: 48px; }
body.pm-listing-v2 .pm-section { margin-bottom: 46px; }
body.pm-listing-v2 .pm-h2 { margin: 0 0 18px; font-size: 27px; line-height: 1.2; color: var(--pm-ink); }
body.pm-listing-v2 .pm-h2__count { font-size: .6em; font-weight: 500; color: var(--pm-faint); margin-left: 6px; }

/* description */
body.pm-listing-v2 .pm-desc { font-size: 16.5px; line-height: 1.72; color: #34363f; position: relative; }
body.pm-listing-v2 .pm-desc p { margin: 0 0 18px; }
body.pm-listing-v2 .pm-desc.is-collapsed { max-height: 560px; overflow: hidden; }
body.pm-listing-v2 .pm-desc.is-collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to bottom, rgba(251, 250, 247, 0), var(--pm-paper)); }
body.pm-listing-v2 .pm-desc__more { margin-top: 10px; background: none; border: 0; padding: 0; color: var(--pm-navy); font-size: 15px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
body.pm-listing-v2 .pm-desc__more[hidden] { display: none; }

/* features (EPL lists) */
body.pm-listing-v2 .pm-features ul { list-style: none !important; margin: 0; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
body.pm-listing-v2 .pm-features li::marker { content: none !important; }
body.pm-listing-v2 .pm-features li { list-style: none !important; margin: 0; padding: 11px 0 11px 28px; border-bottom: 1px solid var(--pm-rail-soft); font-size: 15.5px; color: #34363f; position: relative; }
body.pm-listing-v2 .pm-features li::before { content: "\f00c"; font-family: FontAwesome, "Font Awesome 5 Free", "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 12px; color: var(--pm-navy); font-size: 13px; }
body.pm-listing-v2 .pm-features h3,
body.pm-listing-v2 .pm-features h4,
body.pm-listing-v2 .pm-features .epl-tab-title-property-features { display: none; }
body.pm-listing-v2 .pm-features .epl-tab-title { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--pm-faint); margin: 22px 0 8px; }

/* map */
body.pm-listing-v2 .pm-map { border-radius: 4px; overflow: hidden; border: 1px solid var(--pm-rail); min-height: 340px; background: #edebe2; }
body.pm-listing-v2 .pm-map > div,
body.pm-listing-v2 .pm-map .epl-map-wrapper,
body.pm-listing-v2 .pm-map #epl-map { min-height: 340px; }

/* gallery */
body.pm-listing-v2 .pm-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
body.pm-listing-v2 .pm-gallery .gallery-box { margin: 0; }
body.pm-listing-v2 .pm-gallery .gal-image a { display: block; aspect-ratio: 4 / 3; border-radius: 3px; overflow: hidden; background: #e9e6dd; }
body.pm-listing-v2 .pm-gallery .gal-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
body.pm-listing-v2 .pm-gallery .gal-image a:hover img { transform: scale(1.03); }

/* ---- rail ------------------------------------------------------------ */
body.pm-listing-v2 .pm-rail__sticky { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 18px; }
body.pm-listing-v2 .pm-card { background: var(--pm-white); border: 1px solid var(--pm-rail); border-radius: 4px; padding: 24px 24px 26px; }
body.pm-listing-v2 .pm-card--soft { background: var(--pm-paper); }
body.pm-listing-v2 .pm-card__h { margin: 0 0 12px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pm-faint); }
body.pm-listing-v2 .pm-card--soft .pm-card__h { color: var(--pm-navy); }
body.pm-listing-v2 .pm-card p { font-size: 15px; line-height: 1.6; color: #34363f; margin: 0 0 16px; }
body.pm-listing-v2 .pm-card__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--pm-rail-soft); }

/* EPL author box, compacted and made consistent across post types */
body.pm-listing-v2 .pm-agent .epl-author-box-container,
body.pm-listing-v2 .pm-agent .epl-author-box-wrapper { margin: 0; padding: 0; }
body.pm-listing-v2 .pm-agent .epl-author-box-card { margin: 0 0 16px; padding: 0; border: 0; box-shadow: none; background: none; }
body.pm-listing-v2 .pm-agent .epl-author-box-card:last-child { margin-bottom: 0; }
body.pm-listing-v2 .pm-agent .epl-author-box__flat .epl-author-box-outer-wrapper,
body.pm-listing-v2 .pm-agent .epl-author-box-outer-wrapper { display: flex !important; align-items: center; gap: 16px; position: static; text-align: left; }
body.pm-listing-v2 .pm-agent .epl-author-image { position: static !important; float: none !important; width: 72px !important; height: 72px; flex-shrink: 0; margin: 0 !important; }
body.pm-listing-v2 .pm-agent .epl-author-image img { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; display: block; }
body.pm-listing-v2 .pm-agent .epl-author-details { width: auto !important; padding: 0 !important; min-width: 0; }
body.pm-listing-v2 .pm-agent .epl-author-title { font-size: 17px; font-weight: 700; margin: 0 0 3px; line-height: 1.2; }
body.pm-listing-v2 .pm-agent .epl-author-position { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--pm-faint); margin: 0 0 8px; }
body.pm-listing-v2 .pm-agent .epl-author-contact-details,
body.pm-listing-v2 .pm-agent .epl-author-box-contact-details { text-align: left; padding: 0 !important; width: auto !important; }
body.pm-listing-v2 .pm-agent .epl-author-contact { margin: 0 12px 0 0; display: inline-block; }
body.pm-listing-v2 .pm-agent .epl-author-contact .epl-value a { display: inline-flex !important; width: auto !important; height: auto !important; line-height: 1.4 !important; font-size: 14.5px; font-weight: 600; color: var(--pm-navy); }
body.pm-listing-v2 .pm-agent .epl-author-social,
body.pm-listing-v2 .pm-agent .epl-author-box-social { display: none; }

/* documents list */
body.pm-listing-v2 .pm-docs { list-style: none !important; margin: 0; padding: 0 !important; }
body.pm-listing-v2 .pm-docs li { list-style: none !important; margin: 0; padding: 0; border-bottom: 1px solid var(--pm-rail-soft); }
body.pm-listing-v2 .pm-docs li::before, body.pm-listing-v2 .pm-docs li::marker { content: none !important; }
body.pm-listing-v2 .pm-docs li:last-child { border-bottom: 0; }
body.pm-listing-v2 .pm-docs a { display: flex; align-items: center; gap: 12px; padding: 12px 0; font-size: 15px; color: var(--pm-ink); }
body.pm-listing-v2 .pm-docs a i { color: var(--pm-navy); width: 18px; text-align: center; }
body.pm-listing-v2 .pm-docs a:hover { color: var(--pm-navy); }
body.pm-listing-v2 .pm-docs__epl { margin-top: 6px; }
body.pm-listing-v2 .pm-docs__epl .epl-button-wrapper { margin: 0; padding: 0; }
body.pm-listing-v2 .pm-docs__epl .epl-button { display: flex; align-items: center; gap: 12px; width: auto; height: auto; line-height: 1.4; padding: 12px 0 !important; margin: 0; background: none !important; border: 0; border-bottom: 1px solid var(--pm-rail-soft); border-radius: 0; color: var(--pm-ink) !important; font-size: 15px; font-weight: 400; text-transform: none; letter-spacing: 0; box-shadow: none; }
body.pm-listing-v2 .pm-docs__epl .epl-button:last-child { border-bottom: 0; }
body.pm-listing-v2 .pm-docs__epl .epl-button::before { content: "\f15b"; font-family: FontAwesome, "Font Awesome 5 Free", "Font Awesome 6 Free"; font-weight: 900; font-size: 14px; position: static; margin: 0; width: 18px; height: auto; line-height: 1; color: var(--pm-navy); background: none !important; text-align: center; }
body.pm-listing-v2 .pm-docs__epl .epl-custom-button-property_video_url::before { content: "\f144"; }
body.pm-listing-v2 .pm-docs__epl .epl-button.button-br::before { content: "\f1c1"; }
body.pm-listing-v2 .pm-docs__epl .epl-button:hover { color: var(--pm-navy) !important; }
body.pm-listing-v2 .pm-card--insp .widget-title { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pm-faint); margin: 0 0 12px; }
body.pm-listing-v2 .pm-card--insp .epl-block-widget-inner { font-size: 15px; }

/* ---- similar --------------------------------------------------------- */
body.pm-listing-v2 .pm-similar { border-top: 1px solid var(--pm-rail); padding-top: 52px; margin-bottom: 70px; }
body.pm-listing-v2 .pm-similar__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; }
body.pm-listing-v2 .pm-similar__head .pm-h2 { margin: 0; }
body.pm-listing-v2 .pm-more { font-size: 14.5px; font-weight: 700; color: var(--pm-navy); display: inline-flex; align-items: center; gap: 8px; }
body.pm-listing-v2 .pm-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
body.pm-listing-v2 .pm-lcard { display: block; background: var(--pm-white); border: 1px solid var(--pm-rail); border-radius: 3px; overflow: hidden; color: var(--pm-ink); }
body.pm-listing-v2 .pm-lcard__img { display: block; position: relative; height: 210px; background: #e9e6dd; }
body.pm-listing-v2 .pm-lcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.pm-listing-v2 .pm-lcard__img .pm-badge { position: absolute; top: 14px; left: 14px; font-size: 10px; }
body.pm-listing-v2 .pm-lcard__price { display: block; padding: 20px 22px 0; font-size: 21px; font-weight: 600; }
body.pm-listing-v2 .pm-lcard__addr { display: block; padding: 6px 22px 0; font-size: 15px; font-weight: 600; }
body.pm-listing-v2 .pm-lcard__meta { display: block; padding: 4px 22px 22px; font-size: 13.5px; color: var(--pm-soft); }
body.pm-listing-v2 .pm-lcard:hover { border-color: var(--pm-navy); }

/* ---- enquiry slide-out ---------------------------------------------- */
body.pm-listing-v2 .pm-backdrop { position: fixed; inset: 0; background: rgba(15, 20, 50, .55); z-index: 9998; }
body.pm-listing-v2 .pm-backdrop[hidden] { display: none; }
body.pm-listing-v2 .pm-panel { position: fixed; top: 0; right: 0; bottom: 0; width: 100%; max-width: 480px; background: #fff; box-shadow: -8px 0 40px rgba(0, 0, 0, .18); transform: translateX(100%); transition: transform .35s cubic-bezier(.4, 0, .2, 1); z-index: 9999; overflow-y: auto; -webkit-overflow-scrolling: touch; visibility: hidden; }
body.pm-listing-v2 .pm-panel.is-open { transform: translateX(0); visibility: visible; }
body.pm-listing-v2 .pm-panel__inner { padding: 58px 34px 40px; }
body.pm-listing-v2 .pm-panel__close { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; line-height: 1; font-size: 28px; color: var(--pm-navy); background: none; border: 0; cursor: pointer; padding: 0; }
body.pm-listing-v2 .pm-panel__title { margin: 0 0 6px; font-size: 23px; line-height: 1.25; color: var(--pm-ink); }
body.pm-listing-v2 .pm-panel__addr { margin: 0 0 22px; font-size: 14.5px; color: var(--pm-soft); }
body.pm-listing-v2 .pm-panel__addr .item-state,
body.pm-listing-v2 .pm-panel__addr .item-pcode { display: none; }
body.pm-listing-v2 .pm-panel__agent { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--pm-rail-soft); }
body.pm-listing-v2 .pm-panel__agent .epl-author-box-outer-wrapper { display: flex !important; align-items: center; gap: 14px; position: static; text-align: left; }
body.pm-listing-v2 .pm-panel__agent .epl-author-image { position: static !important; float: none !important; width: 54px !important; margin: 0 !important; }
body.pm-listing-v2 .pm-panel__agent .epl-author-image img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
body.pm-listing-v2 .pm-panel__agent .epl-author-details { padding: 0 !important; width: auto !important; max-width: none !important; flex: 1 1 auto; min-width: 0; float: none !important; }
body.pm-listing-v2 .pm-panel__agent .epl-author-title, body.pm-listing-v2 .pm-panel__agent .epl-author-title::after { white-space: nowrap; }
body.pm-listing-v2 .pm-panel__agent .epl-author-title { font-size: 15px; margin: 0; }
body.pm-listing-v2 .pm-panel__agent .epl-author-position,
body.pm-listing-v2 .pm-panel__agent .epl-author-contact,
body.pm-listing-v2 .pm-panel__agent .epl-author-social { display: none; }
body.pm-listing-v2 .pm-panel__agent .epl-author-box-container, body.pm-listing-v2 .pm-panel__agent .epl-author-box-wrapper { padding: 0 !important; margin: 0 !important; min-height: 0; background: none; border: 0; box-shadow: none; }
body.pm-listing-v2 .pm-panel__agent .epl-author-contact-details { padding: 0 !important; margin: 0 !important; text-align: left; }
body.pm-listing-v2 .pm-panel__agent .epl-author-title a { color: var(--pm-ink); }
body.pm-listing-v2 .pm-panel__agent .epl-author-title::after { content: "Listing agent"; display: block; font-size: 12px; font-weight: 400; color: var(--pm-faint); margin-top: 2px; }
body.pm-listing-v2 .pm-panel #listing-contact.epl-entry-form { padding: 0; display: block; }
body.pm-listing-v2 .pm-panel .gform_wrapper { margin: 0; }
body.pm-listing-v2 .pm-panel .gform_wrapper input[type=text],
body.pm-listing-v2 .pm-panel .gform_wrapper input[type=email],
body.pm-listing-v2 .pm-panel .gform_wrapper input[type=tel],
body.pm-listing-v2 .pm-panel .gform_wrapper select,
body.pm-listing-v2 .pm-panel .gform_wrapper textarea { width: 100%; }
body.pm-listing-v2 .pm-panel .gform_wrapper .gform_footer { padding: 12px 0 0; margin: 0; }
body.pm-listing-v2 .pm-panel .gform_wrapper .gform_button { background: var(--pm-navy); color: #fff; border: 0; border-radius: 3px; padding: 16px 30px; font-size: 15px; font-weight: 700; cursor: pointer; width: 100%; }
body.pm-listing-v2 .pm-panel .gform_wrapper .gform_button:hover { background: var(--pm-navy-deep); }
body.pm-listing-v2.pm-panel-open { overflow: hidden; }

/* ---- mobile bar ------------------------------------------------------ */
body.pm-listing-v2 .pm-mbar { display: none; }

/* ---- responsive ------------------------------------------------------ */
@media (max-width: 1100px) {
	body.pm-listing-v2 .pm-body { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; }
	body.pm-listing-v2 .pm-title__h1 { font-size: 36px; }
}
@media (max-width: 999px) {
	body.pm-listing-v2 { --pm-hero-h: clamp(300px, 56vw, 480px); padding-bottom: 78px; }
	body.pm-listing-v2 .pm-body { grid-template-columns: 1fr; gap: 36px; }
	body.pm-listing-v2 .pm-rail__sticky { position: static; }
	body.pm-listing-v2 .pm-facts,
	body.pm-listing-v2 .pm-facts--4,
	body.pm-listing-v2 .pm-facts--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	body.pm-listing-v2 .pm-fact { padding: 18px 20px; }
	body.pm-listing-v2 .pm-fact:nth-child(3n) { border-right: 0; }
	body.pm-listing-v2 .pm-fact:nth-child(n+4) { border-top: 1px solid var(--pm-rail-soft); }
	body.pm-listing-v2 .pm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.pm-listing-v2 .pm-mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9500; display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--pm-rail); box-shadow: 0 -6px 18px rgba(20, 23, 44, .13); }
	body.pm-listing-v2 .pm-mbar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 3px; font-size: 15px; font-weight: 700; line-height: 1; }
	body.pm-listing-v2 .pm-mbar__call { border: 1px solid var(--pm-navy); color: var(--pm-navy) !important; background: #fff; }
	body.pm-listing-v2 .pm-mbar__enq { background: var(--pm-navy); color: #fff !important; border: 1px solid var(--pm-navy); }
	body.pm-listing-v2 .pm-mbar a[hidden] { display: none; }
	body.pm-listing-v2.pm-panel-open .pm-mbar { display: none; }
}
@media (max-width: 690px) {
	body.pm-listing-v2 { --pm-hero-h: clamp(220px, 64vw, 360px); }
	body.pm-listing-v2 .pm-hero .epl-caro-play-button.epl-caro-main-play-button { width: 64px; height: 64px; }
	body.pm-listing-v2 .pm-hero .epl-caro-play-button.epl-caro-main-play-button::before { border-width: 10px 0 10px 17px; margin-left: 4px; }
	body.pm-listing-v2 .pm-wrap { padding: 0 18px; }
	body.pm-listing-v2 .pm-hero { margin-top: 16px; border-radius: 3px; }
	body.pm-listing-v2 .pm-hero__badges { top: 12px; left: 12px; }
	body.pm-listing-v2 .pm-hero__pills { bottom: 12px; right: 12px; gap: 6px; }
	body.pm-listing-v2 .pm-pill { height: 36px; padding: 0 12px; font-size: 12.5px; }
	body.pm-listing-v2 .pm-title { padding-top: 22px; }
	body.pm-listing-v2 .pm-title__h1 { font-size: 28px; }
	body.pm-listing-v2 .pm-title__heading { font-size: 17px; }
	body.pm-listing-v2 .pm-band { flex-direction: column; align-items: flex-start; padding: 22px 20px; gap: 18px; }
	body.pm-listing-v2 .pm-band__side { width: 100%; flex-wrap: wrap; gap: 14px; }
	body.pm-listing-v2 .pm-band__side .pm-btn { flex: 1 1 100%; }
	body.pm-listing-v2 .pm-band__big,
	body.pm-listing-v2 .pm-band__big .price,
	body.pm-listing-v2 .pm-band__big .page-price { font-size: 22px; }
	body.pm-listing-v2 .pm-facts,
	body.pm-listing-v2 .pm-facts--3,
	body.pm-listing-v2 .pm-facts--4,
	body.pm-listing-v2 .pm-facts--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.pm-listing-v2 .pm-fact:nth-child(3n) { border-right: 1px solid var(--pm-rail-soft); }
	body.pm-listing-v2 .pm-fact:nth-child(2n) { border-right: 0; }
	body.pm-listing-v2 .pm-fact:nth-child(n+3) { border-top: 1px solid var(--pm-rail-soft); }
	body.pm-listing-v2 .pm-fact__value { font-size: 18px; }
	body.pm-listing-v2 .pm-body { padding-top: 30px; }
	body.pm-listing-v2 .pm-h2 { font-size: 23px; }
	body.pm-listing-v2 .pm-features ul { grid-template-columns: 1fr; }
	body.pm-listing-v2 .pm-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	body.pm-listing-v2 .pm-cards { grid-template-columns: 1fr; }
	body.pm-listing-v2 .pm-panel { max-width: 100%; }
	body.pm-listing-v2 .pm-panel__inner { padding: 54px 20px 32px; }
}
@media (prefers-reduced-motion: reduce) {
	body.pm-listing-v2 .pm-panel { transition: none; }
	body.pm-listing-v2 .pm-gallery .gal-image img { transition: none; }
}

/* agent card contact rows (EPL author box) — 2026-09-02 */
body.pm-listing-v2 .pm-rail .epl-author-contact { margin: 0 0 8px; }
body.pm-listing-v2 .pm-rail .epl-author-contact .epl-value { display: block; }
body.pm-listing-v2 .pm-rail .epl-author-contact a { display: inline-flex !important; align-items: center; gap: 10px; padding: 0 !important; margin: 0; border: 0 !important; background: none !important; box-shadow: none; border-radius: 0; font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--pm-ink) !important; text-decoration: none; }
body.pm-listing-v2 .pm-rail .epl-author-contact a:hover { color: var(--pm-navy) !important; }
body.pm-listing-v2 .pm-rail .epl-author-contact a i { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--pm-rail-soft); color: var(--pm-navy); font-size: 13px; margin: 0; flex: none; }
body.pm-listing-v2 .pm-rail .epl-author-contact a i::before { margin: 0; }
body.pm-listing-v2 .pm-rail .epl-author-title { margin: 0 0 8px; font-size: 17px; }

/* mobile once-over — 2026-09-02 */
body.pm-listing-v2 .pm-gallery .pm-gal-hide { display: none !important; }
body.pm-listing-v2 .pm-gallery__more { display: block; width: 100%; margin: 14px 0 0; padding: 13px 16px; border: 1px solid var(--pm-navy); border-radius: 3px; background: #fff; color: var(--pm-navy); font-size: 14.5px; font-weight: 600; cursor: pointer; }
body.pm-listing-v2 .pm-similar__head .pm-more { white-space: nowrap; }
@media (max-width: 767px) {
	body.pm-listing-v2 .pm-mbar__enq { white-space: nowrap; }
	body.pm-listing-v2 .pm-band--auction .pm-band__actions { flex-direction: column; align-items: stretch; gap: 10px; }
	body.pm-listing-v2 .pm-band--auction .pm-band__link { text-align: center; display: block; }
}

/* enquiry panel form polish — 2026-09-02 */
body.pm-listing-v2 .pm-panel .gform_wrapper .gform_required_legend { font-size: 13px; color: var(--pm-faint); margin: 0 0 14px; }
body.pm-listing-v2 .pm-panel .gform_wrapper .gfield_label, body.pm-listing-v2 .pm-panel .gform_wrapper legend.gfield_label { font-size: 14.5px; font-weight: 600; color: var(--pm-ink); margin: 0 0 8px; padding: 0; }
body.pm-listing-v2 .pm-panel .gform_wrapper .gfield_required { margin: 0 0 0 3px !important; padding: 0 !important; }
body.pm-listing-v2 .pm-panel .gfield_checkbox { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
body.pm-listing-v2 .pm-panel .gfield_checkbox .gchoice { display: flex !important; align-items: center; justify-content: flex-start !important; gap: 10px; margin: 0 !important; padding: 0 !important; width: auto !important; max-width: none !important; }
body.pm-listing-v2 .pm-panel .gfield_checkbox .gchoice label { margin: 0 !important; padding: 0 !important; font-size: 15px; font-weight: 400; color: var(--pm-ink); text-align: left; line-height: 1.3; cursor: pointer; }
body.pm-listing-v2 .pm-panel input.gfield-choice-input[type="checkbox"] { -webkit-appearance: none; appearance: none; width: 20px !important; height: 20px !important; min-width: 20px; margin: 0 !important; padding: 0; border: 1.5px solid #b9b6ad; border-radius: 4px; background: #fff; position: relative; flex: none; cursor: pointer; vertical-align: middle; box-shadow: none; outline-offset: 2px; }
body.pm-listing-v2 .pm-panel input.gfield-choice-input[type="checkbox"]:checked { background: var(--pm-navy); border-color: var(--pm-navy); }
body.pm-listing-v2 .pm-panel input.gfield-choice-input[type="checkbox"]:checked::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
body.pm-listing-v2 .pm-panel input.gfield-choice-input[type="checkbox"]::before { content: none !important; }
body.pm-listing-v2 .pm-panel .gform_wrapper input[type="text"], body.pm-listing-v2 .pm-panel .gform_wrapper input[type="email"], body.pm-listing-v2 .pm-panel .gform_wrapper input[type="tel"], body.pm-listing-v2 .pm-panel .gform_wrapper select, body.pm-listing-v2 .pm-panel .gform_wrapper textarea { width: 100%; border: 1px solid #d9d6cc !important; border-radius: 4px; background: #fff !important; padding: 12px 14px !important; font-size: 15px; color: var(--pm-ink); box-shadow: none; }
body.pm-listing-v2 .pm-panel .gform_wrapper input:focus, body.pm-listing-v2 .pm-panel .gform_wrapper select:focus, body.pm-listing-v2 .pm-panel .gform_wrapper textarea:focus { border-color: var(--pm-navy) !important; outline: 2px solid rgba(17, 22, 89, .18); outline-offset: 0; }
body.pm-listing-v2 .pm-panel .gform_wrapper textarea { min-height: 130px; }
body.pm-listing-v2 .pm-panel .gform_wrapper .gform_fields { row-gap: 18px; }
body.pm-listing-v2 .pm-panel .gform_wrapper .gfield_description { font-size: 13px; color: var(--pm-faint); }
@media (max-width: 480px) { body.pm-listing-v2 .pm-panel .gfield_checkbox { grid-template-columns: 1fr; } }
