/* Körpü — açıq kart — Desktop 5821:22288, Mobile 5821:22152 */

.aayda-bridge-detail-page {
  background-color: var(--aayda-colors-surface-disabled);
}

.aayda-bridge-detail {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  min-width: 0;
  padding: 20px 16px 80px;
}

.aayda-bridge-detail-page .aayda-breadcrumbs {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
}

.aayda-bridge-detail-page .aayda-breadcrumbs__list {
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 100%;
}

.aayda-bridge-detail-page .aayda-breadcrumbs__current {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aayda-bridge-detail__shell {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  min-width: 0;
}

.aayda-bridge-detail__top {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

/* bug-fix-5 batch 2: information cards are white with a 1px #e2e8f0 stroke and the desktop content panel is
   transparent over the page's #f3f4f6, so the cards stand out from the page (owner-approved, Figma road detail
   6494:30826). The stroke is an inset ring, so no card changes size. */
.aayda-bridge-detail__hero-card {
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  min-width: 0;
  height: 327px;
  padding: 20px 15px;
  background: var(--aayda-colors-base-white);
  box-shadow: inset 0 0 0 1px #e2e8f0;
  border-radius: var(--aayda-radius-image);
}

.aayda-bridge-detail__intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.aayda-bridge-detail__badge-row {
  display: flex;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
}

.aayda-bridge-detail__badge {
  box-sizing: border-box;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: var(--aayda-numbers-spacing-6);
  width: auto;
  height: 28px;
  padding: 1px 13px;
  background: transparent;
  border: 1px solid var(--aayda-colors-green-600);
  border-radius: 100px;
}

.aayda-bridge-detail__badge-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--aayda-colors-green-600);
  border-radius: 4px;
}

.aayda-bridge-detail__badge-text {
  color: var(--aayda-colors-gray-800);
  font-family: var(--aayda-typography-font-primary);
  font-size: var(--aayda-typography-size-12);
  font-weight: var(--aayda-typography-weight-medium);
  line-height: var(--aayda-typography-line-height-12);
  letter-spacing: var(--aayda-typography-letter-spacing-12);
  white-space: nowrap;
}

.aayda-bridge-detail__title {
  margin: 0;
  color: var(--aayda-colors-navy-900);
  font-family: var(--aayda-typography-font-primary);
  font-size: var(--aayda-typography-size-24);
  font-weight: var(--aayda-typography-weight-semi-bold);
  line-height: var(--aayda-typography-line-height-heading-24);
  letter-spacing: var(--aayda-typography-letter-spacing-24);
}

.aayda-bridge-detail__hero-image--desktop {
  display: none;
}

.aayda-bridge-detail__hero {
  position: relative;
  flex-shrink: 0;
  width: calc(100% + 3px);
  min-width: 0;
  height: 203px;
  overflow: clip;
  overflow: hidden;
  border-radius: var(--aayda-radius-button);
}

.aayda-bridge-detail__hero-media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0 solid transparent;
  background-clip: padding-box;
  pointer-events: none;
}

.aayda-bridge-detail__hero-image {
  position: absolute;
  top: -4.89%;
  left: 0;
  display: block;
  width: 100%;
  height: 101.37%;
  max-width: none;
  border: 0 solid transparent;
  background-clip: padding-box;
  object-fit: cover;
  object-position: left top;
}

.aayda-bridge-detail__hero-overlay {
  position: absolute;
  right: auto;
  bottom: 8px;
  left: -3px;
  display: flex;
  flex-direction: column;
  gap: var(--aayda-numbers-spacing-4);
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  height: 99px;
  padding: 0 12px 4px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
  border-bottom-right-radius: var(--aayda-radius-image);
  border-bottom-left-radius: var(--aayda-radius-image);
  pointer-events: none;
}

.aayda-bridge-detail__hero-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
  pointer-events: auto;
}

.aayda-bridge-detail__hero-caption {
  margin: 0;
  width: 139px;
  height: 41px;
  color: var(--aayda-colors-base-white);
  font-family: var(--aayda-typography-font-primary);
  font-size: var(--aayda-typography-size-12);
  font-weight: var(--aayda-typography-weight-bold);
  line-height: var(--aayda-typography-line-height-12);
  letter-spacing: var(--aayda-typography-letter-spacing-12);
}

.aayda-bridge-detail__hero-caption-text--desktop {
  display: none;
}

.aayda-bridge-detail__hero-controls {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.aayda-bridge-detail__hero-arrows {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: var(--aayda-numbers-spacing-12);
}

.aayda-bridge-detail__hero-arrow {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.aayda-bridge-detail__hero-arrow-icon {
  display: block;
  width: 35px;
  height: 35px;
  max-width: none;
}

.aayda-bridge-detail__hero-arrow-icon--desktop {
  display: none;
}

.aayda-bridge-detail__hero-arrow-icon--mobile {
  display: block;
}

.aayda-bridge-detail__hero-arrow--next .aayda-bridge-detail__hero-arrow-icon--mobile {
  transform: scaleX(-1);
}

.aayda-bridge-detail__hero-dots {
  display: flex;
  align-items: center;
  gap: var(--aayda-numbers-spacing-4);
  height: 18px;
  pointer-events: auto;
}

.aayda-bridge-detail__hero-dots--desktop {
  display: none;
}

.aayda-bridge-detail__hero-dots--mobile {
  box-sizing: border-box;
  width: 122px;
  padding: 0 10px;
}

.aayda-bridge-detail__hero-dot {
  flex-shrink: 0;
  width: 11px;
  height: 4px;
  padding: 0;
  background: #d0d5dd;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}

/* The active dot is the one the carousel marks aria-current, so the look and the state are one. */
.aayda-bridge-detail__hero-dot[aria-current="true"] {
  width: 34px;
  background: var(--aayda-colors-navy-900);
}

/*
 * The slides lie on top of one another and cross-fade; only the active one is visible. Before the
 * carousel script runs, the first slide is the active one and the controls stay hidden, so the page
 * reads as a single picture.
 */
.aayda-bridge-detail__hero {
  touch-action: pan-y;
}

.aayda-bridge-detail__hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 300ms ease-out;
}

.aayda-bridge-detail__hero-slide.is-active {
  opacity: 1;
}

.aayda-bridge-detail__hero:not(.is-ready) .aayda-bridge-detail__hero-controls,
.aayda-bridge-detail__hero:not(.is-ready) .aayda-bridge-detail__hero-dots {
  visibility: hidden;
}

/* Keyboard focus — the site's ring. The design defines hover icons for the arrows but no ring. */
.aayda-bridge-detail__hero-arrow:focus-visible,
.aayda-bridge-detail__hero-dot:focus-visible {
  outline: var(--aayda-border-width-focus-ring) solid var(--aayda-colors-ring-focus);
  outline-offset: 2px;
  border-radius: 50%;
}

.aayda-bridge-detail__hero-dot:focus-visible {
  border-radius: 2px;
}

/* Read out after a slide change and never shown: the design has no visible counter. */
.aayda-bridge-detail__hero-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* A photo tile is a link: the site's ring, inset because the strip clips its overflow. */
.aayda-bridge-detail__photo:focus-visible {
  outline: var(--aayda-border-width-focus-ring) solid var(--aayda-colors-ring-focus);
  outline-offset: calc(var(--aayda-border-width-focus-ring) * -1);
}

/* Rows of 89px, as many as the bridge has cards: two per row, 190px for the design's four. */
.aayda-bridge-detail__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 89px;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.aayda-bridge-detail__metrics--desktop {
  display: none;
}

.aayda-bridge-detail__metric {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  min-width: 0;
  height: 89px;
  padding: 16px 16px 16px 12px;
  background: var(--aayda-colors-base-white);
  border: 0;
  border-radius: var(--aayda-radius-button);
  box-shadow: inset 0 0 0 1px #e2e8f0;
  transition:
    background-color 300ms ease-out,
    box-shadow 300ms ease-out;
}

.aayda-bridge-detail__metric-value {
  margin: 0;
  flex: 0 0 41px;
  height: 41px;
  color: var(--aayda-colors-navy-900);
  font-family: var(--aayda-typography-font-primary);
  font-size: var(--aayda-typography-size-20);
  font-weight: var(--aayda-typography-weight-semi-bold);
  line-height: var(--aayda-typography-line-height-20);
  letter-spacing: var(--aayda-typography-letter-spacing-20);
  white-space: nowrap;
  transition: color 300ms ease-out;
}

.aayda-bridge-detail__metric-rule {
  position: relative;
  display: block;
  flex-shrink: 0;
  width: 100%;
  max-width: 151px;
  height: 0;
}

.aayda-bridge-detail__metric-line {
  position: absolute;
  top: -1px;
  left: 0;
  display: block;
  width: 151px;
  height: 1px;
  max-width: none;
  transition: opacity 300ms ease-out;
}

.aayda-bridge-detail__metric-line--default {
  opacity: 1;
}

.aayda-bridge-detail__metric-line--hover {
  opacity: 0;
}

.aayda-bridge-detail__metric-label {
  margin: 0;
  padding-top: var(--aayda-numbers-spacing-4);
  flex: 0 0 16px;
  height: 16px;
  color: var(--aayda-colors-text-secondary);
  font-family: var(--aayda-typography-font-primary);
  font-size: var(--aayda-typography-size-12);
  font-weight: var(--aayda-typography-weight-semi-bold);
  line-height: var(--aayda-typography-line-height-12);
  letter-spacing: var(--aayda-typography-letter-spacing-12);
  white-space: nowrap;
  transition:
    color 300ms ease-out,
    font-weight 300ms ease-out;
}

/*
 * The Metric/Card hover, as the static bridge page ships it. The cards are static figures and never
 * take focus, so the :focus-visible twins the port carried are dropped: they could never match.
 */
.aayda-bridge-detail__metric:hover {
  background: var(--aayda-colors-navy-900);
  box-shadow: inset 0 0 0 var(--aayda-border-width-card) var(--aayda-colors-navy-900);
}

.aayda-bridge-detail__metric:hover .aayda-bridge-detail__metric-value {
  color: var(--aayda-colors-green-600);
}

.aayda-bridge-detail__metric:hover .aayda-bridge-detail__metric-label {
  color: var(--aayda-colors-base-white);
  font-weight: var(--aayda-typography-weight-regular);
}

.aayda-bridge-detail__metric:hover .aayda-bridge-detail__metric-line--default {
  opacity: 0;
}

.aayda-bridge-detail__metric:hover .aayda-bridge-detail__metric-line--hover {
  opacity: 1;
}

.aayda-bridge-detail__only-desktop {
  display: none;
}

.aayda-bridge-detail__below-metrics {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.aayda-bridge-detail__divider {
  display: none;
}

.aayda-bridge-detail__story {
  width: 100%;
  min-width: 0;
  margin-top: 19px;
}

.aayda-bridge-detail__story-row {
  display: flex;
  flex-direction: column-reverse;
  gap: 15px;
  width: 100%;
  min-width: 0;
}

.aayda-bridge-detail__map {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 100%;
  min-width: 0;
  height: 280px;
  padding: 26px 22px;
  background: var(--aayda-colors-base-white);
  box-shadow: inset 0 0 0 1px #e2e8f0;
  border-radius: var(--aayda-radius-image);
}

.aayda-bridge-detail__map-heading {
  display: flex;
  align-items: center;
  gap: var(--aayda-numbers-spacing-8);
}

.aayda-bridge-detail__map-pin {
  display: block;
  width: 20px;
  height: 20px;
  max-width: none;
}

.aayda-bridge-detail__map-title {
  margin: 0;
  color: var(--aayda-colors-navy-900);
  font-family: var(--aayda-typography-font-primary);
  font-size: var(--aayda-typography-size-14);
  font-weight: var(--aayda-typography-weight-medium);
  line-height: var(--aayda-typography-line-height-14);
  letter-spacing: var(--aayda-typography-letter-spacing-14);
  white-space: nowrap;
}

.aayda-bridge-detail__map-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  height: 140px;
  margin-top: var(--aayda-numbers-spacing-16);
  overflow: hidden;
  border-radius: var(--aayda-radius-button);
}

.aayda-bridge-detail__map-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--aayda-radius-button);
}

/* The bridge's own Google map, when it has one: it fills the frame the design's picture fills, so
   the frame keeps its height, radius and clipping and the card its size. */
.aayda-bridge-detail__map-embed-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--aayda-radius-button);
}

.aayda-bridge-detail__map-marker {
  position: relative;
  z-index: 1;
  display: block;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  max-width: none;
}

.aayda-bridge-detail__map-spacer {
  display: block;
  flex-shrink: 0;
  width: 109.773px;
  height: 46px;
}

.aayda-bridge-detail__map-button {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--aayda-numbers-spacing-16);
  width: 100%;
  height: 40px;
  margin-top: var(--aayda-numbers-spacing-12);
  padding: 4px 8px;
  color: #344054;
  font-family: var(--aayda-typography-font-primary);
  font-size: var(--aayda-typography-size-12);
  font-weight: var(--aayda-typography-weight-medium);
  line-height: var(--aayda-typography-line-height-12);
  letter-spacing: var(--aayda-typography-letter-spacing-12);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  border: 0;
  border-radius: 44px;
  box-shadow: inset 0 0 0 0.5px var(--aayda-colors-faq-lead);
  backdrop-filter: blur(6px);
  transition:
    background-color 300ms ease-out,
    box-shadow 300ms ease-out,
    color 300ms ease-out;
}

.aayda-bridge-detail__map-button-icons {
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}

.aayda-bridge-detail__map-button-icon {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 16px;
  height: 16px;
  max-width: none;
  transition: opacity 300ms ease-out;
}

.aayda-bridge-detail__map-button-icon--default {
  opacity: 1;
}

.aayda-bridge-detail__map-button-icon--hover {
  opacity: 0;
}

.aayda-bridge-detail__map-button:hover,
.aayda-bridge-detail__map-button:focus-visible {
  color: var(--aayda-colors-base-white);
  background: var(--aayda-colors-navy-900);
  box-shadow: inset 0 0 0 0.5px var(--aayda-colors-blue-400);
}

.aayda-bridge-detail__map-button:hover .aayda-bridge-detail__map-button-icon--default,
.aayda-bridge-detail__map-button:focus-visible .aayda-bridge-detail__map-button-icon--default {
  opacity: 0;
}

.aayda-bridge-detail__map-button:hover .aayda-bridge-detail__map-button-icon--hover,
.aayda-bridge-detail__map-button:focus-visible .aayda-bridge-detail__map-button-icon--hover {
  opacity: 1;
}

.aayda-bridge-detail__copy {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: var(--aayda-numbers-spacing-8);
  width: calc(100% - 2px);
  min-width: 0;
  padding: var(--aayda-numbers-spacing-20);
  background: var(--aayda-colors-base-white);
  box-shadow: inset 0 0 0 1px #e2e8f0;
  border-radius: var(--aayda-radius-image);
}

.aayda-bridge-detail__lead {
  margin: 0;
  width: 100%;
  padding-left: 19px;
  color: var(--aayda-colors-navy-900);
  font-family: var(--aayda-typography-font-primary);
  font-size: var(--aayda-typography-size-16);
  font-weight: var(--aayda-typography-weight-bold);
  line-height: var(--aayda-typography-line-height-16);
  letter-spacing: var(--aayda-typography-letter-spacing-16);
  box-shadow: inset 3px 0 0 var(--aayda-colors-navy-900);
}

.aayda-bridge-detail__body {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  /* As tall as its text. The static page fixed it at the mock copy's height and clipped the rest;
     an editor's body is any length, and every paragraph has to show. */
  height: auto;
  padding-top: var(--aayda-numbers-spacing-20);
  color: var(--aayda-colors-gray-800);
  font-family: var(--aayda-typography-font-primary);
  font-size: var(--aayda-typography-size-16);
  font-weight: var(--aayda-typography-weight-medium);
  line-height: var(--aayda-typography-line-height-16);
  letter-spacing: var(--aayda-typography-letter-spacing-16);
}

.aayda-bridge-detail__body p {
  margin: 0;
}

/* The editor's YouTube video (Figma 12931:74788: 980×552, radius 12): 16:9 at every width, the page's
   own media spacing above it. Rendered only when there is a video. */
.aayda-bridge-detail__video {
  width: 100%;
  margin-top: 60px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--aayda-colors-navy-900);
  border-radius: 12px;
}

.aayda-bridge-detail__video-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.aayda-bridge-detail__media {
  display: flex;
  flex-direction: column;
  gap: 60px;
  width: 100%;
  min-width: 0;
  margin-top: 60px;
}

.aayda-bridge-detail__section {
  display: flex;
  flex-direction: column;
  gap: var(--aayda-numbers-spacing-16);
  width: 100%;
  min-width: 0;
}

.aayda-bridge-detail__section-header {
  display: flex;
  flex-direction: column;
  gap: var(--aayda-numbers-spacing-8);
  width: 100%;
  min-width: 0;
}

.aayda-bridge-detail__section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
}

.aayda-bridge-detail__section-title-wrap {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
}

.aayda-bridge-detail__section-icon {
  display: block;
  flex-shrink: 0;
  width: 22px;
  height: 18px;
  max-width: none;
}

.aayda-bridge-detail__section-title {
  margin: 0;
  padding-left: var(--aayda-numbers-spacing-8);
  color: var(--aayda-colors-navy-900);
  font-family: var(--aayda-typography-font-primary);
  font-size: var(--aayda-typography-size-16);
  font-weight: var(--aayda-typography-weight-bold);
  line-height: var(--aayda-typography-line-height-16);
  letter-spacing: var(--aayda-typography-letter-spacing-16);
  white-space: nowrap;
}

.aayda-bridge-detail__more {
  display: none;
}

.aayda-bridge-detail__section-rule {
  width: 100%;
  height: 1px;
  background: #e2e8f0;
}

.aayda-bridge-detail__photos {
  display: flex;
  gap: var(--aayda-numbers-spacing-8);
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.aayda-bridge-detail__photos::-webkit-scrollbar {
  display: none;
}

.aayda-bridge-detail__photos--desktop {
  display: none;
}

.aayda-bridge-detail__photo {
  position: relative;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--aayda-radius-button);
}

.aayda-bridge-detail__photo-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: var(--aayda-radius-button);
  pointer-events: none;
}

.aayda-bridge-detail__photo--01 {
  width: 192px;
  height: 180px;
}

.aayda-bridge-detail__photo--02 {
  width: 194px;
  height: 181px;
}

.aayda-bridge-detail__photo--02 .aayda-bridge-detail__photo-image {
  inset: auto;
  top: 0;
  left: -33.27%;
  width: 166.53%;
  height: 100%;
}

.aayda-bridge-detail__photo--03,
.aayda-bridge-detail__photo--04 {
  width: 193px;
  height: 181px;
}

.aayda-bridge-detail__photo--04 {
  width: 195px;
}

.aayda-bridge-detail__photo--05 {
  width: 193px;
  height: 181px;
}

/* The "+N" tile, whichever slot it falls in: the picture dims under the count, as Figma draws it. */
.aayda-bridge-detail__photo--more .aayda-bridge-detail__photo-image {
  opacity: 0.8;
}

.aayda-bridge-detail__photo-more {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  color: var(--aayda-colors-base-white);
  font-family: var(--aayda-typography-font-primary);
  font-size: var(--aayda-typography-size-18);
  font-weight: var(--aayda-typography-weight-semi-bold);
  line-height: var(--aayda-typography-line-height-18);
  letter-spacing: var(--aayda-typography-letter-spacing-18);
  white-space: nowrap;
  pointer-events: none;
}

.aayda-bridge-detail__section--related {
  gap: var(--aayda-numbers-spacing-16);
}

.aayda-bridge-detail__section--related .aayda-bridge-detail__section-header {
  position: relative;
  gap: 0;
  height: 26px;
  min-height: 26px;
}

.aayda-bridge-detail__section--related .aayda-bridge-detail__section-bar {
  height: 26px;
  min-height: 26px;
  align-items: flex-start;
}

.aayda-bridge-detail__section--related .aayda-bridge-detail__section-rule {
  display: none;
}

.aayda-bridge-detail__section-title-wrap--related {
  gap: var(--aayda-numbers-spacing-8);
}

.aayda-bridge-detail__section-title-wrap--related .aayda-bridge-detail__section-title {
  padding-left: 0;
}

.aayda-bridge-detail__more--related {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0;
  color: var(--aayda-colors-blue-400);
  font-family: var(--aayda-typography-font-primary);
  font-size: var(--aayda-typography-size-14);
  font-weight: var(--aayda-typography-weight-semi-bold);
  line-height: var(--aayda-typography-line-height-14);
  letter-spacing: var(--aayda-typography-letter-spacing-14);
  text-decoration: none;
  white-space: nowrap;
  transition: color 300ms ease-out;
}

.aayda-bridge-detail__more--related:hover,
.aayda-bridge-detail__more--related:focus-visible {
  color: var(--aayda-colors-news-link-hover);
}

.aayda-bridge-detail__section--related .aayda-bridge-detail__more-icons {
  position: relative;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  transform: translateX(0);
  transition: transform 300ms ease-out;
}

.aayda-bridge-detail__section--related .aayda-bridge-detail__more--related:hover .aayda-bridge-detail__more-icons,
.aayda-bridge-detail__section--related .aayda-bridge-detail__more--related:focus-visible .aayda-bridge-detail__more-icons {
  transform: translateX(4px);
}

.aayda-bridge-detail__section--related .aayda-bridge-detail__more-arrow {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 30px;
  height: 30px;
  max-width: none;
  transition: opacity 300ms ease-out;
}

.aayda-bridge-detail__section--related .aayda-bridge-detail__more-arrow--hover {
  opacity: 0;
}

.aayda-bridge-detail__section--related .aayda-bridge-detail__more--related:hover .aayda-bridge-detail__more-arrow--default,
.aayda-bridge-detail__section--related .aayda-bridge-detail__more--related:focus-visible .aayda-bridge-detail__more-arrow--default {
  opacity: 0;
}

.aayda-bridge-detail__section--related .aayda-bridge-detail__more--related:hover .aayda-bridge-detail__more-arrow--hover,
.aayda-bridge-detail__section--related .aayda-bridge-detail__more--related:focus-visible .aayda-bridge-detail__more-arrow--hover {
  opacity: 1;
}

.aayda-bridge-detail__related {
  display: flex;
  gap: var(--aayda-numbers-spacing-8);
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.aayda-bridge-detail__related::-webkit-scrollbar {
  display: none;
}

.aayda-bridge-detail__related--desktop {
  display: none;
}

.aayda-bridge-detail__related-card {
  box-sizing: border-box;
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  width: 296px;
  height: 316px;
  overflow: hidden;
  background: var(--aayda-colors-base-white);
  box-shadow: inset 0 0 0 var(--aayda-border-width-card) var(--aayda-colors-base-white);
  border-radius: 14px;
  text-decoration: none;
}

.aayda-bridge-detail__related-media {
  flex-shrink: 0;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.aayda-bridge-detail__related-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.aayda-bridge-detail__related-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--aayda-numbers-spacing-12);
  width: 100%;
  min-width: 0;
  padding: 18px 20px 20px;
}

/* Sized to its text, as Figma draws it: the card body is a flex column, which would otherwise
   stretch the pill across the whole card. */
.aayda-bridge-detail__related-code {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: var(--aayda-numbers-spacing-6);
  padding: 4px 12px 4px 10px;
  background: var(--aayda-colors-surface-disabled);
  border-radius: 20px;
}

.aayda-bridge-detail__related-code-dot {
  display: block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  max-width: none;
}

.aayda-bridge-detail__related-code span {
  color: var(--aayda-colors-navy-700);
  font-family: var(--aayda-typography-font-primary);
  font-size: var(--aayda-typography-size-10);
  font-weight: var(--aayda-typography-weight-semi-bold);
  line-height: var(--aayda-typography-line-height-10);
  letter-spacing: var(--aayda-typography-letter-spacing-10);
  white-space: nowrap;
}

.aayda-bridge-detail__related-title {
  margin: 0;
  overflow: hidden;
  width: 264px;
  height: 36px;
  color: var(--aayda-colors-teal-900);
  font-family: var(--aayda-typography-font-primary);
  font-size: var(--aayda-typography-size-14);
  font-weight: var(--aayda-typography-weight-semi-bold);
  line-height: var(--aayda-typography-line-height-14);
  letter-spacing: var(--aayda-typography-letter-spacing-14);
}

.aayda-bridge-detail__related-rule {
  display: block;
  flex-shrink: 0;
  width: 256px;
  height: 1px;
  max-width: none;
}

.aayda-bridge-detail__related-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 256px;
  height: 20px;
  overflow: hidden;
}

.aayda-bridge-detail__related-meta p {
  margin: 0;
  color: var(--aayda-colors-navy-700);
  font-family: var(--aayda-typography-font-primary);
  font-size: var(--aayda-typography-size-12);
  font-weight: var(--aayda-typography-weight-semi-bold);
  line-height: var(--aayda-typography-line-height-12);
  letter-spacing: var(--aayda-typography-letter-spacing-12);
  white-space: nowrap;
}

.aayda-bridge-detail__related-arrow {
  display: block;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  max-width: none;
}

.aayda-bridge-detail__related-arrow--mobile {
  margin-top: -4px;
}

.aayda-bridge-detail__related-arrow--hover,
.aayda-bridge-detail__related-arrow--desktop {
  display: none;
}

@media (min-width: 1416px) {
  .aayda-bridge-detail {
    gap: 32px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 32px 0 96px;
  }

  .aayda-bridge-detail-page .aayda-breadcrumbs {
    width: 100%;
    padding-left: max(110px, calc((100% - 1440px) / 2 + 110px));
  }

  /* One line, held to the breadcrumb width: a long current crumb ends in an ellipsis (breadcrumbs.css). */
  .aayda-bridge-detail-page .aayda-breadcrumbs__list {
    align-items: flex-start;
    flex-wrap: nowrap;
    width: fit-content;
    max-width: 100%;
  }

  .aayda-bridge-detail-page .aayda-breadcrumbs__link,
  .aayda-bridge-detail-page .aayda-breadcrumbs__current {
    white-space: nowrap;
  }

  .aayda-bridge-detail__shell {
    box-sizing: border-box;
    gap: 0;
    width: 1246px;
    max-width: none;
    margin: 0 auto;
    padding: 56px 119px 88px 134px;
    background: transparent;
    box-shadow: inset 0 0 0 var(--aayda-border-width-card) var(--aayda-colors-base-white);
    border-radius: var(--aayda-radius-image);
  }

  .aayda-bridge-detail__top {
    gap: 20px;
    width: 993px;
  }

  .aayda-bridge-detail__hero-card {
    gap: 12px;
    width: 993px;
    height: auto;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  .aayda-bridge-detail__intro {
    gap: 12px;
    width: 993px;
  }

  .aayda-bridge-detail__badge-row {
    height: 40px;
  }

  .aayda-bridge-detail__title {
    font-size: var(--aayda-typography-size-32);
    line-height: var(--aayda-typography-line-height-heading-32);
    letter-spacing: var(--aayda-typography-letter-spacing-32);
    white-space: nowrap;
  }

  .aayda-bridge-detail__hero {
    flex: 0 0 auto;
    width: 993px;
    height: 440px;
  }

  .aayda-bridge-detail__hero-image--mobile {
    display: none;
  }

  .aayda-bridge-detail__hero-image--desktop {
    display: block;
    inset: 0;
    top: auto;
    left: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .aayda-bridge-detail__hero-overlay {
    right: 0;
    bottom: 0;
    left: 0;
    flex-direction: row;
    align-items: flex-end;
    width: auto;
    height: 80px;
    padding: 0 16px 16px;
    border-radius: 0;
  }

  .aayda-bridge-detail__hero-toolbar {
    align-items: center;
    width: 961px;
  }

  .aayda-bridge-detail__hero-caption {
    width: auto;
    height: auto;
    white-space: nowrap;
  }

  .aayda-bridge-detail__hero-caption-text--mobile {
    display: none;
  }

  .aayda-bridge-detail__hero-caption-text--desktop {
    display: inline;
  }

  .aayda-bridge-detail__hero-controls {
    display: flex;
    align-items: center;
    gap: 282px;
  }

  .aayda-bridge-detail__hero-arrow-icon {
    width: 48px;
    height: 48px;
  }

  .aayda-bridge-detail__hero-arrow-icon--mobile {
    display: none;
  }

  .aayda-bridge-detail__hero-arrow-icon--desktop.aayda-bridge-detail__hero-arrow-icon--default {
    display: block;
  }

  .aayda-bridge-detail__hero-arrow-icon--desktop.aayda-bridge-detail__hero-arrow-icon--hover {
    display: none;
  }

  .aayda-bridge-detail__hero-arrow--next .aayda-bridge-detail__hero-arrow-icon--mobile {
    transform: none;
  }

  /* road-detail-carousel-next*.svg draw a left-pointing arrow, as the road page's own flip shows;
     Figma's next arrow points right. */
  .aayda-bridge-detail__hero-arrow--next .aayda-bridge-detail__hero-arrow-icon--desktop {
    transform: scaleX(-1);
  }

  .aayda-bridge-detail__hero-arrow:hover .aayda-bridge-detail__hero-arrow-icon--default,
  .aayda-bridge-detail__hero-arrow:focus-visible .aayda-bridge-detail__hero-arrow-icon--default {
    display: none;
  }

  .aayda-bridge-detail__hero-arrow:hover .aayda-bridge-detail__hero-arrow-icon--hover,
  .aayda-bridge-detail__hero-arrow:focus-visible .aayda-bridge-detail__hero-arrow-icon--hover {
    display: block;
  }

  .aayda-bridge-detail__hero-dots--mobile {
    display: none;
  }

  .aayda-bridge-detail__hero-dots--desktop {
    display: flex;
    width: 159px;
    padding: 10px;
  }

  .aayda-bridge-detail__metrics--mobile {
    display: none;
  }

  /*
   * Four 240px cards and three 12px gaps: 996px, Figma's metric row (5821:22316), a little wider
   * than the 993px hero above it, as the design draws it — at 993px the fourth card wrapped. A fifth
   * and later start a new row of the same height.
   */
  .aayda-bridge-detail__metrics--desktop {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    width: 996px;
  }

  .aayda-bridge-detail__metric {
    flex: 0 0 240px;
    width: 240px;
    padding: 16px 16px 16px 24px;
  }

  .aayda-bridge-detail__metric-rule {
    max-width: 199px;
  }

  .aayda-bridge-detail__metric-line {
    width: 199px;
  }

  .aayda-bridge-detail__metric-label {
    color: var(--aayda-colors-neutral-text-secondary);
  }

  .aayda-bridge-detail__only-mobile {
    display: none;
  }

  .aayda-bridge-detail__map-image.aayda-bridge-detail__only-desktop {
    display: block;
  }

  .aayda-bridge-detail__below-metrics {
    gap: 12px;
    width: 993px;
    margin-top: 12px;
  }

  .aayda-bridge-detail__divider {
    display: block;
    width: 993px;
    height: 1px;
    background: #e2e8f0;
  }

  .aayda-bridge-detail__story {
    width: 993px;
    margin-top: 0;
    padding-top: 24px;
  }

  .aayda-bridge-detail__story-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 44px;
    width: 993px;
  }

  .aayda-bridge-detail__copy {
    gap: 8px;
    width: 614px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  .aayda-bridge-detail__lead {
    width: 544px;
  }

  .aayda-bridge-detail__body {
    width: 563px;
  }

  .aayda-bridge-detail__map {
    width: 335px;
    height: 268px;
    padding: 20px;
    background: var(--aayda-colors-base-white);
    box-shadow: inset 0 0 0 1px #e2e8f0;
  }

  .aayda-bridge-detail__map-frame {
    width: 294px;
  }

  .aayda-bridge-detail__map-button {
    width: 294px;
    box-shadow: inset 0 0 0 1px var(--aayda-colors-faq-lead);
    backdrop-filter: blur(6px);
  }

  .aayda-bridge-detail__map-button:hover,
  .aayda-bridge-detail__map-button:focus-visible {
    box-shadow: inset 0 0 0 1px var(--aayda-colors-blue-400);
  }

  .aayda-bridge-detail__media {
    width: 993px;
    margin-top: 48px;
  }

  .aayda-bridge-detail__section {
    gap: 20px;
    width: 993px;
  }

  .aayda-bridge-detail__section-icon {
    width: 24px;
    height: 18px;
  }

  .aayda-bridge-detail__more {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0;
    color: var(--aayda-colors-blue-400);
    font-family: var(--aayda-typography-font-primary);
    font-size: var(--aayda-typography-size-14);
    font-weight: var(--aayda-typography-weight-semi-bold);
    line-height: var(--aayda-typography-line-height-14);
    letter-spacing: var(--aayda-typography-letter-spacing-14);
    text-decoration: none;
    white-space: nowrap;
    transition: color 300ms ease-out;
  }

  .aayda-bridge-detail__more:hover,
  .aayda-bridge-detail__more:focus-visible {
    color: var(--aayda-colors-news-link-hover);
  }

  .aayda-bridge-detail__more-icons {
    position: relative;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    transform: translateX(0);
    transition: transform 300ms ease-out;
  }

  .aayda-bridge-detail__more:hover .aayda-bridge-detail__more-icons,
  .aayda-bridge-detail__more:focus-visible .aayda-bridge-detail__more-icons {
    transform: translateX(4px);
  }

  .aayda-bridge-detail__more-arrow {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 30px;
    height: 30px;
    max-width: none;
    transition: opacity 300ms ease-out;
  }

  .aayda-bridge-detail__more-arrow--hover {
    opacity: 0;
  }

  .aayda-bridge-detail__section--photos .aayda-bridge-detail__more:hover .aayda-bridge-detail__more-arrow--default,
  .aayda-bridge-detail__section--photos .aayda-bridge-detail__more:focus-visible .aayda-bridge-detail__more-arrow--default {
    opacity: 0;
  }

  .aayda-bridge-detail__section--photos .aayda-bridge-detail__more:hover .aayda-bridge-detail__more-arrow--hover,
  .aayda-bridge-detail__section--photos .aayda-bridge-detail__more:focus-visible .aayda-bridge-detail__more-arrow--hover {
    opacity: 1;
  }

  .aayda-bridge-detail__section--photos .aayda-bridge-detail__section-header {
    position: relative;
    gap: 0;
    height: 33px;
  }

  .aayda-bridge-detail__section--photos .aayda-bridge-detail__section-bar {
    height: 32px;
  }

  .aayda-bridge-detail__section--photos .aayda-bridge-detail__section-rule {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
  }

  .aayda-bridge-detail__photos--mobile {
    display: none;
  }

  .aayda-bridge-detail__photos--desktop {
    display: flex;
    overflow: visible;
    width: 993px;
  }

  .aayda-bridge-detail__photo--desktop {
    width: 238px;
    height: 181px;
  }

  .aayda-bridge-detail__photo--desktop .aayda-bridge-detail__photo-image {
    inset: auto;
    height: 115.47%;
    left: -42.03%;
    top: -7.73%;
    width: 184.05%;
    object-fit: fill;
    transition:
      height 300ms ease-out,
      width 300ms ease-out,
      left 300ms ease-out,
      top 300ms ease-out;
  }

  .aayda-bridge-detail__photo--desktop:hover .aayda-bridge-detail__photo-image,
  .aayda-bridge-detail__photo--desktop:focus-visible .aayda-bridge-detail__photo-image {
    height: 128.73%;
    left: -52.59%;
    top: -14.36%;
    width: 205.19%;
  }

  .aayda-bridge-detail__photo--plus {
    width: 256px;
    height: 181px;
  }

  .aayda-bridge-detail__photo--plus .aayda-bridge-detail__photo-image {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .aayda-bridge-detail__media {
    gap: 60px;
    width: 993px;
    margin-top: 48px;
  }

  /* Figma 12931:74788: 980×552, 48px below the text. */
  .aayda-bridge-detail__video {
    width: 980px;
    height: 552px;
    margin-top: 48px;
  }

  .aayda-bridge-detail__section--related {
    gap: 20px;
    width: 993px;
  }

  .aayda-bridge-detail__section--related .aayda-bridge-detail__section-header {
    height: 35px;
    min-height: 35px;
  }

  .aayda-bridge-detail__section--related .aayda-bridge-detail__section-bar {
    height: 26px;
    min-height: 26px;
  }

  .aayda-bridge-detail__section--related .aayda-bridge-detail__section-rule {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
  }

  .aayda-bridge-detail__section--related .aayda-bridge-detail__section-icon--grid {
    width: 24px;
    height: 16px;
  }

  .aayda-bridge-detail__section--related .aayda-bridge-detail__more--related {
    margin-top: -3px;
  }

  .aayda-bridge-detail__related--mobile {
    display: none;
  }

  .aayda-bridge-detail__related--desktop {
    display: flex;
    gap: 12px;
    overflow: visible;
    width: 995px;
  }

  .aayda-bridge-detail__related-card {
    width: 324px;
    height: 316px;
    transition: none;
  }

  .aayda-bridge-detail__related-title {
    width: 256px;
  }

  .aayda-bridge-detail__related-rule {
    width: 288px;
  }

  .aayda-bridge-detail__related-meta {
    justify-content: flex-start;
    gap: 130px;
    width: 288px;
  }

  .aayda-bridge-detail__related-arrow--mobile {
    display: none;
    margin-top: 0;
  }

  .aayda-bridge-detail__related-arrow--desktop.aayda-bridge-detail__related-arrow--default {
    display: block;
  }

  .aayda-bridge-detail__related-arrow--desktop.aayda-bridge-detail__related-arrow--hover {
    display: none;
  }

  /* The picture comes forward on hover as on the listing cards (Figma's Photo info card, crop 0.914 =
     1.09×, SMART_ANIMATE 0.3s EASE_OUT): only the hovered card's own picture, inside its own frame,
     which clips it, so no other card and nothing around it moves. Keyboard focus does the same. */
  .aayda-bridge-detail__related-image {
    transform: scale(1);
    transition: transform 300ms ease-out;
  }

  .aayda-bridge-detail__related-card:hover .aayda-bridge-detail__related-image,
  .aayda-bridge-detail__related-card:focus-visible .aayda-bridge-detail__related-image {
    transform: scale(1.09);
  }
}

/* A related card is a link: the site's ring, inset because the card clips its overflow. */
.aayda-bridge-detail__related-card:focus-visible {
  outline: var(--aayda-border-width-focus-ring) solid var(--aayda-colors-ring-focus);
  outline-offset: calc(var(--aayda-border-width-focus-ring) * -1);
}

/* The cross-fade stands down; the slide still changes, instantly. */
@media (prefers-reduced-motion: reduce) {
  .aayda-bridge-detail__hero-slide {
    transition: none;
  }

  /* The metric hover still applies; it changes at once instead of fading. */
  .aayda-bridge-detail__metric,
  .aayda-bridge-detail__metric-value,
  .aayda-bridge-detail__metric-label,
  .aayda-bridge-detail__metric-line,
  .aayda-bridge-detail__related-image {
    transition: none;
  }
}

/* ===========================================================================
 * Bug-fix 2, correction 16 — the related cards ("Digərləri"), shared by the road, bridge, tunnel and
 * pedestrian crossing pages (bug-fixes2/AAYDA_bugfix2_tasks.md). The road page had 16.1, 16.3 and 16.4
 * since the first bug-fix round; this block brings this page's strip to the same behaviour.
 * =========================================================================== */

/* 16.3 — the metric label gives way to the arrow, which never shrinks: a label longer than the row
   ends in an ellipsis instead of pushing the arrow out of the card. */
.aayda-bridge-detail__related-meta p {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Bug-fix 4, correction 43 — the tag shows no stroke of its own while its card is hovered, focused or
   pressed (owner decision; Figma's Related item has none in either state). Bug-fix 2's 16.2 inset ring
   is gone; the card keeps its own border, the picture its zoom and the arrow its swap. */

@media (min-width: 1416px) {
  /* 16.3 — the arrow keeps its place at the row's right end whatever the metric's length, and when a
     card has no metric at all (the 130px gap is still the least room between them). */
  .aayda-bridge-detail__related-meta .aayda-bridge-detail__related-arrow--desktop {
    margin-left: auto;
  }
}

/* Bug-fix 2, correction 17 — the metric row and the divider under it. Figma's Object detail pages
   (road 6494:30826, bridge 12931:74788) leave 36px between the cards (y 566–655) and the rule (y 691),
   and 36px from the rule to the text; this page had 12px above the rule. The road and pedestrian
   crossing pages already used 36px, so the four detail pages now share one rhythm. */
@media (min-width: 1416px) {
  .aayda-bridge-detail__below-metrics {
    margin-top: 36px;
  }
}
