/* Theme 3.2.1: fixes from the Nov 27 site visual review (ABP-63).
   Loads last. Values come from abp-tokens (brand system). */

/* ---------- Tokens added in 3.2.1 ---------- */
:root{
  --abp-price-size:44px; --abp-price-lh:48px;
  --abp-band-bleed:0 0 0 100vmax var(--abp-band);
}
/* Tablet sizes (new): the recipes only had desktop and phone. */
@media (min-width:768px) and (max-width:1023px){:root{
  --abp-display-size:52px; --abp-display-lh:58px;
  --abp-heading-size:40px; --abp-heading-lh:46px;
  --abp-title-size:26px; --abp-title-lh:32px;
  --abp-quote-size:28px; --abp-quote-lh:40px;
  --abp-price-size:40px; --abp-price-lh:44px;
}}
@media (max-width:767px){:root{--abp-price-size:36px; --abp-price-lh:40px}}
.abp-t-price{font-family:var(--abp-font-display);font-weight:400;font-size:var(--abp-price-size);line-height:var(--abp-price-lh);letter-spacing:-0.015em}

/* ---------- A: Inquire button in the phone and tablet header ---------- */
.abp-nav-cta{display:none}
@media (max-width:1100px){
  :is(#abp,html) .abp-nav{display:flex;align-items:center!important;gap:12px}
  :is(#abp,html) .abp-nav .abp-brand{margin-right:auto}
  :is(#abp,html) .abp-nav-cta{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;background:var(--abp-navy);color:var(--abp-on-night)!important;font-family:var(--abp-font-label);font-weight:600;font-size:11px;line-height:16px;letter-spacing:.14em;text-transform:uppercase;text-decoration:none!important;white-space:nowrap}
  :is(#abp,html) .abp-nav-cta:hover{background:var(--abp-navy-hover)}
}
@media (max-width:380px){:is(#abp,html) .abp-nav-cta{padding:0 12px;letter-spacing:.1em}}

/* ---------- B + G: headings and halves that fit tablet ---------- */
:is(#abp,html) :is(h1,h2,h3){text-wrap:balance}
:is(#abp,html) .eng-main h1{font-size:var(--abp-display-size)!important;line-height:var(--abp-display-lh)!important}
:is(#abp,html) .eng-main h2{font-size:var(--abp-heading-size)!important;line-height:var(--abp-heading-lh)!important}
@media (max-width:1023px){
  /* Half-width heading/text pairs stack, so headings don't squeeze into a narrow column. */
  :is(#abp,html) .eng-main :is(.eng-intro,.eng-prep){grid-template-columns:minmax(0,1fr)!important;row-gap:24px}
  :is(#abp,html) .eng-main .eng-prep>*{grid-column:1!important;grid-row:auto!important}
}

/* ---------- C: section spacing 60/36 and bands ---------- */
:is(#abp,html) .eng-main>section:not(.eng-hero),
:is(#abp,html) #wc section,
:is(#abp,html) :is(.abp-intro,.abp-about,.abp-journal,.abp-inquiry){padding-top:var(--abp-chapter)!important;padding-bottom:var(--abp-chapter)!important}
:is(#abp,html) .eng-main>section.eng-hero{padding-top:48px!important;padding-bottom:var(--abp-chapter)!important}
:is(#abp,html) .abp-work{padding-top:0!important;padding-bottom:var(--abp-chapter)!important}
@media (max-width:767px){:is(#abp,html) .eng-main>section.eng-hero{padding-top:24px!important}}
/* Investment and family use abp-page-copy chapters */
:is(#abp,html) .abp-page-body>section.abp-page-copy,:is(#abp,html) .abp-page-body>section.abp-page-ending,:is(#abp,html) main>section.abp-page-copy{padding-top:var(--abp-chapter)!important;padding-bottom:var(--abp-chapter)!important;margin:0!important}

/* Band sections bleed to the screen edge without changing the content width. */
:is(#abp,html) .abp-band,
:is(#abp,html) .eng-main>section.eng-prep,
:is(#abp,html) .eng-main>section.eng-quote+section+section.eng-wrap,
:is(#abp,html) .eng-main>section.abp-corporate-groups+section.eng-process,
:is(#abp,html) .eng-main>section.abp-corporate-faq{background:var(--abp-band)!important;box-shadow:var(--abp-band-bleed);clip-path:inset(0 -100vmax)}
/* Two band sections in a row read as one block. */
:is(#abp,html) .eng-main>section.eng-prep+section.eng-prep{padding-top:var(--abp-chapter)!important;background:transparent!important;box-shadow:none!important;clip-path:none!important}

/* Wedding collections: white page, bands on hero, add-ons and questions. */
:is(#abp,html) #wc section{background:var(--abp-canvas)!important}
:is(#abp,html) #wc section.wc-hero,:is(#abp,html) #wc section:has(.wc-extras),:is(#abp,html) #wc section.wc-faq{background:var(--abp-band)!important}
:is(#abp,html) #wc .wc-card{background:var(--abp-canvas)!important;border:1px solid var(--abp-rule)!important;display:flex;flex-direction:column}
:is(#abp,html) #wc .wc-card .wc-button{margin-top:auto}

/* Investment (5173) and family (5935): alternate bands; investment uses the full frame below the cards. */
:is(#abp,html) :is(.page-id-5173,.page-id-5935) .abp-page-body>section.abp-page-copy:nth-of-type(even){background:var(--abp-band)!important;box-shadow:var(--abp-band-bleed);clip-path:inset(0 -100vmax)}
:is(#abp,html) .page-id-5173 .abp-page-body>section.abp-page-copy{max-width:none!important;border-top:0!important}
:is(#abp,html) .page-id-5173 .abp-page-body details,:is(#abp,html) .page-id-5173 .abp-page-body>section>p{max-width:var(--abp-measure-wide)!important}
:is(#abp,html) .page-id-5173 .abp-reviews{background:transparent!important;padding:0!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important}
:is(#abp,html) .page-id-5173 .abp-reviews>figure{background:var(--abp-band)!important}
@media (max-width:1023px){:is(#abp,html) .page-id-5173 .abp-reviews{grid-template-columns:minmax(0,1fr)!important}}

/* ---------- D: prices ---------- */
:is(#abp,html) :is(.eng-price-value,#wc .wc-price,.abp-service-price,.abp-price){font-family:var(--abp-font-display)!important;font-weight:400!important;font-size:var(--abp-price-size)!important;line-height:var(--abp-price-lh)!important;letter-spacing:-0.015em!important;color:var(--abp-ink)!important;margin:8px 0 16px!important}
@media (max-width:767px){
  :is(#abp,html) .abp-service-cards>section{padding-top:24px!important;padding-bottom:24px!important;gap:12px!important}
  :is(#abp,html) #wc .wc-card{padding:24px!important}
}

/* ---------- H: one FAQ style with an open marker ---------- */
:is(#abp,html) :is(.eng-details,.eng-prep,.abp-page-body,#wc,.abp-corporate-faq) summary{list-style:none;display:flex!important;justify-content:space-between;align-items:center;gap:20px;min-height:56px;padding:14px 0!important;cursor:pointer;font-family:var(--abp-font-body)!important;font-weight:400!important;font-size:var(--abp-body-size)!important;line-height:var(--abp-body-lh)!important;color:var(--abp-ink)!important}
:is(#abp,html) :is(.eng-details,.eng-prep,.abp-page-body,#wc,.abp-corporate-faq) summary::-webkit-details-marker{display:none}
:is(#abp,html) :is(.eng-details,.eng-prep,.abp-page-body,#wc,.abp-corporate-faq) summary :is(h2,h3,h4){font:inherit!important;color:inherit!important;margin:0!important;display:inline!important}
:is(#abp,html) :is(.eng-details,.eng-prep,.abp-page-body,#wc,.abp-corporate-faq) summary::after{content:'+';flex:none;width:24px;text-align:center;font-family:var(--abp-font-body);font-size:24px;line-height:1;color:var(--abp-navy)}
:is(#abp,html) :is(.eng-details,.eng-prep,.abp-page-body,#wc,.abp-corporate-faq) details[open]>summary::after{content:'\2212'}
:is(#abp,html) .abp-page-body details{padding:0!important;border-bottom:1px solid var(--abp-rule)}
:is(#abp,html) .abp-page-body details>*:not(summary){margin:0 0 20px!important}

/* ---------- I: footer on the frame, in the night color ---------- */
:is(#abp,html) .abp-footer-designed{background:var(--abp-night)!important;color:var(--abp-on-night)!important;border-top:0!important;padding:var(--abp-chapter) 0 28px!important}
:is(#abp,html) .abp-footer-designed a{color:var(--abp-on-night)!important}
:is(#abp,html) .abp-footer-designed a:hover{color:var(--abp-on-night)!important;text-decoration:underline}
:is(#abp,html) .abp-footer-designed a:focus-visible{outline-color:var(--abp-on-night)!important}
:is(#abp,html) .abp-footer-top,:is(#abp,html) .abp-footer-photos{max-width:var(--abp-measure-frame)!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;width:calc(100% - 48px)}
:is(#abp,html) .abp-footer-top{align-items:start!important;padding-bottom:48px!important}
:is(#abp,html) .abp-footer-identity p{color:#C9CBCC}
:is(#abp,html) .abp-footer-inquire>a{border:1px solid rgba(255,255,255,.65);min-height:48px;display:inline-flex!important;align-items:center;padding:0 22px!important}
:is(#abp,html) .abp-footer-photos a:first-child{order:3}
:is(#abp,html) .abp-footer-copyright{color:#C9CBCC}
@media (max-width:800px){
  :is(#abp,html) .abp-footer-photos{width:auto;padding:0 20px 14px!important}
  :is(#abp,html) .abp-footer-contact>a{display:flex!important;justify-content:center;align-items:center;min-height:44px;margin:0!important;font-size:14px!important}
}

/* ---------- F (CSS part): photo focal points ---------- */
/* Home hero below 1024px: photo on top with both faces in frame, words below on night, so nothing covers a face. */
@media (max-width:1023px){
  :is(#abp,html) .abp-hero{background:var(--abp-night)!important;height:auto!important;min-height:0!important;max-height:none!important;display:flex;flex-direction:column}
  :is(#abp,html) .abp-hero::before{content:'';display:block;width:100%;aspect-ratio:3/2;background:url('images/Best_Houston_Wedding_Photographyer-02.jpg') 64% center/cover no-repeat}
  :is(#abp,html) .abp-hero .abp-hero-row{padding:48px 0 var(--abp-chapter)!important}
}
@media (max-width:767px){
  :is(#abp,html) .abp-hero::before{aspect-ratio:4/5;background-position:69% center}
  :is(#abp,html) .abp-hero .abp-hero-row{padding:36px 0 var(--abp-chapter)!important}
}
@media (min-width:1024px){:is(#abp,html) .abp-portrait img{object-position:center 20%!important}}

/* ---------- J (CSS part): corporate lead-ins ---------- */
:is(#abp,html) .abp-corporate-main :is(p,li)>strong:first-child{color:var(--abp-ink)!important;font-weight:600}

/* ---------- L: polish ---------- */
/* Secondary buttons on home: 1px ink outline, ink text */
:is(#abp,html) .abp-section .abp-button:not(.abp-light){border:1px solid var(--abp-ink)!important}
:is(#abp,html) .abp-section .abp-button:not(.abp-light) .x-anchor-text-primary{color:var(--abp-ink)!important}
:is(#abp,html) .abp-three .abp-button{min-height:48px!important}
/* Card links get a full tap target */
:is(#abp,html) :is(.eng-featured-sessions,.abp-featured-sessions) a.eng-text-link{display:inline-flex;align-items:center;min-height:44px}
/* Review row on the content frame; quotes use the title recipe */
:is(#abp,html) .abp-book-proof,:is(#abp,html) .abp-reviews{width:100%;max-width:none}
:is(#abp,html) .abp-reviews .abp-review-card blockquote{font-family:var(--abp-font-display)!important;font-size:var(--abp-title-size)!important;line-height:var(--abp-title-lh)!important}
/* Headings sit clear of rails and text */
:is(#abp,html) .eng-highlights h2{margin-bottom:28px!important}
:is(#abp,html) .eng-main :is(.eng-split,.eng-three) h3{margin-bottom:8px!important}
:is(#abp,html) .abp-page-body h3{margin-bottom:16px!important}
:is(#abp,html) .eng-book .eng-button+p,:is(#abp,html) .eng-book .eng-button+.eng-small{margin-top:16px!important}
/* Wedding collections labels use the kicker recipe; add-on rows line up */
:is(#abp,html) #wc .wc-eyebrow{font-family:var(--abp-font-label)!important;font-weight:600!important;font-size:var(--abp-kicker-size)!important;line-height:var(--abp-kicker-lh)!important;letter-spacing:.16em!important;text-transform:uppercase!important;color:var(--abp-muted)!important}
:is(#abp,html) #wc .wc-row{align-items:baseline!important}
:is(#abp,html) #wc .wc-row>*{font-size:var(--abp-body-size)!important;line-height:var(--abp-body-lh)!important}
:is(#abp,html) #wc .wc-split{align-items:start!important}
:is(#abp,html) #wc .wc-button{min-height:48px}
/* Section rules sit on the content frame, not 48px past it */
:is(#abp,html) .eng-main>section.eng-intro{border-top:0!important;background-image:linear-gradient(var(--abp-rule),var(--abp-rule));background-repeat:no-repeat;background-position:top center;background-size:calc(100% - 96px) 1px}
@media (max-width:800px){:is(#abp,html) .eng-main>section.eng-intro{background-size:calc(100% - 48px) 1px}}
@media (max-width:640px){:is(#abp,html) .eng-main>section.eng-intro{background-size:calc(100% - 40px) 1px}}
/* Why-choose grids: 48px between items */
:is(#abp,html) .eng-main section>.eng-split{row-gap:48px!important}
:is(#abp,html) .eng-main section>.eng-split>*>p:last-child{margin-bottom:0}
/* Footer logo in white on night */
:is(#abp,html) .abp-footer-identity .abp-brand-logo{filter:brightness(0) invert(1);opacity:.92}

/* No hairline where a band already separates the sections */
:is(#abp,html) .eng-main>section:is(.eng-quote,.eng-prep,.eng-location,.abp-corporate-faq)+section.eng-intro,
:is(#abp,html) .eng-main>section.eng-quote+section+section.eng-wrap+section.eng-intro,
:is(#abp,html) .eng-main>section.eng-quote+section+section.eng-wrap,
:is(#abp,html) .eng-main>section.abp-corporate-faq{background-image:none!important}

/* Corporate intro photos under section headings (page edit, ABP-63 J) */
:is(#abp,html) .abp-intro-photo{margin:24px 0 0;display:block;width:100%}
:is(#abp,html) .abp-intro-photo img{display:block;width:100%;height:auto}
@media (max-width:420px){:is(#abp,html) .abp-nav .abp-brand-logo{max-width:168px;height:auto}}

/* J: carousel arrows sit directly under the photo strip; phone slides leave a 40px peek */
:is(#abp,html) .eng-highlights{display:flex!important;flex-direction:column!important}
:is(#abp,html) .eng-highlights>.eng-highlight-heading{display:contents!important}
:is(#abp,html) .eng-highlights>*{order:5}
:is(#abp,html) .eng-highlights>.eng-label{order:0}
:is(#abp,html) .eng-highlights .eng-highlight-heading>h2{order:1}
:is(#abp,html) .eng-highlights>.eng-small{order:2;margin-bottom:16px}
:is(#abp,html) .eng-highlights>.eng-highlight-rail{order:3}
:is(#abp,html) .eng-highlights .eng-highlight-controls{order:4;margin-top:16px}
@media(max-width:640px){
:is(#abp,html) .eng-main .eng-highlight-rail img{height:230px!important;max-width:calc(100vw - 80px)!important;object-fit:cover}
}
:is(#abp,html) .eng-highlights .eng-highlight-heading>h2{margin-bottom:12px!important}
:is(#abp,html) .eng-highlights>.eng-small{margin-top:0!important}
:is(#abp,html) .eng-highlights>.eng-highlight-rail{padding-bottom:8px!important}
:is(#abp,html) .eng-highlights .eng-highlight-controls{margin-top:12px!important;justify-content:flex-end}

/* Pages-thread asks (investment draft 8076 + all pages) */
@media(max-width:1023px){:is(#abp,html) .abp-investment-services .abp-service-cards{grid-template-columns:1fr!important}}
@media(min-width:768px){:is(#abp,html) .abp-page-photo-grid{display:grid!important;width:100%!important;max-width:none!important;grid-template-columns:repeat(auto-fit,minmax(160px,1fr))!important;gap:16px!important}}
@media(max-width:767px){:is(#abp,html) .abp-page-photo-grid{display:grid!important;width:100%!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}}
@media(max-width:1023px){:is(#abp,html) a.eng-text-link{padding-block:11px;-webkit-box-decoration-break:clone;box-decoration-break:clone}}

/* Review round 2 (verified 3.2.1 review) */
/* Hero: tablet keeps the side-by-side layout (Akil 2026-11-27); phone stacks photo first */
@media(max-width:767px){
:is(#abp,html) .eng-main .eng-hero{grid-template-columns:minmax(0,1fr)!important;gap:32px!important}
:is(#abp,html) .eng-main .eng-hero figure{max-width:none;width:100%}
:is(#abp,html) .eng-hero>figure{order:-1}
:is(#abp,html) .eng-hero>figure img{width:100%!important;height:auto;max-height:560px;object-fit:cover;object-position:center 30%}
:is(#abp,html) #wc .wc-hero-grid{display:flex!important;flex-direction:column!important;gap:32px}
:is(#abp,html) #wc .wc-hero-image{order:-1;width:100%!important;max-width:100%!important;height:auto;max-height:560px;object-fit:cover;object-position:center 30%}
}
@media(min-width:1024px){:is(#abp,html) .eng-hero>figure{align-self:start}}
/* Phone footer: one centered axis */
@media(max-width:767px){
:is(#abp,html) .abp-footer-top{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center}
:is(#abp,html) .abp-footer-top>*{width:auto!important;margin-left:auto!important;margin-right:auto!important;display:flex;flex-direction:column;align-items:center}
:is(#abp,html) .abp-footer-contact{flex-direction:row!important;flex-wrap:wrap;justify-content:center;column-gap:8px}
:is(#abp,html) .abp-footer-contact>a:not(:has(svg)){flex-basis:100%;justify-content:center;display:flex;align-items:center}
}
/* Weddings: highlights rail on band so three white chapters don't run together */
:is(#abp,html) .postid-4297 .eng-highlights{background:var(--abp-band);box-shadow:0 0 0 100vmax var(--abp-band);clip-path:inset(0 -100vmax)}
:is(#abp,html) .eng-highlights>.eng-highlight-rail{margin-top:16px}
/* eng-book price uses the price recipe */
:is(#abp,html) .eng-price>.eng-label+h3{font-family:var(--abp-font-display)!important;font-size:var(--abp-price-size,44px)!important;line-height:var(--abp-price-lh,48px)!important;letter-spacing:-0.01em;color:var(--abp-ink)!important;margin:8px 0 12px!important}
/* Featured session links: 44px tap */
:is(#abp,html) .eng-featured-sessions span{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:767px){:is(#abp,html) #wc .wc-hero-copy{margin-left:0!important;margin-right:0!important;max-width:680px}}
:is(#abp,html) .abp-intro-photo{margin-bottom:24px!important}
/* Akil 2026-11-27: header Inquire box 20% smaller on phone/tablet; invisible tap area keeps 44px */
@media(max-width:1100px){
:is(#abp,html) .abp-nav-cta{min-height:35px!important;padding:0 13px!important;position:relative}
:is(#abp,html) .abp-nav-cta::before{content:"";position:absolute;inset:-5px -2px}
}

/* page-polish-director + final review pass (2026-11-27) */
/* Section rhythm: abp-page-copy stacked a 40px h2 margin on the 60px chapter padding (gaps ran 82-148px) */
:is(#abp,html) :is(.abp-page-copy,.abp-page-ending)>:first-child{margin-top:0!important}
:is(#abp,html) :is(.abp-page-copy,.abp-page-ending)>:last-child{margin-bottom:0!important}
/* Hero photo tops line up with the kicker instead of floating mid-column */
@media(min-width:768px){:is(#abp,html) .eng-main .eng-hero{align-items:start!important}:is(#abp,html) .eng-hero>figure{align-self:start!important;margin-top:0!important}}
/* Investment: service cards stack below 1024 on the live markup too; album feature row top-aligned */
@media(max-width:1023px){:is(#abp,html) .abp-service-cards{grid-template-columns:1fr!important;row-gap:40px}:is(#abp,html) .abp-album-closing{align-items:start!important}}
:is(#abp,html) .abp-page-photo-grid img{width:100%!important;height:auto!important;aspect-ratio:auto}
/* Desktop footer top row sits on the 1184 frame: contact left, logo centre, button right */
@media(min-width:768px){
:is(#abp,html) .abp-footer-top{display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:start;width:calc(100% - 96px)!important;max-width:1184px!important;margin-left:auto!important;margin-right:auto!important}
:is(#abp,html) .abp-footer-top>:first-child{justify-self:start!important;text-align:left!important;align-items:flex-start!important}
:is(#abp,html) .abp-footer-top>:last-child{justify-self:end!important}
}
/* No orphaned arrow or lone word on links and short paragraphs */
:is(#abp,html) :is(.eng-main,#wc,.abp-page-body) :is(p,li,a){text-wrap:pretty}

/* Re-grade pass (2026-11-28) */
/* Photo grids keep each photo's own shape: a 4:5 crop cut people out of the family group portrait */
/* Tablet footer photo strip sits on the same 48px frame as the contact row */
@media(min-width:768px) and (max-width:1023px){:is(#abp,html) .abp-footer-photos{width:calc(100% - 96px)!important;max-width:1184px!important;margin-left:auto!important;margin-right:auto!important}}
/* Journal 'Read the story' buttons: the label touched the border (0 side padding) */
:is(#abp,html) .x-anchor.abp-button{padding-left:28px!important;padding-right:28px!important}

/* ===== 3.2.2 (2026-11-28): fixes found on the exact ABP-69 draft previews ===== */
/* Tablet hero: the photo stopped ~350px down while the copy ran to ~700px. Stretch it to the copy column. */
@media(min-width:768px) and (max-width:1023px){
:is(#abp,html) .eng-main .eng-hero{align-items:stretch!important}
:is(#abp,html) .eng-hero>figure{align-self:stretch!important;display:flex!important;flex-direction:column;margin-top:0!important;margin-bottom:0!important}
:is(#abp,html) .eng-hero>figure img{flex:1 1 auto;width:100%!important;height:100%!important;min-height:0;max-height:none!important;object-fit:cover!important;object-position:50% 30%!important}
:is(#abp,html) .eng-hero>figure>picture{flex:1 1 auto;display:block!important;min-height:0;height:100%}
:is(#abp,html) #wc .wc-hero-grid{align-items:stretch!important}
:is(#abp,html) #wc .wc-hero-image{align-self:stretch!important;height:100%!important;max-height:none!important;object-fit:cover!important;object-position:50% 30%!important}
}
/* Phone hero: portrait photos made the hero ~465px tall before any copy. Cap it at 4:3, focal point high so hair isn't clipped. */
@media(max-width:767px){
:is(#abp,html) .eng-hero>figure img,:is(#abp,html) #wc .wc-hero-image{aspect-ratio:4/3!important;height:auto!important;max-height:none!important;object-fit:cover!important;object-position:50% 15%!important}
}
/* H3 subheads sat ~5px above their paragraph; give them a real gap (FAQ questions and price cards keep their own) */
:is(#abp,html) :is(.eng-main,.abp-page-body,#wc) h3:not(summary h3,.eng-label+h3){margin-bottom:12px!important}
/* Even heading lines, no one-word last lines */
:is(#abp,html) :is(h1,h2,h3),:is(#abp,html) .eng-quote :is(p,blockquote,q){text-wrap:balance}
/* Tablet price card heading broke into 3 lines in the narrow column */
@media(min-width:768px) and (max-width:1023px){:is(#abp,html) .eng-price>.eng-label+h3{font-size:32px!important;line-height:38px!important}}
/* Investment cards: link rows sit at the card bottom on one line across cards; two stacked links get a normal 8px gap */
:is(#abp,html) .abp-service-cards>section>p:has(>a.eng-text-link){margin:0!important;padding-top:0!important}
:is(#abp,html) .abp-service-cards>section>p:not(:has(>a.eng-text-link))+p:has(>a.eng-text-link){margin-top:auto!important;padding-top:20px!important}
@media(max-width:767px){:is(#abp,html) .abp-service-cards>section>p:not(:has(>a.eng-text-link))+p:has(>a.eng-text-link){padding-top:8px!important}}
:is(#abp,html) .abp-service-cards>section>p:not(.abp-service-price,:has(>a.eng-text-link)){margin-bottom:0!important}
:is(#abp,html) .abp-service-cards>section>p:has(>a.eng-text-link)+p:has(>a.eng-text-link){margin-top:-4px!important}
/* Phone album grid: an odd last photo spans both columns instead of leaving a hole */
@media(max-width:767px){:is(#abp,html) .abp-page-photo-grid>:last-child:nth-child(odd){grid-column:1/-1}}
/* Phone: when eng-split stacks, the second column ran straight into the first */
@media(max-width:767px){:is(#abp,html) .eng-main section.eng-split{row-gap:36px!important}}
/* A photo grid that ends its section doubled the chapter gap (grid 36px + section 36px) */
:is(#abp,html) section>div:last-child>.abp-page-photo-grid:last-child,:is(#abp,html) section>.abp-page-photo-grid:last-child{margin-bottom:0!important}
/* Events tablet hero: shift the focal point left so both the man and the woman stay fully in the tall crop */
@media(min-width:768px) and (max-width:1023px){:is(#abp,html) .eng-hero>figure img[src*="houston-corporate-event-photographer"]{object-position:40% 30%!important}}

/* ===== 3.2.4 (2026-11-28) second-pass draft review ===== */
/* 1, 7: no single-word last lines in review quotes or body copy */
:is(#abp,html) .abp-review-card blockquote,:is(#abp,html) .abp-review-card blockquote p,:is(#abp,html) :is(.eng-main,.abp-page-body,#wc) p{text-wrap:pretty}
/* 3: the services grid ending its section adds no extra space */
:is(#abp,html) .abp-service-cards:last-child{margin-bottom:0!important}
/* 4: hairline between neighbouring sections on the same background (class set by section-rules.js), kept inside the text column */
:is(#abp,html) .eng-main>.abp-same-bg{position:relative}
:is(#abp,html) .eng-main>.abp-same-bg::before{content:"";position:absolute;top:0;left:var(--abp-rule-l,24px);right:var(--abp-rule-r,24px);height:1px;background:var(--abp-rule,#D8D8D3)}
/* 4: two stacked blocks inside one section (phone) get the same hairline above the second kicker */
@media(max-width:767px){:is(#abp,html) .eng-main .eng-split:not(.eng-book)>div+div:has(>.eng-label:first-child){border-top:1px solid var(--abp-rule,#D8D8D3);padding-top:36px}}
/* 5: desktop intro body starts level with the heading, not the kicker */
@media(min-width:1024px){:is(#abp,html) .eng-intro:has(>.eng-intro-heading>.eng-label:first-child)>.eng-intro-body{padding-top:36px}}
/* 6: carousel crops keep heads clear of the top edge */
:is(#abp,html) :is(.eng-highlight-rail,.eng-highlights) img{object-position:50% 20%!important}
/* 8: tablet intro body keeps a readable measure */
@media(min-width:768px) and (max-width:1023px){:is(#abp,html) .eng-intro-body>p{max-width:560px}}
/* 9: a photo strip right after an intro sits closer to it, matching the space below */
:is(#abp,html) .eng-main>.eng-intro:has(+.eng-photos){padding-bottom:0!important}
:is(#abp,html) .eng-main>.eng-intro+.eng-photos{padding-top:40px!important}
@media(max-width:767px){:is(#abp,html) .eng-main>.eng-intro+.eng-photos{padding-top:16px!important}}

/* ===== 3.2.5 (2026-11-28) album grid joins its intro ===== */
/* An album photo grid right after an intro stays inside the intro's band (background and full-bleed shadow copied by section-rules.js) and sits close under it, like the photo strip in 3.2.4 */
:is(#abp,html) .eng-main>.eng-intro:has(+.abp-albums){padding-bottom:0!important}
:is(#abp,html) .eng-main>.eng-intro+.abp-albums{padding-top:40px!important}
@media(max-width:767px){:is(#abp,html) .eng-main>.eng-intro+.abp-albums{padding-top:16px!important}}

/* ===== 3.2.6 (2026-11-28) blog heading spacing ===== */
/* Root cause: system.css asked for an undefined token (--abp-space-16), so blog H2s had no bottom margin and the next paragraph sat flush. Fixed there to --abp-space-5. Headings now sit 24px above the text (16px on phone), matching the existing H3 to photo gap. Margins collapse, so bigger existing gaps stay as they are. */
:is(#abp,html) .abp-story-body :is(h2,h3){margin-bottom:var(--abp-space-5)!important}
@media(max-width:640px){:is(#abp,html) .abp-story-body :is(h2,h3){margin-bottom:var(--abp-space-4)!important}}

/* ===== 3.2.7 (2026-11-28) journal card titles ===== */
/* Root cause: system.css line 16 sets h2 to the Heading recipe (52/34) via :is(...,#wc,...) h2. The #wc id inside :is() gives that rule id-level specificity, so it beat the Title rule for .abp-story-card h2 on line 17. Cards on /journal/, its category filters and /category/ archives rendered at 52px. Cards now use the Title recipe (28 desktop, 26 tablet, 24 phone), matching the homepage journal cards. Hover underline thinned to 1px. */
:is(#abp,html) .abp-story-card h2{font-family:var(--abp-font-display)!important;font-weight:400!important;font-size:var(--abp-title-size)!important;line-height:var(--abp-title-lh)!important;letter-spacing:0!important}
:is(#abp,html) .abp-story-card a:hover h2,:is(#abp,html) .abp-story-card a:focus-visible h2{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}

/* ===== 3.2.8 (2026-11-28) journal listing polish (site-visual-review findings on 3.2.7) ===== */
/* Intro balanced (no one-word last line). "Read the story" pinned to the card bottom so links line up across a row. Tablet: filter fits one line, a lone last card centers instead of leaving a hole. Phone: filter is one sideways-scrolling row with a fade cue (navigation.js centers the active category). Pagination hides when there's only one page. */
:is(#abp,html) .abp-listing-intro{text-wrap:balance}
:is(#abp,html) .abp-story-card{display:flex;flex-direction:column}
:is(#abp,html) .abp-story-card>a{display:flex!important;flex-direction:column;flex:1}
:is(#abp,html) .abp-story-card .abp-card-action{margin-top:auto;align-self:flex-start}
@media(min-width:641px) and (max-width:1000px){
:is(#abp,html) .abp-category-nav{column-gap:16px}
:is(#abp,html) .abp-story-grid>.abp-story-card:last-child:nth-child(odd){grid-column:1/-1;width:calc(50% - 12px);justify-self:center}}
@media(max-width:640px){
:is(#abp,html) .abp-category-nav{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;scrollbar-width:none;padding-left:20px;padding-right:20px;-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent)}
:is(#abp,html) .abp-category-nav::-webkit-scrollbar{display:none}
:is(#abp,html) .abp-category-nav a{flex:0 0 auto;white-space:nowrap}}
:is(#abp,html) .abp-pagination:has(a:only-child){display:none}

/* 3.2.9: cards are flex columns since 3.2.8, so margins stopped collapsing (photo-to-title went 25 to 47px). Title margin-top zeroed; the photo's 25px margin sets the gap again. */
:is(#abp,html) .abp-story-card>a>h2{margin-top:0!important}
