/* Homepage Intelligence Feeds — one shared compact card system. */
.mm-home-feed-section{background:#fff;direction:rtl;--mm-feed-accent:#0B4C8C}
.mm-home-feed-section--news{margin-top:44px}
.mm-home-feed-section:is(.mm-home-feed-section--news,.mm-home-feed-section--notices,.mm-home-feed-section--projects){padding:32px 0 28px}
.mm-home-feed-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px;text-align:right}
.mm-home-feed-header>div{min-width:0}
.mm-home-feed-eyebrow{display:inline-flex;align-items:center;gap:6px;margin-bottom:5px;padding:3px 9px;border:1px solid rgba(197,154,58,.14);border-radius:999px;background:#F7F2E8;color:#8A641D;font-size:10.5px;font-weight:800;line-height:1.6}
.mm-home-feed-header h2{margin:0;color:#062B58;font-size:27px;font-weight:900;line-height:1.4}
.mm-home-feed-header p{margin:4px 0 0;color:#6F8192;font-size:11.5px;line-height:1.7}
.mm-home-feed-header>a{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:35px;padding:0 12px;border:1px solid #DFE7EE;border-radius:8px;background:#fff;color:#07356B;font-size:11px;font-weight:700;white-space:nowrap}
.mm-home-feed-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}
.mm-home-feed-card{display:flex;flex-direction:column;min-width:0;min-height:294px;background:#fff;border:1px solid #DFE7EE;border-top:2px solid var(--mm-feed-accent);border-radius:11px;overflow:hidden;box-shadow:0 4px 14px rgba(6,43,88,.045)}
.mm-home-feed-image{position:relative;display:block;flex:none;height:124px;overflow:hidden;background:#F7FAFC}
.mm-home-feed-image::after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(transparent,rgba(6,43,88,.18));pointer-events:none}
.mm-home-feed-image img{display:block;width:100%;height:100%;object-fit:cover}
.mm-home-feed-placeholder{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#062B58;background:#F7F2E8;font-size:12px;font-weight:700}
.mm-home-feed-placeholder .mmh-icon{width:34px;height:34px}
.mm-home-feed-body{display:flex;flex:1;flex-direction:column;min-width:0;padding:11px 12px 10px;gap:5px}
.mm-home-feed-project{display:flex;align-items:center;gap:5px;color:#0B4C8C;font-size:10px;font-weight:800;line-height:1.6;min-width:0}
.mm-home-feed-project span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mm-home-feed-project svg{flex:none}
.mm-home-feed-type{position:absolute;z-index:1;top:9px;right:9px;max-width:calc(100% - 18px);padding:3px 8px;border:1px solid rgba(6,43,88,.08);border-radius:6px;background:rgba(255,255,255,.96);color:#07356B;font-size:10px;font-weight:800;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 2px 6px rgba(6,43,88,.06)}
.mm-home-feed-section--notices .mm-home-feed-type{color:#876320}
.mm-home-feed-body h3{margin:0;color:#062B58;font-size:14px;font-weight:800;line-height:1.55;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;flex-shrink:0}
.mm-home-feed-body h3 a{color:inherit}
.mm-home-feed-excerpt{margin:0;font-size:11.5px;line-height:1.65;color:#6F8192;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.mm-home-feed-status{align-self:flex-start;max-width:100%;padding:2px 6px;border-radius:5px;font-size:9px;line-height:1.6}
.mm-home-feed-status--verified{background:#E8F6EE;color:#26734A}
.mm-home-feed-status--source{background:#EDF4FB;color:#315F87}
.mm-home-feed-status--neutral{background:#F7F2E8;color:#8A641D}
.mm-home-feed-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:8px;border-top:1px solid #EDF1F5;font-size:9.5px;color:#6F8192}
.mm-home-feed-meta time{display:inline-flex;align-items:center;gap:5px;line-height:1.6}
.mm-home-feed-meta time svg{flex:none;color:#8DA0B0}
.mm-home-feed-arrow{display:inline-flex;align-items:center;justify-content:center;flex:none;width:28px;height:28px;border:1px solid #062B58;border-radius:50%;background:#062B58;color:#fff;font-size:17px;line-height:1;box-shadow:0 2px 5px rgba(6,43,88,.1)}
.mm-home-feed-arrow:hover{background:#0B4C8C;border-color:#0B4C8C;color:#fff}
.mm-home-feed-header>a:hover{border-color:#0B4C8C;color:#0B4C8C}
.mm-home-feed-image:focus-visible,.mm-home-feed-body a:focus-visible,.mm-home-feed-header>a:focus-visible{outline:2px solid #0B4C8C;outline-offset:-3px}
.mm-home-feed-empty{grid-column:1/-1;display:flex;align-items:center;gap:12px;min-height:72px;padding:15px 18px;border:1px solid #DFE7EE;border-radius:10px;background:#F8FAFC;color:#6F8192}
.mm-home-feed-empty .mmh-icon{flex:none;width:26px;height:26px;color:#0B4C8C}
.mm-home-feed-empty p{margin:0;font-size:12px;line-height:1.7}
/* Preserve the insertion clearance and following section. */
.mm-home-feed-section--notices+.mmh-why{padding-top:48px}
@media(max-width:1024px){
 .mm-home-feed-section--news{margin-top:182px}
 .mm-home-feed-section:is(.mm-home-feed-section--news,.mm-home-feed-section--notices,.mm-home-feed-section--projects){padding-block:28px}
 .mm-home-feed-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .mm-home-feed-header h2{font-size:25px}
}
@media(max-width:768px){
 .mm-home-feed-section--news{margin-top:298px}
 .mm-home-feed-section:is(.mm-home-feed-section--news,.mm-home-feed-section--notices,.mm-home-feed-section--projects){padding-block:24px}
 .mm-home-feed-header{align-items:flex-start;flex-direction:column;gap:10px}
 .mm-home-feed-header h2{font-size:22px}
 .mm-home-feed-grid{grid-template-columns:1fr;gap:14px}
 .mm-home-feed-card{min-height:280px}
 .mm-home-feed-image{height:132px}
 .mm-home-feed-body{padding:11px 12px 10px}
 .mm-home-feed-empty{padding:14px;min-height:72px}
}

/* Project business data uses the existing feed shell, grid, image, body and meta. */
.mmh-projects .mmh-location{margin:0;color:#6F8192;font-size:11px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-shrink:0}
.mmh-projects .mmh-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:0;flex-shrink:0;text-align:center}
.mmh-projects .mmh-metrics>div{min-width:0;padding-inline:2px}
.mmh-projects .mmh-metrics>div+div{border-inline-start:1px solid #EDF1F5}
.mmh-projects .mmh-metrics dt{font-size:11px;line-height:1.4;color:#6F8192;white-space:nowrap}
.mmh-projects .mmh-metrics dd{margin:0;font-size:13px;line-height:1.4;font-weight:800;color:#062B58;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mmh-projects .mmh-actions{font-size:11px;font-weight:700}
.mmh-projects .mmh-button{display:inline-flex;align-items:center;gap:7px;color:#062B58}
.mmh-projects .mmh-button .mm-home-feed-arrow{font-weight:400}
.mmh-projects .mmh-compare{color:#6F8192;font-size:10px;white-space:nowrap}
.mmh-projects .mmh-compare:hover{color:#0B4C8C}

.mmh-projects .mmh-head>a{max-width:none}
