/*
Theme Name: Peter Hofer Jagdwaffen
Theme URI: https://www.webtaculos.com
Description: Peter Hofer Jagdwaffen Theme
Author: Alex Burdulea
Author URI: https://www.webtaculos.com
Version: 1.0.0
*/
/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  text-align: center;
  max-width: 100%;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 12px;
  line-height: 18px;
  margin: 0;
  padding: 5px 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

a {
  color: var(--color-accent);
}

.advantages-section h3 {
  margin-bottom: 1rem;
}

.press-section {
  background-color: #353535;
}

.heading-404 {
  font-family: "Cardo", serif;
  font-size: 140px;
  line-height: normal;
  display: inline-flex;
}

.heading-404 svg {
  width: 160px;
}

.heading-404 svg path {
  fill: #FFF;
}

.error404 .btn {
  font-family: "Minion Pro";
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 133.333%;
  display: inline-flex;
  ;
  justify-content: center;
  align-items: center;
  padding: 20px 16px;
  border-radius: 0px;
  border: none;
  transition: all .35s;
  color: #fec574;
  background: #393939;
}

.error404 .ph-hero-gallery p {
  margin-bottom: 40px;
  font-size: 1.5rem;
  margin-top: 10px;
}

.viewer-wrapper {
  max-width: 1200px;
  width: 100%;
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.viewer-wrapper .openseadragon,
#openseadragon {
  width: 100%;
  height: 100%;
}

.controls {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.control-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.control-btn svg {
  width: 24px;
  height: 24px;
  fill: white;
}
.item-gun .mark-img {
  right: 20px;
  top: 20px;
  display: flex;
  gap: 15px;

}

.item-gun .mark-img svg {
  width: auto;
  height: auto;
  opacity: 0.15;
  transition: all 1s ease;
}
.item-gun:hover .mark-img svg{
  opacity: 1;
}
.item-gun .mark-img svg path {
  fill: #fff;
  transition: fill 1s ease;
}

.item-gun:hover .mark-img svg path {
  fill: #fff;
}
/* Background container */
.wistia-bg-video {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Kill Wistia sizing constraints */
.wistia-bg-video .w-video-wrapper {
  width: 100% !important;
  height: 100% !important;
}

/* FORCE the actual <video> to behave like background-cover */
.wistia-bg-video video {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  transform: translate(-50%, -50%) !important;
  object-fit: cover !important; /* overrides inline contain */
}
/* Hide ALL Wistia UI (play button, overlays, controls) immediately */
.wistia-bg-video .w-ui-container,
.wistia-bg-video .w-big-play-button,
.wistia-bg-video [data-handle="bigPlayButton"],
.wistia-bg-video [data-handle="clickForSoundButton"],
.wistia-bg-video [data-handle="playPauseNotifier"],
.wistia-bg-video [data-handle="playPauseLoading"] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}
.wistia-bg-video .w-chrome,
.wistia-bg-video .w-ui-container {
  pointer-events: none !important;
}
.pt-10{
  margin-top: 7rem!important;
}
.video-timeline-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: start;
  pointer-events: none;
  margin-top: 90px;
  margin-left: 50px;
  margin-right: 50px;
  margin-bottom: 70px;
}

.video-timeline-overlay .timeline-content {
  text-align: left;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  text-shadow:
  0 2px 4px rgba(0, 0, 0, 0.55),
  0 8px 24px rgba(0, 0, 0, 0.45);

}
.video-timeline-overlay.text-6,
.video-timeline-overlay.text-10,
.video-timeline-overlay.text-13{
  justify-content: end;
}
.video-timeline-overlay.text-2{
  justify-content: end;
  align-items: start;
}
.video-timeline-overlay.is-visible .timeline-content {
  opacity: 1;
  transform: translateY(0);
}

.video-timeline-overlay .timeline-content h3{
  font-weight: bold;
  font-size: 38px;
  margin-bottom: 10px;
}

.video-timeline-overlay p {
  font-size: 24px;
  margin: 0;
}
#header{
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.85),
    rgba(0,0,0,0.65),
    rgba(0,0,0,0)
  );
}
@media (max-width: 991.98px) {
  .video-timeline-overlay,
  .video-timeline-overlay.text-6,
  .video-timeline-overlay.text-10,
  .video-timeline-overlay.text-13,
  .video-timeline-overlay.text-2{
    justify-content: center;
    align-items: end;
  }
  .video-timeline-overlay .timeline-content{
    text-align: center;
  }
}
.offcanvas_menu .nav-link{
  font-size: 22px;
}
.item-gun::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at top right,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0.05) 20%,
      rgba(0, 0, 0, 0) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.20) 0%,
      rgba(0, 0, 0, 0.10) 25%,
      rgba(0, 0, 0, 0) 100%
    );






  z-index: 0;
}
