/* AnthonyMaffei.com — Premium Interior Page Refresh
   Applied only to pages that retained the legacy interior layout.
   Visual overrides only: copy, headings, schema, URLs and page intent remain unchanged. */

body.premium-refresh {
  --pr-night:#090d11;
  --pr-night-2:#11171d;
  --pr-ivory:#fbf8f1;
  --pr-cream:#f3eadc;
  --pr-gold:#c9963e;
  --pr-gold-light:#e1b865;
  --pr-line:#dfd1bc;
  --pr-muted:#696158;
  --pr-shadow:0 22px 60px rgba(42,31,17,.10);
  --pr-shadow-soft:0 12px 34px rgba(42,31,17,.07);
  background:var(--pr-ivory);
}

body.premium-refresh main { overflow:hidden; }

/* Compact, polished hero band — consistent with refreshed site pages */
body.premium-refresh .page-hero {
  min-height:330px !important;
  align-items:center !important;
  border-bottom:1px solid rgba(222,184,112,.22);
}
body.premium-refresh .page-hero:before {
  background:
    linear-gradient(90deg,rgba(5,8,10,.91) 0%,rgba(5,8,10,.77) 47%,rgba(5,8,10,.26) 100%),
    linear-gradient(180deg,rgba(5,8,10,.12),rgba(5,8,10,.30)),
    var(--page-image) center / cover no-repeat !important;
}
body.premium-refresh .page-hero:after {
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:2px;
  background:linear-gradient(90deg,transparent 3%,rgba(225,184,101,.75) 24%,rgba(225,184,101,.16) 67%,transparent 96%);
}
body.premium-refresh .page-hero-content {
  padding:48px 0 44px !important;
  max-width:900px;
}
body.premium-refresh .page-hero h1 {
  max-width:880px;
  margin:0 0 14px !important;
  font-size:clamp(2.65rem,5vw,4.75rem) !important;
  line-height:.99 !important;
  text-wrap:balance;
}
body.premium-refresh .page-hero p {
  max-width:690px;
  color:#e3ddd3 !important;
  font-size:1.02rem !important;
  line-height:1.67;
}
body.premium-refresh .page-hero-actions { margin-top:22px !important; }
body.premium-refresh .page-hero .button {
  min-height:48px;
  border-radius:999px;
  padding-inline:23px;
}
body.premium-refresh .page-hero .button.primary { box-shadow:0 10px 26px rgba(0,0,0,.22); }

/* Breadcrumbs */
body.premium-refresh .breadcrumb-band {
  background:#f7f1e7;
  border-top:0;
  border-bottom:1px solid #e7dac7;
}
body.premium-refresh .breadcrumbs {
  min-height:50px;
  color:#746b60;
  font-size:.72rem;
}
body.premium-refresh .breadcrumbs a { color:#5b5349; }
body.premium-refresh .breadcrumbs a:hover { color:var(--gold-deep); }

/* Overall section rhythm */
body.premium-refresh .section { padding:82px 0; }
body.premium-refresh .section-white { background:#fffdf9; }
body.premium-refresh .section-sand { background:linear-gradient(180deg,#f3eadc 0%,#eee1cf 100%); }
body.premium-refresh .section-cream { background:linear-gradient(180deg,#f8f2e8 0%,#f2e7d7 100%); }
body.premium-refresh .section-title {
  font-size:clamp(2.45rem,4.2vw,4.35rem);
  line-height:1.01;
  text-wrap:balance;
}
body.premium-refresh .eyebrow {
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:#9a641d;
  letter-spacing:.15em;
  font-size:.68rem;
}
body.premium-refresh .eyebrow:before {
  content:"";
  width:22px;
  height:1px;
  background:currentColor;
  opacity:.72;
}
body.premium-refresh .page-hero .eyebrow { display:none !important; }

/* Intro / strategy split sections */
body.premium-refresh .seo-intro-grid,
body.premium-refresh .strategy-grid,
body.premium-refresh .faq-layout,
body.premium-refresh .license-clarity-grid {
  gap:clamp(34px,5vw,72px) !important;
}
body.premium-refresh .seo-intro-grid {
  position:relative;
  align-items:start;
}
body.premium-refresh .seo-intro-grid:before {
  content:"";
  position:absolute;
  left:calc(50% - 1px);
  top:4px;
  bottom:4px;
  width:1px;
  background:linear-gradient(180deg,transparent,#d8c3a3 18%,#d8c3a3 82%,transparent);
  opacity:.68;
}
body.premium-refresh .long-copy {
  max-width:720px;
  color:#565049;
}
body.premium-refresh .long-copy p { line-height:1.84; }
body.premium-refresh .long-copy p:first-child { font-size:1.04rem; color:#403b35; }

/* Core card systems */
body.premium-refresh .feature-grid,
body.premium-refresh .consideration-grid,
body.premium-refresh .decision-grid,
body.premium-refresh .core-detail-grid,
body.premium-refresh .text-link-grid,
body.premium-refresh .article-card-grid {
  gap:18px !important;
}
body.premium-refresh .feature,
body.premium-refresh .consideration-card,
body.premium-refresh .decision-card,
body.premium-refresh .core-detail-card,
body.premium-refresh .text-link-card,
body.premium-refresh .article-card {
  border:1px solid #e1d3bd !important;
  border-radius:20px !important;
  background:linear-gradient(145deg,#fffefa 0%,#fff 67%,#fbf5eb 100%) !important;
  box-shadow:var(--pr-shadow-soft) !important;
  overflow:hidden;
  position:relative;
}
body.premium-refresh .feature:after,
body.premium-refresh .consideration-card:after,
body.premium-refresh .decision-card:after,
body.premium-refresh .core-detail-card:after,
body.premium-refresh .text-link-card:after {
  content:"";
  position:absolute;
  width:92px;
  height:92px;
  right:-42px;
  top:-42px;
  border-radius:50%;
  background:rgba(201,150,62,.07);
  pointer-events:none;
}
body.premium-refresh .feature,
body.premium-refresh .consideration-card,
body.premium-refresh .decision-card,
body.premium-refresh .core-detail-card { padding:30px !important; }
body.premium-refresh .feature {
  min-height:230px;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
body.premium-refresh .feature:hover,
body.premium-refresh .consideration-card:hover,
body.premium-refresh .decision-card:hover,
body.premium-refresh .text-link-card:hover,
body.premium-refresh .article-card:hover {
  transform:translateY(-4px);
  border-color:#cfa75f !important;
  box-shadow:0 22px 50px rgba(42,31,17,.13) !important;
}
body.premium-refresh .feature-number {
  display:grid !important;
  place-items:center;
  width:54px;
  height:54px;
  border-radius:15px;
  margin:0 0 22px;
  background:var(--pr-night);
  color:var(--pr-gold-light) !important;
  font-family:Georgia,serif;
  font-size:1.15rem !important;
  line-height:1;
  box-shadow:0 10px 22px rgba(9,13,17,.16);
}
body.premium-refresh .feature h3,
body.premium-refresh .consideration-card h3,
body.premium-refresh .decision-card h3 {
  margin:0 0 10px !important;
  font-family:Georgia,"Times New Roman",serif;
  font-size:1.38rem !important;
  font-weight:400;
  line-height:1.13;
}
body.premium-refresh .feature p,
body.premium-refresh .consideration-card p,
body.premium-refresh .decision-card p,
body.premium-refresh .consideration-card li,
body.premium-refresh .decision-card li {
  color:#655e55 !important;
  font-size:.91rem !important;
  line-height:1.68;
}

/* Dark premium strategy panels */
body.premium-refresh .strategy-grid {
  border:1px solid rgba(210,168,91,.34);
  border-radius:26px;
  background:
    radial-gradient(circle at 93% 10%,rgba(214,165,77,.18),transparent 28%),
    linear-gradient(135deg,#090d11 0%,#10171d 56%,#18191a 100%);
  color:#fff;
  padding:clamp(34px,5vw,60px);
  box-shadow:0 28px 70px rgba(8,10,12,.16);
}
body.premium-refresh .strategy-grid .eyebrow { color:var(--pr-gold-light); }
body.premium-refresh .strategy-grid .section-title,
body.premium-refresh .strategy-grid h2,
body.premium-refresh .strategy-grid h3 { color:#fff; }
body.premium-refresh .strategy-grid p,
body.premium-refresh .strategy-grid li { color:#d8d2c9 !important; }
body.premium-refresh .strategy-grid a { color:var(--pr-gold-light); }
body.premium-refresh .strategy-grid .consideration-card,
body.premium-refresh .strategy-grid .decision-card {
  background:rgba(255,255,255,.055) !important;
  border-color:rgba(255,255,255,.13) !important;
  box-shadow:none !important;
}
body.premium-refresh .strategy-grid .consideration-card p,
body.premium-refresh .strategy-grid .decision-card p,
body.premium-refresh .strategy-grid .consideration-card li,
body.premium-refresh .strategy-grid .decision-card li { color:#d8d2c9 !important; }

/* Link / directory cards */
body.premium-refresh .text-link-card {
  min-height:185px !important;
  padding:27px !important;
}
body.premium-refresh .text-link-card strong {
  font-size:1.32rem !important;
  line-height:1.12;
}
body.premium-refresh .text-link-card span {
  color:#696158 !important;
  font-size:.86rem !important;
  line-height:1.6;
}
body.premium-refresh .text-link-card i {
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-height:31px;
  padding:7px 11px !important;
  border-radius:999px;
  background:#f3e8d5;
  color:#8d5b18 !important;
}
body.premium-refresh .service-directory {
  border-top:0 !important;
  margin-top:58px !important;
  padding-top:0 !important;
}

/* FAQ becomes easy-to-scan cards */
body.premium-refresh .faq-list { gap:10px; display:grid; }
body.premium-refresh .faq-item {
  border:1px solid #e0d2bd !important;
  border-radius:15px;
  background:#fffefa;
  padding:0 22px;
  box-shadow:0 8px 24px rgba(42,31,17,.045);
  overflow:hidden;
}
body.premium-refresh .faq-item summary {
  padding:19px 42px 19px 0 !important;
  font-size:1.12rem !important;
}
body.premium-refresh .faq-item summary:after {
  width:28px;
  height:28px;
  border-radius:50%;
  display:grid;
  place-items:center;
  top:15px !important;
  right:0 !important;
  background:#f1e5d3;
  font-size:1rem !important;
}
body.premium-refresh .faq-item p { padding:0 8px 20px 0; margin:0 !important; }

/* CTA blocks */
body.premium-refresh .cta-panel {
  border-radius:26px;
  border:1px solid rgba(225,184,101,.32);
  padding:clamp(38px,6vw,68px) !important;
  box-shadow:0 26px 65px rgba(8,10,12,.17);
}
body.premium-refresh .cta-panel:after {
  content:"";
  position:absolute;
  right:-70px;
  bottom:-92px;
  width:280px;
  height:280px;
  border:1px solid rgba(225,184,101,.15);
  border-radius:50%;
  box-shadow:0 0 0 36px rgba(225,184,101,.025),0 0 0 72px rgba(225,184,101,.018);
}
body.premium-refresh .cta-panel .button { border-radius:999px; }

/* Compact review band */
body.premium-refresh .compact-review-band .container,
body.premium-refresh .compact-review-inner {
  border-radius:22px;
}
body.premium-refresh .compact-review-band .compact-review-inner {
  padding:34px !important;
  border:1px solid #decaaa;
  background:linear-gradient(135deg,#fffefa,#f5ead9);
  box-shadow:var(--pr-shadow-soft);
}

/* Article / guide pages */
body.premium-refresh.premium-resource-page .article-layout {
  grid-template-columns:230px minmax(0,820px) !important;
  gap:54px !important;
}
body.premium-refresh.premium-resource-page .article-byline {
  top:104px;
  border:1px solid #dfd0ba !important;
  border-radius:18px;
  background:#f8f0e4;
  padding:24px !important;
  box-shadow:var(--pr-shadow-soft);
}
body.premium-refresh.premium-resource-page .article-body>section {
  margin:0 0 22px !important;
  padding:30px 32px;
  border:1px solid #e4d7c5;
  border-radius:19px;
  background:#fffefa;
  box-shadow:0 8px 28px rgba(42,31,17,.045);
}
body.premium-refresh.premium-resource-page .article-body h2 {
  font-size:clamp(2rem,3vw,2.8rem) !important;
  line-height:1.03;
}
body.premium-refresh.premium-resource-page .article-lead-box,
body.premium-refresh.premium-resource-page .report-citation-box {
  border-radius:18px;
  border:1px solid #d8bd8a;
  background:linear-gradient(135deg,#11161b,#1a1c1e) !important;
  color:#fff;
  box-shadow:0 18px 44px rgba(9,13,17,.14);
}
body.premium-refresh.premium-resource-page .article-lead-box p,
body.premium-refresh.premium-resource-page .report-citation-box p { color:#e4ded5 !important; }
body.premium-refresh .article-disclaimer {
  border:1px solid #ddc9a9 !important;
  border-left:4px solid var(--pr-gold) !important;
  border-radius:13px;
  background:#f4eadb !important;
}
body.premium-refresh .data-table-wrap {
  border:1px solid #dfd0bb;
  border-radius:16px;
  overflow:auto;
  box-shadow:0 10px 28px rgba(42,31,17,.05);
}
body.premium-refresh .data-table th { background:#11161b !important; color:#fff !important; }
body.premium-refresh .data-table tr:nth-child(even) td { background:#fbf5eb; }

/* Research/report statistics */
body.premium-refresh .research-stat-grid { gap:16px !important; }
body.premium-refresh .research-stat {
  border:1px solid #dfd0ba !important;
  border-radius:18px;
  background:linear-gradient(145deg,#fffefa,#f8efe2) !important;
  box-shadow:var(--pr-shadow-soft);
  padding:28px !important;
}

/* Legal / policy pages — polished but intentionally restrained */
body.premium-refresh.premium-legal-page .legal-layout { max-width:980px; }
body.premium-refresh.premium-legal-page .legal-section {
  border:1px solid #e2d4bf !important;
  border-radius:18px;
  background:#fffefa;
  margin-bottom:16px;
  padding:30px 32px !important;
  box-shadow:0 8px 26px rgba(42,31,17,.04);
}
body.premium-refresh.premium-legal-page .legal-section h2 {
  font-size:clamp(1.75rem,3vw,2.55rem) !important;
}

/* Licensing cards */
body.premium-refresh .jurisdiction-grid { gap:16px !important; }
body.premium-refresh .jurisdiction-card {
  border-radius:19px !important;
  min-height:215px !important;
  box-shadow:0 16px 38px rgba(39,28,14,.16) !important;
}
body.premium-refresh .jurisdiction-card-copy { padding-top:58px; }

/* Reverse-mortgage required disclosure retains prominence */
body.premium-refresh .reverse-required-section { padding:82px 0 !important; }
body.premium-refresh .reverse-required-disclosure {
  border:1px solid rgba(225,184,101,.28);
  border-radius:24px;
  padding:clamp(32px,5vw,55px);
  background:linear-gradient(135deg,#0c1115,#14191d);
}

/* Specialized local-market / calculator-support cards get same polish */
body.premium-refresh [class*="support-card"],
body.premium-refresh [class*="quick-card"],
body.premium-refresh [class*="program-card"] {
  border-radius:18px !important;
}
body.premium-refresh .ranking-quick-section { background:#f5ecdf; }

/* Buttons across refreshed interior pages */
body.premium-refresh .button { border-radius:999px; }
body.premium-refresh .button.primary { box-shadow:0 8px 20px rgba(143,89,24,.12); }

@media (max-width:1080px) {
  body.premium-refresh .seo-intro-grid:before { display:none; }
  body.premium-refresh.premium-resource-page .article-layout { grid-template-columns:1fr !important; gap:28px !important; }
  body.premium-refresh.premium-resource-page .article-byline { position:static !important; }
}

@media (max-width:760px) {
  body.premium-refresh .page-hero { min-height:270px !important; }
  body.premium-refresh .page-hero-content { padding:38px 0 36px !important; }
  body.premium-refresh .page-hero h1 { font-size:clamp(2.25rem,10.2vw,3.25rem) !important; }
  body.premium-refresh .page-hero p { font-size:.95rem !important; }
  body.premium-refresh .section { padding:58px 0; }
  body.premium-refresh .feature,
  body.premium-refresh .consideration-card,
  body.premium-refresh .decision-card,
  body.premium-refresh .core-detail-card { padding:25px !important; min-height:0; }
  body.premium-refresh .strategy-grid { padding:28px 24px; border-radius:20px; }
  body.premium-refresh .cta-panel { border-radius:20px; padding:34px 25px !important; }
  body.premium-refresh.premium-resource-page .article-body>section { padding:25px 22px; border-radius:15px; }
  body.premium-refresh.premium-legal-page .legal-section { padding:25px 22px !important; }
  body.premium-refresh .text-link-card { min-height:150px !important; padding:23px !important; }
}

/* Remaining directory/editorial systems */
body.premium-refresh .section-head.stacked {
  max-width:820px;
  margin-bottom:34px;
}
body.premium-refresh .section-head.stacked .section-copy,
body.premium-refresh .section-copy {
  color:#625b52;
  max-width:760px;
  line-height:1.78;
}
body.premium-refresh .editorial-block {
  border:1px solid #dcc8aa;
  border-radius:24px;
  background:
    radial-gradient(circle at 90% 0,rgba(201,150,62,.12),transparent 29%),
    linear-gradient(145deg,#fffefa,#f6ecdd);
  padding:clamp(34px,5vw,58px) !important;
  box-shadow:var(--pr-shadow-soft);
}
body.premium-refresh .editorial-block h2,
body.premium-refresh .editorial-block h3 { text-wrap:balance; }
body.premium-refresh .editorial-block p { color:#5f584f; line-height:1.78; }

body.premium-refresh .authority-cluster { padding:82px 0; background:#11161b; color:#fff; }
body.premium-refresh .authority-cluster .eyebrow { color:var(--pr-gold-light); }
body.premium-refresh .authority-cluster .section-title { color:#fff; }
body.premium-refresh .authority-cluster .section-copy { color:#d7d0c7; }
body.premium-refresh .authority-feature-grid { gap:17px !important; }
body.premium-refresh .authority-feature-card {
  border:1px solid rgba(255,255,255,.13) !important;
  border-radius:20px !important;
  background:rgba(255,255,255,.055) !important;
  box-shadow:none !important;
  overflow:hidden;
  transition:transform .22s,border-color .22s,background .22s;
}
body.premium-refresh .authority-feature-card:hover {
  transform:translateY(-4px);
  border-color:rgba(225,184,101,.58) !important;
  background:rgba(255,255,255,.08) !important;
}
body.premium-refresh .authority-feature-card.featured {
  background:linear-gradient(145deg,rgba(201,150,62,.18),rgba(255,255,255,.055)) !important;
  border-color:rgba(225,184,101,.42) !important;
}
body.premium-refresh .authority-feature-card h3 { color:#fff; }
body.premium-refresh .authority-feature-card p { color:#d7d0c7 !important; }
body.premium-refresh .authority-feature-card .tag { color:var(--pr-gold-light); }

body.premium-refresh .ranking-quick-section {
  padding:22px 0 !important;
  border-bottom:1px solid #e1d2bd;
}
body.premium-refresh .ranking-quick-card {
  border:1px solid #dcc8aa !important;
  border-radius:17px !important;
  background:linear-gradient(135deg,#fffefa,#f5eadb) !important;
  box-shadow:0 8px 24px rgba(42,31,17,.05);
}
body.premium-refresh .ranking-quick-label {
  color:#8e5c18 !important;
  letter-spacing:.12em;
}
body.premium-refresh .ranking-quick-links a {
  border-radius:999px;
  background:#11161b;
  color:#f1d097 !important;
  padding:7px 12px;
}

body.premium-refresh .inline-research-promo {
  border:1px solid #ddc9a9 !important;
  border-radius:18px !important;
  background:linear-gradient(135deg,#fffefa,#f3e7d5) !important;
  box-shadow:var(--pr-shadow-soft);
}
body.premium-refresh .inline-research-promo .tag {
  border-radius:999px;
  background:#11161b;
  color:var(--pr-gold-light);
}

body.premium-refresh .compact-review-band .review-summary {
  font-size:clamp(2.2rem,4vw,3.8rem);
  color:#17191a;
}
body.premium-refresh .compact-review-band .review-source-label {
  color:#8e5c18;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body.premium-refresh .cta-panel .eyebrow,
body.premium-refresh .reverse-required-section .eyebrow { color:var(--pr-gold-light) !important; }

/* Specialized calculator/support content: retain behavior, improve shell cohesion only */
body.premium-refresh .cashout-proof-header,
body.premium-refresh .cashout-proof-shell,
body.premium-refresh .az-refi-calculator {
  border-radius:22px !important;
  overflow:hidden;
}
body.premium-refresh .cashout-proof-support-card {
  border:1px solid #decfb9 !important;
  box-shadow:0 10px 28px rgba(42,31,17,.055) !important;
}
body.premium-refresh .cashout-proof-support-icon {
  display:grid !important;
  place-items:center !important;
}
