/*
 Theme Name:   Screenr Child
 Theme URI:    https://www.famethemes.com
 Description:  screenr child theme
 Author:       FameThemes
 Author URI:   https://www.famethemes.com
 Template:     screenr
 Version:      1.0.0
 Text Domain:  screenr-child
*/

/* Add your custom css below
-------------------------------------------------------------- */

.site-branding img {
    max-height: 80px !important;
    width: auto;
}

.site-header {
    line-height: 75px;
    position: relative;
    width: 100%;
    background: #ffffff;
    z-index: 1000;
    -webkit-transition: all 1s ease-out;
    -webkit-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    box-shadow: 0 5px 10px 0 rgba(50, 50, 50, 0.06);
}

.site-header {
    background: #313640 !important;
}

#nav-toggle span {
    background: #ffffff !important;
}

#nav-toggle span:before, #nav-toggle span:after {
background: #ffffff !important;
}

/* Content links only */
.entry-content a,
.entry-summary a,
.site-main a {
  color: #3b5998;
}

.entry-content a:hover,
.entry-summary a:hover,
.site-main a:hover {
  color: #3b5998;
}

/* News Posts */

.post {
padding-top: 20px !important;
}

.single-news-article {
  max-width: 1100px;
  margin: 0 auto;
}

.single-news-header {
  margin-bottom: 30px;
}

.single-news-meta,
.single-news-categories {
  font-size: 0.9em;
  color: #666;
  margin-top: 0.5em;
}

.single-news-categories {
  margin-top: 2rem;
}

.single-news-categories a {
  text-decoration: none;
}

.single-news-categories a:hover {
  text-decoration: underline;
}


.breadcrumbs {
  font-size: 14px;
  margin: 20px 0 10px;
  color: #666;
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs {
  display: block;
  margin: 20px 0 10px;
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

.breadcrumbs a,
.breadcrumbs .current,
.breadcrumbs .sep {
  color: #666;
  text-decoration: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs .sep {
  display: inline;
  margin: 0 4px;
}

.breadcrumbs a + .sep,
.breadcrumbs .sep + a,
.breadcrumbs .sep + .current {
  margin-left: 0;
}

.archive-title {
    font-size: 2em !important;
    color: #00274c;
    font-weight: 600;
    line-height: 32.4px;
}


.nni-news-archive-list li a {
    color: #3b5998;
    font-size: 1.3em !important;
}


.nni-news-content {
    font-size: 1.1em !important;
}

.nni-news-categories {
    color: #3b5998;
    font-size: 0.7em !important;
}

.page-numbers {
    color: #3b5998;
}


/* Hide Screenr page/blog hero on single posts */
.single-post #page-header-cover,
.single-post .section-slider.swiper-slider.fixed.has-image {
  display: none !important;
}


/* news section category style */
.news-categories-box {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.news-categories-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #003366;
  font-weight: 600;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.5rem;
}

.news-categories-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.news-category-pill {
  display: inline-block;
  background-color: #e9ecef;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  color: #003366;
  font-weight: 500;
  transition: all 0.3s ease, color 0.3s ease;
}

.news-category-pill:hover {
  background-color: #d1e0ff;
  color: #0056b3;
  text-decoration: none;
}
/* news section category style */


/* Pagination style */
.pagination-wrapper {
  margin-top: 2em;
  text-align: center;
}

.pagination-wrapper .page-numbers {
  display: inline-block;
  min-width: 46px;
  padding: 11px 14px;
  margin: 0 3px 0 0;
  background: #c9c9c9;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  border-radius: 0;
}

.pagination-wrapper .page-numbers.current,
.pagination-wrapper .page-numbers:hover {
  background: #10c4e8;
  color: #fff;
  text-decoration: none;
}

.pagination-wrapper .page-numbers.dots {
  background: #c9c9c9;
  color: #fff;
}

.pagination-wrapper .next.page-numbers {
  text-transform: uppercase;
  padding-left: 18px;
  padding-right: 18px;
}


/* Breadcrumbs
------------------------------*/
.breadcrumbs {
  font-size: 1em !important;
  padding: 15px 0;
  border-bottom: 1px solid #e9e9e9;
  color: #858585;
  line-height: 1.4;
}

@media screen and (min-width: 720px) {
  .breadcrumbs {
    font-size: 1em;
  }
}

.breadcrumbs a,
.breadcrumbs .current {
  text-decoration: none;
  color: #777777;
  font-weight: 600;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs .sep {
  margin: 0 10px;
  position: relative;
  color: #858585;
}

@media screen and (min-width: 720px) {
  .breadcrumbs .sep {
    margin: 0 14px;
  }
}


/* SCREENR: force mobile/minimized menu on all screen sizes */

/* always show hamburger */
#nav-toggle {
  display: block !important;
  float: right;
  margin-left: 15px;
}

/* turn off desktop horizontal nav */
.main-navigation .nav-menu {
  width: 100% !important;
  display: none;
  float: none !important;
}

/* always use the mobile menu layout */
.nav-menu.nav-menu-mobile {
  display: block !important;
  position: absolute;
  top: 85px;
  right: 0;
  width: 100%;
  background: transparent;
  z-index: 100;
  border-bottom: 1px solid #e9e9e9;
  float: none !important;
}

/* top-level links */
.nav-menu.nav-menu-mobile > li > a {
  padding: 12px 20px;
}

/* disable desktop hover dropdown behavior */
.nav-menu.nav-menu-mobile li:hover ul {
  display: none;
}

/* mobile dropdown structure */
.nav-menu.nav-menu-mobile ul {
  box-shadow: none;
  padding-bottom: 0;
  border: none;
  position: relative;
  top: auto;
  left: 0;
}

.nav-menu.nav-menu-mobile ul ul {
  left: 0;
  top: auto;
}

.nav-menu.nav-menu-mobile ul li:last-child {
  border-bottom: none;
}

.nav-menu.nav-menu-mobile ul li a {
  padding: 12px 35px;
  border-top: none;
}

.nav-menu.nav-menu-mobile ul li a:hover {
  background: transparent;
}

.nav-menu.nav-menu-mobile ul li li a {
  padding: 12px 70px;
  border-top: none;
}

.nav-menu.nav-menu-mobile ul li li li a {
  padding: 12px 105px;
}

/* stacked mobile items */
.nav-menu.nav-menu-mobile li {
  line-height: 20px;
  background: #FFFFFF;
  border-top: 1px solid #e9e9e9;
  width: 100% !important;
  float: none !important;
  white-space: normal;
}

.nav-menu.nav-menu-mobile a {
  color: #777777;
}

.nav-menu.nav-menu-mobile a:hover {
  color: #000000;
}

.nav-menu.nav-menu-mobile li.nav-current-item > a,
.nav-menu.nav-menu-mobile li.current-menu-item > a {
  color: #e86240;
}

/* sub-menu toggle arrows */
.nav-menu.nav-menu-mobile .nav-toggle-subarrow {
  display: block;
  color: #999999;
  border-left: 1px solid #e9e9e9;
  font-weight: normal;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  text-align: center;
  padding: 11px 20px;
  z-index: 10;
  font-size: 22px;
}

/* when theme JS opens a dropdown */
.nav-menu.nav-menu-mobile .nav-toggle-dropdown > ul {
  display: block !important;
}

/* keep desktop transparent-header underline effect from interfering */
@media screen and (min-width: 1140px) {
  .sticky-header.transparent .nav-menu > li > a::after {
    display: none !important;
  }
}

.swiper-slider .swiper-slide .overlay {
  opacity: 0 !important;
  background: transparent !important;
}

/* Quick Links / Resources */

.home #sid1776699986778 > .container,
.home #sid1776699986778  .container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.featured-resources-title {
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    font-size: 36px;
    letter-spacing: 0px;
    text-transform: uppercase;
    font-weight: 600;
    position: relative;
    margin-bottom: 20px;
    color: #0b2e57;
    text-align: center;
}

@media (max-width: 767px) {
.featured-resources-title {
    font-size: 24px;
}
}

.resources-section {
  background: #313640;
  padding: 3rem 2rem;
}

.resources-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  background: #fff;
  padding: 1rem 0;
  margin-bottom: 0;
}

.resources-buttons .tab-link {
  background: none;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #00274c;
  cursor: pointer;
  border-radius: 6px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.resources-buttons .tab-link:hover {
  background: rgba(0, 39, 76, 0.05);
}

.resources-buttons .tab-link.active {
  border: 2px solid #00274c;
  background: #fff;
  color: #00274c;
}

.tab-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  min-height: 600px;
  max-height: 600px;
  overflow: hidden;
  transition: height 0.6s ease;
}

.tab-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  color: #fff;
}

.tab-content.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.tab-content.exiting {
  opacity: 0;
  transform: translateX(-40px);
  pointer-events: none;
}

.tab-image,
.tab-text {
  opacity: 0;
  transition: all 0.8s ease;
}

.tab-image {
  flex: 0 0 50%;
  max-width: 50%;
  transform: translateX(-60px);
}

.tab-text {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 2rem;
  transform: translateX(60px);
  color: #fff;
}

.tab-content.active .tab-image {
  opacity: 1;
  transform: translateX(0);
}

.tab-content.active .tab-text {
  opacity: 1;
  transform: translateX(0);
}

.tab-content.exiting .tab-image {
  opacity: 0;
  transform: translateX(-60px);
}

.tab-content.exiting .tab-text {
  opacity: 0;
  transform: translateX(60px);
}

.tab-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.tab-text,
.tab-text h3,
.tab-text h3 a {
  color: #fff;
}

#sid1776695977691 {
  background: #fff;
}

#sid1776695977691 h2 {
  color: #1E242F;
  font-family: Nord, Arial, sans-serif;
  font-weight: 400;
  font-size: 2em;
}

/* Mobile Quick Links */
@media (max-width: 768px) {
  .resources-buttons {
    display: none !important;
  }

  .tab-content-wrapper {
    min-height: auto !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
  }

  .tab-content,
  .tab-content.active,
  .tab-content.exiting {
    display: block !important;
    position: relative !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    margin-bottom: 2rem;
    min-height: auto;
  }

  .tab-image,
  .tab-text {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    padding: 1rem 0 !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .tab-image img {
    max-width: 100%;
    height: auto;
  }

  .tab-text {
    padding: 0.5rem 1rem !important;
    font-size: 0.95rem;
  }
}

.btn-ai {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 1.5rem;
    border: 2px solid #000;
    background: transparent;
    color: #000;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-ai-inverted {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 1.5rem;
    border: 2px solid #000;
    background: transparent;
    color: #FFF !important;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-ai:hover,
.btn-ai:hover:visited,
.btn-ai:hover:focus {
  color: #ffffff !important;
  background: #313640;
}

.btn-ai:hover .btn-icon,
.btn-ai:hover .btn-icon img {
  color: #ffffff !important;
}

.resource-post-title a {
font-size: 1.3em;
}

.resource-post-title a:hover {
color: #FFF !important;
}

/* hero background */

.swiper-slide-intro {
  position: relative;
  z-index: 2;
}

.swiper-slide-intro .swiper-intro-inner {
  position: relative;
  width: 100%;
}

.swiper-slide-intro .hero-overlay-box {
  position: relative;
  max-width: 1050px;
  width: calc(100% - 260px);
  margin: 0 auto;
  padding: 60px 40px 52px;
  text-align: center;
  z-index: 2;
}

.swiper-slide-intro .hero-overlay-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(95, 105, 125, 0.10);
  border-radius: 26px;
  z-index: -1;
}

@supports ((-webkit-backdrop-filter: blur(3px)) or (backdrop-filter: blur(3px))) {
  .swiper-slide-intro .hero-overlay-box::before {
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }
}

.swiper-slide-intro .hero-overlay-box h1,
.swiper-slide-intro .hero-overlay-box p,
.swiper-slide-intro .hero-overlay-box .btn {
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
  .swiper-slide-intro .hero-overlay-box {
    width: calc(100% - 70px);
    padding: 70px 34px 60px;
  }

  .swiper-slide-intro .hero-overlay-box::before {
    border-radius: 24px;
  }
}

@media (max-width: 767px) {
  .swiper-slide-intro .hero-overlay-box {
    width: calc(100% - 24px);
    padding: 42px 20px 34px;
  }

  .swiper-slide-intro .hero-overlay-box::before {
    border-radius: 18px;
  }
}

/* move logo and nav to sides */

.site-header .container {
  max-width: none !important;
  width: 90% !important;
}


.swiper-slide-intro .hero-overlay-box {
  max-width: 1400px;
  width: calc(100% - 100px);
  padding: 36px 48px 5px;
}

.swiper-slide-intro .hero-overlay-box h1 {
  font-size: 3.6rem;
  line-height: 1.08;
  white-space: nowrap;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 991px) {
  .swiper-slide-intro .hero-overlay-box h1 {
    white-space: normal;
    font-size: 3rem;
  }
}

@media (max-width: 767px) {
  .swiper-slide-intro .hero-overlay-box h1 {
    font-size: 2.2rem;
  }
}


/* ============================
   Screenr News Section
   ============================ */

.entry-grid-more a {
    text-decoration: none;
    color: #0056b3 !important;
    font-weight: 600;
    transition: color 0.3s ease;
    font-size:1em !important;
}


.section-news .section-news-content {
  margin-top: 1.5rem;
}

.section-news #section-news-posts {
  row-gap: 0;
}


/* full row item */
.section-news #section-news-posts > article {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 0 2.25rem;
  margin-bottom: 2.25rem;
  border-bottom: 1px solid #d9d9d9;
  position: relative;
}

/* alternate rows */
.section-news #section-news-posts > article:nth-of-type(even) {
  flex-direction: row-reverse;
}

/* shorter, subtler blue accent line */
.section-news #section-news-posts > article::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 28%;
  width: 44%;
  height: 2px;
  background: #5a84c7;
  opacity: 0.9;
}

/* ============================
   News image
   ============================ */

.section-news .entry-thumb {
  flex: 0 0 340px;
  max-width: 340px;
  width: 340px;
  margin: 0;
}

.section-news .entry-thumb a {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #000;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 8px;
  transition: transform 0.25s ease;
}

.section-news .entry-thumb a:hover {
  transform: scale(1.02);
}

.section-news .entry-thumb a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================
   Text block
   ============================ */

.section-news .entry-grid-elements {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 1rem;
}


.section-news .entry-grid-elements {
    border: 0px !important;
    border-top: 3px solid #e86240;
    padding: 25px 30px 25px 30px;
    background: #FFF;
    color: #777777;
}

.section-news .entry-grid-cate {
  display: none; /* nano.gov look is cleaner without category */
}

.section-news .entry-header {
  margin: 0 0 0.9rem;
}

.section-news .entry-grid-title {
  margin: 0;
  font-size: 1.6rem !important;
  line-height: 1.18;
  font-weight: 700;
  max-width: 780px;
  color: #00274c !important;
  font-weight: bold !important;
}

.section-news .entry-grid-title a {
  color: #00274c !important;
  text-decoration: none;
  transition: color 0.25s ease;
}

.section-news .entry-grid-title a:hover {
  color: #1f5fbf;
}

.section-news .entry-excerpt {
  margin: 0 0 1rem;
  max-width: 760px;
}

.section-news .entry-excerpt p {
  margin: 0;
  color: #666;
  font-size: 1rem;
  line-height: 1.7;
}

.section-news .entry-grid-more {
  margin-top: 0.25rem;
}

.section-news .entry-grid-more a {
  text-decoration: none;
  color: #0056b3;
  font-size: 0.72rem;
  font-weight: 700;
  transition: color 0.25s ease;
}

.section-news .entry-grid-more a:hover {
  color: #003f88;
}

.section-news .entry-grid-more i {
  display: none;
}

/* ============================
   Date
   ============================ */

/* use post meta if Screenr outputs one above title;
   otherwise ignore this block */
.section-news .entry-meta,
.section-news .posted-on,
.section-news .entry-date {
  color: #7a7a7a;
  font-size: 0.68rem;
  margin-bottom: 0.8rem;
}

/* ============================
   Section title
   ============================ */

.section-news .section-title-area {
  text-align: center;
  margin-bottom: 1.25rem;
}

.section-news .section-title {
  margin: 0;
  color: #0b2e57;
}

/* ============================
   Load more button
   ============================ */

.section-news .content-grid-loadmore {
  text-align: center;
  margin-top: 1.75rem;
}

/* ============================
   Responsive
   ============================ */

@media (max-width: 991.98px) {
  .section-news #section-news-posts > article {
    gap: 1.5rem;
  }

  .section-news .entry-thumb {
    flex: 0 0 280px;
    max-width: 280px;
  }

  .section-news .entry-grid-title {
    font-size: 0.96rem;
  }

  .section-news .entry-excerpt p {
    font-size: 0.74rem;
  }
}

@media (max-width: 767.98px) {
  .section-news #section-news-posts > article,
  .section-news #section-news-posts > article:nth-of-type(even) {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding-bottom: 1.75rem;
    margin-bottom: 1.75rem;
  }

  .section-news #section-news-posts > article::after {
    left: 20%;
    width: 60%;
  }

  .section-news .entry-thumb {
    flex: 0 0 auto;
    max-width: 220px;
  }

  .section-news .entry-grid-elements {
    padding-right: 0;
    width: 100%;
  }

  .section-news .entry-grid-title,
  .section-news .entry-excerpt {
    max-width: none;
  }

  .section-news .entry-grid-title {
    font-size: 1rem;
  }

  .section-news .entry-excerpt p {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .section-news .entry-grid-more a {
    font-size: 0.82rem;
  }
}

.section-news .content-grid-loadmore {
    display:none;
}


/* ============================
   Custom footer
   ============================ */

.site-footer.custom-footer {
  background: #313640;
  padding: 38px 20px 42px;
  text-align: center;
}

.site-footer.custom-footer .subfooter {
  max-width: 1200px;
  margin: 0 auto;
}

.site-footer.custom-footer .footer-seal {
  display: block;
  width: 100px;
  height: auto;
  margin: 0 auto 22px;
}

.site-footer.custom-footer .footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 28px;
}

.site-footer.custom-footer .footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.4;
}

.site-footer.custom-footer .footer-links a:hover,
.site-footer.custom-footer .footer-links a:focus {
  text-decoration: underline;
}

/* hide default footer extras if Screenr outputs them */
.site-footer.custom-footer .site-info,
.site-footer.custom-footer .footer-connect,
.site-footer.custom-footer .footer-social {
  display: none;
}

@media (max-width: 767.98px) {
  .site-footer.custom-footer {
    padding: 30px 16px 34px;
  }

  .site-footer.custom-footer .footer-seal {
    width: 84px;
    margin-bottom: 18px;
  }

  .site-footer.custom-footer .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .site-footer.custom-footer .footer-links a {
    font-size: 13px;
  }
}

/* ============================
   Back to top button
   ============================ */

.to-top {
  position: fixed;
  right: 28px;
  bottom: 0;
  width: 44px;
  height: 42px;
  background: #000;
  color: #fff;
  border-radius: 14px 14px 0 0;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.to-top.show {
  display: flex;
}

.to-top:hover {
  transform: translateY(-2px);
}

.to-top i,
.to-top svg {
  font-size: 18px;
  width: 18px;
  height: 18px;
  display: block;
}

@media (max-width: 767.98px) {
  .to-top {
    right: 16px;
    width: 40px;
    height: 38px;
    border-radius: 12px 12px 0 0;
  }
}


/* watermark */




#sid1776709733994::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20%;
  width: 700px;
  height: 700px;
  transform: translateY(-50%);
  background: url(https://test.nitrd.gov/wp-content/uploads/2026/04/quantum-seal-scaled.png) no-repeat center center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

#sid1777207212385::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 20%;
    width: 700px;
    height: 700px;
    transform: translateY(-50%);
    background: url(https://test.nitrd.gov/wp-content/uploads/2026/04/grey-seal.png) no-repeat center center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

#sid1776709733994 .ai-cover {
  width: 100%;
  max-width: 720px; /* adjust as needed */
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 16px; /* softer corners */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); /* soft edge feel */
}

#sid1777207212385 .ai-cover {
  width: 100%;
  max-width: 720px; /* adjust as needed */
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 16px; /* softer corners */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); /* soft edge feel */
}



/* section featured post */

.hero-text {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
}

.hero-title {
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    font-size: 1.5em;
    letter-spacing: 0px;
    text-transform: uppercase;
    font-weight: 600;
    position: relative;
    margin-bottom: 20px;
    color: #00274c;
}



/* banner */

.usa-banner,
.usa-banner__inner,
.usa-banner__header,
.usa-banner__content {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.usa-banner {
  line-height: 1.1;
}

.usa-banner__inner {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  align-items: center !important;
}

.usa-banner__header {
  padding-top: 0.125rem !important;
  padding-bottom: 0 !important;
  min-height: 2rem !important;
  line-height: 1 !important;
  min-height: 20px !important;
}

.usa-banner__header-text {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

.usa-banner__header-flag {
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  vertical-align: middle;
}

@media all and (max-width: 660px) {
  .usa-banner__header {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 1.75rem !important;
  }

  .usa-banner__header-flag {
    padding-top: 0 !important;
  }
}


/* Mobile logo fix */
@media (max-width: 767px) {
  .site-header .container,
  .site-branding {
    display: flex;
    align-items: center;
  }

  .site-header .container {
    justify-content: space-between;
  }

  .site-branding {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
  }

  .site-branding .custom-logo-link {
    display: flex;
    align-items: center;
    line-height: 1;
  }

  .site-branding .custom-logo {
    display: block;
    max-width: 200px;
    width: auto;
    height: auto;
    max-height: 42px; /* controls vertical alignment */
  }

  /* hamburger / mobile menu button */
  .menu-toggle,
  .header-menu-toggle,
  .navbar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
  }
}


.category #page-header-cover {
  display: none !important;
}

.category .site-content {
  padding-top: 0 !important;
}

/* Force custom news search styling */
.nni-news-search input[type="search"],
.nni-news-search .nni-search-input {
    -webkit-appearance: none;
    appearance: none;
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 500px !important;
    height: 3rem !important;
    margin: 0 auto !important;
    padding: 5px 12px 5px 36px !important;
    border: solid 3px #c9c9c9 !important;
    border-radius: 10px !important;
    background: #fff url(/wp-content/uploads/2025/06/searchicon.jpg) no-repeat 8px center !important;
    background-size: 20px 20px !important;
    box-shadow: 0 2px 2px 0 #c2c2c2 !important;
    font-family: 'Droid Sans', sans-serif !important;
    font-size: 24px !important;
    line-height: 28px !important;
    text-align: center !important;
    color: #222 !important;
}

.nni-news-search {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 3em;
    margin: 1em 0 2em;
}



#sid1777209739992 .container {
    padding-right: .5rem !important;
    padding-left: .5rem !important;
    margin-right: auto;
    margin-left: auto;
    max-width: 70% !important;
}

/* ============================
   Agencies EO support
   ============================ */

#sid1777209739992 {
  background: #f7f8fa;
}

#sid1777209739992 .container {
  max-width: 1320px !important;
  width: 100% !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  margin-left: auto;
  margin-right: auto;
}

#sid1777209739992 .custom-section-content {
  position: relative;
  z-index: 1;
}

#sid1777209739992 .agency-announcements-wrap {
  margin-top: 20px;
}

#sid1777209739992 .agency-announcements-intro {
  max-width: 850px;
  margin: 0 auto 32px;
  text-align: center;
}

#sid1777209739992 .agency-announcements-intro p {
  font-size: 1.08rem;
  line-height: 1.7;
  color: #4d5a66;
  margin: 0;
}

/* Main two-column layout */
#sid1777209739992 .agency-announcements-grid {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

/* Left agency tabs card */
#sid1777209739992 .agency-tabs {
  background: #ffffff;
  border: 1px solid #e4e8ee;
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 18px 45px rgba(15, 35, 55, 0.08);
  margin: 0;
}

/* Individual tab button */
#sid1777209739992 .agency-tab {
  width: 100%;
  border: 0;
  background: transparent;
  color: #1f2d3d;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 20px;
  text-align: left;
  padding: 18px 24px 18px 32px;
  margin: 2px 0;
  border-radius: 13px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.25s ease;
}

#sid1777209739992 .agency-tab:hover {
  background: #f3f7fb;
  color: #003366;
}

#sid1777209739992 .agency-tab.active {
  background: linear-gradient(135deg, #003366, #005ea8);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 51, 102, 0.22);
}

/* Agency name */
#sid1777209739992 .agency-tab-label {
  display: block;
  width: 100%;
  max-width: none;
  min-width: 0;
  line-height: 1.35;
  text-align: left;
}

/* Sidebar arrow */
#sid1777209739992 .agency-tab-arrow {
  justify-self: end;
  font-size: 1.7rem;
  line-height: 1;
  opacity: 0.75;
  margin-left: 16px;
  transition: transform 0.25s ease;
}

#sid1777209739992 .agency-tab.active .agency-tab-arrow,
#sid1777209739992 .agency-tab:hover .agency-tab-arrow {
  transform: translateX(3px);
}

/* Right content panel */
#sid1777209739992 .agency-panel {
  position: relative;
  min-height: 430px;
  background:
    radial-gradient(circle at top right, rgba(0, 94, 168, 0.12), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #e4e8ee;
  border-radius: 22px;
  padding: 42px;
  box-shadow: 0 18px 45px rgba(15, 35, 55, 0.08);
  overflow: hidden;
}

#sid1777209739992 .agency-panel::before {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(0, 51, 102, 0.06);
  pointer-events: none;
}

#sid1777209739992 .agency-content {
  display: none;
  position: relative;
  z-index: 1;
  animation: agencyFade 0.28s ease;
}

#sid1777209739992 .agency-content.active {
  display: block;
}

#sid1777209739992 .agency-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eaf3fb;
  color: #005ea8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#sid1777209739992 .agency-content h3 {
  margin: 0 0 16px;
  color: #003366;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  line-height: 1.15;
  font-weight: 800;
}

#sid1777209739992 .agency-content p {
  color: #405060;
  font-size: 1.06rem;
  line-height: 1.75;
  margin: 0 0 22px;
}

#sid1777209739992 .agency-content ul {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

#sid1777209739992 .agency-content li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: #334455;
  line-height: 1.55;
}

#sid1777209739992 .agency-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #005ea8;
  box-shadow: 0 0 0 5px rgba(0, 94, 168, 0.12);
}

/* Read announcement button */
#sid1777209739992 .agency-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #003366;
  color: #ffffff !important;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.25s ease;
}

#sid1777209739992 .agency-link::after {
  content: "\2197";
  font-size: 1.4rem;
  line-height: 1;
  display: inline-block;
  margin-left: 2px;
}

#sid1777209739992 .agency-link:hover {
  background: #005ea8;
  color: #ffffff !important;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 51, 102, 0.22);
}

@keyframes agencyFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet */
@media (max-width: 991px) {
  #sid1777209739992 .container {
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  #sid1777209739992 .agency-announcements-grid {
    grid-template-columns: 1fr;
  }

  #sid1777209739992 .agency-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #sid1777209739992 .agency-panel {
    min-height: auto;
  }
}

/* Mobile */
@media (max-width: 600px) {
  #sid1777209739992 .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  #sid1777209739992 .agency-tabs {
    grid-template-columns: 1fr;
  }

  #sid1777209739992 .agency-panel {
    padding: 28px 22px;
    border-radius: 18px;
  }

  #sid1777209739992 .agency-tab {
    padding: 14px 16px;
    column-gap: 14px;
  }

  #sid1777209739992 .agency-tab-arrow {
    margin-left: 10px;
  }
}

/* FINAL OVERRIDE - Agencies EO layout fix */

#sid1777209739992 .container {
  max-width: 1320px !important;
  width: 100% !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#sid1777209739992 .agency-announcements-grid {
  display: grid !important;
  grid-template-columns: 400px minmax(0, 1fr) !important;
  gap: 28px !important;
  align-items: stretch !important;
}

#sid1777209739992 .agency-tabs {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 12px !important;
  margin: 0 !important;
}

#sid1777209739992 .agency-tab {
  width: 100% !important;
  min-height: 74px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  padding: 18px 22px 18px 30px !important;
  margin: 0 !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

#sid1777209739992 .agency-tab-label {
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  text-align: left !important;
  line-height: 1.35 !important;
}

#sid1777209739992 .agency-tab-arrow {
  flex: 0 0 auto !important;
  margin-left: auto !important;
  text-align: right !important;
  line-height: 1 !important;
}

@media (max-width: 991px) {
  #sid1777209739992 .agency-announcements-grid {
    grid-template-columns: 1fr !important;
  }

  #sid1777209739992 .agency-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 600px) {
  #sid1777209739992 .agency-tabs {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================
   Agencies EO support - mobile accordion
   ========================================= */

@media (max-width: 767px) {
  #sid1777209739992 .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  #sid1777209739992 .agency-announcements-grid {
    display: block !important;
  }

  #sid1777209739992 .agency-tabs {
    display: block !important;
    padding: 10px !important;
    border-radius: 18px !important;
  }

  #sid1777209739992 .agency-tab {
    width: 100% !important;
    min-height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 18px 22px !important;
    margin: 0 0 8px !important;
    text-align: left !important;
  }

  #sid1777209739992 .agency-tab-label {
    flex: 1 1 auto !important;
    text-align: left !important;
    line-height: 1.35 !important;
  }

  #sid1777209739992 .agency-tab-arrow {
    flex: 0 0 auto !important;
    margin-left: 16px !important;
  }

  /* Hide the desktop/right-side panel on mobile */
  #sid1777209739992 .agency-announcements-grid > .agency-panel {
    display: none !important;
  }

  /* Mobile content inserted under active tab */
  #sid1777209739992 .agency-mobile-panel {
    display: none;
    margin: -2px 0 14px;
    padding: 22px 20px;
    background:
      radial-gradient(circle at top right, rgba(0, 94, 168, 0.10), transparent 36%),
      linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #e4e8ee;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(15, 35, 55, 0.08);
  }

  #sid1777209739992 .agency-mobile-panel.active {
    display: block;
    animation: agencyFade 0.25s ease;
  }

  #sid1777209739992 .agency-mobile-panel .agency-content {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
  }

  #sid1777209739992 .agency-mobile-panel .agency-kicker {
    font-size: 0.72rem;
    margin-bottom: 12px;
  }

  #sid1777209739992 .agency-mobile-panel h3 {
    font-size: 1.55rem;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  #sid1777209739992 .agency-mobile-panel p {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  #sid1777209739992 .agency-mobile-panel ul {
    margin-bottom: 22px;
  }

  #sid1777209739992 .agency-mobile-panel li {
    font-size: 0.94rem;
    line-height: 1.5;
  }

  #sid1777209739992 .agency-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}



/* Global body font */
html,
body,
button,
input,
select,
textarea,
a,
p,
span,
div,
li,
td,
th,
label,
blockquote,
figcaption,
caption {
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif !important;
}

/* Headings and major titles */
h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.entry-title,
.site-title,
.page-title,
.resource-post-title,
.featured-resources-title {
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif !important;
  font-weight: 700;
}

/* Navigation and buttons */
.main-navigation a,
.menu-item a,
button,
.button,
.btn,
.wp-block-button__link,
input[type="submit"] {
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif !important;
  font-weight: 600;
}


.nav-menu a {
    z-index: 1;
    letter-spacing: -.02em;
    font-size: 2rem !important;
    line-height: 1.2;
    position: relative;
}


/* Default page header background when no featured image is selected */
#page-header-cover.no-image {
    background-image: url('/wp-content/themes/screenr-child/images/default-page-header.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Make sure the inner slider does not cover the background */
#page-header-cover.no-image .swiper-container,
#page-header-cover.no-image .swiper-wrapper,
#page-header-cover.no-image .swiper-slide {
    background: transparent !important;
}

/* Optional: add dark overlay so title is readable */
#page-header-cover.no-image .swiper-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 39, 76, 0.45);
    z-index: 1;
}

/* Keep title above overlay */
#page-header-cover.no-image .swiper-slide-intro {
    position: relative;
    z-index: 2;
}



#sid1777209739992 .agency-panel::before {
    content: "";
    position: absolute;
    bottom: -70px;
    right: -80px;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.55;
    background:
        radial-gradient(circle at center, transparent 0 35%, rgba(0, 94, 168, 0.12) 36%, transparent 37%),
        radial-gradient(circle at center, transparent 0 52%, rgba(0, 94, 168, 0.10) 53%, transparent 54%),
        radial-gradient(circle at center, transparent 0 68%, rgba(0, 94, 168, 0.08) 69%, transparent 70%);
}

#sid1777209739992 .agency-panel::after {
    content: "";
    position: absolute;
    bottom: 52px;
    right: 58px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #005ea8;
    box-shadow:
        -58px -44px 0 rgba(0, 94, 168, 0.45),
        -118px -96px 0 rgba(0, 94, 168, 0.28),
        -28px -128px 0 rgba(16, 35, 63, 0.22);
    pointer-events: none;
}

#sid1777209739992 .agency-panel > * {
    position: relative;
    z-index: 1;
}


/* menu */

/* =========================================================
   Screenr Mobile Menu 
   ========================================================= */

/* Main mobile menu container */
.nav-menu.nav-menu-mobile {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100%;
    background: linear-gradient(90deg, #182234 0%, #1c2839 100%);
}

/* Menu rows */
.nav-menu.nav-menu-mobile > li {
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    background: transparent !important;
    border: 0 !important;
}

/* Subtle divider instead of full bright line */
.nav-menu.nav-menu-mobile > li::after {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.nav-menu.nav-menu-mobile > li:last-child::after {
    display: none;
}

/* Menu links */
.nav-menu.nav-menu-mobile > li > a {
    position: relative;
    display: flex !important;
    align-items: center;
    min-height: 82px;
    padding: 18px 72px 18px 28px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(2rem, 5vw, 3.25rem) !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: -0.045em !important;
    text-transform: none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease;
}

/* Remove old pseudo arrows/stems */
.nav-menu.nav-menu-mobile > li > a::before {
    display: none !important;
    content: none !important;
}

/* Clean SVG arrow */
.nav-menu.nav-menu-mobile > li > a::after {
    content: "";
    position: absolute;
    right: 28px;
    top: 50%;
    width: 28px;
    height: 28px;
    transform: translateY(-50%);
    border: 0 !important;
    background-color: transparent !important;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 29L29 11M16 11H29V24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.85;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

/* Hover/focus/current state */
.nav-menu.nav-menu-mobile > li > a:hover,
.nav-menu.nav-menu-mobile > li > a:focus,
.nav-menu.nav-menu-mobile > li.current-menu-item > a,
.nav-menu.nav-menu-mobile > li.current_page_item > a {
    background: rgba(255, 255, 255, 0.035) !important;
    color: #ffffff !important;
    transform: translateX(8px);
}

/* Arrow motion */
.nav-menu.nav-menu-mobile > li > a:hover::after,
.nav-menu.nav-menu-mobile > li > a:focus::after,
.nav-menu.nav-menu-mobile > li.current-menu-item > a::after,
.nav-menu.nav-menu-mobile > li.current_page_item > a::after {
    transform: translate(4px, calc(-50% - 4px));
    opacity: 1;
}

/* Keep current item subtle */
.nav-menu.nav-menu-mobile > li.current-menu-item > a,
.nav-menu.nav-menu-mobile > li.current_page_item > a {
    background: rgba(255, 255, 255, 0.05) !important;
}

/* Hide search image icon */
.nav-menu.nav-menu-mobile .search-icon,
.nav-menu.nav-menu-mobile .search-icon img {
    display: none !important;
}

/* Convert image-only search item into a text row */
.nav-menu.nav-menu-mobile > li.menu-item-850 > a {
    font-size: 0 !important;
    color: transparent !important;
}

/* Search label */
.nav-menu.nav-menu-mobile > li.menu-item-850::before {
    content: "Search";
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.045em;
}

/* Move search label on hover too */
.nav-menu.nav-menu-mobile > li.menu-item-850:hover::before,
.nav-menu.nav-menu-mobile > li.menu-item-850:focus-within::before,
.nav-menu.nav-menu-mobile > li.menu-item-850.current-menu-item::before {
    transform: translate(8px, -50%);
}

/* Better tap behavior */
.nav-menu.nav-menu-mobile > li > a,
.nav-menu.nav-menu-mobile > li.menu-item-850::before {
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

/* Remove default theme effects */
.nav-menu.nav-menu-mobile,
.nav-menu.nav-menu-mobile li,
.nav-menu.nav-menu-mobile a {
    box-shadow: none !important;
}

/* Tablet */
@media (max-width: 900px) {
    .nav-menu.nav-menu-mobile > li > a {
        min-height: 76px;
        padding: 16px 66px 16px 24px !important;
        font-size: clamp(1.85rem, 6vw, 3rem) !important;
    }

    .nav-menu.nav-menu-mobile > li > a::after {
        right: 24px;
        width: 26px;
        height: 26px;
    }

    .nav-menu.nav-menu-mobile > li::after {
        left: 24px;
        right: 24px;
    }

    .nav-menu.nav-menu-mobile > li.menu-item-850::before {
        left: 24px;
        font-size: clamp(1.85rem, 6vw, 3rem);
    }
}

/* Phone */
@media (max-width: 600px) {
    .nav-menu.nav-menu-mobile > li > a {
        min-height: 66px;
        padding: 13px 56px 13px 20px !important;
        font-size: clamp(1.55rem, 7vw, 2.35rem) !important;
        letter-spacing: -0.035em !important;
    }

    .nav-menu.nav-menu-mobile > li > a::after {
        right: 20px;
        width: 22px;
        height: 22px;
    }

    .nav-menu.nav-menu-mobile > li::after {
        left: 20px;
        right: 20px;
        background: rgba(255, 255, 255, 0.07);
    }

    .nav-menu.nav-menu-mobile > li.menu-item-850::before {
        left: 20px;
        font-size: clamp(1.55rem, 7vw, 2.35rem);
        letter-spacing: -0.035em;
    }

    .nav-menu.nav-menu-mobile > li > a:hover,
    .nav-menu.nav-menu-mobile > li > a:focus,
    .nav-menu.nav-menu-mobile > li.current-menu-item > a,
    .nav-menu.nav-menu-mobile > li.current_page_item > a {
        transform: translateX(5px);
    }

    .nav-menu.nav-menu-mobile > li.menu-item-850:hover::before,
    .nav-menu.nav-menu-mobile > li.menu-item-850:focus-within::before,
    .nav-menu.nav-menu-mobile > li.menu-item-850.current-menu-item::before {
        transform: translate(5px, -50%);
    }
}

/* Small phones */
@media (max-width: 420px) {
    .nav-menu.nav-menu-mobile > li > a {
        min-height: 58px;
        padding: 11px 50px 11px 18px !important;
        font-size: clamp(1.35rem, 7vw, 2rem) !important;
    }

    .nav-menu.nav-menu-mobile > li > a::after {
        right: 18px;
        width: 20px;
        height: 20px;
    }

    .nav-menu.nav-menu-mobile > li::after {
        left: 18px;
        right: 18px;
    }

    .nav-menu.nav-menu-mobile > li.menu-item-850::before {
        left: 18px;
        font-size: clamp(1.35rem, 7vw, 2rem);
    }
}

@media (max-width: 1140px) {
    .main-navigation,
    .main-navigation .nav-menu-mobile,
    .site-header .nav-menu-mobile,
    .site-header .main-navigation,
    .site-header .menu,
    .site-header .menu-mobile,
    .site-header .nav-menu {
        background: #202833 !important;
    }

    .nav-menu.nav-menu-mobile {
        background: linear-gradient(90deg, #182234 0%, #1c2839 100%) !important;
    }
}

/* Fix extra empty space below mobile menu */
@media (max-width: 1140px) {
    .site-header .nav-menu.nav-menu-mobile,
    .main-navigation .nav-menu.nav-menu-mobile,
    .nav-menu.nav-menu-mobile {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .nav-menu.nav-menu-mobile > li:last-child,
    .nav-menu.nav-menu-mobile > li:last-child > a {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .nav-menu.nav-menu-mobile > li:last-child > a {
        min-height: 66px;
        padding-top: 13px !important;
        padding-bottom: 13px !important;
    }

    .nav-menu.nav-menu-mobile::after,
    .nav-menu.nav-menu-mobile > li:last-child::after {
        display: none !important;
        content: none !important;
    }
}


/* Keep each row full width, but center the link group */
.nav-menu.nav-menu-mobile > li {
    display: flex !important;
    justify-content: center !important;
}

/* Menu item becomes a centered wider group */
.nav-menu.nav-menu-mobile > li > a {
    width: min(82vw, 860px) !important;
    max-width: 860px !important;
    min-height: 76px;
    padding: 16px 68px 16px 24px !important;
    box-sizing: border-box;
}

/* Arrow is still inside the centered group, just farther from text */
.nav-menu.nav-menu-mobile > li > a::after {
    right: 24px !important;
}

/* Divider follows the centered content */
.nav-menu.nav-menu-mobile > li::after {
    left: 50% !important;
    right: auto !important;
    width: min(82vw, 860px) !important;
    transform: translateX(-50%);
}

/* Search row label aligns with the centered group */
.nav-menu.nav-menu-mobile > li.menu-item-850::before {
    left: calc(50% - min(41vw, 430px) + 24px) !important;
}

.nav-menu.nav-menu-mobile > li > a:hover::after,
.nav-menu.nav-menu-mobile > li > a:focus::after,
.nav-menu.nav-menu-mobile > li.current-menu-item > a::after,
.nav-menu.nav-menu-mobile > li.current_page_item > a::after {
    width: 34px !important;
    height: 34px !important;
    opacity: 1 !important;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.45));
    transform: translate(6px, calc(-50% - 6px)) scale(1.08) !important;
}

/* Make the normal arrow a little quieter by comparison */
.nav-menu.nav-menu-mobile > li > a::after {
    opacity: 0.58 !important;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease,
        filter 0.25s ease,
        width 0.25s ease,
        height 0.25s ease;
}

.nav-menu.nav-menu-mobile > li > a:hover,
.nav-menu.nav-menu-mobile > li > a:focus,
.nav-menu.nav-menu-mobile > li.current-menu-item > a,
.nav-menu.nav-menu-mobile > li.current_page_item > a {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.035),
        rgba(255, 255, 255, 0.075)
    ) !important;
}

/* Hovered/current arrow points right */
.nav-menu.nav-menu-mobile > li > a:hover::after,
.nav-menu.nav-menu-mobile > li > a:focus::after,
.nav-menu.nav-menu-mobile > li.current-menu-item > a::after,
.nav-menu.nav-menu-mobile > li.current_page_item > a::after {
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 20H30M22 12L30 20L22 28' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") !important;
    width: 34px !important;
    height: 34px !important;
    opacity: 1 !important;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.45));
    transform: translate(6px, -50%) scale(1.08) !important;
}


    /* Slightly narrower centered content area */
    .nav-menu.nav-menu-mobile > li > a {
        width: min(76vw, 820px) !important;
        max-width: 820px !important;
        border-radius: 0;
        transition:
            transform 0.25s ease,
            background-color 0.25s ease,
            box-shadow 0.25s ease,
            color 0.25s ease;
    }

    .nav-menu.nav-menu-mobile > li::after {
        width: min(76vw, 820px) !important;
    }

    .nav-menu.nav-menu-mobile > li.menu-item-850::before {
        left: calc(50% - min(38vw, 410px) + 24px) !important;
    }

    /* Normal arrows: quieter */
    .nav-menu.nav-menu-mobile > li > a::after {
        opacity: 0.45 !important;
        width: 22px !important;
        height: 22px !important;
        right: 26px !important;
        filter: none !important;
    }

    /* Hover row: softer, more polished */
    .nav-menu.nav-menu-mobile > li > a:hover,
    .nav-menu.nav-menu-mobile > li > a:focus,
    .nav-menu.nav-menu-mobile > li.current-menu-item > a,
    .nav-menu.nav-menu-mobile > li.current_page_item > a {
        background:
            linear-gradient(
                90deg,
                rgba(255, 255, 255, 0.10),
                rgba(255, 255, 255, 0.045)
            ) !important;
        box-shadow:
            inset 4px 0 0 rgba(0, 146, 255, 0.95),
            0 12px 26px rgba(0, 0, 0, 0.12);
        transform: translateX(6px);
    }

    /* Hover arrow: right-pointing, stronger */
    .nav-menu.nav-menu-mobile > li > a:hover::after,
    .nav-menu.nav-menu-mobile > li > a:focus::after,
    .nav-menu.nav-menu-mobile > li.current-menu-item > a::after,
    .nav-menu.nav-menu-mobile > li.current_page_item > a::after {
        width: 32px !important;
        height: 32px !important;
        right: 22px !important;
        opacity: 1 !important;
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.35));
        background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 20H30M22 12L30 20L22 28' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") !important;
        transform: translate(4px, -50%) scale(1.08) !important;
    }


    .nav-menu.nav-menu-mobile > li::after {
        background: rgba(255, 255, 255, 0.055) !important;
    }


/* QIS image clipping only */

#qis-quantum-information-science .col-md-6.text-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

#qis-quantum-information-science .ai-cover-wrap {
    position: relative;
    width: min(100%, 520px);
    display: inline-block;
}

/* Main clipped image */
#qis-quantum-information-science .ai-cover {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    clip-path: polygon(
        0 0,
        90% 0,
        100% 50%,
        90% 100%,
        0 100%
    );
    box-shadow: 0 18px 38px rgba(15, 35, 55, 0.12);
    background: #fff;
}

/* Left vertical bar | */
#qis-quantum-information-science .ai-cover-wrap::before {
    content: "";
    position: absolute;
    left: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 74%;
    border-radius: 4px;
    background: linear-gradient(180deg, #003e73, #005ea8);
    box-shadow: 0 0 12px rgba(0, 94, 168, 0.22);
    z-index: 2;
}

/* Right chevron > outside image, closer and slightly more bent */
#qis-quantum-information-science .ai-cover-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -16px;   /* closer to image */
    transform: translateY(-50%);
    width: 44px;    /* a bit wider = slightly stronger bend */
    height: 74%;
    background: linear-gradient(180deg, #003e73, #005ea8);
    clip-path: polygon(
        0 0,
        8px 0,
        100% 50%,
        8px 100%,
        0 100%,
        calc(100% - 8px) 50%
    );
    box-shadow: 0 0 12px rgba(0, 94, 168, 0.22);
    z-index: 2;
}

/* Tablet */
@media (max-width: 991px) {
    #qis-quantum-information-science .row.align-items-center {
        row-gap: 2rem;
    }

    #qis-quantum-information-science .ai-cover-wrap {
        width: min(100%, 440px);
    }

    #qis-quantum-information-science .ai-cover-wrap::before {
        left: -12px;
        width: 5px;
    }

    #qis-quantum-information-science .ai-cover-wrap::after {
        right: -30px;
        width: 38px;
        clip-path: polygon(
            0 0,
            7px 0,
            100% 50%,
            7px 100%,
            0 100%,
            calc(100% - 7px) 50%
        );
    }
}

/* Mobile */
@media (max-width: 767px) {
    #qis-quantum-information-science .col-md-6.text-center {
        justify-content: center;
    }

    #qis-quantum-information-science .ai-cover-wrap {
        width: min(100%, 360px);
    }

    #qis-quantum-information-science .ai-cover-wrap::before {
        left: -10px;
        width: 5px;
        height: 72%;
    }

    #qis-quantum-information-science .ai-cover-wrap::after {
        right: -24px;
        width: 30px;
        height: 72%;
        clip-path: polygon(
            0 0,
            6px 0,
            100% 50%,
            6px 100%,
            0 100%,
            calc(100% - 6px) 50%
        );
    }
}

/* Left-align only the text in table body rows */
#Publications tbody td {
  text-align: left !important;
}

/* Optional: align row content to the top */
#Publications tbody td {
  vertical-align: top;
}

/* Remove Screenr archive banner on Events archive */
.post-type-archive-events #page-header-cover {
    display: none !important;
}

/* ==================================================
   Events Multi-Select Filters
================================================== */

.post-type-archive-events .events-filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    position: relative;
}

.post-type-archive-events .events-multiselect {
    position: relative;
}

.post-type-archive-events .events-multiselect-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 0 1rem;
    color: #0066cc;
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    border: 2px solid #0066cc;
    border-radius: 0;
    background: #ffffff;
    cursor: pointer;
}

.post-type-archive-events .events-multiselect-panel {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 50;
    width: 100%;
    max-height: 320px;
    overflow-y: auto;
    padding: 1rem;
    border: 1px solid #9aa4b2;
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
}

.post-type-archive-events .events-multiselect.is-open .events-multiselect-panel {
    display: block;
}

.post-type-archive-events .events-checkbox-option {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 0.8rem;
    color: #111111;
    font-size: 1rem;
    line-height: 1.35;
    cursor: pointer;
}

.post-type-archive-events .events-checkbox-option:last-child {
    margin-bottom: 0;
}

.post-type-archive-events .events-checkbox-option input {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin: 0;
}

.post-type-archive-events .events-checkbox-option span {
    flex: 0 1 auto;
}

.post-type-archive-events .events-checkbox-option em {
    color: #6b7280;
    font-size: 0.9rem;
    font-style: italic;
}

/* Active filter chips */
.post-type-archive-events .events-active-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0 0 1rem;
}

.post-type-archive-events .events-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 38px;
    padding: 0.35rem 0.75rem;
    color: #ffffff !important;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    background: #0066cc;
    border: 1px solid #0066cc;
    border-radius: 4px;
}

.post-type-archive-events .events-filter-chip:hover {
    background: #004b93;
    border-color: #004b93;
}

.post-type-archive-events .events-filter-chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    color: #0066cc;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    background: #ffffff;
    border-radius: 999px;
}

.post-type-archive-events .events-reset-filters {
    color: #0066cc !important;
    font-weight: 700;
    text-decoration: none !important;
}

.post-type-archive-events .events-reset-filters:hover {
    text-decoration: underline !important;
}

/* Sort row stays on one line */
.post-type-archive-events .events-sort-control {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 0.75rem !important;
    white-space: nowrap !important;
}

.post-type-archive-events .events-sort-control label {
    margin: 0 !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
}

.post-type-archive-events .events-sort-select {
    width: auto !important;
    min-width: 240px !important;
    max-width: 280px !important;
}

@media (max-width: 800px) {
    .post-type-archive-events .events-filter-grid {
        grid-template-columns: 1fr;
    }

    .post-type-archive-events .events-multiselect-panel {
        position: relative;
        top: auto;
        left: auto;
        margin-top: 0.5rem;
    }

    .post-type-archive-events .events-sort-control {
        width: 100% !important;
        align-items: center !important;
        flex-direction: row !important;
    }

    .post-type-archive-events .events-sort-select {
        width: auto !important;
        min-width: 220px !important;
    }
}