/* ================================
   GLOBAL HEADINGS (ROLEX & ROYAL BLUE)
================================ */

/* H1: Metallic Gold Gradient (Everywhere) */
h1, .elementor-widget-heading h1 {
  background: linear-gradient(
    90deg, 
    #AE8625 0%, 
    #F7EF8A 40%, 
    #D2AC47 70%, 
    #EDC967 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0px 1px 0px rgba(0,0,0,0.1));
}

/* H2: Royal Blue (Primary Sub-headers) */
h2, .elementor-widget-heading h2 {
  color: #3059E3 !important;
}

/* H3: Classic Gold (Section Titles) */
h3, .elementor-widget-heading h3 {
  color: #D4AF37 !important;
}

/* H4: Light Blue (Accents/Eyebrows) */
h4, .elementor-widget-heading h4 {
  color: #8AA5FF !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

/* Links inside text */
p a {
  color: #3059E3;
  font-weight: 600;
}
p a:hover {
  color: #D4AF37;
}

/* ================================
   GLOBAL POST CONTENT CENTERING
================================ */

.entry-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Center Share Buttons & Post Meta */
.sharedaddy,
.sd-sharing-enabled,
.post-tags,
.post-categories,
.wp-block-post-author,
.entry-footer {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================================
   AFR LANDING PAGE BRANDING
   Added for automated location pages
================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

.afr-location-page * { box-sizing: border-box; }

.afr-location-page h2 {
  font-family: 'Playfair Display', serif;
  color: #0f3460;
  font-size: 30px;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 3px solid #d4b474;
  display: inline-block;
  margin-bottom: 20px;
}
.afr-location-page p {
  font-family: 'Montserrat', sans-serif;
  color: #475569;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.afr-location-page a {
  color: #d4b474;
  font-weight: 600;
  text-decoration: none;
}
.afr-location-page a:hover { color: #0f3460; }
.afr-location-page strong { color: #0f3460; }

.afr-hero {
  background: linear-gradient(135deg, #0f3460 0%, #1a4a7a 100%);
  border-radius: 12px;
  padding: 48px 40px;
  margin-bottom: 40px;
  text-align: center;
  border-bottom: 5px solid #d4b474;
}
.afr-hero-badge {
  display: inline-block;
  background: #d4b474;
  color: #0f3460;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.afr-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px 0;
}
.afr-hero h1 span {
  color: #d4b474;
  font-style: italic;
}
.afr-hero p {
  color: #cbd5e1;
  font-size: 18px;
  margin: 0;
  font-weight: 500;
}

.afr-service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.afr-service-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: #f8f9fb;
  border-radius: 8px;
  margin-bottom: 10px;
  border-left: 4px solid #d4b474;
}
.afr-service-list li .afr-icon {
  color: #d4b474;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}
.afr-service-list li strong {
  color: #0f3460;
  display: block;
  margin-bottom: 4px;
}

.afr-why-section {
  background: #0f3460;
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 40px;
  border-top: 5px solid #d4b474;
}
.afr-why-section h2 {
  color: #ffffff;
  border-bottom: 3px solid #d4b474;
  font-family: 'Playfair Display', serif;
}
.afr-why-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.afr-why-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #e2e8f0;
  font-size: 15px;
}
.afr-why-list li:last-child { border-bottom: none; }
.afr-why-list li .afr-check {
  color: #d4b474;
  font-size: 20px;
  flex-shrink: 0;
}
.afr-why-list li strong { color: #d4b474; }

.afr-process-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.afr-process-list li {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.afr-step-number {
  background: #d4b474;
  color: #0f3460;
  font-weight: 800;
  font-size: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.afr-process-list li div {
  padding-top: 6px;
  color: #475569;
}
.afr-process-list li strong { color: #0f3460; }

.afr-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 12px;
  background: #ffffff;
}
.afr-faq-item strong {
  color: #0f3460;
  font-size: 16px;
  display: block;
  margin-bottom: 8px;
}
.afr-faq-item p {
  color: #475569;
  margin: 0;
  line-height: 1.7;
}

.afr-related-pages {
  background: #f8f9fb;
  border-radius: 12px;
  padding: 32px 40px;
  margin-bottom: 40px;
  border: 1px solid #e2e8f0;
}
.afr-related-pages h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #0f3460;
  font-weight: 700;
  margin: 0 0 20px 0;
  border-bottom: none;
  display: block;
}
.afr-related-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.afr-related-list li {
  padding: 8px 0;
  border-bottom: 1px solid #e2e8f0;
}
.afr-related-list li:last-child { border-bottom: none; }
.afr-related-list a {
  color: #0f3460;
  font-weight: 600;
  text-decoration: none;
}
.afr-related-list a:hover { color: #d4b474; }

.afr-cta-section {
  background: linear-gradient(135deg, #0f3460 0%, #1a4a7a 100%);
  border-radius: 12px;
  padding: 48px 40px;
  text-align: center;
  border-top: 5px solid #d4b474;
}
.afr-cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #ffffff;
  font-weight: 700;
  margin: 0 0 16px 0;
  border-bottom: none;
  display: block;
}
.afr-cta-section h2 span {
  color: #d4b474;
  font-style: italic;
}
.afr-cta-section p {
  color: #cbd5e1;
  font-size: 17px;
  margin: 0 0 32px 0;
}
.afr-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.afr-btn-gold {
  background: #d4b474;
  color: #0f3460;
  font-weight: 800;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
}
.afr-btn-outline {
  background: transparent;
  color: #d4b474;
  font-weight: 800;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  border: 2px solid #d4b474;
}
.afr-cta-footer {
  color: #94a3b8;
  font-size: 14px;
  margin: 0;
}
.afr-cta-footer strong { color: #ffffff; }

@media (max-width: 600px) {
  .afr-hero { padding: 32px 20px; }
  .afr-hero h1 { font-size: 28px; }
  .afr-why-section { padding: 28px 20px; }
  .afr-cta-section { padding: 32px 20px; }
  .afr-cta-buttons { flex-direction: column; align-items: center; }
  .afr-related-pages { padding: 24px 20px; }
}

/* ================================
   AFR LANDING PAGE — HEADING OVERRIDES
   Prevents global h1/h2 styles from
   breaking AFR location page branding
================================ */

/* Override gold gradient on AFR hero H1 */
.afr-hero h1 {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  filter: none !important;
}

/* Override gold italic span inside H1 */
.afr-hero h1 span {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: #d4b474 !important;
  -webkit-text-fill-color: #d4b474 !important;
  font-style: italic !important;
  filter: none !important;
}

/* Override royal blue on AFR H2s */
.afr-location-page h2 {
  color: #0f3460 !important;
  font-family: 'Playfair Display', serif !important;
  font-size: 30px !important;
  font-weight: 700 !important;
  padding-bottom: 10px !important;
  border-bottom: 3px solid #d4b474 !important;
  display: inline-block !important;
  margin-bottom: 20px !important;
}

/* Override H2 inside dark blue WHY section */
.afr-why-section h2 {
  color: #ffffff !important;
  border-bottom: 3px solid #d4b474 !important;
}

/* Override H2 inside CTA section */
.afr-cta-section h2 {
  color: #ffffff !important;
  border-bottom: none !important;
  font-size: 32px !important;
}

/* Override H2 inside related pages section */
.afr-related-pages h2 {
  color: #0f3460 !important;
  border-bottom: none !important;
  font-size: 24px !important;
  display: block !important;
}

/* ================================
   AFR GOLD STANDARD — POST STYLES
================================ */

.afr-post {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── HERO ────────────────────────────────── */
.afr-post .afr-hero {
    background: linear-gradient(135deg, #0f3460 0%, #1a4a7a 100%);
    border-top: 5px solid #D4AF37;
    border-bottom: 5px solid #D4AF37;
    padding: 56px 30px;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 0;
}
.afr-post .afr-badge {
    display: inline-block;
    background: #D4AF37;
    color: #0f3460;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 6px 18px;
    margin-bottom: 20px;
}
.afr-post .afr-hero h1 {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
    filter: none !important;
    font-size: 2.2rem;
    font-weight: 900;
    margin: 0 0 14px 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.afr-post .afr-hero h2 {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
    filter: none !important;
    font-size: 2.2rem;
    font-weight: 900;
    margin: 0 0 14px 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: none !important;
}
.afr-post .afr-hero h1 span,
.afr-post .afr-hero h2 span {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #D4AF37 !important;
    color: #D4AF37 !important;
    filter: none !important;
    font-style: italic;
    text-transform: none;
}
.afr-post .afr-tagline {
    color: #fcf6ba;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 1px;
}

/* ── INTRO ───────────────────────────────── */
.afr-post .afr-intro {
    text-align: center;
    margin-bottom: 40px;
}
.afr-post .afr-intro p {
    font-size: 1.05rem;
    color: #444;
    max-width: 820px;
    margin: 0 auto 14px auto;
    line-height: 1.8;
}
.afr-post .afr-intro a {
    color: #D4AF37;
    font-weight: 700;
    text-decoration: none;
}
.afr-post .afr-intro a:hover {
    color: #0f3460;
    text-decoration: underline;
}

/* ── QUOTE BOX ───────────────────────────── */
.afr-post .afr-quote-box {
    background: #0f3460;
    color: #fcf6ba;
    padding: 30px 36px;
    border-left: 6px solid #D4AF37;
    margin-bottom: 40px;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.8;
}
.afr-post .afr-quote-box h4 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-style: normal;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin: 0 0 12px 0;
    letter-spacing: 2px;
}

/* ── SECTION HEADINGS ────────────────────── */
.afr-post .afr-section-title {
    text-align: center;
    margin-bottom: 24px;
}
.afr-post .afr-section-title h2 {
    color: #0f3460 !important;
    -webkit-text-fill-color: #0f3460 !important;
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 4px solid #D4AF37;
    padding-bottom: 10px;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ── STEPS LIST ──────────────────────────── */
.afr-post .afr-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}
.afr-post .afr-steps li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-left: 5px solid #D4AF37;
    padding: 18px 22px;
    margin-bottom: 10px;
}
.afr-post .afr-steps li .afr-step-icon {
    color: #D4AF37;
    font-size: 1.3rem;
    font-weight: 900;
    margin-top: 2px;
    flex-shrink: 0;
}
.afr-post .afr-steps li strong {
    color: #0f3460;
    display: block;
    margin-bottom: 4px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.afr-post .afr-steps li p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
}

/* ── DUST CONTAINED BLOCK ────────────────── */
.afr-post .afr-dust-block {
    background: linear-gradient(135deg, #0f3460 0%, #1a4a7a 100%);
    border-top: 5px solid #D4AF37;
    border-bottom: 5px solid #D4AF37;
    padding: 50px 30px;
    margin-bottom: 40px;
    text-align: center;
}
.afr-post .afr-dust-block h2 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 1.6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 10px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-bottom: none !important;
    display: block;
}
.afr-post .afr-dust-sub {
    color: #fcf6ba;
    font-size: 1rem;
    margin: 0 0 28px 0;
    font-weight: 600;
}
.afr-post .afr-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    max-width: 820px;
    margin: 0 auto;
    text-align: left;
}
.afr-post .afr-check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(212,175,55,0.3);
    padding: 14px 18px;
}
.afr-post .afr-check-item .afr-check-icon {
    color: #D4AF37;
    font-size: 1.2rem;
    font-weight: 900;
    flex-shrink: 0;
}
.afr-post .afr-check-item span {
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 600;
}

/* ── SERVICE AREA ────────────────────────── */
.afr-post .afr-service-area {
    margin-bottom: 40px;
    text-align: center;
}
.afr-post .afr-service-area p {
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
    max-width: 820px;
    margin: 0 auto;
}

/* ── INTERNAL LINKS ──────────────────────── */
.afr-post .afr-related {
    background: #f8f9fa;
    border-left: 6px solid #D4AF37;
    padding: 26px 30px;
    margin-bottom: 40px;
}
.afr-post .afr-related > h3:first-child {
    color: #0f3460 !important;
    -webkit-text-fill-color: #0f3460 !important;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 900;
    margin: 0 0 14px 0;
}
.afr-post .afr-related div h3 {
    color: #3059E3 !important;
    -webkit-text-fill-color: #3059E3 !important;
}
.afr-post .afr-related ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.afr-post .afr-related ul li {
    padding: 7px 0;
    border-bottom: 1px solid #e5e5e5;
}
.afr-post .afr-related ul li:last-child { border-bottom: none; }
.afr-post .afr-related ul li a {
    color: #D4AF37;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
}
.afr-post .afr-related ul li a:hover { color: #0f3460; }

/* ── GOOGLE REVIEWS ──────────────────────── */
.afr-post .afr-reviews {
    margin-bottom: 40px;
    text-align: center;
}

/* ── CTA FOOTER ──────────────────────────── */
.afr-post .afr-cta {
    background: linear-gradient(135deg, #0f3460 0%, #1a4a7a 100%);
    border-top: 5px solid #D4AF37;
    padding: 56px 30px;
    text-align: center;
    margin-bottom: 10px;
}
.afr-post .afr-cta h2 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 1.9rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 14px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-bottom: none !important;
    display: block;
}
.afr-post .afr-cta h2 span {
    color: #D4AF37 !important;
    -webkit-text-fill-color: #D4AF37 !important;
    font-style: italic;
    text-transform: none;
}
.afr-post .afr-cta p {
    color: #fcf6ba;
    font-size: 1rem;
    margin: 0 0 28px 0;
    font-weight: 600;
}
.afr-post .afr-btn-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.afr-post .afr-btn-gold {
    background: #D4AF37;
    color: #0f3460;
    font-weight: 800;
    font-size: 1rem;
    padding: 14px 30px;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
}
.afr-post .afr-btn-outline {
    background: transparent;
    color: #D4AF37;
    font-weight: 800;
    font-size: 1rem;
    padding: 14px 30px;
    text-decoration: none;
    display: inline-block;
    border: 2px solid #D4AF37;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
}
.afr-post .afr-cta-fine {
    color: #fcf6ba;
    font-size: 0.82rem;
    opacity: 0.8;
    margin: 0;
}

/* ── MOBILE ──────────────────────────────── */
@media (max-width: 768px) {
    .afr-post .afr-hero { padding: 40px 20px; }
    .afr-post .afr-hero h1 { font-size: 1.5rem !important; }
    .afr-post .afr-hero h2 { font-size: 1.5rem !important; }
    .afr-post .afr-dust-block { padding: 36px 20px; }
    .afr-post .afr-cta { padding: 40px 20px; }
    .afr-post .afr-cta h2 { font-size: 1.4rem !important; }
    .afr-post .afr-checklist { grid-template-columns: 1fr; }
    .afr-post .afr-btn-row { flex-direction: column; align-items: center; }
}

/* ================================
   AFR HOMEPAGE — HEADING OVERRIDES
   Permanently fixes blue h2 bleed
   on homepage. Must stay at bottom.
================================ */

#afr-home h2 {
  color: #0f3460 !important;
  -webkit-text-fill-color: #0f3460 !important;
  background: none !important;
  filter: none !important;
}
#afr-home .on-dark h2,
#afr-home .contact-sec h2 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
#afr-home .hero-title {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  filter: none !important;
}
#afr-home .hero-title .shimmer {
  background: linear-gradient(90deg, #FBF8E6 0%, #D4AF37 40%, #FBF8E6 80%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}
#afr-home .gold-heading {
  color: #D4AF37 !important;
  -webkit-text-fill-color: #D4AF37 !important;
}
#afr-home .pkg-name {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
#afr-home .pkg-card.featured .pkg-name {
  color: #0f3460 !important;
  -webkit-text-fill-color: #0f3460 !important;
}
#afr-home .svc-title {
  color: #0f3460 !important;
  -webkit-text-fill-color: #0f3460 !important;
}
#afr-home .svc-card:hover .svc-title {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
#afr-home .process-title {
  color: #0f3460 !important;
  -webkit-text-fill-color: #0f3460 !important;
}
#afr-home .portal-item h4 {
  color: #0f3460 !important;
  -webkit-text-fill-color: #0f3460 !important;
}
#afr-home .portal-head {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
#afr-home .financing-wrapper h2 {
  color: #0f3460 !important;
  -webkit-text-fill-color: #0f3460 !important;
}