/* Final fidelity layer for the accepted userfix6 shell and category template. */
:root{--fidelity-blue:#0866ff;--fidelity-ink:#0b1933;--fidelity-muted:#536b8d;--fidelity-line:#dfe8f3;--fidelity-footer:#102b42}
body.m74{font-size:16px;line-height:1.55;color:var(--fidelity-ink);background:#f3f7fc;font-family:Inter,Arial,sans-serif}
.m74-site .m74-wrap{width:min(1200px,calc(100% - 48px));padding-left:0!important;padding-right:0!important}
.m74-site .m74-main{padding-bottom:0}
.m74-header{background:#fff;border-bottom:1px solid var(--fidelity-line)}
.m74-header .head-main{height:68px!important;min-height:68px!important;padding-top:0!important;padding-bottom:0!important;gap:20px}
.m74-header .m74-logo{font-size:32px;letter-spacing:-1.6px}
.m74-location{position:relative;font-size:14px;font-weight:700;white-space:nowrap}
.m74-location>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:7px;min-height:44px;padding:10px 8px;border-radius:7px}
.m74-location>summary::-webkit-details-marker{display:none}
.m74-location[open]>summary,.m74-location>summary:hover{background:#f1f6fd}
.m74-location-menu{display:none;position:absolute;z-index:40;top:calc(100% + 5px);left:0;min-width:220px;padding:8px;background:#fff;border:1px solid var(--fidelity-line);border-radius:9px;box-shadow:0 12px 30px #0b193322}
.m74-location[open]>.m74-location-menu{display:block}
.m74-location-menu .m74-city-links{display:grid;grid-template-columns:1fr;list-style:none;margin:0;padding:0}
.m74-location-menu .m74-city-links a{display:block;padding:9px 10px;border-radius:6px;color:#263e60;text-decoration:none}
.m74-location-menu .m74-city-links a:hover{background:#f0f5fc;color:var(--fidelity-blue)}
.m74-header .m74-search{height:42px;max-width:520px;flex:1 1 380px;min-width:120px;background:#f2f6fb;border:1px solid var(--fidelity-line);border-radius:8px}
.m74-header .m74-today{display:block;flex:0 0 auto;margin-left:auto;color:#253e60;font-size:13px;line-height:1.4;text-align:right;white-space:nowrap}
.m74-header .m74-today span{color:var(--fidelity-muted)}
.m74-search input{font:400 14px/1.4 Inter,Arial,sans-serif}
.m74-search button{min-width:42px;min-height:40px;display:grid;place-items:center;color:var(--fidelity-muted)}
.m74-header .m74-account{margin-left:0;white-space:nowrap}
.m74-header .m74-account>.m74-login{display:flex;align-items:center}
.m74-account-guest-actions{display:flex;align-items:center;gap:10px}
.m74-login .login_box>ul{gap:8px}
.m74-login .login_trigger,.m74-login .signup>a{min-height:44px;padding:10px 14px;border:1px solid var(--fidelity-line);border-radius:8px;background:#fff;color:#234269;font-size:14px;font-weight:700;text-decoration:none}
.m74-login .login_trigger:hover,.m74-login .signup>a:hover{border-color:#9bbcff;background:#f8fbff}
.m74-login .login_content{z-index:80}
.m74-login .user_menu a{font-size:14px}
.m74-login .m74-account-user{display:flex;align-items:center;gap:10px}
.m74-login .m74-account-toggle{gap:9px}
.m74-login .m74-account-toggle .m74-chevron{width:14px;height:14px;flex-basis:14px;opacity:.65}
.m74-login .m74-account-toggle svg,.m74-pm-bell svg{display:block;width:20px;height:20px;flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.m74-login .m74-account-avatar{display:block;width:28px;height:28px;flex:0 0 28px;border-radius:50%;object-fit:cover;background:#eaf2ff}
.m74-login .m74-account-name{max-width:140px;overflow:hidden;text-overflow:ellipsis}
.m74-pm-bell{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:44px;padding:8px;color:#234269;text-decoration:none}
.m74-pm-count{display:inline-flex;align-items:center;justify-content:center;min-width:18px;min-height:18px;padding:0 5px;border-radius:10px;background:#eaf2ff;color:#1557bb;font-size:12px;line-height:18px;font-weight:700}
.m74-register-in-popup{display:inline-flex;align-items:center;min-height:42px;margin-top:12px;font-size:14px;font-weight:700}
.m74-login .m74-social-caption{margin-top:8px;font-size:14px;color:#536b8d}
.m74-header .m74-nav,.m74-header .m74-citybar{height:42px;min-height:42px;gap:24px;border-top:1px solid #edf1f6;font-size:14px}
.m74-header .m74-nav a,.m74-header .m74-nav summary,.m74-header .m74-citybar a{min-height:42px;display:inline-flex;align-items:center;padding:0;color:#263d5b;font-size:14px;font-weight:700;white-space:nowrap}
.m74-header .m74-nav a:hover,.m74-header .m74-citybar a:hover{color:var(--fidelity-blue)}
.m74-header .m74-nav details{position:relative}
.m74-header .m74-nav details>div{position:absolute;left:0;top:calc(100% - 1px);z-index:30;width:220px;padding:8px;background:#fff;border:1px solid var(--fidelity-line);border-radius:8px;box-shadow:0 10px 28px #0b193322}
.m74-header .m74-nav details>div a{display:flex;width:100%;min-height:40px;padding:8px 10px}
.m74-header .m74-citybar{overflow:visible;white-space:nowrap}
.m74-header .m74-citybar>.m74-city-links{display:flex;flex-direction:row;align-items:center;gap:24px;width:max-content;min-width:0;height:auto;list-style:none;margin:0;padding:0}
.m74-header .m74-citybar>.m74-city-links>li{display:block;margin:0;padding:0;white-space:nowrap}
.m74-header .m74-citybar>.m74-city-links a{height:42px}
.m74-header .m74-citybar>.m74-city-links a.m74-current-city{min-height:34px;height:34px;padding:0 12px;border-radius:5px;background:var(--fidelity-blue);color:#fff}
.m74-header .m74-citybar>.m74-city-directory-open{display:inline-flex;align-items:center;min-height:42px;padding:0;border:0;background:transparent;color:var(--fidelity-blue);font-size:14px;font-weight:700;white-space:nowrap}
.m74-header .m74-citybar>.m74-city-directory-open:hover{text-decoration:underline}
.m74-city-dialog:not([open]){display:none}
.m74-city-dialog{width:min(760px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:24px;border:1px solid #cad9ed;border-radius:14px;background:#fff;color:var(--fidelity-ink);box-shadow:0 22px 70px #0b193344;overflow:auto}
.m74-city-dialog::backdrop{background:#08172a88;backdrop-filter:blur(2px)}
.m74-city-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 0 18px}
.m74-city-dialog-head h2{margin:0;font-size:24px;line-height:1.25}
.m74-city-dialog-head p{max-width:590px;margin:7px 0 0;color:var(--fidelity-muted);font-size:14px;line-height:1.45}
.m74-city-dialog-close{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border:1px solid var(--fidelity-line);border-radius:50%;background:#fff;color:#365273;font-size:26px;line-height:1}
.m74-city-dialog>label{display:block;margin-bottom:6px;color:#304962;font-size:14px;font-weight:700}
.m74-city-dialog>input{display:block;width:100%;min-height:44px;padding:9px 12px;border:1px solid #cbd9e9;border-radius:8px;font:inherit}
.m74-city-dialog-list{margin-top:16px}
.m74-city-quick{margin:16px 0 20px}
.m74-city-quick h3{margin:0 0 8px;color:#304962;font-size:15px}
.m74-city-quick .m74-city-links{display:flex;flex-wrap:wrap;gap:5px 8px;list-style:none;margin:0;padding:0}
.m74-city-quick .m74-city-links a{display:inline-flex;align-items:center;min-height:34px;padding:6px 9px;border-radius:6px;background:#f1f6fd;color:#244875;font-size:13px;text-decoration:none}
.m74-city-quick .m74-city-links a:hover{background:#e4efff;color:#075bd8}
.m74-city-quick .m74-city-links li[hidden]{display:none!important}
.m74-city-directory-group{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 8px;margin:0 0 18px}
.m74-city-directory-group h3{grid-column:1/-1;margin:0 0 4px;color:#304962;font-size:15px}
.m74-city-directory-group a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;min-height:38px;padding:7px 9px;border-radius:6px;color:#25466f;font-size:14px;line-height:1.25;text-decoration:none;overflow-wrap:anywhere}
.m74-city-directory-group a:hover{background:#eef5ff;color:#075bd8}
.m74-city-directory-group small{flex:0 0 auto;color:var(--fidelity-muted);font-size:11px}
.m74-city-directory-group a[hidden],.m74-city-directory-group[hidden]{display:none!important}
.m74-city-results{margin:10px 0 0;color:var(--fidelity-muted);font-size:13px}
.m74-mobile-menu{display:none}
.m74-skip{position:absolute;left:-9999px;top:8px;z-index:100;background:white;padding:10px}
.m74-skip:focus{left:8px}
/* Footer: retain only confirmed routes and capabilities. */
.m74-footer{padding:28px 0 20px;background:var(--fidelity-footer);color:#fff}
.m74-footer .m74-footer-grid{display:grid;grid-template-columns:1.15fr .9fr .9fr 1.4fr 1.25fr;gap:24px;font-size:14px;line-height:1.55;align-items:stretch}
.m74-footer-grid>div{min-width:0}
.m74-footer-grid>div:not(:first-child){display:flex;flex-direction:column;gap:8px}
.m74-footer .m74-logo{display:inline-block;color:#fff;font-size:28px}
.m74-footer .m74-logo span{color:#67a3ff}
.m74-footer p{margin:7px 0 12px;color:#d1ddec;font-size:14px;line-height:1.5}
.m74-footer small{display:block;color:#c9d8e8;font-size:12px}
.m74-footer b{margin:3px 0 5px;color:#fff;font-size:15px}
.m74-footer a{color:#d1ddec;text-decoration:none;overflow-wrap:anywhere}
.m74-footer a:hover{color:#fff;text-decoration:underline}
.m74-footer .footer-bottom{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:24px;padding-top:16px;border-top:1px solid #ffffff2a;color:#c9d8e8;font-size:12px}
.m74-footer .footer-bottom small{margin-left:auto;font-size:12px}
.m74-footer .social-links{display:flex;align-items:center;gap:12px}
.m74-footer .footer-subscribe p{margin:0;color:#d1ddec}
.m74-footer .footer-subscribe>a{display:inline-flex;align-items:center;min-height:38px;color:#fff;text-decoration:underline}
.m74-footer .footer-city-section>a{min-height:0;margin:0;padding:0;line-height:20px}
.m74-footer .footer-city-section{gap:6px!important}
/* Real DLE category heading, count module, and route-backed chips. */
.m74-inner-layout{grid-template-columns:minmax(0,1fr) 300px;gap:32px;align-items:start}
.m74-inner-main{min-width:0}
.m74-speedbar{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 12px;color:var(--fidelity-muted);font-size:13px}
.m74-category-page{display:block;width:100%;margin:0 auto 28px}
.m74-category-page>.m74-inner-main{width:100%}
.category-hero{display:block;margin:0 0 14px;padding:0;background:transparent;border:0;border-radius:0}
.category-hero .page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;min-width:0;margin:0}
.category-hero .page-heading h1{margin:0;font-size:36px;line-height:1.17;letter-spacing:-.5px;font-weight:800;overflow-wrap:anywhere}
.category-about{margin:6px 0 0;color:var(--fidelity-muted);font-size:14px;line-height:1.5}
.category-about>summary{width:max-content;max-width:100%;cursor:pointer;color:#35669f;font-size:13px;line-height:20px}
.category-hero .category-description{margin:7px 0 0;color:var(--fidelity-muted);font-size:14px;line-height:1.5}
.category-metrics{display:flex;align-items:flex-end;justify-content:flex-end;min-width:max-content;margin-left:auto}
.category-metrics .meta-line{font-size:14px;line-height:20px;color:var(--fidelity-muted)}
.category-chips{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 18px;padding:0}
.category-chips .chip{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 12px;border:1px solid #dfe8f3;border-radius:18px;background:#fff;color:#425978;font-size:13px;line-height:20px;text-decoration:none;white-space:nowrap}
.category-chips .chip:hover{border-color:#8bb3ff;color:#0757d8}
.category-chips .chip.active,.category-chips .chip[aria-current=page]{border-color:var(--fidelity-blue);background:var(--fidelity-blue);color:#fff;font-weight:750;box-shadow:0 0 0 2px #0866ff22}
.m74-category-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:16px;min-width:0}
.m74-category-list .image-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;padding:0;border:1px solid var(--fidelity-line);border-radius:8px;background:#fff}
.m74-category-list .image-card-photo{display:block;position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:#e9eff7}
.m74-category-list .image-card-photo img{display:block;width:100%;height:100%;aspect-ratio:16/9;object-fit:cover}
.m74-category-list .image-card-photo.is-empty:after{content:"Изображение недоступно";position:absolute;inset:0;display:grid;place-items:center;padding:14px;color:#536b8d;font-size:14px;text-align:center}
.m74-category-list .image-card-body{display:flex;flex:1;flex-direction:column;align-items:flex-start;min-width:0;padding:12px 14px 14px}
.m74-category-list .image-card-body>.tag{display:inline-flex;align-items:center;min-height:22px;padding:3px 8px;border-radius:5px;background:#eaf2ff;color:#1557bb;font-size:12px;line-height:16px;font-weight:700}
.m74-category-list .image-card h3{margin:7px 0 5px;font-size:17px;line-height:1.35;font-weight:750;overflow-wrap:anywhere}
.m74-category-list .image-card h3 a{color:var(--fidelity-ink);text-decoration:none}
.m74-category-list .image-card h3 a:hover{color:var(--fidelity-blue)}
.m74-category-list .image-card p{margin:0 0 8px;color:var(--fidelity-muted);font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.m74-category-list .image-card .meta-line{display:flex;flex-wrap:wrap;gap:6px 12px;width:100%;margin-top:auto;padding-top:8px;border-top:1px solid #edf1f6;color:var(--fidelity-muted);font-size:14px;line-height:20px;overflow-wrap:anywhere}
.m74-category-list>.m74-pagination,.m74-category-list>.navigation,.m74-category-list>.navigation_box{grid-column:1/-1}
.m74-pagination,.m74-category-list .navigation_box{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;margin:18px 0 0;padding:10px 0}
.m74-pagination a,.m74-pagination span,.m74-page-link,.m74-page-numbers a,.m74-page-numbers span,.navigation_box a,.navigation_box span{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;padding:7px 11px;border:1px solid var(--fidelity-line);border-radius:7px;background:#fff;color:#25466f;text-decoration:none}
.m74-trustlink-wrap{width:min(1200px,calc(100% - 48px));margin:24px auto;}
.m74-trustlink{margin:0;padding:16px 18px;border:1px solid #9fc2fa;border-radius:8px;background:#fff;color:var(--fidelity-ink);column-count:2;column-gap:24px;overflow:hidden;overflow-wrap:anywhere}
.m74-trustlink.is-empty{display:none}
.m74-trustlink a{color:#075bd8;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
.m74-inner-sections{margin:24px 0}
.m74-inner-sections>h2{margin:0 0 12px;font-size:21px;line-height:1.3;font-weight:750}
.m74-bottom-nav{display:none}
.m74-category-list .image-card p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3}
.m74-category-list .image-card h3{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3}
@media(max-width:1199px){.m74-category-list{grid-template-columns:repeat(2,minmax(0,1fr))}.m74-footer .m74-footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:950px){.m74-inner-layout{grid-template-columns:minmax(0,1fr);gap:20px}.m74-inner-layout .m74-rail{grid-column:1;grid-row:2;position:static;max-height:none;overflow:visible}.m74-inner-layout .m74-inner-main{grid-column:1;grid-row:1}}
@media(max-width:767px){
 .m74-site .m74-wrap{width:calc(100% - 32px)}
 .m74-header .head-main{height:60px!important;min-height:0!important;padding:0!important;gap:6px;flex-wrap:nowrap}
 .m74-header .m74-logo{font-size:27px}
 .m74-header .m74-search{display:none}
 .m74-header .m74-account{width:auto;max-width:none;flex:0 0 auto;margin-left:auto;white-space:nowrap}
 .m74-header .m74-today{display:none}
 .m74-account-guest-actions{gap:4px}
 .m74-login .login_box>ul{gap:5px}
 .m74-login .login_trigger,.m74-login .signup>a{min-height:38px;min-width:38px;padding:6px 8px;font-size:13px}
 .m74-login .m74-account-guest .login_trigger span,.m74-login .m74-account-user .m74-account-name{display:none}
 .m74-login .m74-account-toggle .m74-chevron{display:none}
 .m74-login .m74-account-user{gap:4px}
 .m74-login .m74-account-toggle{min-width:42px;justify-content:center;padding:7px}
 .m74-login .m74-account-avatar{width:28px;height:28px}
 .m74-pm-bell{min-width:38px;min-height:38px;padding:4px}
 .m74-pm-count{position:absolute;top:0;right:0;min-width:16px;min-height:16px;font-size:10px;line-height:16px}
 .m74-header .m74-nav{height:0;min-height:0;overflow:hidden;border:0}
 .m74-header .m74-citybar{height:40px;min-height:40px;overflow-x:auto;overflow-y:hidden;gap:18px}
 .m74-header .m74-citybar>.m74-city-links{gap:18px}
 .m74-header .m74-citybar>.m74-city-directory-open{min-height:40px;font-size:13px}
 .m74-mobile-menu:not([hidden]){position:absolute;z-index:50;top:60px;right:12px;left:12px;display:flex;flex-direction:column;gap:0;max-height:calc(100dvh - 82px);overflow:auto;padding:8px;border:1px solid var(--fidelity-line);border-radius:10px;background:#fff;box-shadow:0 12px 32px #0b193322}
 .m74-mobile-menu>a{display:block;min-height:44px;padding:11px 10px;border-bottom:1px solid #edf1f6;color:#263e60;text-decoration:none}
 .m74-mobile-menu .m74-city-links a{display:block;min-height:44px;padding:11px 10px;border-bottom:1px solid #edf1f6;color:#263e60;text-decoration:none}
 .m74-inner-layout{grid-template-columns:minmax(0,1fr);gap:18px}
 .category-hero{padding:0}
 .category-hero .page-heading{flex-wrap:wrap;align-items:flex-end}
 .category-hero .page-heading h1{font-size:28px;line-height:1.2}
 .category-metrics{justify-content:flex-start;min-width:0;margin-left:0}
 .category-chips{gap:7px;margin-bottom:14px}
 .m74-category-list{grid-template-columns:minmax(0,1fr);gap:12px}
 .m74-category-list .image-card h3{font-size:17px;line-height:1.35}
 .m74-footer{padding:20px 0 calc(86px + env(safe-area-inset-bottom))}
 .m74-footer .m74-footer-grid{grid-template-columns:1fr 1fr;gap:18px 14px}
 .m74-footer-grid>div:first-child,.m74-footer-grid>div:last-child{grid-column:1/-1}
 .m74-footer .footer-bottom{align-items:flex-start;flex-direction:column;gap:12px}
 .m74-footer .footer-bottom small{margin-left:0}
 .m74-bottom-nav{position:fixed;z-index:40;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));min-height:62px;padding:6px 0 max(6px,env(safe-area-inset-bottom));border-top:1px solid var(--fidelity-line);background:#fff}
 .m74-bottom-nav a,.m74-bottom-nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;min-width:0;min-height:48px;padding:2px 4px;border:0;background:none;color:#526b8e;font-size:12px;line-height:1.2;text-decoration:none}
 .m74-bottom-nav i{color:var(--fidelity-blue);font-size:19px}
 .m74-bottom-nav span{font-size:11px}
 .m74-cookie{bottom:calc(62px + env(safe-area-inset-bottom));padding:12px 16px}
 .m74-top-button{right:14px;bottom:82px}
}
@media(max-width:767px){
 body.m74-mobile-search-open .m74-header .head-main{height:auto;min-height:60px;flex-wrap:wrap;padding-top:8px;padding-bottom:8px}
 body.m74-mobile-search-open .m74-header .m74-search{display:flex;order:5;flex:0 0 100%;width:100%;max-width:none;margin:0 0 4px}
 .m74-trustlink{column-count:1}
 .m74-city-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:18px}
 .m74-city-dialog-head h2{font-size:21px}
 .m74-city-directory-group{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){.m74-category-list{grid-template-columns:minmax(0,1fr)}.m74-footer .m74-footer-grid{grid-template-columns:1fr 1fr}.m74-inner-main>h1{font-size:28px}}
@media(max-width:359px){.m74-header .head-main{gap:4px}.m74-header .m74-logo{font-size:25px}.m74-location{font-size:12px}.m74-header .m74-location>summary{min-height:38px;padding:7px 3px}.m74-account-guest-actions{gap:3px}.m74-login .login_trigger,.m74-login .signup>a,.m74-pm-bell{min-width:34px;min-height:34px;padding:4px}.m74-header .menu-toggle{width:34px;min-width:34px;height:38px;padding:4px}.category-chips{flex-wrap:nowrap;max-width:100%;overflow-x:auto;padding:2px 1px 7px;scrollbar-width:thin;scrollbar-color:#8bb3ff #e8eff8;mask-image:linear-gradient(to right,#000 93%,transparent)}.category-chips::-webkit-scrollbar{height:4px}.category-chips::-webkit-scrollbar-thumb{border-radius:4px;background:#8bb3ff}.category-chips .chip{flex:0 0 auto}.m74-login .login_trigger,.m74-login .signup>a{font-size:12px}}

/* Native article and comments fidelity: scoped away from category/home layouts. */
.m74-article-page{grid-template-columns:minmax(0,820px) minmax(250px,300px);gap:32px;justify-content:start;align-items:start}
.m74-article-page>.m74-inner-main{grid-column:1;grid-row:1;max-width:820px;min-width:0}
.m74-article-page>.m74-rail{grid-column:2;grid-row:1;min-width:0}
.m74-article{min-width:0;margin:0;color:var(--fidelity-ink)}
.m74-article-header{margin:0 0 18px}
.m74-article-category{display:inline-flex;align-items:center;min-height:24px;margin:0 0 8px;padding:3px 9px;border-radius:5px;background:#eaf2ff;color:#1557bb;font-size:13px;line-height:18px;font-weight:700}
.m74-article-title{margin:0 0 7px;color:var(--fidelity-ink);font-size:36px;line-height:1.17;letter-spacing:-.55px;font-weight:800;overflow-wrap:anywhere}
.m74-article-lead{margin:0 0 13px;color:#435978;font-size:18px;line-height:28px;overflow-wrap:anywhere}
.m74-article-byline{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin:12px 0 16px;color:var(--fidelity-muted);font-size:14px;line-height:20px}
.m74-article-byline .reading-time{color:var(--fidelity-muted);font-size:14px;line-height:20px;}
.m74-article-author-mark{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border:1px solid #dce7f5;border-radius:50%;background:#edf4fc;color:#6781a4}
.m74-article-author-mark svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.m74-article-author{color:var(--fidelity-ink);font-size:14px;font-weight:700}
.m74-article-date,.m74-article-stat{font-size:14px;line-height:20px;color:var(--fidelity-muted);text-decoration:none}
.m74-article-stat:hover{color:var(--fidelity-blue)}
.m74-article-tools{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px;margin:-4px 0 14px}
.m74-article-size{display:inline-flex;align-items:center;gap:3px;padding:3px;border:1px solid var(--fidelity-line);border-radius:7px;background:#fff}
.m74-article-size button,.m74-article-share{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;padding:7px 10px;border:1px solid transparent;border-radius:5px;background:#fff;color:#25466f;font:600 14px/20px Inter,Arial,sans-serif;cursor:pointer}
.m74-article-size button[aria-pressed=true],.m74-article-size button:hover,.m74-article-share:hover{border-color:#cbdcf4;background:#eef5ff;color:#075bd8}
.m74-article-share{gap:7px;border-color:var(--fidelity-line);font-weight:650}
.m74-article-tools>a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 10px;border:1px solid var(--fidelity-line);border-radius:5px;background:#fff;color:#25466f;font-size:14px;line-height:20px;text-decoration:none}
.m74-article-tools>a:hover{border-color:#cbdcf4;background:#eef5ff;color:#075bd8}
.m74-article-status{margin:0 0 12px;padding:8px 10px;border-radius:6px;background:#edf5ff;color:#264a77;font-size:14px;line-height:20px}
.m74-article-edit{font-size:13px}
.m74-article-body{min-width:0}
.m74-article-body.fullstory_content{color:#172b4b;font-size:18px;line-height:1.62;overflow-wrap:anywhere}
.m74-article-body p{margin:0 0 1.15em}
.m74-article-body h2{margin:1.3em 0 .55em;color:var(--fidelity-ink);font-size:24px;line-height:1.3}
.m74-article-body h3{margin:1.2em 0 .5em;font-size:21px;line-height:1.3}
.m74-article-body blockquote{margin:1.2em 0;padding:14px 20px;border-left:4px solid var(--fidelity-blue);background:#f4f8ff;color:#425978}
.m74-article-body :is(img,video,iframe,table){max-width:100%}
.m74-article-body img{height:auto;border-radius:8px}
.m74-article-body>img:first-child,.m74-article-body>p:first-child img,.m74-article-body>figure:first-child img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px}
.m74-article-body[data-article-size=small]{font-size:16px;line-height:26px}
.m74-article-body[data-article-size=normal]{font-size:18px;line-height:29px}
.m74-article-body[data-article-size=large]{font-size:20px;line-height:32px}
.m74-article-body[data-article-size] :is(h2,h3){font-size:1.35em;line-height:1.3}
.m74-article-taxonomy{display:grid;gap:8px;margin:22px 0;color:var(--fidelity-muted);font-size:14px;line-height:20px}
.m74-article-tags{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
.m74-article-tags>a,.m74-article-tags .tag{display:inline-flex;align-items:center;min-height:30px;padding:4px 9px;border:1px solid var(--fidelity-line);border-radius:16px;background:#fff;color:#315b8c;text-decoration:none}
.m74-article-categories a{color:#075bd8;text-decoration:none}
.m74-article-vk-note{margin:16px 0;color:var(--fidelity-muted);font-size:14px;line-height:1.5}
.m74-article-rating{display:flex;align-items:center;justify-content:flex-end;min-height:48px;margin:20px 0;border-block:1px solid var(--fidelity-line);padding:10px 0}
.m74-article-rating .rate{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.m74-article-rating :is(a,button){color:#25466f}
.m74-article .m74-native-banner{margin:20px 0;max-width:100%;overflow:hidden}
.m74-article-related{margin:24px 0 26px}
.m74-article-related .content_box{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:12px}
.m74-article-related .content_box_title{grid-column:1/-1;margin:0 0 2px;color:var(--fidelity-ink);font-size:22px;line-height:28px;font-weight:800}
.m74-related-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--fidelity-line);border-radius:8px;background:#fff}
.m74-related-photo{display:block;position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:#e9eff7}
.m74-related-photo img{display:block;width:100%;height:100%;aspect-ratio:16/9;object-fit:cover}
.m74-related-photo.is-empty:after{content:"Изображение недоступно";position:absolute;inset:0;display:grid;place-items:center;color:var(--fidelity-muted);font-size:13px}
.m74-related-body{display:flex;flex:1;flex-direction:column;min-width:0;padding:9px 10px 10px}
.m74-related-body h3{margin:0 0 7px;font-size:16px;line-height:21px;overflow-wrap:anywhere}
.m74-related-body h3 a{color:var(--fidelity-ink);text-decoration:none}
.m74-related-meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 8px;margin-top:auto;color:var(--fidelity-muted);font-size:13px;line-height:19px}
.m74-article-comments{margin:26px 0 18px;padding:0;border-top:1px solid var(--fidelity-line)}
.m74-article-comments>.content_box_title{margin:14px 0 12px;color:var(--fidelity-ink);font-size:22px;line-height:28px}
.m74-article-comments>.content_box_title a{color:inherit;text-decoration:none}
.m74-article-comments>.content_box_title span{margin-left:5px;color:var(--fidelity-muted);font-size:16px;font-weight:600}
.m74-no-comments{margin:0 0 14px;color:var(--fidelity-muted);font-size:15px}
.m74-article-comments .m74-comments{font-size:15px;line-height:1.6}
.m74-article-comments .comment_box{padding:14px 0;border:0;border-bottom:1px solid #edf1f6;border-radius:0;background:transparent}
.m74-article-comments .comment_avatar:empty{position:relative;border-radius:50%;background:#eaf2ff}
.m74-article-comments .comment_avatar:empty:before{position:absolute;top:8px;left:15px;width:12px;height:12px;border-radius:50%;background:#8da7c8;content:""}
.m74-article-comments .comment_avatar:empty:after{position:absolute;bottom:7px;left:8px;width:26px;height:14px;border-radius:14px 14px 8px 8px;background:#8da7c8;content:""}
.m74-article-comments .comment_text .text{font-size:15px;line-height:1.6;overflow-wrap:anywhere}
.m74-article-comments .comment_user b{font-size:15px}
.m74-article-comments .comment_user{font-size:14px;line-height:20px}
.m74-article-comments .comment_meta li{font-size:13px}
.m74-article-comments .comment_rating{font-size:13px}
.m74-article-page .m74-article-rail-panel{padding:16px;border:1px solid var(--fidelity-line);border-radius:9px;background:#fff}
.m74-article-page .m74-article-rail-panel h2{margin:0 0 12px;color:var(--fidelity-ink);font-size:20px;line-height:26px;font-weight:800}
.m74-rail-popular-item{display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px;min-width:0;padding:0 0 11px;border-bottom:1px solid var(--fidelity-line)}
.m74-rail-popular-item:last-child{padding-bottom:0;border-bottom:0}
.m74-rail-popular-photo{display:block;position:relative;width:90px;aspect-ratio:16/9;overflow:hidden;border-radius:5px;background:#e9eff7}
.m74-rail-popular-photo img{display:block;width:100%;height:100%;object-fit:cover}
.m74-rail-popular-copy{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0}
.m74-rail-popular-title{color:var(--fidelity-ink);font-size:14px;line-height:1.4;font-weight:700;overflow-wrap:anywhere;text-decoration:none}
.m74-rail-popular-title:hover{color:var(--fidelity-blue)}
.m74-rail-popular-meta{display:flex;flex-wrap:wrap;gap:3px 8px;margin-top:auto;color:var(--fidelity-muted);font-size:12px;line-height:17px}
.m74-article-page .m74-rail-ad{padding:12px;border:1px solid var(--fidelity-line);border-radius:9px;background:#fff;overflow:hidden}
.m74-article-page .m74-rail-ad:empty,.m74-article-page .m74-article-rail-panel.is-empty{display:none}
.m74-article-page .natural-rail.is-empty{display:none}
.m74-article-page:has(>.natural-rail.is-empty){grid-template-columns:minmax(0,820px)}
.m74-article-related.is-empty{display:none}
.m74-article-size button:focus-visible,.m74-article-share:focus-visible{outline:3px solid #0866ff66;outline-offset:2px}
@media(max-width:1199px){.m74-article-page{grid-template-columns:minmax(0,1fr) 280px;gap:20px}.m74-article-page>.m74-inner-main{max-width:none}}
@media(max-width:950px){.m74-article-page{grid-template-columns:minmax(0,1fr);gap:20px}.m74-article-page>.m74-rail{grid-column:1;grid-row:2}}
@media(max-width:767px){.m74-article-title{font-size:29px;line-height:35px}.m74-article-lead{font-size:17px;line-height:25px}.m74-article-byline{align-items:flex-start;gap:7px 10px}.m74-article-body.fullstory_content[data-article-size=normal]{font-size:16px;line-height:25px}.m74-article-body[data-article-size=small]{font-size:16px;line-height:24px}.m74-article-body[data-article-size=large]{font-size:18px;line-height:28px}.m74-article-tools{justify-content:flex-start;margin:10px 0 14px}.m74-article-related .content_box{gap:8px}.m74-related-body{padding:8px 7px}.m74-related-body h3{font-size:15px;line-height:20px}.m74-related-meta{font-size:12px;line-height:17px}.m74-article-page>.m74-rail{position:static;max-height:none;overflow:visible}.m74-article-comments .comment_text .text{font-size:14px;line-height:1.55}}
@media(max-width:420px){.m74-article-related .content_box{grid-template-columns:minmax(0,1fr)}.m74-related-body h3{font-size:16px;line-height:22px}.m74-related-meta{font-size:14px;line-height:20px}.m74-article-comments .comment_box{padding:10px 0}.m74-article-comments .comment_user b{font-size:14px}.m74-article-comments .comment_user{font-size:13px}.m74-article-comments .comment_text .text{font-size:14px;line-height:22px}}

/* Article page has its own content + rail grid; the CMS shell stays single-column. */
.m74-article-page{display:block;}
.m74-article-page>.m74-inner-main{display:block;width:100%;max-width:none;min-width:0;grid-column:auto;grid-row:auto;}
.m74-native-article-layout{display:grid;grid-template-columns:minmax(0,820px) minmax(250px,300px);gap:32px;justify-content:start;align-items:start;min-width:0;width:100%;}
.m74-native-article-layout>.m74-article{grid-column:1;grid-row:1;min-width:0;max-width:100%;}
.m74-article-sidebar{grid-column:2;grid-row:1;display:grid;align-content:start;gap:16px;min-width:0;}
.m74-article-sidebar .m74-article-rail-panel{padding:16px;border:1px solid var(--fidelity-line);border-radius:9px;background:#fff;}
.m74-article-sidebar .m74-article-rail-panel>h2{margin:0 0 12px;color:var(--fidelity-ink);font-size:20px;line-height:26px;font-weight:800;}
.m74-article-side-related{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:12px;min-width:0;}
.m74-article-side-related>h2{grid-column:1/-1;}
.m74-article-side-related>.m74-related-card{min-width:0;}
.m74-article-side-related>.m74-related-card:nth-of-type(n+4){display:none;}
.m74-article-sidebar .m74-article-side-tags .m74-article-tags{display:flex;flex-wrap:wrap;gap:7px;}
.m74-article-sidebar .m74-rail-ad{max-width:100%;overflow:hidden;}
.m74-native-article-layout>.natural-rail.is-empty{display:none;}
.m74-native-article-layout:has(>.natural-rail.is-empty){grid-template-columns:minmax(0,820px);}
.m74-article-body .m74-article-cover-image{display:block;width:auto!important;max-width:100%!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;margin-inline:auto;border-radius:8px;}
.m74-article-body .m74-article-cover-wrap{display:block;width:auto!important;max-width:none!important;}
@media(max-width:1199px){.m74-native-article-layout{grid-template-columns:minmax(0,1fr) 280px;gap:20px;}}
@media(max-width:950px){.m74-native-article-layout{grid-template-columns:minmax(0,1fr);gap:20px;}.m74-article-sidebar{grid-column:1;grid-row:2;position:static;top:auto;max-height:none;overflow:visible;}}
@media(max-width:767px){.m74-native-article-layout{grid-template-columns:minmax(0,1fr);}.m74-article-sidebar{position:static;max-height:none;overflow:visible;}}
@media(min-width:768px){.m74-site .m74-pm-bell{display:inline-flex;align-items:center;justify-content:center;width:40px;min-width:40px;height:40px;min-height:40px;margin:0;padding:0;border:1px solid #dce5f0;border-radius:50%;background:transparent;color:#526b8e;box-shadow:none;}.m74-site .m74-pm-bell svg{width:20px;height:20px;flex:0 0 20px;}}

/* Final narrow viewport fixes: retain the real account actions and wrap long DLE pagination. */
@media(max-width:767px){
 .m74-site .m74-header .head-main .m74-account{width:auto!important;max-width:none!important;min-width:0;flex:0 0 auto;margin-left:auto}
 .m74-site .m74-header .head-main .m74-account .m74-account-guest-actions{display:flex;flex:0 0 auto;gap:4px;min-width:0}
 .m74-site .m74-header .head-main .m74-account .m74-login .login_trigger,
 .m74-site .m74-header .head-main .m74-account .m74-login .signup>a,
 .m74-site .m74-header .head-main .m74-account .m74-pm-bell{box-sizing:border-box;width:40px;min-width:40px;max-width:40px;min-height:40px;padding:4px;justify-content:center}
 .m74-site .m74-header .head-main .m74-account .m74-login .m74-account-guest .login_trigger span{display:none}
 .m74-pagination{width:100%;min-width:0;display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
 .m74-pagination>[class*="prev"],.m74-pagination>[class*="next"]{min-width:0;max-width:100%;flex:0 1 auto}
 .m74-pagination .m74-page-numbers{display:flex;flex:1 0 100%;flex-wrap:wrap;justify-content:center;gap:6px;width:100%;min-width:0;max-width:100%;min-height:0;padding:0;border:0;border-radius:0;background:transparent}
 .m74-pagination .m74-page-numbers>a,.m74-pagination .m74-page-numbers>span{flex:0 0 auto;min-width:34px;max-width:100%;padding:6px 8px}
 .m74-pagination .m74-page-numbers>*:not(a){display:flex;flex:1 1 100%;flex-wrap:wrap;justify-content:center;gap:6px;min-width:0;max-width:100%;min-height:0;padding:0;border:0;border-radius:0;background:transparent}
 .m74-pagination .m74-page-numbers>*:not(a)>:is(a,span){flex:0 0 auto;min-width:34px;max-width:100%;min-height:38px;padding:6px 8px}
}
@media(max-width:359px){
 .m74-site .m74-header .head-main .m74-account .m74-login .login_trigger,
 .m74-site .m74-header .head-main .m74-account .m74-login .signup>a,
 .m74-site .m74-header .head-main .m74-account .m74-pm-bell{width:36px;min-width:36px;max-width:36px;min-height:36px}
}
@media(max-width:767px){
 .m74-site .m74-header .head-main>.m74-account{display:none}
 .m74-site .m74-mobile-menu .m74-account{display:block;width:auto;max-width:none;margin:10px 0;padding:8px}
 .m74-site .m74-mobile-menu .m74-account-guest-actions{justify-content:flex-start;width:auto;gap:8px}
 .m74-site .m74-mobile-menu .login_trigger span{display:inline}
 .m74-site .m74-mobile-menu .login_trigger{width:auto;max-width:none;font-size:14px!important}
 .m74-site .m74-mobile-menu .login_content{position:static;width:100%;margin-top:10px;box-shadow:none}
}
.m74-site .m74-mobile-menu .m74-mobile-account-slot{display:block;order:-1;min-width:0;padding:0 0 8px;margin:0 0 6px;border-bottom:1px solid #edf1f6}
@media(max-width:1023px){
 .m74-site .m74-header .head-main{height:60px!important;min-height:60px!important;gap:8px}
 .m74-site .m74-header .m74-today,.m74-site .m74-header .m74-search,.m74-site .m74-header .m74-nav,.m74-site .m74-header .m74-citybar{display:none!important}
 .m74-site .m74-header .head-main>.m74-account{display:none}
 .m74-site .m74-header .head-main>.menu-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;min-width:40px;height:40px}
 .m74-site .m74-mobile-menu:not([hidden]){position:absolute;z-index:100;top:60px;right:12px;left:12px;width:auto!important;max-width:420px;margin-left:auto;margin-right:auto;display:flex;flex-direction:column;gap:0;max-height:calc(100dvh - 82px);overflow:auto;padding:8px;border:1px solid var(--fidelity-line);border-radius:10px;background:#fff;box-shadow:0 12px 32px #0b193322}
 .m74-site .m74-mobile-account-slot>.m74-account{display:block;width:auto;max-width:none;margin:0;padding:0}
 .m74-site .m74-mobile-account-slot .m74-account-guest-actions{display:flex;align-items:flex-start;justify-content:flex-start;gap:8px;width:100%;min-width:0}
 .m74-site .m74-mobile-account-slot .m74-account-guest-actions>.login_box{flex:1 1 auto;min-width:0}
 .m74-site .m74-mobile-account-slot .m74-account-guest-actions>.login_box>ul,
 .m74-site .m74-mobile-account-slot .m74-account-guest-actions>.login_box>ul>li{display:block;width:100%;min-width:0}
 .m74-site .m74-mobile-account-slot .login_trigger span{display:inline}
 .m74-site .m74-mobile-account-slot .login_content{position:static!important;left:auto!important;right:auto!important;top:auto!important;width:100%!important;max-width:none!important;max-height:none;overflow:visible;margin-top:10px;padding:16px;box-sizing:border-box;box-shadow:none}
 .m74-site .m74-mobile-account-slot .login_content form{width:100%;min-width:0}
 .m74-site .m74-mobile-account-slot .login_content :is(input[type="text"],input[type="password"]){display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box}
 .m74-site .m74-mobile-account-slot :is(.login_trigger,.signup>a){width:auto;max-width:100%;min-width:0;padding:8px 12px;font-size:14px!important}
}
/* Home page controls: keep the latest-news title and its route link on separate safe tracks. */
.m74-site .m74-main:has(>.service-ribbon) .latest .section-heading{height:auto;min-height:32px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 8px}
.m74-site .m74-main:has(>.service-ribbon) .latest .section-heading h2{flex:1 1 160px;min-width:0;overflow-wrap:anywhere}
.m74-site .m74-main:has(>.service-ribbon) .latest .section-heading a{flex:0 0 auto;white-space:nowrap}
/* Give DLE's native tags cloud deliberate wrapping and readable frequency weights. */
.m74-tagcloud{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;padding:8px 0;overflow-wrap:anywhere}
.m74-tagcloud>[class^="clouds_"],.m74-tagcloud>[class*=" clouds_"]{display:inline-flex;align-items:center;max-width:100%;min-height:34px;margin:0;padding:0;border:1px solid #d8e5f6;border-radius:18px;background:#f7faff;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
.m74-tagcloud>[class^="clouds_"] a,.m74-tagcloud>[class*=" clouds_"] a{display:inline-flex;max-width:100%;padding:6px 11px;color:#24568f;text-decoration:none;font-size:14px;line-height:20px}
.m74-tagcloud .clouds_xsmall a{font-size:12px}.m74-tagcloud .clouds_small a{font-size:13px}.m74-tagcloud .clouds_medium a{font-size:14px}.m74-tagcloud .clouds_large a{font-size:16px}.m74-tagcloud .clouds_xlarge a{font-size:18px;font-weight:700}
.m74-tagcloud-heading{margin:0 0 10px;font-size:24px;line-height:1.25;font-weight:800}
.m74-category-popular .m74-rail-popular-item{grid-template-columns:90px minmax(0,1fr);gap:10px;align-items:start}
.m74-category-popular .m74-rail-popular-photo{width:90px;aspect-ratio:16/9}
.m74-category-popular .m74-rail-popular-title{display:block;font-size:14px;line-height:20px;overflow-wrap:anywhere}
.m74-category-popular .m74-rail-popular-meta{display:flex;flex-wrap:wrap;gap:3px 8px;font-size:12px;line-height:17px}
.m74-site .m74-footer .cookie-settings-trigger{width:auto;min-height:0;align-self:flex-start;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:#d1ddec;font:inherit;font-size:14px;line-height:20px;text-align:left}
.m74-site .m74-footer .cookie-settings-trigger:hover{text-decoration:underline;text-underline-offset:2px}
/* Cached DLE tag-cloud output keeps clouds_xsmall…xlarge spans without this template's wrapper. */
.m74-site .m74-simple-content .basecont:has(>[class^="clouds_"]),
.m74-site .m74-simple-content .basecont:has(>[class*=" clouds_"]){display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;max-width:100%;overflow-wrap:anywhere}
.m74-site .m74-simple-content .basecont>[class^="clouds_"],
.m74-site .m74-simple-content .basecont>[class*=" clouds_"]{display:inline-flex;align-items:center;max-width:100%;min-height:34px;margin:0;padding:0;border:1px solid #d8e5f6;border-radius:18px;background:#f7faff;line-height:1.35;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
.m74-site .m74-simple-content .basecont>[class^="clouds_"] a,
.m74-site .m74-simple-content .basecont>[class*=" clouds_"] a{display:inline-flex;max-width:100%;padding:6px 11px;color:#24568f;text-decoration:none;font-size:14px;line-height:20px;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
.m74-site .m74-simple-content .basecont .clouds_xsmall a{font-size:12px}.m74-site .m74-simple-content .basecont .clouds_small a{font-size:13px}.m74-site .m74-simple-content .basecont .clouds_medium a{font-size:14px}.m74-site .m74-simple-content .basecont .clouds_large a{font-size:16px}.m74-site .m74-simple-content .basecont .clouds_xlarge a{font-size:18px;font-weight:700}
.m74-site .m74-simple-content:has(.basecont:has(>[class^="clouds_"]))>.heading,.m74-site .m74-simple-content:has(.basecont:has(>[class*=" clouds_"]))>.heading{margin:0 0 12px;font-size:24px;line-height:1.25;font-weight:800}
.m74-site .tag_list{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px;min-width:0;max-width:100%;overflow-wrap:anywhere}
.m74-site .tag_list>span{display:inline-flex;max-width:100%;min-width:0;margin:0}
.m74-site .tag_list>span>a{max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
/* Use the shared image-top card pattern for category and article popular lists. */
.m74-site :is(.m74-category-popular,.m74-article-rail-panel) .m74-rail-popular-item{display:flex;flex-direction:column;gap:8px;min-width:0;padding:10px 0;border-bottom:1px solid var(--fidelity-line)}
.m74-site :is(.m74-category-popular,.m74-article-rail-panel) .m74-rail-popular-photo{display:block;width:100%;height:auto;aspect-ratio:16/9;overflow:hidden}
.m74-site :is(.m74-category-popular,.m74-article-rail-panel) .m74-rail-popular-photo img{display:block;width:100%;height:100%;object-fit:cover}
.m74-site :is(.m74-category-popular,.m74-article-rail-panel) .m74-rail-popular-copy{display:flex;flex-direction:column;gap:6px;min-width:0}
.m74-site :is(.m74-category-popular,.m74-article-rail-panel) .m74-rail-popular-title{font-size:16px;line-height:22px;overflow-wrap:anywhere;word-break:normal}
.m74-site :is(.m74-category-popular,.m74-article-rail-panel) .m74-rail-popular-meta{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:0;font-size:12px;line-height:18px}
@media(max-width:767px){.m74-site .m74-simple-content .basecont:has(>[class^="clouds_"]),.m74-site .m74-simple-content .basecont:has(>[class*=" clouds_"]){padding:0;gap:7px}}
@media(max-width:767px){
 .m74-site .m74-main:has(>.service-ribbon) .latest .section-heading{align-items:flex-start}
 .m74-site .m74-main:has(>.service-ribbon) .latest .section-heading h2{flex-basis:160px}
}
.footer-subscribe .subscribe{display:grid;gap:8px;margin-top:8px}
.footer-subscribe .subscribe input{width:100%;min-height:38px;border-radius:7px;border:1px solid #cfdef0;background:#fff;padding:8px 12px;color:#163653;font-size:14px;opacity:1}
.footer-subscribe .subscribe button{width:100%;min-height:38px;border:0;border-radius:7px;background:#0866ff;color:#fff;font-size:14px;opacity:1}
.footer-subscribe .subscribe small{display:block;color:#c4d3e3;font-size:12px;line-height:18px}

/* D0 native DLE routes: presentation-only rules scoped to their existing templates. */
.m74-simple-content:has(>.m74-forms.m74-static){max-width:960px;}
.m74-simple-content:has(>.m74-forms.m74-addnews),
.m74-simple-content:has(>.m74-forms.m74-userinfo),
.m74-simple-content:has(>.m74-forms.m74-pm),
.m74-simple-content:has(>.m74-forms.m74-searchresult){max-width:1040px;}
.m74-simple-content:has(>.m74-forms.m74-feedback),
.m74-simple-content:has(>.m74-forms.m74-registration){max-width:760px;}
.m74-simple-content:has(>.m74-forms.m74-lostpassword){max-width:640px;}
.m74-forms{min-width:0;}
.m74-forms :is(h1,h2,h3){overflow-wrap:anywhere;}
.m74-forms :is(input,textarea,select,button){max-width:100%;}
.m74-forms .m74-field-label{font-size:14px;line-height:20px;}
.m74-forms .box_input,.m74-forms .box_input_full,.m74-forms .captcha{min-width:0;}
.m74-forms :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]),textarea,select){min-width:0;}
.m74-forms .alert{font-size:15px;line-height:1.55;overflow-wrap:anywhere;}
.m74-forms .alert_heading{font-size:20px;line-height:1.3;}
.m74-registration .box_in,.m74-lostpassword .box_in,.m74-feedback .box_in{max-width:100%;}
.m74-registration #result-registration:empty{display:none;}
.m74-registration #result-registration:not(:empty){margin:0 0 16px;padding:11px 13px;border:1px solid #d8e5f5;border-radius:7px;background:#f4f8fd;color:#385575;font-size:14px;line-height:1.5;}
.m74-registration .captcha,.m74-lostpassword .captcha,.m74-feedback .captcha,.m74-pm .captcha,.m74-addnews .captcha{padding:12px;border:1px solid var(--m74-line);border-radius:8px;background:#f7faff;}
.m74-feedback .box_input_full{margin:0 0 18px;}
.m74-feedback textarea{min-height:180px;}
.m74-feedback-recipient select{width:100%;}
.m74-static .basecont{padding:24px;background:#fff;border:1px solid var(--m74-line);border-radius:10px;color:var(--m74-ink);font-size:16px;line-height:1.75;overflow-wrap:anywhere;}
.m74-static .basecont :is(h2,h3){margin:1.25em 0 .6em;}
.m74-static .basecont :is(ul,ol){padding-left:1.4em;}
.m74-static .basecont a,.m74-info a{color:#075bd8;text-decoration:underline;text-underline-offset:2px;}
.m74-userinfo>.box_in{padding:24px;}
.m74-userinfo .userinfo_header{min-width:0;}
.m74-userinfo .userinfo_bottom_right{min-width:0;overflow-wrap:anywhere;}
.m74-userinfo #option .userinfo{display:block;}
.m74-userinfo #option .userinfo>.box_input{margin-bottom:15px;}
.m74-pm .pm_box{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap;}
.m74-pm .pm_menu{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0;}
.m74-pm .pm_menu :is(a,span){display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;border:1px solid var(--m74-line);border-radius:7px;background:#fff;color:#25466f;font-size:14px;line-height:20px;text-decoration:none;}
.m74-pm .pm_status{max-width:100%;color:var(--m74-muted);font-size:13px;line-height:20px;overflow-wrap:anywhere;}
.m74-pm .pmlist{display:grid;gap:12px;min-width:0;}
.m74-pm .pm-compose-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.75fr);gap:20px;align-items:start;}
.m74-pm .m74-pm-editor{min-width:0;overflow-wrap:anywhere;}
.m74-pm .m74-pm-editor :is(textarea,.wysiwygeditor,.bb-editor){max-width:100%;}
.m74-pm .comment_user{overflow-wrap:anywhere;}
.m74-pm .comment_text{min-width:0;overflow-wrap:anywhere;}
.m74-addnews .box_input.select select,.m74-addnews .box_input.select .select{width:100%;max-width:100%;}
.m74-addnews .bb-editor,.m74-addnews .xfields_margin{max-width:100%;}
.m74-addnews .bb-editor textarea,.m74-addnews textarea.wide{width:100%;min-width:0;max-width:100%;}
.m74-search .searchtable{padding:20px;border:1px solid var(--m74-line);border-radius:9px;overflow-x:auto;}
.m74-searchresult .m74-story-card{min-width:0;}
.m74-searchresult .comment{min-width:0;overflow-wrap:anywhere;}
.m74-searchresult .comment :is(h4,.text){overflow-wrap:anywhere;}
@media(max-width:767px){
 .m74-simple-content:has(>.m74-forms){width:100%;}
 .m74-static .basecont,.m74-userinfo>.box_in{padding:16px;}
 .m74-pm .pm-compose-grid{grid-template-columns:minmax(0,1fr);}
 .m74-pm .pm_box{display:block;}
 .m74-pm .pm_status{margin-top:12px;}
 .m74-userinfo .userinfo_header{align-items:flex-start;}
 .m74-userinfo .userinfo_bottom{min-width:0;}
 .m74-addnews .xfields_margin{display:block;overflow-x:auto;}
}

/* C3 final: PM remains the real inbox action, styled as an unobtrusive icon. */
.m74-site .m74-header .m74-account .m74-forms.m74-login .m74-pm-bell,
.m74-site .m74-mobile-menu .m74-account .m74-forms.m74-login .m74-pm-bell{display:inline-flex;align-items:center;justify-content:center;width:40px!important;min-width:40px!important;max-width:40px!important;height:40px;min-height:40px!important;margin:0;padding:0!important;border:0!important;border-radius:50%;background:transparent!important;color:#667c9b!important;box-shadow:none!important;}
.m74-site .m74-header .m74-account .m74-forms.m74-login .m74-pm-bell svg,
.m74-site .m74-mobile-menu .m74-account .m74-forms.m74-login .m74-pm-bell svg{display:block;width:20px;height:20px;flex:0 0 20px;}

/* D1: keep the accepted home lead row compact while preserving native text and metadata. */
@media(min-width:768px){
 .m74-site .m74-main:has(>.service-ribbon)>.top-grid{grid-template-rows:minmax(577px,577px);align-items:stretch}
 .m74-site .m74-main:has(>.service-ribbon)>.top-grid>.hero{height:100%;min-height:0;aspect-ratio:auto}
 .m74-site .m74-main:has(>.service-ribbon)>.top-grid>.side-stories{height:100%;min-height:0;grid-template-rows:minmax(0,1.3fr) minmax(0,1fr);gap:12px}
 .m74-site .m74-main:has(>.service-ribbon) .side-stories>.story{min-height:0;overflow:visible}
 .m74-site .m74-main:has(>.service-ribbon) .sports>.story-photo{height:140px;max-height:140px;aspect-ratio:auto}
 .m74-site .m74-main:has(>.service-ribbon) .sports .story-body{min-height:0;padding:7px 10px;overflow:visible}
 .m74-site .m74-main:has(>.service-ribbon) .sports h2,.m74-site .m74-main:has(>.service-ribbon) .sports h2 a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
 .m74-site .m74-main:has(>.service-ribbon) .sports p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
 .m74-site .m74-main:has(>.service-ribbon) .small-pair .story-photo{height:102px;max-height:102px;aspect-ratio:auto}
 .m74-site .m74-main:has(>.service-ribbon) .small-pair .story-body{min-height:0;padding:7px 9px;overflow:visible}
 .m74-site .m74-main:has(>.service-ribbon) .small-pair .story h3,.m74-site .m74-main:has(>.service-ribbon) .small-pair .story h3 a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
 .m74-site .m74-main:has(>.service-ribbon) .small-pair .story p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}
}
.m74-site .m74-main:has(>.service-ribbon) .top-grid .tag{display:inline-flex!important;align-self:flex-start;width:fit-content!important;max-width:100%;vertical-align:top}
.m74-site .m74-main:has(>.service-ribbon) .top-grid .tag a{display:inline-flex!important;width:auto!important;max-width:100%;color:inherit;text-decoration:none}
.m74-site .m74-main:has(>.service-ribbon) .top-grid .hero-copy h1{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.m74-site .m74-main:has(>.service-ribbon) .top-grid .hero-copy>p:not(.photo-credits){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.m74-site .m74-main:has(>.service-ribbon) .top-grid .photo-credits{display:block;margin:5px 0 0;font-size:12px;line-height:17px;overflow-wrap:anywhere}
.m74-site .m74-main:has(>.service-ribbon) .service-ribbon #weatherCard,
.m74-site .m74-main:has(>.service-ribbon) .service-ribbon #currencyCard{height:88px;min-height:88px;max-height:96px;grid-template-rows:22px minmax(0,1fr);gap:2px 8px;padding:8px 12px;overflow:hidden}
.m74-site .m74-main>.service-ribbon.wrap{width:100%;max-width:1200px;margin-left:0;margin-right:0;padding-left:0;padding-right:0}
.m74-site .m74-main:has(>.service-ribbon) .service-ribbon :is(#weatherCard,#currencyCard) .section-heading{min-height:22px;margin:0;grid-column:1/-1;grid-row:1}
.m74-site .m74-main:has(>.service-ribbon) .service-ribbon :is(#weatherCard,#currencyCard) .section-heading h2{font-size:16px;line-height:20px}
.m74-site .m74-main:has(>.service-ribbon) .service-ribbon :is(#weatherCard,#currencyCard) .service-label{font-size:12px;line-height:16px;white-space:nowrap}
.m74-site .m74-main:has(>.service-ribbon) .service-ribbon :is(#weatherCard,#currencyCard) .weather-copy{grid-column:1/-1;grid-row:2;min-height:0;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden;font-size:13px;line-height:19px}
@media(max-width:767px){
 .m74-site .m74-main:has(>.service-ribbon)>.top-grid{grid-template-rows:none}
 .m74-site .m74-main:has(>.service-ribbon)>.top-grid>.hero{height:auto;min-height:380px;aspect-ratio:auto}
 .m74-site .m74-main:has(>.service-ribbon)>.top-grid>.side-stories{height:auto;grid-template-rows:auto;gap:8px}
 .m74-site .m74-main:has(>.service-ribbon) .service-ribbon #weatherCard,
 .m74-site .m74-main:has(>.service-ribbon) .service-ribbon #currencyCard{height:auto;min-height:80px;max-height:none;grid-template-rows:22px auto;overflow:visible}
 .m74-site .m74-main:has(>.service-ribbon) .service-ribbon :is(#weatherCard,#currencyCard) .weather-copy{-webkit-line-clamp:2}
}
/* Related news is still rendered in full by DLE; limit only the lower visual row. */
.m74-native-article .m74-article-related .m74-related-card:nth-of-type(n+4){display:none!important}
.m74-article-tools :is(.m74-article-save-login,.m74-article-copy){display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 10px;border:1px solid var(--fidelity-line);border-radius:5px;background:#fff;color:#25466f;font:600 14px/20px Inter,Arial,sans-serif;cursor:pointer}
.m74-article-tools :is(.m74-article-save-login,.m74-article-copy):hover{border-color:#cbdcf4;background:#eef5ff;color:#075bd8}
.m74-article-tools :is(.m74-article-save-login,.m74-article-copy):focus-visible{outline:3px solid #0866ff66;outline-offset:2px}
/* D2: footer links follow the compact reference rhythm across every column. */
.m74-site .m74-footer .m74-footer-grid>div:not(:first-child){gap:6px}
.m74-site .m74-footer .m74-footer-grid>div :is(a,small){min-height:0;margin:0;line-height:20px}
.m74-site .m74-footer .m74-footer-grid .footer-city-section a{padding-top:0;padding-bottom:0}
/* The empty RTB container has no content height; keep the slot compact until it fills. */
.m74-site .m74-main>.service-ribbon .ad-slot-compact.is-empty{height:86px;min-height:86px;max-height:86px;padding:8px 14px;overflow:hidden}
.m74-site .m74-main>.service-ribbon .ad-slot-compact.is-empty #yandex_rtb_R-A-29553-2{display:none}
@media(max-width:767px){
 .m74-site .m74-main>.service-ribbon{grid-template-columns:repeat(2,minmax(0,1fr))}
 .m74-site .m74-main>.service-ribbon .ad-slot-compact{grid-column:1/-1}
}
@media(max-width:359px){.m74-site .m74-main>.service-ribbon{grid-template-columns:minmax(0,1fr)}}
@media(max-width:767px){
 .m74-site .m74-main>.service-ribbon :is(#weatherCard,#currencyCard){height:auto;min-height:100px;max-height:none;grid-template-rows:auto auto;overflow:visible}
 .m74-site .m74-main>.service-ribbon :is(#weatherCard,#currencyCard) .section-heading{height:auto;min-height:22px;flex-wrap:wrap;justify-content:flex-start;gap:2px 8px;white-space:normal}
 .m74-site .m74-main>.service-ribbon :is(#weatherCard,#currencyCard) .section-heading h2{flex:0 0 auto;white-space:nowrap}
 .m74-site .m74-main>.service-ribbon :is(#weatherCard,#currencyCard) .service-label{flex:0 1 auto;min-width:0;max-width:100%;white-space:normal;text-align:left;overflow-wrap:anywhere}
 .m74-site .m74-main>.service-ribbon :is(#weatherCard,#currencyCard) .weather-copy{grid-row:2;grid-column:1/-1;-webkit-line-clamp:2;overflow-wrap:anywhere}
}
/* Parent final acceptance: show the complete real hero headline. */
.m74-site .m74-main:has(>.service-ribbon) .top-grid .hero-copy h1{display:block;-webkit-line-clamp:unset;overflow:visible}
@media(max-width:767px){
 .m74-site .m74-main:has(>.service-ribbon)>.top-grid>.hero{display:flex;align-items:flex-end;height:auto;min-height:380px;aspect-ratio:auto}
 .m74-site .m74-main:has(>.service-ribbon)>.top-grid>.hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
 .m74-site .m74-main:has(>.service-ribbon) .top-grid .hero-copy{position:relative;left:auto;right:auto;bottom:auto;width:100%;padding:18px 16px;margin-top:100px}
 .m74-site .m74-main:has(>.service-ribbon) .top-grid .hero-copy h1{font-size:26px;line-height:1.18;overflow-wrap:break-word}
}
@media(max-width:767px){
 body.m74-mobile-search-open .m74-site .m74-header .head-main{height:auto!important;min-height:60px!important;flex-wrap:wrap;padding-top:8px!important;padding-bottom:8px!important}
 body.m74-mobile-search-open .m74-site .m74-header .head-main>.m74-search{display:flex!important;order:5;flex:0 0 100%;width:100%;max-width:none;margin:0 0 4px}
}
.m74-tag-list .image-card-photo{display:block;width:100%!important;max-width:100%!important;aspect-ratio:16/9;overflow:hidden}
.m74-tag-list .image-card-photo img{display:block;width:100%!important;max-width:100%!important;height:100%!important;aspect-ratio:16/9;object-fit:cover}
/* Round 2 parent acceptance: tablet header retains the same reachable controls. */
@media(min-width:768px) and (max-width:1023px){
 .m74-site .m74-bottom-nav{display:flex}
 body.m74-site{padding-bottom:64px}
 .m74-site .m74-cookie{bottom:76px}
}/* Parent round 2: complete tablet/mobile control layout and search selector. */
@media(max-width:1023px){
 .m74-site .m74-bottom-nav{position:fixed;z-index:110;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));min-height:62px;padding:6px 0 max(6px,env(safe-area-inset-bottom));border-top:1px solid var(--fidelity-line);background:#fff}
 .m74-site .m74-bottom-nav a,.m74-site .m74-bottom-nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;min-width:0;min-height:48px;padding:2px 4px;border:0;background:none;color:#526b8e;font-size:12px;line-height:1.2;text-decoration:none}
 .m74-site .m74-bottom-nav i{color:var(--fidelity-blue);font-size:19px}
 .m74-site .m74-bottom-nav span{font-size:11px}
 body.m74-site.m74-mobile-search-open .m74-header .head-main{height:auto!important;min-height:60px!important;flex-wrap:wrap;padding-top:8px!important;padding-bottom:8px!important}
 body.m74-site.m74-mobile-search-open .m74-header .head-main>.m74-search{display:flex!important;position:static!important;order:5;flex:0 0 100%;width:100%;max-width:none;margin:0 0 4px}
}/* Three remaining homepage panels occupy the complete row. */
.m74-site .m74-main .home-columns{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.m74-site .m74-main .home-columns .section-heading{height:auto;min-height:54px;align-items:flex-start;flex-wrap:wrap;gap:4px 10px}
.m74-site .m74-main .home-columns .section-heading h2{min-width:0;margin:0;line-height:26px}
.m74-site .m74-main .home-columns .section-heading .service-label{max-width:100%;white-space:normal;line-height:20px}
@media(max-width:767px){.m74-site .m74-main .home-columns{grid-template-columns:minmax(0,1fr)}}

/* UX8 final: content-led homepage rows and consistently compact story footers. */
@media (min-width:768px){
 .m74-site .m74-main:has(>.service-ribbon)>.top-grid{grid-template-rows:auto!important;align-items:stretch!important}
 .m74-site .m74-main:has(>.service-ribbon)>.top-grid>.hero{height:100%!important;min-height:0!important;aspect-ratio:auto!important;align-self:stretch}
 .m74-site .m74-main:has(>.service-ribbon)>.top-grid>.side-stories{height:auto!important;min-height:0;grid-template-rows:auto auto!important;align-content:start!important;align-self:stretch}
 .m74-site .m74-main:has(>.service-ribbon)>.top-grid>.side-stories>.story{height:auto;min-height:0;overflow:visible}
 .m74-site .m74-main:has(>.service-ribbon) .side-stories .story-body{height:auto;min-height:0;overflow:visible;display:flex;flex-direction:column}
 .m74-site .m74-main:has(>.service-ribbon) .side-stories .story h2,
 .m74-site .m74-main:has(>.service-ribbon) .side-stories .story h3,
 .m74-site .m74-main:has(>.service-ribbon) .side-stories .story h2 a,
 .m74-site .m74-main:has(>.service-ribbon) .side-stories .story h3 a{display:block!important;overflow:visible!important;text-overflow:clip!important;-webkit-line-clamp:unset!important;-webkit-box-orient:initial!important;max-height:none!important;}
 .m74-site .m74-main:has(>.service-ribbon) .side-stories .story .meta{display:flex;align-items:center;justify-content:space-between;gap:4px 10px;flex-wrap:wrap;margin-top:auto;padding:8px 0 0;border-top:1px solid #e7edf5;font-size:13px;line-height:18px;}
 .m74-site .m74-main:has(>.service-ribbon) .sports .story p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;}
 .m74-site .m74-main:has(>.service-ribbon) .small-pair .story p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;}
}
@media (min-width:768px) and (max-width:1199px){
 .m74-site .m74-main:has(>.service-ribbon) .topic-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.m74-site .m74-main:has(>.service-ribbon) .topic-cards .story{display:flex;flex-direction:column;min-width:0;overflow:visible}
.m74-site .m74-main:has(>.service-ribbon) .topic-cards .story-body{display:flex;flex:1;flex-direction:column;min-width:0;min-height:0;padding-bottom:0;overflow:visible}
.m74-site .m74-main:has(>.service-ribbon) .topic-cards .story h3,
.m74-site .m74-main:has(>.service-ribbon) .topic-cards .story h3 a{display:block!important;overflow:visible!important;text-overflow:clip!important;-webkit-line-clamp:unset!important;-webkit-box-orient:initial!important;max-height:none!important}
.m74-site .m74-main:has(>.service-ribbon) .topic-cards .story p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.m74-site .m74-main:has(>.service-ribbon) .topic-cards .story-footer{display:flex;align-items:center;justify-content:space-between;gap:4px 10px;flex-wrap:wrap;width:calc(100% + 22px);margin:auto -11px 0;padding:9px 11px 10px;border-top:1px solid #e4ebf3;background:#f5f8fc;color:var(--fidelity-muted);font-size:12px;line-height:18px}
.m74-site .m74-main:has(>.service-ribbon) .topic-cards .story-footer>*{min-width:0;white-space:normal}

/* One native login form is presented in a modal on tablet and phone. */
.m74-site .m74-login-dialog{box-sizing:border-box;width:min(480px,calc(100vw - 24px));max-width:480px;max-height:calc(100dvh - 24px);margin:auto;padding:20px;border:1px solid #dce5f0;border-radius:16px;background:#fff;color:#20334d;box-shadow:0 24px 80px rgba(16,39,71,.24);overflow:auto}
.m74-site .m74-login-dialog::backdrop{background:rgba(19,35,57,.48);backdrop-filter:blur(2px)}
.m74-site .m74-login-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
.m74-site .m74-login-dialog-head h2{margin:0;color:#20334d;font-size:22px;line-height:28px}
.m74-site .m74-login-dialog-head [data-m74-login-close]{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid #dce5f0;border-radius:50%;background:#fff;color:#536b8d;font-size:28px;line-height:1;cursor:pointer}
.m74-site .m74-login-dialog-note{margin:0 0 14px;padding:10px 12px;border-radius:8px;background:#f0f5fb;color:#344d6c;font-size:14px;line-height:20px}
.m74-site .m74-login-dialog-note[hidden]{display:none!important}
.m74-site .m74-login-dialog .login_content{position:static!important;inset:auto!important;display:block!important;visibility:visible!important;width:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
.m74-site .m74-login-dialog .login_content form{display:flex;flex-direction:column;gap:12px;width:100%;min-width:0;margin:0}
.m74-site .m74-login-dialog .login_content .box_input{display:flex;flex-direction:column;gap:5px;width:100%;min-width:0;margin:0}
.m74-site .m74-login-dialog .login_content .m74-field-label{display:block;color:#344d6c;font-size:15px;line-height:21px}
.m74-site .m74-login-dialog .login_content input[type=text],
.m74-site .m74-login-dialog .login_content input[type=password]{box-sizing:border-box;display:block;width:100%;min-width:0;max-width:100%;height:48px;margin:0;padding:10px 12px;border:1px solid #cbd7e5;border-radius:8px;background:#fff;color:#20334d;font-size:16px;line-height:24px}
.m74-site .m74-login-dialog .login_content input:focus-visible{outline:3px solid rgba(47,119,224,.28);outline-offset:1px;border-color:#2f77e0}
.m74-site .m74-login-dialog .login_submit{display:flex;flex-direction:column;align-items:stretch;gap:10px;width:100%;min-width:0;margin:2px 0 0;padding:0;border:0}
.m74-site .m74-login-dialog .login_submit input[type=submit]{box-sizing:border-box;display:block;width:100%;min-height:48px;margin:0;padding:11px 16px;border:0;border-radius:8px;background:#1769d2;color:#fff;font-size:16px;font-weight:700;line-height:24px;cursor:pointer}
.m74-site .m74-login-dialog .login_submit label{align-self:center;margin:0;font-size:14px;line-height:20px}
.m74-site .m74-login-dialog .m74-register-in-popup{align-self:center;font-size:14px;line-height:20px}
.m74-site .m74-login-dialog .m74-social-caption{display:none}
.m74-site .m74-login-dialog .login_content form:has(.social_login a) .m74-social-caption{display:block;margin:0;color:#536b8d;font-size:14px;line-height:20px}
.m74-site .m74-login-dialog .social_login:not(:has(a)){display:none}
.m74-site .m74-login-dialog .social_login:has(a){display:flex;align-items:center;justify-content:center;gap:12px;min-height:34px}
@media(max-width:380px){.m74-site .m74-login-dialog{padding:16px}.m74-site .m74-login-dialog-head h2{font-size:20px}}

/* Six reachable mobile actions remain available through the 1023px layout. */
@media(max-width:1023px){
 body.m74-site{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
 .m74-site .m74-bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr));min-height:64px;padding:4px 0 max(4px,env(safe-area-inset-bottom))}
 .m74-site .m74-bottom-nav>a,.m74-site .m74-bottom-nav>button,.m74-site .m74-bottom-nav>.m74-bottom-slot{display:flex;position:relative;align-items:center;justify-content:center;flex-direction:column;gap:2px;box-sizing:border-box;min-width:0;min-height:48px;padding:2px 1px;border:0;background:transparent;color:#526b8e;text-decoration:none}
 .m74-site .m74-bottom-nav .m74-bottom-action{display:flex;position:relative;align-items:center;justify-content:center;flex-direction:column;gap:2px;width:100%;min-width:0;min-height:48px;padding:2px 1px;border:0;background:transparent;color:#526b8e;text-decoration:none;cursor:pointer}
 .m74-site .m74-bottom-nav .m74-bottom-icon{display:block;width:20px;height:20px;fill:none;stroke:#276bc1;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 .m74-site .m74-bottom-nav> a>span,.m74-site .m74-bottom-nav>button>span,.m74-site .m74-bottom-action>span:not(.m74-bottom-count){display:block;max-width:100%;font-size:10px;line-height:12px;text-align:center;white-space:normal;overflow-wrap:anywhere}
 .m74-site .m74-bottom-nav .m74-bottom-count{position:absolute;top:1px;right:calc(50% - 18px);display:grid;place-items:center;min-width:16px;height:16px;padding:0 3px;border-radius:9px;background:#d9364f;color:white;font-size:9px;line-height:16px}
 .m74-site .m74-header .head-main>.m74-account{display:none!important}
 .m74-site .m74-mobile-menu .m74-account{display:none!important}
 .m74-site .m74-login-dialog{margin:auto}
}
@media(max-width:767px){
 .m74-site .m74-main:has(>.service-ribbon) .topic-cards .story-footer{width:calc(100% + 14px);margin-left:-7px;margin-right:-7px;padding:8px 7px}
 .m74-site .m74-main:has(>.service-ribbon) .topic-cards .story-footer>*{font-size:11px;line-height:16px}
}
/* Keep the existing password enhancement after the native form is moved. */
.m74-site .m74-login-dialog .m74-password-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;width:100%}
.m74-site .m74-login-dialog .m74-password-toggle{min-width:68px;min-height:44px;width:auto;padding:8px 10px;border:1px solid #cbd7e5;border-radius:8px;background:#eef5ff;color:#145cc2;font-size:13px;line-height:20px}
@media(max-width:380px){.m74-site .m74-login-dialog .m74-password-row{grid-template-columns:minmax(0,1fr)}.m74-site .m74-login-dialog .m74-password-toggle{justify-self:end;min-height:36px;padding:6px 10px}}
/* Cached native cards use the same visible metadata footer. */
.m74-site .m74-main:has(>.service-ribbon) .topic-cards .meta-line{margin-top:auto;padding:8px 10px;border-top:1px solid #dce6f2;border-radius:0 0 7px 7px;background:#f1f6fc;color:#526b8e;font-size:12px;line-height:18px}
.m74-site .m74-main:has(>.service-ribbon) .small-pair .story .meta{display:flex!important;flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;align-content:flex-start!important;flex-wrap:wrap!important;gap:4px 12px!important;min-height:0!important;height:auto!important;padding-top:8px;margin-top:10px}
.m74-site .m74-main:has(>.service-ribbon) .small-pair .story .meta>time,.m74-site .m74-main:has(>.service-ribbon) .small-pair .story .meta>span{margin:0!important;min-height:0;padding:0}
/* UX16 media and article controls: preserve image geometry and quiet tool buttons. */
.m74-site .m74-main:has(>.service-ribbon) .topic-cards .story-photo{display:block;width:100%;height:auto!important;max-height:none!important;aspect-ratio:16/9;overflow:hidden}
.m74-site .m74-main:has(>.service-ribbon) .topic-cards .story-photo img{display:block;width:100%;height:100%!important;aspect-ratio:16/9;object-fit:cover}
.m74-site .m74-article-tools :is(a,button,.m74-article-save-login,.m74-article-copy){min-height:32px;padding:5px 8px;font-size:13px;line-height:20px}
@media(max-width:1023px){.m74-site .m74-article-tools :is(a,button,.m74-article-save-login,.m74-article-copy){min-height:44px;padding:9px 10px}}

/* UX16 sticky site header; anchor and rail offsets follow the measured header. */
.m74-site .m74-header{position:sticky;top:0;z-index:100}
.m74-site .m74-header .m74-mobile-menu{z-index:101}
html{scroll-padding-top:calc(var(--m74-sticky-header-height,0px) + 12px)}
.m74-site main :is([id],a[name]){scroll-margin-top:calc(var(--m74-sticky-header-height,0px) + 12px)}
/* Caret scrolling must not reserve the header's height inside the header itself. */
html:has(.m74-header :focus,dialog[open] :focus){scroll-padding-top:0}
.m74-site .m74-header :is(input,button,a),.m74-site dialog :is(input,button,a){scroll-margin:0}

/* UX16 category, date and tag feeds: fill partial rows without adding placeholders. */
.m74-site .m74-category-list{display:flex;flex-wrap:wrap;align-items:stretch;gap:16px}
.m74-site .m74-category-list>.image-card{flex:0 0 calc((100% - 32px)/3);min-width:0}
.m74-site .m74-category-list>:is(.m74-pagination,.navigation,.navigation_box){flex:0 0 100%;width:100%}
.m74-site .m74-category-list:has(>.image-card:last-of-type:nth-of-type(3n+2))>.image-card:nth-last-of-type(-n+2){flex-basis:calc((100% - 16px)/2)}
.m74-site .m74-category-list:has(>.image-card:last-of-type:nth-of-type(3n+1))>.image-card:last-of-type{display:grid;grid-template-columns:minmax(240px,36%) minmax(0,1fr);align-items:stretch;flex-basis:100%;min-height:200px}
.m74-site .m74-category-list:has(>.image-card:last-of-type:nth-of-type(3n+1))>.image-card:last-of-type .image-card-photo{width:100%;height:100%;min-height:200px;aspect-ratio:auto}
.m74-site .m74-category-list:has(>.image-card:last-of-type:nth-of-type(3n+1))>.image-card:last-of-type .image-card-photo img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover}
.m74-site .m74-category-list:has(>.image-card:last-of-type:nth-of-type(3n+1))>.image-card:last-of-type .image-card-body{min-width:0;justify-content:center;padding:18px}
@media(max-width:1199px){
 .m74-site .m74-category-list>.image-card{flex-basis:calc((100% - 16px)/2)}
 .m74-site .m74-category-list:has(>.image-card:last-of-type:nth-of-type(2n+1))>.image-card:last-of-type{display:grid;grid-template-columns:minmax(220px,36%) minmax(0,1fr);flex-basis:100%}
 .m74-site .m74-category-list:has(>.image-card:last-of-type:nth-of-type(3n+1):nth-of-type(2n))>.image-card:last-of-type{display:flex;grid-template-columns:none;flex-basis:calc((100% - 16px)/2);min-height:0}
}
@media(max-width:600px){
 .m74-site .m74-category-list{gap:12px}
 .m74-site .m74-category-list>.image-card{flex-basis:100%}
 .m74-site .m74-category-list:has(>.image-card:last-of-type:nth-of-type(3n+2))>.image-card:nth-last-of-type(-n+2){flex-basis:100%}
 .m74-site .m74-category-list:has(>.image-card:last-of-type:nth-of-type(2n+1))>.image-card:last-of-type{grid-template-columns:minmax(0,1fr)}
 .m74-site .m74-category-list:has(>.image-card:last-of-type:nth-of-type(2n+1))>.image-card:last-of-type .image-card-photo{height:auto;min-height:0;aspect-ratio:16/9}
 .m74-site .m74-category-list:has(>.image-card:last-of-type:nth-of-type(2n+1))>.image-card:last-of-type .image-card-photo img{height:100%;aspect-ratio:16/9}
 .m74-site .m74-category-list:has(>.image-card:last-of-type:nth-of-type(2n+1))>.image-card:last-of-type .image-card-body{padding:12px 14px}
}
/* UX16 mobile search and sections sheets use the same native controls/routes. */
.m74-site .m74-header-search-open,.m74-site .m74-privacy-open{display:none;box-sizing:border-box;align-items:center;justify-content:center;flex:0 0 36px;width:36px;min-width:36px;height:36px;padding:0;border:1px solid #dce5f0;border-radius:9px;background:#fff;color:#526b8e}
.m74-site .m74-header-search-open svg,.m74-site .m74-privacy-open svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.m74-site .m74-search-dialog,.m74-site .m74-sections-dialog{box-sizing:border-box;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:20px;border:1px solid #dce5f0;border-radius:16px;background:#fff;color:#20334d;box-shadow:0 24px 80px rgba(16,39,71,.24);overflow:auto}
.m74-site .m74-search-dialog{width:min(520px,calc(100vw - 24px))}
.m74-site .m74-sections-dialog{width:min(720px,calc(100vw - 24px))}
.m74-site .m74-search-dialog::backdrop,.m74-site .m74-sections-dialog::backdrop{background:rgba(19,35,57,.48);backdrop-filter:blur(2px)}
.m74-site :is(.m74-search-dialog-head,.m74-sections-dialog-head){display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
.m74-site :is(.m74-search-dialog-head,.m74-sections-dialog-head) h2{margin:0;font-size:21px;line-height:27px}
.m74-site :is(.m74-search-dialog-head,.m74-sections-dialog-head) button{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid #dce5f0;border-radius:50%;background:#fff;color:#536b8d;font-size:28px;line-height:1}
.m74-site .m74-search-dialog-hint{margin:0 0 12px;color:#536b8d;font-size:14px;line-height:20px}
.m74-site .m74-search-dialog .m74-search{position:static!important;display:flex!important;align-items:stretch;width:100%;max-width:none;height:auto;min-height:48px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.m74-site .m74-search-dialog .m74-search button{display:grid;place-items:center;order:2;flex:0 0 48px;width:48px;min-width:48px;height:48px;padding:0;border:0;border-radius:0 8px 8px 0;background:#1769d2;color:#fff;font-size:18px}
.m74-site .m74-search-dialog .m74-search input[type=search]{box-sizing:border-box;order:1;flex:1;width:auto;min-width:0;height:48px;padding:10px 12px;border:1px solid #cbd7e5;border-right:0;border-radius:8px 0 0 8px;background:#fff;color:#20334d;font-size:16px;line-height:24px}
.m74-site .m74-search-dialog .m74-search input[type=hidden]{display:none}
.m74-site .m74-search-dialog .m74-search input:focus-visible{outline:3px solid rgba(47,119,224,.28);outline-offset:1px;border-color:#2f77e0}
.m74-site .m74-sections-filter-label{display:block;margin:0 0 5px;color:#344d6c;font-size:14px;line-height:20px}
.m74-site .m74-sections-filter{box-sizing:border-box;width:100%;height:44px;margin:0 0 14px;padding:9px 12px;border:1px solid #cbd7e5;border-radius:8px;background:#fff;color:#20334d;font-size:16px}
.m74-site .m74-mobile-menu{display:grid;position:static;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-height:min(58dvh,560px);padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:auto}
.m74-site .m74-mobile-menu [data-m74-section-group]{display:flex;flex-direction:column;min-width:0}
.m74-site .m74-mobile-menu [data-m74-section-group][hidden]{display:none!important}
.m74-site .m74-mobile-menu h3{margin:0 0 6px;padding-bottom:7px;border-bottom:1px solid #e5ebf3;color:#536b8d;font-size:13px;line-height:19px}
.m74-site .m74-mobile-menu>a,.m74-site .m74-mobile-menu [data-m74-section-group]>a{display:flex;align-items:center;min-width:0;min-height:44px;padding:8px 9px;border-bottom:1px solid #edf1f6;color:#263e60;font-size:15px;line-height:20px;text-decoration:none}
.m74-site .m74-mobile-menu a[hidden]{display:none!important}
.m74-site .m74-native-info{margin:0 0 14px}
.m74-site .m74-native-info :is(.error,.info,.message){padding:12px 14px;border:1px solid #d9e5f2;border-radius:8px;background:#f4f8fd;color:#294669;font-size:15px;line-height:22px}
.m74-site .m74-search-page{max-width:1040px;min-width:0;margin:20px auto 36px}
.m74-site .m74-search-page td.search{display:table-cell!important;position:static!important;float:none!important;width:auto!important;height:auto!important;min-width:0!important;max-height:none!important;margin:0!important;padding:8px!important;overflow:visible!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;vertical-align:middle}
.m74-site .m74-search-page table{width:100%;max-width:100%;table-layout:auto;border-collapse:collapse}
.m74-site .m74-search-page input[type=text],.m74-site .m74-search-page input[type=search],.m74-site .m74-search-page select{box-sizing:border-box;max-width:100%;min-height:42px}
.m74-site .m74-search-page #searchinput{width:min(100%,520px)!important}
.m74-site .m74-searchresult .m74-story-photo{display:block;width:100%;aspect-ratio:16/9;overflow:hidden}
.m74-site .m74-searchresult .m74-story-photo img{display:block;width:100%;height:100%;aspect-ratio:16/9;object-fit:cover}
@media(max-width:1023px){
 .m74-site .m74-header-search-open,.m74-site .m74-privacy-open{display:inline-flex}
 .m74-site .m74-header-search-open{flex-basis:34px;width:34px;min-width:34px;height:36px}
 .m74-site .m74-privacy-open{flex:0 0 auto;width:auto;min-width:42px;height:36px;padding:0 6px;gap:4px;font-size:11px;line-height:14px}
 .m74-site .m74-bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr))}
 .m74-site .m74-sections-dialog{width:min(720px,calc(100vw - 24px));padding:18px}
}
@media(max-width:520px){
 .m74-site .m74-sections-dialog{padding:15px}
 .m74-site .m74-mobile-menu{grid-template-columns:minmax(0,1fr);gap:10px;max-height:min(55dvh,470px)}
 .m74-site .m74-search-page{margin:14px auto 26px}
 .m74-site .m74-search-page table{display:block;overflow:visible}
 .m74-site .m74-search-page tbody,.m74-site .m74-search-page tr{display:block;width:100%}
 .m74-site .m74-search-page td.search{display:block!important;width:100%!important;padding:5px 0!important}
}

.m74-site .m74-native-info.is-empty{display:none}
.m74-site .m74-privacy-open:after{content:"Cookie";font-size:11px;line-height:14px}

/* Native DLE search actions: keep engine IDs and inline handlers intact. */
.m74-site .m74-search-page #dosearch,
.m74-site .m74-search-page #dofullsearch{
 box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;
 width:auto!important;min-width:128px;max-width:100%;min-height:36px;margin:4px 8px 4px 0;padding:7px 14px;
 border:1px solid #1769d2;border-radius:7px;background:#1769d2;color:#fff;
 font-family:inherit;font-size:14px;font-weight:600;line-height:20px;text-align:center;white-space:normal;cursor:pointer
}
.m74-site .m74-search-page #dosearch:hover,
.m74-site .m74-search-page #dofullsearch:hover{border-color:#1059b9;background:#1059b9}
.m74-site .m74-search-page #dosearch:focus-visible,
.m74-site .m74-search-page #dofullsearch:focus-visible{outline:3px solid #83b8ff;outline-offset:2px}
@media(max-width:520px){
 .m74-site .m74-search-page #dosearch,
 .m74-site .m74-search-page #dofullsearch{min-width:0;min-height:44px;margin:6px 6px 0 0;padding:9px 10px}
}
@media(max-width:359px){
 .m74-site .m74-header .head-main{gap:4px}
 .m74-site .m74-header-search-open{flex-basis:30px;width:30px;min-width:30px;height:34px}
 .m74-site .m74-privacy-open{min-width:38px;height:34px;padding:0 4px}
 .m74-site .m74-privacy-open svg{width:17px;height:17px}
 .m74-site .m74-header .head-main>.menu-toggle{flex-basis:34px;width:34px;min-width:34px;height:36px}
}

@media(min-width:1024px){
 .m74-site .m74-header .m74-privacy-open{display:inline-flex;flex:0 0 auto;width:auto;min-width:52px;height:36px;padding:0 7px;gap:4px}
 .m74-site .m74-header .m74-privacy-open:after{content:"Cookie";font-size:11px;line-height:14px}
}

/* Keep card footer strips inset and visibly separated from the card edge. */
.m74-site .m74-main:has(>.service-ribbon) .topic-cards .story-footer{box-sizing:border-box;width:auto!important;margin: auto 0 8px!important;padding:8px 10px;border:1px solid #dce6f2;border-radius:7px;background:#f1f6fc}
.m74-site .m74-main:has(>.service-ribbon) .small-pair .story .meta{margin-top:auto!important;padding-top:8px}

@media(max-width:767px){
 .m74-site .m74-search-dialog{inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:calc(18px + env(safe-area-inset-top)) 16px calc(18px + env(safe-area-inset-bottom));border:0;border-radius:0;box-shadow:none}
 .m74-site .m74-search-dialog .m74-search{flex-direction:column;align-items:stretch;gap:12px}
 .m74-site .m74-search-dialog .m74-search input[type=search]{order:1;width:100%;height:50px;border:1px solid #cbd7e5;border-radius:8px}
 .m74-site .m74-search-dialog .m74-search button{order:2;display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:100%;min-width:0;height:48px;border-radius:8px}
 .m74-site .m74-search-dialog .m74-search button:after{content:"Найти";margin-left:8px;font-size:16px;line-height:24px;font-weight:650}
}
/* Explicit article rail contract; keep it independent of the outer route wrapper. */
@media(min-width:951px){.m74-site .m74-native-article-layout>.natural-rail{position:sticky;top:var(--natural-rail-offset,calc(var(--m74-sticky-header-height,0px) + 16px));align-self:start;max-height:none;overflow:visible}}
/* Search results render shortstory.tpl: style its real image-card classes. */
.m74-site .m74-searchresult{display:block!important;width:100%;max-width:100%;min-width:0;margin:0 0 16px}
.m74-site .m74-searchresult .image-card{display:grid;grid-template-columns:minmax(180px,30%) minmax(0,1fr);width:100%;max-width:100%;min-width:0;gap:0;overflow:hidden;border:1px solid #dce6f2;border-radius:10px;background:#fff}
.m74-site .m74-searchresult .image-card-photo{display:block;width:100%!important;max-width:100%!important;height:100%;min-height:140px;aspect-ratio:16/9;overflow:hidden}
.m74-site .m74-searchresult .image-card-photo img{display:block;width:100%!important;max-width:100%!important;height:100%!important;min-height:140px;object-fit:cover}
.m74-site .m74-searchresult .image-card-body{display:flex;flex-direction:column;min-width:0;padding:14px 16px;gap:8px;overflow-wrap:anywhere}
.m74-site .m74-searchresult .image-card-body h3{margin:0;font-size:20px;line-height:1.35}
.m74-site .m74-searchresult .image-card-body p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:0;color:#637a9e;font-size:14px;line-height:21px}
.m74-site .m74-searchresult .image-card-body .meta-line{display:flex;flex-wrap:wrap;gap:4px 12px;padding-top:8px;border-top:1px solid #e4ebf4;color:#637a9e;font-size:12px;line-height:18px}
.m74-site .m74-main:has(>.service-ribbon) .topic-cards :is(.story-footer,.meta-line){box-sizing:border-box;width:auto!important;margin:auto 0 10px!important;padding:8px 10px;border:1px solid #dce6f2;border-radius:7px;background:#f1f6fc}
.m74-site .m74-main:has(>.service-ribbon) .topic-cards .story-photo{display:block;width:100%;height:auto!important;max-height:none!important;aspect-ratio:16/9;overflow:hidden;flex-shrink:0}
.m74-site .m74-main:has(>.service-ribbon) .topic-cards .story-photo img{display:block;width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:16/9;object-fit:cover}
@media(max-width:600px){.m74-site .m74-searchresult .image-card{grid-template-columns:minmax(0,1fr)}.m74-site .m74-searchresult .image-card-photo{height:auto;min-height:0}.m74-site .m74-searchresult .image-card-photo img{min-height:0}.m74-site .m74-searchresult .image-card-body{padding:12px 14px}.m74-site .m74-searchresult .image-card-body h3{font-size:18px}}
/* UX16 correction: prevent legacy menu rules from escaping the sections dialog. */
.m74-site .m74-sections-dialog #m74MobileMenu{position:static!important;inset:auto!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start;width:100%!important;max-width:none!important;max-height:min(55dvh,560px)!important;margin:0!important;padding:0!important;gap:16px!important;overflow:auto!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.m74-site .m74-sections-dialog #m74MobileMenu [data-m74-section-group]{display:flex;flex-direction:column;min-width:0;width:100%;max-width:none}
.m74-site .m74-sections-dialog #m74MobileMenu [data-m74-section-group]>*{min-width:0;max-width:100%;overflow-wrap:anywhere}
@media(max-width:520px){.m74-site .m74-sections-dialog #m74MobileMenu{grid-template-columns:minmax(0,1fr)!important;max-height:min(55dvh,470px)!important;gap:10px!important}}
/* The search sheet uses the layout viewport, which excludes the mobile scrollbar. */
body:has(dialog[open]){overflow:hidden}
@media(max-width:767px){
 .m74-site .m74-search-dialog{inset:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;padding:calc(18px + env(safe-area-inset-top)) 16px calc(18px + env(safe-area-inset-bottom));overflow-x:hidden}
}
@media(max-width:380px){.m74-site .m74-header .m74-location{display:none!important}}
.m74-site .m74-searchresult .image-card-body{align-items:flex-start}
.m74-site .m74-searchresult .image-card-body>.tag{align-self:flex-start;width:fit-content;max-width:100%}
.m74-site .m74-searchresult .image-card-body h3 a{color:inherit;text-decoration:none}
.m74-site .m74-searchresult .image-card-body h3 a:hover{color:#25466f;text-decoration:none}
/* The city strip sizes from its padded content rather than clipping a fixed-height list. */
@media(min-width:1024px){
 .m74-site .m74-header .m74-citybar{height:auto!important;min-height:52px;padding:6px 0;align-items:center;gap:8px}
 .m74-site .m74-header .m74-citybar .m74-city-links{height:auto!important;min-height:0;align-items:center;gap:8px}
 .m74-site .m74-header .m74-citybar .m74-city-links a,.m74-site .m74-header .m74-citybar>.m74-city-directory-open{display:flex;align-items:center;justify-content:center;min-height:36px;height:auto;padding:8px 10px;line-height:20px;border-radius:6px}
}
.m74-site .m74-simple-content:has(.m74-search-page){width:100%;max-width:1040px;margin:26px auto 36px}
.m74-site .m74-search-page .m74-native-info{width:100%;max-width:100%;margin:16px 0}
.m74-site .m74-search-page .m74-info .alert{margin:0;padding:20px;border:1px solid #d8e4f2;border-radius:10px;background:#f2f7fd;color:#314c70;font-size:15px;line-height:24px}
.m74-site .m74-search-page .m74-info .alert_heading{margin-bottom:8px;color:#17345c;font-size:18px;line-height:24px;font-weight:700}

/* Native advanced search: separate, aligned groups at every viewport. */
.m74-site .m74-advanced-search{padding:24px}
.m74-site .m74-advanced-search-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.m74-site .m74-advanced-search .m74-search-group{min-width:0;margin:0!important;padding:18px!important;border:1px solid #dce6f2;border-radius:10px;background:#f8faff}
.m74-site .m74-advanced-search .m74-search-group legend{float:none;width:auto;max-width:100%;margin:0;padding:0 6px;color:#17345c;font-size:17px;line-height:1.4;font-weight:700;border:0}
.m74-site .m74-advanced-search .m74-search-group :is(table,tbody,tr){display:block!important;width:100%!important;padding:0!important}
.m74-site .m74-advanced-search .m74-search-group td.search{display:block!important;width:100%!important;padding:0!important;vertical-align:top}
.m74-site .m74-advanced-search .m74-search-group tr+tr{margin-top:14px}
.m74-site .m74-advanced-search .m74-search-group>div{padding:0!important}
.m74-site .m74-advanced-search :is(input[type=text],select){width:100%!important;max-width:100%;min-width:0;margin:0;min-height:44px;font-size:14px}
.m74-site .m74-advanced-search .m74-search-field-label{display:block;margin:0 0 8px;font-size:14px;color:#395576;font-weight:600}
.m74-site .m74-advanced-search label:has(input[type=checkbox]),.m74-site .m74-advanced-search label:has(input[type=radio]){display:inline-flex;gap:8px;align-items:center;margin:10px 14px 0 0;font-size:14px;line-height:1.4;min-height:28px}
.m74-site .m74-advanced-search :is(input[type=checkbox],input[type=radio]){flex:0 0 auto;width:18px;height:18px;min-height:0;margin:0}
.m74-site .m74-advanced-search #userfield>br{display:none}
.m74-site .m74-advanced-search .m74-search-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:center;font-size:14px;color:#637a9e}
.m74-site .m74-advanced-search #replylimit{max-width:100%}
.m74-site .m74-advanced-search #catlist{height:192px;padding:8px;line-height:1.5}
.m74-site .m74-advanced-search #catlist option{padding:5px 7px}
.m74-site .m74-advanced-search-actions{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0 0!important;padding-top:20px;border-top:1px solid #e4ebf4}
.m74-site .m74-advanced-search-actions :is(#dosearch,#doclear){width:auto!important;min-width:128px;min-height:44px;margin:0!important;padding:10px 18px;border-radius:7px;font-size:14px;font-weight:600}
.m74-site .m74-advanced-search-actions #doclear{border:1px solid #d4dfec;background:#fff;color:#314c70}
.m74-site .m74-advanced-search-actions #doclear:hover{background:#edf3fb}
@media(max-width:700px){.m74-site .m74-advanced-search{padding:16px}.m74-site .m74-advanced-search-grid{grid-template-columns:minmax(0,1fr);gap:16px}.m74-site .m74-advanced-search .m74-search-group{padding:14px!important}.m74-site .m74-advanced-search .m74-search-group legend{font-size:16px}.m74-site .m74-advanced-search .m74-search-pair{grid-template-columns:minmax(0,1fr)}.m74-site .m74-advanced-search-actions{gap:10px}.m74-site .m74-advanced-search-actions :is(#dosearch,#doclear){flex:1 1 125px;min-width:0}}

/* Temporary pause: remove data-services-paused and hidden when all three services are ready. */
.m74-site .m74-main>.service-ribbon[data-services-paused]{display:none!important}

