/*
Theme Name: Healing Heart Modern
Theme URI: https://host-4-less.com/parm/
Author: Healing Heart Counselling
Description: Elementor-ready Healing Heart theme with native navigation and modern blog archive/article templates.
Version: 1.5.11
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: healing-heart-modern
*/

:root {
  --hhm-plum: #4d284e;
  --hhm-berry: #9e357f;
  --hhm-apricot: #fac070;
  --hhm-sage: #7e9e6a;
  --hhm-mint: #b9ddb1;
  --hhm-ink: #26312b;
  --hhm-muted: #66736b;
  --hhm-paper: #fff9f3;
  --hhm-soft: #f1f6f2;
  --hhm-line: rgba(77, 40, 78, 0.14);
}

html { scroll-behavior: smooth; }
body { margin: 0; color: var(--hhm-ink); background: #fff; font-family: "Hind Siliguri", system-ui, sans-serif; }
body.admin-bar .hhm-site-header { top: 32px; }
.hhm-site-header, .hhm-site-header * { box-sizing: border-box; }
.hhm-site-header { position: -webkit-sticky; position: sticky; top: 0; z-index: 9999; isolation: isolate; width: 100%; border-bottom: 1px solid var(--hhm-line); background: rgba(255,255,255,.98); box-shadow: 0 8px 28px rgba(38,49,43,.06); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.hhm-header-inner { width: min(1280px, calc(100% - 48px)); min-height: 92px; margin: 0 auto; display: flex; align-items: center; gap: 30px; }
.hhm-brand { flex: 0 0 auto; display: block; }
.hhm-brand img, .hhm-brand .custom-logo { display: block; width: 260px; max-width: 100%; height: auto; }
.hhm-desktop-nav { margin-left: auto; }
.hhm-primary-menu, .hhm-primary-menu .sub-menu, .hhm-mobile-menu, .hhm-mobile-menu .sub-menu { margin: 0; padding: 0; list-style: none; }
.hhm-primary-menu { display: flex; align-items: center; gap: 24px; }
.hhm-primary-menu > li { position: relative; }
.hhm-site-header .hhm-primary-menu > li > a { display: block; padding: 34px 0; color: var(--hhm-ink) !important; font-size: 16px !important; font-weight: 600 !important; line-height: 1.2 !important; letter-spacing: 0 !important; text-decoration: none !important; text-transform: none !important; white-space: nowrap; }
.hhm-site-header .hhm-primary-menu a:hover, .hhm-site-header .hhm-primary-menu a:focus-visible, .hhm-site-header .hhm-primary-menu .current-menu-item > a { color: var(--hhm-berry) !important; }
.hhm-primary-menu .sub-menu { display: none; position: absolute; top: calc(100% - 18px); left: -16px; width: max-content; min-width: 220px; padding: 10px; border: 1px solid var(--hhm-line); border-radius: 6px; background: #fff; box-shadow: 0 18px 48px rgba(38,49,43,.16); }
.hhm-site-header .hhm-primary-menu .sub-menu a { display: block; padding: 10px 12px; color: var(--hhm-ink) !important; font-size: 15px !important; font-weight: 600 !important; text-decoration: none !important; }
.hhm-primary-menu li:hover > .sub-menu, .hhm-primary-menu li:focus-within > .sub-menu { display: block; }
.hhm-booking-button, .hhm-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 19px; border: 1px solid var(--hhm-berry); border-radius: 6px; background: var(--hhm-berry); color: #fff !important; font-size: 15px !important; font-weight: 700 !important; line-height: 1.2 !important; text-decoration: none !important; white-space: nowrap; }
.hhm-booking-button { flex: 0 0 auto; }
.hhm-booking-button:hover, .hhm-button:hover { background: var(--hhm-plum); border-color: var(--hhm-plum); }
.hhm-mobile-nav { display: none; position: relative; margin-left: auto; }
.hhm-mobile-nav summary { display: flex; align-items: center; gap: 10px; padding: 8px; color: var(--hhm-plum); cursor: pointer; font-size: 16px; font-weight: 700; list-style: none; }
.hhm-mobile-nav summary::-webkit-details-marker { display: none; }
.hhm-mobile-nav summary:focus-visible { outline: 3px solid rgba(158,53,127,.28); outline-offset: 4px; border-radius: 4px; }
.hhm-menu-icon, .hhm-menu-icon::before, .hhm-menu-icon::after { display: block; width: 20px; height: 2px; background: currentColor; }
.hhm-menu-icon { position: relative; }
.hhm-menu-icon::before, .hhm-menu-icon::after { content: ""; position: absolute; left: 0; }
.hhm-menu-icon::before { top: -6px; }
.hhm-menu-icon::after { top: 6px; }
.hhm-mobile-menu { position: absolute; top: calc(100% + 20px); right: 0; width: min(310px, calc(100vw - 30px)); padding: 12px; border: 1px solid var(--hhm-line); border-radius: 6px; background: #fff; box-shadow: 0 18px 48px rgba(38,49,43,.16); }
.hhm-site-header .hhm-mobile-menu a { display: block; padding: 10px; color: var(--hhm-ink) !important; font-size: 16px !important; font-weight: 600 !important; text-decoration: none !important; }
.hhm-mobile-menu .sub-menu { padding-left: 18px; }
.hhm-page-content, .hhm-page-content > .elementor { width: 100%; }

/* Site footer */
.hhm-site-footer, .hhm-site-footer * { box-sizing: border-box; }
.hhm-site-footer { border-top: 1px solid var(--hhm-line); background: var(--hhm-soft); }
.hhm-footer-inner { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 46px 0 28px; }
.hhm-footer-heading { display: flex; align-items: flex-start; flex-direction: column; gap: 7px; margin-bottom: 28px; text-align: left; }
.hhm-footer-kicker { margin: 0; color: var(--hhm-berry); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hhm-footer-name { margin: 0; color: var(--hhm-plum); font-family: Georgia, "Times New Roman", serif; font-size: 21px; font-weight: 600; }
.hhm-footer-group { padding-top: 24px; border-top: 1px solid var(--hhm-line); }
.hhm-footer-group + .hhm-footer-group { margin-top: 34px; }
.hhm-footer-group h2 { margin: 0 0 22px; color: var(--hhm-plum); font-size: 15px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.hhm-profile-links { width: 100%; }
.hhm-verification-row, .hhm-social-row { display: grid; width: 100%; align-items: center; }
.hhm-verification-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hhm-social-row { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 720px; gap: 18px; margin: 24px auto 0; }
.hhm-verification-badge { display: inline-flex; align-items: center; justify-content: center; justify-self: center; max-width: 100%; color: var(--hhm-plum); }
.hhm-verification-badge:focus-visible, .hhm-social-link:focus-visible, .hhm-affiliation-link:focus-visible { outline: 3px solid rgba(158,53,127,.28); outline-offset: 5px; border-radius: 4px; }
.hhm-verification-badge--psychology { width: min(220px, 100%) !important; min-width: 0; height: auto !important; min-height: 0; aspect-ratio: 284 / 89; background-position: center; background-size: contain; }
.hhm-verification-badge--acct img { display: block; width: min(220px, 100%); height: auto; }
.hhm-social-link { display: inline-flex; align-items: center; justify-content: center; justify-self: center; width: min(180px, 100%); gap: 9px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--hhm-line); border-radius: 6px; background: #fff; color: var(--hhm-ink); font-size: 15px; font-weight: 700; text-decoration: none; }
.hhm-social-link:hover { border-color: var(--hhm-berry); color: var(--hhm-berry); }
.hhm-social-link img { display: block; width: 23px; height: 23px; object-fit: contain; }
.hhm-affiliation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hhm-affiliation-link { display: flex; min-width: 0; min-height: 132px; padding: 18px; align-items: center; justify-content: center; flex-direction: column; gap: 12px; border: 1px solid var(--hhm-line); border-radius: 6px; background: #fff; color: var(--hhm-ink); text-align: center; text-decoration: none; transition: border-color 180ms ease, transform 180ms ease; }
.hhm-affiliation-link:hover { border-color: var(--hhm-berry); transform: translateY(-2px); }
.hhm-affiliation-link img { display: block; width: auto; max-width: min(180px, 100%); height: auto; max-height: 58px; object-fit: contain; }
.hhm-affiliation-link span { font-size: 13px; font-weight: 700; line-height: 1.3; }
.hhm-affiliation-link--dark { background: var(--hhm-plum); color: #fff; }
.hhm-footer-copyright { margin: 30px 0 0; padding-top: 20px; border-top: 1px solid var(--hhm-line); color: var(--hhm-muted); font-size: 14px; }

/* Elementor homepage refinements */
.hhc-page .hhc-badge img { display: none !important; }
.hhc-page .hhc-badge::before {
  content: "\2713";
  flex: 0 0 24px;
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 2px solid var(--hhm-berry);
  border-radius: 50%;
  background: #fff;
  color: var(--hhm-berry);
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  box-sizing: border-box;
}
#about .hhc-grid.two,
#grounding .hhc-grid.two {
  column-gap: clamp(44px, 5vw, 72px);
  row-gap: 48px;
}
.hhc-about-media { min-width: 0; }
.hhc-profile-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; padding-left: 2px; }
.hhc-profile-badge { display: inline-flex; align-items: center; justify-content: center; transition: transform 180ms ease, opacity 180ms ease; }
.hhc-profile-badge:hover { opacity: .9; transform: translateY(-2px); }
.hhc-profile-badge:focus-visible { outline: 3px solid rgba(158,53,127,.28); outline-offset: 5px; border-radius: 4px; }
.hhc-profile-badge img { display: block; width: auto; height: auto; }
.hhc-profile-badge.psychology img { width: 142px; }
.hhc-profile-badge.acct img { width: 150px; }

/* Blog archive */
.hhm-blog { min-height: 70vh; background: #fff; }
.hhm-blog-shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.hhm-blog-hero { padding: 88px 0 64px; background: var(--hhm-paper); border-bottom: 1px solid var(--hhm-line); }
.hhm-kicker { margin: 0 0 12px; color: var(--hhm-berry); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hhm-blog h1, .hhm-blog h2, .hhm-blog h3 { margin-top: 0; color: var(--hhm-ink); font-family: Georgia, "Times New Roman", serif; letter-spacing: 0; }
.hhm-blog-hero h1 { max-width: 800px; margin-bottom: 14px; font-size: clamp(44px, 7vw, 72px); line-height: 1.04; font-weight: 600; }
.hhm-blog-intro { max-width: 670px; margin: 0; color: var(--hhm-muted); font-size: 20px; line-height: 1.65; }
.hhm-posts { padding: 72px 0 104px; }
.hhm-post-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: 390px; overflow: hidden; border: 1px solid var(--hhm-line); border-radius: 8px; background: #fff; box-shadow: 0 18px 54px rgba(77,40,78,.07); }
.hhm-post-card-media { display: block; min-height: 360px; overflow: hidden; background: var(--hhm-soft); }
.hhm-post-card-media img { width: 100%; height: 100%; min-height: 360px; display: block; object-fit: cover; }
.hhm-post-card-content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(32px, 5vw, 64px); }
.hhm-post-meta { display: flex; flex-wrap: wrap; gap: 7px 16px; margin-bottom: 18px; color: var(--hhm-muted); font-size: 14px; font-weight: 600; }
.hhm-post-meta a { color: var(--hhm-berry); text-decoration: none; }
.hhm-post-card h2 { margin-bottom: 16px; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; font-weight: 600; }
.hhm-post-card h2 a { color: inherit; text-decoration: none; }
.hhm-post-card h2 a:hover { color: var(--hhm-berry); }
.hhm-post-excerpt { margin: 0 0 26px; color: var(--hhm-muted); font-size: 18px; line-height: 1.7; }
.hhm-empty { max-width: 680px; padding: 42px; border-left: 5px solid var(--hhm-apricot); background: var(--hhm-paper); }
.hhm-pagination { margin-top: 42px; }
.hhm-pagination .nav-links { display: flex; gap: 12px; }
.hhm-pagination a { color: var(--hhm-berry); font-weight: 700; }

/* Single article */
.hhm-article-header { padding: 72px 0 54px; background: var(--hhm-paper); border-bottom: 1px solid var(--hhm-line); }
.hhm-article-header-inner { width: min(860px, calc(100% - 48px)); margin: 0 auto; }
.hhm-back-link { display: inline-block; margin-bottom: 32px; color: var(--hhm-berry); font-size: 15px; font-weight: 700; text-decoration: none; }
.hhm-article-header h1 { margin-bottom: 22px; font-size: clamp(42px, 6vw, 68px); line-height: 1.05; font-weight: 600; }
.hhm-article-featured { width: min(975px, calc(100% - 48px)); margin: 56px auto 0; }
.hhm-article-featured img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.hhm-article-body { width: min(780px, calc(100% - 48px)); margin: 0 auto; padding: 72px 0 88px; color: #354039; font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.82; }
.hhm-article-body > *:first-child { margin-top: 0; }
.hhm-article-body > .elementor .e-con { padding: 0 !important; }
.hhm-article-body .elementor-widget-html { width: 100%; max-width: none; }
.hhm-article-body h2, .hhm-article-body h3 { margin-top: 2.2em; margin-bottom: .7em; color: var(--hhm-plum); line-height: 1.2; }
.hhm-article-body p { margin: 0 0 1.45em; }
.hhm-article-body a { color: var(--hhm-berry); }
.hhm-article-body img { max-width: 100%; height: auto; border-radius: 6px; }
.hhm-article-body > p:first-child > img:first-child,
.hhm-article-body .elementor-widget-html > p:first-child > img:first-child { float: left; width: min(310px, 42%); margin: .35em 36px 20px 0; border-radius: 8px; box-shadow: 0 18px 46px rgba(77,40,78,.14); }
.hhm-article-body > p:first-child,
.hhm-article-body .elementor-widget-html > p:first-child { color: var(--hhm-plum); font-size: 21px; line-height: 1.65; }
.hhm-article-body::after,
.hhm-article-body .elementor-widget-html::after { content: ""; display: table; clear: both; }
.hhm-article-body blockquote { margin: 2em 0; padding: 8px 0 8px 28px; border-left: 5px solid var(--hhm-sage); color: var(--hhm-plum); font-size: 1.15em; line-height: 1.65; }
.hhm-article-body ul, .hhm-article-body ol { padding-left: 1.3em; }
.hhm-article-body hr { margin: 2.5em 0; border: 0; border-top: 1px solid var(--hhm-line); }
.hhm-article-body figcaption { margin-top: 9px; color: var(--hhm-muted); font-family: "Hind Siliguri", system-ui, sans-serif; font-size: 14px; line-height: 1.5; text-align: center; }
.hhm-post-navigation { width: min(860px, calc(100% - 48px)); margin: 0 auto 88px; padding-top: 28px; border-top: 1px solid var(--hhm-line); }
.hhm-post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hhm-post-navigation a { color: var(--hhm-plum); font-family: Georgia, "Times New Roman", serif; font-size: 20px; text-decoration: none; }
.hhm-post-navigation .nav-next { text-align: right; }
.hhm-blog-cta { padding: 72px 0; color: #fff; background: var(--hhm-plum); }
.hhm-blog-cta-inner { width: min(860px, calc(100% - 48px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.hhm-blog-cta h2 { margin: 0 0 8px; color: #fff; font-size: clamp(30px, 4vw, 44px); }
.hhm-blog-cta p { margin: 0; color: rgba(255,255,255,.82); font-size: 18px; }

@media (max-width: 1180px) { .hhm-desktop-nav { display: none; } .hhm-mobile-nav { display: block; } }
@media (max-width: 782px) { body.admin-bar .hhm-site-header { top: 46px; } }
@media (max-width: 760px) {
  .hhm-post-card { grid-template-columns: 1fr; }
  .hhm-post-card-media, .hhm-post-card-media img { min-height: 270px; }
  .hhm-blog-cta-inner { align-items: flex-start; flex-direction: column; }
  .hhm-affiliation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  #about .hhc-grid.two,
  #grounding .hhc-grid.two { row-gap: 44px; }
}
@media (max-width: 640px) {
  .hhm-header-inner { width: min(100% - 30px, 1280px); min-height: 76px; gap: 14px; }
  .hhm-brand img, .hhm-brand .custom-logo { width: min(190px, 48vw); }
  .hhm-booking-button { min-height: 42px; padding: 10px 13px; font-size: 13px !important; }
  .hhm-blog-shell, .hhm-article-header-inner, .hhm-article-featured, .hhm-article-body, .hhm-post-navigation, .hhm-blog-cta-inner { width: min(100% - 30px, 1120px); }
  .hhm-blog-hero { padding: 64px 0 48px; }
  .hhm-posts { padding: 48px 0 72px; }
  .hhm-post-card-content { padding: 28px 24px 32px; }
  .hhm-article-header { padding: 52px 0 42px; }
  .hhm-article-featured { margin-top: 36px; }
  .hhm-article-body { padding: 52px 0 64px; font-size: 18px; line-height: 1.78; }
  .hhm-article-body > p:first-child > img:first-child,
  .hhm-article-body .elementor-widget-html > p:first-child > img:first-child { float: none; width: min(100%, 390px); margin: 0 auto 28px; display: block; }
  .hhm-article-body > p:first-child,
  .hhm-article-body .elementor-widget-html > p:first-child { font-size: 20px; }
  .hhm-post-navigation .nav-links { grid-template-columns: 1fr; }
  .hhm-post-navigation .nav-next { text-align: left; }
  #about .hhc-grid.two,
  #grounding .hhc-grid.two { row-gap: 36px; }
  .hhm-footer-inner { width: min(100% - 30px, 1120px); padding-top: 38px; }
  .hhm-verification-row { gap: 12px; }
  .hhm-social-row { gap: 8px; margin-top: 18px; }
  .hhm-social-link { gap: 6px; min-height: 40px; padding: 6px; font-size: 12px; }
  .hhm-social-link img { width: 18px; height: 18px; }
}
@media (max-width: 520px) { .hhm-booking-button { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
