/* 22Media Premium Pro v6.40 — newsroom balance, category integrity & branded command desk */

.m22-home-v7 .m22-command-logo{
  width:48px!important;height:48px!important;padding:3px!important;display:grid!important;place-items:center!important;
  overflow:hidden!important;border-radius:14px!important;background:#fff!important;border:1px solid #dbe6f5!important;
  box-shadow:0 9px 24px rgba(10,66,160,.14)!important;
}
.m22-home-v7 .m22-command-logo .m22-square-logo{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;border-radius:11px!important}

.m22-home-v7 .m22-pulse-grid{grid-template-columns:minmax(0,1fr) 340px!important;gap:20px!important;align-items:stretch!important}
.m22-home-v7 .m22-mostread-panel{
  min-height:100%!important;height:auto!important;align-self:stretch!important;display:flex!important;flex-direction:column!important;
  overflow:hidden!important;border-radius:21px!important;padding:17px!important;
}
.m22-home-v7 .m22-mostread-panel>a{flex:0 0 auto!important}
.m22-home-v7 .m22-home-desk-links{margin-top:auto!important;padding-top:14px!important;border-top:1px solid rgba(255,255,255,.12)!important}
.m22-home-v7 .m22-home-desk-links-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-bottom:9px}
.m22-home-v7 .m22-home-desk-links-head span{font-size:8px;font-weight:950;letter-spacing:.13em;color:#8ebcff}
.m22-home-v7 .m22-home-desk-links-head small{font-size:8px;color:#8297b9}
.m22-home-v7 .m22-home-desk-links-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.m22-home-v7 .m22-home-desk-links-grid a{min-width:0;min-height:33px;padding:7px 9px;display:flex;align-items:center;justify-content:space-between;gap:7px;border-radius:9px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.055);color:#e1ebfb;font-size:9px;font-weight:780;transition:.18s ease}
.m22-home-v7 .m22-home-desk-links-grid a span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.m22-home-v7 .m22-home-desk-links-grid a i{font-size:7px;color:#73a7ff;opacity:.8}
.m22-home-v7 .m22-home-desk-links-grid a:hover{transform:translateY(-1px);background:rgba(52,124,255,.17);border-color:rgba(100,159,255,.34);color:#fff}

.m22-home-v7 .m22-section{overflow:hidden!important;position:relative!important}
.m22-home-v7 .m22-section:nth-of-type(odd){background:linear-gradient(145deg,#fff,#f8fbff)!important}
.m22-home-v7 .m22-section:nth-of-type(even){background:linear-gradient(145deg,#fbfdff,#f5f9ff)!important}
.m22-home-v7 .m22-section .m22-section-head>a{min-height:32px;padding:0 11px;display:inline-flex;align-items:center;gap:7px;border:1px solid #dce7f5;border-radius:10px;background:#fff;font-weight:800!important;box-shadow:0 5px 16px rgba(13,61,133,.04)}
.m22-home-v7 .m22-section .m22-section-head>a:hover{background:#eef5ff;border-color:#c8dbf7;transform:translateY(-1px)}
.m22-home-v7 .m22-feature-card,.m22-home-v7 .m22-section-list>.m22-card-small{background:#fff!important}
.m22-home-v7 .m22-feature-media img,.m22-home-v7 .m22-card-small img{transition:transform .35s ease,filter .35s ease}
.m22-home-v7 .m22-feature-card:hover .m22-feature-media img,.m22-home-v7 .m22-card-small:hover img{transform:scale(1.025)}
.m22-home-v7 img[src*="brand-placeholder"],.m22-listing-grid img[src*="brand-placeholder"]{filter:none!important;object-fit:cover!important;background:#071846!important}

body.m22-dark .m22-home-v7 .m22-command-logo{background:#101a2c!important;border-color:#2a3b56!important}
body.m22-dark .m22-home-v7 .m22-section:nth-of-type(odd),body.m22-dark .m22-home-v7 .m22-section:nth-of-type(even){background:linear-gradient(145deg,#101827,#0d1523)!important}
body.m22-dark .m22-home-v7 .m22-section .m22-section-head>a{background:#111c2d;border-color:#293b55;color:#dce8fa}

@media(max-width:1080px){
  .m22-home-v7 .m22-pulse-grid{grid-template-columns:1fr!important}
  .m22-home-v7 .m22-mostread-panel{min-height:0!important}
  .m22-home-v7 .m22-home-desk-links{margin-top:14px!important}
  .m22-home-v7 .m22-home-desk-links-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:700px){
  .m22-home-v7 .m22-command-logo{width:43px!important;height:43px!important;border-radius:13px!important}
  .m22-home-v7 .m22-home-desk-links-grid{grid-template-columns:1fr 1fr}
  .m22-home-v7 .m22-section .m22-section-head>a{min-height:30px;padding:0 9px;font-size:10px!important}
}
