/* MDPPGA – the inner pages, measured from the live WordPress pages and restyled GHL pages.
   Loaded after mdppga.css, which holds the colours and the shared header, hero and footer. */

/* ---------- Heroes ---------- */
.hero-300 { min-height: 300px; }
.hero h1 { font-size: 50px; font-weight: 500; }
.page-index .hero h1 { font-size: 56px; font-weight: 700; }
.hero .hero-title-56 { font-size: 56px; }
.hero .hero-title-44 { max-width: 1100px; font-size: 44px; line-height: 1.1; }
.hero .hero-sub-light { font-size: 24px; font-weight: 400; }
.hero-photo { position: relative; isolation: isolate; background: var(--hero-photo) center / cover; }
.hero-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .56); }
.hero-photo p { margin: 10px 0 0; }
.hero-profile { min-height: 230px; gap: 14px; }
.hero-title { margin: 0; font-size: 50px; font-weight: 500; line-height: 1; }
.breadcrumbs { font-size: 14px; }
.breadcrumbs a { color: #fff; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
@media (max-width: 767px) {
  .hero h1, .hero-title { font-size: 40px; }
  .page-index .hero h1 { font-size: 50px; }
  .hero .hero-title-56 { font-size: 46px; }
  .hero .hero-title-44 { font-size: 32px; }
}

/* ---------- Shared pieces ---------- */
.prose-small p { font-size: 16px; line-height: 1.75; }
.prose-small h2 { font-size: 30px; }
.intro { max-width: 760px; margin: 0 auto 40px; }
.narrow { max-width: 880px; }

/* ---------- Policies ---------- */
.policy p, .policy li { font-size: 16px; line-height: 1.75; }
.policy p { margin: 0 0 16px; }
.policy ul { margin: 0 0 16px; padding-left: 22px; }
.policy h2 { margin: 34px 0 12px; color: var(--maroon); font-size: 26px; font-weight: 700; }
.policy-date { color: #555; }
.draft-note { margin: 0; padding: 12px 16px; background: #fff6d9; border-bottom: 1px solid #e3e3e3; color: #111; font-size: 15px; text-align: center; }
.footer-legal { display: block; margin-top: 6px; }
.footer-legal a { color: inherit; }
.education-terms { margin: 22px 0 0; font-size: 15px; text-align: center; }
.section-soft { background: #f8f8f8; }
.section-title { margin: 0 0 30px; color: #000; font-size: 36px; font-weight: 700; }
.section-title:not(:first-child) { margin-top: 70px; }
.band-title { margin: 0 0 30px; color: var(--maroon); font-size: 28.8px; font-weight: 700; text-align: center; }

.button-square, .button-gold {
  display: inline-block; padding: 14px 24px; border: 0; border-radius: 3px; cursor: pointer;
  background: var(--maroon); color: #fff; font: 400 20px/1.1 var(--font); text-decoration: none;
}
.button-square:hover, .button-square:focus-visible { background: var(--crimson); }
.button-gold { padding: 17px 28px; background: #edab05; color: var(--maroon); font-size: 23px; font-weight: 600; }
.button-gold:hover, .button-gold:focus-visible { background: #f5bf2e; }
.pill-button {
  display: inline-block; padding: 10px 20px; border: 5px solid transparent; border-radius: 50px;
  background: linear-gradient(#fff, #fff) padding-box, var(--pill) border-box;
  color: #000; font-size: 15px; font-weight: 600; text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
.pill-button:hover, .pill-button:focus-visible { background: var(--pill) padding-box, var(--pill) border-box; color: #fff; }
.ghl-form iframe { display: block; width: 100%; border: 0; border-radius: 3px; }

/* ---------- Contact ---------- */
.contact { padding: 70px 0 90px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact h2 { margin: 0 0 18px; color: var(--maroon); font-size: 36px; font-weight: 700; }
.contact-intro { margin: 0 0 30px; color: #282828; font-size: 20px; line-height: 30px; }
.contact-form { display: grid; gap: 14px; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 10px 16px; border: 1px solid #e3e3e3; border-radius: 0; background: #fff;
  color: #1c221f; font: 600 17px/1.4 var(--font);
}
.contact-form textarea { min-height: 180px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--crimson); outline-offset: 0; border-color: var(--crimson); }
.contact-form button { justify-self: start; padding: 20px; margin-top: 6px; }
.contact-form button:disabled { opacity: .6; cursor: wait; }
.contact-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.5em; font-weight: 600; }
.form-status.is-ok { color: #1e6b2f; }
.form-status.is-error { color: var(--crimson); }
/* The phone helper's note (AIM Apps Admin v2.53) sits under the phone box, in its column. */
.aa-phone-note { margin: -8px 0 0; color: #8a5a00; font-weight: 600; }
.contact-row .aa-phone-note { grid-column: 2; }
/* reCAPTCHA's badge would sit over the corner of every page; Google allows hiding it when the form says so. */
.grecaptcha-badge { visibility: hidden; }
.form-recaptcha { margin: 0; font-size: .8rem; color: #666; }
.form-recaptcha a { color: inherit; }
.contact-map iframe { display: block; width: 100%; height: 615px; border: 0; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map iframe { height: 400px; }
}
@media (max-width: 600px) { .contact-row { grid-template-columns: 1fr; } .contact-row .aa-phone-note { grid-column: 1; } }

/* ---------- Sponsorship ---------- */
.sponsor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 50px 20px; margin: 20px 0; padding: 0; list-style: none; }
.sponsor-grid img { width: 215px; height: 215px; }
@media (max-width: 1024px) { .sponsor-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) {
  .sponsor-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .sponsor-grid img { width: 140px; height: 140px; }
}

/* ---------- Directory ---------- */
.directory-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; }
.directory-search { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.directory-tools input, .directory-tools select { padding: 7px 10px; border: 1px solid #999; border-radius: 3px; font: 16px var(--font); }
.directory-tools input { width: 260px; max-width: 60vw; }
.directory-tools select { max-width: 100%; }
.directory-head, .listing { display: grid; grid-template-columns: 193px 1.2fr 1fr 1.1fr .9fr auto; gap: 20px; align-items: center; }
.directory-head { padding: 0 10px 14px; border-bottom: 1px solid #ddd; color: var(--maroon); font-size: 18px; font-weight: 700; }
.directory-list { margin: 0; padding: 0; list-style: none; }
.listing { padding: 12px 10px; border-bottom: 1px solid #ddd; font-size: 17px; line-height: 1.6; }
.listing[hidden] { display: none; }
.listing-photo img { display: block; width: 193px; height: 175px; object-fit: cover; }
.listing-name a { display: block; color: var(--maroon); font-size: 20px; line-height: 1.3; }
.listing-name .listing-person { margin-top: 12px; font-size: 17px; }
.listing .label { display: none; }
.directory-empty { padding: 30px 0; text-align: center; }
@media (max-width: 900px) {
  .directory-head { display: none; }
  .listing { grid-template-columns: 110px 1fr; gap: 8px 16px; align-items: start; }
  .listing-photo { grid-row: span 5; }
  .listing-photo img { width: 110px; height: 110px; border-radius: 8px; }
  .listing .label { display: block; color: var(--maroon); font-size: 13px; font-weight: 700; }
  .listing .pill-button { justify-self: start; }
}

/* ---------- Directory profile ---------- */
.profile { text-align: center; }
.profile-photo { display: block; width: 172px; height: 172px; margin: 0 auto 20px; border: 3px solid var(--maroon); border-radius: 50%; object-fit: cover; }
.profile h1 { color: var(--maroon); font-size: 36px; font-weight: 500; }
.profile-person { margin: 10px 0 0; color: var(--maroon); font-size: 28px; }
.profile-level { margin: 14px 0 0; color: var(--maroon); font-size: 18px; }
.profile-place { margin: 20px 0 25px; font-size: 18px; }
.profile-contact {
  max-width: 490px; margin: 0 auto 50px; padding: 26px 20px 20px;
  border: 1px solid #888; border-radius: 12px; background: #f1f1f1; font-size: 18px; overflow-wrap: anywhere;
}
.profile-contact p { margin: 0 0 12px; }
.profile-contact a:not(.button-square) { color: inherit; text-decoration: none; }
.profile-contact .button-square { padding: 10px 22px; font-size: 18px; }
.profile-logo { display: block; max-width: min(500px, 100%); height: auto; margin: 30px auto 0; }
.profile h2 { margin: 26px 0 8px; color: var(--maroon); font-size: 18px; font-weight: 600; }
.profile h2 + p { margin: 0; font-size: 18px; }

/* ---------- Education cards, in the GHL store's layout ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.card h3 { margin: 18px 0 0; font-size: 20px; font-weight: 600; line-height: 1.4; }
.card h3 a, .card-by a { color: #000; text-decoration: none; }
.card h3 a:hover, .card-by a:hover { text-decoration: underline; }
.card-media { display: block; aspect-ratio: 1; overflow: hidden; }
.card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
a.card-media:hover img { transform: scale(1.03); }
.card-placeholder {
  display: grid; place-items: center; width: 100%; height: 100%; padding: 30px; border: 1px solid #ddd;
  background: #fff; color: var(--maroon); font-size: 26px; font-weight: 700; text-align: center; text-decoration: none;
}
.card-by { margin: 6px 0 0; font-size: 20px; font-weight: 600; }
.card-text { margin: 10px 0 0; font-size: 15px; line-height: 1.6; }
.card-price { margin: 8px 0 0; font-size: 20px; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Membership levels ---------- */
.levels { display: grid; gap: 30px; margin: 0; padding: 0; list-style: none; }
.level {
  display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; padding: 30px;
  border: 1px solid #e5e5e5; border-radius: 20px; box-shadow: 0 0 10px rgba(0, 0, 0, .06);
}
.level img { display: block; width: 300px; height: 300px; border-radius: 12px; }
.level h3 { color: var(--maroon); font-size: 30px; font-weight: 700; }
.level h3 a { color: inherit; text-decoration: none; }
.level h3 a:hover { text-decoration: underline; }
.level-price { margin: 6px 0 16px; font-size: 28px; font-weight: 700; }
.level-price span { color: #666; font-size: 18px; font-weight: 400; }
.level p { line-height: 1.7; }
.member-login { font-size: 16px; }
@media (max-width: 767px) {
  .level { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .level img { width: 100%; height: auto; max-width: 300px; margin: 0 auto; }
}

/* ---------- Webinar pages ---------- */
.webinar-detail { padding: 60px 0; }
.webinar-grid { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: start; max-width: 1100px; }
.webinar-image { display: block; width: 100%; height: auto; }
.webinar-detail p { margin: 0 0 16px; font-size: 17px; line-height: 1.7; }
.webinar-detail .webinar-price { margin-bottom: 14px; font-size: 28px; font-weight: 600; }
.webinar-detail .webinar-per { color: #555; font-size: 17px; font-weight: 400; }
.webinar-detail .webinar-terms { color: #555; font-size: 15px; }
.webinar-detail ul { margin: 0 0 16px; padding-left: 24px; }
.webinar-detail li { font-size: 17px; line-height: 1.7; }
.webinar-video { padding: 60px 0 40px; }
.video-frame { position: relative; max-width: 1140px; margin: 0 auto; aspect-ratio: 16 / 11; background: #111; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-open { margin: 24px 0 0; text-align: center; }
.video-open .button-square { padding: 12px 26px; font-size: 18px; font-weight: 600; border-radius: 4px; }
.video-note { margin: 12px 0 0; color: #555; font-size: 13px; text-align: center; }
.speaker { padding: 70px 0; }
.speaker-grid { display: grid; grid-template-columns: 265px 1fr; gap: 40px; align-items: start; max-width: 1100px; }
.speaker-photo { display: block; width: 265px; height: 265px; border-radius: 50%; background: var(--maroon); object-fit: cover; }
.speaker h2 { margin: 0 0 14px; color: var(--maroon); font-size: 28px; font-weight: 700; }
.speaker p { margin: 0 0 18px; font-size: 17px; line-height: 1.7; }
.speaker .button-square { padding: 10px 22px; font-weight: 600; }
.support { padding: 70px 0; }
.support-title { margin: 0 0 40px; color: var(--maroon); font-size: 30px; font-weight: 700; line-height: 1.4; text-align: center; }
.support-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 1140px; margin: 0 auto; }
.support-box { padding: 22px 22px 40px; border: 3px solid var(--maroon); border-radius: 18px; background: #fff6d9; }
.support-box h3 { margin: 0 0 14px; color: #222; font-size: 28px; font-weight: 400; }
.support-box ul { margin: 0; padding-left: 26px; }
.support-box li { font-size: 18px; line-height: 1.6; }
.support-cta { margin: 30px 0 0; text-align: center; }
.support-cta .button-square { padding: 12px 24px; font-size: 24px; font-weight: 600; }
.powered { padding: 70px 0; }
.powered img { display: block; margin: 0 auto; }
@media (max-width: 767px) {
  .webinar-grid { grid-template-columns: 1fr; gap: 24px; }
  .speaker-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .speaker-photo { width: 200px; height: 200px; }
  .support-boxes { grid-template-columns: 1fr; }
  .support-title { font-size: 24px; }
}

/* ---------- My Account (store/app/templates/account/) ---------- */
.nav-account { display: inline-flex; align-items: center; gap: 6px; }
.nav-account svg { flex: none; }
.acc-band { padding: 34px 0 30px; background: #fff6d9; border-bottom: 1px solid #eadfb8; }
.acc-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; color: #555; font-size: 14px; }
.acc-crumbs a { color: inherit; }
.acc-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.acc-title { margin: 0; color: var(--maroon); font-size: 36px; font-weight: 700; line-height: 1.2; }
.acc-sub { margin: 8px 0 0; color: #444; font-size: 16px; }
.acc-me { display: flex; align-items: center; gap: 12px; min-width: 0; }
.acc-initial { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--maroon); color: #fff; font-size: 20px; font-weight: 700; }
.acc-me-words { display: grid; min-width: 0; font-size: 14px; overflow-wrap: anywhere; }
.acc-page { padding-top: 36px; padding-bottom: 70px; }
.acc-page:not(.acc-grid) .acc-main { max-width: 480px; margin: 0 auto; }
.acc-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 34px; align-items: start; }
.acc-menu { display: grid; gap: 2px; padding: 8px; border: 1px solid #e5e5e5; border-radius: 14px; }
.acc-menu a, .acc-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 8px;
  background: none; color: #222; font: inherit; font-size: 16px; text-align: left; text-decoration: none; cursor: pointer;
}
.acc-menu a:hover, .acc-menu button:hover, .acc-menu a:focus-visible, .acc-menu button:focus-visible { background: #f6f1e4; }
.acc-menu a[aria-current="page"] { background: var(--maroon); color: #fff; }
.acct-icon { flex: none; }
.acc-main > * + * { margin-top: 20px; }
.acc-card { padding: 22px 24px; border: 1px solid #e5e5e5; border-radius: 14px; background: #fff; }
.acc-card p { margin: 0 0 14px; font-size: 16px; line-height: 1.6; }
.acc-card > :last-child { margin-bottom: 0; }
.acc-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.acc-h { margin: 0 0 12px; color: var(--maroon); font-size: 22px; font-weight: 700; line-height: 1.3; }
.acc-card-head .acc-h { margin: 0; }
.acc-h a { color: inherit; }
.acc-pill { padding: 3px 12px; border-radius: 999px; background: #e4f3e6; color: #1d5b27; font-size: 13px; font-weight: 600; white-space: nowrap; }
.acc-pill-quiet { background: #eee; color: #444; }
.acc-pill-bad { background: #fbe4e4; color: #8f1a1a; }
.acc-facts { margin: 0 0 18px; }
.acc-facts div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 18px; padding: 9px 0; border-top: 1px solid #eee; }
.acc-facts dt { color: #555; }
.acc-facts dd { margin: 0; font-weight: 600; }
.acc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 14px; }
.acc-link { padding: 0; border: 0; background: none; color: var(--crimson); font: inherit; font-size: 16px; text-decoration: underline; cursor: pointer; }
.acc-cancel { margin-top: 12px; }
.acc-cancel summary { color: #555; font-size: 15px; cursor: pointer; }
.acc-cancel p { margin-top: 10px; }
.acc-muted, .acc-card p.acc-muted { color: #555; font-size: 14px; }
.acc-ok, .acc-error { padding: 12px 16px; border-radius: 10px; font-size: 16px; }
.acc-ok { background: #e4f3e6; color: #1d5b27; }
.acc-error, .acc-card p.acc-error { background: #fbe4e4; color: #8f1a1a; }
.acc-error a { color: inherit; }
.acc-label { display: block; margin: 0 0 6px; font-weight: 600; }
.acc-input { display: block; width: 100%; max-width: 420px; margin: 0 0 16px; padding: 11px 12px; border: 1px solid #bbb; border-radius: 8px; font: inherit; }
.acc-code { max-width: 180px; font-size: 22px; letter-spacing: 4px; }
.acc-signin .button { margin-bottom: 16px; }
/* Continue with Google (my_account.google_start): Google's own white button, logo at the left. */
.acc-google { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 48px; padding: 10px 20px; border: 1px solid #747775; border-radius: 50px; background: #fff; color: #1f1f1f; font-size: 16px; font-weight: 600; text-decoration: none; }
.acc-google:hover, .acc-google:focus-visible { background: #f6f6f6; border-color: #1f1f1f; }
.acc-google svg { flex: none; width: 20px; height: 20px; }
.acc-or, .acc-card p.acc-or { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: #555; font-size: 14px; }
.acc-or::before, .acc-or::after { content: ""; flex: 1; border-top: 1px solid #e5e5e5; }
.acc-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.acc-tile { display: grid; gap: 4px; padding: 20px 22px; border: 1px solid #e5e5e5; border-radius: 14px; color: #333; font-size: 15px; text-decoration: none; overflow-wrap: anywhere; }
.acc-tile:hover, .acc-tile:focus-visible { border-color: var(--maroon); }
.acc-tile b { color: var(--maroon); font-size: 19px; }
.acc-tile-label { color: #555; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.acc-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.acc-links { margin: 0 0 4px; padding-left: 20px; font-size: 16px; line-height: 1.9; }
.acc-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.acc-table th, .acc-table td { padding: 9px 8px 9px 0; border-top: 1px solid #eee; font-weight: 400; text-align: left; vertical-align: top; }
.acc-table thead th { border-top: 0; color: #555; font-size: 14px; }
.acc-table .acc-num { padding-right: 0; text-align: right; white-space: nowrap; }
.acc-strong th, .acc-strong td { font-weight: 700; }
@media (max-width: 860px) {
  .acc-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .acc-title { font-size: 30px; }
}
@media (max-width: 560px) {
  .acc-tiles { grid-template-columns: minmax(0, 1fr); }
  .acc-card { padding: 18px; }
}

/* THE SITE'S OWN FORMS (site/data/forms.json; volunteer, guest speaker, sponsor), in the contact form's look. */
.site-form-intro { margin: 0; font-weight: 600; }
.site-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.site-form .form-field { grid-column: 1 / -1; display: grid; gap: 6px; }
.site-form .form-half { grid-column: auto; }
.site-form label, .site-form legend { font-weight: 600; }
.site-form .form-req { color: var(--crimson); }
.site-form .form-choices { margin: 0; padding: 12px 14px; border: 1px solid #ccc; border-radius: 3px; }
.site-form .form-choices label { display: flex; gap: 8px; align-items: baseline; font-weight: 400; padding: 3px 0; }
.site-form .form-choices input { width: auto; }
.site-form textarea { min-height: 0; }
@media (max-width: 600px) { .site-form .form-half { grid-column: 1 / -1; } }

/* MY ACCOUNT > DIRECTORY LISTING (store/app/templates/account/directory.html). */
.acc-choices { margin: 0 0 16px; padding: 0; border: 0; }
.acc-choices label { display: inline-flex; gap: 6px; align-items: center; margin: 0 18px 8px 0; }
.acc-listing-img { display: block; width: 120px; height: 120px; object-fit: cover; border-radius: 10px; margin: 0 0 8px; }
.profile-about { white-space: pre-line; }
