/* Separate source feed using the existing MAS palette, type and card shapes. */
.mas-news-navigation{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 30px}
.mas-news-navigation a{padding:12px 18px;background:#edf2f6;border:1px solid #d5dfe8;border-radius:30px;color:#294963;font-size:13px;font-weight:650;text-decoration:none}
.mas-news-navigation a:hover{background:#dde7ef}
.mas-news-heading,.nostroy-feed{scroll-margin-top:90px}
.mas-news-heading{margin:0 0 26px}
.mas-news-heading .eyebrow,.nostroy-feed .eyebrow{color:#87765e}
.mas-news-heading h2,.nostroy-feed h2{font:600 36px/1.15 Georgia,serif;color:#21394f;margin:10px 0 12px;letter-spacing:-.7px}
.mas-news-heading p,.nostroy-feed-heading p{color:#60778a;font-size:14px;line-height:1.6;margin:0}
.nostroy-feed{padding:52px 0 58px;margin-top:24px;background:#edf2f6;border-top:1px solid #d9e2e9}
.nostroy-feed-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:28px}
.nostroy-feed-heading h2{max-width:780px}
.nostroy-source{flex:0 0 auto;color:#294963;font-size:12px;font-weight:650;text-underline-offset:5px;margin-bottom:4px}
.nostroy-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.nostroy-news-card{min-width:0;overflow:hidden;border:1px solid #d7e0e8;border-radius:20px;background:#fff;box-shadow:0 8px 24px #1a3f2706;transition:box-shadow .18s ease,transform .18s ease}
.nostroy-news-card:hover{transform:translateY(-3px);box-shadow:0 14px 26px #1a3f2712}
.nostroy-news-card>a{height:100%;display:flex;flex-direction:column;color:#21394f;text-decoration:none}
.nostroy-news-photo,.nostroy-news-sign{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:#f1f4f6}
.nostroy-news-sign{display:flex;align-items:center;justify-content:center}
.nostroy-news-sign img{width:168px;height:auto;max-width:60%}
.nostroy-news-copy{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:24px}
.nostroy-news-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;font:500 11px/1.4 Inter,Arial,sans-serif;color:#60778a;margin-bottom:15px}
.nostroy-news-meta span{background:#edf3f7;color:#35556e;padding:5px 8px;border-radius:6px;font-size:10px;letter-spacing:.6px}
.nostroy-news-card h3{font:600 22px/1.3 Georgia,serif;letter-spacing:-.3px;margin:0 0 26px;overflow-wrap:anywhere}
.nostroy-news-read{margin-top:auto;padding-top:4px;font:650 12px/1.4 Inter,Arial,sans-serif;color:#294963;text-decoration:underline;text-underline-offset:5px}
.nostroy-feed-caption{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:26px;color:#60778a;font-size:11px;line-height:1.6}
.nostroy-feed-caption a{color:inherit;text-underline-offset:3px}
.nostroy-news-empty{padding:28px;border:1px solid #d1dde7;background:#fff;border-radius:18px;font-size:14px;line-height:1.6;color:#486078}
.nostroy-news-empty a{color:#294963;font-weight:650}
.mas-news-navigation a:focus-visible,.nostroy-feed a:focus-visible{outline:3px solid #957b52;outline-offset:4px}
.nostroy-news-card>a:focus-visible{outline-offset:-4px}
@media(min-width:1200px) and (max-width:1350px){body[data-mas-news-layout] nav[aria-label="Основная навигация"]>.wrap{column-gap:8px!important}}
@media(max-width:1000px){.nostroy-feed-heading{display:block}.nostroy-source{display:inline-block;margin-top:20px}.nostroy-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.mas-news-heading h2,.nostroy-feed h2{font-size:29px}.mas-news-navigation{gap:8px;margin-bottom:26px}.mas-news-navigation a{padding:11px 13px;font-size:12px}.nostroy-feed{padding:34px 0 38px}.nostroy-news-grid{grid-template-columns:1fr;gap:18px}.nostroy-news-copy{padding:22px}.nostroy-news-card h3{font-size:23px}.nostroy-feed-caption{font-size:11px}}
@media(prefers-reduced-motion:reduce){.nostroy-news-card{transition:none}.nostroy-news-card:hover{transform:none}}

/* Newsroom and progressive carousel pagination. No automatic rotation. */
.mas-news-hero{padding:54px 0 42px!important;background:#f1f4f7!important;border-bottom:1px solid #dde3e9}
.mas-news-hero .eyebrow{display:flex;gap:10px;align-items:center;color:#60778a;font-size:10px;letter-spacing:1.5px}
.mas-news-hero h1{font:600 clamp(40px,4.7vw,66px)/1.05 Georgia,serif;letter-spacing:-1.8px;margin:25px 0 20px;color:#21394f}
.mas-news-hero p{font-size:16px;line-height:1.65;max-width:660px;color:#60778a}
.mas-news-navigation{margin:0 0 32px;gap:8px}.mas-news-navigation a{background:#fff;border-color:#d6e0e8;font-size:12px;padding:12px 17px}.mas-news-navigation a[aria-current="location"]{background:#21394f;color:#fff;border-color:#21394f}
.mas-news-heading h2,.nostroy-feed h2{font-size:34px;letter-spacing:-.9px}.mas-news-heading p,.nostroy-feed-heading p{font-size:13px}
.mas-news-heading .eyebrow,.nostroy-feed .eyebrow{font-size:10px;letter-spacing:1.5px}
.mas-news-carousel{min-width:0;width:100%;--news-columns:3;--news-gap:22px}
[data-news-carousel][data-carousel-ready]{display:grid!important;grid-auto-flow:column;grid-template-columns:none!important;grid-auto-columns:calc((100% - (var(--news-columns) - 1)*var(--news-gap))/var(--news-columns));gap:var(--news-gap);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding:3px 0 8px;align-items:stretch}
[data-news-carousel][data-carousel-ready]::-webkit-scrollbar{display:none}
[data-news-carousel][data-carousel-ready]>:nth-child(n){width:auto;min-width:0;margin:0;scroll-snap-align:start}
[data-news-carousel][data-carousel-ready]>:focus-within{scroll-margin-inline:4px}
[data-news-carousel][data-carousel-ready]:focus-visible{outline:2px solid #957b52;outline-offset:4px}
[data-news-carousel="mas"] .card{display:flex;flex-direction:column;align-items:flex-start;min-height:244px;border-radius:18px!important;padding:26px!important;border-color:#d7e0e8!important;box-shadow:0 6px 20px #143f2c05}
[data-news-carousel="mas"] .card h3{font:600 23px/1.3 Georgia,serif;color:#21394f;margin:0 0 22px;letter-spacing:-.4px}
[data-news-carousel="mas"] .card p{order:0;margin:0 0 15px;font-size:11px;color:#60778a}
[data-news-carousel="mas"] .card b{margin-top:auto;font-size:12px;color:#294963;text-decoration:underline;text-underline-offset:5px}
[data-news-carousel][data-carousel-ready] h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;min-height:3.9em}
.nostroy-news-card h3{font-size:23px}.nostroy-news-card:hover{transform:none}.nostroy-news-copy{padding:24px}.nostroy-news-meta{margin-bottom:14px}.nostroy-news-card h3{margin-bottom:24px}
.news-carousel-controls{display:flex;align-items:center;gap:9px;padding-top:20px;min-height:60px}.news-carousel-controls[hidden]{display:none}.news-carousel-arrow,.news-carousel-pages button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:40px;height:40px;border:1px solid #ccd9cb;border-radius:50%;background:#fff;color:#315c42;cursor:pointer;font:650 12px/1 Inter,Arial,sans-serif;touch-action:manipulation}.news-carousel-arrow:disabled{opacity:.35;cursor:default}.news-carousel-arrow:not(:disabled):hover,.news-carousel-pages button:hover{background:#e2eade}.news-carousel-arrow img{width:18px;height:18px;opacity:.8}.news-carousel-pages{display:flex;align-items:center;gap:5px}.news-carousel-pages span{padding:0 2px;color:#7b8b7a}.news-carousel-pages button{width:34px;height:34px;border-color:transparent;background:transparent}.news-carousel-pages button[aria-current=page]{background:#21394f;color:#fff}.news-carousel-status{margin-left:auto;font:500 11px/1.4 Inter,Arial,sans-serif;color:#61765f;white-space:nowrap}.news-carousel-controls button:focus-visible{outline:3px solid #957b52;outline-offset:3px}
@media(max-width:1000px){.mas-news-carousel{--news-columns:2}.mas-news-heading h2,.nostroy-feed h2{font-size:31px}}
@media(max-width:600px){.mas-news-hero{padding:34px 0 30px!important}.mas-news-hero h1{font-size:43px;letter-spacing:-1.3px;margin:22px 0 16px}.mas-news-hero p{font-size:14px}.mas-news-carousel{--news-columns:1;--news-gap:16px}.mas-news-heading h2,.nostroy-feed h2{font-size:29px}.news-carousel-controls{gap:6px;padding-top:16px}.news-carousel-arrow{width:38px;height:38px}.news-carousel-pages{gap:2px}.news-carousel-pages button{width:30px;height:30px}.news-carousel-status{font-size:10px}[data-news-carousel="mas"] .card{min-height:242px}.nostroy-news-copy{padding:22px}}
@media(prefers-reduced-motion:reduce){[data-news-carousel][data-carousel-ready]{scroll-behavior:auto}}

/* Keep in-page source navigation separate from the site's main menu styles. */
.mas-news-navigation{position:static!important;top:auto!important;z-index:auto!important;background:transparent!important;padding:0!important;box-shadow:none!important;border:0!important;min-height:0!important}
body[data-mas-news-layout] .mas-news-hero+section{padding:34px 0 24px!important}
body[data-mas-news-layout] .mas-news-hero+section>.wrap.content-stack{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
@media(max-width:600px){.news-carousel-controls{flex-wrap:wrap;justify-content:center}.news-carousel-status{flex-basis:100%;text-align:center;margin:5px 0 0}}

/* Side arrows appear on desktop hover and keyboard focus; touch controls stay visible. */
.news-carousel-stage{position:relative;min-width:0}
.news-carousel-arrow{position:absolute;top:50%;z-index:2;width:44px;height:44px;transform:translateY(-50%);background:#fffffff2;box-shadow:0 4px 18px #21394f26;transition:opacity .18s ease,background .18s ease,box-shadow .18s ease}
.news-carousel-previous{left:-20px}.news-carousel-next{right:-20px}
.news-carousel-arrow[hidden]{display:none}
.news-carousel-arrow:disabled{opacity:.4;box-shadow:none}
.news-carousel-arrow:not(:disabled):hover{background:#edf4f9;box-shadow:0 5px 20px #21394f33}
.news-carousel-arrow:focus-visible{outline:3px solid #957b52;outline-offset:3px}
@media(hover:hover) and (pointer:fine) and (min-width:601px){.mas-news-carousel:not(:hover):not(:focus-within) .news-carousel-arrow{opacity:0;pointer-events:none}}
@media(max-width:600px){.mas-news-carousel{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;column-gap:8px}.news-carousel-stage{display:contents}[data-news-carousel][data-carousel-ready]{grid-column:1/-1;grid-row:1}.news-carousel-arrow{position:static;transform:none;grid-row:2;align-self:start;margin-top:14px}.news-carousel-previous{grid-column:1}.news-carousel-next{grid-column:3}.news-carousel-controls{grid-column:2;grid-row:2;min-width:0}.news-carousel-pages{flex-wrap:wrap;justify-content:center}}
@media(prefers-reduced-motion:reduce){.news-carousel-arrow{transition:none}}

/* Mouse dragging keeps touch scrolling and normal link activation available. */
.news-carousel-hint{margin-left:14px;color:#60778a;font:500 11px/1.5 Inter,Arial,sans-serif}
@media(hover:hover) and (pointer:fine){[data-news-carousel][data-carousel-ready],[data-news-carousel][data-carousel-ready] a{cursor:grab;user-select:none;-webkit-user-select:none}}
[data-news-carousel][data-carousel-ready].is-dragging{scroll-snap-type:none!important;scroll-behavior:auto!important;cursor:grabbing;user-select:none;-webkit-user-select:none}
[data-news-carousel].is-dragging a{cursor:grabbing}
@media(max-width:600px),(hover:none){.news-carousel-hint{display:none}}

.mas-news-carousel .future-news-card{display:flex;flex-direction:column;width:auto;min-width:0}.mas-news-carousel .news-visual{min-height:145px}.mas-news-carousel .news-copy{flex:1}.mas-news-carousel .future-news-card h3{font-size:25px}.mas-news-carousel .news-carousel-controls{padding:0}.nostroy-feed{background:linear-gradient(120deg,#edf2f6,#f4f0e8);}.nostroy-feed .wrap{max-width:1440px}.nostroy-news-card{background:rgba(255,255,255,.8);backdrop-filter:blur(14px)}

[data-news-carousel="mas"] .card p{line-height:1.7;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-top:0;margin-bottom:26px}[data-news-carousel="mas"] .card small{margin-bottom:14px;color:#60778a;font:500 11px/1.5 Inter,Arial,sans-serif}.news-carousel-arrow,.news-carousel-pages button{border-color:#ccd9e2;color:#294963}.news-carousel-arrow:not(:disabled):hover,.news-carousel-pages button:hover{background:#e2eaf2}.news-carousel-status{color:#60778a}
