/*
Theme Name: Hello Elementor Child - Brisben Center
Theme URI: https://brisbencenter.org/new/
Description: Child theme for the Brisben Center /new/ rebuild (Hello Elementor parent). Holds the site's custom CSS - class-based selectors ONLY, never Elementor's generated element IDs. Consolidated 2026-11-28 to ONE version: the old pasted CSS had the same rules 2-3 times with different values - only the winning value of each rule is kept here, dead duplicates removed.
Author: Brisben Center
Template: hello-elementor
Version: 1.0.2
Text Domain: hello-elementor-child-brisben
*/

/* ================= GLOBAL (from Default Kit post-6) ==============
   Added 2026-11-28 from the Kit backup (default-kit-post6-custom-css-
   backup-20261128.css). These are the site-wide font rules — they are
   global selectors, no generated classes involved, so they go in
   as-is. The Volunteer-page rules from the same Kit block are NOT
   here: they are tied to generated element IDs and need real CSS
   classes on the Volunteer elements first.
   NOTE: the a[style*="F2727F"] gradient rule is carried over verbatim
   from the Kit — check the Donate Goods / Events links at activation.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@100..900&display=swap');
@font-face{font-family:'Alexandria';font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/alexandria/v6/UMBXrPdDqW66y0Y2usFeai3dAw.woff2)format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Alexandria';font-style:normal;font-weight:100 900;font-display:swap;src:url(https://fonts.gstatic.com/s/alexandria/v6/UMBXrPdDqW66y0Y2usFeaiPdA4M5.woff2)format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
a[style*="F2727F"] { background:linear-gradient(135deg,#25D0B8,#2B9FD8)!important; }
.elementor-widget-heading.elementor-heading-title, h1, h2, h3 { font-family:"Alexandria",sans-serif; font-weight:500; }
body, body p, body li, body span, .elementor-widget-text-editor { font-family:"Alexandria",sans-serif; font-weight:300; }
body strong, .elementor-widget-text-editor strong { font-weight:500; }

/* ================= WHAT WE DO (page-id-14) — REVISED 2026-11-28 ===
   Only rules Elementor's panel CANNOT express. Everything else
   (font size/weight/family, line-height, color, margin, padding,
   width, max-width, gap, border-radius, background, flex
   direction/align/justify, min-height, box-shadow, z-index,
   position, overflow, per-element backgrounds) is now set in the
   Elementor panel (desktop / tablet / mobile) and must NOT be
   re-added here — style.css rules override the panel and break
   responsive editing. Panel values use the pre-revision style.css
   (v1.0.1) winning values as the design source of truth.
   NOTE: the old width:999px/min-width:999px arches rule that forced
   a horizontal scroll on mobile is DELETED, not carried over.
   RESTORED 2026-11-28 (browser task proved the panel cannot set
   these): container Text Color has no control; a Text Editor has
   no Max Width; a container has no Max Width and its Margin fields
   reject "auto"; the arch Box Shadow toggle is blocked by a stuck
   editor tooltip; Position offers no Relative and Overflow offers
   no Visible. These stay in CSS because the panel cannot express
   them — per the user's rule.
   ============================================================ */

/* --- Container text color + intro body-copy max-width (panel has
   no control for either). --- */
.page-id-14 .brisben-desktop { color:#0B0C15; }
.page-id-14 .brisben-desktop .intro .body-copy { max-width:90%; }

/* --- Pillar container position/overflow (panel offers no Relative
   and no Visible; needed so the ::before side extension positions
   and shows correctly). --- */
.page-id-14 .brisben-desktop .pillar { position:relative; overflow:visible; }

/* --- <p> spacing inside Text Editor widgets. The panel cannot
   target <p> elements inside rich-text content. Font is set on
   the Text Editor widgets in the panel. --- */
.page-id-14 .brisben-desktop .body-copy p { margin:0 0 20px; }
.page-id-14 .brisben-desktop .body-copy p:last-child { margin-bottom:0; }
.page-id-14 .brisben-desktop .intro p { margin:0; padding-bottom:1em; }
.page-id-14 .brisben-desktop .intro p:last-child { padding:0; }

/* --- Arches: custom 11-track grid (6 arches + 5 pillars).
   Elementor's grid controls cannot express the alternating
   1fr / 50px track pattern, so the grid stays in CSS.
   Max-width + centering also stay here: the panel has no Max
   Width control for a container and its Margin fields reject
   "auto". Width / gap / padding-top are in the panel. --- */
.page-id-14 .brisben-desktop .arches { display:grid; grid-template-columns:repeat(5,minmax(0,1fr) 50px) minmax(0,1fr); max-width:1500px; margin-left:auto; margin-right:auto; }

/* --- Arch: allow the grid item to shrink below its content size
   (no panel control for min-width). Box shadow stays here: the
   panel's Box Shadow toggle is blocked by a stuck editor tooltip. --- */
.page-id-14 .brisben-desktop .arch { min-width:0; box-shadow:0 4px 10px rgba(0,0,0,0.10); }

/* --- Arch heading text wrapping (no panel control). --- */
.page-id-14 .brisben-desktop .arch h3 { overflow-wrap:anywhere; }

/* --- Pillar: vertical label. writing-mode and white-space have
   no panel control. Font / color / size / line-height are in the
   panel. Margin "0 auto" stays here: the panel Margin fields
   reject "auto". --- */
.page-id-14 .brisben-desktop .pillar-label .elementor-heading-title,
.page-id-14 .brisben-desktop .pillar h3 { writing-mode:vertical-rl; white-space:nowrap; margin:0 auto; }

/* --- Pillar decorative side extension (::before has no panel control). --- */
.page-id-14 .brisben-desktop .pillar:before { content:""; position:absolute; top:0; bottom:0; left:-24px; right:-28px; background:#0077c2; }

/* --- Flex distribution. flex-grow / flex-shrink / flex-basis are
   not exposed in the panel for these items. Do NOT set a
   conflicting Width in the panel on these elements. --- */
.page-id-14 .brisben-desktop .outcome { flex:1; }
/* --- 3rd outcome heading centering (panel has no Max Width and
   its Margin fields reject "auto"). Color #000 is set in the panel. --- */
.page-id-14 .brisben-desktop .outcome:last-child h2 { max-width:230px; margin:auto; }
.page-id-14 .brisben-desktop .service-title { flex:1; }
.page-id-14 .brisben-desktop .service-card .body-copy { flex:1; }
.page-id-14 .brisben-desktop .service-card .elementor-widget-text-editor { flex:1; }
.page-id-14 .brisben-desktop .service-bar .elementor-widget-image,
.page-id-14 .brisben-desktop .service-card .elementor-widget-image { flex:0 0 78px; min-width:78px; }

/* --- Facilities list: CSS multi-column layout (no panel control
   for <ul> columns). --- */
.page-id-14 .brisben-desktop .facilities ul { columns:2; column-gap:70px; margin:0; padding-left:15px; }
.page-id-14 .brisben-desktop .facilities li { break-inside:avoid; margin-bottom:8px; padding-left:0; }

/* --- Service text lists: CSS multi-column + marker (no panel
   control for <ul>/<li> inside a Text Editor). Font is set on
   the Text Editor widgets in the panel. --- */
.page-id-14 .brisben-desktop .service-content>.elementor-widget-text-editor ul { columns:2; column-gap:32px; padding:0; margin:0; list-style-type:disc; }
.page-id-14 .brisben-desktop .service-content>.elementor-widget-text-editor li { margin:0 0 0 20px; padding:0 0 8px; break-inside:avoid; }
.page-id-14 .brisben-desktop .service-content>.elementor-widget-text-editor li::marker { font-size:10px; }

/* --- Cards grid gap (panel cannot set mixed px/% gaps — its Grid
   Gaps control uses one shared unit for both, so this stays here).
   Columns (2/1/1) and Padding (1%) are set in the panel. --- */
.page-id-14 .brisben-desktop .cards { gap:20px 2%; }

/* --- Page banner: two-layer composite background. The panel
   cannot layer two background images with independent
   size/position. Padding is in the panel. --- */
.page-id-14 .brisben-desktop .page-banner { background-image:url('https://brisbencenter.org/wp-content/uploads/2025/05/wsd.png'), url('https://brisbencenter.org/wp-content/uploads/2025/05/Rectangle_28.svg'); background-size:auto 100%,cover; background-position:right 20% center,center; background-repeat:no-repeat; }

/* ================= MOBILE (max-width:767px) ===================
   Arches stack vertically, one full-width card below the next.
   NO horizontal scroll (the old width:999px rule is deleted).
   Pillar bars become horizontal strips with horizontal text.
   All widths / paddings / font sizes on mobile are set in the
   Elementor panel (mobile view); only the grid and the
   writing-mode switch live here.
   ============================================================ */
@media(max-width:767px) {
  .page-id-14 .brisben-desktop .arches { grid-template-columns:1fr; }
  .page-id-14 .brisben-desktop .pillar:before { display:none; }
  .page-id-14 .brisben-desktop .pillar h3,
  .page-id-14 .brisben-desktop .pillar-label .elementor-heading-title { writing-mode:horizontal-tb; white-space:normal; text-align:center; }
  .page-id-14 .brisben-desktop .service-content>.elementor-widget-text-editor ul { columns:1; }
}

/* ================= HOMEPAGE (page-id-705) ======================
   Added 2026-11-28 from homepage-705-custom-css-backup-20261128.css.
   `selector` replaced by the classes the resume task was told to add:
   brisben-hero-photo on element 2682ab3, brisben-hero-gradient on
   b9ef5bd. THESE CLASSES ARE NOT ON THE ELEMENTS YET — the browser
   could not reach the site to add them (see MEMORY). These rules do
   nothing until the classes are added; do not activate the theme
   expecting the hero to change before that step is done.
   ============================================================ */
@media (min-width:1025px) {
  .page-id-705 .brisben-hero-photo { position:relative; overflow:hidden; background:#080913!important; background-image:none!important; }
  .page-id-705 .brisben-hero-photo::after { content:""; position:absolute; z-index:0; right:0; top:0; width:65%; height:100%; background-image:url("https://brisbencenter.org/wp-content/uploads/2025/04/99f6615140ccce5ccfca2a48a49ff18c3fe34218.jpg"); background-size:cover; background-position:100% 50%; pointer-events:none; }
  .page-id-705 .brisben-hero-photo::before { content:""; position:absolute; z-index:1; left:0; top:0; width:50.6%; height:100%; background-image:url("https://brisbencenter.org/wp-content/uploads/2025/04/dewew.png"); background-size:cover; background-position:100% 50%; pointer-events:none; }
  .page-id-705 .brisben-hero-photo > .brisben-hero-gradient { position:relative; z-index:2; }
  .page-id-705 .brisben-hero-gradient { background:transparent!important; border-radius:0!important; }
  .page-id-705 .brisben-hero-gradient > .elementor-widget-text-editor p { margin-bottom:0; }
  .page-id-705 .brisben-hero-gradient > .elementor-widget-text-editor:first-child p::after { content:""; display:inline-block; width:230px; height:1px; margin-left:30px; vertical-align:middle; background:rgba(255,255,255,.75); }
  .page-id-705 .brisben-hero-gradient.elementor-widget-heading h1 { line-height:1.045!important; }
  .page-id-705 .brisben-hero-gradient > .elementor-widget-heading { margin-bottom:21px; }
  .page-id-705 .brisben-hero-gradient > .elementor-widget-text-editor:nth-child(3) { margin-bottom:15px; }
}

/* ================= GET HELP (page-id-24) ======================
   Added 2026-11-28 from get-help-24-custom-css-backup-20261128.css.
   `selector` replaced by brisben-must-section, the class the resume
   task was told to add on element b74338f. SAME CAVEAT as above: the
   class is not on the element yet (browser could not reach the site),
   so this rule does nothing until it is added.
   ============================================================ */
.page-id-24 .brisben-must-section { background:url(https://brisbencenter.org/wp-content/uploads/2025/04/Vector_24.svg) no-repeat left center, linear-gradient(90deg, rgba(0,138,218,0.1) 28%, rgba(1,231,190,0.1) 90%); }

/* ================= VOLUNTEER (page-id-16) — REVISED 2026-11-28 =====
   Only rules the Elementor panel CANNOT express.
   Everything admin-manageable (font size/weight/family, line-height,
   color, margin, padding, width, max-width, background gradient,
   border-radius, z-index) is set in the Elementor panel instead —
   see volunteer-panel-spec.md — and is intentionally NOT in this file,
   so tablet/mobile panel values are never overwritten by !important
   rules in the stylesheet.
   ------------------------------------------------------------------
   KEPT (panel cannot do these):
   - .volunteer-links a::before — a ::before pseudo-element (arrow in
     a circle). Pseudo-elements cannot be created in the panel.
   - .volunteer-links a img { display:none } — hides a nested <img>
     inside the links; the panel cannot target a nested element.
   - .volunteer-links a { text-decoration:none } — link underline
     removal; no reliable per-link text-decoration control in the
     Text Editor panel.
   - Fluid side padding on .volunteer-hero-section and
     .volunteer-gradient-section — max(20px, calc((100% - 1380px)/2))
     is a fluid calc the panel padding fields cannot express. Only
     the LEFT/RIGHT padding is kept here; top/bottom padding is set
     in the panel. (In the panel, leave left/right padding at 0 —
     this rule supplies the fluid sides. The !important is intentional
     so the fluid sides win over the panel's 0.)
   DROPPED (dead / now in panel):
   - .volunteer-hero-image.elementor-wrapper { border-radius:20px;
     overflow:hidden } — dead selector, never matched anything
     (see the old comment); do not re-add. No rounded-corner rule
     is set in the panel for the video, so the look is unchanged.
   ============================================================ */

/* --- Centering (margin auto). The panel's Margin fields are
   numeric-only and reject "auto", so centering stays here.
   Top/Bottom margins are set in the panel; only Left/Right auto
   are kept here. The !important wins over the panel's 0. --- */
.page-id-16 .volunteer-content-section { margin-left:auto!important; margin-right:auto!important; }
.page-id-16 .volunteer-overlap { margin-left:auto!important; margin-right:auto!important; }

.page-id-16 .volunteer-links a { text-decoration:none!important; }
.page-id-16 .volunteer-links a img { display:none!important; }
.page-id-16 .volunteer-links a::before { content:"\2192"; display:inline-flex; align-items:center; justify-content:center; width:46px; height:46px; border:2px solid #fff; border-radius:50%; margin-right:14px; font-size:22px; vertical-align:middle; }
.page-id-16 .volunteer-hero-section { padding-left:max(20px,calc((100% - 1380px)/2))!important; padding-right:max(20px,calc((100% - 1380px)/2))!important; }
.page-id-16 .volunteer-gradient-section { padding-left:max(20px,calc((100% - 1380px)/2))!important; padding-right:max(20px,calc((100% - 1380px)/2))!important; }

/* TODO: one rule targeted generated element ID 59ced05d (margin-bottom:0).
   Give that widget a CSS class in Elementor, then re-add as
   .page-id-14 .brisben-desktop .<your-class> {margin-bottom:0;} */
