/*
Theme Name:       FREDA Magazine
Theme URI:        https://freda-magazine.at
Author:           Bluemonkeys
Author URI:       https://bluemonkeys.at
Description:      A custom WordPress theme for FREDA Magazin.
Version:          1.4.16
License:          GNU General Public License v2 or later
License URI:      https://www.gnu.org/licenses/gpl-2.0.html
Tags:             blog, magazine, news, responsive-layout, custom-background, custom-header, custom-logo, featured-images, flexible-header, theme-options, translation-ready
Text Domain:      freda
*/

@font-face {
  font-family: "GothamNarrow-Medium";
  src: url("./assets/fonts/GothamNarrow-Medium.woff2")
    format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GothamNarrow-Light";
  src: url("./assets/fonts/GothamNarrow-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --after-width: 222px;
  --input-width: 90px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body {
  font-family: "GothamNarrow-Medium", Arial, sans-serif;
  line-height: 1;
  background-color: #fff;
  overflow-x: hidden;
}

main {
  width: 100%;
}

ul,
li {
  list-style: none;
}

a {
  text-decoration: none;
  color: #000000;
}

img {
  width: 100%;
  height: 100%;
}

h1,
h2 {
  font-size: 40px;
  line-height: 1.2;
  font-weight: inherit;
  font-family: "GothamNarrow-Medium", sans-serif;
}

h3 {
  font-size: 25px;
  line-height: 1.2;
  font-weight: inherit;
  font-family: "GothamNarrow-Medium", sans-serif;
}

.container {
  max-width: 1280px;
  will-change: padding;
}

@media screen and (max-width: 1290px) {
  .container {
    padding: 0 20px;
  }
  .copyright {
    padding: 24px 20px 20px 20px !important;
  }
}

.freda-red {
  background-color: #9c2d5d;
  border: 1px solid #9c2d5d !important;

  a {
    color: #fff;
  }
}

.freda-green {
  background-color: #30472f;
  border: 1px solid #30472f !important;

  a {
    color: #fff;
  }
}

.freda-wheat {
  background-color: #e2e0d3;
  border: 1px solid #e2e0d3 !important;

  a {
    color: #000;
  }
}

.e-con > .elementor-widget {
  width: 100%;
}

.post-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
  background-color: #f3f2ea;

  .container {
    display: grid;
    grid-template-columns: 1fr 0.53fr;
    gap: 102px;
    width: 100%;

    .post-categories {
      display: flex;
      align-items: center;
      gap: 10px;

      a {
        font-size: 15px;
      }
    }

    .post-info {
      display: flex;
      flex-direction: column;
      gap: 20px;

      .post-meta {
        display: flex;
        align-items: center;
        gap: 30px;

        p {
          font-size: 18px;
          color: #000000;
          font-weight: 300;
          line-height: 1.5;
          display: flex;
          align-items: center;
          gap: 10px;
          font-family: "GothamNarrow-Light", sans-serif;
          font-weight: 300;
          margin: 0;

          a {
            color: #30472f;
            text-decoration: underline;
            font-size: 18px;

            &:hover {
              text-decoration: none;
            }
          }
        }

        img {
          width: 20px;
          height: 20px;
        }
      }

      .post-share-buttons {
        .share-buttons {
          display: none;
          align-items: center;
          gap: 10px;

          img {
            width: 20px;
            height: 20px;
          }
          a {
            color: #fff;
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 18px;
            background-color: #30472f;
            padding: 8px 20px;
            border-radius: 8px;
            font-weight: 300;
          }
        }
      }
    }

    .post-title {
      font-size: 40px;
      font-weight: 600;
      margin-top: 15px;
      color: #000000;
      text-transform: uppercase;
      font-family: "GothamNarrow-Medium", sans-serif;
    }

    .post-text {
      margin: 20px 0;

      div {
        width: 100% !important;

        img {
          margin-bottom: 10px;
        }

        .wp-caption-text {
          font-size: 15px;
          font-style: italic;
          line-height: 1.5;
          margin-bottom: 20px;
          margin-top: -10px;
          color: #000000;
          font-family: "GothamNarrow-Light", sans-serif;
        }
      }

      .wp-caption {
        img {
          margin: 15px 0;
          width: 100% !important;
          height: auto;
          border-radius: 8px;
        }
      }

      h1 {
        font-size: 36px;
        font-weight: 550;
        margin-bottom: 15px;
        margin-top: 30px;
        font-family: "GothamNarrow-Medium", sans-serif;
      }

      h2 {
        font-size: 32px;
        font-weight: 550;
        margin-bottom: 15px;
        margin-top: 30px;
        font-family: "GothamNarrow-Medium", sans-serif;
      }

      h3 {
        font-size: 28px;
        font-weight: 550;
        margin-bottom: 15px;
        margin-top: 30px;
        font-family: "GothamNarrow-Medium", sans-serif;
      }

      h4 {
        font-size: 24px;
        font-weight: 550;
        margin-bottom: 15px;
        margin-top: 30px;
        font-family: "GothamNarrow-Medium", sans-serif;
      }

      h5 {
        font-size: 20px;
        font-weight: 550;
        margin-bottom: 15px;
        margin-top: 30px;
        font-family: "GothamNarrow-Medium", sans-serif;
      }

      h6 {
        font-size: 18px;
        font-weight: 550;
        margin-bottom: 15px;
        margin-top: 30px;
        font-family: "GothamNarrow-Medium", sans-serif;
      }

      p {
        font-size: 18px;
        line-height: 1.5;
        margin-bottom: 15px;
        color: #000000;
        font-family: "GothamNarrow-Light", sans-serif;
        font-weight: 300;

        img {
          margin: 15px 0;
          width: 100% !important;
          height: auto;
          border-radius: 8px;
        }

        strong,
        b {
          font-family: "GothamNarrow-Medium", sans-serif;
          font-weight: normal;
        }
      }

      a {
        color: #30472f;
        text-decoration: underline;
        font-size: 18px;
        font-weight: 550;
        font-style: normal;
        font-family: "GothamNarrow-Light", sans-serif;

        &:hover {
          text-decoration: none;
        }
      }

      video {
        margin: 15px 0;
        width: 100% !important;
        height: auto;
        border-radius: 8px;
      }

      iframe {
        margin: 15px 0;
        width: 100% !important;
        border-radius: 8px;
      }

      blockquote {
        background-color: #30472f;
        padding: 20px;
        border-radius: 8px;
        margin: 30px 0;
        font-size: 18px;
        color: #333;

        p {
          margin: 0;
          font-size: 18px;
          color: #ffffff;
          font-weight: 550;

          em {
            font-style: normal;
          }
        }
      }

      ul,
      ol {
        margin: 30px 0;

        li {
          list-style-type: square;
          margin-left: 20px;
          margin-bottom: 10px;
          font-size: 18px;
          color: #333;
          font-family: "GothamNarrow-Light", sans-serif;
          line-height: 1.4;
          font-weight: 300;

          h1,
          h2,
          h3,
          h4,
          h5,
          h6 {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 15px;
          }

          &::marker {
            color: #9c2d5d;
          }
        }
      }
    }

    .post-sticky-wrapper {
      max-width: 408px;
      width: 100%;
      position: sticky;
      top: 30px;
      height: fit-content;

      .post-author__inner {
        background: rgba(255, 255, 255, 0.5);
        border-radius: 8px;
        overflow: hidden;
        padding: 0 0 25px 25px;

        .post-author__info {
          .post-author__image {
            float: right;
            margin-top: -55px;
            width: 130px;
            height: 130px;
            padding-bottom: 5px;

            img {
              border-bottom-left-radius: 8px;
            }
          }

          h3 {
            font-size: 25px;
            font-weight: 600;
            font-family: "GothamNarrow-Medium", sans-serif;
            color: #000;
            text-transform: uppercase;
            padding-top: 25px;
            width: fit-content;
          }

          .post-author__name {
            font-size: 20px;
            font-family: "GothamNarrow-Medium", sans-serif;
            font-weight: 400;
            margin: 6px 0 12px 0;
          }

          .post-author__bio {
            font-size: 16px;
            font-weight: 100;
            line-height: 1.35;
            font-family: "GothamNarrow-Light", sans-serif;
          }

          .post-author__link {
            margin-top: 22px;

            a {
              display: flex;
              align-items: center;
              gap: 10px;

              span {
                text-decoration: underline;
                color: #30472f;
                text-transform: uppercase;
                font-size: 16px;
                font-weight: 500;
                font-family: "GothamNarrow-Light", sans-serif;
              }

              img {
                width: 10px;
                transition: all 0.3s ease;
              }

              &:hover {
                span {
                  text-decoration: none;
                }

                img {
                  transform: translateX(5px);
                }
              }
            }
          }
        }
      }

      .post-related-categories {
        margin-top: 30px;

        ul {
          display: flex;
          flex-direction: column;
          gap: 12px;
          li {
            a {
              position: relative;
              display: flex;
              align-items: center;
              gap: 20px;
              border-radius: 8px;
              overflow: hidden;
              height: 70px;
              padding: 8px;

              .category-featured-image {
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                object-fit: cover;
                z-index: 0;
                transition: all 0.3s ease;
              }

              .title {
                position: relative;
                z-index: 1;
                color: #fff;
                font-size: 25px;
                text-transform: uppercase;
                font-weight: 700;
              }

              .category-icon {
                position: relative;
                z-index: 1;
                border-radius: 8px;
                padding: 4px;
                width: 56px;
                height: 56px;
                display: flex;
                justify-content: center;
                align-items: center;

                img {
                  height: 100% !important;
                }
              }

              &:after {
                content: "";
                position: absolute;
                bottom: 0;
                left: 0;
                height: 100%;
                width: 100%;
                background: linear-gradient(to top, #000000, #00000000);
                z-index: 0;
                transition: all 0.3s ease;
              }

              &:hover {
                .category-featured-image {
                  transform: scale(1.2);
                }

                &:after {
                  opacity: 0.9;
                }
              }
            }
          }
        }
      }
    }
  }
}

@media screen and (max-width: 1200px) {
  .post-content {
    .container {
      grid-template-columns: 1fr;
      justify-content: center;

      .post-sticky-wrapper {
        max-width: 100%;
      }
    }
  }
}

@media screen and (max-width: 1024px) {
  .post-content {
    .container {
      grid-template-columns: 1fr;
      justify-content: center;

      .post-content__inner {
        .post-info {
          .post-share-buttons {
            .share-buttons {
              display: flex;
            }
          }
        }
      }
    }
  }
}

@media screen and (max-width: 768px) {
  .post-content {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 30px 0;
    margin-top: -8px;
    position: relative;

    .container {
      .post-categories {
        display: none;
      }
    }
  }
}

@media screen and (max-width: 500px) {
  .post-content {
    .container {
      .post-info {
        gap: 14px;

        .post-meta {
          .post-author {
            display: none;
          }

          p {
            font-size: 16px;
          }
        }
        .post-share-buttons {
          .share-buttons {
            gap: 10px;

            a {
              font-size: 16px;
              font-family: "GothamNarrow-Light", sans-serif;
              padding: 6px 10px;
              gap: 8px;
              width: 100%;
              text-align: center;
              display: flex;
              justify-content: center;
            }
          }
        }
      }

      .post-sticky-wrapper {
        .post-author__inner {
          overflow: visible;
          padding-left: 0;

          .post-author__info {
            display: flex;
            flex-direction: column;
            gap: 0;
            justify-content: center;
            align-items: center;
            position: relative;

            h3 {
              margin-top: 55px;
              font-size: 20px;
            }

            .post-author__image {
              float: none;
              position: absolute;
              top: 0;
              left: 50%;
              transform: translateX(-50%);

              img {
                border-radius: 8px;
              }
            }

            .post-author__name {
              font-size: 18px;
            }

            .post-author__bio {
              display: none;
            }

            .post-author__link {
              margin-top: 10px;
            }
          }
        }
      }
    }

    .post-title {
      font-size: 30px !important;
      word-break: break-word;
      max-width: 90%;
    }

    .post-text {
      max-width: 100%;
      word-break: break-word;

      p {
        font-size: 16px !important;
      }

      a {
        font-size: 16px !important;
      }

      ul,
      ol {
        li {
          font-size: 16px !important;
          line-height: 1.3;
        }
      }
    }
  }
}

.post-category {
  border-radius: 5px;
  color: white;
  text-transform: uppercase;
  padding: 6px 10px 5px 10px;
  line-height: 1;
  font-weight: 600;
  font-size: 15px;
}

.btn-primary {
  padding: 8px 20px;
  outline: none;
  border: none;
  color: #ffffff;
  background-color: #30472f;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: 10px;
  width: fit-content;
  cursor: pointer;
  font-family: "GothamNarrow-Medium", sans-serif;

  &:hover {
    opacity: 0.8;
  }
}

.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border-left-color: #30472f;
  animation: spin 1s linear infinite;
  margin: 10px auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.header-mobile {
  display: none;
}

header {
  position: relative;
  background-color: transparent;
  z-index: 1000;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  padding: 0 20px;
  width: 100%;

  nav {
    width: 100%;
    max-width: 1280px;
    margin-bottom: 20px;
  }

  ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0;
    list-style: none;

    li {
      cursor: pointer;
      padding: 0;
      border: 1px solid #fff;
      border-radius: 4px;
      background-color: #fff;
      transition: box-shadow 0.3s ease;

      &:hover,
      &:active,
      &.current-menu-item,
      &.current_page_item {
        box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.4);
      }

      a {
        display: block;
        width: 100%;
        height: 100%;
        padding: 7px 70px;
        text-decoration: none;
        color: #000000;
        font-size: 19px;
        font-weight: 550;
        font-family: "GothamNarrow-Medium", sans-serif;
        transition: all 0.3s ease;
        border-radius: 4px;
        line-height: normal;

        &:hover {
        }
      }
    }
  }

  .container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    padding: 20px 0;
    gap: 26px;

    .date-temperature {
      display: flex;
      flex-direction: column;
      gap: 10px;
      width: fit-content;

      img {
        width: 18px;
        height: 20px;
        margin-top: -1px;
      }

      p {
        display: flex;
        gap: 10px;
        color: #fff;
        font-size: 18px;
        font-family: "GothamNarrow-Light", sans-serif;
        font-weight: 300;
        white-space: nowrap;
      }
    }

    .weather-header {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 15px;
    }

    .weather-icon svg {
      width: 20px;
      height: 20px;
      stroke: #ffffff;
      stroke-width: 2;
    }

    .weather-icon.sun {
      background-image: url("/wp-content/themes/freda-wp/assets/icons/weather/sun.svg");
    }
    .weather-icon.moon {
      background-image: url("/wp-content/themes/freda-wp/assets/icons/weather/moon.svg");
    }
    .weather-icon.rain {
      background-image: url("/wp-content/themes/freda-wp/assets/icons/weather/rain.svg");
    }
    .weather-icon.cloudy {
      background-image: url("/wp-content/themes/freda-wp/assets/icons/weather/cloudy.svg");
    }
    .weather-icon.thunderstorm {
      background-image: url("/wp-content/themes/freda-wp/assets/icons/weather/thunderstorm.svg");
    }
    .weather-icon.wind {
      background-image: url("/wp-content/themes/freda-wp/assets/icons/weather/wind.svg");
    }

    .site-logo {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 70px;
      gap: 36px;
      max-width: 44.75rem;

      &:before,
      &:after {
        content: "";
        display: block;
        height: 2px;
        background-color: #fff;
        transition: all 0.3s ease;
      }

      &:before {
        width: 222px;
      }

      &:after {
        width: var(--after-width);
      }

      img {
        width: fit-content;
      }

      &.green {
        img {
          width: fit-content;
        }

        &:before,
        &:after {
          background-color: #30472f;
        }
      }
    }

    .search-social {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 36px;

      .social-icons {
        display: flex;
        align-items: center;
        gap: 10px;

        a {
          width: 26px;
          height: 26px;
          display: block;
        }
      }

      form {
        display: flex;
        align-items: center;
        border: 1px solid #fff;
        border-radius: 4px;
        padding: 4px 14px;

        input {
          outline: none;
          border: none;
          font-size: 16px;
          background-color: #ffffff00;
          font-weight: 350;
          font-family: "GothamNarrow-Light", sans-serif;
          width: var(--input-width);
          color: #fff;
          transition: all 0.3s ease;

          &::placeholder {
            color: #fff;
            font-size: 16px;
          }

          &:focus,
          &:target {
            background: transparent;
          }

          &:-webkit-autofill,
          &:autofill {
            box-shadow: 0 0 0 1000px transparent inset;
            -webkit-box-shadow: 0 0 0 1000px transparent inset;
            -webkit-text-fill-color: #fff;
            transition: background-color 5000s ease-in-out 0s;
            font-size: 16px;
          }
        }

        button {
          background-color: #ffffff00;
          border: none;
          cursor: pointer;
          font-size: 18px;
          width: 14px;
          height: 18px;
          display: flex;
        }
      }
    }

    .green {
      p {
        color: #000000;
      }
      .weather-icon svg {
        stroke: #000000;
      }

      form {
        border: 1px solid #000;

        input {
          color: #000000;

          &::placeholder {
            color: #000000;
          }

          &:-webkit-autofill,
          &:autofill {
            box-shadow: 0 0 0 1000px transparent inset;
            -webkit-box-shadow: 0 0 0 1000px transparent inset;
            -webkit-text-fill-color: #000;
            transition: background-color 5000s ease-in-out 0s;
            font-size: 16px;
          }
        }
      }

      .nav-menu {
        li {
          border: 1px solid #000;
        }
      }
    }
  }

  .green {
    ul {
      li {
        border: 1px solid #000;
      }
    }
  }
}

.search-input {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.search-form[data-expanded="true"] .search-input {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

@media screen and (max-width: 1280px) {
  header {
    nav {
      ul {
        li {
          a {
            padding: 7px 50px;
          }
        }
      }
    }
    .container {
      .site-logo {
        &:before,
        &:after {
          width: 160px;
        }
      }
    }
  }
}

@media screen and (max-width: 1165px) {
  header {
    .container {
      grid-template-columns: 0.35fr 1fr 0.3fr;
      gap: 0;

      .site-logo {
        &:after {
          width: 100px;
        }

        &:before {
          width: 100px;
        }
      }
    }
  }
}

@media screen and (max-width: 1024px) {
  header {
    display: none;
  }

  .header-mobile {
    display: flex;
    position: fixed;
    width: 100%;
    top: 24px;
    z-index: 1000;

    &.active {
      height: 100%;
    }

    .container {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;

      .mobile-logo {
        max-width: 120px;
        width: 100%;
      }

      .menu-button {
        position: relative;
        z-index: 1110;

        button {
          display: flex;
          flex-direction: column;
          gap: 8px;
          background: transparent;
          outline: none;
          border: none;

          span {
            width: 32px;
            height: 2px;
            background: #fff;
            display: block;
            transition: all 0.3s ease;
          }
        }

        &.green {
          button {
            span {
              background: #30472f;
            }
          }
        }

        &.active {
          position: fixed;
          top: 45px;
          right: 20px;

          button {
            span:first-child {
              transform: translate(0px, 4px) rotate(45deg);
              background: #000;
            }

            span:nth-child(2) {
              display: none;
            }

            span:last-child {
              transform: translate(0px, -6px) rotate(-45deg);
              background: #000;
            }
          }
        }
      }

      .mobile-menu {
        position: fixed;
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        display: none;
        padding: 23px 20px 20px 20px;
        flex-direction: column;
        gap: 24px;

        .mobile-logo__green {
          max-width: 120px;
          width: 100%;
        }

        &.active {
          display: flex;
        }

        ul {
          width: 100%;

          li {
            padding: 16px 0;
            border-top: 1px solid #e2e0d3;

            &:first-child {
              border-top: none;
            }

            &:last-child {
              padding: 26px 0;
              border-bottom: 1px solid #e2e0d3;
            }

            &:nth-child(1),
            &:nth-child(2),
            &:nth-child(3),
            &:nth-child(4) {
              a {
                font-weight: 600;
              }
              .item-title {
                font-weight: 600 !important;
                color: #000 !important;
              }
            }

            a {
              display: flex;
              justify-content: space-between;
              align-items: center;
              font-size: 20px;
              font-weight: 600;
              color: #000;

              .category-icon-wrapper {
                width: 42px;
                height: 42px;
                padding: 5px;
                border-radius: 7px;

                .category-icon {
                  height: 100% !important;
                }
              }
            }
          }
        }

        .search-form {
          width: 100%;
          padding: 16px 12px;
          margin-bottom: -10px;
          background: #f3f2ea;
          border-radius: 8px;
          display: flex;
          align-items: center;
          justify-content: space-between;

          input {
            width: 90%;
            border: none;
            outline: none;
            background: transparent;
            font-size: 18px;
            color: #000;
            font-weight: 350;
            font-family: "GothamNarrow-Light", sans-serif;

            &::placeholder {
              color: #000;
              font-weight: 100;
            }
          }

          button {
            border: none;
            outline: none;
            background: transparent;
            width: 20px;
            height: 20px;
          }
        }

        .mobile-social-icons {
          display: flex;
          align-items: center;
          justify-content: center;
          gap: 12px;
          background: #e2e0d3;
          padding: 32px 0;
          position: absolute;
          bottom: 0;
          left: 0;
          right: 0;
          width: 100%;

          a {
            width: 26px;
            height: 26px;
            display: block;

            img {
              width: 26px;
              height: 26px;
            }
          }
        }
      }
    }
  }
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #f3f2ea;
  padding: 40px 0 24px 0;

  .container {
    max-width: 1280px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;

    .column {
      display: flex;
      flex-direction: column;

      h2,
      h3 {
        text-transform: uppercase;
        font-size: 20px;
        font-weight: 600;
        color: #30472f;
        margin-bottom: 10px;
      }

      p {
        font-size: 18px;
        color: #000000;
        margin-bottom: 4px;
        line-height: 1.5;
        font-family: "GothamNarrow-Light", sans-serif;
        font-weight: 300;
      }

      .address {
        margin-bottom: 20px;
        line-height: 1.3!important;
      }

      .contact {
        display: flex;
        flex-direction: column;
        gap: 10px;

        a {
          font-size: 18px;
          color: #000000;
          line-height: 1;
          font-family: "GothamNarrow-Light", sans-serif;
          font-weight: 300;
        }

        span {
          font-size: 18px;
          color: #000000;
          line-height: 1;
          font-weight: 500;
          font-family: "Gotham Narrow", Sans-serif;
        }
      }

      .footer-menu {
        padding-top: 5px;

        ul {
          display: grid;
          grid-template-columns: 1fr 1fr;

          li {
            margin-bottom: 10px;
            background-color: transparent !important;
            border: none !important;

            a {
              color: #000000;
              font-size: 18px;
              font-family: "GothamNarrow-Light", sans-serif;
              font-weight: 300;

              &:hover {
                color: #30472f;
              }
            }
          }
        }
      }
    }
  }

  .copyright {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas: "socials btn-lightgreen footer-menu";
    align-items: center;
    max-width: 1280px;
    width: 100%;
    border-top: 1px solid #000000;
    margin-top: 24px;
    padding: 24px 0 20px 0;

    .socials {
      display: flex;
      gap: 10px;
      a {
        width: 26px;
        height: 26px;
        display: block;

        img {
          width: 100%;
          height: 100%;
        }
      }
    }

    .freda-a {
      padding: 8px 20px;
      background-color: #8cb065;
      border-radius: 8px;
      font-size: 17px;
      font-weight: 550;
      color: #ffffff;
      width: fit-content;
      text-decoration: none;
      margin-left: 100px;
      transition: all 0.3s ease;
      font-family: "GothamNarrow-Medium", sans-serif;

      &:hover {
        background-color: #708d50;
      }
    }

    nav {
      ul {
        display: flex;
        align-items: center;
        justify-content: end;
        gap: 35px;

        li {
          a {
            color: #000000;
            font-size: 18px;
            font-family: "GothamNarrow-Light", sans-serif;
            font-weight: 300;

            &:hover {
              opacity: 0.8;
            }
          }
        }
      }
    }
  }
}

@media screen and (max-width: 1280px) {
  footer {
    .copyright {
      padding: 24px 20px;
    }
  }
}

@media screen and (max-width: 768px) {
  footer {
    .container {
      grid-template-columns: 1fr 1fr;
      gap: 40px;

      .column {
        width: 100%;
        gap: 0px;

        h2 {
          margin-bottom: 5px;
        }

        .contact {
          a {
            font-size: 16px;
          }
        }

        .footer-menu {
          padding-top: 4px;

          ul {
            gap: 6px;

            li {
              margin-bottom: 0;

              a {
                font-size: 16px;
              }
            }
          }
        }

        h3 {
          font-size: 20px;
        }

        p {
          font-size: 16px;
          line-height: 1.3;
        }
      }
    }

    .copyright .btn-lightgreen {
      grid-area: btn-lightgreen;
    }

    .copyright .socials {
      grid-area: socials;
    }

    .copyright .footer-menu {
      grid-area: footer-menu;
    }

    .copyright {
      grid-template-columns: 1fr;
      margin-top: 16px;
      padding: 16px 24px 0 24px!important;
      grid-template-areas:
        "btn-lightgreen"
        "socials"
        "footer-menu";
      gap: 20px;

      .freda-a {
        margin-left: 0;
      }

      nav {
        ul {
          justify-content: start;

          li {
            a {
              font-size: 16px;
            }
          }
        }
      }
    }
  }
}

@media screen and (max-width: 500px) {
  .featured-posts__hero {
    .featured-post-img-wrapper {
      height: 600px!important;
    }
    .post-info {
      margin-top: -150px!important;
    }
  }
  footer {
    .container {
      grid-template-columns: 1fr;
      gap: 20px;
    }
  }
}

.archive-hero {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  margin-bottom: 60px;

  figure {
    position: relative;
    width: 100%;
    height: 454px;
    z-index: -1;

    &:after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      height: 100%;
      width: 100%;
      background: linear-gradient(to top, #000000, #00000000);
      z-index: 0;
    }

    img {
      object-fit: cover;
    }
  }

  .archive-hero-content {
    margin-top: -270px;
    display: flex;
    flex-direction: column;
    gap: 20px;

    .archive-hero-heading {
      .archive-hero-cat {
        width: fit-content;
        margin-bottom: 16px;
        display: block;
      }

      h1 {
        color: #ffffff;
        margin-bottom: 15px;
        font-weight: 600;
        font-family: "GothamNarrow-Medium", sans-serif !important;
        text-transform: uppercase;
      }
    }

    .archive-hero-heading__inner {
      display: grid;
      grid-template-columns: 1fr 0.3fr;
      align-items: end;
      gap: 70px;

      p {
        color: #fff;
        font-size: 18px;
        line-height: 1.5;
        font-weight: 300;
        font-family: "GothamNarrow-Light", sans-serif;
      }

      .mobile-arrow {
        display: none;
      }

      a {
        height: 20px;
        width: fit-content;
        display: block;
      }
      .mobile-icon {
        display: none!important;
      }
    }
  }
}

.archive-recents,
.selected-posts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
  width: 100%;

  .post-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s ease;

    &:hover {
      img {
        transform: scale(1.2);
      }
    }

    .thumbnail-wrapper {
      border: 4px solid #fff;
      border-radius: 8px;
      overflow: hidden;
      height: 213px;
      display: block;

      img {
        border-radius: 4px;
        object-fit: cover;
        height: 100% !important;
        transition: all 0.3s ease;
      }
    }

    .post-category {
      position: absolute;
      top: 15px;
      left: 15px;
      border-radius: 5px;
      color: white;
      text-transform: uppercase;
      padding: 5px 10px;
    }

    a {
      color: #000000;

      .post-title {
        text-transform: uppercase;
        font-size: 25px;
        font-weight: 600;
        margin-bottom: 12px;
      }
    }

    .post-excerpt {
      color: #000;
      font-size: 18px;
      line-height: 1.3;
      font-family: "GothamNarrow-Light", sans-serif;
      font-weight: 300;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
  }
}

@media screen and (max-width: 1290px) {
  .archive-recents,
  .selected-posts {
    padding: 0 20px;
  }
}

@media screen and (max-width: 978px) {
  .archive-recents,
  .selected-posts {
    grid-template-columns: 1fr 1fr;
    padding: 0;
  }
}

@media screen and (max-width: 500px) {
  .archive-recents,
  .selected-posts {
    grid-template-columns: 1fr;
    gap: 20px;

    .post-item {
      background-color: #F3F2EA;
      border-radius: 10px;
      padding-bottom: 14px;

      .thumbnail-wrapper {
        border: none !important;
      }

      a {
        .post-title {
          font-size:20px!important;
          padding: 6px 10px 0 10px;
          margin-bottom: 6px;
        }
        .post-excerpt {
          font-size: 16px;
          padding: 0 10px;
        }

      }
      .post-title {
        font-size: 20px;
      }

      .post-excerpt {
        -webkit-line-clamp: 2;
        font-size: 16px;
      }
    }
  }
}

@media screen and (max-width: 1024px) {
  .archive-hero {
    figure {
        &:before {
          content: "";
          position: absolute;
          top: 0;
          left: 0;
          height: 40%;
          width: 100%;
          background: linear-gradient(to bottom, rgba(0, 0, 0, .8), #00000000);
          z-index: 0;
        }
        &:after {
          height: 50%;
        }
    }
  }
}

@media screen and (max-width: 768px) {
  .archive-hero {
    figure {
      height: 300px;

      &:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 30%;
        width: 100%;
        background: linear-gradient(to bottom, rgba(0, 0, 0, .8), #00000000);
        z-index: 0;
      }
    }

    .archive-hero-content {
      margin-top: -50px;

      .archive-hero-heading {
        background-color: #f3f2ea;
        padding: 20px;
        border-radius: 8px;
        width: 100%;
        position: relative;

        h1 {
          font-size: 30px;
          font-weight: 700;
          margin-bottom: 15px;
          color: #000000;
        }

        .post-category {
          position: absolute;
          top: -40px;
          left: 0;
        }

        .archive-hero-heading__inner {
          grid-template-columns: 1fr;
          gap: 20px;

          p {
            font-size: 18px;
            line-height: 1.5;
            font-weight: 300;
            color: #000000;
          }
          .post-arrow {
            justify-self: end;

            .mobile-icon {
              display: flex !important;
            }
  
            .desktop-icon {
              display: none;
            }
          }
          

          a {
            margin-top: -10px;
            justify-self: end;
          }
        }
      }
    }
  }
}

@media screen and (max-width: 500px) {
  .archive-hero {
    figure {
      &:before {
        height: 50%;
      }
    }

    & .archive-hero-content {
      & .archive-hero-heading__inner {
        .mobile-icon {
          display: flex;
        }
      }
    }
  }

  .archive-hero {
    & .archive-hero-content {
      & .archive-hero-heading__inner {
        .desktop-icon {
          display: none;
        }
      }
    }
  }

  .archive-hero {
    figure {
      height: 313px;

      &:after {
        height: 50%;
      }
    }

    .archive-hero-content {
      .archive-hero-heading {
        h1 {
          font-size: 24px !important;
        }

        p {
          font-size: 16px !important;
        }
      }
    }
  }
}

.category-recent-posts {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 24px;
  padding: 60px 0;
  background-color: #f3f2ea;

  h2 {
    text-transform: uppercase;
    font-weight: 600 !important;
    font-size: 40px !important;
  }

  .selected-posts {
    .post-item {
      
      .thumbnail-wrapper {
        border: none !important;
      }
    }
  }

  .post-category {
    font-weight: 550 !important;
  }
}

@media screen and (max-width: 768px) {
  .category-recent-posts {
    padding: 40px 20px;
    gap: 0px;

    h2 {
      font-size: 30px;
      font-weight: 700;
      margin-bottom: 15px;
      color: #000000;
    }  
  }
}

@media screen and (max-width: 500px) {
  .category-recent-posts {
    h2 {
      font-size: 24px !important;
    }

    .selected-posts {
      .post-item {
        gap: 0;

        .thumbnail-wrapper {
          padding-bottom: 0;
          position: relative;
        }

        .post-info {
          background-color: #ffffff;
          padding: 20px 12px;
          border-bottom-left-radius: 8px;
          border-bottom-right-radius: 8px;
          margin-top: -5px;

          .post-title {
            padding: 0;
          }

          .post-excerpt {
            padding: 0;
            -webkit-line-clamp: 3;
          }
        }
      }
    }
  }
}

.post-featured-image {
  position: relative;
  height: 454px;

  &:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(to top, #000000, #00000000);
    z-index: 0;
  }

  img {
    object-fit: cover;
  }

  .post-category {
    position: absolute;
    bottom: 25px;
    left: 20px;
    z-index: 1;
    display: none;
  }

  .image-subtitle {
    color: #E2E0D3;
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 1;
    font-size: 15px;
    padding: 8px 12px;
    font-family: "GothamNarrow-Light", sans-serif;
    max-width: 300px;
    text-align: right;
    font-style: italic;
  }
}

.mobile-image-subtitle {
  display: none;
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
  font-family: "GothamNarrow-Light", sans-serif;
  font-style: italic;
}

.related-posts {
  display: flex;
  justify-content: center;
  padding: 60px 0;

  .container {
    width: 100%;

    h2 {
      text-transform: uppercase;
      margin-bottom: 30px;
      font-size: 40px;
      font-weight: 700;
      color: #000000;
      text-align: center;
      font-family: "GothamNarrow-Medium", sans-serif;
    }

    .related-posts__inner {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 22px;
      width: 100%;

      .post-item {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 12px;
        transition: all 0.3s ease;

        &:hover {
          img {
            transform: scale(1.2);
          }
        }

        .thumbnail-wrapper {
          border: 4px solid #fff;
          border-radius: 8px;
          overflow: hidden;
          height: 213px;
          display: block;

          img {
            border-radius: 4px;
            object-fit: cover;
            height: 100% !important;
            transition: all 0.3s ease;
          }
        }

        .post-category {
          position: absolute;
          top: 15px;
          left: 15px;
          font-weight: 550;
        }

        a {
          color: #000000;

          .post-title {
            text-transform: uppercase;
            font-size: 25px;
            font-weight: 600;
            margin-bottom: 12px;
          }

          .post-excerpt {
            color: #000;
            font-size: 18px;
            line-height: 1.3;
            font-family: "GothamNarrow-Light", sans-serif;
            font-weight: 300;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
          }
        }
      }
    }
  }

  .related-posts__socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    margin-top: 30px;
    background-color: #30472f;
    padding: 40px 0;
    border-radius: 8px;
    width: 100%;
    color: #fff;
    font-weight: 300 !important;

    h3 {
      font-size: 20px;
      text-transform: uppercase;
      font-family: "GothamNarrow-Medium", sans-serif;
      font-weight: 550;
    }

    .social-icons {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    a {
      width: 26px;
      height: 26px;
      display: block;

      img {
        width: 100%;
        height: 100%;
      }
    }
  }
}

@media screen and (max-width: 978px) {
  .related-posts {
    padding: 30px 0;

    .container {
      .related-posts__inner {
        grid-template-columns: 1fr 1fr;
      }
      .related-posts__socials {
        flex-direction: column;
        gap: 10px;

        h3 {
          text-align: center;
        }
      }
    }
  }
}

@media screen and (max-width: 500px) {
  .related-posts {
    padding: 30px 0;

    .related-posts__socials {
      padding: 20px 40px;
      margin-top: 20px;
    }
    .container {
      h2 {
        font-size: 24px;
      }
      .related-posts__inner {
        grid-template-columns: 1fr;

        .post-item {
          background-color: #F3F2EA;
          border-radius: 10px;
          padding-bottom: 14px;

          .thumbnail-wrapper {
            border: none !important;
          }

          a {
            .post-title {
              font-size:20px!important;
              padding: 6px 10px 0 10px;
              margin-bottom: 6px;
            }
            .post-excerpt {
              font-size: 16px;
              padding: 0 10px;
            }

          }
          .post-title {
            font-size: 20px;
          }

          .post-excerpt {
            -webkit-line-clamp: 2;
            font-size: 16px;
          }
        }
      }
    }

    .related-posts__socials {
      h3 {
        font-size: 16px;
        max-width: 80%;
      }
    }
  }
}

@media screen and (max-width: 1024px) {
  .post-featured-image {
    &:before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      height: 30%;
      width: 100%;
      background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), #00000000);
      z-index: 0;
    }
  }
}

@media screen and (max-width: 768px) {
  .post-featured-image {
    height: 300px;

    &:after, &:before {
      height: 50%;
    }

    .post-category {
      display: block;
    }

    .image-subtitle {
      display: none;
    }
  }

  .mobile-image-subtitle {
    display: block;
  }
}

.green-scrolled {
  background-color: #ffffff;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  top: 0;
  padding: 25px 0 16px 0;
}

.scrolled {
  background-color: #30472f;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  top: 0;
  padding: 25px 0 16px 0;
}

.search-results-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 24px;
  padding: 60px 0;

  .container {
    display: flex;
    flex-direction: column;
    gap: 24px;

    .no-results {
      grid-column: 2/ 2;
      text-align: center;

      h2 {
        font-size: 45px;
        font-family: "GothamNarrow-Medium", sans-serif !important;
        line-height: 1 !important;
        text-transform: uppercase;
      }

      h2,
      p {
        font-family: "GothamNarrow-Light", sans-serif;
        font-weight: 300;
        margin-top: 15px;
        line-height: 1.4;
      }

      form {
        display: flex;
        align-items: center;
        width: 100%;
        border-radius: 8px;
        outline: none;
        border: 1px solid #000;
        margin-top: 15px;
        
        input {
          font-family: "GothamNarrow-Light", sans-serif;
          font-weight: 300;
          color: #000;
          border-radius: 8px;
          font-size: 17px;
          padding: 10px 20px;
          width: 100%;
          outline: none;
          border: none;
        }
  
        .search-submit {
          background: none;
          border: none;
          outline: none;
          color: #fff;
          font-size: 20px;
          margin-right: 15px;
          cursor: pointer;
          display: flex;
          justify-content: center;
          align-items: center;
          width: 20px;
          height: 100%;

  
          &:hover {
            opacity: 0.8;
          }
        }
      }
      
    }
  }

  h1 {
    text-transform: uppercase;
    font-size: 50px;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 30px;
  }

  .selected-posts {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    width: 100%;

    > * {
      align-self: stretch;
    }

    .post-item {
      position: relative;
      display: flex;
      flex-direction: column;
      gap: 0;
      transition: all 0.3s ease;
      height: 100%;

      &:hover {
        img {
          transform: scale(1.2);
        }
      }

      .thumbnail-wrapper {
        border: none;
        position: relative;
      }
      
      .post-info {
        padding: 20px;
        background: #f3f2ea;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        margin-top: -5px;
        flex-grow: 1;

        .post-title {
          text-transform: uppercase;
          font-size: 25px;
          font-weight: 600;
  
          a {
            color: #000000;
          }
        }
  
        .post-category {
          position: absolute;
          top: 15px;
          left: 15px;
          font-weight: 600;
        }
  
        .post-excerpt {
          color: #000;
          font-size: 18px;
          line-height: 1.5;
          font-family: "GothamNarrow-Light", sans-serif;
          font-weight: 300;
          display: -webkit-box;
          -webkit-line-clamp: 3;
          -webkit-box-orient: vertical;
          overflow: hidden;
        }
      }
    }
  }
}

@media screen and (max-width: 1024px) {
  .search-results-wrapper {
    height: auto;
    padding: 120px 0;

    .container {
      height: 100%;
    }

    .no-results {
      grid-column: 1/3 !important;
    }

    .selected-posts {
      grid-template-columns: 1fr 1fr;
    }
  }
}

@media screen and (max-width: 768px) {
  .search-results-wrapper {

    h1 {
      font-size: 30px;
      font-weight: 700;
      margin-bottom: 15px;
      color: #000000;
    }

    .selected-posts {
      grid-template-columns: 1fr;

      .post-item {
        .post-title {
          font-size: 20px;
        }

        .post-excerpt {
            -webkit-line-clamp: 2 !important;
            font-size: 16px !important;
        }
      }
    }
  }
}

.post-share-sticky-btns {
  position: fixed;
  right: 0;
  top: 30%;
  z-index: 10;
  background-color: #30472f;
  padding: 24px 12px;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  max-width: 195px;
  width: 100%;
  transform: translateX(77%);
  transition: all 0.3s ease;

  h3 {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    text-orientation: mixed;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    pointer-events: none;
  }

  .share-buttons {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;

    a {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 18px;
      background-color: #30472f;
      border-radius: 8px;
      color: #fff;
      font-size: 20px;
      transition: all 0.3s ease;

      span {
        font-size: 18px;
        font-weight: 400;
      }

      img {
        width: 25px;
        height: 25px;
      }

      &:hover {
        opacity: 0.8;
      }
    }
  }
}

.sticky-btns-hover {
  transform: translateX(0);
}

@media screen and (max-width: 1024px) {
  .post-share-sticky-btns {
    display: none;
  }
}

.author-page {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0;

  .container {
    .author-hero {
      display: grid;
      grid-template-columns: 0.5fr 1fr;
      gap: 20px;
      background-color: #e2e0d3;
      padding: 20px;
      border-radius: 8px;

      .author-img-wrapper {
        width: 400px;
        height: 400px;

        img {
          border-radius: 8px;
        }
      }

      .author-info {
        /* background-color: #fff; */
        padding: 20px;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        gap: 14px;

        h2 {
          font-weight: 600;
        }

        p {
          font-size: 18px;
          line-height: 1.3;
        }

        .author-social {
          display: flex;
          align-items: center;
          gap: 10px;
          margin-top: 20px;

          a {
            background-color: #fff;
            width: 30px;
            height: 30px;
            display: block;

            img {
              width: 100%;
              height: 100% !important;
            }
          }
        }
      }
    }

    .author-posts {
      margin-top: 50px;
      display: flex;
      justify-content: center;
      flex-direction: column;
      align-items: center;
      gap: 20px;

      h2 {
        text-align: center;
        font-weight: 600;
        text-transform: uppercase;
        margin-bottom: 20px;
      }

      .post-item {
        .post-info {
          display: flex;
          flex-direction: column;
          gap: 14px;

          .post-title {
            margin-bottom: 12px;
          }

          .post-category {
            font-weight: 550;
          }
        }
      }
    }

    .not-found {
      text-align: center;
      h1 {
        font-size: 50px;
      }

      p {
        font-size: 20px;
      }
    }
  }
}

@media screen and (max-width: 500px) {
  .author-page {
    .container {
      width: 100%;

      .author-hero {
        grid-template-columns: 1fr;

        .author-img-wrapper {
          width: 100%;
          height: 350px;
        }
      }
    }
  }
}

.single-cat-load-more {
  font-family: "GothamNarrow-Medium", sans-serif;
  font-weight: 550;
  font-size: 20px;
  align-self: center;
}

