/* //////////////////////

REPLACE-GUIDE:
--> Olin-Hockey GmbH
--> rename path in robots.txt (root)

////////////////////// */

/* -------------- */
/* SETUP */
/* DESKTOP */
/* MINI-DESKTOP */
/* TABLET */
/* MOBILE */
/* MINI-MOBILE */
/* SPECIAL BREAKPOINTS */
/* -------------- */

/* SETUP //////////////////////////////////////////////////////////////// */

:root {
  /* ***** Colors */

  /* --- Default */
  --color__dark: #000000;
  --color__light: #ffffff;

  /* --- Corporate */
  --color__primary: #000000;
  --color__secondary: #ffffff;
  --color__accent: #c39de9;
  --color__lightBlue: #b4efff;

  /* --- System */
  --color__success: #00871b;
  --color__warning: #fea137;
  --color__error: #cd0000;

  /* ***** Font Sizes */
  --fsize__h1: 19rem;
  --fsize__h2: 3rem;
  --fsize__h3: 2rem;
  --fsize__h4: 1.55rem;
  --fsize__h5: 1.5rem;
  --fsize__h6: 1.4rem;
  --fsize__p: 1.2rem;
  --fsize__s: 0.9rem;

  /* ***** Icon Sizes */
  --isize__small: 1.75rem;
  --isize__regular: 2.75rem;
  --isize__large: 4rem;

  /* ***** Borders */
  --border__small: 0.0625em solid var(--color__primary);
  --border__small--light: 0.0625em solid var(--color__light);
  --border__regular: 0.125em solid var(--color__primary);
  --border__regular--light: 0.125em solid var(--color__primary);
  --border__large: 0.25em solid var(--color__primary);
  --border__large--light: 0.25em solid var(--color__primary);

  /* ***** Radiuses */
  --radius__small: 0.3em;
  --radius__regular: 2em;
  --radius__large: 4em;

  /* ***** Layout */
  --innerwrap__width: min(100vw, 80em);
  --innerwrap__width--slim: min(100vw, 62.5em);
  --innerwrap__width--slimmer: min(100vw, 50em);
  --innerwrap__width--slim-af: min(100vw, 35em);
  --innerwrap__px: 2rem;
  --innerwrap__py: 5rem;
}

/* LENIS ********************************************************************************************************/

html.lenis,
html.lenis body {
  height: auto;
}
.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}
.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

/* FONTS – LICENSED TO Olin-Hockey GmbH *******************************************************************************/

@font-face {
  font-family: "TT_Commons_Pro_DemiBold";
  src: url("/wp-content/themes/oho/font/TT_Commons_Pro_DemiBold.woff")
    format("woff");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "TT_Commons_Pro_Regular";
  src: url("/wp-content/themes/oho/font/TT_Commons_Pro_Regular.woff")
    format("woff");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Zuume_BlackItalic";
  src: url("/wp-content/themes/oho/font/Zuume-BlackItalic.woff2")
      format("woff2"),
    url("/wp-content/themes/oho/font/Zuume-BlackItalic.woff") format("woff");
  font-weight: 900;
  font-style: italic;
}

/* //////////////////////////////////////////////////////////////// */
html,
body {
  font-size: 1rem;
  /* ensures that browser's default font size is used as a reference for rem */
  line-height: 1.2em;
  /* ideally the same line-height that is used on p tag */
}

body {
  font-family: "TT_Commons_Pro_Regular";
  font-weight: 400;
  margin: 0;
  -webkit-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
  -webkit-font-kerning: normal;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -ms-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
}
body.no-scroll {
  overflow: hidden;
}

.site-main {
  min-height: 100vh;
}

h1,
.h1 {
  font-family: "Zuume_BlackItalic";
  font-weight: 400;
  font-size: var(--fsize__h1);
  font-style: italic;
  line-height: 0.9em;
  letter-spacing: 0em;
  color: var(--color__primary);
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
  text-transform: uppercase;
}

h2,
.h2 {
  font-family: "Zuume_BlackItalic";
  font-weight: 400;
  font-size: var(--fsize__h2);
  font-style: italic;
  line-height: 1.1em;
  letter-spacing: 0em;
  color: var(--color__primary);
  text-decoration: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

h3,
h4,
h5,
h6,
.h3,
.h4,
.h5,
.h6 {
  font-family: "TT_Commons_Pro_DemiBold";
  font-weight: 500;
  font-size: var(--fsize__h3);
  font-style: normal;
  line-height: 1.05em;
  letter-spacing: -0.26px;
  color: var(--color__primary);
  text-decoration: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}
h4,
.h4 {
  font-family: "TT_Commons_Pro_Regular";
  font-size: var(--fsize__h4);
  line-height: 1.2em;
  letter-spacing: -0.38px;
}
p,
li,
p a,
.p,
.p a,
address {
  font-family: "TT_Commons_Pro_Regular";
  font-weight: 500;
  font-size: var(--fsize__p);
  font-style: normal;
  line-height: 1.4em;
  letter-spacing: -0.26px;
  color: var(--color__primary);
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

.s {
  font-family: "TT_Commons_Pro_Regular";
  font-weight: 400;
  font-size: var(--fsize__s);
  line-height: 1.25em;
  letter-spacing: -0.2px;
  color: var(--color__primary);
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
  -webkit-text-stroke-width: 0.17px;
  -webkit-text-stroke-color: var(--color__primary, #000);
}

.p.s a,
.s a {
  font-size: var(--fsize__s);
}

.fsize--marginal {
  font-size: var(--fsize__s);
}

.uppercase {
  text-transform: uppercase;
}

strong,
b,
.bold {
  font-family: "TT_Commons_Pro_DemiBold";
  font-weight: 500;
  color: var(--color__primary);
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

/* ––– Unordered List */

ul.plain {
  padding-left: 0;
}

ul.plain li {
  list-style: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

ul.plain li::before {
  content: none;
}

/* ***** locked wysiwyg styles to avoid different title sizes */

.wysiwyg-editor h1,
.wysiwyg-editor h2,
.wysiwyg-editor h3,
.wysiwyg-editor h4,
.wysiwyg-editor h5,
.wysiwyg-editor h6 {
  font-family: "Arial", sans-serif;
  font-weight: 700;
  font-size: var(--fsize__h2);
  line-height: 3.75em;
  letter-spacing: 0.01em;
  color: var(--color__primary);
  text-decoration: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
  overflow: visible;
}

/* LINKS / GLOBAL INTERACTIONS *******************************************************************************/

/* ***** Links */

p a,
.p a {
  text-decoration: none;
}

p a:hover,
.p a:hover {
  cursor: pointer;
  /* border-bottom: var(--border__small); */
  color: var(--color__primary);
}

p a strong,
p a b,
.p a strong,
.p a b {
  padding: 0;
  font-weight: 700;
}

a,
a:hover {
  color: var(--color__primary);
  text-decoration: none;
  cursor: pointer;
}

.fcolor--light a {
  border-bottom: var(--border__small--light);
}

.fcolor--light a:hover {
  color: var(--color__light);
}

/* ***** Buttons */
.button,
input[type="submit"],
.field-wrap input[type="submit"] .woocommerce .woocommerce-message .button,
.woocommerce .woocommerce-form-login .woocommerce-form-login__submit {
  background: var(--color__primary);
  border: 0;
  border-radius: var(--radius__small);
  color: var(--color__light);
  cursor: pointer;
  display: inline-block;
  left: auto;
  overflow: visible;
  padding: 0.3em 0.6em;
  text-align: center;
  text-transform: uppercase;
  transition: transform 0.3s ease-in-out;
  -webkit-transition: transform 0.3s ease-in-out;
  width: auto;
}

.button.neg {
  background: var(--color__light);
  color: var(--color__primary);
  border: var(--border__regular);
}

.button.bg--lightBlue {
  color: var(--color__primary);
}

.button:hover {
  cursor: pointer;
  color: var(--color__secondary);
}
.button.bg--lightBlue:hover {
  color: var(--color--__primary);
}

.hover--effect--puck,
a.hover--effect--puck {
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
  cursor: none;
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='96' height='96'><circle cx='48' cy='48' r='24' fill='black'/></svg>")
      48 48,
    auto;
}

.hover--effect--puck .bg--puck {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--color__primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

/* --- Centered Button */

.centered-button {
  width: 100%;
  text-align: center;
  margin: 1.875em 0;
}

.centered-button .button {
  display: inline;
}

/* ***** Default Interactions */

::-moz-selection {
  background: var(--color__primary);
  color: var(--color__light);
}

::selection {
  background: var(--color__primary);
  color: var(--color__light);
}

*:focus {
  outline: none;
  /* background-color: var(--color__primary) !important;
  color: var(--color__light);
  mix-blend-mode: difference; */
}

a:focus-visible {
  outline: var(--border__regular);
}

a:focus-visible .covered-image-wrap::after,
a:focus-visible .contained-image-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  background: var(--color__primary);
}

.swiper-button-next:focus-visible:after,
.swiper-button-prev:focus-visible:after {
  border: 0.0625rem solid var(--color__light);
  padding: 0.25em;
  background: var(--color__primary);
}

.swiper-pagination-bullet:focus-visible {
  transform: scale(1.1);
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
body {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: 0;
  /* Firefox */
}

/* helper classes for screen dependend elements*/
.visible-sm {
  display: none !important;
}
.hidden-sm {
  display: block !important;
}

/* MISC *******************************************************************************/

/* DESKTOP //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Footer
*/

/*
-----------------------------------------------------------------------------

01. Presets

-----------------------------------------------------------------------------
*/

/* LAYOUT *******************************************************************************/

main {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.main__inner {
  margin-top: 0;
  /* Space to Navigation */
}

.sec-wrap {
  width: 100%;
  height: auto;
  background: var(--color_secondary);
  /*position: relative;*/
}
.sec-wrap .title-wrap {
  height: calc(var(--fsize__h1) - 7em);
  width: 100%;
}
.sec-wrap .title-wrap .h1 {
  position: absolute;
  top: -0.5em;
  left: -1rem;
}

.sec-wrap .title-wrap .h1.align-right-text {
  position: absolute;
  top: -0.5em;
  right: -1rem;
  left: auto;
}
/*
.sec-wrap .h1 {
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.sec-wrap .h1:not(.centered-text, .align-right-text) {
  -webkit-transform: translate(-1rem, -50%);
  transform: translate(-1rem, -50%);
  margin-bottom:  -0.8em;
}*/

.sec-wrap__inner {
  position: relative;
  width: var(--innerwrap__width);
  height: auto;
  margin: auto;
}

.sec-wrap__inner:not([class*="pxy"], [class*="px-"], [class*="pl-"]) {
  padding-left: var(--innerwrap__px);
}

.sec-wrap__inner:not([class*="pxy"], [class*="px-"], [class*="pr-"]) {
  padding-right: var(--innerwrap__px);
}

.sec-wrap__inner:not([class*="pxy"], [class*="py-"], [class*="pt-"]) {
  padding-top: var(--innerwrap__py);
}

.sec-wrap__inner:not([class*="pxy"], [class*="py-"], [class*="pb-"]) {
  padding-bottom: var(--innerwrap__py);
}

.sec-wrap__inner.full {
  width: 100%;
}

.sec-wrap__inner.slim {
  width: var(--innerwrap__width--slim);
}

.sec-wrap__inner.slimmer {
  width: var(--innerwrap__width--slimmer);
}

.sec-wrap__inner.slim-af {
  width: var(--innerwrap__width--slim-af);
}

/****  colors ***** */

.bg-accent {
  background: var(--color__accent);
}
.bg-lightBlue {
  background: var(--color__lightBlue);
}
.bg-primary {
  background: var(--color__primary);
}
.bg-primary * {
  color: var(--color__secondary);
}

/* clipped elements*/
.clip--left {
  clip-path: polygon(100px 0, 100% 0, 100% 100%, 0% 100%);
  padding-left: calc(100px + 1rem);
}

.clip--right {
  clip-path: polygon(0 0, 100% 0, calc(100% - 100px) 100%, 0% 100%);
  padding-right: calc(100px + 1rem);
}

.clip--both {
  clip-path: polygon(100px 0, 100% 0, calc(100% - 100px) 100%, 0% 100%);
  padding: 0 calc(100px + 1rem);
}

/* ***** Text columns */

.text-2-columns {
  column-count: 2;
  -webkit-column-count: 2;
  -moz-column-count: 2;
  -ms-column-count: 2;
  column-gap: 1.875em;
  -webkit-column-gap: 1.875em;
  -moz-column-gap: 1.875em;
  -ms-column-gap: 1.875em;
  margin: 1.875em 0;
}

.text-3-columns {
  column-count: 3;
  -webkit-column-count: 3;
  -moz-column-count: 3;
  -ms-column-count: 3;
  column-gap: 2em;
  -webkit-column-gap: 2em;
  -moz-column-gap: 2em;
  -ms-column-gap: 2em;
}

/* ***** Text overflow */

.nobreak {
  white-space: nowrap;
}

.shorten {
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- aligned right Text */
.align-right-text,
.align-right-text * {
  text-align: right;
}

/* --- Centered Text */

.centered-text,
.centered-text * {
  text-align: center;
}

/* ***** Centered image */

.centered-image-wrap {
  width: 100%;
  margin: auto;
  height: 28em;
  position: relative;
  overflow: hidden;
  /* fallback for bg-img usage */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.centered-image-wrap img {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  margin-right: -50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.centered-image-wrap.full img {
  width: 100%;
}

/* ***** Covered image wrap */

.covered-image-wrap {
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.covered-image-wrap img,
.covered-image-wrap video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

/* ***** Contained image wrap */

.contained-image-wrap {
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.contained-image-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

/**** ie-browser fixes */

.browser-ie .covered-image-wrap,
.browser-edge .covered-image-wrap {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* ***** Vertical centered */

.centered--vertical {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

/*
-----------------------------------------------------------------------------

02. Footer

-----------------------------------------------------------------------------
*/

.site-footer {
  background: var(--color_secondary);
  padding: 1em 2em;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.site-footer * {
  color: var(--color__primary);
}

.header--dark .site-footer,
.header--lightBlue .site-footer {
  background: transparent;
}

.header--dark .site-footer *,
.header--lightBlue .site-footer * {
  color: var(--color__secondary);
}

.site-footer .footer-logos {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.site-footer .footer-logos svg:first-child {
  height: 1.8em;
  width: auto;
}

.site-footer .footer-logos svg * {
  fill: var(--color__primary);
}

.site-footer .footer-logos svg:last-child {
  height: 0.8em;
  width: auto;
}

.header--dark .footer-logos svg *,
.header--lightBlue .footer-logos svg * {
  fill: var(--color__secondary);
}

/* MINI-DESKTOP //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Footer
*/

@media only screen and (max-width: 80em) {
  /*
  -----------------------------------------------------------------------------

  01. Presets

  -----------------------------------------------------------------------------
  */

  /* MISC *******************************************************************************/

  html,
  body {
    font-size: min(1em, 1.8vw);
  }
}

/* TABLET //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Footer
*/

/* special cases */
@media only screen and (max-width: 1400px) {
  :root {
    --fsize__h1: 14rem;
  }
}

@media only screen and (max-width: 55em) {
  /*
  -----------------------------------------------------------------------------

  01. Presets

  -----------------------------------------------------------------------------
  */

  /* MISC *******************************************************************************/

  html,
  body {
    font-size: min(1em, 2.25vw);
  }

  /* ***** Font Sizes */
  :root {
    --fsize__h1: 10.5rem;
  }

  /* LAYOUT *******************************************************************************/

  .main__inner {
    margin-top: 0;
  }

  .clip--both {
    clip-path: none;
  }
  /*
  -----------------------------------------------------------------------------

  02. Footer

  -----------------------------------------------------------------------------
  */

  footer.site-footer {
    margin-bottom: 6rem;
  }

  .site-footer,
  .header--dark .site-footer {
    background: var(--color__primary);
    position: relative;
  }

  .site-footer *,
  .header--dark .site-footer * {
    color: var(--color__secondary);
  }

  .header--lightBlue .site-footer *,
  .header--lightBlue .footer-logos svg * {
    color: var(--color__primary);
    fill: var(--color__primary);
  }

  .site-footer .footer-logos {
    display: none;
  }
}

/* MOBILE //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Footer
*/

@media only screen and (max-width: 36em) {
  /*
  -----------------------------------------------------------------------------

  01. Presets

  -----------------------------------------------------------------------------
  */

  /* MISC *******************************************************************************/

  :root {
    /* ***** Font Sizes */
    --fsize__h1: 8.5rem;
    --fsize__p: 1.25rem;
    --fsize__s: 1.2rem;

    /* ***** Icon Sizes */
    --isize__small: 2.5rem;
    --isize__regular: 3rem;
    --isize__large: 5rem;
  }

  html,
  body {
    font-size: min(1em, 2.325vw);
  }

  /* LAYOUT *******************************************************************************/

  .main__inner {
    margin-top: 0;
    /* Space to Navigation */
  }

  .sec-wrap__inner {
    padding: 1.25em 1.5625em;
  }

  /**/

  .text-2-columns {
    column-count: 1;
    -webkit-column-count: 1;
    -moz-column-count: 1;
    -ms-column-count: 1;
  }

  .text-3-columns {
    column-count: 1;
    -webkit-column-count: 1;
    -moz-column-count: 1;
    -ms-column-count: 1;
  }

  /* section titles */
  .sec-wrap .title-wrap .h1 {
    position: relative;
  }

  .clip--left {
    clip-path: polygon(50px 0, 100% 0, 100% 100%, 0% 100%);
    padding-left: calc(50px + 1rem);
  }
  .clip--both {
    clip-path: none;
    padding: 1.5rem;
  }
  /*
  -----------------------------------------------------------------------------

  02. Footer

  -----------------------------------------------------------------------------
  */

  .site-footer {
    opacity: 0.3;
  }

  .site-footer * {
    text-align: left;
  }

  .visible-sm {
    display: block !important;
  }
  .hidden-sm {
    display: none !important;
  }
}

/* MINI-MOBILE //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Footer
*/

@media only screen and (max-width: 27em) {
  /*
  -----------------------------------------------------------------------------

  01. Presets

  -----------------------------------------------------------------------------
  */

  /* MISC *******************************************************************************/

  :root {
    /* ***** Font Sizes */
    --fsize__h3: 2.5rem;
    --fsize__p: 1.8rem;
    --fsize__s: 1.5rem;
  }

  html,
  body {
    font-size: min(1em, 2.5vw);
  }

  /*
  -----------------------------------------------------------------------------

  02. Footer

  -----------------------------------------------------------------------------
  */
}

/* SPECIAL BREAKPOINTS //////////////////////////////////////////////////////// */

/* Printer */

@media print {
  @page {
    margin: 1cm;
  }

  header,
  nav,
  footer {
    display: none;
  }

  img {
    max-width: 31.25em;
    visibility: visible !important;
  }
}
