/* *** COMMON *** */
strong {
    font-weight: 550;
}

em {
    font-weight: 350;
}

h3 {
    margin-top: 2rem;
    font-weight: 550;
    color: black;
}

h5 {
    margin-top: 1.5rem;
}

h6 {
    margin-top: 1.5rem;
    font-size: 1rem;
    font-weight: 550;
    color:darkslategray;
}

/* IMAGES */
figure.content {
    display: grid;
    align-content: center;
    justify-content: center;
}

figure.content img {
    width: 100vw;
    max-width: 500px;
}

figcaption.num {
    text-align: center;
    font-size: .8em;
    color: var(--bs-gray);
    font-style: italic;
}

hr.grad {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(0, 0, 0, .1), rgba(0, 0, 0, 1), rgba(0, 0, 0, .1));
}

.carousel-caption {
    position: absolute;
    bottom: -1.75rem;
    right: 5%;
    left: 5%;
}

/* BLOCKQUOTES */
@font-face {
    font-family: "Reckless";
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: url("/fonts/RecklessNeue-Light.woff2") format("woff2");
  }
  
  @font-face {
    font-family: "Reckless";
    font-style: italic;
    font-weight: normal;
    font-display: swap;
    src: url("/fonts/RecklessNeue-LightItalic.woff2") format("woff2");
  }

blockquote {
  font-family: "Reckless", serif;
  font-size: 1.15rem !important;
}

.blockquote-footer {
    margin-top: -0.5rem;
}

/* *** SPECIFIC *** */
/* CAROUSEL */
 .carousel-caption {
    position: relative;
    top: 100%;
    bottom: unset;
    left: unset;
    right: unset;
    padding-left: 10%;
    padding-right: 10%;
    background: white;
} 

/* CUSTOM LIST ICON */
li.customicon {
    list-style: none;
    position: relative;
    padding-left: 0px; /* Adjust as needed */
}
  
li.customicon.deployer::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 0px;
    width: 20px;
    height: 20px;
    background-image: url("/articles/ai-act-overview/resources/deployer.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
  
li.customicon.union::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 0px;
    width: 20px;
    height: 20px;
    background-image: url("/articles/ai-act-overview/resources/union.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* SUP-/SUBFIX */
sup {
    font-size: .5em;
    vertical-align:.4em;
}

sub {
    font-size: .5em;
    vertical-align:-.4em;
}

* {
    box-sizing: border-box;
}
 
/* TIMELINE */
/* The actual timeline (the vertical ruler) */
.timeline {
    position: relative;
    width: 100%;
    margin: 0 auto;
}
  
/* The actual timeline (the vertical ruler) */
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 75%;
    background-color: darkslategray;
    border-radius: 10px;
    top: 10%;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}
  
/* Container around content */
.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}
  
/* The circles on the timeline */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12px;
    background-color: white;
    border: 4px solid #4add4a;
    top: 40%;
    border-radius: 50%;
    z-index: 1;
}
  
/* Place the container to the left */
.timeline-container.left {
    left: 0;
}
  
/* Place the container to the right */
.timeline-container.right {
    left: 50%;
}

/* Add arrows to the left container (pointing right) */
.timeline-container.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 42%;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid color-mix(in srgb, #4add4a 10%, transparent);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent color-mix(in srgb, #4add4a 10%, transparent);
}
  
/* Add arrows to the right container (pointing left) */
.timeline-container.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 42%;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid color-mix(in srgb, #4add4a 10%, transparent);
    border-width: 10px 10px 10px 0;
    border-color: transparent color-mix(in srgb, #4add4a 10%, transparent) transparent transparent;
}
  
/* Fix the circle for containers on the right side */
.timeline-container.right::after {
    left: -12px;
}
  
/* The actual content */
.timeline-content {
    padding: 20px 30px;
    background-color: color-mix(in srgb, #4add4a 10%, transparent);
    position: relative;
    border-radius: 6px;
}
  
/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
  /* Place the timelime to the left */
    .timeline::after {
      left: 31px;
}
  
/* Full-width containers */
.timeline-container {
      width: 100%;
      padding-left: 70px;
      padding-right: 25px;
}
  
/* Make sure that all arrows are pointing leftwards */
.timeline-container::before {
      left: 60px;
      border: medium solid white;
      border-width: 10px 10px 10px 0;
      border-color: transparent white transparent transparent;
}
  
/* Make sure all circles are at the same spot */
.timeline-container.left::after, .right::after {
      left: 15px;
}
  
/* Make all right containers behave like the left ones */
.timeline-container.right {
      left: 0%;
    }
}

/* ICONS */
img.icon-xs {
    width: 12px;
    height: 12px;
}

img.icon-s {
    width: 18px;
    height: 18px;
}

img.icon-m {
    width: 24px;
    height: 24px;
}

hr.grad {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(0, 0, 0, .1), rgba(0, 0, 0, 1), rgba(0, 0, 0, .1));
}

.carousel-item {
    background: url(/articles/ai-act-overview/resources/map-background.svg) no-repeat;
}

.accordion-button {
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: none !important;
}