/*
Theme Name: Helping Hands Home Care
Theme URI: https://example.com/helping-hands-home-care
Author: OpenAI
Description: A spacious, accessible WordPress theme for Helping Hands Home Care Bridging Program. Includes editable Gutenberg page content, preloaded demo media, automatic page/menu setup, and Gravity Forms styling.
Version: 1.1.3
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: helping-hands
*/
:root {
  --hh-purple: #431064;
  --hh-purple-deep: #35084f;
  --hh-teal: #07898d;
  --hh-teal-dark: #006f73;
  --hh-gold: #f4b52e;
  --hh-gold-soft: #fff5dc;
  --hh-cream: #fffdf8;
  --hh-mint: #eef8f7;
  --hh-ink: #19172a;
  --hh-muted: #555467;
  --hh-line: #e9e7ed;
  --hh-shadow: 0 10px 28px rgba(38, 24, 52, 0.08);
  --hh-radius: 24px;
  --hh-content: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fff;
  color: var(--hh-ink);
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
}
a {
  color: var(--hh-teal-dark);
  text-decoration: none;
}
a:hover {
  color: var(--hh-purple);
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
}
button,
input,
textarea,
select {
  font: inherit;
}
.hh-container {
  width: min(var(--hh-content), calc(100% - 56px));
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(67, 16, 100, 0.07);
  backdrop-filter: blur(12px);
}
.hh-header-inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.hh-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
  color: var(--hh-purple);
}
.hh-brand img {
  display: block;
  width: 78px;
  height: 78px;
  object-fit: contain;
}
.hh-brand-text {
  font-weight: 900;
  font-size: 18px;
  line-height: 1.1;
  color: var(--hh-purple);
}
.hh-brand-text small {
  display: block;
  color: var(--hh-teal);
  font-size: 13px;
  font-weight: 800;
}
.hh-nav {
  flex: 1;
}
.hh-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  padding: 0;
  margin: 0;
}
.hh-nav a {
  color: var(--hh-ink);
  font-size: 15px;
  font-weight: 800;
  padding: 12px 0;
  display: inline-block;
}
.hh-nav a:hover,
.hh-nav .current-menu-item > a {
  color: var(--hh-teal-dark);
}
.hh-nav .current-menu-item > a:after {
  content: "";
  height: 4px;
  border-radius: 5px;
  background: var(--hh-teal);
  display: block;
  margin-top: 5px;
}
.hh-header-phone,
.hh-button-gold .wp-block-button__link {
  background: linear-gradient(135deg, #ffd16a, var(--hh-gold));
  color: #1b1420 !important;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-shadow: 0 6px 16px rgba(244, 181, 46, 0.2);
  text-decoration: none !important;
}
.hh-header-phone {
  white-space: nowrap;
  font-size: 15px;
}
.hh-menu-toggle {
  display: none;
  border: 2px solid var(--hh-teal);
  background: #fff;
  color: var(--hh-purple);
  border-radius: 12px;
  padding: 10px 15px;
  font-weight: 900;
}
.site-main {
  overflow: hidden;
}
.entry-content {
  margin: 0;
}
.entry-content > * {
  max-width: var(--hh-content);
  margin-left: auto;
  margin-right: auto;
}
.entry-content > .alignfull {
  max-width: none;
}
.entry-content > .alignwide {
  max-width: 1280px;
}
.wp-block-group {
  box-sizing: border-box;
}
.hh-hero {
  position: relative;
  padding: 58px 0 64px;
  background: linear-gradient(120deg, #fff 0%, #fbfaff 52%, #f0f9f8 100%);
  overflow: hidden;
}
.hh-hero:before {
  content: "";
  position: absolute;
  width: 45%;
  height: 180px;
  left: -7%;
  bottom: -70px;
  border-radius: 50%;
  background: rgba(244, 181, 46, 0.08);
}
.hh-hero:after {
  content: "";
  position: absolute;
  width: 50%;
  height: 170px;
  right: -8%;
  bottom: -75px;
  border-radius: 50%;
  background: rgba(7, 137, 141, 0.08);
}
.hh-hero-grid {
  position: relative;
  z-index: 1;
  align-items: center;
  gap: 55px !important;
  max-width: var(--hh-content);
  margin: 0 auto !important;
  padding: 0 28px;
}
.hh-hero-copy {
  flex-basis: 48% !important;
}
.hh-hero-visual {
  flex-basis: 52% !important;
}
.hh-eyebrow {
  font-size: 13px !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--hh-teal-dark);
  margin: 0 0 12px !important;
}
.hh-page-title {
  font-size: clamp(42px, 5vw, 66px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.035em;
  color: var(--hh-purple);
  font-weight: 900;
  margin: 0 0 20px !important;
}
.hh-lead {
  font-size: 21px !important;
  line-height: 1.5;
  color: #343247;
  max-width: 620px;
  margin: 0 0 26px !important;
}
.hh-hero-image img {
  width: 100%;
  height: 410px;
  object-fit: cover;
  object-position: center;
}
.hh-hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hh-buttons {
  margin: 0 !important;
  gap: 12px;
}
.hh-button .wp-block-button__link {
  min-height: 54px;
  padding: 13px 25px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}
.hh-button-outline .wp-block-button__link {
  border: 2px solid var(--hh-teal);
  background: #fff;
  color: var(--hh-teal-dark);
}
.hh-button-outline .wp-block-button__link:hover {
  background: var(--hh-mint);
  color: var(--hh-purple);
}
.hh-button-gold .wp-block-button__link:hover {
  background: var(--hh-purple);
  color: #fff !important;
}
.hh-section {
  padding: 34px 0;
}
.hh-section-heading {
  text-align: center;
  padding: 28px 20px 12px;
}
.hh-section-heading .hh-eyebrow {
  margin-bottom: 7px !important;
}
.hh-section-title {
  font-size: clamp(32px, 3.5vw, 44px) !important;
  line-height: 1.15 !important;
  color: var(--hh-purple);
  font-weight: 900;
  margin: 0 0 12px !important;
}
.hh-section-intro {
  font-size: 19px;
  color: var(--hh-muted);
  max-width: 760px;
  margin: 0 auto 10px !important;
}
.hh-three-cards {
  gap: 22px !important;
  margin: 0 auto !important;
  padding: 0 26px;
}
.hh-two-cards {
  gap: 24px !important;
  margin: 0 auto !important;
  padding: 0 26px;
  flex-direction: column;
}
.hh-five-cards {
  gap: 14px !important;
  margin: 0 auto !important;
  padding: 0 26px;
}
.hh-card {
  background: #fff;
  border: 1px solid #f0edf3;
  border-radius: var(--hh-radius);
  padding: 28px;
  box-shadow: var(--hh-shadow);
}
.hh-card h3 {
  font-size: 23px;
  line-height: 1.2;
  color: var(--hh-purple);
  font-weight: 900;
  margin: 0 0 10px;
}
.hh-card p {
  font-size: 17px;
  line-height: 1.55;
  color: #343247;
  margin: 0 0 12px;
}
.hh-home-service-card {
  text-align: center;
  padding: 30px 24px;
}
.hh-home-service-card h3 {
  margin-top: 10px;
}
.hh-about-preview {
  padding-top: 64px;
  padding-bottom: 55px;
}
.hh-about-preview-grid {
  align-items: center;
  gap: 55px !important;
  padding: 0 28px;
  max-width: var(--hh-content);
  margin: auto !important;
}
.hh-story-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 28px;
}
.hh-about-preview h2,
.hh-story-section h2 {
  font-size: clamp(34px, 3.4vw, 46px);
  color: var(--hh-purple);
  line-height: 1.1;
}
.hh-about-preview p {
  font-size: 19px;
}
.hh-feature-card {
  text-align: center;
  padding: 30px 24px;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  border-right: 1px solid var(--hh-line);
}
.hh-feature-card:last-child {
  border-right: 0;
}
.hh-cta {
  margin: 55px auto 45px !important;
  max-width: var(--hh-content);
  padding: 30px 38px;
  background: var(--hh-mint);
  border-radius: 30px;
}
.hh-cta-grid {
  align-items: center;
  gap: 22px !important;
}
.hh-cta-copy {
  flex-basis: 55% !important;
}
.hh-cta-copy h2 {
  color: var(--hh-purple);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  margin: 0 0 8px;
}
.hh-cta-copy p {
  margin: 0;
  color: #343247;
  font-size: 18px;
}
.hh-cta-icon-col {
  flex-basis: 12% !important;
}
.hh-cta-mark {
  font-size: 62px;
  color: var(--hh-teal);
  margin: 0 !important;
  text-align: center;
  border: 3px solid var(--hh-teal);
  height: 110px;
  width: 110px;
  border-radius: 80px;
}
.hh-cta-action {
  flex-basis: 33% !important;
}
.hh-cta-action .wp-block-buttons {
  justify-content: flex-end;
}
.hh-credential-card {
  text-align: center;
  padding: 32px 20px;
  height: 100%;
}
.hh-credential-card .wp-block-buttons {
  justify-content: center;
  margin-top: 16px !important;
}
.hh-specialties {
  padding-top: 18px;
}
.hh-service-grid {
  align-items: stretch;
}
.hh-service-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.hh-service-photo {
  margin: 0 !important;
}
.hh-service-photo img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  border-radius: 17px;
}
.hh-service-card-copy {
  padding: 0 !important;
}
.hh-service-card-copy h3 {
  font-size: 22px;
}
.hh-service-card-copy p {
  font-size: 16px;
}
.hh-resource-grid .wp-block-column {
  flex-basis: 50% !important;
}
.hh-resource-card {
  padding: 28px 30px;
  min-height: 220px;
}
.hh-resource-card .wp-block-buttons {
  margin-top: 18px !important;
}
.hh-resource-card .wp-block-button__link {
  min-width: 170px;
}
.hh-story-grid {
  align-items: center;
  gap: 42px !important;
  padding: 0 28px;
  max-width: var(--hh-content);
  margin: 0 auto !important;
}
.hh-story-section {
  padding-top: 32px;
}
.hh-note-box {
  background: var(--hh-mint);
  border-left: 4px solid var(--hh-teal);
  border-radius: 12px;
  padding: 15px 18px;
  margin-top: 18px;
}
.hh-note-box p {
  margin: 0;
  font-size: 15px;
}
.hh-value-card {
  padding: 30px 24px;
  height:100%;
}
.hh-leaders {
  padding-top: 12px;
}
.hh-leader-card {
  padding: 28px;
  text-align: center;
}
.hh-leader-card h3 {
  font-size: 26px;
}
.hh-staff-list {
  padding-top: 12px;
}
.hh-staff-card {
  text-align: center;
  padding: 18px 15px;
  height:100%;
}
.hh-staff-photo {
  margin: 0 0 16px !important;
}
.hh-staff-photo img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  border-radius: 18px;
  background: var(--hh-mint);
}
.hh-staff-card h3 {
  font-size: 21px;
  margin-bottom: 4px;
}
.hh-staff-role {
  color: var(--hh-teal-dark) !important;
  font-size: 15px !important;
  font-weight: 900;
  margin-bottom: 8px !important;
}
.hh-small-copy {
  font-size: 14px !important;
  color: var(--hh-muted) !important;
}
.hh-contact-layout {
  padding-top: 18px;
}
.hh-contact-grid {
  gap: 26px !important;
  padding: 0 26px;
  max-width: var(--hh-content);
  margin: 0 auto !important;
  align-items: stretch;
}

.hh-contact-grid > div:last-of-type{
  flex-grow: 2 !important;
}

.hh-contact-details,
.hh-contact-form-card {
  padding: 34px;
}
.hh-contact-details h2,
.hh-contact-form-card h2 {
  font-size: 36px;
  color: var(--hh-purple);
  line-height: 1.15;
}
.hh-contact-item {
  border-bottom: 1px solid var(--hh-line);
  padding: 18px 0;
}
.hh-contact-item:last-child {
  border-bottom: 0;
}
.hh-contact-item h3 {
  font-size: 20px;
  margin: 0 0 3px;
}
.hh-contact-item p {
  margin: 0;
}
.hh-update-field {
  color: #8a5b00 !important;
}
.hh-admin-note {
  font-size: 14px;
  color: var(--hh-muted);
  background: #fff8e7;
  padding: 12px;
  border-radius: 10px;
  margin-top: 16px;
}
.hh-notice {
  font-size: 15px;
}
.site-footer {
  background: #f8f5fb;
  border-top: 1px solid #eee7f2;
  padding: 58px 0 25px;
  margin-top: 45px;
}
.hh-footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 45px;
}
.hh-footer-brand img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}
.site-footer h3 {
  color: var(--hh-purple);
  font-size: 22px;
  margin: 0 0 14px;
}
.site-footer p,
.site-footer li {
  font-size: 15px;
  color: #555467;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li {
  margin: 8px 0;
}
.hh-footer-bottom {
  border-top: 1px solid #e7e1eb;
  margin-top: 34px;
  padding-top: 18px;
  color: #777182;
  font-size: 13px;
}
.hh-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 18px;
}
.hh-menu-toggle:focus,
.hh-header-phone:focus,
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 3px solid rgba(7, 137, 141, 0.3);
  outline-offset: 3px;
}
/* Gravity Forms – accessible fields and large submit control */
.gform_wrapper {
  font-family: "Nunito Sans", Arial, sans-serif !important;
}
.gform_wrapper .gform_fields {
  row-gap: 18px !important;
}
.gform_wrapper .gfield_label,
.gform_wrapper legend {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: var(--hh-ink) !important;
  margin-bottom: 8px !important;
}
.gform_wrapper .gfield_required {
  color: #b42318 !important;
}
.gform_wrapper
  input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.gform_wrapper select,
.gform_wrapper textarea {
  width: 100% !important;
  min-height: 54px !important;
  border: 1.5px solid #d8d5de !important;
  border-radius: 12px !important;
  padding: 13px 15px !important;
  font-size: 17px !important;
  color: var(--hh-ink) !important;
  background: #fff !important;
  box-shadow: none !important;
}
.gform_wrapper textarea {
  min-height: 155px !important;
}
.gform_wrapper input:focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus {
  border-color: var(--hh-teal) !important;
  box-shadow: 0 0 0 3px rgba(7, 137, 141, 0.12) !important;
}
.gform_wrapper .gform_footer input[type="submit"],
.gform_wrapper .gform_page_footer input[type="submit"],
.gform_wrapper button[type="submit"] {
  min-height: 58px !important;
  min-width: 190px !important;
  padding: 14px 30px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #ffd16a, var(--hh-gold)) !important;
  color: #21172b !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}
.gform_wrapper .gform_footer input[type="submit"]:hover {
  background: var(--hh-purple) !important;
  color: #fff !important;
}
.gform_wrapper .gfield_validation_message,
.gform_wrapper .validation_message {
  font-size: 14px !important;
}
.gform_wrapper .gform_validation_errors {
  border-radius: 14px !important;
}
@media (max-width: 1000px) {
  .hh-header-inner {
    gap: 14px;
  }
  .hh-brand {
    min-width: 185px;
  }
  .hh-brand img {
    width: 65px;
    height: 65px;
  }
  .hh-brand-text {
    font-size: 15px;
  }
  .hh-nav ul {
    gap: 13px;
  }
  .hh-nav a {
    font-size: 13px;
  }
  .hh-header-phone {
    font-size: 13px;
    padding: 11px 14px;
  }
  .hh-hero-grid {
    gap: 30px !important;
  }
  .hh-hero-image img {
    height: 340px;
  }
  .hh-five-cards {
    flex-wrap: wrap;
  }
  .hh-five-cards > .wp-block-column {
    flex-basis: calc(33.333% - 14px) !important;
  }
}
@media (max-width: 780px) {
  body {
    font-size: 17px;
  }
  .hh-container {
    width: calc(100% - 34px);
  }
  .hh-header-inner {
    min-height: 78px;
    padding: 8px 0;
  }
  .hh-brand {
    min-width: 0;
  }
  .hh-brand img {
    width: 58px;
    height: 58px;
  }
  .hh-brand-text {
    font-size: 14px;
  }
  .hh-brand-text small {
    font-size: 11px;
  }
  .hh-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
  }
  .hh-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 14px 22px 20px;
    border-bottom: 1px solid var(--hh-line);
    box-shadow: var(--hh-shadow);
  }
  .hh-nav.is-open {
    display: block;
  }
  .hh-nav ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .hh-nav li {
    border-bottom: 1px solid var(--hh-line);
  }
  .hh-nav a {
    font-size: 16px;
    padding: 12px 0;
  }
  .hh-header-phone {
    display: none;
  }
  .hh-hero {
    padding: 40px 0 45px;
  }
  .hh-hero-grid {
    padding: 0 20px;
    gap: 25px !important;
  }
  .hh-hero-grid > .wp-block-column {
    flex-basis: 100% !important;
  }
  .hh-hero-image img {
    height: 300px;
    max-width: 520px;
    margin: auto;
    display: block;
  }
  .hh-page-title {
    font-size: 43px !important;
  }
  .hh-lead {
    font-size: 19px !important;
  }
  .hh-section {
    padding: 25px 0;
  }
  .hh-section-heading {
    padding: 24px 18px 12px;
  }
  .hh-section-title {
    font-size: 34px !important;
  }
  .hh-three-cards,
  .hh-two-cards,
  .hh-five-cards {
    padding: 0 18px;
    gap: 16px !important;
  }
  .hh-three-cards > .wp-block-column,
  .hh-two-cards > .wp-block-column,
  .hh-five-cards > .wp-block-column {
    flex-basis: 100% !important;
  }
  .hh-about-preview-grid,
  .hh-story-grid {
    padding: 0 20px;
    gap: 24px !important;
  }
  .hh-about-preview-grid > .wp-block-column,
  .hh-story-grid > .wp-block-column {
    flex-basis: 100% !important;
  }
  .hh-story-image img {
    height: 260px;
  }
  .hh-feature-card {
    border-right: 0;
    border-bottom: 1px solid var(--hh-line);
    padding: 20px;
  }
  .hh-cta {
    margin: 35px 17px !important;
    padding: 25px 22px;
  }
  .hh-cta-grid {
    gap: 12px !important;
  }
  .hh-cta-grid > .wp-block-column {
    flex-basis: 100% !important;
    text-align: center;
  }
  .hh-cta-mark {
    font-size: 44px;
  }
  .hh-cta-action .wp-block-buttons {
    justify-content: center;
  }
  .hh-contact-grid {
    padding: 0 18px;
    gap: 18px !important;
  }
  .hh-contact-grid > .wp-block-column {
    flex-basis: 100% !important;
  }
  .hh-contact-details,
  .hh-contact-form-card {
    padding: 25px;
  }
  .hh-five-cards > .wp-block-column {
    flex-basis: calc(50% - 8px) !important;
  }
  .hh-resource-grid > .wp-block-column {
    flex-basis: 100% !important;
  }
  .hh-footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .site-footer {
    padding: 42px 0 22px;
  }
}


.hh-card.hh-home-service-card{
	display: flex;
	flex-flow: column;
	justify-content: center;
	height: 100%;
}

@media (max-width: 440px) {
  .hh-brand-text {
    max-width: 150px;
  }
  .hh-menu-toggle {
    padding: 9px 11px;
    font-size: 14px;
  }
  .hh-hero-buttons .wp-block-button {
    width: 100%;
  }
  .hh-hero-buttons .wp-block-button__link {
    width: 100%;
  }
  .hh-five-cards > .wp-block-column {
    flex-basis: 100% !important;
  }
  .hh-page-title {
    font-size: 38px !important;
  }
  .hh-section-title {
    font-size: 30px !important;
  }
  .hh-contact-details h2,
  .hh-contact-form-card h2 {
    font-size: 30px;
  }
}
.hh-leader-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  column-gap: 22px;
  align-items: start;
  text-align: left;
}
.hh-leader-card .hh-leader-photo {
  grid-row: span 4;
  margin: 0 !important;
}
.hh-leader-card .hh-leader-photo img {
  width: 150px;
  height: 180px;
  object-fit: cover;
  border-radius: 18px;
  background: var(--hh-mint);
}
.hh-leader-card h3,
.hh-leader-card p {
  margin-top: 0 !important;
}
@media (max-width: 780px) {
  .hh-leader-card {
    grid-template-columns: 110px 1fr;
  }
  .hh-leader-card .hh-leader-photo img {
    width: 110px;
    height: 140px;
  }
}
@media (max-width: 440px) {
  .hh-leader-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hh-leader-card .hh-leader-photo {
    grid-row: auto;
  }
  .hh-leader-card .hh-leader-photo img {
    width: 140px;
    height: 140px;
    margin: auto;
  }
}

/* Helpful Resources layout correction: prevent eight narrow columns in one row. */
.hh-resource-grid.wp-block-columns {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 26px !important;
  width: 100%;
}
.hh-resource-grid.wp-block-columns > .wp-block-column {
  flex: initial !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
}
.hh-resource-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-height: 235px;
  height: 100%;
  padding: 30px 34px;
  overflow: visible;
}
.hh-resource-card h3,
.hh-resource-card .wp-block-heading {
  width: 100%;
  max-width: none;
  margin: 0 0 12px;
  line-height: 1.25;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
}
.hh-resource-card p {
  width: 100%;
  max-width: none;
  line-height: 1.6;
  overflow-wrap: break-word;
  word-break: normal;
}
.hh-resource-card .wp-block-buttons {
  margin-top: auto !important;
  padding-top: 18px;
}
.hh-resource-card .wp-block-button,
.hh-resource-card .wp-block-button__link {
  max-width: 100%;
}
.hh-resource-card .wp-block-button__link {
  min-width: 175px;
  min-height: 48px;
  padding: 11px 22px;
  white-space: nowrap;
}
@media (max-width: 780px) {
  .hh-resource-grid.wp-block-columns {
    grid-template-columns: 1fr;
    gap: 18px !important;
  }
  .hh-resource-card {
    min-height: 0;
    padding: 26px;
  }
}

/* v1.1.2: Spacious, responsive nine-service grid. */
.hh-service-grid.wp-block-columns {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  align-items: stretch;
  width: 100%;
}
.hh-service-grid.wp-block-columns > .wp-block-column {
  flex: initial !important;
  flex-basis: auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
}
.hh-service-grid .hh-service-card {
  min-width: 0;
  height: 100%;
  padding: 24px;
  gap: 18px;
  overflow: visible;
}
.hh-service-grid .hh-service-photo,
.hh-service-grid .hh-service-photo img {
  width: 100%;
}
.hh-service-grid .hh-service-photo img {
  height: 210px;
  object-fit: cover;
  display: block;
}
.hh-service-grid .hh-service-card-copy,
.hh-service-grid .hh-service-card-copy h3,
.hh-service-grid .hh-service-card-copy p {
  min-width: 0;
  width: 100%;
  max-width: none;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: manual;
}
.hh-service-grid .hh-service-card-copy h3 {
  font-size: clamp(21px, 2vw, 25px);
  line-height: 1.3;
}
.hh-service-grid .hh-service-card-copy p {
  font-size: 17px;
  line-height: 1.7;
}




@media (max-width: 980px) {
  .hh-service-grid.wp-block-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
  }
}
@media (max-width: 650px) {
  .hh-service-grid.wp-block-columns {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
  }
  .hh-service-grid .hh-service-card {
    padding: 22px;
  }
  .hh-service-grid .hh-service-photo img {
    height: 230px;
  }
}
