/* ==========================================================================
   ROSTRA AG THEME — 2025 (Refactored)
   ========================================================================== */
/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --rostra-navy: #20376B;
  /* primary */
  --rostra-deep: #142538;
  /* deep navy / footer */
  --rostra-gold: #C09D43;
  /* accent */
  /* Text & Surfaces */
  --ink: #384652;
  --soft: #F2F2F2;
  --line: #E9EEF2;
  --separator: rgba(255, 255, 255, .28);

  /* Misc */
  --tile: #ebebeb;
  --muted: #8c97a3;

  /* Radii */
  --radius-100: 4px;
  --radius-200: 7px;
  --radius-300: 10px;
  --radius-400: 12px;
  --radius-600: 16px;
  --radius-999: 999px;

  /* Layout helpers */
  --card-radius: var(--radius-300);
  --about-img-w: min(28vw, 300px);

  /* Hero + investment layout */
  --left-radius: 10px;
  --right-radius: 10px;
  --hero-left-h-lg: 640px;
  --hero-right-h-lg: 520px;

  /* Short mobile hero */
  --hero-h: 80px;
  --curve: clamp(40px, 8vw, var(--hero-h));

  /* Type */
  --font-size-root: 14px;
}

/* ---------- Base ---------- */
html,
body {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  font-size: var(--font-size-root);
}

a {
  color: inherit;
  text-decoration: none;
}


/* ======================================================================
   HERO (full)
   ====================================================================== */
.hero {
  position: relative;
  min-height: 45vw;
  max-height: 956px;
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: center/cover no-repeat url('../img/rostra-hero-main.png');
  filter: contrast(1.05) saturate(1.02);
  height: 100%;
  /* Parallax on large screens only for performance */
  background-attachment: scroll;
}

@media (min-width: 992px) {
  .hero::before {
    background-attachment: fixed;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: .55;
  mix-blend-mode: multiply;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 155px;
  height: 155px;
  margin: 0 auto .25rem;
  background: url('../img/rostra-circle-logo.png') center/contain no-repeat;
  mix-blend-mode: screen;
}

/* Titles */
.display-title,
.display-hero-title {
  font-size: 66px;
  line-height: 1.1;
  font-weight: 400;
  /*  color: #fff !important;*/
  color: var(--display-title) !important;
  letter-spacing: .2px;
}

.display-title .fw-bold {
  font-weight: 700;
}

.hero-sub {
  max-width: 920px;
  margin: 16px auto 28px;
  font-size: 14px;
}

@media (max-width: 991.98px) {

  .display-title,
  .display-hero-title {
    font-size: 48px;
  }
}

/* Curved white panel following the hero */
.curved {
  position: relative;
  margin-top: -110px;
  background: #fff;
  border-radius: 133px 133px 0 0;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .09);
}

@media (max-width: 991.98px) {
  .curved {
    border-radius: 48px 48px 0 0;
    margin-top: -64px;
  }
}

/* ======================================================================
   SECTION HEADINGS
   ====================================================================== */
.section-title,
.section-title-dark,
.page-title,
.intro {
  color: var(--rostra-navy);
}

.section-title,
.section-title-dark {
  font-weight: 600;
  font-size: 25px;
}

.section-title-dark {
  color: var(--rostra-deep) !important;
}

.page-title,
.intro {
  color: var(--rostra-navy) !important;
}

/* Fluid, accessible section header utility */
.section-header {
  font-weight: 400;
  color: var(--rostra-navy);
  line-height: 1.1;
  font-size: clamp(1.375rem, 1rem + 2.5vw, 2.75rem);
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

@media (max-width: 360px) {
  .section-header {
    font-size: clamp(1.25rem, 0.9rem + 3vw, 2.25rem);
  }
}

/* ======================================================================
   DOTS / BADGES / INFO CARDS (condensed)
   ====================================================================== */
.dot-sep,
.info-card .badge-gold,
.doc-row .dl-icon,
.abs-dot {
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.dot-sep {
  width: 38px;
  height: 38px;
  background: var(--rostra-gold);
}

.info-card {
  background: var(--rostra-deep);
  color: #fff;
  border-radius: var(--radius-300);
  padding: 20px 24px;
  min-height: 73px;
}

.info-card .badge-gold {
  width: 32px;
  height: 32px;
  background: var(--rostra-gold);
}

.info-card p {
  margin: 6px 0 0;
  font-size: 14px;
}

/* ======================================================================
   PORTFOLIO
   ====================================================================== */
.portfolio-wrap {
  border-radius: var(--radius-300);
  background: #fff;
  box-shadow: 0 10px 80px rgba(0, 0, 0, .16);
  padding: 36px;
}

.portfolio-img {
  border-radius: var(--radius-300);
  overflow: hidden;
}

/* ======================================================================
   BUTTONS / PILLS
   ====================================================================== */
.pill,
.btn-apply,
.btn-gold,
.btn-navy,
.btn-outline-navy {
  border-radius: var(--radius-999);
}

.pill {
  display: inline-block;
  min-width: 184px;
  height: 39px;
  line-height: 39px;
  text-align: center;
  font-size: 16px;
  color: #fff;
}

.pill-gold {
  background: var(--rostra-gold);
}

.pill-navy {
  background: var(--rostra-navy);
}

.pill-category {
  line-height: 25px;
  border: white;
}

.btn-gold {
  background: var(--rostra-gold);
  color: #fff;
  border-radius: var(--radius-200);
}

.btn-gold:hover {
  background: #b18e39;
  color: #fff;
}

.btn-navy {
  background: var(--rostra-navy);
  color: #fff;
  border: 0;
  border-radius: var(--radius-200) !important;
}

.btn-navy:hover,
.btn-navy:focus {
  background: #1a2e58;
  color: #fff;
}

.btn-outline-navy {
  border-color: var(--rostra-navy) !important;
  color: var(--rostra-navy) !important;
  border-width: 1px;
  padding: .5rem 1.25rem;
}

/* ======================================================================
   NEWS
   ====================================================================== */
.pill-news {
  border: 1px solid var(--rostra-navy);
  border-radius: 20px;
  padding: .45rem 1.25rem;
  font-size: 16px;
}

.news-card,
.news-accent {
  border-radius: var(--radius-300);
  color: #fff;
  padding: 22px;
}

.news-card {
  background: var(--rostra-deep);
}

.news-accent {
  background: var(--rostra-gold);
}

.news-title {
  font-weight: 700;
  font-size: 18px;
}

.news-item time {
  opacity: .55;
  font-size: 16px;
}

.news-item h6 {
  color: var(--rostra-navy);
  font-weight: 700;
  font-size: 18px;
  margin: 6px 0;
}

.news-item p {
  color: var(--rostra-navy);
  margin-bottom: 1rem;
}

/* ======================================================================
   CONTACT
   ====================================================================== */
.contact-card {
  border-radius: var(--radius-300);
  background: #fff;
  box-shadow: 0 10px 80px rgba(0, 0, 0, .16);
  padding: 32px;
}

.form-control,
.form-textarea {
  border: 1px solid #9a9a9a;
  border-radius: var(--radius-100);
}

.form-textarea {
  height: 110px;
}

/* ======================================================================
   FOOTER
   ====================================================================== */
.prefooter {
  position: relative;
  background: center/cover no-repeat;
  height: 50px;
  mix-blend-mode: multiply;
  opacity: .71;
}

.footer {
  color: #fff;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .55)),
    url('../img/rostra-mountain-scene.png') center/cover no-repeat;
}

.footer a {
  color: #fff;
}

.mini {
  font-size: 15px;
}

/* ======================================================================
   ABOUT / STRATEGY
   ====================================================================== */
.strategie-wrap {
  position: relative;
  min-height: 450px;
}

.splash-img,
.splash-img-right {
  border-radius: var(--radius-600);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
}

.overlay-card,
.overlay-card-rg {
  background: rgba(255, 255, 255, .885);
  position: relative;
  z-index: 2;
  border-radius: var(--radius-600);
  overflow: hidden;
}

.leadish {
  color: #23364d;
  line-height: 1.8;
  font-size: 14px;
}


.about-img {
  position: absolute;
  top: 0;
  right: 0;
  height: auto;
  max-height: 600px;
}

/* Tiles */
.tiles {
  position: relative;
}

.tiles-bg {
  overflow: hidden;
}

.tile-head {
  background: var(--tile);
  border-radius: 12px 12px 0 0;
  padding: .83rem 1.25rem;
  text-align: center;
  font-weight: 700;
  color: var(--rostra-navy);
}

.tile-card {
  background: var(--tile);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
  padding: 20px;
}

.tile-text {
  color: var(--rostra-navy);
  text-align: center;
  font-size: 14.5px;
  line-height: 1.5;
}

.tiles-row {
  margin-top: -44px;
}

.stats-band {
  background: var(--rostra-deep);
  color: #fff;
  border-radius: var(--radius-300);
  position: relative;
}

.stats {
  background: #122437;
  border-radius: var(--radius-300);
  padding: 32px 16px;
  color: #fff;
}

.stat-num {
  font-size: 35px;
  line-height: 49px;
  font-weight: 400;
}

.stat-cap {
  font-size: 14px;
}

/* Careers */
.jobs {
  background: var(--rostra-deep);
  color: #fff;
}

.job-row {
  padding: 36px 0 30px;
}

.job-no {
  font-size: 66px;
  font-weight: 400;
  line-height: 1;
  min-width: 80px;
  color: #fff;
}

.job-title {
  font-size: 33px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.job-sub,
.readmore {
  font-size: 16px;
}

.readmore {
  opacity: .45;
}

.jobs hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .9);
  opacity: 1;
  margin: 26px 0 0;
}

.btn-apply {
  background: var(--rostra-gold);
  color: #fff;
  border: none;
  height: 39px;
  min-width: 184px;
  font-size: 16px;
  margin-top: 30px;
  padding-top: 8px;
}

.btn-apply:hover {
  background: #b18e39;
  color: #fff;
}

/* About imagery helper */
.hero-img {
  border-radius: .75rem;
}

@media (min-width:768px) {
  .hero-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
  }
}

@media (min-width:1200px) {
  .hero-img {
    height: 360px;
  }
}

/* ======================================================================
   GOVERNANCE (unified)
   ====================================================================== */
.gov-panel {
  background: var(--rostra-deep);
  color: #fff;
  border-radius: var(--radius-400);
  padding: 3.25rem 3.5rem 2.5rem;
}

.gov-panel h3,
.gov-panel h4 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 2.25rem;
  text-align: center;
}

.timeline {
  margin-top: .75rem;
  border-top: 1px solid rgba(255, 255, 255, .5);
}

.timeline-row {
  height: 65px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .5);
}

.timeline-row:first-child {
  border-top-color: rgba(255, 255, 255, .5);
}

.timeline-year {
  width: 70px;
  font-weight: 700;
  color: #fff;
}

.timeline-spacer {
  flex: 1;
}

/* Golden circular button */
.circle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--rostra-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  outline: 0;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(0, 0, 0, .12);
  transition: transform .06s ease-in-out, box-shadow .2s ease;
}

.circle-btn .chev {
  width: 12px;
  height: 6px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-origin: 50% 50%;
}

@media (prefers-reduced-motion:no-preference) {
  .circle-btn:active {
    transform: scale(.98);
  }
}

/* Collapsible panels */
.timeline-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease;
  border-bottom: 1px solid rgba(255, 255, 255, .5);
}

.timeline-panel:last-of-type {
  border-bottom: 0;
}

.timeline-panel.open {
  max-height: 1000px;
}

.timeline-panel-inner {
  padding: 16px 0 22px;
}

/* Links inside panels */
.abs-list {
  color: var(--rostra-navy);
  font-size: 16px;
  line-height: 23px;
}

.abs-list li {
  margin: 6px 0;
}

.abs-dot {
  width: 28px;
  height: 28px;
  background: var(--rostra-gold);
}

.abs-list a {
  color: var(--rostra-deep);
  text-decoration: none;
}

.abs-list a:hover {
  text-decoration: underline;
}

.abs-list.links-deep a,
.abs-list.links-deep a:visited {
  color: var(--rostra-deep);
  text-decoration-color: var(--rostra-deep);
}

.abs-list.links-deep a:hover,
.abs-list.links-deep a:focus {
  color: var(--rostra-deep);
  text-decoration-color: var(--rostra-deep);
}

/* ======================================================================
   INVESTMENT / HERO SPLIT
   ====================================================================== */
.hero-wrap {
  position: relative;
  padding-bottom: 1.25rem;
}

.hero-card {
  position: relative;
  z-index: 1;
  background: #000 url('../img/rostra-hero-main.png') center/cover no-repeat;
  border-radius: 0 0 var(--left-radius) 0;
  overflow: hidden;
  box-shadow: 0 .35rem 1.4rem rgba(0, 0, 0, .28);
  min-height: 760px;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;

}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(20, 37, 56, .86) 0%,
      rgba(20, 37, 56, .86) 46%,
      rgba(20, 37, 56, .76) 60%,
      rgba(20, 37, 56, .90) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 3.25rem;
}

.eyebrow,
.hero-text {
  font-size: 16px;
  color: #fff;
  font-weight: 300;
}

.photo-card {
  background: #000;
  z-index: 2;
  border-radius: var(--right-radius);
  overflow: hidden;
  box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .28);
}

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

@media (min-width: 992px) {
  .hero-card {
    height: var(--hero-left-h-lg);
  }

  .photo-abs {
    position: absolute;
    top: 145px;
    left: calc(58.333333% - var(--overlap-x, 60px));
    right: calc(var(--bs-gutter-x, 1.5rem) * .5);
    height: var(--hero-right-h-lg);
  }
}

@media (max-width: 991.98px) {
  .hero-card {
    min-height: 460px;
  }

  .photo-card {
    height: 360px;
    margin-top: 1rem;
    position: static;
  }
}

/* Metrics */
.metrics h3 {
  font-size: 44px;
  color: var(--rostra-navy);
  margin: 0;
}

.metrics small {
  font-size: 16px;
  font-weight: 300;
  color: var(--rostra-navy);
}

/* Deep section */
.deep-section {
  position: relative;
  background: var(--rostra-deep);
  padding: 3.5rem 0 4rem;
  margin-top: 3.5rem;
}

.deep-section .title,
.deep-section h6,
.deep-section p {
  color: #fff;
}

.deep-section .title {
  font-size: 33px;
  font-weight: 700;
}

.deep-section p {
  font-size: 16px;
  margin-bottom: 1.1rem;
}

.deep-section h6 {
  font-size: 18px;
  font-weight: 700;
  margin: 1.25rem 0 .25rem;
}

.deep-photo {
  border-radius: var(--radius-300);
  box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .3);
  height: 750px !important;
}

@media (min-width: 1200px) {
  .deep-photo {
    height: 750px !important;
  }
}

@media (max-width: 1199px) {
  .deep-photo {
    height: 600px !important;
  }
}

@media (min-width: 992px) {
  .deep-photo {
    position: absolute;
    right: 2.25rem;
    top: -240px;
    height: 100px;
    width: auto;
  }
}


/* Info band */
.info-band {
  border-radius: var(--radius-300);
  padding: 1.75rem 4.5rem 1.5rem 2.5rem;
  position: relative;
  overflow: visible;
}

.info-band h3 {
  font-size: 23px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 .5rem;
}

.info-band p {
  font-size: 16px;
  color: #fff;
  margin: 0;
}

.info-band .arrow {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  transform: translateY(-50%);
  width: 31.761px;
  height: 31.761px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.info-band .arrow img {
  width: 21.76px;
  height: 21.76px;
}

.band-deep {
  background: var(--rostra-deep);
}

.band-gold {
  background: var(--rostra-gold);
}

/* ======================================================================
   LEGAL DOCS / ACCORDION
   ====================================================================== */
.year-accordion .accordion-item {
  border: 0;
  margin-bottom: 1rem;
  border-radius: .5rem;
  overflow: hidden;
}

.year-accordion .accordion-button {
  box-shadow: none !important;
  color: #fff;
  font-size: 23px;
  line-height: 26px;
  align-items: flex-start;
}

.year-accordion .accordion-button:after {
  display: none;
}

.year-accordion .btn-gold {
  background-color: var(--rostra-gold);
}

.year-accordion .btn-deep {
  background-color: var(--rostra-deep);
}

.year-accordion .acc-head {
  display: flex;
  flex-direction: column;
}

.year-accordion .acc-title {
  line-height: 1;
  font-weight: 600;
}

.year-accordion .acc-sub {
  padding: 20px 0;
  font-size: 1rem;
  line-height: 1.2;
  color: #fff;
}

/* Right icon swap (collapsed vs expanded) */
.year-accordion .toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.year-accordion .toggle-icon .icon-expanded {
  display: none;
}

.year-accordion .accordion-button:not(.collapsed) .toggle-icon .icon-collapsed {
  display: none;
}

.year-accordion .accordion-button:not(.collapsed) .toggle-icon .icon-expanded {
  display: inline;
}

.year-accordion .toggle-icon i {
  font-size: 12px;
  line-height: 1;
}

/* Downloads */
.downloads-wrap {
  background: var(--soft);
  padding: 1.25rem;
}

.download-row {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin: .85rem 0;
}

.dot {
  position: relative;
  flex: 0 0 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--rostra-gold);
  display: inline-block;
  margin-top: .35rem;
}

.dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0);
  width: 14px;
  height: 14px;
}

.download-title {
  font-weight: 700;
  color: var(--rostra-navy);
  display: block;
}

.download-text {
  color: var(--rostra-navy);
  font-size: 16px;
}

/* ======================================================================
   CALENDAR CARD
   ====================================================================== */
.cal-wrap {
  margin-top: 1.25rem;
}

.cal-card {
  background: var(--rostra-deep);
  border-radius: 14px;
  padding: 2rem;
  height: 100%;
}

@media (min-width:768px) {
  .cal-card {
    padding: 2.25rem;
  }
}

@media (min-width:992px) {
  .cal-card {
    padding: 2.5rem;
  }
}

.cal-item+.cal-item {
  margin-top: 1.35rem;
}

.cal-date {
  color: var(--rostra-gold);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: .25rem;
  padding-top: 15px;
}

.cal-hr {
  height: 1px;
  background: #fff;
  border: 0;
  margin: .35rem 0 .65rem;
}

.cal-title {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 .25rem;
}

.cal-text {
  color: #fff;
  opacity: .95;
  font-size: 12.5px;
  line-height: 1.5;
  margin: 0;
  padding-top: 10px;
}

.cal-aside {
  height: 100%;
}

.cal-aside .img-wrap {
  height: 100%;
  background: #e9eef3;
  border-radius: 14px;
  overflow: hidden;
}

.cal-aside img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ======================================================================
   DATA TABLE
   ====================================================================== */
.data-table {
  background: var(--soft);
  border-radius: 12px;
  padding: 20px;
}

.data-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.data-row+.data-row {
  margin-top: 14px;
}

.data-label {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px;
  font-weight: 600;
  color: #1b2a3a;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .03);
  display: flex;
  align-items: center;
}

.data-value {
  padding: 10px 0;
  font-weight: 600;
  color: #1b2a3a;
  border-bottom: 2px solid var(--line);
  display: flex;
  align-items: center;
}

.data-row:last-child .data-value {
  border-bottom: none;
}

@media (max-width:575.98px) {
  .data-row {
    grid-template-columns: 1fr;
  }

  .data-value {
    padding-left: 12px;
    border-bottom: 2px solid var(--line);
  }
}

/* ======================================================================
   CHARTS / FIGURES
   ====================================================================== */
.chart-wrap {
  background: var(--soft);
  padding: 2rem 0 2.5rem;
}

.chart-toolbar {
  max-width: 1600px;
  border: 1px solid #707070;
  border-radius: 0;
  margin: auto;
  padding: .5rem 1rem;
  background: #fff;
}

.chart-img {
  display: block;
  margin: 1.5rem auto 0;
  max-width: 1674px;
}

.news-figure {
  width: 100%;
  height: auto;
  border-radius: .55rem;
}

@media (min-width: 992px) {
  .news-figure.tall-342 {
    height: 342px;
    object-fit: cover;
  }
}

/* ======================================================================
   DOC CARD
   ====================================================================== */
.doc-card {
  background: var(--rostra-deep);
  color: #f7fbff;
  border-radius: var(--card-radius);
  padding: 28px 34px 24px;
  box-shadow: none;
}

.doc-card .card-title {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 18px;
}

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

.doc-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--separator);
  line-height: 1.35;
  color: #dbe3ea;
  font-weight: 500;
  font-size: 17px;
}

.doc-row .label {
  flex: 1 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doc-row .dl-icon {
  width: 28px;
  height: 28px;
  background: var(--rostra-gold);
}

.doc-row .dl-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

/* ======================================================================
   ARTICLES
   ====================================================================== */
.text-navy-2 {
  color: var(--rostra-navy) !important;
}

.text-mutedish {
  color: var(--ink) !important;
}

.bg-navy {
  background-color: var(--rostra-deep);
}

.article-card {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .06);
}

.article-date {
  font-weight: 300;
  font-size: 16px;
  color: var(--rostra-navy);
}

.article-title {
  font-size: 66px;
  line-height: 73px;
  color: var(--rostra-navy);
  margin: .35rem 0 1rem;
}

.article-sub {
  font-size: 26px;
  line-height: 38px;
  color: var(--rostra-navy);
}

.article-body {
  color: var(--rostra-navy);
  font-size: 16px;
  line-height: 1.75rem;
}

/* ======================================================================
   FORMS
   ====================================================================== */
#contactForm .is-invalid {
  border-color: #dc3545;
}

#contactForm input,
#contactForm textarea {
  outline: none;
}

#contactForm input.is-invalid:focus,
#contactForm textarea.is-invalid:focus {
  box-shadow: 0 0 0 .2rem rgba(220, 53, 69, .25);
}

/* ======================================================================
   LAYOUT UTILITIES & RESPONSIVE TWEAKS
   ====================================================================== */
/* .hero-offset {
  margin-top: -20px;
} */



.hero-offset {
  margin-top: 60px;
}

/* > 1000px */
@media (min-width: 1001px) {
  .hero-offset {
    margin-top: -100px;
  }

  .container-max {
    max-width: 100% !important;
  }
}



@media (max-width: 1000px) {
  .hide-lt-lg {
    display: none !important;
  }

  .portfolio-responsive {
    width: 100% !important;
  }

  .about-wrap .container-max {
    padding-right: 10px !important;
  }
}


.small-btn {
  font-size: .675em;
}

@media (min-width: 992px) {
  .gap-block {
    margin-top: 30px;
    padding-bottom: 20px;
  }

  .gap-block-lg {
    margin-top: 72px;
  }
}

/* About wrap image reservation */
@media (min-width: 992px) {
  .about-wrap .about-img {
    position: absolute;
    top: 0;
    right: 0;
    width: var(--about-img-w);
    max-height: 500px;
    height: auto;
  }
}


/* Investment page spacing */
.investment-content {
  padding-top: 140px !important;
}

/* Rostra download icon color */
.rostra-download-icon {
  background: var(--rostra-gold);
}

/* ======================================================================
   HERO (SHORT MOBILE VARIANT) — fixed & simplified
   ====================================================================== */


/* Default (desktop): keep hidden if that's your intent */
.hero-mobile {
  display: none;
  position: relative;
  width: 100%;
  height: var(--hero-h);
  min-height: var(--hero-h);
  max-height: var(--hero-h);
  z-index: 0;
  overflow: hidden;
}

/* Mobile / Tablet: fixed 120px height */
@media (max-width: 1000px) {
  .hero-mobile {
    --hero-h: 120px;
    /* <- exact height cap */
    display: block;
    height: var(--hero-h);
    min-height: var(--hero-h);
    max-height: var(--hero-h);
  }
}

.hero-mobile::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/rostra-hero-main.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  /* keeps image responsive within 120px band */
  filter: contrast(1.05) saturate(1.02);
}

.hero-mobile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: .55;
  mix-blend-mode: multiply;
}



/* White panel that “curves up” into view below the short hero */
.panel-curved-top-mobile {
  position: relative;
  z-index: 1;
  background: #fff;
  overflow: visible;
  /* was: hidden; don't clip following content */
  margin-top: calc(-1 * var(--curve));
  /*  padding-top: calc(var(--curve) + 1.5rem);*/
  padding-top: calc(var(--curve) + 0.01rem);
  padding-bottom: 1.5rem;
  /* give space so next section never tucks under */
  isolation: isolate;
  /* keep any children from leaking stacking contexts */
}

main.pt-0.pb-0 {
  position: relative;
  z-index: 2;
}

/* Apply curved corners ONLY on ≤1200px */
@media (max-width: 1000px) {
  .panel-curved-top-mobile {
    border-top-left-radius: var(--curve);
    border-top-right-radius: var(--curve);
  }
}

/* Ensure <main> is always visible inside the curved panel */
.panel-curved-top-mobile main {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ======================================================================
   TOOLING / VIEWPORT HELPERS
   ====================================================================== */
.tvwrap {
  height: 60vh;
  min-height: 420px;
  width: 100%;
}

/* Bootstrap tooltips */
.custom-tooltip-content {
  max-width: 720px;
  padding: 1px;
  font-size: 1.1em;
}

.tooltip {
  --bs-tooltip-max-width: 720px;
}

.tooltip .tooltip-inner {
  white-space: normal;
  text-align: left;
}

.tooltip.wide-tooltip {
  --bs-tooltip-max-width: 720px;
}

.tooltip.wide-tooltip .tooltip-inner {
  white-space: normal;
  text-align: left;
}



/* Ensure the about image is hidden below 1200px */
@media (max-width: 1000px) {
  .about-img {
    display: none !important;
  }
}

/* And explicitly show it from 1200px upward (overrides Bootstrap d-lg-block) */
@media (min-width: 1200px) {
  .about-img {
    display: block !important;
  }
}














/* Unify button look/size and keep above content */
.carousel-btn {
  width: 38px;
  height: 38px;
  z-index: 2;
}

/* Desktop (≥992px): overlay arrows on the slide edges */
@media (min-width: 992px) {
  .carousel-item {
    position: relative;
  }

  .carousel-content-wrapper {
    position: relative;
  }

  .carousel-btn.prev {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }

  .carousel-btn.next {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }
}

/* Mobile (<992px): arrows outside the centered content, no overlap */
@media (max-width: 991.98px) {
  .carousel-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    /* center the whole content block */
    gap: 1rem;
    /* space between button and content */
    padding-inline: .25rem;
    /* tiny breathing room at edges */
  }

  .carousel-btn {
    position: static;
    /* remove absolute overlay */
    transform: none;
    flex-shrink: 0;
  }

  .carousel-body {
    flex: 1 1 auto;
    /* let content take remaining width */
    min-width: 0;
  }

  /* Optional: center text on mobile */
  .carousel-body .text-lg-start {
    text-align: center !important;
  }
}


/* ======================================================================
   NAVBAR (with custom 1360px breakpoint)
   ====================================================================== */
/* Base */
/* Base (unchanged basics) */
.navbar {
  padding: 1.5rem 0 1.9rem;
}

.navbar-nav {
  width: 100%;
}

.navbar-nav .nav-link {
  font-size: 18px;
}

.btn {
  font-size: 14px;
}

.lang a {
  opacity: .5;
}

.lang a.active {
  opacity: 1;
}

.container-max {
  padding-right: 0;
}

/* ---------- ≤1190px: hamburger visible + vertical dropdown ---------- */
@media (max-width: 1020px) {

  /* Show toggler and make collapse vertical */
  .navbar .navbar-toggler {
    display: inline-block !important;
  }

  .navbar .navbar-collapse.collapse {
    display: none !important;
  }

  .navbar .navbar-collapse.collapse.show {
    display: block !important;
    width: 100%;
  }

  /* Make nav items stack vertically */
  .navbar .navbar-nav {
    flex-direction: column !important;
  }

  /* Disable hover-open; only click/tap */
  /* .navbar .dropdown:hover>.dropdown-menu,
  .navbar .dropdown:focus-within>.dropdown-menu {
    display: none !important;
  } */

  /* CRITICAL: make dropdowns behave like stacked panels */
  .navbar .dropdown-menu {
    position: static !important;
    /* no absolute flyout */
    float: none !important;
    display: none;
    /* hidden until Bootstrap adds .show */
    width: 100%;
    margin: 0;
    transform: none !important;
    inset: auto !important;
    box-shadow: none;
    /* optional: cleaner stacked look */
  }

  /* When Bootstrap toggles the dropdown, show it */
  .navbar .dropdown-menu.show,
  .navbar .dropdown.show>.dropdown-menu {
    display: block !important;
  }
}

/* ---------- ≥1191px: desktop hover/flyout, hamburger hidden ---------- */
@media (min-width: 1020px) {
  .navbar .navbar-toggler {
    display: none !important;
  }

  .navbar .navbar-collapse {
    display: flex !important;
    flex-basis: auto !important;
  }

  .navbar .dropdown:hover>.dropdown-menu,
  .navbar .dropdown:focus-within>.dropdown-menu {
    display: block;
  }

  .navbar .dropdown-toggle::after {
    display: none !important;
  }

  .navbar .dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    right: auto;
    margin-top: 0;
    transform: none !important;
  }
}

@media (max-width: 1199px) {
  .container-nav {
    max-width: 1140px !important;
  }

  .ms-md-auto {
    margin-left: 0px !important;
  }
}

@media (max-width: 1119px) {
  .collapse.navbar-collapse {
    padding-left: 10px !important;
  }
}

/******************************************************************************************************************/

/* @media (max-width: 1365px) {
  .hero-logo {
    width: 100px;
    height: 100px;
    margin: 2.5rem auto .2rem;
    background-size: contain;
  }
} */

/* @media (max-width: 1170px) {
  .hero-logo {
    width: 60px;
    height: 60px;
    margin: 0.5rem auto .2rem;
    background-size: contain;
  }
} */

@media (max-width: 994px) {
  .hero-logo {
    width: 140px;
    /* scale down */
    height: 140px;
    margin: 2.5rem auto .2rem;
    background-size: contain;
  }
}

@media (max-width: 1365px) {
  .display-hero-title {
    font-size: 36px;
    /* scale down for smaller screens */
    line-height: 1.2;
    letter-spacing: .1px;
  }
}


/******************************************************************************************************************/


@media (max-width: 1700px) {
  .col-12.col-md-8.ps-md-5.mt-3.mt-md-5 {
    padding: 0 30px 0 30px !important;
  }
}



.custom-img-right {
  width: 100% !important;
  min-height: 450px !important;
  object-fit: cover;
  object-position: left;
}


@media (min-width: 993px) {
  .header-container {
    max-width: 100% !important;
  }
}

@media (min-width: 768px) {
  .header-container {
    max-width: 100%;
  }
}






@media (max-width: 1000px) {
  .panel-curved-top-mobile {
    border-top-left-radius: var(--curve);
    border-top-right-radius: var(--curve);
    padding-top: 0px;
  }
}


.splash-img {
  position: absolute;
  right: 0;
  top: 0;
  width: 60%;
  z-index: 1;
}

.splash-img-right {
  position: absolute;
  left: 0;
  top: 0;
  width: 60%;
  z-index: 1;
}


@media (max-width: 1399px) {
  .splash-img {
    position: absolute;
    right: 0;
    top: 0;
    width: 70%;
    z-index: 1;
  }

  .splash-img-right {
    position: absolute;
    left: 0;
    top: 0;
    width: 80%;
    z-index: 1;
  }
}


/* @media (min-width: 1399px) {
  .splash-img {
    position: absolute;
    right: 0;
    top: 0;
    width: 80%;
    z-index: 1;
  }

  .splash-img-right {
    position: absolute;
    left: 0;
    top: 0;
    width: 80%;
    z-index: 1;
  }
} */


@media (max-width: 1000px) {
  .hide-about-cover-lt-lg {
    /* display: none !important; */
    width: 100%;
    padding-top: 200px;
  }
}







@media (max-width: 1700px) {
  .col-12.col-md-8.ps-md-5.mt-3.mt-md-5 {
    padding: 0 30px 0 30px !important;
    width: 80%;
  }
}







/* ======================================================================
   ABOUT US
   ====================================================================== */

/* prevent text from overlapping the image */
.about-header-wrap {
  display: flex;
  flex-wrap: nowrap;
  line-height: 1.8 !important;
}

/* fixed, non-responsive image column */
.about-header-wrap .img-col {
  flex: 0 0 350px;
  max-width: 320px;
  margin-left: -15px !important;
}

/* the image itself never exceeds the column */
.about-header-wrap .img-col img {
  display: block;
  width: 100%;
  /* fill the fixed column, not the viewport */
  height: auto;
  max-height: 550px;
  /* your original cap */
  object-fit: contain;
}


/* optional: improve long-word / link breaking */
.about-header-wrap .text-col p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* below lg you hid the image; ensure layout stacks nicely */
@media (max-width: 991.98px) {
  .about-header-wrap {
    flex-wrap: wrap;
  }

  .about-header-wrap .img-col {
    flex-basis: 100%;
    max-width: 100%;
  }

  .about-header-wrap .text-col {
    padding-left: 0;
  }
}

.img-top-right-rounded {
  border-top-right-radius: 15px;
  /* adjust px as needed */
}

.col-about-9 {
  flex: 0 0 auto;
  width: 73%;
}








/* Wrapper */
.adhoc-header-wrap {
  position: relative;
  overflow: hidden;
  /* keep any accidental overflow hidden */
}

/* Fixed, non-responsive image pinned to the right */
.adhoc-header-wrap .about-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  /* stretch vertically so it hugs the right edge */
  width: 240px;
  /* pick your fixed sidebar width */
  height: 100%;
  object-fit: contain;
  /* keep aspect ratio within the vertical space */
  pointer-events: none;
  /* purely decorative */
}

/* Make room for the right image so text never overlaps it */
.adhoc-header-wrap .container-max {
  /* padding-right: 264px; */
  padding-right: 264px;
  /* width + a little gutter (240 + 24) */
}

/* Safety: allow text to shrink/wrap cleanly */
.adhoc-header-wrap .container-max p {
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}

/* Below lg, the image is hidden (Bootstrap .d-none .d-lg-block), so remove the extra padding */
@media (max-width: 991.98px) {
  .adhoc-header-wrap .container-max {
    padding-right: 0;
  }
}













/* Force dropdowns open in collapsed (mobile) mode */
@media (max-width: 1019px) {

  /* adjust breakpoint to match navbar-expand-md */
  .navbar .dropdown-menu {
    display: block !important;
    position: static !important;
    float: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding-left: 1rem;
    /* indent for submenu items */
  }

  .navbar .dropdown-toggle::after {
    display: none !important;
    /* remove caret */
  }
}



@media (min-width: 1019px) {
  .align-items-md-center {
    align-items: left !important;
  }
}

@media (min-width: 768px) {
  .align-items-md-center {
    text-align: left !important;
  }
}

@media (max-width: 1020px) {
  .navbar .navbar-nav {
    flex-direction: column !important;
    display: flow;
    margin-left: 50px;
  }
}


.img-top-right-rounded {
  border-top-right-radius: 15px;
}

.img-top-left-rounded {
  border-top-left-radius: 15px;
}

.about-wrap .container-max {
  padding-right: calc(var(--about-img-w) - 3rem);
}

@media (min-width: 1499px) {
  .about-wrap .container-max {
    padding-right: calc(var(--about-img-w) - 1rem) !important;
  }
}


@media (max-width: 999px) {
  .about-wrap .container-max {
    padding-right: 0px !important;
  }
}



.about-header-wrap .text-col {
  /* flex: 1 1 auto; */
  min-width: 69%;
  padding-top: 35px;
  padding-left: 80px;
  padding-right: 25px;
  /* padding-left: var(--bs-gutter-x, 1.5rem); */
}


.about-wrap {
  line-height: 1.8 !important;
}

/* .about-wrap .container-max {
  padding-right: calc(var(--about-img-w) - 3rem);
} */


@media (max-width: 1399px) {
  .leadish {
    color: #23364d;
    line-height: 1.8;
    font-size: 12.5px;
  }
}



@media (min-width: 1001px) {
  .hero-offset-right {
    margin-top: -145px;
  }
}


@media (max-width: 1019px) {

  .deep-photo {
    display: none !important;
  }

  .section-title,
  .mb-3 {
    text-align: left !important;
  }

  .align-items-end,
  .metrics {

    padding-left: 0px !important;
    padding-right: 0px !important
  }

  .pt-2,
  .pb-4,
  .col-10 {
    width: 100% !important;

  }

  .hide-cover-lt-lg {

    margin-top: -290px;
    z-index: 1;
    width: 100%;
    text-align: center;
    display: ruby;
    padding-left: 20px !important;
  }

  .photo-card {

    width: 95%;
  }

  .investment-content {
    padding-top: 20px !important;
    text-align: center;
    padding-left: 30px;
    padding-right: 0px;
    font-size: 12.5px !important;
    line-height: 1.8 !important;
  }


  .col-12-under-1700 {
    padding-right: 0px !important;

  }


  .hero-card {
    position: relative;
    z-index: 1;
    background: #000 url(../img/rostra-hero-main.png) center / cover no-repeat;
    border-radius: 0 !important;
    overflow: hidden;
    box-shadow: 0 .35rem 1.4rem rgba(0, 0, 0, .28);
    min-height: 760px;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }



  .ft-hide {
    height: 0px !important;
  }

}

/* @media (max-width: 1200px) {
  .col-content-under-1700 {
    padding-left: 80px !important;
  }
} */










@media (max-width: 1019x) {

  .investment-hero-content {
    width: 100% !important;
  }

  .col-12-under-1700 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .col-12.col-md-8.ps-md-5.mt-3.mt-md-5 {
    padding: 30px !important;
  }


}

@media (min-width: 768px) {
  .col-md-8 {
    flex: 0 0 auto;
    width: 85%;
  }
}

/************************************************************************************************************************************************/
/* Responsive text + left alignment for investment-content/hero-text */

/* Title */
.hero-wrap .investment-content .display-title {
  font-size: clamp(2rem, 1.2rem + 1.8vw, 3.5rem);
  line-height: 1.1;
}

/* Body */
.hero-wrap .investment-content .hero-text {
  font-size: clamp(0.94rem, 0.7rem + 0.6vw, 1.125rem);
  line-height: clamp(1.45, 1.3 + 0.1vw, 1.7);
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

/* Adjust padding-left / margin-left responsively */
@media (max-width: 1600px) {
  .hero-wrap .hero-content {
    padding-left: var(--bs-gutter-x, 1rem) !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 992px) {
  .hero-wrap .hero-content {
    padding-left: var(--bs-gutter-x, .75rem) !important;
  }
}



.team-name {
  color: var(--rostra-deep) !important;
  font-weight: 600;
  font-size: 16px;
  padding-top: 15px !important;
}

.team-role {
  color: var(--rostra-deep) !important;
  /* font-weight: 600; */
  font-size: 14px;
  padding-top: 5px !important;
}




@media (max-width: 1399px) {
  .about-cg-panel-eng {
    padding-top: 83px !important;
  }

  .about-leadership-panel-eng {
    padding-top: 37px !important;
  }

  .about-career-panel-eng {
    padding-top: 78px !important;
  }




  .about-cg-panel-de {
    padding-top: 85px !important;
  }

  .about-leadership-panel-de {
    padding-top: 38px !important;
  }

  .about-career-panel-de {
    padding-top: 68px !important;
  }







  .portfolio-investment1-panel-eng {
    padding-top: 89px !important;
  }

  .portfolio-investment2-panel-eng {
    padding-top: 68px !important;
  }

  .portfolio-investment3-panel-eng {
    padding-top: 90px !important;
  }



  .portfolio-investment1-panel-de {
    padding-top: 78px !important;
  }

  .portfolio-investment2-panel-de {
    padding-top: 65px !important;
  }

  .portfolio-investment3-panel-de {
    padding-top: 77px !important;
  }

}










@media (max-width: 1199px) {
  .about-strategy-panel-eng {
    padding-top: 28px !important;
  }

  .about-cg-panel-eng {
    padding-top: 38px !important;
  }

  .about-leadership-panel-eng {
    padding-top: 18px !important;
  }

  .about-career-panel-eng {
    padding-top: 50px !important;
  }




  .about-strategy-panel-de {
    padding-top: 0px !important;
  }

  .about-cg-panel-de {
    padding-top: 38px !important;
  }

  .about-leadership-panel-de {
    padding-top: 5px !important;
  }

  .about-career-panel-de {
    padding-top: 23px !important;
  }







  .portfolio-investment1-panel-eng {
    padding-top: 45px !important;
  }

  .portfolio-investment2-panel-eng {
    padding-top: 39px !important;
  }

  .portfolio-investment3-panel-eng {
    padding-top: 46px !important;
  }





  .portfolio-investment1-panel-de {
    padding-top: 35px !important;
  }

  .portfolio-investment2-panel-de {
    padding-top: 27px !important;
  }

  .portfolio-investment3-panel-de {
    padding-top: 36px !important;
  }



  .portfolio-adjustment {
    padding-right: 0px !important;
    padding-left: 0px !important;
  }

}

@media (min-width: 1200px) {
  .portfolio-adjustment {
    padding-left: 0px !important;
    padding-right: 5rem !important
  }
}






/*******************************************************/


@media (max-width: 768px) {


  .portfolio-investment1-panel-eng {
    padding-top: 0px !important;
    margin-top: -40px;
  }

  .about-cg-panel-eng {
    padding-top: 10px !important;
    margin-top: -180px;

    width: 85%;
    margin-left: 9% !important;
    margin-right: auto;
  }

  .about-leadership-panel-eng {
    padding-top: 0px !important;
    margin-top: -220px;

    width: 85%;
    margin-left: 9% !important;
    margin-right: auto;
  }


  .about-career-panel-eng {
    padding-top: 0px !important;
    margin-top: -160px !important;

    width: 85%;
    margin-left: 9% !important;
    margin-right: auto;
  }


  .about-cg-panel-de {
    padding-top: 10px !important;
    margin-top: -180px;

    width: 85%;
    margin-left: 9% !important;
    margin-right: auto;
  }

  .about-leadership-panel-de {
    padding-top: 0px !important;
    margin-top: -220px;

    width: 85%;
    margin-left: 9% !important;
    margin-right: auto;
  }

  .about-career-panel-de {
    padding-top: 0px !important;
    margin-top: -160px !important;

    width: 85%;
    margin-left: 9% !important;
    margin-right: auto;
  }

  .hero {
    min-height: 60vw;
    height: 175vw;
  }
}

/*******************************************************/

@media (max-width: 1699px) {

  .hero {
    min-height: 55vw;

  }
}



@media (max-width: 1499px) {

  .hero {
    min-height: 60vw;

  }
}


@media (max-width: 1499px) {
  .tile-card {
    min-height: 150px;
  }
}


@media (max-width: 1399px) {
  .tile-card {
    min-height: 150px;
  }
}


@media (max-width: 1199px) {
  .tile-card {
    min-height: 150px !important;
  }
}


.tile-card {
  min-height: 130px;
}


/* @media (min-width: 576px) {

  .container,
  .container-sm {
    max-width: 90%;
  }
} */

@media (max-width: 1000px) {
  .col-7 {
    flex: 0 0 auto;
    width: 100%;
    text-align: center !important;

  }

  .st-mobile {
    padding-top: 200px !important;
  }

  .splash-img,
  .splash-img-right {
    box-shadow: 0 !important;
  }


  .splash-img,
  .splash-img-right {
    border-radius: 0 !important;
    overflow: hidden;
    box-shadow: none !important;
  }

  /* .overlay-card,
  .overlay-card-rg {
    border-radius: 0 !important;
  } */

  .overlay-card {
    border-radius: none !important;
  }


  .strategie-wrap {
    text-align: center;
    margin-left: -35px;
    margin-right: -10px;

  }

  .about-header-wrap .text-col {
    padding-left: 0px;
    padding-right: 0px;
    font-size: 12.5px;
    line-height: 1.8 !important;

  }


}


.fixed-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px !important;
  height: 28px !important;
  background-color: #c09d43;
  border: 1px solid #c09d43 !important;
  border-radius: 50% !important;
  flex: 0 0 28px !important;
  /* Prevent flex resizing */
}

.fixed-circle i {
  font-size: 12px;
  /* locks icon size */
  line-height: 1;
  /* keeps it centered vertically */
}


@media (max-width: 1000px) {
  .about-wrap .container-max {
    padding-right: 0px !important;
    font-size: 12.5px !important;
    line-height: 1.8 !important;
  }
}







@media (max-width:768px) {

  .about-strategy-panel-eng {
    padding-top: 0px !important;
    margin-top: -50px;

    width: 85%;
    margin-left: 9% !important;
    margin-right: auto;

  }

  .about-strategy-panel-de {
    padding-top: 0px !important;
    margin-top: -50px;

    width: 85%;
    margin-left: 9% !important;
    margin-right: auto;
  }

  .about-img-a-1 {
    padding-top: 150px !important;
  }

  .about-img-a-2 {
    padding-top: 100px !important;
  }

  .about-img-a-3 {
    padding-top: 235px !important;
  }

  .ft-hide {
    height: 50px !important;
  }

  .about-wrap .container-max {
    text-align: center !important;
    padding-left: 0px !important;
    ;
  }

  .container-max .py-4 {
    padding-left: 0px !important;
    padding-right: 0px !important;
    font-size: 12.5px !important;
    line-height: 1.8 !important;
    text-align: center !important;
  }

  .hero-offset .container-max {
    padding-left: 0px !important;
    padding-right: 0px !important;
    font-size: 12.5px !important;
    line-height: 1.8 !important;
    text-align: center !important;
  }

  .cg-content {
    margin-top: -320px !important;
  }

  .leadership-content {
    margin-top: -220px !important;
  }

  .portfolio-content {
    margin-top: -10px !important;
  }

  .strategy-content {
    margin-top: -150px !important;
  }

  .strategy-content-de {
    margin-top: -110px !important;
  }

  /* .section-title,
  .section-title-dark {
    margin-top: -150px !important;
  } */
}

@media (min-width:768px) {
  .ft-hide {
    height: 50px !important;
  }
}

/* .ft-hide {
  height: 0px !important;
} */



















/* Base: make the wrapper a positioning context for the arrows */
.carousel-content-wrapper {
  position: relative;
  align-items: center;
}

/* ======================================
   DESKTOP (matches your screenshot): ≥1200
   ====================================== */


/* ======================================
   TABLET & MOBILE: <1200 (stacked layout)
   ====================================== */
@media (max-width: 1199.98px) {
  .carousel-content-wrapper {
    display: flex;
    flex-direction: column !important;
    text-align: center;
  }

  .carousel-content-wrapper .portfolio-img {
    padding: 0 !important;
    margin-bottom: 1.5rem !important;
    width: 100%;
  }

  .carousel-content-wrapper .portfolio-img img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .carousel-content-wrapper .carousel-body {
    width: 100%;
  }

  .carousel-content-wrapper .carousel-body .col-lg-8,
  .carousel-content-wrapper .carousel-body .col-lg-4 {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    padding: 0 1rem !important;
  }

  /* Read more + arrows aligned in one row */
  .carousel-body .btn-group-controls {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    /* spacing between buttons */
    margin-top: 1.25rem;
  }

  /* Arrows behave like normal inline buttons */
  .carousel-content-wrapper .carousel-btn {
    position: static !important;
    width: 36px;
    height: 36px;
    transform: none !important;
  }

  .carousel-content-wrapper.hide-arrows .carousel-btn.prev,
  .carousel-content-wrapper.hide-arrows .carousel-btn.next {
    display: none !important;
  }
}

@media (min-width: 993px) {
  .investment-footer {
    padding-right: 120px !important;
  }

  .tile-head {
    margin-top: 15px !important;
  }
}

@media (max-width: 993px) {
  .tile-head {
    margin-top: 15px !important;
  }

  .tiles-bg {
    margin-bottom: -59px !important;
  }
}

@media (max-width: 1119px) {
  .investment-footer {
    padding-right: 30px !important;
    text-align: center !important;
  }
}

/* Show dropdown on hover for lg+ (keeps parent link clickable) */
@media (min-width: 992px) {
  .navbar .dropdown:hover>.dropdown-menu {
    display: block;
    margin-top: 0;
    /* avoid jump if you have transitions */
  }

  /* Hide the split toggle caret on desktop */
  .navbar .dropdown .dropdown-toggle-split {
    display: none !important;
  }
}




/* Optional: button alignment on mobile (keeps caret snug next to label) */
.navbar .dropdown .dropdown-toggle-split {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  line-height: 1.5;
}



.navbar .dropdown .dropdown-toggle-split {
  display: none !important;
}

/* portfolio-adjustment */


@media (max-width: 1000px) {
  .about-wrap .container-max {
    padding-right: 0px !important;
    font-size: 12.5px !important;
    line-height: 1.8 !important;
    text-align: center !important;
  }
}



@media (max-width: 994px) {
  .hero-sub {
    max-width: 600px;
    margin: 16px auto 28px;
    font-size: 14px;
    padding-left: 50px;
    padding-right: 50px;
  }
}

@media (max-width: 991px) {
  .row.g-4.pb-4.pb-5 .col-lg-4 {
    padding-right: 0 !important;
    padding-left: 20px !important;
  }

  .front-news-heading {
    text-align: left !important;
    padding-left: 6px !important;
  }

  .front-news-card {
    text-align: left !important;
  }

}




/* Place ONLY the "All News" pill next to the News heading on ≤991px */
@media (max-width: 991.98px) {

  /* Anchor the news block for absolute positioning of the last pill */
  .front-news-heading+.row {
    position: relative;
  }

  /* Keep space on the right of the pills row so the absolute pill doesn't overlap */
  .front-news-heading+.row .d-flex.flex-wrap.gap-2.mt-0.mb-3 {
    padding-right: 120px;
    /* tweak if your All News pill is wider/narrower */
  }

  /* Target the last pill-news (which is "All News" in the provided HTML) */
  .front-news-heading+.row .pill-news:last-child {
    position: absolute;
    right: 0;
    margin-right: 14px !important;
    top: -2.2rem;
    /* vertically aligns with the News heading; adjust ±0.25rem if needed */
    margin: 0;
    /* remove the gap spacing so it sits flush on the heading line */
    z-index: 2;
    /* ensure it sits above the row if needed */
    padding-right: 20px !important;
  }
}


@media (max-width: 991.98px) {
  img[alt="Rostra AG"][src*="rostra-logo-footer.png"] {
    content: url("../img/rostra-footer-small.png");
    max-height: 120px !important;
    /* optional: adjust for the smaller image */
  }

  .contact-card-adjustment {
    padding-bottom: 0px !important;
  }

  .contact-form-bottom {
    padding-bottom: 0px !important;
    margin-bottom: -20px !important
  }

  .display-title {
    text-align: center !important;
  }

  .leadish {
    text-align: center !important;
  }
}


@media (max-width: 768px) {
  .about-header-wrap {
    padding-top: 0px !important;
    margin-top: -50px;
    width: 85%;
    margin-left: 9% !important;
    margin-right: auto;
  }

  .section-header {
    font-size: 40px !important;
  }
}