/* Client-approved logo and palette adapted from the original Therapy Mind site. */
:root {
  --ink: #314c4e;
  --muted: #5f7474;
  --cream: #f7faf9;
  --paper: #ffffff;
  --sage: #dfe8e6;
  --sage-deep: #496b6c;
  --gold: #b8ccca;
  --line: #cfddda;
  --shadow: 0 18px 50px rgba(49, 76, 78, .10);
}

.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; width: auto; height: auto; max-width: 220px; max-height: 80px; object-fit: contain; }
.brand-mark, .brand em { display: none; }

.site-header { background: rgba(255, 255, 255, .95); border-bottom-color: rgba(49, 76, 78, .12); }
.hero { background: linear-gradient(116deg, #fff 0%, #fff 62%, #dfe8e6 62%); }
.section-soft, .page-hero { background: #dfe8e6; }
.about-support-copy { max-width: none; margin: 0; padding-top: 2px; font-size: 16px !important; line-height: 1.65; color: var(--ink) !important; }
.hero-art { background: #dfe8e6; }
.hero-art:before { background: #bdd1cf; }
.hero-art:after { background: #ffffff; }
.portrait-card { background: linear-gradient(155deg, #607f7e, #314c4e); }
.image-block { background: linear-gradient(145deg, #dfe8e6, #a9c3c0); }
.image-block:after { background: #60807e; }
.card, .service-card, .testimonial, .credential { border-color: #cbdad7; }
.button { background: #496b6c; border-color: #496b6c; }
.button:hover { background: #314c4e; border-color: #314c4e; }
.cta { background: #496b6c; }
.cta .button { background: #fff; border-color: #fff; color: #314c4e; }
.contact-details { background: #dfe8e6; }
.site-footer { background: #496b6c; }
.brand-footer { margin: 0 0 17px; padding: 8px 12px; background: #fff; border-radius: 2px; }
.brand-footer .brand-logo { max-width: 190px; max-height: 42px; }

@media (max-width: 430px) {
  .brand-logo { max-width: 175px; max-height: 42px; }
}
.corporate-image {
  height: 440px;
  min-height: 0;
  overflow: hidden;
}

.corporate-image::before,
.corporate-image::after {
  display: none;
}

.corporate-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 800px) {
  .corporate-image {
    height: 320px;
  }
}
/* About / Services dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown__toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: 600 14px var(--sans);
    cursor: pointer;
}

/* Proper down-pointing triangle */
.nav-arrow {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform .2s ease;
}

.nav-dropdown:hover .nav-arrow,
.nav-dropdown:focus-within .nav-arrow,
.nav-dropdown.is-open .nav-arrow {
    transform: rotate(180deg);
}

.nav-submenu {
    position: absolute;
    top: 100%;            /* Important: no gap below About Us */
    left: -18px;
    z-index: 20;
    display: none;
    min-width: 210px;
    margin: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 14px 32px rgba(49, 76, 78, .14);
}

.nav-submenu a {
    display: block;
    padding: 10px 12px;
    color: var(--ink);
    font-size: 14px;
}

.nav-submenu a:hover,
.nav-submenu a:focus {
    background: #dfe8e6;
    color: var(--sage-deep);
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.is-open .nav-submenu {
    display: block;
}

@media (max-width: 800px) {
    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown__toggle {
        width: 100%;
        justify-content: space-between;
    }

    .nav-submenu {
        position: static;
        min-width: 0;
        margin-top: 10px;
        box-shadow: none;
        background: #dfe8e6;
    }
}/* Homepage photographic hero */
.hero.hero--image {
    display: flex;
    align-items: center;
    min-height: 650px;
    padding: 100px 0;
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, .96) 0%,
            rgba(255, 255, 255, .88) 38%,
            rgba(255, 255, 255, .38) 64%,
            rgba(255, 255, 255, .05) 100%
        ),
        url("../img/homehero4.jpg") 72% top / cover no-repeat;
}

.hero--image .hero-copy {
    max-width: 650px;
}

.hero--image .hero-copy > p {
    max-width: 590px;
    color: #314c4e;
}

@media (max-width: 800px) {
    .hero.hero--image {
        min-height: 590px;
        padding: 72px 0;
        background-position: 62% top;
        background-image:
            linear-gradient(
                90deg,
                rgba(255, 255, 255, .94) 0%,
                rgba(255, 255, 255, .80) 68%,
                rgba(255, 255, 255, .65) 100%
            ),
            url("../img/homehero4.jpg");
    }
}
.eap-hero h1 {
    max-width: 850px;
}

.eap-hero p {
    max-width: 720px;
}
.eap-hero .button {
    color: #ffffff;
}
/* EAP photographic hero */
.page-hero.eap-hero {
background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.92) 0%,
            rgba(255,255,255,.75) 30%,
            rgba(255,255,255,.35) 60%,
            rgba(255,255,255,.05) 100%
        ),
        url("../img/eap.jpg") center 25%/ cover no-repeat;

    min-height: 590px;
    display: flex;
    align-items: center;
}

.eap-hero h1 {
    max-width: 1050px;
}

.eap-hero p {
    color: #314c4e;
}

@media (max-width: 800px) {
    .page-hero.eap-hero {
        min-height: 550px;
        background-position: 65% center;
        background-image:
            linear-gradient(
                rgba(255,255,255,.94),
                rgba(255,255,255,.82)
            ),
            url("../img/eap.jpg");
    }
}
.eap-page .button.button-light {
    background: transparent;
    border: 1px solid #496b6c;
    color: #314c4e;
}

.eap-page .button.button-light:hover {
    background: #496b6c;
    color: #ffffff;
}