/*
Theme Name: NCC2026
Description: Child theme of Twenty Twenty-Five
Author: Matt Harris
Author URI: https://riotactstudios.com
Template: twentytwentyfive
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive-child
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.2
*/

*:focus {
  outline: none;
}

:root {
  --bodyfont: Open Sans, sans-serif;
  --headingfont: Montserrat, sans-serif;
  --body-textcolor: #1A1B21;
  --body-border: #eaeaea;
  --ncc-orange: #D14F42;
  --ncc-blue: #7DBCC2;
  --ncc-dark-blue: #135675;
  --ncc-yellow: #F9C22E;
}

.mobile-hidden,
.is-layout-flex.mobile-hidden {
  display: none;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

.wp-block-button > .wp-block-button__link.wp-element-button {
  background-color: var(--ncc-blue);
  color: #fff;
  transition: all 0.3s ease;
}

.wp-block-button > .wp-block-button__link.wp-element-button:hover {
  background-color: var(--ncc-orange);
  color: #fff;
}

a {
  text-decoration: none;
}

strong {
  font-weight: 500;
}

/* Adminbar Fix */
#wpadminbar {
  position: fixed;
}

/* Anchor Link Fix - Works with Sticky */
[id] {
  scroll-margin-top: 100px;
}

/*-------------------------------*/
/*- Header ----------------------*/
/*-------------------------------*/

.wp-block-template-part {
  position: relative;
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9;
  width: 100%;
  background-color: #000;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

body.admin-bar #header {
  top: 32px;
}

#header.is-stuck {
  position: fixed;
  z-index: 10;
  background-color: #000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#header .header-logo {
  width: 350px;
  max-width: 75%;
}

#header .header-logo img {
  width: 100%;
  height: auto;
  display: block;
  filter: invert(1);
}

/*#header.is-stuck .header-logo img {
  content: url('assets/img/logo-black.svg');
}*/

#header.is-stuck .header-menu > li > a {
  color: #fff;
}

#header .header-button .wp-block-button__link:hover {
  border-color: #fff !important;
  background-color: #fff !important;
  color: #000 !important;
}

#header.is-stuck .header-button .wp-block-button__link {
  border-color: #000;
  color: #000 !important;
}

#header.is-stuck .header-button .wp-block-button__link:hover {
  background-color: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
}

#header.is-stuck .mobile-menu-open {
  color: var(--body-textcolor);
}

/*-------------------------------*/
/*- Header Menu -----------------*/
/*-------------------------------*/

.header-menu-wrapper {
  position: relative;
}

.header-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: right;
}

.header-menu > li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-block;
  position: relative;
}

.header-menu li:before {
  content: none;
}

.header-menu > li > a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0 20px;
  height: 60px;
  line-height: 60px;
  font-family: var(--bodyfont);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.header-menu > li:first-child > a {
  margin-left: 0;
}

.header-menu > li:last-child > a {
  margin-right: 0;
}

.header-menu > li:hover a {
  color: #fff;
}

.header-menu > li > a:before {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--ncc-orange);
  transition: all 0.3s ease;
}

.header-menu > li:hover > a:before,
.header-menu > li.current-menu-item > a:before {
  width: 100%;
}

.header-menu > li.menu-item-has-children:hover > a:before,
.header-menu > li.current-menu-item.menu-item-has-children > a:before {
  width: calc(100% - 17px);
} 

.header-menu > li.menu-item-has-children > a:after {
  content: '\f107';
  font: var(--fa-font-sharp-solid);
  margin-left: 5px;
  font-size: 10px;
}

.header-menu > li > .sub-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 999;
  min-width: 220px;
  background-color: #fff;
  border: 1px solid var(--color-border);
  text-align: left;
  margin: 0;
  padding: 0;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.05);
}

.header-menu > li > .sub-menu:after {
  content: '';
  display: block;
  position: absolute;
  left: 20px;
  top: -8px;
  width: 15px;
  height: 15px;
  background-color: #fff;
  border: solid 1px var(--color-border);
  border-right-color: transparent;
  border-bottom-color: transparent;
  transform-origin: center center;
  transform: rotate(45deg);
}

.header-menu > li.menu-item-has-children:hover > .sub-menu {
  display: block;
}

.header-menu > li > .sub-menu > li {
  display: block;
  margin:  0;
  padding: 0 13px;
  border-bottom: 1px solid var(--color-border);
}

.header-menu > li > .sub-menu > li:last-child {
  border-bottom: 0;
}

.header-menu > li > .sub-menu > li > a {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-body);
  padding: 10px;
  margin: 0;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.header-menu > li > .sub-menu > li a:hover,
.header-menu > li.current-menu-item > a  {
  color: var(--ncc-blue);
}

.header-menu > li.menu-slide {
  cursor: pointer;
}

/*-------------------------------*/
/*- Mobile Menu -----------------*/
/*-------------------------------*/

.mobile-menu-open {
  font-size: 20px;
  color: #fff;
}

#mobile-menu-container {
  height: 100%;
  width: 100vw; /* Fixed width to match viewport */
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  background-color: #232020;
  overflow-x: hidden;
  transform: translateX(-100%); /* Initially offscreen */
  transition: transform 0.5s ease; /* Delay visibility on slide-out */
  box-sizing: border-box;
  max-width: 100vw; /* Prevent exceeding viewport */
}

#mobile-menu-container.open {
  transform: translateX(0); /* Slide in */
  transition: transform 0.5s ease; /* No delay on slide-in */
}

#mobile-menu-container .closebtn {
  position: absolute; /* Relative to #mobile-menu-container */
  top: 20px;
  right: 20px;
  font-size: 60px;
  color: #fff;
  z-index: 10000;
  padding: 0;
  margin: 0;
}

#mobile-menu-container * {
  max-width: 100%;
  box-sizing: border-box;
}

.mobile-menu-content {
  position: relative;
  top: 50px;
  width: 100%;
  margin-top: 30px;
  transform: translateX(0); /* Ensure content moves with container */
  transition: transform 0.5s ease; /* Sync with container */
}

#mobile-menu-container:not(.open) .mobile-menu-content {
  transform: translateX(-100%); /* Slide out with container */
}

.menu-mobile {
  padding: 0 0 30px 0;
}

.menu-mobile li {
  list-style: none;
  margin: 0;
}

.menu-mobile li:before {
  content: none;
}

.menu-mobile li a {
  position: relative;
  display: block;
  padding: 10px 20px;
  transition: all .3s ease;
  color: var(--body-accentcolor);
}

.menu-mobile li.menu-toggle > a:after {
  position: absolute;
  content: '';
  top: 50%;
  right: 20px;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid #aaa;
  border-right: 2px solid #aaa;
  transform: translateY(-50%) rotate(45deg);
}

.menu-mobile li.menu-toggle > a.active:after {
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(-135deg);
}

.menu-mobile li a.active {
  color: #fff;
  background: var(--body-accentcolor);
}

.menu-mobile .sub-menu {
  display: none;
  margin: 0;
  padding: 0;
}

.menu-mobile .sub-menu li a {
  padding: 10px 20px 10px 40px;
}

.menu-mobile .sub-menu li .sub-menu li a {
  padding: 10px 20px 10px 60px;
}

.menu-mobile .current-menu-item a {
  color: #fff;
}

@media (max-width: 400px) {
  #mobile-menu-container .closebtn {
    right: 10px; /* Adjust for smaller screens */
    font-size: 40px; /* Smaller font size */
  }
}

/*-------------------------------*/
/*- Footer Menu -----------------*/
/*-------------------------------*/

.mf-footer__image {
  width: 140px !important;
  max-width: 140px;
  flex: 0 0 140px; /* prevents flexbox from shrinking it */
}

.mf-footer__image img {
  width: 100%;
  height: auto;
  max-width: none; /* override WP */
}

.livestockx-logo img {
  height: 20px;
  width: auto;
}

.footer-links a {
  font-size: 12px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--body-accentcolor);
}

.footer-location a {
  font-size: 13px;
  font-weight: 900;
  transition: all 0.3s ease;
}

.footer-location a:hover {
  color: var(--body-accentcolor);
}

/*-------------------------------*/
/*- Triangle Effect -------------*/
/*-------------------------------*/

.ncc-angle {
    position: relative !important;
    overflow: hidden !important;
    clip-path: polygon(
      0 0,
      100% 0,
      100% 100%,
      50% 85%,
      0 100%
    );
    z-index: 3;
}

.ncc-angle + * {
  position: relative;
  z-index: 1;
}

.ncc-peak {
    --peak-height: 100px;
    height: var(--peak-height);
    clip-path: polygon(
        0 100%,
        50% 0,
        100% 100%
    );
    margin-bottom: -2px;
    transform: translateY(1px);
}

/*-------------------------------*/
/*- Background Texture ----------*/
/*-------------------------------*/

.ncc-texture,
.ncc-footer-texture {
  position: relative;
}

.ncc-texture::before,
.ncc-footer-texture::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-image: url(assets/img/noise.png);
  background-repeat: repeat;
  opacity: .15;
  z-index: 1;
}

.ncc-footer-texture::before {
  background-image: url(assets/img/footer-noise.png);
  opacity: .20;
}

.ncc-texture > *,
.ncc-footer-texture > * {
  position: relative !important;
  z-index: 2 !important;
}

/*-------------------------------*/
/*- Heading Underline -----------*/
/*-------------------------------*/

.ncc-highlight {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.ncc-highlight::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
  width: 100%;
  height: 20px;
  background-color: var(--ncc-orange);
}

/*-------------------------------*/
/*- Hero Services ---------------*/
/*-------------------------------*/

.ncc-service-border {
  position: relative;
}

.ncc-service-border::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: #fff;
}

.ncc-service-details {
  width: 100%;
}

/*-------------------------------*/
/*- NCC Video -------------------*/
/*-------------------------------*/

.ncc-video {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  top: -100px;
}

/* Hide controls before playback */
.plyr:not(.plyr--playing) .plyr__controls {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Show controls while playing */
.plyr.plyr--playing .plyr__controls {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.plyr:not(.plyr--playing) .plyr__controls::before {
    display: none;
}

.plyr {
    --plyr-color-main: var(--ncc-orange);
}

/*-------------------------------*/
/*- Ministry Card ---------------*/
/*-------------------------------*/

.ncc-ministry-card {
    position: relative;
    overflow: hidden;
}

.ncc-ministry-card__image-wrapper {
    position: relative;
    inset: 0;
    z-index: 1;
}

.ncc-ministry-card__img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    aspect-ratio: 3 / 4;
}

/* Editor support */
.acf-block-preview .ncc-ministry-card__img,
.block-editor-block-list__block .ncc-ministry-card__img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.ncc-ministry-card__overlay {
    position: absolute;
    inset: 0;
    background-color: var(--overlay);
    z-index: 2;
    transition: background-color 0.3s ease;
}

.ncc-ministry-card:hover .ncc-ministry-card__overlay {
    background-color: var(--overlay-hover);
}

.ncc-ministry-card__content {
    position: absolute;
    z-index: 3;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    max-width: 90%;
    text-align: center;
    padding: 2rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*-------------------------------*/
/* Upcoming Events List ---------*/
/*-------------------------------*/

.ncc-upcoming-events-list {
    color: #fff;
    overflow: hidden;
}

.ncc-event-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 1.25rem 1.5rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #333;
    transition: background 0.2s;
}

.ncc-event-row:last-child {
    border-bottom: none;
}

.ncc-event-row:hover {
    background: rgba(0,0,0,.3);
}

.ncc-event-date {
    color: var(--ncc-yellow);
    font-weight: 700;
    text-transform: uppercase;
    width: 100%;
    flex-shrink: 0;
}

.ncc-event-info {
    flex: 1;
}

.ncc-event-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

.ncc-event-location {
    color: #aaa;
    font-size: 0.95rem;
    margin-top: 4px;
}

.ncc-event-arrow {
    font-size: 1.4rem;
    color: #666;
    transition: transform 0.2s;
}

.ncc-event-row:hover .ncc-event-arrow {
    transform: translateX(4px);
    color: #facc15;
}

.ncc-no-events {
    padding: 2rem;
    text-align: center;
    color: #888;
}

/*-------------------------------*/
/* Single Event Date ------------*/
/*-------------------------------*/

.ncc-single-event-schedule {
  color: #fff;
}

.ncc-event-section-title {
  margin: 0 0 20px 0;
  color: var(--ncc-dark-blue);
}

.ncc-event-details {
    display: flex;
    flex-direction: column;
}

.ncc-event-detail {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--body-border);
}

.ncc-event-detail.ncc-detail-center {
  justify-content: center;
}

.ncc-event-detail:first-child {
    padding-top: 0;
}

.ncc-event-detail:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.ncc-event-detail__label {
    flex: 0 0 90px;
    font-weight: 700;
}

.ncc-event-detail__value {
    flex: 1;
    min-width: 0;
}

.ncc-event-detail.ncc-detail-center .ncc-event-detail__value {
    flex: 0 0 auto;
}

.ncc-event-detail__value a.wp-element-button {
  display: block;
}

@media (max-width: 600px) {

    .ncc-event-detail {
        gap: 12px;
    }

    .ncc-event-detail__label {
        flex-basis: 75px;
    }

}


/* Event When block */

.ncc-event-when__date {
    display: flex;
    flex-wrap: wrap;
    gap: .3em;
}

.ncc-event-when__weekday {
    font-weight: 700;
}

.ncc-event-when__full-date {
    display: block;
}


/* Calendar Dropdown */

.ncc-event-when__calendar {
    position: relative;
    display: inline-block;
}

.ncc-calendar-toggle,
.ncc-event-directions {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--ncc-dark-blue);
  color: var(--ncc-dark-blue);
  background: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1;
  transition: all 0.3s ease;
}

.ncc-calendar-toggle:hover,
.ncc-event-directions:hover {
  background: var(--ncc-dark-blue);
  color: #fff;
}

.ncc-calendar-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 20;
    display: none;
    min-width: 220px;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

.ncc-calendar-dropdown.is-open {
    display: block;
}

.ncc-calendar-dropdown li {
    margin: 0;
}

.ncc-calendar-dropdown a {
    display: block;
    padding: 10px 16px;
    color: inherit;
    text-decoration: none;
}

.ncc-calendar-dropdown a:hover,
.ncc-calendar-dropdown a:focus {
    background: #f5f5f5;
}

/*-------------------------------*/
/* Latest Sermon Player ---------*/
/*-------------------------------*/

.wp-block-ncc-latest-sermon,
.ncc-latest-sermon {
  position: relative;
  min-height: 400px;
  width: 100%;
  overflow: hidden;
  background-color: #000;
  border-bottom-right-radius: 16px;
  border-bottom-left-radius: 16px;
}

.ncc-video-bg {
  height: 100%;
  background-color: #000;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ncc-video-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 1;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.ncc-video-wrapper iframe,
#ncc-player {
  height: auto;
  min-width: 100%;
  min-height: 400px;
  aspect-ratio: 16 / 9;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  filter: none !important;
  transition: filter 0.4s ease;
}

/* Dark overlay */
.ncc-video-wrapper:before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.35);
  z-index: 3;
}

/* Fade Overlay for clip transitions */
.ncc-video-fade-overlay {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  transition: opacity 0.65s ease-in-out;
  z-index: 8;
  pointer-events: none;
}

.ncc-video-fade-overlay.ncc-fade-active {
  opacity: 1;
}

/* Play Button */
.ncc-cover-video-content {
  position: absolute;
  bottom: 50px;
  left: 20px;
  width: calc(100% - 40px);
  display: flex;
  align-items: center;
  z-index: 20;
}

/* Latest Sermon Play Button */
.ncc-video-button {
  display: inline-block;
  position: relative;
}

.ncc-video-button.is-play {
  background-color: #fff;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}

.ncc-video-button .ncc-video-button-outer-circle {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
}

.ncc-video-button .ncc-video-button-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  transform: translate(-50%, -50%);
}

/* SVG Icon */
.ncc-video-button .triangle {
  animation: fadeIn 7s ease forwards;
}

.ncc-video-button .path {
  stroke-dasharray: 90;
  stroke-dashoffset: 0;
  animation: triangleStroke 3s ease forwards;
}

/* Pulsing Animation */
.ncc-video-button .has-scale-animation {
  animation: smallScale 2.8s infinite ease-in-out !important;
}

.ncc-video-button .ncc-delay,
.has-delay-short {
  animation-delay: 0.4s !important;
}

/* Title */
.ncc-video-title {
  margin-left: 24px;
}

.ncc-video-title h3,
.ncc-video-title h5 {
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes triangleStroke {
  from { stroke-dashoffset: 90; }
  to { stroke-dashoffset: 0; }
}

@keyframes smallScale {
  0%, 100% {
      transform: scale(1);
      opacity: 0.9;
  }
  50% {
      transform: scale(1.18);
      opacity: 1;
  }
}

/* Responsive */
@media (min-width: 750px) {
    .wp-block-ncc-latest-sermon,
    .ncc-latest-sermon {
        min-height: 600px;
    }
    
    .ncc-video-wrapper iframe,
    #ncc-player {
        min-height: 600px;
    }
    
    .ncc-video-button.is-play {
        width: 110px;
        height: 110px;
    }
}

/*-------------------------------*/
/*- Media Library ---------------*/
/*-------------------------------*/

.ncc-media-library {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px 12px;
}

.ncc-media-item {
  display: block;
  width: calc((100% / 2) - 6px);
}

.ncc-media-thumb {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.ncc-media-thumb img {
  display: block;
  width: 100%;
  height: auto;
  transition: all 0.6s ease;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ncc-media-item:hover img {
  scale: 1.05;
}

.ncc-media-title {
  margin: 10px 0 0 0;
  font-size: 12px;
  text-transform: none;
  font-weight: 600;
}

.ncc-media-meta {
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: 12px;
  color: #8b8b8b;
}

.ncc-media-meta span {
  display: block;
}

.ncc-media-meta span.ncc-media-speaker {
  display: none;
}

.ncc-media-meta span.ncc-media-divider {
  display: none;
  margin: 0 10px;
}

.sermon-series {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media (min-width: 750px) {
  .ncc-media-title { font-size: 14px; }
  .ncc-media-meta span.ncc-media-speaker { display: block; }
  .ncc-media-meta span.ncc-media-divider { display: block; }
}

@media (min-width: 1000px) {
  .ncc-media-item { width: calc((100% / 3) - 8px); }
  .ncc-media-title { font-size: 16px; }
  .sermon-series .ncc-media-item { width: 48%; }
}

/*-------------------------------*/
/*- Sermon Player ---------------*/
/*-------------------------------*/

.ncc-player-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ncc-player-title h1 {
  text-transform: none;
  font-size: 24px;
}

.ncc-player-speaker {
  color: var(--ncc-blue);
  font-weight: 600;
}

.ncc-player-actions ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.ncc-player-actions li {
  display: block;
}

.ncc-player-actions li a {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ncc-player-action-icon {
  position: relative;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background-color: var(--ncc-blue);
  color: var(--body-textcolor);
}

.ncc-player-action-icon i {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
}

#spotify {
  display: none;
  width: 100%;
  max-width: 800px;
  border-radius: .75rem;
  padding: 0;
  background: rgba(58, 88, 95, 255);
}

/*-------------------------------*/
/*- Sermon Series ---------------*/
/*-------------------------------*/

.ncc-sermon-series {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.ncc-series-item {
  display: block;
  width: calc(50% - 10px);
}

.ncc-series-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}

.ncc-series-title {
  color: var(--ncc-dark-blue);
}

/*-------------------------------*/
/*- Sermon Author ---------------*/
/*-------------------------------*/

.wp-block-acf-sermon-author {
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
  border-radius: 10px;
  gap: 20px;
}

.wp-block-acf-sermon-author img {
  display: block;
  width: 150px;
  height: 150px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.sermon-author-profile {
  width: calc(100% - 170px);
}

.sermon-author-profile h4 {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.sermon-author-profile h4::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  z-index: -1;
  width: 100%;
  height: 5px;
  background-color: var(--ncc-orange);
}

/*-------------------------------*/
/*- Content Navigation -----------*/
/*-------------------------------*/

.ncc-content-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.ncc-content-navigation__link {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.ncc-content-navigation__icon {
  position: relative;
  width: 40px;
  height: 40px;
  border: 1px solid var(--body-border);
  color: var(--ncc-dark-blue);
  transition: all 0.3s ease;
}

.ncc-content-navigation__icon i {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.ncc-content-navigation__label {
  font-size: 12px;
  color: var(--body-textcolor);
}

.ncc-content-navigation__title {
  font-weight: 700;
  color: var(--ncc-dark-blue);
  transition: all 0.3s ease;
}

.ncc-content-navigation__link--next .ncc-content-navigation__content {
  text-align: right;
}

.ncc-content-navigation__link:hover .ncc-content-navigation__icon {
  color: var(--ncc-orange);
}

.ncc-content-navigation__link:hover .ncc-content-navigation__title {
  color: var(--ncc-orange);
}

/*-------------------------------*/
/*- Sermon Taxonomy -------------*/
/*-------------------------------*/

.series-image img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

/*-------------------------------*/
/*- Sermon Thumbnail ------------*/
/*-------------------------------*/

.ncc-sermon-thumbnail {
  overflow: hidden;
  border-radius: 10px;
}

.ncc-sermon-thumbnail__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: all 0.3s ease;
}

.ncc-sermon-thumbnail__image:hover {
  scale: 1.05;
}

/*-------------------------------*/
/*- Pagination ------------------*/
/*-------------------------------*/

.ncc-pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ncc-pagination .nav-links .page-numbers {
  width: 40px;
  line-height: 40px;
  border-radius: 50%;
  text-align: center;
  margin: 0 2px;
}

.ncc-pagination .nav-links .page-numbers {
  color: var(--body-textcolor);
}

.ncc-pagination .nav-links .page-numbers:hover {
  background-color: var(--ncc-orange);
  color: #fff;
}

.ncc-pagination .nav-links .page-numbers.current {
  background-color: var(--ncc-orange);
  color: #fff;
}

.ncc-pagination .nav-links .page-numbers.disabled {
  color: var(--body-border);
}

.ncc-pagination .nav-links .page-numbers.disabled:hover {
  background-color: transparent;
}

/*-------------------------------*/
/*- Gravity Forms ---------------*/
/*-------------------------------*/ 

.gform_heading {
  display: none !important;
}

/*-------------------------------*/
/*- Map -------------------------*/
/*-------------------------------*/ 

.large-map {
  height: 342px;
  border-radius: 8px;
}

/*-------------------------------*/
/*- Content Slider --------------*/
/*-------------------------------*/ 

.ncc-content-slider {
  position: relative;
}

.ncc-content-slider .slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9;
  color: rgba(255,255,255, .6);
  font-size: 72px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ncc-content-slider .slick-arrow:hover {
  color: rgba(255,255,255, 1);
}

.ncc-content-slider .slick-prev {
  left: 20px;
}

.ncc-content-slider .slick-next {
  right: 20px;
}

/* Dot container */
.ncc-content-slider .slick-dots {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  z-index: 9;
}

.ncc-content-slider .slick-dots li {
  margin: 0;
  padding: 0;
}

/* Hide the numbers */
.ncc-content-slider .slick-dots button {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: transparent;
  font-size: 0;
  line-height: 0;
  color: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background-color .3s ease, transform .3s ease;
}

/* Active dot */
.ncc-content-slider .slick-dots .slick-active button {
  background: #fff;
}

/* Optional hover */
.ncc-content-slider .slick-dots button:hover {
  transform: scale(1.15);
}

/*-------------------------------*/
/*- Larger Than Phone -----------*/
/*-------------------------------*/ 

@media (min-width: 750px) {

}

/*-------------------------------*/
/*- Larger Than iPad ------------*/
/*-------------------------------*/ 

@media (min-width: 1000px) {

  .mobile-menu-open {
    display: none;
  }

  .header-menu, body .mobile-hidden-flex,
  .is-layout-flex.mobile-hidden {
    display: flex;
  }

  .mobile-hidden {
    display: block;
  }

  .ncc-peak {
    --peak-height: 200px;
    height: var(--peak-height);
  }

}


/*-------------------------------*/
/*- Full Width ------------------*/
/*-------------------------------*/ 

@media (min-width: 1350px) {
  .ncc-peak {
    --peak-height: 250px;
    height: var(--peak-height);
  }
}