/*
Theme Name: Ohana
Theme URI: https://ohanasurfcamp.com
Author: Lead Getters Collective 
Author URI: https://leadgetterscollective.pl
Description: Custom block theme
Requires at least: 6.9.4
Tested up to: 6.9.4
Requires PHP: 8.3
Version: 1.0.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: LGC
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/
*,
*::before,
*::after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 6px;
  z-index: 999999;
  padding: 8px 16px;
  background-color: var(--wp--preset--color--accent-1);
  color: var(--wp--preset--color--base);
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
}

.skip-link:focus {
  top: 6px;
  outline: 2px solid var(--wp--preset--color--base);
  outline-offset: 2px;
}

/* Screen Reader Text */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  clip: auto !important;
  display: block;
  height: auto;
  left: 5px;
  top: 5px;
  width: auto;
  z-index: 100000;
  padding: 8px 16px;
  background-color: var(--wp--preset--color--accent-1);
  color: var(--wp--preset--color--base);
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
}
/* .is-layout-flow > h1,
.is-layout-flow > h2,
.is-layout-flow > h3,
.is-layout-constrained > h1,
.is-layout-constrained > h2,
.is-layout-constrained > h3,
.is-layout-flex > h1,
.is-layout-flex > h2,
.is-layout-flex > h3 {
  margin-block-end: var(--wp--preset--spacing--50);
} */
button {
  appearance: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  margin: 0;
  padding: 0;
}
.container {
  display: block;
  margin: 0 auto;
  padding: 0 20px;
  max-width: 1240px;
  width: 100%;
}
section a:not(.wp-element-button) {
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}
/* 404 */
.page-404 {
  padding-top: 100px;
}

.page-404-content {
  text-align: center;
  display: flex;
  flex-flow: column wrap;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: var(--wp--preset--spacing--100) 0 50px;
}
.page-404-content h1 {
  margin: 0;
  padding: 0;
  color: var(--wp--preset--color--contrast-2);
}

@media (min-width: 992px) {
  .page-404 {
    padding-top: 120px;
  }
}

/*page header*/
.site-header-group {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

body.admin-bar .site-header-group {
  top: var(--wp-admin--admin-bar--height, 32px);
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header-group {
    top: 46px;
  }
}

.page-header {
  position: static;
  width: 100%;
  /* transition: 0.25s ease background-color; */
}
.announcement-bar {
  background-color: var(--ohana-announcement-bar-bg, #30a0a6);
  color: var(--ohana-announcement-bar-text, #fffff8);
  padding: 10px 0;
  position: relative;
  z-index: 10;
}
.announcement-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.announcement-bar-text {
  margin: 0;
  text-align: center;
  font-size: var(--wp--preset--font-size--x-small);
  line-height: 1.3;
  color: inherit;
}
.announcement-bar-text > :first-child {
  margin-top: 0;
}
.announcement-bar-text > :last-child {
  margin-bottom: 0;
}
.announcement-bar-button {
  flex-shrink: 0;
  background-color: var(--ohana-announcement-bar-button-bg, #f2aa17) !important;
  color: var(--ohana-announcement-bar-button-text, #353535) !important;
}
.announcement-bar-button:hover,
.announcement-bar-button:focus-visible {
  background-color: var(--ohana-announcement-bar-button-bg-hover, #f2aa17) !important;
  color: var(--ohana-announcement-bar-button-text-hover, #fffff8) !important;
}
.announcement-bar-button:hover::before,
.announcement-bar-button:focus-visible::before {
  background-color: currentColor;
}

body.has-announcement-bar main.wrapper > :first-child {
  margin-top: var(--ohana-announcement-bar-height, 0px);
}

@media (max-width: 781px) {
  .announcement-bar {
    padding: 8px 0;
  }
  .announcement-bar-inner {
    gap: 10px;
  }
}
.page-header.scrolled {
  background-color: var(--wp--preset--color--base);
}
.header-left-container,
.header-menu-links,
.header-menu-buttons,
.header-languages {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.header-logo,
.header-logo a {
  display: inline-block;
  line-height: 0;
  padding: 0;
  margin: 0;
}
.header-light-nav .logo-img--default {
  display: none;
}
.page-header.header-light-nav.scrolled .logo-img--light,
.mobile-menu-visible .page-header.header-light-nav .logo-img--light {
  display: none;
}
.page-header.header-light-nav.scrolled .logo-img--default,
.mobile-menu-visible .page-header.header-light-nav .logo-img--default {
  display: inline-block;
}
.header-menu-links li,
.header-menu-buttons li {
  display: inline-block;
  font-size: 0;
}
.header-menu-links a,
.header-language a {
  font-size: var(--wp--preset--font-size--x-small);
  text-decoration: none;
  text-transform: uppercase;
  color: var(--wp--preset--color--contrast);
}
.header-menu-links > .header-menu-link.has-children > a {
  position: relative;
  padding-right: 13px;
}
.header-menu-links > .header-menu-link.has-children > a::before {
  content: "";
  position: absolute;
  right: 0;
  top: 5px;
  width: 7px;
  height: 8px;
  background-color: var(--wp--preset--color--accent-1);
  -webkit-mask-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNSIgaGVpZ2h0PSI1IiB2aWV3Qm94PSIwIDAgNSA1IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0zLjI5OTggNC4yMzMxN0MyLjkyOTk0IDQuOTY1MjkgMS44ODQ1MSA0Ljk2NTI5IDEuNTE0NjYgNC4yMzMxN0wwLjEwOTExIDEuNDUwOTFDLTAuMjI2OTAzIDAuNzg1Nzc0IDAuMjU2NDg5IC00LjU5NjcxZS0wNyAxLjAwMTY4IC01LjI0ODE4ZS0wN0wzLjgxMjc3IC03LjcwNTcxZS0wN0M0LjU1Nzk2IC04LjM1NzE4ZS0wNyA1LjA0MTM2IDAuNzg1Nzc0IDQuNzA1MzQgMS40NTA5MUwzLjI5OTggNC4yMzMxN1oiIGZpbGw9IiMwMDAiLz48L3N2Zz4=);
  mask-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNSIgaGVpZ2h0PSI1IiB2aWV3Qm94PSIwIDAgNSA1IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0zLjI5OTggNC4yMzMxN0MyLjkyOTk0IDQuOTY1MjkgMS44ODQ1MSA0Ljk2NTI5IDEuNTE0NjYgNC4yMzMxN0wwLjEwOTExIDEuNDUwOTFDLTAuMjI2OTAzIDAuNzg1Nzc0IDAuMjU2NDg5IC00LjU5NjcxZS0wNyAxLjAwMTY4IC01LjI0ODE4ZS0wN0wzLjgxMjc3IC03LjcwNTcxZS0wN0M0LjU1Nzk2IC04LjM1NzE4ZS0wNyA1LjA0MTM2IDAuNzg1Nzc0IDQuNzA1MzQgMS40NTA5MUwzLjI5OTggNC4yMzMxN1oiIGZpbGw9IiMwMDAiLz48L3N2Zz4=);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
@media (max-width: 781px) {
  .wp-block-buttons.is-content-justification-right {
    justify-content: flex-start;
  }
}

.wp-block-button__link-header {
  font-size: var(--wp--preset--font-size--x-small);
  color: var(--wp--preset--color--contrast);
  padding: 5px 15px 5px 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1.2;
  transition:
    0.25s ease background-color,
    0.25s ease color;
  position: relative;
}
.wp-block-button__link.wp-block-button__link-header::before {
  content: "";
  display: block;
  flex-shrink: 0;
  line-height: 0;
  mask-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxMSAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTUuNTQ1NDEgMC4zNTM1MTZMOS44OTc0NiA0LjcwNTU3TDUuNTQ1NDEgOS4wNTc2MiIgc3Ryb2tlPSIjMzUzNTM1Ii8+CjxwYXRoIGQ9Ik0xMCA0LjcwNTU3TDAgNC43MDU1NyIgc3Ryb2tlPSIjMzUzNTM1Ii8+Cjwvc3ZnPg==);
  background-color: currentColor;
  width: 10px;
  height: 9px;
  transition:
    0.25s ease background-color,
    0.25s ease transform;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 12px;
  will-change: transform;
}
.wp-block-button__link.wp-block-button__link-header:after {
  content: none;
}
.wp-block-button__link-header:hover {
  background-color: var(--wp--preset--color--accent-2);
  color: var(--wp--preset--color--base);
}
.wp-block-button__link.wp-block-button__link-header:hover::before {
  background-color: var(--wp--preset--color--base);
  transform: translateY(-50%) translateX(5px);
}
.sub-menu-wrap {
  display: none;
}
.sub-menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.menu-icon {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
}
.menu-icon img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  transition: 0.25s ease filter;
}
.burger.hidden,
.close.hidden {
  display: none;
}
.header-right-container {
  display: none;
}
.sub-menu .menu-title {
  font-family: var(--wp--preset--font-family--heading);
  font-size: var(--wp--preset--font-size--x-small);
  font-weight: 900;
  line-height: 1.2;
  color: var(--wp--preset--color--accent-1);
  transition: 0.25s ease color;
}
.sub-menu .header-menu-link a {
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: none;
  transition: 0.25s ease color;
  padding-bottom: 15px;
}
@media (max-width: 991px) {
  .mobile-menu-visible .page-header {
    background-color: var(--wp--preset--color--base);
  }
  .mobile-menu-visible .header-left-container {
    background-color: var(--wp--preset--color--base);
  }
  .header-left-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
    padding: 10px 0;
  }
  .header-logo img {
    max-width: 90px;
    width: 100%;
    height: auto;
  }
  .header-menu-mobile-icons,
  .burger,
  .close,
  .burger-icon,
  .close-icon {
    display: inline-block;
    line-height: 0;
  }
  .header-right-container.navigation-visible {
    display: flex;
    align-items: flex-start;
    flex-flow: column nowrap;
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    background-color: var(--wp--preset--color--base);
    padding: calc(100px + var(--ohana-announcement-bar-height, 0px)) 20px 30px;
    overflow: auto;
    max-height: calc(100vh - 77px - var(--ohana-announcement-bar-height, 0px));
    z-index: 1;
  }
  .header-light-nav .burger-icon rect {
    fill: var(--wp--preset--color--base);
  }
  .page-header.scrolled.header-light-nav .burger-icon rect {
    fill: var(--wp--preset--color--contrast);
  }
  .header-menu-links {
    display: flex;
    flex-flow: column wrap;
    width: 100%;
  }
  .header-menu-links > .header-menu-link > a {
    display: block;
    width: 100%;
    padding-bottom: 15px;
  }
  .header-menu-links > .header-menu-link.has-children > .sub-menu-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.2s ease-out;
    position: static;
    width: 100%;
    box-shadow: none;
    background-color: transparent;
  }
  .header-menu-links > .header-menu-link.has-children > .sub-menu-wrap.visible {
    grid-template-rows: 1fr;
  }
  .header-menu-links
    > .header-menu-link.has-children
    > .sub-menu-wrap
    .sub-menu-inside-wrap {
    overflow: hidden;
    min-height: 0;
  }
  .header-menu-links
    > .header-menu-link.has-children
    > .sub-menu-wrap
    .sub-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 10px;
    padding-left: 5px;
  }
  .header-menu-links
    > .header-menu-link.has-children
    > .sub-menu-wrap
    .sub-menu
    .header-menu-link
    a {
    padding-bottom: 12px;
  }
  .header-menu-links
    > .header-menu-link.has-children.sub-menu-open
    > a::before {
    transform: rotate(180deg);
  }
  body {
    position: relative;
  }
  body.mobile-menu-visible {
    overflow-y: hidden;
  }
  .wrapper:after,
  footer:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition:
      0.2s ease-in-out opacity,
      0.2s ease-in-out backdrop-filter;
    pointer-events: none;
  }
  body.mobile-menu-visible .wrapper:after,
  body.mobile-menu-visible footer:after {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    cursor: pointer;
    pointer-events: auto;
  }
  .header-languages {
    margin-top: 15px;
  }
  .header-menu-buttons {
    margin-top: 5px;
  }
}
@media (min-width: 992px) {
  .header-menu-mobile-icons,
  .burger-icon,
  .close-icon {
    display: none;
  }
  .page-header .container {
    display: block;
  }
  .page-header.scrolled .header-menu-links a,
  .page-header.scrolled .header-language a {
    color: var(--wp--preset--color--contrast);
  }
  .header-light-nav .header-menu-links a,
  .header-light-nav .header-language a {
    color: var(--wp--preset--color--base);
  }
  .page-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    position: static;
  }
  .header-right-container {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .header-menu-links {
    display: flex;
    align-items: center;
  }
  .header-menu-links > .header-menu-link {
    height: 104.5px;
  }
  .header-menu-links > .header-menu-link,
  .header-menu-buttons li {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
  }
  .header-menu-links > .header-menu-link:last-child,
  .header-menu-buttons li:last-child {
    margin-right: 0;
  }
  .header-menu-links > .header-menu-link > a,
  .header-language a {
    /* transition: 0.25s ease color; */
    position: relative;
  }
  .header-menu-links > .header-menu-link.has-children > a::before {
    top: 50%;
    transform: translateY(-50%);
  }
  .header-menu-links > .header-menu-link > a:hover,
  .page-header .header-language .header-language-link:hover,
  .header-menu-links > .header-menu-link.current-menu-item > a,
  .header-menu-links > .header-menu-link.current-page-ancestor > a {
    color: var(--wp--preset--color--accent-1);
  }
  .header-menu-links > .header-menu-link.has-children:hover > a,
  .header-menu-links > .header-menu-link.has-children:focus-within > a {
    color: var(--wp--preset--color--accent-1);
  }
  .header-menu-links > .header-menu-link > a::after,
  .header-language a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--wp--preset--color--accent-1);
    opacity: 0;
    transition: 0.25s ease opacity;
  }
  .header-menu-links > .header-menu-link > a:hover::after,
  .header-language a:hover::after,
  .header-menu-links > .header-menu-link.current-menu-item > a::after,
  .header-menu-links > .header-menu-link.current-page-ancestor > a::after {
    opacity: 1;
  }
  .sub-menu-wrap {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    top: 100%;
    z-index: 1;
    background-color: var(--wp--preset--color--base);
    box-shadow: 0px 4px 6px 0px #f2aa1740;
  }
  .sub-menu-wrap > .sub-menu-inside-wrap {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 12px 20px;
  }
  .header-menu-links > .header-menu-link.has-children:hover > .sub-menu-wrap,
  .header-menu-links
    > .header-menu-link.has-children:focus-within
    > .sub-menu-wrap {
    display: block;
  }
  .sub-menu {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 40px;
    justify-content: space-between;
  }
  .sub-menu > .header-menu-link {
    display: block;
    font-size: initial;
  }
  .sub-menu .header-menu-link a {
    gap: 12px;
  }
  .sub-menu .menu-title {
    font-size: var(--wp--preset--font-size--large);
  }
  .sub-menu .header-menu-link a {
    padding-bottom: 0;
  }
  .sub-menu .header-menu-link a::after {
    content: none;
  }
  .sub-menu .menu-item:hover .menu-title {
    color: var(--wp--preset--color--accent-2);
  }
  .menu-icon img {
    width: 75px;
    height: 75px;
  }
  .sub-menu .menu-item:hover .menu-icon img {
    filter: brightness(0) saturate(100%) invert(48%) sepia(100%) saturate(315%)
      hue-rotate(134deg) brightness(92%) contrast(84%);
  }
}
/* footer */
.page-footer {
  background-color: var(--wp--preset--color--accent-2);
  padding-bottom: var(--wp--preset--spacing--50);
  padding-top: 30px;
}
.copyright {
  font-size: var(--wp--preset--font-size--small);
  color: var(--wp--preset--color--base);
}
.copyright-left {
  line-height: 1.5;
  margin-bottom: 15px;
  display: flex;
  gap: 12px;
  flex-flow: row wrap;
}
.copyright-right {
  line-height: 1.5;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  gap: 10px;
}
.copyright-right a {
  display: inline-flex;
  transition-property: filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  margin-top: 3px;
}
.copyright-right a:hover img {
  filter: brightness(0) saturate(100%) invert(72%) sepia(44%) saturate(1131%)
    hue-rotate(348deg) brightness(97%) contrast(95%);
}
.copyright-left,
.copyright-right {
  justify-content: center;
}
.footer-menu-links {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  flex-flow: row wrap;
  gap: 15px;
}
.footer-menu-links a {
  text-decoration: underline;
  color: var(--wp--preset--color--base);
}
@media (min-width: 768px) {
  .page-footer {
    padding-top: 0;
  }
  .copyright {
    display: flex;
    justify-content: space-between;
    gap: 25px;
  }
  .copyright-left {
    margin-bottom: 0;
  }
}
@media (min-width: 992px) {
  .copyright-left {
    gap: 24px;
  }
}
/* Social Links */
.wp-block-social-links.is-style-pill-shape .wp-social-link a {
  padding: 6px 20px;
}
.wp-block-social-link:hover {
  transform: none;
}
.wp-block-social-links .wp-social-link span:not(.screen-reader-text) {
  font-size: var(--wp--preset--font-size--medium);
}
.wp-block-social-links .wp-social-link span:not(.screen-reader-text) {
  margin-left: 12px;
}
.wp-block-social-link,
.wp-block-button {
  position: relative;
}
.wp-block-social-link::after {
  content: "";
  position: absolute;
  inset: -20px;
  border: 1px solid var(--wp--preset--color--accent-1);
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.wp-block-social-link:hover::after {
  opacity: 1;
}

/* List block (core/list) */
.wp-block-list {
  padding-inline-start: 15px !important;
}

/* Image — image in footer */
@media (max-width: 991px) {
  .wp-block-image.is-style-image-in-footer img {
    max-width: 250px !important;
    width: 100% !important;
    height: auto !important;
  }
}

/* Przycisk wypełnienie (domyślny) — margines i obramowanie hover od 992px */
@media (min-width: 992px) {
  .wp-block-button:not(.is-style-outline):not(.is-style-ohana-read-more):not(
      .is-style-ohana-fill-4
    ):not(:has(> .wp-block-button__link-header)) {
    margin: 20px;
  }

  .wp-block-button:not(.is-style-outline):not(.is-style-ohana-read-more):not(
      .is-style-ohana-fill-4
    )
    > .wp-block-button__link:not(.wp-block-button__link-header)::after {
    content: "";
    position: absolute;
    inset: -20px;
    border: 1px solid var(--wp--preset--color--accent-1);
    border-radius: 999px;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
  }

  .wp-block-button:not(.is-style-outline):not(.is-style-ohana-read-more):not(
      .is-style-ohana-fill-4
    )
    > .wp-block-button__link:not(.wp-block-button__link-header):hover::after {
    opacity: 1;
  }
  /* social buttons */
  .wp-block-social-links.is-style-pill-shape .wp-social-link,
  .is-style-pill-shape.wp-block-social-links .wp-social-link {
    margin: 20px !important;
  }
}

/* Przycisk wypełnienie 3 */
.wp-block-button.is-style-ohana-fill-3 > .wp-block-button__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 20px;
}

/* Przycisk wypełnienie (domyślny) */
.wp-block-button:not(.is-style-outline):not(.is-style-ohana-read-more):not(
    .is-style-ohana-fill-3
  ):not(.is-style-ohana-fill-4)
  > .wp-block-button__link:not(.wp-block-button__link-header) {
  position: relative;
}

.wp-block-button:not(.is-style-outline):not(.is-style-ohana-read-more):not(
    .is-style-ohana-fill-3
  ):not(.is-style-ohana-fill-4)
  > .wp-block-button__link:not(.wp-block-button__link-header)::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 7px;
  height: 12px;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNyIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDcgMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTAuMzUzNTE2IDAuMzUzNTE2TDUuNjAzNTIgNS42MDM1MkwwLjM1MzUxNiAxMC44NTM1IiBzdHJva2U9IiNGRkZGRjgiLz48L3N2Zz4=");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}
/* Media & Text */
@media (max-width: 767px) {
  .wp-block-media-text.is-stacked-on-mobile {
    grid-template-columns: 100% !important;
  }

  .wp-block-media-text.is-stacked-on-mobile > .wp-block-media-text__content {
    grid-column: 1;
    grid-row: 1;
  }

  .wp-block-media-text.is-stacked-on-mobile > .wp-block-media-text__media {
    grid-column: 1;
    grid-row: 2;
  }
  .wp-block-media-text {
    gap: 25px;
  }
  .wp-block-media-text.is-image-fill-element .wp-block-media-text__media img {
    border-radius: 26px;
  }

  .wp-block-media-text.is-image-fill-element.is-ohana-partial-image-radius .wp-block-media-text__media img {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 26px;
    border-bottom-right-radius: 26px;
  }
}
.wp-block-media-text > .wp-block-media-text__content {
  padding: 0;
}
@media (min-width: 768px) {
  .wp-block-media-text {
    gap: 50px;
  }
  .wp-block-media-text.is-image-fill-element .wp-block-media-text__media img {
    border-radius: 26px;
  }

  .wp-block-media-text.is-image-fill-element.is-ohana-partial-image-radius .wp-block-media-text__media img {
    border-top-left-radius: 0;
    border-top-right-radius: 26px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 26px;
  }
}
@media (min-width: 992px) {
  .wp-block-media-text {
    gap: 100px;
  }
}

/* Blog archive grid (home.php) — same tiers as latest-posts / surf-camps-grid */
.blog-posts-list {
  display: grid;
  gap: 50px var(--wp--preset--spacing--40);
  grid-template-columns: 1fr;
  margin-bottom: var(--wp--preset--spacing--100);
}

@media (min-width: 576px) {
  .blog-posts-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .blog-posts-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Blog single (single.php) */
.blog-single {
  padding-top: 100px;
}

.blog-single-container {
  display: block;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.blog-single-title {
  margin: 0 0 clamp(50px, 5vw, 70px);
  font-family: var(--wp--preset--font-family--heading);
  font-size: var(--wp--preset--font-size--xxx-large);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  color: var(--wp--preset--color--accent-1, #f2aa17);
}

.blog-single-content > * + * {
  margin-top: var(--wp--preset--spacing--30, 30px);
}

.blog-single-content :where(h2, h3, h4) {
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 900;
  line-height: 1.2;
  color: var(--wp--preset--color--contrast);
}

.blog-single-content .wp-block-image img {
  border-radius: 26px;
}

.blog-single-related-container {
  padding: var(--wp--preset--spacing--100) 0;
  background-color: var(--wp--preset--color--base-2);
}

.blog-single-related-title {
  margin: 0 0 var(--wp--preset--spacing--70, clamp(50px, 7vw, 70px));
  font-family: var(--wp--preset--font-family--heading);
  font-size: var(--wp--preset--font-size--xx-large);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  color: var(--wp--preset--color--accent-1, #f2aa17);
}

.blog-single-related .blog-posts-list {
  margin-bottom: 0;
}
@media (min-width: 992px) {
  .blog-single {
    padding-top: 120px;
  }
}

/*blog pagination*/
.blog-navigation {
  text-align: center;
}
.custom-navigation {
  text-align: center;
  display: inline-flex;
  justify-content: center;
  padding: 10px 28px;
  border: 1px solid var(--wp--preset--color--base-3);
  border-radius: 10px;
}
.custom-navigation .nav-links {
  display: inline-flex;
  text-decoration: none;
}
.custom-navigation .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--wp--preset--font-size--small);
  font-family: var(--wp--preset--font-family--body);
  color: var(--wp--preset--color--contrast);
  font-weight: 400;
  line-height: 1.5;
  border: 1px solid var(--wp--preset--color--base);
  border-radius: 6px;
  margin: 0 4px;
  padding: 5px 12px;
  text-decoration: none;
  transition: 0.2s ease-in-out all;
  min-width: 34px;
  height: 36px;
}
.custom-navigation .page-numbers:not(.current):hover {
  color: var(--wp--preset--color--accent-2);
}
.custom-navigation .page-numbers.current {
  display: inline-flex;
  color: var(--wp--preset--color--base);
  background-color: var(--wp--preset--color--accent-2);
  border: 1px solid var(--wp--preset--color--accent-2);
}
.custom-navigation .page-numbers.next,
.custom-navigation .page-numbers.prev {
  border: none;
  padding: 0;
}
.custom-navigation .custom-navigation-next,
.custom-navigation .custom-navigation-prev {
  display: inline-block;
  width: 34px;
  height: 36px;
  background-repeat: no-repeat;
  background-position: center center;
  transition: 0.2s ease-in-out all;
  border-radius: 6px;
}
.custom-navigation .custom-navigation-prev {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkuMjk1NDEgMTEuNzI2MkM5LjE3MzUzIDExLjcyNjIgOS4wNTE2NiAxMS42ODU1IDguOTcwNDEgMTEuNTg0TDQuMzc5NzkgNi45MTIxMUM0LjE5Njk3IDYuNzI5MyA0LjE5Njk3IDYuNDQ0OTIgNC4zNzk3OSA2LjI2MjExTDguOTcwNDEgMS41OTAyM0M5LjE1MzIyIDEuNDA3NDIgOS40Mzc2IDEuNDA3NDIgOS42MjA0MSAxLjU5MDIzQzkuODAzMjIgMS43NzMwNSA5LjgwMzIyIDIuMDU3NDIgOS42MjA0MSAyLjI0MDIzTDUuMzU0NzkgNi41ODcxMUw5LjY0MDcyIDEwLjkzNEM5LjgyMzUzIDExLjExNjggOS44MjM1MyAxMS40MDEyIDkuNjQwNzIgMTEuNTg0QzkuNTE4ODUgMTEuNjY1MiA5LjQxNzI4IDExLjcyNjIgOS4yOTU0MSAxMS43MjYyWiIgZmlsbD0iIzExMTkyOCIvPgo8L3N2Zz4=");
}
.custom-navigation .custom-navigation-next {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQuNzA0NzkgMTEuNzI2MkM0LjU4MjkxIDExLjcyNjIgNC40ODEzNSAxMS42ODU1IDQuMzc5NzkgMTEuNjA0M0M0LjE5Njk3IDExLjQyMTUgNC4xOTY5NyAxMS4xMzcxIDQuMzc5NzkgMTAuOTU0M0w4LjY0NTQxIDYuNTg3MTFMNC4zNzk3OSAyLjI0MDIzQzQuMTk2OTcgMi4wNTc0MiA0LjE5Njk3IDEuNzczMDUgNC4zNzk3OSAxLjU5MDIzQzQuNTYyNiAxLjQwNzQyIDQuODQ2OTcgMS40MDc0MiA1LjAyOTc4IDEuNTkwMjNMOS42MjA0MSA2LjI2MjExQzkuODAzMjIgNi40NDQ5MiA5LjgwMzIyIDYuNzI5MyA5LjYyMDQxIDYuOTEyMTFMNS4wMjk3OCAxMS41ODRDNC45NDg1MyAxMS42NjUyIDQuODI2NjYgMTEuNzI2MiA0LjcwNDc5IDExLjcyNjJaIiBmaWxsPSIjMTExOTI4Ii8+Cjwvc3ZnPg==");
}

/* Surf Camps archive & single */
.surf-camps-filters {
  border-radius: 26px;
  background-color: var(--wp--preset--color--base-2);
  padding: var(--wp--preset--spacing--50, 50px);
  margin-bottom: 70px;
}

.surf-camps-filters-group + .surf-camps-filters-group {
  margin-top: var(--wp--preset--spacing--30, 30px);
}

.surf-camps-filters-label {
  margin: 0 0 clamp(16px, 2.5vw, 30px);
  font-weight: 600;
  font-size: var(--wp--preset--font-size--medium-large);
  line-height: 1.5;
  color: var(--wp--preset--color--contrast);
}

.surf-camps-filters-pills {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.25vw, 22px);
}

.surf-camps-filter {
  appearance: none;
  border: 1px solid var(--wp--preset--color--contrast);
  background: transparent;
  color: var(--wp--preset--color--contrast);
  border-radius: 100px;
  padding: 6px 15px;
  font-family: var(--wp--preset--font-family--body);
  font-size: var(--wp--preset--font-size--medium);
  font-weight: 400;
  line-height: 1.625;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.surf-camps-filter:hover,
.surf-camps-filter:focus-visible {
  background: var(--wp--preset--color--accent-1);
  color: var(--wp--preset--color--base, #fffff8);
  border-color: var(--wp--preset--color--accent-1);
  outline: none;
}

.surf-camps-filter.is-active {
  background: var(--wp--preset--color--accent-1);
  color: var(--wp--preset--color--base, #fffff8);
  border-color: var(--wp--preset--color--accent-1);
}

.surf-camps-results {
  margin-bottom: 100px;
}

.surf-camps-results.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.surf-camps-grid {
  display: grid;
  gap: 70px var(--wp--preset--spacing--40, 40px);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .surf-camps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .surf-camps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.surf-camps-no-results {
  text-align: center;
  padding: clamp(15px, 5vw, 30px);
  background:
    repeating-linear-gradient(90deg, #2aa3b0 0 12px, transparent 12px 24px) top
      left / calc(100% - 10px) 1px no-repeat,
    repeating-linear-gradient(90deg, #2aa3b0 0 12px, transparent 12px 24px)
      bottom right / calc(100% - 10px) 1px no-repeat,
    repeating-linear-gradient(0deg, #2aa3b0 0 12px, transparent 12px 24px) top
      left / 1px calc(100% - 10px) no-repeat,
    repeating-linear-gradient(0deg, #2aa3b0 0 12px, transparent 12px 24px)
      bottom right / 1px calc(100% - 10px) no-repeat;
}

.surf-camp-single {
  padding-top: 100px;
}

.surf-camp-single-back {
  margin: 0 0 clamp(16px, 2vw, 24px);
}

.surf-camp-single-back a {
  text-decoration: none;
  font-weight: 600;
}

.surf-camp-single-title {
  margin: 0 0 48px;
  font-family: var(--wp--preset--font-family--heading);
  font-size: var(--wp--preset--font-size--xxx-large);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  color: var(--wp--preset--color--accent-1, #f2aa17);
}

.surf-camp-single-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  margin-bottom: 50px;
}

@media (max-width: 575px) {
  .surf-camp-single-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 299px) {
  .surf-camp-single-facts {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 991px) {
  .surf-camp-single-fact {
    min-width: 0;
  }

  .surf-camp-single-book {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (min-width: 992px) {
  .surf-camp-single {
    padding-top: 120px;
  }

  .surf-camp-single-facts {
    grid-template-columns: repeat(auto-fit, minmax(72px, max-content));
    justify-content: space-between;
  }
}

.surf-camp-single-fact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 72px;
}

.surf-camp-single-fact-label {
  font-family: var(--wp--preset--font-family--body);
  font-size: var(--wp--preset--font-size--medium);
  line-height: 1.625;
  color: var(--wp--preset--color--contrast);
}

.surf-camp-single-fact-value {
  font-family: var(--wp--preset--font-family--body);
  font-size: var(--wp--preset--font-size--medium-large);
  font-weight: 600;
  line-height: 1.2;
  color: var(--wp--preset--color--contrast, #353535);
}

.surf-camp-single-fact-value--is-struck {
  text-decoration: line-through;
}

.surf-camp-single-fact-value--is-promo {
  color: var(--wp--preset--color--accent-1);
}
