:root {
  --ksg-navy: #01113B;
  --ksg-deep: #01113B;
  --ksg-accent: #6F85B2;
  --ksg-soft: #EEF2F8;
  --ksg-border: #DDE5F2;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

section[id],
article[id],
div[id^="service-"] {
  scroll-margin-top: 24px;
}

.ksg-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000000;
  padding: 10px 16px;
  color: var(--ksg-deep);
  background: #ffffff;
  border: 2px solid var(--ksg-accent);
  transform: translateY(-150%);
}

.ksg-skip-link:focus {
  transform: translateY(0);
}

.ksg-brand {
  display: inline-flex;
  align-items: center;
  min-width: 184px;
  color: var(--ksg-deep);
}

.ksg-mark {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-right: 10px;
  color: var(--ksg-accent);
  background: var(--ksg-navy);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.ksg-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.ksg-brand-copy strong {
  color: var(--ksg-deep);
  font-size: 14px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.ksg-brand-copy small {
  margin-top: 4px;
  color: #667d87;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.35em;
}

.ksg-demo-socials a {
  display: inline-flex;
  min-width: 24px;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.home-hero {
  clear: both;
}

.ksg-hero {
  position: relative;
  display: flex;
  min-height: 680px;
  height: auto;
  padding: 120px 0 145px;
  align-items: center;
  background-position: center;
}

.ksg-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1, 17, 59, 0.94) 0%, rgba(1, 17, 59, 0.79) 38%, rgba(1, 17, 59, 0.18) 72%, rgba(1, 17, 59, 0.08) 100%);
}

.ksg-hero h1 {
  max-width: 820px;
  font-size: 64px;
  line-height: 72px;
  letter-spacing: normal;
}

.ksg-hero-copy {
  max-width: 720px;
  line-height: 1.75;
  opacity: 0.94;
}

.ksg-eyebrow {
  letter-spacing: 0.13em;
}

.btn-hero-outline {
  min-height: 54px;
  padding: 15px 23px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.btn-hero-outline:hover {
  color: var(--ksg-deep);
  background: #ffffff;
}

.ksg-arrow {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  margin-left: 7px;
  color: #ffffff;
  transition: transform 0.2s ease;
}

.ksg-arrow svg {
  width: 15px;
  height: 15px;
}

.btn.btn-link .ksg-arrow {
  color: #ffffff;
}

a:hover .ksg-arrow {
  transform: translateX(4px);
}

.ksg-section-head {
  max-width: 850px;
  margin-inline: auto;
}

.ksg-audiences {
  position: relative;
}

.ksg-audience-card {
  display: flex;
  height: 100%;
  margin-bottom: 0;
  padding: 0;
  flex-direction: column;
  overflow: hidden;
}

.ksg-audience-image {
  display: block;
  height: 260px;
  flex: 0 0 260px;
  overflow: hidden;
}

.ksg-audience-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ksg-audience-card .card-info {
  display: flex;
  padding: 26px 32px 28px;
  flex: 1;
  flex-direction: column;
}

.ksg-audience-card h3 {
  min-height: 0;
  margin-bottom: 10px !important;
  font-size: 24px;
  line-height: 1.3;
}

.ksg-audience-card .card-info p {
  margin-bottom: 18px !important;
  line-height: 1.65 !important;
}

.ksg-audience-cta {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  padding: 2px 0 !important;
  font-size: 15px !important;
  font-weight: 600;
  line-height: 1.35 !important;
}

.ksg-audience-cta .ksg-arrow {
  width: 28px !important;
  height: 28px !important;
  line-height: 28px !important;
}

.ksg-solutions {
  display: block;
  overflow: hidden;
}

.ksg-solution-row {
  margin-right: 0;
  margin-bottom: 60px;
  margin-left: 0;
  background: #f7fafb;
}

.ksg-solution-row:last-child {
  margin-bottom: 0;
}

.ksg-solution-media {
  position: relative;
  height: auto;
  min-height: 560px;
  align-self: stretch;
  overflow: hidden;
}

.ksg-solution-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.ksg-solution-copy {
  padding: 48px 46px;
}

@media (min-width: 1200px) {
  #cargo-solutions .ksg-solution-copy {
    padding-top: 22px;
    padding-bottom: 22px;
  }
}

@media (min-width: 1400px) {
  .ksg-solution-row {
    height: 632px;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .ksg-solution-row {
    height: 731px;
  }
}

.ksg-solution-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ksg-solution-list li {
  display: flex;
  align-items: flex-start;
  color: var(--ksg-deep);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.ksg-solution-list li span {
  display: inline-grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  margin-right: 9px;
  color: var(--ksg-navy);
  background: var(--ksg-accent);
  border-radius: 50%;
  font-size: 12px;
}

.ksg-services {
  display: block;
  position: relative;
  background: #f2f3f4;
}

.ksg-why {
  display: block;
}

.ksg-services .box-background-offer .bg-under {
  top: 170px;
}

.ksg-service-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
}

.ksg-service-card .card-image {
  display: flex;
  height: 96px;
  align-items: center;
}

.ksg-service-icon {
  display: inline-grid;
  width: 86px;
  height: 86px;
  place-items: center;
  background: #EEF2F8;
  border: 1px solid #DDE5F2;
  border-radius: 50%;
}

.ksg-service-icon i {
  color: var(--ksg-navy);
  font-size: 44px;
  line-height: 1;
}

.ksg-service-card .card-info {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.ksg-service-card h3 {
  min-height: 54px;
  font-size: 20px;
  line-height: 1.35;
}

/* Theme-native service mega menu, expanded from five to seven visual columns. */
.header .main-menu li div.sub-menu.five-col.ksg-service-mega-theme {
  width: min(1500px, calc(100vw - 48px));
  padding: 30px 24px;
  overflow: visible;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 0;
  left: 50%;
  right: auto;
  margin: 0;
  transform: translateX(-50%);
}

.header .main-menu li:hover > div.sub-menu.five-col.ksg-service-mega-theme,
.header .main-menu li:focus-within > div.sub-menu.five-col.ksg-service-mega-theme {
  display: grid;
  opacity: 1;
  visibility: visible;
}

.header .main-menu li div.sub-menu.five-col.ksg-service-mega-theme .menu-col {
  width: auto;
  min-width: 0;
  padding: 0 15px;
}

.ksg-service-mega-theme .menu-col > h6 {
  min-height: 42px;
  margin-bottom: 12px !important;
  font-size: 15px;
  line-height: 1.35;
}

.header .main-menu .ksg-service-mega-theme .menu-col > h6 > a {
  display: inline;
  padding: 0;
  color: var(--ksg-navy);
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
}

.ksg-service-mega-theme .menu-image {
  height: 118px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #eef3f5;
}

.header .main-menu .ksg-service-mega-theme .menu-image a {
  display: block;
  height: 100%;
  padding: 0;
}

.ksg-service-mega-theme .menu-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ksg-language-direct {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.ksg-language-direct > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ksg-service-card .box-button-offer {
  margin-top: auto;
}

.ksg-service-cta {
  display: inline-flex;
  align-items: center;
}

.ksg-why {
  background-color: #ffffff;
  background-position: center 70px;
  padding-bottom: clamp(28px, 2.5vw, 42px);
}

.ksg-why .box-image-how > img {
  min-height: 585px;
  object-fit: cover;
}

.ksg-why .box-info-bottom-img {
  bottom: 0;
}

.ksg-why-list {
  padding-top: 0;
}

.ksg-why-list li {
  padding-bottom: 30px;
}

.ksg-why-list li:last-child {
  padding-bottom: 0;
}

.ksg-why-media,
.ksg-why-content {
  margin-bottom: 0;
}

.ksg-why-list li .image-how .img img {
  max-width: 48px;
  max-height: 48px;
}

.ksg-why-list .info-how h3 {
  margin-bottom: 5px;
  font-size: 19px;
  line-height: 1.4;
}

.ksg-global-reach {
  position: relative;
  overflow: hidden;
  background: #f2f5f8;
}

.ksg-global-reach::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 15%, rgba(1, 17, 59, 0.08), transparent 36%);
}

.ksg-global-reach .container {
  position: relative;
  z-index: 1;
}

#ksg-global-network .ksg-global-head {
  max-width: 940px;
  margin-inline: auto;
}

#ksg-global-network .ksg-global-head > p {
  max-width: 820px;
  margin-inline: auto;
}

#ksg-global-network .ksg-region-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

#ksg-global-network .ksg-region-list span {
  padding: 10px 14px;
  color: var(--ksg-navy);
  border: 1px solid rgba(1, 17, 59, 0.18);
  background: #ffffff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

#ksg-global-network .ksg-map-shell {
  position: relative;
  overflow: hidden;
  background: #06111f;
  border: 1px solid rgba(1, 17, 59, 0.16);
  border-radius: 18px;
  box-shadow: 0 24px 55px rgba(1, 17, 59, 0.14);
}

#ksg-global-network .ksg-map-wrap {
  width: 100%;
  height: 620px;
  background: #06111f url("../imgs/page/homepage1/world-map.png") center / contain no-repeat;
}

#ksg-global-network .leaflet-container {
  font-family: "Archivo", Arial, sans-serif;
}

#ksg-global-network .leaflet-control-zoom {
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

#ksg-global-network .leaflet-control-zoom a {
  color: #A7B6D1;
  background: #071d3b;
  border-color: rgba(255, 255, 255, 0.08);
}

#ksg-global-network .leaflet-control-zoom a:hover {
  color: #ffffff;
  background: var(--ksg-navy);
}

#ksg-global-network .leaflet-control-attribution {
  color: #8291a4;
  background: rgba(3, 12, 24, 0.75);
  font-size: 10px;
}

#ksg-global-network .leaflet-control-attribution a {
  color: #7dc9e4;
}

#ksg-global-network .ksg-map-legend {
  position: absolute;
  z-index: 500;
  bottom: 24px;
  left: 24px;
  display: grid;
  gap: 10px;
  min-width: 190px;
  padding: 16px 18px;
  color: #d9e4ef;
  background: rgba(5, 23, 47, 0.94);
  border: 1px solid rgba(97, 201, 240, 0.16);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

#ksg-global-network .ksg-map-legend span {
  display: flex;
  align-items: center;
  gap: 10px;
}

#ksg-global-network .ksg-legend-region {
  width: 10px;
  height: 10px;
  background: var(--ksg-accent);
  border: 2px solid #EAF0FA;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(111, 133, 178, 0.18);
}

#ksg-global-network .ksg-legend-route {
  width: 28px;
  border-top: 2px dashed rgba(111, 133, 178, 0.78);
}

#ksg-global-network .ksg-map-hint {
  position: absolute;
  z-index: 500;
  right: 20px;
  bottom: 18px;
  margin: 0;
  padding: 8px 10px;
  color: #c0cede;
  background: rgba(5, 23, 47, 0.82);
  border-radius: 7px;
  font-size: 11px;
}

#ksg-global-network .ksg-map-fallback {
  display: none;
  position: absolute;
  z-index: 500;
  top: 50%;
  left: 50%;
  width: min(90%, 520px);
  margin: 0;
  padding: 18px 22px;
  color: #ffffff;
  background: rgba(5, 23, 47, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  text-align: center;
  transform: translate(-50%, -50%);
}

#ksg-global-network.is-map-unavailable .ksg-map-fallback {
  display: block;
}

#ksg-global-network .ksg-network-marker {
  background: transparent;
  border: 0;
}

#ksg-global-network .ksg-network-marker-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  background: var(--ksg-accent);
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(111, 133, 178, 0.18);
  transform: translate(-50%, -50%);
}

#ksg-global-network .ksg-network-marker-core::before,
#ksg-global-network .ksg-network-marker-core::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(111, 133, 178, 0.62);
  border-radius: 50%;
  animation: ksgNetworkPulse 2.6s ease-out infinite;
}

#ksg-global-network .ksg-network-marker-core::after {
  animation-delay: 1.3s;
}

#ksg-global-network .ksg-network-label {
  position: absolute;
  bottom: 24px;
  left: 50%;
  width: max-content;
  max-width: 170px;
  padding: 8px 11px;
  color: #ffffff;
  background: #07549a;
  border-radius: 7px;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
}

#ksg-global-network .ksg-network-route {
  animation: ksgNetworkDash 40s linear infinite;
}

#ksg-global-network .leaflet-popup-content-wrapper,
#ksg-global-network .leaflet-popup-tip {
  color: #ffffff;
  background: #071d3b;
}

#ksg-global-network .leaflet-popup-content {
  margin: 13px 16px;
  line-height: 1.55;
}

.ksg-coverage-note {
  max-width: 760px;
  margin-inline: auto;
}

@keyframes ksgNetworkPulse {
  0% { opacity: 0.9; transform: scale(0.5); }
  100% { opacity: 0; transform: scale(2); }
}

@keyframes ksgNetworkDash {
  to { stroke-dashoffset: -400; }
}

.ksg-testimonials {
  padding-top: 100px;
  padding-bottom: 100px;
}

.ksg-testimonial-intro {
  max-width: 720px;
}

.ksg-testimonial-draft-note {
  display: inline-block;
  margin-bottom: 0;
  padding: 9px 12px;
  color: #DDE5F2;
  background: rgba(1, 17, 59, 0.78);
  border: 1px solid rgba(111, 133, 178, 0.55);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ksg-testimonial-draft-note-light {
  color: var(--ksg-navy);
  background: #EEF2F8;
  border-color: #DDE5F2;
}

.ksg-testimonial-controls {
  justify-content: flex-end;
}

.ksg-testimonial-controls button,
.ksg-about-testimonials .box-button-sliders button {
  appearance: none;
  border: 0;
}

.ksg-testimonial-card {
  display: flex;
  min-height: 340px;
  height: 100%;
  flex-direction: column;
}

.ksg-testimonial-card .box-author img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.ksg-testimonial-card .author-name {
  display: block;
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
}

.ksg-testimonial-card .card-bottom-info {
  margin-top: auto;
  min-height: auto;
  padding: 14px 16px;
  background: #EEF2F8;
  border-top: 1px solid #DDE5F2;
}

.ksg-card-draft-label {
  color: var(--ksg-navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ksg-faq-media {
  display: flex;
}

.ksg-faq-image {
  display: flex;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
}

.ksg-faq-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ksg-faq .accordion-header {
  margin: 0;
  font-size: inherit;
}

.ksg-request .box-bg-leading {
  height: 760px;
  background:
    linear-gradient(135deg, rgba(1, 17, 59, 0.91) 0%, rgba(1, 20, 58, 0.88) 52%, rgba(4, 34, 73, 0.90) 100%),
    var(--ksg-request-bg-image, url(../imgs/gorseller4/anasayfa-hizmet-talebi.webp)) no-repeat center center !important;
  background-size: cover !important;
  background-position: center center !important;
}

.ksg-request-head {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin-inline: auto;
}

.ksg-request-form {
  position: relative;
  z-index: 2;
  background-color: #ffffff;
  background-image: linear-gradient(108deg, transparent 0%, transparent 66.5%, #eef2f8 66.6%, #d8e2f1 100%);
}

.ksg-request-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--ksg-deep);
  font-size: 13px;
  font-weight: 600;
}

.ksg-request-form .form-control {
  min-height: 50px;
}

.ksg-request-form textarea.form-control {
  min-height: 135px;
}

.ksg-request-form input[type="file"] {
  padding-top: 11px;
}

.ksg-conditional-fields[hidden] {
  display: none !important;
}

.ksg-request-image {
  position: sticky;
  top: 120px;
  isolation: isolate;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(1, 17, 59, 0.12);
  border-radius: 12px;
  background: linear-gradient(145deg, #eef2f8 0%, #cdd9eb 100%);
  box-shadow: 0 18px 36px rgba(1, 17, 59, 0.12);
}

.ksg-request-image::before {
  display: none;
}

.ksg-request-image::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 14px;
  border-radius: 8px;
  background: rgba(57, 82, 132, 0.82);
  mix-blend-mode: color;
  pointer-events: none;
}

.ksg-request-image img {
  position: relative;
  z-index: 0;
  display: block;
  min-height: 520px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.ksg-form-status {
  padding: 13px 16px;
  color: #01113B;
  background: #EEF2F8;
  border-left: 4px solid var(--ksg-accent);
}

.ksg-final-cta .get-quote-right {
  display: flex;
  min-width: 390px;
  max-width: 390px;
  align-items: center;
  gap: 15px;
}

.ksg-cta-secondary {
  color: #ffffff;
}

.ksg-cta-secondary:hover {
  color: var(--ksg-accent);
}

.footer .ksg-brand-copy strong,
.footer .ksg-brand-copy small {
  color: #ffffff;
}

.ksg-footer-positioning {
  max-width: 390px;
  line-height: 1.75;
}

.footer .h5 {
  font-size: 18px;
}

.footer .menu-bottom li span {
  display: inline-block;
  padding: 5px 10px;
}

@media (max-width: 1399.98px) {
  #site-header .header-nav {
    padding-left: 28px;
  }

  #site-header .main-menu > li > a {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 14px;
  }

  .ksg-service-card {
    min-height: 375px;
    padding: 32px;
  }
}

@media (max-width: 1199.98px) {
  .ksg-hero {
    min-height: 600px;
    padding: 95px 0 120px;
  }

  .ksg-solution-media,
  .ksg-solution-media img {
    height: 520px;
    min-height: 520px;
  }

  .ksg-solution-copy {
    padding: 50px 36px;
  }

  .ksg-request-image {
    position: relative;
    top: auto;
    margin-top: 40px;
  }

  .ksg-request-image img {
    min-height: 360px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .ksg-solution-row {
    height: 868px;
  }

  .ksg-solution-media {
    height: auto;
    min-height: 520px;
    max-height: none;
  }

  .ksg-solution-media img {
    height: 100%;
    min-height: 0;
    max-height: none;
  }

  #cargo-solutions .ksg-solution-copy {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

@media (max-width: 991.98px) {
  .ksg-faq-media {
    display: block;
  }

  .ksg-faq-image {
    height: clamp(340px, 58vw, 500px);
    min-height: 0;
  }

  .ksg-request-form {
    background: #ffffff;
  }

  .ksg-hero h1 {
    font-size: 50px;
    line-height: 60px;
  }

  .ksg-hero-overlay {
    background: rgba(1, 17, 59, 0.78);
  }

  .ksg-audience-card h3 {
    min-height: auto;
  }

  .ksg-solution-row,
  .ksg-solution-row.item-about-2-revert {
    display: flex;
    flex-direction: column;
  }

  .ksg-solution-row.item-about-2-revert .ksg-solution-media {
    order: -1;
  }

  .ksg-solution-row .col-lg-6,
  .ksg-solution-row.item-about-2-revert .col-lg-6 {
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) / 2);
    padding-left: calc(var(--bs-gutter-x) / 2);
  }

  .ksg-solution-media,
  .ksg-solution-media img {
    height: 420px;
    min-height: 420px;
    max-height: 420px;
  }

  .ksg-why .box-info-bottom-img {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
  }

  .ksg-request .box-bg-leading {
    height: 620px;
  }

  .ksg-final-cta .box-get-quote {
    display: block;
  }

  .ksg-final-cta .get-quote-right {
    width: 100%;
    min-width: 0;
    max-width: none;
    margin-top: 25px;
  }

  #ksg-global-network .ksg-map-wrap {
    height: 480px;
  }
}

@media (max-width: 767.98px) {
  .ksg-hero {
    min-height: 560px;
    padding: 80px 0 95px;
    background-position: 65% center;
  }

  .ksg-hero h1 {
    font-size: 42px;
    line-height: 50px;
  }

  .ksg-hero .box-button {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .ksg-audience-image {
    height: 230px;
    flex-basis: 230px;
  }

  .ksg-solution-media,
  .ksg-solution-media img {
    height: 340px;
    min-height: 340px;
    max-height: 340px;
  }

  .ksg-solution-copy {
    padding: 40px 22px;
  }

  .ksg-solution-list {
    grid-template-columns: 1fr;
  }

  .ksg-service-card {
    min-height: auto;
  }

  .ksg-why .box-image-how > img {
    min-height: 400px;
  }

  #ksg-global-network .ksg-map-wrap {
    height: 420px;
  }

  #ksg-global-network .ksg-map-legend {
    bottom: 18px;
    left: 18px;
  }

  #ksg-global-network .ksg-map-hint {
    display: none;
  }

  .ksg-testimonial-card {
    min-height: 300px;
  }

  .box-form-contact-leading.ksg-request-form {
    padding: 35px 22px;
  }

  .ksg-final-cta .get-quote-right {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .ksg-brand {
    min-width: 168px;
  }

  .ksg-mark {
    width: 44px;
    height: 44px;
    font-size: 13px;
  }

  .ksg-brand-copy strong {
    font-size: 12px;
  }

  .ksg-hero h1 {
    font-size: 34px;
    line-height: 40px;
  }

  .ksg-hero-copy {
    font-size: 15px;
  }

  .ksg-audience-card .card-info {
    padding: 24px 22px 26px;
  }

  .ksg-audience-card h3 {
    font-size: 22px;
  }

  .ksg-solution-media,
  .ksg-solution-media img {
    height: 280px;
    min-height: 280px;
    max-height: 280px;
  }

  .ksg-why-list li .image-how {
    min-width: 70px;
    max-width: 70px;
    margin-right: 14px;
    line-height: 70px;
  }

  .ksg-why-list li .image-how .img {
    width: 70px;
    height: 70px;
  }

  .ksg-why-list li .image-how::before {
    left: 34px;
  }

  #ksg-global-network .ksg-map-wrap {
    height: 380px;
  }

  #ksg-global-network .ksg-map-legend {
    right: 14px;
    bottom: 14px;
    left: 14px;
    min-width: 0;
  }
}


/* Kahveci Sea Group corporate identity layer.
   Primary: #01113B | Secondary: #6F85B2 | Soft tint: #EEF2F8 */
:root {
  --ksg-primary: #01113B;
  --ksg-secondary: #6F85B2;
  --ksg-secondary-soft: #EEF2F8;
  --ksg-secondary-border: #DDE5F2;
}

.color-brand-1 { color: var(--ksg-secondary) !important; }
.color-brand-2 { color: var(--ksg-primary) !important; }
.bg-brand-1 { background-color: var(--ksg-secondary) !important; }
.bg-brand-2,
.bg-grey-900 { background-color: var(--ksg-primary) !important; }

.btn.btn-brand-1,
.btn.btn-brand-1-big,
.btn.btn-get-quote {
  color: var(--ksg-primary);
  background: var(--ksg-secondary);
}

.btn.btn-brand-1 svg,
.btn.btn-brand-1-big svg,
.btn.btn-get-quote svg { color: var(--ksg-primary); }

.btn.btn-brand-1:hover,
.btn.btn-brand-1-big:hover,
.btn.btn-get-quote:hover {
  color: #fff;
  background: var(--ksg-primary);
}

.btn.btn-brand-2,
.btn.btn-brand-2-full {
  color: #fff;
  background-color: var(--ksg-primary);
}

.btn.btn-brand-2:hover,
.btn.btn-brand-2-full:hover {
  color: var(--ksg-primary);
  background-color: var(--ksg-secondary);
}

.btn.btn-tag {
  color: var(--ksg-primary);
  background: var(--ksg-secondary);
}
.btn.btn-tag:hover { color: #fff; background: var(--ksg-primary); }

.btn.btn-link { color: var(--ksg-primary); }
.btn.btn-link span { background-color: var(--ksg-primary); }
.btn.btn-link:hover { color: var(--ksg-secondary) !important; }
.btn.btn-link:hover span svg { color: var(--ksg-secondary); }
.btn.btn-link-medium svg { color: var(--ksg-primary); }

.btn.btn-default { color: var(--ksg-primary); }
.btn.btn-default:hover { color: #fff !important; background-color: var(--ksg-primary); }

.phone-icon svg,
.email-icon svg,
.header .main-header .header-left .header-right .icon-list:hover,
.header .main-header .header-left .header-right .icon-list .arrow-down:hover,
.header .main-menu li ul li a:hover,
.header .main-menu li div.sub-menu.five-col .menu-col .megamenu li a:hover,
.mobile-header-wrapper-style .mobile-header-wrapper-inner .mobile-header-content-area .mobile-menu-wrap nav .mobile-menu li a:hover,
.mobile-header-wrapper-style .mobile-header-wrapper-inner .mobile-header-content-area .mobile-menu-wrap nav .mobile-menu li:hover > a {
  color: var(--ksg-secondary) !important;
}

.header .main-menu li div.sub-menu,
.header .main-menu li ul { border-top-color: var(--ksg-secondary); }
.header .main-menu li a:hover,
.header .main-menu li a.active { color: var(--ksg-primary); }

#site-header .header-logo {
  width: 220px;
  max-width: 220px;
  min-width: 220px;
}
#site-header .header-logo img.ksg-brand-logo-header {
  display: block;
  width: 100%;
  min-height: 0;
  height: auto;
}
.mobile-header-wrapper-style .mobile-header-wrapper-inner .mobile-logo {
  background: #fff;
  border-bottom-color: var(--ksg-secondary-border);
}
.mobile-header-wrapper-style .mobile-header-wrapper-inner .mobile-logo img.ksg-brand-logo-header {
  width: 220px;
  max-width: 82%;
  height: auto;
}

.ksg-footer-brand-link { display: inline-block; }
.ksg-brand-logo-footer {
  display: block;
  width: min(100%, 330px);
  height: auto;
}

.footer-1 { background-color: var(--ksg-primary); }
.footer-2 { background-color: #000A24; }
.footer .menu-footer li a:hover { color: var(--ksg-secondary); }
#scrollUp { background-color: var(--ksg-primary); }
#scrollUp:hover { background-color: var(--ksg-secondary); }
.bg-get-quote { background-color: var(--ksg-primary); }
.bg-whychooseus-2::before { background-color: var(--ksg-primary); }

.bg-customers-say { background-color: var(--ksg-primary); }
.bg-customers-say::before { background-image: url(../imgs/brand/bg-testimonial-brand.png); }

.flip-square::before { border-color: var(--ksg-secondary); }

.ksg-solution-list li span,
.ksg-network-marker-core,
.ksg-legend-region {
  color: var(--ksg-primary);
  background: var(--ksg-secondary);
}

.ksg-service-icon {
  background: var(--ksg-secondary-soft);
  border-color: var(--ksg-secondary-border);
}

.ksg-testimonial-draft-note-light,
.ksg-testimonial-card .card-bottom-info {
  background: var(--ksg-secondary-soft);
  border-color: var(--ksg-secondary-border);
}

.ksg-form-status {
  color: var(--ksg-primary);
  background: var(--ksg-secondary-soft);
  border-left-color: var(--ksg-secondary);
}

@media (max-width: 1399.98px) {
  #site-header .header-logo {
    width: 190px;
    max-width: 190px;
    min-width: 190px;
  }
}

@media (max-width: 1199.98px) {
  #site-header .header-logo {
    width: 185px;
    max-width: 185px;
    min-width: 185px;
  }
}

/* Complete active-theme accent translation: residual Transp yellow states are
   mapped to Kahveci Sea Group's secondary blue or a low-emphasis blue tint. */
a:hover .color-brand-2,
a.color-brand-2:hover,
.cardService .cardInfo:hover .color-brand-2,
.cardServiceStyle3:hover .card-info .color-brand-2,
.cardTeam .cardInfo:hover .color-brand-2,
.card-blog-grid .card-info a:hover,
.card-blog-grid .card-info a:hover * {
  color: var(--ksg-secondary) !important;
}

.btn.btn-calculator,
.btn.btn-border-brand-1,
.card-offer,
.box-item-number::before {
  color: var(--ksg-primary);
  background-color: var(--ksg-secondary);
}

.btn.btn-border {
  border-color: var(--ksg-secondary);
}

.btn-homepage span svg,
.btn.btn-default.color-brand-1 svg,
.pagination li a:hover,
.pagination li a.active,
.dropdown-account ul li a:hover,
.item-cart .color-brand-3:hover {
  color: var(--ksg-secondary) !important;
}

.swiper-pagination .swiper-pagination-bullet-active,
.swiper-pagination.swiper-pagination-2 .swiper-pagination-bullet-active,
.box-slider-homepage2 .swiper-pagination .swiper-pagination-bullet-active,
.slider:before {
  background-color: var(--ksg-secondary);
}

.card-testimonial-grid:hover,
.box-form-request-quote-2 .box-form-contact-leading {
  border-color: var(--ksg-secondary);
}

.header .main-menu li div.sub-menu .menu-inner li a,
.nav-tabs-mobile li a,
.nav-tabs-mobile li a svg {
  color: var(--ksg-primary);
}

.swiper-button-prev-style-1:hover,
.swiper-button-next-style-1:hover,
.box-slider-service-4 .swiper-button-prev-style-2:hover,
.box-slider-service-4 .swiper-button-next-style-2:hover {
  color: var(--ksg-primary);
  background-color: var(--ksg-secondary);
}

.list-how-works li .image-how .img,
.ksg-why-list li .image-how .img,
.cardLeadingCompany .cardImage .img {
  background-color: var(--ksg-secondary-soft);
  border-color: var(--ksg-secondary);
}

.cardLeadingCompany:hover .cardImage .img {
  background-color: var(--ksg-secondary);
  border-color: var(--ksg-secondary);
}

.accordion-button:not(.collapsed) {
  color: var(--ksg-primary);
  background-color: var(--ksg-secondary-soft);
  box-shadow: inset 0 -1px 0 var(--ksg-secondary-border);
}

.list-info-footer li .cardImage .icon-brand-1 {
  color: var(--ksg-primary);
  background-color: var(--ksg-secondary);
}

/* --------------------------------------------------------------------------
   KSG brand polish v2.1 — premium, contrast-safe corporate application
   -------------------------------------------------------------------------- */
:root {
  --ksg-primary: #01113B;
  --ksg-secondary: #6F85B2;
  --ksg-secondary-soft: #EEF2F8;
  --ksg-secondary-border: #DDE5F2;
  --ksg-surface: #FFFFFF;
  --ksg-surface-muted: #F7F9FC;
  --ksg-body: #4E5A73;
  --ksg-shadow: 0 18px 45px rgba(1, 17, 59, 0.08);
  --ksg-shadow-hover: 0 22px 55px rgba(1, 17, 59, 0.13);
}

/* Large content cards should feel editorial/premium, not like solid accent blocks. */
.card-offer,
.ksg-audience-card,
.ksg-service-card,
.ksg-about-audience-card,
.ksg-value-card {
  color: var(--ksg-primary);
  background: var(--ksg-surface) !important;
  border: 1px solid var(--ksg-secondary-border);
  border-bottom: 4px solid var(--ksg-secondary) !important;
  box-shadow: var(--ksg-shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card-offer:hover,
.ksg-audience-card:hover,
.ksg-service-card:hover,
.ksg-about-audience-card:hover,
.ksg-value-card:hover {
  border-color: #C7D1E3;
  border-bottom-color: var(--ksg-primary) !important;
  box-shadow: var(--ksg-shadow-hover);
}

.card-offer .color-brand-2,
.ksg-audience-card .color-brand-2,
.ksg-service-card .color-brand-2,
.ksg-about-audience-card .color-brand-2,
.ksg-value-card .color-brand-2 {
  color: var(--ksg-primary) !important;
}

.card-offer .color-grey-700,
.card-offer .color-grey-900,
.ksg-audience-card p,
.ksg-service-card p,
.ksg-about-audience-card p,
.ksg-value-card p {
  color: var(--ksg-body) !important;
}

/* Accent tags become restrained blue-tint labels rather than heavy color blocks. */
.btn.btn-tag {
  color: var(--ksg-primary);
  background: var(--ksg-secondary-soft);
  border: 1px solid var(--ksg-secondary-border);
  border-left: 3px solid var(--ksg-secondary);
}
.btn.btn-tag:hover {
  color: var(--ksg-primary);
  background: #E5EAF3;
  border-color: #C7D1E3;
}

/* Primary actions use the actual brand navy. The lighter blue remains a support color. */
#site-header .btn.btn-brand-1,
.header .btn.btn-brand-1,
.btn.btn-get-quote {
  color: #fff;
  background: var(--ksg-primary);
}
#site-header .btn.btn-brand-1 svg,
.header .btn.btn-brand-1 svg,
.btn.btn-get-quote svg {
  color: #fff;
}
#site-header .btn.btn-brand-1:hover,
.header .btn.btn-brand-1:hover,
.btn.btn-get-quote:hover {
  color: var(--ksg-primary);
  background: var(--ksg-secondary-soft);
  box-shadow: inset 0 0 0 1px var(--ksg-secondary-border);
}
#site-header .btn.btn-brand-1:hover svg,
.header .btn.btn-brand-1:hover svg,
.btn.btn-get-quote:hover svg {
  color: var(--ksg-primary);
}

/* Secondary / in-content actions retain the navy+white high-contrast treatment. */
.btn.btn-brand-2,
.btn.btn-brand-2-full {
  color: #fff;
  background: var(--ksg-primary);
}
.btn.btn-brand-2:hover,
.btn.btn-brand-2-full:hover {
  color: var(--ksg-primary);
  background: var(--ksg-secondary-soft);
  box-shadow: inset 0 0 0 1px var(--ksg-secondary-border);
}

/* Theme utilities that formerly produced yellow UI are normalized here. */
.bg-1,
.bg-7 {
  background-color: var(--ksg-secondary-soft) !important;
}
.bg-2,
.bg-4,
.bg-5,
.bg-8,
.bg-10,
.bg-11 {
  background-color: var(--ksg-surface-muted) !important;
}
.bg-3 {
  background-color: var(--ksg-primary) !important;
}

/* FAQ: navy closed state, quiet light-blue open state, no yellow arrows. */
.accordion .accordion-button {
  color: #fff;
  background-color: var(--ksg-primary);
  border: 1px solid rgba(255,255,255,.04);
}
.accordion .accordion-button:hover {
  background-color: #081A49;
}
.accordion-button::after {
  background-image: url("../imgs/page/homepage1/down.svg");
}
.accordion-button:not(.collapsed) {
  color: var(--ksg-primary);
  background-color: var(--ksg-secondary-soft);
  box-shadow: inset 0 -1px 0 var(--ksg-secondary-border);
}
.accordion-button:not(.collapsed)::after {
  background-image: url("../imgs/page/homepage1/up.svg");
}

/* Circular/icon treatments use tint + navy lines; embedded yellow legacy assets were removed from active About content. */
.ksg-service-icon,
.ksg-value-icon,
.list-how-works li .image-how .img,
.ksg-why-list li .image-how .img,
.cardLeadingCompany .cardImage .img {
  background: var(--ksg-secondary-soft) !important;
  border-color: var(--ksg-secondary-border) !important;
}

/* Navigation accents and dropdown bars stay corporate but subtle. */
.header .main-menu li div.sub-menu,
.header .main-menu li ul {
  border-top-color: var(--ksg-secondary) !important;
}
.header .main-menu li a:hover,
.header .main-menu li a.active,
.footer .menu-footer li a:hover {
  color: var(--ksg-secondary) !important;
}

/* Pagination/slider controls: light blue is decorative; readable glyphs stay navy. */
.swiper-button-prev-style-1:hover,
.swiper-button-next-style-1:hover,
.box-slider-service-4 .swiper-button-prev-style-2:hover,
.box-slider-service-4 .swiper-button-next-style-2:hover,
.pagination li a:hover,
.pagination li a.active {
  color: var(--ksg-primary) !important;
  background-color: var(--ksg-secondary-soft) !important;
  border-color: var(--ksg-secondary) !important;
}

.swiper-pagination .swiper-pagination-bullet-active,
.swiper-pagination.swiper-pagination-2 .swiper-pagination-bullet-active,
.box-slider-homepage2 .swiper-pagination .swiper-pagination-bullet-active,
.slider:before {
  background-color: var(--ksg-secondary) !important;
}

#scrollUp {
  color: #fff;
  background: var(--ksg-primary) !important;
  box-shadow: 0 12px 28px rgba(1,17,59,.18);
}
#scrollUp:hover {
  color: var(--ksg-primary);
  background: var(--ksg-secondary-soft) !important;
}

/* Keep body copy neutral and crisp on light surfaces. */
.color-grey-700 { color: #5B647C; }
.color-grey-900 { color: var(--ksg-primary); }

/* Brief-approved primary navigation: compact seven-item maritime header. */
#site-header .main-menu > li > a {
  white-space: nowrap;
}

#site-header .header-right .btn-brand-1 {
  white-space: nowrap;
}

@media (min-width: 1200px) and (max-width: 1499.98px) {
  #site-header .header-logo,
  #site-header .header-logo .ksg-brand-logo-header {
    width: 168px;
    max-width: 168px;
    min-width: 168px;
  }

  #site-header .header-nav {
    padding-left: 18px;
  }

  #site-header .main-menu > li > a {
    padding-right: 7px;
    padding-left: 7px;
    font-size: 12.5px;
  }

  #site-header .header-right .font-sm {
    font-size: 12px;
  }

  #site-header .header-right .btn-brand-1 {
    padding-right: 14px;
    padding-left: 14px;
    font-size: 12px;
  }
}

/* Header refinement: keep the maritime navigation on a single balanced row. */
#site-header .main-header,
#site-header .main-header .header-left {
  display: flex;
  align-items: center;
}

#site-header .main-header .header-left {
  width: 100%;
  gap: 16px;
  flex-wrap: nowrap;
}

#site-header .header-logo,
#site-header .header-logo .ksg-brand-logo-header {
  width: 270px;
  max-width: 270px;
  min-width: 270px;
}

#site-header .header-nav {
  display: flex;
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0;
  align-items: center;
  padding-left: 14px;
}

#site-header .nav-main-menu {
  width: 100%;
}

#site-header .main-menu {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
}

#site-header .main-menu > li {
  float: none;
}

#site-header .main-menu > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 78px;
  padding-right: 12px;
  padding-left: 12px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

#site-header .header-right {
  display: flex;
  flex: 0 0 auto;
  width: auto !important;
  min-width: 0 !important;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
}

#site-header .header-right .box-dropdown-cart,
#site-header .header-right .d-none.d-sm-inline-block {
  display: flex !important;
  align-items: center;
}

#site-header .header-right .icon-list {
  padding: 0;
}

#site-header .header-right .btn-brand-1 {
  min-height: 46px;
  padding: 11px 18px;
  white-space: nowrap;
}

/* Premium services dropdown: more even image proportions and card rhythm. */
.header .main-menu li div.sub-menu.five-col.ksg-service-mega-theme {
  width: min(1180px, calc(100vw - 52px));
  padding: 24px;
  border-radius: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  background: #ffffff;
  border: 1px solid var(--ksg-border);
  box-shadow: 0 20px 48px rgba(1, 17, 59, 0.13);
}

.header .main-menu li div.sub-menu.five-col.ksg-service-mega-theme .menu-col {
  padding: 0;
}

.ksg-service-mega-theme .menu-col {
  display: flex;
  flex-direction: column;
  padding: 14px;
  border: 1px solid #e5ebf5;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ksg-service-mega-theme .menu-col:hover,
.ksg-service-mega-theme .menu-col:focus-within {
  transform: translateY(-2px);
  border-color: var(--ksg-accent);
  box-shadow: 0 14px 28px rgba(1, 17, 59, 0.08);
}

.ksg-service-mega-theme .menu-col > h6 {
  min-height: 46px;
  margin-bottom: 14px !important;
  font-size: 16px;
  line-height: 1.38;
}

.header .main-menu .ksg-service-mega-theme .menu-col > h6 > a {
  display: block;
}

.ksg-service-mega-theme .menu-image {
  aspect-ratio: 16 / 10;
  height: auto;
  margin-bottom: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #edf2fa;
}

.ksg-service-mega-theme .menu-image img {
  transition: transform 0.28s ease;
}

.ksg-service-mega-theme .menu-col:hover .menu-image img,
.ksg-service-mega-theme .menu-col:focus-within .menu-image img {
  transform: scale(1.04);
}

@media (min-width: 1200px) and (max-width: 1499.98px) {
  #site-header .header-logo,
  #site-header .header-logo .ksg-brand-logo-header {
    width: 228px;
    max-width: 228px;
    min-width: 228px;
  }

  #site-header .header-nav {
    padding-left: 10px;
  }

  #site-header .main-menu > li > a {
    padding-right: 9px;
    padding-left: 9px;
    font-size: 13.5px;
  }

  #site-header .header-right .font-sm {
    font-size: 13px;
  }

  #site-header .header-right .btn-brand-1 {
    padding-right: 16px;
    padding-left: 16px;
    font-size: 13px;
  }

  .header .main-menu li div.sub-menu.five-col.ksg-service-mega-theme {
    width: min(1100px, calc(100vw - 44px));
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Final navigation/dropdown polish: balanced 4+3 grid and consistent thumbnails. */
@media (min-width: 1500px) {
  .header .main-menu li div.sub-menu.five-col.ksg-service-mega-theme .menu-col:nth-child(5) {
    grid-column: 2;
  }
}

@media (min-width: 1200px) and (max-width: 1499.98px) {
  .header .main-menu li div.sub-menu.five-col.ksg-service-mega-theme .menu-col:nth-child(7) {
    grid-column: 2;
  }
}

.ksg-service-mega-theme .menu-image {
  aspect-ratio: 16 / 9;
}

.ksg-service-mega-theme .menu-image img {
  object-position: center center;
}

.ksg-service-mega-theme .menu-col > h6 {
  display: flex;
  align-items: center;
}

/* Theme-native mega menu refinement: keep the original menu-column language,
   only normalizing the seven service thumbnails and spacing. */
.header .main-menu li div.sub-menu.five-col.ksg-service-mega-theme {
  width: min(1180px, calc(100vw - 48px));
  padding: 26px 28px;
  border-radius: 4px;
  gap: 24px 22px;
  background: #ffffff;
  border: 1px solid #e6ebf3;
  box-shadow: 0 14px 34px rgba(1, 17, 59, 0.11);
}

.ksg-service-mega-theme .menu-col,
.ksg-service-mega-theme .menu-col:hover,
.ksg-service-mega-theme .menu-col:focus-within {
  padding: 0 !important;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

.ksg-service-mega-theme .menu-col > h6 {
  min-height: 42px;
  margin-bottom: 10px !important;
  font-size: 15px;
  line-height: 1.35;
}

.ksg-service-mega-theme .menu-image {
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  background: #eef2f8;
}

.ksg-service-mega-theme .menu-col:hover .menu-image img,
.ksg-service-mega-theme .menu-col:focus-within .menu-image img {
  transform: scale(1.025);
}

@media (min-width: 1500px) {
  .header .main-menu li div.sub-menu.five-col.ksg-service-mega-theme {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .header .main-menu li div.sub-menu.five-col.ksg-service-mega-theme .menu-col {
    grid-column: span 2;
  }

  .header .main-menu li div.sub-menu.five-col.ksg-service-mega-theme .menu-col:nth-child(5) { grid-column: 2 / span 2; }
  .header .main-menu li div.sub-menu.five-col.ksg-service-mega-theme .menu-col:nth-child(6) { grid-column: 4 / span 2; }
  .header .main-menu li div.sub-menu.five-col.ksg-service-mega-theme .menu-col:nth-child(7) { grid-column: 6 / span 2; }
}

@media (min-width: 1200px) and (max-width: 1499.98px) {
  .header .main-menu li div.sub-menu.five-col.ksg-service-mega-theme {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .header .main-menu li div.sub-menu.five-col.ksg-service-mega-theme .menu-col:nth-child(7) {
    grid-column: 2;
  }
}

/* --------------------------------------------------------------------------
   Homepage hero v18 — exact hero fit, balanced vertical crop and right-aligned
   copy for the Kahveci Sea Group 16:9 hero artwork.
   -------------------------------------------------------------------------- */
.home-hero {
  position: relative;
  overflow: hidden;
}

.ksg-hero {
  position: relative;
  display: flex;
  height: clamp(610px, calc(100svh - 150px), 760px);
  min-height: 0;
  max-height: 760px;
  padding: 0;
  align-items: center;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  box-sizing: border-box;
}

.ksg-hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(1, 17, 59, 0.06) 0%,
    rgba(1, 17, 59, 0.08) 34%,
    rgba(1, 17, 59, 0.26) 48%,
    rgba(1, 17, 59, 0.65) 66%,
    rgba(1, 17, 59, 0.88) 100%
  );
}

.ksg-hero-container,
.ksg-hero-row {
  height: 100%;
}

.ksg-hero-row {
  min-height: 0;
}

.ksg-hero-content {
  width: 100%;
  max-width: 780px;
  margin-left: auto;
  padding-top: 22px;
  padding-bottom: 22px;
}

.ksg-hero h1 {
  max-width: 780px;
  margin-right: 0;
  font-size: clamp(50px, 3.2vw, 58px);
  line-height: 1.07;
  letter-spacing: -0.02em;
}

.ksg-hero-line {
  display: block;
  white-space: nowrap;
}

.ksg-hero-copy {
  max-width: 720px;
  margin-right: 0;
  font-size: 18px;
  line-height: 1.65;
}

.ksg-hero .box-button {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.ksg-hero .box-button .mr-20 {
  margin-right: 0 !important;
}

@media (min-width: 1200px) and (max-width: 1499.98px) {
  .ksg-hero {
    height: clamp(600px, calc(100svh - 145px), 700px);
  }

  .ksg-hero-content {
    max-width: 690px;
  }

  .ksg-hero h1 {
    max-width: 690px;
    font-size: 50px;
    line-height: 1.08;
  }

  .ksg-hero-copy {
    max-width: 660px;
    font-size: 17px;
  }
}

@media (max-width: 1199.98px) {
  .ksg-hero {
    height: auto;
    min-height: 600px;
    max-height: none;
    padding: 72px 0 82px;
    background-position: 44% center;
  }

  .ksg-hero-overlay {
    background: linear-gradient(90deg, rgba(1, 17, 59, 0.54) 0%, rgba(1, 17, 59, 0.72) 48%, rgba(1, 17, 59, 0.88) 100%);
  }

  .ksg-hero-container,
  .ksg-hero-row {
    height: auto;
  }

  .ksg-hero-content {
    max-width: 680px;
  }

  .ksg-hero h1 {
    font-size: 48px;
    line-height: 1.08;
  }
}

@media (max-width: 991.98px) {
  .ksg-hero {
    min-height: 570px;
    padding: 68px 0 76px;
  }

  .ksg-hero-content {
    max-width: 620px;
    margin-right: auto;
    margin-left: 0;
  }

  .ksg-hero h1 {
    font-size: 44px;
    line-height: 1.08;
  }

  .ksg-hero-line {
    white-space: normal;
  }
}

@media (max-width: 767.98px) {
  .ksg-hero {
    min-height: 540px;
    padding: 58px 0 66px;
    background-position: 40% center;
  }

  .ksg-hero h1 {
    font-size: 38px;
    line-height: 1.1;
  }

  .ksg-hero-copy {
    font-size: 16px;
    line-height: 1.6;
  }
}

@media (max-width: 575.98px) {
  .ksg-hero {
    min-height: 520px;
    padding: 52px 0 60px;
  }

  .ksg-hero h1 {
    font-size: 34px;
  }

  .ksg-hero .box-button {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* --------------------------------------------------------------------------
   Homepage hero v19 — fill the viewport below the real header height.
   Prevents the white strip below the hero while keeping balanced cover crop.
   -------------------------------------------------------------------------- */
.home-hero {
  display: block !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  vertical-align: top;
}

.ksg-hero {
  width: 100%;
  height: calc(100vh - var(--ksg-header-height, 86px));
  height: calc(100svh - var(--ksg-header-height, 86px));
  min-height: 620px;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.ksg-hero-container,
.ksg-hero-row {
  height: 100%;
  min-height: 0;
}

.ksg-hero-content {
  max-width: 760px;
  padding-top: 28px;
  padding-bottom: 28px;
}

.ksg-hero h1 {
  max-width: 760px;
  font-size: clamp(48px, 3.05vw, 58px);
  line-height: 1.07;
}

.ksg-hero-line {
  display: block;
  white-space: nowrap;
}

@media (min-width: 1200px) and (max-height: 760px) {
  .ksg-hero {
    min-height: 560px;
  }

  .ksg-hero-content {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .ksg-hero h1 {
    margin-bottom: 16px !important;
    font-size: clamp(44px, 3vw, 52px);
  }

  .ksg-hero-copy {
    margin-bottom: 14px !important;
    font-size: 16px;
    line-height: 1.55;
  }

  .ksg-hero .box-button {
    margin-top: 18px !important;
  }
}

@media (max-width: 1199.98px) {
  .ksg-hero {
    height: auto;
    min-height: max(580px, calc(100svh - var(--ksg-header-height, 78px)));
    padding: 64px 0 72px;
    background-position: center center;
  }

  .ksg-hero-container,
  .ksg-hero-row {
    height: auto;
    min-height: inherit;
  }

  .ksg-hero-row {
    align-content: center;
  }

  .ksg-hero-content {
    max-width: 670px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .ksg-hero h1 {
    max-width: 670px;
    font-size: 46px;
  }
}

@media (max-width: 991.98px) {
  .ksg-hero {
    min-height: max(560px, calc(100svh - var(--ksg-header-height, 74px)));
    padding: 58px 0 66px;
  }

  .ksg-hero-overlay {
    background: linear-gradient(90deg, rgba(1, 17, 59, 0.56) 0%, rgba(1, 17, 59, 0.72) 50%, rgba(1, 17, 59, 0.9) 100%);
  }

  .ksg-hero-content {
    max-width: 620px;
  }

  .ksg-hero h1 {
    max-width: 620px;
    font-size: 42px;
  }

  .ksg-hero-line {
    white-space: normal;
  }
}

@media (max-width: 767.98px) {
  .ksg-hero {
    min-height: max(540px, calc(100svh - var(--ksg-header-height, 70px)));
    padding: 48px 0 56px;
    background-position: 42% center;
  }

  .ksg-hero h1 {
    font-size: clamp(34px, 9vw, 40px);
    line-height: 1.08;
  }

  .ksg-hero-copy {
    font-size: 16px;
    line-height: 1.55;
  }
}

@media (max-width: 575.98px) {
  .ksg-hero {
    min-height: max(520px, calc(100svh - var(--ksg-header-height, 68px)));
    padding: 42px 0 50px;
  }

  .ksg-hero h1 {
    font-size: clamp(31px, 9.2vw, 36px);
  }

  .ksg-hero .box-button {
    width: 100%;
    gap: 10px;
  }

  .ksg-hero .box-button .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

/* General responsive safety rails for localized copy and media. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

img,
video,
iframe,
svg {
  max-width: 100%;
}

@media (max-width: 1199.98px) {
  #site-header .main-header,
  #site-header .main-header .header-left {
    min-width: 0;
  }

  #site-header .header-logo {
    flex: 0 1 auto;
  }
}


/* v1.9.3 hero polish: restore left-side brightness while preserving right-side contrast */
.ksg-hero-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.25) 100%),
    linear-gradient(90deg,
      rgba(1, 17, 59, 0.15) 0%,
      rgba(1, 17, 59, 0.21) 30%,
      rgba(1, 17, 59, 0.40) 50%,
      rgba(1, 17, 59, 0.71) 68%,
      rgba(1, 17, 59, 0.87) 82%,
      rgba(1, 17, 59, 0.94) 100%);
}

.ksg-hero-content {
  max-width: 820px;
}

.ksg-hero h1 {
  max-width: 820px;
  font-size: clamp(52px, 3.85vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.ksg-hero-copy {
  max-width: 760px;
  font-size: clamp(19px, 1.12vw, 22px);
  line-height: 1.58;
}

.ksg-hero .box-button {
  gap: 16px;
}

@media (max-width: 1199.98px) {
  .ksg-hero-overlay {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.25) 100%),
      linear-gradient(90deg,
        rgba(1, 17, 59, 0.25) 0%,
        rgba(1, 17, 59, 0.33) 34%,
        rgba(1, 17, 59, 0.55) 58%,
        rgba(1, 17, 59, 0.81) 78%,
        rgba(1, 17, 59, 0.92) 100%);
  }

  .ksg-hero h1 {
    font-size: clamp(44px, 4.7vw, 54px);
    line-height: 1.06;
  }

  .ksg-hero-copy {
    font-size: 18px;
    line-height: 1.6;
  }
}

@media (max-width: 991.98px) {
  .ksg-why {
    padding-bottom: 38px;
  }

  .ksg-why-media {
    margin-bottom: 34px;
  }

  .ksg-hero h1 {
    font-size: clamp(40px, 6vw, 50px);
  }

  .ksg-hero-copy {
    font-size: 17px;
  }
}

@media (max-width: 767.98px) {
  .ksg-hero-overlay {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.30) 100%),
      linear-gradient(90deg,
        rgba(1, 17, 59, 0.45) 0%,
        rgba(1, 17, 59, 0.59) 45%,
        rgba(1, 17, 59, 0.81) 72%,
        rgba(1, 17, 59, 0.94) 100%);
  }

  .ksg-hero h1 {
    font-size: clamp(34px, 8.8vw, 42px);
    line-height: 1.08;
  }
}
/* Media Library service icon override */
.ksg-service-icon .ksg-service-icon-img{width:40px;height:40px;object-fit:contain;display:block}
/* public form feedback */
.ksg-form-field-error{display:block;margin-top:6px;color:#a33b35;font-size:12px;line-height:1.4}.form-control[aria-invalid="true"]{border-color:#b94a43!important;box-shadow:0 0 0 3px rgba(185,74,67,.08)!important}.ksg-form-status.is-success,[data-contact-status].is-success,[data-faq-form-status].is-success{color:#1f6a4f!important}.ksg-form-status.is-error,[data-contact-status].is-error,[data-faq-form-status].is-error{color:#a33b35!important}.ksg-request-form button[aria-busy="true"],.ksg-rfq-form button[aria-busy="true"],[data-contact-form] button[aria-busy="true"],[data-faq-contact-form] button[aria-busy="true"]{opacity:.7;cursor:wait}

/* --------------------------------------------------------------------------
   Homepage mobile hero v1.11 — editorial mobile composition.
   Desktop/tablet layouts intentionally remain untouched.
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .home-hero .ksg-hero {
    height: auto;
    min-height: 650px;
    padding: 0;
    align-items: flex-start;
    background-color: #01113b;
    background-position: 14% center;
  }

  .home-hero .ksg-hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(1, 10, 31, 0.1) 0%,
        rgba(1, 12, 35, 0.2) 28%,
        rgba(1, 14, 41, 0.5) 58%,
        rgba(1, 15, 44, 0.76) 78%,
        rgba(1, 13, 39, 0.95) 100%
      ),
      linear-gradient(
        90deg,
        rgba(1, 17, 59, 0.48) 0%,
        rgba(1, 17, 59, 0.2) 68%,
        rgba(1, 17, 59, 0.3) 100%
      );
  }

  .home-hero .ksg-hero-overlay::after {
    position: absolute;
    top: -86px;
    left: -330px;
    width: 700px;
    height: 700px;
    content: "";
    pointer-events: none;
    border: 1px solid rgba(156, 201, 255, 0.13);
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(46, 143, 241, 0.2) 0%, rgba(4, 25, 67, 0.08) 72%);
  }

  .home-hero .ksg-hero-container {
    width: 100%;
    height: 100%;
    min-height: inherit;
    padding-right: 20px;
    padding-left: 20px;
  }

  .home-hero .ksg-hero-row {
    width: 100%;
    height: 100%;
    min-height: inherit;
    margin-right: 0;
    margin-left: 0;
    align-content: flex-start;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }

  .home-hero .ksg-hero-content {
    display: grid;
    width: 100%;
    max-width: none;
    min-height: 650px;
    flex: 0 0 100%;
    margin: 0;
    padding: 46px 0 42px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto minmax(52px, 1fr) auto auto;
    text-align: left;
    box-sizing: border-box;
  }

  .home-hero .ksg-eyebrow {
    grid-row: 1;
    margin: 0 0 12px !important;
    color: #9cc9ff !important;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.17em;
    text-align: left;
  }

  .home-hero .ksg-hero h1 {
    grid-row: 2;
    width: 100%;
    max-width: none;
    margin: 0 0 18px !important;
    font-size: clamp(29px, 8vw, 32px);
    font-weight: 700;
    line-height: 1.085;
    letter-spacing: -0.025em;
    text-align: left;
    text-wrap: balance;
    text-shadow: 0 3px 24px rgba(0, 0, 0, 0.3);
  }

  .home-hero .ksg-hero-line {
    display: block;
    white-space: normal;
  }

  .home-hero .ksg-hero-copy {
    grid-row: 5;
    width: 100%;
    max-width: 360px;
    margin: 0 0 18px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.58;
    text-align: left;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
  }

  .home-hero .ksg-hero .box-button {
    display: contents;
  }

  .home-hero .ksg-hero .box-button .btn {
    display: flex;
    width: auto;
    max-width: 100%;
    min-height: 54px;
    margin: 0 !important;
    padding: 13px 18px;
    align-items: center;
    justify-content: flex-start;
    justify-self: start;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0;
    text-align: center;
    box-sizing: border-box;
  }

  .home-hero .ksg-hero .box-button .btn-brand-1-big {
    grid-row: 3;
    width: min(100%, 224px);
    padding: 7px 8px 7px 20px;
    justify-content: space-between;
    border-radius: 999px;
    border: 1px solid rgba(156, 201, 255, 0.36);
    color: #01113b !important;
    background: #88a5d8;
    box-shadow: 0 12px 30px rgba(1, 13, 39, 0.2);
  }

  .home-hero .ksg-hero .box-button .btn-brand-1-big::after {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    content: "→";
    border-radius: 50%;
    color: #fff;
    background: #01113b;
    font-size: 17px;
    line-height: 1;
  }

  .home-hero .ksg-hero .box-button .btn-hero-outline {
    grid-row: 6;
    position: relative;
    width: min(100%, 246px);
    padding-right: 52px;
    padding-left: 20px;
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff !important;
    background: rgba(1, 17, 59, 0.72);
    box-shadow: inset 0 0 0 1px rgba(1, 17, 59, 0.08);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }

  .home-hero .ksg-hero .box-button .btn-hero-outline .ksg-arrow {
    position: absolute;
    right: 16px;
    width: 24px;
    height: 24px;
    margin-left: 0;
  }
}

@media (max-width: 359.98px) {
  .home-hero .ksg-hero {
    min-height: 675px;
  }

  .home-hero .ksg-hero-container {
    padding-right: 16px;
    padding-left: 16px;
  }

  .home-hero .ksg-hero-content {
    min-height: 675px;
    padding-top: 40px;
    padding-bottom: 36px;
  }

  .home-hero .ksg-hero h1 {
    font-size: 29px;
  }

  .home-hero .ksg-hero-copy {
    font-size: 14.5px;
  }
}

@media (max-width: 767.98px) and (max-height: 600px) and (orientation: landscape) {
  .home-hero .ksg-hero {
    min-height: 520px;
    background-position: 14% 54%;
  }

  .home-hero .ksg-hero-content {
    display: block;
    min-height: 520px;
    padding-top: 36px;
    padding-bottom: 34px;
  }

  .home-hero .ksg-hero h1 {
    font-size: 30px;
  }

  .home-hero .ksg-hero-copy {
    max-width: 560px;
    margin-bottom: 0 !important;
    font-size: 14px;
  }

  .home-hero .ksg-hero .box-button {
    display: flex;
    width: 100%;
    margin-top: 20px !important;
    flex-direction: row;
    gap: 12px;
  }

  .home-hero .ksg-hero .box-button .btn {
    width: auto;
    flex: 1 1 0;
    justify-self: auto;
  }
}

/* --------------------------------------------------------------------------
   Homepage hero service rail v1.12 — a quiet, continuously moving service
   navigator inspired by maritime routes. It belongs to the hero on every
   viewport and keeps the primary artwork visually dominant.
   -------------------------------------------------------------------------- */
.home-hero .ksg-hero {
  --ksg-hero-rail-height: 0px;
  align-items: flex-start;
}

.home-hero .ksg-hero.has-service-rail {
  --ksg-hero-rail-height: 90px;
}

.home-hero .ksg-hero-overlay {
  background:
    linear-gradient(180deg, rgba(1, 8, 24, 0.04) 0%, rgba(1, 8, 24, 0.13) 100%),
    linear-gradient(
      90deg,
      rgba(1, 17, 59, 0.01) 0%,
      rgba(1, 17, 59, 0.025) 42%,
      rgba(1, 17, 59, 0.06) 62%,
      rgba(1, 17, 59, 0.13) 80%,
      rgba(1, 17, 59, 0.2) 100%
    );
}

.home-hero .ksg-hero-container {
  z-index: 2;
  height: calc(100% - var(--ksg-hero-rail-height));
}

.home-hero .ksg-hero-row {
  height: 100%;
  min-height: 0;
}

.ksg-hero-service-rail {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  height: var(--ksg-hero-rail-height);
  overflow: hidden;
  border-top: 0;
  background:
    linear-gradient(90deg, rgba(2, 12, 37, 0.74) 0%, rgba(4, 25, 65, 0.7) 66%, rgba(20, 75, 132, 0.6) 100%);
  box-shadow: 0 -6px 20px rgba(1, 8, 28, 0.05);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.ksg-hero-service-rail::before {
  display: none;
  content: none;
}

.ksg-hero-service-rail::after {
  position: absolute;
  top: -90%;
  right: -8%;
  z-index: 2;
  width: 36%;
  height: 280%;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle, rgba(91, 161, 229, 0.15) 0%, transparent 70%);
  opacity: 0.22;
}

.ksg-hero-service-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}

.ksg-hero-service-track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: ksg-hero-services-marquee 42s linear infinite;
  will-change: transform;
}

.ksg-hero-service-group {
  display: flex;
  height: 100%;
  flex: 0 0 auto;
}

.ksg-hero-service-item {
  display: grid;
  width: clamp(232px, 17vw, 300px);
  height: 100%;
  padding: 13px 22px;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  border-right: 1px solid rgba(190, 219, 255, 0.08);
  color: #fff;
  background: rgba(255, 255, 255, 0);
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.25s ease;
}

a.ksg-hero-service-item:hover,
a.ksg-hero-service-item:focus-visible {
  color: #fff;
  background: rgba(92, 151, 215, 0.11);
}

a.ksg-hero-service-item:focus-visible {
  outline: 2px solid #9cc9ff;
  outline-offset: -3px;
}

.ksg-hero-service-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(214, 231, 251, 0.18);
  border-radius: 12px;
  color: #5d7696;
  background: rgba(244, 248, 253, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 8px 18px rgba(1, 17, 59, 0.10);
  font-size: 22px;
  transition: transform 0.25s ease, color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ksg-hero-service-icon i {
  display: block;
  font-size: 22px;
  line-height: 1;
  color: #5d7696;
}

.ksg-hero-service-agency-mark {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  isolation: isolate;
}

.ksg-hero-service-agency-mark::before {
  position: absolute;
  z-index: -1;
  inset: 2px;
  border-radius: 44% 56% 48% 52% / 52% 42% 58% 48%;
  background: #c9d3e2;
  content: "";
  transform: rotate(-7deg);
}

.ksg-hero-service-icon .ksg-hero-service-agency-mark i {
  color: #01113b;
  font-size: 22px;
}

.ksg-hero-service-icon img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: none;
  opacity: 0.98;
}

a.ksg-hero-service-item:hover .ksg-hero-service-icon,
a.ksg-hero-service-item:focus-visible .ksg-hero-service-icon {
  color: #496788;
  background: rgba(248, 251, 255, 0.97);
  border-color: rgba(214, 231, 251, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 10px 20px rgba(1, 17, 59, 0.14);
  transform: translateY(-2px);
}

a.ksg-hero-service-item:hover .ksg-hero-service-icon i,
a.ksg-hero-service-item:focus-visible .ksg-hero-service-icon i {
  color: #496788;
}

.ksg-hero-service-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.ksg-hero-service-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.93);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.28;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ksg-hero-service-rail:hover .ksg-hero-service-track,
.ksg-hero-service-rail:focus-within .ksg-hero-service-track {
  animation-play-state: paused;
}

.ksg-hero-service-rail:focus-within .ksg-hero-service-track {
  transform: translate3d(-50%, 0, 0);
}

@keyframes ksg-hero-services-marquee {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@media (min-width: 1200px) {
  .home-hero .ksg-eyebrow,
  .home-hero .ksg-hero h1,
  .home-hero .ksg-hero-copy {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .home-hero .ksg-hero.has-service-rail {
    --ksg-hero-rail-height: 96px;
  }

  .home-hero .ksg-hero {
    height: calc(100vh - var(--ksg-header-height, 78px));
    height: calc(100svh - var(--ksg-header-height, 78px));
    min-height: 650px;
    padding: 0;
  }

  .home-hero .ksg-hero-overlay {
    background:
      linear-gradient(180deg, rgba(1, 8, 24, 0.12) 0%, rgba(1, 8, 24, 0.26) 100%),
      linear-gradient(90deg, rgba(1, 17, 59, 0.14) 0%, rgba(1, 17, 59, 0.22) 54%, rgba(1, 17, 59, 0.42) 100%);
  }

  .home-hero .ksg-hero-container,
  .home-hero .ksg-hero-row {
    min-height: 0;
  }

  .ksg-hero-service-item {
    width: 220px;
    padding: 14px 19px;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
  }

  .ksg-hero-service-icon {
    width: 44px;
    height: 44px;
  }

  .ksg-hero-service-icon img {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 767.98px) {
  .home-hero .ksg-hero.has-service-rail {
    --ksg-hero-rail-height: 104px;
  }

  .home-hero .ksg-hero {
    width: 100%;
    height: calc(100vh - var(--ksg-header-height, 68px));
    height: calc(100dvh - var(--ksg-header-height, 68px));
    min-height: 680px;
    max-height: none;
    padding: 0;
    align-items: flex-start;
    background-color: #01113b;
    background-position: 21% center;
  }

  .home-hero .ksg-hero-overlay {
    background:
      linear-gradient(180deg, rgba(1, 10, 31, 0.24) 0%, rgba(1, 11, 34, 0.38) 49%, rgba(1, 13, 39, 0.72) 100%),
      linear-gradient(90deg, rgba(1, 17, 59, 0.24) 0%, rgba(1, 17, 59, 0.14) 58%, rgba(1, 17, 59, 0.28) 100%);
  }

  .home-hero .ksg-hero-overlay::after {
    display: none;
    content: none;
  }

  .home-hero .ksg-hero-container {
    width: 100%;
    height: calc(100% - var(--ksg-hero-rail-height));
    min-height: 0;
    padding-right: 20px;
    padding-left: 20px;
  }

  .home-hero .ksg-hero-row {
    width: 100%;
    height: 100%;
    min-height: 0;
    margin-right: 0;
    margin-left: 0;
    align-content: center;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  .home-hero .ksg-hero-content {
    display: block;
    width: 100%;
    max-width: none;
    min-height: 0;
    flex: 0 0 100%;
    margin: 0;
    padding: 26px 0 24px;
    text-align: left;
    box-sizing: border-box;
  }

  .home-hero .ksg-eyebrow {
    margin: 0 0 11px !important;
    color: #9cc9ff !important;
    font-size: 10px;
    line-height: 1.35;
    letter-spacing: 0.17em;
    text-align: left;
  }

  .home-hero .ksg-hero h1 {
    width: 100%;
    max-width: 370px;
    margin: 0 0 16px !important;
    font-size: clamp(29px, 8vw, 33px);
    font-weight: 700;
    line-height: 1.075;
    letter-spacing: -0.025em;
    text-align: left;
    text-wrap: balance;
    text-shadow: 0 3px 24px rgba(0, 0, 0, 0.3);
  }

  .home-hero .ksg-hero-line {
    display: block;
    white-space: normal;
  }

  .home-hero .ksg-hero-copy {
    width: 100%;
    max-width: 365px;
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.52;
    text-align: left;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.3);
  }

  .home-hero .ksg-hero .box-button {
    display: flex;
    width: 100%;
    margin-top: 22px !important;
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
  }

  .home-hero .ksg-hero .box-button .btn {
    display: flex;
    width: 100%;
    max-width: none;
    min-height: 50px;
    margin: 0 !important;
    padding: 12px 17px;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    box-sizing: border-box;
  }

  .home-hero .ksg-hero .box-button .btn-brand-1-big {
    padding: 12px 17px;
    border: 1px solid rgba(156, 201, 255, 0.28);
    border-radius: 3px;
    color: #01113b !important;
    background: #88a5d8;
    box-shadow: 0 10px 28px rgba(1, 13, 39, 0.18);
  }

  .home-hero .ksg-hero .box-button .btn-brand-1-big::after {
    display: none;
    content: none;
  }

  .home-hero .ksg-hero .box-button .btn-hero-outline {
    position: relative;
    padding-right: 48px;
    padding-left: 48px;
    border-color: rgba(255, 255, 255, 0.52);
    color: #fff !important;
    background: rgba(1, 17, 59, 0.58);
    box-shadow: inset 0 0 0 1px rgba(1, 17, 59, 0.06);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }

  .home-hero .ksg-hero .box-button .btn-hero-outline .ksg-arrow {
    position: absolute;
    right: 15px;
    width: 23px;
    height: 23px;
    margin-left: 0;
  }

  .ksg-hero-service-rail {
    background: linear-gradient(90deg, rgba(2, 12, 37, 0.97) 0%, rgba(4, 26, 68, 0.96) 64%, rgba(18, 69, 126, 0.9) 100%);
    box-shadow: 0 -14px 34px rgba(1, 8, 28, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .ksg-hero-service-viewport {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  }

  .ksg-hero-service-track {
    animation-duration: 32s;
  }

  .ksg-hero-service-item {
    width: 184px;
    padding: 13px 15px;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 11px;
  }

  .ksg-hero-service-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 20px;
  }

  .ksg-hero-service-icon img {
    width: 34px;
    height: 34px;
  }

  .ksg-hero-service-copy strong {
    font-size: 11.5px;
    line-height: 1.25;
  }

}

@media (max-width: 359.98px) {
  .home-hero .ksg-hero.has-service-rail {
    --ksg-hero-rail-height: 100px;
  }

  .home-hero .ksg-hero {
    min-height: 700px;
  }

  .home-hero .ksg-hero-container {
    padding-right: 16px;
    padding-left: 16px;
  }

  .home-hero .ksg-hero h1 {
    font-size: 28px;
  }

  .home-hero .ksg-hero-copy {
    font-size: 14px;
  }

  .ksg-hero-service-item {
    width: 174px;
    padding-right: 13px;
    padding-left: 13px;
  }
}

@media (max-width: 767.98px) and (max-height: 600px) and (orientation: landscape) {
  .home-hero .ksg-hero.has-service-rail {
    --ksg-hero-rail-height: 90px;
  }

  .home-hero .ksg-hero {
    height: auto;
    min-height: 560px;
    background-position: 21% 52%;
  }

  .home-hero .ksg-hero-content {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .home-hero .ksg-hero h1 {
    max-width: 560px;
    margin-bottom: 11px !important;
    font-size: 29px;
  }

  .home-hero .ksg-hero-copy {
    max-width: 580px;
    font-size: 13.5px;
  }

  .home-hero .ksg-hero .box-button {
    margin-top: 16px !important;
    flex-direction: row;
  }

  .ksg-hero-service-item {
    width: 178px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ksg-hero-service-viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: thin;
  }

  .ksg-hero-service-track {
    animation: none;
    transform: none;
  }

  .ksg-hero-service-group-copy {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Homepage hero v1.14 — premium CSS-only luminance treatment.
   The source artwork stays naturally exposed; controlled navy overlays reduce
   hot highlights while keeping the uniform branding readable on the left.
   -------------------------------------------------------------------------- */
.home-hero .ksg-hero-overlay {
  background:
    linear-gradient(
      180deg,
      rgba(1, 8, 24, 0.33) 0%,
      rgba(1, 10, 30, 0.41) 48%,
      rgba(1, 12, 36, 0.51) 100%
    ),
    linear-gradient(
      90deg,
      rgba(1, 17, 59, 0.35) 0%,
      rgba(1, 17, 59, 0.39) 28%,
      rgba(1, 17, 59, 0.50) 45%,
      rgba(1, 15, 49, 0.68) 62%,
      rgba(1, 13, 43, 0.85) 79%,
      rgba(1, 11, 37, 0.92) 100%
    );
}

/* A very soft cool lift around the crew: this is intentionally local so the
   white KAHVECI SEA GROUP marks stay legible without making the hero bright. */
@media (min-width: 768px) {
  .home-hero .ksg-hero-overlay::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: radial-gradient(
      ellipse 29% 33% at 21% 82%,
      rgba(175, 207, 239, 0.11) 0%,
      rgba(119, 168, 215, 0.05) 31%,
      rgba(70, 122, 180, 0.018) 50%,
      rgba(0, 0, 0, 0) 72%
    );
    mix-blend-mode: screen;
    opacity: 0.20;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .home-hero .ksg-hero-overlay {
    background:
      linear-gradient(180deg, rgba(1, 8, 24, 0.36) 0%, rgba(1, 12, 36, 0.54) 100%),
      linear-gradient(90deg, rgba(1, 17, 59, 0.38) 0%, rgba(1, 17, 59, 0.48) 47%, rgba(1, 13, 43, 0.82) 100%);
  }

  .home-hero .ksg-hero-overlay::before {
    opacity: 0.28;
  }
}

@media (max-width: 767.98px) {
  .home-hero .ksg-hero-overlay {
    background:
      linear-gradient(180deg, rgba(1, 9, 28, 0.50) 0%, rgba(1, 11, 34, 0.67) 52%, rgba(1, 13, 39, 0.90) 100%),
      linear-gradient(90deg, rgba(1, 17, 59, 0.42) 0%, rgba(1, 17, 59, 0.34) 55%, rgba(1, 17, 59, 0.54) 100%);
  }
}


/* --------------------------------------------------------------------------
   Homepage service marquee — two continuous, counter-directional lanes based
   on the verified TZN rhythm and restyled for the KSG identity.
   -------------------------------------------------------------------------- */
.ksg-service-marquee {
  overflow: hidden;
  padding: 0;
  background: #ffffff;
}

.ksg-marquee-stack {
  overflow: hidden;
  margin: 0;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(1, 17, 59, 0.08);
}

.ksg-marquee-row {
  display: flex;
  height: clamp(72px, 7.2vw, 118px);
  overflow: hidden;
  align-items: center;
}

.ksg-marquee-row--outline {
  background: #ffffff;
}

.ksg-marquee-row--solid {
  background: linear-gradient(90deg, #01113b 0%, #0a2f67 52%, #01113b 100%);
}

.ksg-marquee-track,
.ksg-marquee-group {
  display: flex;
  width: max-content;
  flex: 0 0 auto;
  align-items: center;
  white-space: nowrap;
}

.ksg-marquee-track {
  will-change: transform;
}

.ksg-marquee-track--ltr {
  animation: ksg-marquee-ltr 34s linear infinite;
}

.ksg-marquee-track--rtl {
  animation: ksg-marquee-rtl 38s linear infinite;
}

.ksg-marquee-item {
  font-family: "Archivo", Arial, sans-serif;
  font-size: clamp(36px, 4.15vw, 80px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.ksg-marquee-row--outline .ksg-marquee-item {
  color: transparent;
  -webkit-text-stroke: 1.25px rgba(111, 133, 178, 0.38);
}

.ksg-marquee-row--solid .ksg-marquee-item {
  color: #ffffff;
}

.ksg-marquee-separator {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin: 0 clamp(28px, 3vw, 58px);
}

.ksg-marquee-separator svg {
  width: clamp(28px, 2vw, 38px);
  height: clamp(16px, 1.3vw, 24px);
}

.ksg-marquee-row--outline .ksg-marquee-separator {
  color: rgba(111, 133, 178, 0.52);
}

.ksg-marquee-row--solid .ksg-marquee-separator {
  color: var(--ksg-secondary);
}

.ksg-service-marquee + .ksg-services {
  padding-top: clamp(58px, 4.7vw, 74px) !important;
}

@keyframes ksg-marquee-ltr {
  from {
    transform: translate3d(-50%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes ksg-marquee-rtl {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* --------------------------------------------------------------------------
   Homepage services v2.0 — equal-height cards, KSG brand treatment and the
   verified Corex-style fill / icon-flip interaction.
   -------------------------------------------------------------------------- */
.ksg-services {
  overflow: hidden;
  background: var(--ksg-surface-muted);
}

.ksg-services .box-background-offer .bg-under {
  background:
    linear-gradient(180deg, rgba(1, 17, 59, 0.42) 0%, rgba(1, 13, 43, 0.60) 100%),
    var(--ksg-services-bg-image, url(../imgs/gorseller4/anasayfa-hizmet-talebi.webp)) no-repeat center center;
  background-size: cover;
}

.ksg-services .box-background-offer .bg-under::before {
  background: var(--ksg-secondary);
  -webkit-mask: url(../imgs/page/homepage1/quote.png) no-repeat center / contain;
  mask: url(../imgs/page/homepage1/quote.png) no-repeat center / contain;
}

.ksg-services .box-background-offer > .row > [class*="col-"] {
  display: flex;
}

.ksg-services .ksg-service-card {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 445px;
  min-height: 445px;
  overflow: hidden;
  transform: translateY(0);
  transition:
    transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
    border-color 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ksg-services .ksg-service-card::before {
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  content: "";
  pointer-events: none;
  background: var(--ksg-primary);
  opacity: 1;
  transition:
    height 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
    opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ksg-services .ksg-service-card > .card-image,
.ksg-services .ksg-service-card > .card-info {
  position: relative;
  z-index: 1;
}

.ksg-services .ksg-service-card:hover {
  transform: translateY(-12px);
  border-color: rgba(1, 17, 59, 0.18);
  border-bottom-color: var(--ksg-primary) !important;
  box-shadow: 0 20px 40px rgba(1, 17, 59, 0.12);
}

.ksg-services .ksg-service-card:hover::before {
  height: 100%;
  opacity: 0.02;
}

.ksg-services .ksg-service-icon {
  color: var(--ksg-primary);
  transform: rotate(0deg);
  transition:
    transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
    color 0.4s ease,
    background-color 0.4s ease,
    border-color 0.4s ease;
}

.ksg-services .ksg-service-icon i,
.ksg-services .ksg-service-icon img {
  transition:
    color 0.4s ease,
    filter 0.4s ease;
}

.ksg-services .ksg-service-card:hover .ksg-service-icon {
  color: #ffffff;
  background: var(--ksg-primary) !important;
  border-color: var(--ksg-primary) !important;
  transform: rotate(360deg);
}

.ksg-services .ksg-service-card:hover .ksg-service-icon i,
.ksg-services .ksg-service-card:hover .ksg-service-icon img {
  color: #ffffff;
}

.ksg-services .ksg-service-card:hover .ksg-service-icon img {
  filter: brightness(0) invert(1);
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .ksg-services .ksg-service-card {
    height: 465px;
    min-height: 465px;
  }
}

@media (max-width: 1199.98px) {
  .ksg-services .ksg-service-card {
    height: 440px;
    min-height: 440px;
  }
}

@media (max-width: 991.98px) {
  .ksg-services .ksg-service-card {
    height: 415px;
    min-height: 415px;
  }
}

@media (max-width: 767.98px) {
  .ksg-services .ksg-service-card {
    height: 415px;
    min-height: 415px;
  }
}

@media (max-width: 359.98px) {
  .ksg-services .ksg-service-card {
    height: 440px;
    min-height: 440px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ksg-marquee-track {
    animation: none;
    transform: none;
  }

  .ksg-services .ksg-service-card,
  .ksg-services .ksg-service-card::before,
  .ksg-services .ksg-service-icon,
  .ksg-services .ksg-service-icon i,
  .ksg-services .ksg-service-icon img {
    transition: none;
  }

  .ksg-services .ksg-service-card:hover,
  .ksg-services .ksg-service-card:hover .ksg-service-icon,
  .ksg-services .ksg-service-card:hover .ksg-service-icon i,
  .ksg-services .ksg-service-card:hover .ksg-service-icon img {
    transform: none;
  }
}


/* --------------------------------------------------------------------------
   Homepage audiences v2.0 — full-visual premium audience cards.
   The section background remains light, while each card becomes a full-image
   panel with a dark navy bottom fade similar to the visual references.
   -------------------------------------------------------------------------- */
.ksg-audiences .row {
  row-gap: 30px;
}

.ksg-audiences .ksg-audience-card {
  position: relative;
  min-height: 520px;
  border: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0;
  background: #03153f !important;
  box-shadow: 0 18px 48px rgba(1, 17, 59, 0.12);
  isolation: isolate;
}

.ksg-audiences .ksg-audience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(1, 17, 59, 0.16);
}

.ksg-audiences .ksg-audience-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  flex: none;
}

.ksg-audiences .ksg-audience-image::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse 88% 54% at 14% 108%, rgba(29, 103, 188, 0.46) 0%, rgba(12, 61, 127, 0.26) 34%, rgba(5, 36, 86, 0.08) 58%, rgba(3, 24, 65, 0) 76%),
    radial-gradient(ellipse 62% 42% at 92% 104%, rgba(0, 12, 38, 0.76) 0%, rgba(0, 12, 38, 0.28) 48%, rgba(0, 12, 38, 0) 76%),
    linear-gradient(180deg, rgba(1, 9, 27, 0.02) 0%, rgba(1, 11, 34, 0.08) 28%, rgba(1, 13, 39, 0.26) 44%, rgba(1, 15, 45, 0.60) 58%, rgba(1, 14, 42, 0.84) 72%, rgba(0, 10, 32, 0.96) 86%, rgba(0, 6, 22, 0.995) 100%),
    linear-gradient(105deg, rgba(4, 39, 92, 0.30) 0%, rgba(3, 28, 73, 0.10) 42%, rgba(0, 10, 34, 0.34) 100%);
}

.ksg-audiences .ksg-audience-image::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 44%;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 47, 105, 0.16) 0%, rgba(2, 24, 67, 0.05) 45%, rgba(0, 7, 25, 0.22) 100%);
  mix-blend-mode: screen;
  opacity: 0.72;
}

.ksg-audiences .ksg-audience-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.01);
}

.ksg-audiences .ksg-audience-card .card-info {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 520px;
  padding: 32px 36px 34px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  background: transparent;
}

.ksg-audiences .ksg-audience-card h3,
.ksg-audiences .ksg-audience-card .color-brand-2 {
  color: #ffffff !important;
}

.ksg-audiences .ksg-audience-card h3 {
  display: block;
  width: 100%;
  min-height: 2.2em;
  margin-bottom: 14px !important;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 3px 18px rgba(0, 7, 25, 0.28);
}

.ksg-audiences .ksg-audience-card p,
.ksg-audiences .ksg-audience-card .color-grey-700,
.ksg-audiences .ksg-audience-card .color-grey-900 {
  width: 100%;
  max-width: 640px;
  min-height: 3.36em;
  margin-bottom: 22px !important;
  color: rgba(236, 242, 252, 0.91) !important;
  font-size: 18px;
  line-height: 1.68 !important;
  text-shadow: 0 2px 12px rgba(0, 7, 25, 0.22);
}

.ksg-audiences .ksg-audience-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 600;
  line-height: 1.35 !important;
}

.ksg-audiences .ksg-audience-cta .ksg-arrow {
  width: 30px !important;
  height: 30px !important;
  color: #ffffff;
}

.ksg-audiences .ksg-audience-cta:hover {
  opacity: 0.92;
}

.ksg-audiences .ksg-audience-cta {
  margin-top: 4px;
}

@media (max-width: 1199.98px) {
  .ksg-audiences .ksg-audience-card,
  .ksg-audiences .ksg-audience-card .card-info {
    min-height: 460px;
  }

  .ksg-audiences .ksg-audience-card h3 {
    min-height: 2.28em;
    font-size: 34px;
  }

  .ksg-audiences .ksg-audience-card p {
    min-height: 3.32em;
    font-size: 17px;
  }
}

@media (max-width: 991.98px) {
  .ksg-audiences .ksg-audience-card,
  .ksg-audiences .ksg-audience-card .card-info {
    min-height: 420px;
  }

  .ksg-audiences .ksg-audience-card .card-info {
    padding: 28px 28px 30px;
  }

  .ksg-audiences .ksg-audience-card h3 {
    min-height: 2.28em;
    font-size: 30px;
    line-height: 1.14;
  }

  .ksg-audiences .ksg-audience-card p {
    min-height: 3.16em;
    font-size: 16px;
    line-height: 1.58 !important;
  }
}

@media (max-width: 767.98px) {
  .ksg-audiences .ksg-audience-image::after {
    background:
      radial-gradient(ellipse 90% 54% at 18% 106%, rgba(23, 87, 165, 0.40) 0%, rgba(9, 49, 108, 0.20) 38%, rgba(3, 28, 73, 0) 72%),
      linear-gradient(180deg, rgba(1, 9, 27, 0.04) 0%, rgba(1, 12, 36, 0.14) 34%, rgba(1, 14, 42, 0.54) 54%, rgba(1, 13, 39, 0.84) 73%, rgba(0, 7, 24, 0.98) 100%);
  }
}

@media (max-width: 767.98px) {
  .ksg-audiences .row {
    row-gap: 22px;
  }

  .ksg-audiences .ksg-audience-card,
  .ksg-audiences .ksg-audience-card .card-info {
    min-height: 360px;
  }

  .ksg-audiences .ksg-audience-card .card-info {
    padding: 24px 22px 24px;
  }

  .ksg-audiences .ksg-audience-card h3 {
    min-height: 0;
    margin-bottom: 10px !important;
    font-size: 24px;
    line-height: 1.18;
  }

  .ksg-audiences .ksg-audience-card p {
    min-height: 0;
    margin-bottom: 16px !important;
    font-size: 15px;
    line-height: 1.52 !important;
  }

  .ksg-audiences .ksg-audience-cta {
    font-size: 15px !important;
  }
}

/* --------------------------------------------------------------------------
   Homepage global network v2.0 — maritime route console.
   -------------------------------------------------------------------------- */
.ksg-global-reach {
  display: block;
  position: relative;
  overflow: hidden;
  padding-top: clamp(72px, 6vw, 104px) !important;
  padding-bottom: clamp(72px, 6vw, 104px) !important;
  background:
    radial-gradient(circle at 8% 18%, rgba(111, 133, 178, 0.15), transparent 30%),
    linear-gradient(180deg, #f8fafd 0%, #eef3f9 100%);
}

.ksg-global-reach::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(1, 17, 59, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 17, 59, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

#ksg-global-network.ksg-network-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(440px, 0.88fr) minmax(560px, 1.12fr);
  color: #ffffff;
  background: linear-gradient(135deg, #020d2b 0%, #05214b 46%, #0a427b 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(1, 17, 59, 0.22);
}

#ksg-global-network.ksg-network-panel::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -45%;
  left: -18%;
  width: 760px;
  height: 760px;
  opacity: 0.42;
  border: 1px solid rgba(151, 181, 225, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(111, 133, 178, 0.035),
    0 0 0 180px rgba(111, 133, 178, 0.025);
  pointer-events: none;
}

#ksg-global-network .ksg-network-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  min-height: 780px;
  justify-content: center;
  flex-direction: column;
  padding: clamp(44px, 3.5vw, 58px);
}

#ksg-global-network .ksg-network-copy .btn-tag {
  align-self: flex-start;
  color: #dce9fb !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(167, 190, 225, 0.35) !important;
  backdrop-filter: blur(10px);
}

#ksg-global-network .ksg-network-copy h2 {
  max-width: 620px;
  margin: 24px 0 22px;
  color: #ffffff;
  font-size: clamp(40px, 3.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

#ksg-global-network .ksg-network-intro {
  max-width: 620px;
  margin: 0;
  color: rgba(232, 240, 251, 0.78);
  font-size: 16px;
  line-height: 1.78;
}

#ksg-global-network .ksg-region-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

#ksg-global-network .ksg-region-route {
  --ksg-route-delay: 0s;
  position: relative;
  display: grid;
  width: 100%;
  min-height: 58px;
  grid-template-columns: 34px minmax(0, 1fr) 76px;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  color: #ffffff;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 0;
  text-align: left;
  transition: background-color 0.28s ease, padding-left 0.28s ease;
}

#ksg-global-network .ksg-region-route::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 2px;
  background: #a9c2e7;
  opacity: 0;
  transform: scaleY(0.35);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

#ksg-global-network .ksg-region-route:nth-child(2) { --ksg-route-delay: -0.55s; }
#ksg-global-network .ksg-region-route:nth-child(3) { --ksg-route-delay: -1.1s; }
#ksg-global-network .ksg-region-route:nth-child(4) { --ksg-route-delay: -1.65s; }
#ksg-global-network .ksg-region-route:nth-child(5) { --ksg-route-delay: -2.2s; }

#ksg-global-network .ksg-region-route:hover,
#ksg-global-network .ksg-region-route:focus-visible,
#ksg-global-network .ksg-region-route.is-active {
  padding-left: 18px;
  background: linear-gradient(90deg, rgba(155, 185, 226, 0.14), rgba(155, 185, 226, 0));
}

#ksg-global-network .ksg-region-route:hover::before,
#ksg-global-network .ksg-region-route:focus-visible::before,
#ksg-global-network .ksg-region-route.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}

#ksg-global-network .ksg-region-route:focus-visible {
  outline: 2px solid #c9daf2;
  outline-offset: 2px;
}

#ksg-global-network .ksg-region-list .ksg-region-index {
  padding: 0;
  color: #95add0;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

#ksg-global-network .ksg-region-list .ksg-region-name {
  padding: 0;
  color: #ffffff;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

#ksg-global-network .ksg-region-list .ksg-route-motion {
  position: relative;
  display: block;
  width: 72px;
  height: 24px;
  justify-self: end;
  overflow: hidden;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
}

#ksg-global-network .ksg-route-motion::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 3px;
  left: 3px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 207, 238, 0.46) 24%, rgba(184, 207, 238, 0.9));
}

#ksg-global-network .ksg-route-motion i {
  position: absolute;
  z-index: 1;
  top: 9px;
  left: 4px;
  width: 6px;
  height: 6px;
  background: #dce9fb;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(180, 208, 245, 0.95);
  animation: ksgRegionRouteDot 3.2s linear var(--ksg-route-delay) infinite;
}

#ksg-global-network .ksg-route-motion svg {
  position: absolute;
  z-index: 2;
  top: 5px;
  right: 0;
  width: 26px;
  height: 14px;
  overflow: visible;
  fill: none;
  stroke: #dce9fb;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: ksgRegionArrowGlide 3.2s ease-in-out var(--ksg-route-delay) infinite;
}

#ksg-global-network .ksg-region-route:hover .ksg-route-motion i,
#ksg-global-network .ksg-region-route:focus-visible .ksg-route-motion i,
#ksg-global-network .ksg-region-route:hover .ksg-route-motion svg,
#ksg-global-network .ksg-region-route:focus-visible .ksg-route-motion svg {
  animation-duration: 1.25s;
}

#ksg-global-network .ksg-network-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 24px;
  color: rgba(222, 234, 250, 0.68);
  font-size: 11px;
  font-weight: 600;
}

#ksg-global-network .ksg-network-legend span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

#ksg-global-network .ksg-legend-region {
  width: 9px;
  height: 9px;
  background: #8fa9d2;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(143, 169, 210, 0.18);
}

#ksg-global-network .ksg-legend-route {
  width: 28px;
  border-top: 1px dashed rgba(180, 207, 242, 0.88);
}

#ksg-global-network .ksg-network-visual {
  position: relative;
  z-index: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: #020b20;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

#ksg-global-network .ksg-map-shell {
  position: relative;
  overflow: hidden;
  min-height: 710px;
  flex: 1 1 auto;
  background: #030d22;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

#ksg-global-network .ksg-map-shell::before {
  content: "";
  position: absolute;
  z-index: 410;
  inset: 0 auto 0 0;
  width: 150px;
  background: linear-gradient(90deg, rgba(2, 11, 32, 0.88), rgba(2, 11, 32, 0));
  pointer-events: none;
}

#ksg-global-network .ksg-map-shell::after {
  content: "";
  position: absolute;
  z-index: 411;
  top: -180px;
  right: -190px;
  width: 480px;
  height: 480px;
  opacity: 0.34;
  border: 1px solid rgba(148, 179, 222, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 58px rgba(148, 179, 222, 0.025), 0 0 0 116px rgba(148, 179, 222, 0.02);
  pointer-events: none;
}

#ksg-global-network .ksg-map-wrap {
  width: 100%;
  height: 100%;
  min-height: 710px;
  background: #030d22 url("../imgs/page/homepage1/world-map.png") center / contain no-repeat;
}

#ksg-global-network .leaflet-container {
  font-family: "Archivo", Arial, sans-serif;
}

#ksg-global-network .leaflet-tile-pane {
  filter: saturate(0.72) contrast(1.08) brightness(0.84) hue-rotate(3deg);
}

#ksg-global-network .leaflet-control-zoom {
  margin-top: 24px;
  margin-right: 24px;
  overflow: hidden;
  border: 1px solid rgba(180, 205, 238, 0.19);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

#ksg-global-network .leaflet-control-zoom a {
  color: #dce9fb;
  background: rgba(6, 28, 62, 0.94);
  border-color: rgba(255, 255, 255, 0.08);
}

#ksg-global-network .leaflet-control-zoom a:hover {
  color: #ffffff;
  background: #0a427b;
}

#ksg-global-network .leaflet-control-attribution {
  color: rgba(201, 216, 236, 0.55);
  background: rgba(2, 9, 25, 0.8);
  font-size: 9px;
}

#ksg-global-network .leaflet-control-attribution a {
  color: #a9c2e7;
}

#ksg-global-network .ksg-map-status {
  position: absolute;
  z-index: 520;
  top: 24px;
  left: 24px;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  color: #dce9fb;
  background: rgba(3, 17, 43, 0.82);
  border: 1px solid rgba(177, 202, 235, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
}

#ksg-global-network .ksg-map-status i {
  width: 7px;
  height: 7px;
  background: #9eb8dc;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(158, 184, 220, 0.13), 0 0 16px rgba(158, 184, 220, 0.78);
  animation: ksgMapStatusPulse 2.2s ease-in-out infinite;
}

#ksg-global-network .ksg-map-hint {
  position: absolute;
  z-index: 520;
  right: 20px;
  bottom: 16px;
  max-width: min(64%, 470px);
  margin: 0;
  padding: 8px 11px;
  color: rgba(216, 229, 247, 0.72);
  background: rgba(3, 17, 43, 0.82);
  border: 1px solid rgba(177, 202, 235, 0.13);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  font-size: 10px;
  line-height: 1.45;
}

#ksg-global-network .ksg-map-fallback {
  z-index: 600;
  color: #ffffff;
  background: rgba(3, 17, 43, 0.94);
  border-color: rgba(177, 202, 235, 0.24);
}

#ksg-global-network .ksg-network-footnote {
  position: relative;
  display: flex;
  min-height: 70px;
  align-items: center;
  gap: 15px;
  padding: 17px 24px;
  background: linear-gradient(90deg, #030d24, #061a3a);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#ksg-global-network .ksg-network-footnote > span {
  width: 34px;
  height: 1px;
  flex: 0 0 34px;
  background: linear-gradient(90deg, #8fa9d2, rgba(143, 169, 210, 0.1));
}

#ksg-global-network .ksg-network-footnote p {
  margin: 0;
  color: rgba(219, 231, 247, 0.64);
  font-size: 10px;
  line-height: 1.55;
}

#ksg-global-network .ksg-network-marker {
  background: transparent;
  border: 0;
}

#ksg-global-network .ksg-network-marker-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  background: #8fa9d2;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(143, 169, 210, 0.16), 0 0 24px rgba(143, 169, 210, 0.75);
  transform: translate(-50%, -50%);
}

#ksg-global-network .ksg-network-marker-core::before,
#ksg-global-network .ksg-network-marker-core::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(168, 195, 230, 0.72);
  border-radius: 50%;
  animation: ksgNetworkPulse 2.7s ease-out infinite;
}

#ksg-global-network .ksg-network-marker-core::after {
  animation-delay: 1.35s;
}

#ksg-global-network .ksg-network-label {
  position: absolute;
  bottom: 27px;
  left: 50%;
  width: max-content;
  max-width: 170px;
  padding: 8px 11px;
  color: #ffffff;
  background: rgba(4, 23, 53, 0.92);
  border: 1px solid rgba(174, 200, 234, 0.24);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.045em;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
}

#ksg-global-network .ksg-network-route {
  filter: drop-shadow(0 0 5px rgba(143, 169, 210, 0.55));
  animation: ksgNetworkDash 13s linear infinite;
}

#ksg-global-network .ksg-network-route--2 { animation-delay: -3s; }
#ksg-global-network .ksg-network-route--3 { animation-delay: -6s; }
#ksg-global-network .ksg-network-route--4 { animation-delay: -9s; }

#ksg-global-network .ksg-route-runner {
  background: transparent;
  border: 0;
  pointer-events: none;
}

#ksg-global-network .ksg-route-runner-glyph {
  display: grid;
  width: 30px;
  height: 18px;
  place-items: center;
  color: #dce9fb;
  transform-origin: 50% 50%;
  filter: drop-shadow(0 0 7px rgba(183, 210, 245, 0.9));
}

#ksg-global-network .ksg-route-runner-glyph svg {
  width: 30px;
  height: 18px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#ksg-global-network .leaflet-popup-content-wrapper,
#ksg-global-network .leaflet-popup-tip {
  color: #ffffff;
  background: #041735;
  border: 1px solid rgba(177, 202, 235, 0.18);
}

#ksg-global-network .leaflet-popup-content {
  margin: 13px 16px;
  line-height: 1.55;
}

@keyframes ksgRegionRouteDot {
  0% { opacity: 0; transform: translateX(0) scale(0.65); }
  14% { opacity: 1; }
  76% { opacity: 1; }
  100% { opacity: 0; transform: translateX(58px) scale(1); }
}

@keyframes ksgRegionArrowGlide {
  0%, 22% { opacity: 0.48; transform: translateX(-5px); }
  55% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0.48; transform: translateX(3px); }
}

@keyframes ksgMapStatusPulse {
  0%, 100% { opacity: 0.62; transform: scale(0.84); }
  50% { opacity: 1; transform: scale(1); }
}

@media (max-width: 1399.98px) {
  #ksg-global-network.ksg-network-panel {
    grid-template-columns: minmax(340px, 0.82fr) minmax(520px, 1.18fr);
  }

  #ksg-global-network .ksg-network-copy {
    min-height: 720px;
    padding: 48px;
  }

  #ksg-global-network .ksg-network-copy h2 {
    font-size: clamp(40px, 4.1vw, 58px);
  }

  #ksg-global-network .ksg-map-shell,
  #ksg-global-network .ksg-map-wrap {
    min-height: 650px;
  }
}

@media (max-width: 991.98px) {
  #ksg-global-network.ksg-network-panel {
    grid-template-columns: 1fr;
  }

  #ksg-global-network .ksg-network-copy {
    min-height: 0;
    padding: 52px 46px;
  }

  #ksg-global-network .ksg-network-copy h2,
  #ksg-global-network .ksg-network-intro {
    max-width: 760px;
  }

  #ksg-global-network .ksg-region-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
  }

  #ksg-global-network .ksg-network-visual {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
  }

  #ksg-global-network .ksg-map-shell,
  #ksg-global-network .ksg-map-wrap {
    min-height: 520px;
    height: 520px;
  }
}

@media (max-width: 767.98px) {
  .ksg-global-reach {
    padding-top: 58px !important;
    padding-bottom: 58px !important;
  }

  #ksg-global-network.ksg-network-panel {
    border-radius: 20px;
  }

  #ksg-global-network .ksg-network-copy {
    padding: 38px 26px 42px;
  }

  #ksg-global-network .ksg-network-copy h2 {
    margin-top: 20px;
    font-size: clamp(35px, 10vw, 46px);
  }

  #ksg-global-network .ksg-network-intro {
    font-size: 14px;
    line-height: 1.7;
  }

  #ksg-global-network .ksg-region-list {
    grid-template-columns: 1fr;
  }

  #ksg-global-network .ksg-map-shell,
  #ksg-global-network .ksg-map-wrap {
    min-height: 440px;
    height: 440px;
  }

  #ksg-global-network .ksg-map-shell::before {
    width: 72px;
  }

  #ksg-global-network .ksg-map-status {
    top: 14px;
    left: 14px;
  }

  #ksg-global-network .leaflet-control-zoom {
    margin-top: 10px;
    margin-right: 14px;
  }

  #ksg-global-network .ksg-map-hint {
    display: none;
  }

  #ksg-global-network .ksg-network-footnote {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 575.98px) {
  #ksg-global-network .ksg-network-copy {
    padding: 34px 20px 38px;
  }

  #ksg-global-network .ksg-network-copy h2 {
    font-size: clamp(32px, 9.5vw, 40px);
  }

  #ksg-global-network .ksg-region-route {
    grid-template-columns: 30px minmax(0, 1fr) 58px;
    gap: 9px;
  }

  #ksg-global-network .ksg-route-motion {
    width: 56px;
  }

  #ksg-global-network .ksg-map-shell,
  #ksg-global-network .ksg-map-wrap {
    min-height: 400px;
    height: 400px;
  }

  #ksg-global-network .ksg-network-label {
    display: none;
  }

  #ksg-global-network .ksg-map-status span {
    display: none;
  }

  #ksg-global-network .ksg-map-status {
    min-width: 34px;
    justify-content: center;
    padding-right: 10px;
    padding-left: 10px;
  }

  #ksg-global-network .ksg-network-footnote > span {
    width: 22px;
    flex-basis: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #ksg-global-network .ksg-route-motion i,
  #ksg-global-network .ksg-route-motion svg,
  #ksg-global-network .ksg-map-status i,
  #ksg-global-network .ksg-network-marker-core::before,
  #ksg-global-network .ksg-network-marker-core::after,
  #ksg-global-network .ksg-network-route {
    animation: none !important;
  }

  #ksg-global-network .ksg-route-runner {
    display: none !important;
  }
}

/* =========================================================
   Homepage audience solution panels — premium dark variant
   ========================================================= */
.ksg-solutions {
  position: relative;
  overflow: visible;
}

.ksg-solution-row {
  position: relative;
  height: auto !important;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(133, 164, 225, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 8%, rgba(14, 95, 198, 0.16), transparent 34%),
    linear-gradient(90deg, #06142b 0%, #031127 34%, #041732 62%, #041224 100%);
  box-shadow: 0 24px 70px rgba(1, 17, 59, 0.28);
  /* Keep the translucent outline from picking up the dark panel background.
     On bright imagery this avoids the thin navy/black rim at rounded edges. */
  background-clip: padding-box;
}

.ksg-solution-row > [class*="col-"] {
  position: relative;
  z-index: 1;
  padding-right: 0;
  padding-left: 0;
}

.ksg-solution-media {
  min-height: 440px;
  align-self: stretch;
}

.ksg-solution-media-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
}

.ksg-solution-media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 11, 25, 0.06) 0%, rgba(2, 11, 25, 0.2) 100%);
}

#shipowners-solutions .ksg-solution-media-frame::before,
#cargo-solutions .ksg-solution-media-frame::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 62%;
  z-index: 1;
}

#shipowners-solutions .ksg-solution-media-frame::before {
  right: 0;
  background: linear-gradient(90deg, rgba(4, 16, 32, 0) 0%, rgba(4, 17, 37, 0.08) 22%, rgba(4, 17, 37, 0.38) 55%, rgba(4, 17, 37, 0.78) 79%, #041225 100%);
}

#cargo-solutions .ksg-solution-media-frame::before {
  left: 0;
  background: linear-gradient(90deg, #06142b 0%, rgba(6, 20, 43, 0.78) 21%, rgba(6, 20, 43, 0.38) 45%, rgba(6, 20, 43, 0.08) 78%, rgba(4, 16, 32, 0) 100%);
}

@media (min-width: 992px) {
  #shipowners-solutions,
  #cargo-solutions {
    display: flex;
    align-items: stretch;
  }

  /* The base theme adds half-gutter padding to reversed .item-about-2 columns.
     Reset it with higher specificity so the media reaches the card edge exactly. */
  #shipowners-solutions.ksg-solution-row > [class*="col-"],
  #cargo-solutions.ksg-solution-row.item-about-2-revert > [class*="col-"] {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  #shipowners-solutions .ksg-solution-media,
  #cargo-solutions .ksg-solution-media {
    position: relative;
    z-index: 1;
    flex: 0 0 calc(50% + 140px);
    max-width: calc(50% + 140px);
  }

  #shipowners-solutions .ksg-solution-media {
    margin-right: -140px;
  }

  #cargo-solutions .ksg-solution-media {
    margin-left: -140px;
  }

  #shipowners-solutions > .col-lg-6:last-child,
  #cargo-solutions > .col-lg-6:first-child {
    position: relative;
    z-index: 2;
  }

  #shipowners-solutions .ksg-solution-media-frame,
  #cargo-solutions .ksg-solution-media-frame {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  /*
   * The complete media frame is masked instead of only the image.
   * This makes the image + tonal overlays fade into the panel's own
   * background, so there is no fixed navy strip or hard vertical seam.
   */
  #shipowners-solutions .ksg-solution-media-frame,
  #cargo-solutions .ksg-solution-media-frame {
    will-change: mask-image, -webkit-mask-image;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
  }

  #shipowners-solutions .ksg-solution-media-frame {
    -webkit-mask-image: linear-gradient(90deg,
      #000 0%,
      #000 50%,
      rgba(0, 0, 0, 0.99) 58%,
      rgba(0, 0, 0, 0.94) 66%,
      rgba(0, 0, 0, 0.78) 74%,
      rgba(0, 0, 0, 0.54) 82%,
      rgba(0, 0, 0, 0.30) 89%,
      rgba(0, 0, 0, 0.12) 95%,
      transparent 100%);
    mask-image: linear-gradient(90deg,
      #000 0%,
      #000 50%,
      rgba(0, 0, 0, 0.99) 58%,
      rgba(0, 0, 0, 0.94) 66%,
      rgba(0, 0, 0, 0.78) 74%,
      rgba(0, 0, 0, 0.54) 82%,
      rgba(0, 0, 0, 0.30) 89%,
      rgba(0, 0, 0, 0.12) 95%,
      transparent 100%);
  }

  #cargo-solutions .ksg-solution-media-frame {
    -webkit-mask-image: linear-gradient(90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.12) 5%,
      rgba(0, 0, 0, 0.30) 11%,
      rgba(0, 0, 0, 0.54) 18%,
      rgba(0, 0, 0, 0.78) 26%,
      rgba(0, 0, 0, 0.94) 34%,
      rgba(0, 0, 0, 0.99) 42%,
      #000 50%,
      #000 100%);
    mask-image: linear-gradient(90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.12) 5%,
      rgba(0, 0, 0, 0.30) 11%,
      rgba(0, 0, 0, 0.54) 18%,
      rgba(0, 0, 0, 0.78) 26%,
      rgba(0, 0, 0, 0.94) 34%,
      rgba(0, 0, 0, 0.99) 42%,
      #000 50%,
      #000 100%);
  }

  #shipowners-solutions .ksg-solution-media-frame::before,
  #cargo-solutions .ksg-solution-media-frame::before {
    inset: 0;
    width: auto;
    pointer-events: none;
  }

  #shipowners-solutions .ksg-solution-media-frame::before {
    background: linear-gradient(90deg,
      rgba(3, 15, 33, 0) 38%,
      rgba(3, 15, 33, 0.05) 52%,
      rgba(3, 15, 33, 0.14) 64%,
      rgba(3, 15, 33, 0.29) 75%,
      rgba(3, 15, 33, 0.47) 85%,
      rgba(3, 15, 33, 0.64) 94%,
      rgba(3, 15, 33, 0.72) 100%);
  }

  #cargo-solutions .ksg-solution-media-frame::before {
    background: linear-gradient(90deg,
      rgba(3, 15, 33, 0.72) 0%,
      rgba(3, 15, 33, 0.64) 6%,
      rgba(3, 15, 33, 0.47) 15%,
      rgba(3, 15, 33, 0.29) 25%,
      rgba(3, 15, 33, 0.14) 36%,
      rgba(3, 15, 33, 0.05) 48%,
      rgba(3, 15, 33, 0) 62%);
  }

  #shipowners-solutions .ksg-solution-media img,
  #cargo-solutions .ksg-solution-media img {
    will-change: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.ksg-solution-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.ksg-solution-copy {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 46px 50px 50px;
}

.ksg-solution-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(94, 122, 181, 0.16);
  border: 1px solid rgba(154, 182, 233, 0.22);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ksg-solution-title {
  max-width: 620px;
  margin: 22px 0 22px;
  color: #ffffff;
  font-size: clamp(36px, 3.7vw, 68px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.ksg-solution-body {
  max-width: 650px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}

.ksg-solution-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 34px;
  width: 100%;
  max-width: 650px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ksg-solution-list li {
  display: flex;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.98);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.ksg-solution-list li span {
  display: inline-grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  margin-right: 11px;
  color: #ffffff;
  background: rgba(111, 133, 178, 0.88);
  border: 1px solid rgba(191, 211, 249, 0.28);
  border-radius: 50%;
  font-size: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ksg-solution-actions {
  margin-top: 34px;
}

.ksg-solution-btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  padding: 16px 30px;
  color: #ffffff;
  background: linear-gradient(135deg, #12397c 0%, #0d2b5f 100%);
  border: 1px solid rgba(143, 177, 236, 0.18);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 14px 30px rgba(3, 22, 55, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ksg-solution-btn:hover,
.ksg-solution-btn:focus {
  color: #ffffff;
  transform: translateY(-1px);
  background: linear-gradient(135deg, #164794 0%, #10346f 100%);
  box-shadow: 0 16px 34px rgba(3, 22, 55, 0.24);
}

.ksg-solution-btn .ksg-arrow {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
}

.ksg-solution-btn .ksg-arrow svg {
  width: 18px;
  height: 18px;
}

#shipowners-solutions {
  min-height: 660px;
  border-bottom-width: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

#cargo-solutions {
  min-height: 600px;
  margin-top: 0;
  border-top-width: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

#cargo-solutions .ksg-solution-copy {
  padding-top: 38px;
  padding-bottom: 40px;
}

#cargo-solutions .ksg-solution-title {
  max-width: 700px;
  font-size: clamp(34px, 3.25vw, 60px);
}

#cargo-solutions .ksg-solution-body {
  max-width: 610px;
}

@media (min-width: 1400px) {
  .ksg-solution-copy {
    padding-right: 56px;
    padding-left: 56px;
  }
}

@media (max-width: 1399.98px) {
  .ksg-solution-media {
    min-height: 400px;
  }

  .ksg-solution-copy {
    padding: 40px 38px 44px;
  }

  #shipowners-solutions {
    min-height: 640px;
  }

  #cargo-solutions {
    min-height: 590px;
  }

  .ksg-solution-title {
    margin-top: 18px;
    margin-bottom: 18px;
    line-height: 1;
  }
}

@media (max-width: 1199.98px) {
  .ksg-solution-row {
    border-radius: 20px;
  }

  .ksg-solution-copy {
    padding: 34px 30px 38px;
  }

  .ksg-solution-title {
    font-size: clamp(32px, 4.5vw, 50px);
  }

  .ksg-solution-body,
  .ksg-solution-list li {
    font-size: 14px;
  }

  .ksg-solution-list {
    gap: 12px 22px;
  }
}

@media (max-width: 991.98px) {
  .ksg-solution-row,
  .ksg-solution-row.item-about-2-revert {
    display: flex;
    flex-direction: column;
  }

  .ksg-solution-row > .col-lg-6,
  .ksg-solution-row.item-about-2-revert > .col-lg-6 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  #shipowners-solutions > .ksg-solution-media,
  #cargo-solutions > .ksg-solution-media {
    order: 1 !important;
    min-height: 340px;
  }

  #shipowners-solutions > .col-lg-6:not(.ksg-solution-media),
  #cargo-solutions > .col-lg-6:not(.ksg-solution-media) {
    order: 2 !important;
  }

  #shipowners-solutions > .col-lg-6,
  #cargo-solutions > .col-lg-6 {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .ksg-solution-copy {
    padding: 34px 28px 36px;
  }

  #cargo-solutions,
  #shipowners-solutions {
    min-height: 0;
    border-radius: 18px;
    border-width: 1px;
  }

  #cargo-solutions {
    margin-top: 12px;
  }

  #shipowners-solutions .ksg-solution-media-frame::before,
  #cargo-solutions .ksg-solution-media-frame::before {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    height: 42%;
    background: linear-gradient(180deg, rgba(4, 16, 32, 0) 0%, rgba(4, 17, 37, 0.88) 100%);
  }

  .ksg-solution-list {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  /* Mobile audience panels: full-bleed visual first, content second. */
  .ksg-solutions > .container {
    width: 100%;
    max-width: none;
    padding-right: 0;
    padding-left: 0;
  }

  /* The first audience panel should start directly after the mobile header. */
  .ksg-solutions.mt-70 {
    margin-top: 0 !important;
  }

  #shipowners-solutions,
  #cargo-solutions {
    border-right-width: 0;
    border-left-width: 0;
    border-radius: 0;
  }

  /* Keep the mobile media layer in normal flow.
     The previous absolute/100%-height combination could leave the media
     column visible while the actual <img> painting layer collapsed on
     narrow viewports, producing an empty navy block. */
  .ksg-solution-media {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    flex: 0 0 auto !important;
  }

  .ksg-solution-media-frame {
    position: relative;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto;
    overflow: hidden;
    background: #041125;
  }

  /* Mobile should keep the image on top, but the bottom of the visual
     should melt into the dark content panel just like the desktop cards.
     We therefore strengthen both the global tonal overlay and the dedicated
     bottom fade so the transition reads as intentional rather than flat. */
  .ksg-solution-media-frame::after {
    background: linear-gradient(180deg,
      rgba(2, 11, 25, 0.03) 0%,
      rgba(2, 11, 25, 0.08) 28%,
      rgba(2, 11, 25, 0.18) 48%,
      rgba(2, 11, 25, 0.34) 68%,
      rgba(2, 11, 25, 0.56) 84%,
      rgba(2, 11, 25, 0.72) 100%);
  }

  #shipowners-solutions .ksg-solution-media-frame::before,
  #cargo-solutions .ksg-solution-media-frame::before {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    height: 58%;
    background: linear-gradient(180deg,
      rgba(4, 16, 32, 0) 0%,
      rgba(4, 17, 37, 0.03) 14%,
      rgba(4, 17, 37, 0.12) 28%,
      rgba(4, 17, 37, 0.26) 44%,
      rgba(4, 17, 37, 0.46) 60%,
      rgba(4, 17, 37, 0.68) 76%,
      rgba(4, 17, 37, 0.86) 90%,
      rgba(4, 17, 37, 0.97) 100%);
  }

  #shipowners-solutions .ksg-solution-media img,
  #cargo-solutions .ksg-solution-media img {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    object-fit: contain;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  #shipowners-solutions > .ksg-solution-media,
  #cargo-solutions > .ksg-solution-media {
    margin-bottom: -1px;
  }

  #shipowners-solutions .ksg-solution-media img {
    object-position: 50% 50%;
  }

  #cargo-solutions .ksg-solution-media img {
    object-position: 52% 50%;
  }

  .ksg-solution-copy {
    padding: 28px 22px 30px;
  }

  .ksg-solution-eyebrow {
    min-height: 34px;
    padding: 7px 12px;
    font-size: 11px;
  }

  .ksg-solution-title {
    margin-top: 16px;
    margin-bottom: 16px;
    font-size: 30px;
  }

  .ksg-solution-body {
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.65;
  }

  .ksg-solution-list {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .ksg-solution-actions {
    width: 100%;
    margin-top: 26px;
  }

  .ksg-solution-btn {
    justify-content: space-between;
    width: 100%;
    min-height: 54px;
    padding: 15px 20px;
    font-size: 14px;
  }
}

/* --------------------------------------------------------------------------
   Homepage global network v2.1 — real-world satellite map refinement.
   Left content intentionally remains unchanged; overrides below only affect
   the right-hand map presentation and Leaflet layers.
   -------------------------------------------------------------------------- */
#ksg-global-network .ksg-network-visual {
  padding: 20px;
  background:
    radial-gradient(circle at 86% 8%, rgba(113, 168, 219, 0.15), transparent 31%),
    linear-gradient(155deg, #06162f 0%, #031026 54%, #020a19 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

#ksg-global-network .ksg-map-shell {
  min-height: 740px;
  overflow: hidden;
  background: #07172a;
  border: 1px solid rgba(196, 219, 242, 0.2);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 48px rgba(0, 0, 0, 0.3);
}

#ksg-global-network .ksg-map-shell::before {
  z-index: 430;
  inset: 0;
  width: auto;
  background:
    linear-gradient(90deg, rgba(2, 10, 24, 0.2) 0%, transparent 13%, transparent 86%, rgba(2, 10, 24, 0.16) 100%),
    linear-gradient(180deg, rgba(2, 10, 24, 0.2) 0%, transparent 18%, transparent 78%, rgba(2, 10, 24, 0.26) 100%);
  pointer-events: none;
}

#ksg-global-network .ksg-map-shell::after {
  content: "";
  position: absolute;
  z-index: 431;
  inset: 0;
  width: auto;
  height: auto;
  opacity: 1;
  border: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

#ksg-global-network .ksg-map-wrap {
  min-height: 740px;
  background: #07172a;
}

#ksg-global-network .leaflet-ksg-imagery-pane,
#ksg-global-network .leaflet-ksgImageryPane-pane {
  filter: saturate(0.88) contrast(1.04) brightness(0.83);
}

#ksg-global-network .leaflet-ksg-reference-pane,
#ksg-global-network .leaflet-ksgReferencePane-pane {
  filter: brightness(1.08) saturate(0.72);
}

#ksg-global-network .leaflet-control-zoom {
  margin-top: 20px;
  margin-right: 20px;
  border: 1px solid rgba(206, 226, 247, 0.24);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

#ksg-global-network .leaflet-control-zoom a {
  width: 34px;
  height: 34px;
  color: #eff7ff;
  background: rgba(3, 17, 38, 0.82);
  border-color: rgba(255, 255, 255, 0.1);
  line-height: 34px;
}

#ksg-global-network .leaflet-control-zoom a:hover {
  color: #ffffff;
  background: rgba(17, 65, 111, 0.92);
}

#ksg-global-network .leaflet-control-attribution {
  max-width: 72%;
  padding: 3px 7px;
  color: rgba(225, 237, 249, 0.56);
  background: rgba(1, 8, 20, 0.7);
  font-size: 8px;
  line-height: 1.35;
}

#ksg-global-network .leaflet-control-attribution a {
  color: rgba(205, 228, 250, 0.78);
}

#ksg-global-network .ksg-map-status {
  top: 20px;
  left: 20px;
  min-height: 36px;
  padding: 8px 12px;
  color: rgba(241, 248, 255, 0.92);
  background: rgba(3, 18, 40, 0.76);
  border: 1px solid rgba(211, 229, 247, 0.22);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(13px);
}

#ksg-global-network .ksg-map-status i {
  width: 7px;
  height: 7px;
  background: #d9edff;
  box-shadow: 0 0 0 4px rgba(143, 198, 243, 0.15), 0 0 14px rgba(143, 198, 243, 0.56);
}

#ksg-global-network .ksg-map-hint {
  right: 18px;
  bottom: 18px;
  max-width: min(64%, 430px);
  padding: 8px 11px;
  color: rgba(231, 241, 251, 0.75);
  background: rgba(3, 18, 40, 0.73);
  border: 1px solid rgba(211, 229, 247, 0.15);
  border-radius: 9px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

#ksg-global-network .ksg-network-marker-core {
  width: 15px;
  height: 15px;
  background: #8ec8f5;
  border: 3px solid #ffffff;
  box-shadow:
    0 0 0 8px rgba(145, 199, 242, 0.16),
    0 0 24px rgba(123, 192, 246, 0.72);
}

#ksg-global-network .ksg-network-marker-core::before,
#ksg-global-network .ksg-network-marker-core::after {
  inset: -11px;
  border-color: rgba(206, 233, 255, 0.62);
  animation-duration: 3.2s;
}

#ksg-global-network .ksg-network-label {
  bottom: 29px;
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(7, 36, 72, 0.91);
  border: 1px solid rgba(216, 234, 252, 0.28);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
  font-size: 10px;
  letter-spacing: 0.055em;
}

#ksg-global-network .ksg-network-route {
  filter: drop-shadow(0 0 4px rgba(159, 207, 247, 0.48));
  animation: ksgNetworkDash 26s linear infinite;
}

#ksg-global-network .ksg-network-route--2 { animation-delay: -5s; }
#ksg-global-network .ksg-network-route--3 { animation-delay: -10s; }
#ksg-global-network .ksg-network-route--4 { animation-delay: -15s; }
#ksg-global-network .ksg-network-route--5 { animation-delay: -20s; }

#ksg-global-network .ksg-network-route-node {
  filter: drop-shadow(0 0 5px rgba(139, 204, 255, 0.82));
}

#ksg-global-network .ksg-network-coverage {
  filter: drop-shadow(0 0 5px rgba(155, 204, 244, 0.14));
}

#ksg-global-network .leaflet-popup-content-wrapper,
#ksg-global-network .leaflet-popup-tip {
  color: #f7fbff;
  background: rgba(5, 29, 59, 0.96);
  border-color: rgba(211, 229, 247, 0.2);
}

@media (max-width: 1399.98px) {
  #ksg-global-network .ksg-map-shell,
  #ksg-global-network .ksg-map-wrap {
    min-height: 680px;
  }
}

@media (max-width: 991.98px) {
  #ksg-global-network .ksg-network-visual {
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
  }

  #ksg-global-network .ksg-map-shell,
  #ksg-global-network .ksg-map-wrap {
    min-height: 520px;
    height: 520px;
  }
}

@media (max-width: 767.98px) {
  #ksg-global-network .ksg-network-visual {
    padding: 12px;
  }

  #ksg-global-network .ksg-map-shell {
    border-radius: 16px;
  }

  #ksg-global-network .ksg-map-shell,
  #ksg-global-network .ksg-map-wrap {
    min-height: 440px;
    height: 440px;
  }

  #ksg-global-network .ksg-map-status {
    top: 12px;
    left: 12px;
  }

  #ksg-global-network .leaflet-control-zoom {
    margin-top: 12px;
    margin-right: 12px;
  }
}

@media (max-width: 575.98px) {
  #ksg-global-network .ksg-network-visual {
    padding: 9px;
  }

  #ksg-global-network .ksg-map-shell,
  #ksg-global-network .ksg-map-wrap {
    min-height: 400px;
    height: 400px;
  }
}


/* --------------------------------------------------------------------------
   Homepage global network v2.2 — edge-to-edge map + clearer coverage rings.
   Requested refinement: keep the left column untouched; only the right map
   presentation is adjusted here.
   -------------------------------------------------------------------------- */
#ksg-global-network .ksg-network-visual {
  padding: 0 !important;
  overflow: hidden;
}

#ksg-global-network .ksg-map-shell {
  min-height: 780px;
  height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

#ksg-global-network .ksg-map-wrap {
  min-height: 780px;
  height: 100%;
}

/* Interaction help is intentionally removed from the visible UI. */
#ksg-global-network .ksg-map-hint {
  display: none !important;
}

/* Preserve the CMS note without reserving a strip below the map. */
#ksg-global-network .ksg-network-footnote {
  position: absolute;
  z-index: 535;
  right: auto;
  bottom: 18px;
  left: 18px;
  width: auto;
  max-width: min(52%, 420px);
  min-height: 0;
  padding: 9px 12px;
  background: rgba(3, 17, 40, 0.72);
  border: 1px solid rgba(211, 229, 247, 0.13);
  border-radius: 9px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  pointer-events: none;
}

#ksg-global-network .ksg-network-footnote > span {
  width: 24px;
  flex-basis: 24px;
}

/* Make both the geographic coverage ring and marker pulse easier to read. */
#ksg-global-network .ksg-network-coverage {
  filter:
    drop-shadow(0 0 2px rgba(214, 237, 255, 0.44))
    drop-shadow(0 0 9px rgba(128, 194, 247, 0.2));
}

#ksg-global-network .ksg-network-marker-core {
  box-shadow:
    0 0 0 9px rgba(145, 199, 242, 0.24),
    0 0 30px rgba(123, 192, 246, 0.9);
}

#ksg-global-network .ksg-network-marker-core::before,
#ksg-global-network .ksg-network-marker-core::after {
  inset: -13px;
  border-width: 1.5px;
  border-color: rgba(224, 241, 255, 0.82);
}

@media (max-width: 1399.98px) {
  #ksg-global-network .ksg-map-shell,
  #ksg-global-network .ksg-map-wrap {
    min-height: 720px;
  }
}

@media (max-width: 991.98px) {
  #ksg-global-network .ksg-network-visual {
    padding: 0 !important;
  }

  #ksg-global-network .ksg-map-shell,
  #ksg-global-network .ksg-map-wrap {
    min-height: 520px;
    height: 520px;
  }
}

@media (max-width: 767.98px) {
  #ksg-global-network .ksg-network-visual {
    padding: 0 !important;
  }

  #ksg-global-network .ksg-map-shell {
    border-radius: 0;
  }

  #ksg-global-network .ksg-map-shell,
  #ksg-global-network .ksg-map-wrap {
    min-height: 440px;
    height: 440px;
  }

  #ksg-global-network .ksg-network-footnote {
    bottom: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    padding: 8px 10px;
  }
}

@media (max-width: 575.98px) {
  #ksg-global-network .ksg-network-visual {
    padding: 0 !important;
  }

  #ksg-global-network .ksg-map-shell,
  #ksg-global-network .ksg-map-wrap {
    min-height: 400px;
    height: 400px;
  }
}
/* --------------------------------------------------------------------------
   Production QA 2026-08-25 — FAQ active/hover contrast
   Keep expanded questions readable when the pointer is over the active row.
   -------------------------------------------------------------------------- */
.accordion .accordion-button.collapsed:hover,
.accordion .accordion-button.collapsed:focus-visible {
  color: #ffffff !important;
  background-color: #081A49 !important;
}

.accordion .accordion-button:not(.collapsed):hover,
.accordion .accordion-button:not(.collapsed):focus-visible {
  color: var(--ksg-primary) !important;
  background-color: var(--ksg-secondary-soft) !important;
  box-shadow: inset 0 -1px 0 var(--ksg-secondary-border);
}



/* --------------------------------------------------------------------------
   Production QA 2026-08-25 R3 — mobile service-card section cleanup.
   - Remove the decorative background visual on phones so the cards sit on a
     clean light surface and no background image feels broken behind them.
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .ksg-services .box-background-offer {
    background: transparent;
  }

  .ksg-services .box-background-offer .bg-under {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: none !important;
  }

  .ksg-services .box-background-offer .bg-under::before {
    display: none;
  }
}

/* CMS-controlled visual sources. Defaults preserve the approved frontend until an admin selection is saved. */
.ksg-final-cta{background-image:var(--ksg-final-cta-bg-image,none)!important;background-position:center!important;background-repeat:no-repeat!important;background-size:cover!important}
.ksg-richtext>:first-child{margin-top:0}.ksg-richtext>:last-child{margin-bottom:0}.ksg-richtext p{margin:0 0 1em}.ksg-richtext h2,.ksg-richtext h3{color:inherit;margin:.85em 0 .35em}.ksg-richtext ul,.ksg-richtext ol{padding-left:1.35em;margin:.65em 0}.ksg-richtext a{color:inherit;text-decoration:underline;text-underline-offset:2px}

/* Safe CMS rich-text formatting. Plain-text content keeps its existing wrappers; these rules apply only when editors add structure. */
.ksg-richtext>p:first-child,.ksg-richtext>h2:first-child,.ksg-richtext>h3:first-child,.ksg-richtext>ul:first-child,.ksg-richtext>ol:first-child{margin-top:0}
.ksg-richtext>p:last-child,.ksg-richtext>h2:last-child,.ksg-richtext>h3:last-child,.ksg-richtext>ul:last-child,.ksg-richtext>ol:last-child{margin-bottom:0}
.ksg-richtext p{font:inherit;color:inherit;margin:0 0 .8em}
.ksg-richtext h2{color:inherit;font-size:1.35em;line-height:1.25;margin:1em 0 .5em}
.ksg-richtext h3{color:inherit;font-size:1.15em;line-height:1.3;margin:.9em 0 .45em}
.ksg-richtext ul,.ksg-richtext ol{margin:.65em 0 .85em;padding-left:1.3em}
.ksg-richtext li{margin:.25em 0}
.ksg-richtext a{text-decoration:underline;text-underline-offset:2px}

/* --------------------------------------------------------------------------
   Homepage audience solution sections — aligned split editorial layout
   2026-08-30 · mission/vision geometry + KSG palette
   -------------------------------------------------------------------------- */
.ksg-solutions {
  position: relative;
  margin: 0 !important;
  padding: 44px 0;
  overflow: hidden;
  background: #ffffff;
}

.ksg-solutions + .ksg-solutions {
  padding-top: 18px;
  padding-bottom: 54px;
}

.ksg-solutions > .container {
  max-width: 1360px;
}

#shipowners-solutions.ksg-solution-row,
#cargo-solutions.ksg-solution-row {
  display: flex !important;
  align-items: stretch !important;
  gap: 0 !important;
  min-height: 480px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid #e2e8f2 !important;
  border-radius: 18px !important;
  background: #f7f9fc !important;
  box-shadow: none !important;
}

#shipowners-solutions.ksg-solution-row > [class*="col-"],
#cargo-solutions.ksg-solution-row > [class*="col-"] {
  float: none !important;
  flex: 0 0 50% !important;
  width: 50% !important;
  max-width: 50% !important;
  padding: 0 !important;
}

.ksg-solution-media {
  position: relative;
  min-height: 480px !important;
  margin: 0 !important;
  align-self: stretch !important;
}

.ksg-solution-media-shell {
  position: relative;
  width: 100%;
  max-width: none !important;
  height: 100%;
  min-height: 480px;
  margin: 0 !important;
  padding: 0 !important;
}

#shipowners-solutions .ksg-solution-media-frame,
#cargo-solutions .ksg-solution-media-frame {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 480px !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #e9eef5 !important;
  box-shadow: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

#shipowners-solutions .ksg-solution-media-frame::before,
#cargo-solutions .ksg-solution-media-frame::before,
#shipowners-solutions .ksg-solution-media-frame::after,
#cargo-solutions .ksg-solution-media-frame::after {
  display: none !important;
}

#shipowners-solutions .ksg-solution-media-frame img,
#cargo-solutions .ksg-solution-media-frame img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center center !important;
  opacity: 1 !important;
  visibility: visible !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

.ksg-solution-media-inset {
  position: absolute !important;
  right: 26px !important;
  bottom: 24px !important;
  left: auto !important;
  z-index: 3;
  width: 170px !important;
  height: 126px !important;
  overflow: hidden !important;
  border: 6px solid #ffffff !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: 0 16px 34px rgba(1, 17, 59, 0.16) !important;
}

#cargo-solutions .ksg-solution-media-inset {
  right: auto !important;
  left: 26px !important;
}

.ksg-solution-media-inset img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
}

#shipowners-solutions .ksg-solution-copy,
#cargo-solutions .ksg-solution-copy {
  display: flex !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 480px !important;
  margin: 0 !important;
  padding: 42px 48px !important;
  flex-direction: column !important;
  justify-content: center !important;
  color: #01113b !important;
}

#shipowners-solutions .ksg-solution-eyebrow,
#cargo-solutions .ksg-solution-eyebrow {
  display: block !important;
  min-height: 0 !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #6f85b2 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 20px !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

#shipowners-solutions .ksg-solution-title,
#cargo-solutions .ksg-solution-title {
  max-width: 570px !important;
  margin: 0 0 17px !important;
  color: #01113b !important;
  font-size: 40px !important;
  font-weight: 700 !important;
  line-height: 48px !important;
  letter-spacing: -.025em !important;
  font-stretch: 112% !important;
}

.ksg-solution-pills {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 0 16px !important;
}

.ksg-solution-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  padding: 7px 14px !important;
  border: 1px solid #dce4ef !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #3f5880 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 18px !important;
  letter-spacing: .01em !important;
  text-transform: none !important;
}

#shipowners-solutions .ksg-solution-body,
#cargo-solutions .ksg-solution-body {
  max-width: 570px !important;
  margin: 0 0 18px !important;
  color: #59677a !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 26px !important;
}

#shipowners-solutions .ksg-solution-list,
#cargo-solutions .ksg-solution-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px 18px !important;
  max-width: 590px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#shipowners-solutions .ksg-solution-list li,
#cargo-solutions .ksg-solution-list li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 9px !important;
  margin: 0 !important;
  color: #21354f !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 21px !important;
}

#shipowners-solutions .ksg-solution-list li span,
#cargo-solutions .ksg-solution-list li span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
  margin-top: 1px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #e8edf6 !important;
  box-shadow: none !important;
  color: #6f85b2 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}

.ksg-solution-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-top: 22px !important;
}

#shipowners-solutions .ksg-solution-btn,
#cargo-solutions .ksg-solution-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  min-width: 220px !important;
  min-height: 48px !important;
  padding: 13px 20px !important;
  border: 1px solid #01113b !important;
  border-radius: 999px !important;
  background: #01113b !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 20px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  transition: background-color .18s ease, color .18s ease, transform .18s ease !important;
}

#shipowners-solutions .ksg-solution-btn,
#cargo-solutions .ksg-solution-btn {
  margin-left: auto !important;
  flex: 0 0 auto !important;
}

#shipowners-solutions .ksg-solution-btn:hover,
#shipowners-solutions .ksg-solution-btn:focus,
#cargo-solutions .ksg-solution-btn:hover,
#cargo-solutions .ksg-solution-btn:focus {
  transform: translateY(-1px) !important;
  background: #6f85b2 !important;
  border-color: #6f85b2 !important;
  color: #ffffff !important;
}

.ksg-solution-btn .ksg-arrow,
.ksg-solution-btn .ksg-arrow svg {
  width: 17px !important;
  height: 17px !important;
}

.ksg-solution-support {
  display: flex !important;
  align-items: center !important;
  flex: 1 1 auto !important;
  max-width: 260px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.ksg-solution-support p {
  margin: 0 !important;
  color: #687589 !important;
  font-size: 13px !important;
  line-height: 19px !important;
}

@media (max-width: 1199.98px) {
  #shipowners-solutions.ksg-solution-row,
  #cargo-solutions.ksg-solution-row,
  .ksg-solution-media,
  .ksg-solution-media-shell,
  #shipowners-solutions .ksg-solution-copy,
  #cargo-solutions .ksg-solution-copy {
    min-height: 455px !important;
  }

  #shipowners-solutions .ksg-solution-copy,
  #cargo-solutions .ksg-solution-copy {
    padding: 34px 36px !important;
  }

  #shipowners-solutions .ksg-solution-title,
  #cargo-solutions .ksg-solution-title {
    font-size: 36px !important;
    line-height: 43px !important;
  }

  #shipowners-solutions .ksg-solution-list,
  #cargo-solutions .ksg-solution-list {
    grid-template-columns: 1fr !important;
    gap: 7px !important;
  }

  .ksg-solution-actions {
    margin-top: 18px !important;
  }
}

@media (max-width: 991.98px) {
  .ksg-solutions {
    padding: 34px 0;
  }

  .ksg-solutions + .ksg-solutions {
    padding-top: 10px;
    padding-bottom: 42px;
  }

  #shipowners-solutions.ksg-solution-row,
  #cargo-solutions.ksg-solution-row.item-about-2-revert {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
  }

  #shipowners-solutions.ksg-solution-row > [class*="col-"],
  #cargo-solutions.ksg-solution-row > [class*="col-"] {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #shipowners-solutions > .ksg-solution-media,
  #cargo-solutions > .ksg-solution-media {
    order: 1 !important;
    min-height: 360px !important;
  }

  #shipowners-solutions > .col-lg-6:not(.ksg-solution-media),
  #cargo-solutions > .col-lg-6:not(.ksg-solution-media) {
    order: 2 !important;
  }

  .ksg-solution-media-shell,
  #shipowners-solutions .ksg-solution-media-frame,
  #cargo-solutions .ksg-solution-media-frame {
    min-height: 360px !important;
  }

  #shipowners-solutions .ksg-solution-copy,
  #cargo-solutions .ksg-solution-copy {
    min-height: 0 !important;
    padding: 36px 34px !important;
  }

  #shipowners-solutions .ksg-solution-list,
  #cargo-solutions .ksg-solution-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 18px !important;
  }
}

@media (max-width: 767.98px) {
  #shipowners-solutions.ksg-solution-row,
  #cargo-solutions.ksg-solution-row {
    border-radius: 14px !important;
  }

  #shipowners-solutions > .ksg-solution-media,
  #cargo-solutions > .ksg-solution-media,
  .ksg-solution-media-shell,
  #shipowners-solutions .ksg-solution-media-frame,
  #cargo-solutions .ksg-solution-media-frame {
    min-height: 300px !important;
  }

  .ksg-solution-media-inset {
    right: 16px !important;
    bottom: 16px !important;
    left: auto !important;
    width: 128px !important;
    height: 94px !important;
    border-width: 4px !important;
    border-radius: 10px !important;
  }

  #cargo-solutions .ksg-solution-media-inset {
    right: auto !important;
    left: 16px !important;
  }

  #shipowners-solutions .ksg-solution-copy,
  #cargo-solutions .ksg-solution-copy {
    padding: 30px 24px !important;
  }

  #shipowners-solutions .ksg-solution-title,
  #cargo-solutions .ksg-solution-title {
    margin-bottom: 15px !important;
    font-size: 30px !important;
    line-height: 36px !important;
  }

  #shipowners-solutions .ksg-solution-body,
  #cargo-solutions .ksg-solution-body {
    font-size: 15px !important;
    line-height: 24px !important;
  }

  #shipowners-solutions .ksg-solution-list,
  #cargo-solutions .ksg-solution-list {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .ksg-solution-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  #shipowners-solutions .ksg-solution-btn,
  #cargo-solutions .ksg-solution-btn {
    width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
  }

  .ksg-solution-support {
    max-width: none !important;
  }
}

/* --------------------------------------------------------------------------
   Homepage solution sections — exact marquee container alignment
   2026-08-31
   The solution sections and service marquee use the exact same container
   widths and horizontal gutters at every breakpoint.
   -------------------------------------------------------------------------- */
.ksg-solutions {
  padding-top: 42px !important;
  padding-bottom: 0 !important;
}

.ksg-solutions + .ksg-solutions {
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 44px !important;
}

/* Mirrors the default .container used by the marquee. */
.ksg-solutions > .container {
  width: 100% !important;
  max-width: 100% !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding-right: .75rem !important;
  padding-left: .75rem !important;
}

#shipowners-solutions.ksg-solution-row,
#cargo-solutions.ksg-solution-row {
  border-radius: 18px !important;
}

#shipowners-solutions.ksg-solution-row {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

#cargo-solutions.ksg-solution-row {
  margin-top: -1px !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

@media (min-width: 576px) {
  .ksg-solutions > .container { max-width: 540px !important; }
}

@media (min-width: 768px) {
  .ksg-solutions > .container { max-width: 720px !important; }
}

@media (min-width: 992px) {
  .ksg-solutions > .container { max-width: 930px !important; }
}

@media (min-width: 1200px) {
  .ksg-solutions > .container { max-width: 1140px !important; }
}

@media (min-width: 1400px) {
  .ksg-solutions > .container { max-width: 1410px !important; }
}

@media (max-width: 767.98px) {
  .ksg-solutions {
    padding-top: 28px !important;
  }

  .ksg-solutions + .ksg-solutions {
    padding-bottom: 32px !important;
  }

  #shipowners-solutions.ksg-solution-row,
  #cargo-solutions.ksg-solution-row {
    border-radius: 14px !important;
  }

  #shipowners-solutions.ksg-solution-row {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }

  #cargo-solutions.ksg-solution-row {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
  }
}

/* --------------------------------------------------------------------------
   Why Kahveci Sea Group — capability-led, image-free redesign
   2026-08-31 · matches approved visual direction; keeps existing world-map bg
   -------------------------------------------------------------------------- */
.ksg-why {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 6vw, 104px) 0 clamp(74px, 6vw, 100px) !important;
}

.ksg-why-shell {
  position: relative;
  z-index: 1;
  max-width: 1580px;
}

.ksg-why-head {
  max-width: 900px;
  margin: 0 auto;
}

.ksg-why-eyebrow {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  margin: 0 0 26px;
  padding: 9px 18px;
  border: 1px solid rgba(111, 133, 178, .24);
  border-left: 2px solid #6f85b2;
  border-radius: 0;
  background: rgba(238, 243, 250, .78);
  box-shadow: none;
  color: #01113b;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.ksg-why-head h2 {
  max-width: 850px;
  margin: 0 auto;
  color: #01113b;
  font-size: clamp(42px, 3.2vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.ksg-why-head-rule {
  display: block;
  width: 48px;
  height: 2px;
  margin: 24px auto 18px;
  background: #01113b;
}

.ksg-why-intro {
  max-width: 820px;
  margin: 0 auto;
  color: #5c687d;
  font-size: 18px;
  line-height: 1.65;
}

.ksg-why-intro > :last-child {
  margin-bottom: 0;
}

.ksg-why-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.ksg-why-card {
  position: relative;
  min-height: 286px;
  padding: 26px 24px 28px;
  border: 1px solid rgba(111, 133, 178, .26);
  border-radius: 12px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 12px 34px rgba(1, 17, 59, .035);
  backdrop-filter: blur(2px);
}

.ksg-why-card-index {
  display: block;
  margin-bottom: 13px;
  color: #d0d8e6;
  font-size: clamp(38px, 2.7vw, 50px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.045em;
}

.ksg-why-card-rule {
  display: block;
  width: 56px;
  height: 2px;
  margin-bottom: 22px;
  background: #01113b;
}

.ksg-why-card h3 {
  margin: 0 0 16px;
  color: #01113b;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -.015em;
}

.ksg-why-card-body {
  color: #5d687b;
  font-size: 15px;
  line-height: 1.6;
}

.ksg-why-card-body > :last-child {
  margin-bottom: 0;
}

.ksg-why-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.ksg-why-cta {
  display: inline-flex;
  min-width: 284px;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 28px;
  border: 1px solid #01113b;
  border-radius: 0;
  background: rgba(255, 255, 255, .88);
  color: #01113b;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.ksg-why-cta:hover,
.ksg-why-cta:focus-visible {
  background: #01113b;
  color: #fff;
  transform: translateY(-1px);
}

.ksg-why-cta .ksg-arrow {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.ksg-why-cta .ksg-arrow svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

@media (max-width: 1199.98px) {
  .ksg-why-shell {
    max-width: 1080px;
  }

  .ksg-why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ksg-why-card {
    min-height: 252px;
  }
}

@media (max-width: 991.98px) {
  .ksg-why {
    padding: 68px 0 72px !important;
  }

  .ksg-why-head h2 {
    font-size: clamp(38px, 5.6vw, 48px);
  }

  .ksg-why-intro {
    max-width: 700px;
    font-size: 17px;
  }

  .ksg-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 40px;
  }

  .ksg-why-card {
    min-height: 230px;
  }
}

@media (max-width: 767.98px) {
  .ksg-why {
    padding: 56px 0 60px !important;
  }

  .ksg-why-shell {
    padding-right: 18px;
    padding-left: 18px;
  }

  .ksg-why-eyebrow {
    min-height: 36px;
    margin-bottom: 20px;
    padding: 8px 13px;
    font-size: 12px;
    line-height: 18px;
  }

  .ksg-why-head h2 {
    font-size: clamp(32px, 9vw, 40px);
    line-height: 1.1;
  }

  .ksg-why-head-rule {
    margin: 20px auto 16px;
  }

  .ksg-why-intro {
    font-size: 16px;
    line-height: 1.62;
  }

  .ksg-why-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 32px;
  }

  .ksg-why-card {
    min-height: 0;
    padding: 22px 20px 24px;
    border-radius: 10px;
  }

  .ksg-why-card-index {
    margin-bottom: 10px;
    font-size: 38px;
  }

  .ksg-why-card-rule {
    margin-bottom: 17px;
  }

  .ksg-why-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
  }

  .ksg-why-card-body {
    font-size: 15px;
  }

  .ksg-why-cta-wrap {
    margin-top: 28px;
  }

  .ksg-why-cta {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 14px 20px;
  }
}


/* --------------------------------------------------------------------------
   Homepage services refresh — release 2026-08-31.
   Rebuilds the home services section around real service cover images so the
   live homepage matches the approved visual direction and the service detail
   covers update automatically from the same source paths.
   -------------------------------------------------------------------------- */
.ksg-services {
  background: #ffffff;
  overflow: hidden;
}

.ksg-services .ksg-services-intro {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.ksg-services .ksg-services-intro .ksg-richtext {
  max-width: 620px;
  margin: 0 auto;
}

.ksg-services .ksg-services-intro__cta {
  margin-top: 28px;
}

.ksg-services .ksg-services-intro__cta .btn {
  min-width: 220px;
}

.ksg-services .ksg-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.ksg-services .ksg-service-cover-card {
  min-width: 0;
  border: 1px solid rgba(8, 34, 92, 0.10);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(6, 25, 68, 0.08);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.ksg-services .ksg-service-cover-card:last-child:nth-child(3n + 1) {
  grid-column: 2;
}

.ksg-services .ksg-service-cover-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.ksg-services .ksg-service-cover-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 236px;
  overflow: hidden;
  background: linear-gradient(135deg, #e7eef9 0%, #cbd7ee 100%);
}

.ksg-services .ksg-service-cover-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.ksg-services .ksg-service-cover-card__fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--ksg-primary);
  font-size: 62px;
}

.ksg-services .ksg-service-cover-card__fallback-image {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.ksg-services .ksg-service-cover-card__body {
  display: flex;
  flex-direction: column;
  min-height: 170px;
  padding: 22px 22px 20px;
  background: #ffffff;
}

.ksg-services .ksg-service-cover-card__copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ksg-services .ksg-service-cover-card__copy h3 {
  margin: 0;
  color: var(--ksg-secondary);
  font-family: var(--font-manrope, "Manrope", Arial, sans-serif);
  font-size: clamp(26px, 1.45vw, 34px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.ksg-services .ksg-service-cover-card__copy p {
  margin: 0;
  color: #5b667e;
  font-size: 15px;
  line-height: 1.72;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: max-height 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

.ksg-services .ksg-service-cover-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  color: var(--ksg-primary);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.ksg-services .ksg-service-cover-card__cta .ksg-arrow {
  width: 18px;
  height: 18px;
}

.ksg-services .ksg-service-cover-card:hover,
.ksg-services .ksg-service-cover-card:focus-within {
  transform: translateY(-10px);
  border-color: rgba(21, 74, 171, 0.26);
  box-shadow: 0 26px 60px rgba(6, 25, 68, 0.14);
}

.ksg-services .ksg-service-cover-card:hover .ksg-service-cover-card__copy p,
.ksg-services .ksg-service-cover-card:focus-within .ksg-service-cover-card__copy p {
  max-height: 132px;
  opacity: 1;
  transform: translateY(0);
}

.ksg-services .ksg-service-cover-card:hover .ksg-service-cover-card__cta,
.ksg-services .ksg-service-cover-card:focus-within .ksg-service-cover-card__cta {
  opacity: 1;
  transform: translateY(0);
}

.ksg-services .ksg-service-cover-card:hover .ksg-service-cover-card__media img,
.ksg-services .ksg-service-cover-card:focus-within .ksg-service-cover-card__media img {
  transform: scale(1.04);
}

@media (max-width: 1199.98px) {
  .ksg-services .ksg-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ksg-services .ksg-service-cover-card:last-child:nth-child(3n + 1) {
    grid-column: auto;
  }

  .ksg-services .ksg-service-cover-card:last-child:nth-child(2n + 1) {
    grid-column: 1 / -1;
    max-width: min(540px, 100%);
    justify-self: center;
  }
}

@media (max-width: 991.98px) {
  .ksg-services .ksg-service-cover-card__media {
    min-height: 220px;
  }

  .ksg-services .ksg-service-cover-card__body {
    min-height: 184px;
  }
}

@media (max-width: 767.98px) {
  .ksg-services {
    padding-top: 78px !important;
    padding-bottom: 78px !important;
  }

  .ksg-services .ksg-services-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .ksg-services .ksg-service-cover-card,
  .ksg-services .ksg-service-cover-card:last-child:nth-child(2n + 1),
  .ksg-services .ksg-service-cover-card:last-child:nth-child(3n + 1) {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
    transform: none;
  }

  .ksg-services .ksg-service-cover-card__media {
    min-height: 214px;
  }

  .ksg-services .ksg-service-cover-card__body {
    min-height: 0;
    padding: 20px 18px 18px;
  }

  .ksg-services .ksg-service-cover-card__copy h3 {
    font-size: 25px;
  }

  .ksg-services .ksg-service-cover-card__copy p,
  .ksg-services .ksg-service-cover-card__cta {
    max-height: none;
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ksg-services .ksg-service-cover-card,
  .ksg-services .ksg-service-cover-card__media img,
  .ksg-services .ksg-service-cover-card__copy p,
  .ksg-services .ksg-service-cover-card__cta {
    transition: none;
  }

  .ksg-services .ksg-service-cover-card:hover,
  .ksg-services .ksg-service-cover-card:focus-within {
    transform: none;
  }
}


/* --------------------------------------------------------------------------
   Homepage services refinement v3 — tighter DP World-inspired card rhythm.
   Titles remain visible in black; Explore is always visible; on hover the
   white information panel rises over the cover image and reveals the summary.
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  .ksg-services .ksg-service-cover-card {
    position: relative;
    height: 460px;
    min-height: 460px;
    border-radius: 0;
    border-color: rgba(10, 10, 10, 0.06);
    box-shadow: 0 10px 30px rgba(6, 25, 68, 0.06);
    overflow: hidden;
    transform: none;
  }

  .ksg-services .ksg-service-cover-card__link {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
  }

  .ksg-services .ksg-service-cover-card__media {
    position: absolute;
    inset: 0 0 auto 0;
    height: 304px;
    min-height: 0;
    aspect-ratio: auto;
  }

  .ksg-services .ksg-service-cover-card__body {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    height: 156px;
    min-height: 0;
    padding: 22px 26px 20px;
    background: #ffffff;
    transition: height 0.36s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.36s ease;
  }

  .ksg-services .ksg-service-cover-card__copy {
    gap: 12px;
  }

  .ksg-services .ksg-service-cover-card__copy h3 {
    color: #090909;
    font-size: clamp(26px, 1.35vw, 31px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.035em;
  }

  .ksg-services .ksg-service-cover-card__copy p {
    max-height: 0;
    margin: 0;
    color: #303743;
    font-size: 15px;
    line-height: 1.58;
    opacity: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition: max-height 0.30s ease, opacity 0.26s ease, transform 0.30s ease;
  }

  .ksg-services .ksg-service-cover-card__cta {
    position: absolute;
    right: 26px;
    bottom: 22px;
    left: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin: 0;
    padding: 0;
    color: var(--ksg-primary);
    font-size: 16px;
    font-weight: 700;
    opacity: 1;
    transform: none;
  }

  .ksg-services .ksg-service-cover-card__cta .ksg-arrow {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
  }

  .ksg-services .ksg-service-cover-card:hover,
  .ksg-services .ksg-service-cover-card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(10, 10, 10, 0.10);
    box-shadow: 0 22px 48px rgba(6, 25, 68, 0.12);
  }

  .ksg-services .ksg-service-cover-card:hover .ksg-service-cover-card__body,
  .ksg-services .ksg-service-cover-card:focus-within .ksg-service-cover-card__body {
    height: 252px;
    box-shadow: 0 -14px 32px rgba(7, 23, 58, 0.08);
  }

  .ksg-services .ksg-service-cover-card:hover .ksg-service-cover-card__copy p,
  .ksg-services .ksg-service-cover-card:focus-within .ksg-service-cover-card__copy p {
    max-height: 112px;
    opacity: 1;
    transform: translateY(0);
  }

  .ksg-services .ksg-service-cover-card:hover .ksg-service-cover-card__media img,
  .ksg-services .ksg-service-cover-card:focus-within .ksg-service-cover-card__media img {
    transform: scale(1.025);
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .ksg-services .ksg-service-cover-card {
    height: 430px;
    min-height: 430px;
  }

  .ksg-services .ksg-service-cover-card__media {
    height: 274px;
  }

  .ksg-services .ksg-service-cover-card__body {
    height: 156px;
  }

  .ksg-services .ksg-service-cover-card:hover .ksg-service-cover-card__body,
  .ksg-services .ksg-service-cover-card:focus-within .ksg-service-cover-card__body {
    height: 246px;
  }
}

@media (max-width: 767.98px) {
  .ksg-services .ksg-service-cover-card {
    border-radius: 0;
  }

  .ksg-services .ksg-service-cover-card__copy h3 {
    color: #090909;
  }

  .ksg-services .ksg-service-cover-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    color: var(--ksg-primary);
    font-size: 16px;
    font-weight: 700;
    opacity: 1;
    transform: none;
  }
}


/* --------------------------------------------------------------------------
   Homepage request form v4 — image-free, full-width operational request panel.
   The backend form identity and field names intentionally remain unchanged so
   every successful request continues to be persisted in the admin submissions
   centre through /forms/submit.
   -------------------------------------------------------------------------- */
.ksg-request .box-bg-leading {
  height: 100%;
  min-height: 100%;
}

.ksg-request-head {
  max-width: 820px;
  margin-bottom: 34px !important;
}

.ksg-request-head h2 {
  color: #ffffff !important;
  font-size: clamp(42px, 3.2vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.ksg-request-head .ksg-richtext {
  max-width: 740px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.88) !important;
  line-height: 1.65;
}

.ksg-request-form.ksg-request-form--wide {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding: 34px 34px 28px;
  border: 1px solid rgba(1, 17, 59, 0.09);
  border-radius: 8px;
  background: #ffffff;
  background-image: none;
  box-shadow: 0 24px 70px rgba(1, 17, 59, 0.16);
}

.ksg-request-form--wide .ksg-request-form__grid {
  --bs-gutter-x: 26px;
  --bs-gutter-y: 0;
}

.ksg-request-form--wide .form-group {
  margin-bottom: 18px;
}

.ksg-request-form--wide label {
  margin-bottom: 7px;
  color: #061638;
  font-size: 13px;
  font-weight: 700;
}

.ksg-request-form--wide .form-control {
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid #d9e0ea;
  border-radius: 3px;
  background: #ffffff;
  color: #061638;
  font-size: 14px;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.ksg-request-form--wide .form-control::placeholder {
  color: #8b96aa;
  opacity: 1;
}

.ksg-request-form--wide select.form-control {
  cursor: pointer;
}

.ksg-request-form--wide .form-control:focus {
  border-color: rgba(1, 52, 132, 0.48);
  box-shadow: 0 0 0 3px rgba(1, 52, 132, 0.07);
}

.ksg-request-form--wide textarea.form-control {
  min-height: 96px;
  resize: vertical;
}

.ksg-request-form--wide input[type="file"] {
  padding-top: 10px;
}

.ksg-request-form--wide .ksg-request-form__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 2px;
}

.ksg-request-form--wide .ksg-form-status {
  flex: 1 1 auto;
  margin: 0;
  padding: 11px 14px;
  border-left-width: 3px;
  font-size: 13px;
}

.ksg-request-form--wide .ksg-request-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 190px;
  min-height: 48px;
  margin: 0;
  padding: 12px 22px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
  box-shadow: none;
}

.ksg-request-form--wide .ksg-request-submit .ksg-arrow {
  width: 18px;
  height: 18px;
}

.ksg-request-form--wide .ksg-form-field-error {
  margin-top: 5px;
}

@media (max-width: 991.98px) {
  .ksg-request-form.ksg-request-form--wide {
    width: 100%;
    padding: 28px 26px 24px;
  }
}

@media (max-width: 767.98px) {
  .ksg-request {
    padding-top: 76px !important;
    padding-bottom: 76px !important;
  }

  .ksg-request-head {
    margin-bottom: 28px !important;
  }

  .ksg-request-head h2 {
    font-size: clamp(36px, 10vw, 46px);
  }

  .ksg-request-form.ksg-request-form--wide {
    padding: 24px 18px 20px;
    border-radius: 6px;
  }

  .ksg-request-form--wide .ksg-request-form__grid {
    --bs-gutter-x: 18px;
  }

  .ksg-request-form--wide .ksg-request-form__footer {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .ksg-request-form--wide .ksg-request-submit {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Homepage hero v1.16 — smaller phone typography.
   Desktop/tablet remain unchanged; phone scale is deliberately restrained so
   the first viewport feels more premium and less text-heavy.
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .home-hero .ksg-eyebrow {
    font-size: 9px !important;
    line-height: 1.35 !important;
  }

  .home-hero .ksg-hero h1 {
    max-width: 100% !important;
    font-size: clamp(22px, 5.9vw, 25px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.018em !important;
  }

  .home-hero .ksg-hero-copy,
  .home-hero .ksg-hero-copy p {
    max-width: 100% !important;
    font-size: 12.5px !important;
    line-height: 1.48 !important;
  }

  .home-hero .ksg-hero .box-button .btn {
    font-size: 11.5px !important;
  }
}

@media (max-width: 359.98px) {
  .home-hero .ksg-hero h1 {
    font-size: 21px !important;
  }

  .home-hero .ksg-hero-copy,
  .home-hero .ksg-hero-copy p {
    font-size: 12px !important;
  }
}

/* --------------------------------------------------------------------------
   Homepage hero v1.15 — slightly lower background luminance.
   Keeps the left-side vessel/crew detail readable while adding a little more
   navy density behind the copy on the right for calmer contrast.
   -------------------------------------------------------------------------- */
@media (min-width: 1200px) {
  .home-hero .ksg-hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(1, 8, 24, 0.39) 0%,
        rgba(1, 10, 30, 0.47) 48%,
        rgba(1, 12, 36, 0.57) 100%
      ),
      linear-gradient(
        90deg,
        rgba(1, 17, 59, 0.38) 0%,
        rgba(1, 17, 59, 0.42) 28%,
        rgba(1, 17, 59, 0.54) 45%,
        rgba(1, 15, 49, 0.72) 62%,
        rgba(1, 13, 43, 0.88) 79%,
        rgba(1, 11, 37, 0.95) 100%
      );
  }

  .home-hero .ksg-hero-overlay::before {
    opacity: 0.14;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .home-hero .ksg-hero-overlay {
    background:
      linear-gradient(180deg, rgba(1, 8, 24, 0.40) 0%, rgba(1, 12, 36, 0.59) 100%),
      linear-gradient(90deg, rgba(1, 17, 59, 0.41) 0%, rgba(1, 17, 59, 0.52) 47%, rgba(1, 13, 43, 0.87) 100%);
  }

  .home-hero .ksg-hero-overlay::before {
    opacity: 0.20;
  }
}

/* --------------------------------------------------------------------------
   Homepage Joint Ventures v1.30.1
   Minimal, expandable company grid positioned immediately before Request Service.
   -------------------------------------------------------------------------- */
.ksg-joint-ventures {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 68px 0 84px;
  background:
    radial-gradient(circle at 50% 42%, rgba(230, 237, 247, 0.32), transparent 34%),
    #fbfcfe;
}

.ksg-jv-container {
  position: relative;
  z-index: 2;
}

.ksg-jv-head {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.ksg-jv-eyebrow {
  margin: 0 0 14px;
  color: #7189a8;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.ksg-jv-head h2 {
  margin: 0 !important;
  color: #041d49 !important;
  font-family: var(--ksg-font-sans, "Archivo", Arial, sans-serif) !important;
  font-size: clamp(34px, 2.6vw, 40px) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.022em !important;
  text-transform: uppercase;
}

.ksg-jv-divider {
  display: block;
  width: 72px;
  height: 1px;
  margin: 16px auto 0;
  background: #91a9c6;
}

.ksg-jv-intro {
  max-width: 610px;
  margin: 18px auto 0;
  color: #65778d;
  font-size: 14px;
  line-height: 1.7;
}

.ksg-jv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  justify-content: center;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.ksg-jv-card {
  position: relative;
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 32px 24px;
  overflow: hidden;
  border: 1px solid #dce5ef;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 50px rgba(16, 43, 79, 0.065);
  color: #041d49;
  text-align: center;
  text-decoration: none !important;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.ksg-jv-card::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 72px;
  height: 2px;
  content: "";
  background: #113c70;
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity .22s ease, width .22s ease;
}

.ksg-jv-card:hover,
.ksg-jv-card:focus-visible {
  border-color: #c4d3e3;
  box-shadow: 0 24px 60px rgba(16, 43, 79, 0.105);
  color: #041d49;
  outline: none;
  transform: translateY(-4px);
}

.ksg-jv-card:hover::before,
.ksg-jv-card:focus-visible::before {
  width: 104px;
  opacity: 1;
}

.ksg-jv-logo-wrap {
  display: flex;
  width: 100%;
  min-height: 138px;
  align-items: center;
  justify-content: center;
}

.ksg-jv-logo-wrap img {
  display: block;
  width: min(100%, 265px);
  max-width: 100%;
  max-height: 145px;
  object-fit: contain;
}

/* Company name remains available to assistive technology; the logo + URL keep
   the frontend visually identical to the approved minimalist reference. */
.ksg-jv-company {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.ksg-jv-url {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  color: #8298b3;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.ksg-jv-external {
  font-size: 13px;
  letter-spacing: 0;
  opacity: .75;
  transition: transform .2s ease;
}

.ksg-jv-card:hover .ksg-jv-external,
.ksg-jv-card:focus-visible .ksg-jv-external {
  transform: translate(2px, -2px);
}

.ksg-jv-waves {
  position: absolute;
  z-index: 0;
  right: -2%;
  bottom: -16px;
  left: -2%;
  width: 104%;
  height: 180px;
  pointer-events: none;
}

.ksg-jv-waves path {
  fill: none;
  stroke: #aac0dc;
  stroke-width: 1.1;
  opacity: .34;
  vector-effect: non-scaling-stroke;
}

@media (max-width: 991.98px) {
  .ksg-joint-ventures {
    padding: 62px 0 76px;
  }

  .ksg-jv-head {
    margin-bottom: 28px;
  }

  .ksg-jv-grid {
    grid-template-columns: repeat(auto-fit, minmax(270px, 340px));
  }
}

@media (max-width: 767.98px) {
  .ksg-joint-ventures {
    padding: 54px 0 68px;
  }

  .ksg-jv-head {
    margin-bottom: 24px;
  }

  .ksg-jv-head h2 {
    font-size: clamp(28px, 8.4vw, 32px) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
  }

  .ksg-jv-divider {
    width: 52px;
    margin-top: 14px;
  }

  .ksg-jv-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .ksg-jv-card {
    width: 100%;
    min-height: 220px;
    padding: 24px 22px 20px;
    border-radius: 15px;
  }

  .ksg-jv-logo-wrap {
    min-height: 120px;
  }

  .ksg-jv-logo-wrap img {
    width: min(100%, 235px);
    max-height: 130px;
  }

  .ksg-jv-url {
    margin-top: 10px;
    font-size: 10.5px;
    letter-spacing: .12em;
  }

  .ksg-jv-waves {
    bottom: -4px;
    height: 145px;
    opacity: .68;
  }
}

@media (max-width: 359.98px) {
  .ksg-jv-head h2 {
    font-size: 28px !important;
  }

  .ksg-jv-card {
    padding-right: 18px;
    padding-left: 18px;
  }
}
