/* CSS snippets from elementor custom code area */

/* ------------ CDS Add outbound anchor icon ------------ */

/*  article  */
.article__image.outbound a::after {
  background: hsl(0deg 0% 50% / 30%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 50% !important;
  position: absolute;
  content: "";
  background-image: url("/wp-content/uploads/2024/12/external-link-overlay.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
  filter: invert(1);

  height: 48px;
  width: 48px;
  top: 71px;
  left: calc(50% - 24px);
}

/*  article - mobile  */
@media only screen and (max-width: 767px) {
  .article__image.outbound a::after {
    background: hsl(0deg 0% 50% / 30%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50% !important;
    position: absolute;
    content: "";
    background-image: url("/wp-content/uploads/2024/12/external-link-overlay.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
    filter: invert(1);
    height: 32px;
    width: 32px;
    top: 16px;
    left: calc(50% - 16px);
  }
}

/*  article - featured  */
.article__item.featured .article__image.outbound a::after {
  background: hsl(0deg 0% 50% / 30%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 50% !important;
  position: absolute;
  content: "";
  background-image: url("/wp-content/uploads/2024/12/external-link-overlay.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
  filter: invert(1);

  height: 64px;
  width: 64px;
  top: 118px;
  left: calc(50% - 32px);
}

/*  article - featured - mobile  */
@media only screen and (max-width: 767px) {
  .article__item.featured .article__image.outbound a::after {
    background: hsl(0deg 0% 50% / 30%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50% !important;
    position: absolute;
    content: "";
    background-image: url("/wp-content/uploads/2024/12/external-link-overlay.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
    filter: invert(1);

    height: 48px;
    width: 48px;
    top: calc(50% - 24px);
    left: calc(50% - 24px);
  }
}

/*. ---------- */

.article__image.podcast a::after {
  content: url("/wp-content/uploads/2022/10/icon-microphone-40.svg");
  height: 40px;
  width: 40px;
  right: 16px;
  left: calc(50% - 20px);
  top: calc(50% + 60px);
}

/*  article - mobile  */
@media only screen and (max-width: 767px) {
  .article__image.podcast a::after {
    content: url("/wp-content/uploads/2022/10/icon-microphone-24.svg");
    height: 24px;
    width: 24px;
    left: calc(50% - 12px);
    top: calc(50% + 12px);
  }
}

/*  article - featured - mobile */
@media only screen and (max-width: 767px) {
  .article__item.featured .article__image.podcast a::after {
    right: 12px;
    left: calc(50% - 12px);
    top: calc(50% + 12px);
  }
}

/* ------------ CDS fix ------------ */

.use-ui-font {
  font:
    17px/1.5 "Source Sans 3",
    sans-serif;
}

.accordion--detail .accordion__title,
.accordion--small .accordion__title {
  padding-right: 15px !important;
}

.accordion__content .figure {
  background: var(--200);
}

/* ---------------------------------
   category lists, related articles
   --------------------------------- */
/* item */
.list .list__item {
  margin-bottom: 20px;
}

/* text color */
.list__item .title,
.list-item p,
.more__text {
  color: #333;
}

/* topline */
.list__item .topline {
  color: var(--emphasis);
  text-transform: none;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.4px;
}

/* title */
.list__item h2 {
  font-size: 28px;
  letter-spacing: -0.2px;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--700);
}

/* title - mobile */
@media only screen and (max-width: 767px) {
  article.list__item h2 {
    font-size: 23px;
    line-height: 1.3;
  }
}

/* paragraph */
.list-item p {
  line-height: 1.5;
}

/* more */
.list__item .more__text {
  border-bottom: 1px solid var(--700);
  padding-bottom: 1px;
}

/* ---------------------------------
   fix
   --------------------------------- */

/* fix logo */
.logo--header a {
  border: 0px solid !important;
}

/* social external */
.share__item .wpel-icon {
  display: none;
}

/* author, standard template */
p.detail__authors,
time.detail__date {
  line-height: 1.5;
}

/* links */
.elementor-section .elementor-section p a,
.elementor-section .elementor-section span a {
  border-bottom: 1px solid var(--emphasis);
}

/* scroller */
@media only screen and (max-width: 767px) {
  div.carousel__container {
    display: none !important;
  }
}

/* hero slider */
.elementor-ken-burns--active {
  transition-duration: 0s !important;
}

/* title */
.gform_heading {
  display: none;
}

/* ---------------------------------
   forms
   --------------------------------- */

/* container */
div.gform_wrapper.gravity-theme .gform_fields {
  grid-column-gap: 12px;
  grid-row-gap: 12px;
}

@media only screen and (max-width: 641px) {
  div.gform_wrapper.gravity-theme .gform_fields {
    grid-column-gap: 8px;
    grid-row-gap: 8px;
  }
}

/* input */
.ginput_container input {
  min-height: 48px;
  border: 1px solid var(--300);
  border-radius: 2px;
  padding: 8px 15px !important;
  font-size: 16px !important;
}

/* campaign input */
.campaign .ginput_container input {
  border: none;
}

.gform_wrapper.gravity-theme input[type="text"] {
  padding: 8px 20px !important;
}

@media only screen and (max-width: 641px) {
  .gform_wrapper.gravity-theme input[type="text"] {
    padding: 6px 20px !important;
  }
}

/* button */
.gform-button,
.gform_button {
  background-color: var(--alternative);
  color: var(--700);
  cursor: pointer;
  padding: 0 25px;
  line-height: 1.5;
  border-radius: 2px;
  text-transform: none;
  min-width: unset;
  min-height: 48px !important;
}

@media only screen and (max-width: 641px) {
  .gform-button,
  .gform_button {
    min-height: 42px !important;
  }
}

/* campaign button */
.campaign .gform-button,
.campaign .gform_button {
  background-color: var(--emphasis);
  color: var(--100);
}

/* label */
.gfield {
  text-align: left;
}

.gfield_required {
  color: var(--emphasis) !important;
  font-style: normal !important;
}

/* footer */
.gform_footer,
.gform_page_footer {
  display: none !important;
}

/* placeholder */
.gform-body input::placeholder {
  color: var(--600) !important;
}

/* ------------------------ Events CSS ------------------------- */
#correctiv-events {
  border-collapse: collapse;
  width: 100%;
  font-family: "Source Sans 3";
}
#correctiv-events td,
#correctiv-events th {
  padding: 15px;
}
#correctiv-events tr:nth-child(even) {
  background-color: #f8f8f8;
}
#correctiv-events tr:hover {
  background-color: #f8f8f8;
}

/* Hide pseudo element that is added by the WP External
Links plugin for elementor titles and social icons. */
.elementor-heading-title .external-link::after,
.elementor-widget-social-icons .external-link::after {
  display: none !important;
}

/* Since the theme.json style definitions are inlined by the new Wordpress
version, the importance has changed. To ensure the st-header__item class
of the CDS Stylesheet is more important we need to update the specificity.
Because the class concerns the header title of a story, this must only
target h1. */
.st-header__item h1 {
  color: var(--100);
}
/* The link color in the elementor story header is also overriden by the
main stylesheet rule. This is also fixed by updating the specificity. */
.st-header__item a {
  color: var(--100);
}

/* Override the height on the mobile/tablet breakpoint, since the height
of the navigation bar is smaller */
@media only screen and (max-width: 1200px) {
  .navigation__container > .elementor-widget-wrap::after {
    height: 31px !important;
  }
}
