/*
Theme Name: Kitsap Yoga
Theme URI: https://kitsapyoga.com/
Author: Aldermedia
Description: Accessible local yoga directory and editorial theme for Kitsap Yoga.
Version: 0.1.3
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: kitsap-yoga
*/

@font-face {
  font-family: "Marcellus";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://kitsapyoga.com/wp-content/uploads/elementor/google-fonts/fonts/marcellus-weo_ebrok8hqldviaf81vvok.woff2") format("woff2");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("https://kitsapyoga.com/wp-content/uploads/elementor/google-fonts/fonts/plusjakartasans-ldioaomqnqcsa88c7o9yz4kmcoog4ko20yw.woff2") format("woff2");
}

:root {
  --ky-navy: #2d3340;
  --ky-navy-soft: #414a59;
  --ky-rust: #8c4130;
  --ky-rust-hover: #6f2f24;
  --ky-clay: #a67360;
  --ky-cream: #fffef6;
  --ky-sand: #f2ece4;
  --ky-white: #ffffff;
  --ky-text: #2d3340;
  --ky-muted: #4d5866;
  --ky-line: #d9d1c7;
  --ky-sage: #dce7df;
  --ky-sage-ink: #315746;
  --ky-focus: #8c4130;
  --ky-shadow: 0 20px 55px rgba(45, 51, 64, 0.12);
  --ky-radius: 22px;
  --ky-content: 1180px;
  --ky-reading: 780px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ky-cream);
  color: var(--ky-text);
  font-family: "Plus Jakarta Sans", "Segoe UI", "Aptos", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body, button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ky-rust); text-underline-offset: 0.2em; text-decoration-thickness: 0.08em; }
a:hover { color: var(--ky-rust-hover); }
button, input, select, textarea { color: var(--ky-text); }
:focus-visible { outline: 3px solid var(--ky-focus); outline-offset: 4px; }
::selection { background: var(--ky-rust); color: var(--ky-white); }

h1, h2, h3, h4 {
  color: var(--ky-navy);
  font-family: "Marcellus", Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

p, li, dd, td, th { overflow-wrap: anywhere; }
.ky-wrap { width: min(calc(100% - 40px), var(--ky-content)); margin-inline: auto; }
.ky-reading-width { max-width: var(--ky-reading); }
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  z-index: 99999;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  background: var(--ky-white);
  color: var(--ky-navy);
  box-shadow: var(--ky-shadow);
  font-weight: 700;
}

.ky-site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(45, 51, 64, 0.12);
  background: rgba(255, 254, 246, 0.96);
  backdrop-filter: blur(14px);
}
.admin-bar .ky-site-header { top: 32px; }
.ky-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 26px; }
.ky-brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.ky-logo-image { width: auto; height: 58px; max-width: 190px; object-fit: contain; }
.ky-logo-fallback { color: var(--ky-navy); font-size: 1.3rem; font-weight: 800; }
.ky-nav { display: flex; align-items: center; gap: 26px; }
.ky-nav ul { display: flex; align-items: center; gap: 24px; padding: 0; margin: 0; list-style: none; }
.ky-nav li { position: relative; }
.ky-nav a { color: var(--ky-navy); font-size: 0.94rem; font-weight: 700; text-decoration: none; }
.ky-nav a:hover, .ky-nav .current-menu-item > a { color: var(--ky-rust); }
.ky-nav .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -18px;
  display: none;
  min-width: 220px;
  padding: 12px;
  border: 1px solid var(--ky-line);
  border-radius: 15px;
  background: var(--ky-white);
  box-shadow: var(--ky-shadow);
}
.ky-nav li:focus-within > .sub-menu, .ky-nav li:hover > .sub-menu { display: grid; gap: 3px; }
.ky-nav .sub-menu a { display: block; padding: 9px 10px; border-radius: 9px; }
.ky-nav .sub-menu a:hover { background: var(--ky-sand); }
.ky-mobile-nav { display: none; position: relative; }
.ky-mobile-nav summary { min-width: 48px; min-height: 48px; padding: 11px 15px; border: 2px solid var(--ky-navy); border-radius: 999px; cursor: pointer; list-style: none; font-weight: 800; }
.ky-mobile-nav summary::-webkit-details-marker { display: none; }

.ky-button, button.ky-button, .directorist-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 19px;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.ky-button:hover, .directorist-btn:hover { transform: translateY(-2px); }
.ky-button--rust { border-color: var(--ky-rust); background: var(--ky-rust); color: var(--ky-white) !important; }
.ky-button--rust:hover { border-color: var(--ky-rust-hover); background: var(--ky-rust-hover); color: var(--ky-white) !important; }
.ky-button--navy { border-color: var(--ky-navy); background: var(--ky-navy); color: var(--ky-white) !important; }
.ky-button--navy:hover { border-color: #171c25; background: #171c25; color: var(--ky-white) !important; }
.ky-button--cream { border-color: var(--ky-cream); background: transparent; color: var(--ky-cream) !important; }
.ky-button--cream:hover { background: var(--ky-cream); color: var(--ky-navy) !important; }
.ky-button--outline { border-color: var(--ky-navy); background: transparent; color: var(--ky-navy) !important; }
.ky-button--outline:hover { background: var(--ky-navy); color: var(--ky-white) !important; }
.ky-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ky-text-link { display: inline-flex; align-items: center; gap: 4px; color: var(--ky-rust); font-weight: 800; }

.ky-hero { position: relative; overflow: hidden; padding: clamp(76px, 10vw, 132px) 0 108px; background: var(--ky-navy); color: var(--ky-white); }
.ky-hero::before { position: absolute; inset: auto -170px -260px auto; width: 610px; height: 610px; border: 70px solid rgba(166, 115, 96, 0.24); border-radius: 50%; content: ""; }
.ky-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr); align-items: center; gap: clamp(50px, 8vw, 110px); }
.ky-kicker { display: inline-block; margin-bottom: 14px; color: var(--ky-rust); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.ky-hero .ky-kicker, .ky-section--navy .ky-kicker { color: #e6b9a8; }
.ky-hero h1 { max-width: 780px; margin: 0; color: var(--ky-white); font-size: clamp(3.25rem, 7vw, 6.2rem); line-height: 0.92; letter-spacing: -0.055em; }
.ky-hero h1 span { color: #e9c5b8; }
.ky-hero-lede { max-width: 680px; margin: 28px 0; color: #eef0f3; font-size: clamp(1.08rem, 2vw, 1.28rem); }
.ky-trust-line { max-width: 650px; margin: 24px 0 0; color: #d1d6df; font-size: 0.87rem; }
.ky-hero-art { position: relative; min-height: 480px; }
.ky-orbit { position: absolute; border-radius: 50%; }
.ky-orbit--one { inset: 12% 4% 2% 10%; border: 2px solid rgba(255, 254, 246, 0.28); }
.ky-orbit--two { inset: 26% 18% 16% 0; border: 42px solid rgba(140, 65, 48, 0.4); }
.ky-pose-card { position: absolute; display: grid; width: 235px; min-height: 126px; align-content: end; padding: 25px; border-radius: 30px 30px 10px 30px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25); }
.ky-pose-card span { margin-bottom: 4px; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.ky-pose-card strong { font-family: "Marcellus", Georgia, "Times New Roman", serif; font-size: 1.45rem; font-weight: 500; line-height: 1.12; }
.ky-pose-card--one { top: 0; right: 8%; background: var(--ky-sand); color: var(--ky-navy); transform: rotate(3deg); }
.ky-pose-card--two { top: 35%; left: 0; background: var(--ky-rust); color: var(--ky-white); transform: rotate(-4deg); }
.ky-pose-card--three { right: 0; bottom: 0; background: var(--ky-sage); color: var(--ky-sage-ink); transform: rotate(2deg); }

.ky-search-band { position: relative; z-index: 4; margin-top: -40px; }
.ky-directory-search { display: grid; grid-template-columns: minmax(220px, 1.3fr) minmax(180px, 0.85fr) minmax(190px, 0.9fr) auto; align-items: end; gap: 12px; padding: 20px; border: 1px solid var(--ky-line); border-radius: var(--ky-radius); background: var(--ky-white); box-shadow: var(--ky-shadow); }
.ky-search-field { display: grid; min-width: 0; gap: 6px; }
.ky-search-field > span { color: var(--ky-navy); font-size: 0.75rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.ky-search-field input, .ky-search-field select,
.directorist-form-element, .directorist-content-active input:not([type="checkbox"]):not([type="radio"]), .directorist-content-active select, .directorist-content-active textarea {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 10px 13px;
  border: 2px solid #b8bec6 !important;
  border-radius: 12px !important;
  background: var(--ky-white) !important;
  color: var(--ky-navy) !important;
}
.ky-search-field input:focus, .ky-search-field select:focus,
.directorist-content-active input:focus, .directorist-content-active select:focus, .directorist-content-active textarea:focus {
  border-color: var(--ky-rust) !important;
  outline: 3px solid rgba(140, 65, 48, 0.25) !important;
  outline-offset: 1px;
}

.ky-section { padding: clamp(74px, 9vw, 118px) 0; }
.ky-section--sand { background: var(--ky-sand); }
.ky-section--navy { background: var(--ky-navy); color: var(--ky-white); }
.ky-section-heading { max-width: 780px; margin-bottom: 40px; }
.ky-section-heading--split { display: grid; max-width: none; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr); align-items: end; gap: 50px; }
.ky-section-heading h2 { margin: 0; font-size: clamp(2.45rem, 5vw, 4.5rem); letter-spacing: -0.045em; }
.ky-section-heading p { margin: 16px 0 0; color: var(--ky-muted); font-size: 1.08rem; }
.ky-section--navy h2, .ky-section--navy h3 { color: var(--ky-white); }
.ky-section--navy .ky-section-heading p { color: #d7dce4; }
.ky-grid { display: grid; gap: 22px; }
.ky-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ky-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ky-card { position: relative; overflow: hidden; border: 1px solid var(--ky-line); border-radius: var(--ky-radius); background: var(--ky-white); box-shadow: 0 10px 35px rgba(45, 51, 64, 0.07); }
.ky-card-body, .ky-path-card, .ky-listing-card, .ky-event-card, .ky-empty-card { padding: 28px; }
.ky-card h2, .ky-card h3 { margin: 0 0 11px; font-size: 1.48rem; letter-spacing: -0.02em; }
.ky-card p { margin: 0 0 20px; color: var(--ky-muted); }
.ky-card a { position: relative; z-index: 1; }
.ky-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.ky-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 220ms ease; }
.ky-card:hover .ky-card-media img { transform: scale(1.025); }
.ky-card-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; color: var(--ky-muted); font-size: 0.77rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.ky-card-number { display: grid; width: 48px; height: 48px; margin-bottom: 34px; place-items: center; border-radius: 15px; background: var(--ky-sand); color: var(--ky-rust); font-weight: 900; }
.ky-path-card:nth-child(2n) .ky-card-number { background: var(--ky-sage); color: var(--ky-sage-ink); }
.ky-path-card a { font-weight: 800; }
.ky-listing-card { display: flex; min-height: 285px; flex-direction: column; border-top: 8px solid var(--ky-rust); }
.ky-listing-card:nth-child(2n) { border-top-color: var(--ky-navy); }
.ky-listing-card:nth-child(3n) { border-top-color: var(--ky-sage-ink); }
.ky-listing-card .ky-text-link { margin-top: auto; }
.ky-paid-label { padding: 4px 8px; border-radius: 999px; background: var(--ky-sand); color: var(--ky-rust-hover); }
.ky-centered-action { display: flex; justify-content: center; margin-top: 38px; }

.ky-location-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ky-location-list a, .ky-location-placeholder { display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 16px; padding: 19px; border: 1px solid var(--ky-line); border-radius: 17px; background: var(--ky-cream); color: var(--ky-navy); font-weight: 800; text-decoration: none; }
.ky-location-list a:hover { border-color: var(--ky-rust); background: var(--ky-white); color: var(--ky-rust-hover); }
.ky-location-list small { color: var(--ky-muted); font-size: 0.73rem; font-weight: 700; }

.ky-benefits-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr); align-items: center; gap: clamp(50px, 8vw, 100px); }
.ky-benefit-list { display: grid; gap: 14px; }
.ky-benefit-list article { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 24px; border: 1px solid rgba(255,255,255,0.18); border-radius: 20px; background: rgba(255,255,255,0.06); }
.ky-benefit-list article > span { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 15px; background: var(--ky-rust); color: var(--ky-white); font-weight: 900; }
.ky-benefit-list h3 { margin: 0 0 6px; font-size: 1.34rem; }
.ky-benefit-list p { margin: 0; color: #d7dce4; }

.ky-callout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.65fr); align-items: center; gap: 42px; padding: clamp(34px, 6vw, 68px); border-radius: 34px; background: var(--ky-sage); }
.ky-callout h2 { margin: 0 0 12px; font-size: clamp(2.3rem, 5vw, 4rem); letter-spacing: -0.045em; }
.ky-callout p { max-width: 720px; margin: 0; color: var(--ky-navy-soft); }
.ky-callout .ky-actions { justify-content: flex-start; }

.ky-page-hero { padding: 70px 0 50px; border-bottom: 1px solid var(--ky-line); background: var(--ky-white); }
.ky-page-hero h1 { max-width: 980px; margin: 0; font-size: clamp(2.8rem, 6vw, 5.35rem); letter-spacing: -0.05em; }
.ky-page-hero > .ky-wrap > p { max-width: 790px; margin: 18px 0 0; color: var(--ky-muted); font-size: 1.14rem; }
.ky-article-hero { padding-bottom: 58px; }
.ky-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; color: var(--ky-muted); font-size: 0.82rem; }
.ky-breadcrumbs a { color: var(--ky-muted); }
.ky-content-shell { width: min(calc(100% - 40px), var(--ky-reading)); margin-inline: auto; padding: 64px 0 100px; }
.ky-content-shell--wide { width: min(calc(100% - 40px), var(--ky-content)); }
.ky-entry-content > * { margin-top: 0; margin-bottom: 1.35em; }
.ky-entry-content h2 { margin-top: 2em; font-size: clamp(1.9rem, 4vw, 2.85rem); letter-spacing: -0.035em; }
.ky-entry-content h3 { margin-top: 1.8em; font-size: 1.5rem; }
.ky-entry-content a:not(.ky-button):not(.directorist-btn) { text-decoration: underline; }
.ky-entry-content blockquote { margin: 2em 0; padding: 12px 0 12px 24px; border-left: 5px solid var(--ky-rust); color: var(--ky-navy-soft); font-family: "Marcellus", Georgia, "Times New Roman", serif; font-size: 1.18rem; }
.ky-entry-content table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.ky-entry-content th, .ky-entry-content td { min-width: 150px; padding: 12px; border: 1px solid var(--ky-line); text-align: left; vertical-align: top; }
.ky-entry-content th { background: var(--ky-sand); }
.ky-featured-image { margin: 0 0 40px; overflow: hidden; border-radius: var(--ky-radius); }
.ky-featured-image img { width: 100%; }
.ky-post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; color: var(--ky-muted); font-size: 0.87rem; }
.ky-editorial-note { margin-top: 42px; padding: 19px 21px; border-left: 5px solid var(--ky-rust); border-radius: 0 14px 14px 0; background: var(--ky-sand); color: var(--ky-navy-soft); font-size: 0.92rem; }
.ky-archive-shell { padding: 66px 0 100px; }
.ky-archive-description { max-width: 780px; color: var(--ky-muted); }
.ky-not-found { max-width: 780px; padding: 60px 0; text-align: center; }
.ky-not-found h1 { margin: 0 0 18px; font-size: clamp(3rem, 8vw, 5.7rem); }
.ky-not-found .ky-actions { justify-content: center; margin-top: 28px; }
.navigation.pagination { margin-top: 42px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: grid; min-width: 44px; min-height: 44px; place-items: center; padding: 8px 12px; border: 1px solid var(--ky-line); border-radius: 10px; background: var(--ky-white); color: var(--ky-navy); text-decoration: none; }
.page-numbers.current { border-color: var(--ky-rust); background: var(--ky-rust); color: var(--ky-white); }

.ky-sponsor { margin: 28px 0; padding: 18px 20px; border: 1px solid var(--ky-line); border-radius: 14px; background: var(--ky-white); }
.ky-sponsor::before { display: block; margin-bottom: 8px; color: var(--ky-muted); content: "Sponsored"; font-size: 0.7rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.ky-sponsor-title { margin: 0 0 8px; font-size: 1.2rem; }
.ky-footer-sponsor { padding: 32px 0; }

.ky-site-footer { padding: 72px 0 30px; background: #1b202a; color: #dce0e7; }
.ky-footer-grid { display: grid; grid-template-columns: 1.2fr 0.75fr 0.85fr; gap: 60px; }
.ky-site-footer h2, .ky-site-footer h3 { margin-top: 0; color: var(--ky-white); }
.ky-site-footer h2 { font-size: 1.9rem; }
.ky-site-footer h3 { font-family: inherit; font-size: 0.8rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.ky-site-footer ul { padding: 0; margin: 0; list-style: none; }
.ky-site-footer li + li { margin-top: 9px; }
.ky-site-footer a { color: #eef0f3; }
.ky-site-footer a:hover { color: #ffffff; }
.ky-footer-bottom { display: flex; justify-content: space-between; gap: 28px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.16); color: #b8c0cc; font-size: 0.82rem; }

/* Directorist */
.directorist-content-active .directorist-container, .directorist-content-active .directorist-container-fluid { max-width: var(--ky-content); }
.directorist-content-active { color: var(--ky-text); }
.directorist-content-active .directorist-container h1,
.directorist-content-active .directorist-container h2,
.directorist-content-active .directorist-container h3,
.directorist-content-active .directorist-container h4 { color: var(--ky-navy); }
.directorist-card, .directorist-listing-single, .directorist-authentication, .directorist-checkout-form {
  border-color: var(--ky-line) !important;
  border-radius: 18px !important;
  background: var(--ky-white) !important;
  box-shadow: 0 8px 28px rgba(45, 51, 64, 0.07) !important;
}
.directorist-listing-single__info__list a, .directorist-listing-title a { color: var(--ky-navy) !important; }
.directorist-listing-title a:hover { color: var(--ky-rust-hover) !important; }
.directorist-badge-featured, .directorist-badge-popular { background: var(--ky-rust) !important; color: var(--ky-white) !important; }
.directorist-btn-primary { border-color: var(--ky-rust) !important; background: var(--ky-rust) !important; color: var(--ky-white) !important; }
.directorist-btn-primary:hover { border-color: var(--ky-rust-hover) !important; background: var(--ky-rust-hover) !important; }
.directorist-pagination .page-numbers.current { border-color: var(--ky-rust) !important; background: var(--ky-rust) !important; color: var(--ky-white) !important; }
.directorist-search-contents, .directorist-search-form-top { border-radius: 18px !important; }
.directorist-content-active label { color: var(--ky-navy); font-weight: 700; }
.directorist-single-info, .directorist-listing-single__info { overflow-wrap: anywhere; }
.ky-listing-source { margin: 20px 0; }

/* The Events Calendar */
.tribe-common, .tribe-events { --tec-color-text-primary: var(--ky-navy); --tec-color-accent-primary: var(--ky-rust); --tec-color-background: var(--ky-cream); font-family: inherit !important; }
.tribe-events .tribe-events-header, .tribe-events .tribe-events-calendar-list { max-width: var(--ky-content); margin-inline: auto; }
.tribe-events .tribe-events-c-search__button { border-radius: 999px; background: var(--ky-rust); }
.tribe-events .tribe-events-c-search__button:hover { background: var(--ky-rust-hover); }

/* Gravity Forms and legacy blocks */
.gform_wrapper input:not([type="checkbox"]):not([type="radio"]), .gform_wrapper select, .gform_wrapper textarea {
  min-height: 50px;
  border: 2px solid #b8bec6 !important;
  border-radius: 12px !important;
  background: var(--ky-white) !important;
}
.gform_wrapper .gform_button { min-height: 48px; padding: 11px 21px; border: 0; border-radius: 999px; background: var(--ky-rust); color: var(--ky-white); font-weight: 800; }
.gform_wrapper .gform_button:hover { background: var(--ky-rust-hover); }
.wp-block-themeisle-blocks-advanced-columns.alignfull { width: 100% !important; max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }

@media (max-width: 1060px) {
  .ky-nav { display: none; }
  .ky-mobile-nav { display: block; }
  .ky-mobile-panel { position: absolute; top: calc(100% + 10px); right: 0; width: min(330px, calc(100vw - 28px)); padding: 16px; border: 1px solid var(--ky-line); border-radius: 18px; background: var(--ky-white); box-shadow: var(--ky-shadow); }
  .ky-mobile-panel ul { display: grid; gap: 4px; padding: 0; margin: 0 0 12px; list-style: none; }
  .ky-mobile-panel ul ul { padding-left: 14px; margin-top: 4px; }
  .ky-mobile-panel a:not(.ky-button) { display: block; min-height: 44px; padding: 9px 11px; border-radius: 9px; color: var(--ky-navy); font-weight: 750; text-decoration: none; }
  .ky-mobile-panel a:hover { background: var(--ky-sand); }
  .ky-mobile-panel .ky-button { width: 100%; }
  .ky-hero-grid { grid-template-columns: 1fr; }
  .ky-hero-copy { max-width: 820px; }
  .ky-hero-art { width: min(100%, 600px); min-height: 400px; }
  .ky-directory-search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ky-directory-search .ky-button { width: 100%; }
  .ky-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ky-location-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 782px) { .admin-bar .ky-site-header { top: 46px; } }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .ky-wrap, .ky-content-shell, .ky-content-shell--wide { width: min(calc(100% - 28px), var(--ky-content)); }
  .ky-header-inner { min-height: 70px; }
  .ky-logo-image { height: 47px; max-width: 145px; }
  .ky-hero { padding-top: 62px; }
  .ky-hero h1 { font-size: clamp(3rem, 14.5vw, 4.5rem); }
  .ky-hero-art { min-height: 330px; }
  .ky-pose-card { width: 205px; min-height: 110px; padding: 20px; }
  .ky-pose-card--two { top: 34%; }
  .ky-directory-search { grid-template-columns: 1fr; }
  .ky-grid--3, .ky-grid--4 { grid-template-columns: 1fr; }
  .ky-section-heading--split, .ky-benefits-grid, .ky-callout { grid-template-columns: 1fr; gap: 24px; }
  .ky-location-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ky-footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .ky-footer-bottom { flex-direction: column; }
  .ky-page-hero { padding: 54px 0 38px; }
}

@media (max-width: 420px) {
  .ky-location-list { grid-template-columns: 1fr; }
  .ky-pose-card { width: 176px; }
  .ky-pose-card strong { font-size: 1.2rem; }
  .ky-pose-card--one { right: 0; }
  .ky-pose-card--two { left: 0; }
  .tribe-common .tribe-common-g-row--gutters { margin-right: 0 !important; margin-left: 0 !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .ky-site-header, .ky-site-footer, .ky-actions, .ky-search-band, .ky-sponsor { display: none !important; }
  body { background: #fff; color: #000; }
  .ky-content-shell { width: 100%; padding: 0; }
  a { color: #000; }
}
