/* Məhdud nəqliyyat vasitələri — Desktop 10650:88242 (restricted tab), 4921:41007 (regulated tab);
   Mobile 5627:21465 (restricted tab), 5627:21468 (regulated tab).
   One set of rules for the design's own panel (_RestrictedPanel) and the editorial one (_RestrictedContent). */

html:has(.aayda-restricted-vehicles-page),
.aayda-restricted-vehicles-page,
.aayda-restricted-vehicles-page .aayda-header,
.aayda-restricted-vehicles-page .aayda-top-block,
.aayda-restricted-vehicles-page .aayda-footer,
.aayda-restricted-vehicles {
  overflow-anchor: none;
}

.aayda-restricted-vehicles-page {
  background-color: #f3f4f6;
}

.aayda-paid-roads-section-panel[data-section-page="restricted"] {
  gap: 0;
}

.aayda-paid-roads__nav-link[href="restricted-vehicles.html"][aria-current="page"],
.aayda-payment-info__nav-link[href="restricted-vehicles.html"][aria-current="page"] {
  background: #eff2fd;
}

.aayda-restricted-vehicles {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
  min-width: 0;
}

.aayda-restricted-vehicles__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.aayda-restricted-vehicles__tabs {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.aayda-restricted-vehicles__tab {
  box-sizing: border-box;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 0;
  min-height: 54px;
  padding: 0;
  color: var(--aayda-colors-text);
  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);
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  /* The selected weight below: every tab keeps room for its label at it (.aayda-tab-label, paid-roads.css). */
  --aayda-tab-label-reserve-weight: var(--aayda-typography-weight-semi-bold);
}

.aayda-restricted-vehicles__tab::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #e5ebf0;
  border-radius: 2px;
}

.aayda-restricted-vehicles__tab[aria-selected="true"] {
  color: #111e3a;
  font-weight: var(--aayda-typography-weight-semi-bold);
}

.aayda-restricted-vehicles__tab[aria-selected="true"]::after {
  background: var(--aayda-colors-green-600);
}

/* A tab's panel: 48px below the sub-tabs, 20px between its blocks (5627:21465, 5627:21468). */
.aayda-restricted-vehicles__panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  min-width: 0;
  padding-top: 48px;
}

/* The green introduction — mobile "Info callout" 5598:19660. */
.aayda-restricted-vehicles__intro {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 13px;
  color: #145940;
  font-family: var(--aayda-typography-font-primary);
  font-size: var(--aayda-typography-size-12);
  font-weight: var(--aayda-typography-weight-medium);
  line-height: 20px;
  letter-spacing: var(--aayda-typography-letter-spacing-12);
  background: #f1fbf7;
  border: 1px solid #99edcc;
  border-radius: 12px;
}

/* Editor text arrives as paragraphs and lists: the boxes keep the design's spacing, not the browser's. */
.aayda-restricted-vehicles__intro > *,
.aayda-restricted-vehicles__law-text > *,
.aayda-restricted-vehicles__note > *,
.aayda-restricted-vehicles__subtitle > * {
  margin: 0;
}

.aayda-restricted-vehicles [hidden] {
  display: none !important;
}

.aayda-restricted-vehicles__diagram {
  display: block;
  width: 370px;
  max-width: 100%;
  height: 120px;
  object-fit: contain;
}

.aayda-restricted-vehicles__diagram--desktop {
  display: none;
}

/* The legislation with its note — mobile "Qanunvericilik" 5598:19664: 10px between its lines, 12px above the table. */
.aayda-restricted-vehicles__law {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.aayda-restricted-vehicles__law + .aayda-restricted-vehicles__limits-wrap {
  margin-top: -8px;
}

.aayda-restricted-vehicles__heading {
  margin: 0;
  color: var(--aayda-colors-text);
  font-family: var(--aayda-typography-font-primary);
  font-size: var(--aayda-typography-size-18);
  font-weight: var(--aayda-typography-weight-bold);
  line-height: var(--aayda-typography-line-height-18);
  letter-spacing: var(--aayda-typography-letter-spacing-18);
}

.aayda-restricted-vehicles__law .aayda-restricted-vehicles__heading {
  color: #112757;
  font-weight: var(--aayda-typography-weight-semi-bold);
}

.aayda-restricted-vehicles__law-text {
  margin: 0;
  color: #6b7380;
  font-family: var(--aayda-typography-font-primary);
  font-size: var(--aayda-typography-size-12);
  font-weight: var(--aayda-typography-weight-regular);
  line-height: 20px;
  letter-spacing: var(--aayda-typography-letter-spacing-12);
}

/* The note — mobile "Qeyd" 5598:19667. */
.aayda-restricted-vehicles__note {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 12px 0;
  color: #112757;
  font-family: var(--aayda-typography-font-primary);
  font-size: var(--aayda-typography-size-12);
  font-weight: var(--aayda-typography-weight-semi-bold);
  line-height: 18px;
  letter-spacing: var(--aayda-typography-letter-spacing-12);
  background: #f2f6f9;
  border-radius: 10px;
}

.aayda-restricted-vehicles__limits-wrap {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.aayda-restricted-vehicles__limits--desktop {
  display: none;
}

.aayda-restricted-vehicles__limits--mobile {
  display: grid;
  grid-template-columns: 106px 70px minmax(0, 1fr);
  width: 100%;
  min-width: 320px;
  overflow: hidden;
  background: var(--aayda-colors-base-white);
  border: 1px solid #e2e7ec;
  border-radius: 14px;
}

.aayda-restricted-vehicles__limits--mobile .aayda-restricted-vehicles__cell {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 12px 10px;
  font-family: var(--aayda-typography-font-primary);
  font-size: var(--aayda-typography-size-12);
  line-height: 20px;
  letter-spacing: var(--aayda-typography-letter-spacing-12);
}

.aayda-restricted-vehicles__limits--mobile .aayda-restricted-vehicles__cell--label {
  color: #111e3a;
  font-weight: var(--aayda-typography-weight-semi-bold);
  background: #f2f6f9;
}

.aayda-restricted-vehicles__limits--mobile .aayda-restricted-vehicles__cell--value {
  justify-content: center;
  color: #111e3a;
  font-weight: var(--aayda-typography-weight-regular);
  text-align: center;
  background: var(--aayda-colors-base-white);
  border-left: 1px solid #e2e7ec;
}

.aayda-restricted-vehicles__limits--mobile .aayda-restricted-vehicles__cell--reason {
  color: #6b7380;
  font-weight: var(--aayda-typography-weight-regular);
  background: var(--aayda-colors-base-white);
  border-left: 1px solid #e2e7ec;
}

.aayda-restricted-vehicles__limits--mobile .aayda-restricted-vehicles__row + .aayda-restricted-vehicles__row .aayda-restricted-vehicles__cell {
  border-top: 1px solid #e2e7ec;
}

.aayda-restricted-vehicles__limits--mobile .aayda-restricted-vehicles__row {
  display: contents;
}

.aayda-restricted-vehicles__mobile-bullets {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aayda-restricted-vehicles__mobile-bullets li {
  margin: 0;
}

/* The example pictures with their heading; the heading is the desktop's only (5744:18979 has none). */
.aayda-restricted-vehicles__examples-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.aayda-restricted-vehicles__examples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 10px;
  width: 100%;
}

.aayda-restricted-vehicles__example {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.aayda-restricted-vehicles__example-image {
  display: block;
  width: 100%;
  height: 211px;
  object-fit: cover;
  border-radius: 8px;
}

.aayda-restricted-vehicles__example-caption {
  margin: 0;
  color: var(--aayda-colors-text);
  font-family: var(--aayda-typography-font-primary);
  font-size: var(--aayda-typography-size-12);
  font-weight: var(--aayda-typography-weight-bold);
  line-height: 18px;
}

.aayda-restricted-vehicles__regulated {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.aayda-restricted-vehicles__regulated-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aayda-restricted-vehicles__subtitle {
  margin: 0;
  color: var(--aayda-colors-navy-700);
  font-family: var(--aayda-typography-font-primary);
  font-size: var(--aayda-typography-size-14);
  font-weight: var(--aayda-typography-weight-medium);
  line-height: 20px;
  letter-spacing: var(--aayda-typography-letter-spacing-14);
}

.aayda-restricted-vehicles__regulated-table {
  width: 100%;
  overflow: hidden;
  background: var(--aayda-colors-base-white);
  border: 1px solid #e2e7ec;
  border-radius: 14px;
}

.aayda-restricted-vehicles__regulated-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  width: 100%;
}

.aayda-restricted-vehicles__regulated-row + .aayda-restricted-vehicles__regulated-row {
  border-top: 1px solid #e2e7ec;
}

.aayda-restricted-vehicles__regulated-label,
.aayda-restricted-vehicles__regulated-value {
  box-sizing: border-box;
  min-width: 0;
  font-family: var(--aayda-typography-font-primary);
  font-size: var(--aayda-typography-size-12);
}

.aayda-restricted-vehicles__regulated-label {
  padding: 12px 10px;
  color: var(--aayda-colors-navy-900);
  font-weight: var(--aayda-typography-weight-semi-bold);
  line-height: 18px;
  letter-spacing: var(--aayda-typography-letter-spacing-12);
  background: #f2f6f9;
}

.aayda-restricted-vehicles__regulated-value {
  padding: 12px;
  color: #6b7380;
  font-weight: var(--aayda-typography-weight-regular);
  line-height: 20px;
  letter-spacing: var(--aayda-typography-letter-spacing-12);
  background: var(--aayda-colors-base-white);
  border-left: 1px solid #e2e7ec;
}

.aayda-restricted-vehicles__regulated-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aayda-restricted-vehicles__desktop-only {
  display: none;
}

@media (min-width: 768px) and (max-width: 1415px) {
  .aayda-restricted-vehicles__diagram {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

@media (min-width: 1416px) {
  .aayda-restricted-vehicles-page .aayda-paid-roads {
    padding: 60px 0 100px;
  }

  .aayda-restricted-vehicles-page .aayda-paid-roads__sidebar {
    gap: 8px;
  }

  .aayda-restricted-vehicles-page .aayda-paid-roads__nav-link[aria-current="page"] {
    background: #eff2fd;
  }

  .aayda-restricted-vehicles {
    gap: 20px;
  }

  .aayda-restricted-vehicles__card--main {
    box-sizing: border-box;
    min-height: 1472px;
    padding: 40px;
    background: #fdfdfd;
    border: 2px solid var(--aayda-colors-base-white);
    border-radius: 8px;
  }

  /* The examples frame sets its content 42px from the top, left and bottom and 34px from the right (instead of 40px).
     The card keeps its 40px so the tab row above stays put when the tab is switched (2026-12-02: the card's own padding
     used to change here and moved the whole row 2px right and down); the panel's margins add the frame's difference. */
  .aayda-restricted-vehicles__card--main:has(.aayda-restricted-vehicles__panel--examples:not([hidden])) {
    min-height: 0;
  }

  .aayda-restricted-vehicles__card--main > .aayda-restricted-vehicles__panel--examples {
    width: calc(100% + 4px);
    margin: 2px 0 2px 2px;
  }

  .aayda-restricted-vehicles__card--regulated {
    box-sizing: border-box;
    padding: 32px;
    background: #fdfdfd;
    border: 2px solid var(--aayda-colors-base-white);
    border-radius: 12px;
  }

  .aayda-restricted-vehicles__tabs {
    gap: 0;
    height: 40px;
    overflow: visible;
    border-bottom: 1px solid #d0d0d0;
  }

  .aayda-restricted-vehicles__tab {
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-start;
    min-height: 39px;
    padding: 0 0 16px;
    color: var(--aayda-colors-text);
    font-size: var(--aayda-typography-size-20);
    font-weight: var(--aayda-typography-weight-medium);
    line-height: var(--aayda-typography-line-height-20);
    letter-spacing: var(--aayda-typography-letter-spacing-20);
    text-align: center;
    white-space: nowrap;
    --aayda-tab-label-reserve-weight: var(--aayda-typography-weight-bold);
  }

  /* bug-fix-5 batch 3: the active underline is the TEG tabs' one (Figma 12902:74418): 3px #00f296, a
     full pill, as wide as the label and lying on the divider. Each tab is as wide as its label, so the line
     follows whichever tab is active; the design's 45px separates the two (formerly fixed 276px/378px
     boxes, with a 4px line 4px above the divider and a hard-coded 45px offset that missed the label). */
  .aayda-restricted-vehicles__tab::after {
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 3px;
    background: transparent;
    border-radius: 16777200px;
  }

  .aayda-restricted-vehicles__tab {
    position: relative;
  }

  .aayda-restricted-vehicles__tab[aria-selected="true"] {
    color: var(--aayda-colors-text);
    font-weight: var(--aayda-typography-weight-bold);
  }

  .aayda-restricted-vehicles__tab--regulated[aria-selected="true"] {
    font-weight: var(--aayda-typography-weight-semi-bold);
  }

  .aayda-restricted-vehicles__tab--regulated {
    --aayda-tab-label-reserve-weight: var(--aayda-typography-weight-semi-bold);
  }

  .aayda-restricted-vehicles__tab[aria-selected="true"]::after {
    background: var(--aayda-colors-green-600);
  }

  /* Every tab, the design's two and an editor's, is as wide as its label, with the design's 45px before
     the next. */
  .aayda-restricted-vehicles__tab + .aayda-restricted-vehicles__tab {
    margin-left: 45px;
  }

  /* Container 10650:88249: 56px below the tabs, 40px between the blocks. */
  .aayda-restricted-vehicles__panel {
    gap: 40px;
    padding-top: 56px;
  }

  /* The green introduction — 10650:88251: 0.5px #00f296 stroke inside 16.5px / 24.5px padding, radius 10,
     Medium 16/26 #364153, wrapping as the design's two lines do. */
  .aayda-restricted-vehicles__intro {
    padding: 16px 16px 16px 24px;
    color: var(--aayda-colors-text);
    font-size: var(--aayda-typography-size-16);
    line-height: 26px;
    letter-spacing: var(--aayda-typography-letter-spacing-16);
    background: #effaf7;
    border: 0.5px solid var(--aayda-colors-green-600);
    border-radius: 10px;
  }

  /* The dimension pictures — 10650:88254: 36px above, centred, 12px apart. */
  .aayda-restricted-vehicles__diagram-wrap {
    display: flex;
    justify-content: center;
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
    height: 250px;
    padding-top: 36px;
  }

  .aayda-restricted-vehicles__diagram--mobile {
    display: none;
  }

  /* 12283:40262 / 12283:40265: 206px high, cover fit, radius 8, darkened into the card. */
  .aayda-restricted-vehicles__diagram--desktop {
    display: block;
    width: auto;
    max-width: 100%;
    height: 206px;
    object-fit: cover;
    border-radius: 8px;
    mix-blend-mode: darken;
  }

  .aayda-restricted-vehicles__law {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding-top: 56px;
  }

  .aayda-restricted-vehicles__law + .aayda-restricted-vehicles__limits-wrap {
    margin-top: 0;
  }

  .aayda-restricted-vehicles__heading {
    line-height: 28px;
  }

  .aayda-restricted-vehicles__law .aayda-restricted-vehicles__heading {
    color: var(--aayda-colors-text);
    font-weight: var(--aayda-typography-weight-bold);
  }

  .aayda-restricted-vehicles__law-text {
    margin-top: 20px;
    width: 800px;
    max-width: 100%;
    color: #333333;
    font-size: var(--aayda-typography-size-14);
    letter-spacing: var(--aayda-typography-letter-spacing-14);
  }

  /* The note — 10650:88263: #133888, white SemiBold 12/20, 12px / 16px padding, radius 6. */
  .aayda-restricted-vehicles__note {
    margin-top: 20px;
    padding: 12px 16px;
    color: var(--aayda-colors-base-white);
    line-height: 20px;
    background: #133888;
    border-radius: 6px;
  }

  .aayda-restricted-vehicles__limits--mobile {
    display: none;
  }

  /* Table/Vehicle limits — 10650:88266. The design's row heights are floors, not fixed heights, so an
     editor's longer row grows instead of being cut; the design's own rows land on them exactly. */
  .aayda-restricted-vehicles__limits--desktop {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    background: #fdfdfd;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
  }

  .aayda-restricted-vehicles__drow {
    display: grid;
    grid-template-columns: 220px 150px 44px minmax(0, 1fr);
    width: 100%;
    min-height: 55px;
    border-bottom: 1px solid #e2e6ed;
  }

  .aayda-restricted-vehicles__drow:nth-child(2),
  .aayda-restricted-vehicles__drow:nth-child(5),
  .aayda-restricted-vehicles__drow:nth-child(6) {
    min-height: 57px;
  }

  .aayda-restricted-vehicles__drow:nth-child(3) {
    min-height: 82px;
  }

  .aayda-restricted-vehicles__drow:nth-child(4) {
    min-height: 81px;
  }

  .aayda-restricted-vehicles__drow:nth-child(7) {
    min-height: 53px;
  }

  .aayda-restricted-vehicles__drow:nth-child(8) {
    min-height: 187px;
  }

  .aayda-restricted-vehicles__drow:last-child {
    border-bottom: 0;
  }

  .aayda-restricted-vehicles__drow--merged {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .aayda-restricted-vehicles__dcell {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    min-width: 0;
    font-family: var(--aayda-typography-font-primary);
  }

  /* Cells centre their content in the row; 12px above and below leaves the design's rows at their own heights. */
  .aayda-restricted-vehicles__dcell--label {
    padding: 12px 16px;
    color: #1a1a1a;
    font-size: var(--aayda-typography-size-14);
    font-weight: var(--aayda-typography-weight-semi-bold);
    line-height: 20px;
    letter-spacing: var(--aayda-typography-letter-spacing-14);
    background: #eef3fb;
  }

  .aayda-restricted-vehicles__dcell--value {
    gap: 6px;
    padding: 12px 6px 12px 14px;
    color: var(--aayda-colors-text);
    font-size: var(--aayda-typography-size-16);
    line-height: 26px;
    letter-spacing: var(--aayda-typography-letter-spacing-16);
    white-space: nowrap;
  }

  .aayda-restricted-vehicles__amount {
    font-weight: var(--aayda-typography-weight-bold);
  }

  .aayda-restricted-vehicles__unit {
    font-weight: var(--aayda-typography-weight-regular);
  }

  .aayda-restricted-vehicles__dcell--icon {
    justify-content: center;
  }

  .aayda-restricted-vehicles__dcell--icon img {
    display: none;
  }

  .aayda-restricted-vehicles__dcell--reason {
    padding: 12px 24px 12px 14px;
    color: var(--aayda-colors-text);
    font-size: var(--aayda-typography-size-16);
    font-weight: var(--aayda-typography-weight-regular);
    line-height: 26px;
    letter-spacing: var(--aayda-typography-letter-spacing-16);
  }

  .aayda-restricted-vehicles__desktop-bullets {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .aayda-restricted-vehicles__desktop-bullets li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
  }

  .aayda-restricted-vehicles__desktop-bullets li::before {
    content: "·";
    color: var(--aayda-colors-green-600);
    font-size: var(--aayda-typography-size-16);
    line-height: 26px;
  }

  /* 10650:88696: the heading, then the examples 24px below it. */
  .aayda-restricted-vehicles__examples-group {
    gap: 24px;
  }

  .aayda-restricted-vehicles__examples {
    grid-template-columns: repeat(2, 420px);
    gap: 40px 24px;
  }

  .aayda-restricted-vehicles__example {
    gap: 12px;
    width: 420px;
  }

  .aayda-restricted-vehicles__example-image {
    width: 420px;
    height: 240px;
  }

  .aayda-restricted-vehicles__example-caption {
    font-size: var(--aayda-typography-size-16);
    line-height: 26px;
    letter-spacing: var(--aayda-typography-letter-spacing-16);
  }

  .aayda-restricted-vehicles__examples-heading {
    margin: 0;
  }

  .aayda-restricted-vehicles__regulated {
    gap: 32px;
  }

  .aayda-restricted-vehicles__regulated-table {
    width: 884px;
    max-width: 100%;
    border: 1px solid #e2e6ed;
    border-radius: 16px;
  }

  .aayda-restricted-vehicles__regulated-row {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .aayda-restricted-vehicles__regulated-row + .aayda-restricted-vehicles__regulated-row {
    border-top: 1px solid #e2e6ed;
  }

  .aayda-restricted-vehicles__regulated-label {
    padding: 16px;
    color: #1a1a1a;
    font-size: var(--aayda-typography-size-14);
    line-height: 20px;
    letter-spacing: var(--aayda-typography-letter-spacing-14);
    background: #eff2fd;
  }

  .aayda-restricted-vehicles__regulated-value {
    padding: 16px 24px;
    color: var(--aayda-colors-text);
    font-size: var(--aayda-typography-size-16);
    line-height: 26px;
    letter-spacing: var(--aayda-typography-letter-spacing-16);
    border-left: 0;
  }

  .aayda-restricted-vehicles__regulated-list {
    gap: 6px;
  }

  .aayda-restricted-vehicles__regulated-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
  }

  .aayda-restricted-vehicles__regulated-list li::before {
    content: "•";
  }

  .aayda-restricted-vehicles__desktop-only {
    display: grid;
  }

  h2.aayda-restricted-vehicles__desktop-only {
    display: block;
  }

  .aayda-restricted-vehicles__mobile-only {
    display: none;
  }
}

/* ===========================================================================
 * Bug-fix 2, corrections 21 and 23 — "Məhdud nəqliyyat vasitələri" (Figma desktop 10650:88242: callout
 * 10650:88251, note 10650:88263; mobile 5598:19480: callout 5598:19660, note 5598:19667, legislation
 * 12986:37845, limits table 6485:23517).
 * =========================================================================== */

/* 21.1 / 21.2 — the green callout and the "Qeyd" bar lead with the info-circle icon (#00f296). */
.aayda-restricted-vehicles__intro {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  color: var(--aayda-colors-text);
  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);
  background: #effaf7;
  border: 0.5px solid var(--aayda-colors-green-600);
  border-radius: 12px;
}

.aayda-restricted-vehicles__intro-icon,
.aayda-restricted-vehicles__note-icon {
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  max-width: none;
}

.aayda-restricted-vehicles__intro-text,
.aayda-restricted-vehicles__note-text {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.aayda-restricted-vehicles__intro-text > *,
.aayda-restricted-vehicles__note-text > * {
  margin: 0;
}

.aayda-restricted-vehicles__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  color: var(--aayda-colors-base-white);
  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);
  background: #133888;
  border-radius: 10px;
}

.aayda-restricted-vehicles__note strong,
.aayda-restricted-vehicles__note b {
  font-weight: var(--aayda-typography-weight-bold);
}

/* Mobile legislation (12986:37845): the text is 14px #364153, the note 20px under it. */
.aayda-restricted-vehicles__law-text {
  color: var(--aayda-colors-text);
  font-size: var(--aayda-typography-size-14);
  line-height: var(--aayda-typography-line-height-14);
  letter-spacing: var(--aayda-typography-letter-spacing-14);
}

.aayda-restricted-vehicles__law-text + .aayda-restricted-vehicles__note {
  margin-top: 10px;
}

/* 21.3 — mobile tables: the body text is #364153 (6485:23517), no longer the grey #6b7380. */
.aayda-restricted-vehicles__limits--mobile .aayda-restricted-vehicles__cell--reason,
.aayda-restricted-vehicles__regulated-value {
  color: var(--aayda-colors-text);
}

/* 23 — an example picture comes forward on hover, inside its own 8px frame, which clips it: only the
   hovered card's picture moves, the grid and the captions never do (the site's card zoom, 1.09x,
   0.3s ease-out). Pointer devices only; the pictures are not links, so there is no focus state. */
.aayda-restricted-vehicles__example picture {
  display: block;
  overflow: hidden;
  border-radius: 8px;
}

.aayda-restricted-vehicles__example-image {
  transform: scale(1);
  transition: transform 300ms ease-out;
}

@media (hover: hover) {
  .aayda-restricted-vehicles__example:hover .aayda-restricted-vehicles__example-image {
    transform: scale(1.09);
  }
}

@media (min-width: 1416px) {
  .aayda-restricted-vehicles__intro {
    gap: 12px;
    padding: 16px;
    font-size: var(--aayda-typography-size-16);
    line-height: var(--aayda-typography-line-height-16);
    letter-spacing: var(--aayda-typography-letter-spacing-16);
    border-radius: 8px;
  }

  /* 10650:88252: the text wraps at 747px, as the design's two lines do. */
  .aayda-restricted-vehicles__intro-text {
    max-width: 747px;
  }

  .aayda-restricted-vehicles__intro-icon,
  .aayda-restricted-vehicles__note-icon {
    margin-top: 3px;
  }

  .aayda-restricted-vehicles__law-text {
    color: #333333;
  }

  .aayda-restricted-vehicles__law-text + .aayda-restricted-vehicles__note {
    margin-top: 20px;
  }

  .aayda-restricted-vehicles__note {
    gap: 12px;
    padding: 12px 16px;
    font-size: var(--aayda-typography-size-16);
    line-height: var(--aayda-typography-line-height-16);
    letter-spacing: var(--aayda-typography-letter-spacing-16);
    border-radius: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aayda-restricted-vehicles__example-image {
    transition: none;
  }
}
