/* bridge2.css — page-specific bridges kept AFTER the X10 pass (2026-07-16).
   The old hero light-variant, proof-strip centering, and service-card equal-height
   overrides were removed: the X10 layer in the customizer CSS owns those now. */

/* Spread background: the theme puts margin-bottom on figures, which shrinks the
   absolutely-positioned background and leaves a gray band under each spread. */
.spread .spread-bg { margin: 0 !important; }

/* Contact page grid */
.contact-grid > .wp-block-group__inner-container { display: contents; }
.contact .contact-grid { display: grid !important; grid-template-columns: 1.2fr 1fr !important; gap: 64px; align-items: start; }
@media (max-width: 860px) { .contact .contact-grid { grid-template-columns: 1fr !important; } }

/* Lectures page: alternating bands + offering meta */
.lecture-item { padding-block: clamp(40px, 8vw, 96px) !important; }
.lecture-item.alt { background: #F0DDD6; }
.lecture-item h2 { margin-bottom: 8px; }
.lecture-sub { color: #8E4B55; font-weight: 600; margin-top: 0; font-size: 1.05rem; }
.lecture-item .check-list { margin-top: 16px; }
.lecture-meta { color: #55453F; font-size: 0.95rem; margin-top: 16px; }

/* FAQ page: alternating section bands */
.journey.alt-bg { background: #F0DDD6; }

/* Proof names as flowing wordmarks (blocks markup has .pub/.person directly in .proof-row) */
.proof-label { color: #C48B94 !important; letter-spacing: 0.08em; font-weight: 700; font-size: 0.8rem; opacity: 0.9; }
.pub { font-family: "Frank Ruhl Libre", Georgia, serif !important; font-size: 1.15rem !important; letter-spacing: 0.04em; color: #F1E7E3 !important; }
.person { font-size: 1.05rem !important; color: #F1E7E3 !important; letter-spacing: 0.01em; }
@media (max-width: 600px) { .pub { font-size: 1.02rem !important; } .person { font-size: 0.98rem !important; } }

/* ================= X10 inner pages (ratified direction, 2026-07-16) =================
   Two hero families, decided by content:
   - a page-hero WITH a photo becomes a full-bleed photographic hero (like the homepage);
   - a page-hero WITHOUT a photo becomes an ink-drenched typographic opening,
     echoing the homepage covers fold. */

/* --- photographic page-hero (bridal / events / productions / about) --- */
.page-hero:has(.page-hero-img) { position: relative; background: transparent; min-height: 88svh; display: flex; align-items: flex-end; padding: 0; }
@media (min-width: 861px) { .page-hero:has(.page-hero-img) { min-height: min(80svh, 780px); } }
.page-hero:has(.page-hero-img)::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(26,26,26,0.86) 0%, rgba(26,26,26,0.68) 45%, rgba(26,26,26,0.42) 72%, rgba(26,26,26,0.18) 100%); }
/* desktop: the text column sits on the inline-start (right in RTL) side, so a side
   gradient joins the vertical one and the full-height mobile blanket is relaxed */
@media (min-width: 861px) {
  .page-hero:has(.page-hero-img)::after {
    background: linear-gradient(to left, rgba(26,26,26,0.50) 0%, rgba(26,26,26,0.14) 45%, rgba(26,26,26,0) 65%),
      linear-gradient(to top, rgba(26,26,26,0.80) 0%, rgba(26,26,26,0.45) 45%, rgba(26,26,26,0.05) 80%); }
}
/* the grid must stay STATIC so the absolute image resolves against the hero itself;
   only the text children get lifted above the scrim */
.page-hero:has(.page-hero-img) .page-hero-grid { display: block !important; position: static; width: 100%; padding-block: clamp(30px, 6vw, 64px); }
.page-hero:has(.page-hero-img) .page-hero-grid > *:not(.page-hero-img) { position: relative; z-index: 2; }
/* classic theme wraps group children in .wp-block-group__inner-container, so the
   direct-child lift above never matches there; lift through the wrapper too */
.page-hero:has(.page-hero-img) .page-hero-grid > .wp-block-group__inner-container > *:not(.page-hero-img) { position: relative; z-index: 2; }
.page-hero .page-hero-img { position: absolute; inset: 0; z-index: 0; margin: 0 !important; border-radius: 0; overflow: hidden; }
.page-hero .page-hero-img img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 22%; }
/* Bridal hero is a full-length composition (bride twirling), so on the wide desktop
   band the default 22% crop lands on her torso and drops her head. Anchor the desktop
   band near the top so the face stays in frame. Mobile keeps its tall 22% crop (the
   whole figure shows there); the other photographic heroes are face close-ups and are
   left untouched. */
@media (min-width: 861px) {
  body.page-id-10 .page-hero .page-hero-img img { object-position: 50% 4%; }
}
.page-hero:has(.page-hero-img) h1 { color: #FFFFFF; font-size: clamp(2.3rem, 8.6vw, 4rem); line-height: 1.1; max-width: 16ch; }
.page-hero:has(.page-hero-img) .lead-sub { color: #F0DDD6; }
.page-hero:has(.page-hero-img) p { color: #F0DDD6; }
.page-hero:has(.page-hero-img) .check-list li { color: #F9F1ED; }
.page-hero:has(.page-hero-img) .btn-secondary .wp-block-button__link { color: #F9F1ED; border-color: #F9F1ED; }
.page-hero:has(.page-hero-img) .btn-secondary .wp-block-button__link:hover { background: #F9F1ED; color: #1A1A1A; }

/* --- typographic page-hero (lectures / faq / reviews / contact / portfolio) --- */
.page-hero:not(:has(.page-hero-img)) { background: #1A1A1A; padding-block: clamp(64px, 14vw, 110px); }
.page-hero:not(:has(.page-hero-img)) h1 { color: #F9F1ED; font-size: clamp(2.3rem, 8.6vw, 4rem); line-height: 1.1; }
.page-hero:not(:has(.page-hero-img)) .lead-sub { color: #C48B94; }
.page-hero:not(:has(.page-hero-img)) p { color: #F0DDD6; }
.page-hero:not(:has(.page-hero-img)) a { color: #F9F1ED; }
.page-hero:not(:has(.page-hero-img)) .btn-secondary .wp-block-button__link { color: #F9F1ED; border-color: #F9F1ED; }
.page-hero:not(:has(.page-hero-img)) .btn-secondary .wp-block-button__link:hover { background: #F9F1ED; color: #1A1A1A; }

/* --- the belief quote: full editorial weight, no card --- */
.belief { border-radius: 0; padding: clamp(34px, 7vw, 64px); }
.belief p { font-size: clamp(1.35rem, 4.6vw, 1.9rem); line-height: 1.5; }
.belief cite { font-size: 0.95rem; }

/* --- contact form: editorial, boxless (important: the base form rules load after this file) --- */
.inquiry-form { background: transparent !important; border-radius: 0 !important; padding: 0 !important; gap: 24px !important; }
.form-field { gap: 2px !important; }
.form-field label { font-size: 0.92rem; color: #55453F; }
.form-field input, .form-field select {
  background: transparent !important; border: 0 !important; border-bottom: 1px solid rgba(85, 69, 63, 0.6) !important;
  border-radius: 0 !important; padding-inline: 2px !important; min-height: 44px !important; padding-block: 6px !important; }
.form-field input:focus-visible, .form-field select:focus-visible {
  outline: none !important; border-bottom: 2px solid #96525C !important; }

/* --- homepage about: the go-link matches the spread link pattern, on light bg --- */
.about .go a { color: #1A1A1A; font-weight: 700; text-decoration: none; border-bottom: 1px solid #C48B94; padding-bottom: 3px; }
.about .go a:hover { border-bottom-color: #96525C; }

/* --- 404: designed, not default --- */
.error404 .content-container, .error404 .content-bg { background: transparent !important; box-shadow: none !important; }
.error404 .entry-title { font-size: clamp(2.1rem, 8vw, 3.2rem); }

/* ================= 2026-07-17 pass: Heebo + pill buttons + open journey =================
   Ordering note: the customizer CSS loads AFTER this file, so overrides here carry
   !important where they fight a base rule. */

/* --- Heebo as the body/UI font (display headings stay Frank Ruhl Libre) --- */
html:root { --font-body: 'Heebo', 'Assistant', sans-serif; --global-body-font-family: 'Heebo', 'Assistant', sans-serif; }
body { font-family: 'Heebo', 'Assistant', sans-serif; }

/* --- pill buttons, sitewide --- */
.btn, .wp-block-button__link, .rv-all a { border-radius: 999px !important; }
/* the block WRAPPER divs also carry the color classes; without this the square
   wrapper paints behind the pill anchor and the button still reads square */
.wp-block-button.btn-primary, .wp-block-button.btn-secondary, .wp-block-button.btn-on-dark {
  background: transparent !important; border: 0 !important; border-radius: 999px; }

/* --- homepage journey: open, numbered, no accordion chrome (FAQ keeps its accordion) --- */
.home .journey-step { border-top: 1px solid color-mix(in srgb, #C48B94 35%, transparent); border-bottom: 0; padding-block: clamp(22px, 5vw, 34px); }
.home .journey-step summary { display: block !important; min-height: 0 !important; padding: 0 !important; cursor: default; }
html.anim .home .journey-step summary { pointer-events: none; }
.home .journey-step summary::before {
  content: counter(step, decimal-leading-zero) !important;
  display: block; width: auto !important; line-height: 1;
  font-family: 'Heebo', 'Assistant', sans-serif !important;
  font-size: clamp(2.4rem, 9vw, 3.2rem) !important; font-weight: 400 !important;
  color: #C48B94 !important; letter-spacing: 0.02em; margin-bottom: 10px;
}
.home .journey-step summary::after { display: none !important; }
.home .journey-step p { padding: 0 !important; margin-top: 6px; }

/* --- team section (lectures + bridal): 3 role cards, round portraits --- */
.team-grid > .wp-block-group__inner-container { display: contents; }
.team-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 34px 28px; margin-top: 34px; }
.team-card { margin: 0; text-align: center; }
.team-card .wp-block-image { margin: 0 auto; width: min(190px, 55vw); }
.team-card img { aspect-ratio: 1; object-fit: cover; border-radius: 50%; width: 100%; }
.team-card h3 { margin: 16px 0 4px; font-size: 1.18rem; }
.team-card p { color: #55453F; margin: 0 auto; max-width: 30ch; font-size: 0.95rem; }

/* ================= blog: הטיפים של מורן (2026-07-17) =================
   The posts index and single posts use theme templates, not our block sections,
   so the X10 language is applied to the theme's archive/single markup. */

/* --- posts index: ink typographic opening + boxless list --- */
.blog .content-area, .archive .content-area, .single-post .content-area { padding-top: 0; }
.blog .kadence-breadcrumbs, .single-post .kadence-breadcrumbs { display: none; }
.blog article.entry, .archive article.entry {
  background: transparent !important; box-shadow: none !important; border-radius: 0 !important;
  border-bottom: 1px solid color-mix(in srgb, #C48B94 35%, transparent); padding: clamp(24px, 5vw, 40px) 0 !important; }
.blog article.entry .entry-header .entry-title, .archive article.entry .entry-title { font-size: clamp(1.5rem, 5.6vw, 2rem); margin-bottom: 8px; }
.blog article.entry .entry-title a, .archive article.entry .entry-title a { color: #1A1A1A; text-decoration: none; }
.blog article.entry .entry-title a:hover, .archive article.entry .entry-title a:hover { color: #96525C; }
.blog .entry-meta, .archive .entry-meta, .single-post .entry-meta { color: #55453F; font-size: 0.88rem; }
.blog .post-thumbnail, .archive .post-thumbnail { display: none; }
.blog .entry-content-inner p, .archive .entry-content-inner p { color: #55453F; }

/* --- single post: reading typography --- */
.single-post .entry-content { max-width: 720px; margin-inline: auto; }
.single-post .entry-content > p, .single-post .entry-content > ul { max-width: 65ch; }
.single-post .entry-content h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); margin-top: clamp(34px, 7vw, 54px); }
.single-post .entry-content h3 { font-size: 1.2rem; margin-top: 26px; }
.single-post .entry-header .entry-title { font-size: clamp(1.9rem, 7.4vw, 3rem); line-height: 1.15; }
.single-post .blog-byline { color: #55453F; font-size: 0.9rem; line-height: 1.7;
  border-bottom: 1px solid color-mix(in srgb, #C48B94 35%, transparent); padding-bottom: 18px; }
.single-post .blog-disclaimer { color: #55453F; font-size: 0.9rem; }
.single-post article.entry { background: transparent !important; box-shadow: none !important; }

/* ============ 2026-07-17 premium pass (Boaz-approved review items) ============ */

/* --- item 1: the mobile gallery rail is a homepage preview pattern only;
   the full portfolio page returns to a 2-col grid (72 images sideways was a bug) --- */
@media (max-width: 640px) {
  body:not(.home) .pf-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 8px; overflow: visible; padding-bottom: 0; }
  body:not(.home) .pf-item { width: auto !important; flex: none !important; aspect-ratio: 1 !important; margin: 0 !important; }
}

/* --- item 2: cookie banner in brand colors (Complianz default was electric purple) --- */
.cmplz-cookiebanner { border-radius: 14px !important; }
.cmplz-cookiebanner .cmplz-btn { border-radius: 999px !important; }
.cmplz-cookiebanner .cmplz-btn.cmplz-accept { background-color: #96525C !important; border-color: #96525C !important; color: #F9F1ED !important; }
.cmplz-cookiebanner .cmplz-btn.cmplz-accept:hover { background-color: #8E4B55 !important; }
.cmplz-cookiebanner .cmplz-btn.cmplz-deny, .cmplz-cookiebanner .cmplz-btn.cmplz-view-preferences,
.cmplz-cookiebanner .cmplz-btn.cmplz-save-preferences { background-color: #F0DDD6 !important; color: #1A1A1A !important; border-color: #F0DDD6 !important; }
.cmplz-cookiebanner .cmplz-links a, .cmplz-cookiebanner a { color: #96525C !important; }

/* --- item 4: transparent header over hero pages, solid on scroll ---
   Scoped by :has so blog/404 keep the solid bar. Specificity (body prefix) beats
   the chrome inline sticky rule that prints later. */
body.home #masthead, body:has(.page-hero) #masthead {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  background: transparent; border-bottom: 0;
  transition: background-color 250ms ease-out, box-shadow 250ms ease-out;
}
body.home #masthead *, body:has(.page-hero) #masthead * { border-bottom-color: transparent; }
body.home #masthead .site-header-row-container, body:has(.page-hero) #masthead .site-header-row-container,
body.home #masthead .site-main-header-wrap, body:has(.page-hero) #masthead .site-main-header-wrap,
body.home #masthead .site-header-row, body:has(.page-hero) #masthead .site-header-row { background: transparent !important; }
body.home #masthead:not(.m-scrolled) .site-title, body:has(.page-hero) #masthead:not(.m-scrolled) .site-title,
body.home #masthead:not(.m-scrolled) .site-title a, body:has(.page-hero) #masthead:not(.m-scrolled) .site-title a,
body.home #masthead:not(.m-scrolled) .header-navigation a, body:has(.page-hero) #masthead:not(.m-scrolled) .header-navigation a { color: #F9F1ED !important; }
body.home #masthead:not(.m-scrolled) .menu-toggle-open, body:has(.page-hero) #masthead:not(.m-scrolled) .menu-toggle-open { color: #F9F1ED !important; }
body.home #masthead.m-scrolled, body:has(.page-hero) #masthead.m-scrolled {
  background: rgba(249, 241, 237, 0.96); backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(85, 69, 63, 0.14);
}
/* header-zone shade so the cream wordmark stays legible over bright photos */
body.home .hero::before, body:has(.page-hero) .page-hero:has(.page-hero-img)::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 140px; z-index: 1;
  background: linear-gradient(to bottom, rgba(26, 26, 26, 0.42), rgba(26, 26, 26, 0));
  pointer-events: none;
}

/* the empty theme title area painted a white strip between header and hero */
body.home .content-area, body:has(.page-hero) .content-area { padding-top: 0 !important; margin-top: 0 !important; }
body.home .entry-header, body:has(.page-hero) .entry-header { display: none; }

/* --- item 5: lazy-load placeholders so unloaded panels read as designed, not broken --- */
.spread { background: #2A2220; }
.pf-item { background: #EAD9D3; }

/* --- item 6: publications rows composed as a centered credentials block --- */
.proof-strip .proof-row { display: block !important; text-align: center !important; line-height: 2.2; max-width: 640px; margin: 10px auto !important; }
.proof-strip .proof-label { display: block; text-align: center; letter-spacing: 0.16em; margin-bottom: 2px; }

/* --- item 7: covers as printed objects: hairline tear-sheet edge --- */
.covers-rail img { border: 1px solid rgba(249, 241, 237, 0.16); }
.covers-rail figcaption { margin-top: 10px; }

/* --- item 9: the Instagram strip as a deliberate centered social band --- */
.insta { text-align: center; padding-block: clamp(40px, 9vw, 72px) !important; border-top: 1px solid color-mix(in srgb, #C48B94 30%, transparent); }
.insta h2 { font-family: 'Heebo', 'Assistant', sans-serif; font-size: 1rem; font-weight: 600; letter-spacing: 0.08em; color: #55453F; margin-bottom: 6px; }
.insta p { margin: 0 auto; }
