/* 
Theme Name: Membro Workout 1
Theme URI: http://www.membro.no
Description: Utviklet for Membro av Mats Koray Genc
Author: Mats Koray Genc / Genc Media AS
Author URI: http://www.genc.no/
Version: 1.0.0
Text Domain: membro-workout-1
*/
@import url("reset.css");
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
:root {
  --color-black: #212121;
  --color-white: #ffffff;
  --color-primary: #3AAFA9;
  --color-primary-dark: #267672;
  --color-accent: #ddc323;
  --color-accent-dark: #b29e1c;
  --color-line: rgba(0,0,0,0.2);
  --color-neutral-1: #e6e6e6;
  --color-neutral-2: #cccccc;
  --color-neutral-3: #b3b3b3;
  --color-neutral-4: #707070;
  --color-link: var(--color-primary);
  --color-link-hover: var(--color-primary);
  --color-text: var(--color-black);
  --color-text-shaded: var(--color-neutral-4);
  --color-text-inverted: var(--color-white);
  --font-primary: Inter,sans-serif;
  --font-heading: "Inter", sans-serif; }

body {
  font-size: 16px;
  font-family: var(--font-primary);
  color: var(--color-text);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #f5f5f5; }

p {
  margin-bottom: 30px; }

a {
  color: var(--color-link); }
  a:hover {
    text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800; }

h1 {
  font-size: 2.6rem; }
  @media screen and (max-width: 768px) {
    h1 {
      font-size: 2rem; } }

hr {
  border-top: 1px solid var(--color-line); }

ul {
  list-style: disc;
  margin-bottom: 1rem;
  padding-left: 1.25rem; }

.header ul, .some ul {
  list-style: none;
  margin-bottom: 0;
  padding-left: 0; }

.header {
  background: var(--color-primary);
  padding: 24px;
  overflow: hidden; }
  @media screen and (max-width: 768px) {
    .header {
      padding: 1rem 0; } }
  .header a {
    color: var(--color-link-menu);
    text-decoration: none; }
  .header .nav-header {
    max-width: 1580px;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; }
    @media screen and (max-width: 768px) {
      .header .nav-header {
        max-width: calc(100% - 2.4rem); } }
    .header .nav-header ul {
      font-family: var(--font-heading);
      display: flex;
      align-items: center;
      gap: 2rem;
      font-weight: bold;
      font-style: italic;
      font-size: 1.2rem; }
      @media screen and (max-width: 768px) {
        .header .nav-header ul {
          width: 100%;
          order: 3; } }
    @media screen and (max-width: 768px) {
      .header .nav-header .logo {
        margin-right: auto; } }
    .header .nav-header .logo img {
      max-height: 30px; }
    .header .nav-header .nav-button {
      margin-right: unset; }
    .header .nav-header .button {
      border-radius: 5px;
      background: var(--color-secondary);
      padding: 0.4rem 1.2rem;
      color: var(--color-button-text, rgba(0, 0, 0, 0.8));
      display: inline-block;
      font-weight: bold;
      font-style: italic; }
      .header .nav-header .button:hover {
        background: var(--color-secondary-dark); }
  .header .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px; }
    .header .hamburger span {
      width: 25px;
      height: 3px;
      background: var(--color-link-menu);
      display: block;
      transition: 0.6s; }
    .header .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px); }
    .header .hamburger.active span:nth-child(2) {
      opacity: 0; }
    .header .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -5px); }
  @media screen and (max-width: 768px) {
    .header .nav-header > ul {
      flex-direction: column;
      align-items: flex-start;
      gap: 0; }
    .header .nav-menu {
      width: 100%;
      overflow: hidden;
      max-height: 0;
      transition: max-height 0.4s ease; }
      .header .nav-menu ul {
        display: block;
        margin-top: 1rem;
        margin-bottom: 1rem; }
        .header .nav-menu ul li a {
          padding: 0.8rem 1.2rem;
          display: block;
          background: var(--color-primary-dark);
          border-radius: 5px;
          margin-top: 3px; }
    .header .nav-menu.open {
      max-height: 80vh;
      transition: 0.6s; }
    .header .hamburger {
      display: flex; }
    .header .nav-button {
      margin-top: 1rem; } }

.frontpage {
  overflow: hidden;
  height: calc(80vh - 116px);
  position: relative; }
  .frontpage .frontpage-slider img {
    width: 100%;
    object-fit: cover;
    opacity: var(--opacity-slider, 0.7); }

.frontpage-box-wrapper.white {
  background: var(--color-white); }

.frontpage-box {
  max-width: 1580px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 3rem 0; }
  @media screen and (max-width: 768px) {
    .frontpage-box {
      max-width: calc(100% - 2.4rem); } }
  .frontpage-box .title {
    margin-bottom: 1rem;
    font-size: 1.4rem; }
  .frontpage-box.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center; }
    @media screen and (max-width: 768px) {
      .frontpage-box.buttons {
        flex-direction: column; } }
    .frontpage-box.buttons .frontpage-box-standard-button {
      cursor: pointer;
      background: none;
      border: 1px solid var(--color-button-background, var(--color-primary));
      padding: 2rem 2rem;
      text-align: left;
      border-bottom: 8px solid var(--color-button-background, var(--color-primary-dark));
      width: 22%;
      display: flex;
      color: var(--color-text);
      text-decoration: none;
      line-height: 1.2;
      transition: transform 0.2s ease, box-shadow 0.2s ease; }
      @media screen and (max-width: 768px) {
        .frontpage-box.buttons .frontpage-box-standard-button {
          width: 100%;
          align-items: center; } }
      .frontpage-box.buttons .frontpage-box-standard-button:hover:not(.mobilapp) {
        background: var(--color-button-background, var(--color-primary));
        border-bottom: 8px solid var(--color-button-background, var(--color-primary-dark));
        color: var(--color-button-text, var(--color-white));
        transform: translateY(-10px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }
        .frontpage-box.buttons .frontpage-box-standard-button:hover:not(.mobilapp) svg {
          fill: var(--color-white); }
      .frontpage-box.buttons .frontpage-box-standard-button.mobilapp {
        text-align: center;
        border: none;
        width: 100%;
        justify-content: center; }
        .frontpage-box.buttons .frontpage-box-standard-button.mobilapp .title {
          margin-bottom: 0.6rem;
          width: 100%; }
        .frontpage-box.buttons .frontpage-box-standard-button.mobilapp .button-meta-wrapper {
          display: flex;
          flex-wrap: wrap;
          justify-content: center;
          gap: 1rem; }
        .frontpage-box.buttons .frontpage-box-standard-button.mobilapp .app img {
          width: 180px; }
      .frontpage-box.buttons .frontpage-box-standard-button .title {
        display: block;
        margin-bottom: 0.4rem;
        font-weight: bold;
        font-size: 1.2rem; }
        @media screen and (max-width: 768px) {
          .frontpage-box.buttons .frontpage-box-standard-button .title {
            margin-bottom: 0; } }
      .frontpage-box.buttons .frontpage-box-standard-button .desc {
        font-size: 0.85rem;
        opacity: 0.6; }
      .frontpage-box.buttons .frontpage-box-standard-button svg {
        max-height: 40px;
        margin-right: 0.5rem; }

.page-wrapper {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem; }
  @media screen and (max-width: 768px) {
    .page-wrapper {
      padding: 3rem 1rem;
      padding-top: 2rem; } }
  .page-wrapper h1, .page-wrapper h2, .page-wrapper h3, .page-wrapper h4, .page-wrapper h5, .page-wrapper h6 {
    margin-bottom: 1rem; }
  .page-wrapper img {
    width: 100%; }

.ansatte .ansatte-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 1rem; }
  @media screen and (max-width: 768px) {
    .ansatte .ansatte-wrapper {
      grid-template-columns: repeat(2, 1fr); } }
  .ansatte .ansatte-wrapper .ansatt {
    background: var(--color-white);
    border-radius: 5px;
    overflow: hidden; }
    .ansatte .ansatte-wrapper .ansatt .profile-picture img {
      aspect-ratio: 9 / 10;
      object-fit: cover; }
    .ansatte .ansatte-wrapper .ansatt h3 {
      margin: 0; }
    .ansatte .ansatte-wrapper .ansatt .ansatt-epost, .ansatte .ansatte-wrapper .ansatt .ansatt-telefon {
      display: block; }
    .ansatte .ansatte-wrapper .ansatt .meta {
      padding: 0.8rem; }

.frontpage-slider-container {
  height: 100%;
  max-width: 100%;
  overflow: hidden; }

.frontpage-slider-wrapper {
  width: 100%;
  overflow: hidden;
  height: 100%; }

.frontpage-slider {
  display: flex;
  transition: transform 0.5s ease;
  position: relative;
  left: 0;
  height: 100%; }
  .frontpage-slider img {
    width: 100%;
    height: auto;
    display: block;
    height: 100%; }

.slide {
  flex: 0 0 100%;
  position: relative;
  background: var(--color-black); }
  .slide .slide-content {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-30%, -50%); }
    @media screen and (max-width: 768px) {
      .slide .slide-content {
        left: 40%;
        transform: translate(-40%, -50%); } }
    .slide .slide-content .slide-tittel {
      background: var(--color-button-background, var(--color-primary));
      padding: 1rem;
      font-size: 2rem;
      font-weight: bold;
      font-family: var(--font-heading);
      color: var(--color-button-text, var(--color-white));
      width: fit-content;
      margin-bottom: 0.5rem; }
      @media screen and (max-width: 768px) {
        .slide .slide-content .slide-tittel {
          font-size: 1.4rem; } }
    .slide .slide-content .slide-undertittel {
      background: var(--color-white);
      padding: 1rem;
      font-size: 1.2rem;
      font-family: var(--font-heading);
      color: rgba(0, 0, 0, 0.7);
      font-weight: bold;
      width: fit-content; }
      @media screen and (max-width: 768px) {
        .slide .slide-content .slide-undertittel {
          font-size: 1rem; } }
    .slide .slide-content .slide-knapp {
      border-radius: 5px;
      background: var(--color-button-background, var(--color-secondary));
      padding: 0.4rem 1.2rem;
      color: var(--color-button-text, rgba(0, 0, 0, 0.8));
      display: inline-block;
      font-weight: bold;
      font-style: italic;
      text-decoration: none;
      font-size: 1rem;
      margin-top: 0.5rem; }

.prev, .next {
  position: absolute;
  top: 50%;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  width: 40px;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 20px;
  z-index: 10; }

.prev {
  left: 20px; }

.next {
  right: 20px; }

.dots {
  text-align: center;
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.2);
  display: block;
  padding: 1rem;
  border-radius: 40px;
  padding-top: 0.5rem;
  line-height: 1.2; }

.dot {
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: #fff;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer; }
  .dot.active {
    background-color: var(--color-secondary); }

.footer {
  padding: 2rem;
  background: var(--color-white);
  color: var(--color-text); }
  @media screen and (max-width: 768px) {
    .footer {
      padding: 1rem 0; } }
  .footer a {
    color: var(--color-text); }
  .footer .footer-widget-area {
    display: flex;
    gap: 2rem;
    width: 100%;
    justify-content: space-between; }
    @media screen and (max-width: 768px) {
      .footer .footer-widget-area {
        flex-direction: column; } }
    .footer .footer-widget-area h1, .footer .footer-widget-area h2, .footer .footer-widget-area h3, .footer .footer-widget-area h4, .footer .footer-widget-area h5, .footer .footer-widget-area h6 {
      margin-bottom: 1rem;
      font-size: 1.2rem; }
    .footer .footer-widget-area .footer-widget {
      max-width: 33%; }
      @media screen and (max-width: 768px) {
        .footer .footer-widget-area .footer-widget {
          max-width: unset; } }
  .footer .disclaimer {
    text-align: right;
    font-weight: bold; }
    @media screen and (max-width: 768px) {
      .footer .disclaimer {
        text-align: left;
        padding: 0 1rem; } }
    .footer .disclaimer a {
      text-decoration: underline; }
  .footer .some {
    position: relative;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-top: 1rem; }
    .footer .some ul {
      display: flex;
      gap: 1.4rem;
      justify-content: right; }
      @media screen and (max-width: 768px) {
        .footer .some ul {
          justify-content: left;
          padding: 0 1rem; } }
    .footer .some svg {
      max-width: 40px;
      height: 20px; }
  .footer .pre-footer {
    display: flex;
    gap: 3rem;
    line-height: 2;
    padding: 2rem;
    max-width: 1580px;
    margin-left: auto;
    margin-right: auto; }
    @media screen and (max-width: 768px) {
      .footer .pre-footer {
        max-width: calc(100% - 2.4rem); } }
    @media screen and (max-width: 768px) {
      .footer .pre-footer {
        padding: 0; } }
    .footer .pre-footer .logo {
      display: flex;
      max-width: 200px;
      margin-left: auto; }
      .footer .pre-footer .logo img {
        width: 100%;
        height: fit-content; }

@media screen and (min-width: 768px) {
  .alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em; }
  .alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em; }
  .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em; } }

@media screen and (max-width: 768px) {
  .alignleft, .aligncenter, .alignright {
    width: 100% !important; } }

.gallery {
  margin: 0 -1.1667% 1.5em; }

.gallery-item {
  float: left;
  margin-top: 0;
  text-align: center;
  width: 100%; }

.gallery-columns-2 .gallery-item {
  width: 48%;
  margin-right: 4%; }

.gallery-columns-3 .gallery-item {
  width: 30.66%;
  margin-right: 4%; }

/* fjern margin-right for siste bilde i raden */
.gallery-item:last-child {
  margin-right: 0; }

.gallery-caption {
  font-size: 0.8em;
  color: #555; }

.wp-caption {
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1); }
  .wp-caption p {
    margin: 0; }

.wp-caption-text {
  padding: 0.5rem;
  background: var(--color-white);
  font-size: 0.85rem; }

.wp-block-separator {
  border-top: 1px solid var(--color-line) !important; }

.screen-reader-text {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden; }

img {
  max-width: 100%;
  height: auto; }

blockquote {
  margin: 1.5em;
  padding-left: 1em;
  border-left: 4px solid #ddd; }

ul,
ol {
  padding-left: 2em; }

iframe[src*="youtube.com"] {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  max-width: 100%;
  border: none;
  display: block;
  border-radius: 10px;
  overflow: hidden; }
