/* Seed Systems Group additions to the Landspire template. */

/* Logos: the SSG logos are SVGs, so give them a fixed height. The 2026 logo (420 x 183) is
   taller than wide-ish and carries the tagline, so it needs more height than the old one to
   stay legible; the theme's max-height caps (40-45px) are lifted for it. */
.main-header .logo img,
.sticky-header .logo img,
.mobile-menu .nav-logo img {
  height: 72px;
  width: auto;
  max-width: none;
  max-height: none;
}
.sticky-header .logo img { height: 54px; }
.mobile-menu .nav-logo img { height: 60px; }
@media (max-width: 1199.98px) {
  .main-header .logo img { height: 60px; max-height: none; }
}
.footer-section-2 .footer-logo img { height: 92px; width: auto; }
.footer-tagline { color: rgba(255, 255, 255, .75); margin: 0; max-width: 420px; }
.footer-about { color: rgba(255, 255, 255, .75); line-height: 1.7; }

/* Nine top-level menu items: tighten spacing on mid-size screens. */
.header-2 .main-menu .navigation > li { margin-right: 26px; }
@media (max-width: 1599.98px) {
  .header-2 .main-menu .navigation > li { margin-right: 18px; }
  .main-header .main-menu .navigation > li > a { font-size: 15px; }
  .header-1 .main-box { gap: 40px; }
  .header-1 .main-menu .navigation > li { margin-right: 4px; }
  .header-1 .main-menu .navigation > li > a { padding: 9px 11px; }
}
@media (max-width: 1399.98px) {
  .main-header .ui-btn-search .contact-btn { display: none; }
  .header-2 .main-menu .navigation > li { margin-right: 14px; }
}
/* Contact section background photo with a dark overlay */
/* Contact section: plain white, with the info and form cards lifted by a soft shadow. */
.contact-plain-ssg { background: #fff; }
.contact-plain-ssg .single-contact-info-box,
.contact-plain-ssg .form-column .inner-column { box-shadow: 0 12px 40px rgba(12, 47, 37, .08); }
.contact-plain-ssg .form-column .inner-column { border: 1px solid rgba(12, 47, 37, .06); }

/* Optional notice bar above the header */
.site-notice {
  position: relative;
  z-index: 10000;
  background: var(--theme-color2);
  color: #fff;
  text-align: center;
  font-size: 15px;
  padding: 9px 15px;
}
.site-notice a { color: var(--theme-color1); }

/* Touch screens: no custom cursor (taps send mouse events, so it jumped to every tap). */
@media (hover: none), (pointer: coarse) {
  .mouseCursor, .cursor-inner, .cursor-outer { display: none !important; }
}

/* Top bar: language switcher and social links in the white space above the header.
   It sits at the top of the page content, so the header is moved down by its height.
   The row of items is 30px tall with 8px above it and 8px between it and the nav.
   The nav floats 20px below the bar (over the hero's or banner's top margin), so the bar is
   26px and the items hang into that margin. */
:root { --ssg-topbar-h: 26px; }
.topbar-ssg { background: transparent; }
.topbar-ssg__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px;
  height: var(--ssg-topbar-h);
  padding: 8px 20px 0;
}
.topbar-ssg__languages { display: flex; align-items: center; height: 30px; }
.topbar-ssg__languages .gtranslate_wrapper { display: flex; gap: 16px; }
.topbar-ssg__languages a.glink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-color);
  font-size: 14px;
  transition: color .3s ease;
}
.topbar-ssg__languages a.glink img { border-radius: 50%; width: 16px; height: 16px; object-fit: cover; }
.topbar-ssg__languages a.glink.gt-current-lang,
.topbar-ssg__languages a.glink:hover { color: var(--theme-color2); font-weight: 500; }
.topbar-ssg__social { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.topbar-ssg__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(12, 47, 37, .06);
  color: var(--theme-color2);
  font-size: 13px;
  transition: background .3s ease, color .3s ease;
}
.topbar-ssg__social a:hover { background: var(--theme-color2); color: var(--theme-color1); }
.main-header.header-2 { top: calc(var(--ssg-topbar-h) + 20px); }
.site-notice + .header-2 { top: calc(var(--ssg-topbar-h) + 60px); }
.header-2 .main-menu .navigation > li.current > a { color: var(--theme-color1); }

/* The menu button only opens the mobile menu, so hide it while the full nav is visible. */
@media (min-width: 1024px) {
  .main-header .header-lower .mobile-nav-toggler { display: none; }
}

/* Inner page banner: an inset card with rounded corners, matching the home hero. */
.page-title {
  margin: 20px 20px 0;
  border-radius: 30px;
  min-height: 420px;
}
.page-title:before {
  border-radius: 30px;
  background: linear-gradient(111.29deg, rgba(12, 47, 37, .85) 30%, rgba(12, 47, 37, .45) 100%);
}
@media (max-width: 767.98px) {
  .page-title { min-height: 320px; padding: 130px 0 40px; }
  .page-title .title-outer { margin-top: 0; }
}
@media (max-width: 575.98px) {
  .topbar-ssg__inner { padding: 8px 15px 0; }
  .topbar-ssg__languages .gtranslate_wrapper { gap: 10px; }
  .topbar-ssg__social { gap: 6px; }
}

/* Hero slider */
.hero-slider-ssg { position: relative; }
.hero-slider-ssg .swiper-slide { height: auto; }
.hero-slider-ssg .hero-section-2 { height: 100%; }
.hero-ssg-pagination {
  position: absolute;
  bottom: 45px !important;
  left: 0;
  right: 0;
  z-index: 5;
  text-align: center;
}
.hero-ssg-pagination .swiper-pagination-bullet {
  width: 12px; height: 12px; opacity: 1;
  background: rgba(255, 255, 255, .5);
  margin: 0 6px !important;
}
.hero-ssg-pagination .swiper-pagination-bullet-active { background: var(--theme-color1); }
.hero-ssg-pagination .swiper-pagination-bullet:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Hero slider settings (page editor > Slider settings). With the defaults none of these apply. */
.hero-slider-ssg .hero-2::before { opacity: var(--hero-overlay, .7); }
@media (max-width: 767.98px) {
  .hero-slider-ssg .hero-2.has-mobile-bg,
  .hero-slider-ssg .hero-ssg-bg.has-mobile-bg { background-image: var(--hero-bg-mobile) !important; }
}

/* Heights other than the theme's standard: the text sits at the bottom of a taller or shorter card. */
.hero-slider-ssg.hero-ssg-h-full .hero-2,
.hero-slider-ssg.hero-ssg-h-large .hero-2,
.hero-slider-ssg.hero-ssg-h-medium .hero-2 {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 190px;
}
.hero-slider-ssg.hero-ssg-h-full .hero-items,
.hero-slider-ssg.hero-ssg-h-large .hero-items,
.hero-slider-ssg.hero-ssg-h-medium .hero-items { width: 100%; }
.hero-slider-ssg.hero-ssg-h-full .hero-2 { min-height: calc(100vh - 20px); min-height: calc(100svh - 20px); }
.hero-slider-ssg.hero-ssg-h-large .hero-2 { min-height: 75vh; min-height: 75svh; }
.hero-slider-ssg.hero-ssg-h-medium .hero-2 { min-height: max(460px, 60vh); }
@media (max-width: 991.98px) {
  .hero-slider-ssg.hero-ssg-h-full .hero-2,
  .hero-slider-ssg.hero-ssg-h-large .hero-2,
  .hero-slider-ssg.hero-ssg-h-medium .hero-2 { padding-top: 150px; }
}

/* "Fade with a slow zoom": the picture is a layer of its own, so only it grows, not the text.
   The outgoing slide keeps its zoom until it has faded out (--hero-speed), then resets. */
.hero-slider-ssg .hero-ssg-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: inherit;
  transform: scale(1);
  transition: transform 0s linear var(--hero-speed, 1200ms);
}
.hero-slider-ssg.is-zoom .swiper-slide-active .hero-ssg-bg {
  transform: scale(1.12);
  transition: transform var(--hero-zoom-time, 7700ms) linear;
}
.hero-slider-ssg.is-zoom:not(.has-slides) .hero-ssg-bg { animation: hero-ssg-zoom 12s ease-out forwards; }
@keyframes hero-ssg-zoom { from { transform: scale(1); } to { transform: scale(1.12); } }

/* Controls: previous, pause/play and next, bottom right of the card, matching the dots. */
.hero-ssg-controls {
  position: absolute;
  right: 60px;
  bottom: 34px;
  z-index: 10;
  display: flex;
  gap: 10px;
}
.hero-ssg-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  background: rgba(12, 47, 37, .35);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: background .3s ease, border-color .3s ease, color .3s ease;
}
.hero-ssg-controls button:hover { background: var(--theme-color1); border-color: var(--theme-color1); color: var(--theme-color2); }
.hero-ssg-controls button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hero-ssg-controls button:disabled { opacity: .4; cursor: default; }
.hero-ssg-controls button:disabled:hover { background: rgba(12, 47, 37, .35); border-color: rgba(255, 255, 255, .5); color: #fff; }
.hero-ssg-controls button[hidden] { display: none; }
@media (max-width: 767.98px) {
  .hero-ssg-controls { right: 40px; bottom: 30px; gap: 8px; }
  .hero-slider-ssg.has-controls .hero-ssg-pagination { left: 40px; right: auto; bottom: 42px !important; width: auto; text-align: left; }
  .hero-slider-ssg.has-controls .hero-ssg-pagination .swiper-pagination-bullet { margin: 0 10px 0 0 !important; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider-ssg .hero-ssg-bg,
  .hero-slider-ssg.is-zoom .swiper-slide-active .hero-ssg-bg { transform: none !important; transition: none !important; animation: none !important; }
}

/* Rich text from the editor */
.rich-text { color: var(--text-color); line-height: 1.8; }
.rich-text p { margin-bottom: 18px; }
.rich-text p:last-child { margin-bottom: 0; }
.rich-text h2, .rich-text h3, .rich-text h4 { margin: 28px 0 14px; }
.rich-text ul, .rich-text ol { padding-left: 22px; margin-bottom: 18px; }
.rich-text ul { list-style: disc; }
.rich-text ol { list-style: decimal; }
.rich-text li { margin-bottom: 6px; }
.rich-text a { color: var(--theme-color3); text-decoration: underline; text-underline-offset: 3px; }
.rich-text img { max-width: 100%; height: auto; border-radius: 16px; margin: 12px 0; }
.rich-text figure { margin: 20px 0; }
.rich-text table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.rich-text table td, .rich-text table th { border: 1px solid #e3e8e0; padding: 10px 14px; vertical-align: top; }
.rich-text blockquote { border-left: 4px solid var(--theme-color1); padding: 6px 0 6px 20px; margin: 24px 0; font-style: italic; }
.rich-text iframe { width: 100%; max-width: 100%; border: 0; border-radius: 12px; }
.about-text.rich-text { margin-top: 20px; }

/* Buttons in a row */
.btn-group-ssg { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.btn-group-ssg .theme-btn-main { margin: 0 !important; }

/* Key figures */
.stats-section-ssg { position: relative; }
.stats-link-ssg { margin-top: 40px; }
/* Loading screen: the SSG wheat stalks instead of the template's leaf. */
.preloader:after {
  background-image: url(../images/icons/wheat-ssg.svg);
  background-size: contain;
  width: 90px;
  height: 120px;
  margin-left: -45px;
  margin-top: -95px;
}

/* Wheat stalks from the old site, used as a faint decoration in light sections. */
.wheat-shape-ssg { position: absolute; left: 40px; top: 40px; pointer-events: none; }
.wheat-shape-ssg img { height: 150px; width: auto; opacity: .16; transform-origin: bottom center; animation: wheat-sway-ssg 6s ease-in-out infinite alternate; }
.wheat-shape-ssg.is-end { left: auto; top: auto; right: 40px; bottom: 40px; }
.wheat-shape-ssg.is-end img { transform: scaleX(-1); animation: none; }
.stats-section-ssg.has-bg .wheat-shape-ssg { display: none !important; }
@keyframes wheat-sway-ssg { from { transform: rotate(-2deg); } to { transform: rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { .wheat-shape-ssg img { animation: none; } }
.stats-section-ssg.has-bg::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(12, 47, 37, .82);
}
.stats-section-ssg.has-bg .container { position: relative; z-index: 1; }
.stats-section-ssg.has-bg .title, .stats-section-ssg.has-bg .stats-intro { color: #fff; }
.stats-intro { max-width: 760px; margin: 0 auto 30px; }
.stat-box-ssg {
  background: #fff;
  border-radius: 24px;
  padding: 36px 26px;
  text-align: center;
  height: 100%;
  box-shadow: 0 10px 30px rgba(12, 47, 37, .06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.stat-box-ssg:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(12, 47, 37, .1); }
.stat-icon-ssg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(199, 220, 73, .22);
  color: var(--theme-color3);
}
.stat-icon-ssg svg { width: 38px; height: 38px; }
.stat-box-ssg .count-title {
  font-size: clamp(36px, 4vw, 54px);
  color: var(--theme-color3);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-box-ssg .text { font-weight: 500; color: var(--theme-color2); }

/* Text beside image */
.text-image-thumb { border-radius: 30px; overflow: hidden; }
.text-image-thumb img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; }

/* Single image and image grid */
.image-section-ssg figure img { width: 100%; border-radius: 30px; }
.image-section-ssg figcaption { text-align: center; margin-top: 12px; color: var(--text-color); }
.grid-img { display: block; border-radius: 18px; overflow: hidden; background: #fff; }
.grid-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.grid-img:hover img { transform: scale(1.06); }
@media (min-width: 1200px) { .col-xl-20 { flex: 0 0 auto; width: 20%; } }

/* Target countries map: highlighted countries link to their cards and open a small panel. */
.country-map-ssg__map { position: relative; }
.country-map-ssg__svg { display: block; width: 100%; height: auto; max-height: 620px; }
.country-map-ssg__country { fill: #dbe9e2; stroke: #fff; stroke-width: .6; stroke-linejoin: round; }
.country-map-ssg__country.is-target { fill: var(--theme-color3); cursor: pointer; transition: fill .2s ease; }
.country-map-ssg__country.is-target:hover, .country-map-ssg__country.is-target.is-active,
.country-map-ssg__country.is-target:focus-visible { fill: var(--theme-color1); }
.country-map-ssg__country.is-target:focus { outline: none; }
.country-map-ssg__country.is-target:focus-visible { stroke: var(--theme-color2); stroke-width: 1.4; }
/* Countries where SSG has implemented projects: orange; a target country with projects gets an orange outline. */
.country-map-ssg__country.is-project { fill: #D85427; cursor: pointer; transition: fill .2s ease; }
.country-map-ssg__country.is-project:hover, .country-map-ssg__country.is-project.is-active,
.country-map-ssg__country.is-project:focus-visible { fill: var(--theme-color1); }
.country-map-ssg__country.is-project:focus { outline: none; }
.country-map-ssg__country.is-project:focus-visible { stroke: var(--theme-color2); stroke-width: 1.4; }
.country-map-ssg__country.is-target.has-projects { stroke: #D85427; stroke-width: 1.6; }
.country-map-ssg__panel-note { margin: 0 0 6px; font-size: 13px; color: #5b6762; }
.country-map-ssg__panel-note:last-child { margin-bottom: 0; }
.country-map-ssg__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; list-style: none; margin: 14px 0 0; padding: 0; font-size: 14px; color: var(--theme-color2); }
.country-map-ssg__legend li { display: inline-flex; align-items: center; gap: 8px; }
.country-map-ssg__swatch { display: inline-block; width: 16px; height: 16px; border-radius: 4px; }
.country-map-ssg__swatch.is-target { background: var(--theme-color3); }
.country-map-ssg__swatch.is-project { background: #D85427; }
.country-map-ssg__swatch.is-target.has-projects { box-shadow: inset 0 0 0 3px #D85427; }
.country-map-ssg__list-title { margin: 22px 0 0; font-size: 16px; color: var(--theme-color2); }
.country-map-ssg__list-title + .country-map-ssg__list { margin-top: 10px; }
.country-map-ssg__list.is-projects span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 30px;
  background: #fbebe5;
  color: var(--theme-color2);
  font-size: 14px;
}
.country-map-ssg__list.is-projects span.is-active { background: #f5cfc1; }
.country-map-ssg__panel {
  position: absolute;
  z-index: 5;
  width: 230px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(12, 47, 37, .16);
}
.country-map-ssg__panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.country-map-ssg__panel-head img { border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); object-fit: cover; }
.country-map-ssg__panel-head strong { font-size: 16px; color: var(--theme-color2); }
.country-map-ssg__panel dl { margin: 0 0 8px; }
.country-map-ssg__panel dl div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; border-bottom: 1px solid #eef2ef; font-size: 13px; }
.country-map-ssg__panel dt { font-weight: 400; color: #5b6762; }
.country-map-ssg__panel dd { margin: 0; font-weight: 700; color: #1b1f1d; white-space: nowrap; }
.country-map-ssg__more { font-size: 13px; font-weight: 600; color: var(--theme-color3); }
.country-map-ssg__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 26px; padding: 0; }
.country-map-ssg__list a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 30px;
  background: #eef5f1;
  color: var(--theme-color2);
  font-size: 14px;
  transition: background .2s ease;
}
.country-map-ssg__list a:hover, .country-map-ssg__list a.is-active, .country-map-ssg__list a:focus-visible { background: var(--theme-color1); }
.country-map-ssg__list img { border-radius: 2px; object-fit: cover; }
.country-card-ssg { transition: box-shadow .3s ease; }
.country-card-ssg.is-highlighted { box-shadow: 0 0 0 3px var(--theme-color1), 0 10px 30px rgba(12, 47, 37, .12); }
@media (max-width: 991.98px) {
  .country-map-ssg__svg { max-height: 420px; }
}

/* Country cards ("Where we work"): flag, map and six indicators, replacing the 2021 infographics. */
.country-cards-ssg__intro { max-width: 760px; margin: 0 auto 30px; }
.country-card-ssg {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(12, 47, 37, .06);
}
.country-card-ssg__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 20px 16px;
  border-bottom: 3px solid #e6ebe8;
}
/* The country's own outline, filled with its bar colour and scaled to the same box for every country. */
.country-card-ssg__shape { flex: 0 0 64px; width: 64px; height: 64px; }
.country-card-ssg__shape svg { display: block; width: 100%; height: 100%; fill: var(--country-color); stroke: var(--country-color); stroke-linejoin: round; }
.country-card-ssg__name {
  flex: 1;
  margin: 0;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--country-color);
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.country-card-ssg__flag { flex: 0 0 auto; width: 52px; height: 36px; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.country-card-ssg__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 14px;
  margin: 0;
  padding: 20px;
  background: #eef7fb;
  flex: 1;
}
.country-stat-ssg { position: relative; display: flex; flex-direction: column-reverse; justify-content: flex-end; padding-left: 42px; min-height: 40px; }
.country-stat-ssg dt { font-weight: 400; font-size: 13px; line-height: 1.3; color: #3d4a44; }
.country-stat-ssg dt i { position: absolute; left: 0; top: 2px; width: 32px; text-align: center; font-size: 24px; font-family: "Font Awesome 6 Free"; font-weight: 900; }
.country-stat-ssg dd { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.1; color: #1b1f1d; }
.country-stat-ssg.is-ink i { color: #1b1f1d; }
.country-stat-ssg.is-teal i { color: #1a9c8c; }
.country-stat-ssg.is-indigo i { color: #273f8f; }
.country-stat-ssg.is-earth i { color: #9a5530; }
.country-stat-ssg.is-blue i { color: #2f67ad; }
.country-stat-ssg.is-leaf i { color: #2f9a3e; }
.country-card-ssg__source { margin: 0; padding: 10px 20px 14px; font-size: 12px; color: #5b6762; background: #eef7fb; }

/* PDF View + Download links (resources, country strategies, careers) */
.pdf-links-ssg { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.pdf-actions-ssg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.pdf-actions-ssg__label { flex-basis: 100%; font-size: 13px; font-weight: 600; color: var(--theme-color2); }
.pdf-actions-ssg .link-btn { display: inline-flex; align-items: center; gap: 6px; }
.pdf-actions-ssg.is-boxed { padding: 14px 16px; border-radius: 14px; background: rgba(199, 220, 73, .18); }

/* Embeds */
.embed-frame-ssg { max-width: 900px; margin: 0 auto; }
.embed-frame-ssg iframe { width: 100% !important; height: auto; min-height: 320px; border: 0; border-radius: 16px; display: block; }
.embed-frame-ssg div { text-align: center; margin-top: 10px; }

/* Cards: shared meta and links */
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
.card-meta .tag { margin-bottom: 0 !important; }
.date-ssg { font-size: 14px; color: var(--text-color); }
.card-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; }
.news-block-items-2 .content .title, .news-block-items-1 .content .title { min-height: 2.6em; }
.news-block-items-2 .thumb img { aspect-ratio: 16 / 11; object-fit: cover; width: 100%; }
.news-block-items-1 .thumb img { aspect-ratio: 16 / 11; object-fit: cover; width: 100%; }
.news-block-items-1 .thumb .date small { display: block; font-size: 12px; line-height: 1.2; }

/* Newsletter strip above the "Latest news" posts */
.newsletter-strip-ssg {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.newsletter-strip-ssg__item {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px 70px 16px 16px;
  background: var(--theme-color2);
  color: #fff;
  transition: background .3s ease;
}
.newsletter-strip-ssg__item:hover { background: var(--theme-color3); color: #fff; }
.newsletter-strip-ssg__tag {
  background: #6a9f3c;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  padding: 5px 6px;
  text-transform: uppercase;
}
.newsletter-strip-ssg__title { font-size: 17px; font-weight: 500; line-height: 1.3; text-transform: uppercase; }
.newsletter-strip-ssg__icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(-12deg);
  font-size: 52px;
  color: #6a9f3c;
  opacity: .8;
}

@media (max-width: 575.98px) {
  .newsletter-strip-ssg { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .newsletter-strip-ssg__item { padding: 12px 34px 12px 12px; }
  .newsletter-strip-ssg__title { font-size: 14px; }
  .newsletter-strip-ssg__icon { font-size: 30px; right: 6px; }
}

/* Download and country strategy cards */
.resource-card-ssg {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(12, 47, 37, .07);
  transition: transform .3s ease, box-shadow .3s ease;
}
.resource-card-ssg:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(12, 47, 37, .12); }
.resource-card-ssg .resource-thumb { display: block; background: var(--theme-color2); }
.resource-card-ssg .resource-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.resource-card-ssg.strategy .resource-thumb img { aspect-ratio: 3 / 4; }
.resource-card-ssg .resource-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.resource-card-ssg .tag {
  align-self: flex-start;
  font-size: 13px; font-weight: 600;
  padding: 4px 12px; border-radius: 30px;
  background: rgba(var(--theme-color1-rgb), .35);
  color: var(--theme-color2);
  margin-bottom: 10px;
}
.resource-card-ssg .title { font-size: 20px; margin-bottom: 0; }
.resource-card-ssg .card-links { margin-top: auto; padding-top: 14px; }

/* Gallery cards */
.gallery-card-ssg { position: relative; display: block; border-radius: 24px; overflow: hidden; }
.gallery-card-ssg img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.gallery-card-ssg:hover img { transform: scale(1.06); }
.gallery-card-ssg .content {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  background: rgba(12, 47, 37, .75);
  backdrop-filter: blur(5px);
  border-radius: 18px;
  padding: 16px 20px;
  color: #fff;
}
.gallery-card-ssg .content .title { color: #fff; font-size: 20px; margin: 0 0 4px; }
.gallery-card-ssg .content span { color: var(--theme-color1); font-size: 14px; }

/* Career cards */
.career-card-ssg {
  background: #fff; border-radius: 24px; padding: 30px; height: 100%;
  box-shadow: 0 10px 30px rgba(12, 47, 37, .06);
}
.career-card-ssg .title { font-size: 22px; margin: 12px 0 0; }
.career-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: 14px; }
.badge-ssg { padding: 3px 12px; border-radius: 30px; font-weight: 600; font-size: 13px; }
.badge-ssg.open { background: rgba(var(--theme-color1-rgb), .45); color: var(--theme-color2); }
.badge-ssg.closed { background: #eceeea; color: #6b7168; }

/* Team cards: consistent photo crop */
.team-block-items2 .thumb img { aspect-ratio: 1 / 1.1; object-fit: cover; width: 100%; }
.team-block-items2 .team-content .text { min-height: 1.6em; }
.team-section-ssg + .team-section-ssg { padding-top: 0; }

/* Partner logos */
.brand-box-1 .brand-img-1 img { max-height: 70px; width: auto; max-width: 180px; object-fit: contain; }

/* Testimonial side figure */
.testi-ratting .ratting-count { font-size: 42px; }

/* Contact */
.single-contact-info-box .icon-info .icon-fa {
  display: flex; align-items: center; justify-content: center;
  color: var(--theme-color3); font-size: 22px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid rgba(12, 47, 37, .12);
  border-radius: 14px;
  padding: 14px 18px;
  background: #fff;
}
.contact-form textarea { resize: vertical; }
.map-ssg iframe { width: 100%; height: 420px; border: 0; display: block; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-message { margin-top: 12px; font-size: 15px; min-height: 1.2em; }
.form-message.is-success { color: var(--theme-color3); }
.form-message.is-error { color: #c0392b; }
.footer-section-2 .form-message.is-success { color: var(--theme-color1); }
.footer-section-2 .form-message.is-error { color: #ffb4a8; }
.subscribe-form-one .form-check-label a { color: var(--theme-color1); }

/* Detail sidebars */
.detail-box-ssg { padding: 32px; }
.detail-list-ssg { margin-bottom: 26px; }
.detail-list-ssg li { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid #e6ebe3; }
.detail-list-ssg li span { font-size: 14px; color: var(--text-color); }
.detail-list-ssg li strong { color: var(--theme-color2); }
.sidebar__newsletter-ssg p { margin-bottom: 20px; }
.post-content { font-size: 17px; }
.blog-details__img img { width: 100%; border-radius: 24px; }

/* Pagination */
.pagination-ssg { margin-top: 50px; display: flex; justify-content: center; }
.pagination-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pagination-list a, .pagination-list span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 48px; height: 48px; padding: 0 12px;
  border-radius: 50%;
  background: #fff;
  color: var(--theme-color2);
  font-weight: 600;
  border: 1px solid rgba(12, 47, 37, .1);
  transition: all .3s ease;
}
.pagination-list a:hover, .pagination-list span.active { background: var(--theme-color1); border-color: var(--theme-color1); }
.pagination-list span.disabled { opacity: .4; }

/* Search */
.search-page-form-ssg { display: flex; gap: 12px; }
.search-page-form-ssg input { flex: 1; border: 1px solid rgba(12, 47, 37, .15); border-radius: 50px; padding: 14px 24px; }
.search-results-ssg li { padding: 22px 0; border-bottom: 1px solid #e6ebe3; }
.search-results-ssg .tag { font-size: 13px; color: var(--theme-color3); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.search-results-ssg h4 { margin: 6px 0; }
.empty-ssg { padding: 30px 0; color: var(--text-color); }
.mt-50 { margin-top: 50px; }
.mt-40 { margin-top: 40px; }
.mb-50 { margin-bottom: 50px; }
.mb-40 { margin-bottom: 40px; }

/* Sticky header menu. The theme added 30px before every item, which made nine items wrap onto a
   second line on laptop screens. The items now share the space the header has: at least 14px
   apart (the main menu's spacing), spreading out further on wider screens, and never wrapping. */
.sticky-header .inner-container { gap: 32px; }
.sticky-header .inner-container > .logo { flex-shrink: 0; }
.sticky-header .nav-outer { flex: 1 1 auto; min-width: 0; }
.sticky-header .main-menu .navbar-collapse { width: 100%; }
.sticky-header .main-menu .navigation { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 14px; width: 100%; max-width: 980px; margin-left: auto; }
.sticky-header .main-menu .navigation > li { margin: 0; white-space: nowrap; }
