/* Tab design - matching Figma */
.rf-catalog-tabs {
      background-color: transparent !important;
      padding: 4px !important;
      gap: 6px !important;
}
.rf-catalog-tabs li {
      background-color: #D9D9D9 !important;
      border-radius: 10px !important;
      overflow: hidden !important;
      border: none !important;
      box-shadow: none !important;
}
.rf-catalog-tabs li button {
      height: 41px !important;
      font-weight: 600 !important;
      padding: 0 16px !important;
      color: #000000 !important;
}
.rf-catalog-tabs li.active {
      background-color: #ffffff !important;
      border-radius: 10px !important;
      border: 2px solid #000000 !important;
      border-top: 2px solid #000000 !important;
      box-shadow: none !important;
}
.rf-catalog-tabs li.active button {
      color: #000000 !important;
}

/* Filter accordion arrow: move to left, point right by default - matching Figma */
.search-filters .filters .catalog-filter {
      display: flex !important;
      align-items: center !important;
      flex-direction: row !important;
      gap: 8px !important;
}
.search-filters .filters .catalog-filter .rfSI {
      float: none !important;
      flex-shrink: 0 !important;
      order: -1 !important;
}
/* Default (collapsed): arrow points right */
.search-filters .filters .catalog-filter svg {
      transform: rotate(90deg) !important;
}
/* Expanded state (.collapsed class added by RainFocus): arrow points down */
.search-filters .filters .catalog-filter.collapsed svg {
      transform: scaleY(-1) !important;
}

/* Black background - matching Figma */
body.rf-body,
.rfComp-canvas,
.search-container,
.search-content,
.main-content,
.rf-widget {
      background-color: #000000 !important;
}

/* White session cards - matching Figma */
.catalog-result {
      background-color: #ffffff !important;
      border-radius: 10px !important;
}

/* White text for filters and page content on black background */
.search-filters,
.search-filters .filters,
.search-filters label,
.search-filters input[type="checkbox"],
.search-filters .catalog-filter,
.search-filters .catalog-filter-header,
h1, h2, h3,
.rf-page-title,
.filters-title {
      color: #ffffff !important;
}

/* Ensure filter labels are white */
.search-filters .filters li label,
.search-filters .filters .filter-group-title,
.search-filters .filters .filter-title {
      color: #ffffff !important;
}

/* Checkbox labels white (My favorites, Recommended for you) - matching Figma */
.rf-checkbox-label {
      color: #ffffff !important;
}
.checkbox-bg {
      border-color: #ffffff !important;
}

/* Clear filters yellow - matching Figma */
.clear-search,
.clear-search .mdBtnR-text,
.clear-search span {
      color: #FFFF00 !important;
      font-weight: 700 !important;
}

/* Clear filters font size */
#rf-catalog .search-filters .filters-header .clear-search .mdBtnR-text {
      font-size: 16px !important;
}

/* Search box - matching Figma */
.catalog-search {
      background-color: #D9D9D9 !important;
      border-radius: 10px !important;
      border: none !important;
      overflow: hidden !important;
}
.catalog-search .rf-input {
      background-color: transparent !important;
      border: none !important;
}
.catalog-search input {
      background-color: transparent !important;
      border: none !important;
      border-radius: 10px !important;
      color: #000000 !important;
      outline: none !important;
      box-shadow: none !important;
}
.catalog-search input::placeholder {
      color: #000000 !important;
      opacity: 1 !important;
}
.catalog-search .search-submit {
      background-color: transparent !important;
      color: #000000 !important;
      border: none !important;
      box-shadow: none !important;
}
.catalog-search .search-submit svg,
.catalog-search .search-submit .rfSI {
      color: #000000 !important;
      fill: #000000 !important;
}

/* Exhibitor tile white background */
.rf-tile.exhibitor-tile,
.rf-tile-body,
.rf-tile-footer {
      background-color: #ffffff !important;
}

/* Exhibitor tile text */
.rf-tile-title,
.rf-tile-title a {
      color: #212121 !important;
}

/* Tile footer link/button text */
.rf-tile-footer a,
.rf-tile-footer button,
.rf-tile-footer .mdBtnR-text {
      color: #212121 !important;
}

/* Ensure all tabs are same height */
.rf-catalog-tabs li {
      height: 41px !important;
      min-height: 41px !important;
}

/* Filters header - inline layout matching Figma */
.search-filters .filters-header {
      display: flex !important;
      flex-direction: row !important;
      align-items: center !important;
      justify-content: space-between !important;
      width: 100% !important;
}
.search-filters .filters-header .filters-title {
      margin: 0 !important;
      flex: 1 !important;
}
.search-filters .filters-header .clear-search {
      margin-left: auto !important;
      flex-shrink: 0 !important;
}

/* Sponsor pill colors - matching Figma dark theme */
.rf-pill.exhibitor-type-premier {
      background-color: #1D91D0 !important;
      color: #ffffff !important;
      border: none !important;
}
.rf-pill.exhibitor-type-diamond {
      background-color: #E5E5E5 !important;
      color: #212121 !important;
      border: none !important;
}
.rf-pill.exhibitor-type-gold {
      background-color: #D7CB1D !important;
      color: #212121 !important;
      border: none !important;
}
.rf-pill.exhibitor-type-silver {
      background-color: #BFBFBF !important;
      color: #212121 !important;
      border: none !important;
}
.rf-pill.exhibitor-type-bronze {
      background-color: #CD7523 !important;
      color: #ffffff !important;
      border: none !important;
}
.rf-pill.exhibitor-type-innovatorsalley {
      background-color: #FEC6B1 !important;
      color: #212121 !important;
      border: none !important;
}
.rf-pill.exhibitor-type-fusionfactorymarquee {
      background-color: #2AD0A9 !important;
      color: #212121 !important;
      border: none !important;
}
.rf-pill.exhibitor-type-factorysponsor {
      background-color: #21A183 !important;
      color: #ffffff !important;
      border: none !important;
}
.rf-pill.exhibitor-type-autodesk {
      background-color: #000000 !important;
      color: #ffffff !important;
      border: 1px solid #ffffff !important;
}

/* Fix Filters header layout - Filters + Clear inline, search box below */
.search-filters .filters-header {
      display: flex !important;
      flex-direction: row !important;
      flex-wrap: wrap !important;
      align-items: center !important;
      width: 100% !important;
}
.search-filters .filters-header h2 {
      flex: 1 !important;
      margin: 0 !important;
}
.search-filters .filters-header .clear-search {
      flex-shrink: 0 !important;
      order: 2 !important;
}
.search-filters .filters-header .search-bar {
      flex: 0 0 100% !important;
      width: 100% !important;
      order: 3 !important;
      margin-top: 8px !important;
}

/* Pill height */
.rf-pill {
    height: 21px !important;
    line-height: 21px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Pill display fix */
.rf-pill {
    display: inline-flex !important;
    width: fit-content !important;
    align-items: center !important;
}

/* Pill align fix - prevent flex stretch */
.rf-pill {
    align-self: flex-start !important;
}

/* Tab equal sizing - match Figma */
.rf-catalog-tabs li button {
    min-width: 130px !important;
    justify-content: center !important;
    text-align: center !important;
}

/* Clear filters vertical alignment */
.search-filters .filters-header .clear-search {
    align-self: center !important;
    line-height: 1 !important;
    padding: 0 !important;
}

/* Tab equal sizing v2 - target li + button */
.rf-catalog-tabs li {
    min-width: 130px !important;
}
.rf-catalog-tabs li.active button {
    width: 100% !important;
}

/* Fix Clear filters - bottom align with Filters heading */
.search-filters .filters-header {
    align-items: flex-end !important;
}
.search-filters .filters-header .clear-search {
    align-self: flex-end !important;
    padding-bottom: 4px !important;
}

/* Active tab - remove black border, fix sizing */
.rf-catalog-tabs li.active {
    border: none !important;
    width: 130px !important;
}

/* More space above tabs */
.main-content {
    padding-top: 48px !important;
}

/* Space between toggle and tabs */
.catalog-toggle-wrapper {
    margin-bottom: 16px !important;
}

/* Card rounded corners - clip children to border-radius */
.rf-tile.exhibitor-tile {
    overflow: hidden !important;
    border-radius: 8px !important;
}

/* Round card bottom corners explicitly */
.rf-tile.exhibitor-tile .rf-tile-footer {
    border-radius: 0 0 8px 8px !important;
}
.rf-tile.exhibitor-tile .rf-tile-body {
    border-radius: 0 !important;
}

/* Hide blue hero banner */
.erc_tasks_page_hero_banner {
    display: none !important;
}

/* ============================================================
   AU 2026 — Speaker Catalog: card refinements + EE badge
   (dedicated BW Speaker Catalog profile)
   ============================================================ */
.catalog-result.speaker-card{background-color:#000000 !important;border:1px solid #333333 !important;border-radius:10px !important;}
.catalog-result.speaker-card .speaker-full-name{color:#ffffff !important;font-size:20px !important;font-weight:700 !important;line-height:1.3 !important;flex:0 0 38% !important;text-align:left !important;}
.catalog-result.speaker-card .speaker-company-name-job-title{flex:0 0 34% !important;text-align:left !important;padding:0 24px 0 0 !important;}
.catalog-result.speaker-card span{color:#ffffff !important;font-weight:400 !important;}
.catalog-result.speaker-card .social-media-links{flex:0 0 auto !important;margin-left:auto !important;}
.total-results-count,.total-results-count *{color:#ffffff !important;}
.catalog-result.speaker-card .social-media-link svg path,.catalog-result.speaker-card a.rfSI svg path{fill:#ffffff !important;}
.catalog-result.speaker-card .speaker-photo{flex:0 0 80px !important;width:80px !important;height:80px !important;margin-right:24px !important;}
.catalog-result.speaker-card .speaker-photo img{width:80px !important;height:80px !important;object-fit:cover !important;border-radius:8px !important;}
.catalog-result.speaker-card .speaker-full-name .au26-ee-badge{display:inline-block !important;width:40px !important;height:40px !important;vertical-align:middle !important;margin:0 0 0 15px !important;}
a.mdBtnR.mdBtnR-primary{background-color:#FFFF00 !important;border-color:#FFFF00 !important;color:#000000 !important;}
a.mdBtnR.mdBtnR-primary:hover,a.mdBtnR.mdBtnR-primary:focus{background-color:#E6E600 !important;border-color:#E6E600 !important;color:#000000 !important;}
/* Speaker detail modal (opens on name click) */
.modal-title{color:#000000 !important;}
.speaker-info .speaker-full-name{color:#000000 !important;font-size:24px !important;}
.speaker-card.rf-flex-frame{width:100% !important;}
.au26-ee-badge-modal{display:block !important;width:134px !important;height:134px !important;flex:0 0 auto !important;margin:0 0 0 auto !important;align-self:flex-start !important;}
/* Mobile (<=768px): stacked card + smaller top-right modal badge (higher specificity so it beats the 134px desktop rule) */
@media (max-width:768px){.catalog-result.speaker-card{padding:24px 16px !important;}.catalog-result.speaker-card .speaker-photo{flex:0 0 auto !important;width:96px !important;height:96px !important;margin:0 0 12px 0 !important;}.catalog-result.speaker-card .speaker-photo img{width:96px !important;height:96px !important;}.catalog-result.speaker-card .speaker-full-name{flex:0 0 auto !important;width:auto !important;font-size:18px !important;line-height:1.3 !important;margin:0 0 6px 0 !important;}.catalog-result.speaker-card .speaker-company-name-job-title{flex:0 0 auto !important;width:auto !important;padding:0 !important;margin:0 !important;}.catalog-result.speaker-card .social-media-links{flex:0 0 auto !important;margin:14px 0 0 0 !important;}.speaker-card.rf-flex-frame{position:relative !important;}.speaker-card.rf-flex-frame .au26-ee-badge-modal{position:absolute !important;top:0 !important;right:0 !important;width:110px !important;height:110px !important;margin:0 !important;}}

/* Make entire Featured Speaker card clickable, not just photo/name */
.attendee-tile { cursor: pointer; }
.attendee-tile-name::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  cursor: pointer;
}

/* Remove visible focus outline lines on speaker name after mouse click, keep for keyboard nav */
.attendee-tile-name:focus { outline: none !important; }
.attendee-tile-name:focus-visible { outline: 1px solid #fff !important; }



/* Reduce left/right padding on speaker name and role so long names fit on one line */
.attendee-tile-name { padding-left: 20px !important; padding-right: 20px !important; }
.attendee-tile-role { padding-left: 20px !important; padding-right: 20px !important; }

/* Keep speaker name and role left-aligned with even left/right padding */
.attendee-tile-name { text-align: left !important; }
.attendee-tile-role { text-align: left !important; }

/* ------- Speaker modal: See all sessions link ------- */
.tile-details-modal .mdBtnR-add-a-thing .mdBtnR-text,
.rf-speaker-modal .see-all-sessions-btn .mdBtnR-text {
  font-size: 16px!important;
}

/* Speaker modal: "See all sessions with this speaker" link */
.modal-body a.see-all-sessions-btn span.mdBtnR-text {
  font-size: 16px;
  line-height: 22px;
}

/* Featured speakers: three tiles on the first row, four on the second */
@media (min-width: 920px) {
  [data-path="1f2737fe-f6c3-49bf-8f14-90ff3734a0eb"] .rf-tile-container {
    flex-wrap: wrap;
  }
  [data-path="1f2737fe-f6c3-49bf-8f14-90ff3734a0eb"] .rf-tile-container > .speaker-tile-container {
    order: 2;
  }
  [data-path="1f2737fe-f6c3-49bf-8f14-90ff3734a0eb"] .rf-tile-container > .speaker-tile-container:nth-child(-n+3) {
    order: 0;
  }
  /* Full-width spacer that ends the first row after the third tile */
  [data-path="1f2737fe-f6c3-49bf-8f14-90ff3734a0eb"] .rf-tile-container::after {
    content: "";
    order: 1;
    flex: 0 0 100%;
    height: 0;
  }
}

/* Featured speakers: show the whole headshot instead of a cropped band */
@media (max-width: 767px) {
  .grid-targeted-agenda .attendee-tile .attendee-tile-image {
    height: auto;
    max-height: none;
    aspect-ratio: 1 / 1;
  }
  .grid-targeted-agenda .attendee-tile .attendee-tile-image img {
    width: 100%;
    height: 100%;
  }
}

/* Featured speakers: three tiles on the first row, four on the second */
@media (min-width: 920px) {
  .rf-tile-container:has(> .speaker-tile-container:nth-child(7)):not(:has(> .speaker-tile-container:nth-child(8))) {
    flex-wrap: wrap;
  }
  .rf-tile-container:has(> .speaker-tile-container:nth-child(7)):not(:has(> .speaker-tile-container:nth-child(8))) > .speaker-tile-container {
    order: 2;
  }
  .rf-tile-container:has(> .speaker-tile-container:nth-child(7)):not(:has(> .speaker-tile-container:nth-child(8))) > .speaker-tile-container:nth-child(-n+3) {
    order: 0;
  }
  .rf-tile-container:has(> .speaker-tile-container:nth-child(7)):not(:has(> .speaker-tile-container:nth-child(8)))::after {
    content: "";
    order: 1;
    flex: 0 0 100%;
    height: 0;
  }
}

/* Speaker modal: stack the photo above the details on small screens */
@media (max-width: 767px) {
  .tile-details-modal.rf-flex-frame {
    flex-direction: column;
  }
  .tile-details-modal.rf-flex-frame > * {
    margin-left: 0;
    margin-right: 0;
  }
  .tile-details-modal .tile-details-modal-avatar {
    margin-bottom: 16px;
  }
}
