/**
 * Theme Name: Sea Fresh
 * Description: Het thema voor seafresh.nl
 * Author: SPIKKER
 * Template: blocksy
 * Text Domain: blocksy
 */

/* Borders */
/*.border {
    perspective: 1px;
    background-clip: padding-box;
    background-origin: border-box;
    border-width: 19px !important;
    border-image-slice: 19 fill !important;
    border-image-repeat: round !important;
    border-style: solid !important;
    border-color: rgba(0, 0, 0, 0);
}*/

.border {
    border-style: solid !important;
    border-color: transparent;
    border-width: 20px !important;
    border-image-slice: 20 fill;
    border-image-repeat: stretch;
    background-clip: padding-box;
    background-origin: border-box;
}

.border-green {
    border-image-source: url("images/border-green.svg");
}

.border-lighter-blue {
    border-image-source: url("images/border-lighter-blue.svg");
}

.border-light-blue {
    border-image-source: url("images/border-light-blue.svg");
}

.border-blue {
    border-image-source: url("images/border-blue.svg");
}

.border-dark-blue {
    border-image-source: url("images/border-dark-blue.svg");
}

.border-sky-blue {
    border-image-source: url("images/border-sky-blue.svg");
}

.border-grey-blue {
    border-image-source: url("images/border-grey-blue.svg");
}

.border-red {
    border-image-source: url("images/border-red.svg");
}

.border-purple {
    border-image-source: url("images/border-purple.svg");
}

.border-inverted {
    position: relative;
    border: none !important;
    border-image: none !important;
    background-clip: padding-box;
    background-origin: border-box;
}

.border-inverted.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}

.border-inverted.alignfull.border-inverted-white::before,
.border-inverted.alignfull.border-inverted-white::after {
    background: #fff;
    content: "";
    height: 22px;
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    z-index: 1;
}

.border-inverted.alignfull.border-inverted-white::before {
    clip-path: polygon(0 0, 100% 0, 100% 72%, 94% 58%, 88% 75%, 81% 62%, 74% 78%, 67% 60%, 59% 74%, 51% 58%, 44% 75%, 36% 63%, 29% 79%, 21% 61%, 14% 74%, 7% 58%, 0 76%);
    top: -1px;
}

.border-inverted.alignfull.border-inverted-white::after {
    bottom: -1px;
    clip-path: polygon(0 24%, 7% 42%, 14% 26%, 21% 39%, 29% 21%, 36% 37%, 44% 25%, 51% 42%, 59% 26%, 67% 40%, 74% 22%, 81% 38%, 88% 25%, 94% 42%, 100% 28%, 100% 100%, 0 100%);
}

.team-grid-thumb.border.border-inverted.border-inverted-white {
    border-style: solid !important;
    border-color: transparent !important;
    border-width: 20px !important;
    border-image-source: url("images/backup-border-inverted-white.svg") !important;
    border-image-slice: 20 fill !important;
    border-image-width: 20px !important;
    border-image-outset: 0 1px 1px 1px !important;
    border-image-repeat: stretch !important;
    background-clip: border-box;
    background-origin: border-box;
}

/* Buttons */
.stk-button {
    font-weight: 500;
    background: none !important;
}
.entry-card.type-vacature .wp-element-button::before,
.stk-button::before {
    border-image-source: url("images/button-green.png");
    background-clip: padding-box;
    border-color: transparent;
    border-style: solid;
    border-width: 21px !important;
    border-image-slice: 21 fill;
    border-image-width: 21px;
    /*border-image-outset: 2px;*/
    border-image-repeat: stretch stretch;
}

[class*="border-button"] .stk-button::before {
    border-style: solid !important;
    border-color: transparent !important;
    border-width: 21px !important;
    border-image-slice: 21 fill !important;
    border-image-width: 21px !important;
    border-image-repeat: stretch !important;
}

.stk-button.is-active span {
    color: var(--theme-palette-color-8) !important;
}

.stk-button:hover
    .stk-button
    .stk--inner-svg
    svg:last-child
    :is(g, path, rect, polygon, ellipse),
.stk-button.is-active
    .stk--inner-svg
    svg:last-child
    :is(g, path, rect, polygon, ellipse) {
    fill: var(--theme-palette-color-8) !important;
}

.border-button-white .stk-button::before {
    border-image-source: url("images/button-white.svg");
}

.border-button-white:hover .stk-button::before,
.border-button-white .stk-button.is-active::before {
    border-image-source: url("images/button-green.svg");
}

.entry-card.type-vacature .wp-element-button::before,
.border-button-white-green .stk-button::before {
    border-image-source: url("images/button-white-green.svg");
}
.entry-card.type-vacature .wp-element-button:hover::before,
.border-button-white-green:hover .stk-button::before,
.border-button-white-green .stk-button.is-active::before {
    border-image-source: url("images/button-white.svg");
}

.border-button-white-light-blue .stk-button::before {
    border-image-source: url("images/button-white-light-blue.png");
}

.border-button-white-light-blue:hover .stk-button::before,
.border-button-white-light-blue .stk-button.is-active::before {
    border-image-source: url("images/button-white.png");
}

.border-button.border-button-white-blue .stk-button::before {
    background: none !important;
    border-color: transparent !important;
    border-style: solid !important;
    border-width: 21px !important;
    border-image-source: url("images/button-white-blue.png") !important;
    border-image-slice: 21 fill !important;
    border-image-width: 21px !important;
    border-image-outset: 0 !important;
    border-image-repeat: stretch !important;
    inset: 0 !important;
}

.border-button.border-button-white-blue:hover .stk-button::before,
.border-button.border-button-white-blue .stk-button.is-active::before {
    border-image-source: url("images/button-white.svg") !important;
}

.border-button-white-blue .stk-button span {
    color: var(--theme-palette-color-8) !important;
    position: relative;
    z-index: 1;
}

.border-button-white-blue:hover .stk-button,
.border-button-white-blue .stk-button.is-active {
    background-color: var(--theme-palette-color-8) !important;
    background-image: none !important;
}

.border-button-white-blue:hover .stk-button span,
.border-button-white-blue .stk-button.is-active span {
    color: var(--theme-palette-color-9) !important;
}

.border-button-white-dark-blue .stk-button::before {
    border-image-source: url("images/button-white-dark-blue.svg");
}

.border-button-white-dark-blue:hover .stk-button::before,
.border-button-white-dark-blue .stk-button.is-active::before {
    border-image-source: url("images/button-white.svg");
}

.border-button-green-white .stk-button::before {
    border-image-source: url("images/button-green-white.svg");
}

.border-button-green-white:hover .stk-button::before,
.border-button-green-white .stk-button.is-active::before {
    border-image-source: url("images/button-green.svg");
}

.border-button-green-white .stk-button {
    background-color: var(--theme-palette-color-9) !important;
    clip-path: polygon(
        0.5% 3%,
        99% 0,
        99.5% 96%,
        1% 100%
    );
}

.border-button-green-white .stk-button span {
    color: var(--theme-palette-color-8) !important;
}

.border-button-green-white .stk-button::before {
    content: none !important;
    display: none !important;
}

/* Header */
.site-branding {
    position: absolute;
    top: 0;
}

.site-logo-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;

    height: 175px !important;
    width: 145px;
    padding-bottom: 15px;
    border-radius: 0 0 72.5px 72.5px;

    filter: drop-shadow(0px -3px 6px rgba(0, 0, 0, 0.25));
    background-color: #fff;
}

.site-logo-container img {
    width: 100% !important;
    height: 115px !important;
}

@media screen and (max-width: 1024px) {
    .site-logo-container {
        height: 130px !important;
        width: 100px;
        padding: 10px;
    }

    .site-logo-container img {
        height: 80px !important;
    }
}

@media screen and (max-width: 768px) {
    .site-logo-container {
        height: 100px !important;
        width: 80px;
        padding: 10px;
    }

    .site-logo-container img {
        height: 60px !important;
    }
}

header nav[class*="menu"] .ct-menu-link svg {
    fill: var(--theme-palette-color-9) !important;
}

header div[data-transparent] nav[class*="menu"] .ct-menu-link svg {
    fill: var(--theme-palette-color-8) !important;
}

/* Footer */
#block-14 {
    margin-top: auto;
}

[data-footer*="type-1"] .ct-footer [data-row*="middle"] > .ct-container {
    border-image-source: url("https://seafresh.spikker.nl/wp-content/uploads/2025/10/footer-line.svg");
    border-image-slice: 0 0 100 100;
    border-image-width: 50px;
    border-image-outset: 0px 0px 0px 0px;
    border-image-repeat: stretch stretch;
}

/* Products */
/* Component wrapper */
.product-grid-component {
    margin-block: var(--content-spacing);
}

/* Grid */
/* Container must be relative for Isotope positioning */
.product-grid {
    position: relative;

    /* Padding-as-gap pattern */
    margin: calc(var(--grid-gap) / -2);
}

/* Each item becomes a column */
.product-grid .product-grid-item {
    width: 25%;
    box-sizing: border-box;
    padding: calc(var(--grid-gap) / 2);
}

/* Tablet: 3 columns */
@media (max-width: 1024px) {
    .product-grid .product-grid-item {
        width: 33.3333%;
    }
}

/* Mobile: 2 columns */
@media (max-width: 690px) {
    .product-grid .product-grid-item {
        width: 50%;
    }
}

/* Container must be relative for Isotope positioning */
.product-grid {
    position: relative;

    /* Padding-as-gap pattern */
    margin: calc(var(--grid-gap) / -2);
}

/* Each item becomes a column */
.product-grid .product-grid-item {
    width: 25%;
    box-sizing: border-box;
    padding: calc(var(--grid-gap) / 2);
}

/* Tablet: 3 columns */
@media (max-width: 1024px) {
    .product-grid .product-grid-item {
        width: 33.3333%;
    }
}

/* Mobile: 2 columns */
@media (max-width: 768px) {
    .product-grid .product-grid-item {
        width: 50%;
    }
}

.product-grid-card {
    display: flex;
    flex-direction: column;
    gap: calc(var(--grid-gap) * 0.5);
    padding: var(--card-padding);
    border-radius: var(--theme-border-radius);
    background: var(--theme-background-color, #fff);
    transition: var(--theme-transition);
}

.product-grid-thumb img {
    width: 100%;
    height: auto;
    max-height: 225px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    padding: 2.5rem;
}

/* Tablet: 3 columns */
@media (max-width: 1024px) {
    .product-grid-thumb img {
        max-height: 175px;
    }
}

/* Mobile: 2 columns */
@media (max-width: 768px) {
    .product-grid-thumb img {
        max-height: 150px;
    }
}

.product-grid-title {
    margin: 0;
    font-size: 25px;
    line-height: 1.3;
    text-align: center;
}

/* Tablet: 3 columns */
@media (max-width: 1024px) {
    .product-grid-title {
        font-size: 22px;
    }
}

/* Mobile: 2 columns */
@media (max-width: 768px) {
    .product-grid-title {
        font-size: 25px;
    }
}

.product-grid-taxonomy {
    text-transform: uppercase;
    font-size: 18px;
    color: var(--theme-palette-color-3);
    text-align: center;
}

/* Team */
/* Component wrapper */
.team-grid-component {
    margin-block: var(--content-spacing);
}

/* Grid */
/* Container must be relative for Isotope positioning */
.team-grid {
    position: relative;

    /* Padding-as-gap pattern */
    margin: calc(var(--grid-gap) / -2);
}

/* Each item becomes a column */
.team-grid .team-grid-item {
    width: 25%;
    box-sizing: border-box;
    padding: calc(var(--grid-gap) / 2);
}

/* Tablet: 3 columns */
@media (max-width: 1024px) {
    .team-grid .team-grid-item {
        width: 33.3333%;
    }
}

/* Mobile: 2 columns */
@media (max-width: 690px) {
    .team-grid .team-grid-item {
        width: 50%;
    }
}

/* Card styling stays as you had it (example using Blocksy vars) */
/* Container must be relative for Isotope positioning */
.team-grid {
    position: relative;

    /* Padding-as-gap pattern */
    margin: calc(var(--grid-gap) / -2);
}

/* Each item becomes a column */
.team-grid .team-grid-item {
    width: 25%;
    box-sizing: border-box;
    padding: calc(var(--grid-gap) / 2);
}

/* Tablet: 3 columns */
@media (max-width: 1024px) {
    .team-grid .team-grid-item {
        width: 33.3333%;
    }
}

/* Mobile: 2 columns */
@media (max-width: 768px) {
    .team-grid .team-grid-item {
        width: 50%;
    }
}

.team-grid-card {
    display: flex;
    flex-direction: column;
    gap: calc(var(--grid-gap) * 0.5);
    padding: var(--card-padding);
    border-radius: var(--theme-border-radius);
    background: var(--theme-background-color, #fff);
    transition: var(--theme-transition);
    padding: 1.5rem;
}

/* Tablet: 3 columns */
@media (max-width: 1024px) {
    .team-grid-card {
        padding: 1rem;
    }
}

/* Mobile: 2 columns */
@media (max-width: 768px) {
    .team-grid-card {
        padding: 0.66rem;
    }
}

.team-grid-thumb {
    width: 100%;
    height: auto;
    background-size: cover;
    aspect-ratio: 9/10;
    margin: 0 auto 1rem;
    /*padding: 2.5rem;*/
    background-origin: border-box;
    background-clip: border-box;
    border-width: 1rem !important;
}

/* Tablet: 3 columns */
@media (max-width: 1024px) {
    .team-grid-thumb {
        min-height: 175px;
    }
}

/* Mobile: 2 columns */
@media (max-width: 768px) {
    .team-grid-thumb {
        min-height: 150px;
    }
}

.team-grid-title {
    margin-bottom: 0.33rem !important;
    font-size: 25px;
    line-height: 1.3;
}

.team-grid-excerpt p {
    margin-bottom: 0;
}

/* Tablet: 3 columns */
@media (max-width: 1024px) {
    .team-grid-title {
        font-size: 22px;
    }

    .team-grid-excerpt p {
        font-size: 16px;
    }
}

/* Mobile: 2 columns */
@media (max-width: 768px) {
    .team-grid-title {
        font-size: 18px;
    }

    .team-grid-excerpt p {
        font-size: 14px;
    }
}

/*.team-grid-taxonomy {
    text-transform: uppercase;
    font-size: 18px;
    color: var(--theme-palette-color-3);
    text-align: center;
}*/

/* Vimeo header */
.vimeo-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--theme-palette-color-1);
}

/* Heights per breakpoint */
.vimeo-hero {
    height: 300px;
} /* mobile */
@media (min-width: 768px) {
    .vimeo-hero {
        height: 500px;
    }
} /* tablet */
@media (min-width: 1024px) {
    .vimeo-hero {
        height: 700px;
    }
} /* desktop */

/* Video layer */
.vimeo-cover {
    position: absolute;
    inset: 0;
    overflow: hidden; /* crop like background-size: cover */
}
.vimeo-cover iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none; /* background behavior */
}

/* Color overlay */
.vimeo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 68, 137, 0.85) 0%,
        rgba(0, 68, 137, 0.4) 50%,
        rgba(0, 68, 137, 0.1) 100%
    );
    /* opacity: 0.6; */
    z-index: 1;
    pointer-events: none;
}

/* Centered H1 */
.vimeo-title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 0 16px;
    text-align: center;
    z-index: 2;

    width: 800px;
    max-width: 66.66%;

    text-shadow: 0px 0px 10px var(--theme-palette-color-4);
    font-size: 60px;
    color: var(--theme-palette-color-8);
    line-height: 1.2em;
}

@media (max-width: 767px) {
    .vimeo-title {
        font-size: 1.33rem;
    }
}

@media (min-width: 768px and max-width: 1023px) {
    .vimeo-title {
        font-size: 2rem;
    }
}
