/*   
Theme Name: Landezine LNDZN202512
Theme URI: https://Landezine.com
Version: 1.0.9
*/
			/*------------------- FONTI -------------------*/
@font-face {
    font-family: 'HND Reg';
    src: url('../woff2/helveticanowdisplay-regular.woff2') format('woff2'),
        url('../woff/helveticanowdisplay-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }

@font-face {
    font-family: 'HND RegIta';
    src: url('../woff2/helveticanowdisplay-regita.woff2') format('woff2'),
        url('../woff/helveticanowdisplay-regita.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }

 
  @font-face {
    font-family: 'HND BoldIta';
    src: url('../woff2/helveticanowdisplay-boldita.woff2') format('woff2'),
        url('../woff/helveticanowdisplay-boldita.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'HND Bold';
    src: url('../woff2/helveticanowdisplay-bold.woff2') format('woff2'),
        url('../woff/helveticanowdisplay-bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }

body {
	font-family: 'HND Reg', Helvetica, Arial, sans-serif;
	color: #000;
	margin: 0px;
	padding: 0px;
	-webkit-font-smoothing: antialiased;
    font-size: 18px;
    line-height: 28px;
    padding-top: 1px;
	}
b {
	font-family: 'HND Bold', Helvetica, Arial, sans-serif;
	font-weight: normal;
	}

a {
	text-decoration:none;
	color: #000;
	}
a:hover {
	color: #ff5050;
	}
strong {
    font-family: 'HND Bold';    
}	
p {
    font-weight: normal;
    width: 94%;
    font-size: 21px;
    line-height: 32px;
    text-align: left;
}
p a{
	text-decoration:underline;
}
ul {
	margin-left: 0px;
	padding-left: 0px;
	margin-top: 0px;
	}
li {
    list-style: none;
	}

h1 {
    font-size: 95px;
    font-family: 'HND Reg';    
    line-height: 95px;
    font-weight: normal;
    margin-bottom: 20px;
    margin-top: 0px;
   	}

h2 {
    width: 100%;
    font-weight: 400;
    margin: 0;
    margin-bottom: 10px;
    font-size: 21px;
    line-height: 27px;
    font-family: 'HND Reg';
    }

h3 {
    font-size: 21px !important;
    line-height: 24px;
    margin-bottom: 30px;
    border-top: 1px solid #ddd;
    padding-top: 25px;
    font-weight: normal;
    margin-top: 0;
    }

h4 {
    font-size: 30px;
    line-height: 34px;
    font-weight: normal;
    margin: 0;
}
hr {
    border-width: 0;
    border-top: 1px solid #ddd;
    }
blockquote {
    font-family: times new roman, serif;
    border-left: 1px solid #000;
    padding-left: 5%;
    float: left;
    width: 95%;
    margin: 0;
    margin-bottom: 30px;
    margin-top: 30px;
}

blockquote p{
    font-size: 30px;
    line-height: 40px;
    font-family: 'Times New Roman', serif;
    letter-spacing: 0px;
    font-style: italic;
    margin:0;
}

.wp-block-buttons{
    display: block !important;
    width: 100%;
    float: left;
    margin-bottom: 50px;
    }

.rm svg{width:20px;height:20px;display:block;transition:transform .15s}
.rm:hover svg{transform:translateX(2px)}
/* NEW ///////////////////////////////////////////////////////////////////*/

#full_width {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    float: left;
    margin: 0;
    margin-bottom:10px;
    }

#full_width_50 {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    float: left;
    margin: 0;
    margin-bottom:50px;
    }

#top_title {   
    width: 80%;
    height: auto;
    overflow: hidden;
    float: left;
    margin: 0;
    margin-top: 20vh;
    margin-bottom: 50px;
    padding-right:20%;
}


.article-main {
  display: flex;
  flex-wrap: nowrap;
  gap: 6rem;
  align-items: flex-start;
}

#single_content {
  flex: 0 1 66.666%;
  display: flex;
  justify-content: flex-end;
}

#single_content li {
    font-size: 18px;
    line-height: 28px;
    list-style: disc;
}

#single_content ul {
    list-style-type: disc;
    padding-left: 5%;
    width:100%;
}

.article-body-wrapper {
  max-width: 920px;
  width: 100%;
  padding-right: 2rem;
  box-sizing: border-box;
}

.article-body-wrapper h2{
  font-size: 28px;
  line-height: 36px;
  margin-top: 40px;
}

.article-body-wrapper .blue{
    float: left;
    width: 100%;
}

#single_sidebar {
  flex: 0 0 33.333%;
  max-width: 33.333%;
}
#single_sidebar .imgsall {
    margin-bottom: 0px;
}
#sidebar .imgsall {
    margin-bottom: 0px;
}

/* 2-col single layout */
.article-main{display:flex; gap:6rem; align-items:flex-start}

/* Let columns actually shrink */
#single_content,
#single_sidebar{min-width:0}

/* Give a clean 2:1 split without hard widths (gap is accounted for) */
#single_content{flex:2 1 0}
#single_sidebar{flex:1 1 0}

/* Prevent content from blowing out the column */
.article-body-wrapper img,
.article-body-wrapper video,
.article-body-wrapper iframe,
.article-body-wrapper figure{max-width:100%; height:auto}

/* Long words/URLs */
.article-body-wrapper{overflow-wrap:anywhere; word-break:break-word}

/* If any Gutenberg alignwide/full slipped in, neutralize breakout */
.article-body-wrapper .alignfull,
.article-body-wrapper .alignwide{
  max-width:100% !important;
  width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

/* (Optional) big tables scroll instead of overflow */
.article-body-wrapper table{display:block; max-width:100%; overflow-x:auto}

.imgsall-wrapper {
  position: relative;
}

.imgsall {
  aspect-ratio: 14 / 9;
  width: 100%;
  background-color: #0000ff;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom: 20px;
  position: relative;
}

#featured_img {
    width: 100%;
    height: auto;
    float: left;
    position: relative;
    margin: 0;
    margin-bottom: 30px;
}

#featured_img img {
    float: left;
    width: 100%;
    height: auto;
}
 
#partner_logo {
    max-width: 300px;
    width: 96%;
    height: auto;
    overflow: hidden;
    float: left;
    margin: 0;
    position: relative;
    margin-bottom: 30px
    }

#partner_logo img{
    width: 80%;
    padding: 8%;
    max-width: 228px;
    height: auto;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #ddd;
    }

.content-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 1 sidebar + 3 content columns */
  gap: 2rem;
  margin-top: 3rem;
  align-items: start; /* Prevent row stretching */
}

.post-preview {
  display: flex;
  flex-direction: column;
}

.gallery {
    width: 100%;
    padding-right: 0;
    margin-bottom:50px !important;
    margin-top:50px !important;
    float: left;
}

.gallery-item {
    text-align: center;
    overflow: hidden;
    border: none;
    margin: 0px;
} 

.gallery-item img{
    text-align: center;
    height: auto;
    border: none !important;
}

.gallery-size-large img {
    width: 100%;
    height: auto;
    border: none !important;
}

.gallery-size-thumbnail img {
    max-width: 98%;
    height: auto;
    border: none !important;
    padding-bottom: 2% !important;  
}

.gallery-size-thumbnail .gallery-item {
    width: 33% !important;
    height: auto;
    float: left;
}

.gallery-caption {
    margin-top: 10px;
}

.gallery-size-thumbnail .gallery-caption {
    width: 90% !important;
    height: auto;
    float: left;
}

figcaption a {
    text-decoration: underline;
}
img.alignnone.size-full {
    width: 100%;
    height: auto;
}

img.alignnone.size-large {
    width: 100%;
    height: auto;
}

.gallery-columns-1 .gallery-item {
  width: 100%;
  margin-bottom: 10px;
}

.gallery-columns-2 .gallery-item {
  width: 49%;
  float: left;
  margin:0.5%;
  margin-bottom: 10px;
}

.gallery-columns-3 .gallery-item {
  width: 33.3333%;
  float: left;
}

.gallery-columns-4 .gallery-item {
  width: 25%;
  float: left;
  margin-bottom: 10px;
}

.gallery-columns-5 .gallery-item {
  width: 20%;
  float: left;
  margin-bottom: 10px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-caption {
    width: 50%;
    height: auto;
    text-align: left;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 24px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; 
  height: 1px; 
  padding: 0; 
  margin: -1px; 
  overflow: hidden; 
  clip: rect(0, 0, 0, 0); 
  border: 0;
}

.content-grid-sidebar {
  grid-column: span 1;
}

.chapters {
    margin-top: 50px;
}
.content-grid-posts {
  grid-column: span 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  grid-auto-rows: min-content;
  align-items: start;
}

.content-grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  align-items: start;
}

.content-grid-posts-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.office-main-content {
  grid-column: span 3;
}

.content-grid-posts-4 {
  grid-template-columns: repeat(4, 1fr);
}

.office-description {
  grid-column: span 3;
  max-width: 100%;
  margin-top: 1rem;
}

.office-description p{
  max-width: 75%;
  text-align: left;
}

.sidebar-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.sidebar-posts-grid article {
  padding: 0;
  background: none;
  border: none;
}

.sidebar-posts-grid .imgsall {
  width: 100%;
  aspect-ratio: 14 / 9;
  background-size: cover;
  background-position: center;
  margin-bottom: 0.5rem;
}

.sidebar-posts-grid h2 {
  font-size: inherit;
  line-height: 1.4;
  margin: 0;
}


.recognition-badges {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
}

.recognition-badge svg {
  display: block;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.badge-item a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 1rem;
}

.badge-item svg {
  height: 20px;
  width: auto;
}

.related-grid-wide-wrapper {
  margin-top: 3rem;
  padding: 0;
}

.related-grid-wide-posts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.related-grid-wide-button {
  text-align: center;
  margin-top: 2rem;
}

.related-grid-wide-button .button {
  display: inline-block;
  padding: 20px 30px;
  line-height: 20px;
  border: 1px solid;
  text-decoration: none;
  background-color: transparent;
  color: inherit;
  font-size: 1rem;
}

.related-grid-wide-button a.button:hover{
  color:#fff;
  border: 1px solid #0000ff;
  background-color: #0000ff;
}

.category-links {
    font-size:16px;
    line-height: 16px;
    margin-bottom: 10px;
    color: #0000ff;
    } 

.category-links a{
    color:#0000ff;
    }
.category-links a:hover{
    color:#0000ff;
    text-decoration: underline;
    }

#third_thumb_l {
    width: 30%;
    height: auto;
    overflow: hidden;
    float: left;
    margin:1%;
}

#third_txt_r {
    width: 65%;
    height: auto;
    overflow: hidden;
    float: right;
    margin: 1%;
}

#third_thumb_l img{
    width: 100%;
}

.contributor-bio p {
    font-size: 18px;
    line-height: 26px;
}

.contributor-portrait{
    width: 100%;
    height: auto;
}
.contributor-portrait img{
    max-width: 350px !important;
    height: auto !important;
}
.sidebar-listing-row {
  display: grid;
  grid-template-columns: 1fr 2fr; /* thumbnail : text ratio */
  gap: 1rem; /* matches .sidebar-posts-grid gap */
  align-items: start;
  margin-bottom: 1rem;
}

.sidebar-thumb .imgsall {
  width: 100%;
  aspect-ratio: 14 / 9;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom: 0;
}

.typology-links {
  color: #0000ff;
  font-size: 24px; 
  line-height: 30px;
  grid-column: span 3;
}

.typology-links a{
  color: #0000ff;
}

.typology-links a:hover{
  color: #ff5050;
}

.post-icons {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.post-icons svg {
  width: 17px;
  height: auto;
  display: block;
}

p.excerpt {
    font-size: 16px;
    line-height: 24px;
    text-align: left;
}

.projects-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 0 auto;
  max-width: 100%;
}

.project-box {
  position: relative;
  flex: 1 1 50%;
  aspect-ratio: 14 / 9;
  overflow: hidden;
  background-color: #0000ff;
  flex: 1 1 calc(50% - 1rem); /* 2rem gap / 2 sides */
}

.project-box-small {
  flex: 1 1 calc(25% - 1.5rem); /* 4 per row with gutter */
  aspect-ratio: 14 / 9;
}

.projects-six .project-box-small {
  flex: 0 0 calc((100% - 5 * 2rem) / 6);
  max-width: calc((100% - 5 * 2rem) / 6);
}

.project-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0.5;
  z-index: 1;
}

.project-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5%;
  color: #fff;
}

.project-title a,
.project-title h1 a,
.project-subtitle a {
  color: #fff;
  text-decoration: none;
}

.project-title h1 {
  font-size: 24px;
  line-height: 30px;
  margin-top: 10px;
}

.project-title {
  font-size: 20px;
  line-height: 22px;
  text-align: left;
}

.project-subtitle {
  font-size: 16px;
  line-height: 18px;
  text-align: left;
}

.post-type-label {
  background-color: #0000ff;
  color: white;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 6px;
}

.half_container {
  display: flex;
  gap: 2rem;
  flex-wrap: nowrap; /* important to keep text+image on one row */
  align-items: stretch;
  margin-bottom: 2rem;
  border-top: 1px solid #ddd;
  padding-top: 2rem;
}

.half_of {
  flex: 1 1 50%;
  box-sizing: border-box;
}

.uni_prog_img img {
  width: 100%;
  height: auto;
  display: block;
}

.half_of h2{
  font-size:45px;
  line-height: 50px;
}

/* icons for custom fields*/
.contact-info-block {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem; /* space between items */
  margin-top: 1rem;
  font-size: 16px;
  line-height: 16px;
  color: #0000ff;
}

.info-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 16px;
  line-height: 20px;
}

.info-item a {
  text-decoration: none;
}

.info-item a:hover {
  text-decoration: underline;
}

.info-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: #0000ff;
}

/* homepage top */
 
.top-home-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

/* Place the 3 blocks into the 4-track grid */
.top-home-col.projects { grid-column: 1; grid-row: 1; }
.top-home-col.article  { grid-column: 2 / span 2; grid-row: 1; }
.top-home-col.news     { grid-column: 4; grid-row: 1; }

/* Shared column styling */
.top-home-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.top-home-col.projects .imgsall {
  margin-bottom: 0;
}

/* Big title */
.top-home-col.article h1 {
  font-size: 3rem;
  line-height: 3rem;
}

.top-home-col.projects .project-teaser,
.top-home-col.news .news-teaser {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.news-teaser {
  display: block;
  padding: 12px 0;
  border-top: 1px solid #ddd;
  margin: 0;
}

.top-home-col.news { gap: 0; }


.news-teaser-inner {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
  flex-wrap: nowrap;
  min-width: 0;
}

.news-thumbnail {
  flex: 0 0 42%;
  aspect-ratio: 14 / 9;
  background-size: cover;
  background-position: center;
}

.news-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.news-category-label {
  margin-bottom: 5px;
  color: #0000ff;
  white-space: normal;
  word-wrap: break-word;
}
.news-category-label a { color: inherit; text-decoration: none; }
.news-category-label a:hover { color: inherit; text-decoration: underline; }

.news-inline {
  font-size: 16px;
  line-height: 20px;
}
.news-inline a.news-category-label {
  color: #0000ff;
  text-decoration: none;
  margin-right: 5px;
}
.news-inline a.news-category-label:hover {
  text-decoration: underline;
}

.news-inline a.news-title {
  color: #000;
  text-decoration: none;
}
.news-inline a.news-title:hover {
  text-decoration: underline;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr); /* 8 per row */
  gap: 2rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%; /* required inside grid */
  min-height: 300px; /* adjust to taste */
}

.product-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.product-meta {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 0.5rem;
}

.product-card a img {
  margin-top: auto;
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.product-tax.blue {
  color: #0000ff;
  font-size: 16px;
}

/* homepage office in focus */

.in-focus-wrapper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.in-focus-wrapper p{
  margin:0;
}

.in-focus-profile {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.in-focus-profile h1 {
  font-size: 55px;
  line-height: 55px;
  margin-bottom: 0;
}

.in-focus-projects {
  grid-column: 3 / span 2;
}

/* Slider internals */
.in-focus-slider-wrapper {
  position: relative;
}

.in-focus-splide {
  height: 100%;
}

/* Slide contents */
.in-focus-slide {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.in-focus-slide-image {
  display: block;
  width: 100%;
  aspect-ratio: 14 / 9;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.in-focus-slide-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* If there is only one slide, hide all slider UI */
.in-focus-slider-wrapper.no-arrows .splide__pagination,
.in-focus-slider-wrapper.no-arrows .splide__arrows {
  display: none !important;
}

/* Never show arrows: dots only */
.in-focus-splide .splide__arrows {
  display: none !important;
}

/* Pagination – pulled up closer to the project */
.in-focus-splide .splide__pagination {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 6px;

  /* pull it up toward the slide */
  margin-top: -0.5rem;   /* negative = closer to title/image */
  margin-bottom: 0;

  padding: 0;
  list-style: none;
}

/* Dots */
.in-focus-splide .splide__pagination__page {
  background: rgba(0,0,0,0.2);
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
}

.in-focus-splide .splide__pagination__page.is-active {
  background: #000;
  transform: scale(1.2);
}





/* slider */

.slider-section {
  position: relative;
  margin-bottom: 2rem;
  overflow: hidden;
}

.scroll-card .imgsall {
  aspect-ratio: 14 / 9;
  background-size: cover;
  background-position: center;
}

.scroll-card .post-meta {
  margin-top: 0.5rem;
}

.banner-sixth .post-meta {
    font-size: 16px;
    line-height: 20px;
}

.meta-secondary {
    color: #999;
}
.meta-secondary a{
    color: #999;
}
.scroll-card .blue {
  color: #0000ff;
  font-size: 16px;
}

/* Optional: fade */
.slider-fade-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
  height: 100%;
  background: linear-gradient(to left, white 60%, transparent);
  pointer-events: none;
  z-index: 5;
}

/* Row holding "Selected Offices" and "Find university programs" */
.home-slider-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Neutralise the old full-width/float behavior inside this row */
.home-slider-row #full_width {
  width: 100%;
  float: none;
  margin-bottom: 0;
}
img.topics-term-image {
    margin-bottom: 20px;
}
/* Optional: arrow tweaks */

/* Optional: arrow tweaks */
.splide__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px !important;
  height: 55px !important;
  background: white !important;
  color: white;
  border-radius: 50%;
  border: 1px solid #000 !important;
  z-index: 10;
  opacity: 1;
}

.splide__arrow:hover {
  background: #0000ff !important;
  cursor: pointer;
  color: #fff;
}
 .two-blocks {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .block {
    flex: 1 1 50%;
    aspect-ratio: 5 / 2;
    display: flex;
    overflow: hidden;
  }

  .left-block {
    background-color: #ff5050;
    background-image: url('../gif/landezine-projects-on-maps.gif');
    background-size: cover;
    background-position: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #000;
    background-repeat: no-repeat;
  }

  .left-block .half {
    flex: 1;
  }

  .left-block .text-half {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
  }

  .right-block {
    background-color: #0000ff;
    background-image: url('../gif/landezine-newsletter-bg.gif');
    background-size: cover;
    background-position: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    background-repeat: no-repeat;
  }

  .right-block .button {
    background-color: #fff;
    color: #000;
    padding: 20px 50px;
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    max-width: 82px;
  }

.two-blocks select {
    border: 1px solid #000;
    padding: 1% 2% !important;
    width: 100%;
    max-width: 200px;
    color: #000;
    margin-bottom: 0;
    font-size: 16px;
}


/* General wrapper for grid of 12 items */

.banner-products {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

/* Adjust to fit 6 columns accounting for 5 gaps of 1rem total */
.banner-products .banner-sixth {
  flex: 0 0 calc((100% - 5rem) / 6);
  box-sizing: border-box;
}

.banner-products .banner-sixth .imgsall {
  aspect-ratio: 14 / 9;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 10px;
}

.content-grid-posts.banner-products {
  display: flex !important;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0;
  padding: 0;
}

/* Footer */

.footer-grid-wrapper {
  background-color: #fff;
  margin-bottom: 50px;
}

.footer-grid-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 calc(25% - 2rem);
  min-width: 200px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-column h3 {
  font-size: 16px;
  margin-bottom: 1rem;
}

.footer-social {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-social li {
  margin-bottom: 0.5rem;
}

.screen-reader-text {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.footer-column p {
    font-size: 16px;
    line-height: 26px;
    text-align: left;
}

/* Attachment */

.attachment-meta {
  padding: 2rem 1rem;
  max-width: 960px;
  margin: 0 auto;
  text-align: left;
  font-family: sans-serif;
}

.attachment-meta h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.attachment-meta h2 a {
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #0000ff;
}

.attachment-caption {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #333;
}

.attachment-navigation {
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: #666;
  display: flex;
  gap: 1.5rem;
}

.attachment-navigation a {
  text-decoration: none;
  color: #0000ff;
}

.attachment-image-container {
  width: 100%;
  height: 65vh;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top left;
}

.lila-note {
    padding: 5%;
    width: 90%;
    background-color: #f2f2f2;
}

.post-preview {
  min-width: 0;
}

article.related-wide-post {
    min-width: 0;
}

#more-content[hidden] {
  display: none;
}
.accordion-toggle {
  background: none;
  border: none;
  color: #0000ff;
  cursor: pointer;
  padding: 0;
  font-size: 1rem;
}

.sidebar-post-preview {
    min-width: 0;
}




sup {
    font-size: 14px;
    line-height: 14px;
    color: #0000ff;
}




h6 {
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 60px;
    max-width: 300px;
    line-height: 24px;
    width: 100%;
    text-align: left;
    font-weight: normal;
}

h6 a{
    text-decoration: underline;
}

address {
    font-style: normal;
}
/* ----------------- Header ----------------- */


#wrapper {
	width: 100%;
	max-width: 1920px;
	margin:0px auto;
	position: relative;
	}
#wrapper_in {
	width: 90%;
	position: relative;
	padding: 0 5%;
	float:left;
	}
#site-header{
  width:100%;
  margin-top:20px;
  margin-right:0;
  margin-bottom:clamp(24px, 3vw, 42px);
  margin-left:0;
  padding:16px 0;
  display:flex;
  flex-direction:column;
  gap:16px;
}

/* Row 1: secondary menu full-width */
#header-secondary-row{
  display:flex;
  align-items:center;
  justify-content:flex-end;   /* everything packed on the right */
  column-gap:16px;
  color: #aaa !important;
}

/* Row 2: logo + main menu */
#header-primary-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  column-gap:24px;
  margin-top: 15px;
}

/* Row 1: logo | search | secondary (legacy – safe to keep) */
#top_srvc{
  grid-area: top;
  display:grid;
  grid-template-areas: "logo search right";
  align-items:center;
  grid-template-columns: 250px minmax(0,1fr) auto;
  column-gap: 16px;
}

/* Logo */
#header_logo{
  min-width:250px;
  flex:0 0 250px;
}
#header_logo svg,
#header_logo img{
  width:250px;
  height:auto;
  display:block;
}
#header_logo .cls-1{ fill:#ff5050 !important; }
#header_logo .cls-2{ fill:#000; }

/* Search */
#top_search{
  order:1; /* search first, then secondary menu */
  display:flex;
  align-items:center;
  justify-content:flex-end;
  min-width:0;
  margin:0 !important;
}
#top_search form{ width:auto; }
#top_search input[type=search],
#searchform{ width:auto; }

#top_search .searchform-compact{
  position:relative;
  max-width:300px;
  width:100%;
  margin-left:auto;
}
#top_search .search-icon{
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  width:18px;
  height:18px;
  pointer-events:none;
}
#top_search #s{
  display:block;
  width:100%;
  padding:8px 8px 8px 28px;
  border:0;
  border-bottom:1px solid #aaa;
  background:transparent;
  outline:none;
  box-sizing:border-box;
  min-width:0;
  max-width:100% !important;
}
#top_search #s:focus{ border-bottom-color:#000; }

#searchform{ width:100%; margin:0; }

/* Secondary menu + icons */
#top_bar{
  order:2;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:20px;
  white-space:nowrap;
  margin:0;
  padding:0;
}
#top_bar a{
  font-size:14px;
  line-height:1;
  padding:6px 0;
  text-decoration:none;
  color: #aaa;
}
#top_bar a:hover{ color:#ff5050; }

/* Social icons */
.header-icons{
  display:flex;
  gap:12px;
  margin:0;
  padding:0;
  list-style:none;
}
.header-icons li{ line-height:0; }
.header-icons img{
  width:18px;
  height:18px;
  display:block;
  filter:grayscale(1) brightness(0.6);
}
.header-icons a:hover img{ filter:none; }

/* Main nav */
#top_menu{
  flex:1 1 auto;
}
#site-navigation{
  display:flex;
  justify-content:flex-end;
  width:100%;
}
#top_menu ul{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:clamp(12px, 2vw, 28px);
}
#top_menu li{ list-style:none; }
#top_menu a{
  font-size:18px;
  font-weight:500;
  text-decoration:none;
  display:inline-block;
  padding:2px 0;
  border-bottom:2px solid transparent;
}
#top_menu a:hover{
  color:#ff5050;
  border-color:#ff5050;
}

/* keep these as before */
#rmp_menu_trigger-71331{ display:none; }
[id^="rmp_menu_trigger-"] { display: none !important; }

.searchwp-live-search-result--desc {
    font-size: .9em;
    line-height: 1.2em !important;
}
p.searchwp-live-search-result--desc{
    margin:0 !important;
}
.searchwp-live-search-result .searchwp-live-search-result--title a {
    font-size: 16px;
    font-weight: normal;
    font-family: 'HND Bold', Helvetica, Arial, sans-serif;
}

#blue {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem; 
  font-size: 16px;
  line-height: 16px;
  color: #0000ff;
  margin-bottom: 5px;
}

#blue a {
  color: #0000ff;
  text-decoration: none;
}

#blue a:hover {
  color: #0000ff;
  text-decoration: underline;
}
.blue a{
    color:#0000ff;
    }
.blue a:hover{
    color:#0000ff;
    text-decoration: underline;
    } 

/* ----------------- GENERAL ----------------- */



#full_in {
    width: 100%;
    height: auto;
    float: left;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

#three_thirds {
	width: 75%;
	float: right;
    margin: 0;
	}

#three_thirds p a{
	text-decoration: underline;
	}

#ttl_single {
    width: 73.026315789473684%;
    height: auto;
    overflow: hidden;
    float: left;
    margin: 0.986842105263158%;
    margin-top: 250px;
    margin-bottom: 50px;
    }
#ttl_single h1{
    margin: 0;
    font-size: 90px;
    line-height: 95px;
    margin-bottom: 10px;
    }

#half_of {
    width: 50%;
    height: auto;
    overflow: hidden;
    float: left;
    margin: 0;
    margin-top: 0;
}


#half {
    width: 50%;
    height: auto;
    overflow: hidden;
    float: left;
    margin: 0;
}

#half_of h1{
    font-size: 30px;
    line-height: 36px;
}
#fourth_of {
    width: 23.026315789473684%;
    height: auto;
    overflow: hidden;
    float: left;
    margin: 0.986842105263158%;
    margin-top: 0;
}

#fourth_of h2 {
    font-size: 20px;
    line-height: 24px;
}


#list_img_l_xxs {
    width: 15%;
    float:left;
}
#list_txt_r_xxs {
    width: 80%;
    float: right;
    padding-top: 4%;
    line-height: 20px;
}
#list_img_l_xxs img{
    border:0px solid #eee;
    width: 100%;
    height: auto;
}

#project p {
    font-size: 21px;
    line-height: 34px;
    text-align: left;
}
#uni_logo_abs {
    width: 25%;
    height: auto;
    position: absolute;
    top: 10px;
    left: 10px;
    overflow: visible;
    z-index: 9999;
    }
#uni_logo_abs img{
    width: 100%;
    height: auto;
    }
#button {
	width: 100%;
    float: left;
    text-align: left;
    height: auto;
	padding: 0px 0; 
	margin-bottom:  30px;
	margin-top:50px;
}

#button a {
    font-size: 16px;
    line-height: 20px;
    padding: 10px 20px;
    border: 1px solid;
}

#manglr_4 {
    width: 27.333%;
    height: auto;
    overflow: hidden;
    float: left;
    margin: 0.5%;
    padding: 2.5%;
    background-color: #f2f2f2;
}

#manglr_logo	{
	width: 100%;
	float: left;
	overflow: hidden;
	margin-bottom:20px;
	}

.manglr_t {
    text-transform: uppercase;
    font-size: 14px;
    margin-top: 20px;
    float:left;
}

#brands #half_of {
    width: 48%;
    margin: 1%;
}
#brands .imgsall {
    margin-bottom: 0;
}
#bg_man_small {
	width: 100%;
	height: 120px;
	float: left; 
	display: block; 
	position: relative;
	overflow:hidden;
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
	z-index: 2;
	}

.banners_cache{
    width: 100%;
    float:left;
    margin-bottom: 30px;
}

.banners_cache img {
    width: 100%;
    height: auto;
}

#pagination {
    width: 100%;
    text-align: center;
    float: left;
    margin-bottom: 120px;
    margin-top: 70px;
    line-height: 40px;
    height: 60px;
    font-size: 40px;
    line-height: 50px;
    color: #ff5050;
}


#pagination a{
    padding: 15px 20px;
    font-weight: normal;
}

/* ----------------- SINGLE ----------------- */


.featured_caption a {
    text-decoration: underline;

}
#comments {
    width: 100%;
    float: left;
    height: auto;
    margin: 50px 0;
    padding: 0;
}

#comments ol, ul {
    box-sizing: border-box;
    float: left;
    width: 100%;
}

.comment li{
    width: 100% !important;
    float: left;
    height: auto;
    margin-bottom: 30px;
    padding: 4% 0;
    list-style: none !important;
    padding-bottom: 0;
}

.comment{
    width: 90% !important;
    float: left;
    height: auto;
}

li#comment {
    list-style: none;
}

textarea#comment {
    width: 98%;
    float: left;
    margin-bottom: 20px;
}

input#submit {
    background: #000;
    color: white;
    padding: 10px 20px;
    border: none;
    font-size: 18px;
}

a.comment-reply-link {
    background: black;
    color: white;
    padding: 5px 10px;
    border: none;
    font-size: 16px;
}

.single-tag{
    width: 100%;
    float:left;
}

.single-article ol {
    width: 100%;
    float: left;
    margin-top: 20px;
}

.single-manufacturers{
    width: 100%;
    float:left;
}
.single-company{
    width: 100%;
    float:left;
}

.single-page{
    width: 100%;
    float:left;
}

.single-tag{
    width: 100%;
    float:left;
}
.single-collections{
    width: 100%;
    float:left;
}
.homepage{
    width: 100%;
    float:left;
}

.sidebar-banner-slot-1st{
    width: 100%;
    float:left;
}
.sidebar-banner-slot-2nd{
    width: 100%;
    float:left;
}
.lz-banner-slide{
    width: 100%;
    float:left;
}
.embed-container { 
        position: relative; 
        padding-bottom: 56.25%;
        overflow: hidden;
        max-width: 100%;
        height: auto;
    } 

    .embed-container iframe,
    .embed-container object,
    .embed-container embed { 
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.excerpt p{ 
        font-size: 16px;
        line-height: 24px;
        text-align: left;
        letter-spacing: 0;
    }


#map {
  width: 100%;
  aspect-ratio: 10 / 5;
  background-color: #000;
  position: relative;
  float: left;
  z-index: 1;
  margin: 0 0 50px 0;
}
.cpm-map{
  width: 100%;
  aspect-ratio: 10 / 5 !important;
  background-color: #000;
  position: relative;
  float: left;
  z-index: 1;
}
#map_sidebar{
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    float: left;
    margin: 0%;
    text-align: center;
    margin-bottom: 50px;
}
#offices h2 {
    font-size: 35px;
    line-height: 40px;
    text-align: left;
    margin:0;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #0000ff;
    padding: 3%;
    width: 100%;
    float: left;
    position: relative;
    display: block;
    font-family: inherit;
    -webkit-font-smoothing: antialiased;
    background-color: #ddd;
    color: #0000ff;
    margin: 0;
    margin-bottom: 10px;
    background: url('../svg/arrow1.svg') no-repeat right #fff;
    font-size: 18px;
    }  

#map_sidebar select{
	float: right;
    width: 100%;
    margin-bottom: 10px;
    font-size: 18px;
    text-align: center;
    height: auto;
    line-height: inherit;
    padding: 1.5% !important;
}
/* Anchor targets for A–Z jump */
/* Ensure card anchors scroll to a comfortable position below any sticky header */
.topics-term-block { scroll-margin-top: 80px; } /* adjust to your header height */


/* container */
.topics-dropdowns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 10px 0 16px;
  max-width: 100%;
}

/* selects */
.topics-dropdowns select[id^="topics_dd_"] {
  font: inherit;
  line-height: 1.2;
  padding: 10px 20px 10px 10px;
  border: 1px solid #0000ff;
  background: #fff;
  cursor: pointer;
  width: auto;            /* JS sets width */
  max-width: 100%;        /* never exceed container */
  box-sizing: border-box; /* include padding & border in width */
}
.topics-dropdowns select[id^="topics_dd_"]:hover {
  background-color: #0000ff;
  color: #fff;
}
.topics-dropdowns select[id^="topics_dd_"]:focus {
  outline: none;
  border-color: #0000ff;
  box-shadow: 0 0 0 2px rgba(0,0,255,0.12);
}


#pos1 {
    float: right;
    width: 64.03508772%;
    margin: 1.31578947%;
    height: auto;
    overflow: hidden;
    position: relative;
    margin-top: 0;
}
#pos3 {
    width: 92.105263%;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    float: left;
    margin: 3.94736842%;
    margin-top: 0;
    margin-bottom: 10px;
}

#articles h2 {
    font-size: 45px;
    line-height: 50px;
    text-align: left;
    margin:0;
}

#bg {
	width: 100%;
	height: 480px;
	float: left; 
	display: block; 
	position: relative;
	overflow:hidden;
	background-color: #f2f2f2;	
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	z-index: 2;
	margin-bottom: 30px;
	}

#opts {
    width: 23.026315789473684%;
    height: auto;
    overflow: hidden;
    float: left;
    margin: 0.986842105263158%;
    margin-top: 0;
}
#footer {
	margin-bottom:100px;
	float: left;
	}

.featured_caption{
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 20px;
    float:left;
    margin-top:15px;
}
a.uni_button{
    padding: 5% 3% !important;
    text-align: center !important;
    color:#ffffff;
    border-radius: 5px;
}
.uni_button {
    float: left;
    width: 86%;
    background-color:#0000ff !important;    
    margin-bottom: 10px;
}
#uni_program #man_logo img{
	margin-bottom: 50px;
	}
#uni_ikonca {
    float: left;
    width:15%;
    max-width: 20px;
    margin-right:5%;
}
#uni_data_r {
    float: left;
    width:80%;
}
#uni_bold {
    float: left;
    width: 100%;
    margin-right: 0px; 
    font-size: 18px;
    line-height: 22px;
}
#uni_bold a{
    text-decoration: underline;
}
#uni_grey{
    float: left;
    width: 100%;
    margin-right: 0px; 
    font-size: 12px;
    line-height: 14px; 
    text-transform: uppercase;
    color: #aaa;
}
#uni_prog_logo{
    float: left;
    width:12%;
    max-width: 80px;
    height: auto;
    margin-right: 3%;
    padding: 0px; 
    font-size: 12px;
    border: 0px solid #ddd;
    border-radius: 5px;
}
#uni_prog_logo img{
    width:100%;
    height: auto;
}
#uni_prog_txt{
    float: left;
    width:55%;
    height: auto;
}
#uni_prog_txt h2 {
    font-size: 30px;
    line-height: 30px;
}
#uni_prog_r{
    float: right;
    width:30%;
    height: auto;
}
#uni_prog_exc p{
    font-weight: normal;
    width: 94%;
    margin-top: 0;
    margin-bottom: 0px;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0px;
    text-align: justify;
}

#red_bold {
    font-family: 'HND Reg';
}
#red_bold a{
    color:#ff5050;
}

.footnotes { font-size: .95em; color: #0000ff; }
.footnotes ol { margin: 1em 0 0; padding-left: 1.25rem; }
.footnote-ref a, .footnote-back { text-decoration: none;color:#0000ff; }
.footnote-back { margin-left: .4em; font-size: .9em; }
#footnotes { width:100%; float:left; margin-bottom:50px; }

.footnotes li {
    list-style: auto !important;
}

.cpm-mapicon img{ width:100% !important; height:auto !important; }

.single-tag{
    width: 100%;
    float:left;
}
.single-article{
    width: 100%;
    float:left;
}
.single-article ol {
    width: 100%;
    float: left;
    margin-top: 20px;
}
.single-profiles{
    width: 100%;
    float:left;
}
.single-product{
    width: 100%;
    float:left;
}
.single-news{
    width: 100%;
    float:left;
}
.single-manufacturers{
    width: 100%;
    float:left;
}

.taxonomy{
    width: 100%;
    float:left;
}

.single-job{
    width: 100%;
    float:left;
}
.single-company{
    width: 100%;
    float:left;
}
.single-recommendation{
    width: 100%;
    float:left;
}
.single-page{
    width: 100%;
    float:left;
}
.single-project{
    width: 100%;
    float:left;
}
.single-tag{
    width: 100%;
    float:left;
}
.single-collections{
    width: 100%;
    float:left;
}
.homepage{
    width: 100%;
    float:left;
}
.single-search{
    width: 100%;
    float:left;
}

/* Home: Topics + Articles block */
.home-topics-articles {
  margin-top: 3rem;
}

/* Align with 4-col layout above: 4 equal tracks */
.home-topics-articles.content-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* 4 equal cols */
  gap: 2rem;
}

/* Left column: topics in col 1 */
.home-topics-articles .content-grid-sidebar {
  grid-column: 1;
}

/* Right side: articles span cols 2–4 (three quarters) */
.home-topics-articles .content-grid-posts {
  grid-column: 2 / span 3; /* columns 2,3,4 */
  display: block;
}

/* Remove extra offset from wrapper */
.home-topics-articles .related-grid-wide-wrapper {
  margin-top: 0;
  padding: 0;
}

/* Actual 3×2 grid of posts inside the right area */
.home-topics-articles .related-grid-wide-posts {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 2rem;
  width: 100%;
}

/* Cards */
.home-topics-articles .related-grid-wide-posts article.related-wide-post {
  min-width: 0;
}

/* Limit to 6 posts (3 + 3) */
.home-topics-articles .related-grid-wide-posts article.related-wide-post:nth-child(n+7) {
  display: none;
}

/* Ensure GTM can "see" these containers */
.single-article, .single-project, .single-product, .single-news, 
.single-manufacturers, .single-profiles, .single-job, .single-company, 
.single-recommendation, .taxonomy, .homepage {
    display: block !important;
    min-height: 1px !important;
    overflow: auto !important; /* This clears the floats and gives the div height */
    clear: both !important;
}

@media (min-width: 1280px) and (max-width: 1439px) {
  /* Same as desktop, but slightly less room */
body {
    font-size: 16px;
    line-height: 24px;
}

h2 {
    font-size: 22px;
    line-height: 26px;
}


}

@media (min-width: 1024px) and (max-width: 1279px) {

.two-blocks h4 {
    font-size: 20px;
    line-height: 24px;
}

body {
    font-size: 16px;
    line-height: 24px;
}

h2 {
    font-size: 22px;
    line-height: 26px;
}

.right-block .button {
    padding: 7px 19px;
}

h1 {
    font-size: 75px;
    line-height: 75px;
}

.top-home-col.article h1 {
    font-size: 2.5rem;
    line-height: 2.5rem;
}

.in-focus-profile h1{
  font-size: 45px;
  line-height: 45px;
}
.disappear_some {
    display:none;
}

.sidebar-post-preview { min-width: 0; }

#single_sidebar .sidebar-posts-grid {
  grid-template-columns: repeat(2, 1fr);
}

.article-body-wrapper {
    max-width: 920px;
    padding-right: 0;
}

.article-main {
  gap:2rem;
  }

.home-slider-row {
    grid-template-columns: 1fr;
  }

.home-slider-row #full_width {
  margin-bottom: 2rem;
}


.splide__arrow {
    width: 50px !important;
    height: 50px!important;
    top: 50%;
}

.chapters .project-title h2 {
    font-size: 18px;
    line-height: 20px;
}





}

@media (min-width: 768px) and (max-width: 1023px) {

/* 2-col layout */
.top-home-columns { grid-template-columns: 1fr 1fr; }

/* Row 1 */
.top-home-col.article { grid-column: 1; grid-row: auto; }
.top-home-col.news    { grid-column: 2; grid-row: auto; }

/* Row 2: projects spans full width and becomes a 2-up grid */
.top-home-col.projects {
  grid-column: 1 / -1;
  grid-row: auto; /* <-- important: unpins row 1 from desktop */
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

/* Make sure each teaser takes its own cell */
.top-home-col.projects > * {
  grid-column: auto !important;
  grid-row: auto !important;
  position: static !important;
}

h2 {
    font-size: 20px;
    line-height: 24px;
}

.chapters {
    display: none;
}

.in-focus-profile h1{
  font-size: 55px;
  line-height: 55px;
}

.in-focus-wrapper {
    grid-template-columns: 1fr;
  }

  .in-focus-profile,
  .in-focus-projects {
    grid-column: 1 / -1;
  }

  .in-focus-projects {
    grid-template-columns: repeat(2, 1fr); /* keep two-by-two layout */
  }

.content-grid-wrapper {
  grid-template-columns: repeat(3, 1fr); /* now only posts */
}

.disappear_some {
    display:none;
}

.disappear_all {
    display:none;
}
.two-blocks h4 {
    font-size: 20px;
    line-height: 24px;
}

body {
    font-size: 16px;
    line-height: 24px;
}

h2 {
    font-size: 20px;
    line-height: 24px;
}

.right-block .button {
    padding: 7px 19px;
}

h1 {
    font-size: 75px;
    line-height: 75px;
}

#top_title {
    width: 100%;
    padding-right: 0%;
}

.sidebar-posts-grid {
    grid-template-columns: repeat(1, 1fr);
}


.article-body-wrapper {
    padding-right: 0;
}

.gallery {
    width: 100%;
    padding-right: 0;
}

p {
    width: 100%;
}

.block.right-block {
    aspect-ratio: 3 / 2;
}

.block.left-block {
    aspect-ratio: 3 / 2;
}

#home h1 {
    font-size: 32px;
    line-height: 37px;
}


.project-title h1 {
    font-size: 20px;
    line-height: 24px;
    margin-top: 0;
}

.project-box {
    aspect-ratio: 6 / 4;
}

#articles h2 {
    font-size: 32px;
    line-height: 37px;
}

.article-main {
  gap:2rem;
  }
  
.sidebar-listing-row {
    grid-template-columns: 1fr;
}

.disappear_1024 {
    display: none;
}

#top_bar{ display:none; }
#top_srvc{
    grid-template-columns: 250px 1fr;      /* keep fixed logo */
    grid-template-areas: "logo search";
    row-gap:10px;
  }

[id^="rmp_menu_trigger-"]{
    display: block !important;
    position: fixed;
    right: 3%;
    top: 46px;          /* tweak to sit nicely under your header */
    z-index: 999999;    /* above sticky header */
    transition: transform .3s, background-color .3s;
  }

#offices .content-grid-sidebar {
    grid-column: span 3;
}

blockquote p {
    font-size: 24px;
    line-height: 34px;
}

.gallery-caption {
    width: 70%;
}

#top_search{
  display:none;
}

  /* One column layout overall */
  .home-topics-articles.content-grid-wrapper {
    grid-template-columns: 1fr;
  }

  /* Topics full width, first */
  .home-topics-articles .content-grid-sidebar {
    grid-column: 1 / -1;
    margin-bottom: 2rem;
  }

  /* Articles block full width, second */
  .home-topics-articles .content-grid-posts {
    grid-column: 1 / -1;
  }

  /* 2-column grid of posts */
  .home-topics-articles .related-grid-wide-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

.home-slider-row {
    grid-template-columns: 1fr;
  }

.home-slider-row #full_width {
  margin-bottom: 2rem;
}

.splide__arrow {
    width: 70px !important;
    height: 70px!important;
    top: 50%;
}

}





@media (max-width: 767px) {

/* Stack the main grid */
.top-home-columns { grid-template-columns: 1fr; }

/* Article + News: full width rows */
.top-home-col.article,
.top-home-col.news {
  grid-column: 1 / -1 !important;
  grid-row: auto !important;
}

/* Projects: its own 2‑up grid */
.top-home-col.projects {
  grid-column: 1 / -1 !important;
  grid-row: auto !important;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem; /* tweak if you want tighter gutters on mobile */
}

/* Ensure each teaser occupies its own cell */
.top-home-col.projects > * {
  grid-column: auto !important;
  grid-row: auto !important;
  min-width: 0;
}

.chapters {
  display: none;
}

#top_bar{ display:none; }
  #top_srvc{
    grid-template-columns: 1fr;            /* stack nicely on mobile */
    grid-template-areas:
      "logo"
      "search";
    row-gap:10px;
  }
  #header_logo{ justify-self:start; }

h2 {
    font-size: 20px;
    line-height: 24px;
}

.in-focus-profile h1{
  font-size: 55px;
  line-height: 55px;
}

.in-focus-wrapper {
    grid-template-columns: 1fr;
  }

  .in-focus-profile,
  .in-focus-projects {
    grid-column: 1 / -1;
  }

  .in-focus-projects {
    grid-template-columns: repeat(2, 1fr); /* keep two-by-two layout */
    gap: 1rem;
  }

.content-grid-wrapper {
  grid-template-columns: repeat(3, 1fr); /* now only posts */
}

.disappear_some {
    display:none;
}

.disappear_all {
    display:none;
}


.two-blocks {
  flex-direction: column;
}
.block {
  flex: 1 1 100%;
  aspect-ratio: auto; /* let height adapt naturally */
}


.two-blocks h4 {
    font-size: 20px;
    line-height: 24px;
}

body {
    font-size: 16px;
    line-height: 24px;
}

h2 {
    font-size: 20px;
    line-height: 24px;
}

.right-block .button {
    padding: 7px 19px;
}

h1 {
    font-size: 45px;
    line-height: 45px;
}

#top_title {
    width: 100%;
    padding-right: 0%;
}

.sidebar-posts-grid {
    grid-template-columns: repeat(1, 1fr 1fr);
}


.article-body-wrapper {
    padding-right: 0;
}

.gallery {
    width: 100%;
    padding-right: 0;
}

p {
    width: 100%;
}

#home h1 {
    font-size: 32px;
    line-height: 37px;
}


.project-title h1 {
    font-size: 20px;
    line-height: 24px;
    margin-top: 0;
}

.project-box {
    aspect-ratio: 6 / 4;
}

#articles h2 {
    font-size: 32px;
    line-height: 37px;
}

.related-grid-wide-posts {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.projects-flex > * {
    flex: 1 1 calc(50% - 1rem); /* 2 per row accounting for the gap */
    max-width: calc(50% - 1rem);
  }

.content-grid-posts {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}


#manglr_4 {
    width: 40%;
    margin: 0.5%;
    padding: 4.5%;
}

#offices .imgsall {
    margin-bottom: 0;
}

.content-grid-4col {
    gap: 1rem;
}

.office-description p {
    max-width: 100%;
}

.projects-flex {
    gap: 1rem;
}

.projects-flex > * {
    box-sizing: border-box;        /* guards against padding/border overflow */
    flex: 0 1 calc((100% - 1rem) / 2);
    max-width: calc((100% - 1rem) / 2);
    margin: 0;                      /* ensure no extra child margins */
    min-width: 0;
  }

.disappear_765 {
    display: none;
}

.disappear_1024 {
    display: none;
}

.content-grid-sidebar {
    grid-column: span 3;
}


.article-main {
    flex-direction: column;
    gap: 1.5rem; /* vertical spacing between content and sidebar */
  }

  #single_content,
  #single_sidebar {
    flex: 0 1 100%;
    max-width: 100%;
  }

  .article-body-wrapper {
    padding-right: 0; /* remove desktop inner gutter on mobile */
  }

.half_container {
    flex-direction: column;
  }
  .half_of {
    flex: 1 1 100%;
  }

#articles .content-grid-posts {
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  }

#wrapper_in {
    width: 92%;
    padding: 0 4%;
}

[id^="rmp_menu_trigger-"]{
    display: block !important;
    position: fixed;
    right: 3%;
    top: 86px;          /* tweak to sit nicely under your header */
    z-index: 999999;    /* above sticky header */
    transition: transform .3s, background-color .3s;
  }

blockquote p {
    font-size: 22px;
    line-height: 31px;
}

.gallery-caption {
    width: 80%;
}

  /* One column layout overall */
  .home-topics-articles.content-grid-wrapper {
    grid-template-columns: 1fr;
  }

  /* Topics full width, first */
  .home-topics-articles .content-grid-sidebar {
    grid-column: 1 / -1;
    margin-bottom: 2rem;
  }

  /* Articles block full width, second */
  .home-topics-articles .content-grid-posts {
    grid-column: 1 / -1;
  }

  /* 2-column grid of posts */
  .home-topics-articles .related-grid-wide-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
.home-slider-row {
    grid-template-columns: 1fr;
  }

.home-slider-row #full_width {
  margin-bottom: 2rem;
}
.splide__arrow {
    width: 70px !important;
    height: 70px!important;
    top: 50%;
}

}