/* =========================================================
   dw-pages.css
   Page-scoped styles for Bluff Bluzz custom pages.
   Loads after style.css.
   ========================================================= */

/* =========================================================
   Business submit/update page
   Wrapper: .ah-biz-shell
   Content blocks: .ah-biz-*
   Form plugin: BusinessNow shortcode output (unknown markup)
   ========================================================= */

.ah-biz-shell{
  --biz-bg:#f6f7fb;
  --biz-card:#ffffff;
  --biz-border:rgba(0,0,0,0.10);
  --biz-shadow:0 10px 25px rgba(15, 23, 42, 0.08);
  --biz-radius:16px;
  --biz-radius-pill:999px;
  --biz-max:var(--dw-container);

  max-width:var(--biz-max);
  margin:0 auto;
  padding:22px var(--dw-gap) 44px;
  box-sizing:border-box;
}

.ah-biz-top{
  margin-top:6px;
}

.ah-biz-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  align-items:start;
}

@media (min-width: 960px){
  .ah-biz-grid{
    grid-template-columns:minmax(0, 1.25fr) minmax(0, 0.95fr);
    gap:20px;
  }
}

.ah-biz-hero{
  grid-area:hero;
  border:1px solid var(--biz-border);
  border-radius:calc(var(--biz-radius) + 2px);
  background:var(--biz-card);
  box-shadow:var(--biz-shadow);
  padding:20px 18px;
}

.ah-biz-hero-title{
  margin:0 0 10px 0;
  line-height:1.12;
  letter-spacing:-0.02em;
  font-size:clamp(1.9rem, 2.9vw, 2.55rem);
}

.ah-biz-hero-title span{
  color:var(--dw-dark);
  font-weight:800;
}

.ah-biz-hero-text{
  margin:0 0 12px 0;
  max-width:70ch;
  color:var(--dw-muted);
  font-size:1.02rem;
}

.ah-biz-hero-note{
  margin:0 0 14px 0;
  padding:10px 12px;
  background:rgba(255,255,255,0.75);
  border:1px solid rgba(0,0,0,0.06);
  border-radius:12px;
  color:#333;
}

.ah-biz-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:8px;
}

.ah-biz-tag{
  display:inline-flex;
  align-items:center;
  border-radius:var(--biz-radius-pill);
  padding:8px 10px;
  background:#ffffff;
  border:1px solid rgba(0,0,0,0.10);
  font-weight:700;
  font-size:13px;
  color:#222;
}

.ah-biz-form-card{
  grid-area:form;
  border:1px solid var(--biz-border);
  border-radius:var(--biz-radius);
  background:var(--biz-card);
  box-shadow:var(--biz-shadow);
  overflow:hidden;
}

.ah-biz-form-header{
  padding:16px 16px 14px 16px;
  background:#fafafa;
  border-bottom:1px solid rgba(0,0,0,0.06);
}

.ah-biz-form-header h2{
  margin:0 0 6px 0;
  font-size:1.15rem;
}

.ah-biz-form-header p{
  margin:0;
  color:var(--dw-muted);
  font-size:0.95rem;
}

.ah-biz-form-body{
  padding:14px 16px 16px 16px;
}

.ah-biz-form-note,
.ah-biz-disclaimer{
  margin:14px 0 0 0;
  font-size:14px;
  color:#444;
}

.ah-biz-disclaimer{
  padding-top:12px;
  border-top:1px solid rgba(0,0,0,0.08);
}

/* Generic form polish inside the business submit card
   This is intentionally broad because the plugin markup can vary.
*/
.ah-biz-form-card form{
  margin:0;
}

.ah-biz-form-card label{
  font-weight:700;
  font-size:14px;
}

.ah-biz-form-card input[type="text"],
.ah-biz-form-card input[type="email"],
.ah-biz-form-card input[type="url"],
.ah-biz-form-card input[type="tel"],
.ah-biz-form-card input[type="number"],
.ah-biz-form-card input[type="file"],
.ah-biz-form-card select,
.ah-biz-form-card textarea{
  width:100%;
  max-width:100%;
  margin-top:6px;
  padding:10px 10px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,0.16);
  font-size:15px;
  box-sizing:border-box;
  background:#fff;
}

.ah-biz-form-card textarea{
  min-height:120px;
}

.ah-biz-form-card input[type="submit"],
.ah-biz-form-card button[type="submit"],
.ah-biz-form-card button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(11, 102, 163, 0.75);
  background:var(--dw-primary);
  color:#ffffff;
  font-size:15px;
  font-weight:800;
  cursor:pointer;
}

.ah-biz-form-card input[type="submit"]:hover,
.ah-biz-form-card button[type="submit"]:hover,
.ah-biz-form-card button:hover{
  filter:brightness(0.95);
}

.ah-biz-form-card .error,
.ah-biz-form-card .errors,
.ah-biz-form-card .notice,
.ah-biz-form-card .success{
  margin:0 0 12px 0;
}

.ah-biz-info{
  grid-area:info;
  margin-top:0;
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}

@media (min-width: 900px){
  .ah-biz-info{
    grid-template-columns:1fr 1fr;
  }
}

.ah-biz-section{
  border:1px solid rgba(0,0,0,0.08);
  border-radius:14px;
  background:var(--biz-card);
  padding:16px 16px;
}

.ah-biz-section h2{
  margin:0 0 10px 0;
  font-size:1.15rem;
}

.ah-biz-section p{
  margin:0 0 10px 0;
  color:#333;
}

.ah-biz-section ul{
  margin:0 0 10px 18px;
}

/* =========================================================
   Account request page (Request an account)
   Wrapper: .ah-shell
   Page blocks: .ah-reg-*
   Form plugin: Lightweight Form Response (.lfr-*)
   ========================================================= */

.ah-shell {
  --ah-bg: #f3fcf7;
  --ah-bg-alt: #ffffff;
  --ah-accent: #03554a;
  --ah-accent-soft: #e6f5f0;
  --ah-text-main: #1f2933;
  --ah-text-muted: #6b7280;
  --ah-border-soft: #e2e8f0;
  --ah-shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
  --ah-radius-lg: 14px;
  --ah-radius-pill: 999px;
  --ah-max-width: 1120px;

  width: 100%;
  max-width: var(--ah-max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.ah-reg-top {
  padding-top: 2.2rem;
}

.ah-reg-hero {
  background: linear-gradient(145deg, #ffffff, #f2f5ff);
  border-radius: 20px;
  padding: 1.6rem 1.6rem 1.4rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--ah-shadow-soft);
  margin-bottom: 2.2rem;
}

.ah-reg-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: var(--ah-radius-pill);
  padding: 0.3rem 0.85rem 0.3rem 0.4rem;
  background: #ffffff;
  border: 1px solid var(--ah-border-soft);
  box-shadow: 0 8px 20px rgba(148, 163, 184, 0.24);
  font-size: 0.7rem;
  margin-bottom: 0.6rem;
}

.ah-reg-pill-dot {
  height: 18px;
  width: 18px;
  border-radius: 999px;
  background: var(--ah-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--ah-accent);
}

.ah-reg-title {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 0.45rem;
  letter-spacing: -0.03em;
}

.ah-reg-title span {
  color: var(--ah-accent);
}

.ah-reg-text {
  font-size: 0.96rem;
  color: var(--ah-text-muted);
  max-width: 40rem;
  margin-bottom: 0.7rem;
}

.ah-reg-note {
  font-size: 0.9rem;
  color: var(--ah-text-muted);
}

.ah-reg-grid {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.6rem;
}

.ah-reg-card,
.ah-reg-side {
  background: #ffffff;
  border-radius: var(--ah-radius-lg);
  border: 1px solid var(--ah-border-soft);
  padding: 1.4rem 1.45rem;
  box-shadow: 0 8px 20px rgba(148, 163, 184, 0.18);
}

.ah-reg-card h2,
.ah-reg-side h2 {
  margin: 0 0 0.6rem 0;
  font-size: 1.15rem;
  color: var(--ah-accent);
}

.ah-reg-side p,
.ah-reg-side li {
  font-size: 0.9rem;
  color: var(--ah-text-muted);
}

.ah-reg-side ul {
  padding-left: 1.2rem;
  margin: 0.35rem 0 0;
}

.ah-reg-disclaimer {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--ah-border-soft);
  font-size: 0.8rem;
  color: var(--ah-text-muted);
}

/* Lightweight Form Response form styling */
.lfr-form {
  margin: 0;
}

.lfr-field {
  margin-bottom: 0.9rem;
}

.lfr-field label {
  font-size: 0.9rem;
  color: var(--ah-text-main);
}

.lfr-field input[type="text"],
.lfr-field input[type="email"],
.lfr-field textarea,
.lfr-field select,
.lfr-field input[type="file"] {
  width: 100%;
  max-width: 100%;
  margin-top: 0.25rem;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--ah-border-soft);
  font-size: 0.9rem;
  box-sizing: border-box;
}

.lfr-field small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: var(--ah-text-muted);
}

.lfr-field button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.9);
  background: var(--ah-accent);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.14s ease-out, box-shadow 0.14s ease-out;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.lfr-field button[type="submit"]:hover {
  background: #2556aa;
}

.lfr-success,
.lfr-errors {
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  font-size: 0.88rem;
}

.lfr-success {
  background: #ecfdf3;
  border: 1px solid #22c55e;
  color: #166534;
}

.lfr-errors {
  background: #fef2f2;
  border: 1px solid #f97373;
  color: #991b1b;
}

.lfr-error-item {
  margin: 0;
}

/* Verified account block: hide upload by default, show when Yes is selected.
   Uses :has(), which is supported in modern browsers (Chrome, Edge, Safari, Firefox). */
.lfr-verified-block #lfr_verified_upload_wrap {
  display: none;
}

.lfr-verified-block:has(
  select[name="verified_account_choice"] option[value="yes"]:checked
) #lfr_verified_upload_wrap {
  display: block;
}

@media (max-width: 768px) {
  /* Option C: use a clean gradient hero on mobile for readability */
  .ahts-support-page header,
  .ahts-support-hero {
    background: linear-gradient(135deg, var(--ahts-primary-blue), #2a5298);
  }

  .ahts-support-page header { text-align: left; }

  .ahts-support-page header .donation-cta {
    background: rgba(255, 255, 255, 0.12);
  }

  .ahts-support-page header .donation-cta p { color: #fff; }

  .ah-reg-grid {
    grid-template-columns: 1fr;
  }
}




/* =========================================================
   Forum page (Neighborly) width alignment
   Ensures [neighborly_forum] matches .ah-shell width
   Scoped to .ah-shell so other pages are unaffected
   ========================================================= */

/* The shortcode block and its immediate wrapper should not constrain width */

.ah-shell .ah-forum-full,
.ah-shell .ah-forum-full > * {
  width: 100% !important;
  max-width: 100% !important;
}

.ah-shell .wp-block-shortcode,
.ah-shell .wp-block-shortcode > *,
.ah-shell .wp-block-shortcode .wp-block-shortcode {
  width: 100% !important;
  max-width: 100% !important;
}

/* Common Neighborly wrapper candidates. We override max-width + centering. */
.ah-shell .neighborly,
.ah-shell .neighborly-root,
.ah-shell .neighborly-app,
.ah-shell .neighborly-container,
.ah-shell .neighborly-wrapper,
.ah-shell .neighborly-wrap,
.ah-shell .neighborly-forum,
.ah-shell .neighborly-forums,
.ah-shell .neighborly-thread-list,
.ah-shell .nb-container,
.ah-shell .nb-wrapper,
.ah-shell .nb-wrap,
.ah-shell .nb-forum,
.ah-shell .nb-forums {
  width: 100% !important;
  max-width: 100% !important;
}

.ah-shell .neighborly,
.ah-shell .neighborly-root,
.ah-shell .neighborly-app,
.ah-shell .neighborly-container,
.ah-shell .neighborly-wrapper,
.ah-shell .neighborly-wrap,
.ah-shell .neighborly-forum,
.ah-shell .neighborly-forums,
.ah-shell .neighborly-thread-list,
.ah-shell .nb-container,
.ah-shell .nb-wrapper,
.ah-shell .nb-wrap,
.ah-shell .nb-forum,
.ah-shell .nb-forums {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* If the plugin uses an inner container pattern, let it stretch too. */
.ah-shell .neighborly-container *,
.ah-shell .neighborly-wrap *,
.ah-shell .nb-container * {
  max-width: 100%;
}

/* =========================================================
   Business directory page overrides
   NOTE: This block MUST stay last in this file so it wins.
   ========================================================= */

/* Force the directory wrapper to fill the available width */
#ah-bd-categories {
  width: 100%;
  max-width: 100%;
}

/* Force each category section to fill width */
.bd-category {
  width: 100%;
}

/* Ensure the grid can expand */
.bd-card-grid {
  width: 100%;
  max-width: 100%;
}

/* =========================================================
   Forum + Start Thread shared blocks
   Wrapper: .ah-shell
   Blocks: .ah-hero-spacer, .ah-stc-section, .ah-stc-form-card
   Forum wrapper: .ah-forum-full
   ========================================================= */

.ah-hero-spacer {
  padding-top: 0.75rem;
}

/* Card blocks used on the forum + start-thread pages */
.ah-stc-section {
  margin-top: 1.6rem;
  margin-bottom: 1.6rem;
  background: #ffffff;
  border-radius: var(--ah-radius-lg);
  border: 1px solid var(--ah-border-soft);
  padding: 1.25rem 1.3rem;
  box-shadow: 0 6px 18px rgba(148, 163, 184, 0.18);
}

.ah-stc-section h2 {
  margin-top: 0;
  margin-bottom: 0.55rem;
  font-size: 1.1rem;
  color: var(--ah-accent);
}

.ah-stc-section p,
.ah-stc-section li {
  font-size: 0.94rem;
  color: var(--ah-text-muted);
}

.ah-stc-section p {
  margin-top: 0.6rem;
  margin-bottom: 0.6rem;
}

.ah-stc-section p:first-of-type {
  margin-top: 0;
}

.ah-stc-section ul {
  padding-left: 1.2rem;
  margin: 0.55rem 0 0;
}

.ah-stc-section li {
  margin: 0.35rem 0;
}

.ah-stc-form-card {
  margin-top: 1.6rem;
  padding: 1.6rem 1.4rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--ah-shadow-soft);
}

.ah-stc-form-header {
  margin-bottom: 1rem;
}

.ah-stc-form-header h2 {
  margin: 0 0 0.3rem 0;
  font-size: 1.2rem;
  color: var(--ah-text-main);
}

.ah-stc-form-header p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ah-text-muted);
}

.ah-stc-disclaimer {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--ah-border-soft);
  font-size: 0.8rem;
  color: var(--ah-text-muted);
}

/* Improve "Important site information" scanability */
.ah-site-info ul {
  margin-top: 0.75rem;
}

/* Neighborly forum width: keep scoped to wrapper so nothing else breaks */
.ah-forum-full {
  width: 100%;
}

/* Most common theme/plugin container wrappers */
.ah-forum-full .container,
.ah-forum-full .wrap,
.ah-forum-full .content,
.ah-forum-full .content-wrap,
.ah-forum-full .site-content,
.ah-forum-full .entry-content,
.ah-forum-full .neighborly-forum,
.ah-forum-full .neighborly-container,
.ah-forum-full .neighborly {
  width: 100% !important;
  max-width: 100% !important;
}

/* Safety net: direct children should not be constrained */
.ah-forum-full > * {
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 640px) {
  .ah-hero-spacer {
    padding-top: 0.4rem;
  }

  .ah-stc-form-card {
    padding: 1.3rem 1.1rem;
  }
}

/* AH Business Submit/Update Page
   Purpose: Two-column layout with form visible immediately.
   Notes: Scoped to .ah-biz-shell to avoid sitewide impact.
*/
.ah-biz-shell{
  max-width: var(--wp--style--global--content-size, 1200px);
  margin: 0 auto;
  padding: 42px 18px 60px;
}

.ah-biz-top{
  margin: 0;
}

.ah-biz-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    "hero form"
    "info form";
  gap: 26px;
  align-items: start;
  align-content: start;
}

.ah-biz-hero{
  grid-area: hero;
}

.ah-biz-info{
  grid-area: info;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ah-biz-form-card{
  grid-area: form;
  align-self: start;
  position: sticky;
  top: 18px;
}

/* Mobile stack */
@media (max-width: 980px){
  .ah-biz-shell{ padding: 28px 16px 46px; }
  .ah-biz-grid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "hero"
      "form"
      "info";
  }
  .ah-biz-form-card{
    position: static;
    top: auto;
  }
  .ah-biz-info{
    grid-template-columns: 1fr;
  }
}

/* Typography */
.ah-biz-hero-title{
  margin: 0 0 14px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.ah-biz-hero-title span{
  color:var(--dw-dark);
  font-weight:800;
}

.ah-biz-hero-text{
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dw-text, #2d2f33);
}

.ah-biz-hero-note{
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(0,0,0,0.62);
}

/* Tags */
.ah-biz-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.ah-biz-tag{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  border: 1px solid rgba(0,0,0,0.10);
  background: #fff;
  color: rgba(0,0,0,0.72);
}

/* Card system */
.ah-biz-form-card,
.ah-biz-section{
  background: #fff; /* remove any tint */
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.ah-biz-hero{
  background:var(--biz-card);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  padding: 24px 24px 20px;
}

.ah-biz-section{
  padding: 18px 18px 16px;
}

.ah-biz-section h2{
  margin: 0 0 10px;
  font-size: 16px;
}

.ah-biz-section p{
  margin: 0 0 12px;
  color: rgba(0,0,0,0.74);
  font-size: 13px;
  line-height: 1.55;
}

.ah-biz-section ul{
  margin: 0 0 12px 18px;
  padding: 0;
  color: rgba(0,0,0,0.78);
  font-size: 13px;
  line-height: 1.55;
}

.ah-biz-section li{
  margin: 0 0 6px;
}

/* Form card */
.ah-biz-form-header{
  padding: 18px 18px 12px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.ah-biz-form-header h2{
  margin: 0 0 6px;
  font-size: 16px;
}

.ah-biz-form-header p{
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(0,0,0,0.68);
}

.ah-biz-form-body{
  padding: 16px 18px 18px;
}

.ah-biz-form-note{
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(0,0,0,0.65);
}

.ah-biz-disclaimer{
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.55;
  color: rgba(0,0,0,0.58);
}

/* Generic form polish for the shortcode output */
.ah-biz-form-card form{
  margin: 0;
}

.ah-biz-form-card label{
  display: block;
  margin: 10px 0 6px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(0,0,0,0.78);
}

.ah-biz-form-card input[type="text"],
.ah-biz-form-card input[type="email"],
.ah-biz-form-card input[type="url"],
.ah-biz-form-card input[type="tel"],
.ah-biz-form-card textarea,
.ah-biz-form-card select{
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.14);
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.3;
  background: #fff;
}

.ah-biz-form-card textarea{
  min-height: 120px;
}

.ah-biz-form-card input:focus,
.ah-biz-form-card textarea:focus,
.ah-biz-form-card select:focus{
  outline: none;
  border-color: rgba(11,105,163,0.60);
  box-shadow: 0 0 0 3px rgba(11,105,163,0.14);
}

.ah-biz-form-card input[type="submit"],
.ah-biz-form-card button,
.ah-biz-form-card .button,
.ah-biz-form-card .wp-element-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  background: var(--dw-accent, #0b69a3);
  color: #fff;
  cursor: pointer;
}

.ah-biz-form-card input[type="submit"]:hover,
.ah-biz-form-card button:hover,
.ah-biz-form-card .button:hover,
.ah-biz-form-card .wp-element-button:hover{
  filter: brightness(0.96);
}


/* =========================================================
   Business single page
   Template: single-ah_business.php
   Wrapper: .ah-business-single
   ========================================================= */
.ah-business-single {
  max-width: 820px;
  margin: 0 auto;
}
.ah-business-single__header {
  margin: 0 0 1rem;
}
.ah-business-single__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  color: var(--dw-muted, #6b7280);
}
.ah-business-single__kicker a {
  color: inherit;
  text-decoration: none;
}
.ah-business-single__kicker a:hover {
  text-decoration: underline;
}
.ah-business-single__sep {
  margin: 0 0.35rem;
}
.ah-business-single__title {
  margin: 0;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  line-height: 1.15;
  color: var(--dw-dark, #111827);
}
.ah-business-single__card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.1rem 1.15rem;
  box-shadow: 0 8px 20px rgba(148, 163, 184, 0.14);
}
.ah-business-single__row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #edf2f7;
}
.ah-business-single__row:last-child {
  border-bottom: none;
}
.ah-business-single__label {
  font-weight: 700;
  color: var(--dw-dark, #111827);
  font-size: 0.92rem;
}
.ah-business-single__value {
  color: var(--dw-dark, #111827);
  font-size: 0.95rem;
}
.ah-business-single__value a {
  color: #2563eb;
  text-decoration: none;
}
.ah-business-single__value a:hover {
  text-decoration: underline;
}
.ah-business-single__meta {
  margin-left: 0.6rem;
  font-size: 0.9rem;
  color: var(--dw-muted, #6b7280);
}
.ah-business-single__footer {
  margin-top: 1rem;
}
.ah-business-single__back {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  color: var(--dw-dark, #111827);
}
.ah-business-single__back:hover {
  text-decoration: underline;
}
@media (max-width: 560px) {
  .ah-business-single__row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .ah-business-single__label {
    color: var(--dw-muted, #6b7280);
    font-weight: 700;
  }
}


/* Support Our Community page (scoped) */
.ahts-support-page {
  --ahts-primary-blue: #1e3a6c;
  --ahts-primary-green: #2a8a4a;
  --ahts-accent-gold: #e0aa20;
  --ahts-light-gray: #f5f5f5;
  --ahts-dark-gray: #333333;
  color: var(--ahts-dark-gray);
}

.ahts-support-hero {
  background: linear-gradient(rgba(30, 58, 108, 0.93), rgba(30, 58, 108, 0.97)), url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
  color: #fff;
  padding: 2.5rem 1rem;
}

.ahts-support-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.ahts-support-hero__title {
  font-size: 2.4rem;
  margin: 0 0 0.5rem 0;
}

.ahts-support-hero__tagline {
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 0 1rem 0;
}

/* Readability tweaks (Support page only) */
.ahts-support-hero__title,
.ahts-support-page header h1 {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.ahts-support-hero__tagline,
.ahts-support-page header .tagline {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  font-weight: 600;
  line-height: 1.5;
}

.ahts-support-page .donation-cta,
.ahts-support-hero__callout {
  background: rgba(0, 0, 0, 0.28);
  border-left-color: var(--ahts-accent-gold);
}

.ahts-support-page .donation-cta p,
.ahts-support-hero__callout p {
  color: #fff;
}

/* Improve small text contrast */
.ahts-support-tier__duration,
.ahts-support-muted {
  color: #4b5563;
}

.ahts-support-container {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.ahts-support-section {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-top: 4px solid var(--ahts-primary-green);
}

.ahts-support-h2 {
  color: var(--ahts-primary-blue);
  border-bottom: 2px solid var(--ahts-accent-gold);
  padding-bottom: 0.5rem;
  margin: 0 0 1.5rem 0;
  display: inline-block;
}

.ahts-support-h3 { margin: 0.25rem 0 0.5rem 0; color: var(--ahts-primary-blue); }

.ahts-support-muted { color: #4b5563; }
.ahts-support-center { text-align: center; }

.ahts-support-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.ahts-support-step {
  background: var(--ahts-light-gray);
  border-radius: 8px;
  padding: 1.5rem;
  position: relative;
  text-align: center;
}

.ahts-support-step__num {
  position: absolute;
  top: -15px;
  left: -15px;
  background: var(--ahts-primary-blue);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.ahts-support-step__icon i { font-size: 2.2rem; color: var(--ahts-primary-blue); margin-bottom: 0.75rem; }

.ahts-support-banner-preview {
  background: #f9f9f9;
  border: 2px dashed #ddd;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  margin: 1.5rem 0;
}

.ahts-support-banner-preview__frame {
  max-width: 970px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
}

.ahts-support-banner-preview__bar {
  height: 90px;
  background: linear-gradient(135deg, var(--ahts-primary-blue), #2a5298);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
}

.ahts-support-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.ahts-support-tier {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.10);
  transition: transform 0.2s ease;
  background: #fff;
}

.ahts-support-tier:hover { transform: translateY(-4px); }

.ahts-support-tier__header {
  padding: 1.25rem;
  color: #fff;
  text-align: center;
}

.ahts-support-tier--tier1 .ahts-support-tier__header { background: var(--ahts-primary-green); }
.ahts-support-tier--tier2 .ahts-support-tier__header { background: #1e6fa8; }
.ahts-support-tier--tier3 .ahts-support-tier__header { background: #9c3d8f; }

.ahts-support-tier__body { padding: 1.25rem; }
.ahts-support-tier__price { font-size: 2rem; font-weight: 800; margin-bottom: 0.25rem; }
.ahts-support-tier__duration { font-size: 0.95rem; color: #4b5563; margin-bottom: 1rem; }

.ahts-support-list { list-style: none; padding: 0; margin: 0 0 1rem 0; }
.ahts-support-list li { padding: 0.45rem 0; border-bottom: 1px solid #eee; }
.ahts-support-list li:last-child { border-bottom: none; }
.ahts-support-list i { color: var(--ahts-primary-green); margin-right: 0.5rem; }

.ahts-support-tier__button {
  width: 100%;
  display: block;
  border: none;
  border-radius: 4px;
  padding: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  color: #fff;
}

.ahts-support-tier--tier1 .ahts-support-tier__button { background: var(--ahts-primary-green); }
.ahts-support-tier--tier2 .ahts-support-tier__button { background: #1e6fa8; }
.ahts-support-tier--tier3 .ahts-support-tier__button { background: #9c3d8f; }
.ahts-support-tier__button:hover { opacity: 0.92; }

.ahts-support-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.ahts-support-spec {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1.25rem;
  text-align: left;
}

.ahts-support-spec__row { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.65rem; }
.ahts-support-spec__label { color: #555; font-size: 0.95rem; }
.ahts-support-spec__dim { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; background: var(--ahts-light-gray); padding: 0.35rem 0.6rem; border-radius: 4px; font-weight: 800; }

.ahts-support-requirements {
  background: #f8f9fa;
  border-left: 4px solid var(--ahts-accent-gold);
  padding: 1rem;
  border-radius: 6px;
  margin-top: 1.5rem;
}

.ahts-support-bullets { margin: 0.5rem 0 0 1.1rem; }
.ahts-support-impact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.ahts-support-impact__card {
  background: #e9f4ef;
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
}

.ahts-support-impact__card i { font-size: 2.2rem; color: var(--ahts-primary-blue); margin-bottom: 0.75rem; }

.ahts-support-donation-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
}

.ahts-support-donation-option {
  border: 2px solid #ddd;
  border-radius: 6px;
  padding: 0.9rem;
  text-align: center;
  cursor: pointer;
  user-select: none;
  display: grid;
  gap: 0.25rem;
}

.ahts-support-donation-option input { display: none; }
.ahts-support-donation-option__amount { font-size: 1.5rem; font-weight: 900; color: var(--ahts-primary-blue); }
.ahts-support-donation-option__label { color: #555; font-weight: 700; font-size: 0.95rem; }

.ahts-support-donation-option:hover { border-color: var(--ahts-primary-blue); background: #f0f7ff; }
.ahts-support-donation-option.is-selected { border-color: var(--ahts-primary-green); background: #e9f4ef; }

.ahts-support-ol { margin: 0.5rem 0 0 1.2rem; }

.ahts-support-footer {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--ahts-primary-blue);
  color: #fff;
  border-radius: 0;
}

@media (max-width: 768px) {
  .ahts-support-hero__title { font-size: 2rem; }
  .ahts-support-section { padding: 1.5rem; }
}

/*
  Support Our Community
  Compatibility styles for the original markup (header/.container/section/.tiers-grid etc.)
  This keeps the page looking like the original HTML version while keeping styles scoped.
*/
.ahts-support-page header {
  background: linear-gradient(rgba(30, 58, 108, 0.9), rgba(30, 58, 108, 0.95)), url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
  color: var(--ahts-white);
  padding: 2.5rem 1rem;
  text-align: center;
  border-radius: 10px;
}

.ahts-support-page h1 {
  font-size: 2.5rem;
  margin: 0 0 0.5rem 0;
}

.ahts-support-page .tagline {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 1rem auto;
}

.ahts-support-page .donation-cta {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 1rem;
  max-width: 600px;
  margin: 1rem auto 0 auto;
  border-left: 4px solid var(--ahts-accent-gold);
}

.ahts-support-page .container {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.ahts-support-page main.container {
  background: transparent;
}

.ahts-support-page main.container > section {
  background: var(--ahts-white);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-top: 4px solid var(--ahts-primary-green);
}

.ahts-support-page h2 {
  color: var(--ahts-primary-blue);
  border-bottom: 2px solid var(--ahts-accent-gold);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.ahts-support-page .process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.ahts-support-page .step-card {
  text-align: center;
  padding: 1.5rem;
  background: var(--ahts-light-gray);
  border-radius: 8px;
  position: relative;
}

.ahts-support-page .step-number {
  position: absolute;
  top: -15px;
  left: -15px;
  background: var(--ahts-primary-blue);
  color: var(--ahts-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}

.ahts-support-page .step-card i {
  font-size: 2.5rem;
  color: var(--ahts-primary-blue);
  margin-bottom: 1rem;
}

.ahts-support-page .tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.ahts-support-page .tier-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  background: var(--ahts-white);
}

.ahts-support-page .tier-card:hover {
  transform: translateY(-5px);
}

.ahts-support-page .tier-header {
  color: var(--ahts-white);
  padding: 1.5rem;
  text-align: center;
}

.ahts-support-page .tier-1 .tier-header { background: var(--ahts-primary-green); }
.ahts-support-page .tier-2 .tier-header { background: #1e6fa8; }
.ahts-support-page .tier-3 .tier-header { background: #9c3d8f; }

.ahts-support-page .tier-body { padding: 1.5rem; }

.ahts-support-page .tier-price {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.ahts-support-page .tier-duration {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.ahts-support-page .tier-features {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.ahts-support-page .tier-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.ahts-support-page .tier-features li:last-child { border-bottom: none; }

.ahts-support-page .tier-features li i {
  color: var(--ahts-primary-green);
  margin-right: 0.5rem;
}

.ahts-support-page .tier-button {
  display: block;
  width: 100%;
  padding: 0.85rem;
  text-align: center;
  border: none;
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.ahts-support-page .tier-1 .tier-button { background: var(--ahts-primary-green); color: var(--ahts-white); }
.ahts-support-page .tier-2 .tier-button { background: #1e6fa8; color: var(--ahts-white); }
.ahts-support-page .tier-3 .tier-button { background: #9c3d8f; color: var(--ahts-white); }

.ahts-support-page .tier-button:hover { opacity: 0.92; }

.ahts-support-page .banner-preview {
  background: #f9f9f9;
  border: 2px dashed #ddd;
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.ahts-support-page .banner-container {
  max-width: 970px;
  margin: 0 auto;
  background: var(--ahts-white);
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
}

.ahts-support-page .banner-display {
  height: 90px;
  background: linear-gradient(135deg, var(--ahts-primary-blue), #2a5298);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ahts-white);
  font-weight: 800;
}

.ahts-support-page .banner-demo-text { font-size: 1.2rem; }

.ahts-support-page .banner-note {
  margin-top: 1rem;
  font-style: italic;
  color: #666;
}

.ahts-support-page .specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.ahts-support-page .size-card {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 1.5rem;
  text-align: center;
}

.ahts-support-page .size-dimensions {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background: var(--ahts-light-gray);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  margin: 0.5rem 0;
  display: inline-block;
  font-weight: 900;
  font-size: 1.1rem;
}

.ahts-support-page .size-label {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.2rem;
  display: block;
  margin-top: 0.5rem;
}

.ahts-support-page .impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.ahts-support-page .impact-card {
  text-align: center;
  padding: 1.5rem;
  background: #e9f4ef;
  border-radius: 8px;
}

.ahts-support-page .impact-card i {
  font-size: 2.5rem;
  color: var(--ahts-primary-blue);
  margin-bottom: 1rem;
}

.ahts-support-page .donation-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.ahts-support-page .donation-option {
  text-align: center;
  padding: 1rem;
  border: 2px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ahts-support-page .donation-option:hover {
  border-color: var(--ahts-primary-blue);
  background: #f0f7ff;
}

.ahts-support-page .donation-option.selected {
  border-color: var(--ahts-primary-green);
  background: #e9f4ef;
}

.ahts-support-page .donation-option input { display: none; }

.ahts-support-page .donation-option .donation-amount {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--ahts-primary-blue);
  margin: 0.5rem 0;
}

.ahts-support-page .custom-amount { margin-top: 1rem; }

.ahts-support-page .file-requirements,
.ahts-support-page .ahts-callout {
  background: #f8f9fa;
  border-left: 4px solid var(--ahts-accent-gold);
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 4px;
}

.ahts-support-page .file-requirements h4 {
  margin-top: 0;
  color: var(--ahts-primary-blue);
}

.ahts-support-page .explanation-box {
  background: #f0f7ff;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1.5rem;
  border-left: 4px solid var(--ahts-primary-blue);
}

.ahts-support-page button[type="submit"] {
  background: var(--ahts-primary-green);
  color: var(--ahts-white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.2s ease;
  display: inline-block;
  width: 100%;
  margin-top: 1rem;
}

.ahts-support-page button[type="submit"]:hover { background: #247a41; }

@media (max-width: 768px) {
  .ahts-support-page h1 { font-size: 2rem; }
  .ahts-support-page .tagline { font-size: 1rem; }
  .ahts-support-page main.container > section { padding: 1.5rem; }
  .ahts-support-page .tiers-grid,
  .ahts-support-page .specs-grid { grid-template-columns: 1fr; }
  .ahts-support-page .donation-options { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .ahts-support-page .donation-options { grid-template-columns: 1fr; }
  .ahts-support-page .process-steps { grid-template-columns: 1fr; }
}
