/* =========================================================================
   Arise page builder pieces

   Markup the builder drags in. Everything here reuses the tokens already
   defined in site.css (--cream, --terracotta, --text-base, --space-section
   and the rest), so a page built in the editor looks like the rest of the
   site at every screen size without a second design system.

   Class prefix: ab- (arise builder).
   ========================================================================= */

/* ----------------------------------------------------------- structure --*/

.ab-sec {
    position: relative;
    padding: var(--space-section) 0;
}
.ab-sec.ab-tight { padding: var(--space-group) 0; }
.ab-sec.ab-flush { padding: 0; }

.ab-sec.ab-cream { background: var(--cream); }
.ab-sec.ab-deep { background: var(--cream-deep); }
.ab-sec.ab-rose { background: #F2E3D7; }
.ab-sec.ab-terracotta { background: var(--peach); color: var(--ink); }
.ab-sec.ab-brown { background: var(--brown); color: #fff; }
.ab-sec.ab-brown h1, .ab-sec.ab-brown h2, .ab-sec.ab-brown h3, .ab-sec.ab-brown h4 { color: #fff; }

.ab-row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(1.2rem, 2.6vw, 2.2rem);
    align-items: start;
}

.ab-col { grid-column: span 12; min-width: 0; }
.ab-col-1-1 { grid-column: span 12; }
.ab-col-1-2 { grid-column: span 6; }
.ab-col-1-3 { grid-column: span 4; }
.ab-col-2-3 { grid-column: span 8; }
.ab-col-1-4 { grid-column: span 3; }
.ab-col-3-4 { grid-column: span 9; }

.ab-center { text-align: center; }
.ab-center .btn { margin-inline: auto; }

/* --------------------------------------------------------------- text --*/

.ab-text > :first-child { margin-top: 0; }
.ab-text > :last-child { margin-bottom: 0; }
.ab-text p { font-size: var(--text-base); }
.ab-lead p { font-size: var(--text-lg); }

.ab-eyebrow {
    display: block;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: .6rem;
}

/* -------------------------------------------------------------- media --*/

.ab-photo { margin: 0; }
.ab-photo img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.ab-photo-round img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }

.ab-figure { margin: 0; }
.ab-figure figcaption {
    margin-top: .7rem;
    font-size: var(--text-sm);
    color: var(--ink-soft);
    text-align: center;
}

/* -------------------------------------------------------------- cards --*/

.ab-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.ab-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ab-card img { width: 100%; height: 210px; object-fit: cover; display: block; }
.ab-card-body { padding: 1.3rem 1.4rem 1.6rem; }
.ab-card-body h3, .ab-card-body h4 { margin-bottom: .5rem; }
.ab-card-body p { font-size: var(--text-sm); }

.ab-panel {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(1.4rem, 2.6vw, 2.2rem);
    box-shadow: var(--shadow-sm);
    height: 100%;
}
.ab-panel.ab-panel-terracotta { background: var(--peach); color: var(--ink); }
.ab-panel.ab-panel-peach { background: var(--sand); color: var(--ink); }
.ab-panel.ab-panel-blush { background: var(--blush); }
.ab-panel.ab-panel-lemon { background: var(--lemon); }
.ab-panel.ab-panel-sky { background: var(--sky); }

/* ------------------------------------------------------------- pieces --*/

.ab-iconbox { text-align: center; }
.ab-iconbox .ab-ico { margin-inline: auto; }
.ab-iconbox h4 { margin: .8rem 0 .4rem; }
.ab-iconbox p { font-size: var(--text-sm); margin: 0; }

.ab-iconbox-left { display: flex; gap: 1rem; align-items: flex-start; }
.ab-iconbox-left h4 { margin: 0 0 .3rem; font-size: var(--h5); }
.ab-iconbox-left p { font-size: var(--text-sm); margin: 0; }

/* The glyph is a CSS mask, so one colour rule paints it and it scales with
   font-size. The icon itself is chosen in the editor via data-icon. */
.ab-ico {
    display: inline-block;
    flex: 0 0 auto;
    width: 1em;
    height: 1em;
    font-size: 44px;
    line-height: 1;
    color: var(--terracotta);
    background-color: currentColor;
    -webkit-mask: var(--ab-i) center/contain no-repeat;
    mask: var(--ab-i) center/contain no-repeat;
    vertical-align: middle;
}
.ab-iconbox-left .ab-ico { font-size: 34px; }

.ab-fact { text-align: center; }
.ab-num {
    display: block;
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 300;
    line-height: 1;
    color: var(--terracotta);
}
.ab-label {
    display: block;
    margin-top: .4rem;
    font-size: var(--text-sm);
    color: var(--ink-soft);
}

.ab-step { text-align: center; }
.ab-step-n {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    margin: 0 auto .8rem;
    border-radius: 50%;
    background: var(--terracotta);
    color: #fff;
    font-weight: 700;
}

.ab-quote {
    margin: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.4rem);
    box-shadow: var(--shadow-sm);
}
.ab-quote p { font-size: var(--text-lg); font-style: italic; margin: 0 0 .8rem; }
.ab-who { font-style: normal; font-weight: 700; font-size: var(--text-sm); }

.ab-notice {
    border-left: 4px solid var(--terracotta);
    background: rgba(177, 110, 71, .1);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1.1rem 1.3rem;
}
.ab-notice > :last-child { margin-bottom: 0; }

.ab-divider { border: 0; border-top: 1px solid rgba(177, 110, 71, .3); margin: 0; }
.ab-spacer { height: 40px; }

.ab-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.ab-list li { position: relative; padding-left: 1.7rem; font-size: var(--text-base); }
.ab-list li::before {
    content: "";
    position: absolute; left: 0; top: .62em;
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--terracotta);
}

.ab-btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.ab-center .ab-btn-row { justify-content: center; }

/* an accordion that works with no JavaScript at all */
.ab-faq { display: grid; gap: .7rem; }
.ab-faq details {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: .2rem 1.2rem;
}
.ab-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 1rem 0;
    font-weight: 600;
    font-size: var(--text-base);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}
.ab-faq summary::-webkit-details-marker { display: none; }
.ab-faq summary::after {
    content: "+";
    font-size: 1.4rem;
    line-height: 1;
    color: var(--terracotta);
    transition: transform .25s var(--ease);
}
.ab-faq details[open] summary::after { transform: rotate(45deg); }
.ab-faq details > :last-child { padding-bottom: 1rem; }

.ab-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; }
.ab-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------- responsive --*/

@media (max-width: 920px) {
    .ab-col-1-2, .ab-col-1-3, .ab-col-2-3, .ab-col-1-4, .ab-col-3-4 { grid-column: span 12; }
}

@media (max-width: 1080px) and (min-width: 921px) {
    .ab-col-1-4 { grid-column: span 6; }
}

@media (prefers-reduced-motion: reduce) {
    .ab-card:hover { transform: none; }
}

/* ------------------------------------------------------------- icons --*/
/* Generated: each icon is an SVG data URI used as a CSS mask, so the glyph
   takes its colour from currentColor and scales with font-size. */

.ab-ico[data-icon="heart"] { --ab-i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M20.84%204.61a5.5%205.5%200%200%200-7.78%200L12%205.67l-1.06-1.06a5.5%205.5%200%200%200-7.78%207.78l1.06%201.06L12%2021.23l7.78-7.78%201.06-1.06a5.5%205.5%200%200%200%200-7.78z%27%2F%3E%3C%2Fsvg%3E"); }
.ab-ico[data-icon="users"] { --ab-i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M17%2021v-2a4%204%200%200%200-4-4H5a4%204%200%200%200-4%204v2%27%2F%3E%3Ccircle%20cx%3D%279%27%20cy%3D%277%27%20r%3D%274%27%2F%3E%3Cpath%20d%3D%27M23%2021v-2a4%204%200%200%200-3-3.87%27%2F%3E%3Cpath%20d%3D%27M16%203.13a4%204%200%200%201%200%207.75%27%2F%3E%3C%2Fsvg%3E"); }
.ab-ico[data-icon="message-circle"] { --ab-i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M21%2011.5a8.38%208.38%200%200%201-.9%203.8%208.5%208.5%200%200%201-7.6%204.7%208.38%208.38%200%200%201-3.8-.9L3%2021l1.9-5.7a8.38%208.38%200%200%201-.9-3.8%208.5%208.5%200%200%201%204.7-7.6%208.38%208.38%200%200%201%203.8-.9h.5a8.48%208.48%200%200%201%208%208v.5z%27%2F%3E%3C%2Fsvg%3E"); }
.ab-ico[data-icon="shield"] { --ab-i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M12%2022s8-4%208-10V5l-8-3-8%203v7c0%206%208%2010%208%2010z%27%2F%3E%3C%2Fsvg%3E"); }
.ab-ico[data-icon="sun"] { --ab-i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%275%27%2F%3E%3Cpath%20d%3D%27M12%201v2M12%2021v2M4.22%204.22l1.42%201.42M18.36%2018.36l1.42%201.42M1%2012h2M21%2012h2M4.22%2019.78l1.42-1.42M18.36%205.64l1.42-1.42%27%2F%3E%3C%2Fsvg%3E"); }
.ab-ico[data-icon="leaf"] { --ab-i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M11%2020A7%207%200%200%201%209.8%206.1C15.5%205%2017%204.48%2019%202c1%202%202%204.18%202%208%200%205.5-4.78%2010-10%2010z%27%2F%3E%3Cpath%20d%3D%27M2%2021c0-3%201.85-5.36%205.08-6%27%2F%3E%3C%2Fsvg%3E"); }
.ab-ico[data-icon="phone"] { --ab-i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M22%2016.92v3a2%202%200%200%201-2.18%202%2019.79%2019.79%200%200%201-8.63-3.07%2019.5%2019.5%200%200%201-6-6%2019.79%2019.79%200%200%201-3.07-8.67A2%202%200%200%201%204.11%202h3a2%202%200%200%201%202%201.72%2012.84%2012.84%200%200%200%20.7%202.81%202%202%200%200%201-.45%202.11L8.09%209.91a16%2016%200%200%200%206%206l1.27-1.27a2%202%200%200%201%202.11-.45%2012.84%2012.84%200%200%200%202.81.7A2%202%200%200%201%2022%2016.92z%27%2F%3E%3C%2Fsvg%3E"); }
.ab-ico[data-icon="mail"] { --ab-i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M4%204h16c1.1%200%202%20.9%202%202v12c0%201.1-.9%202-2%202H4c-1.1%200-2-.9-2-2V6c0-1.1.9-2%202-2z%27%2F%3E%3Cpolyline%20points%3D%2722%2C6%2012%2C13%202%2C6%27%2F%3E%3C%2Fsvg%3E"); }
.ab-ico[data-icon="map-pin"] { --ab-i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M21%2010c0%207-9%2013-9%2013s-9-6-9-13a9%209%200%200%201%2018%200z%27%2F%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2710%27%20r%3D%273%27%2F%3E%3C%2Fsvg%3E"); }
.ab-ico[data-icon="clock"] { --ab-i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%2710%27%2F%3E%3Cpolyline%20points%3D%2712%206%2012%2012%2016%2014%27%2F%3E%3C%2Fsvg%3E"); }
.ab-ico[data-icon="calendar"] { --ab-i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%273%27%20y%3D%274%27%20width%3D%2718%27%20height%3D%2718%27%20rx%3D%272%27%20ry%3D%272%27%2F%3E%3Cline%20x1%3D%2716%27%20y1%3D%272%27%20x2%3D%2716%27%20y2%3D%276%27%2F%3E%3Cline%20x1%3D%278%27%20y1%3D%272%27%20x2%3D%278%27%20y2%3D%276%27%2F%3E%3Cline%20x1%3D%273%27%20y1%3D%2710%27%20x2%3D%2721%27%20y2%3D%2710%27%2F%3E%3C%2Fsvg%3E"); }
.ab-ico[data-icon="check"] { --ab-i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpolyline%20points%3D%2720%206%209%2017%204%2012%27%2F%3E%3C%2Fsvg%3E"); }
.ab-ico[data-icon="check-circle"] { --ab-i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M22%2011.08V12a10%2010%200%201%201-5.93-9.14%27%2F%3E%3Cpolyline%20points%3D%2722%204%2012%2014.01%209%2011.01%27%2F%3E%3C%2Fsvg%3E"); }
.ab-ico[data-icon="star"] { --ab-i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpolygon%20points%3D%2712%202%2015.09%208.26%2022%209.27%2017%2014.14%2018.18%2021.02%2012%2017.77%205.82%2021.02%207%2014.14%202%209.27%208.91%208.26%2012%202%27%2F%3E%3C%2Fsvg%3E"); }
.ab-ico[data-icon="quote"] { --ab-i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M3%2021c3%200%207-1%207-8V5c0-1.25-.756-2-2-2H4c-1.25%200-2%20.75-2%202v8c0%201.25.75%202%202%202h4%27%2F%3E%3Cpath%20d%3D%27M15%2021c3%200%207-1%207-8V5c0-1.25-.757-2-2-2h-4c-1.25%200-2%20.75-2%202v8c0%201.25.75%202%202%202h4%27%2F%3E%3C%2Fsvg%3E"); }
.ab-ico[data-icon="book-open"] { --ab-i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M2%203h6a4%204%200%200%201%204%204v14a3%203%200%200%200-3-3H2z%27%2F%3E%3Cpath%20d%3D%27M22%203h-6a4%204%200%200%200-4%204v14a3%203%200%200%201%203-3h7z%27%2F%3E%3C%2Fsvg%3E"); }
.ab-ico[data-icon="award"] { --ab-i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%278%27%20r%3D%277%27%2F%3E%3Cpolyline%20points%3D%278.21%2013.89%207%2023%2012%2020%2017%2023%2015.79%2013.88%27%2F%3E%3C%2Fsvg%3E"); }
.ab-ico[data-icon="smile"] { --ab-i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%2710%27%2F%3E%3Cpath%20d%3D%27M8%2014s1.5%202%204%202%204-2%204-2%27%2F%3E%3Cline%20x1%3D%279%27%20y1%3D%279%27%20x2%3D%279.01%27%20y2%3D%279%27%2F%3E%3Cline%20x1%3D%2715%27%20y1%3D%279%27%20x2%3D%2715.01%27%20y2%3D%279%27%2F%3E%3C%2Fsvg%3E"); }
.ab-ico[data-icon="activity"] { --ab-i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpolyline%20points%3D%2722%2012%2018%2012%2015%2021%209%203%206%2012%202%2012%27%2F%3E%3C%2Fsvg%3E"); }
.ab-ico[data-icon="home"] { --ab-i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M3%209l9-7%209%207v11a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2z%27%2F%3E%3Cpolyline%20points%3D%279%2022%209%2012%2015%2012%2015%2022%27%2F%3E%3C%2Fsvg%3E"); }
.ab-ico[data-icon="arrow-right"] { --ab-i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cline%20x1%3D%275%27%20y1%3D%2712%27%20x2%3D%2719%27%20y2%3D%2712%27%2F%3E%3Cpolyline%20points%3D%2712%205%2019%2012%2012%2019%27%2F%3E%3C%2Fsvg%3E"); }
.ab-ico[data-icon="facebook"] { --ab-i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M18%202h-3a5%205%200%200%200-5%205v3H7v4h3v8h4v-8h3l1-4h-4V7a1%201%200%200%201%201-1h3z%27%2F%3E%3C%2Fsvg%3E"); }
.ab-ico[data-icon="instagram"] { --ab-i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%272%27%20y%3D%272%27%20width%3D%2720%27%20height%3D%2720%27%20rx%3D%275%27%20ry%3D%275%27%2F%3E%3Cpath%20d%3D%27M16%2011.37A4%204%200%201%201%2012.63%208%204%204%200%200%201%2016%2011.37z%27%2F%3E%3Cline%20x1%3D%2717.5%27%20y1%3D%276.5%27%20x2%3D%2717.51%27%20y2%3D%276.5%27%2F%3E%3C%2Fsvg%3E"); }

/* ----------------------------------------------------- builder pages --*/

/* The site header is fixed, so a builder page has to start below it. */
.page-builder main { padding-top: var(--header-h); }

.preview-flag {
    margin: 0;
    padding: .8rem 1.2rem;
    background: var(--lemon);
    border-bottom: 1px solid var(--lemon-edge);
    color: #4A3A12;
    font-size: var(--text-sm);
    font-weight: 600;
    text-align: center;
}

/* --------------------------------------------------- live content box --*/
/*
   Only ever seen inside the editor. On the live page this element is
   replaced by the real content before the HTML is sent, so these styles
   never reach a visitor.
*/
.ab-dynamic {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 110px;
    padding: 1.2rem;
    border: 2px dashed var(--terracotta);
    border-radius: var(--radius);
    background: rgba(177, 110, 71, .07);
    color: var(--terracotta);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    text-align: center;
}
.ab-dynamic::before { content: "Live content:"; opacity: .7; font-weight: 400; }

/* The stand-in page heading: available to search engines and screen
   readers, taken out of the visual flow so it cannot affect the layout.
   Not display:none, which would hide it from assistive technology too. */
.builder-page__title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Builder content sitting inside a page that already has its own header
   area (an article or a profile), so it must not add the fixed-header gap
   a standalone builder page needs. */
.builder-page--inline { padding-top: 0; }
.page-post .builder-page--inline .ab-sec:first-child,
.page-member .builder-page--inline .ab-sec:first-child { padding-top: 0; }

@media (max-width: 920px) {
    /* stacked: a centred portrait reads better than a full width one */
    .page-member .member__media { max-width: 320px; margin-inline: auto; }
    .page-member .member__body { text-align: center; }
    .page-member .member__body .btn { margin-inline: auto; }
}

/* ------------------------------------------------------- sticky column --*/
/*
   Switched on per column from the editor ("Stick while scrolling"), so the
   client controls where it applies.

   Two things are needed for it to work at all:
   the column must stretch to the row's full height, or its child has no
   room to travel; and no ancestor may be a scroll container, which is why
   body uses overflow-x: clip rather than hidden.
*/
.ab-col.ab-sticky {
    align-self: stretch;
}
.ab-col.ab-sticky > * {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
}

@media (max-width: 920px) {
    /* stacked: there is nothing beside it to stay level with */
    .ab-col.ab-sticky { align-self: start; }
    .ab-col.ab-sticky > * { position: static; }
}

/* hide-on-device, driven by the checkboxes in the editor */
@media (min-width: 981px)  { .em-hide-d { display: none !important; } }
@media (min-width: 768px) and (max-width: 980px) { .em-hide-t { display: none !important; } }
@media (max-width: 767px)  { .em-hide-m { display: none !important; } }

/* ------------------------------------------------- centred lead copy --*/
/*
   site.css centres a lead paragraph only inside .center; the builder emits
   .ab-center, so a centred block kept its 72ch box flush left and the text
   broke raggedly against an edge that was not in the middle.

   A centred paragraph also wants a shorter measure than a flush-left one:
   the eye has to find the start of each new line.
*/
.ab-center .prose--lead {
    margin-inline: auto;
    max-width: 56ch;
    text-wrap: pretty;
}

/* a statement panel: heading, a short paragraph, one action.
   Centred content is short, so the panel is sized for it rather than
   stretched across the shell with empty space either side. */
.ab-panel.ab-center {
    max-width: 52rem;
    margin-inline: auto;
    padding-block: clamp(1.8rem, 3.2vw, 2.8rem);
}
.ab-panel.ab-center > .pill-heading { margin-bottom: 1rem; }
.ab-panel.ab-center > .ab-btn-row  { margin-top: 1.7rem; }

/* A column only stretches if the row lets it; the row aligns to the top by
   default so a short column does not get pulled tall. */
#why .ab-row > .ab-col { align-self: stretch; }
