/*!
Theme Name: puncture
Description: Custom theme for puncture
Version: 1.0.0
Text Domain: _puncture
*/
@font-face {
  font-family: "Plain";
  src: url("assets/fonts/Plain-Regular.woff2") format("woff2"), url("assets/fonts/Plain-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
body {
  --color-blue: #3D38F5;
  --color-red: #ff2c2c;
  --color-black: #1B1818;
  --color-white: #FFF;
  --color-white60: rgba(255, 255, 255, 0.60);
  --wp--preset--font-size--small: 12px;
  --wp--preset--font-size--medium: 14px;
  --global-kb-gap-xs: 12px;
  --global-kb-gap-sm: 20px;
  --global-kb-gap-md: 40px;
  --global-kb-gap-lg: 64px;
  --global-row-gutter-xs: 12px;
  --global-row-gutter-sm: 20px;
  --global-row-gutter-md: 40px;
  --global-row-gutter-lg: 64px;
  --global-kb-spacing-xxs: 12px;
  --global-kb-spacing-xs: 16px;
  --global-kb-spacing-sm: 20px;
  --global-kb-spacing-md: 24px;
  --global-kb-spacing-lg: 32px;
  --global-kb-spacing-xl: 40px;
  --global-kb-spacing-xxl: 56px;
  --global-kb-spacing-3xl: 80px;
  --global-kb-spacing-4xl: 96px;
  --global-kb-spacing-5xl: 120px;
  --global-palette-btn-bg: transparent;
  --global-palette-btn-bg-hover: var(--color-white);
  --global-palette-btn-hover: var(--color-black);
  --global-content-edge-padding: 32px;
  --global-kb-font-size-sm: clamp(13px, 13px, 14px);
}

@media screen and (max-width: 48rem) {
  body {
    --global-content-edge-padding: 20px;
  }
}
.has-blue-background-color {
  background-color: var(--color-blue) !important;
}

.has-blue-color {
  color: var(--color-blue) !important;
}

.bg-color-blue {
  --bg-color: var(--color-blue);
}

.content-color-blue {
  --content-color: var(--color-blue);
}

.has-black-background-color {
  background-color: var(--color-black) !important;
}

.has-black-color {
  color: var(--color-black) !important;
}

.bg-color-black {
  --bg-color: var(--color-black);
}

.content-color-black {
  --content-color: var(--color-black);
}

.has-white-background-color {
  background-color: var(--color-white) !important;
}

.has-white-color {
  color: var(--color-white) !important;
}

.bg-color-white {
  --bg-color: var(--color-white);
}

.content-color-white {
  --content-color: var(--color-white);
}

.has-red-background-color {
  background-color: var(--color-red) !important;
}

.has-red-color {
  color: var(--color-red) !important;
}

.bg-color-red {
  --bg-color: var(--color-red);
}

.content-color-red {
  --content-color: var(--color-red);
}

.has-white60-background-color {
  background-color: var(--color-white60) !important;
}

.has-white60-color {
  color: var(--color-white60) !important;
}

.bg-color-white60 {
  --bg-color: var(--color-white60);
}

.content-color-white60 {
  --content-color: var(--color-white60);
}

html,
body {
  margin: 0;
  font-family: "Plain", sans-serif;
  line-height: 1;
  font-size: 16px;
  color: var(--content-color);
  background-color: var(--bg-color);
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  font-weight: 400;
  scroll-padding-top: 85px;
}
html *,
body * {
  box-sizing: border-box;
}
html *:before, html *:after,
body *:before,
body *:after {
  box-sizing: border-box;
}

* {
  -webkit-tap-highlight-color: transparent !important;
}

body {
  font-size: clamp(1rem, 1.4534883721vw, 20px);
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 400;
  letter-spacing: -0.6px;
}
@media screen and (max-width: 48rem) {
  body {
    line-height: 22px;
    letter-spacing: -0.48px;
  }
}
body.no-scroll {
  overflow: hidden;
}

::selection {
  background: var(--content-color);
  color: var(--bg-color);
}

button {
  font-size: clamp(1rem, 1.4534883721vw, 20px);
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 400;
  letter-spacing: -0.6px;
  font-family: "Plain", sans-serif;
  appearance: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--content-color);
}
@media screen and (max-width: 48rem) {
  button {
    line-height: 22px;
    letter-spacing: -0.48px;
  }
}

figure {
  margin: 0;
}

video {
  width: 100%;
}

a {
  color: var(--content-color);
  text-decoration: none;
  transition: color 300ms;
}

@media (hover: hover) and (pointer: fine) {
  h1 a:hover,
  h2 a:hover,
  h3 a:hover,
  h4 a:hover,
  h5 a:hover,
  h6 a:hover,
  p a:hover {
    opacity: 0.6;
    transition: opacity 300ms;
  }
}
@media (hover: hover) and (pointer: fine) {
  .content-color-black.bg-color-white a:hover {
    color: var(--color-blue);
  }
}

@media (hover: hover) and (pointer: fine) {
  .content-color-blue.bg-color-back a:hover {
    color: var(--color-white);
  }
}

@media (hover: hover) and (pointer: fine) {
  .content-color-black.bg-color-blue a:hover {
    color: var(--color-white);
  }
}

img {
  display: block;
  max-width: 100%;
}

textarea::placeholder,
input::placeholder {
  font-size: 16px;
  line-height: 20px;
}

input[type=email],
input[type=text],
textarea {
  font-size: 16px;
  line-height: 20px;
  color: var(--content-color);
  border: var(--content-color);
  font-weight: 500;
  padding: 10px 12px;
  width: 100%;
  font-family: "Plain", sans-serif;
}
input[type=email]:focus,
input[type=text]:focus,
textarea:focus {
  outline: none;
}

h1,
.h1 {
  font-size: clamp(2.75rem, 5.2325581395vw, 72px);
  line-height: 1.1111111111;
  margin-top: 0;
  margin-bottom: 0;
  letter-spacing: -2.8px;
  font-weight: 400;
}
@media screen and (max-width: 48rem) {
  h1,
  .h1 {
    letter-spacing: -1.76px;
  }
}

.wp-block-post-excerpt__excerpt,
h2,
.h2 {
  font-size: clamp(1.25rem, 2.9069767442vw, 40px);
  line-height: 1.15;
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 400;
  letter-spacing: -1.2px;
}
@media screen and (max-width: 48rem) {
  .wp-block-post-excerpt__excerpt,
  h2,
  .h2 {
    letter-spacing: -0.6px;
    line-height: 24px;
  }
}
.wp-block-post-excerpt__excerpt:not(:last-child),
h2:not(:last-child),
.h2:not(:last-child) {
  padding-bottom: 32px;
}

h3,
.h3 {
  font-size: clamp(1.25rem, 2.9069767442vw, 40px);
  line-height: 1.15;
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 400;
  letter-spacing: -1.2px;
}
@media screen and (max-width: 48rem) {
  h3,
  .h3 {
    letter-spacing: -0.6px;
    line-height: 24px;
  }
}
h3:not(:last-child),
.h3:not(:last-child) {
  padding-bottom: 32px;
}

h4,
.h4 {
  font-size: clamp(1.25rem, 2.9069767442vw, 40px);
  line-height: 1.15;
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 400;
  letter-spacing: -1.2px;
}
@media screen and (max-width: 48rem) {
  h4,
  .h4 {
    letter-spacing: -0.6px;
    line-height: 24px;
  }
}
h4:not(:last-child),
.h4:not(:last-child) {
  padding-bottom: 32px;
}

h5,
.h5 {
  font-size: clamp(1rem, 1.4534883721vw, 20px);
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 400;
  letter-spacing: -0.6px;
}
@media screen and (max-width: 48rem) {
  h5,
  .h5 {
    line-height: 22px;
    letter-spacing: -0.48px;
  }
}

h6,
.h6 {
  font-size: clamp(1rem, 1.4534883721vw, 20px);
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 400;
  letter-spacing: -0.6px;
}
@media screen and (max-width: 48rem) {
  h6,
  .h6 {
    line-height: 22px;
    letter-spacing: -0.48px;
  }
}

li, li a {
  font-size: clamp(1rem, 1.4534883721vw, 20px);
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 400;
  letter-spacing: -0.6px;
}
@media screen and (max-width: 48rem) {
  li, li a {
    line-height: 22px;
    letter-spacing: -0.48px;
  }
}

p {
  font-size: clamp(1rem, 1.4534883721vw, 20px);
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 400;
  letter-spacing: -0.6px;
}
@media screen and (max-width: 48rem) {
  p {
    line-height: 22px;
    letter-spacing: -0.48px;
  }
}
p:not(:last-child) {
  margin-bottom: 20px;
}

label,
small {
  font-size: 16px;
  font-weight: 400;
}

.wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.wp-block-embed-vimeo {
  border-radius: 1rem;
  overflow: hidden;
}

input[type=checkbox] {
  accent-color: var(--bg-color);
}

main {
  padding-left: var(--global-content-edge-padding, 15px);
  padding-right: var(--global-content-edge-padding, 15px);
  margin-top: 7.8125rem;
  padding-bottom: 5rem;
}
@media screen and (max-width: 48rem) {
  main {
    padding-bottom: 2.5rem;
  }
}

.footer a {
  text-decoration: none;
}

.videoWrapper, .videoWrapper9by16, .videoWrapper16by9 {
  position: relative;
  padding-bottom: 125%; /* 4:5 */
  height: 0;
  border-radius: 1rem;
  overflow: hidden;
}
.videoWrapper video, .videoWrapper9by16 video, .videoWrapper16by9 video,
.videoWrapper img,
.videoWrapper9by16 img,
.videoWrapper16by9 img {
  width: 100%;
}
.videoWrapper iframe, .videoWrapper9by16 iframe, .videoWrapper16by9 iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 101%;
  height: 101%;
  z-index: 2;
  pointer-events: none;
}
.videoWrapper iframe.pointer-enable, .videoWrapper9by16 iframe.pointer-enable, .videoWrapper16by9 iframe.pointer-enable {
  pointer-events: auto;
}
.videoWrapper .vimeo-cover, .videoWrapper9by16 .vimeo-cover, .videoWrapper16by9 .vimeo-cover {
  position: absolute;
  z-index: 1;
}

.videoWrapper16by9 {
  padding-bottom: 56.25%;
}

.videoWrapper9by16 {
  padding-bottom: 177.78%;
}

.play-btn {
  width: 80px;
  height: 80px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 50;
  transition: opacity 300ms;
}
.play-btn:hover {
  transition: opacity 300ms;
  opacity: 0.6;
}
@media screen and (max-width: 48rem) {
  .play-btn {
    width: 60px;
    height: 60px;
  }
}

.wp-block-kadence-image:not(:last-child) {
  margin-bottom: 12px;
}

.category-container span:not(:last-child):after {
  content: ", ";
}

.entry-title a {
  text-decoration: none;
}

.wp-block-kadence-posts.kb-posts-style-unboxed .loop-entry.content-bg .post-thumbnail {
  margin-bottom: 12px;
}

.service-terms {
  opacity: 0.6;
}

.puncture-post-single {
  cursor: pointer;
}
.puncture-post-single img {
  width: 100%;
}
.puncture-post-single h6 {
  padding-top: 0.5rem;
}

.image-with-video-icon {
  position: relative;
}
.image-with-video-icon svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#filter-category-container {
  padding-top: 2.5rem;
}
@media screen and (max-width: 48rem) {
  #filter-category-container {
    padding-top: 0rem;
  }
}
#filter-category-container .category-container-inner {
  display: flex;
  margin-bottom: 2.5rem;
  gap: 1.25rem;
}
@media screen and (max-width: 48rem) {
  #filter-category-container .category-container-inner {
    margin-bottom: 1.5rem;
  }
}
#filter-category-container ul,
#filter-category-container li {
  list-style: none;
  padding: 0;
  margin: 0;
}
#filter-category-container .cat-item {
  opacity: 0.6;
  transition: opacity 300ms;
}
#filter-category-container .cat-item:hover {
  opacity: 1;
  transition: opacity 300ms;
}
#filter-category-container .cat-item.activeitem {
  opacity: 1;
}

.related-post-container,
.all-post-container {
  column-gap: var(--global-kb-gap-sm, 1rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  display: grid;
  gap: 64px 20px;
  grid-auto-rows: minmax(min-content, max-content);
  padding-bottom: 5rem;
}
@media screen and (max-width: 48rem) {
  .related-post-container,
  .all-post-container {
    gap: 40px 20px;
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 2.5rem;
  }
}
.related-post-container a .videoWrapper, .related-post-container a .videoWrapper16by9, .related-post-container a .videoWrapper9by16,
.related-post-container a img,
.all-post-container a .videoWrapper,
.all-post-container a .videoWrapper16by9,
.all-post-container a .videoWrapper9by16,
.all-post-container a img {
  border-radius: 16px;
  overflow: hidden;
}
.related-post-container.two_column,
.all-post-container.two_column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: 0rem;
}
@media screen and (max-width: 48rem) {
  .related-post-container.two_column,
  .all-post-container.two_column {
    gap: 20px;
    grid-template-columns: minmax(0, 1fr);
  }
}

.services-container {
  position: relative;
}

.service-item {
  display: block;
  cursor: pointer;
  letter-spacing: -1.92px;
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(1.25rem, 4.6511627907vw, 64px);
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: 0;
}
.service-item.active, .service-item:hover {
  color: white;
}
@media screen and (max-width: 48rem) {
  .service-item {
    letter-spacing: -0.6px;
  }
  .service-item:not(:last-child) {
    padding-bottom: 4px;
  }
  .service-item:not(.active):hover {
    color: rgba(255, 255, 255, 0.6);
  }
}

.services-image {
  pointer-events: none;
}
.services-image video,
.services-image iframe,
.services-image img {
  max-width: 562px;
  height: 100%;
  aspect-ratio: 1/1;
  border-radius: 16px;
  position: absolute;
  right: 0;
  transition: opacity 0.3s ease;
}
@media screen and (max-width: 48rem) {
  .services-image video,
  .services-image iframe,
  .services-image img {
    width: 157px;
    height: 157px;
  }
}
.services-image > div {
  opacity: 0;
}
.services-image > div.active {
  opacity: 1;
}

html {
  height: 100%;
}

body {
  min-height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
}

.footer {
  grid-row-start: 2;
  grid-row-end: 3;
}

#site-header {
  display: flex;
  justify-content: space-between;
  max-width: 1920px;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 1.25rem var(--global-content-edge-padding, 15px);
  transition: transform 0.3s ease;
}
@media screen and (max-width: 48rem) {
  #site-header {
    padding: 1.25rem;
  }
}
#site-header svg path {
  fill: var(--content-color);
}
#site-header.header-hidden {
  transform: translateY(-100%);
}

.header-logo {
  display: inline-block;
}

.site-header-focus {
  height: 85px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

@media screen and (max-width: 48rem) {
  .desktop-nav {
    display: none;
  }
}
@media (hover: hover) and (pointer: fine) {
  .desktop-nav a:hover {
    opacity: 0.6;
    transition: opacity 300ms;
  }
}

.mobile-nav li,
.desktop-nav li {
  list-style: none;
}
.mobile-nav li a,
.desktop-nav li a {
  padding: 1.25rem 0.625rem;
}
.mobile-nav li:last-child a,
.desktop-nav li:last-child a {
  padding-right: 0;
}
.mobile-nav li.btn-outline a,
.desktop-nav li.btn-outline a {
  margin-left: 10px;
}
.mobile-nav a,
.desktop-nav a {
  text-decoration: none;
}
.mobile-nav ul,
.desktop-nav ul {
  padding: 0;
  margin: 0;
  display: flex;
}

.hamburger-c {
  position: relative;
  z-index: 101;
  display: none;
}
@media screen and (max-width: 48rem) {
  .hamburger-c {
    display: flex;
  }
}

.mobile-nav {
  display: none;
  position: fixed;
  background: var(--bg-color);
  top: 0;
  left: 0;
  z-index: 10000;
  width: 100%;
  height: 100%;
  text-align: center;
}
@media screen and (max-width: 48rem) {
  .mobile-nav.open {
    display: block;
  }
}
.mobile-nav .mobile-nav-header {
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  max-width: 86rem;
  align-items: center;
  width: 100%;
  top: 0;
}
.mobile-nav .mobile-nav-header svg path {
  fill: var(--content-color);
}
.mobile-nav .mobile-nav-inner {
  height: calc(100% - 85px);
  display: flex;
  justify-content: center;
  align-items: center;
}
.mobile-nav ul {
  flex-direction: column;
  width: 100%;
}
.mobile-nav ul li {
  width: 100%;
  text-align: center;
}
.mobile-nav ul li a {
  padding-top: 0;
  padding-bottom: 40px;
  display: inline-block;
  width: 100%;
  font-size: clamp(2.75rem, 5.2325581395vw, 72px);
  line-height: 1.1111111111;
  margin-top: 0;
  margin-bottom: 0;
  letter-spacing: -2.8px;
  font-weight: 400;
  margin-left: 0;
}
@media screen and (max-width: 48rem) {
  .mobile-nav ul li a {
    letter-spacing: -1.76px;
  }
}
.mobile-nav ul li.btn-outline {
  width: auto;
  margin-top: 24px;
}
.mobile-nav ul li.btn-outline a {
  font-size: clamp(1.25rem, 2.9069767442vw, 40px);
  line-height: 1.15;
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 400;
  letter-spacing: -1.2px;
  width: auto;
  margin-left: 0;
}
@media screen and (max-width: 48rem) {
  .mobile-nav ul li.btn-outline a {
    letter-spacing: -0.6px;
    line-height: 24px;
  }
}
.mobile-nav ul li.btn-outline a:not(:last-child) {
  padding-bottom: 32px;
}

.home-post-list.wp-block-kadence-posts.grid-cols {
  column-gap: 1.25rem;
  row-gap: 1.25rem;
}
.home-post-list.wp-block-kadence-posts.grid-cols .kb-post-list-item .entry-content-wrap {
  display: none;
}
.home-post-list.wp-block-kadence-posts.grid-cols .kb-post-list-item img {
  border-radius: 1rem;
}
.home-post-list.wp-block-kadence-posts.grid-cols .kb-post-list-item .post-thumbnail {
  margin-bottom: 0;
}

.kt-button,
.kb-button,
.kb-button.kb-btn-global-fill,
.kb-button.kb-btn-global-outline,
.wp-block-button__link,
.mobile-nav li.btn-outline a,
.desktop-nav li.btn-outline a {
  border-radius: 8px !important;
  border: 1px solid var(--color-white) !important;
  padding: 9px 20px;
  color: var(--color-white);
  font-style: normal;
  font-weight: 400;
  background-color: transparent;
  letter-spacing: -0.6px;
  transition: all 300ms;
  font-size: clamp(1rem, 1.4534883721vw, 20px);
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 0;
}
@media screen and (max-width: 48rem) {
  .kt-button,
  .kb-button,
  .kb-button.kb-btn-global-fill,
  .kb-button.kb-btn-global-outline,
  .wp-block-button__link,
  .mobile-nav li.btn-outline a,
  .desktop-nav li.btn-outline a {
    padding: 10px 16px;
    letter-spacing: -0.48px;
  }
}
.kt-button:hover,
.kb-button:hover,
.kb-button.kb-btn-global-fill:hover,
.kb-button.kb-btn-global-outline:hover,
.wp-block-button__link:hover,
.mobile-nav li.btn-outline a:hover,
.desktop-nav li.btn-outline a:hover {
  transition: all 300ms;
  background-color: var(--color-white);
  color: var(--color-black);
  opacity: 1;
}

.wp-block-kadence-rowlayout .kt-row-column-wrap.kb-theme-content-width,
.kb-theme-content-width {
  max-width: 86rem;
}

button, button:hover,
a, a:hover {
  transition: all 300ms ease-in-out;
}

figure img {
  border-radius: 1rem;
}

figure.image-is-svg img {
  border-radius: 0;
}

.single-title,
.single .wp-block-post-title {
  font-size: clamp(1rem, 1.4534883721vw, 20px);
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 400;
  letter-spacing: -0.6px;
  padding-bottom: 1rem;
}
@media screen and (max-width: 48rem) {
  .single-title,
  .single .wp-block-post-title {
    line-height: 22px;
    letter-spacing: -0.48px;
  }
}
@media screen and (max-width: 48rem) {
  .single-title,
  .single .wp-block-post-title {
    padding-bottom: 0.5rem;
  }
}

.lockup .p2-logo {
  padding-right: 24px;
  border-right: 1px solid #d8d9fe;
  margin-right: 24px;
}

.video-player .controls {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
  color: var(--white);
  font: inherit;
}

/* Shared button look */
.video-player .controls .button {
  background-color: rgba(54, 54, 54, 0.8);
  border: 1px solid transparent;
  color: var(--white);
  text-decoration: none;
  line-height: 1;
  padding: 9px 20px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  pointer-events: auto;
  user-select: none;
}
.video-player .controls .button:hover {
  background-color: #1f1f1f;
}

/* ========= REGIONS ========= */
.video-player .controls .top-left,
.video-player .controls .top-right {
  position: absolute;
  top: 12px;
  z-index: 2;
  display: none; /* hidden until controls-visible */
  opacity: 1;
  transition: opacity 0.3s ease;
}

.video-player .controls .top-left {
  left: 12px;
}

.video-player .controls .top-right {
  right: 12px;
}

/* Big CTA centered */
.video-player .controls .button.play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 14px 20px;
  z-index: 3;
  opacity: 1;
  transition: none; /* Never affected by auto-hide */
}

/* ========= BOTTOM BAR (single row) ========= */
.video-player .controls .progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: none; /* hidden until controls-visible */
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background-color: rgba(54, 54, 54, 0.8);
  border: 1px solid transparent;
  color: var(--white);
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.3s ease;
  margin: 20px;
  border-radius: 8px;
}

/* Left-side play/stop */
.video-player .controls .progress .control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

/* Play/Stop toggle */
.video-player .controls .progress .control .play {
  display: inline-flex;
}

.video-player .controls .progress .control .pause {
  display: none;
}

.video-player.is-playing .controls .progress .control .play {
  display: none;
}

.video-player.is-playing .controls .progress .control .pause {
  display: inline-flex;
}

/* Middle section: overlapping progress bar */
.video-player .controls .progress .progress-bar {
  position: relative;
  flex: 1 1 auto;
  height: 6px;
}

/* Progress element (under track) */
.video-player .controls progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 6px;
  appearance: none;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 3px;
  pointer-events: none;
  overflow: hidden;
}

.video-player .controls progress::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.2);
}

.video-player .controls progress::-webkit-progress-value {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 3px;
}

.video-player .controls progress::-moz-progress-bar {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 3px;
}

/* Range input on top of progress */
.video-player .controls input.seek {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 6px;
  background: transparent;
  appearance: none;
  cursor: pointer;
  margin: 0;
  z-index: 2;
}

.video-player .controls input.seek::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
}

.video-player .controls input.seek::-moz-range-track {
  height: 6px;
  background: transparent;
}

.video-player .controls input.seek::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  margin-top: -3px; /* center on 6px track */
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.video-player .controls input.seek::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

/* Right-side time */
.video-player .controls .progress .time {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-family: "Plain";
  font-size: var(--wp--preset--font-size--medium);
}

/* ========= STATE LOGIC ========= */
/* Initial: CTA-only (no top buttons, no bottom bar) */
.video-player.cta-only .controls .button.play {
  display: inline-flex;
}

.video-player.cta-only .controls .top-left,
.video-player.cta-only .controls .top-right,
.video-player.cta-only .controls .progress {
  display: none;
}

/* After CTA click: show top/bottom, hide CTA */
.video-player.controls-visible .controls .button.play {
  display: none;
}

.video-player.controls-visible .controls .top-left,
.video-player.controls-visible .controls .top-right,
.video-player.controls-visible .controls .progress {
  display: flex;
}

/* Auto-hide after 3s: only affects top/bottom controls */
.video-player.controls-hidden .controls .top-left,
.video-player.controls-hidden .controls .top-right,
.video-player.controls-hidden .controls .progress {
  opacity: 0;
  pointer-events: none;
}

/* CTA never fades */
.video-player .controls .button.play {
  opacity: 1 !important;
  pointer-events: auto;
}

/* Mute/Unmute toggle (top-right) */
.video-player .controls .button.mute {
  display: inline-flex;
}

.video-player .controls .button.unmute {
  display: none;
}

.video-player.is-muted .controls .button.mute {
  display: none;
}

.video-player.is-muted .controls .button.unmute {
  display: inline-flex;
}

/* Fullscreen/Exit FS toggle (top-left) */
.video-player .controls .button.full-screen {
  display: inline-flex;
}

.video-player .controls .button.exit-full-screen {
  display: none;
}

.video-player.fullscreen .controls .button.full-screen {
  display: none;
}

.video-player.fullscreen .controls .button.exit-full-screen {
  display: inline-flex;
}

/* Optional hover style */
.video-player .controls .button:hover {
  filter: brightness(1.1);
}

/*# sourceMappingURL=style.css.map */
