/* Approved Knowledge Hub C with Kareem search companion. Page-scoped; shared shell unchanged. */
.mc-hub-body{--purple:#6d28d9;--deep:#371258;--gold:#d0b35f;--pale:#f0e6ff;--ink:#211b48;--body:#62546f;--line:#e7def0;--white:#fff;--pr:#6d28d9;--mu:#746784;--page:#fff}
.mc-hub-body .mc-search-wrap{width:min(1180px,calc(100% - 64px));margin:32px auto 0}
.mc-hub-body .mc-search{position:relative}
.mc-hub-body .mc-search label{display:block;font-size:14px;font-weight:800;color:var(--deep);margin-bottom:10px}
.mc-hub-body .mc-search input{font:inherit;font-size:15px;color:var(--ink);width:100%;min-height:54px;padding:15px 18px;background:#fff;border:1px solid #ccb5e7;border-radius:12px;outline-offset:4px}
.mc-hub-body .mc-search input::placeholder{color:#867494;opacity:1}
.mc-hub-body .mc-search input:focus{outline:2px solid #b28be2}
.mc-hub-body .mc-search-count{font-size:12px;font-weight:700;margin:12px 0 0;color:var(--purple)}
.mc-hub-body .mc-search-count:empty{display:none}
.mc-hub-body .mc-search-results{list-style:none;padding:0;margin:12px 0 0;border:1px solid var(--line);border-radius:12px;background:#fff;max-height:440px;overflow-y:auto;overscroll-behavior:contain}
.mc-hub-body .mc-search-results[hidden]{display:none!important}
.mc-hub-body .mc-search-results li+li{border-top:1px solid var(--line)}
.mc-hub-body .mc-search-results a{display:block;padding:17px 20px}
.mc-hub-body .mc-search-results a:hover,.mc-hub-body .mc-search-results a:focus-visible{background:#f5effc}
.mc-hub-body .mc-search-results strong{font-size:15px;line-height:1.5;display:block;color:var(--ink)}
.mc-hub-body .mc-search-results small{font-size:13px;line-height:1.7;display:block;color:var(--body);margin-top:6px}
.mc-hub-body .hub-content{padding-top:30px}
.mc-hub-body .mc-search-wrap{max-width:760px;margin-top:8px}
@media(max-width:850px){.mc-hub-body .mc-search-wrap{width:calc(100% - 40px);margin-top:26px}}
@media(max-width:580px){.mc-hub-body .mc-search-wrap{width:calc(100% - 36px);margin-top:22px}
.mc-hub-body .mc-search input{font-size:14px;padding:14px;min-height:52px}
.mc-hub-body .mc-search input::placeholder{font-size:12px}
.mc-hub-body .mc-search-results a{padding:16px}
.mc-hub-body .mc-search-results strong{font-size:14px}
.mc-hub-body .mc-search-results small{font-size:12px}
.mc-hub-body .mc-search-wrap{margin-top:0}}
.mc-hub-body *{box-sizing:border-box}
.mc-hub-body{scroll-behavior:smooth}
.mc-hub-body{margin:0;background:var(--page);color:var(--ink);font-family:Manrope,Arial,sans-serif;font-size:15px;line-height:1.7}
.mc-hub-body img{max-width:100%;height:auto}
.mc-hub-body a{color:inherit;text-decoration:none}
.mc-hub-body button{font:inherit}
.mc-hub-body a,.mc-hub-body button,.mc-hub-body summary{-webkit-tap-highlight-color:transparent}
.mc-hub-body a:focus-visible,.mc-hub-body button:focus-visible,.mc-hub-body summary:focus-visible{outline:3px solid #b892ed;outline-offset:5px}
.mc-hub-body h1,.mc-hub-body h2,.mc-hub-body h3,.mc-hub-body h4,.mc-hub-body p{margin:0}
.mc-hub-body h1,.mc-hub-body h2,.mc-hub-body h3,.mc-hub-body h4{line-height:1.2;letter-spacing:-.035em}
.mc-hub-body h1{font-size:clamp(44px,5.1vw,72px);font-weight:800}
.mc-hub-body h2{font-size:clamp(28px,3vw,38px);font-weight:800}
.mc-hub-body h3,.mc-hub-body h4{font-size:20px;font-weight:800}
.mc-hub-body p{color:var(--body)}
.mc-hub-body .container{width:min(1180px,calc(100% - 64px));margin:0 auto}
.mc-hub-body .page-hero{position:relative;overflow:hidden;margin:0 16px;border-radius:26px;padding:66px 0;background:var(--pale)}
.mc-hub-body .page-hero .container{position:relative;z-index:1}
.mc-hub-body .ar-sub{font-size:13px;font-family:'Noto Kufi Arabic',Arial,sans-serif;color:var(--purple);margin-bottom:13px}
.mc-hub-body .rates-refreshed{display:inline-block;margin-top:18px;font-size:12px;font-weight:700;padding:5px 11px;border-radius:30px;background:#fff;color:#644a7b}
.mc-hub-body .subtitle{font-size:17px;line-height:1.8;max-width:650px;margin-top:17px}
.mc-hub-body .section{padding:68px 0}
.mc-hub-body .hub-tabs{display:flex;gap:6px;width:max-content;border-radius:12px;background:#f1ebf9;padding:5px;margin-bottom:38px}
.mc-hub-body .hub-tab{background:transparent;color:#614878;border:0;border-radius:8px;padding:11px 28px;font-size:14px;font-weight:800;cursor:pointer;min-height:44px}
.mc-hub-body .hub-tab.active{background:var(--deep);color:#fff}
.mc-hub-body .hub-tab-content[hidden]{display:none!important}
.mc-hub-body .section-lede{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:26px}
.mc-hub-body .lede-eyebrow{display:block;text-transform:uppercase;letter-spacing:.11em;color:#82639c;font-size:11px;font-weight:800;margin-bottom:9px}
.mc-hub-body .section-lede p,.mc-hub-body .section-header p{margin-top:12px;max-width:680px;font-size:15px}
.mc-hub-body .lede-link{font-size:13px;font-weight:800;color:var(--purple);white-space:nowrap}
.mc-hub-body .feat-grid{display:grid;gap:22px}
.mc-hub-body .feat-card{display:block;border:1px solid var(--line);border-radius:18px;padding:28px;background:#fff;transition:transform .15s,border-color .15s}
.mc-hub-body .feat-card p{font-size:14px;line-height:1.75;margin-top:13px}
.mc-hub-body .feat-card h3,.mc-hub-body .feat-card h4{font-size:21px}
.mc-hub-body .feat-icon,.mc-hub-body .topic-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:#eee3fc;color:var(--purple);margin-bottom:20px}
.mc-hub-body .feat-icon.gold{background:#faf4df;color:#9a7923}
.mc-hub-body .feat-card span{display:block;margin-top:18px;font-size:12px;color:#7b6c88}
.mc-hub-body .feat-card span:last-child{font-weight:800;color:var(--purple);margin-top:9px}
.mc-hub-body .latest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.mc-hub-body .topic-library{margin-top:64px}
.mc-hub-body .topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.mc-hub-body .topic-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:16px;padding:24px;background:#faf7ff;transition:transform .15s,border-color .15s}
.mc-hub-body .topic-card-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.mc-hub-body .topic-icon{margin:0;width:38px;height:38px;border-radius:10px;background:#eadcf9}
.mc-hub-body .topic-count{font-size:11px;font-weight:800;color:#7b6296}
.mc-hub-body .topic-card h3{font-size:18px;line-height:1.3}
.mc-hub-body .topic-card p{font-size:13px;line-height:1.7;margin:12px 0 18px}
.mc-hub-body .topic-card-go{font-size:12px;font-weight:800;color:var(--purple);margin-top:auto}
.mc-hub-body .guides-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.mc-hub-body .key-facts{padding-top:0}
.mc-hub-body .section-header{margin-bottom:30px}
.mc-hub-body .key-facts .feat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.mc-hub-body .key-facts .feat-card{padding:27px;background:#faf7ff}
.mc-hub-body .key-facts .feat-card>div{font-size:38px;font-weight:800;color:var(--purple);letter-spacing:-.04em;margin-bottom:11px}
.mc-hub-body .key-facts .feat-card h3,.mc-hub-body .key-facts .feat-card h4{font-size:16px;line-height:1.4}
.mc-hub-body .key-facts .feat-card p{font-size:13px}
.mc-hub-body .faq-section{background:#faf7ff;margin:0 16px;border-radius:24px}
.mc-hub-body .faq-section .container{max-width:900px}
.mc-hub-body .faq-section details{border-bottom:1px solid #dbcee9;padding:22px 0}
.mc-hub-body .faq-section summary{font-size:16px;font-weight:800;cursor:pointer;list-style:none;position:relative;padding-right:32px;line-height:1.55}
.mc-hub-body .faq-section summary::-webkit-details-marker{display:none}
.mc-hub-body .faq-section summary:after{content:'+';position:absolute;right:1px;top:-2px;font-size:23px;font-weight:400;color:var(--purple)}
.mc-hub-body .faq-section details[open] summary:after{content:'−'}
.mc-hub-body .faq-section details p{font-size:14px;line-height:1.8;margin-top:16px}
.mc-hub-body .closing-cta{text-align:center}
.mc-hub-body .closing-cta .container{padding:48px;border-radius:24px;background:var(--deep);color:#fff}
.mc-hub-body .closing-cta h2{font-size:34px}
.mc-hub-body .closing-cta p{color:#e4d6f2;margin:16px auto 25px;max-width:560px}
.mc-hub-body .closing-cta .container>div{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.mc-hub-body .btn-primary,.mc-hub-body .btn-gold{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 22px;border-radius:11px;font-size:13px;font-weight:800}
.mc-hub-body .btn-primary{background:#fff;color:var(--deep)}
.mc-hub-body .btn-gold{background:var(--gold);color:#38284a}
.mc-hub-body .hub-content [hidden]{display:none!important}
@media(hover:hover){.mc-hub-body .feat-card[href]:hover,.mc-hub-body .topic-card:hover{border-color:#b28be2;transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce){.mc-hub-body *{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:1100px){.mc-hub-body .topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.mc-hub-body .container{width:calc(100% - 40px)}
.mc-hub-body .page-hero{padding:48px 0;margin:0 12px;border-radius:20px}
.mc-hub-body .section{padding:48px 0}
.mc-hub-body .key-facts{padding-top:0}
.mc-hub-body .key-facts .feat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.mc-hub-body .section-lede{align-items:flex-start;flex-direction:column;gap:16px}
.mc-hub-body .closing-cta .container{padding:36px 24px}
.mc-hub-body .faq-section{margin:0 12px}}
@media(max-width:580px){.mc-hub-body .container{width:calc(100% - 36px)}
.mc-hub-body .page-hero{padding:40px 0}
.mc-hub-body .subtitle{font-size:15px;line-height:1.8}
.mc-hub-body .rates-refreshed{font-size:11px}
.mc-hub-body h1{font-size:42px}
.mc-hub-body h2{font-size:28px}
.mc-hub-body .hub-tabs{width:100%;margin-bottom:30px}
.mc-hub-body .hub-tab{flex:1;padding:11px 18px}
.mc-hub-body .latest-grid,.mc-hub-body .guides-grid,.mc-hub-body .topic-grid{grid-template-columns:minmax(0,1fr)}
.mc-hub-body .feat-card{padding:24px}
.mc-hub-body .feat-card h3,.mc-hub-body .feat-card h4{font-size:20px}
.mc-hub-body .topic-card{padding:22px}
.mc-hub-body .topic-card p{font-size:14px}
.mc-hub-body .topic-library{margin-top:45px}
.mc-hub-body .section{padding:40px 0}
.mc-hub-body .key-facts{padding-top:0}
.mc-hub-body .key-facts .feat-grid{grid-template-columns:minmax(0,1fr);gap:14px}
.mc-hub-body .key-facts .feat-card{padding:22px}
.mc-hub-body .key-facts .feat-card>div{font-size:33px}
.mc-hub-body .faq-section summary{font-size:15px}
.mc-hub-body .closing-cta h2{font-size:28px}
.mc-hub-body .closing-cta .container>div{flex-direction:column}}
.mc-hub-body{--page:#fff}
.mc-hub-body .page-hero{text-align:center;background:#fff;border-radius:0;padding:58px 0 42px;overflow:visible}
.mc-hub-body .page-hero .container{max-width:920px}
.mc-hub-body .page-hero h1{font-size:64px}
.mc-hub-body .page-hero .ar-sub{color:#8c73a6}
.mc-hub-body .page-hero .subtitle{margin:18px auto 0;font-size:17px;max-width:680px}
.mc-hub-body .page-hero .rates-refreshed{border:1px solid var(--line);background:#fbf8ff}
.mc-hub-body .page-hero:after{content:'';display:block;width:70px;height:4px;background:var(--gold);border-radius:3px;margin:30px auto 0}
.mc-hub-body .hub-content{padding-top:0}
.mc-hub-body .hub-tabs{margin:0 auto 42px;background:#f0e6ff}
.mc-hub-body .hub-tab.active{background:var(--purple)}
.mc-hub-body #tab-guides .section-lede{border-bottom:1px solid var(--line);padding-bottom:25px}
.mc-hub-body .guides-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.mc-hub-body .guides-grid .feat-card{display:grid;grid-template-columns:140px 1fr;gap:28px;padding:30px;border:0;background:#f4eefc;border-radius:18px;min-height:300px}
.mc-hub-body .guides-grid .feat-card:nth-child(2){background:#faf5e8}
.mc-hub-body .guides-grid .feat-card:nth-child(3){background:#f9f7fc}
.mc-hub-body .guides-grid .feat-card:nth-child(4){background:#eee3fb}
.mc-hub-body .guides-grid .feat-icon{width:140px;height:210px;margin:0;border-radius:8px 14px 14px 8px;background:var(--deep);color:#fff;box-shadow:inset 8px 0 0 #ffffff15,4px 7px 0 #37125812}
.mc-hub-body .guides-grid .feat-icon svg{width:48px;height:48px;stroke-width:1.3}
.mc-hub-body .guides-grid .feat-icon.gold{background:#b58c31;color:#fff}
.mc-hub-body .guides-grid h3,.mc-hub-body .guides-grid h4{font-size:24px}
.mc-hub-body .guides-grid .feat-card p{font-size:14px}
.mc-hub-body .guides-grid .feat-card span:last-child{margin-top:24px}
.mc-hub-body .latest-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.mc-hub-body .latest-grid .feat-card{padding:0 25px 25px;overflow:hidden}
.mc-hub-body .latest-grid .feat-icon{width:calc(100% + 50px);height:120px;margin:0 -25px 24px;border-radius:0;background:#efe4fd}
.mc-hub-body .latest-grid .feat-icon.gold{background:#f5ebcd}
.mc-hub-body .latest-grid .feat-icon svg{width:34px;height:34px;stroke-width:1.5}
.mc-hub-body .latest-grid .feat-card h3,.mc-hub-body .latest-grid .feat-card h4{font-size:21px}
.mc-hub-body .topic-library{border-top:1px solid var(--line);padding-top:48px}
.mc-hub-body .topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}
.mc-hub-body .topic-card{border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:24px 0}
.mc-hub-body .topic-card-top{margin-bottom:14px}
.mc-hub-body .topic-card p{margin-bottom:10px}
.mc-hub-body .topic-card:hover{transform:none}
.mc-hub-body .key-facts{background:#f8f5fc;padding:52px 0;margin:0 16px;border-radius:24px}
.mc-hub-body .key-facts .feat-card{background:white;border:0}
.mc-hub-body .faq-section{margin-top:60px;background:#fff}
.mc-hub-body .faq-section .container{max-width:1000px}
.mc-hub-body .closing-cta .container{background:linear-gradient(120deg,#6521bc,#371258)}
@media(max-width:1100px){.mc-hub-body .guides-grid .feat-card{grid-template-columns:105px 1fr;gap:22px;padding:26px}
.mc-hub-body .guides-grid .feat-icon{width:105px;height:180px}
.mc-hub-body .guides-grid h3,.mc-hub-body .guides-grid h4{font-size:22px}
.mc-hub-body .latest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.mc-hub-body .guides-grid{grid-template-columns:minmax(0,1fr)}
.mc-hub-body .guides-grid .feat-card{grid-template-columns:135px 1fr;min-height:230px}
.mc-hub-body .guides-grid .feat-icon{width:135px;height:180px}
.mc-hub-body .page-hero h1{font-size:53px}
.mc-hub-body .faq-section{margin-top:24px}}
@media(max-width:580px){.mc-hub-body .page-hero{padding:35px 0 32px}
.mc-hub-body .page-hero h1{font-size:42px}
.mc-hub-body .page-hero .subtitle{font-size:15px}
.mc-hub-body .page-hero:after{margin-top:24px}
.mc-hub-body .hub-tabs{margin-bottom:32px}
.mc-hub-body .guides-grid .feat-card{display:block;padding:24px;min-height:0}
.mc-hub-body .guides-grid .feat-icon{height:95px;width:100%;border-radius:9px;margin-bottom:23px;box-shadow:none}
.mc-hub-body .guides-grid .feat-icon svg{width:37px;height:37px}
.mc-hub-body .guides-grid h3,.mc-hub-body .guides-grid h4{font-size:22px}
.mc-hub-body .latest-grid{grid-template-columns:minmax(0,1fr)}
.mc-hub-body .topic-grid{grid-template-columns:minmax(0,1fr)}
.mc-hub-body .key-facts{margin:0 12px;padding:38px 0}
.mc-hub-body .faq-section{padding-top:25px}}
.mc-hub-body .kareem-added{pointer-events:none;user-select:none;object-fit:contain}
@media(max-width:580px){.mc-hub-body .mc-search input{font-size:16px}
.mc-hub-body .mc-search input::placeholder{font-size:13px}}
.mc-hub-body .mc-search-wrap{max-width:890px;display:grid;grid-template-columns:100px minmax(0,1fr);gap:25px;align-items:start;position:relative;margin-top:0}
.mc-hub-body .search-kareem{display:block;width:100px;height:150px;margin-top:-12px}
.mc-hub-body .mc-search{padding-top:19px}
.mc-hub-body .hub-content{padding-top:24px}
@media(max-width:850px){.mc-hub-body .mc-search-wrap{grid-template-columns:88px minmax(0,1fr);gap:18px}
.mc-hub-body .search-kareem{width:88px;height:132px;margin-top:-5px}
.mc-hub-body .mc-search{padding-top:16px}}
@media(max-width:580px){.mc-hub-body .mc-search-wrap{display:block;margin-top:0}
.mc-hub-body .search-kareem{position:absolute;width:66px;height:99px;left:4px;top:-18px;margin:0;z-index:1}
.mc-hub-body .mc-search{padding-top:0}
.mc-hub-body .mc-search label{min-height:70px;padding:22px 0 0 84px;margin-bottom:10px;display:flex;align-items:flex-start;line-height:1.45}
.mc-hub-body .mc-search input,.mc-hub-body .mc-search-results{width:100%}
.mc-hub-body .hub-content{padding-top:28px}}
.mc-hub-body{display:block;box-sizing:border-box;background:#fff;min-width:0}
.mc-hub-body .container{padding:0}
.mc-hub-body .page-hero{background:#fff;background-image:none!important;color:var(--ink)}
.mc-hub-body .page-hero h1{color:var(--ink);margin-bottom:0}
.mc-hub-body .page-hero .ar-sub{opacity:1}
.mc-hub-body .page-hero .subtitle{color:var(--body);opacity:1;margin-bottom:0}
.mc-hub-body .page-hero .rates-refreshed{color:#644a7b;opacity:1}
.mc-hub-body .hub-tabs{border:0}
.mc-hub-body .section-lede{border-bottom:0;padding-bottom:0}
.mc-hub-body #tab-guides .section-lede{border-bottom:1px solid var(--line);padding-bottom:25px}
.mc-hub-body .feat-card,.mc-hub-body .topic-card{text-align:left;box-shadow:none}
.mc-hub-body .section-lede h2{font-size:clamp(28px,3vw,38px);line-height:1.2;margin:0}
.mc-hub-body .section-lede p{font-size:15px;line-height:1.7;max-width:680px;margin-top:12px;color:var(--body)}
.mc-hub-body .mc-search-wrap{padding:0}
.mc-hub-body .mc-search{max-width:none;margin:0}
.mc-hub-body .closing-cta{margin:0;background:transparent;border-radius:0;color:var(--ink)}
.mc-hub-body .closing-cta .container h2{color:#fff}
.mc-hub-body .closing-cta .container p{opacity:1}
.mc-hub-body .closing-cta .btn-gold{background:var(--gold);border-color:var(--gold);color:#38284a}
@media(max-width:580px){.mc-hub-body .mc-search input{font-size:16px}.mc-hub-body .section-lede h2{font-size:28px}}

/* Guide photography and eligibility bands, approved 12 November 2026. */
.mc-hub-body .guides-grid .feat-card{display:flex;flex-direction:column;gap:0;padding:0;overflow:hidden;min-height:0;border:1px solid #e7def0;background:#fff}
.mc-hub-body .guides-grid .feat-card:nth-child(n){background:#fff}
.mc-hub-body .guides-grid .guide-photo{display:block;width:100%;height:220px;flex:none;overflow:hidden;margin:0;background:#eee6f7}
.mc-hub-body .guides-grid .guide-photo img{display:block;width:100%;height:100%;object-fit:cover}
.mc-hub-body .guides-grid .guide-photo-mortgage-signing img{object-position:center 57%}
.mc-hub-body .guides-grid .guide-photo-first-buyer img{object-position:center 43%}
.mc-hub-body .guides-grid .guide-photo-costs-fees img{object-position:center 65%}
.mc-hub-body .guides-grid .guide-photo-city-comparison img{object-position:center 58%}
.mc-hub-body .guides-grid .feat-card>.guide-photo+div{padding:26px 28px 28px;display:flex;flex:1;flex-direction:column;min-width:0}
.mc-hub-body .guides-grid .feat-card h3,.mc-hub-body .guides-grid .feat-card h4{font-size:23px}
.mc-hub-body .guides-grid .feat-card span:last-child{margin-top:auto;padding-top:22px}
.mc-hub-body .mc-elig-cta{max-width:none;margin:0;padding:28px 30px;border:1px solid #dfcff2;border-radius:20px;background:#eee6fb;color:#574467;text-align:left;box-sizing:border-box}
.mc-hub-body .mc-elig-cta>p{margin:0;color:#574467;font-size:15px;line-height:1.65;max-width:none}
.mc-hub-body .mc-elig-cta .mc-cta-row{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-start;align-items:center}
.mc-hub-body .mc-elig-cta .btn-primary{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:12px 22px;border:1px solid #40176d;border-radius:13px;background:#40176d;color:#fff;font-size:14px;font-weight:800;line-height:1.4;text-decoration:none;box-sizing:border-box}
.mc-hub-body .mc-elig-cta .btn-primary:hover{background:#54208c;border-color:#54208c}
.mc-hub-body .mc-elig-cta a:focus-visible,.mc-hub-body .closing-cta a:focus-visible{outline:3px solid #945ccf;outline-offset:4px}
.mc-hub-body .hub-elig-library{margin-top:34px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px 30px}
.mc-hub-body .closing-cta .container{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 40px;align-items:start;padding:40px;border:1px solid #dfcff2;background:#eee6fb;color:#291943;text-align:left}
.mc-hub-body .closing-cta .container h2{grid-column:1;color:#291943;font-size:32px}
.mc-hub-body .closing-cta .container>p{grid-column:1;margin:0;color:#5c486d;font-size:15px;max-width:none}
.mc-hub-body .closing-cta .container>div:not(.mc-elig-cta){grid-column:1;justify-content:flex-start;margin-top:6px}
.mc-hub-body .closing-cta .container>div:not(.mc-elig-cta) a{background:#fff;color:#40176d;border:1px solid #d5c1ec}
.mc-hub-body .closing-cta .hub-elig-foot{grid-column:2;grid-row:1 / span 3;align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:20px;background:#ffffffa6;border:1px solid #ddcdee;padding:26px;margin:0}
.mc-hub-body .hub-elig-foot .mc-cta-row{display:grid;grid-template-columns:1fr;width:100%}
.mc-hub-body .hub-elig-foot .btn-primary:nth-child(2){background:#fff;color:#40176d;border-color:#d5c1ec}
.mc-hub-body .hub-elig-foot .btn-primary:nth-child(2):hover{background:#f8f3fd;border-color:#a879d2}
@media(max-width:850px){.mc-hub-body .guides-grid .guide-photo{height:250px}.mc-hub-body .hub-elig-library{grid-template-columns:1fr;gap:18px}.mc-hub-body .closing-cta .container{grid-template-columns:1fr;gap:16px;padding:30px}.mc-hub-body .closing-cta .hub-elig-foot{grid-column:1;grid-row:auto;margin-top:6px;gap:16px}.mc-hub-body .hub-elig-foot .mc-cta-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.mc-hub-body .guides-grid .guide-photo{height:auto;aspect-ratio:16/9}.mc-hub-body .guides-grid .feat-card>.guide-photo+div{padding:23px}.mc-hub-body .guides-grid .feat-card h3,.mc-hub-body .guides-grid .feat-card h4{font-size:22px}.mc-hub-body .mc-elig-cta{padding:23px;border-radius:17px}.mc-hub-body .mc-elig-cta>p{font-size:14px}.mc-hub-body .hub-elig-library .mc-cta-row,.mc-hub-body .hub-elig-library .btn-primary{width:100%}.mc-hub-body .closing-cta .container{padding:25px 22px;border-radius:22px}.mc-hub-body .closing-cta .container h2{font-size:28px}.mc-hub-body .closing-cta .container>div:not(.mc-elig-cta){gap:10px}.mc-hub-body .closing-cta .hub-elig-foot{padding:21px 18px}.mc-hub-body .hub-elig-foot .mc-cta-row{grid-template-columns:1fr}}

/* One closing action; retain the original page links as secondary navigation. */
.mc-hub-body .closing-cta .hub-elig-foot .btn-primary[hidden]{display:none!important}
.mc-hub-body .closing-cta .hub-elig-foot .mc-cta-row{display:flex;flex-direction:column;align-items:stretch}
.mc-hub-body .closing-cta .container>div:not(.mc-elig-cta){display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px 22px}
.mc-hub-body .closing-cta .container>div:not(.mc-elig-cta) a{background:transparent;color:#6320b2;border:0;border-radius:0;min-height:44px;padding:8px 0;font-size:13px;text-decoration:underline;text-underline-offset:4px}
.mc-hub-body .closing-cta .container>div:not(.mc-elig-cta) a:hover{color:#40176d}

/* Photography belongs only to the current Latest Articles cards. Topic/archive lists are not affected. */
.mc-hub-body .latest-grid .feat-card{display:flex;flex-direction:column;padding:0;min-width:0;overflow:hidden;background:#fff}
.mc-hub-body .latest-grid .article-photo{display:block;flex:none;width:100%;aspect-ratio:16/9;overflow:hidden;background:#eee6f7;margin:0}
.mc-hub-body .latest-grid .article-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.mc-hub-body .latest-grid .article-photo-rates img{object-position:center 40%}
.mc-hub-body .latest-grid .article-photo-preapproval img{object-position:center 43%}
.mc-hub-body .latest-grid .article-photo-broker img{object-position:center 57%}
.mc-hub-body .latest-grid .article-photo-comparison img{object-position:center 65%}
.mc-hub-body .latest-grid .article-photo-property img{object-position:center 50%}
.mc-hub-body .latest-grid .article-photo-dubai img{object-position:center 58%}
.mc-hub-body .latest-grid .article-photo+div{padding:24px 25px 25px;display:flex;flex:1;flex-direction:column;min-width:0}
.mc-hub-body .latest-grid .feat-card span:last-child{margin-top:auto;padding-top:10px}
@media(max-width:580px){.mc-hub-body .latest-grid .article-photo+div{padding:22px 23px 24px}}

/* Approved audit: compact the mobile introduction without changing its content. */
@media(max-width:580px){
 .mc-hub-body .page-hero{padding:20px 0 20px}
 .mc-hub-body .page-hero .ar-sub{margin-bottom:8px}
 .mc-hub-body .page-hero .rates-refreshed{margin-top:10px}
 .mc-hub-body .page-hero .subtitle{margin-top:10px}
 .mc-hub-body .page-hero:after{margin-top:16px}
 .mc-hub-body .mc-search label{min-height:62px;padding-top:16px;margin-bottom:8px}
 .mc-hub-body .search-kareem{top:-24px}
 .mc-hub-body .hub-content{padding-top:16px}
 .mc-hub-body .hub-tabs{margin-bottom:20px}
 .mc-hub-body .hub-content>.container>.hub-tab-content>.section-lede{margin-bottom:20px}
 .mc-hub-body #tab-guides>.section-lede{padding-bottom:16px}
}
@media(max-width:580px){
 .mc-hub-body .page-hero{padding:12px 0 16px}
 .mc-hub-body .page-hero .ar-sub{margin-bottom:4px}
 .mc-hub-body .page-hero .rates-refreshed{margin-top:6px}
 .mc-hub-body .page-hero .subtitle{margin-top:8px}
 .mc-hub-body .page-hero:after{margin-top:12px}
 .mc-hub-body .hub-tabs{margin-bottom:12px}
 .mc-hub-body .hub-content>.container>.hub-tab-content>.section-lede{gap:16px}
 .mc-hub-body .hub-content>.container>.hub-tab-content>.section-lede p{margin-top:8px}
}

/* Keep the existing refresh date as quiet metadata above the introduction. */
.mc-hub-body .page-hero>.rates-refreshed{position:absolute;top:12px;right:max(16px,calc((100% - 1180px)/2));margin:0;padding:0;border:0;border-radius:0;background:none;color:#756483;font-size:11px;font-weight:500;line-height:1.5;text-align:right}
@media(max-width:580px){
 .mc-hub-body .page-hero{padding-top:34px}
 .mc-hub-body .page-hero>.rates-refreshed{top:8px;right:10px;font-size:11px}
}
