.sg-home-hero{overflow:hidden;border:1px solid #e1e9f2;border-radius:18px;background:linear-gradient(105deg,#f7fbff,#fff 56%,#eef5fb)}.sg-home-hero__inner{display:grid;grid-template-columns:1.08fr .92fr;min-height:410px}.sg-home-hero__copy{display:flex;flex-direction:column;justify-content:center;padding:46px 58px}.sg-kicker{display:block;margin-bottom:10px;color:var(--sg-primary,#174a7e);font-size:.75rem;font-weight:850;letter-spacing:.1em}.sg-home-hero h1{margin:0;color:#0a2b55;font-size:clamp(2.7rem,4.4vw,5rem);line-height:.98}.sg-accent-line{width:78px;height:5px;margin:18px 0;background:var(--sg-secondary,#d9ed00)}.sg-home-hero__visual img,.sg-home-hero__visual .sg-placeholder{width:100%;height:100%;min-height:410px;object-fit:cover}.sg-placeholder{display:grid;place-items:center;background:#eaf2f9;color:#a7bbcf;font-weight:900}.sg-home-hero__actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.sg-btn{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 20px;border-radius:8px;text-decoration:none;font-weight:800}.sg-btn--primary{background:var(--sg-primary,#174a7e);color:#fff!important}.sg-btn--secondary{border:1px solid #c9d6e3;background:#fff;color:#153d69!important}.sg-section{padding:34px 0}.sg-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:22px}.sg-heading h2{margin:0;color:#0c2c55;font-size:clamp(1.8rem,2.5vw,2.5rem)}.sg-heading p{max-width:760px;margin:8px 0 0;color:#64748b}.sg-heading>a{white-space:nowrap;text-decoration:none;font-weight:800}.sg-quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.sg-quick-card{display:flex;align-items:center;gap:14px;min-height:112px;padding:18px;border:1px solid #d8e3ee;border-radius:14px;background:#fff;text-decoration:none}.sg-quick-card>span:nth-child(2){display:flex;flex:1;flex-direction:column}.sg-quick-card small{color:#64748b}.sg-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:12px;background:#edf5fc}.sg-alert{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;margin:24px 0;padding:20px 22px;border:1px solid #f3cf78;border-left:5px solid #e7ad20;border-radius:12px;background:#fff9e9}.sg-alert__icon{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#f5c34f;font-weight:900}.sg-alert p{margin:4px 0 0}.sg-alert>a{font-weight:800;text-decoration:none}.sg-post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.sg-post-card{overflow:hidden;display:flex;flex-direction:column;border:1px solid #e0e8f0;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(15,35,66,.04)}.sg-post-card__image{display:block;aspect-ratio:16/9;overflow:hidden;background:#eef4f9}.sg-post-card__image img{width:100%;height:100%;object-fit:cover}.sg-post-card__body{display:flex;flex:1;flex-direction:column;padding:20px}.sg-meta{display:flex;justify-content:space-between;gap:12px;color:#7890a7;font-size:.76rem}.sg-post-card h3{margin:10px 0 8px}.sg-post-card h3 a{text-decoration:none;color:#102f55}.sg-post-card p{color:#64748b}.sg-more{margin-top:auto;text-decoration:none;font-weight:800}.sg-project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.sg-project-card{overflow:hidden;border:1px solid #e0e8f0;border-radius:16px;background:#fff;text-decoration:none;color:#102f55}.sg-project-card img{width:100%;aspect-ratio:16/9;object-fit:cover}.sg-project-card div{padding:20px}.sg-project-card span{font-size:.76rem;font-weight:800;color:#4d7ba9}.sg-project-card h3{margin:8px 0 18px}.sg-useful-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.sg-useful-grid a{display:flex;justify-content:space-between;gap:12px;padding:18px;border:1px solid #dce5ee;border-radius:12px;background:#f8fbfe;text-decoration:none;font-weight:750}@media(max-width:1050px){.sg-home-hero__inner{grid-template-columns:1fr}.sg-quick-grid,.sg-useful-grid{grid-template-columns:repeat(2,1fr)}.sg-post-grid,.sg-project-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.sg-home-hero__copy{padding:32px 24px}.sg-home-hero__visual{display:none}.sg-quick-grid,.sg-post-grid,.sg-project-grid,.sg-useful-grid{grid-template-columns:1fr}.sg-alert{grid-template-columns:auto 1fr}.sg-alert>a{grid-column:2}.sg-heading{display:block}.sg-heading>a{display:inline-block;margin-top:12px}}
/* 0.3.4 finishing */
.sg-post-grid{align-items:stretch}
.sg-post-card{height:100%}
.sg-post-card__body{min-height:245px}
.sg-post-card h3{line-height:1.35}
.sg-post-card p{line-height:1.6}
.sg-category-badge{display:inline-flex;align-items:center;max-width:65%;padding:4px 8px;border-radius:999px;background:#edf5fc;color:#174a7e;font-size:.7rem;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-meta time{margin-left:auto;white-space:nowrap}
.sg-project-grid{align-items:stretch}
.sg-project-card{display:flex;flex-direction:column;height:100%;box-shadow:0 8px 24px rgba(15,35,66,.035)}
.sg-project-card__image{aspect-ratio:16/9;overflow:hidden;background:#eef4f9}
.sg-project-card__image img{display:block;width:100%;height:100%;object-fit:cover}
.sg-project-card__placeholder{display:grid;place-items:center;background:linear-gradient(135deg,#edf5fb,#f8fbfe);color:#b2c5d7;font-size:1.1rem;font-weight:900;letter-spacing:.08em}
.sg-project-card__body{display:flex;flex:1;flex-direction:column;padding:20px}
.sg-project-card__body p{margin:0 0 18px;color:#64748b;line-height:1.55}
.sg-project-card__body b{margin-top:auto}
.sg-useful-grid a{align-items:center;min-height:62px;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.sg-useful-grid a:hover{transform:translateY(-2px);border-color:#bfd0e0;box-shadow:0 8px 20px rgba(15,35,66,.06)}
.sg-useful-label{display:flex;align-items:center;gap:10px}
.sg-useful-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#eaf3fb;color:#174a7e}
.sg-useful-icon svg{width:18px;height:18px}
@media(max-width:600px){.sg-post-card__body{min-height:0}.sg-category-badge{max-width:58%}}

/* 0.3.5 mixed public-service hub */
.sg-service-hub{padding:12px 0 42px}
.sg-service-hub__head{padding:34px 38px;border:1px solid #dce7f1;border-radius:18px;background:linear-gradient(120deg,#f7fbff,#fff)}
.sg-service-hub__head h1{margin:0;color:#0a2b55;font-size:clamp(2.2rem,4vw,3.7rem);line-height:1.05}
.sg-service-hub__intro{max-width:900px;margin-top:16px;color:#52667c;line-height:1.7}
.sg-hub-block{margin-top:28px;padding:28px;border:1px solid #e0e8f0;border-radius:18px;background:#fff}
.sg-hub-block__title{display:flex;align-items:center;gap:14px;margin-bottom:20px}
.sg-hub-block__title h2{margin:0;color:#0c2c55;font-size:1.55rem}
.sg-hub-block__title .sg-kicker{margin-bottom:3px}
.sg-hub-icon{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:13px;background:#eaf4fc;color:#174a7e;font-weight:900}
.sg-hub-announcements{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.sg-hub-announcements article{display:flex;flex-direction:column;min-height:190px;padding:18px;border:1px solid #e2e9f0;border-radius:13px;background:#fafdff}
.sg-hub-announcements time{color:#7c91a7;font-size:.76rem;font-weight:750}
.sg-hub-announcements h3{margin:8px 0}.sg-hub-announcements h3 a{text-decoration:none;color:#123b68}
.sg-hub-announcements p{color:#64748b;font-size:.88rem}.sg-hub-announcements .sg-more{margin-top:auto}
.sg-doc-group+.sg-doc-group{margin-top:24px}.sg-doc-group>h3{margin:0 0 10px;color:#284c72;font-size:1rem}
.sg-doc-list{display:grid;gap:9px}
.sg-doc-row{display:grid;grid-template-columns:58px 1fr auto;align-items:center;gap:14px;min-height:72px;padding:11px 16px;border:1px solid #dfe8f0;border-radius:12px;background:#fbfdff;text-decoration:none;color:#183554;transition:.15s}
.sg-doc-row:hover{transform:translateY(-1px);border-color:#b9cddd;box-shadow:0 7px 18px rgba(15,35,66,.05)}
.sg-doc-type{display:grid;place-items:center;min-height:42px;border-radius:9px;background:#eaf3fb;color:#174a7e;font-size:.7rem;font-weight:900}
.sg-doc-copy{display:flex;flex-direction:column}.sg-doc-copy small{margin-top:3px;color:#718398}
.sg-doc-download{color:#174a7e;font-size:.8rem;font-weight:850}
@media(max-width:800px){.sg-hub-announcements{grid-template-columns:1fr}.sg-service-hub__head,.sg-hub-block{padding:22px}.sg-doc-row{grid-template-columns:50px 1fr}.sg-doc-download{grid-column:2}}
/* 0.3.6 managed documents */
.sg-managed-documents{padding:8px 0 34px}.sg-managed-documents .sg-hub-block{margin-top:0}.sg-managed-documents .sg-doc-download{display:inline-flex;align-items:center;min-height:44px;padding:0 10px;text-decoration:none}.sg-doc-empty{margin:0;padding:18px;border:1px dashed #cfdae5;border-radius:12px;background:#f8fbfe;color:#64748b}

/* 0.3.7 document instructions and temporary notices */
.sg-doc-intro{margin:-4px 0 22px;padding:0 2px;color:#52667c;line-height:1.7}.sg-doc-intro p:first-child{margin-top:0}.sg-doc-intro p:last-child{margin-bottom:0}.sg-doc-intro ul,.sg-doc-intro ol{padding-left:1.35rem}.sg-doc-intro a{color:var(--sg-primary,#174a7e);font-weight:700}
.sg-doc-notice{display:grid;grid-template-columns:38px 1fr;gap:13px;margin:0 0 22px;padding:16px 18px;border:1px solid #cfe0ee;border-left:4px solid #4d86b6;border-radius:12px;background:#f5faff;color:#28455f}.sg-doc-notice__icon{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#dcecf8;color:#174a7e;font-weight:900}.sg-doc-notice__content>strong{display:block;margin:1px 0 5px;color:#123b68}.sg-doc-notice__text{line-height:1.6}.sg-doc-notice__text p{margin:5px 0}.sg-doc-notice__link{display:inline-block;margin-top:8px;color:#174a7e;font-weight:850;text-decoration:none}.sg-doc-notice--important{border-color:#f0d594;border-left-color:#d69b16;background:#fff9e9}.sg-doc-notice--important .sg-doc-notice__icon{background:#f5c34f;color:#493400}.sg-doc-notice--warning{border-color:#efc1bd;border-left-color:#c84b40;background:#fff5f4}.sg-doc-notice--warning .sg-doc-notice__icon{background:#f4d2cf;color:#8d2921}@media(max-width:600px){.sg-doc-notice{grid-template-columns:34px 1fr;padding:14px}}

/* 0.3.8 - separate temporary notice body */
.sg-doc-notice__text p{margin:.45rem 0 0;line-height:1.65}

/* 0.3.9 banners/campaigns */
.sg-banner-widget{padding:10px 0}
.sg-banner-widget__title{margin:0 0 16px;color:#0c2c55}
.sg-banner-widget__grid{display:grid;gap:16px}
.sg-banner-widget__grid--1{grid-template-columns:1fr}
.sg-banner-widget__grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.sg-banner-widget__grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.sg-banner-widget__item{overflow:hidden;padding:10px;border:1px solid #dfe8f0;border-radius:12px;background:#fff;box-shadow:0 8px 24px rgba(15,35,66,.035)}
.sg-banner-widget__item img{display:block;width:100%;height:auto;object-fit:contain}
.sg-banner-widget__item a{display:block}
.sg-banner-widget__empty{padding:15px;border:1px dashed #ccd8e4;border-radius:10px;color:#64748b}
@media(max-width:700px){.sg-banner-widget__grid--2,.sg-banner-widget__grid--3{grid-template-columns:1fr}}

/* 0.4.0 homepage sidebar + lateral navigation */
.sg-banner-widget{width:100%;max-width:100%}
.sg-banner-widget__item{display:flex;align-items:center;justify-content:center}
.sg-banner-widget__item img{max-width:100%;max-height:340px;width:auto;height:auto;margin:0 auto}
.elementor-element.sg-home-sidebar,.sg-home-sidebar{min-width:0}
.sg-home-sidebar .sg-banner-widget{padding:0}
.sg-home-sidebar .sg-banner-widget__grid{grid-template-columns:1fr!important}
.sg-home-sidebar .sg-banner-widget__item{padding:12px}
.sg-home-sidebar .sg-banner-widget__item img{width:100%;max-height:none;object-fit:contain}
.sg-side-menu{width:100%;padding:20px;border:1px solid #dfe8f0;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(15,35,66,.035)}
.sg-side-menu__title{margin:0 0 14px;color:#0c2c55;font-size:1.25rem;line-height:1.25}
.sg-side-menu__list{display:grid;gap:7px;margin:0;padding:0;list-style:none}
.sg-side-menu__list ul{display:grid;gap:5px;margin:6px 0 0;padding:0 0 0 14px;list-style:none}
.sg-side-menu__list a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:46px;padding:10px 12px;border:1px solid #e1e9f1;border-radius:9px;background:#f8fbfe;color:#123b68;text-decoration:none;font-weight:750;line-height:1.3;transition:.15s}
.sg-side-menu__list a:hover,.sg-side-menu__list .current-menu-item>a{border-color:#bfd0e0;background:#edf5fc;transform:translateY(-1px)}
.sg-side-menu__list--arrows>li>a:after,.sg-side-menu__list--arrows ul a:after{content:'→';flex:0 0 auto;color:var(--sg-primary,#174a7e)}
.sg-side-menu__empty{margin:0;color:#64748b}
.sg-side-menu--sticky{position:sticky;top:28px}
.sg-home-content-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(240px,1fr);gap:28px;align-items:start}
.sg-home-content-main,.sg-home-content-sidebar{min-width:0}
.sg-home-content-sidebar{display:grid;gap:20px}
@media(max-width:1024px){.sg-home-content-grid{grid-template-columns:minmax(0,2.2fr) minmax(220px,.8fr);gap:20px}.sg-side-menu{padding:16px}}
@media(max-width:767px){.sg-home-content-grid{grid-template-columns:1fr}.sg-home-content-sidebar{margin-top:8px}.sg-side-menu--sticky{position:static}.sg-banner-widget__item img{max-height:none}.sg-side-menu__list a{min-height:48px}}

/* 0.4.1 - latest documents sidebar widget */
.sg-latest-docs{overflow:hidden;border:1px solid #dfe8f0;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(15,35,66,.035)}
.sg-latest-docs__head{display:flex;align-items:center;gap:10px;padding:16px 16px 13px;border-bottom:1px solid #edf2f6}
.sg-latest-docs__head h3{margin:0;color:#0c2c55;font-size:1rem;line-height:1.3}
.sg-latest-docs__icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:9px;background:#eaf3fb;color:#174a7e;font-size:.9rem;font-weight:900}
.sg-latest-docs__list{display:grid}
.sg-latest-docs__item{display:grid;grid-template-columns:42px 1fr 16px;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #edf2f6;color:#173654;text-decoration:none;transition:background .15s ease}
.sg-latest-docs__item:last-child{border-bottom:0}
.sg-latest-docs__item:hover{background:#f8fbfe}
.sg-latest-docs__type{display:grid;place-items:center;min-height:34px;padding:0 4px;border-radius:8px;background:#edf5fc;color:#174a7e;font-size:.62rem;font-weight:900}
.sg-latest-docs__copy{display:flex;min-width:0;flex-direction:column}
.sg-latest-docs__copy strong{overflow:hidden;color:#153b65;font-size:.82rem;line-height:1.35;text-overflow:ellipsis}
.sg-latest-docs__meta{display:flex;gap:7px;flex-wrap:wrap;margin-top:4px;color:#788da2;font-size:.66rem}
.sg-latest-docs__meta span+time:before{content:"•";margin-right:7px}
.sg-latest-docs__arrow{color:#174a7e;font-weight:900}
.sg-latest-docs__empty{margin:0;padding:16px;color:#687d92;font-size:.82rem}
@media(max-width:800px){.sg-latest-docs__copy strong{font-size:.88rem}}

/* 0.4.2 visual polish */
.sg-quick-grid .sg-quick-card:nth-child(6n+1){--sg-card-accent:#2d82ec;--sg-card-bg:#f5faff}
.sg-quick-grid .sg-quick-card:nth-child(6n+2){--sg-card-accent:#7b61e8;--sg-card-bg:#faf8ff}
.sg-quick-grid .sg-quick-card:nth-child(6n+3){--sg-card-accent:#35a854;--sg-card-bg:#f6fcf7}
.sg-quick-grid .sg-quick-card:nth-child(6n+4){--sg-card-accent:#f59e0b;--sg-card-bg:#fffaf0}
.sg-quick-grid .sg-quick-card:nth-child(6n+5){--sg-card-accent:#ef4f80;--sg-card-bg:#fff7fa}
.sg-quick-grid .sg-quick-card:nth-child(6n+6){--sg-card-accent:#2fa8b8;--sg-card-bg:#f4fbfc}
.sg-quick-card{position:relative;overflow:hidden;background:linear-gradient(135deg,#fff,var(--sg-card-bg,#f8fbfe));border-color:color-mix(in srgb,var(--sg-card-accent,#174a7e) 18%,#d8e3ee);transition:transform .16s ease,box-shadow .16s ease}
.sg-quick-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--sg-card-accent,#174a7e)}
.sg-quick-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(15,35,66,.08)}
.sg-quick-card .sg-icon{background:#fff;color:var(--sg-card-accent,#174a7e);box-shadow:0 5px 14px rgba(15,35,66,.06)}
.sg-post-card{transition:transform .16s ease,box-shadow .16s ease}.sg-post-card:hover{transform:translateY(-3px);box-shadow:0 15px 34px rgba(15,35,66,.08)}
.sg-project-card:nth-child(3n+1){border-top:4px solid #2d82ec}.sg-project-card:nth-child(3n+2){border-top:4px solid #35a854}.sg-project-card:nth-child(3n+3){border-top:4px solid #f59e0b}
.sg-latest-docs__head{background:linear-gradient(135deg,#f4f9fe,#fff)}
.sg-side-menu-widget{border-radius:15px;box-shadow:0 10px 28px rgba(15,35,66,.04)}


/* 0.4.3 - generic Taxe și impozite page */
.sg-tax-page{display:grid;gap:26px}
.sg-tax-hero{padding:32px 34px;border:1px solid #dce7f1;border-radius:16px;background:linear-gradient(110deg,#f7fbff,#fff 65%)}
.sg-tax-eyebrow{display:block;margin-bottom:9px;color:#174a7e;font-size:.73rem;font-weight:900;letter-spacing:.09em}
.sg-tax-hero h2{margin:0;color:#0b2d58;font-size:clamp(2rem,3.5vw,3.4rem);line-height:1.05;letter-spacing:-.025em}
.sg-tax-intro{max-width:850px;margin-top:15px;color:#536a80;font-size:.95rem}
.sg-tax-intro p:last-child{margin-bottom:0}
.sg-tax-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.sg-tax-column{--tax:#2d82ec;--taxbg:#f5faff;overflow:hidden;border:1px solid color-mix(in srgb,var(--tax) 22%,#dce7f1);border-radius:16px;background:linear-gradient(145deg,#fff,var(--taxbg));box-shadow:0 8px 26px rgba(15,35,66,.035)}
.sg-tax-column--pj{--tax:#7b61e8;--taxbg:#faf8ff}
.sg-tax-column__head{display:flex;align-items:center;gap:14px;padding:22px 22px 10px}
.sg-tax-column__head>div>span{display:block;color:var(--tax);font-size:.68rem;font-weight:900;letter-spacing:.085em}
.sg-tax-column__head h3{margin:3px 0 0;color:#0e315c;font-size:1.5rem}
.sg-tax-icon{display:grid;place-items:center;flex:0 0 54px;width:54px;height:54px;border-radius:14px;background:#fff;color:var(--tax);box-shadow:0 6px 18px rgba(15,35,66,.055)}
.sg-tax-icon svg{width:28px;height:28px;fill:currentColor}
.sg-tax-column__intro{margin:0;padding:0 22px 18px;color:#5b6e82;font-size:.84rem;line-height:1.55}
.sg-tax-docs{display:grid;padding:0 14px 14px}
.sg-tax-doc{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:66px;padding:10px 10px;border-top:1px solid #e7edf4;color:#173654;text-decoration:none;transition:background .15s ease}
.sg-tax-doc:first-child{border-top:1px solid #dfe7ef}
.sg-tax-doc:hover{background:rgba(255,255,255,.75)}
.sg-tax-doc__type{display:grid;place-items:center;min-height:38px;border-radius:9px;background:color-mix(in srgb,var(--tax) 9%,#fff);color:var(--tax);font-size:.66rem;font-weight:900}
.sg-tax-doc__copy{display:flex;min-width:0;flex-direction:column}
.sg-tax-doc__copy strong{font-size:.82rem;line-height:1.35}
.sg-tax-doc__copy small{margin-top:3px;color:#7890a7;font-size:.66rem}
.sg-tax-doc__download{color:var(--tax);font-size:.72rem;font-weight:850;white-space:nowrap}
.sg-tax-empty{margin:0 14px 14px;padding:16px;border:1px dashed #ccd8e4;border-radius:10px;background:rgba(255,255,255,.65);color:#718398;font-size:.8rem}
@media(max-width:800px){.sg-tax-grid{grid-template-columns:1fr}.sg-tax-hero{padding:24px}.sg-tax-doc{grid-template-columns:44px minmax(0,1fr)}.sg-tax-doc__download{grid-column:2;margin-top:-4px}}

/* 0.5.0 - petitions */
.sg-petition-widget{display:grid;gap:24px}
.sg-petition-widget__hero{padding:30px 32px;border:1px solid #dce7f1;border-radius:16px;background:linear-gradient(110deg,#f7fbff,#fff)}
.sg-petition-widget__hero>span{color:#174a7e;font-size:.72rem;font-weight:900;letter-spacing:.09em}
.sg-petition-widget__hero h2{margin:7px 0 10px;color:#0b2d58;font-size:clamp(2rem,3.5vw,3.3rem);line-height:1.05}
.sg-petition-widget__hero div{max-width:850px;color:#536a80}
.sg-petition-form{padding:24px;border:1px solid #dfe8f0;border-radius:16px;background:#fff;box-shadow:0 8px 25px rgba(15,35,66,.035)}
.sg-petition-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.sg-petition-form label span,.sg-petition-lookup label span{display:block;margin-bottom:6px;color:#304d69;font-size:.78rem;font-weight:800}
.sg-petition-form input,.sg-petition-form select,.sg-petition-form textarea,.sg-petition-lookup input{width:100%;min-height:45px;padding:10px 12px;border:1px solid #cdd9e5;border-radius:9px;background:#fff;font:inherit}
.sg-petition-form textarea{min-height:150px;resize:vertical}.sg-petition-wide{grid-column:1/-1}.sg-petition-form small{display:block;margin-top:5px;color:#7b8da0;font-size:.68rem}
.sg-petition-privacy{display:flex!important;align-items:flex-start;gap:9px;margin:18px 0}.sg-petition-privacy input{width:auto;min-height:auto;margin-top:4px}.sg-petition-privacy span{margin:0!important;font-weight:500!important;line-height:1.45}
.sg-petition-submit,.sg-petition-lookup button{min-height:46px;padding:0 18px;border:0;border-radius:9px;background:#174a7e;color:#fff;font-weight:850;cursor:pointer}
.sg-petition-success,.sg-petition-error{display:grid;gap:4px;padding:15px 17px;border-radius:11px}.sg-petition-success{border:1px solid #b9dfc3;background:#f3fbf5;color:#24623a}.sg-petition-error{border:1px solid #f0c7c7;background:#fff7f7;color:#8a3434}
.sg-petition-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.sg-petition-status-section{padding:22px;border:1px solid #dfe8f0;border-radius:16px;background:#f9fbfd}.sg-petition-status-section h3{margin-top:0;color:#0d315f}
.sg-petition-lookup{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end}.sg-petition-status-card{display:grid;gap:4px;margin-top:14px;padding:15px;border-radius:10px;background:#edf5fc;color:#274e75}
@media(max-width:760px){.sg-petition-grid,.sg-petition-lookup{grid-template-columns:1fr}.sg-petition-wide{grid-column:auto}.sg-petition-widget__hero,.sg-petition-form{padding:20px}}

/* 0.5.1 institution hero image */
.sg-hero-institution-image{overflow:hidden;border-radius:18px}
.sg-hero-institution-image img{display:block;width:100%;height:100%;max-height:390px;object-fit:cover}

/* 0.6.0 common public-service blocks */
.sg-widget-block>h2{color:#0b2d58;margin:0 0 18px}
.sg-departments,.sg-audiences,.sg-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.sg-department-card,.sg-audience-card,.sg-contact-card{padding:18px;border:1px solid #dfe8f0;border-radius:14px;background:linear-gradient(135deg,#fff,#f8fbfe);box-shadow:0 8px 22px rgba(15,35,66,.035)}
.sg-department-card h3,.sg-audience-card h3,.sg-contact-card h3{margin:0 0 10px;color:#123b68}
.sg-department-card p,.sg-audience-card p,.sg-contact-card p{margin:6px 0;color:#4d6277;font-size:.84rem}
.sg-generic-documents{display:grid;gap:9px;margin-top:18px}
.sg-generic-document{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 15px;border:1px solid #dfe8f0;border-radius:10px;background:#fff;text-decoration:none}
.sg-generic-document span{white-space:nowrap;font-size:.75rem;font-weight:800}
.sg-empty-card{padding:16px;border:1px dashed #cdd9e5;border-radius:10px;color:#718398}
.sg-button{display:inline-block;padding:10px 15px;border-radius:9px;background:#174a7e;color:#fff!important;text-decoration:none;font-weight:800}
@media(max-width:760px){.sg-departments,.sg-audiences,.sg-contact-grid{grid-template-columns:1fr}}

/* 0.6.3 Urbanism */
.sg-urbanism-page{display:grid;gap:22px}
.sg-urbanism-hero{padding:28px 30px;border:1px solid #dce7f1;border-radius:16px;background:linear-gradient(110deg,#f7fbff,#fff)}
.sg-urbanism-hero h2{margin:5px 0 8px;color:#0b2d58;font-size:clamp(2rem,3vw,3rem)}
.sg-urbanism-hero p{margin:0;color:#5d7084}
.sg-urbanism-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:20px;align-items:start}
.sg-urbanism-card{overflow:hidden;border:1px solid #dfe8f0;border-radius:16px;background:#fff;box-shadow:0 8px 28px rgba(15,35,66,.04)}
.sg-urbanism-card--services{border-top:4px solid #2d82ec}
.sg-urbanism-card--public{border-top:4px solid #35a854}
.sg-urbanism-card-head{display:flex;gap:13px;align-items:center;padding:20px 20px 8px}
.sg-urbanism-number{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:#edf5fc;color:#174a7e;font-weight:900}
.sg-urbanism-card-head>div>span{color:#68829c;font-size:.67rem;font-weight:900;letter-spacing:.08em}
.sg-urbanism-card-head h3{margin:2px 0 0;color:#123b68;font-size:1.3rem}
.sg-urbanism-intro{margin:0;padding:4px 20px 17px;color:#5d7084;font-size:.84rem}
.sg-urbanism-public-group{padding:17px 20px;border-top:1px solid #e8eef4}
.sg-urbanism-public-group h4{margin:0 0 4px;color:#153b65;font-size:1rem}
.sg-urbanism-public-group>p{margin:0 0 12px;color:#718398;font-size:.77rem}
.sg-urbanism-doclist{display:grid;gap:8px;padding:0 14px 14px}
.sg-urbanism-public-group .sg-urbanism-doclist{padding:0}
.sg-urbanism-doc{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;border:1px solid #e1e9f0;border-radius:10px;background:#fbfdff;color:#173654;text-decoration:none}
.sg-urbanism-type{display:grid;place-items:center;min-height:36px;border-radius:8px;background:#eaf3fb;color:#174a7e;font-size:.62rem;font-weight:900}
.sg-urbanism-copy{display:flex;flex-direction:column;min-width:0}.sg-urbanism-copy strong{font-size:.78rem;line-height:1.35}.sg-urbanism-copy small{margin-top:3px;color:#7890a7;font-size:.65rem}
.sg-urbanism-open{white-space:nowrap;color:#174a7e;font-size:.7rem;font-weight:850}
.sg-urbanism-empty{margin:0 14px 14px;padding:13px;border:1px dashed #ccd8e4;border-radius:9px;color:#718398;font-size:.76rem}
.sg-urbanism-public-group .sg-urbanism-empty{margin:0}
@media(max-width:850px){.sg-urbanism-grid{grid-template-columns:1fr}}
@media(max-width:600px){.sg-urbanism-doc{grid-template-columns:42px 1fr}.sg-urbanism-open{grid-column:2}}


/* 0.6.4 Urbanism — years + notices */
.sg-urbanism-years{display:grid;gap:9px}
.sg-urbanism-year{overflow:hidden;border:1px solid #dfe8f0;border-radius:10px;background:#fff}
.sg-urbanism-year summary{display:grid;grid-template-columns:1fr auto 22px;gap:12px;align-items:center;padding:12px 13px;cursor:pointer;list-style:none;background:#f8fbfe;color:#153b65}
.sg-urbanism-year summary::-webkit-details-marker{display:none}
.sg-urbanism-year summary span{font-size:1rem;font-weight:900}
.sg-urbanism-year summary b{font-size:.7rem;color:#718398;font-weight:750}
.sg-urbanism-year summary i{font-size:1rem;font-style:normal;transition:transform .16s ease}
.sg-urbanism-year[open] summary i{transform:rotate(180deg)}
.sg-urbanism-year .sg-urbanism-doclist{padding:9px;border-top:1px solid #e8eef4}
.sg-urbanism-card--notices{border-top:4px solid #7b61e8}
.sg-urbanism-card--notices>.sg-urbanism-intro{padding-bottom:20px}
.sg-urbanism-notices{display:grid;gap:12px;padding:0 20px 20px}
.sg-urbanism-notice{padding:17px 18px;border:1px solid #e4e0f5;border-radius:12px;background:linear-gradient(135deg,#fff,#faf8ff)}
.sg-urbanism-notice__meta{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px;color:#7b61e8;font-size:.66rem;font-weight:900;letter-spacing:.055em}
.sg-urbanism-notice__meta time{color:#8292a4;letter-spacing:0;font-weight:700}
.sg-urbanism-notice h4{margin:0 0 8px;color:#153b65;font-size:1rem}
.sg-urbanism-notice__content{color:#52677d;font-size:.82rem;line-height:1.55}
.sg-urbanism-notice__content p:last-child{margin-bottom:0}
.sg-urbanism-notice__content a{font-weight:800}
@media(max-width:600px){.sg-urbanism-year summary{grid-template-columns:1fr 20px}.sg-urbanism-year summary b{grid-row:2;grid-column:1}.sg-urbanism-year summary i{grid-column:2;grid-row:1/3}}

/* 0.6.5 Services hub */
.sg-services-hub{display:grid;gap:24px}
.sg-services-hub__head{padding:28px 30px;border:1px solid #dce7f1;border-radius:16px;background:linear-gradient(110deg,#f7fbff,#fff)}
.sg-services-hub__head h2{margin:5px 0 8px;color:#0b2d58;font-size:clamp(2rem,3vw,3rem)}
.sg-services-hub__head p{margin:0;max-width:760px;color:#5d7084}
.sg-services-hub__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.sg-service-card{--sg-accent:#2d82ec;display:grid;grid-template-columns:54px minmax(0,1fr) 30px;gap:14px;align-items:center;min-height:112px;padding:18px;border:1px solid #dfe8f0;border-left:4px solid var(--sg-accent);border-radius:14px;background:linear-gradient(135deg,#fff,#fbfdff);text-decoration:none;box-shadow:0 8px 25px rgba(15,35,66,.035);transition:transform .16s ease,box-shadow .16s ease}
.sg-service-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(15,35,66,.08)}
.sg-service-card__icon{display:grid!important;place-items:center;width:54px;height:54px;border-radius:13px;background:color-mix(in srgb,var(--sg-accent) 10%,white);color:var(--sg-accent);font-size:23px}
.sg-service-card__body{display:flex;flex-direction:column;gap:5px}.sg-service-card__body strong{color:#123b68;font-size:1rem}.sg-service-card__body small{color:#687c91;font-size:.77rem;line-height:1.45}
.sg-service-card__arrow{color:var(--sg-accent);font-size:1.15rem;font-weight:900}
.sg-service-card--violet{--sg-accent:#7b61e8}.sg-service-card--green{--sg-accent:#2cab67}.sg-service-card--orange{--sg-accent:#e49a18}.sg-service-card--cyan{--sg-accent:#2099b5}.sg-service-card--lime{--sg-accent:#79a92d}
@media(max-width:760px){.sg-services-hub__grid{grid-template-columns:1fr}}
@media(max-width:480px){.sg-service-card{grid-template-columns:46px 1fr}.sg-service-card__icon{width:46px;height:46px}.sg-service-card__arrow{display:none}}

/* 0.7.0 Council */
.sg-module-head{padding:26px 28px;margin-bottom:18px;border:1px solid #dce7f1;border-radius:16px;background:linear-gradient(110deg,#f7fbff,#fff)}
.sg-module-head h2{margin:5px 0 7px;color:#0b2d58}.sg-module-head p{margin:0;color:#60758a}
.sg-councillors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sg-councillor{display:flex;flex-direction:column;gap:3px;padding:14px 16px;border:1px solid #dfe8f0;border-radius:11px;background:#fff}
.sg-councillor strong{color:#153b65}.sg-councillor span,.sg-councillor small{color:#708397;font-size:.76rem}
.sg-council-reports{margin-top:28px}.sg-council-reports>h3{margin-bottom:4px;color:#153b65}.sg-council-reports>p{margin-top:0;color:#708397}
.sg-report-year{overflow:hidden;margin:9px 0;border:1px solid #dfe8f0;border-radius:11px}.sg-report-year summary{display:flex;justify-content:space-between;padding:13px 15px;cursor:pointer;background:#f8fbfe}.sg-report-year summary span{font-size:.74rem;color:#708397}
.sg-report-list{display:grid;gap:1px;padding:8px;background:#eef3f7}.sg-report-list a{display:flex;justify-content:space-between;gap:12px;padding:11px 13px;background:#fff;text-decoration:none}.sg-report-list b{white-space:nowrap;font-size:.7rem}
@media(max-width:700px){.sg-councillors{grid-template-columns:1fr}.sg-report-list a{flex-direction:column}}
.sg-land-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.sg-land-section{padding:20px;border:1px solid #dfe8f0;border-radius:15px;background:#fff}.sg-land-section h3{margin-top:0;color:#153b65}.sg-land-year{overflow:hidden;margin:8px 0;border:1px solid #e0e8ef;border-radius:10px}.sg-land-year summary{display:flex;justify-content:space-between;padding:11px 13px;cursor:pointer;background:#f8fbfe}.sg-land-year summary span{font-size:.7rem;color:#718398}.sg-land-docs{display:grid;gap:7px;padding:8px;background:#eef3f7}.sg-land-docs a{display:flex;justify-content:space-between;gap:12px;padding:11px 13px;background:#fff;border-radius:8px;text-decoration:none}.sg-land-docs b{white-space:nowrap;font-size:.68rem}@media(max-width:800px){.sg-land-grid{grid-template-columns:1fr}}
/* 0.7.2 Contact + maps */
.sg-contact-map{margin-top:20px}.sg-map-frame{overflow:hidden;height:360px;border:1px solid #dfe8f0;border-radius:15px}.sg-map-frame iframe{width:100%;height:100%;border:0}
.sg-contact-form{margin-top:22px;padding:22px;border:1px solid #dfe8f0;border-radius:15px;background:#fff}.sg-contact-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.sg-contact-form label span{display:block;margin-bottom:5px;font-size:.76rem;font-weight:800;color:#38546f}.sg-contact-form input,.sg-contact-form textarea{width:100%;padding:10px 12px;border:1px solid #ccd9e5;border-radius:9px}.sg-contact-form .wide{grid-column:1/-1}.sg-contact-form button{margin-top:14px;padding:11px 17px;border:0;border-radius:9px;background:#174a7e;color:#fff;font-weight:850}.sg-contact-hp{position:absolute;left:-9999px}.sg-contact-success,.sg-contact-error{padding:13px 15px;border-radius:9px;margin:12px 0}.sg-contact-success{background:#edf9f0;color:#24653a}.sg-contact-error{background:#fff1f1;color:#8a3434}
.sg-hero-map{position:relative;width:100%;min-height:340px;overflow:hidden;border-radius:18px;border:1px solid #dbe6ef;background:#eef4f8}.sg-hero-map iframe{width:100%;height:340px;border:0;filter:saturate(.86) contrast(.96)}.sg-hero-map-label{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:8px 13px;border-radius:999px;background:#174a7e;color:#fff;font-size:.78rem;font-weight:900;box-shadow:0 5px 20px rgba(0,0,0,.2);pointer-events:none}
@media(max-width:700px){.sg-contact-form-grid{grid-template-columns:1fr}.sg-contact-form .wide{grid-column:auto}.sg-map-frame{height:280px}}
.sg-useful-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important}.sg-useful-card{min-height:86px!important;padding:10px 12px!important}.sg-useful-logo{max-width:105px!important;max-height:46px!important;width:auto!important;height:auto!important;object-fit:contain}.sg-uat-map{width:100%;height:340px}.sg-hero-map .leaflet-container{font-family:inherit}@media(max-width:900px){.sg-useful-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media(max-width:560px){.sg-useful-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}



/* 0.7.7 — homepage fallback uses the exact theme-native sidebar markup */
.sg-home-content-sidebar .sg-sidebar-card.sg-sidebar-menu{
	padding:0;
	border:1px solid #dfe8f0;
	border-radius:15px;
	background:#fff;
	box-shadow:0 10px 28px rgba(15,35,66,.045);
	overflow:hidden;
}
.sg-home-content-sidebar .sg-sidebar-card .sg-sidebar-heading{
	display:flex;
	align-items:center;
	gap:10px;
	padding:15px 16px;
	border-bottom:1px solid #edf2f6;
	background:linear-gradient(135deg,#f7fbff,#fff);
}
.sg-home-content-sidebar .sg-sidebar-card .sg-sidebar-heading svg{width:20px;height:20px;fill:var(--sg-primary,#174a7e)}
.sg-home-content-sidebar .sg-sidebar-card .sg-sidebar-heading h3{margin:0;color:#123b68;font-size:.95rem}


/* 1.0.2 — homepage responsive flow.
   At tablet/phone widths the sidebar must stop reserving a permanent right column. */
@media(max-width:1024px){
  .sg-home-content-grid{
    display:block!important;
    width:100%!important;
    max-width:none!important;
  }
  .sg-home-content-main,
  .sg-home-content-sidebar{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    flex:0 0 100%!important;
  }
  .sg-home-content-sidebar{
    margin-top:24px!important;
  }
  .sg-home-content-sidebar>*{
    width:100%!important;
    max-width:none!important;
  }
  .sg-home-content-main .sg-section,
  .sg-home-content-main .sg-heading,
  .sg-home-content-main .sg-post-grid,
  .sg-home-content-main .sg-project-grid,
  .sg-home-content-main .sg-useful-grid{
    width:100%!important;
    max-width:none!important;
  }
}
@media(max-width:760px){
  .sg-post-grid,.sg-project-grid,.sg-useful-grid,.sg-quick-grid{grid-template-columns:1fr!important}
  .sg-post-card,.sg-project-card{width:100%!important;max-width:none!important}
  .sg-heading h2{font-size:clamp(1.65rem,8vw,2.15rem)}
}


/* 1.0.3 — definitive mobile homepage flow
   Elementor containers/columns must not retain desktop 75/25 widths. */
@media (max-width: 767px) {
  body.home .elementor,
  body.home .elementor-section,
  body.home .elementor-section-wrap,
  body.home .elementor-container,
  body.home .e-con,
  body.home .e-con-inner {
    max-width: 100% !important;
  }

  /* Stack Elementor's parent flex containers. */
  body.home .elementor > .e-con,
  body.home .elementor .e-con.e-parent,
  body.home .elementor .elementor-container {
    flex-wrap: wrap !important;
  }

  /* Any direct Elementor child that carried a desktop width becomes full width. */
  body.home .elementor .e-con.e-parent > .e-con,
  body.home .elementor .elementor-container > .elementor-column {
    --width: 100% !important;
    --flex-grow: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    min-width: 0 !important;
  }

  body.home .elementor-column,
  body.home .elementor-widget-wrap,
  body.home .elementor-widget,
  body.home .elementor-widget-container {
    max-width: 100% !important;
  }

  /* Homepage main/sidebar wrapper: stack and release reserved sidebar width. */
  body.home .sg-home-content-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 22px !important;
  }
  body.home .sg-home-content-main,
  body.home .sg-home-content-sidebar,
  body.home .sg-home-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    min-width: 0 !important;
  }

  /* All sections after the sidebar use the viewport/container width. */
  body.home .sg-section,
  body.home .sg-heading,
  body.home .sg-post-grid,
  body.home .sg-project-grid,
  body.home .sg-useful-grid,
  body.home .sg-quick-grid,
  body.home .sg-alert,
  body.home .sg-latest-docs,
  body.home .sg-sidebar-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.home .sg-post-grid,
  body.home .sg-project-grid,
  body.home .sg-useful-grid,
  body.home .sg-quick-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.home .sg-post-card,
  body.home .sg-project-card,
  body.home .sg-useful-grid > *,
  body.home .sg-quick-grid > * {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Extra narrow phones */
@media (max-width: 480px) {
  body.home .elementor .e-con {
    --padding-left: 0px;
    --padding-right: 0px;
  }
  body.home .sg-heading h2 {
    font-size: clamp(1.55rem, 8vw, 2rem) !important;
  }
}

/* 1.0.10-stable — visual quick links, matching the approved SpaceGov sidebar */
.sg-side-menu{background:#fff;border:1px solid #dbe4ee;border-radius:14px;overflow:hidden;box-shadow:0 8px 24px rgba(15,35,60,.06)}
.sg-side-menu__title{margin:0;padding:20px 22px;font-size:20px;line-height:1.2;border-bottom:1px solid #e6edf4}
.sg-side-menu__list--visual{list-style:none!important;margin:0!important;padding:0!important}
.sg-side-menu__list--visual>li{margin:0!important;padding:0!important;border-bottom:1px solid #e6edf4}
.sg-side-menu__list--visual>li:last-child{border-bottom:0}
.sg-side-menu__list--visual>li>a{display:grid!important;grid-template-columns:34px minmax(0,1fr) 18px;align-items:center;gap:10px;min-height:52px;padding:10px 16px!important;text-decoration:none!important;color:#102d4f!important;background:#fff;transition:background .15s ease,color .15s ease}
.sg-side-menu__list--visual>li>a:hover,.sg-side-menu__list--visual>li.current-menu-item>a{background:#eef7ff;color:#0b5f9e!important}
.sg-side-menu__icon{width:30px;height:30px;border-radius:8px;background:#e9f5ff;display:flex;align-items:center;justify-content:center;color:#0877bd}
.sg-side-menu__icon svg{width:17px;height:17px;display:block}
.sg-side-menu__label{font-weight:700;font-size:14px;line-height:1.25}
.sg-side-menu__chevron{font-size:24px;line-height:1;color:#0877bd;text-align:right}
@media(max-width:767px){.sg-side-menu__title{padding:17px 18px}.sg-side-menu__list--visual>li>a{min-height:50px;padding:9px 14px!important}}

/* 1.0.11 stable — same icon language on homepage and inner quick links */
.sg-quick-card{display:grid!important;grid-template-columns:38px minmax(0,1fr) 18px!important;align-items:center!important;gap:12px!important}
.sg-quick-card__icon{width:34px;height:34px;border-radius:9px;background:#e9f5ff;display:flex!important;align-items:center;justify-content:center;color:#0877bd}
.sg-quick-card__icon svg{width:18px;height:18px;display:block}
.sg-quick-card__icon>span{font-size:17px;line-height:1}
.sg-quick-card>b{justify-self:end;color:#0877bd}
