:root{--blue:#074b7b;--ink:#102e46;--orange:#ff911b;--muted:#4d6272;--line:#d5dfe6;--paper:#f6f8fa}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;color:var(--ink);background:#fff;font:17px/1.6 Arial,sans-serif}a{color:inherit}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a:focus-visible,button:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid #9b4600;outline-offset:5px}a:hover{text-decoration-thickness:2px}.wrap{max-width:1220px;margin:auto;padding:0 36px}.skip{position:fixed;top:-100px;left:20px;background:white;padding:15px;z-index:5}.skip:focus{top:10px}.top{background:var(--blue);color:white;font-size:13px}.top .wrap{display:flex;justify-content:space-between;padding-top:8px;padding-bottom:8px}.top a{text-decoration:none}.top button{border:0;background:transparent;color:white}.header{display:flex;align-items:center;justify-content:space-between;gap:28px;padding-top:22px;padding-bottom:22px}.logo{width:175px;height:auto;display:block}.nav{display:flex;gap:28px;align-items:center;font-size:14px}.nav a{text-decoration:none}.btn{display:inline-flex;align-items:center;justify-content:center;gap:24px;min-height:50px;padding:13px 24px;border-radius:5px;text-decoration:none;font-weight:700;border:1px solid var(--blue);background:var(--blue);color:white;font-size:14px}.btn.orange{background:var(--orange);color:#172c3e;border-color:var(--orange)}.btn.outline{background:transparent;color:var(--blue)}.menu{display:none}.hero{background:var(--paper);overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:65px;align-items:center;padding-top:62px;padding-bottom:65px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:2px;text-transform:uppercase;display:flex;gap:12px;align-items:center}.eyebrow:before{content:'';width:23px;height:3px;background:var(--orange)}.hero-title{font-size:clamp(42px,4.5vw,65px);line-height:1.08;letter-spacing:-2.4px;margin:25px 0}.hero-title span{color:var(--blue)}.intro{font-size:18px;color:var(--muted);max-width:470px}.actions{display:flex;gap:14px;margin:30px 0 26px;flex-wrap:wrap}.fine{font-size:13px;color:var(--muted)}.hero-art{position:relative;padding:0 0 28px 22px}.hero-art:before{content:'';position:absolute;right:-22px;top:28px;bottom:0;left:50px;border:1px solid #b7c9d7;border-radius:140px 12px 12px 12px}.photo{display:block;width:100%;height:405px;object-fit:cover;object-position:69% center;border-radius:140px 12px 12px 12px;position:relative}.quote{position:absolute;bottom:0;left:-12px;right:30px;padding:21px 26px;background:var(--blue);color:white;border-radius:5px;box-shadow:0 12px 30px #092d431a}.quote strong{font-size:21px;display:block}.quote span{font-size:12px;color:#d9e8f3}.quote b{float:right;font:55px Georgia;color:var(--orange);line-height:1}.strip{border-bottom:1px solid var(--line)}.strip .wrap{display:grid;grid-template-columns:repeat(3,1fr);padding-top:24px;padding-bottom:24px}.strip-item{display:flex;gap:17px;align-items:center;justify-content:center;border-right:1px solid var(--line)}.strip-item:last-child{border:0}.symbol{font-size:25px;color:var(--blue)}.strip strong{display:block;font-size:14px}.strip small{font-size:12px;color:var(--muted)}section.section{padding:80px 0}.section-top{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:30px}h2{font-size:38px;letter-spacing:-1px;line-height:1.18;margin:15px 0}h3{font-size:23px;line-height:1.3;margin:16px 0}.section-top p{color:var(--muted);max-width:390px;font-size:15px}.filters{display:flex;gap:10px;margin:25px 0 30px;flex-wrap:wrap}.filter{border:1px solid var(--line);border-radius:30px;background:white;color:var(--ink);padding:9px 20px;min-height:44px;font-size:14px}.filter[aria-pressed=true]{background:var(--blue);color:white;border-color:var(--blue)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{border:1px solid var(--line);border-radius:8px;padding:28px;display:flex;flex-direction:column;position:relative;min-height:350px}.card.featured{background:#eef4f8;border-color:#b5cbdc}.card .number{font-size:13px;color:var(--muted)}.card .tag{position:absolute;right:22px;top:22px;background:#ffdbb1;color:#643000;padding:3px 10px;border-radius:20px;font-size:11px;font-weight:bold}.card p{font-size:15px;color:var(--muted);margin:0 0 24px}.card details{margin-top:auto;font-size:14px}.card summary{padding:12px 0;color:var(--blue);font-weight:bold;cursor:pointer}.card details p{margin:14px 0}.card .btn{margin-top:12px}.approach{background:var(--blue);color:white}.approach .wrap{display:grid;grid-template-columns:1fr 1.2fr;gap:80px}.approach h2{font-size:43px}.approach p{color:#dce8f1}.steps{display:grid;gap:0}.step{display:grid;grid-template-columns:45px 1fr;gap:15px;padding:22px 0;border-bottom:1px solid #ffffff40}.step:first-child{padding-top:0}.step b{color:#ffb660;font-size:14px}.step h3{font-size:20px;margin:0 0 5px}.step p{font-size:14px;margin:0}.teacher{display:grid;grid-template-columns:1fr 1fr;gap:80px}.teacher-box{background:#eff4f7;border-radius:8px;padding:35px;border-left:5px solid var(--orange)}.teacher-box blockquote{font:29px/1.4 Georgia;margin:0 0 22px}.teacher p{color:var(--muted)}.contact{background:#f3f6f8}.contact-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:80px}.contact-links{display:grid;gap:15px}.contact-links a{font-size:25px;text-decoration:none;color:var(--blue);font-weight:bold}.contact-panel{border:1px solid var(--line);padding:30px;border-radius:8px;background:white}.contact-panel h3{margin-top:0}.contact-panel p{font-size:15px;color:var(--muted)}.faq{max-width:850px}.faq details{border-bottom:1px solid var(--line);padding:20px 0}.faq summary{font-weight:bold;cursor:pointer;min-height:30px}.faq p{color:var(--muted)}footer{padding:32px 0;border-top:1px solid var(--line);font-size:12px}footer .wrap{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.settings{background:#fff4e6;border-bottom:1px solid #e4bd85;padding:18px 0}.settings .wrap{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.settings button{padding:9px 15px;border:1px solid var(--blue);background:white;color:var(--blue);border-radius:4px}.large{font-size:21px}.large p,.large a,.large button,.large select,.large label,.large summary,.large small,.large .number,.large .eyebrow{font-size:1.15em}.large .nav{flex-wrap:wrap}.high{--blue:#003252;--ink:#001c2e;--muted:#243a4a;--line:#6a8192;--paper:#fff}.high p{color:inherit}.status{font-size:14px;color:var(--muted)}[hidden]{display:none!important}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}@media(max-width:900px){.nav{gap:14px}.nav .btn{display:none}.hero-grid{gap:25px}.hero-art{padding-left:0}.photo{height:370px}.quote{left:-15px;right:10px}.cards{grid-template-columns:1fr 1fr}.approach .wrap,.teacher,.contact-grid{gap:35px}.wrap{padding-left:24px;padding-right:24px}}@media(max-width:650px){.top .hours{display:none}.top .wrap{font-size:12px}.header{flex-wrap:wrap;padding-top:15px;padding-bottom:15px}.logo{width:145px}.menu{display:block;background:white;border:1px solid var(--line);border-radius:4px;padding:9px 16px;min-height:44px}.nav{display:none;width:100%;flex-direction:column;align-items:stretch}.nav.open{display:flex}.nav a{padding:10px}.hero-grid{grid-template-columns:1fr;padding-top:35px;padding-bottom:38px;gap:30px}.hero-title{font-size:45px;letter-spacing:-1.8px}.hero-art{padding:0 10px 30px}.photo{height:290px;border-radius:80px 8px 8px 8px}.quote{left:0;right:28px}.strip .wrap{grid-template-columns:1fr;gap:18px}.strip-item{border:0;justify-content:start}.cards{grid-template-columns:1fr}.section-top{display:block}section.section{padding:50px 0}h2{font-size:32px}.approach .wrap,.teacher,.contact-grid{grid-template-columns:1fr;gap:32px}.approach h2{font-size:35px}.contact-links a{font-size:22px}.actions .btn{flex:1;white-space:nowrap}.top a{min-height:28px;display:inline-flex;align-items:center}}

/* Warmer, more expressive brand treatment */
:root{--blue:#004e85;--ink:#102f49;--orange:#ff961f;--paper:#fff5e7;--line:#b9cbd8}
body{background:#fffdf9}.wrap{max-width:1420px;padding-left:44px;padding-right:44px}.top{font-size:14px}.top .wrap{padding-top:10px;padding-bottom:10px}.header{padding-top:24px;padding-bottom:24px}.logo{width:205px}.nav{font-size:15px;font-weight:600;gap:30px}.btn{min-height:56px;padding:15px 26px;border-radius:10px;font-size:15px;border-width:2px;box-shadow:0 5px 0 #002d4e;transition:transform .15s,box-shadow .15s}.btn:hover{transform:translateY(-2px);box-shadow:0 7px 0 #002d4e}.btn.orange{box-shadow:0 5px 0 #bf5900}.btn.orange:hover{box-shadow:0 7px 0 #bf5900}.btn.outline{background:#fffdf9;box-shadow:none}.hero{position:relative;background:#fff3e0;border-top:1px solid #f0ddc3;border-bottom:1px solid #e7ccaa}.hero-grid{gap:64px;padding-top:65px;padding-bottom:72px;position:relative}.hero .eyebrow{font-size:12px;letter-spacing:1.7px}.eyebrow:before{width:30px;height:5px;border-radius:3px}.hero-title{font-size:clamp(48px,4.7vw,76px);font-weight:800;letter-spacing:-3px;line-height:1.04;margin:25px 0 28px}.hero-title span{position:relative;display:inline-block;z-index:0}.hero-title span:after{content:'';position:absolute;bottom:-7px;left:0;right:0;height:13px;background:var(--orange);border-radius:10px;z-index:-1}.intro{font-size:20px;line-height:1.6;max-width:540px;color:#344f61}.fine{font-size:14px}.actions{gap:18px;margin-top:32px;margin-bottom:30px}.hero-art{padding:0 5px 35px 15px}.hero-art:before{left:38px;right:-10px;top:-22px;bottom:17px;background:var(--orange);border:0;border-radius:130px 30px 30px 30px;transform:rotate(4deg)}.photo{height:475px;border-radius:120px 22px 22px 22px;border:6px solid white;box-shadow:0 18px 40px #653a1724;object-position:72% center}.quote{left:-15px;right:22px;bottom:0;border-radius:14px;padding:26px 30px;border-left:7px solid var(--orange);box-shadow:0 12px 25px #002c4a25}.quote strong{font-size:24px}.quote span{font-size:15px}.quote b{font-size:65px}.strip{background:#fffdf9;border-bottom:2px solid #d9e2e8}.strip .wrap{padding-top:30px;padding-bottom:30px}.strip-item{gap:18px}.symbol{background:#e5eff6;width:58px;height:58px;display:grid;place-items:center;border-radius:16px;font-size:30px;flex-shrink:0}.strip strong{font-size:17px}.strip small{font-size:14px}section.section{padding-top:88px;padding-bottom:88px}h2{font-size:44px;font-weight:800;letter-spacing:-1.4px}.section-top p{font-size:17px;max-width:440px}.filters{gap:12px;margin-top:30px}.filter{border-width:2px;font-size:15px;font-weight:600;padding:11px 23px;background:#fffdf9}.filter[aria-pressed=true]{box-shadow:0 4px 0 #002d4e}.cards{gap:25px}.card{padding:32px;border:2px solid #c4d4df;border-top:7px solid var(--blue);border-radius:17px;background:white;box-shadow:0 8px 0 #e8eef2;min-height:370px}.card.featured{background:#fff0d9;border-color:#e3be86;border-top-color:var(--orange);box-shadow:0 8px 0 #f3dfbf}.card:nth-child(3n){background:#edf5fa}.card h3{font-size:28px;font-weight:800;margin-top:24px}.card p{font-size:16px}.card .number{font-weight:700;font-size:13px}.card .tag{top:47px;right:24px;background:#ffd090}.card summary{font-size:16px}.approach{background:#004e85;border-top:8px solid var(--orange)}.approach .wrap{gap:100px}.approach h2{font-size:48px}.approach p{font-size:18px}.step{padding:27px 0;grid-template-columns:60px 1fr}.step b{background:#ffb45e;color:#132e43;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;font-size:17px}.step h3{font-size:24px}.step p{font-size:16px}.teacher-box{border-radius:22px;background:#fff0d9;border-left-width:9px;padding:42px}.teacher-box h3{font-size:30px}.contact{background:#eaf3f9;border-top:2px solid #c6dce9}.contact-panel{border-width:2px;border-radius:20px;box-shadow:0 9px 0 #cbdfea;padding:38px}.contact-panel h3{font-size:28px}.contact-links a{font-size:29px}.faq details{border-bottom-width:2px;padding:24px 0}.faq summary{font-size:20px}footer{background:var(--blue);color:white;font-size:14px;padding:32px 0}.high .hero,.high .card,.high .teacher-box,.high .contact{background:#fff}.high .intro{color:#102f49}.high footer,.high .approach{background:#003252}.high .approach p{color:white}
@media(min-width:1600px){.wrap{max-width:1520px}.hero-grid{gap:90px}.photo{height:510px}}
@media(max-width:1100px){.nav{gap:15px;font-size:14px}.hero-grid{gap:35px}.hero-art{padding-left:0}.hero .hero-title{font-size:59px}.photo{height:430px}.quote strong{font-size:20px}.actions .btn{font-size:14px;padding:13px 17px}.strip small{font-size:12px}.strip strong{font-size:15px}.symbol{width:45px;height:45px}.card{padding:25px}.card h3{font-size:25px}}
@media(max-width:650px){.wrap{padding-left:23px;padding-right:23px}.header{padding-top:18px;padding-bottom:18px}.logo{width:175px}.hero-grid{padding-top:38px;padding-bottom:45px;gap:45px}.hero .hero-title{font-size:49px;letter-spacing:-2px}.hero .eyebrow{font-size:10px;letter-spacing:1px}.intro{font-size:18px}.hero-art{padding:0 10px 26px}.hero-art:before{top:-12px;left:25px;right:0;bottom:16px;border-radius:75px 22px 22px 22px}.photo{height:320px;border-radius:75px 18px 18px 18px;border-width:4px}.quote{left:0;right:20px;padding:20px}.quote strong{font-size:19px}.quote span{font-size:13px}.actions{gap:13px}.actions .btn{flex:auto;min-height:52px}.strip .wrap{padding-top:25px;padding-bottom:25px;gap:22px}.strip-item{gap:16px}.strip strong{font-size:16px}.strip small{font-size:13px}.symbol{width:49px;height:49px}.section-top p{font-size:16px}h2{font-size:35px}section.section{padding-top:55px;padding-bottom:55px}.filter{font-size:14px;padding:9px 17px}.card{min-height:335px}.card h3{font-size:27px}.card .tag{right:18px}.approach h2{font-size:38px}.approach .wrap{gap:35px}.approach p{font-size:17px}.teacher-box{padding:28px}.teacher-box h3{font-size:26px}.contact-panel{padding:27px}.contact-links a{font-size:25px}.faq summary{font-size:18px}footer{font-size:13px}}


.visual-section{background:#fff0d9;border-bottom:1px solid #ead1ac}.visual-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:30px}.visual-story{margin:0;background:#004e85;border-radius:24px;overflow:hidden;box-shadow:0 9px 0 #dfc49c}.visual-story>img{display:block;width:100%;height:290px;object-fit:cover;object-position:65% center}.visual-story figcaption{padding:28px 32px 32px;color:white}.visual-story figcaption>span{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;color:#ffcc91}.visual-story h3{font-size:31px;margin:14px 0 20px}.visual-story a{font-size:16px;font-weight:700;text-underline-offset:5px}.visual-story.secondary{background:#fffdf9}.visual-story.secondary figcaption{color:#102f49}.visual-story.secondary figcaption>span{color:#805016}.visual-story.secondary>img{object-position:center}.teacher{align-items:center}.teacher-box{padding:0 0 32px;overflow:hidden;border-left:0;border-bottom:7px solid #ff961f}.teacher-box>.eyebrow,.teacher-box>h3,.teacher-box>p,.teacher-box>a{margin-left:32px;margin-right:32px}.teacher-box>.eyebrow{margin-top:27px}.online-photo{display:block;width:100%;height:245px;object-fit:cover;object-position:center 43%;border-bottom:4px solid white}.contact-grid{align-items:center}.dialogue-art{display:block;width:100%;max-width:560px;height:auto;border-radius:22px;margin-bottom:32px;border:4px solid white;box-shadow:0 8px 0 #c5dce9}.contact-panel{align-self:center}.high .visual-section{background:white}.high .visual-story.secondary{background:white}@media(max-width:650px){.visual-grid{grid-template-columns:1fr;gap:27px}.visual-story>img{height:220px}.visual-story figcaption{padding:24px}.visual-story h3{font-size:27px}.online-photo{height:225px}.teacher-box>.eyebrow,.teacher-box>h3,.teacher-box>p,.teacher-box>a{margin-left:25px;margin-right:25px}.dialogue-art{margin-bottom:30px}}

html,body{overflow-x:clip!important}.body-wrapper,.body-innerwrapper{overflow:visible!important}
#sp-header,.sticky-header{height:auto!important;min-height:80px;position:relative;z-index:1000!important;background:var(--paper,#fffdf9)!important;border-bottom:1px solid #d5dfe6!important;box-shadow:0 4px 18px rgba(16,47,73,0.07)!important;transition:box-shadow .2s ease,background-color .2s ease}
body.sticky-header #sp-header,body.sticky-header .sticky-header{position:-webkit-sticky!important;position:sticky!important;top:0!important}
#sp-header.header-sticky,#sp-header.is-stuck,.sticky-header.header-sticky,.sticky-header.is-stuck{box-shadow:0 6px 24px rgba(16,47,73,0.14)!important}
.sticky-header-placeholder{display:none!important}
.hero{overflow:hidden!important}.hero-art:before{top:0!important}
.skip{z-index:10000}html{scroll-padding-top:var(--menu-offset,140px)}.high #sp-header,.high #sp-header.header-sticky,.high .sticky-header{background:white!important}@media(max-width:650px){html{scroll-padding-top:var(--menu-offset,100px)}#sp-header .nav.open,.sticky-header .nav.open{max-height:calc(100dvh - 110px);overflow-y:auto}}
.hero h1.eyebrow{margin:0;font-size:12px;font-weight:700;line-height:1.6;letter-spacing:1.7px}@media(max-width:650px){.hero h1.eyebrow{font-size:10px;letter-spacing:1px}}

/* Full-width container adaptation for AGENT homepage layout (RU: 375, LV: 376) */
.itemid-375 #sp-main-body,
.itemid-375 #sp-main-body > .container,
.itemid-375 #sp-main-body > .container-fluid,
.itemid-375 #sp-main-body .row,
.itemid-375 #sp-main-body .col-lg-12,
.itemid-375 #sp-component,
.itemid-375 .sp-column,
.itemid-375 .item-page,
.itemid-375 .com-content,
.itemid-376 #sp-main-body,
.itemid-376 #sp-main-body > .container,
.itemid-376 #sp-main-body > .container-fluid,
.itemid-376 #sp-main-body .row,
.itemid-376 #sp-main-body .col-lg-12,
.itemid-376 #sp-component,
.itemid-376 .sp-column,
.itemid-376 .item-page,
.itemid-376 .com-content {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

.itemid-375 #sp-title,
.itemid-375 #sp-section-1,
.itemid-376 #sp-title,
.itemid-376 #sp-section-1 {
    display: none !important;
}

/* Hide superfluous article header, featured badge, and social share on homepage */
.featured-article-badge {
    display: none !important;
}

.itemid-375 .article-header,
.itemid-376 .article-header,
.itemid-380 .article-header,
.view-article.itemid-375 .article-header,
.view-article.itemid-376 .article-header {
    display: none !important;
}

.itemid-375 .article-ratings-social-share,
.itemid-376 .article-ratings-social-share,
.itemid-380 .article-ratings-social-share,
.itemid-375 .social-share-block,
.itemid-376 .social-share-block,
.social-share-block {
    display: none !important;
}

.itemid-375 .article-details,
.itemid-376 .article-details {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.itemid-375 #sp-main-body,
.itemid-376 #sp-main-body {
    padding-top: 0 !important;
}

/* Hide unused bottom module section */
#sp-bottom {
    display: none !important;
}

/* ==========================================================================
   Update-Safe Native Helix Ultimate Header, Top-Bar & Footer Styling
   ========================================================================== */

/* Top Bar (#sp-top-bar) */
#sp-top-bar {
    background: var(--blue, #004e85) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    padding: 8px 0 !important;
    border-bottom: 0 !important;
}
#sp-top-bar > .container {
    max-width: 1420px !important;
    padding-left: 44px !important;
    padding-right: 44px !important;
}
#sp-top-bar > .container > .container-inner > .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
#sp-top1,
#sp-top2 {
    width: auto !important;
    flex: 0 1 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
#sp-top1 .sp-column {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    text-align: left !important;
}
#sp-top-bar ul.sp-contact-info {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    color: #ffffff !important;
}
#sp-top-bar ul.sp-contact-info li {
    display: inline-flex;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-size: 14px !important;
}
#sp-top-bar ul.sp-contact-info li .fas,
#sp-top-bar ul.sp-contact-info li .far {
    display: none !important;
}
#sp-top-bar ul.sp-contact-info li a {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600;
}
#sp-top-bar ul.sp-contact-info li.sp-contact-time::before {
    content: "·";
    margin-right: 8px;
    opacity: 0.85;
}
#sp-top2 .sp-column {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
}
#sp-top-bar .sp-module {
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
}
#sp-top-bar #access {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff !important;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
}
#sp-top-bar #access svg {
    display: block;
    width: 20px;
    height: 20px;
}
#sp-top-bar #access:hover,
#sp-top-bar #access[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.28);
    text-decoration: none;
}

/* Accessibility Settings Bar (#settings) & Joomla Core Accessibility Widget */
#settings.settings {
    background: #fff4e6 !important;
    border-bottom: 1px solid #e4bd85 !important;
    padding: 16px 0 !important;
    color: var(--ink, #102f49) !important;
}
#settings.settings .wrap {
    max-width: 1420px !important;
    padding-left: 44px !important;
    padding-right: 44px !important;
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}
#settings.settings button {
    padding: 9px 16px;
    border: 1px solid var(--blue, #004e85);
    background: #ffffff;
    color: var(--blue, #004e85);
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}
#settings.settings button[aria-pressed="true"],
#settings.settings button:hover {
    background: var(--blue, #004e85);
    color: #ffffff;
}
#settings.settings a {
    color: var(--blue, #004e85) !important;
    font-weight: 600;
    text-decoration: underline;
}
._access-icon {
    display: none !important;
}

/* Main Header (#sp-header) */
#sp-header {
    background: var(--paper, #fffdf9) !important;
    height: auto !important;
    min-height: 98px !important;
    padding: 20px 0 !important;
    border-bottom: 1px solid #d5dfe6 !important;
    box-shadow: 0 4px 18px rgba(16, 47, 73, 0.07) !important;
}
#sp-header > .container {
    max-width: 1420px !important;
    padding-left: 44px !important;
    padding-right: 44px !important;
}
#sp-header > .container > .container-inner > .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
}
#sp-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
#sp-logo .logo {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
}
#sp-logo .logo-image {
    height: 68px !important;
    width: auto !important;
    max-width: 215px;
    object-fit: contain;
}

/* Navigation & Header CTA (#sp-menu) */
#sp-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
}
#sp-menu > .sp-column {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 24px;
    flex-wrap: nowrap !important;
    width: 100%;
}
.sp-megamenu-wrapper {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
}
@media (min-width: 992px) {
    ul.sp-megamenu-parent {
        display: inline-flex !important;
        align-items: center !important;
        gap: 24px;
        list-style: none;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
    }
}
@media (max-width: 991.98px) {
    .sp-megamenu-wrapper,
    ul.sp-megamenu-parent {
        display: none !important;
    }
}
ul.sp-megamenu-parent > li {
    display: inline-flex;
    align-items: center;
    padding: 0 !important;
}
ul.sp-megamenu-parent > li > a,
ul.sp-megamenu-parent > li > span {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--ink, #102f49) !important;
    line-height: 1.4 !important;
    padding: 8px 4px !important;
    text-decoration: none !important;
    height: auto !important;
}
ul.sp-megamenu-parent > li:hover > a,
ul.sp-megamenu-parent > li.active > a {
    color: var(--blue, #004e85) !important;
}
ul.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
    background: #ffffff !important;
    border-radius: 14px !important;
    border: 1px solid #d5dfe6 !important;
    box-shadow: 0 14px 32px rgba(16, 47, 73, 0.12) !important;
    padding: 14px !important;
}
ul.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
    color: var(--ink, #102f49) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 8px 12px !important;
    border-radius: 8px;
}
ul.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover {
    background: #eef4f8 !important;
    color: var(--blue, #004e85) !important;
}

/* Header Language Pill + CTA Button (Modules 205/206) */
.header-cta-group {
    display: inline-flex;
    align-items: center;
    gap: 18px;
}
.header-cta-group .lang-switch {
    font-size: 14px;
    font-weight: 700;
    padding: 6px 12px;
    border: 1px solid #d5dfe6;
    border-radius: 6px;
    color: var(--ink, #102f49) !important;
    text-decoration: none !important;
    background: #ffffff;
    transition: border-color 0.15s, color 0.15s;
}
.header-cta-group .lang-switch:hover {
    border-color: var(--blue, #004e85);
    color: var(--blue, #004e85) !important;
}
.header-cta-group .header-cta-btn {
    min-height: 50px !important;
    padding: 12px 22px !important;
    font-size: 15px !important;
    color: #ffffff !important;
    white-space: nowrap;
}

/* Native Helix Footer (#sp-footer) styled as AGENT Blue Footer */
#sp-footer {
    display: block !important;
    height: auto !important;
    background: var(--blue, #004e85) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    padding: 32px 0 !important;
    border-top: 1px solid var(--line, #b9cbd8) !important;
}
#sp-footer > .container {
    max-width: 1420px !important;
    padding-left: 44px !important;
    padding-right: 44px !important;
}
#sp-footer .container-inner {
    padding: 0 !important;
    border: 0 !important;
}
#sp-footer .row {
    align-items: center;
}
#sp-footer .sp-copyright {
    color: #ffffff !important;
    font-size: 14px;
}
#sp-footer .footer-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
#sp-footer a {
    color: #ffffff !important;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.high #sp-footer,
.high #sp-top-bar {
    background: #003252 !important;
}

@media (max-width: 991.98px) {
    #sp-top-bar > .container,
    #sp-header > .container,
    #sp-footer > .container,
    #settings.settings .wrap {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    #sp-header {
        min-height: 74px !important;
        padding: 12px 0 !important;
    }
    #sp-menu > .sp-column {
        gap: 14px !important;
    }
    #sp-header .sp-module {
        margin: 0 !important;
    }
    #offcanvas-toggler {
        height: 40px !important;
        line-height: 40px !important;
        margin: 0 !important;
        padding: 0 4px !important;
        display: inline-flex !important;
        align-items: center !important;
    }
    #sp-footer .footer-links {
        justify-content: flex-start;
        margin-top: 12px;
    }
}
@media (max-width: 650px) {
    #sp-top-bar ul.sp-contact-info li.sp-contact-time {
        display: none !important;
    }
    .header-cta-group .header-cta-btn {
        display: none !important;
    }
    #sp-logo .logo-image {
        height: 48px !important;
        max-width: 155px;
    }
    #settings.settings {
        padding: 10px 0 !important;
    }
    #settings.settings .wrap {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 6px !important;
    }
    #settings.settings strong,
    #settings.settings .a11y-sub {
        display: none !important;
    }
    #settings.settings button {
        padding: 6px 8px !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
        min-height: 34px !important;
        width: 100%;
    }
    #settings.settings a {
        grid-column: 1 / -1;
        font-size: 12px !important;
        text-align: center;
        margin-top: 2px;
    }
}

/* Ensure Helix body wrapper adopts AGENT paper background */
body.site {
    background-color: var(--paper, #fffdf9) !important;
    color: var(--ink, #102f49);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Button & interactive styling alignment */
.card-more-btn {
    font-size: 14px !important;
    padding: 10px 18px !important;
    font-weight: 600;
}

/* ==========================================================================
   RSForm! Pro Custom Styling (.lando-rsform inside .contact-panel & Contacts)
   ========================================================================== */
.contact-panel form {
    margin: 0;
}
fieldset.lando-rsform {
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid;
    gap: 16px;
}
.lando-rsform .lando-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.lando-rsform .lando-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 !important;
}
.lando-rsform .formControlLabel {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink, #102f49);
    line-height: 1.35;
    margin: 0;
}
.lando-rsform .formControlLabel .req {
    color: #d9534f;
}
.lando-rsform input[type="text"],
.lando-rsform input[type="tel"],
.lando-rsform input[type="email"],
.lando-rsform select,
.lando-rsform textarea {
    display: block;
    width: 100% !important;
    min-height: 48px;
    padding: 11px 14px !important;
    font-size: 15px !important;
    line-height: 1.4;
    color: var(--ink, #102f49) !important;
    background-color: #fffdf9 !important;
    border: 2px solid #c4d4df !important;
    border-radius: 10px !important;
    box-shadow: inset 0 1px 2px rgba(16, 47, 73, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.lando-rsform textarea {
    min-height: 86px;
    resize: vertical;
}
.lando-rsform input[type="text"]:focus,
.lando-rsform input[type="tel"]:focus,
.lando-rsform input[type="email"]:focus,
.lando-rsform select:focus,
.lando-rsform textarea:focus {
    outline: none !important;
    border-color: var(--blue, #004e85) !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(0, 78, 133, 0.14) !important;
}
.lando-rsform input::placeholder,
.lando-rsform textarea::placeholder {
    color: #7d92a3;
    opacity: 1;
}
.lando-rsform .rsform-error input,
.lando-rsform .rsform-error select,
.lando-rsform .rsform-error textarea,
.lando-rsform input.rsform-error,
.lando-rsform select.rsform-error,
.lando-rsform textarea.rsform-error {
    border-color: #d9534f !important;
    background-color: #fff8f8 !important;
}
.lando-rsform .formValidation {
    font-size: 12px;
    font-weight: 600;
    color: #c9302c;
    display: block;
    margin-top: 3px;
}
.lando-rsform .formValidation:empty,
.lando-rsform .formNoError,
.formNoError {
    display: none !important;
}
.lando-rsform .formError,
.formError {
    display: block !important;
    color: #c9302c !important;
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}
.lando-rsform .lando-form-gdpr fieldset.rsfp-fieldset {
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.lando-rsform .rsfp-visually-hidden {
    display: none !important;
}
.lando-rsform .lando-form-gdpr .form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0 !important;
    margin: 2px 0 0 !important;
}
.lando-rsform .lando-form-gdpr .form-check-input {
    width: 19px !important;
    height: 19px !important;
    min-width: 19px !important;
    margin: 2px 0 0 !important;
    accent-color: var(--blue, #004e85);
    cursor: pointer;
    float: none !important;
}
.lando-rsform .lando-form-gdpr .form-check-label {
    font-size: 13px !important;
    line-height: 1.45 !important;
    color: var(--muted, #4d6272) !important;
    cursor: pointer;
    user-select: none;
}
.lando-rsform .lando-form-gdpr .form-check-label a {
    color: var(--blue, #004e85) !important;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.lando-rsform .lando-form-captcha {
    margin-top: 2px !important;
}
.lando-rsform .lando-form-actions {
    margin-top: 4px;
}
.lando-rsform .lando-submit-btn,
.lando-rsform button.lando-submit-btn.btn-primary {
    width: 100%;
    cursor: pointer;
    justify-content: center;
    background: var(--orange, #ff961f) !important;
    color: #172c3e !important;
    border: 2px solid var(--orange, #ff961f) !important;
    box-shadow: 0 5px 0 #bf5900 !important;
    font-weight: 700 !important;
}
.lando-rsform .lando-submit-btn:hover,
.lando-rsform button.lando-submit-btn.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 0 #bf5900 !important;
}
@media (max-width: 650px) {
    .lando-rsform .lando-form-row-2 {
        grid-template-columns: 1fr;
    }
}

/* Inner pages content padding for readability */
body.site:not(.itemid-375):not(.itemid-376) #sp-main-body {
    padding-top: 40px;
    padding-bottom: 60px;
}
body.site:not(.itemid-375):not(.itemid-376) #sp-main-body > .container,
body.site.com-sppagebuilder:not(.itemid-375):not(.itemid-376) #sp-main-body > .row {
    max-width: 1420px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 44px !important;
    padding-right: 44px !important;
}
body.site:not(.itemid-375):not(.itemid-376) #sp-component > .sp-column {
    background: #ffffff;
    border-radius: 16px;
    padding: 36px 40px;
    box-shadow: 0 6px 22px rgba(16, 47, 73, 0.06);
    border: 1px solid #d5dfe6;
}

/* Native Contacts Page (.lando-contacts-grid) & Legacy SPPB Contacts */
.lando-contacts-grid {
    display: grid;
    grid-template-columns: minmax(250px, 340px) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}
.lando-contacts-title {
    font-size: 24px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    color: var(--ink, #102f49) !important;
    margin: 0 0 18px 0 !important;
    line-height: 1.25 !important;
}
.lando-contacts-address {
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink, #102f49);
    margin: 0 0 18px 0;
}
.lando-contacts-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.lando-contacts-list li {
    margin: 0 !important;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink, #102f49);
    display: flex;
    align-items: center;
    gap: 10px;
}
.lando-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    color: var(--blue, #004e85);
    font-size: 17px;
    flex-shrink: 0;
}
.lando-contacts-list li a {
    color: var(--blue, #004e85) !important;
    text-decoration: none !important;
    font-weight: 700;
}
.lando-contacts-list li a:hover {
    text-decoration: underline !important;
}
.lando-contacts-map-wrap {
    width: 100%;
    min-height: 400px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #d5dfe6;
    background: #eef4f8;
    position: relative;
}
.lando-contact-map {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}
@media (max-width: 860px) {
    .lando-contacts-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .lando-contacts-map-wrap,
    .lando-contact-map {
        min-height: 320px;
        height: 320px;
    }
}

#sp-component .sp-page-builder .sppb-row-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
#sp-component #section-id-1484555263649 {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
#sp-component #section-id-1484557571917 {
    display: none !important;
}
#sp-component #column-id-1484555263650 {
    padding: 8px 24px 8px 4px !important;
}
#sp-component .educon-contact-info h3.sppb-addon-title {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: var(--ink, #102f49) !important;
    margin: 0 0 18px 0 !important;
}
#sp-component .educon-contact-info .sppb-addon-content p {
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink, #102f49);
    margin: 0 0 16px 0;
}
#sp-component .educon-contact-info .sppb-addon-content ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
#sp-component .educon-contact-info .sppb-addon-content ul li p {
    margin: 0 !important;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}
#sp-component .educon-contact-info .sppb-addon-content ul li a {
    color: var(--blue, #004e85) !important;
    text-decoration: none !important;
    font-weight: 700;
}
#sp-component .educon-contact-info .sppb-addon-content ul li a:hover {
    text-decoration: underline !important;
}
#sp-component .sppb-addon-gmap-canvas,
#sp-component .sppb-addon-gmap iframe {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #d5dfe6;
}

/* Fix Joomla mod_menu list (.mod-menu.menu) hidden by prototype .menu{display:none} */
ul.mod-menu.menu,
#sp-right .menu,
#sp-left .menu {
    display: flex !important;
    flex-direction: column !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Right Sidebar (#sp-right) Styling — "Статьи" & Video Modules */
#sp-right .sp-module {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 30px;
    margin-bottom: 28px;
    border: 1px solid #d5dfe6;
    border-top: 5px solid var(--blue, #004e85);
    box-shadow: 0 6px 22px rgba(16, 47, 73, 0.06);
}
#sp-right .sp-module .sp-module-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--ink, #102f49) !important;
    margin: 0 0 16px 0 !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #eef4f8 !important;
}
#sp-right ul.mod-menu.menu > li {
    border-bottom: 1px solid #eef4f8;
    margin: 0 !important;
    padding: 0 !important;
}
#sp-right ul.mod-menu.menu > li:last-child {
    border-bottom: 0;
}
#sp-right ul.mod-menu.menu > li > a {
    display: flex !important;
    align-items: baseline;
    gap: 10px;
    padding: 11px 4px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: var(--ink, #102f49) !important;
    text-decoration: none !important;
    transition: color 0.15s ease, transform 0.15s ease;
}
#sp-right ul.mod-menu.menu > li > a::before {
    content: "›";
    color: var(--orange, #ff961f);
    font-weight: 800;
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}
#sp-right ul.mod-menu.menu > li > a:hover,
#sp-right ul.mod-menu.menu > li.current > a,
#sp-right ul.mod-menu.menu > li.active > a {
    color: var(--blue, #004e85) !important;
    transform: translateX(3px);
}
#sp-right .mod-sppagebuilder img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 12px;
    display: block;
}

/* Read More ("Подробнее" / "Lasīt tālāk") Button Styling on Blog & Featured Pages */
.readmore {
    margin-top: 16px;
}
.readmore a,
.readmore .btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px !important;
    min-height: 42px;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: var(--blue, #004e85) !important;
    background-color: #fffdf9 !important;
    border: 2px solid var(--blue, #004e85) !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.readmore a::after {
    content: "↗";
    font-size: 14px;
    line-height: 1;
    color: var(--orange, #ff961f);
    transition: transform 0.15s ease, color 0.15s ease;
}
.readmore a:hover,
.readmore a:focus-visible,
.readmore .btn:hover,
.readmore .btn:focus-visible {
    background-color: var(--blue, #004e85) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 0 #002d4e;
}
.readmore a:hover::after,
.readmore a:focus-visible::after {
    color: var(--orange, #ff961f);
    transform: translate(2px, -2px);
}

/* Inner-Page Bottom CTA Bar & Popup Form Modal (#lando-form-modal) */
.sp-module-content-bottom {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid #eef4f8;
}
.lando-page-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.lando-page-cta .btn {
    min-height: 50px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}
.lando-page-cta .lando-call-btn {
    gap: 10px;
    border-width: 2px;
}
body.lando-modal-open {
    overflow: hidden;
}
.lando-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(16, 47, 73, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}
.lando-modal-backdrop[hidden] {
    display: none !important;
}
.lando-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 580px;
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    background: #ffffff;
    border: 2px solid #b9cbd8;
    border-top: 6px solid var(--orange, #ff961f);
    border-radius: 20px;
    padding: 32px 34px !important;
    box-shadow: 0 24px 60px rgba(10, 32, 52, 0.32) !important;
    margin: auto;
}
.lando-modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #d5dfe6;
    background: #fffdf9;
    color: var(--ink, #102f49);
    font-size: 24px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.lando-modal-close:hover,
.lando-modal-close:focus-visible {
    background: var(--blue, #004e85);
    border-color: var(--blue, #004e85);
    color: #ffffff;
}
@media (max-width: 650px) {
    .lando-page-cta {
        flex-direction: column;
        align-items: stretch;
    }
    .lando-page-cta .btn {
        width: 100%;
        justify-content: center;
    }
    .lando-modal-dialog {
        padding: 24px 20px !important;
    }
}
