@font-face { font-family:"Roboto Slab"; font-weight:300; font-style:normal; font-display:swap; src:url("../fonts/roboto-slab-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family:"Roboto Slab"; font-weight:400; font-style:normal; font-display:swap; src:url("../fonts/roboto-slab-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family:"Roboto Slab"; font-weight:700; font-style:normal; font-display:swap; src:url("../fonts/roboto-slab-latin-700-normal.woff2") format("woff2"); }
:root { --primary:#3f4499; --primary-dark:#2f3475; --text:#555; --muted:#8a8a8a; --serif:"Roboto Slab", Georgia, "Times New Roman", serif; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin:0; font-family:var(--serif); font-weight:400; color:var(--text); line-height:1.65; background:#fff; }
img { max-width:100%; height:auto; }
a { color:var(--primary); text-decoration:none; }
a:hover { color:var(--primary-dark); }
.container { width:100%; max-width:1140px; margin:0 auto; padding:0 15px; }
.skip-link { position:absolute; left:-999px; top:0; background:#fff; padding:6px 10px; z-index:100; }
.skip-link:focus { left:0; }
.ico { vertical-align:-2px; }

/* Top bar */
#top-bar { background:#f9f9f9; padding:18px 0 22px; }
.top-row { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.logo img { display:block; width:250px; height:auto; }
.contact-info { list-style:none; margin:0; padding:0; display:flex; gap:26px; align-items:center; font-size:14px; font-weight:300; }
.contact-info a { color:var(--primary); }
.contact-info .ico { color:#8c8c8c; margin-right:5px; width:14px; height:14px; }
.lang-switch a { font-size:12px; border:1px solid #bbb; padding:1px 7px; border-radius:3px; color:#777; }

/* Menu bar */
#header { background:var(--primary); position:sticky; top:0; z-index:50; }
.header-row { display:flex; align-items:center; justify-content:space-between; min-height:86px; gap:14px; }
.main-nav .menu, .offcanvas .menu { list-style:none; margin:0; padding:0; }
.main-nav .menu { display:flex; flex-wrap:wrap; gap:4px; }
.main-nav .menu > li { position:relative; }
.main-nav .menu > li > a { display:block; padding:9px 14px; color:#fff; text-transform:uppercase; font-size:15px; font-weight:700; letter-spacing:.06em; line-height:1.3; text-decoration:none; }
.main-nav .menu > li > a .ico { width:12px; height:12px; margin-left:4px; vertical-align:-1px; }
.main-nav .menu > li:hover > a, .main-nav .menu > li.active > a, .main-nav .menu > li:focus-within > a { background:#000; color:#fff; }
.main-nav .sub-toggle { display:none; }
.main-nav .submenu { list-style:none; margin:0; padding:10px 0; position:absolute; left:0; top:calc(100% + 1px); min-width:240px; background:#fff;
    box-shadow:0 6px 18px rgba(0,0,0,.25); display:none; z-index:60; }
.main-nav li:hover > .submenu, .main-nav li:focus-within > .submenu { display:block; }
.main-nav .submenu li { padding:0 20px; }
.main-nav .submenu a { display:block; padding:10px; color:#444; font-size:15px; font-weight:300; line-height:1.5; }
.main-nav .submenu a:hover, .main-nav .submenu li.active > a { background:var(--primary); color:#fff; }
.main-nav .submenu .submenu { left:100%; top:0; }
.header-search input { border:1px solid rgba(255,255,255,.4); background:rgba(255,255,255,.12); color:#fff; border-radius:3px; padding:6px 10px; width:150px; font:inherit; font-size:13px; }
.header-search input::placeholder { color:rgba(255,255,255,.75); }
#menu-toggle { display:none; background:none; border:0; padding:8px; cursor:pointer; color:#fff; }
#menu-toggle svg { width:26px; height:26px; display:block; }

/* Page band + breadcrumbs */
#page-band { background:var(--primary); border-top:3px solid #fff; color:#fff; padding:14px 0 12px; }
.band-title { font-size:26px; font-weight:300; line-height:1.3; }
.breadcrumbs { font-size:15px; font-weight:300; }
.breadcrumbs a { color:#fff; }
.breadcrumbs .sep { margin:0 3px; }
.breadcrumbs .current { color:#cfd1ee; }

/* Off-canvas */
.offcanvas { position:fixed; top:0; right:0; bottom:0; width:280px; max-width:85vw; background:#fff; z-index:200; overflow-y:auto;
    transform:translateX(100%); transition:transform .25s; padding:50px 0 20px; box-shadow:-4px 0 14px rgba(0,0,0,.25); }
.offcanvas-backdrop-x { position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:150; display:none; }
body.menu-open .offcanvas { transform:none; }
body.menu-open .offcanvas-backdrop-x { display:block; }
.offcanvas-close { position:absolute; top:6px; right:12px; font-size:30px; background:none; border:0; cursor:pointer; }
.offcanvas li { position:relative; border-bottom:1px solid #eee; }
.offcanvas a { display:block; padding:12px 20px; color:#000; font-weight:700; text-transform:uppercase; font-size:14px; }
.offcanvas .submenu { list-style:none; margin:0; padding:0 0 0 14px; display:none; background:#f7f7f9; }
.offcanvas li.open > .submenu { display:block; }
.offcanvas .submenu a { text-transform:none; font-weight:400; }
.offcanvas .sub-toggle { position:absolute; right:0; top:0; width:48px; height:44px; background:none; border:0; cursor:pointer; }
.offcanvas .sub-toggle::before { content:"+"; font-size:22px; color:var(--primary); }
.offcanvas li.open > .sub-toggle::before { content:"−"; }

/* Hero carousel (self-contained: no Bootstrap CSS on the public site) */
#hero { background:#f2f2f2; }
.scms-carousel { position:relative; overflow:hidden; }
.scms-carousel .carousel-inner { position:relative; }
.scms-carousel .carousel-item { display:none; position:relative; }
.scms-carousel .carousel-item.active { display:block; }
.scms-carousel .carousel-item img { width:100%; display:block; max-height:520px; object-fit:cover; }
.scms-carousel .carousel-caption { position:absolute; left:8%; right:8%; bottom:12%; color:#fff; text-align:left; text-shadow:0 2px 6px rgba(0,0,0,.6); }
.scms-carousel .carousel-caption h3 { margin:0 0 10px; font-size:30px; font-weight:700; }
.scms-carousel .carousel-caption .btn { display:inline-block; background:var(--primary); color:#fff; padding:8px 18px; border-radius:3px; text-shadow:none; }
.scms-carousel .carousel-indicators { position:absolute; left:0; right:0; bottom:10px; display:flex; justify-content:center; gap:8px; z-index:3; margin:0; padding:0; }
.scms-carousel .carousel-indicators button { width:12px; height:12px; padding:0; border-radius:50%; border:2px solid #fff; background:transparent; cursor:pointer; }
.scms-carousel .carousel-indicators button.active { background:#fff; }
.scms-carousel .carousel-control-prev, .scms-carousel .carousel-control-next { position:absolute; top:50%; transform:translateY(-50%); z-index:3; width:44px; height:44px; border:0; border-radius:50%; background:rgba(0,0,0,.4); cursor:pointer; }
.scms-carousel .carousel-control-prev { left:12px; } .scms-carousel .carousel-control-next { right:12px; }
.scms-carousel .carousel-control-prev-icon::before { content:"\2039"; color:#fff; font-size:30px; line-height:1; }
.scms-carousel .carousel-control-next-icon::before { content:"\203A"; color:#fff; font-size:30px; line-height:1; }
.scms-carousel .visually-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
@media (max-width:767px) { .scms-carousel .carousel-caption h3 { font-size:18px; } }

/* Content */
.main-body { padding:30px 15px 50px; min-height:300px; }
.view-title { font-size:26px; color:var(--text); margin:0 0 20px; font-weight:300; line-height:1.3; }
.section-title { font-size:28px; color:var(--primary); margin:0 0 20px; font-weight:700; }
/* Page titles: bold uppercase with the old double rule */
/* The band already shows the page title; keep the h1 for screen readers and SEO */
.page-view > .view-title { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.page-view { padding-top:8px; }
.view-body h1, .article-body h1 { text-align:center; font-weight:300; font-size:32px; color:#444; margin:.6em 0 .8em; }
.view-body h2, .article-body h2 { font-weight:400; color:#444; font-size:24px; }
.view-body h3, .article-body h3 { font-weight:400; color:#444; font-size:20px; }
.page-heading { font-size:40px; font-weight:300; text-transform:uppercase; color:#333; margin:10px 0 24px; padding-bottom:18px; border-bottom:1px solid #e8e8e8; line-height:1.2; }
/* Article header: pin + meta + title */
.article-head { display:flex; gap:20px; align-items:flex-start; margin:0 0 22px; }
.article-pin { flex:none; width:48px; height:48px; background:var(--primary); color:#fff; display:flex; align-items:center; justify-content:center; margin-top:2px; }
.article-head-main { min-width:0; }
.article-head .article-meta { margin:0 0 4px; font-size:12.5px; font-weight:300; text-transform:uppercase; color:#777; display:flex; flex-wrap:wrap; gap:4px 18px; }
.article-head .article-meta a, .article-head .article-meta > span, .article-head .article-meta time { color:#777; }
.article-head .article-meta a:hover { color:var(--primary); }
.article-head .article-meta svg { vertical-align:-2px; margin-right:2px; }
.article-head .view-title, .news-title { font-size:24px; font-weight:300; color:#333; margin:0; line-height:1.3; }
.news-title a { color:#333; }
.news-title a:hover { color:var(--primary); }
.article-body, .news-body, .view-body { font-weight:300; color:#555; }
.news-item { margin-bottom:42px; }
.news-body::after { content:""; display:table; clear:both; }
.news-thumb { float:left; width:160px; max-width:40%; margin:6px 20px 12px 0; }
.news-thumb img { display:block; width:100%; height:110px; object-fit:cover; }
.article-adjacent { display:flex; justify-content:space-between; gap:12px; margin:44px 0 10px; }
.adj-btn { display:inline-block; padding:7px 18px; border:1px solid #ccc; border-radius:22px; color:#777; font-weight:300; background:#fff; }
.adj-btn span { color:var(--primary); font-size:.85em; }
.adj-btn:hover { border-color:var(--primary); color:var(--primary); }
.section-title { text-align:center; margin-bottom:28px; }
.article-meta, .card-meta { color:var(--muted); font-size:13px; }
.article-body { font-size:16px; }
/* Editor content: sized/positioned images and videos */
.article-body img { max-width:100%; height:auto; }
.article-body::after { content:""; display:table; clear:both; }
.scms-video-wrap { margin:1rem 0; max-width:100%; box-sizing:border-box; }
.scms-video-wrap video { display:block; max-width:100%; }
@media (max-width:600px) {
  .article-body img[style*="float"], .scms-video-wrap[style*="float"] { float:none !important; display:block; width:auto !important; max-width:100%; margin-left:0 !important; margin-right:0 !important; }
}
/* Article templates */
.article-image-float { float:left; width:38%; max-width:100%; margin:0 24px 12px 0; }
.article-layout-image_right .article-image-float { float:right; margin:0 0 12px 24px; }
.article-lead { font-size:1.1em; color:var(--muted); }
.article-cols { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:32px; align-items:start; }
.article-side { background:#f6f7f9; border:1px solid #e6e6e6; padding:16px; }
.article-side img { width:100%; height:auto; margin-bottom:12px; display:block; }
.article-faq { grid-template-columns:260px minmax(0,1fr); }
.article-toc { position:sticky; top:16px; background:#f6f7f9; border:1px solid #e6e6e6; padding:12px 16px; }
.article-toc ul { list-style:none; margin:0; padding:0; }
.article-toc li { padding:4px 0; }
.article-toc .toc-l3 { padding-left:14px; font-size:.92em; }
.article-faq .article-body h2, .article-faq .article-body h3 { scroll-margin-top:16px; }
.article-hero { background:var(--primary) center/cover no-repeat; color:#fff; text-align:center; padding:70px 20px; margin:0 -15px 24px; position:relative; }
.article-hero::before { content:""; position:absolute; inset:0; background:rgba(0,0,0,.45); }
.article-hero-inner { position:relative; max-width:820px; margin:0 auto; }
.article-hero .view-title, .article-hero .article-lead { color:#fff; margin-bottom:8px; }
.article-hero .view-title { font-size:36px; }
.article-layout-landing .article-body { max-width:860px; margin:0 auto; font-size:18px; }
@media (max-width:820px) {
  .article-cols, .article-faq { grid-template-columns:1fr; }
  .article-toc { position:static; }
  .article-image-float { float:none; width:100%; margin:0 0 16px; }
}
.cards { display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; }
.card { border:1px solid #e6e6e6; background:#fff; display:flex; flex-direction:column; }
.card-img img { width:100%; height:190px; object-fit:cover; display:block; }
.card-body { padding:16px; }
.card h3 { font-size:18px; margin:0 0 6px; line-height:1.3; }
.read-more, .btn-primary, .btn-send { display:inline-block; background:var(--primary); color:#fff; padding:7px 16px; border:0; border-radius:3px; cursor:pointer; font-size:14px; }
.read-more:hover, .btn-primary:hover, .btn-send:hover { background:var(--primary-dark); color:#fff; }
.more-news { margin-top:40px; }
.more-news-bar { background:var(--primary); margin:0; padding:10px 18px; font-size:20px; }
.more-news-bar a { color:#fff; }
.more-list { list-style:none; margin:0; padding:0; border:1px solid #e6e6e6; border-top:0; }
.more-list li { padding:10px 18px; border-bottom:1px solid #eee; display:flex; justify-content:space-between; gap:12px; }
.more-list .date { color:var(--muted); font-size:13px; white-space:nowrap; }
.pager ul { list-style:none; display:flex; justify-content:center; padding:0; margin:34px auto 0; flex-wrap:wrap; width:fit-content; max-width:100%; border:1px solid #ddd; border-radius:4px; overflow:hidden; }
.pager li { margin:0; border-left:1px solid #ddd; }
.pager li:first-child { border-left:0; }
.pager a, .pager span { display:block; padding:8px 12px; min-width:34px; text-align:center; color:#444; font-weight:300; background:#fff; line-height:1.4; }
.pager a:hover { background:#f0f1fa; color:var(--primary); }
.pager .current span { background:var(--primary); color:#fff; font-weight:400; }
.msg-box { text-align:center; padding:60px 0; }
.article-tags a { margin-right:8px; }

/* Forms */
.contact-form { max-width:640px; }
.form-row { margin-bottom:14px; }
.form-row label { display:block; font-weight:700; margin-bottom:4px; }
.form-row input, .form-row textarea, .form-row select { width:100%; padding:8px 10px; border:1px solid #ccc; border-radius:3px; font:inherit; }
.hp-field { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form-alert { padding:10px 14px; margin-bottom:14px; border-radius:3px; }
.form-ok { background:#e6f4ea; color:#1e6b34; }
.form-err { background:#fdecea; color:#a12622; }

/* Footer */
#footer { background:#2b2d5b; color:#ccc; text-align:center; padding:26px 0; font-size:14px; }
#footer p { margin:4px 0; }

/* Gallery cards: overlay with "+" on hover */
.scms-gallery-card { color:var(--primary); font-weight:300; }
.scms-gallery-thumb { position:relative; border-radius:0; }
.scms-gallery-thumb img { border-radius:0; aspect-ratio:4/3; }
.scms-gallery-card:hover .scms-gallery-thumb { opacity:1; }
.scms-gallery-thumb::after { content:"+"; position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background:rgba(63,68,153,.72);
    color:#fff; font-size:34px; font-weight:700; opacity:0; transition:opacity .2s; }
.scms-gallery-card:hover .scms-gallery-thumb::after { opacity:1; }
.scms-gallery-card-title { font-size:18px; font-weight:300; margin-top:.4rem; }
.scms-gallery-count { text-transform:uppercase; font-size:.75rem; }

/* Tablet */
@media (max-width: 991px) {
    .main-nav .menu > li > a { padding:9px 8px; font-size:14px; letter-spacing:.03em; }
    .header-search input { width:110px; }
}
/* Phone */
@media (max-width: 767px) {
    .top-row { flex-direction:column; align-items:center; text-align:center; gap:8px; }
    .contact-info { gap:14px; flex-wrap:wrap; justify-content:center; font-size:13px; }
    .main-nav, .header-search { display:none; }
    #menu-toggle { display:block; margin-left:auto; }
    .header-row { min-height:56px; }
    .band-title { font-size:21px; }
    .page-heading { font-size:28px; }
    .news-thumb { float:none; width:100%; max-width:100%; margin:0 0 14px; }
    .news-thumb img { height:180px; }
    .article-head { gap:12px; }
    .cards { grid-template-columns:1fr; }
    .view-title, .section-title { font-size:22px; }
    .more-list li { flex-direction:column; gap:2px; }
}
@media (min-width: 768px) { .offcanvas, .offcanvas-backdrop-x { display:none !important; } }
.offcanvas .ico { display:none; }

/* Home: recent news heading like the old site */
.home-recent .section-title { text-align:left; text-transform:uppercase; font-size:22px; border-bottom:3px double #d6d6d6; padding-bottom:4px; margin-bottom:16px; }
