/* WYSIWYG content styling */

.btn-check:focus+.btn, .btn:focus {
  outline: 0;
  box-shadow: none !important;
}

.btn-outline-dark {
color: var(--olaniyi-grey-dark);
border-color: var(--olaniyi-grey-dark);
font-size: 10px;
}

.project-description {
  line-height: 1.6;
}

.project-description p {
  margin-bottom: 1rem;
}

.project-description ul,
.project-description ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.project-description img {
  max-width: 100%;
  height: auto;
}

.project-description iframe {
  max-width: 100%;
}



/* CKEditor in modals */
.cke_chrome {
  border-radius: 0.375rem !important;
  border: 1px solid #dee2e6 !important;
  box-shadow: none !important;
}

.cke_top {
  border-bottom: 1px solid #dee2e6 !important;
  background: #f8f9fa !important;
}

/* Image Management Styles */
.image-item {
  position: relative;
  transition: transform 0.2s ease;
}

.image-item:hover {
  transform: translateY(-2px);
}

.image-controls {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  background: rgba(0, 0, 0, 0.7);
  padding: 5px 10px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.image-item:hover .image-controls {
  opacity: 1;
}

.drag-handle {
  cursor: grab;
  color: white;
  font-size: 14px;
}

.drag-handle:active {
  cursor: grabbing;
}

.display-mode-controls {
  flex: 1;
  margin-left: 10px;
}

.display-mode-controls .form-select {
  font-size: 12px;
  padding: 2px 5px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 3px;
}

.form-select:focus, .form-control:focus {
border-color: #d6cfcf;
outline: 0;
box-shadow: unset;
}

/* Drag and Drop Styles */
.sortable-ghost {
  opacity: 0.5;
  background: #f8f9fa;
  border: 2px dashed #dee2e6;
}

.sortable-chosen {
  transform: rotate(2deg);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.sortable-drag {
  opacity: 0.8;
  transform: rotate(2deg);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

li, p {
font-size: 10px;
}

/* Child Images Styles */
.child-images {
  margin-top: 10px;
  padding-top: 10px;
  /*border-top: 1px solid #dee2e6;*/
}

.child-images-container {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}

.child-image-item {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 5px;
  overflow: hidden;
  border: 2px solid #dee2e6;
}

.child-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.child-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.child-image-item:hover .child-image-overlay {
  opacity: 1;
}

.child-image-overlay .btn {
  padding: 2px 6px;
  font-size: 10px;
}

/* Media Card Enhancements */
.media-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease;
}

.media-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.media-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 5px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.media-card:hover .media-overlay {
  opacity: 1;
}

.overlay-btn {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.overlay-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}

.overlay-btn.text-warning {
  background: rgba(255, 193, 7, 0.9);
  color: #000;
}


  .fa-twitter{
    font-family:sans-serif;
  }
  .fa-twitter::before{
    content:"𝕏";
    font-size:1.2em;
  }

  :root {
    --olaniyi-grey: #676565;
    --olaniyi-grey-light: #9e959c;
    --olaniyi-grey-lighter: #adb5bd;
    --olaniyi-grey-dark: #495057;
    --olaniyi-grey-border: #dee2e6;
  }

  body{
    font-family: 'Helvetica Neue', sans-serif;
    text-align: justify;                                        
  }

  .g-5,
  .gx-5 {
    --bs-gutter-x: 3rem !important;
  }
  
  .g-5,
  .gy-5 {
    --bs-gutter-y: 3rem !important;
  }
  
  .col {
    margin-bottom: 25px;
  }

  .proj-caption {
    margin: 0px;
    margin-top: 2px;
    font-size: 10px;
    color: var(--olaniyi-grey);
  }
  
  .card-title {
    font-size: 10px;
    margin: 0px;
    margin-top: 4px;
    text-align: left;
  }

  #nm-img{
    cursor: pointer;
  }
  
  .year-header{  
    font-size: x-small;
  }
  
  .sidebar {
    max-width: 220px;
    min-width: 220px;
    width: 220px;
    /*border-right: 1px solid var(--olaniyi-grey-border);*/
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding-right: 0;
  }
  
  .sidebar-inner {

    padding: 10px 12px 10px 8px;
    min-width: 220px;
    flex: 1;
    overflow-y: auto;
  }
  
  .sidebar-inner h4 {
    font-size: 0.9rem;
    white-space: nowrap;
    margin-bottom: 10px;
  }

  .client-logo img {
    max-height: 20px;
    width: 60px;
    max-width: 100px;
    object-fit: contain;
  }
  
  .client-logo {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  
  .category-btn {
    font-size: x-small;
    text-align: left;
    font-weight: 700;
    white-space: nowrap;
    width: 100%;
    margin-bottom: 5px;
    text-transform: uppercase;
    padding: 4px 8px 4px 10px;
    overflow: visible;
    text-overflow: unset;
    text-align: center;
    color: #7e7e7e;
    border: 0px !important;
    background: transparent !important;
  }

  .category-btn.active {
    background-color: white;
    color: black;
  }

  .category-btn.active .ct-icon,
  .category-btn.active img,
  .category-btn.active .footer-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.6));
  }

  .category-btn:hover .ct-icon,
  .category-btn:hover img,
  .category-btn:hover .footer-icon {
    transform: scale(1.05);
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.6));
  }

  .ct-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: all 0.3s ease;
  }

  /* Category container for 2-column layout */
  .category-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 5px;
  }

  .category-btn-container {
    width: calc(50% - 10px);
    position: relative;
    margin-bottom: 5px;
  }

  /* Category icons container row styling */
  .row.mb-4:has(.category-icons-container) {
    display: flex;
    justify-content: center;
    padding-top: 20px;
    margin-bottom: 20px !important;
  }
  
  /* Category icons arrangement */
  .category-icons-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 30px auto;
  }
  
  .category-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  /* Hover effect for category icons */
  .category-icon:hover {
    transform: scale(1.1);
    transform-origin: center;
  }
  
  /* Active state for category icons */
  .category-icon.active {
    transform: scale(1.1);
    transform-origin: center;
  }
  
  .category-icon.active span {
    font-weight: 700;
    color: #212529;
  }
  
  .category-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.1s ease;
  }
  
  .category-icon:hover img {
    transform: scale(1.05);
  }
  
  .category-icon span {
    font-size: 9px;
    margin-top: 5px;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--olaniyi-grey);
    transition: all 0.2s ease;
  }
  
  .category-icon:hover span {
    font-weight: 700;
    color: #212529;
  }
  
  /* Position Bio icon at the center */
  .icon-bio {
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 70px;
    height: 70px;
  }
  
  /* Position other icons in a perfect circle around Bio */
  /* 7 icons positioned at 360/7 = 51.4 degrees apart */
  /* Arranged clockwise: Projects, Art, Matter, Feet, Books, Arch, Sound */
  /* radius increased to 140px from center */
  
  /* Icon 1 (0 degrees) - Projects */
  .icon-projects {
    top: calc(50% - 140px);
    left: 50%;
    transform: translateX(-50%);
  }
  
  /* Icon 2 (51.4 degrees) - Art */
  .icon-art {
    top: calc(50% - 110px);
    right: calc(50% - 117px);
  }
  
  /* Icon 3 (102.8 degrees) - Matter */
  .icon-matter {
    top: calc(50% - 30px);
    right: calc(50% - 137px);
  }
  
  /* Icon 4 (154.2 degrees) - Feet */
  .icon-feet {
    top: calc(50% - 98px);
    left: calc(50% - 135px);
  }
  
  /* Icon 5 (205.6 degrees) - Books */
  .icon-books {
    bottom: calc(50% - 110px);
    right: calc(50% - 87px);
  }
  
  /* Icon 6 (257 degrees) - Arch */
  .icon-arch {
    bottom: calc(50% - 110px);
    left: calc(50% - 87px);
  }
  
  /* Icon 7 (308.4 degrees) - Sound (between Arch and Projects) */
  .icon-sound {
    bottom: calc(50% - 47px);
    left: calc(50% - 147px);
  }
  
  /* Ensure icons maintain their positions when hovered */
  .icon-projects:hover, .icon-projects.active {
    transform: translateX(-50%) scale(1.1);
  }
  
  .icon-bio:hover, .icon-bio.active {
    transform: translate(-50%, -50%) scale(1.1);
  }
  
  /* Responsive adjustments for smaller heights */
  @media (max-height: 700px) {
    .sidebar-inner {
      padding: 5px 12px 5px 8px;
    }
    
    .category-btn {
      margin-bottom: 3px;
      /*height: 50px !important;*/
    }
    
    .ct-icon {
      width: 50px;
      height: 50px;
    }
    
    .category-label {
      font-size: 6px;
    }
    
    .search-container {
      padding: 10px 0;
    }
    
    .sidebar-footer-icons {
      padding: 8px;
    }
    
    .footer-icons {
      margin-bottom: 8px;
    }
    
    .footer-icon {
      height: 30px;
      margin-bottom: 6px;
    }
    
    .footer-text {
      font-size: 6px;
    }
    
    .copyright {
      padding: 15px;
      font-size: 7px;
    }
  }

  /* Extra small height adjustments */
  @media (max-height: 600px) {
    .sidebar-inner {
      padding: 3px 12px 3px 8px;
    }
    
    .category-btn {
      margin-bottom: 2px;
      /*height: 45px !important;*/
    }
    
    .ct-icon {
      width: 50px;
      height: 50px;
    }
    
    .category-label {
      font-size: 5px;
    }
    
    .search-container {
      padding: 8px 0;
    }
    
    .sidebar-footer-icons {
      padding: 6px;
    }
    
    .footer-icons {
      margin-bottom: 6px;
    }
    
    .footer-icon {
      height: 30px;
      margin-bottom: 4px;
    }
    
    .footer-text {
      font-size: 5px;
    }
    
    .copyright {
      padding: 12px;
      font-size: 6px;
    }
  }


  #bookTitleDescription {
    padding-right: 0px; 
    padding-left:0px; 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-end; 
    margin-bottom:0px;
    }

    #bookCoverImage {
    min-width:120px;  
    padding-right: 0px; 
    padding-left: 0px; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    margin-bottom: 20px;

  }
 
  @media (min-width: 767.98px) {


    #bookTitleDescription {
      padding-right: 0px; 
      padding-left:60px; 
      display: flex; 
      flex-direction: column; 
      justify-content: flex-end; 
      margin-bottom:0px;
    }

    #bookCoverImage {
    min-width:120px; 
    max-width: 250px; 
    padding-right: 0px; 
    padding-left: 0px; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    margin-bottom: 0px;
  }

    
  }

  @media (max-width: 400px) {
    #year-filter {
      display: none;
    }
  }

  /* On mobile devices */
  @media (max-width: 767.98px) {
     
    .bio-right{
      margin-top: 90px;
    }

   
    .category-icons-container {
      width: 300px;
      height: 300px;
      margin: 20px auto;
    }
    
    .category-icon {
      width: 45px;
      height: 45px;
    }
    
    .icon-bio {
      width: 60px;
      height: 60px;
    }
    
    .category-icon span {
      font-size: 8px;
    }
    
    /* Adjust circle radius for mobile */
    /* Use a radius of 115px instead of 140px */
    
    /* Icon 1 (0 degrees) - Projects */
    .icon-projects {
      top: calc(50% - 115px);
    }
    
    /* Icon 2 (51.4 degrees) - Art */
    .icon-art {
      top: calc(50% - 90px);
      right: calc(50% - 95px);
    }
    
    /* Icon 3 (102.8 degrees) - Matter */
    .icon-matter {
      top: calc(50% - 25px);
      right: calc(50% - 113px);
    }
    
    /* Icon 4 (154.2 degrees) - Feet */
    .icon-feet {
      bottom: calc(50% - 53px);
      left: calc(50% - 102px);
    }
    
    /* Icon 5 (205.6 degrees) - Books */
    .icon-books {
      bottom: calc(50% - 90px);
      right: calc(50% - 71px);
    }
    
    /* Icon 6 (257 degrees) - Arch */
    .icon-arch {
      bottom: calc(50% - 90px);
      left: calc(50% - 71px);
    }
    
    /* Icon 7 (308.4 degrees) - Sound */
    .icon-sound {
      bottom: calc(50% - 22px);
      left: calc(50% - 113px);
    }
  }

  /* Specific styling for architecture images */
  .arch-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw !important;
    object-fit: contain !important;
    object-position: bottom !important;
    height: 550px !important;
    max-height: 700px !important;
  }

  /* Container styling for architecture cards */
  [data-category="arch"] .slideshow-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Creates square aspect ratio */
    height: 0;
    display: block;
    overflow: hidden;
  }

  [data-category="arch"] .card {
    height: auto;
  }

  [data-category="arch"] .col-md-6 {
    padding: 0 45px;
    width: 50%;
  }

  [data-category="arch"] .row {
    margin-left: -15px;
    margin-right: -15px;
  }

  /* Remove any max-height constraints */
  [data-category="arch"] .slideshow-container .arch-img {
    max-height: none;
    object-fit: contain;
    object-position: bottom;
    bottom: 0;
  }

  /*.arch-img-container {
    height: 450px !important;
  }*/



  .category-label{
    display: block;
    font-size: 6.7px;
  }

  #viewTitle, #bioViewTitle, #bioViewTitle2, #bioViewTitle3 {
    text-transform: uppercase;
    font-size: 12px;
    display: inline;
  }

  #viewTitleDiv, #bioViewTitleDiv, #projectsSidebarTitle, #projectDetailTitle {
    position: fixed;
    top: 0px;
    z-index: 100;
    width: 100%;
    background: white;
    padding-top: 7px;
  }

  #projectsSidebarTitle {
    position: static;
    padding-left: 0px;
    width: 198px;
    left: 221px;
    font-size: 12px;
    /*margin-top: -2px;*/
    z-index: 1002;
  }

  #bioViewTitleDiv2, #bioViewTitleDiv3 {
    top: 0px;
    z-index: 80;
    width: 100%;
    background: white;
    padding-top: 7px;
  }

  #projectsContainer, #projectSidebar, #projectDetail {
    padding-top: 40px;
  }
  
  .year-header {
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 5px;
  }
  
  .project-card {
    cursor: pointer;
    transition: transform 0.2s;
    overflow: visible;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    border: none;
    margin-bottom: 30px;
  }
  
  .project-card:hover {
    transform: translateY(-5px);
  }
  
  .thumbnail-img {
    height: 250px;
    max-width: 100%;
    width: auto;
    object-fit: cover;
    /*border-radius: 8px;*/
  }

  .project-card:hover {
    transform: translateY(-5px);
  }

  .main-content-shifted {
    margin-left: 220px;
    width: calc(100vw - 220px);
    max-width: calc(100vw - 220px);
    padding-right: 0;
    padding-left: 0px;
    overflow-x: hidden;
    overflow-y: auto;
    height: 100vh;
    position: relative;
  }

  .search-container {
    width: 100%;
    display: block;
    /*justify-content: center;*/
    padding: 20px 0;
  }

  .search-bar {
    width: 100%;
    position: relative;
  }

  .search-input {
    width: 100%;
    text-align: center;
    font-variant: contextual;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 10px;
    outline: none;
  }
              
  .search-input:focus {
    border-color: var(--olaniyi-grey-light);
  }
      
  /* Optional: Add a search icon */
  .search-icon {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: var(--olaniyi-grey);
  }

  .sidebar-footer-icons {
    padding: 8px;
    background-color: white;
    flex-shrink: 0;
  }

  .footer-container {
    background-color: white;
    min-width: 220px;
    flex-shrink: 0;
  }
  
  .footer-content {
    padding: 12px;
  }
  
  .footer-icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
  }

  .footer-icon:hover {
    transform-origin: center;
    transform: scale(1.1);
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.6));
    transition: filter 0.3s ease;
  }
  
  .footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
    width: calc(50% - 10px);
    position: relative;
    margin-bottom: 6px;
  }
  
  .footer-item:hover {
    color: var(--olaniyi-grey-dark);
  }
  
  .footer-icon {
    height: 30px;
    margin-bottom: 8px;
    opacity: 0.7;
    transition: all 0.3s ease;
  }
  
  .footer-text {
    font-size: 6.7px;
    text-transform: uppercase;
    font-weight: 700;
  }
  
  .copyright {
    /*border-top: 1px solid var(--olaniyi-grey-border);*/
    padding: 20px;
    text-align: center;
    font-size: 8px;
    color: var(--olaniyi-grey);
    text-transform: uppercase;
  }

  .intro-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }

  .intro-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }

  .intro-slide.active {
    opacity: 1;
  }

  .intro-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .slider-bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 10;
    background: linear-gradient(to bottom, 
      rgba(255, 255, 255, 0) 0%, rgba(66, 68, 68, 0.2) 60%, 
      rgba(66, 68, 68, 0.3) 80%, rgba(66, 68, 68, 0.4) 100%);
  }

  span#slider-span {
    display: block;
    font-size: xx-small;
    margin-top: -3px;
  }

  .slide-title {
    font-size: 15px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    flex-shrink: 1;
    min-width: 0;
  }

  .slide-title:hover {
    text-decoration: underline;
}

  /* Heading styles matching prototype */
  h1, h2, h3, h4, h5, h6 {
    font-size: 12px !important;
    font-weight: 700 !important;
  }


  /* Project detail text styles matching prototype */
  #projectDetail h2 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
  }

  #projectDetail h3 {
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 8px;
  }

  #projectDetail h5 {
    font-size: 10px;
    font-weight: 700;
  }

  #projectDetail p, #projectDetail .mb-4, #projectDetail div:not(.btn):not(.card-title):not(.year-badge):not(.category-badge) {
    font-size: 10px;
    line-height: 1.4;
  }

  #projectDetail .card-title {
    font-size: 10px;
    font-weight: 700;
  }

  #projectDetail .card-text {
    font-size: 10px;
  }

  /* Modal title matching prototype */
  .modal-title, .card-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .slide-navigation {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
  }

  .nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.8);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .nav-dot:hover {
    background: rgba(255,255,255,0.3);
  }

  .nav-dot.active {
    background: white;
    border-color: white;
    transform: scale(1.2);
  }

  .next-slide-btn {
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
  }

  .next-slide-btn .arrow {
    color: white;
    font-size: 24px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    animation: arrowFidget 2s ease-in-out infinite;
  }

  @keyframes arrowFidget {
    0% { transform: translateX(0); }
    50% { transform: translateX(5px); }
    100% { transform: translateX(0); }
  }

  .intro-slide:not(.active) .slider-bottom-nav {
    opacity: 0;
    pointer-events: none;
  }

  .intro-slide.active .slider-bottom-nav {
    opacity: 1;
    pointer-events: auto;
  }

  .title-category-icon {
    /*width: 20px;*/
    height: 30px;
    /*margin-right: 10px;*/
    /*object-fit: contain;*/
  }

 /* img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: auto;
}*/

  .bio-title-category-icon {
    /*width: 20px;*/
    height: 50px;
    margin-right: 10px;
    /*object-fit: contain;*/
  }

  .title-category-icon_ {
    /*width: 20px;*/
    margin-right: 10px;
    /*object-fit: contain;*/
  }

  .bio-container {
    display:contents;
    margin-top: 78px;
    position: relative;
    width: calc(100vw - 220px);
    max-width: calc(100vw - 220px);
    overflow-x: hidden;
  }

  @media (min-width: 768px) {
    .logo-mobile{
      display: none !important;
    }
  }

  @media (max-width: 767.98px) {


    
  #projectDetail h2 {
    width: 90%
  }

    .logo-mobile {
      text-align: center;
      display: block;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      /* height: 100px; */
      z-index: 2001;
      padding: 5px;
      background: white;
  }

  #viewTitleDiv, #bioViewTitleDiv, #projectsSidebarTitle, #projectDetailTitle {
    margin-top: 40px;
    left: 0px;
    padding-left: 15px;
    padding-top: 17px;
  }
  
  

  img.logo-img {
    margin-right: 10px;
}

    
    .bio-container {
      width: 100%;
      max-width: 100%;
    }

    .press-grid{
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    }
  }

  .bio-section {
    display: flex;
    margin-bottom: 80px;
    width: 100%;
    position: relative;
    padding-right: 0;
    gap:40px
  }

  .bio-left {
    flex: 1;
    padding-right: 40px;
  }

  .bio-right {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
  }

  .bio-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 40px;
    color: var(--olaniyi-grey-dark);
  }

  .bio-text {
    font-size: 10px;
    line-height: 1.5;
    /*margin-bottom: 25px;*/
    text-align: justify;
  }

  .bio-text.indented {
    margin-left: 80px;
    margin-right: 20px;
  }

  .bio-image {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    margin-bottom: 30px;
  }

  .contact-section {
    margin-top: -60px;
  }

  .contact-section.indented {
    margin-left: 80px;
    margin-right: 20px;
  }

  .contact-caps {
    font-size: 10px;
    color: var(--olaniyi-grey-dark);
    font-weight: 900;
    margin-bottom: 15px;
  }

  .contact-info {
    font-size: 10px;
    color: var(--olaniyi-grey);
    margin-bottom: 5px;
    top: 80px;
    position: absolute;
    bottom: 0px;
  }

  .contact-info {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .contact-info i {
    font-size: 24px;
    color: var(--olaniyi-grey);
  }

  .contact-info a:hover {
    color: var(--olaniyi-grey-dark) !important;
  }

  .bio-right-text {
    font-size: 10px;
    line-height: 1.4;
    text-align: justify;
  }

  .contact-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    position: relative;
  }

  .contact-caps {
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
  }

  .bio-right-flex {
    display: flex;
    align-items: flex-start;
    margin-top: 12px;
  }

  .bio-badge {
    width: 100px;
    /*margin-left: -130px;
    padding-right: 30px;*/
    text-align: center;
    flex-shrink: 0;
  }

  .bio-badge img {
    width: 100px;
    height: auto;
    display: block;
  }

  .bio-badge-label {
    font-size: 10px;
    margin-top: 4px;
    color: #333;
  }

  /* Press Section */
  .press-section {
    /*border-top: 1px solid var(--olaniyi-grey-border);*/
    padding-top: 40px;
    margin-bottom: 80px;
  }

  .press-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
  }

  .press-logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--olaniyi-grey-light);
  }

  b, strong {
    font-weight: 900;
  }

  .press-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--olaniyi-grey-dark);
  }

  .press-dropdown {
    position: relative;
  }

  .dropdown-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 5px 10px;
  }

  .press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2px;
    margin-bottom: 40px;
  }

  .press-item {
    background: white;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.2s;
  }

  .press-item:hover {
    transform: translateY(-2px);
  }

  .press-item h3 {
    font-size: 12px;
    margin-bottom: 5px;
    color: var(--olaniyi-grey-dark);
  }

  .press-item p {
    font-size: 10px;
    color: var(--olaniyi-grey);
    margin-bottom: 5px;
  }

  .press-item .date {
    font-size: 12px;
    color: var(--olaniyi-grey-light);
  }

  /* Pagination */
  .pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 9px;
    flex-wrap: nowrap;
    max-width: 100%;
    overflow: hidden;
  }

  .pagination button {
    background: white;
    border: 1.4px solid var(--olaniyi-grey);
    padding: 4px 8px;
    cursor: pointer;
    border-radius: 4px;
    min-width: 28px;
    text-align: center;
    white-space: nowrap;
  }

  .pagination button.active {
    background: var(--olaniyi-grey);
    color: white;
  }

  .pagination button:hover {
    background: #f0f0f0;
  }

  .pagination button.active:hover {
    background: var(--olaniyi-grey);
  }

  /* Mobile responsive pagination */
  @media (max-width: 768px) {
    .pagination {
      gap: 6px;
      font-size: 8px;
      margin-left: 5px !important;
    }
    
    .pagination button {
      padding: 3px 6px;
      min-width: 24px;
    }
  }

  @media (max-width: 480px) {
    .pagination {
      gap: 4px;
      font-size: 7px;
    }
    
    .pagination button {
      padding: 2px 4px;
      min-width: 20px;
    }
  }

  /* Partners Section */
  .partners-section {
    /*border-top: 1px solid var(--olaniyi-grey-border);*/
    padding-top: 40px;
    margin-bottom: 54px;
  }

  .partners-title {
    font-size: 11px;
    font-weight: unset;
    margin-bottom: 40px;
  }

  .partners-scroll {
    overflow: hidden;
    width: 100%;
  }

  .partners-track {
    display: flex;
    gap: 60px;
    animation: scroll 30s linear infinite;
  }

  .partner-logo {
    width: 120px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--olaniyi-grey);
    flex-shrink: 0;
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
  }

  @media (max-width: 768px) {
    .sidebar {
      position: static;
      height: auto;
      width: 100%;
    }

    .bio-image {
      height: 300px;
  }
    
    .main-content-shifted {
      margin-left: 0;
    }
    
    .bio-section {
      flex-direction: column;
      padding: 0 !important; 
    }
    
    .bio-title {
      font-size: 36px;
    }
    
    .press-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 20px;
    }
    
    .press-grid {
      grid-template-columns: 1fr;
    }

    .bio-section {
      margin-top: 100px !important;
    }
  }

  /* Bio View specific styles */
  #bioView {
    width: 100%;
    padding: 0;
    position: relative;
    min-height: 100vh;
    background: white;
  }

  .bio-section {
    width: 100%;
    margin-top: 60px;
    padding: 0 20px;
    margin-bottom: 48px;
  }

  .card, .card-body {
    --bs-card-bg: #ffffff00;
    background: #ffffff00;
  }
  
  /* Project card specific styling */
  .project-card .card-body {
    padding: 12px;
    background: white;
    border: none;
  }

  .row {
    margin-left: 0;
    margin-right: 0;
  }

  .bio-left, 
  .bio-right {
    flex: 1 1 0;
    min-width: 0;
  }

  .bio-right img {
    width: 100%;
    max-width: 100%;
    display: block;
  }

  

    .bio-left, 
    .bio-right {
      width: 100%;
      padding: 0;
    }

    .bio-text.indented,
    .contact-section.indented {
      margin-left: 20px;
      margin-right: 20px;
    }

    .bio-right-flex {
      flex-direction: column;
      align-items: stretch;
    }

    .bio-badge {
      margin-bottom: 10px;
    }

  /*} */

  .main-content-shifted {
    overflow-x: hidden;
  }

  .container-fluid {
    padding-right: 0;
    padding-left: 0;
    overflow-x: hidden;
  }

  /* Remove modal overlay styles and replace with prototype overlay styles */
  
  /* Ancestors overlay styles */
  .ancestors-overlay {
      position: fixed;
      top: 0;
      left: 220px; /* Match sidebar width */
      right: 0;
      bottom: 0;
      background: rgba(255, 255, 255, 0.75); /* Adjusted for better blur visibility */
      backdrop-filter: blur(15px) saturate(1.2); /* Increased blur intensity */
      -webkit-backdrop-filter: blur(15px) saturate(1.2);
      border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border */
      z-index: 1000;
      display: flex;
      justify-content: center;
      align-items: center;
      opacity: 0;
      transition: opacity 0.3s ease;
  }

  .ancestors-overlay.show {
      opacity: 1;
  }

  .ancestors-content {
      position: relative;
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 40px;
      text-align: center;
  }

  .ancestors-container {
      opacity: 0;
      transform: translateY(20px);
      animation: fadeInUp 0.6s ease forwards 0.3s;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 100vh;
      max-height: 100vh;
      padding: 20px;
      box-sizing: border-box;
      overflow: hidden;
  }

  /* Ancestors image responsive styling */
  .ancestors-image {
      width: 40vw;
      max-width: 500px;
      min-width: 250px;
      height: auto;
      margin-bottom: -20px;
      object-fit: contain;
      flex-shrink: 0;
  }

  /* Acknowledgment section responsive styling */
  .acknowledgment {
      margin-bottom: 20px;
      text-align: center;
      max-width: 700px;
      width: 100%;
      flex-shrink: 0;
  }

  .acknowledgment-text {
      font-family: 'Helvetica Neue', sans-serif;
      font-weight: 700;
      line-height: 1.3;
      color: var(--olaniyi-grey);
      margin-bottom: 15px;
      text-transform: none;
      text-align: center;
  }

  .acknowledgment-signature {
      /*font-size: clamp(12px, 2vw, 15px);*/
      color: var(--olaniyi-grey);
      font-weight: 300;
      text-align: center;
  }

  /* Quote section responsive styling */
  .quote {
      text-align: center;
      max-width: 700px;
      width: 100%;
      flex-shrink: 0;
  }

  .quote-text {
      font-family: 'Helvetica Neue', sans-serif;
      /*font-size: clamp(14px, 2.5vw, 18px);*/
      font-weight: 700;
      line-height: 1.3;
      color: var(--olaniyi-grey);
      margin-bottom: 15px;
      text-transform: none;
      text-align: center;
  }

  .quote-signature {
      /*font-size: clamp(12px, 2vw, 15px);*/
      color: var(--olaniyi-grey);
      font-weight: 300;
      text-align: center;
  }

  /* Contact overlay styles */
  .contact-overlay {
      position: fixed;
      top: 0;
      left: 220px; /* Match sidebar width */
      right: 0;
      bottom: 0;
      background: rgba(255, 255, 255, 0.75); /* Adjusted for better blur visibility */
      backdrop-filter: blur(15px) saturate(1.2); /* Increased blur intensity */
      -webkit-backdrop-filter: blur(15px) saturate(1.2);
      border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border */
      z-index: 1000;
      display: flex;
      justify-content: center;
      align-items: flex-end;
      opacity: 0;
      transition: opacity 0.3s ease;
  }

  .contact-overlay.show {
      opacity: 1;
  }

  .contact-content {
      position: relative;
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: flex-end;
      padding: 40px;
  }

  .contact-container {
      width: 100%;
      max-width: 1200px;
      margin-bottom: 40px;
      opacity: 0;
      transform: translateY(20px);
      animation: fadeInUp 0.6s ease forwards 0.3s;
  }

  .contact-columns {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
      margin-bottom: 60px;
  }

  .contact-left {
      display: flex;
      flex-direction: column;
      gap: 70px;
  }

  .contact-right {
      border-left: 1px solid var(--olaniyi-grey-border);
  }

  .contact-group h3 {
      font-size: 12px;
      color: var(--olaniyi-grey-dark);
      margin-bottom: 10px;
      font-weight: 400;
  }

  .contact-group a {
      font-size: 11px;
      color: var(--olaniyi-grey);
      text-decoration: none;
      transition: color 0.2s ease;
  }

  .contact-group a:hover {
      color: var(--olaniyi-grey-dark);
  }

  .close-overlay {
      transition: transform 0.2s ease;
  }

  .close-overlay:hover,  .modal-fullscreen .modal-header .btn:hover {
      transform: scale(1.1);
  }

  @keyframes fadeInUp {
      from {
          opacity: 0;
          transform: translateY(20px);
      }
      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  @media (max-width: 768px) {
      .ancestors-overlay,
      .contact-overlay {
          left: 0;
          backdrop-filter: blur(15px) saturate(1.2); /* Slightly stronger blur for mobile */
          -webkit-backdrop-filter: blur(15px) saturate(1.2);
      }
      
      .contact-columns {
          grid-template-columns: 1fr;
      }

      /* Ancestors responsive adjustments for mobile */
      .ancestors-container {
          min-height: 100vh;
          max-height: 100vh;
          padding: 15px;
          justify-content: center;
          overflow: hidden;
      }

      .ancestors-image {
          width: 60vw;
          max-width: 350px;
          min-width: 200px;
          margin-bottom: -15px;
      }

      .acknowledgment {
          margin-bottom: 15px;
      }

      .acknowledgment-text {
          font-size: clamp(12px, 4vw, 16px);
          margin-bottom: 10px;
          line-height: 1.2;
      }

      .acknowledgment-signature {
          font-size: clamp(10px, 3vw, 13px);
      }

      .quote-text {
          font-size: clamp(12px, 4vw, 16px);
          margin-bottom: 10px;
          line-height: 1.2;
      }

      .quote-signature {
          font-size: clamp(10px, 3vw, 13px);
      }
  }

  @media (max-width: 480px) {
      .ancestors-container {
          padding: 10px;
      }

      .ancestors-image {
          width: 90vw;
          max-width: 300px;
          min-width: 200px;
          margin-bottom: -15px;
      }

      .acknowledgment-text {
          font-size: clamp(11px, 4.5vw, 14px);
      }

      .acknowledgment-signature {
          font-size: clamp(9px, 3.5vw, 12px);
      }

      .quote-text {
          font-size: clamp(11px, 4.5vw, 14px);
      }

      .quote-signature {
          font-size: clamp(9px, 3.5vw, 12px);
      }
  }

  @media (max-height: 600px) {
      /* For shorter screens (landscape mobile, small tablets) */
      .ancestors-container {
          min-height: 100vh;
          justify-content: center;
          padding: 10px;
      }

      .ancestors-image {
          width: 40vw;
          max-width: 300px;
          min-width: 200px;
          margin-bottom: -10px;
      }

      .acknowledgment {
          margin-bottom: 20px;
      }

      .acknowledgment-text {
          font-size: clamp(10px, 2.5vw, 14px);
          margin-bottom: 15px;
      }

      .acknowledgment-signature {
          font-size: clamp(8px, 2vw, 12px);
      }

      .quote-text {
          font-size: clamp(10px, 2.5vw, 14px);
          margin-bottom: 15px;
      }

      .quote-signature {
          font-size: clamp(8px, 2vw, 12px);
      }
  }

  .contact-group a:hover {
      color: var(--olaniyi-grey-dark);
  }

  .newsletter-section {
      padding-left: 60px;
  }

  .newsletter-section h3 {
      font-size: 12px;
      color: var(--olaniyi-grey-dark);
      margin-bottom: 20px;
      font-weight: 400;
  }

  .newsletter-section p {
      font-size: 10px;
      color: var(--olaniyi-grey);
      margin-bottom: 30px;
      line-height: 1.6;
  }

  .form-control {
      font-size: 9px;
      padding: 8px 12px;
      margin-bottom: 10px;
      border: 1px solid var(--olaniyi-grey-border);
  }

  h4{
    font-weight: 700;
  }

  .newsletter-form button {
      width: 100%;
      font-size: 9px;
      padding: 8px;
      background: var(--olaniyi-grey-dark);
      color: white;
      border: none;
  }

  .locations-section {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 40px;
      margin-top: 40px;
  }

  .location h3 {
      font-size: 12px;
      color: var(--olaniyi-grey-dark);
      margin-bottom: 15px;
      font-weight: 400;
  }

  .location p {
      font-size: 10px;
      color: var(--olaniyi-grey);
      line-height: 1.6;
  }

  .share-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 15px;
  }

  .share-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-decoration: none;
      color: var(--olaniyi-grey);
      transition: color 0.2s ease;
      padding: 10px;
      border: 1px solid var(--olaniyi-grey-border);
      border-radius: 4px;
  }

  .share-item:hover {
      color: var(--olaniyi-grey-dark);
      background: #f8f9fa;
  }

  .share-item i {
      font-size: 18px;
      margin-bottom: 5px;
  }

  .share-item span {
      font-size: 8px;
      text-transform: uppercase;
                  font-weight: 700;
  }

  /* Splash Screen Styles */
  body, html {
      height: 100%;
      margin: 0;
      padding: 0;
      background-color: white;
      color: var(--olaniyi-grey);
  }
  
  .main-container {
      display: flex;
      flex-direction: column;
      height: 100vh;
      position: relative;
  }
  
  .splash-screen {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: white;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      opacity: 1;
      transition: opacity 1s ease-out;
  }
  
  .splash-screen.fade-out {
      opacity: 0;
      pointer-events: none;
  }
  
  .splash-logo {
      max-width: 600px;
      width: 300px;
      opacity: 0;
      transition: opacity 1.5s ease-in-out;
  }
  
  .splash-logo.fade-in {
      opacity: 1;
  }
  
  .splash-logo.sweep-reveal {
      -webkit-mask: linear-gradient(90deg, black 0%, black 100%);
      mask: linear-gradient(90deg, black 0%, black 100%);
  }

  .sound-project-row h3 {
    font-size: 12px;
    color: var(--olaniyi-grey-dark);
    margin-bottom: 15px;
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 700;
  }

  .sound-project-row p {
    font-size: 10px;
    color: var(--olaniyi-grey);
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: 'Helvetica Neue', sans-serif;
  }

  .sound-media-container {
    padding: 20px;
    border-radius: 4px;
  }

  .sound-media-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 2px;
    margin-bottom: 54px;
  }

  .project-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
  }

  .year-badge {
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    background-color: white;
    margin-right: 5px;
    border: 1.5px solid var(--olaniyi-grey-light);
    color: var(--olaniyi-grey);
    font-size: 7px;
  }
  
  .category-badge {
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    margin-right: 5px;
    border: 1.5px solid;
    transition: all 0.2s ease-in-out;
  }
  
  .category-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  .category-badge, .year-badge {
    border: 1.5px solid var(--olaniyi-grey-light);
    color: var(--olaniyi-grey);
    font-size: 7px;
  }

  .duration {
    font-size: 10px;
    color: var(--olaniyi-grey);
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 700;
    font-weight: 700;
  }

  audio {
    width: 100%;
    height: 40px;
  }

  audio::-webkit-media-controls-panel {
    background-color: white;
  }

  .btn-group .btn {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 700;
    transition: all 0.2s ease;
  }

  .btn-group .btn:hover {
    background-color: var(--olaniyi-grey-light);
    border-color: var(--olaniyi-grey-light);
    color: white;
  }

  .btn-group .btn.active {
    background-color: var(--olaniyi-grey);
    border-color: var(--olaniyi-grey);
    color: white;
  }

  /* Projects Sidebar Styles */
  .projects-sidebar {
    position: fixed;
    top: 0;
    left: 220px;
    width: 200px;
    height: 100vh;
    background: white;
    /*border-right: 1px solid var(--olaniyi-grey-border);*/
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: none;
    overflow: hidden;
  }

  .projects-sidebar.active {
    transform: translateX(0);
    display: block;
  }

  .projects-sidebar-title {
    position: sticky;
    top: 0;
    width: 100%;
    background: white;
    padding: 15px 20px;
    
    font-size: 12px;
    font-weight: 700;
    z-index: 1002;
    text-transform: uppercase;
    color: var(--olaniyi-grey-dark);
    box-sizing: border-box;
    margin: 0;
  }

  #projectsSidebarItems {
    height: calc(100vh - 60px);
    overflow-y: auto;
    /*padding: 0 20px;*/
  }

  .project-sidebar-item {
    padding: 6px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 5px;
    font-size: 8.7px;
    color: #878e94;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-align: center;
    background-color: #f0f0f0;
    font-weight: 700;
    transition: all 0.2s;
  }

  h2#detailTitle {
    margin-top: 2px;
}

  .project-sidebar-item:hover {
    background-color: #f0f0f0;
    color: var(--olaniyi-grey-dark);
    transform: scale(1.02);
  }

  .project-sidebar-item.active {
    background-color: #f0f0f0;
    color: var(--olaniyi-grey-dark);
    transform: scale(1.02);
  }

  .project-sidebar-item img {
    width: 100%;
    height: 160px;
    padding: 2px;
    object-fit: cover;
    margin-bottom: 2px;
    border-radius: 5px;
  }

  .project-sidebar-item div {
    line-height: 1.4;
    text-align: center;
    text-transform: uppercase;
  }

  /* Modal Styles */
  .modal-fullscreen .modal-dialog {
    max-width: 100%;
    margin: 0;
    height: 100%;
  }

  .modal-fullscreen .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .modal-fullscreen .modal-header {
    border-bottom: none;
    padding: 5px 20px;
    background: white;
    min-height: 40px;
  }

  .modal-fullscreen .modal-header .modal-title {
    font-size: 10px;
    font-weight: 700;
    color: var(--olaniyi-grey-dark);
    text-transform: uppercase;
    margin: 0;
  }

 
  .modal-fullscreen .modal-header .btn, .close-overlay {
    width: 25px !important;
    height: 25px !important;
    border-radius: 50%;
    display: flex
;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--olaniyi-grey);
  
}


  .modal-fullscreen .modal-header .btn:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
  }

  .modal-fullscreen .modal-body {
    padding: 0;
    height: calc(100% - 40px);
    position: relative;
  }

  .modal-img {
    max-width: 100%;
    max-height: calc(100vh - 40px - 60px - 5px); /* viewport height - header - description - margin */
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
  }

  #imageCarousel {
    height: 100%;
  }

  #imageCarousel .carousel-inner {
    height: 100%;
  }

  #imageCarousel .carousel-item {
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  #imageCarousel .carousel-item.active {
    display: flex;
  }

  #imageCarousel .carousel-item .h-100 {
    height: 100% !important;
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  #imageCarousel .carousel-item .flex-grow-1 {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #modalDescription {
    font-size: 10px;
    font-weight: 500;
    color: var(--olaniyi-grey);
    line-height: 1.4;
  }

  #modalDescription p {
    margin-bottom: 0;
  }

  .arch-cols .col-md-6 {
    margin-bottom: 60px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
  }

  .carousel-control-prev {
    left: 20px;
  }

  .carousel-control-next {
    right: 20px;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 10px;
    height: 10px;
    background-size: 100% 100%;
  }

  /* Project Detail Styles */
  .first-row {
    margin-top: 40px;
  }

  .main-image-container {
    margin-bottom: 30px;
  }

  .main-image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .image-container {
    position: relative;
    cursor: pointer;
    margin-bottom: 20px;
  }

  .image-container img,
  .image-container video {
    transition: opacity 0.3s ease;
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .image-container:hover img,
  .image-container:hover video {
    /*opacity: 0.8;*/
    transform: translateY(-5px);
  }

  .small {
    font-size: 10px;
    color: var(--olaniyi-grey);
    margin-top: 10px;
    line-height: 1.4;
  }

  .small p {
    margin-bottom: 0;
  }

  #detailTitle, #detailTitle2 {
    font-size: 12px;
    font-weight: 700;
    color: var(--olaniyi-grey-dark);
    margin-bottom: 15px;
    text-transform: uppercase;
  }

  #detailDescription {
    font-size: 10px;
    line-height: 1.6;
    color: var(--olaniyi-grey);
    margin-bottom: 20px;
    font-weight: 500;
  }

  #detailDescription p {
    margin-bottom: 10px;
  }

  #additionalImages {
    margin-top: 40px;
  }

  #additionalImages .col-md-6,
  #additionalImages .col-md-8,
  #additionalImages .col-12 {
    margin-bottom: 30px;
  }

  /* Adjust main content when sidebar is active */
  .main-content-shifted.sidebar-active {
    margin-left: 420px;
    width: calc(100vw - 420px);
  }

  /* Responsive adjustments */
  @media (max-width: 768px) {
    .projects-sidebar {
      width: 100%;
      left: 0;
    }
    
    .projects-sidebar-title {
      width: 100%;
      left: 0;
      position: sticky;
      top: 0;
    }
    
    .main-content-shifted.sidebar-active {
      margin-left: 0;
      width: 100vw;
    }
  }

  /* Artworks specific styles */
  .thumbnails-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
  }

  .thumbnail-wrapper {
    transition: transform 0.2s ease;
  }

  .thumbnail-wrapper:hover {
    transform: scale(1.05);
  }

  .thumbnail {
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
  }

  /*.thumbnail:hover {
    border-color: var(--olaniyi-grey);
  }*/

  /* Full view artwork styles */
  .artwork-full-view .main-image-container img {
    max-height: 70vh;
    object-fit: contain;
  }

  /* Thumbnail view artwork styles */
  .artwork-thumbnail-view .main-image-container img {
    max-height: 60vh;
    object-fit: cover;
  }

  /* Project card alignment fixes - match prototype */
  .project-card {
    cursor: pointer;
    transition: transform 0.2s;
    overflow: visible;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    margin-bottom: 30px;
  }

  .project-card .card-body {
    padding: 0;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    /*justify-content: flex-end;*/
    flex-grow: 1;
  }

  .project-card .slideshow-container {
    /*flex-grow: 1;*/
    position: relative;
    overflow: hidden;
    height: 300px; /* Fixed height to prevent layout shifts */
  }
  
  a.share-option{
    border: 1px solid #e8dede;
    min-width: 70px;
  }

  .share-option > i {
    font-size: 15px;
    padding: 2px;
    height: 20px;
}
 
  .project-card .slideshow-container img {
    /*width: 100%;*/
    height: 300px;
    object-fit: contain;
    object-position: bottom;
    vertical-align: bottom;
    display: flex;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0; /* Start with opacity 0 */
    transition: opacity 2s ease-in-out; /* Slightly longer transition for smoother effect */
  }

  .project-card .slideshow-container img.active-slide {
    opacity: 1; /* Active slide is visible */
    z-index: 2; /* Ensure active slide is on top */
  }

  .project-card .slideshow-container img:not(.active-slide) {
    opacity: 0; /* Non-active slides are invisible */
    z-index: 1; /* Lower z-index for non-active slides */
  }

  /* Additional styles for smoother transitions */
  .project-card .slideshow-container {
    will-change: opacity; /* Optimize for opacity transitions */
  }

  .project-card .slideshow-container img {
    will-change: opacity; /* Optimize for opacity transitions */
    backface-visibility: hidden; /* Prevent flickering */
    transform: translateZ(0); /* Force hardware acceleration */
  }

  /* Artworks grid specific styling */
  [data-subcategory="artwork"] .project-card,
  [data-subcategory="exhibition"] .project-card {
    margin-bottom: 30px;
  }

  /* Ensure consistent card heights in grid */
  .row-cols-1 .col,
  .row-cols-md-3 .col,
  .row-cols-lg-4 .col {
    display: flex;
    flex-direction: column;
  }

  .row-cols-1 .col .project-card,
  .row-cols-md-3 .col .project-card,
  .row-cols-lg-4 .col .project-card {
    height: 100%;
  }

  /* Grid alignment - match prototype */
  .row-cols-1, .row-cols-md-2, .row-cols-md-3, .row-cols-lg-4 {
    align-items: flex-end;
    margin-left: -15px;
    margin-right: -15px;
    row-gap: 30px;
  }
  
  @media (min-width: 768px) {
    .row-cols-md-2 > *,
    .row-cols-md-3 > * {
      padding-left: 15px;
      padding-right: 15px;
    }

    .bio-image {
      height: 400px;
  }

    .arch-card .slideshow-container img {
      width: 100%;
      /*height: 300px;*/
      object-fit: contain;
      object-position: bottom;
      vertical-align: bottom;
      display: flex;
      position: absolute;
      bottom: 0;
      left: 0;
      opacity: 0; /* Start with opacity 0 */
      transition: opacity 2s ease-in-out; /* Slightly longer transition for smoother effect */
    }

    .sidebar-inner {
      width: 220px;
      padding: 10px 12px 10px 8px;
      min-width: 220px;
      flex: 1;
      overflow-y: auto;
  }

  }

  @media (max-width: 768px) {

    .logo-container {
      margin-top: 20px;
      display: none;
  }
}

  @media (min-width: 992px) {
        .row-cols-lg-4 > * {
    padding-left: 15px;
    padding-right: 15px;
  }

 
}

.sidebar-inner {
  padding: 10px 12px 10px 8px;
  min-width: 220px;
  flex: 1;
  overflow-y: auto;
}

/* News Section Styles - matching prototype */
.news-article-container {
  margin-bottom: 80px;
}

.news-prototype-image {
  transition: transform 0.3s ease;
  display: block;
}

.news-prototype-image:hover {
  transform: scale(1.02);
}

.news-description {
  max-width: 900px;
}

.news-meta {
  text-transform: uppercase;
}

.news-content {
  margin-top: 14px !important;
}

.news-row {
  margin-bottom: 320px;
}

@media (max-width: 768px) {
  .news-prototype-image {
    border-width: 4px !important;
  }
  
  .ps-lg-5, .pe-lg-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

@media (max-width: 576px) {
  .news-article-container {
    margin-bottom: 60px;
  }
  
  .news-prototype-image {
    border-width: 3px !important;
  }
}

/* Back to Top Button Styles */
#backToTopBtn {
  position: fixed;
  bottom: 36px;
  right: 36px;
  z-index: 1990;
  background: var(--olaniyi-grey-dark);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 2px 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 4px 18px rgba(0,0,0,0.13);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: block !important;
  pointer-events: none;
}

#backToTopBtn.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#backToTopBtn:hover {
  opacity: 1;
  transform: scale(1.07);
  background: var(--olaniyi-grey);
}

/* Thumbnail view artwork styles */
.artwork-thumbnail-view .main-image-container img {
  max-height: 60vh;
  object-fit: cover;
}

/* Video play icon overlay styles */
.video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.2s ease;
  pointer-events: none;
}

.thumbnail-wrapper:hover .video-play-overlay {
  background: rgba(0, 0, 0, 0.8);
  transform: translate(-50%, -50%) scale(1.1);
}

/* Video thumbnail styles */
.thumbnail-wrapper[data-media-type="video"] {
  position: relative;
}

.thumbnail-wrapper[data-media-type="video"] .thumbnail {
  opacity: 0.8;
}

.thumbnail-wrapper[data-media-type="video"]:hover .thumbnail {
  opacity: 1;
}

/* Main video container styles */
.main-image-container video {
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Video controls styling */
.main-image-container video::-webkit-media-controls {
  background: rgba(0, 0, 0, 0.5);
}

.main-image-container video::-webkit-media-controls-panel {
  background: rgba(0, 0, 0, 0.5);
}

/* Video container styles */
.video-container {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
}

/* Video thumbnail hover effects */
.thumbnail-wrapper[data-media-type="video"]:hover .video-play-overlay {
  background: rgba(0, 0, 0, 0.9);
  transform: translate(-50%, -50%) scale(1.2);
}

/* Full-width video styling for project details */
.image-container video {
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Video modal styling */
.modal-img[src*=".mp4"], .modal-img[src*=".mov"] {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

/* Share buttons styling */
.share-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.share-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  color: #666;
}

.share-btn:hover {
  background: #f8f9fa;
  border-color: #999;
  color: #333;
  transform: translateY(-1px);
}

.share-btn.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: white;
}

.share-btn.twitter:hover {
  background: #1da1f2;
  border-color: #1da1f2;
  color: white;
}

.share-btn.whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: white;
}

.share-btn i {
  font-size: 14px;
}

/* Ensure share buttons are visible in project detail */
#projectDetailTitle .share-buttons {
  display: flex !important;
  gap: 8px;
  align-items: center;
  margin-left: auto;
}

#projectDetailTitle .d-flex {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  /*padding: 10px;*/
  border-radius: 4px;
}

#hamburgerBtn, #hamburgerBtn2, #hamburgerBtn3 {
  /* position: fixed; */
  /* top: 30px; */
  /* left: 10px; */
  z-index: 2003;
  width: 48px;
  /* height: 48px; */
  /* border-radius: 50%; */
  background: white;
  border: none;
  display: flex
;
  align-items: center;
  justify-content: center;
  color: #4c4141;
  font-size: 1.7rem;
  cursor: pointer;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); */
  transition: background 0.2s;
}

#hamburgerBtn:active, #hamburgerBtn.open, #hamburgerBtn2:active, #hamburgerBtn2.open, #hamburgerBtn3:active, #hamburgerBtn3.open {
  background: white;
}

@media (min-width: 767.98px) {
  #hamburgerBtn, #hamburgerBtn2, #hamburgerBtn3 {
    display: none;
  }
}
@media (max-width: 767.98px) {
  #hamburgerBtn, #hamburgerBtn2, #hamburgerBtn3 {
    display: flex;
  }
  

  .sidebar,
  .projects-sidebar {
    display: none !important;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 80vw;
    max-width: 320px;
    min-width: 220px;
    height: 100vh;
    z-index: 2000;
    background: #fff;
    box-shadow: 2px 0 16px rgba(0,0,0,0.08);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    transform: translateX(-100%);
    /*border-right: 1px solid var(--olaniyi-grey-border);*/
  }
  .sidebar.open,
  .projects-sidebar.open {
    display: flex !important;
    transform: translateX(0);
    flex-direction: column;
  }
  #mainContent {
    margin-left: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }
  body.menu-open {
    overflow: hidden;
  }
  /* Optional: dark overlay when menu is open */
  #sidebarOverlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.18);
    z-index: 1999;
  }
  #sidebarOverlay.active {
    display: block;
  }
}

.press-dropdown {
  position: relative;
}

.dropdown-btn {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  padding: 5px 10px;
}

/* Custom Dropdown Styles */
.custom-dropdown {
  position: relative;
  display: inline-block;
}

    .selected-value {
    cursor: pointer;
    padding: 4px 8px;
    border: 1px solid var(--olaniyi-grey-border);
    border-radius: 4px;
    background-color: white;
    font-size: 10px;
    min-width: 90px;
    position: relative;
    transition: background-color 0.2s ease;
  }

    .selected-value::after {
    content: '▼';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 8px;
    color: var(--olaniyi-grey-dark);
  }



    .options-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border: 1px solid var(--olaniyi-grey-border);
    border-top: none;
    border-radius: 0 0 4px 4px;
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .options-list.show {
    opacity: 1;
    transform: translateY(0);
  }

.dropdown-option {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 10px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}


.dropdown-option:hover {
  background-color: var(--olaniyi-grey-light);
  color: white;
}

.dropdown-option:last-child {
  border-bottom: none;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
  margin-bottom: 40px;
}



.m-select {

  border-radius: 4px;
  background-color: #495057;
  color: white;
  padding: 5px 21px;
}

.m-select::after {
  color: white;
}
