/*
Theme Name: Wild Hearts Therapy
Template: twentytwentyfive
Author: Frame Developments
Description: A calm sea-glass child theme for Wild Hearts Therapy.
Version: 1.0.0
*/

:root {
  --wht-ink: #14333a;
  --wht-muted: #3f575b;
  --wht-sea: #1f7a89;
  --wht-teal: #2f9d9b;
  --wht-green: #638a74;
  --wht-mist: #edf8f7;
  --wht-foam: #f8fcfb;
  --wht-sand: #f2eadf;
  --wht-line: rgba(31, 122, 137, 0.22);
}

body {
  color: var(--wht-ink);
  background:
    linear-gradient(180deg, rgba(237, 248, 247, 0.9) 0%, rgba(248, 252, 251, 0.98) 35%, #fff 100%);
}

a {
  color: #176f7c;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: #0d4e59;
}

footer {
  color: #edf9f8;
}

footer p,
footer li {
  color: #edf9f8;
}

footer a {
  color: #c8f3ee !important;
  text-decoration: underline !important;
  text-decoration-thickness: 0.1em !important;
}

footer a:hover,
footer a:focus-visible {
  color: #ffffff;
}

footer a:focus-visible,
a:focus-visible {
  outline: 3px solid #f2c777;
  outline-offset: 3px;
}

.wp-site-blocks {
  background: transparent;
}

.wht-page {
  --wp--style--global--content-size: 900px;
  --wp--style--global--wide-size: 1180px;
}

.wht-hero {
  min-height: clamp(520px, 78vh, 760px);
  display: flex;
  align-items: flex-end;
  position: relative;
}

.wht-hero .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(7, 41, 48, 0.68), rgba(7, 41, 48, 0.2) 58%, rgba(7, 41, 48, 0.08));
}

.wht-hero .wp-block-cover__inner-container {
  padding: clamp(2rem, 7vw, 5rem) 0;
}

.wht-kicker {
  color: #d9f6f3;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.wht-hero h1,
.wht-title {
  color: #ffffff;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 0.95;
  max-width: 880px;
}

.wht-hero .wht-lede {
  color: #eefdfc;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.65;
  max-width: 720px;
}

.wht-section {
  padding: clamp(3.2rem, 7vw, 6rem) 0;
}

.wht-main {
  margin-top: 0;
}

.wht-page-title {
  background: linear-gradient(180deg, rgba(237, 248, 247, 0.95), rgba(237, 248, 247, 0.45));
  border-bottom: 1px solid var(--wht-line);
  padding: clamp(2.8rem, 7vw, 5rem) 1rem clamp(1.9rem, 5vw, 3.5rem);
}

.wht-page-title h1 {
  color: #15515c;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.02;
  margin: 0;
}

.wht-section h1,
.wht-section h2 {
  color: #15515c;
}

.wht-section h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.wht-section h3 {
  color: #236a66;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  margin-top: 2.2rem;
}

.wht-section p,
.wht-section li {
  color: var(--wht-muted);
  font-size: 1.06rem;
  line-height: 1.78;
}

.wht-intro {
  background: linear-gradient(135deg, rgba(237, 248, 247, 0.96), rgba(242, 234, 223, 0.64));
  border-bottom: 1px solid var(--wht-line);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
}

.wht-split {
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.wht-image img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 8px;
	box-shadow: 0 22px 70px rgba(20, 51, 58, 0.13);
}

.wht-portrait img {
	aspect-ratio: 3 / 4;
}

.wht-card-grid {
  gap: 1rem;
}

.wht-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--wht-line);
  border-radius: 8px;
  padding: clamp(1.2rem, 3vw, 1.75rem);
  box-shadow: 0 18px 48px rgba(20, 51, 58, 0.07);
}

.wht-card h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  hyphens: none;
  margin-top: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.wht-divider {
  margin: clamp(2.5rem, 6vw, 4.5rem) auto;
}

.wht-divider img {
  border-radius: 8px;
  max-height: 260px;
  object-fit: cover;
  width: 100%;
}

.wht-note {
  background: #e8f5f2;
  border-left: 5px solid var(--wht-teal);
  border-radius: 8px;
  padding: clamp(1.2rem, 3vw, 1.8rem);
}

.wht-fees {
  background: #f8fbfa;
  border: 1px solid var(--wht-line);
  border-radius: 8px;
  padding: clamp(1.4rem, 3vw, 2rem);
}

.wht-fees p {
  border-bottom: 1px solid rgba(31, 122, 137, 0.15);
  margin: 0;
  padding: 0.9rem 0;
}

.wht-fees p:last-child {
  border-bottom: 0;
}

.wht-contact {
	background: linear-gradient(135deg, #e4f4f1, #f6efe4);
	border-radius: 8px;
	padding: clamp(1.6rem, 4vw, 2.5rem);
}

.wht-next-step {
	background: linear-gradient(135deg, rgba(242, 234, 223, 0.68), rgba(228, 244, 241, 0.88));
	border-top: 1px solid var(--wht-line);
}

.wht-animal-gallery {
	margin: 1.5rem 0 2rem;
}

.wht-animal-gallery .wp-block-image img {
	aspect-ratio: 4 / 3;
	border-radius: 8px;
	object-fit: cover;
}

.wht-horse-video {
	border-radius: 8px;
	box-shadow: 0 22px 70px rgba(20, 51, 58, 0.13);
	display: block;
	margin: 1.5rem auto;
	max-width: 760px;
	width: 100%;
}

.wht-contact-form {
	margin-top: 2rem;
}

.wht-contact-form p {
	margin: 1.2rem 0;
}

.wht-contact-form label {
	color: var(--wht-ink);
	display: block;
	font-weight: 700;
	margin-bottom: 0.4rem;
}

.wht-contact-form input:not([type="checkbox"]),
.wht-contact-form select,
.wht-contact-form textarea {
	background: #fff;
	border: 1px solid rgba(31, 122, 137, 0.35);
	border-radius: 5px;
	box-sizing: border-box;
	color: var(--wht-ink);
	font: inherit;
	padding: 0.75rem;
	width: 100%;
}

.wht-contact-form textarea {
	resize: vertical;
}

.wht-contact-form input:focus,
.wht-contact-form select:focus,
.wht-contact-form textarea:focus {
	outline: 3px solid rgba(47, 157, 155, 0.32);
	outline-offset: 2px;
}

.wht-contact-form .wht-consent {
	display: flex;
	gap: 0.7rem;
	align-items: flex-start;
}

.wht-contact-form .wht-consent input {
	margin-top: 0.4rem;
}

.wht-contact-form .wht-consent label {
	font-weight: 400;
}

.wht-contact-form button {
	background: #176f7c;
	border: 0;
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	padding: 0.9rem 1.35rem;
}

.wht-form-notice {
	border-radius: 5px;
	font-weight: 600;
	padding: 1rem;
}

.wht-form-success {
	background: #dcefe5;
	color: #15513d !important;
}

.wht-form-error {
	background: #fbe7e4;
	color: #8c2721 !important;
}

.wht-honeypot {
	left: -9999px;
	position: absolute;
}

.wht-button .wp-block-button__link {
  background: #176f7c;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  padding: 0.9rem 1.35rem;
}

@media (max-width: 700px) {
  .wht-hero {
    min-height: 620px;
  }

  .wht-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
