:root { --hdr-h: 96px; }
@media (max-width: 768px){ :root { --hdr-h: 72px; } }

.menu{
  position: absolute;               
  top:0; left:0; right:0;
  z-index: 10000;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

.menu .container,
.menu:before,
.menu:after { background: transparent !important; box-shadow:none !important; border:0 !important; }

.menu .collapse-menu a,
.menu a {color: #000;}
.menu .collapse-menu a:hover { opacity:.9; }

.inner-hero{
  position: relative;
  z-index: 1;
  color:#fff;
  min-height: clamp(220px, 32vw, 400px);
  display:flex;
  align-items:flex-end;
  padding-bottom: 20px;
  background: linear-gradient(0deg, rgba(0,0,0,.50), rgba(0,0,0,.50)),
    var(--hero-img, url('/wp-content/uploads/2025/11/bnn-2.webp')) no-repeat center / cover,
    #000;
  margin-top: calc(-1 * var(--hdr-h));
  background-position-x: center;
}


 .inner-hero .hero-wrap{padding-top: 250px;}

 .inner-hero .hero-eyebrow{margin: 0 0 0;color: var(--white, #FBF9FF);font-family: Montserrat;font-size: 24px;font-style: normal;font-weight: 400;line-height: normal;justify-self: center;}
.inner-hero .hero-title{
  margin:0;
  text-shadow:0 2px 14px rgba(0,0,0,.35);
  font-weight: 400;
  line-height: 100%; /* 100px */
  color: #FFF;
  text-align: center;
  font-family: Montserrat;
  font-size: 50px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
}

 .page{ margin-top:0 !important; padding-top:0 !important; }
main, .site-main, .content { padding-top:0 !important; }

 @media (max-width:768px){
  .inner-hero{
    background-position:center top, center top, center;
    background-size:cover, cover, auto;
  }
section.latest-section .container-lg {
    padding: 20px;
}

}

 
 .container.hero-wrap h1 {
    color: #fff;
    justify-self: center;
    text-align: center;
}

.container.hero-wrap .h1-small {
    color: #FFF;
    font-family: Avenir;
    font-size: 23px;
    text-align: center;
    font-style: normal;
    margin-left: 24px;
    font-weight: 400;
    line-height: 200%; /* 50px */
    letter-spacing: 39.25px;
    text-transform: uppercase;
}

/* News Details Section */
.news-details-section{
  padding: 50px 0;
}

.news-details-hero{
  margin: 0 0 50px;
  overflow: hidden;
  /* justify-self: center; */
}
.reverse:before{
  transform: rotate(180deg);
}
.news-details-hero img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-width: 1030px;
  justify-self: center;
}

/* Content */
.news-details-content{
  /* max-width: 980px; */
  margin: 0 auto;
  /* padding-bottom: clamp(26px, 3vw, 44px); */
}

.news-details-title{
  margin: 0 0 14px;
  color: var(--main, #000);

/* h2 */
  font-family: 'bodoni';
  font-size: 60px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.news-details-text p{
  margin: 0 0 27px;
  color: #000;

/* p */
  font-family: Avenir;
  font-size: 19px;
  font-style: normal;
  font-weight: 600;
  line-height: 26px; /* 144.444% */
}

.news-details-text p:last-child{
  margin-bottom: 30px;
}


section.news-details-section .container {
    /* padding: 0 350px; */
    max-width: 1620px;
}

.container.hero-wrap .latest-date {display: flex;justify-self: center;margin-bottom: 40px;margin-top: 20px;}

 
/* subtle hover */
@media (hover:hover){
  .ndg-item:hover img{
    transform: scale(1.05);
    opacity: .95;
  }
}

/* Responsive */
@media (max-width: 980px){
  .news-details-gallery{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px){
  .news-details-hero img{
    aspect-ratio: 1;
  }
.container.hero-wrap .h1-small {font-size:16px;}
  .news-details-gallery{
    grid-template-columns: 1fr;
  }
}

/* ===== News Details Gallery (NO SWIPER) ===== */
.news-details-gallery{
  margin-top: 34px;
}

/* main */
.news-gallery-main{
  display: block;
  width: 100%;
  margin: 0 0 22px 0;
}
.news-gallery-main img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

/* thumbs strip */
.news-thumbs-wrap{
  position: relative;
  width: 100%;
}

.news-thumbs-strip{
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding-right: 44px;
}
.news-thumbs-strip::-webkit-scrollbar{ display:none; }

.news-thumb{
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  opacity: .65;
  transition: opacity .2s ease, transform .2s ease;
  flex: 0 0 calc((100% - 54px) / 4);
}
.news-thumb.is-active{
  opacity: 1;
  transform: translateY(-1px);
}

.news-thumb img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 5 / 3;
}

/* arrows */
.ng-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 0;
  cursor: pointer;
  background: rgba(0,0,0,.75);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ng-nav::before{
  content: "";
  width: 22px;
  height: 22px;
  display: block;
  background-color: #fff;
  -webkit-mask: url('/wp-content/themes/privilege-marine-cnm/assets/img/icons/long-arrow-right.svg') no-repeat center / contain;
  mask: url('/wp-content/themes/privilege-marine-cnm/assets/img/icons/long-arrow-right.svg') no-repeat center / contain;
}
.ng-prev{ left: 2px; }
.ng-next{ right: 2px; }
.ng-prev::before{ transform: rotate(180deg); }

/* back button */
.news-details-back{
  margin-top: 28px;
  display: flex;
  justify-content: flex-end;
}

/* responsive */
@media (max-width: 782px){
  .news-details-gallery{ margin-top: 26px; }
  .news-gallery-main img{ aspect-ratio: 4 / 3; }
  .news-details-back{ justify-content: center; }
  .news-thumbs-strip{ gap: 12px; padding-right: 40px; }
  .news-thumb{ flex: 0 0 calc((100% - 24px) / 3); }
}

/* ================= Contact ================= */
.contact-section{
  padding: 50px 0;
  background: #fff;
}

.contact-grid{
  display:flex;
  gap: clamp(30px, 4vw, 80px);
  align-items:flex-start;
  place-self: center;
}

.contact-left{
  flex: 1.1;
  min-width: 320px;
}

.contact-right{
  /* flex: 1; */
  /* min-width: 320px; */
}

/* left text */
.contact-copy p{color: #000;max-width:450px;
/* p */font-family: Avenir;font-size: 18px;font-style: normal;font-weight: 400;line-height: 26px; /* 144.444% */margin-bottom: 50px;}

/* logos */
.contact-logos{
  margin: 0 0 26px;
}
.contact-logos img{
  width: min(320px, 100%);
  height: auto;
  display:block;
  margin-bottom: 50px;
  object-position: center;
}

/* info lines */
.contact-info{
  display:flex;
  flex-direction:column;
  gap: 10px;
  margin: 0 0 18px;
}

.contact-line{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  text-decoration:none;
  color: var(--main, #000);
  font-family: Arial;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.contact-line img{
  width: 17px;
  height: auto;
  margin-top: 2px;
  display:block;
  flex: 0 0 16px;
}
.contact-line:hover{
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* socials */
.contact-social{
  display:flex;
  align-items:center;
  gap: 17px;
}
.contact-social a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  /* width: 28px; */
  height: 28px;
  /* border-radius: 999px; */
}
.contact-social img{
  width: 18px;
  height: 18px;
  display:block;
  opacity: .9;
  transition: opacity .2s ease, transform .2s ease;
}
span.loc-icon {
    margin-top: 3px;
}
.contact-social a:hover img{
  opacity: 1;
  transform: translateY(-1px);
}

/* ============ Gravity Forms (ID 1) styling ============ */
 

 
/* Responsive */
@media (max-width: 980px){
  .contact-grid{
    flex-direction:column;
    place-self: baseline;
  }
  .contact-right .gform_wrapper{
    margin-left: 0;
    max-width: 100%;
  }
  .contact-right .gfield--width-half{
    width: 100% !important;
  }
.contact-copy p{max-width:100%}
}

/* ================= Video Details (top hero video) ================= */
.video-details-hero{
  position: relative;
  margin: 0 0 30px;
  background: #000;
  overflow: hidden;
}

.video-details-media{
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-details-play{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: transparent;
  z-index: 2;
}

.video-details-play img{
  width: 100%;
  height: auto;
  display: block;
}

.video-details-hero.is-playing .video-details-play{
  display: none;
}

/* If you enable the YouTube block later */
.video-details-embed{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.video-details-embed iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Mobile tweaks */
@media (max-width: 782px){
  .video-details-play{
    width: 56px;
    height: 56px;
  }
}


/* Blog edits */
section.latest-section.error-page h1,section.latest-section.error-page h3 {
    margin-bottom: 20px;
    text-align: left;
}

.wp-block-embed__wrapper {
    margin: 40px 0;
}

h3.wp-block-heading {
    text-align: left;
    margin-top: 15px;
    margin-bottom: 20px;
}

ul.wp-block-list li::marker {
}

ul.wp-block-list {
    margin-bottom: 12px;
}

ul.wp-block-list li {
    vertical-align: text-bottom;
    margin-bottom: 10px;
}
/* GF #2 – Field #7: override any theme rule hiding select text
#gform_wrapper_2 #field_2_7 .ginput_container_select select#input_2_7{
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  text-fill-color: #000 !important;
  opacity: 1 !important;
  text-indent: 0 !important;
  text-shadow: none !important;

  /* stop “custom select” tricks
  background: #fff !important;
  -webkit-appearance: auto !important;
  appearance: auto !important;
  filter: none !important;
}

/* Ensure options render normally
#gform_wrapper_2 #field_2_7 .ginput_container_select select#input_2_7 option{
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}
*/