/* EUstate Theme v1.9.3 — targeted Reels, homepage profiles and Tools directory refinements. */

/* Desktop Reels: the header owns its own strip; the feed owns the remaining viewport.
   Each frame is exactly one feed viewport so adjacent Reels cannot peek or attach. */
@media (min-width:760px){
  html.eus-reels-document-v151,
  body.eus-reels-standalone-v151{height:100%!important;overflow:hidden!important}
  body.eus-reels-standalone-v151 .eus-reels-app-v151{height:100dvh!important;min-height:100dvh!important;overflow:hidden!important;background:#f6f8fc!important}
  body.eus-reels-standalone-v151 .eus-reels-top-v151{position:fixed!important;top:0!important;left:0!important;right:0!important;height:72px!important;z-index:940!important;background:#fff!important;border-bottom:1px solid #dbe5f2!important;box-shadow:0 10px 28px rgba(20,45,85,.07)!important}
  body.eus-reels-standalone-v151 .eus-reel-feed-v151{position:fixed!important;top:72px!important;right:0!important;bottom:0!important;left:0!important;height:auto!important;min-height:0!important;padding:0!important;margin:0!important;overflow-y:auto!important;overflow-x:hidden!important;scroll-snap-type:y mandatory!important;scroll-padding:0!important;overscroll-behavior-y:contain!important;background:#f6f8fc!important}
  body.eus-reels-standalone-v151 .eus-reel-frame-v151{height:100%!important;min-height:100%!important;max-height:100%!important;padding:22px 18px!important;margin:0!important;box-sizing:border-box!important;overflow:hidden!important;scroll-snap-align:start!important;scroll-snap-stop:always!important;background:#f6f8fc!important}
  body.eus-reels-standalone-v151 .eus-reel-stage-v151{height:100%!important;min-height:0!important;max-height:100%!important;width:auto!important;overflow:visible!important;display:flex!important;align-items:center!important;justify-content:center!important}
  body.eus-reels-standalone-v151 .eus-reel-video-shell-v151{height:100%!important;max-height:100%!important;width:auto!important;max-width:calc(100vw - 150px)!important;aspect-ratio:9/16!important;overflow:hidden!important;border-radius:22px!important;background:#000!important;box-shadow:0 22px 64px rgba(15,23,42,.16)!important}
  body.eus-reels-standalone-v151 .eus-reel-video-shell-v151 video,
  body.eus-reels-standalone-v151 .eus-reel-gradient-v148{border-radius:22px!important}
  body.admin-bar.eus-reels-standalone-v151 .eus-reels-top-v151{top:32px!important}
  body.admin-bar.eus-reels-standalone-v151 .eus-reel-feed-v151{top:104px!important}
}
@media (min-width:760px) and (max-width:782px){
  body.admin-bar.eus-reels-standalone-v151 .eus-reels-top-v151{top:46px!important}
  body.admin-bar.eus-reels-standalone-v151 .eus-reel-feed-v151{top:118px!important}
}

/* Homepage: approved architect profiles and manually curated Verified Agents. */
.eus-home-prof-directory-v193{background:linear-gradient(180deg,#f8fbff 0%,#eef5ff 100%)}
.eus-home-profile-grid-v193{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.eus-home-profile-card-v193{overflow:hidden;border:1px solid #dce6f3;border-radius:22px;background:#fff;box-shadow:0 12px 34px rgba(30,58,138,.06);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.eus-home-profile-card-v193:hover{transform:translateY(-4px);border-color:#bed2f1;box-shadow:0 20px 44px rgba(30,58,138,.11)}
.eus-home-profile-media-v193{position:relative;display:block;height:220px;overflow:hidden;background:linear-gradient(145deg,#dbe8fb,#eff5ff);text-decoration:none}
.eus-home-profile-media-v193>img{width:100%;height:100%;object-fit:cover;display:block}
.eus-home-profile-initial-v193{display:grid;place-items:center;width:100%;height:100%;font:700 76px Georgia,serif;color:#1e3a8a}
.eus-home-profile-badge-v193{position:absolute;left:12px;bottom:12px;display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.94);color:#173a76;font-size:10px;font-weight:850;box-shadow:0 8px 22px rgba(15,23,42,.12)}
.eus-home-profile-badge-v193 svg{width:14px;height:14px}
.eus-home-profile-copy-v193{padding:19px}.eus-home-profile-copy-v193>small{display:block;color:#1d4ed8;font-size:9px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.eus-home-profile-copy-v193 h3{margin:6px 0 8px;font:700 23px/1.1 Georgia,serif}.eus-home-profile-copy-v193 h3 a{text-decoration:none;color:#10274f}.eus-home-profile-copy-v193 p{min-height:42px;margin:0 0 11px;color:#687a96;font-size:12px;line-height:1.65}.eus-home-profile-copy-v193>span{display:flex;align-items:center;gap:5px;color:#71819a;font-size:10px}.eus-home-profile-copy-v193>span svg{width:13px;height:13px}.eus-home-profile-link-v193{display:inline-block;margin-top:13px;color:#1d4ed8;font-size:11px;font-weight:850;text-decoration:none}.eus-home-profile-all-v193{text-align:right;margin-top:16px}.eus-home-profile-all-v193 a{color:#1d4ed8;font-weight:850;text-decoration:none}.eus-home-profile-empty-v193{padding:28px;border:1px dashed #cbd9eb;border-radius:20px;background:#fff;display:grid;gap:6px}.eus-home-profile-empty-v193 strong{color:#10274f}.eus-home-profile-empty-v193 span{color:#71819a;font-size:12px}

.eus-home-static-verified_agents{background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)}
.eus-home-static-verified_agents .eus-home-static-grid-v153{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.eus-home-static-verified_agents .eus-home-static-card-v153{overflow:hidden;border:1px solid #dce6f3;border-radius:22px;background:#fff;box-shadow:0 12px 34px rgba(30,58,138,.06);transition:.22s ease}
.eus-home-static-verified_agents .eus-home-static-card-v153:hover{transform:translateY(-4px);box-shadow:0 20px 44px rgba(30,58,138,.11);border-color:#bed2f1}
.eus-home-static-verified_agents .eus-home-static-media-v153{height:220px;background:#edf4ff}
.eus-home-static-verified_agents .eus-home-static-media-v153 img{width:100%;height:100%;object-fit:cover}
.eus-home-static-verified_agents .eus-home-static-copy-v153{padding:19px}
.eus-home-static-verified_agents .eus-home-static-copy-v153 .eus-eyebrow{color:#1d4ed8;font-size:9px}.eus-home-static-verified_agents .eus-home-static-copy-v153 h3{font:700 23px/1.1 Georgia,serif;color:#10274f;margin:7px 0}.eus-home-static-verified_agents .eus-home-static-copy-v153 p{color:#687a96;font-size:12px;line-height:1.65}.eus-home-static-verified_agents .eus-text-link{display:inline-block;margin-top:8px;color:#1d4ed8;font-weight:850;text-decoration:none}

/* Complete /tools directory: same EUstate card language across every category. */
.eus-tools-directory-head-v193{max-width:980px}.eus-tools-directory-head-v193>p{max-width:850px}
.eus-tools-directory-jump-v193{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.eus-tools-directory-jump-v193 a{padding:9px 12px;border:1px solid #dbe5f2;border-radius:999px;background:#fff;color:#31558f;text-decoration:none;font-size:10px;font-weight:850}.eus-tools-directory-jump-v193 a:hover{border-color:#b9cff1;background:#f5f8ff}
.eus-tools-directory-group-v193{scroll-margin-top:100px;margin:44px 0 62px}.eus-tools-directory-group-head-v193{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:18px}.eus-tools-directory-group-head-v193 h2{font:700 clamp(30px,4vw,44px)/1.08 Georgia,serif;color:#10274f;margin:6px 0 8px}.eus-tools-directory-group-head-v193 p{max-width:800px;margin:0;color:#687a96;line-height:1.7}.eus-tools-directory-group-head-v193>a{flex:0 0 auto;color:#1d4ed8;font-size:11px;font-weight:850;text-decoration:none}.eus-tools-directory-grid-v193{margin:0!important}.eus-tools-directory-card-v193{min-height:205px}
.eus-tools-authority-v193{max-width:980px;margin:76px auto 38px;padding:42px;border:1px solid #dfe8f4;border-radius:26px;background:#fff;box-shadow:0 16px 46px rgba(30,58,138,.055);color:#33445f;line-height:1.85}.eus-tools-authority-v193>h2{font:700 clamp(27px,3vw,36px)/1.15 Georgia,serif;color:#10274f;margin:38px 0 12px}.eus-tools-authority-v193>h2:first-of-type{margin-top:9px}.eus-tools-authority-v193 p{margin:0 0 19px}.eus-tools-authority-v193 a{color:#1d4ed8;font-weight:800}.eus-tools-directory-faq-v193{margin-top:42px;padding-top:4px;border-top:1px solid #e3eaf4}.eus-tools-directory-faq-v193 details{border-bottom:1px solid #e3eaf4}.eus-tools-directory-faq-v193 summary{cursor:pointer;padding:17px 2px;color:#10274f;font-weight:850}.eus-tools-directory-faq-v193 details p{padding:0 4px 17px;margin:0;color:#687a96}

@media(max-width:980px){.eus-home-profile-grid-v193,.eus-home-static-verified_agents .eus-home-static-grid-v153{grid-template-columns:repeat(2,minmax(0,1fr))}.eus-tools-directory-group-head-v193{align-items:flex-start;display:block}.eus-tools-directory-group-head-v193>a{display:inline-block;margin-top:10px}}
@media(max-width:620px){.eus-home-profile-grid-v193,.eus-home-static-verified_agents .eus-home-static-grid-v153{grid-template-columns:1fr}.eus-home-profile-media-v193,.eus-home-static-verified_agents .eus-home-static-media-v153{height:260px}.eus-tools-authority-v193{padding:26px 20px;border-radius:20px}.eus-tools-directory-group-v193{margin:34px 0 48px}.eus-tools-directory-jump-v193{gap:6px}}
