/*
 * Avista Real Estate Mazatlán — Brand Overrides
 * Applied AFTER OGGroup CSS. Handles:
 *   1. CSS variable re-declaration for any dynamic uses
 *   2. Orange accent color
 *   3. Logo / monogram image swaps
 *   4. Any residual red not caught by the direct find-replace
 * ─────────────────────────────────────────────────────────────
 * Primary orange : #FF5F05
 * Gradient       : linear-gradient(to right, #FF5F05, #8B2500)
 * Illini blue    : #13294B  (search bar bg, ocean view badge)
 * Dark orange    : #8B2500  (gradient end)
 */

/* ── 1. CSS Variable overrides ─────────────────────────────────── */
:root {
  --primary:        #FF5F05;
  --primary-rgb:    255, 95, 5;
  --primary-dark:   #8B2500;
  --accent-blue:    #13294B;
  --plyr-color-main: #FF5F05;
}

/* ── 2. Gradient text on big names (aj-name, concierge-name, etc.) ─ */
.aj-name,
.concierge-name,
.magazine-name,
.app-head .global-site-title strong {
  background: linear-gradient(to right, #FF5F05, #8B2500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 3. Accent fills — orange line/bar decorators ──────────────── */
.global-site-title i::after,
.aj-head::after,
.concierge-head::after,
.magazine-head::after,
.app-head > div::after,
.fp-price span::before,
.magazine-bg::before {
  background: #FF5F05 !important;
}

/* ── 4. Text color overrides (is-red → orange, spans → orange) ─── */
.global-site-title.is-red,
.app-head .global-site-title span,
.app-content-text span {
  color: #FF5F05 !important;
}

/* Hover-state price = orange (OGGroup default) */
.fp-photo-content .fp-price span {
  color: #FF5F05 !important;
}

/* ── 5. Global button — gradient hover + Avista SVG icon ───────── */
a.global-btn::after,
button.global-btn::after {
  background: linear-gradient(to right, #FF5F05, #8B2500) !important;
}

a.global-btn:hover,
button.global-btn:hover {
  color: #fff !important;
}

/* Swap OGGroup monogram icon inside button for Avista SVG */
a.global-btn span i,
button.global-btn span i {
  background-image: url('/reference_images/avista logo for button.svg') !important;
  background-color: transparent !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

/* ── 6. Header — black background when scrolled ────────────────── */
.site-header-scrolled,
#site-header.site-header-scrolled {
  background-color: #000000 !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2) !important;
}

/* ── 7. Monogram backgrounds — swap OGGroup logo for Avista mono ─ */
.aj-monogram img,
.bg-monogram img {
  content: url('/reference_images/new avista mono.png');
}

/* Listing hover monogram — fills entire card like Elementor full-card background */
.fp-monogram {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  transform: none !important;
  pointer-events: none;
  z-index: 0 !important;
}
.fp-monogram .listing-icon-monogram,
.fp-photo .fp-monogram .listing-icon-monogram {
  background-image: url('/reference_images/avista mono for listing items (3).png') !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: unset !important;
  opacity: 0.9 !important;
  filter: none !important;
}

/* ── 7b. Hover — darken the photo so monogram blends ────────────── */
.fp-list a:hover .fp-photo img {
  opacity: 0.15 !important;
  transform: scale(1.05) !important;
}
/* Kill the default :before gradient on hover (OGGroup does this) */
.fp-list a:hover .fp-photo::before {
  opacity: 0 !important;
}

/* ── 8. Illini blue accent uses ─────────────────────────────────── */
.ocean-view-badge {
  background: #13294B !important;
  color: #fff !important;
}

/* ── 9. Featured listings — reduced margins (OGGroup default is too tall) ── */
.featured-properties-area {
  padding-top: 112px !important;  /* 47px base + 65px to clear fixed header */
  padding-bottom: 10px !important;
  background: #000 !important;
}

/* Section 2 — no title, minimal top padding, shorter cards so 2 rows fit viewport */
.featured-properties-area--row2 {
  padding-top: 20px !important;
}
.featured-properties-area--row2 .fp-photo img {
  height: 16vw !important;
  min-height: 180px !important;
}
.featured-properties-area--row2 .fp-photo-content,
.featured-properties-area--row2 .fp-list .fp-photo .fp-photo-content {
  height: 16vw !important;
  min-height: 180px !important;
  max-height: none !important;
}

/* Section 2 nth-child overrides:
   Row 1 (items 1-3): all equal 33.3%  → must override default nth-child(2) = 66.6%
   Row 2 (items 4-5): wide→narrow      → must make nth-child(4) = 66.6% */
.fp-slider-section2 .fp-list:nth-child(2) {
  width: 33.3333333333% !important;
}
.fp-slider-section2 .fp-list:nth-child(4) {
  width: 66.6666666667% !important;
}

/* fp-foot — button row below the grid, lower-left */
.fp-foot {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 0 8.5px !important;
  margin-top: 8px !important;
}
.featured-properties-area .fp-feed {
  margin-top: 20px !important;
}

/* fp-photo background = black so faded hover image is dark, not white */
.fp-photo {
  background: #000 !important;
  overflow: hidden !important;
}

/* ── 10. Listing card text — padding and visibility fixes ───────── */

/* Hover overlay: constrain to image height only (fp-photo includes address area below)
   OGGroup image height = 21.25vw (min 300px). Keeps text on the photo, not below it. */
.fp-list .fp-photo .fp-photo-content,
.fp-photo-content {
  padding: 20px 25px 30px 40px !important;
  height: 21.25vw !important;
  min-height: 300px !important;
  max-height: 340px !important;
}

/* Text items above the absolute-positioned monogram (monogram is last in DOM) */
.fp-photo-content .fp-price,
.fp-photo-content .fp-address,
.fp-photo-content .fp-details {
  position: relative !important;
  z-index: 2 !important;
}

/* Normal-state fp-address — translateY lifts text into photo (section 1) */
.fp-photo > .fp-address {
  padding: 20px 25px 20px 40px !important;
  color: #fff !important;
  transform: translateY(-150px) !important;
}

/* Section 2 — absolute positioning removes fp-address from flow so 2 rows fit viewport */
.featured-properties-area--row2 .fp-photo > .fp-address {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
}
.fp-photo > .fp-address span {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Normal-state price — 25px gap before neighborhood */
.fp-photo > .fp-address .fp-price {
  margin-bottom: 2px !important;
}
.fp-photo > .fp-address .fp-price span {
  color: #fff !important;
  font-size: 34px !important;
  padding-bottom: 0 !important;
}
.fp-photo > .fp-address .fp-price span::before {
  display: none !important;
}

/* Normal-state fp-address MUST hide on hover */
.fp-list a:hover .fp-photo > .fp-address {
  opacity: 0 !important;
}

/* Hover text colors — black body, orange price + icons */
.fp-photo-content .fp-address {
  color: #000 !important;
}
.fp-photo-content .fp-address span {
  color: rgba(0, 0, 0, 0.65) !important;
}
.fp-photo-content .fp-details ul li em {
  color: #000 !important;
}
.fp-photo-content .fp-details ul li {
  color: #000 !important;
}
/* Icon images: shift to orange via filter */
.fp-photo-content .fp-details ul li span[class*="listing-icon"] {
  filter: brightness(0) saturate(100%) invert(38%) sepia(97%) saturate(1200%) hue-rotate(12deg) brightness(105%) !important;
}

/* ── 11. Meet Danny — il-bio section ────────────────────────────── */
section.il-bio {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #fff;
  padding: 0 20px;
}

/* Monogram overlay — 25% opacity, cover, center, no-repeat */
section.il-bio::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/reference_images/new avista mono.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  opacity: 0.25;
  mix-blend-mode: normal;
  z-index: 0;
}

.il-bio__inner {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Left column */
.il-bio__left {
  width: 52%;
  flex-shrink: 0;
  position: relative;
  height: 100%;
}

.il-bio__nameblock {
  position: absolute;
  top: 85px; /* 70px header + 15px breathing room */
  left: -5px; /* 10px base − 15px left shift */
  z-index: 1;
  padding-bottom: 6px;
}

.il-eyebrow {
  display: block;
  position: relative;
  font-family: var(--font-barlow-condensed, "Barlow Condensed", sans-serif);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: #FF5F05;
  margin-bottom: 12px;
  max-width: max-content;
}

.il-eyebrow::after {
  content: "";
  position: absolute;
  bottom: -9px;
  right: 0;
  width: 100vw;
  height: 1px;
  background: rgba(255, 95, 5, .3);
}

.il-eyebrow::before {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 48px;
  height: 3px;
  background: #FF5F05;
  z-index: 1;
}

.il-bio__nameblock::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -44px;
  width: 1px;
  height: 900px;
  background: #FF5F05;
  opacity: .4;
}

.il-bio__name {
  font-family: var(--font-barlow-condensed, "Barlow Condensed", sans-serif);
  font-size: 120px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: .82;
  letter-spacing: .02em;
  background: linear-gradient(to right, #FF5F05, #8B2500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.il-bio__name span {
  display: block;
  font-weight: 100;
}

.il-bio__photo {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 2;
}

.il-bio__photo img {
  height: 72vh;
  width: auto;
  max-width: none;
  object-fit: cover;
  object-position: top center;
}

/* Right column */
.il-bio__right {
  width: 48%;
  flex-shrink: 0;
  padding: 90px 0 48px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.il-bio__divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 95, 5, .3);
  margin: 22px 0 20px;
  position: relative;
}

.il-bio__divider::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 48px;
  height: 3px;
  background: #FF5F05;
}

.il-bio__text p {
  font-size: 15px;
  font-weight: 300;
  color: #000;
  line-height: 1.4;
  letter-spacing: .05em;
  margin-bottom: 1em;
}

.il-bio__text p:last-child {
  margin-bottom: 0;
}

.il-bio__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Video / secondary button */
.il-bio__actions .video-link a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #000;
  font-family: var(--font-barlow-condensed, "Barlow Condensed", sans-serif);
  font-size: 16px;
  letter-spacing: .3em;
  text-transform: uppercase;
  transition: color .3s ease;
  background: transparent;
  border: none;
  padding: 0;
}

.il-bio__actions .video-link a:hover {
  color: #FF5F05;
}

.il-bio__actions .video-link a:hover .play-circle {
  border-color: #FF5F05;
  color: #FF5F05;
}

.play-circle {
  width: 43px;
  height: 43px;
  border: 2px solid #FF5F05;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  padding-left: 3px;
  color: #FF5F05;
  transition: border-color .3s ease, color .3s ease;
}

/* ══════════════════════════════════════════════════════════════════════════
   TESTIMONIALS SECTION
   ══════════════════════════════════════════════════════════════════════════ */

/* Section shell */
section.testimonials-area {
  background: #000 !important;
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 24px !important;
  /* Extra top padding: fixed header (~80px) + breathing room */
  padding: 160px 0 80px !important;
}

/* ── Trustpilot badge — top left ── */
.testi-trust {
  position: absolute;
  top: 110px;
  left: 50px;
  z-index: 10;
}
.testi-trust img {
  height: 52px;
  width: auto;
  display: block;
  cursor: default;
}
.testi-trust-tip {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 270px;
  background: #fff;
  color: #333;
  font-family: var(--font-family-sofia, sans-serif);
  font-size: 12px;
  line-height: 1.65;
  padding: 16px 18px;
  border-radius: 10px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
  z-index: 20;
  pointer-events: none;
}
.testi-trust:hover .testi-trust-tip { display: block; }

/* ── Vertical title — two independent positioned elements ─────────────────
   Separate elements so their z-indexes compare to .testi-rows (z-index:1)
   in the same section stacking context.
     ARE SAYING   → z-index: 0  (behind the scrolling cards)
     WHAT CLIENTS → z-index: 2  (in front — cards appear to vanish behind it)
   ─────────────────────────────────────────────────────────────────────── */
.testi-title-top,
.testi-title-bottom {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  /* No align-items — vertical-lr makes cross axis horizontal; we want text top-anchored */
  padding-top: 100px;   /* push "W" / "A" down past header + breathing room */
  writing-mode: vertical-lr;
  text-orientation: mixed;
  font-family: var(--font-family-title, 'Barlow Condensed', sans-serif);
  font-size: clamp(60px, 6.5vw, 96px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.85;
  white-space: nowrap;
  /* Reversed gradient: bright orange top → dark orange bottom
     so the darker end blends into the black section background */
  background: linear-gradient(to bottom, #FF5F05 0%, #8B2500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  pointer-events: none;
  user-select: none;
}
.testi-title-top {
  /* "WHAT CLIENTS" — outermost right column, in FRONT of cards */
  font-weight: 100;
  right: 63px;   /* 48px base + 15px dock clearance */
  z-index: 2;
}
.testi-title-bottom {
  /* "ARE SAYING" — inner column, BEHIND cards */
  font-weight: 500;
  right: calc(clamp(60px, 6.5vw, 96px) + 69px);   /* inner column + same 15px shift */
  z-index: 0;
}

/* ── Rows wrapper ── */
.testi-rows {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
}

/* Edge-blur mask
   Left  100px : fade in  (cards emerge from off-screen right / left)
   Right 200px : fade out into title text area                         */
.testi-row-mask {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 100px,
    #000 calc(100% - 200px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 100px,
    #000 calc(100% - 200px),
    transparent 100%
  );
}

/* ── Batch track ────────────────────────────────────────────────────────────
   3 cards only — no duplication. The track animates as a unit:
     RTL: enters right → exits left → pause off-screen → repeat
     LTR: enters left  → exits right → pause off-screen → repeat (−18s offset)

   Travel phase = 70% of 36s = 25.2s  |  Pause = 30% = 10.8s
   With −18s on LTR (50% offset) the rows are always staggered so
   at least one is always visible.
   ─────────────────────────────────────────────────────────────────────── */
.testi-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

/* LTR: start off-screen left → exit off-screen right → snap back → tiny pause */
@keyframes testi-batch-ltr {
  0%      { transform: translateX(-100vw); }
  88%     { transform: translateX(100vw); }
  88.01%,
  100%    { transform: translateX(-100vw); }
}
/* RTL: mirror */
@keyframes testi-batch-rtl {
  0%      { transform: translateX(100vw); }
  88%     { transform: translateX(-100vw); }
  88.01%,
  100%    { transform: translateX(100vw); }
}

.testi-track--ltr {
  /* Top row — left to right, starts immediately */
  animation: testi-batch-ltr 36s linear infinite;
}
.testi-track--rtl {
  /* Bottom row — right to left.
     -34s = animation starts 34s into its 36s cycle → lands in the 88.01%-100% off-screen
     pause zone → invisible at load. After 2s the cycle resets and RTL begins traveling,
     giving the same "2s after top row" stagger without a visible on-screen jump. */
  animation: testi-batch-rtl 36s linear infinite;
  animation-delay: -34s;
}

/* ── Card — full-width-thirds + rotating gradient border ─────────────────
   Structure:
     .testi-card        — outer shell, overflow:hidden, transparent
       .testi-card-glow — holds the rotating beam (the animated border source)
         .testi-card-beam — the rotating orange beam div
       .testi-card-bg   — interior, 1px inset → beam visible at edges as border
         [star cluster, name, source, body text]
   ─────────────────────────────────────────────────────────────────────── */
.testi-card {
  /* 3 cards + 2×16px gaps = 100vw */
  width: calc((100vw - 32px) / 3);
  flex-shrink: 0;
  height: 270px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  background: transparent;
}

/* Glow layer — rotates in place; conic gradient sweeps the 1px border edge.
   No position:fixed tricks needed — safe inside animated tracks with will-change:transform.
   z-index: 0 keeps it below .testi-card-inner (z-index: 1). */
.testi-card-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Conic gradient: dark → deep orange → bright orange peak → deep orange → dark
     As the element rotates, the bright peak sweeps around the card perimeter. */
  background: conic-gradient(
    from 0deg,
    #1a0800    0%,
    #8B2500   18%,
    #FF5F05   36%,
    #FF8030   50%,
    #FF5F05   64%,
    #8B2500   82%,
    #1a0800  100%
  );
  animation: testi-border-spin 5s linear infinite;
}
@keyframes testi-border-spin {
  to { transform: rotate(360deg); }
}
/* Shot-card border beam — matches the inline component in TestimonialsSection */
@keyframes slow-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Card interior — 1px inset reveals the beam at the border edge.
   z-index:1 keeps it above the glow layer. */
.testi-card-inner {
  position: absolute;
  inset: 1px;
  z-index: 1;
  border-radius: 13px;
  padding: 22px 24px 22px;
  /* Dark card bg with orange radial glow at bottom corners —
     reversed: darkest at bottom (blends to black), lighter orange inward */
  background-color: hsla(0, 0%, 6%, 1);
  background-image:
    radial-gradient(at 88% 40%, hsla(0, 0%, 6%, 1)       0px, transparent 85%),
    radial-gradient(at 49% 30%, hsla(0, 0%, 6%, 1)       0px, transparent 85%),
    radial-gradient(at 14% 26%, hsla(0, 0%, 6%, 1)       0px, transparent 85%),
    radial-gradient(at 0%  65%, hsla(20, 55%, 12%, 1)    0px, transparent 85%),
    radial-gradient(at 40% 95%, hsla(24, 75%, 20%, 1)    0px, transparent 85%),
    radial-gradient(at 100% 99%, hsla(20, 60%, 15%, 1)   0px, transparent 85%);
  box-shadow: 0px -16px 24px 0px rgba(255, 255, 255, 0.07) inset;
  overflow: hidden;
}

/* ── Star cluster — 3×3 cross grid ── */
.testi-star-cluster {
  display: grid;
  grid-template-columns: 12px 20px 12px;
  grid-template-rows:    12px 20px 12px;
  gap: 2px;
  align-items: center;
  justify-items: center;
  margin-bottom: 14px;
}
.testi-star-sm {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
}
.testi-star-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.88);
}

/* ── Card text ── */
.testi-card-name {
  font-family: var(--font-family-title, 'Barlow Condensed', sans-serif);
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin: 0 0 2px;
}
.testi-card-source {
  font-family: var(--font-family-title, 'Barlow Condensed', sans-serif);
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #FF5F05;
  margin: 0 0 12px;
}
.testi-card-body {
  font-family: var(--font-family-sofia, sans-serif);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.72;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
  /* Clamp to 5 lines so cards stay uniform height */
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 12. Concierge / Property Management — tighten padding for FullPage 100vh ── */
section.concierge-area {
  padding-top: 80px !important;
  padding-bottom: 60px !important;
}

/* Concierge name — orange gradient (override any red that survived) */
.concierge-name {
  background: linear-gradient(to right, #FF5F05, #8B2500) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Concierge head vertical rule — orange */
.concierge-head::after {
  background: #FF5F05 !important;
}

/* Concierge global-site-title i line — orange */
.concierge-head .global-site-title i {
  background: #FF5F05 !important;
}

/* Magazine area — tighten for FullPage */
section.magazine-area {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}

/* App area — tighten for FullPage */
section.app-area {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}

/* App head global-site-title span — orange not red */
.app-head .global-site-title span {
  color: #FF5F05 !important;
}

/* ── 14. Blog section — concierge-mirror layout ────────────────────────────
   Structure: [narrow vertical-title col] | [illustration + 2 blog cards]
   Mirrors the white-glove / concierge-area pattern.
   ──────────────────────────────────────────────────────────────────────── */

/* Strip OGGroup padding; height is controlled by FullPage 100vh */
section.as-blog-1-area {
  padding: 0 !important;
  overflow: hidden !important;
}

/* Full-width holder */
.blog-holder {
  height: 100%;
  padding: 0 30px;
}

/* Flex row: vertically centered within viewport minus fixed header */
.blog-inner {
  display: flex;
  align-items: center;
  height: calc(100vh - 70px);
  margin-top: 70px;
}

/* Narrow sidebar for the vertical title — wide enough for two 70px lines */
.blog-title-col {
  width: 160px;
  flex-shrink: 0;
  position: relative;
  height: 100%;
}

/* Rotated title — bottom-to-top, two lines, centered in sidebar.
   width: 640px = the pre-rotation width; after rotate(-90deg) this becomes
   the visual HEIGHT so both lines (~640px tall) fit within the 100vh section. */
.blog-title-name {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%) rotate(-90deg);
  width: 640px;
  text-align: center;
  font-family: var(--as-font-1, 'Barlow Condensed', sans-serif);
  font-size: 70px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: #1a1a1a;
}
.blog-peek-light { font-weight: 100; }
.blog-peek-bold  { font-weight: 500; }

/* Content column fills remaining width, centers its children */
.blog-content-col {
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
}

/* as-blog-1-wrap fills the content column */
.blog-content-col .as-blog-1-wrap {
  max-width: 100% !important;
  width: 100%;
  margin: 0 !important;
  align-items: center !important;
}

/* Left illustration panel — sized to fit vertically */
section.as-blog-1-area .as-blog-1-left {
  width: 64% !important;
  max-width: 64% !important;
  height: 569px !important;
  margin: 0 auto !important;
  align-self: center !important;
}

/* Right column — centered */
section.as-blog-1-area .as-blog-1-right {
  align-self: center !important;
}

/* Blog item grid: image col slightly narrower */
section.as-blog-1-area .as-blog-1-item {
  grid-template-columns: 0.9fr 1.1fr !important;
}
section.as-blog-1-area .as-blog-1-item .item-img {
  height: 248px !important;
}

/* Category pill → heading gap */
section.as-blog-1-area .as-blog-1-item .categories {
  margin-bottom: 18px !important;
}
/* Heading size + heading → disc gap */
section.as-blog-1-area .as-blog-1-item .title {
  font-size: 18px !important;
  margin-bottom: 14px !important;
}
/* Body text */
section.as-blog-1-area .as-blog-1-item .disc {
  font-size: 14px !important;
}
/* Read More button */
section.as-blog-1-area .as-pr-btn-1-v2 {
  font-size: 14px !important;
}

/* Spinning circle text animation */
@keyframes spin-circle {
  to { transform: rotate(360deg); }
}

/* ── 15. Footer — compress to fit fp-auto-height viewport ─────────────────
   Root causes vs original:
     • email "info@avistarealestatemazatlan.com" at 55px wraps to 2 lines (was short "info@gmail.com")
     • 8-item menu at 30px each vs original 5 items (≈108px extra)
     • bg-shape mb-50 = 50px dead space at top
     • SAY HELLO! at 185px + pb-100 push bottom well beyond viewport
   ──────────────────────────────────────────────────────────────────────── */

/* Remove bg-shape top dead-space */
footer.as-footer-3-area .as-footer-3-bg-shape {
  height: 0 !important;
  margin-bottom: 0 !important;
}

/* Email: shrink from 55px to a readable size that doesn't wrap */
footer.as-footer-3-area .as-footer-3-contact .link-el-2 {
  font-size: 16px !important;
}

/* Menu: tighten item gap */
footer.as-footer-3-area .as-footer-3-menu {
  gap: 2px !important;
}

/* Wrap bottom margin: 70 → 35px (50% of original) */
footer.as-footer-3-area .as-footer-3-wrap {
  margin-bottom: 35px !important;
}

/* Bottom padding: 100 → 20px */
footer.as-footer-3-area {
  padding-bottom: 20px !important;
}

/* Left column (circle text + SAY HELLO!) — 50px left indent */
footer.as-footer-3-area .as-footer-3-circle-text {
  padding-left: 50px !important;
}
footer.as-footer-3-area .as-footer-3-big-text {
  padding-left: 50px !important;
}

/* Menu — no extra top padding; alignment handled by nav wrapper margin */
footer.as-footer-3-area .as-footer-3-menu {
  padding-top: 0 !important;
}

/* SAY HELLO! — nudge up 20px */
footer.as-footer-3-area .as-footer-3-bottom {
  margin-top: -20px !important;
}

/* Inline newsletter — no OGGroup CSS inheritance */
.footer-nl {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  max-width: 420px;
}
.footer-nl__input {
  flex: 1;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  color: #fff;
  padding: 0 18px;
  height: 42px;
  font-family: var(--as-font-1, 'Barlow Condensed', sans-serif);
  font-size: 14px;
  letter-spacing: 0.03em;
  outline: none;
  transition: border-color 0.3s ease;
}
.footer-nl__input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.footer-nl__input:focus {
  border-color: rgba(255, 95, 5, 0.5);
}
.footer-nl__btn {
  background: #FF5F05;
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 0 22px;
  height: 42px;
  font-family: var(--as-font-1, 'Barlow Condensed', sans-serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
}
.footer-nl__btn:hover {
  background: #8B2500;
}

/* ── 16. Property Management (Concierge) — fix for 100vh FullPage context ──
   Root cause: OGGroup designed for a tall scrolling page.
   concierge-name sits at top:-202px / left:-220px with overflow:hidden
   clipping it completely. concierge-head>div pushed down 135px.
   Fix: unclip, vertically center the section, reset offending positions.
   ──────────────────────────────────────────────────────────────────────── */
section.concierge-area {
  overflow: visible !important;
  display: flex !important;
  align-items: center !important;
  padding-top: 70px !important;
  padding-bottom: 40px !important;
}
.concierge-holder {
  width: 100% !important;
}
.concierge-inner {
  align-items: center !important;
}
/* Reset the 135px downward push — designed for a taller OGGroup page */
.concierge-head > div {
  top: 0 !important;
}
/* Title sits at bottom (section is flex-end).
   Reset offsets so it flows naturally at the base of the column. */
.concierge-name {
  font-size: 60px !important;
  width: 340px !important;
  left: -120px !important;
  top: -60px !important;
}
/* Space between rotated title and subtitle */
.concierge-head .global-site-title {
  margin-top: 60px !important;
}
/* Decorative vertical line — shortened to fit 100vh */
.concierge-head:after {
  top: -80px !important;
  height: 420px !important;
}
/* Constrain image so right column fits in 100vh */
.concierge-before-after .img-comp-container img {
  max-height: 52vh !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: cover !important;
}
/* Tighten text below image */
.concierge-text {
  font-size: 13px !important;
  margin-top: 12px !important;
  line-height: 1.5 !important;
}
.concierge-button {
  margin-top: 12px !important;
}

/* ── 17. Magazine — fix for 100vh FullPage context ────────────────────────
   Root cause: section background:#fff washes out our photo overlay;
   photo inner has margin-left:-100px pulling it partially offscreen.
   ──────────────────────────────────────────────────────────────────────── */
section.magazine-area {
  background: #fff !important;
  overflow: visible !important;
  padding-top: 60px !important;
  padding-bottom: 40px !important;
}
/* Hide the orange right-side strip */
.magazine-bg:before {
  display: none !important;
}
/* Reset the leftward photo pull */
.magazine-photo .magazine-photo-inner {
  margin-left: 0 !important;
}
/* Shorten the decorative vertical line */
.magazine-head:after {
  height: 300px !important;
}

/* ── 18. App Section — fix for 100vh FullPage context ────────────────────
   Make phone the focal point: widen photo column, shrink head/content.
   Enlarge body text. Shorten decorative line.
   ──────────────────────────────────────────────────────────────────────── */
section.app-area {
  overflow: visible !important;
  padding-top: 60px !important;
  padding-bottom: 50px !important;
}
/* Bottom-align all content like PropertyManagement */
.app-inner {
  align-items: flex-end !important;
}
/* Rebalance columns: phone becomes focal point */
.app-head    { width: 30% !important; }
.app-photo   { width: 38% !important; }
.app-content { width: 32% !important; }
/* Scale down title to fit 30% column */
.app-head .global-site-title {
  font-size: 56px !important;
  line-height: 0.85 !important;
}
.app-head .magazine-name {
  font-size: 56px !important;
  white-space: normal !important;
}
/* Larger phone image */
.app-photo .app-photo-phone img {
  max-width: 300px !important;
  max-height: 52vh !important;
  width: auto !important;
  margin: 0 auto !important;
}
/* Larger body text */
.app-content-text p {
  font-size: 16px !important;
  line-height: 1.75 !important;
}
.app-content-text span {
  font-size: 13px !important;
}
/* Shorten and reposition the decorative vertical line */
.app-head > div:after {
  left: -30px !important;
  height: 220px !important;
}

/* ── 16. Residual red catch-all (anything that survived find-replace) */
[style*="color: #b71f37"],
[style*="color:#b71f37"],
[style*="background: #b71f37"],
[style*="background:#b71f37"],
[style*="background-color: #b71f37"],
[style*="background-color:#b71f37"] {
  color: #FF5F05 !important;
  background: #FF5F05 !important;
  background-color: #FF5F05 !important;
}

/* ── Footer hover: orange instead of red ────────────────────────── */
.as-footer-3-contact .link-el-1:hover {
  color: #FF5F05 !important;
}
.as-footer-3-contact .link-el-2 {
  background: linear-gradient(90deg, #FF5F05 50%, #fff 50%) !important;
  background-size: 200% !important;
  background-position-x: 100% !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
.as-footer-3-menu a::after {
  background: #FF5F05 !important;
}

/* ── Footer menu: 32px font, left-to-right layout, tops aligned ── */
footer.as-footer-3-area .as-footer-3-menu a {
  font-size: 32px !important;
}
footer.as-footer-3-area .as-footer-3-wrap {
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 80px !important;
}
