.tbm {
    background-color: transparent;
}
.tbm-submenu-toggle {
    background-color: transparent;
}

.tbm-submenu-toggle::before {
  display: none;
}

/* Base state */
.tbm-submenu-toggle svg {
  width: 12px;
  height: 8px;
  pointer-events: none;
}

.cpcc-header-nav-icon--up {
  display: none;
}

/* When submenu is open */
li.tbm-open .cpcc-header-nav-icon--down,
button[aria-expanded="true"] .cpcc-header-nav-icon--down {
  display: none;
}

li.tbm-open .cpcc-header-nav-icon--up,
button[aria-expanded="true"] .cpcc-header-nav-icon--up {
  display: inline-block;
}

.tbm-submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.cpcc-header-nav-icon {
  transition: opacity 0.2s ease;
}

.tbm-more.tbm--mobile .tbm-collapse .tbm-nav .tbm-item .tbm-link-container span.tbm-link.level-1.no-link.tbm-toggle {
    display: none;
}

@media (min-width: 1201px) {
  #block-cpcc-mainnavigationmobile {
    display: none !important;
  }
}

#toolbar-administration, #toolbar-administration * {
    box-sizing: border-box;
    z-index: 9999;
}


.is-admin.is-node #block-cpcc-tabs {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    background-color: var(--cpcc-color-teal);
    white-space: normal;
    margin: 0;
    padding: 0;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
}
.is-admin.is-node #block-cpcc-tabs ul.nav-tabs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    border: none;
}

.is-admin.is-node #block-cpcc-tabs ul.nav-tabs li {
    margin: 0;
    padding: 0;
}

.is-admin.is-node #block-cpcc-tabs ul.nav-tabs li a {
    margin: 0 10px;
    padding: 0 10px;
    line-height: 30px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.is-admin.is-node #block-cpcc-tabs ul.nav-tabs li {
    border-left: 1px solid #ffffffa3;
    /* Left border */
}

/* Optional: Remove the right border from the last item */
.is-admin.is-node #block-cpcc-tabs ul.nav-tabs li:last-child {
    border-right: 1px solid #ffffffa3;
}

.is-admin.is-node #block-cpcc-tabs ul.nav-tabs a:hover,
.is-admin.is-node #block-cpcc-tabs ul.nav-tabs a:focus {
    background-color: transparent;
}

.is-admin.is-node #block-cpcc-tabs ul.nav-tabs a:hover {
    color: rgb(242, 115, 0);
}

.is-admin.is-node #block-cpcc-tabs ul.nav-tabs a:focus {
    color: rgb(145, 167, 15);
}

.is-admin.is-node #block-cpcc-tabs ul.nav-tabs a.is-active {
    color: rgb(242, 115, 0);
    background-color: transparent;
    border-color: #dee2e6 #dee2e6 #fff;
}





/* Media Modal Styles */
.cpcc-media-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.cpcc-media-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.cpcc-media-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.92);
  cursor: pointer;
}

.cpcc-media-modal-container {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cpcc-media-modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.cpcc-media-modal-close:hover,
.cpcc-media-modal-close:focus {
  background-color: rgba(255, 255, 255, 0.15);
  transform: scale(1.1);
  outline: none;
}

.cpcc-media-modal-close svg {
  width: 22px;
  height: 22px;
  color: #fff;
}

.cpcc-media-modal-content {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
}

.cpcc-media-modal-video {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  background: #000;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.cpcc-media-modal-image {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Success Media Slide Styles */
.cpcc-success-media-slide {
  position: relative;
  overflow: hidden;
}

.cpcc-success-media-slide img,
.cpcc-success-media-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hide native video controls on thumbnail */
.cpcc-success-media-slide video {
  pointer-events: none;
}

.cpcc-success-media-slide video::-webkit-media-controls {
  display: none !important;
}

.cpcc-success-media-slide video::-webkit-media-controls-enclosure {
  display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
  .cpcc-media-modal-close {
    position: fixed;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
  }
  
  .cpcc-media-modal-video,
  .cpcc-media-modal-image {
    max-width: 95vw;
    max-height: 85vh;
    border-radius: 4px;
  }
  
  .cpcc-success-play {
    width: 60px;
    height: 60px;
  }
  
  .cpcc-success-play svg {
    width: 26px;
    height: 26px;
    margin-left: 3px;
  }
}



/* About Program Video/Image Container */
.cpcc-item-tab-about-program-video {
  position: relative;
  overflow: hidden;
}

.cpcc-item-tab-about-program-video video,
.cpcc-item-tab-about-program-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hide native video controls on thumbnail */
.cpcc-item-tab-about-program-video video {
  pointer-events: none;
}

.cpcc-item-tab-about-program-video video::-webkit-media-controls {
  display: none !important;
}

.cpcc-item-tab-about-program-video video::-webkit-media-controls-enclosure {
  display: none !important;
}

/* Play Button */
.cpcc-item-tab-about-program-play {
  position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 50px;
      height: 50px;
      background: rgba(255, 255, 255, 0.75);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: var(--cpcc-transition-speed);
      z-index: 10;
}
/* Focus visible for accessibility */
.cpcc-item-tab-about-program-play:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -2px;
}

/* Responsive */
@media (max-width: 768px) {
  .cpcc-item-tab-about-program-play {
    width: 60px;
    height: 60px;
  }
  
  .cpcc-item-tab-about-program-play svg {
    width: 26px;
    height: 26px;
    margin-left: 3px;
  }
}

/* iframe container for remote videos */
.cpcc-media-modal-iframe-container {
  position: relative;
  width: 90vw;
  max-width: 1280px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.cpcc-media-modal-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Video thumbnail styling */
.cpcc-success-video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .cpcc-media-modal-iframe-container {
    width: 95vw;
  }
}


form#views-exposed-form-program-explore-our-programs select {
  appearance: none;            /* Remove default browser arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0.5rem 2.5rem 0.5rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 0.375rem;
  background-color: #fff;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none"><path d="M6 9L12 15L18 9" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  cursor: pointer;
}
form#views-exposed-form-program-explore-our-programs select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}


.cpcc-program-dropdown-menu {
  display: none;
  position: absolute; /* important! */
  top: 100%;          /* position below button */
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #ccc;
  z-index: 9999;      /* float above other content */
}
.cpcc-program-dropdown-menu.is-open {
  display: block;
}
.cpcc-program-dropdown {
  position: relative; /* for absolute positioning of menu */
}

.paragraph--type--program-learning-outcome-section a.cpcc-category-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--cpcc-color-white);
  background: var(--cpcc-color-black);
  text-decoration: none;
  transition: background var(--cpcc-transition-speed);
}

.paragraph--type--program-learning-outcome-section a.cpcc-category-card-btn:hover {
    background: #333;
}

.cpcc-teal-bg-wrap {
    background-color: var(--cpcc-color-teal);
    color: var(--cpcc-color-white);
}
/*program design filter*/
/* ========== Program Filter Form ========== */
.cpcc-bef-wrapper {
  padding: 0 60px;
}

.cpcc-program-filter-section .form--inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

/* ========== ROW 1: Search + Actions (never wraps) ========== */


.cpcc-program-filter-section .form-item-combine input {
  width: 100%;
  padding: 11px 16px;
  border: 2px solid var(--cpcc-color-teal);
  font-size: 1rem;
  border-radius: 0px;
}

/* Actions container - original and dynamic */
.cpcc-program-filter-section #edit-actions,
.cpcc-program-filter-section [id^="edit-actions--"] {
  flex: 0 0 auto;
  display: flex;
  gap: 0;
  order: 2;
}

.cpcc-program-filter-section #edit-actions::before,
.cpcc-program-filter-section [id^="edit-actions--"]::before {
  content: "";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 50px;
  border: 2px solid var(--cpcc-color-teal);
  background: var(--cpcc-color-teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px;
}

/* .cpcc-program-filter-section #edit-submit-program,
.cpcc-program-filter-section input[id^="edit-submit-program--"] {
  display: none;
} */

/* Reset button - original and dynamic */
 .cpcc-program-filter-section .cpcc-program-reset-btn input {
  padding: 14px 24px;
  color: var(--cpcc-color-white);
  background-color: var(--cpcc-color-teal);
  border: none;
  font-size: 0.9rem;
  border-radius: 0px;
  font-weight: 500;
  cursor: pointer;
}

.cpcc-program-filter-section .cpcc-program-reset-btn input:hover {
  background: var(--cpcc-color-teal-dark);
}

/* ========== ROW 2 & 3: Filter label + Dropdowns (wraps) ========== */

/* Force line break after Row 1 - only on original */
.cpcc-program-filter-section .form--inline::after {
  content: "";
  flex-basis: 100%;
  height: 0;
  order: 3;
}

/* Filter label */
.cpcc-program-filter-section .form--inline::before {
  content: "Filter:";
  flex: 0 0 auto;
  order: 4;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--cpcc-color-black);
}

.cpcc-program-filter-section .form--inline .form-item {
  margin-right: 0px;
}


/* Filter dropdowns - wrap to Row 3 if needed */
.cpcc-program-filter-section .form-item-field-learning-format-target-id { order: 5; flex: 0 0 auto; }
.cpcc-program-filter-section .form-item-field-learning-outcome-target-id { order: 6; flex: 0 0 auto; }
.cpcc-program-filter-section .form-item-field-education-prerequisite-target-id { order: 7; flex: 0 0 auto; }
.cpcc-program-filter-section .form-item-field-campus-target-id { order: 8; flex: 0 0 auto; }
.cpcc-program-filter-section .form-item-field-career-field-target-id { order: 9; flex: 0 0 auto; }

/* Dropdown button styling */
.cpcc-program-filter-section .cpcc-program-dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  min-width: 215px;
  background: var(--cpcc-color-white);
  border: 2px solid var(--cpcc-color-gold);
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--cpcc-color-black);
  cursor: pointer;
  transition: all var(--cpcc-transition-speed) ease;
}

.cpcc-program-filter-section .cpcc-program-dropdown-btn:hover {
  border-color: var(--cpcc-color-gold-hover);
}

.cpcc-program-filter-section .cpcc-program-dropdown-btn svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .cpcc-bef-wrapper {
    padding: 0 20px;
  }

  .cpcc-program-filter-section .form-item-combine {
    flex: 1 1 100%;
  }

  .cpcc-program-filter-section .form-item-field-learning-format-target-id,
  .cpcc-program-filter-section .form-item-field-learning-outcome-target-id,
  .cpcc-program-filter-section .form-item-field-education-prerequisite-target-id,
  .cpcc-program-filter-section .form-item-field-campus-target-id,
  .cpcc-program-filter-section .form-item-field-career-field-target-id {
    flex: 1 1 100%;
  }

  .cpcc-program-filter-section .cpcc-program-dropdown-btn {
    width: 100%;
  }
}


/*pathway table*/
/* Hide desktop on mobile, hide mobile on desktop */
.cpcc-pathway-desktop {
  display: block;
}

.cpcc-pathway-mobile {
  display: none;
}

@media (max-width: 767px) {
  .cpcc-pathway-desktop {
    display: none;
  }
  
  .cpcc-pathway-mobile {
    display: block;
  }
}

/* Mobile Item Card */
.cpcc-pathway-mobile-item {
  display: none;
  background: #fff;
  border: 1px solid #ddd;
}

.cpcc-pathway-mobile-item.is-active {
  display: block;
}

/* Program Header */
.cpcc-pathway-mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background:  var(--cpcc-color-gold);
  color: var(--cpcc-color-black);
  text-decoration: none;
  font-weight: 600;
}

.cpcc-pathway-mobile-header svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.cpcc-pathway-mobile-title {
  flex: 1;
  margin-right: 10px;
}

/* Program Details */
.cpcc-pathway-mobile-details {
  padding: 0;
}

.cpcc-pathway-mobile-row {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.cpcc-pathway-mobile-row:last-child {
  border-bottom: none;
}

.cpcc-pathway-label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.cpcc-pathway-value {
  display: block;
  color: #666;
}

/* Navigation */
.cpcc-pathway-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.cpcc-pathway-nav-prev,
.cpcc-pathway-nav-next {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid var(--cpcc-color-gold);
  cursor: pointer;
}

.cpcc-pathway-nav-prev:hover:not(.is-disabled),
.cpcc-pathway-nav-next:hover:not(.is-disabled) {
  background: var(--cpcc-color-gold);
  color: #fff;
}

.cpcc-pathway-nav-prev.is-disabled,
.cpcc-pathway-nav-next.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.cpcc-pathway-nav-prev svg,
.cpcc-pathway-nav-next svg {
  width: 20px;
  height: 20px;
}

.cpcc-pathway-indicator {
  font-size: 14px;
  color: #666;
}

.cpcc-pathway-current {
  font-weight: 600;
}

#block-claro-content .layout-form {
        display: grid;
        grid-template-rows: 1fr;
        grid-template-columns: unset;
        gap: var(--space-l);
    }


.bef-exposed-form .form--inline > .form-item, .bef-exposed-form .form--inline .js-form-wrapper > .form-item {
    float: none;
}

.body--dxpr-theme-nav-desktop .dxpr-theme-header--top .dxpr-theme-main-menu>div, .body--dxpr-theme-nav-desktop .dxpr-theme-header--top .dxpr-theme-main-menu section, .body--dxpr-theme-nav-desktop .dxpr-theme-header--top .dxpr-theme-main-menu ul.nav {
    height: auto;
}