/****************************/
/* Explore The Hub Styles */
.header-padding{
  height: 100px;
  width: 100%;
  background-color: #222A43;
}

.explore-hub-section .sections {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.explore-hub-section .hub-content-section {
  display: flex;
  flex-direction: column;
  width: 47%;
  height: 380px;
  padding-bottom: 2rem;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .explore-hub-section .hub-content-section {
      width: 100%;
      height: 350px;
  }
}

.hub-content-section h4 {
font-weight: bold;
text-transform: uppercase;
}
.hub-content-section .icon {
width: 88px;
height: 58px;
margin-top: 1rem;
margin-bottom: 1rem;
}

.hub-content-section .icon img {
width: 100%;
height: 100%;
filter: brightness(0) saturate(100%) invert(19%) sepia(75%) saturate(291%) hue-rotate(170deg) brightness(93%) contrast(96%); /* Make the icon navy */
}

.hub-content-section .content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.hub-content-section p {
  margin: 1rem 0;
}

.hub-content-section .button {width: fit-content;}

/****************************/
/* Insights Overview Styles */
.insights-overview-block {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  flex-wrap: nowrap;
}
.insights-overview-block .section-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 150px;
}

.insights-overview-block > h4 {
  width: 100%;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 20px;
  border-top: solid white 2px;
  font-weight: bold;
}
.insights-overview-section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0rem 1rem 2rem 1rem;
  width: 20%;
  min-width: 130px;
  flex: 1 1 auto; /* check this */

}
.insights-overview-section:first-of-type {
  padding-left: 0;
}
.insights-overview-section:last-of-type{
  padding-right: 0;
}

.insights-overview-section .greyed-out {
  cursor: default;
}

.insights-overview-section .icon {
  width: 50px;
  height: 50px;
  background-size: contain;
  display: inline-block;
  margin-bottom: 10px;
}

.insights-overview-section .icon img {
  width: 64px;
  height: 42px;
  filter: brightness(0) saturate(100%) invert(100%);
}

.insights-overview-section h4 {
  font-weight: bold;
}

.insights-overview-section p {
  margin: 5px 0;
}

.insights-overview-section a {
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  font-size: 14px;
  margin-right: auto;
}

/* .insights-overview-section a:hover {
  background-color: #d0d0d0;
} */

.insights-overview .disabled-button {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}

/****************************/
/* Events Styles */
.event-list-details,
.event-list-details>* {
  text-transform: uppercase;
  font-weight: bold;
}

.event-list-details>p {
  margin-bottom: 0;
}

/****************************/
/* Insight card section */
.insights-section {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.insight-section-container{
  display: flex;
  flex-direction: column;
}

.insight-section-container .button{
  align-self: center;
  margin-top: 3rem;
}

.insights-section-title{
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  font-weight: bold;
}

.insight-item {
  flex: 1 1 calc(25% - 1rem);
  max-width: calc(25% - 1rem);
  flex-direction: column;
}

@media (max-width: 1024px) {
  .insight-item {
    flex: 1 1 calc(50% - 1rem); /* Two items per row on medium screens */
    max-width: calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  .insight-item {
    flex: 1 1 100%; /* One item per row on small screens */
    max-width: 100%;
  }
}

.insight-card,
.insight-card-dark {
  display: flex;
  flex-direction: column;
  border-radius: 2rem;
  overflow: hidden;
  height: 100%;
}

.insight-card {
  background-color: white;
  color: #1F2A44;
}

.insight-card-dark {
  background-color: #313953;
  color: white;
}

.insight-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* transform: scale(1.03); */
  transition: transform 0.15s ease-in-out;
}

/* .insight-item-image:hover {
  transform: scale(1.05);
} */

.insight-body {
  flex-grow: 1;
  padding: 1rem;
}

.insight-body h4 {
  font-family: "GT Sectra";
  font-weight:400;
  text-transform: none;
}
.insight-body .insight-title {
  font-weight: bold;
  color: #007FE5;
}
.insight-body .insight-title > span {
  font-weight: bold;
  color: #000;
  text-transform: uppercase;
  font-size: 1rem;
}

.aspect-insight {
    height: 150px;
}

.insight-body a {
  color: #FF7129;
}
.insight-body .mt-auto a {
  display: inline-block;
  margin-top: auto;
}
.insight-body p {
  font-weight: 400;
  margin-bottom: 0;
}

.bg-sky-blue {
  background-color: rgb(198, 225, 238);
}

.insights-overview-scroll-wrapper {
  overflow-x: auto;
  padding-bottom: 1rem;
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.visibility-hidden {
  visibility: hidden;
}

.visibility-hidden {
  visibility: hidden;
}

/* Media Queries */
@media (max-width: 768px) {
  .insights-overview-block {
    flex-wrap: nowrap; /* No wrapping for small screens */
  }

  .insights-overview-section {
    min-width: 130px; /* Minimum width for each section */
  }
}

@media (max-width: 768px){
  .insight-body h4 {
    height: 60px;
  }
}

/* TABLEAU */
/* ******** */

.tableau-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
  gap: 1.5rem;
}

.tableau-embed {
  /* aspect-ratio: 16/9; */
  cursor: pointer;
}

.chart-thumbnail {
  width: 100%;
  height: auto;
}
.filters{
  padding: 0.5rem;
  border-bottom: 0.5px solid grey;
}
#chart-container{
  display: flex;
  justify-content: center;
}

.filter-dropdown {
  margin-right: 10px;
  padding: 5px;
}

/* Modal styles */
.chart-modal {
  display: none;
  position: fixed;
  z-index: 5;
  left: 0;
  top: 0px;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.chart-modal-content {
  background-color: #fefefe;
  margin: 6% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  border-radius: 15px;
  overflow-y: auto;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.disable-scroll {
  overflow: hidden;
}

.line-height-1 {
  line-height: 1;
}

.user-dropdown {
  width: 150px;
  position: absolute;
  right: 5px;
  top: 70px;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Dropdown inner container */
.user-dropdown-inner {
  padding: 0.5rem 0;
}

/* Sign out button */
.user-dropdown-button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 1rem;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}

/* Hover effect for the button */
.user-dropdown-button:hover {
  color: #FF7029;
}
