/* ============================
   Servtemp CSS global variables
   ============================ */

:root {
  --stobg-white: #fafafa;
  --stobg-black: #231f20;
  --stobg-dgray: #63656a;
  --stobg-lgray: #c5c6c8;
  --stobg-cerulean: #457b9d;
  --stobg-cerulean-10: #e8edf1;
  --stobg-cerulean-20: #d6e1e7;
}

/* ============================
   Servtemp Hero Landing Section
   ============================ */

.servtemp-hero-landing-section {
  position: relative;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  min-height: 650px;
  padding: 0 40px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.servtemp-hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.servtemp-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding: 0 40px;
}

.servtemp-landing-text-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  max-width: 1360px;
  gap: 1rem;
}

/* --Images -- */

.servtemp-image-mobile {
  display: block;
  width: 100%;
}

.servtemp-image-desktop {
  display: none;
}

.servtemp-right-side-content-frame {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: auto;
  flex-shrink: 0;
}

.servtemp-feature-image {
  display: block;
  width: 310.63px;
  /* or use max-width: 100%; for responsiveness */
  height: auto;
  box-shadow: 0px 4px 15px rgba(35, 31, 32, 0.3);
}

/* --   Titles + Copy  -- */

.servtemp-title-copy-frame {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  max-width: 500px;
  gap: 2rem;
}

.servtemp-title-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  max-width: 500px;
  gap: 0.5rem;
  color: var(--stobg-white);
  text-align: left;
}

.servtemp-sup-title {
  font-size: 1.25rem;
  font-weight: 300;
  text-transform: uppercase;
}

.servtemp-main-title {
  font-size: 65px;
  line-height: 72px;
  font-weight: bold;
  margin: 0;
  color: var(--stobg-white);
}

.servtemp-script {
  font-family: "Brownhill Script";
  font-size: 64px;
  line-height: 72px;
}

/*  -----  Copy + CTA  -----*/

.servtemp-copy-button-frame {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--stobg-white);
  gap: 24px;
}

.servtemp-intro-text {
  font-size: 1rem;
  line-height: 1.5;
}

.servtemp-intro-bold {
  font-weight: bold;
}

.servtemp-intro-normal {
  font-weight: normal;
}

.servtemp-cta-button {
  background-color: #ffffff;
  color: #000000;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.servtemp-cta-button:hover {
  background-color: #f0f0f0;
}

/* --- Responsive (Desktop) --- */

@media screen and (min-width: 1024px) {
  .servtemp-landing-text-container {
    flex-direction: row;
    gap: 4rem;
    align-items: flex-end;
  }

  .servtemp-image-mobile {
    display: none;
  }

  .servtemp-image-desktop {
    display: block;
  }

  .servtemp-feature-image {
    width: 310.63px;
    /* or use max-width: 100%; for responsiveness */
    height: auto;
  }
}

@media screen and (max-width: 1023px) {
  .servtemp-feature-image {
    width: 280px;
    height: auto;
  }
}

/* ====== Card Content Section ====== */

/* --- Section Wrapper & Container --- */
.serv-temp-card-content-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 48px 40px;
  box-sizing: border-box;
  background: #f8f8f8;
  /* adjust/remove as needed */
}

.serv-temp-section2-container {
  max-width: 1360px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* --- Main Content Container --- */
.serv-temp-card-content-cont {
  display: flex;
  gap: 40px;
  max-width: 100%;
  /* space between left copy and cards container */
}

/* --- Layout Variants --- */
/* Columns layout */
.serv-temp-card-content-cont.layout-row {
  flex-direction: column;
  /* left copy and cards stacked vertically */
}

/* Row layout */
.serv-temp-card-content-cont.layout-grid {
  flex-direction: row;
  /* left copy side by side with cards */
}

/* --- Content Side --- */
.serv-temp-section-title-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  gap: 6px;
}

.serv-temp-section-title>h2 {
  font-size: 42px !important;
  font-weight: bold;
  line-height: 44px;
  margin: 0;
  text-wrap: auto;
}

.serv-temp-section-description p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 10px;
  color: #63656a;
}

.serv-temp-bullet-points {
  margin: 0;
  padding-left: 20px;
}

.serv-temp-bullet-points li {
  font-size: 16px;
  margin-bottom: 8px;
  color: #63656a;
}

.serv-temp-extra-copy {
  margin-top: 20px;
}

.serv-temp-sub-title>h2 {
  font-size: 32px;
  line-height: 44px;
  font-weight: bold;
  margin: 0;
}

.serv-temp-sub-description p {
  font-size: 16px;
  margin: 5px 0 0;
  color: #63656a;
}

/* --- Cards Area --- */
.serv-temp-cards-container {
  display: flex;
  flex-wrap: wrap;
  flex: 1.5;
  justify-content: center;
  gap: 10px;
  align-items: stretch;
  /* equal height cards */
}

.layout-grid>.serv-temp-cards-container {
  max-width: 654px;
}

.serv-temp-card {
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 20px;
  max-width: 322px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  transition: transform 0.2s ease;
  gap: 8px;
  flex: 1 1 322px;
  box-sizing: border-box;
}

/* When the card container is in a 'row' layout and contains 6 cards,
   use a larger card width so they form 2 rows of 3 (better visual balance). */
.serv-temp-card-content-cont.layout-row .serv-temp-cards-container.cards-count-6 .serv-temp-card {
  max-width: 420px;
  flex: 1 1 420px;
}

/* Also adjust image-only variant so all card types match the larger width */
.serv-temp-card-content-cont.layout-row .serv-temp-cards-container.cards-count-6 .serv-temp-card-image-only {
  max-width: 420px;
  flex: 1 1 420px;
}

/* Also handle 3-card cases (multiples of 3) to create a single row of 3 or 2 rows as needed */
.serv-temp-card-content-cont.layout-row .serv-temp-cards-container.cards-count-3 .serv-temp-card,
.serv-temp-card-content-cont.layout-row .serv-temp-cards-container.cards-count-3 .serv-temp-card-image-only {
  max-width: 420px;
  flex: 1 1 420px;
}

/* Light (default) */
.serv-temp-card.light {
  background: var(--stobg-cerulean-10);
}

.serv-temp-card.light h3 {
  color: var(--stobg-black);
}

.serv-temp-card.light p {
  color: var(--stobg-dgray);
}

/* Dark */
.serv-temp-card.dark {
  background: var(--stobg-black);
}

.serv-temp-card.dark h3 {
  color: var(--stobg-cerulean-20);
}

.serv-temp-card.dark p {
  color: var(--stobg-lgray);
}

/* Accent */
.serv-temp-card.grayscale {
  background: var(--stobg-lgray);
  /* fallback blue */
}

.serv-temp-card.grayscale h3,
.serv-temp-card.grayscale p {
  color: var(--stobg-black);
}

/* Image-only Cards */
.serv-temp-card-image-only {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 316px;
  overflow: hidden;
  /* ensures image does not overflow card */
  flex: 1 1 322px;
  /* same width as info cards for alignment */
  padding: 0;
  /* remove padding */
  background: none;
  /* remove background */
  box-shadow: none;
  /* remove shadow */
  border-radius: 10px;
  /* remove border radius */
}

@media (min-width: 1024px) {

  .serv-temp-cards-container.cards-count-5 .serv-temp-card,
  .serv-temp-cards-container.cards-count-5 .serv-temp-card-image-only {
    flex: 0 1 calc((100% - 20px) / 3);
    max-width: calc((100% - 20px) / 3);
  }

  .serv-temp-cards-container.cards-count-5 {
    justify-content: center;
  }
}

.serv-temp-card-image-only img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* fills card without distortion */
}

/* Icon */
.serv-temp-card-icon {
  width: auto;
  height: 60px;
}

.serv-temp-card-icon img {
  width: auto;
  height: 60px;
}

/* Info Text */
.serv-temp-card-text h4 {
  font-size: 24px;
  line-height: 24px;
  font-weight: bold;
  text-align: center;
  height: 42px;
  letter-spacing: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.serv-temp-card-text p {
  font-size: 14px;
  text-align: center;
  margin: 0;
}

/* Image-only Card */
.serv-temp-card-image-only {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  /* ensures image does not overflow card */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.serv-temp-card-image-only img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* fills card without distortion */
  border-radius: 10px;
  aspect-ratio: 1;
  /* ensures square images */
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .serv-temp-card-content-cont {
    flex-direction: column !important;
  }

  .layout-grid>.serv-temp-cards-container {
    margin: auto;
  }

  .serv-temp-section-title>h2 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {

  .servtemp-hero-landing-section,
  .serv-temp-card-content-section,
  .serv-temp-services-section,
  .serv-temp-timeline-container,
  .serv-temp-section-padding,
  .serv-temp-services-container,
  .serv-temp-section4-container {
    padding: 40px 16px !important;
  }
}

/* ====================
   Statistics Section 
======================= */
.serv-temp-statistics-section {
  position: relative;
  width: 100%;
  min-height: 394px;
}

.serv-temp-statistics-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.serv-temp-statistics-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
  justify-content: center;
  padding: 72px 40px;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}

.serv-temp-main-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.serv-temp-statistics-title {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-size: 42px;
  text-align: center;
  color: #0a0a0a;
  width: 100%;
}

.serv-temp-stats-container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  max-width: 1360px;
  width: 100%;
}

.serv-temp-stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  max-width: 330px;
  min-width: 300px;
  width: 300px;
  padding: 8px;
}

.serv-temp-stat-counter {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: #457b9d;
  font-size: 55px;
  line-height: 62px;
}

.serv-temp-stat-label {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 18px;
  text-transform: uppercase;
  color: #0a0a0a;
  text-align: center;
  text-wrap: nowrap;
}

.serv-temp-line-div {
  width: 100%;
  position: relative;
  border-top: 1px solid #457b9d;
  box-sizing: border-box;
  height: 2px;
  margin: 8px 0;
  /* optional spacing above/below */
}

.serv-temp-stat-description {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #000;
  text-align: center;
  text-wrap: nowrap;
}

@media (max-width: 768px) {
  .serv-temp-statistics-content {
    padding: 40px 20px;
  }

  .serv-temp-statistics-title {
    font-size: 32px;
  }

  .serv-temp-stats-container {
    gap: 24px;
    flex-direction: column;
    align-content: center;
  }

  .serv-temp-stat-item {
    min-width: 280px;
    width: 280px;
  }
}

/*==================
 Services Section
 ==================*/
.serv-temp-services-section {
  background: #d6e1e7;
  width: 100vw;
  display: flex;
  justify-content: center;
  padding: 56px 0;
  box-sizing: border-box;
}

.serv-temp-services-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1360px;
  width: 100%;
  padding: 0 40px;
  box-sizing: content-box;
}

.serv-temp-services-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.serv-temp-services-title {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-weight: 700;
  font-size: 42px;
  color: #231f20;
}

.serv-temp-services-desc {
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  color: #63656a;
  line-height: 24px;
}

.serv-temp-services-main {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}

.serv-temp-services-menu {
  background: #231f20;
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 322px;
  padding: 24px 0;
}

.serv-temp-services-tab {
  color: #c5c6c8;
  background: none;
  border: none;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  text-align: left;
  padding: 12px 24px;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s, color 0.2s;
}

.serv-temp-services-tab.active {
  color: #fff;
  background: #457b9d;
}

.serv-temp-services-details-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.serv-temp-services-details {
  display: none;
  flex-direction: column;
  gap: 24px;
}

.serv-temp-services-details.active {
  display: flex;
}

.serv-temp-services-details-header {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #231f20;
  margin-bottom: 8px;
}

.serv-temp-services-details-desc {
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  color: #63656a;
  margin-bottom: 16px;
}

.serv-temp-services-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.serv-temp-services-card {
  background: #fff;
  box-shadow: 0px 12px 16px -4px rgba(10, 13, 18, 0.08),
    0px 4px 6px -2px rgba(10, 13, 18, 0.03);
  border-radius: 4px;
  padding: 16px;
  max-width: 322px;
  flex: 1 1 322px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.serv-temp-services-card-title {
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  min-height: 48px;
  color: #457b9d;
  line-height: 24px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
}

.serv-temp-services-card-desc {
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  color: #63656a;
}

/* Responsive */
@media (max-width: 1024px) {
  .serv-temp-services-main {
    flex-direction: column;
  }

  .serv-temp-services-menu {
    flex-direction: row;
    justify-content: center;
    width: 100%;
    gap: 8px;
  }

  .serv-temp-services-tab {
    padding: 10px;
    font-size: 15px;
  }

  .serv-temp-services-cards {
    justify-content: center;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .serv-temp-services-menu {
    flex-direction: column;
  }

  .serv-temp-services-card {
    max-width: unset;
  }
}

@media (max-width: 600px) {
  .serv-temp-services-cards {
    flex-direction: column;
    gap: 16px;
  }

  .serv-temp-services-card {
    width: 100%;
    flex: 1;
    max-width: unset;
  }
}

/* ===============
 Content & Image Section
 =================== */
.serv-temp-section4-container {
  width: 100%;
  padding: 40px;
  box-sizing: border-box;
}

.serv-temp-s4-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1360px;
  margin: 0 auto;
  position: relative;
}

.serv-temp-content-section,
.serv-temp-image-section {
  width: 100%;
}

.serv-temp-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

.serv-temp-top-section {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.serv-temp-extra-content {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #0a0a0a;
  white-space: nowrap;
  margin-bottom: 0 !important;
  text-wrap: auto;
}

.serv-temp-paragraph-section,
.serv-temp-list-section {
  width: 100%;
  color: #63656a;
}

.serv-temp-paragraph-section p {
  color: #63656a;
  /* replaced var(--muted) */
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  /* replaced var(--text-base) */
  line-height: 1.5;
  margin-bottom: 0 !important;
}

.serv-temp-content-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #63656a;
  columns: 2;
  /* create 2 columns */
  column-gap: 40px;
  /* space between columns */
  -webkit-columns: 2;
  -moz-columns: 2;
}

.serv-temp-list-item {
  list-style-type: disc;
  font-size: 16px;
  margin-left: 24px;
  white-space: pre-wrap;
  break-inside: avoid;
  /* prevent awkward breaking */
  margin-bottom: 0 !important;
}

.serv-temp-paragraph-section ul {
  list-style-position: outside;
  /* keep bullets outside text */
  padding-left: 1.5em;
  /* space for bullets */
  -webkit-columns: 1;
}

.serv-temp-paragraph-section ul li {
  padding-left: 0.5em;
  font-size: 1rem;
}

.serv-temp-image-container {
  width: 100%;
  height: 240px;
  border-radius: 10px;
  overflow: hidden;
}

.serv-temp-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive embed for videos (YouTube/Vimeo) that sits in the same container as images */
.serv-temp-embed-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}

.serv-temp-embed-container iframe {
  position: absolute;
  top: -26px;
  left: 0;
  width: 100%;
  height: calc(100% + 40px);
  border: 0;
}

.serv-temp-section-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Add modifier for alternating layout */
.serv-temp-section--reverse .serv-temp-content-section {
  order: 1;
  /* content first */
}

.serv-temp-section--reverse .serv-temp-image-section {
  order: 2;
  /* image second */
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .serv-temp-image-container {
    height: 300px;
  }
}

@media (min-width: 1024px) {
  .serv-temp-s4-container {
    display: flex;
    flex-direction: row;
    gap: 36px;
    align-items: center;
  }

  .serv-temp-content-section {
    order: 2;
    flex: 1;
  }

  .serv-temp-image-section {
    order: 1;
    flex: 1;
  }

  .serv-temp-content-wrapper {
    gap: 24px;
    align-items: flex-start;
  }

  .serv-temp-top-section {
    justify-content: flex-start;
  }

  .serv-temp-image-container {
    height: 360px;
  }

  /* Default: image left, content right */
  .serv-temp-content-section {
    order: 2;
    flex: 1;
  }

  .serv-temp-image-section {
    order: 1;
    flex: 1;
  }

  /* Reverse layout handled by modifier class */
  .serv-temp-section--reverse .serv-temp-content-section {
    order: 1;
  }

  .serv-temp-section--reverse .serv-temp-image-section {
    order: 2;
  }
}

/* ============================
  Section 5: Timeline Section 
   ============================ */

/* App container */
.serv-temp-app {
  min-height: 100vh;
}

/* Timeline Section */
.serv-temp-timeline-section {
  background-color: #f9fafb;
  position: relative;
  width: 100%;
  height: 100%;
}

.serv-temp-timeline-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-width: inherit;
  position: relative;
  width: 100%;
  height: 100%;
}

.serv-temp-timeline-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: inherit;
  padding: 2rem;
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1360px;
}

/* Content Header */
.serv-temp-timeline-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 2rem 0;
  width: 100%;
}

.serv-temp-timeline-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
}

.serv-temp-timeline-top {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: flex-start;
  justify-content: center;
}

.serv-temp-section-title {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  text-transform: capitalize;
  color: #231f20;
  font-size: 42px;
  text-align: left;
  white-space: nowrap;
}

.serv-temp-section-title p {
  display: block;
  line-height: 44px;
}

.serv-temp-section-description {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  line-height: 20px;
  color: #63656a;
  font-size: 18px;
  text-align: left;
}

.serv-temp-section-description p {
  display: block;
  line-height: 1.4;
}

/* Mobile Timeline (Vertical) */
.serv-temp-mobile-timeline {
  display: block;
}

.serv-temp-vertical-container {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  /* container stretches children to same height */
  gap: 0.5rem;
  /* optional spacing between line and events */
  width: 100%;
}

.serv-temp-vertical-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin-right: 0.5rem;
}

.serv-temp-vertical-top-cap {
  height: 2px;
  width: 1rem;
  background-color: #457b9d;
}

.serv-temp-vertical-bar {
  flex-grow: 1;
  /* grows between top and bottom cap */
  width: 12px;
  background-color: #457b9d;
  margin: 0 auto;
}

.serv-temp-vertical-bottom-cap {
  height: 2px;
  width: 1rem;
  background-color: #457b9d;
}

/* Vertical Events */
.serv-temp-vertical-event-frame {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
  /* allows events frame to define container height */
}

.serv-temp-vertical-event {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.25rem;
}

.serv-temp-vertical-marker-wrap {
  display: flex;
  height: 0.1875rem;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
}

.serv-temp-vertical-marker-rotated {
  transform: rotate(270deg);
}

.serv-temp-marker {
  background-color: #457b9d;
  height: 1.25rem;
  width: 0.1875rem;
}

.serv-temp-vertical-card {
  position: relative;
  flex-grow: 1;
  box-shadow: 0px 12px 16px -4px rgba(10, 13, 18, 0.08),
    0px 4px 6px -2px rgba(10, 13, 18, 0.03);
}

.serv-temp-vertical-card.light {
  background-color: #ffffff;
}

.serv-temp-vertical-card.dark {
  background-color: #37627e;
}

/* Desktop Timeline (Horizontal) */
.serv-temp-desktop-timeline {
  display: none;
}

.serv-temp-horizontal-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
}

.serv-temp-horizontal-line-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: -0.0625rem;
  width: 100%;
}

.serv-temp-horizontal-line {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 0.75rem;
  width: 100%;
}

.serv-temp-horizontal-left-cap {
  background-color: #457b9d;
  width: 0.125rem;
  height: 1rem;
}

.serv-temp-horizontal-bar {
  background-color: #457b9d;
  flex-grow: 1;
  height: 0.75rem;
}

.serv-temp-horizontal-right-cap {
  background-color: #457b9d;
  width: 0.125rem;
  height: 1rem;
}

.serv-temp-horizontal-event-frame {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: flex-start;
  width: 100%;
}

.serv-temp-horizontal-event {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
  flex-grow: 1;
}

.serv-temp-horizontal-marker {
  background-color: #457b9d;
  height: 1.25rem;
  width: 0.1875rem;
}

.serv-temp-horizontal-card {
  position: relative;
  box-shadow: 0px 12px 16px -4px rgba(10, 13, 18, 0.08),
    0px 4px 6px -2px rgba(10, 13, 18, 0.03);
  width: 100%;
}

.serv-temp-horizontal-card.light {
  background-color: #edf2f6;
}

.serv-temp-horizontal-card.dark {
  background-color: #37627e;
}

/* Card Shared Styles */
.serv-temp-card-inner {
  width: 100%;
  height: 100%;
}

.serv-temp-tlcard-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.75rem;
  width: 100%;
  box-sizing: border-box;
}

.serv-temp-card-accent {
  height: 0.5rem;
  width: 50px;
}

.serv-temp-card-accent.light {
  background-color: #457b9d;
}

.serv-temp-card-accent.dark {
  background-color: #231f20;
}

.serv-temp-card-title {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-size: 22px;
  text-align: left;
  white-space: nowrap;
  text-wrap: auto;
}

.serv-temp-card-title.light {
  color: #231f20;
}

.serv-temp-card-title.dark {
  color: #f5f5f5;
}

.serv-temp-card-title p {
  display: block;
  line-height: 28px;
  letter-spacing: 0.5px;
}

.serv-temp-card-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 12px;
  text-align: left;
  width: 100%;
}

.serv-temp-card.dark .serv-temp-card-text h4 {
  color: #f5f5f5 !important;
}

.serv-temp-card-text.light p {
  color: #63656a;
}

.serv-temp-card-text.dark p {
  color: #e0e0e1;
}


.serv-temp-card-paragraph p {
  font-family: "Roboto", Arial, sans-serif;
  display: block;
  line-height: 22px;
  text-align: left;
}

/* Responsive Design */
@media (min-width: 1023px) {
  .serv-temp-mobile-timeline {
    display: none;
  }

  .serv-temp-desktop-timeline {
    display: block;
  }

  .serv-temp-horizontal-event-frame {
    display: flex;
    gap: 1rem;
    /* your existing gap */
  }

  .serv-temp-horizontal-event {
    flex: 1 1 0%;
    /* equal width; allow shrink/grow but start from 0 to evenly distribute */
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    /* allow flex items to shrink below content size */
  }

  .serv-temp-horizontal-card {
    width: 100%;
    /* fills the parent flex item */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  /* Make the inner card content expand so all cards match height */
  .serv-temp-horizontal-card .serv-temp-card-inner {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }

  /* Ensure the horizontal event frame stretches items to equal height */
  .serv-temp-horizontal-event-frame {
    align-items: stretch;
    flex-wrap: nowrap;
  }
}

@media (max-width: 767px) {
  .serv-temp-section-title {
    font-size: 32px;
  }
}

/* ============================
 * Section 6: Logos Section - Fixed
 * ============================ */

.serv-temp-logo-section {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 60px 16px;
  box-sizing: border-box;
  background-color: #f5f5f5;
}

/* Side layout: make content a row */
.serv-temp-layout-content.side-layout {
  flex-direction: row;
  align-items: center;
  /* align heading + logos at top */
  justify-content: flex-start;
}

/* Layout Wrapper & Content */
.serv-temp-layout-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.serv-temp-layout-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  box-sizing: border-box;
  gap: 24px;
}

/* Heading Containers */
.serv-temp-heading-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  max-width: 50%;
}

.serv-temp-heading-container h2,
.serv-temp-heading-text {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  color: #231f20;
  font-size: 42px;
  text-align: left;
}

.serv-temp-description-text {
  color: #63656a;
  font-size: 16px;
  line-height: 1.5;
  margin-top: 8px;
}

/* Centered Heading + Description */
.serv-temp-heading-container-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.serv-temp-heading-container-centered h2 {
  color: #231f20;
  font-weight: 700;
  font-size: 42px;
  text-transform: uppercase;
  text-align: center;
  line-height: 48px;
  margin: 0;
}

.serv-temp-description-text-centered p {
  color: #63656a;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 8px;
}

/* Partner Logo Containers */
.serv-temp-partner-logo-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
}

.serv-temp-partner-logo-container.side {
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.serv-temp-partner-logo-container.centered {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

/* Individual Partner Logo */
.serv-temp-partner-logo {
  background-color: #ffffff;
  border-radius: 6px;
  box-shadow: 0px 12px 16px -4px rgba(10, 13, 18, 0.08),
    0px 4px 6px -2px rgba(10, 13, 18, 0.03);
  flex-shrink: 0;
  width: 110px;
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

@media (min-width: 640px) {
  .serv-temp-partner-logo {
    width: 110px;
    height: 105px;
  }
}

/* Logo Images */
.serv-temp-partner-image {
  max-width: 100%;
  max-height: 100%;
  display: block;
  margin: 0 auto;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .serv-temp-layout-content {
    padding: 32px 16px;
  }

  .serv-temp-partner-logo-container {
    gap: 16px;
  }

  .serv-temp-heading-container {
    margin-bottom: 16px;
  }

  .serv-temp-heading-container-centered {
    gap: 8px;
  }

  .serv-temp-description-text-centered {
    padding: 0 16px;
  }

  .serv-temp-layout-content.side-layout {
    flex-direction: column;
    align-items: center;
    /* center the content */
  }

  .serv-temp-heading-container {
    margin-bottom: 24px;
    /* space between text and logos */
    text-align: center;
    width: 100%;
  }

  .serv-temp-partner-logo-container.side {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}

/* ============================
   Section 7: Team Leaderhip Section
   ============================ */

/* Team Leadership Section */
.serv-temp-team-leadership-section {
  background-color: #f5f5f5;
  position: relative;
  width: 100%;
  height: 100%;
}

.serv-temp-section-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.serv-temp-section-padding {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}

/* Content Container */
.serv-temp-content-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  width: 100%;
  max-width: 1360px;
}

/* Left Column */
.serv-temp-left-column {
  width: 100%;
}

.serv-temp-left-column-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.serv-temp-top-row-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

/* Titles & Text */
.serv-temp-main-title {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  color: #231f20;
  font-size: 42px;
  line-height: 48px;
  text-transform: capitalize;
  width: 100%;
}

.serv-temp-description-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.serv-temp-subtitle p {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  color: #457b9d;
  font-size: 1.125rem;
  white-space: nowrap;
}

.serv-temp-subtitle p {
  line-height: 21px;
  white-space: pre;
}

.serv-temp-description-text p {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  line-height: 24px;
  color: #63656a;
  font-size: 16px;
  margin-bottom: 0;
}

/* Contact Button */
.serv-temp-contact-button {
  background-color: #457b9d;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 0.125rem;
  box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
  width: fit-content;
}

.serv-temp-contact-button:hover {
  opacity: 0.9;
}

.serv-temp-button-text {
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #f5f5f5;
  white-space: nowrap;
  text-align: center;
}

.serv-temp-button-text p {
  line-height: 1.25;
}

/* Right Column */
.serv-temp-right-column {
  width: 100%;
}

.serv-temp-ldrcards-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  justify-content: end;
}

/* Team Member Cards */
.serv-temp-card-wrapper {
  width: 100%;
  max-width: 20rem;
}

.serv-temp-team-member-card {
  background-color: #ffffff;
  box-shadow: 0px 4px 8px -2px rgba(10, 13, 18, 0.1),
    0px 2px 4px -2px rgba(10, 13, 18, 0.06);
  width: 100%;
}

.serv-temp-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.serv-temp-position-title {
  min-height: 48px;
}

.serv-temp-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  gap: 16px;
}

/* Profile Section */
.serv-temp-profile-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  width: 100%;
}

.serv-temp-profile-image-frame {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.serv-temp-profile-picture {
  display: inline-grid;
  grid-template-columns: max-content;
  grid-template-rows: max-content;
}

.serv-temp-profile-image {
  grid-area: 1 / 1;
  width: 105px;
  height: 105px;
  border-radius: 0.125rem;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url("https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=150&h=150&fit=crop&crop=face");
}

.serv-temp-member-name {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #457b9d;
  text-align: center;
}

.serv-temp-member-name p {
  line-height: 28px;
}

/* Contact Titles */
.serv-temp-contact-titles {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.serv-temp-position-title,
.serv-temp-department-title {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 16px;
  text-align: center;
  width: 100%;
  line-height: 24px;
  color: #231f20;
}

.serv-temp-department-title {
  color: #457b9d;
}

.serv-temp-contact-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.serv-temp-contact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Contact Info */
.serv-temp-contact-info {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.serv-temp-contact-item {
  display: flex;
  flex-direction: column !important;
  /* stack icon above text */
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
  min-width: 60px;
  /* keeps items balanced */
  color: #457c9d;
}

.serv-temp-contact-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.serv-temp-contact-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 6px;
}

.serv-temp-icon-wrapper,
.serv-temp-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.serv-temp-icon-svg {
  width: 1.5rem;
  height: 1.5rem;
}

.serv-temp-contact-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
}

.serv-temp-contact-text {
  font-size: 14px;
  line-height: 1.2;
}

.serv-temp-main-title {
  font-size: 2.625rem;
}

.serv-temp-subtitle {
  font-size: 1.5rem;
  color: #457b9d;

}

/* Responsive Design */
@media (max-width: 768px) {
  .serv-temp-ldrcards-container {
    justify-content: center;
    align-items: center;
  }
}

@media (min-width: 768px) {
  .serv-temp-content-container {
    gap: 2rem;
  }

  .serv-temp-description-text {
    font-size: 1rem;
  }

  .serv-temp-button-text {
    font-size: 1.25rem;
  }

  .serv-temp-ldrcards-container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: flex-end;
  }

  .serv-temp-card-wrapper {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 322px;
    min-width: 18rem;
  }
}

@media (min-width: 1024px) {
  .serv-temp-content-container {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }

  .serv-temp-left-column {
    width: 50%;
    padding-right: 2rem;
  }

  .serv-temp-right-column {
    width: unset;
  }
}

/* Additional Team Member Images */
.serv-temp-card-wrapper:nth-child(2) .serv-temp-profile-image {
  background-image: url("https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?w=150&h=150&fit=crop&crop=face");
}

/* ===== Expertise Testimonials Component ===== */

.expertise-testimonials {
  position: relative;
  background-color: #21272a;
  padding: 40px 0;
}

/* Carousel */
.expertise-testimonials__carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

/* Track */
.expertise-testimonials__track {
  display: flex;
  transition: transform 0.9s ease-in-out;
}

/* Slide */
.expertise-testimonials__slide {
  min-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: #ffffff;
}

/* Content */
.expertise-testimonials__quote {
  color: #fafafa;
  font-size: 20px;
}

.expertise-testimonials__name {
  color: #467c9d;
  font-size: 24px;
  font-weight: 900;
}

.expertise-testimonials__role {
  color: #467c9d;
  font-size: 18px;
}

/* Logo (fully scoped) */
.expertise-testimonials__logo {
  width: 100px;
  margin-top: 10px;
}

/* Example modifier (maps to ACF field values) */
.expertise-testimonials__logo--gb {
  height: 28px;
  width: auto;
}

.expertise-testimonials__logo {
  height: 40px;
  width: auto;
}

/* Controls */
.expertise-testimonials__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
}

.expertise-testimonials__control--prev {
  left: max(20px, calc((100vw - 800px) / 2 - 48px));
}

.expertise-testimonials__control--next {
  right: max(20px, calc((100vw - 800px) / 2 - 48px));
}

.expertise-testimonials__pagination {
  display: flex;
  justify-content: center;
  margin-top: 2px;
  gap: 8px;
}

.expertise-testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  padding: 0;
}

.expertise-testimonials__dot.active {
  background: #467c9d;
  /* your theme color */
}

/* Hint */
.expertise-testimonials__hint {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  color: #fafafa;
  margin-top: 10px;
}

.expertise-testimonials__icon {
  width: 18px;
  height: 18px;
}

/* ===== Responsive ===== */

@media (max-width: 600px) {
  .expertise-testimonials__carousel {
    width: 80vw;
  }

  .expertise-testimonials__quote {
    font-size: 16px;
  }

  .expertise-testimonials__slide {
    padding: 0;
  }

  .expertise-testimonials__control--prev {
    left: 12px;
  }

  .expertise-testimonials__control--next {
    right: 12px;
  }
}

/* Hide hint on non-mobile */
@media (min-width: 601px) {
  .expertise-testimonials__hint {
    display: none;
  }
}


/* ===== FAQ (serv-temp-*) ===== */
.serv-temp-faq-section {
  background-color: #f5f5f5;
  position: relative;
  width: 100%;
  padding: 0 40px;
  box-sizing: border-box;
}

.serv-temp-faq-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Header */
.serv-temp-faq-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
}

.serv-temp-faq-title {
  font-weight: 700;
  color: #231f20;
  font-size: 42px;
  text-align: center;
  line-height: 1.1;
  width: 100%;
  margin: 0;
}

.serv-temp-faq-description {
  font-size: 16px;
  line-height: 24px;
  color: #21272a;
  text-align: center;
  width: 100%;
  margin: 0;
}

/* =========================
   FAQ ITEMS LAYOUT
   ========================= */

/* Base: single column */
.serv-temp-faq-items {
  margin-top: 30px;
}

/* Desktop: 2-column GRID (row-based order) */
@media (min-width: 1024px) {
  .serv-temp-faq-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 112px;
    row-gap: 20px;
  }
}

/* Mobile / tablet */
@media (max-width: 1023px) {
  .serv-temp-faq-items {
    display: block;
  }
}

/* =========================
   FAQ ITEM STYLING
   ========================= */

.serv-temp-faq-item {
  background-color: #f2f4f8;
  position: relative;
  width: 100%;
  height: fit-content;
  margin-bottom: 12px;
}

.serv-temp-faq-item::before {
  content: "";
  position: absolute;
  border: 2px solid #457b9d;
  border-width: 2px 0 0 0;
  inset: 0;
  pointer-events: none;
}

/* Clickable question row */
.serv-temp-faq-question {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  max-width: 100%;
  cursor: pointer;
  padding: 12px 16px 4px 16px;
  transition: opacity 0.2s;
}

.serv-temp-faq-question:hover {
  opacity: 0.8;
}

.serv-temp-faq-question h3 {
  font-weight: 700;
  color: #231f20;
  font-size: 20px;
  line-height: 1.1;
  margin: 0;
  flex: 1;
  text-align: left;
  max-width: 560px;
}

.serv-temp-faq-icon .chevron-icon {
  width: 24px;
  height: 24px;
  display: block;
  transition: transform 0.2s;
}

.serv-temp-faq-icon .chevron-icon.rotated {
  transform: rotate(180deg);
}

/* =========================
   FAQ ANSWER (ACCORDION)
   ========================= */

.serv-temp-faq-answer {
  padding: 0 16px 16px 16px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.serv-temp-faq-answer.open {
  max-height: 1000px;
  opacity: 1;
  padding-bottom: 16px;
}

.serv-temp-faq-answer p {
  font-size: 16px;
  line-height: 24px;
  color: #21272a;
  margin: 0;
}

/* ====== Related Projects Section ====== */
/* Parent container for images */
#sector-projects .imgWrap.fixed-height {
  width: 100%;
  height: 320px;
  /* or whatever fixed height you want */
  overflow: hidden;
  position: relative;
}

/* Images inside the container */
#sector-projects .imgWrap.fixed-height img.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* fill container while maintaining aspect ratio */
  object-position: center;
  /* center image if cropping occurs */
  display: block;
  /* remove inline spacing */
}

/* =====================================================
   Expertise – Feed card styles
   Based on real markup from stobg-feeds-card
   Mirrors .colblock visual system exactly
   ===================================================== */

/* Feed grid = flex container matching .rightblock behavior */
.rightblock .stobg-feeds-grid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

/* Card = .colblock equivalent */
.rightblock .stobg-feeds-card {
  position: relative;
  width: 48.18%;
  height: 357px;
  margin-right: 3.64%;
  margin-bottom: 38px;
  overflow: hidden;
  background: #231f20;
  cursor: pointer;
  list-style: none;
}

/* Two-column spacing */
.rightblock .stobg-feeds-card:nth-child(2n),
.rightblock .stobg-feeds-card:last-child {
  margin-right: 0;
}

/* IMAGE – full card background */
.rightblock .stobg-feeds-card__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.rightblock .stobg-feeds-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.75s;
}

/* Hover zoom */
.rightblock .stobg-feeds-card:hover .stobg-feeds-card__image img {
  transform: scale(1.1);
}

/* OVERLAY – gradient like original */
.rightblock .stobg-feeds-card::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(to bottom,
      rgba(35, 31, 32, 0) 0%,
      rgba(35, 31, 32, 0.95) calc(100% - 120px),
      rgba(35, 31, 32, 0.95) 100%); */
  z-index: 1;
  pointer-events: none;
}

/* TEXT BLOCK – bottom anchored */
.rightblock .stobg-feeds-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 14px 19px 16px;
  box-sizing: border-box;
  z-index: 2;
  background: #231f20d4;
}

/* Excerpt – white text, clamped to 2 lines */
.rightblock .stobg-feeds-card__excerpt {
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* FOOTER ROW – Learn More left, Date right */
.rightblock .stobg-feeds-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

/* Learn More – bottom left */
.rightblock .stobg-feeds-card__learn-more {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.5px;
  pointer-events: auto;
}

.rightblock .stobg-feeds-card__learn-more:hover {
  text-decoration: underline;
}

/* Date – bottom right, teal accent */
.rightblock .stobg-feeds-card__date {
  color: #6E90AA;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: right;
}

.rightblock .stobg-feeds-card__title a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;

  overflow: hidden;

}

h2.stobg-feeds-card__title {
  margin-bottom: 12px;
  line-height: 0.75;
  font-family: "Roboto Condensed", sans-serif;
}

/* Ensure all links are clickable */
.rightblock .stobg-feeds-card__content a,
.rightblock .stobg-feeds-card__image {
  pointer-events: auto;
}

.stobg-feeds-card__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 30%;
}

.stobg-feeds-card__bottom {
  margin-top: 12px;
}

.stobg-feeds-card__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* META ROW WRAPPER (same as .flexwrap behavior) */
.stobg-feeds-card__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* DATE + POST TYPE */
.stobg-feeds-card__bottom-inner span {
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  color: #6E90AA;
  text-transform: uppercase;
}

/* LEARN MORE LINK */
.stobg-feeds-card__bottom-inner a {
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #ffffff;
  text-transform: uppercase;
  position: relative;
  text-decoration: none;
}