@font-face{font-family:'PT Sans';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/PT_Sans-Web-Regular.ttf') format('truetype')}
@font-face{font-family:'PT Sans';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/PT_Sans-Web-Bold.ttf') format('truetype')}
:root{--cassiopeia-font-family-body:'PT Sans',Arial,sans-serif;--cassiopeia-font-family-headings:'PT Sans',Arial,sans-serif;--cassiopeia-color-primary:#125c91;--cassiopeia-color-link:#125c91;--cassiopeia-color-hover:#083e68}
body{font-family:'PT Sans',Arial,sans-serif;font-size:18px;color:#243449;background:#f6f8fc}
h1,h2,h3,h4,h5,h6,button,input,.mod-menu{font-family:'PT Sans',Arial,sans-serif}h1,h2,h3{text-transform:uppercase}
.container-header{background:#fff;box-shadow:0 2px 8px #152e4c12}.container-header .grid-child,.site-grid,.container-banner{max-width:1280px;margin-inline:auto;width:100%}
.container-header .grid-child:first-child{padding-top:12px;padding-bottom:8px}.container-header .navbar-brand{padding:0;margin:0}.container-header .navbar-brand img{width:400px;max-width:100%;height:auto}.container-header .site-description{color:#647487;font-size:15px;line-height:1.3;margin:4px 0}
.container-header .container-nav{background:#125c91;padding:10px 18px;margin-bottom:12px;border-radius:6px}.container-header .mod-menu{font-size:16px;gap:6px 18px;flex-wrap:wrap}.container-header .mod-menu a{color:white;text-decoration:none}.container-header .metismenu-item>ul{background:#125c91}.container-header .container-search{margin-left:auto;max-width:460px;display:flex;flex-direction:column;gap:12px}.container-header .mod-finder{width:100%}
.header-social-links{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:14px;font-size:15px}.header-social-links a{color:#125c91}.header-social-links img{width:28px;height:28px;object-fit:contain}
.container-banner{padding:0 18px;margin-top:16px;margin-bottom:24px}.site-grid{padding-top:12px;padding-bottom:32px}.blog-items{gap:24px}.blog-items.columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}.blog-item{background:white;border:1px solid #e3e9f1;border-radius:8px;overflow:hidden;display:flex;flex-direction:column;min-width:0}.blog-item .item-image{width:100%;float:none!important;margin:0}.blog-item .item-image img{width:100%;display:block;aspect-ratio:2/1;object-fit:cover;height:auto}.blog-item .item-content{padding:20px;display:flex;flex-direction:column;flex:1;min-width:0}.blog-item .item-title{font-size:18px!important;line-height:1.3;font-weight:700;margin:0 0 12px}.blog-item .item-title a{text-decoration:none;color:#243449}.blog-item .item-content>p{font-size:17px;line-height:1.5;margin-bottom:16px}.blog-item .readmore{margin-top:auto}.article-info{display:none!important}
.com-content-article{background:white;border-radius:8px;padding:28px;width:100%;max-width:none}.com-content-article .page-header h1,.com-content-article .page-header h2{font-size:24px!important;line-height:1.3;font-weight:700;text-transform:uppercase}.com-content-article p{line-height:1.65}.com-content-article img{max-width:100%;height:auto}.com-content-article .item-image{float:none!important}.com-content-article .item-image img{width:100%;aspect-ratio:2/1;object-fit:cover}.com-content-article iframe{max-width:100%}.category-desc img{max-width:100%;height:auto}.category-desc>img,.category-desc>p>img{width:100%!important;aspect-ratio:1280/300;object-fit:cover;max-height:300px}
.btn-primary,.btn-secondary{background:#125c91;border-color:#125c91;color:white;border-radius:5px}.btn-primary:hover,.btn-secondary:hover{background:#083e68;border-color:#083e68}.pagination{justify-content:center;flex-wrap:wrap;gap:4px;margin:28px 0}.pagination .page-item.active .page-link{background:#125c91;border-color:#125c91}.footer{background:#edf2f7;color:#243449;padding:28px 18px}.footer>.grid-child{max-width:1280px;width:100%;margin:auto}.footer a{color:#125c91}.news-site-footer{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:36px;width:100%}.footer-brand img{width:320px;max-width:100%;height:auto}.news-site-footer p{font-size:16px;line-height:1.5}.footer .header-social-links{justify-content:flex-start}.news-slide-copy h2{font-size:22px!important;line-height:1.3}.news-slide-copy{min-width:0}.news-slider{border-radius:8px;overflow:hidden}
@media(max-width:991px){.blog-items.columns-3{grid-template-columns:repeat(2,minmax(0,1fr))}.news-site-footer{grid-template-columns:1fr 1fr}.container-header .container-search{max-width:none}.container-header .grid-child{padding-inline:18px}}
@media(max-width:767px){.blog-items.columns-3{grid-template-columns:1fr}.container-header .navbar-brand img{width:300px}.header-social-links{justify-content:flex-start}.news-site-footer{grid-template-columns:1fr;gap:20px}.com-content-article{padding:20px}.com-content-article .page-header h1,.com-content-article .page-header h2{font-size:22px!important}.category-desc>img,.category-desc>p>img{aspect-ratio:2/1;max-height:none}.container-banner{padding-inline:12px}.site-grid{padding-inline:12px}.news-slide-copy h2{font-size:20px!important}}

.container-header .ms-masthead{display:grid;grid-template-columns:minmax(280px,1fr) minmax(260px,460px);align-items:center;gap:24px;padding:16px 18px}.container-header .ms-masthead .container-search{width:100%;margin:0}.container-header .ms-masthead .header-social-links a{color:#125c91}.container-header .ms-masthead .mod-finder{display:flex;justify-content:flex-end}.container-header .container-nav{width:calc(100% - 36px)}@media(max-width:767px){.container-header .ms-masthead{grid-template-columns:1fr;gap:14px}.container-header .ms-masthead .mod-finder{justify-content:flex-start}}

.organization-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0}.org-card{display:flex;flex-direction:column;text-decoration:none!important;background:white;border:1px solid #dbe5ef;border-radius:8px;overflow:hidden;box-shadow:0 3px 12px #19354f08}.org-card img{width:100%;height:auto!important;aspect-ratio:2/1;object-fit:contain;background:white;margin:0!important;max-height:none!important}.org-card h2{font-size:18px!important;line-height:1.3;text-transform:uppercase;padding:18px;margin:0!important;background:#125c91;color:white;flex:1}.organization-banner{display:block;background:white;margin-bottom:20px}.organization-banner img{display:block;width:100%;height:auto;aspect-ratio:1280/300;object-fit:contain;max-height:300px}.organization-details{margin:18px 0 28px;background:white;border-radius:6px}.organization-details summary{cursor:pointer;background:#125c91;color:white;font-size:17px;font-weight:700;padding:14px 20px;border-radius:6px}.organization-profile{padding:20px;overflow-wrap:anywhere}.organization-profile img{max-width:100%;height:auto}.organization-profile table{max-width:100%;width:100%!important}.com-content-category-blog:has(.organization-grid)>.alert-info{display:none}.container-header .container-search>.mod-custom{order:-1}@media(max-width:991px){.organization-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:767px){.organization-grid{grid-template-columns:1fr;gap:20px}.organization-banner img{aspect-ratio:2/1;max-height:none}.organization-profile{padding:16px}}

.blog:has(.organization-grid) .alert-info{display:none}.blog>h1,.blog>h2{font-size:24px!important;line-height:1.3}
.org-landing-head{display:grid;grid-template-columns:220px 1fr;gap:32px;align-items:center;margin:0 0 32px;padding:24px;background:white;border-radius:8px}.org-landing-head img{width:220px;height:120px;object-fit:contain}.org-landing-head h1{margin:0;font-size:24px;line-height:1.3}.org-landing-profile{display:grid;grid-template-columns:300px 1fr;gap:40px}.org-landing-profile figure{margin:0}.org-landing-profile figure>img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}.org-landing-profile figcaption{padding:16px 0;font-size:18px}.org-landing-profile figcaption span{display:block;margin-top:6px;color:#596775}.org-landing-info h2{font-size:20px;margin:0 0 14px}.org-landing-info dl{margin:0 0 20px}.org-landing-info dl>div{display:grid;grid-template-columns:180px 1fr;padding:8px 0;border-bottom:1px solid #dce5ed}.org-landing-info dd{margin:0}.org-landing-info dt{font-weight:bold}.org-landing-info .organization-details{margin:20px 0}.org-landing-docs{margin-top:20px}.org-landing-news{margin:40px 0 24px!important;font-size:22px!important}.blog:has(.org-landing) .cat-children{display:none}@media(max-width:767px){.org-landing-head{grid-template-columns:1fr;gap:16px;padding:20px}.org-landing-head img{margin:auto}.org-landing-head h1{font-size:22px}.org-landing-profile{grid-template-columns:1fr;gap:24px}.org-landing-profile figure{max-width:300px;margin:auto}.org-landing-info dl>div{grid-template-columns:1fr;gap:4px}}

/* News lists: horizontal rows, equal cards instead of masonry columns. */
.blog-items:is(.masonry-3,.columns-3){display:grid!important;column-count:auto!important;column-width:auto!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}.blog-items>.blog-item{width:auto!important;margin:0!important;align-self:stretch;break-inside:auto}.blog-item .item-content>.readmore{margin-top:auto!important;padding-top:8px}.blog-item .item-image{flex-shrink:0}@media(max-width:991px){.blog-items:is(.masonry-3,.columns-3){grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:767px){.blog-items:is(.masonry-3,.columns-3){grid-template-columns:1fr}}

.ms-article-hero{margin:20px 0 28px}.ms-article-hero img{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;border-radius:6px}.com-content-article__body{width:100%;font-family:'PT Sans',Arial,sans-serif;font-size:18px;line-height:1.65;overflow-wrap:anywhere}.com-content-article__body p{margin:0 0 18px;text-align:left}.com-content-article__body font{font:inherit;color:inherit}.com-content-article__body table{max-width:100%;height:auto}.com-content-article__body img{max-width:100%;height:auto;float:none;margin:12px 0}.com-content-article__body h2,.com-content-article__body h3{font-size:22px;line-height:1.3}

.header-social-links a[href="https://t.me/ms2002ru"]{display:inline-block;width:28px;height:28px;font-size:0;background:url('/images/branding/telegram.svg') center/contain no-repeat}

/* One brand color for all social icons. */
.header-social-links img{filter:brightness(0) saturate(100%) invert(26%) sepia(65%) saturate(1273%) hue-rotate(172deg) brightness(92%) contrast(91%)}
.header-social-links a[href="https://t.me/ms2002ru"]{background:#125c91;mask:url('/images/branding/telegram-blue.svg') center/contain no-repeat;-webkit-mask:url('/images/branding/telegram-blue.svg') center/contain no-repeat}

.blog-item:empty{display:none!important}

.blog-item:not(:has(.item-content)){display:none!important}

.org-archive-label{display:block;margin-top:12px;color:#647487;font-size:15px}.org-previous-information{font:inherit;line-height:1.6}.org-previous-information table{width:100%;max-width:100%}.org-previous-information img{max-width:100%;height:auto}

.org-landing-profile>figure:not(:has(>img))::before{content:"";display:block;width:100%;aspect-ratio:1;background:url('/images/organizations/leader-placeholder.svg') center/cover no-repeat;border-radius:8px}

/* Keep legacy tables and cloaked email typography inside the article width. */
.com-content-article__body{overflow-x:auto}
.com-content-article__body table{width:100%;max-width:100%}
.com-content-article__body [nowrap]{white-space:normal!important}
.com-content-article__body pre{white-space:pre-wrap;overflow-wrap:anywhere}
.com-content-article__body joomla-hidden-mail *{font:inherit!important}

/* Keep the identity and search inside the narrow header. */
.container-header .navbar-brand{white-space:normal;min-width:0;max-width:100%}.container-header .ms-site-purpose{white-space:normal;overflow-wrap:anywhere}.container-header .grid-child,.container-header .container-search{min-width:0;max-width:100%}@media(max-width:767px){.container-header .navbar-brand,.container-header .container-search{width:100%}.container-header .ms-site-purpose{font-size:14px;line-height:1.5}}

/* News typography and mobile column width: 2026-10-13 */
.com-content-article__body :is(p,span,font,li,td,th){font-family:inherit!important;font-size:inherit!important;line-height:inherit!important}
.com-content-article__body :is(p,div){max-width:100%;box-sizing:border-box;text-align:left!important}
.com-content-article__body img{float:none!important;max-width:100%!important;height:auto!important}
.com-content-article__body a,.blog-item .item-title a,.container-header .mod-menu a{text-decoration:none!important}
@media(max-width:767px){.site-grid{grid-template-columns:minmax(0,1fr)!important;column-gap:0!important;padding-inline:12px}.site-grid>.container-component{grid-column:1!important;width:100%;min-width:0}.com-content-article{padding:16px}.blog-items{width:100%;min-width:0}.blog-item .item-content{padding:16px}}

/* Article images occupy a separate block; no text wrapping. */
.com-content-article__body img{display:block;float:none!important;clear:both}.com-content-article__body :is(figure,p,div,a):has(img){float:none!important;max-width:100%}.com-content-article__body table{float:none!important}

/* About: social icons, galleries and council profiles. */
.about-page section{margin:0 0 32px}.about-social{display:flex;flex-wrap:wrap;gap:14px;align-items:center}.about-social a{display:inline-flex!important;width:28px;height:28px}.about-social img{width:28px!important;height:28px!important;margin:0!important;object-fit:contain;clear:none!important}.about-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.about-gallery a{display:block}.about-gallery img{width:100%!important;height:160px!important;object-fit:contain;margin:0!important;background:#f5f7fa;border-radius:6px}.council-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.council-card{display:flex!important;flex-direction:column;border:1px solid #dbe5ef;border-radius:8px;overflow:hidden;text-decoration:none!important}.council-card img{width:100%!important;height:210px!important;object-fit:contain;margin:0!important;background:#f5f7fa}.council-card strong{padding:16px;font-size:18px}.council-profile{max-width:100%;overflow-wrap:anywhere}.council-profile img{width:300px!important;max-width:100%!important;height:auto!important;object-fit:contain;display:block;margin:16px 0}.council-profile table{width:100%;max-width:100%}.blog:has(.council-grid)>.alert{display:none}.blog:has(.council-profile) .category-desc{width:100%}
@media(max-width:767px){.about-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.about-gallery img{height:120px!important}.council-grid{grid-template-columns:1fr}.council-card img{height:240px!important}}

.council-staff-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin:24px 0}.council-staff-card{min-width:0}.council-staff-card img{width:300px!important;height:300px!important;object-fit:contain;margin:0 0 16px!important}.council-staff-card ul{list-style:none;padding:0;margin:12px 0}@media(max-width:767px){.council-staff-grid{grid-template-columns:1fr;gap:28px}}

.project-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.project-card{display:flex;flex-direction:column;min-width:0;border:1px solid #dbe5ef;background:#fff;border-radius:8px;overflow:hidden;text-decoration:none!important}.project-card img{display:block;width:100%!important;height:auto!important;aspect-ratio:2/1;object-fit:contain;margin:0!important;background:#fff}.project-card strong{padding:16px 16px 8px;font-size:18px;line-height:1.3;text-transform:uppercase}.project-card p{padding:0 16px 16px;margin:0;font-size:16px;line-height:1.5}.project-banner img{width:100%;height:auto;max-height:300px;object-fit:contain}.project-details{margin:20px 0}.project-details summary{cursor:pointer;font-weight:700;color:#125c91;padding:14px 0}.project-details img{max-width:100%;height:auto}.projects-home{width:100%;padding:8px 0 16px}.projects-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.projects-heading h2{font-size:24px;margin:0}.projects-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 48px)/3);gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scroll-behavior:smooth;padding-bottom:12px}.projects-track .project-card{scroll-snap-align:start}.projects-controls{display:flex;justify-content:flex-end;gap:12px;margin-top:12px}.projects-controls button{border:0;border-radius:5px;background:#125c91;color:#fff;padding:8px 18px}.blog:has(.project-catalog)>.alert{display:none}.projects-slider-module.card{border:0;background:transparent;box-shadow:none}.projects-slider-module .card-body{padding:0}
@media(max-width:991px){.project-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.projects-track{grid-auto-columns:calc((100% - 24px)/2)}}@media(max-width:767px){.project-catalog{grid-template-columns:1fr}.projects-track{grid-auto-columns:88%}.projects-heading h2{font-size:22px}}

@media(max-width:767px){.site-grid{grid-template-columns:[full-start] minmax(0,1fr) [full-end]!important;grid-template-areas:"banner" "top-a" "top-b" "comp" "side-r" "side-l" "bot-a" "bot-b"!important}.site-grid>.container-banner{grid-column:1!important;min-width:0;width:100%;box-sizing:border-box}.site-grid>.container-component{grid-column:1!important;min-width:0;width:100%}.projects-home,.projects-slider-module,.projects-slider-module .card-body{width:100%;min-width:0;box-sizing:border-box}.projects-track{min-width:0;max-width:100%}}
