/* Broad Horizon Custom Styles */

/* Give WP */ /*
.single-give_forms .site-content{
    display: block !important;   
}*/

/* Style for Collapsible Block*/
.wp-block-prc-block-collapsible:not(.has-border) {
    border-color: var(--wp--preset--color--ui-beige-dark);
    background-color: #fff5f5;
}

button,html input[type="button"],input[type="reset"],input[type="submit"],a.button,a.wp-block-button__link:not(.has-background) {
    color: #55555e;
    background-color: #fff;
}
#wp-block-prc-block-collapsible__title .fa {
    color: black;
}
.wp-block-prc-block-collapsible .fa{
    color: black !important;
}
button:hover,html input[type="button"]:hover,input[type="reset"]:hover,input[type="submit"]:hover,a.button:hover,button:focus,html input[type="button"]:focus,input[type="reset"]:focus,input[type="submit"]:focus,a.button:focus,a.wp-block-button__link:not(.has-background):active,a.wp-block-button__link:not(.has-background):focus,a.wp-block-button__link:not(.has-background):hover {
    color:black; 
    /* background-color:#3f4047; */
}
/* Keys */
#powerbi-embedded-98641 {
    position: relative; /* Or absolute/fixed if needed */

}
#powerbi-embedded-98641 iframe {
    position: relative !important;
    left: -5px;
    width: 100% !important;
    height: 100% !important;
}
/* New Asylum Influx */
#powerbi-embedded-98444 {
    position: relative; /* Or absolute/fixed if needed */
    overflow: hidden; /* Prevent content from overflowing */
}
#powerbi-embedded-98444 iframe {
    position: relative !important;
    top: -60px !important;
    left: -5px;
    width: 100% !important;
    height: 100% !important;
}
/* New Asylum Trends */
#powerbi-embedded-98526 {
    position: relative; /* Or absolute/fixed if needed */
    /* width: 810px; /* Ensure dimensions are set */
    /* height: 2100px; /* Matches the inline style */
    overflow: hidden; /* Prevent content from overflowing */
}
#powerbi-embedded-98526 iframe {
    position: relative !important;
    top: -40px !important;
    left: -5px;
    width: 100% !important;
    height: 100% !important;
}
/* Appendix I */
#powerbi-embedded-98579 {
    position: relative; /* Or absolute/fixed if needed */
    /* width: 810px; /* Ensure dimensions are set */
    /* height: 2100px; /* Matches the inline style */
    overflow: hidden; /* Prevent content from overflowing */
}
#powerbi-embedded-98579 iframe {
    position: relative !important;
    top: -55px !important;
    left: -5px;
    width: 100% !important;
    height: 100% !important;
}
/* Sseq */
#powerbi-embedded-98669 {
    position: relative; /* Or absolute/fixed if needed */
    overflow: hidden; /* Prevent content from overflowing */
}
#powerbi-embedded-98669 iframe {
    position: relative !important;
    top: -50px !important;
    left: -5px;
    width: 100% !important;
    height: 100% !important;
}

/* Appendix I BE*/
#powerbi-embedded-98822 {
    position: relative; /* Or absolute/fixed if needed */
    /* width: 810px; /* Ensure dimensions are set */
    /* height: 2100px; /* Matches the inline style */
    overflow: hidden; /* Prevent content from overflowing */
}
#powerbi-embedded-98822 iframe {
    position: relative !important;
    top: -55px !important;
    left: -5px;
    width: 100% !important;
    height: 100% !important;
}
/* Appendix I BE*/
#powerbi-embedded-98827 {
    position: relative; /* Or absolute/fixed if needed */
    /* width: 810px; /* Ensure dimensions are set */
    /* height: 2100px; /* Matches the inline style */
    overflow: hidden; /* Prevent content from overflowing */
}
#powerbi-embedded-98827 iframe {
    position: relative !important;
    top: -55px !important;
    left: -5px;
    width: 100% !important;
    height: 100% !important;
}

/* Appendix I ES*/
#powerbi-embedded-98903 {
    position: relative; /* Or absolute/fixed if needed */
    /* width: 810px; /* Ensure dimensions are set */
    /* height: 2100px; /* Matches the inline style */
    overflow: hidden; /* Prevent content from overflowing */
}
#powerbi-embedded-98903 iframe {
    position: relative !important;
    top: -55px !important;
    left: -5px;
    width: 100% !important;
    height: 100% !important;
}


/* Events Custom */
.section-block {
    border-bottom: 0.5px solid #bd0104;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }
  .section-block h2 {
    margin-top: 0;
    color: #bd0104;
  }
  .section-block h3 {
    margin-top: 1rem;
    font-weight: 600;
  }

/* Icon Styling */

  .actor-icon {
    filter: grayscale(100%) contrast(120%);
    color: #bd0104;
    font-size: 1.2em;
    display: inline-block;
    margin-right: 0.4em;
  }
  .actor-card {
    padding: 1em;
    background: #f9f9f9;
    border-left: 3px solid #bd0104;
    margin-bottom: 1em;
  }

/* Artwork */
  .artwork-tooltip {
    position: relative;
    cursor: help;
  }
  .artwork-tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%;
    left: 0;
    background: #333;
    color: white;
    padding: 0.5rem;
    font-size: 0.8rem;
    white-space: pre-wrap;
    z-index: 10;
    width: 200px;
  }

  /* Tactical CSS */
  .gb-border-runner {
    position: relative;
    background: white;
    color: #002244;
    padding: 2rem;
    border: 1.5px solid #4D6B88;
    border-radius: 10px;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  /* Inner line */
  .gb-border-runner::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(0, 123, 255, 0.3);
    border-radius: 6px;
    pointer-events: none;
    z-index: 1;
  }

/* Broad Horizon: ensure our block-based single templates don't change theme background */
.bh-single-generic,
.bh-single-location,
.bh-single-event,
.bh-single-person,
.bh-single-actor,
.bh-single-issue,
.bh-single-dossier,
.bh-single-signal,
.bh-single-route,
.bh-single-poi,
.bh-single-source-entry,
.bh-single-timeline,
.bh-single-unit {
  background: transparent !important;
}
.bh-single-generic .wp-block-group,
.bh-single-location .wp-block-group,
.bh-single-event .wp-block-group,
.bh-single-person .wp-block-group,
.bh-single-actor .wp-block-group,
.bh-single-issue .wp-block-group,
.bh-single-dossier .wp-block-group,
.bh-single-signal .wp-block-group,
.bh-single-route .wp-block-group,
.bh-single-poi .wp-block-group,
.bh-single-source-entry .wp-block-group,
.bh-single-timeline .wp-block-group,
.bh-single-unit .wp-block-group {
  background: inherit !important;
}
  
  /* Shimmer border */
  .gb-border-runner::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    border-radius: 10px;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(
      90deg,
      #4D6B88 0%,
      transparent 40%,
      transparent 60%,
      #4D6B88 100%
    ) no-repeat;
    background-size: 400% 400%;
    animation: border-runner 4s linear infinite;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: destination-out;
    padding: 2px;
    opacity: 1;
  }
  
  @keyframes border-runner {
    0% {
      background-position: 0% 0%;
    }
    25% {
      background-position: 100% 0%;
    }
    50% {
      background-position: 100% 100%;
    }
    75% {
      background-position: 0% 100%;
    }
    100% {
      background-position: 0% 0%;
    }
  }
