/* Header adjustments */
#header {
  min-height: 87px !important;
  height: auto !important;
  padding-bottom: 10px !important;
  position: relative !important;
  border-bottom: none !important;
}

#header-wrapper .search {
  margin-top: 0 !important;
  padding: 6px 0 4px !important;
  border-bottom: none !important;
}

#header-wrapper .search .search-field {
  height: 26px !important;
}

#header-wrapper .navigation .menu > li {
  padding-bottom: 16px !important;
}

#logo h1 {
  margin: 0 !important;
  line-height: 1 !important;
  padding-top: 4px !important;
}

#logo img {
  width: 182px !important;
  display: block !important;
  /* Convert white/cream logo to teal/cyan #005f69 */
  filter: brightness(0) saturate(100%) invert(28%) sepia(31%) saturate(1326%) hue-rotate(139deg) brightness(95%) contrast(101%);
}

.navigation {
  margin-top: 20px !important;
  padding-bottom: 0 !important;
}

#header .navigation::after {
  content: '';
  display: block;
  height: 8px;
}

#header-shadow {
  background: url('/css/images/7.png') repeat-x 0 0 !important;
  height: 5px !important;
  opacity: 1 !important;
  pointer-events: none !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: auto !important;
}

.footer--main--image {
  display: inline-block !important;
  background: transparent !important;
  padding: 10px 16px !important;
  border-radius: 2px !important;
}

.footer--main--image img {
  display: block !important;
  /* Convert white/cream logo to teal/cyan #005f69 */
  filter: brightness(0) saturate(100%) invert(28%) sepia(31%) saturate(1326%) hue-rotate(139deg) brightness(95%) contrast(101%);
}

/* Footer social icons - override old sprite background and show SVG icons */
#menu-social.menu li {
  background: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 8px !important;
}

#menu-social.menu li a {
  text-indent: 0 !important;
  width: auto !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#menu-social.menu li a img {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
}

/* Pivot Productions - Artist Page Override */
/* Change from overlay layout to text-below-image layout */

@media all and (min-width:601px) {
  /* Remove absolute positioning for normal document flow */
  .list-group section.artists .content {
    position: static !important;
    top: auto !important;
  }

  .list-group section.artists .heading {
    position: static !important;
    top: auto !important;
    margin-top: 10px;
  }

  /* Make section a flex container to control order - IMPORTANT to override */
  .list-group section.artists {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
  }

  /* Set proper order - image first, then text */
  .list-group section.artists .content {
    order: 1;
  }

  .list-group section.artists .heading {
    order: 2;
  }

  /* Fix image sizing and crop bottom part (face/smile) */
  .list-group section.artists .content img {
    max-height: 235px;
    width: 100%;
    object-fit: cover;
    object-position: center bottom;
  }

  /* Hide excerpt text */
  .list-group section.artists .excerpt {
    display: none !important;
  }
}

/* Artist detail page layout adjustments */
.artist-detail-page::after {
  content: '';
  display: block;
  clear: both;
}

.artist-detail-main {
  float: left;
}

.artist-detail-sidebar {
  float: left;
}

.artist-detail-page .entry-header .title {
  font-family: 'NantesWeb-Bold', Times, serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
  margin: 6px 0 18px;
}

.artist-portrait {
  margin-bottom: 24px;
}

.artist-portrait-frame {
  position: relative;
  width: 100%;
  background: #0b1416;
}

.artist-portrait-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.artist-detail-main .entry-content {
  font-family: 'untitled-sans-web-regular', sans-serif;
  color: #3a3a3a;
  font-size: 15px;
  line-height: 1.8;
}

.artist-detail-sidebar .intro {
  text-align: center;
  margin-bottom: 24px;
}

.artist-detail-sidebar .title {
  font-family: 'NantesWeb-Bold', Times, serif;
  font-weight: 400;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 10px 0;
  color: #005f69;
}

.artist-detail-sidebar .divider {
  width: 36px;
  height: 1px;
  background: #ccc;
  margin: 0 auto;
}

.artist-work-item {
  margin-bottom: 18px;
}

.artist-work-thumb {
  display: block;
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #111;
  overflow: hidden;
}

.artist-work-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-work-title {
  font-family: 'untitled-sans-web-regular', sans-serif;
  font-size: 13px;
  color: #5a5a5a;
  text-align: center;
  margin-top: 8px;
  letter-spacing: 0.4px;
}
#header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: #f5f5f5;
}
.artist-detail-page {
  padding-top: 32px !important;
}

.artist-detail-main .entry-header {
  margin-bottom: 32px !important;
}

.artist-detail-main .entry-header-inner {
  padding: 0 4%;
}

.artist-detail-main .entry-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
}

.artist-detail-main .entry-header-row .title {
  font-family: 'NantesWeb-Bold', Times, serif;
  font-size: 40px !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
  color: #005f69 !important;
  margin: 0 !important;
}

.artist-detail-main .entry-header-row .role {
  font-family: 'untitled-sans-web-regular', sans-serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: none;
  color: #3f4f52;
  text-align: right;
}

.artist-detail-main .entry-header-bar {
  position: relative;
  height: 14px;
  margin-bottom: 16px;
}

.artist-detail-main .entry-header-bar .bar-line {
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 1px;
  background: #d9d9d9;
}

.artist-detail-main .entry-header-bar .triangle {
  display: none;
}

.artist-detail-main .entry-header-meta {
  display: flex;
  justify-content: flex-end;
}

.artist-detail-main .artist-social-inline {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.artist-detail-main .artist-social-inline a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
}

.artist-detail-main .artist-social-inline img {
  height: 18px;
  width: auto;
  display: block;
}

.artist-detail-main .entry-content p {
  font-family: 'untitled-sans-web-regular', sans-serif;
  font-size: 13px;
  line-height: 21px;
  color: #333;
  margin: 18px 4%;
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: auto;
}

.artist-detail-main .entry-content strong {
  font-family: 'untitled-sans-web-regular', sans-serif;
  font-weight: 600;
  color: #005f69;
}

.artist-detail-main .entry-content a {
  color: #005f69;
}

.artist-detail-sidebar .intro .title {
  font-family: 'NantesWeb-Bold', Times, serif;
  font-size: 24px;
  letter-spacing: 0.12em;
  text-transform: none !important;
  color: #005f69;
  margin: 8px 0;
}

.artist-detail-sidebar .divider {
  background: #d9d9d9;
  height: 1px;
  width: 48px;
}

.artist-work-item {
  margin-bottom: 22px;
}

.artist-work-thumb {
  display: block;
  position: relative;
  width: 100%;
  padding-top: 68%;
  overflow: hidden;
  background: #0b1416;
  border-radius: 2px;
}

.artist-work-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.artist-work-title {
  margin-top: 12px;
  text-align: left;
}

.artist-work-title .title {
  display: block;
  font-family: 'NantesWeb-Bold', Times, serif;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: #005f69;
}

.artist-work-title .subtitle {
  display: block;
  font-family: 'untitled-sans-web-regular', sans-serif;
  font-size: 12px;
  color: #6f7b7d;
  margin-top: 4px;
  letter-spacing: 0.04em;
}

.artist-work-card .grid_4 {
  float: none;
  width: 100%;
}

.artist-work-card .work-card-link .preview.video {
  margin: 0 !important;
}

.work-card-link {
  display: block;
  width: 293px;
  margin: 0 auto;
}

.work-card-link .details {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 16px 14px;
  background: rgba(255, 255, 255, 0.92);
  display: block !important;
  transform: translateY(100%);
  transition: transform 200ms ease;
  text-align: left;
}

.work-card-link .details.is-visible {
  transform: translateY(0);
}

.work-card-link .details .title {
  margin: 0;
  font-family: 'NantesWeb-Bold', Times, serif;
  font-size: 16px;
  color: #005f69;
  letter-spacing: 0;
}

.work-card-link .details .subtitle {
  display: block;
  margin-top: 6px;
  font-family: 'untitled-sans-web-regular', sans-serif;
  font-size: 13px;
  color: #7f8a8c;
}
.service-details {
  padding-top: 56px !important;
}

.service-details__sidebar {
  font-family: 'untitled-sans-web-regular', sans-serif;
  padding-top: 40px !important;
}

.service-details__heading {
  font-family: 'NantesWeb-Bold', Times, serif !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  letter-spacing: 1.75px !important;
  text-transform: none !important;
  color: #005f69 !important;
  text-align: center !important;
  margin-top: 0 !important;
  margin-bottom: 30px !important;
}

.service-details__menu ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

.service-details__menu li {
  margin-bottom: 0 !important;
  font-family: 'untitled-sans-web-regular', sans-serif !important;
  font-size: 16px !important;
  line-height: 22px !important;
  font-weight: 400 !important;
  text-align: center !important;
}

.service-details__menu a {
  font-family: 'untitled-sans-web-regular', sans-serif !important;
  font-size: 16px !important;
  line-height: 22px !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  color: rgb(153, 153, 153) !important;
  text-align: center !important;
  display: block !important;
}

.service-details__menu li.is-active a {
  color: rgb(51, 51, 51) !important;
}

.service-details__content {
  font-family: 'untitled-sans-web-regular', sans-serif;
}

.service-details__hero {
  width: 100%;
  height: 420px;
  overflow: hidden;
  background: #000;
  margin-bottom: 36px;
}

.service-details__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-details__header {
  display: block !important;
  margin-bottom: 24px;
}

.service-details__header .title {
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  font: 400 28px/30px 'NantesWeb-Bold', Times, serif;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.0625em;
  color: #005f69;
  font-family: 'NantesWeb-Bold', Times, serif;
  margin: 30px 0 18px 0;
  text-align: left;
  text-transform: uppercase;
}

.service-details__body p {
  font-family: 'untitled-sans-web-regular', Times, serif;
  font-size: 13px;
  line-height: 21px;
  font-weight: 400;
  color: rgb(51, 51, 51);
  margin-bottom: 14px;
  -webkit-font-smoothing: antialiased;
}

.service-details__body a {
  color: #005f69;
  font-weight: 600;
}
.preview.video.loaded .details {
  display: block !important;
}

.preview.video.loaded {
  border: none !important;
}

.service-details__hero-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0b1416 0%, #1f2e32 100%);
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: 'untitled-sans-web-regular', sans-serif;
  font-size: 12px;
}

.service-details__body .service-section {
  margin-bottom: 28px;
}

.service-details__body .service-section h2 {
  font-family: 'NantesWeb-Bold', Times, serif;
  font-size: 20px;
  font-weight: 400;
  color: #005f69;
  margin: 24px 0 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-details__body .service-section p + p {
  margin-left: 0;
}

.service-details__body .service-section h2 + p {
  margin-left: 0;
}

.service-page-title {
  font-family: 'NantesWeb-Bold', Times, serif;
  font-size: 20px;
  font-weight: 400;
  color: #005f69;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 16px 0;
}

.other-work-section {
  margin: 60px auto 0;
}

.other-work-section .intro {
  width: 100%;
}

.other-work-section .intro .title {
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.other-work-card .preview.video {
  border: 1px solid #dfe6e7;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.other-work-card .preview.video:hover,
.other-work-card .preview.video:focus-within {
  border-color: #99c5c9;
  box-shadow: 0 8px 18px rgba(0, 54, 60, 0.15);
}

.other-work-card .title {
  font-family: 'NantesWeb-Bold', Times, serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #005f69;
}

.other-work-card .subtitle {
  display: block;
  font-family: 'untitled-sans-web-regular', sans-serif;
  font-size: 13px;
  color: #666;
  margin-top: 4px;
  letter-spacing: 0.04em;
}

.reel-social {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
}

.reel-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #d5e1e3;
  background: #fff;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.reel-social-link:hover,
.reel-social-link:focus {
  border-color: #005f69;
  background-color: #f2f7f8;
}

.reel-social-link img {
  width: 18px;
  height: auto;
  display: block;
}

/* Sound Services Grid Layout */
.sound-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 20px;
  margin-top: 0;
}

.sound-service-card {
  display: block;
}

.sound-service-card__image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #000;
  margin-bottom: 18px;
}

.sound-service-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0b1416 0%, #1f2e32 100%);
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: 'untitled-sans-web-regular', sans-serif;
  font-size: 11px;
}

.sound-service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sound-service-card__content {
  padding: 0;
}

.sound-service-card__title {
  font-family: 'NantesWeb-Bold', Times, serif;
  font-size: 22px;
  font-weight: 400;
  color: #005f69;
  margin: 0 0 12px 0;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.sound-service-card__description {
  font-family: 'untitled-sans-web-regular', Times, serif;
  font-size: 13px;
  line-height: 21px;
  font-weight: 400;
  color: rgb(51, 51, 51);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Work and Reels page spacing */
.site-content {
  padding-top: 24px !important;
}

/* Reel title separator */
.videos .entry-content .title {
  padding-bottom: 20px !important;
  border-bottom: 1px solid #e5e5e5 !important;
  margin-bottom: 20px !important;
}

/* Hide reel descriptions */
.videos .entry-content p {
  display: none !important;
}

/* Reel title link hover */
.videos .entry-content .title a:hover {
  opacity: 0.8;
}

/* Reel detail page spacing */
.reel-detail-page {
  padding-top: 24px !important;
}
