/* TourismTunisia - Tunisia Destination Map V7 */

.ttdm-v7,
.ttdm-v7 * {
  box-sizing: border-box;
  forced-color-adjust: none;
}

.ttdm-v7 {
  --ttdm-v7-red: #C40202;
  --ttdm-v7-sea: #006994;
  --ttdm-v7-land: #E4D5B7;
  --ttdm-v7-black: #000000;
  --ttdm-v7-white: #FFFFFF;
  width: 100%;
  max-width: 1440px;
  margin: 28px auto;
  padding: 32px 38px 30px;
  overflow: hidden;
  color: var(--ttdm-v7-white) !important;
  -webkit-text-fill-color: #FFFFFF !important;
  background: var(--ttdm-v7-red) !important;
  border: 2px solid var(--ttdm-v7-black);
  border-radius: 22px;
  color-scheme: light only;
  filter: none !important;
  font-family: Inter, Arial, Helvetica, sans-serif;
  text-shadow: none !important;
}

.ttdm-v7 [hidden] {
  display: none !important;
}

.ttdm-v7__heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 26px;
  padding-left: 8px;
}

.ttdm-v7__title-icon {
  display: grid;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  place-items: center;
  background: var(--ttdm-v7-black) !important;
  border-radius: 10px;
}

.ttdm-v7__title-icon svg {
  display: block;
  width: 34px;
  height: 34px;
  overflow: visible;
  fill: none !important;
  stroke: var(--ttdm-v7-white) !important;
  filter: none !important;
}

.ttdm-v7__title-copy {
  min-width: 0;
}

.ttdm-v7__eyebrow,
.ttdm-v7__title {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--ttdm-v7-white) !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-family: Inter, Arial, Helvetica, sans-serif !important;
  text-transform: none !important;
  text-shadow: none !important;
}

.ttdm-v7__eyebrow {
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
}

.ttdm-v7__title {
  margin-top: 2px !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  line-height: 1.04 !important;
  letter-spacing: 0 !important;
}

.ttdm-v7__main {
  display: grid;
  grid-template-columns: minmax(0, 65fr) minmax(280px, 35fr);
  width: 100%;
  aspect-ratio: 1320 / 900;
  overflow: hidden;
  background: var(--ttdm-v7-land) !important;
  border: 2px solid var(--ttdm-v7-black);
  border-radius: 14px;
}

.ttdm-v7__map-wrap,
.ttdm-v7__map {
  position: relative;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--ttdm-v7-sea) !important;
  color-scheme: light only;
  filter: none !important;
}

.ttdm-v7__map:focus-visible {
  outline: 3px solid var(--ttdm-v7-black);
  outline-offset: -5px;
}

.ttdm-v7__map > svg {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  overflow: visible;
  color-scheme: light only;
  filter: none !important;
}

.ttdm-v7__legend {
  display: grid;
  grid-template-rows: repeat(17, minmax(0, 1fr));
  gap: clamp(4px, .55vw, 8px);
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: clamp(10px, 1.25vw, 18px);
  overflow: hidden;
  background: var(--ttdm-v7-land) !important;
  border-left: 2px solid var(--ttdm-v7-black);
}

body .ttdm-v7 button.ttdm-v7__legend-button {
  display: flex !important;
  width: 100% !important;
  min-width: 0;
  min-height: 0;
  align-items: center;
  gap: clamp(7px, .8vw, 12px);
  margin: 0 !important;
  padding: 4px clamp(8px, .85vw, 13px) !important;
  appearance: none;
  color: var(--ttdm-v7-black) !important;
  -webkit-text-fill-color: #000000 !important;
  background: var(--ttdm-v7-land) !important;
  border: 1.5px solid var(--ttdm-v7-black) !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  font-family: Inter, Arial, Helvetica, sans-serif !important;
  font-size: clamp(14px, 1.23vw, 18px) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  text-align: left !important;
  text-transform: none !important;
  text-shadow: none !important;
  letter-spacing: 0 !important;
  cursor: pointer;
}

.ttdm-v7__legend-number {
  display: inline-flex;
  flex: 0 0 clamp(23px, 1.9vw, 28px);
  width: clamp(23px, 1.9vw, 28px);
  height: clamp(23px, 1.9vw, 28px);
  align-items: center;
  justify-content: center;
  color: var(--ttdm-v7-white) !important;
  -webkit-text-fill-color: #FFFFFF !important;
  background: var(--ttdm-v7-red) !important;
  border: 2px solid var(--ttdm-v7-black);
  border-radius: 50%;
  font-size: clamp(10px, .85vw, 12px);
  font-weight: 800;
  line-height: 1;
}

.ttdm-v7__legend-label {
  min-width: 0;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
}

body .ttdm-v7 button.ttdm-v7__legend-button:hover,
body .ttdm-v7 button.ttdm-v7__legend-button:focus,
body .ttdm-v7 button.ttdm-v7__legend-button:focus-visible,
body .ttdm-v7 button.ttdm-v7__legend-button[aria-pressed="true"] {
  color: var(--ttdm-v7-white) !important;
  -webkit-text-fill-color: #FFFFFF !important;
  background: var(--ttdm-v7-black) !important;
  border-color: var(--ttdm-v7-black) !important;
}

body .ttdm-v7 button.ttdm-v7__legend-button:hover .ttdm-v7__legend-label,
body .ttdm-v7 button.ttdm-v7__legend-button:focus .ttdm-v7__legend-label,
body .ttdm-v7 button.ttdm-v7__legend-button:focus-visible .ttdm-v7__legend-label,
body .ttdm-v7 button.ttdm-v7__legend-button[aria-pressed="true"] .ttdm-v7__legend-label {
  color: var(--ttdm-v7-white) !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

body .ttdm-v7 button.ttdm-v7__legend-button:focus-visible {
  outline: 3px solid var(--ttdm-v7-red) !important;
  outline-offset: 2px;
}

.ttdm-v7 .destination-marker {
  cursor: pointer;
  outline: none;
}

.ttdm-v7 .destination-marker .marker-hit {
  fill: #000000 !important;
  fill-opacity: 0 !important;
  pointer-events: all;
}

.ttdm-v7 .destination-marker .marker-face {
  fill: var(--ttdm-v7-red) !important;
  stroke: var(--ttdm-v7-black) !important;
  stroke-width: 2.2px !important;
}

.ttdm-v7 .destination-marker .marker-number {
  fill: var(--ttdm-v7-white) !important;
  stroke: none !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: none !important;
}

.ttdm-v7 .destination-marker .marker-blink {
  fill: none !important;
  stroke: var(--ttdm-v7-red) !important;
  stroke-width: 5px !important;
  opacity: 0;
  pointer-events: none;
}

.ttdm-v7 .destination-marker .marker-ring {
  fill: none !important;
  stroke: var(--ttdm-v7-black) !important;
  stroke-width: 2.5px !important;
  opacity: 0 !important;
  pointer-events: none;
}

.ttdm-v7 .destination-marker:hover .marker-face,
.ttdm-v7 .destination-marker:focus .marker-face,
.ttdm-v7 .destination-marker:focus-visible .marker-face,
.ttdm-v7 .destination-marker.is-selected .marker-face {
  fill: var(--ttdm-v7-black) !important;
  stroke: var(--ttdm-v7-white) !important;
  stroke-width: 3.2px !important;
}

.ttdm-v7 .destination-marker:focus .marker-ring,
.ttdm-v7 .destination-marker:focus-visible .marker-ring,
.ttdm-v7 .destination-marker.is-selected .marker-ring {
  opacity: 1 !important;
}

.ttdm-v7 .destination-marker.is-selected .marker-blink {
  animation: ttdm-v7-marker-blink 1.8s ease-in-out infinite;
}

@keyframes ttdm-v7-marker-blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .12;
  }
}

.ttdm-v7__panel {
  width: 100%;
  margin-top: 24px;
  padding: 28px 20px 0;
  color: var(--ttdm-v7-white) !important;
  -webkit-text-fill-color: #FFFFFF !important;
  background: var(--ttdm-v7-red) !important;
  border-top: 1px solid rgba(255, 255, 255, .34);
}

.ttdm-v7__panel-inner {
  width: 100%;
}

.ttdm-v7__panel-kicker,
.ttdm-v7__panel-title,
.ttdm-v7__panel-default,
.ttdm-v7__section-title {
  font-family: Inter, Arial, Helvetica, sans-serif !important;
  text-shadow: none !important;
}

.ttdm-v7__panel-kicker {
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: var(--ttdm-v7-white) !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
}

.ttdm-v7__panel-title {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--ttdm-v7-white) !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-size: clamp(32px, 3vw, 38px) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.ttdm-v7__panel-accent {
  display: block;
  width: 64px;
  height: 4px;
  margin: 16px 0 24px;
  background: var(--ttdm-v7-white) !important;
  border-radius: 2px;
}

.ttdm-v7__panel-default {
  max-width: 760px;
  margin: 0 0 18px !important;
  padding: 0 !important;
  color: var(--ttdm-v7-white) !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
}

.ttdm-v7__section-title {
  margin: 0 0 12px !important;
  padding: 0 !important;
  color: var(--ttdm-v7-white) !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

.ttdm-v7__places {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px 18px;
  width: 100%;
}

.ttdm-v7__place {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 !important;
  padding: 12px 17px !important;
  color: var(--ttdm-v7-black) !important;
  -webkit-text-fill-color: #000000 !important;
  background: var(--ttdm-v7-white) !important;
  border: 2px solid var(--ttdm-v7-black) !important;
  border-radius: 10px;
  font-family: Inter, Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-align: left !important;
  text-decoration: none !important;
  text-shadow: none !important;
}

a.ttdm-v7__place::after {
  content: "\2192";
  flex: 0 0 auto;
  color: var(--ttdm-v7-red) !important;
  -webkit-text-fill-color: #C40202 !important;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

body .ttdm-v7 a.ttdm-v7__place:hover,
body .ttdm-v7 a.ttdm-v7__place:focus,
body .ttdm-v7 a.ttdm-v7__place:focus-visible,
body .ttdm-v7 a.ttdm-v7__place:active {
  color: var(--ttdm-v7-black) !important;
  -webkit-text-fill-color: #000000 !important;
  background: #F5F1E8 !important;
  border-color: var(--ttdm-v7-black) !important;
}

.ttdm-v7__place:focus-visible {
  outline: 3px solid var(--ttdm-v7-white);
  outline-offset: 3px;
}

body .ttdm-v7 a.ttdm-v7__hub-button,
body .ttdm-v7 a.ttdm-v7__hub-button:link,
body .ttdm-v7 a.ttdm-v7__hub-button:visited {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin: 24px 0 0 !important;
  padding: 11px 28px !important;
  color: var(--ttdm-v7-white) !important;
  -webkit-text-fill-color: #FFFFFF !important;
  background: var(--ttdm-v7-red) !important;
  border: 2px solid var(--ttdm-v7-white) !important;
  border-radius: 8px;
  font-family: Inter, Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-shadow: none !important;
}

body .ttdm-v7 a.ttdm-v7__hub-button:hover,
body .ttdm-v7 a.ttdm-v7__hub-button:focus,
body .ttdm-v7 a.ttdm-v7__hub-button:focus-visible,
body .ttdm-v7 a.ttdm-v7__hub-button:active {
  color: var(--ttdm-v7-black) !important;
  -webkit-text-fill-color: #000000 !important;
  background: var(--ttdm-v7-white) !important;
  border-color: var(--ttdm-v7-white) !important;
}

.ttdm-v7__hub-button:focus-visible {
  outline: 2px solid var(--ttdm-v7-white);
  outline-offset: 4px;
}

.ttdm-v7__load-error {
  margin: 0 !important;
  padding: 24px !important;
  color: var(--ttdm-v7-white) !important;
  -webkit-text-fill-color: #FFFFFF !important;
  background: var(--ttdm-v7-sea) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
}

@media (max-width: 1020px) {
  .ttdm-v7 {
    padding: 24px;
    border-radius: 18px;
  }

  .ttdm-v7__main {
    display: block;
    aspect-ratio: auto;
  }

  .ttdm-v7__map-wrap,
  .ttdm-v7__map {
    height: auto;
    aspect-ratio: 858 / 900;
  }

  .ttdm-v7__legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 8px;
    padding: 14px;
    overflow: visible;
    border-top: 2px solid var(--ttdm-v7-black);
    border-left: 0;
  }

  body .ttdm-v7 button.ttdm-v7__legend-button {
    min-height: 48px;
    padding: 8px 11px !important;
    font-size: 16px !important;
  }

  .ttdm-v7__legend-number {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
}

@media (max-width: 680px) {
  .ttdm-v7 {
    margin: 20px auto;
    padding: 18px;
    border-radius: 16px;
  }

  .ttdm-v7__heading {
    gap: 14px;
    margin-bottom: 20px;
    padding-left: 0;
  }

  .ttdm-v7__title-icon {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }

  .ttdm-v7__title-icon svg {
    width: 30px;
    height: 30px;
  }

  .ttdm-v7__eyebrow {
    font-size: 16px !important;
  }

  .ttdm-v7__title {
    font-size: 28px !important;
  }

  .ttdm-v7__panel {
    margin-top: 20px;
    padding: 24px 4px 2px;
  }

  .ttdm-v7__panel-title {
    font-size: 30px !important;
  }

  .ttdm-v7__panel-default {
    font-size: 17px !important;
  }

  .ttdm-v7__places {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .ttdm-v7 {
    padding: 14px;
  }

  .ttdm-v7__legend {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
  }

  body .ttdm-v7 button.ttdm-v7__legend-button {
    min-height: 50px;
  }

  .ttdm-v7__place {
    font-size: 15px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ttdm-v7 .destination-marker.is-selected .marker-blink {
    animation: none !important;
    opacity: 1 !important;
  }
}
