/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on October 23, 2025 */



/* Grift Font Family */

@font-face {
  font-family: 'Grift';
  src: url('/wp-content/themes/uncode-child/fonts/grift/grift-extralight-webfont.woff2') format('woff2'),
       url('/wp-content/themes/uncode-child/fonts/grift/grift-extralight-webfont.woff') format('woff');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Grift';
  src: url('/wp-content/themes/uncode-child/fonts/grift/grift-extralightitalic-webfont.woff2') format('woff2'),
       url('/wp-content/themes/uncode-child/fonts/grift/grift-extralightitalic-webfont.woff') format('woff');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Grift';
  src: url('/wp-content/themes/uncode-child/fonts/grift/grift-regular-webfont.woff2') format('woff2'),
       url('/wp-content/themes/uncode-child/fonts/grift/grift-regular-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Grift';
  src: url('/wp-content/themes/uncode-child/fonts/grift/grift-italic-webfont.woff2') format('woff2'),
       url('/wp-content/themes/uncode-child/fonts/grift/grift-italic-webfont.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Grift';
  src: url('/wp-content/themes/uncode-child/fonts/grift/grift-medium-webfont.woff2') format('woff2'),
       url('/wp-content/themes/uncode-child/fonts/grift/grift-medium-webfont.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Grift';
  src: url('/wp-content/themes/uncode-child/fonts/grift/grift-mediumitalic-webfont.woff2') format('woff2'),
       url('/wp-content/themes/uncode-child/fonts/grift/grift-mediumitalic-webfont.woff') format('woff');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Grift';
  src: url('/wp-content/themes/uncode-child/fonts/grift/grift-semibold-webfont.woff2') format('woff2'),
       url('/wp-content/themes/uncode-child/fonts/grift/grift-semibold-webfont.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Grift';
  src: url('/wp-content/themes/uncode-child/fonts/grift/grift-semibolditalic-webfont.woff2') format('woff2'),
       url('/wp-content/themes/uncode-child/fonts/grift/grift-semibolditalic-webfont.woff') format('woff');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Grift';
  src: url('/wp-content/themes/uncode-child/fonts/grift/grift-bold-webfont.woff2') format('woff2'),
       url('/wp-content/themes/uncode-child/fonts/grift/grift-bold-webfont.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Grift';
  src: url('/wp-content/themes/uncode-child/fonts/grift/grift-bolditalic-webfont.woff2') format('woff2'),
       url('/wp-content/themes/uncode-child/fonts/grift/grift-bolditalic-webfont.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Grift';
  src: url('/wp-content/themes/uncode-child/fonts/grift/grift-extrabold-webfont.woff2') format('woff2'),
       url('/wp-content/themes/uncode-child/fonts/grift/grift-extrabold-webfont.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Grift';
  src: url('/wp-content/themes/uncode-child/fonts/grift/grift-extrabolditalic-webfont.woff2') format('woff2'),
       url('/wp-content/themes/uncode-child/fonts/grift/grift-extrabolditalic-webfont.woff') format('woff');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

.next-header {
	margin:24px;
	border-radius:27px;
}
.next-header-mobile .t-entry-visual {
	border-radius: 10px;
}

.video-bg-wrapper {
  position: relative;
  width: 100%;
  /* maintain video aspect ratio */
  aspect-ratio: 16 / 9; 
  max-width: 100%;
  overflow: hidden;
  background: #000;
}

.video-bg-wrapper video {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  
  width: auto;
  height: 100%;          /* fill wrapper height */
  max-height: 100%;
  
  object-fit: none;      /* keep natural video dimensions */
  object-position: top center;

  z-index: -1;
  pointer-events: none;
}






@media (min-width: 768px) {

.btn-cta-new {
    padding: 20px 24px !important;
    background-color: rgba(35, 33, 33, 0.5) !important; /* #232121 with 50% opacity */
  color: #ffffff !important; /* make text white */
  border: none !important;
}

.menu-primary-inner {
  display: flex !important;
  justify-content: right !important;   /* <— center */
  align-items: stretch !important;
  margin: 0 !important;
  padding: 0 !important;
}

.menu-primary-inner > li > a {
  display: block !important;
  padding: 0 !important;          /* remove inside spacing if needed */
}

.menu-primary-inner > li:last-child {
  margin-right: 16px !important;
}

/* Left edge rounding */
.btn-left {
  border-top-left-radius: 8px !important;
  border-bottom-left-radius: 8px !important;
}

/* Right edge rounding */
.btn-right {
  border-top-right-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
}

/* base weight */
.menu-primary-inner .btn-cta-new span {
  font-weight: 600 !important;
}

/* make text bolder on hover (anchor or li hover both covered) */
.menu-primary-inner li.menu-item-button > a:hover .btn-cta-new span,
.menu-primary-inner li.menu-item-button:hover > a .btn-cta-new span {
  font-weight: 800 !important;
}

}

@media (max-width: 767px) {

  /* Remove the ghost/button look */
  .menu-primary-inner .btn-cta-new {
    background: transparent !important;
    border: 0 !important;
    margin: 0 !important;
  }
  .btn-left, .btn-right { border-radius: 0 !important; } /* no rounded edges on mobile */

  /* Large, clean type for items */
  .menu-primary-inner li.menu-item-button > a {
    display: block !important;
    padding: 0 !important;            /* vertical rhythm only */
  }
  .menu-primary-inner .btn-cta-new span {
    display: block;
    color: #000 !important;
    font-weight: 600 !important;
    font-size: clamp(20px, 6vw, 24px) !important; /* scales nicely on phones */
    line-height: 0.8;
  }
  
  /* Optional: spacing between items (like your mock) */
  .menu-primary-inner > li {
    margin: 4px 0 4px 0 !important;         /* space between lines */
  }
  .menu-primary-inner > li:last-child {
    margin-bottom: 0 !important;
  }

}
