@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat regular';
    src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat medium';
    src: url('../fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat bold';
    src: url('../fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body {
    overflow-x: hidden;
}
a:hover, #block-unss-main-menu ul li:hover {
    color: #262424 !important;
}
body .region-primary-menu .submenu a:hover {
    color: #ffb900 !important;    
}
body .node-content a {
    color: #009edb !important;
}
body .node-content a:hover {
    color: #009edb;
    text-decoration: underline;
    text-decoration-color: #009edb;    
}
.unssc-logo img, .site-logo img {
    width: 170px;    
}
@media screen and (max-width: 1024px) {
     .unssc-logo {
        display: none;
    }
    .unssc-logo.mobile {
        display: block !important;
    }
    
}

@media screen and (min-width: 1024px) {
    .step-timeline.action-paper .step:nth-child(even) a {
        position: absolute;
        bottom: -75px;
    }     
    .unssc-logo.mobile {
        display: none;
    }
    .header-main-container {
        //justify-content: unset;
    }
    .site-branding-region {
        //flex: 1;
    }
    .header-main-container .header-right {
		gap: 1.5rem !important;
        //flex: 2;
    }
    .header-main-container .primary-menu-wrapper {
        //flex: 3;
    } 
    
    .region-primary-menu .menu {
        //flex-direction: row;
        //gap: 5rem;
    }
    .region-primary-menu .menu > li::after {
        background-color: unset !important;
    }   
}
.mobile-menu-icon span {
    background: #fff !important;
}

.content-home .block, #block-unss-surveyresults, #block-unss-wanttolearnmore, .unss-top-bg {
    padding-left: clamp(16px, 5vw, 64px);
    padding-right: clamp(16px, 5vw, 64px);
}

.footer.dark {
    padding: 10px;
    background-color: #f4f4f4;
}

.footer-bottom.footer-region .field--type-text-with-summary p {
    margin: 0;
    color: #000;
    font-size: 16px;
}

.footer-bottom.footer-region {
    border-top: 1px solid #a8a7a7;
}

.block-region.region-footer-bottom {
    justify-content: space-between;
    align-items: center;
    flex-direction: unset;
    gap: unset;
}

#block-unss-footerbottom-4 ul.menu {
    display: flex;
    gap: 10px;
}

#block-unss-footerbottom-4 li a:after {
    content: "|";
    color: #000;
    margin: 0px 0px 0px 10px;
    height: unset;
    left: unset;
    bottom: unset;
}

#block-unss-footerbottom-4 li:last-child a:after,#block-unss-footertop li:last-child a:after {
    content: "";
}

#block-unss-footerbottom-4 ul.menu a,#block-unss-footertop ul.menu a {
    color: #000;
    font-size: 16px;
    font-family: Montserrat medium;
}

.footer li::before,.sidebar li::before {
    background-color: unset;
}

footer .container.footer-container {
    display: block;
}

.addresses-block-wrapper h4 {
     font-size: 1rem;
    font-weight: 700;
    color: #262424;
}
.footer-top.footer-region {
    padding: 2rem 0;    
}
#block-unss-footertop {
    width: 25em;
    margin-top: 5rem;    
}
.addresses-block-wrapper .addresses-block-block:last-child {
    margin-left: 2rem;    
}
#block-unss-footertop ul {
    margin: 0;
    font-size: 1rem;
    column-count: 2;   
}
#block-unss-footertop ul li{
    padding: 0;
}
#block-unss-2025logo {
    width: 60%;
}
footer block-region.region-footer-top {
    vertical-align: top;
}

footer .footer-blocks.footer-region {
    width: 68%;
    display: inline-block;
    vertical-align: top;
}

footer .block-region.region-footer {
    display: block;
    width: 66%;
    float: right;
}

footer #block-addresses img {
    width: 230px;
}

footer .block-content .field--type-text-with-summary p {
    margin: 0;
    color: #000;
    font-size: 16px;
    font-family: Montserrat medium;
}
.addresses-block-wrapper {
    display: flex;
    flex-wrap: nowrap;
    padding-top: 2rem;    
}
.block-region.region-footer-top {
  flex-direction: row;   
}

body h2 {
    font-size: 30px !important;
	font-family: 'Montserrat bold';
  	color: #000;
}
.header {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);    
}

#main-wrapper .container {
    max-width: unset;
    padding: 0;
}
#block-unss-foreword .unss-foreward-left-sec {
    display: inline-block;
    margin-right: 25px;
    vertical-align: top;
}
#block-unss-foreword .unss-foreward-right-sec p:first-child {
    background-image: url(https://unsscmicro.akryldev.de/themes/custom/unss/images/UNSSC_QuoteSign.png);
    background-repeat: no-repeat;
    background-size: 60px;
    font-family: Montserrat medium;
}
#block-unss-foreword .unss-foreward-right-sec a {
    background: #009edb;
    color: #fff;
    padding: 10px 14px 10px 14px;
    border-radius: 10px;    
}
#block-unss-foreword .unss-foreward-right-sec p {
    padding-left: 10%;
    font-size: 18px;
    font-family: 'Montserrat medium';    
}
#block-unss-foreword .unss-foreward-right-sec {
    display: inline-block;
    width: 70%;
    vertical-align: top;
}
#block-unss-foreword h2 {
    text-align: left;
    font-family: 'Montserrat bold';
	color: #009edb;	
}
.region-content-home {
    gap: unset;
}
#block-unss-foreword, #block-unss-surveyresults {
    padding-top: 2.5rem;
    padding-bottom: 5rem;
    background-color: #fff;
    background-image: url('/themes/custom/unss/images/UNSSC_Square_Element_Who_Responded_Right_Top.png');
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 250px;
}
#block-unss-foreword .unss-foreward-left-sec img {
    width: 150px;
}
#block-unss-foreword p {
    font-size: 24px;
    color: #000;
}
#block-unss-foreword .unss-foreward-right-sec p:last-child {
    font-size: 18px;
    font-family: 'Montserrat medium';
}
.contextual-region.block h2:before, .contextual-region.block h2:after {
    display: none;
}
#block-unss-wanttolearnmore {
    background-color: #009edb;
    padding-top: 3rem;
    padding-bottom: 3rem;
}
#block-unss-wanttolearnmore h2 {
    font-family: Montserrat bold;
    color: #fff;
}
#block-unss-wanttolearnmore p {
    font-size: 18px;
    color: #fff;
}
#block-unss-wanttolearnmore a {
    color: #009edb;
    background: #fff;
    padding: 15px 50px 15px 50px;
    border-radius: 10px;
}
#block-unss-wanttolearnmore p {
    font-family: Montserrat regular;
    display: inline-block;
    width: 70%;
    vertical-align: top;
}
#block-unss-wanttolearnmore p:last-child {
    display: inline-block;
    float: right;
    width: unset;
}
b, strong {
    font-family: 'Montserrat bold';
}
.region-primary-menu .menu a {
    font-family: 'Montserrat medium';
}
.region-content-home .slick-slider .slide-title a {
    font-size: 26px;
    font-family: 'Montserrat bold';
    color: #000;
}
.region-content-home .slick-slider .slide-description p {
    font-size: 18px;
    font-family: 'Montserrat regular';
    margin: 15px 0px 12px 0px;
}
.region-content-home .slick-slider .slide-date time, .region-content-home .slick-slider .slide-download-button a {
    font-family: 'Montserrat regular';
    font-size: 18px;
}
.region-content-home .slick-slider .slide-cpt {
    background-color: #f4f4f4;
    padding: 35px;
}
.region-content-home .slick-slider .slide-cpt .slide-img img {
    width: 100%;
}
.region-content-home .slick-slider .slide-date {
    float: right;
}
.region-content-home .slick-slider .slide-title {
    line-height: 1;
    padding-top: 15px;
}
.region-content-home .slick-slider .slide-download-button a, #block-unss-hero-block .field--name-field-download-executive-summary a,
#block-unss-hero-block .field--name-body p a {
    background: #009edb;
    color: #fff;
    padding: 10px 14px 10px 14px;
    border-radius: 10px;
    font-size: 18px;    
}
.unss-introduction-bg a {
    background: #fff;
    color: #009edb;
    padding: 10px 10px 10px 40px;
    border-radius: 10px;
    background-image: url(/themes/custom/unss/images/unss-blue-download.png);
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: 10px;
}
.region-content-home .slick-slider .slide-download-button {
    clear: both;
}
.region-content-home .slick__arrow .slick-prev {
    background-image: url(/themes/custom/unss/images/UNSSC_Icon_Arrow_Blue_Left.png);
    background-position: left center;
    left: -30px;
}
#block-unss-views-block-our-approach-block-1 .slick__arrow .slick-prev {
    background-image: url(/themes/custom/unss/images/UNSSC_Icon_Arrow_White_Left.png) !important;    
}
#block-unss-views-block-our-approach-block-1 .slick__arrow .slick-next {
    background-image: url(/themes/custom/unss/images/UNSSC_Icon_Arrow_White_Right.png) !important;    
}

.region-content-home .slick__arrow .slick-next {
    background-image: url(/themes/custom/unss/images/UNSSC_Icon_Arrow_Blue_Right.png);
    background-position: right center;
    right: -30px;
}
body.user-guest .region-content-home .slick__arrow .slick-next {
    right: 15px;
}
body.user-guest .region-content-home .slick__arrow .slick-prev {
    left: 15px;
}
.region-content-home .slick__arrow .slick-arrow {
    background-repeat: no-repeat;
    background-size: auto;
    padding: 0px 0px 0px 30px;
    height: 100px;
    border: none;
    font-size: 0;
    background-color: unset;
    border-radius: unset;
    position: absolute;
    top: 300px;
}
.region-content-home .slick__arrow .slick-arrow:before {
    display: none;
}

#block-unss-views-block-featured-publications-block-1 h2.block-title, #block-unss-views-block-duplicate-of-featured-publications-block-1 h2.block-title,
#block-unss-surveyresults .block-title {
    font-family: 'Montserrat bold';
    text-align: left;
    color: #009edb;
    margin: 0;
}
#block-unss-publicationdivider img {
    width: 900px;
    float: right;
}
.menu-item-has-children::before {
    content: unset !important;
}
.menu-item-has-children > a {
    background-image: url(/themes/custom/unss/images/UNSSC_Icon_Arrow_White_Down.png);
    background-repeat: no-repeat;
    background-position: right;
    padding-right: 30px !important;
    background-size: 20px;
}
.region-primary-menu .submenu {
    background-color: #fff !important;
}
.region-primary-menu .submenu a {
    color: #000 !important;
}
#block-unss-views-block-duplicate-of-featured-publications-block-1, #block-unss-views-block-featured-publications-block-1,
#block-unss-views-block-our-approach-block-1 {
    position: relative;
}


@media (min-width: 1024px) {
    .region-primary-menu .submenu {
        min-width: 300px;
        padding: 0 0.8rem;
        border-radius: 10px;
	    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    }
}
.region-primary-menu .submenu li {
	border-bottom: 2px solid #f4f4f4;
}
.region-primary-menu .menu > li:hover, .region-primary-menu .menu > li:hover > a {
	color: unset !important;
}

#block-unss-hero-block .block-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    gap: 50px;
}

/* LEFT COLUMN: Div 1 & 2 */
#block-unss-hero-block .block-content .field:nth-child(1),
#block-unss-hero-block .block-content .field:nth-child(2) {
    grid-column: 1;
}
/* RIGHT COLUMN: Div 3Γ’β¬β6 */
#block-unss-hero-block .block-content .field:nth-child(n+3) {
    grid-column: 2;
}

#block-unss-hero-block {
    background-color: #ffffff;
    padding-top: 35px;
    padding-bottom: 30px;
	background-image: url('/themes/custom/unss/images/UNSSC_Square_Element_Who_Responded_Right_Top.png');
  	background-repeat: no-repeat;
  	background-position: bottom right;
  	background-size: 250px;
}
#block-unss-hero-block .field--name-field-title {
    font-size: 44px;
    font-family: 'Montserrat bold';
    color: #009edb;
    line-height: 1;
	margin-top: 50px;
}
#block-unss-hero-block .field--name-body {
    font-size: 18px;
    color: #000;
    font-family: 'Montserrat medium';
}
#block-unss-hero-block .field--name-field-logo {
    text-align: right;
}
#block-unss-hero-block .field--name-field-logo img {
    width: 300px;
}
#block-unss-hero-block .field--name-field-banner img {
    width: 600px;
}
#block-unss-hero-block .field--name-field-date {
    color: #000;
    font-family: 'Montserrat medium';
    grid-row: 3;
    justify-self: start;
}
#block-unss-hero-block .field--name-field-download-executive-summary {
    grid-row: 3;
    justify-self: start;
    grid-column: 1;    
}
.main-wrapper {
    padding-top: 0;
}
#block-unss-hero-block .field--name-field-download-executive-summary span:last-child {
    display: none;
}

.unss-top-bg {
    padding-top: 100px;
    padding-bottom: 65px;
}
/* ==========================================================
   UNSS layout: boxed content (1470px) + optional full-bleed BG
   ========================================================== */

:root {
  --unss-max: 1470px;
  --unss-pad: clamp(26px, 7vw, 84px);
}

/* 1) Default: box ALL UNSS layout sections (1/2/3/4 col) */
.unss-layout-content.layout, .region-content-home .block, #block-unss-surveyresults, #block-unss-wanttolearnmore {
  max-width: var(--unss-max);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: var(--unss-pad);
  padding-right: var(--unss-pad);
  box-sizing: border-box;
}

/* 2) Sections that must have FULL-WIDTH background but BOXED content
      (background is drawn by ::before; content stays boxed by rule #1) */
.unss-top-bg,
.unss-node-banner,
.unss-introduction-bg,
.unss-introduction-highlight,
.unss-action-box,
.unss-consideration-sec {
  position: relative;
  background: transparent !important; /* prevent the element BG from being boxed */
}

/* Full-bleed background layer */
.unss-top-bg::before,
.unss-node-banner::before,
.unss-introduction-bg::before,
.unss-introduction-highlight::before,
.unss-action-box::before,
.unss-consideration-sec::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  z-index: 0;
}

/* Put section content above the background layer */
.unss-top-bg > *,
.unss-node-banner > *,
.unss-introduction-bg > *,
.unss-introduction-highlight > *,
.unss-action-box > *,
.unss-consideration-sec > * {
  position: relative;
  z-index: 1;
}

/* 3) Actual background definitions (add more if needed) */
.unss-consideration-sec::before { background: #009edb; }

/* === UNSS TOP BG: full-bleed background, boxed content (1470px) === */
.unss-top-bg {
  position: relative;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;

  /* IMPORTANT: disable the element background (prevents double definition) */
  background: transparent !important;
}

/* Full-bleed background layer (color + image) */
.unss-top-bg::before {
  content: "";
  position: absolute;
  inset: 0;                 /* top/right/bottom/left = 0 */
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  z-index: 0;

  /* Move the existing background from .unss-top-bg here */
  background-color: #f4f4f4;
  background-image: url("/themes/custom/unss/images/UNSSC_GraphicElement_Header.png");
  background-repeat: no-repeat;
  background-position: left 79px top;
  background-size: 450px;
}

/* Box the content INSIDE the top bg */
.unss-top-bg > .layout__region,
.unss-top-bg > .layout {
  position: relative;
  z-index: 1;

  max-width: 1470px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: clamp(26px, 7vw, 84px);
  padding-right: clamp(26px, 7vw, 84px);
  box-sizing: border-box;
}

/* === UNSS INTRODUCTION BG / HIGHLIGHT
   Full-bleed background (#009edb), boxed content (1470px) === */

.unss-introduction-bg,
.unss-introduction-highlight {
  position: relative;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;

  /* move background off the element */
  background: transparent !important;
}

/* Full-bleed blue background */
.unss-introduction-bg::before,
.unss-introduction-highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  z-index: 0;

  background-color: #009edb;
}

/* Box the content inside */
.unss-introduction-bg > .layout__region,
.unss-introduction-highlight > .layout__region {
  position: relative;
  z-index: 1;

  max-width: 1470px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: clamp(26px, 7vw, 84px);
  padding-right: clamp(26px, 7vw, 84px);
  box-sizing: border-box;
}


/* Constrain Flourish embeds everywhere on the public site */
.page-content .flourish-embed {
  max-width: 1070px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

.page-content .flourish-embed iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  border: 0;
}

.unss-top-bg h2 {
    font-family: 'Montserrat bold';
    color: #000;
}
.unss-top-bg p {
    font-size: 24px;
    color: #000;
    font-family: 'Montserrat medium';
}
.unss-layout-content p,
.unss-layout-content li {
    font-size: 20px;
    color: #000;
    font-family: 'Montserrat medium';
}
.unss-introduction-bg {
    background-color: #009edb;
    padding-top: 45px;
    padding-bottom: 45px;
}
.unss-introduction-papers {
    background-color: #f4f4f4;
    padding: 30px;
    margin-right: 30px;
    height: 100%;    
}
.unss-introduction-papers h2 {
    font-family: 'Montserrat bold';
}
body .unss-introduction-papers a {
    text-decoration: underline;
    text-decoration-color: #009edb;
    color: #000 !important;
    font-family: 'Montserrat bold';
}
.unss-introduction-bg h2, .unss-introduction-bg p {
    color: #fff!important;
}
#block-unss-content .node-content div:nth-child(4) p {
   //font-size: 31px;
}
.unss-introduction-content:last-child .field--name-body {
    display: flex;
    flex-flow: row;
}
.unss-introduction-content:last-child p:first-child {
    width: 50%;
    flex-shrink: 0;
}
.unss-introduction-content:last-child p:last-child {
    flex: 1;
    text-align: right;
}
.executive-summary-bg {
    background-color: #009edb;
    padding-bottom: 140px;
    background-image: url(https://unsscmicro.akryldev.de/themes/custom/unss/images/un-bottom.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 300px;    
}
.executive-summary-bg .layout__region--content {
    background-image: url(https://unsscmicro.akryldev.de/themes/custom/unss/images/un-top.png);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 300px;
    padding-top: 110px;   
}
.executive-summary-bg p {
    font-size: 28px;
    color: #fff;
}
.executive-summary-bg strong {
    color: #fff;
}
.executive-summary-bg .field--name-body {
    text-align: center; 
}
.executive-summary-bg .col div {
    color: #fff;
}
.executive-summary-bg .col div:first-child {
    font-size: 40px;
    font-family: 'Montserrat bold';
}
.executive-summary-bg .col div:last-child {
    font-size: 20px;
    font-family: 'Montserrat medium';
}
.executive-summary-bg .executive-summary-4-col {
    display: flex;
    flex-flow: row;
    gap: 10%;
    padding-top: 40px;
}

.unss-systen-survey {
    background: #009edb;
    padding-top: 50px;
    padding-bottom: 50px;
}
.unss-systen-survey p {
    font-size: 18px;
    color: #fff;
    font-family: 'Montserrat medium';
}
.unss-systen-survey .layout__region--first h2 {
    color: #fff;
    font-family: 'Montserrat bold';
}

.unss-graph {
    background: #f4f4f4;
}
.unss-graph .layout__region.layout__region--first {
    text-align: center;
    padding: 35px 0px;    
}
.unss-graph .layout__region.layout__region--first img {
    width: 400px;
}
.unss-graph .layout__region.layout__region--second .field--name-body {
    display: grid;
    grid-template-columns: 100px;
    gap: 25px;   
}
.unss-graph .layout__region.layout__region--second .field--name-body p:last-child {
    grid-column: span 2;    
    font-family: 'Montserrat medium';    
}
.unss-graph .layout__region.layout__region--second .field--name-body p:nth-of-type(2){
    grid-column: span 2;     
    color: #000;
}
.unss-graph .layout__region.layout__region--second .field--name-body p:nth-of-type(1)  {
    color: #000;
    font-family: 'Montserrat bold';     
}
.unss-graph .layout__region.layout__region--second {
    padding: 30px;
}
.unss-graph .layout__region.layout__region--second img {
    width: 130px;
}
.unss-further-reading .layout__region a {
    border-radius: 12px;
    color: #fff !important;
    background: #009edb;
    padding: 12px;
    font-family: 'Montserrat medium';    
}
.unss-further-reading .layout__region--first img {
    width: 100px;
}
.unss-further-reading h2 {
    font-family: 'Montserrat bold';
}
.unss-further-reading {
   margin: 40px 0px;
}
.unss-ecg-section img  {
    width: 120px;
    height: 120px;
}
.unss-ecg-section h6 {
    font-family: 'Montserrat bold';
    font-size: 20px;
    margin: 20px 0;    
}
.unss-ecg-section .unss-ecg-content p:first-child, .unss-introduction-papers a:before{
    background: #009edb;
    color: #fff;
    max-width: 35px;
    height: 35px;
    text-align: center;
    font-family: 'Montserrat medium';
    font-size: 24px;    
}
.unss-introduction-papers ol {
  list-style: none;
  counter-reset: item;
  padding-left: 0;
}

.unss-introduction-papers li {
  counter-increment: item;
  position: relative;
  padding-left: 40px;
  margin-bottom: 10px;
}
.unss-introduction-papers li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #009edb;
  color: white;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  font-family: 'Montserrat medium';
  font-size: 24px; 
}
.unss-ecg-section .unss-ecg-content p:last-child {
    font-size: 18px;
    font-family: 'Montserrat medium';   
    text-align: start;    
}
.unss-consequence {
    margin-bottom: 50px;   
}
.unss-consequence .layout__region.layout__region--first p {
    font-family: 'Montserrat bold';
    font-size: 35px;    
}
.unss-consequence .layout__region.layout__region--first .field--name-body {
    border-right: 2px solid #009edb;   
}
.unss-consequence .layout__region.layout__region--second p {
    font-size: 30px;
    font-family: 'Montserrat medium';   
}
.unss-consequence .layout__region.layout__region--second {
    margin-top: 100px;    
}
#block-unss-views-block-our-approach-block-1 {
    background-color: #009edb;    
}
@media (max-width: 1200px) {
  /* large screen styles */
  
#block-unss-views-block-our-approach-block-1 img {
    width: 370px;   
}

}

#block-unss-views-block-our-approach-block-1 h2 {
    text-align: left;
    color: #fff;
    font-family: 'Montserrat bold';    
}
.content-home .region-content-home {
    flex-wrap: wrap;
    flex-direction: unset;
}

.content-home .block {
    width: 100%;
    box-sizing: border-box;
}
.block-title h2:before, .block-title h2:after {
   display: none; 
}
.region-content-home .block-title::before, .region-content-home .block-title::after {
    background-color: unset;    
}

@media (min-width: 769px) {
    
    body .unss-ex-count .layout__region--first {
        border-right: 2px solid #009edb;    
    }   
    body .unss-ex-count .block{
        margin-right: 25px;  
        padding-top: 30%;    
    }
    
.user-guest #block-unss-views-block-our-approach-block-1 .slick__arrow .slick-prev {
    left: 35px; 
    
}
#block-unss-views-block-our-approach-block-1 .slick__arrow .slick-next {
    right: 0; 
    
}    


}

.unss-layout-content.layout--threecol-section .layout__region .block {
    margin: 15px 15px 30px 15px;
}
.unss-layout-content.layout--threecol-section .unss-ecg-content {
    min-height: 200px;    
}
body #block-unss-publicationdivider {
    padding-right: unset; 
}
#block-unss-views-block-our-approach-block-1 .our-approach-slick-dots {
    display: flex;
    flex-flow: row;
    padding-left: 400px;    
}
#block-unss-views-block-our-approach-block-1 .our-approach-slick-dots li::marker {
    color: #ffff;    
}
#block-unss-views-block-our-approach-block-1 .our-approach-slick-dots li button {
    font-size: 0;
    background: none;
    border: none;
    isolation: unset;    
}

.content-home #block-unss-views-block-our-approach-block-1 {
    padding-top: 2.5rem;
    padding-bottom: 5rem;
    background-image: url(/themes/custom/unss/images/UNSSC_Square_Element_Who_Responded_Right_Bottom.png);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 250px;    
}
#block-unss-whoresponded-2 {
    padding-top: 2.5rem;
    padding-bottom: 5rem;
    background-image: url(/themes/custom/unss/images/UNSSC_Square_Element_Who_Responded_Left_Top.png);
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 250px;     
}

#block-unss-surveyresults {
    background-image: url(/themes/custom/unss/images/UNSSC_Square_Element_Who_Responded_Left_Bottom.png);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 250px;    
}
.unss-introduction-highlight p {
    font-size: 28px !important;
    text-align: center;
    line-height: 2;
}
.unss-introduction-highlight p em,
.unss-introduction-highlight p i {
  font-style: italic;      /* keep italic */
  font-weight: 700;        /* bold */
  font-size: 28px;
  background: #0082bd;
  padding: 6px 8px;
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;	
}
@media (max-width: 768px) {
  .unss-introduction-highlight p em,
  .unss-introduction-highlight p i {
    font-size: 24px;
  }
}

.node-type-action-papers .unss-introduction-highlight {
    margin-top: 30px!important; 
}

.unss-introduction-highlight a {
	color: #fff;
	text-decoration: underline!important;
	padding: 0;
    background: none;
}
.unss-divider .exsum-highlight {
  color: #fff;
  background: #0082bd;
  padding: 6px 8px;
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;	
}
.unss-ecg-section .ecg-col {
    display: inline-block;
    padding-right: 75px;
    background-image: url(https://unsscmicro.akryldev.de/themes/custom/unss/images/plus.png);
    background-repeat: no-repeat;
    background-position: center right;
    margin-right: 30px;    
}
.unss-ecg-section .field--name-body {
      text-align: center;  
}
.unss-ecg-section .ecg-col:last-child {
   background-image: unset; 
}
.unss-divider {
    margin: 30px 0;
}
.unss-divider img {
   width: 700px;
}

.unss-introduction-papers.block p {
        margin: 25px 0;
}
#block-unss-views-block-duplicate-of-featured-publications-block-1 .slick-track {
    margin-left: unset;    
}
    #block-unss-surveyresults h2 {
        margin-top: 30px !important;        
    }

/* Mobile */
@media screen and (max-width: 768px) {
    
  body .step-timeline {
    flex-direction: column;
    align-items: flex-start;
    margin: 20px 0;
    padding: 0;    
  }

  /* Vertical line */
  body .step-timeline::before {
    top: 0;
    bottom: 0;
    left: 7px;
    right: auto;
    width: 2px;
    height: 100%;
  }

 body .step {
    display: flex;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 30px;
    width: 100%;
  }

  /* Marker */
  body .step .marker {
    width: 16px;
    height: 16px;
    margin-right: 15px;
    flex-shrink: 0;
  }

  /* Label container */
  body .step .label {
    max-width: 100%;
    min-height: auto;
    margin: 0;
    order: 2;
  }

  body .step .label a {
    font-size: 14px;
    line-height: 1.4;
  }    
    
    
    
    body .summary-info {
        display: block;
        float: unset;
    }
    
    body .unss-paper-right-divider img, body .unss-paper-left-divider img {
        width: 300px;        
    }
    body .unss-paper-right-divider, body .unss-paper-left-divider {
        margin: 8% 0;        
    }
    
    .block-region.region-footer-top {
        flex-direction: column;       
    }
    body #block-unss-2025logo {
        width: 100%;
    }
    #block-unss-footertop {
        margin-top: unset;        
    }
    body .addresses-block-wrapper {
        padding-top: unset;        
    }

    body .unssc-logo img, body .site-logo img {
        width: 110px;    
    }


    #block-unss-views-block-our-approach-block-1 .our-approach-slick-dots {
        padding-left: 100px;        
    }    
    .unss-introduction-papers {
        width: 100%;
        margin-right: 0;  
    }
    .layout--twocol-section.unss-layout-content {
        gap: 25px;       
    }
    .unss-ecg-section .ecg-col {
    display: block;
    padding-bottom: 30px;        
    background-position: bottom center;
    margin-bottom: 30px;
    padding-right: 0;
    margin-right: 0;     
        
    }
    .executive-summary-bg .executive-summary-4-col {
        flex-wrap: wrap;
        width: 100%;
        gap: unset;
    } 
    .executive-summary-bg .executive-summary-4-col .col {
        flex: 0 0 40%;        
    }
    .region-content-home .slick__arrow .slick-arrow {
        padding: 0px 0px 0px 20px;        
    }
    .region-content-home .slick__arrow .slick-prev {
      left: -25px;  
    }  
    .region-content-home .slick__arrow .slick-next {
        right: -25px;        
    }    
    body .region-content h2 {
            font-size: 30px!important;  
    }
    body .region-content p {
            font-size: 18px!important;          
    }
    body .footer-region, .region-footer {
        width: 100% !important;
    }
    .region-footer .block {
        margin: 20px 0;        
    }
    #block-unss-maincampusaddress, #block-unss-unsscbonnoffice {
        display: block;        
    }
    #block-unss-unsscbonnoffice {
        float: unset;
    }
    #block-unss-hero-block .field--name-body, .content-home p {
            font-size: 16px !important;
    }
    #block-unss-hero-block .block-content .field-item, .region-content-home .slick-slider .slide-title a {
            font-size: 18px;        
    }
    #block-unss-foreword p:nth-child(2) {
            background-size: 35px;
    }
    .block-region.region-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 25px;        
    }
    #block-unss-hero-block .block-content {
        display: block;
    }
    #block-unss-hero-block .block-content .field-item {
        padding-bottom: 25px;
        text-align: left;        
    }
    #block-unss-hero-block .field--name-field-download-executive-summary {
            justify-self: start;
    }
    #block-unss-wanttolearnmore p:last-child {
        float: none;
    }
    #block-unss-wanttolearnmore p {
        width: 100%;
        
    }
    #block-unss-foreword .unss-foreward-right-sec p:first-child {
        padding-left: 80px;        
    }
    #block-unss-foreword .unss-foreward-right-sec {
        display: block;
        width: 100%;
        text-align: left;
        margin-top: 35px;
        
    }
    #block-unss-foreword .field--name-body {
        display: block;        
        text-align: center;
    }
    #block-unss-foreword p:nth-child(2) {
        //padding-left: 12%;
    }
    .unss-graph .layout__region.layout__region--second .field--name-body {
         display: block !important;         
    }
    .unss-graph .layout__region .field--name-body {
        text-align: center;    
    } 
    .unss-graph .layout__region.layout__region--first img {
        width: 200px;
    }
    .unss-graph .layout__region.layout__region--second .field--name-body p {
        text-align: start;
        color: #000;
    } 
    .unss-graph .layout__region.layout__region--second img {
        margin-bottom: 30px;        
    }
   body #block-unss-whoresponded-2 {
     background-image: url(/themes/custom/unss/images/UNSSC_Square_Element_Who_Responded_Right_Bottom.png);
     background-position: top right;
     padding-top: 5rem;     
   }
   body .content-home #block-unss-views-block-our-approach-block-1 {
        background-image: url(/themes/custom/unss/images/UNSSC_Square_Element_Who_Responded_Right_Top.png);
        background-repeat: no-repeat;
        background-position: bottom left;       
   }
   #block-unss-views-block-featured-publications-block-1 h2.block-title, #block-unss-views-block-duplicate-of-featured-publications-block-1 h2.block-title, #block-unss-surveyresults .block-title {
       font-size: 25px !important;
   }
}


body h3{
    font-size: 24px;
    font-family: 'Montserrat bold';
}
.unss-glossary h3, .unss-glossary #un-system {
    color: #000;
    text-decoration: underline;
    text-decoration-color: #009edb; 
}

.unss-node-banner {
    padding-top: 60px;
    padding-bottom: 35px;    
}
.unss-node-banner .layout__region--second .block{
    margin-bottom: 30px;    
}
.unss-node-banner .layout__region--first {
    margin-top: 5%;
	padding-right: 5%;
}
.unss-node-banner .layout__region--first span {
    font-size: 38px;
    color: #009edb;
    font-family: 'Montserrat bold';
    line-height: 1;    
}
.unss-node-banner .layout__region--second .field--type-image img {
    //width: 400px;
}
.unss-node-banner .layout__region--second .field--type-file {
    text-align: right;    
}
.unss-node-banner .layout__region--second .field--type-file a, body .summary-info a, body a.excutive-button {
    background: #009edb;
    color: #fff !important;
    padding: 10px 10px 10px 40px;
    border-radius: 10px;
    background-image: url(/themes/custom/unss/images/UNSSC_Icon_Download.png);
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: 10px;
    font-size: 18px;    
}
body .unss-consideration-sec a {
    background: #fff;
    color: #009edb !important;
    padding: 10px 10px 10px 40px;
    border-radius: 10px;
    background-image: url(/themes/custom/unss/images/blue-download.png);
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: 10px;
    font-size: 18px;     
}
.unss-node-banner .layout__region--second .field--type-file span:last-child {
    display: none;
}
.unss-explore-results {
    margin-bottom: 5%;    
}
.unss-explore-results .explore-results {
    display: flex;
    margin-top: 50px;    
}
body .unss-explore-results .explore-results p {
    font-size: 18px;
    color: #000;
    font-family: 'Montserrat medium';
    text-align: center;
    width: calc(100% / 7);
    margin-right: 5px;    
}
body .unss-explore-results h2 {
    text-align: center;
    font-family: 'Montserrat bold';    
}
.unss-paper-right-divider, .unss-paper-left-divider{
    margin: 2.5% 0;    
}
.unss-paper-right-divider img, .unss-paper-left-divider img  {
    width: 600px;
}
.unss-paper-right-divider .field--name-body {
    float: right;
}

.unss-brief-sec .unss-in-brief {
    border-bottom: 2px solid #000000;
    margin-bottom: 30px; 
	margin-right: 30px;
	margin-left: 30px;
}
.unss-brief-sec .unss-in-brief:last-child {
    border: unset;    
}
.unss-brief-sec .unss-in-brief p {
    margin: 25px 0;    
}
.node-type-publications h2, body .node-type-action-papers h2 {
    font-family: 'Montserrat bold';
}

body .node-type-publications p, body .node-type-action-papers p, .card ul li {
    font-size: 18px;
    color: #000;
    font-family: 'Montserrat medium'; 
    margin: 1.5% 0;    
}
.unss-consideration-sec h2 {
    padding-top: 5%;    
}

.unss-consideration-sec {
    background-color: #009edb;
    padding-bottom: 30px;    
}
.unss-consideration-sec:nth-child(1) {
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 250px;
    background-image: url(/themes/custom/unss/images/UNSSC_Square_Element_Who_Responded_Right_Bottom.png);   
}

.unss-consideration-sec .unss-consideration h3, .unss-consideration-sec .unss-consideration h2,
.unss-consideration-sec .unss-consideration p {
     color: #fff;   
}
.unss-consideration-sec .count {
    color: #009edb !important; 
    background-color: #fff;
    width: 45px;
    height: auto;
    text-align: center;
    font-weight: bolder;
    font-size: 30px;    
}
.node-type-publications .node-content, .node-type-action-papers .node-content{
    gap: unset;
}
.unss-consideration-sec h2, .unss-consideration-sec h3 {
    color: #fff !important;     
}
.unss-consideration-sec .unss-consideration p:last-child {
    padding: 30px 0;    
}
.unss-consideration-sec .unss-consideration {
    margin-right: 20px;
}
/* Search overlay submit button */
#search-block-form input[type="submit"].form-submit {
  background-color: #009edb;
  color: #ffffff;
  border: 0;
  border-radius: 8px;
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

/* Hover / focus: text only turns black */
#search-block-form input[type="submit"].form-submit:hover,
#search-block-form input[type="submit"].form-submit:focus {
  color: #000000;
}
/* Layout width (search pages only) */
.path-search #main-wrapper {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  width: 100%;
  box-sizing: border-box;
}

/* Link styles only inside the main content area */
.path-search #main-wrapper main a {
  color: #009edb;
  text-decoration: none;
}

.path-search #main-wrapper main a:hover {
  text-decoration: underline;
}

/* Dont affect admin/contextual UI links */
.path-search #main-wrapper .contextual a,
.path-search #main-wrapper .contextual-links a,
.path-search #main-wrapper .tabs a,
.path-search #main-wrapper .toolbar a {
  color: inherit;
  text-decoration: inherit;
}

/* Search page submit buttons (scoped) */
.path-search #main-wrapper main form input[type="submit"],
.path-search #main-wrapper main form button[type="submit"] {
  background: #009edb;
  border-color: #009edb;
  color: #fff;
}

.path-search #main-wrapper main form input[type="submit"]:hover,
.path-search #main-wrapper main form button[type="submit"]:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}

/* Safety: contextual trigger should not be affected */
.path-search #main-wrapper .contextual .trigger,
.path-search #main-wrapper .contextual button.trigger {
  background: initial;
  border-color: initial;
  color: initial;
  text-decoration: initial;
}




.card-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* Number badge */
.step-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #009edb;
  color: #fff;
  width: 36px;
  height: 36px;
  font-weight: 600;
  font-size: 18px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.unss-action-box .block:after {
    content: "|";
    font-size: 30px;
    color: #009edb;
    width: 100%;
    display: block;
    text-align: center;
}
/* Card container */
.card {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 32px 40px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Title */
.card h2 {
  text-align: center;
  color: #000;
}


/* Bullet list */
.card ul {
  padding-left: 20px;
  margin-bottom: 20px;
}


/* Red bullets */
.card ul li::marker {
  color: #e53935;
}

/* Footer text */
.footer-text {
  margin-top: 12px;
}

.unss-action-box {
    background-color: #f4f4f4;
    padding: 50px 0;    
}
.unss-action-box .block:last-child:after{
    content: unset;
}

article[data-history-node-id="14"] .unss-layout-content p {
    margin: 30px 0 !important;    
}

.summary-info {
   display: inline-flex;
    float: right;
    gap: 25px;
    margin-top: 5%;    
}

body .unss-ex-count h2 {
    color: #fff;
    background: #009edb;
    width: 45px;
    height: 45px;
    text-align: center;    
}
body .unss-ex-count .layout__region--first .block:first-child {
    padding-top: unset;      
}

body .unss-ex-count .layout__region--second .block {
    padding-left: 20px;   
}

:target {
  scroll-margin-top: 100px;
}
/* Summary links: always blue, underline on hover */
.field--type-text-with-summary a:not(.button):not([class*="btn"]) {
  color: #009edb;
  text-decoration: none;
}

.field--type-text-with-summary a:not(.button):not([class*="btn"]):hover {
  color: #009edb!important;
  text-decoration: underline;
}

.step-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 40px 0 20px;
  padding: 0 10px;
}

/* Horizontal line */
.step-timeline::before {
  content: "";
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: #e5e5e5;
  z-index: 1;
}

/* Individual step */
.step {
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 2;
}

/* Label container */
.step .label {
  max-width: 160px;
  margin: 0 auto 12px;
  min-height: 100px;
}

/* Anchor styling */
.step .label a {
  display: block;
  font-size: 16px;
  color: #000 !important;
  text-decoration: none;
  font-family: 'Montserrat medium';  
}

.step .label a:hover {
  text-decoration: underline;
}

/* Marker square */
.step .marker {
  width: 20px;
  height: 20px;
  background: #dcdcdc;
  display: inline-block;
}

/* Active anchor controls marker color */
.step .label a.active {
  font-weight: 700;
  color: #007bc1;
}

.step .label a.active + .marker {
  background: #009edb;
}

/* CSS-only way to target marker */
.step:has(.label a.active) .marker {
  background: #009edb;
}

/* =========================================================
   HOME (CLEAN): full-bleed block backgrounds boxed inner (1470px)
   ========================================================= */

:root{
  --unss-max: 1470px;
  --unss-pad: clamp(26px, 7vw, 84px);
}

/* A) Make the BLOCK itself full-bleed (so bg-color/bg-image is full width) */
.content-home #block-unss-hero-block,
.content-home #block-unss-wanttolearnmore,
.content-home #block-unss-foreword,
.content-home #block-unss-surveyresults,
.content-home #block-unss-views-block-our-approach-block-1,
.content-home #block-unss-whoresponded-2{
  max-width: none !important;
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;

  /* stop the boxed background effect coming from old rules */
  padding-left: 0 !important;
  padding-right: 0 !important;

  box-sizing: border-box;
}

/* B) Box the INSIDE content (title block-content) to 1470px */
.content-home #block-unss-hero-block > h2,
.content-home #block-unss-wanttolearnmore > h2,
.content-home #block-unss-foreword > h2,
.content-home #block-unss-surveyresults > h2,
.content-home #block-unss-views-block-our-approach-block-1 > h2,
.content-home #block-unss-whoresponded-2 > h2,
.content-home #block-unss-hero-block > .block-content,
.content-home #block-unss-wanttolearnmore > .block-content,
.content-home #block-unss-foreword > .block-content,
.content-home #block-unss-surveyresults > .block-content,
.content-home #block-unss-views-block-our-approach-block-1 > .block-content,
.content-home #block-unss-whoresponded-2 > .block-content{
  max-width: var(--unss-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--unss-pad);
  padding-right: var(--unss-pad);
  box-sizing: border-box;
}

/* C) Hide the unwanted red button / slick dot artifact */
.content-home #block-unss-views-block-our-approach-block-1 .our-approach-slick-dots li button,
.content-home #block-unss-views-block-our-approach-block-1 .our-approach-slick-dots li button::before,
.content-home #block-unss-views-block-our-approach-block-1 .our-approach-slick-dots li button::after{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  content: none !important;
}

/* =========================================================
   UNSS  Introduction 3-column section
   ========================================================= */

.unss-introduction-3col.layout--threecol-section{
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: stretch;
  margin-top: 30px;
}

.unss-introduction-3col.layout--threecol-section .layout__region{
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-sizing: border-box;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  color: #000;
  flex: 1 1 calc((100% - 120px) / 3);
  min-width: 0;
}

/* Base text color */
.unss-introduction-3col.layout--threecol-section .layout__region{
  color: #000;
}

/* Headings & body text */
.unss-introduction-3col.layout--threecol-section
.layout__region p,
.unss-introduction-3col.layout--threecol-section
.layout__region li,
.unss-introduction-3col.layout--threecol-section
.layout__region h2,
.unss-introduction-3col.layout--threecol-section
.layout__region h3,
.unss-introduction-3col.layout--threecol-section
.layout__region h4{
  color: #009edb;
}

/* Bold text (inherits link color when inside links) */
.unss-introduction-3col.layout--threecol-section
.layout__region strong,
.unss-introduction-3col.layout--threecol-section
.layout__region b{
  color: inherit;
}

/* Links: blue + underline */
.unss-introduction-3col.layout--threecol-section
.layout__region a{
  color: #009edb !important;
  text-decoration: underline;
  text-decoration-color: #009edb;
  text-underline-offset: 3px;
  transition: color .2s ease, text-decoration-color .2s ease;
}

/* Hover: black text + black underline */
.unss-introduction-3col.layout--threecol-section
.layout__region a:hover,
.unss-introduction-3col.layout--threecol-section
.layout__region a:hover *{
  color: #000 !important;
  text-decoration-color: #000;
}

/* Numbered list markers */
.unss-introduction-3col.layout--threecol-section
.layout__region ol{
  padding-left: 1.2em;
}

.unss-introduction-3col.layout--threecol-section
.layout__region ol li::marker{
  font-weight: 700;
  color: #009edb;
}


/* responsive */
@media (max-width: 1024px){
  .unss-introduction-3col.layout--threecol-section .layout__region{
    flex: 1 1 calc((100% - 60px) / 2);
  }
}
@media (max-width: 640px){
  .unss-introduction-3col.layout--threecol-section{
    gap: 20px;
  }
  .unss-introduction-3col.layout--threecol-section .layout__region{
    flex: 1 1 100%;
  }
}

/* =========================================================
   FIX: Override theme hover in intro highlight 
   ========================================================= */

.unss-introduction-highlight .field--type-text-with-summary a:not(.button):not([class*="btn"]),
.unss-introduction-highlight .field--type-text-with-summary a:not(.button):not([class*="btn"]):visited {
  color: #fff !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  background: none !important;
}

/* hover: text + underline black (also for nested em/span) */
.unss-introduction-highlight .field--type-text-with-summary a:not(.button):not([class*="btn"]):hover,
.unss-introduction-highlight .field--type-text-with-summary a:not(.button):not([class*="btn"]):hover *,
.unss-introduction-highlight .field--type-text-with-summary a:not(.button):not([class*="btn"]):focus,
.unss-introduction-highlight .field--type-text-with-summary a:not(.button):not([class*="btn"]):focus * {
  color: #000 !important;
  text-decoration-color: #000 !important;
}

/* ==========================================================
   CONSIDERATION SECTION
   ========================================================== */

:root{
  --unss-gap-consider: 60px;
  --unss-card-pad: 30px;
  --unss-card-radius: 18px;
}

/* 1) Full-bleed section background (light gray) */
.unss-layout-content.unss-consideration-sec{
  position: relative;
  background: transparent !important; /* stop boxed bg */
}

.unss-layout-content.unss-consideration-sec::before{
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: #ffffff;
  z-index: 0;
}

/* Keep content above the background layer */
.unss-layout-content.unss-consideration-sec > *{
  position: relative;
  z-index: 1;
}

/* Keep the decorative square image (your theme used nth-child(1) on the section) */
.unss-layout-content.unss-consideration-sec:nth-child(1)::before{
  background-image: url(/themes/custom/unss/images/UNSSC_Square_Element_Who_Responded_Right_Bottom.png);
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 250px;
}

/* 2) Multi-column layouts become "card grids" */
.unss-layout-content.unss-consideration-sec.layout--twocol-section,
.unss-layout-content.unss-consideration-sec.layout--threecol-section,
.unss-layout-content.unss-consideration-sec.layout--fourcol-section{
  display: flex;
  flex-wrap: nowrap;                 /* IMPORTANT: keep 3/4 cols on one row */
  gap: var(--unss-gap-consider);
  align-items: stretch;              /* equal column heights */
}

/* Remove old per-column spacing from theme */
.unss-layout-content.unss-consideration-sec .unss-consideration{
  margin-right: 0 !important;
}

/* Each region becomes a blue "card" */
.unss-layout-content.unss-consideration-sec.layout--twocol-section > .layout__region,
.unss-layout-content.unss-consideration-sec.layout--threecol-section > .layout__region,
.unss-layout-content.unss-consideration-sec.layout--fourcol-section > .layout__region{
  flex: 1 1 0;
  min-width: 0;                      /* prevents overflow that can force wrapping */
  background: #009edb;
  border-radius: var(--unss-card-radius);
  padding: var(--unss-card-pad);
  box-sizing: border-box;
  display: flex;                      /* equal height internal layout */
  flex-direction: column;
}

/* Make content stretch inside each card */
.unss-layout-content.unss-consideration-sec.layout--twocol-section > .layout__region .block,
.unss-layout-content.unss-consideration-sec.layout--threecol-section > .layout__region .block,
.unss-layout-content.unss-consideration-sec.layout--fourcol-section > .layout__region .block{
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* White typography inside cards */
.unss-layout-content.unss-consideration-sec.layout--twocol-section > .layout__region *,
.unss-layout-content.unss-consideration-sec.layout--threecol-section > .layout__region *,
.unss-layout-content.unss-consideration-sec.layout--fourcol-section > .layout__region *{
  color: #fff !important;
}

/* Count: force WHITE number (per your request) */
.unss-layout-content.unss-consideration-sec .count{
  color: #fff !important;
  background: transparent !important;
  border: 2px solid #fff;
  width: 45px;
  height: 45px;
  line-height: 45px;
  display: inline-block;
  text-align: center;
  font-weight: 700;
  font-size: 30px;
  border-radius: 8px;
}

/* 3) Responsive: tablet => 2 columns, mobile => 1 column */
@media (max-width: 1024px){
  .unss-layout-content.unss-consideration-sec.layout--threecol-section,
  .unss-layout-content.unss-consideration-sec.layout--fourcol-section{
    flex-wrap: wrap;
  }

  .unss-layout-content.unss-consideration-sec.layout--threecol-section > .layout__region,
  .unss-layout-content.unss-consideration-sec.layout--fourcol-section > .layout__region{
    flex: 0 0 calc((100% - var(--unss-gap-consider)) / 2);
  }
}

@media (max-width: 640px){
  :root{
    --unss-gap-consider: 24px;
    --unss-card-pad: 24px;
  }

  .unss-layout-content.unss-consideration-sec.layout--twocol-section,
  .unss-layout-content.unss-consideration-sec.layout--threecol-section,
  .unss-layout-content.unss-consideration-sec.layout--fourcol-section{
    flex-wrap: wrap;
  }

  .unss-layout-content.unss-consideration-sec.layout--twocol-section > .layout__region,
  .unss-layout-content.unss-consideration-sec.layout--threecol-section > .layout__region,
  .unss-layout-content.unss-consideration-sec.layout--fourcol-section > .layout__region{
    flex: 0 0 100%;
  }
}
/* ----------------------------------------------------------
   FIX: One-column consideration text should be blue
   ---------------------------------------------------------- */
.unss-layout-content.unss-consideration-sec.layout--onecol-section,
.unss-layout-content.unss-consideration-sec.layout--onecol{
  color: #009edb;
}

.unss-layout-content.unss-consideration-sec.layout--onecol-section h1,
.unss-layout-content.unss-consideration-sec.layout--onecol-section h2,
.unss-layout-content.unss-consideration-sec.layout--onecol-section h3,
.unss-layout-content.unss-consideration-sec.layout--onecol-section p,
.unss-layout-content.unss-consideration-sec.layout--onecol-section li,
.unss-layout-content.unss-consideration-sec.layout--onecol-section a{
  color: #009edb !important;
}
/* ----------------------------------------------------------
   FIX: Perfect vertical horizontal centering of numbers
   ---------------------------------------------------------- */
.unss-layout-content.unss-consideration-sec .count{
  color: #fff !important;
  background: transparent !important;
  border: 2px solid #fff;

  width: 45px;
  height: 45px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 700;
  font-size: 30px;
  line-height: 1;

  border-radius: 8px;
}
/* ----------------------------------------------------------
   ENHANCEMENT: Subtle card shadow for consideration columns
   ---------------------------------------------------------- */
.unss-layout-content.unss-consideration-sec.layout--twocol-section > .layout__region,
.unss-layout-content.unss-consideration-sec.layout--threecol-section > .layout__region,
.unss-layout-content.unss-consideration-sec.layout--fourcol-section > .layout__region{
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

/* Optional: very light lift on hover (desktop only) */
@media (hover: hover) and (pointer: fine) {
  .unss-layout-content.unss-consideration-sec.layout--twocol-section > .layout__region:hover,
  .unss-layout-content.unss-consideration-sec.layout--threecol-section > .layout__region:hover,
  .unss-layout-content.unss-consideration-sec.layout--fourcol-section > .layout__region:hover{
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
    transform: translateY(-2px);
  }
}
/* ----------------------------------------------------------
   ENHANCEMENT: Responsive sizing for count badge
   ---------------------------------------------------------- */

/* Mobile (default) */
.unss-layout-content.unss-consideration-sec .count{
  width: 40px;
  height: 40px;
  font-size: 24px;
}

/* Tablet and up */
@media (min-width: 768px){
  .unss-layout-content.unss-consideration-sec .count{
    width: 45px;
    height: 45px;
    font-size: 28px;
  }
}

/* Desktop */
@media (min-width: 1200px){
  .unss-layout-content.unss-consideration-sec .count{
    width: 50px;
    height: 50px;
    font-size: 30px;
  }
}
/* =========================================================
   FIX: Headline colors in unss-consideration-sec
   ========================================================= */

/* ONE COLUMN blue headlines */
.unss-layout-content.unss-consideration-sec.layout--onecol h2 {
  color: #009edb !important;
}

/* MULTI COLUMN white headlines (cards) */
.unss-layout-content.unss-consideration-sec.layout--twocol-section h2,
.unss-layout-content.unss-consideration-sec.layout--twocol-section h3,
.unss-layout-content.unss-consideration-sec.layout--threecol-section h2,
.unss-layout-content.unss-consideration-sec.layout--threecol-section h3,
.unss-layout-content.unss-consideration-sec.layout--fourcol-section h2,
.unss-layout-content.unss-consideration-sec.layout--fourcol-section h3 {
  color: #fff !important;
}
/* =========================================================
   UNSS CONSIDERATION SECTION  spacing fixes
   ========================================================= */


/* 2) The button */
body .unss-layout-content.unss-consideration-sec a{
  display: inline-flex;            /* needed so margin-top/bottom actually works */
  align-items: center;
  width: fit-content;
  margin: 30px 0 !important;       /* requested spacing */
  line-height: 1.2;                /* helps vertical alignment */
}

.unss-consideration-sec a {
  border: 2px solid #009edb;
}

.unss-layout-content.unss-consideration-sec.layout--twocol-section .layout__region p a,
.unss-layout-content.unss-consideration-sec.layout--threecol-section .layout__region p a,
.unss-layout-content.unss-consideration-sec.layout--fourcol-section .layout__region p a,
.unss-layout-content.unss-consideration-sec.layout--twocol-section .layout__region li a,
.unss-layout-content.unss-consideration-sec.layout--threecol-section .layout__region li a,
.unss-layout-content.unss-consideration-sec.layout--fourcol-section .layout__region li a{
  display: inline;
  margin: 0 !important;
}

/* =========================================================
   unss-consideration-sec: underline h3 with WHITE underline
   ========================================================= */

.unss-consideration-sec h3{
  color: #000000!important;
  text-decoration-line: underline;
  text-decoration-color: #009edb;
  text-decoration-thickness: 2px;     /* optional, looks nicer */
  text-underline-offset: 6px;         /* optional spacing */
}
/* =========================================================
   unss-consideration-sec: spacing for multi-column layouts
   ========================================================= */

.unss-layout-content.unss-consideration-sec.layout--twocol-section,
.unss-layout-content.unss-consideration-sec.layout--threecol-section,
.unss-layout-content.unss-consideration-sec.layout--fourcol-section {
  margin-bottom: 3%;
}
/* =========================================================
   unss-paper-inbrief  one column styling
   ========================================================= */

.unss-layout-content.unss-paper-inbrief.layout--onecol
.unss-brief-sec {
  background-color: #f4f4f4;
  padding: 50px;
  border-radius: 10px;
  box-sizing: border-box;
}

/* Tablet */
@media (max-width: 1024px) {
  .unss-layout-content.unss-paper-inbrief.layout--onecol
  .unss-brief-sec {
    padding: 40px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .unss-layout-content.unss-paper-inbrief.layout--onecol
  .unss-brief-sec {
    padding: 24px;
  }
}

/* =========================================================
   UNSS  Acknowledgements section
   ========================================================= */
/* H3: black text, blue underline */
.unss-layout-content.unss-acknowledgements h3 {
  color: #000000 !important;
  text-decoration-line: underline;
  text-decoration-color: #009edb;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* One-column: style the column like a white card */
.unss-layout-content.unss-acknowledgements.layout--onecol > .layout__region {
  background-color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 30px;
  margin-top: 20px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

/* =========================================================
   UNSS  Who responded section
   ========================================================= */

/* H3: black text, blue underline */
.unss-layout-content.unss-who-responded h3 {
  color: #000000 !important;
  text-decoration-line: underline;
  text-decoration-color: #009edb;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
/* 1) Add blue divider with spacing */
.unss-layout-content.unss-who-responded.layout--onecol
> .layout__region {
  border-bottom: 2px solid #000000;
  padding-bottom: calc(30px + 3px); /* inner padding + divider gap */
  margin-bottom: 30px;
  box-sizing: border-box;
}

/* Create visual space ABOVE the divider */
.unss-layout-content.unss-who-responded.layout--onecol
> .layout__region::after {
  content: "";
  display: block;
  height: 3px;
}

/* 2) Remove divider ONLY from the LAST who-responded section */
.unss-layout-content.unss-who-responded.layout--onecol:last-of-type
> .layout__region {
  border-bottom: none;
  padding-bottom: 30px;
}

/* =========================================================
   FORCE button-style text links to behave correctly on hover
   ========================================================= */
/* Button-like links: black on hover */
#block-unss-hero-block .field--name-body p a:hover,
#block-unss-foreword .unss-foreward-right-sec a:hover,
.unss-node-banner .layout__region--second .field--type-file a:hover {
  color: #000000 !important;
  text-decoration: none !important;
}

/* Summary-info needs higher specificity than the theme hover rule */
.field--type-text-with-summary .summary-info a:not(.button):not([class*="btn"]):hover,
.field--type-text-with-summary .summary-info a:not(.button):not([class*="btn"]):focus {
  color: #000000 !important;
  text-decoration: none !important;
}

