@import url('https://fonts.googleapis.com/css2?family=Allura&family=Lato:wght@300;400;700&family=Roboto:wght@400;500;700&display=swap');
/*
 * Youthful theme (Branding tab → Theme), after youthful-hearts.org. Loaded after style.css; every rule is scoped to body.theme-youthful.
 * White header with a phone button, a split hero (solid colour panel + photo), pill buttons, flat section edges,
 * plus section classes for page and homepage HTML: .script-banner, .rounded-box, .check-list, .solid-band, .full-bleed.
 * Suggested brand colours: Primary #0077be, Secondary #035996, Tertiary #59a96a, Accent #dd7230.
 */

/* ------- Base ------- */
.theme-youthful { --secondaryFont: 'Lato', sans-serif; --accentFont: 'Roboto', sans-serif; color: #54595f; font-size: 17px; overflow-x: clip; }
.theme-youthful h1, .theme-youthful h2, .theme-youthful h3,
.theme-youthful h4, .theme-youthful h5, .theme-youthful h6 { font-weight: 600; }
.theme-youthful h2 { color: rgb(var(--colorSecondary)); }
.theme-youthful .section-transition { display: none; }
.theme-youthful #main a:not(.btn),
.theme-youthful .home-content a:not(.btn) { color: rgb(var(--colorTertiary)); text-decoration: underline dashed; text-underline-offset: 3px; }
.theme-youthful #main a:not(.btn):hover,
.theme-youthful .home-content a:not(.btn):hover { color: rgb(var(--colorPrimary)); }

/* Pill buttons: uppercase, and they turn white with a coloured edge on hover */
.theme-youthful .btn { border: 2px solid transparent; border-radius: 40px; font-family: var(--accentFont); font-weight: 500; letter-spacing: .9px; text-transform: uppercase; transition: all .3s; }
.theme-youthful .btn:hover, .theme-youthful .btn:focus { background: #fff !important; border-color: currentColor; }
.theme-youthful .btn.bg-primary:hover   { color: rgb(var(--colorPrimary)) !important; }
.theme-youthful .btn.bg-secondary:hover { color: rgb(var(--colorSecondary)) !important; }
.theme-youthful .btn.bg-tertiary:hover  { color: rgb(var(--colorTertiary)) !important; }
.theme-youthful .btn.bg-ancillary:hover,
.theme-youthful .btn.bg-accent:hover    { color: rgb(var(--colorAncillary)) !important; }

/* ------- Header: white, logo left, menu, phone button right ------- */
.theme-youthful #header { box-shadow: 0 0 10px rgba(0,0,0,.35); }
.theme-youthful .navbar-collapse { font-size: 17px; }
.theme-youthful .navbar-expand-lg .navbar-nav .nav-link { position: relative; color: #54595f; font-family: var(--primaryFont); font-weight: 600; }
.theme-youthful.theme-youthful .navbar-nav .nav-link:hover,
.theme-youthful.theme-youthful .navbar-nav .nav-link:focus,
.theme-youthful.theme-youthful .navbar-nav .show > .nav-link { color: rgb(var(--colorTertiary)); }
.theme-youthful #menu-primary-menu .dropdown-item { color: #54595f; font-size: 16px; }
.theme-youthful #menu-primary-menu .dropdown-item:hover { color: rgb(var(--colorTertiary)); }

.theme-youthful .header-phone { align-items: center; flex-shrink: 0; margin-left: 1.5rem; padding: .4rem 1.1rem .4rem .45rem; border-radius: 64px; background: rgb(var(--colorSecondary)); color: #fff; font-family: var(--accentFont); font-size: 20px; font-weight: 700; line-height: 1.1; text-decoration: none; transition: filter .3s; }
.theme-youthful .header-phone:hover { color: #fff; filter: saturate(1.5) brightness(1.1); }
.theme-youthful .header-phone-icon { display: flex; align-items: center; justify-content: center; width: 2.1em; height: 2.1em; margin-right: .6em; border: 3px solid; border-radius: 50%; }
.theme-youthful .header-phone-icon svg { width: .9em; height: .9em; fill: currentColor; }
.theme-youthful .header-phone-text small { display: block; font-size: .7em; font-weight: 400; }

/* ------- Homepage hero: headline on a solid primary panel, photo beside it on large screens ------- */
.theme-youthful #hero { min-height: 0 !important; }
/* A primary-colour panel over the photo: the whole hero on phones, the left half on large screens */
.theme-youthful #hero::before { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 100%; background: rgb(var(--colorPrimary)); }
.theme-youthful #hero .container-fluid { position: relative; z-index: 1; }
.theme-youthful #hero .min-vh-100 { min-height: 0 !important; }
.theme-youthful #hero .headline { min-height: 420px; padding-top: 90px; }
.theme-youthful #hero .hero-headline { flex: 0 0 100%; max-width: 100%; margin-left: 0; padding: 3rem 2rem; }
.theme-youthful #hero .hp-headline,
.theme-youthful #hero .hp-headline span { color: #fff !important; }
.theme-youthful #hero .hp-headline { font-size: 32px; font-weight: 600; line-height: 1.2; text-align: left; text-transform: none; }
.theme-youthful #hero .hp-lead { color: #fff !important; font-size: 18px; font-weight: 400; letter-spacing: .5px; line-height: 1.4; text-align: left !important; padding: 0; margin-bottom: 2rem !important; }
.theme-youthful #hero .hero-phone { text-align: left !important; font-size: 20px !important; }
/* The hero phone number becomes an accent-colour pill with a phone icon */
.theme-youthful #hero .hero-phone a { display: inline-flex; align-items: center; padding: .6rem 1.75rem .6rem 1.25rem; border: 2px solid transparent; border-radius: 40px; background: rgb(var(--colorAncillary)); color: #fff !important; font-family: var(--accentFont); font-weight: 700; letter-spacing: .5px; text-decoration: none; transition: all .3s; }
.theme-youthful #hero .hero-phone a::before { content: ''; width: 1em; height: 1em; margin-right: .6em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M497.4 361.8l-112-48a24 24 0 0 0-28 6.9l-49.6 60.6A370.7 370.7 0 0 1 130.6 204.1l60.6-49.6a23.9 23.9 0 0 0 6.9-28l-48-112A24.2 24.2 0 0 0 122.6.6l-104 24A24 24 0 0 0 0 48c0 256.5 207.9 464 464 464a24 24 0 0 0 23.4-18.6l24-104a24.3 24.3 0 0 0-14-27.6z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M497.4 361.8l-112-48a24 24 0 0 0-28 6.9l-49.6 60.6A370.7 370.7 0 0 1 130.6 204.1l60.6-49.6a23.9 23.9 0 0 0 6.9-28l-48-112A24.2 24.2 0 0 0 122.6.6l-104 24A24 24 0 0 0 0 48c0 256.5 207.9 464 464 464a24 24 0 0 0 23.4-18.6l24-104a24.3 24.3 0 0 0-14-27.6z'/%3E%3C/svg%3E") center / contain no-repeat; }
.theme-youthful #hero .hero-phone a:hover { background: #fff; border-color: rgb(var(--colorAncillary)); color: rgb(var(--colorAncillary)) !important; }
/* Hero cards: flat bars */
.theme-youthful #hero .hero-cards > div { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }
.theme-youthful #hero .hero-cards h2 { font-size: 22px; font-weight: 600; }

/* ------- Inner page header: page title in white on the primary colour ------- */
.theme-youthful #hero-short { min-height: 220px; padding-top: 90px; padding-bottom: 0 !important; background-color: rgb(var(--colorPrimary)); background-blend-mode: normal; }
.theme-youthful #hero-short::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(var(--colorPrimary), .75); }
.theme-youthful #hero-short .container { position: relative; }
.theme-youthful #hero-short .row { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.theme-youthful #hero-short .page-title { color: #fff !important; font-size: 30px; font-weight: 600; text-shadow: none; }

/* ------- Footer: primary colour, white text ------- */
.theme-youthful #footer { background-color: rgb(var(--colorPrimary)) !important; }
.theme-youthful #footer p { color: rgba(255,255,255,.85); font-size: 15px; font-weight: 300; }
.theme-youthful #footer p.about-copy { color: #fff; }
.theme-youthful #partners { background-color: rgb(var(--colorSecondary)) !important; }
.theme-youthful #contact-bar .container { color: rgb(var(--colorSecondary)); }
.theme-youthful #contact-bar .contact-bar-call { background-color: rgb(var(--colorAncillary)) !important; }

/* ------- Section classes for page / homepage HTML ------- */
/* Full-bleed wrapper: spans the window even inside a centred container */
.theme-youthful .full-bleed,
.theme-youthful .script-banner,
.theme-youthful .solid-band { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
/* At the top or bottom of a homepage section, sit flush against the next section (no white gap) */
.theme-youthful .home-content .container > :is(.full-bleed, .script-banner, .solid-band):first-child { margin-top: -3rem; }
.theme-youthful .home-content .container > :is(.full-bleed, .script-banner, .solid-band):last-child { margin-bottom: -3rem; }

/* Photo band with a script heading in a translucent box. Set the photo with style="background-image: url(...)":
   <div class="script-banner" style="background-image: url(/uploads/beach.jpg)"><div class="script-banner-box"><h2>freedom...</h2><p>…</p></div></div> */
.theme-youthful .script-banner { padding: 3rem 1rem; background-color: rgb(var(--colorPrimary)); background-position: center right; background-size: cover; text-align: center; }
.theme-youthful .script-banner-box { max-width: 760px; margin: 0 auto; padding: 2rem 1.5rem; border-radius: 80px 0 80px 0; background: rgba(236,247,255,.75); }
.theme-youthful .script-banner h2,
.theme-youthful .script { font-family: 'Allura', cursive; font-weight: 400; }
.theme-youthful .script-banner h2 { margin: 0 0 1rem; padding: 0; color: rgb(var(--colorSecondary)); font-size: 72px; line-height: 1; }
.theme-youthful .script-banner p { margin: 0; color: #404448; font-size: 20px; }
.theme-youthful .script-banner strong { font-weight: 800; }

/* Box with two rounded corners, in the primary colour: <div class="rounded-box"><h2>Savings in a few easy steps.</h2>…</div> */
.theme-youthful .rounded-box { padding: 2rem 1.5rem; border-radius: 45px 0 45px 0; background: rgb(var(--colorPrimary)); color: #fff; }
.theme-youthful .rounded-box h2, .theme-youthful .rounded-box h3,
.theme-youthful .rounded-box p { color: #fff; }
.theme-youthful .rounded-box h2 { margin-top: 0; text-align: left; }

/* List with tertiary-colour check marks: <ul class="check-list"><li>…</li></ul> */
.theme-youthful .check-list { padding-left: 0; list-style: none; font-size: 19px; }
.theme-youthful .check-list li { position: relative; margin: .4em 0; padding-left: 2em; }
.theme-youthful .check-list li::before { content: ''; position: absolute; left: .2em; top: .3em; width: .55em; height: 1em; border: solid rgb(var(--colorTertiary)); border-width: 0 .2em .2em 0; transform: rotate(45deg); }

/* Solid band with a centred white heading: <div class="solid-band"><h2>…</h2></div> (bg-primary etc. change the colour) */
.theme-youthful .solid-band { padding: 2rem 1rem; background-color: rgb(var(--colorSecondary)); text-align: center; }
.theme-youthful .solid-band > * { max-width: 1110px; margin-left: auto; margin-right: auto; }
.theme-youthful .solid-band h1, .theme-youthful .solid-band h2,
.theme-youthful .solid-band h3, .theme-youthful .solid-band p { color: #fff; line-height: 1.5; }

/* ------- Larger screens ------- */
@media (min-width: 768px) {
  .theme-youthful #hero .hp-headline { font-size: 40px; }
  .theme-youthful #hero .hp-lead { font-size: 20px; }
  .theme-youthful #hero-short { min-height: 300px; }
  .theme-youthful #hero-short .page-title { font-size: 40px; }
  .theme-youthful .script-banner { padding: 5rem 2rem; }
  .theme-youthful .script-banner-box { padding: 3rem; border-radius: 120px 0 120px 0; }
  .theme-youthful .script-banner h2 { font-size: 110px; }
  .theme-youthful .script-banner p { font-size: 26px; }
  .theme-youthful .rounded-box { padding: 3rem; }
}
@media (min-width: 992px) {
  .theme-youthful #menu-primary-menu { flex-wrap: nowrap; white-space: nowrap; }
  .theme-youthful .navbar-expand-lg .navbar-nav .nav-link { padding-left: .7rem; padding-right: .7rem; }
  /* Split hero: the hero photo (Homepage tab) fills the right half (inherited, so its focus setting still applies),
     the headline sits on the primary colour on the left */
  .theme-youthful #hero::before { width: 50%; }
  .theme-youthful #hero::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 50%; background: inherit; background-size: cover; }
  .theme-youthful #hero .headline { min-height: 560px; }
  .theme-youthful #hero .hero-headline { flex: 0 0 50%; max-width: 50%; padding: 4rem 4% 4rem 6%; }
  .theme-youthful #hero .hp-headline { font-size: 45px; }
  .theme-youthful .script-banner h2 { font-size: 150px; }
}
@media (min-width: 1200px) {
  .theme-youthful .header-phone { display: flex; }
  .theme-youthful .script-banner { background-attachment: fixed; }
}
