/* Nexora Youth brand + redesigned public pages
   loaded after main.css, colors are sampled from assets/img/logo/nexora-youth-logo.png */

:root {
  --ny-blue: #0071EB;
  --ny-navy: #012367;
  --ny-orange: #FB680E;
  --ny-navy-deep: #05298E;
  --ny-orange-text: #C4510B;
  --ny-blue-soft: #EAF3FF;
  --ny-blue-line: #DCE6F5;
  --ny-orange-soft: #FFF0E6;
  --ny-heading: #012367;
  --ny-body: #3D4C5E;
  --ny-muted: #5B6B7F;
  --ny-bg: #FFFFFF;
  --ny-bg-alt: #F4F8FF;
  --ny-card: #FFFFFF;
  --ny-border: #DCE6F5;
  --ny-success: #1E7B45;
  --ny-error: #B3261E;
  --ny-error-soft: #FDECEA;

  /* the template reads its brand color from these, point them to the logo colors */
  --ztc-text-text-2: #012367;
  --ztc-text-text-4: #0071EB;
  --ztc-text-text-5: #FB680E;
  --ztc-text-text-6: #FB680E;
  --ztc-text-text-7: #EAF3FF;
  --ztc-text-text-9: #DCEBFF;
  --ztc-text-text-13: #012367;
  --ztc-bg-bg-1: #0071EB;
  --ztc-bg-bg-5: #DCEBFF;
  --ztc-bg-bg-10: #FB680E;
  --ztc-bg-bg-13: #EAF3FF;
  --ztc-bg-bg-14: #F4F8FF;
  --ztc-bg-bg-16: #F4F8FF;
}

body {
  color: var(--ny-body);
  background: var(--ny-bg);
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--ny-orange);
  outline-offset: 2px;
}

/* header + mobile menu */
.homepage1-body .header-area.homepage1 .header-elements .main-menu ul {
  white-space: nowrap;
}

.homepage1-body .header-area.homepage1 .header-elements .main-menu ul li a {
  font-size: 15px;
  padding: 0 9px;
  color: var(--ny-navy);
}

.homepage1-body .header-area.homepage1 .header-elements .main-menu ul li a.active {
  color: var(--ny-blue);
  font-weight: var(--ztc-weight-bold);
}

.header-area.homepage1.sticky {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--ny-border);
  box-shadow: 0 6px 24px rgba(1, 35, 103, 0.08);
}

.header-area .site-logo img {
  width: 165px;
  height: auto;
}

.header-area .btn-area .header-btn1 {
  font-size: 15px;
  line-height: 15px;
  white-space: nowrap;
}

@media (min-width: 992px) and (max-width: 1199px) {
  .homepage1-body .header-area.homepage1 .header-elements .main-menu ul li a {
    font-size: 13.5px;
    padding: 0 5px;
  }

  .header-area .site-logo img {
    width: 130px;
  }

  .header-area .btn-area .header-btn1 {
    font-size: 14px;
    line-height: 14px;
    padding: 6px 10px;
  }

  .header-area .btn-area .header-btn1 span {
    display: none;
  }
}

.mobile-header .mobile-logo img {
  height: auto;
}

.mobile-header .mobile-nav-icon {
  cursor: pointer;
  color: var(--ny-navy);
}

.mobile-sidebar .menu-close {
  cursor: pointer;
}

.mobile-sidebar .logos img {
  height: auto;
}

.preloader .loading {
  border-color: var(--ny-blue);
}

/* generic pieces used on the new pages */
.youth-section {
  padding: 80px 0;
  position: relative;
}

.youth-section.alt {
  background: var(--ny-bg-alt);
}

@media (max-width: 767px) {
  .youth-section {
    padding: 56px 0;
  }
}

.youth-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.youth-heading.left {
  margin-left: 0;
  text-align: left;
}

@media (max-width: 767px) {
  .youth-heading {
    margin-bottom: 32px;
  }
}

.youth-heading h5,
.youth-eyebrow {
  display: inline-block;
  font-family: var(--ztc-family-font1);
  font-size: 14px;
  font-weight: var(--ztc-weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ny-orange-text);
  margin-bottom: 12px;
}

.youth-heading h2 {
  font-family: var(--ztc-family-font1);
  font-size: 40px;
  line-height: 1.2;
  font-weight: var(--ztc-weight-bold);
  color: var(--ny-heading);
}

.youth-heading h2 span {
  color: var(--ny-blue);
}

.youth-heading p {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ny-body);
}

@media (max-width: 767px) {
  .youth-heading h2 {
    font-size: 30px;
  }

  .youth-heading p {
    font-size: 16px;
  }
}

.youth-card {
  height: 100%;
  background: var(--ny-card);
  border: 1px solid var(--ny-border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 28px rgba(1, 35, 103, 0.05);
}

.youth-card h2,
.youth-card h3,
.youth-card h4 {
  font-family: var(--ztc-family-font1);
  font-size: 22px;
  line-height: 1.3;
  font-weight: var(--ztc-weight-bold);
  color: var(--ny-heading);
  margin-bottom: 10px;
}

.youth-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ny-body);
}

.youth-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  width: 56px;
  border-radius: 50%;
  margin-bottom: 18px;
  font-size: 22px;
  color: var(--ny-blue);
  background: var(--ny-blue-soft);
}

.youth-icon.orange {
  color: var(--ny-orange-text);
  background: var(--ny-orange-soft);
}

.youth-icon.navy {
  color: #fff;
  background: var(--ny-navy);
}

.youth-btn-outline {
  display: inline-block;
  font-family: var(--ztc-family-font1);
  font-size: 18px;
  line-height: 18px;
  font-weight: var(--ztc-weight-bold);
  color: var(--ny-navy);
  background: #fff;
  border: 2px solid var(--ny-navy);
  border-radius: 30px;
  padding: 14px 24px;
  transition: all 0.4s;
}

.youth-btn-outline:hover {
  color: #fff;
  background: var(--ny-navy);
  transform: translateY(-3px);
}

.youth-btn-sm {
  display: inline-block;
  font-family: var(--ztc-family-font1);
  font-size: 15px;
  line-height: 15px;
  font-weight: var(--ztc-weight-bold);
  color: #fff;
  background: var(--ny-blue);
  border: 2px solid var(--ny-blue);
  border-radius: 30px;
  padding: 10px 18px;
  transition: all 0.3s;
}

.youth-btn-sm:hover {
  color: #fff;
  background: var(--ny-navy);
  border-color: var(--ny-navy);
}

.youth-btn-sm.outline {
  color: var(--ny-navy);
  background: #fff;
  border-color: var(--ny-border);
}

.youth-btn-sm.outline:hover {
  color: #fff;
  background: var(--ny-navy);
  border-color: var(--ny-navy);
}

.youth-note {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ny-muted);
}

.youth-check-list + .youth-note,
.youth-tag-list + .youth-note {
  margin-top: 14px;
}

.youth-draft-note {
  border-left: 4px solid var(--ny-orange);
  border-radius: 8px;
  background: var(--ny-orange-soft);
  color: var(--ny-navy);
  padding: 14px 18px;
  font-size: 15px;
  line-height: 1.5;
}

/* inner page header */
.about-header-area.youth-page-header {
  background: linear-gradient(180deg, var(--ny-blue-soft) 0%, #fff 100%);
  padding: 150px 0 60px;
}

.about-header-area.youth-page-header .about-inner-header h1 {
  color: var(--ny-navy);
  font-size: 48px;
  line-height: 1.15;
}

.about-header-area.youth-page-header .about-inner-header h1 span {
  color: var(--ny-blue);
}

.about-header-area.youth-page-header .about-inner-header p {
  max-width: 720px;
  margin: 16px auto 20px;
  font-size: 18px;
  color: var(--ny-body);
}

.about-header-area.youth-page-header .about-inner-header a {
  color: var(--ny-body);
}

.about-header-area.youth-page-header .about-inner-header a span {
  color: var(--ny-blue);
}

@media (max-width: 767px) {
  .about-header-area.youth-page-header {
    padding: 110px 0 40px;
  }

  .about-header-area.youth-page-header .about-inner-header h1 {
    font-size: 32px;
  }
}

.about-header-area.youth-page-header .about-inner-header .youth-icon {
  height: 64px;
  width: 64px;
  font-size: 26px;
}

.youth-sub-title {
  margin: 28px 0 8px;
  font-family: var(--ztc-family-font1);
  font-size: 20px;
  font-weight: var(--ztc-weight-bold);
  color: var(--ny-heading);
}

.youth-card .youth-sub-title {
  margin-top: 18px;
  font-size: 17px;
}

/* about + mission */
.youth-about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.5;
}

.youth-about-list li i {
  margin-top: 4px;
  color: var(--ny-blue);
}

.youth-about-panel {
  border-radius: 20px;
  background: var(--ny-navy);
  color: #fff;
  padding: 36px;
}

.youth-about-panel h3 {
  font-size: 26px;
  font-weight: var(--ztc-weight-bold);
  color: #fff;
  margin-bottom: 20px;
}

.youth-about-panel ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 17px;
  font-weight: var(--ztc-weight-semibold);
}

.youth-about-panel ul li:first-child {
  border-top: 0;
}

.youth-about-panel ul li i {
  width: 40px;
  text-align: center;
  font-size: 20px;
  color: var(--ny-orange);
}

.youth-values-list li {
  margin-top: 6px;
  font-size: 16px;
}

.youth-values-list li::before {
  content: "";
  display: inline-block;
  height: 8px;
  width: 8px;
  border-radius: 50%;
  margin-right: 10px;
  background: var(--ny-orange);
}

/* clubs carousel */
.youth-club-slider {
  position: relative;
  margin: 0 -12px;
  padding-bottom: 56px;
}

.youth-club-slider:not(.slick-initialized) {
  display: flex;
  overflow: hidden;
}

.youth-club-slider:not(.slick-initialized) .youth-club-slide {
  flex: 0 0 33.333%;
}

.youth-club-slider .slick-track {
  display: flex;
}

.youth-club-slider .slick-slide {
  height: auto;
  padding: 0 12px;
}

.youth-club-slider .slick-slide > div {
  height: 100%;
}

.youth-club-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--ny-border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 8px 28px rgba(1, 35, 103, 0.06);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.youth-club-card:hover {
  border-color: var(--ny-blue);
  box-shadow: 0 14px 36px rgba(0, 113, 235, 0.14);
}

.youth-club-card .youth-icon {
  height: 64px;
  width: 64px;
  font-size: 26px;
}

.youth-club-card h2,
.youth-club-card h3 {
  font-family: var(--ztc-family-font1);
  font-size: 22px;
  line-height: 1.3;
  font-weight: var(--ztc-weight-bold);
  color: var(--ny-heading);
}

.youth-club-card p {
  flex-grow: 1;
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.6;
}

.youth-club-card .club-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.youth-club-slider .youth-arrow {
  position: absolute;
  bottom: 0;
  height: 44px;
  width: 44px;
  border-radius: 50%;
  border: 2px solid var(--ny-navy);
  background: #fff;
  color: var(--ny-navy);
  transition: all 0.3s;
  z-index: 2;
}

.youth-club-slider .youth-arrow-prev {
  right: calc(50% + 130px);
}

.youth-club-slider .youth-arrow-next {
  left: calc(50% + 130px);
}

.youth-club-slider .youth-arrow:hover:not(.slick-disabled) {
  background: var(--ny-navy);
  color: #fff;
}

.youth-club-slider .youth-arrow.slick-disabled {
  opacity: 0.4;
  cursor: default;
}

.youth-club-slider .slick-dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.youth-club-slider .slick-dots li {
  display: block;
}

.youth-club-slider .slick-dots button {
  position: relative;
  height: 24px;
  width: 24px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 0;
}

.youth-club-slider .slick-dots button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  height: 10px;
  width: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--ny-border);
  transition: all 0.3s;
}

.youth-club-slider .slick-dots .slick-active button::before {
  width: 24px;
  margin-left: -12px;
  border-radius: 6px;
  background: var(--ny-blue);
}

@media (max-width: 991px) {
  .youth-club-slider:not(.slick-initialized) .youth-club-slide {
    flex: 0 0 50%;
  }
}

@media (max-width: 575px) {
  .youth-club-slider:not(.slick-initialized) .youth-club-slide {
    flex: 0 0 100%;
  }

  .youth-club-slider .youth-arrow-prev {
    right: auto;
    left: 4px;
  }

  .youth-club-slider .youth-arrow-next {
    left: auto;
    right: 4px;
  }

  .youth-club-card {
    padding: 22px;
  }

  .youth-club-slider .slick-dots {
    padding: 0 52px;
    bottom: 12px;
    gap: 0;
  }

  .youth-club-slider .slick-dots button {
    width: 20px;
  }
}

/* clubs directory + club page */
.youth-club-grid .youth-club-card {
  padding: 26px;
}

.youth-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.youth-tag-list li {
  font-size: 15px;
  font-weight: var(--ztc-weight-semibold);
  color: var(--ny-navy);
  background: var(--ny-blue-soft);
  border-radius: 30px;
  padding: 8px 16px;
}

.youth-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.5;
}

.youth-check-list li i {
  margin-top: 4px;
  color: var(--ny-blue);
}

.youth-club-side {
  position: sticky;
  top: 110px;
}

.youth-club-side .header-btn1 {
  margin-top: 8px;
}

@media (max-width: 991px) {
  .youth-club-side {
    position: static;
    margin-top: 24px;
  }
}

/* roles */
.youth-role-card .role-scope {
  display: inline-block;
  font-size: 13px;
  font-weight: var(--ztc-weight-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ny-orange-text);
  margin-bottom: 8px;
}

.youth-role-card .youth-check-list {
  margin: 14px 0 20px;
}

.youth-role-card .role-meta {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--ny-bg-alt);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ny-muted);
}

/* activities */
.youth-activity {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  background: #fff;
  border: 1px solid var(--ny-border);
  border-radius: 14px;
  padding: 20px 22px;
}

.youth-activity .youth-icon {
  flex: 0 0 52px;
  height: 52px;
  width: 52px;
  margin: 0;
  font-size: 20px;
}

.youth-activity h4 {
  font-size: 18px;
  font-weight: var(--ztc-weight-bold);
  color: var(--ny-heading);
}

.youth-activity p {
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.5;
}

/* network chain */
.youth-chain {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.youth-chain li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: var(--ztc-weight-bold);
  color: var(--ny-navy);
  background: #fff;
  border: 1px solid var(--ny-border);
  border-radius: 40px;
  padding: 14px 22px;
}

.youth-chain li i {
  color: var(--ny-blue);
}

.youth-chain li:not(:last-child)::after {
  content: "\f061";
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: var(--ny-orange-text);
}

.youth-chain li:not(:last-child) {
  margin-right: 14px;
}

@media (max-width: 767px) {
  .youth-chain {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  .youth-chain li:not(:last-child) {
    margin-right: 0;
  }

  .youth-chain li:not(:last-child)::after {
    content: "\f063";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -22px;
    transform: translateX(-50%);
  }
}

/* events + research empty states */
.youth-empty {
  height: 100%;
  text-align: center;
  background: #fff;
  border: 2px dashed var(--ny-border);
  border-radius: 18px;
  padding: 40px 28px;
}

.youth-empty .youth-icon {
  margin-bottom: 16px;
}

.youth-empty h3 {
  font-size: 22px;
  font-weight: var(--ztc-weight-bold);
  color: var(--ny-heading);
}

.youth-empty p {
  max-width: 440px;
  margin: 10px auto 0;
  font-size: 16px;
  line-height: 1.6;
}

/* faq */
.youth-faq .accordion-item {
  border: 1px solid var(--ny-border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #fff;
}

.youth-faq .accordion-button {
  font-family: var(--ztc-family-font1);
  font-size: 18px;
  font-weight: var(--ztc-weight-bold);
  color: var(--ny-navy);
  background: #fff;
  padding: 20px 24px;
  box-shadow: none;
}

.youth-faq .accordion-button:not(.collapsed) {
  color: var(--ny-blue);
  background: var(--ny-blue-soft);
}

.youth-faq .accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(251, 104, 14, 0.5);
}

.youth-faq .accordion-body {
  padding: 4px 24px 22px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ny-body);
}

.youth-faq .accordion-body.tint {
  background: var(--ny-blue-soft);
}

/* final cta */
.youth-cta-area {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  color: #fff;
  background: linear-gradient(135deg, var(--ny-navy) 0%, var(--ny-navy-deep) 55%, var(--ny-blue) 100%);
}

.youth-cta-area h2 {
  font-family: var(--ztc-family-font1);
  font-size: 42px;
  line-height: 1.2;
  font-weight: var(--ztc-weight-bold);
  color: #fff;
}

.youth-cta-area p {
  max-width: 640px;
  margin: 16px auto 0;
  font-size: 18px;
  line-height: 1.6;
  color: #E3EDFF;
}

.youth-cta-area .youth-cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.youth-cta-area .header-btn1 {
  background: #fff;
  color: var(--ny-navy);
}

.youth-cta-area .header-btn1:hover {
  color: #fff;
}

.youth-cta-area .header-btn1 span {
  background: var(--ny-navy);
  color: #fff;
}

.youth-cta-area .header-btn1::after {
  background: var(--ny-orange);
}

.youth-cta-area .youth-btn-outline {
  color: #fff;
  background: transparent;
  border-color: #fff;
}

.youth-cta-area .youth-btn-outline:hover {
  color: var(--ny-navy);
  background: #fff;
}

@media (max-width: 767px) {
  .youth-cta-area {
    padding: 56px 0;
  }

  .youth-cta-area h2 {
    font-size: 30px;
  }
}

/* contact page */
.youth-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.youth-contact-item .youth-icon {
  flex: 0 0 56px;
  margin: 0;
}

.youth-contact-item p {
  font-size: 14px;
  color: var(--ny-muted);
}

.youth-contact-item a {
  font-size: 20px;
  font-weight: var(--ztc-weight-bold);
  color: var(--ny-navy);
}

.youth-contact-item a:hover {
  color: var(--ny-blue);
}

/* legal pages */
.youth-legal h2 {
  font-size: 26px;
  font-weight: var(--ztc-weight-bold);
  color: var(--ny-heading);
  margin: 36px 0 12px;
}

.youth-legal p,
.youth-legal li {
  font-size: 17px;
  line-height: 1.7;
}

.youth-legal ul {
  margin: 12px 0 0 22px;
}

.youth-legal ul li {
  list-style: disc;
}

/* keep the redesigned pages from scrolling sideways */
.youth-hero-area,
.youth-section,
.youth-cta-area {
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .header-btn1:hover,
  .youth-btn-outline:hover {
    transform: none;
  }
}
