/*
Theme Name: Phat Management Pro
Theme URI: https://phatmanagement.com/
Author: OpenAI for Phat Management Group
Author URI: https://openai.com/
Description: A polished, responsive property-management theme for Phat Management Group. Includes editable property listings, availability filters, a secure contact form, resident and application links, and a one-click starter-content setup.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: phat-management-pro
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, accessibility-ready, blog, one-column, two-columns
*/

:root {
  --pmg-ink: #182321;
  --pmg-muted: #60706d;
  --pmg-brand: #0b4f49;
  --pmg-brand-dark: #073a36;
  --pmg-brand-deep: #052d2a;
  --pmg-accent: #d5ad62;
  --pmg-accent-dark: #b88735;
  --pmg-surface: #ffffff;
  --pmg-surface-soft: #f4f1ea;
  --pmg-surface-tint: #eaf1ef;
  --pmg-border: #dfe6e3;
  --pmg-success: #1c7a57;
  --pmg-warning: #a66b11;
  --pmg-danger: #a33b34;
  --pmg-radius-sm: 10px;
  --pmg-radius: 18px;
  --pmg-radius-lg: 28px;
  --pmg-shadow-sm: 0 8px 22px rgba(9, 46, 42, 0.08);
  --pmg-shadow: 0 22px 60px rgba(7, 45, 41, 0.14);
  --pmg-container: 1200px;
  --pmg-content: 760px;
  --pmg-header-height: 84px;
  --pmg-transition: 180ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--pmg-ink);
  background: var(--pmg-surface-soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.admin-bar .site-header {
  top: 32px;
}

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

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--pmg-brand);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--pmg-brand-dark);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
[type="button"],
[type="submit"] {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid #e4ca91;
  outline-offset: 3px;
}

::selection {
  color: #fff;
  background: var(--pmg-brand);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.65em;
  color: var(--pmg-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.75rem, 7vw, 5.9rem);
}

h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.7rem);
}

h3 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1.25em;
}

ul,
ol {
  margin: 0 0 1.5em;
}

blockquote {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--pmg-accent);
  border-radius: 0 var(--pmg-radius) var(--pmg-radius) 0;
  background: var(--pmg-surface-tint);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

hr {
  height: 1px;
  margin: 2.5rem 0;
  border: 0;
  background: var(--pmg-border);
}

.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: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 0.8rem 1rem;
  clip: auto !important;
  color: var(--pmg-ink);
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--pmg-shadow);
}

.skip-link {
  position: fixed;
}

.pmg-container {
  width: min(calc(100% - 2rem), var(--pmg-container));
  margin-inline: auto;
}

.pmg-content-width {
  width: min(calc(100% - 2rem), var(--pmg-content));
  margin-inline: auto;
}

.pmg-section {
  position: relative;
  padding: clamp(4.25rem, 8vw, 7.5rem) 0;
}

.pmg-section--white {
  background: var(--pmg-surface);
}

.pmg-section--tint {
  background: var(--pmg-surface-tint);
}

.pmg-section--dark {
  color: rgba(255, 255, 255, 0.82);
  background: var(--pmg-brand-deep);
}

.pmg-section--dark h2,
.pmg-section--dark h3,
.pmg-section--dark h4 {
  color: #fff;
}

.pmg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: var(--pmg-brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.pmg-eyebrow::before {
  width: 36px;
  height: 2px;
  content: "";
  background: var(--pmg-accent);
}

.pmg-section--dark .pmg-eyebrow,
.pmg-hero .pmg-eyebrow {
  color: #fff;
}

.pmg-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.pmg-section-heading h2 {
  margin-bottom: 0;
}

.pmg-section-heading p {
  margin: 0;
  color: var(--pmg-muted);
  font-size: 1.08rem;
}

.pmg-section--dark .pmg-section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

/* Buttons */
.pmg-button,
.wp-block-button__link,
input[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.78rem 1.28rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  background: var(--pmg-brand);
  box-shadow: none;
  font-size: 0.93rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform var(--pmg-transition), background var(--pmg-transition), box-shadow var(--pmg-transition), border-color var(--pmg-transition);
}

.pmg-button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover {
  color: #fff;
  background: var(--pmg-brand-dark);
  box-shadow: 0 12px 28px rgba(7, 58, 54, 0.2);
  transform: translateY(-2px);
}

.pmg-button--accent {
  color: var(--pmg-brand-deep);
  background: var(--pmg-accent);
}

.pmg-button--accent:hover {
  color: var(--pmg-brand-deep);
  background: #e2c17e;
}

.pmg-button--light {
  color: var(--pmg-brand-deep);
  background: #fff;
}

.pmg-button--light:hover {
  color: var(--pmg-brand-deep);
  background: #f8f6f0;
}

.pmg-button--ghost {
  color: var(--pmg-brand);
  background: transparent;
  border-color: rgba(11, 79, 73, 0.25);
}

.pmg-button--ghost:hover {
  color: #fff;
  border-color: var(--pmg-brand);
  background: var(--pmg-brand);
}

.pmg-button--ghost-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}

.pmg-button--ghost-light:hover {
  color: var(--pmg-brand-deep);
  background: #fff;
  border-color: #fff;
}

.pmg-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.pmg-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 999;
  top: 0;
  color: #fff;
  background: rgba(5, 45, 42, 0.98);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.pmg-utility-bar {
  background: #032824;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pmg-utility-inner {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.035em;
}

.pmg-utility-inner a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.pmg-utility-inner a:hover {
  color: #fff;
}

.pmg-utility-contact,
.pmg-utility-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.pmg-utility-contact span,
.pmg-utility-contact a,
.pmg-utility-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.pmg-utility-contact svg,
.pmg-utility-links svg {
  width: 14px;
  height: 14px;
}

.pmg-header-inner {
  display: grid;
  min-height: var(--pmg-header-height);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.25rem);
}

.site-branding {
  min-width: 210px;
}

.custom-logo-link,
.pmg-default-logo {
  display: block;
  max-width: 290px;
}

.custom-logo,
.pmg-default-logo img {
  width: auto;
  max-height: 56px;
}

.site-title {
  margin: 0;
  font-size: 1.25rem;
}

.site-title a {
  color: #fff;
  text-decoration: none;
}

.site-description {
  margin: 0.15rem 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-navigation {
  justify-self: end;
}

.primary-navigation ul {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.55rem);
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-navigation a {
  position: relative;
  display: block;
  padding: 0.8rem 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
}

.primary-navigation a::after {
  position: absolute;
  right: 0;
  bottom: 0.45rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--pmg-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--pmg-transition);
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a {
  color: #fff;
}

.primary-navigation a:hover::after,
.primary-navigation .current-menu-item > a::after,
.primary-navigation .current_page_item > a::after {
  transform: scaleX(1);
}

.pmg-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.pmg-header-actions .pmg-button {
  min-height: 44px;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
}

.pmg-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  background: transparent;
}

.pmg-menu-toggle svg {
  width: 22px;
  height: 22px;
  margin: auto;
}

/* Hero */
.pmg-hero {
  position: relative;
  display: grid;
  min-height: clamp(620px, 82vh, 860px);
  align-items: end;
  overflow: hidden;
  color: #fff;
  background-color: var(--pmg-brand-deep);
  background-position: center;
  background-size: cover;
}

.pmg-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 37, 34, 0.94) 0%, rgba(3, 37, 34, 0.78) 43%, rgba(3, 37, 34, 0.28) 76%, rgba(3, 37, 34, 0.2) 100%),
    linear-gradient(0deg, rgba(3, 37, 34, 0.82) 0%, transparent 47%);
}

.pmg-hero::after {
  position: absolute;
  right: -8vw;
  bottom: -12vw;
  width: 42vw;
  height: 42vw;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 5vw rgba(255, 255, 255, 0.035), 0 0 0 10vw rgba(255, 255, 255, 0.025);
}

.pmg-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.55fr);
  align-items: end;
  gap: clamp(2.5rem, 8vw, 7rem);
  padding-top: 7rem;
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.pmg-hero-copy {
  max-width: 760px;
}

.pmg-hero h1 {
  max-width: 820px;
  margin-bottom: 1.3rem;
  color: #fff;
}

.pmg-hero-lead {
  max-width: 650px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.65;
}

.pmg-hero-card {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--pmg-radius-lg);
  background: rgba(5, 45, 42, 0.72);
  box-shadow: var(--pmg-shadow);
  backdrop-filter: blur(14px);
}

.pmg-hero-card-title {
  margin-bottom: 1rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pmg-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--pmg-radius);
  background: rgba(255, 255, 255, 0.12);
}

.pmg-stat {
  padding: 1.2rem;
  background: rgba(5, 45, 42, 0.78);
}

.pmg-stat strong {
  display: block;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.pmg-stat span {
  display: block;
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.75rem;
  line-height: 1.35;
}

.pmg-hero-card .pmg-button {
  width: 100%;
  margin-top: 1rem;
}

/* Quick actions */
.pmg-quick-actions-wrap {
  position: relative;
  z-index: 4;
  margin-top: -2.1rem;
}

.pmg-quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border-radius: var(--pmg-radius-lg);
  background: #fff;
  box-shadow: var(--pmg-shadow);
}

.pmg-quick-action {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 126px;
  padding: 1.5rem 1.7rem;
  color: inherit;
  text-decoration: none;
  transition: background var(--pmg-transition), transform var(--pmg-transition);
}

.pmg-quick-action + .pmg-quick-action {
  border-left: 1px solid var(--pmg-border);
}

.pmg-quick-action:hover {
  color: inherit;
  background: var(--pmg-surface-tint);
}

.pmg-quick-action-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--pmg-brand);
}

.pmg-quick-action-icon svg,
.pmg-quick-action-arrow svg {
  width: 22px;
  height: 22px;
}

.pmg-quick-action strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
}

.pmg-quick-action small {
  display: block;
  color: var(--pmg-muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.pmg-quick-action-arrow {
  color: var(--pmg-brand);
  transition: transform var(--pmg-transition);
}

.pmg-quick-action:hover .pmg-quick-action-arrow {
  transform: translateX(4px);
}

/* Cards and property grids */
.pmg-property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.pmg-property-card {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--pmg-border);
  border-radius: var(--pmg-radius-lg);
  background: #fff;
  box-shadow: var(--pmg-shadow-sm);
  transition: transform var(--pmg-transition), box-shadow var(--pmg-transition), border-color var(--pmg-transition);
}

.pmg-property-card:hover {
  border-color: rgba(11, 79, 73, 0.32);
  box-shadow: var(--pmg-shadow);
  transform: translateY(-6px);
}

.pmg-property-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--pmg-surface-tint);
}

.pmg-property-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.pmg-property-card:hover .pmg-property-card-media img {
  transform: scale(1.045);
}

.pmg-property-card-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--pmg-brand);
  background: linear-gradient(135deg, var(--pmg-surface-tint), #d8e6e2);
}

.pmg-property-card-placeholder svg {
  width: 62px;
  height: 62px;
}

.pmg-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.46rem 0.72rem;
  border-radius: 999px;
  color: #fff;
  background: var(--pmg-brand);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.075em;
  line-height: 1;
  text-transform: uppercase;
}

.pmg-status-badge::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.pmg-status-badge--available {
  background: var(--pmg-success);
}

.pmg-status-badge--coming-soon {
  color: #2f220b;
  background: #efc468;
}

.pmg-status-badge--waitlist {
  background: var(--pmg-warning);
}

.pmg-status-badge--leased {
  background: #66716f;
}

.pmg-property-card .pmg-status-badge {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
}

.pmg-property-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.4rem;
}

.pmg-property-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.55rem;
}

.pmg-property-card h3 a {
  color: var(--pmg-ink);
  text-decoration: none;
}

.pmg-property-card h3 a:hover {
  color: var(--pmg-brand);
}

.pmg-property-address {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  min-height: 2.8em;
  margin: 0 0 1rem;
  color: var(--pmg-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.pmg-property-address svg {
  width: 16px;
  height: 16px;
  margin-top: 0.12rem;
  flex: 0 0 auto;
  color: var(--pmg-brand);
}

.pmg-property-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
  padding: 0;
  margin: auto 0 1.15rem;
  list-style: none;
}

.pmg-property-facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.58rem;
  border-radius: 999px;
  color: #4c5c59;
  background: var(--pmg-surface-soft);
  font-size: 0.72rem;
  font-weight: 700;
}

.pmg-property-facts svg {
  width: 14px;
  height: 14px;
  color: var(--pmg-brand);
}

.pmg-property-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding-top: 1rem;
  border-top: 1px solid var(--pmg-border);
}

.pmg-property-price {
  color: var(--pmg-muted);
  font-size: 0.72rem;
}

.pmg-property-price strong {
  display: block;
  color: var(--pmg-ink);
  font-size: 1rem;
}

.pmg-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--pmg-brand);
  font-size: 0.8rem;
  font-weight: 850;
  text-decoration: none;
}

.pmg-text-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--pmg-transition);
}

.pmg-text-link:hover svg {
  transform: translateX(3px);
}

/* Services */
.pmg-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.pmg-service-card {
  position: relative;
  padding: clamp(1.7rem, 3vw, 2.4rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--pmg-radius-lg);
  background: rgba(255, 255, 255, 0.055);
}

.pmg-service-card::after {
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.pmg-service-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 1.35rem;
  place-items: center;
  border-radius: 50%;
  color: var(--pmg-brand-deep);
  background: var(--pmg-accent);
}

.pmg-service-icon svg {
  width: 27px;
  height: 27px;
}

.pmg-service-card h3 {
  color: #fff;
  font-size: 1.55rem;
}

.pmg-service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.93rem;
}

/* Split section */
.pmg-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.pmg-split-media {
  position: relative;
}

.pmg-split-media img {
  width: 100%;
  min-height: 520px;
  border-radius: var(--pmg-radius-lg);
  object-fit: cover;
  box-shadow: var(--pmg-shadow);
}

.pmg-split-media::after {
  position: absolute;
  right: -1.2rem;
  bottom: -1.2rem;
  width: 48%;
  height: 42%;
  z-index: -1;
  border-radius: var(--pmg-radius-lg);
  content: "";
  background: var(--pmg-accent);
}

.pmg-check-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 1.7rem 0 2rem;
  list-style: none;
}

.pmg-check-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.75rem;
  color: #41514e;
}

.pmg-check-list-icon {
  display: grid;
  width: 26px;
  height: 26px;
  margin-top: 0.06rem;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--pmg-brand);
}

.pmg-check-list-icon svg {
  width: 14px;
  height: 14px;
}

/* CTA band */
.pmg-cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--pmg-radius-lg);
  color: #fff;
  background: var(--pmg-brand);
  box-shadow: var(--pmg-shadow);
}

.pmg-cta-band::before,
.pmg-cta-band::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.pmg-cta-band::before {
  width: 280px;
  height: 280px;
  top: -170px;
  right: 8%;
}

.pmg-cta-band::after {
  width: 480px;
  height: 480px;
  right: -240px;
  bottom: -320px;
}

.pmg-cta-band-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(2.1rem, 5vw, 4rem);
}

.pmg-cta-band h2 {
  margin-bottom: 0.6rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.pmg-cta-band p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

/* Page hero */
.pmg-page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5.5rem, 10vw, 9rem) 0 clamp(4rem, 7vw, 6.5rem);
  color: #fff;
  background: var(--pmg-brand-deep);
}

.pmg-page-hero::after {
  position: absolute;
  top: -30%;
  right: -8%;
  width: 45vw;
  height: 45vw;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 5vw rgba(255, 255, 255, 0.025), 0 0 0 10vw rgba(255, 255, 255, 0.018);
}

.pmg-page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.pmg-page-hero h1 {
  margin-bottom: 1rem;
  color: #fff;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
}

.pmg-page-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: 1.15rem;
}

.pmg-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pmg-breadcrumbs a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

/* Filters */
.pmg-filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(2, minmax(170px, 0.7fr)) auto;
  align-items: end;
  gap: 0.9rem;
  padding: 1.2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--pmg-border);
  border-radius: var(--pmg-radius);
  background: #fff;
  box-shadow: var(--pmg-shadow-sm);
}

.pmg-field label,
.pmg-form-field label {
  display: block;
  margin-bottom: 0.42rem;
  color: #364643;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.pmg-field input,
.pmg-field select,
.pmg-form-field input,
.pmg-form-field select,
.pmg-form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1px solid #ccd8d4;
  border-radius: var(--pmg-radius-sm);
  color: var(--pmg-ink);
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(7, 45, 41, 0.04);
  transition: border-color var(--pmg-transition), box-shadow var(--pmg-transition);
}

.pmg-field input:focus,
.pmg-field select:focus,
.pmg-form-field input:focus,
.pmg-form-field select:focus,
.pmg-form-field textarea:focus {
  border-color: var(--pmg-brand);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(11, 79, 73, 0.11);
}

.pmg-form-field textarea {
  min-height: 170px;
  resize: vertical;
}

.pmg-filter-reset {
  min-height: 48px;
  padding-inline: 1rem;
  border: 1px solid var(--pmg-border);
  border-radius: var(--pmg-radius-sm);
  color: var(--pmg-brand);
  background: var(--pmg-surface-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.pmg-results-summary {
  margin: -0.6rem 0 1.5rem;
  color: var(--pmg-muted);
  font-size: 0.84rem;
}

.pmg-property-card[hidden] {
  display: none !important;
}

/* Property single */
.pmg-property-hero {
  position: relative;
  display: flex;
  min-height: clamp(520px, 68vh, 760px);
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--pmg-brand-deep);
  background-position: center;
  background-size: cover;
}

.pmg-property-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(3, 34, 31, 0.94) 0%, rgba(3, 34, 31, 0.58) 47%, rgba(3, 34, 31, 0.17) 100%);
}

.pmg-property-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.pmg-property-hero h1 {
  max-width: 880px;
  margin: 0.8rem 0 1rem;
  color: #fff;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
}

.pmg-property-hero-address {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
}

.pmg-property-hero-address svg {
  width: 20px;
  height: 20px;
}

.pmg-property-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: clamp(2.4rem, 6vw, 5rem);
}

.pmg-property-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

.pmg-detail-card {
  padding: 1.1rem;
  border: 1px solid var(--pmg-border);
  border-radius: var(--pmg-radius);
  background: #fff;
}

.pmg-detail-card svg {
  width: 20px;
  height: 20px;
  margin-bottom: 0.6rem;
  color: var(--pmg-brand);
}

.pmg-detail-card small {
  display: block;
  color: var(--pmg-muted);
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pmg-detail-card strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.92rem;
}

.pmg-entry-content {
  color: #354541;
}

.pmg-entry-content > *:first-child {
  margin-top: 0;
}

.pmg-entry-content > *:last-child {
  margin-bottom: 0;
}

.pmg-entry-content h2,
.pmg-entry-content h3,
.pmg-entry-content h4 {
  margin-top: 1.45em;
}

.pmg-entry-content a:not(.pmg-button):not(.wp-block-button__link) {
  font-weight: 700;
}

.pmg-entry-content img,
.pmg-entry-content .wp-block-image img {
  border-radius: var(--pmg-radius);
}

.pmg-entry-content .alignwide {
  width: min(100vw - 2rem, var(--pmg-container));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.pmg-entry-content .alignfull {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.pmg-property-sidebar {
  position: sticky;
  top: calc(var(--pmg-header-height) + 58px);
}

.pmg-contact-card {
  padding: 1.6rem;
  border-radius: var(--pmg-radius-lg);
  background: var(--pmg-brand-deep);
  box-shadow: var(--pmg-shadow);
}

.pmg-contact-card h3 {
  margin-bottom: 0.65rem;
  color: #fff;
}

.pmg-contact-card > p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
}

.pmg-contact-card .pmg-button {
  width: 100%;
  margin-top: 0.65rem;
}

.pmg-contact-card-list {
  display: grid;
  gap: 0.72rem;
  padding: 1.1rem 0;
  margin: 1.2rem 0 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pmg-contact-card-list a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.pmg-contact-card-list a:hover {
  color: #fff;
}

.pmg-contact-card-list svg {
  width: 18px;
  height: 18px;
  color: var(--pmg-accent);
}

.pmg-amenities {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--pmg-border);
}

.pmg-amenity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
  margin: 1.25rem 0 0;
  list-style: none;
}

.pmg-amenity-grid li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.6rem;
  padding: 0.8rem;
  border-radius: var(--pmg-radius-sm);
  background: var(--pmg-surface-tint);
  font-size: 0.86rem;
}

.pmg-amenity-grid svg {
  width: 17px;
  height: 17px;
  margin-top: 0.15rem;
  color: var(--pmg-brand);
}

.pmg-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.pmg-gallery h2 {
  grid-column: 1 / -1;
}

.pmg-gallery a {
  display: block;
  overflow: hidden;
  border-radius: var(--pmg-radius);
  background: var(--pmg-surface-tint);
}

.pmg-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 350ms ease;
}

.pmg-gallery a:hover img {
  transform: scale(1.035);
}

/* Contact */
.pmg-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.pmg-contact-details {
  padding: 2rem;
  border-radius: var(--pmg-radius-lg);
  color: #fff;
  background: var(--pmg-brand-deep);
  box-shadow: var(--pmg-shadow);
}

.pmg-contact-details h2,
.pmg-contact-details h3 {
  color: #fff;
}

.pmg-contact-details > p {
  color: rgba(255, 255, 255, 0.68);
}

.pmg-contact-methods {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.7rem;
}

.pmg-contact-method {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--pmg-radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
}

.pmg-contact-method:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.pmg-contact-method-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  color: var(--pmg-brand-deep);
  background: var(--pmg-accent);
}

.pmg-contact-method-icon svg {
  width: 21px;
  height: 21px;
}

.pmg-contact-method small,
.pmg-contact-method strong {
  display: block;
}

.pmg-contact-method small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.pmg-contact-form-wrap {
  padding: clamp(1.5rem, 4vw, 2.6rem);
  border: 1px solid var(--pmg-border);
  border-radius: var(--pmg-radius-lg);
  background: #fff;
  box-shadow: var(--pmg-shadow-sm);
}

.pmg-contact-form-wrap h2 {
  margin-bottom: 0.6rem;
}

.pmg-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.pmg-form-field--full {
  grid-column: 1 / -1;
}

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

.pmg-form-notice {
  padding: 0.9rem 1rem;
  margin-bottom: 1.25rem;
  border-radius: var(--pmg-radius-sm);
  font-size: 0.87rem;
  font-weight: 700;
}

.pmg-form-notice--success {
  color: #14543c;
  background: #e5f5ed;
  border: 1px solid #a8dbc4;
}

.pmg-form-notice--error {
  color: #772f2b;
  background: #f9e9e7;
  border: 1px solid #e8b7b2;
}

.pmg-form-disclaimer {
  margin: 0.85rem 0 0;
  color: var(--pmg-muted);
  font-size: 0.72rem;
}

/* Generic content and posts */
.pmg-main {
  min-height: 50vh;
}

.pmg-content-card {
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 1px solid var(--pmg-border);
  border-radius: var(--pmg-radius-lg);
  background: #fff;
  box-shadow: var(--pmg-shadow-sm);
}

.pmg-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.pmg-post-card {
  overflow: hidden;
  border: 1px solid var(--pmg-border);
  border-radius: var(--pmg-radius-lg);
  background: #fff;
}

.pmg-post-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--pmg-surface-tint);
}

.pmg-post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pmg-post-card-body {
  padding: 1.4rem;
}

.pmg-post-card-meta,
.pmg-entry-meta {
  color: var(--pmg-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.pmg-post-card h2,
.pmg-post-card h3 {
  margin: 0.55rem 0 0.75rem;
  font-size: 1.55rem;
}

.pmg-post-card h2 a,
.pmg-post-card h3 a {
  color: var(--pmg-ink);
  text-decoration: none;
}

.pmg-empty-state {
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px dashed #b9c9c5;
  border-radius: var(--pmg-radius-lg);
  text-align: center;
  background: rgba(255, 255, 255, 0.58);
}

.pmg-empty-state svg {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.2rem;
  color: var(--pmg-brand);
}

.navigation.pagination {
  margin-top: 2.5rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-numbers {
  display: grid;
  min-width: 42px;
  min-height: 42px;
  place-items: center;
  padding: 0.4rem;
  border: 1px solid var(--pmg-border);
  border-radius: 50%;
  color: var(--pmg-brand);
  background: #fff;
  font-size: 0.83rem;
  font-weight: 800;
  text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
  color: #fff;
  border-color: var(--pmg-brand);
  background: var(--pmg-brand);
}

/* Footer */
.site-footer {
  color: rgba(255, 255, 255, 0.7);
  background: #032824;
}

.pmg-footer-main {
  padding: clamp(4rem, 8vw, 6.5rem) 0 3rem;
}

.pmg-footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.25fr) repeat(3, minmax(150px, 0.65fr));
  gap: clamp(2rem, 5vw, 4.5rem);
}

.pmg-footer-brand img {
  width: min(100%, 330px);
  max-height: 76px;
  object-fit: contain;
  object-position: left center;
}

.pmg-footer-brand p {
  max-width: 420px;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
}

.pmg-footer-column h2,
.pmg-footer-column h3 {
  margin-bottom: 1rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pmg-footer-column ul {
  display: grid;
  gap: 0.62rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pmg-footer-column a {
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.84rem;
  text-decoration: none;
}

.pmg-footer-column a:hover {
  color: #fff;
}

.pmg-footer-contact li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.82rem;
}

.pmg-footer-contact svg {
  width: 16px;
  height: 16px;
  margin-top: 0.18rem;
  color: var(--pmg-accent);
}

.pmg-footer-bottom {
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pmg-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.72rem;
}

.pmg-equal-housing {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.62);
}

.pmg-equal-housing svg {
  width: 19px;
  height: 19px;
}

/* WordPress core */
.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text,
.gallery-caption {
  margin-top: 0.45rem;
  color: var(--pmg-muted);
  font-size: 0.75rem;
}

.sticky {
  position: relative;
}

.bypostauthor {
  position: relative;
}

/* Responsive */
@media (max-width: 1100px) {
  .pmg-header-actions .pmg-button--ghost-light {
    display: none;
  }

  .primary-navigation ul {
    gap: 0.9rem;
  }

  .pmg-property-grid,
  .pmg-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pmg-footer-grid {
    grid-template-columns: 1.4fr repeat(2, 0.7fr);
  }

  .pmg-footer-column:last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 900px) {
  :root {
    --pmg-header-height: 72px;
  }

  .pmg-utility-contact span,
  .pmg-utility-contact a:last-child {
    display: none;
  }

  .pmg-header-inner {
    grid-template-columns: 1fr auto;
  }

  .site-branding {
    min-width: 0;
  }

  .custom-logo-link,
  .pmg-default-logo {
    max-width: 240px;
  }

  .pmg-menu-toggle {
    display: grid;
  }

  .primary-navigation,
  .pmg-header-actions {
    display: none;
  }

  .site-header.is-menu-open .primary-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: block;
    padding: 0.8rem 1rem 1.2rem;
    background: var(--pmg-brand-deep);
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.2);
  }

  .site-header.is-menu-open .primary-navigation ul {
    display: grid;
    gap: 0;
    width: min(100%, var(--pmg-container));
    margin: 0 auto;
  }

  .site-header.is-menu-open .primary-navigation li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }

  .site-header.is-menu-open .primary-navigation a {
    padding: 0.9rem 0;
  }

  .site-header.is-menu-open .primary-navigation a::after {
    display: none;
  }

  .pmg-hero-inner,
  .pmg-section-heading,
  .pmg-split,
  .pmg-contact-layout,
  .pmg-property-layout {
    grid-template-columns: 1fr;
  }

  .pmg-hero-card {
    max-width: 600px;
  }

  .pmg-quick-actions {
    grid-template-columns: 1fr;
  }

  .pmg-quick-action + .pmg-quick-action {
    border-top: 1px solid var(--pmg-border);
    border-left: 0;
  }

  .pmg-service-grid {
    grid-template-columns: 1fr;
  }

  .pmg-cta-band-inner {
    grid-template-columns: 1fr;
  }

  .pmg-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pmg-property-sidebar {
    position: static;
  }

  .pmg-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pmg-footer-brand {
    grid-column: 1 / -1;
  }

  .pmg-footer-column:last-child {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .pmg-utility-inner {
    justify-content: center;
  }

  .pmg-utility-contact {
    display: none;
  }

  .pmg-header-inner {
    min-height: 68px;
  }

  .custom-logo-link,
  .pmg-default-logo {
    max-width: 205px;
  }

  .custom-logo,
  .pmg-default-logo img {
    max-height: 46px;
  }

  .pmg-hero {
    min-height: 700px;
  }

  .pmg-hero::before {
    background: linear-gradient(0deg, rgba(3, 37, 34, 0.96) 0%, rgba(3, 37, 34, 0.74) 66%, rgba(3, 37, 34, 0.44) 100%);
  }

  .pmg-hero-inner {
    padding-top: 5rem;
  }

  .pmg-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pmg-button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pmg-button-row .pmg-button {
    width: 100%;
  }

  .pmg-property-grid,
  .pmg-post-grid,
  .pmg-footer-grid,
  .pmg-filter-bar,
  .pmg-form-grid,
  .pmg-amenity-grid,
  .pmg-gallery {
    grid-template-columns: 1fr;
  }

  .pmg-property-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pmg-split-media img {
    min-height: 390px;
  }

  .pmg-footer-column:last-child,
  .pmg-footer-brand {
    grid-column: auto;
  }

  .pmg-footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .alignleft,
  .alignright {
    float: none;
    margin-right: 0;
    margin-left: 0;
  }
}

@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 {
  .site-header,
  .site-footer,
  .pmg-quick-actions-wrap,
  .pmg-property-sidebar,
  .pmg-cta-band,
  .pmg-filter-bar {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .pmg-section {
    padding: 2rem 0;
  }
}

/* Theme utility refinements */
.pmg-section-footer {
  display: flex;
  justify-content: center;
  margin-top: 2.25rem;
}

.pmg-button-row--center {
  justify-content: center;
}

.pmg-quick-actions--standalone {
  margin: 0;
}

.pmg-availability-intro {
  margin-bottom: 1.5rem;
}

.pmg-entry-content--light,
.pmg-entry-content--light p,
.pmg-entry-content--light li {
  color: rgba(255, 255, 255, 0.72);
}

.pmg-entry-content--light h2,
.pmg-entry-content--light h3,
.pmg-entry-content--light h4 {
  color: #fff;
}

.comments-area .comment-list {
  padding: 0;
  list-style: none;
}

.comments-area .comment-body {
  padding: 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid var(--pmg-border);
  border-radius: var(--pmg-radius);
  background: var(--pmg-surface-soft);
}

.comments-area .children {
  margin-top: 1rem;
}

.comments-area input:not([type="submit"]),
.comments-area textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid #ccd8d4;
  border-radius: var(--pmg-radius-sm);
}

@media (max-width: 640px) {
  .pmg-section-footer .pmg-button {
    width: 100%;
  }
}

.pmg-section--white .pmg-breadcrumbs,
.pmg-section--tint .pmg-breadcrumbs {
  color: var(--pmg-muted);
}

.pmg-section--white .pmg-breadcrumbs a,
.pmg-section--tint .pmg-breadcrumbs a {
  color: var(--pmg-brand);
}

.pmg-contact-details .pmg-eyebrow {
  color: #fff;
}

.pmg-mobile-nav-actions {
  display: none;
}

@media (max-width: 900px) {
  .site-header.is-menu-open .pmg-mobile-nav-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    width: min(100%, var(--pmg-container));
    margin: 0.9rem auto 0;
  }

  .site-header.is-menu-open .pmg-mobile-nav-actions .pmg-button {
    min-height: 46px;
  }
}

@media (max-width: 520px) {
  .site-header.is-menu-open .pmg-mobile-nav-actions {
    grid-template-columns: 1fr;
  }
}
