.debug {
  display: none;
  background-color: white;
  color: black;
  padding: 40px;
  margin: 40px;
  border: solid red 2px;
}
.brand-homepage-tabs .button-wrapper {
  display: flex;
  justify-content: center;
}
.brand-homepage-tabs {
  position: relative;
  z-index: 1;
  background-color: #ffffff;
  padding: 15px 15px;
}

.brand-homepage-tabs .tabs {
  display: none;
}

.brand-homepage-tabs .panels {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brand-homepage-tabs .panels .panel {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0px;
}

.brand-homepage-tabs .panels .panel.active {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 20px;
}
.brand-homepage-tabs .panels .panel h3.panel-title {
  text-transform: uppercase;  
}
.brand-homepage-tabs .panels .panel h3.panel-title {
  position: relative;
  text-align: center;
}

.brand-homepage-tabs .panels .panel h3.panel-title:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0px;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
}

.brand-homepage-tabs .panels .panel h3.panel-title span {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  background: #fff;
  z-index: 9;
}
.brand-homepage-tabs .panels .panel img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
}
.brand-homepage-tabs .event-tiles {
  gap: 20px;
}

{# In-Person & OLAs #}
.brand-homepage-tabs .event-tiles .event-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: .85em;
}
.brand-homepage-tabs .b-l-tile {
  display: flex;
  align-items: flex-end;
  min-height: 250px;
  display: flex;
  justify-content: space-between;
}

.brand-homepage-tabs .event-tiles .event-tile .event-logo {
  max-width: 100%;
}

.brand-homepage-tabs .online-activities {
}
.brand-homepage-tabs .online-activities .online-activity {
  border-radius: 20px;
  max-width: 100%;
  padding: 20px 20px 10px 20px;
  background-color: white;
}
.brand-homepage-tabs .online-activities .online-activity:hover {
  background-color: var(--primary-light-color);
}
.brand-homepage-tabs .online-activities .online-activity .ola-details {
  font-weight: 500;
}
.brand-homepage-tabs .online-activities .online-activity .ola-icon {
  max-width: 55px;
  margin-right: 15px;
}

{# SP Resources #}
.brand-homepage-tabs .sponsor-resources {
}
.brand-homepage-tabs .sponsor-resources .sponsor-resource {
  background-color: var(--primary-dark-color);
  padding: 20px;
  border-radius: 30px;
  align-items: center;
}
.brand-homepage-tabs .sponsor-resources .sponsor-resource .sp-logo-container {
  background-color: white;
  padding: 25px;
  border-radius: 20px;
  height: 100%;
  display: flex;
  align-items: center;
}
.brand-homepage-tabs .sponsor-resources .sponsor-resource .sp-logo-container .sp-logo {
  max-width: 100%;
  max-height: 175px;
}
.brand-homepage-tabs .sponsor-resources .sponsor-resource .bubble-cover-image {
  display: block;
}
.brand-homepage-tabs .sponsor-resources .sponsor-resource .sp-logo img {
  width: 100%;
}

{# Regular Resources #}
.brand-homepage-tabs .resources {
  display: flex;
  gap: 15px;
  flex-direction: column;
}
.brand-homepage-tabs .resources .resource {
  display: flex;
  gap: 5px;
  flex-direction: column;
}
.brand-homepage-tabs .resources .resource .header {
  display: flex;
  gap: 20px;
}
.brand-homepage-tabs .resources .resource .divider {
  padding-top: 10px;
  border-top-style: solid;
  border-top-width: 2px;
  border-top-color: var(--primary-light-color);
}
.brand-homepage-tabs .resources .resource .header .cover {
  flex: 1;
}
.brand-homepage-tabs .resources .resource .header .cover .cover-link .cover-image {
  border-radius: 20px;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: 50% 50%;
  min-height: 50px;
}
.brand-homepage-tabs .resources .resource .header .heading {
  flex: 4;
  display: flex;
  gap: 5px;
  flex-direction: column;
}
.brand-homepage-tabs .resources .resource .header .heading .title {
  margin-bottom: 0;
}
.brand-homepage-tabs .resources .resource .header .heading .secondary {
  font-size: 1em;
  margin-bottom: 0;
}
.brand-homepage-tabs .resources .resource .header .heading .title .title-link {
  color: var(--primary-dark-color); 
}
.brand-homepage-tabs .resources .resource .abstract {
  font-size: 16px;
}
.brand-homepage-tabs .resources .resource .abstract .date {
  font-weight: bold;
}
.resource-list .view-all .view-all-link {
  display: inline-block;
}

{# Misc #}
.pp-logo {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
}

{# Responsiveness #}
@media screen and (min-width: 768px) {
  .debug {
    display: flex;
  }
  .brand-homepage-tabs {
    display: flex;
    flex-direction: column;
    background-color: #ffffff00;
    padding: 0px 0px;
  }
  .brand-homepage-tabs .tabs {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 15px;
  }
  .brand-homepage-tabs .tabs .tab {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    flex: 1;
    color: var(--primary-dark-color);
    padding: 25px;
    background-color: white;
    border-radius: 25px 25px 25px 25px;
    margin-bottom: 15px;
    text-align: center;
    align-items: center;
  }
  .brand-homepage-tabs .tabs .tab .tab-icon {
    width: 30%;
  }
  .brand-homepage-tabs .tabs .tab path {
    fill: var(--primary-dark-color);
  }
  .brand-homepage-tabs .tabs .tab:hover {
    font-weight: 600;
    color: var(--secondary-color);
  }
  .brand-homepage-tabs .tabs .tab:hover path {
    fill: var(--secondary-color);
  }
  .brand-homepage-tabs .tabs .tab.active {
    font-weight: 600;
    color: var(--secondary-color);
    border-radius: 25px 25px 0px 0px;
    margin-bottom: 0px;
  }
  .brand-homepage-tabs .tabs .tab-title {
    padding: 5px;
    border-style: solid;
    border-width: 0 0 3px 0;
    border-color: white;
  }
  .brand-homepage-tabs .tabs .tab.active .tab-title {
    border-color: var(--secondary-color);
  }
  .brand-homepage-tabs .tabs .tab.active path {
    fill: var(--secondary-color);
  }
  .brand-homepage-tabs .panels {
    flex: 1;
  }
  .brand-homepage-tabs .panels .panel {
    display: none;
    gap: 20px;
  }
  .brand-homepage-tabs .panels .panel.active {
    gap: 20px;
    padding: 50px;
    background-color: white;
    margin: 0px 0px;
  }
  .brand-homepage-tabs .event-tiles .event-tile .event-logo {
    max-width: 60%;
    object-fit: contain;
    object-position: left;
    max-height: 140px;
  }
}
@media screen and (min-width: 800px) {
  .brand-homepage-tabs {
    margin-top: -300px;
  }
}
@media screen and (max-width: 767.98px) {
  .brand-homepage-tabs .panels .panel h3.panel-title {
    font-size: 2.5em;
  }
  .brand-homepage-tabs .panels .panel .b-l-tile {
    min-height: 150px;
  }
}
@media screen and (max-width: 1023.98px) {
  .brand-homepage-tabs .tabs .tab {
    padding: 15px;
  }
  .brand-homepage-tabs .tabs .tab .tab-icon {
    display: none;
  }
  .brand-homepage-tabs .tabs .tab .tab-title h4 {
    font-size: 14px;
  }
}