/**
 * Theme Name: StoTech
 * Description: Het thema voor stotech.nl
 * Author: SPIKKER
 * Template: blocksy
 * Text Domain: blocksy
 */

#header [data-sticky] {
    padding: 32px 24px;
}

#header [data-row*="middle"] {
    border-radius: 120px;
    background-image: linear-gradient(
        to right,
        rgba(255, 255, 255, 1) 0,
        rgba(255, 255, 255, 1) 164px,
        rgba(255, 255, 255, 0) 164px
    );
}

.hero-section[data-type="type-2"] {
    background: radial-gradient(
        circle,
        rgba(138, 56, 245, 0.7) 0%,
        rgba(138, 56, 245, 0) 100%
    );
}

.hero-section[data-type="type-2"]::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-color: var(--theme-palette-color-3);
    background-image: radial-gradient(
        circle,
        rgba(138, 56, 245, 0.7) 0%,
        rgba(138, 56, 245, 0) 100%
    );
    opacity: 0.7;
}

.home-hero-section::after,
.hero-section[data-type="type-2"]::after {
    content: "" !important;
    display: block;
    position: absolute;
    left: -10px;
    right: -10px;
    bottom: 0;
    z-index: 10;
    width: calc(100vw + 10px);
    min-height: 100px;
    background-image: url(assets/images/hero.svg);
    background-position-y: bottom;
    background-repeat: no-repeat;
    background-size: 100vw;
}

/* Cards */
[data-archive="default"] .card-content > :last-child {
    margin-top: auto;
}

.card-content .ct-media-container {
    background-color: var(--theme-palette-color-8);
}

[data-cards="boxed"] .entry-card .entry-meta {
    display: flex;
    align-items: center;
}

[data-cards="boxed"] .entry-card .entry-meta li::after {
    margin-inline-start: 6px;
}

[data-cards="boxed"] .entry-meta li:not(:last-of-type) {
    margin-inline-end: 6px;
}

[data-cards="boxed"] .entry-card .entry-meta > li:first-child {
    flex: 0 0 auto;
}

[data-cards="boxed"] .entry-card .entry-meta > li:nth-child(2) {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.stotech-aanbod-placeholder-image {
    display: block;
    box-sizing: border-box;
    aspect-ratio: 4 / 3;
    width: 100%;
    height: auto;
    padding: 32px;
    object-fit: contain !important;
}

/* Filters */
.searchandfilter h4 {
    font-size: 28px;
    padding: 0 0 24px 0;
}

.searchandfilter ul > [data-sf-field-type="taxonomy"]:not(:last-child) {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(244, 243, 247, 0.16);
}

li[data-sf-field-type="taxonomy"][data-sf-field-input-type="checkbox"],
li[data-sf-field-type="taxonomy"][data-sf-field-input-type="checkbox"] ul,
li[data-sf-field-type="taxonomy"][data-sf-field-input-type="checkbox"] li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Row layout */
li[data-sf-field-type="taxonomy"][data-sf-field-input-type="checkbox"]
    > ul
    > li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    overflow: visible;
}

/* Checkbox base */
li[data-sf-field-type="taxonomy"][data-sf-field-input-type="checkbox"]
    .sf-input-checkbox {
    appearance: none;
    -webkit-appearance: none;

    width: 24px;
    height: 24px;
    min-width: 24px;

    margin: 0;
    padding: 0;

    border: 1px solid var(--checkbox-color, rgba(255, 255, 255, 0.35));
    border-radius: 4px;
    background: color-mix(
        in srgb,
        var(--checkbox-color, transparent) 12%,
        transparent
    );

    box-sizing: border-box;
    display: inline-grid;
    place-content: center;

    cursor: pointer;
}

/* Checked state */
li[data-sf-field-type="taxonomy"][data-sf-field-input-type="checkbox"]
    .sf-input-checkbox:checked {
    border-color: var(--checkbox-color, #f5a400);
    background: transparent;
}

/* Checked inner square */
li[data-sf-field-type="taxonomy"][data-sf-field-input-type="checkbox"]
    .sf-input-checkbox:checked::after {
    content: "";
    width: 12px;
    height: 12px;
    background: var(--checkbox-color, #f5a400);
    border-radius: 2px;
}

/* Label layout */
li[data-sf-field-type="taxonomy"][data-sf-field-input-type="checkbox"]
    .sf-label-checkbox {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex: 1;
    gap: 12px;

    color: #fff;
    font-size: 16px;
    line-height: 24px;
    margin: 0;
    padding: 0;

    cursor: pointer;
}

/* Count aligned at the end */
li[data-sf-field-type="taxonomy"][data-sf-field-input-type="checkbox"]
    .sf-count {
    flex: 0 0 auto;
    margin-left: auto;

    color: rgba(255, 255, 255, 0.55);
    font-size: 16px;
    line-height: 24px;
}

/* Keyboard focus */
li[data-sf-field-type="taxonomy"][data-sf-field-input-type="checkbox"]
    .sf-input-checkbox:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Wereld taxonomy color mapping */
li[data-sf-field-name="_sft_wereld"] > ul > li:nth-child(1) {
    --checkbox-color: var(--theme-palette-color-11);
}

li[data-sf-field-name="_sft_wereld"] > ul > li:nth-child(2) {
    --checkbox-color: var(--theme-palette-color-10);
}

li[data-sf-field-name="_sft_wereld"] > ul > li:nth-child(3) {
    --checkbox-color: var(--theme-palette-color-18);
}

li[data-sf-field-name="_sft_wereld"] > ul > li:nth-child(4) {
    --checkbox-color: var(--theme-palette-color-16);
}

li[data-sf-field-name="_sft_wereld"] > ul > li:nth-child(5) {
    --checkbox-color: var(--theme-palette-color-15);
}

li[data-sf-field-name="_sft_wereld"] > ul > li:nth-child(6) {
    --checkbox-color: var(--theme-palette-color-14);
}

li[data-sf-field-name="_sft_wereld"] > ul > li:nth-child(7) {
    --checkbox-color: var(--theme-palette-color-17);
}

li[data-sf-field-name="_sft_wereld"] > ul > li:nth-child(8) {
    --checkbox-color: var(--theme-palette-color-9);
}

li[data-sf-field-name="_sft_wereld"] > ul > li:nth-child(9) {
    --checkbox-color: var(--theme-palette-color-13);
}

li[data-sf-field-name="_sft_wereld"] > ul > li:nth-child(10) {
    --checkbox-color: var(--theme-palette-color-12);
}

.stotech-wereld-title {
    font-size: 22px;
    margin-block-end: 6px !important;
}

.stotech-wereld-lijst {
    display: grid;
    gap: 12px;
    list-style: none;
    margin-block-end: 24px !important;
    padding: 0;
}

.stotech-wereld-lijst__item {
    align-items: center;
    display: flex;
    gap: 10px;
    margin: 0;
}

.stotech-wereld-lijst__dot {
    border-radius: 50%;
    display: inline-block;
    flex: 0 0 auto;
    height: 18px;
    width: 18px;
}

.stotech-wereld-lijst__label {
    color: var(--theme-palette-color-8);
    line-height: 1.35;
}

.stotech-wereld-lijst--compact {
    gap: 6px;
    margin-block-end: 0 !important;
}

.stotech-wereld-lijst--compact .stotech-wereld-lijst__item {
    gap: 7px;
}

.stotech-wereld-lijst--compact .stotech-wereld-lijst__dot {
    height: 10px;
    width: 10px;
}

.stotech-wereld-lijst--compact .stotech-wereld-lijst__label {
    font-size: 14px;
    line-height: 1.25;
}

.stotech-wereld-iconen {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.stotech-wereld-iconen__item {
    align-items: center;
    border-radius: 50%;
    color: inherit;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
    width: 44px;
}

.stotech-wereld-iconen__item:hover,
.stotech-wereld-iconen__item:focus {
    color: inherit;
    text-decoration: none;
}

.stotech-wereld-iconen__image {
    display: block;
    height: 24px;
    object-fit: contain;
    width: 24px;
}

.stotech-wereld-iconen__label {
    display: none;
}

.stotech-wereld-iconen--pill {
    align-items: stretch;
    gap: 24px;
    justify-content: flex-start;
}

.stotech-wereld-iconen--pill .stotech-wereld-iconen__item {
    --stotech-wereld-icon-color: var(--theme-palette-color-10);
    --stotech-wereld-pill-bg-opacity: 16%;

    background: rgba(255, 255, 255, 0.04) !important;
    background: color-mix(
        in srgb,
        var(--stotech-wereld-icon-color) var(--stotech-wereld-pill-bg-opacity),
        transparent
    ) !important;
    border: 1px solid var(--stotech-wereld-icon-color);
    border-radius: 999px;
    box-sizing: border-box;
    color: var(--theme-palette-color-8);
    gap: 22px;
    height: auto;
    justify-content: flex-start;
    min-height: 94px;
    /*min-width: min(100%, 440px);*/
    overflow: visible;
    padding: 6px 44px 6px 8px;
    width: auto;
}

.stotech-wereld-iconen--pill .stotech-wereld-iconen__item:hover,
.stotech-wereld-iconen--pill .stotech-wereld-iconen__item:focus {
    --stotech-wereld-pill-bg-opacity: 28%;
}

.stotech-wereld-iconen--pill .stotech-wereld-iconen__image {
    background: var(--stotech-wereld-icon-color);
    border-radius: 50%;
    box-sizing: border-box;
    flex: 0 0 auto;
    height: 76px;
    padding: 4px;
    width: 76px;
}

.stotech-wereld-iconen--pill .stotech-wereld-iconen__label {
    display: inline;
    font-size: 18px;
    line-height: 1.35;
}

@media (max-width: 768px) {
    .stotech-wereld-iconen--pill {
        gap: 14px;
    }

    .stotech-wereld-iconen--pill .stotech-wereld-iconen__item {
        gap: 16px;
        min-height: 78px;
        min-width: 100%;
        padding: 5px 24px 5px 6px;
    }

    .stotech-wereld-iconen--pill .stotech-wereld-iconen__image {
        height: 64px;
        padding: 4px;
        width: 64px;
    }
}

.stotech-soort-title {
    font-size: 22px;
    margin-block-end: 6px !important;
}

.stotech-soort-lijst {
    display: grid;
    gap: 8px;
    list-style: none;
    margin-block-end: 24px !important;
    padding: 0;
}

.stotech-soort-lijst__item {
    color: var(--theme-palette-color-8);
    line-height: 1.35;
    margin: 0;
}

.stotech-soort-lijst--compact {
    gap: 4px;
    margin-block-end: 0 !important;
}

.stotech-soort-lijst--compact .stotech-soort-lijst__item {
    font-size: 14px;
    line-height: 1.25;
}

.stotech-doelgroep-title {
    font-size: 22px;
    margin-block-end: 6px !important;
}

.stotech-doelgroep-lijst {
    display: grid;
    gap: 8px;
    list-style: none;
    margin-block-end: 24px !important;
    padding: 0;
}

.stotech-doelgroep-lijst__item {
    margin: 0;
}

.stotech-doelgroep-lijst__label {
    color: var(--theme-palette-color-8);
    line-height: 1.35;
}

.stotech-doelgroep-lijst--compact {
    gap: 4px;
    margin-block-end: 0 !important;
}

.stotech-doelgroep-lijst--compact .stotech-doelgroep-lijst__label {
    font-size: 14px;
    line-height: 1.25;
}

/* GP Bookings calendar */
.gpb-booking-time-picker .rdp-root {
    --stotech-calendar-text: rgba(255, 255, 255, 0.88);
    --stotech-calendar-muted: rgba(255, 255, 255, 0.46);
    --stotech-calendar-grid: rgba(255, 255, 255, 0.11);
    --stotech-calendar-header: rgba(255, 255, 255, 0.035);
    --stotech-calendar-selected: rgba(55, 74, 27, 0.46);
    color: var(--stotech-calendar-text);
    font-family: inherit;
}

.gpb-booking-time-picker .rdp-months,
.gpb-booking-time-picker .rdp-month {
    width: 100%;
}

.gpb-booking-time-picker .rdp-month {
    position: relative;
}

.gpb-booking-time-picker .rdp-nav {
    align-items: center;
    display: flex;
    gap: 28px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
}

.gpb-booking-time-picker .rdp-button_previous,
.gpb-booking-time-picker .rdp-button_next {
    align-items: center;
    appearance: none;
    background: transparent !important;
    border: 0 !important;
    color: var(--stotech-calendar-text) !important;
    cursor: pointer;
    display: inline-flex;
    font-size: 40px;
    font-weight: 700;
    height: 52px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 48px;
}

.gpb-booking-time-picker .rdp-button_previous::before {
    content: "\00ab";
}

.gpb-booking-time-picker .rdp-button_next::before {
    content: "\00bb";
}

.gpb-booking-time-picker .rdp-nav .rdp-chevron {
    display: none;
}

.gpb-booking-time-picker .rdp-month_caption {
    align-items: center;
    display: flex;
    min-height: 68px;
    padding-right: 150px;
}

.gpb-booking-time-picker .rdp-dropdowns {
    align-items: baseline;
    display: flex;
    gap: 12px;
}

.gpb-booking-time-picker .rdp-dropdown_root {
    display: inline-flex;
    position: relative;
}

.gpb-booking-time-picker .rdp-dropdown {
    cursor: pointer;
    inset: 0;
    opacity: 0;
    position: absolute;
    width: 100%;
}

.gpb-booking-time-picker .rdp-caption_label {
    align-items: center;
    color: var(--stotech-calendar-text);
    display: inline-flex;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.1;
    text-transform: capitalize;
}

.gpb-booking-time-picker .rdp-caption_label .rdp-chevron {
    display: none;
}

.gpb-booking-time-picker .rdp-month_grid {
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    width: 100%;
}

.gpb-booking-time-picker .rdp-weekday,
.gpb-booking-time-picker .rdp-day {
    border: 1px solid var(--stotech-calendar-grid);
    box-sizing: border-box;
    text-align: center;
}

.gpb-booking-time-picker .rdp-weekday {
    background: var(--stotech-calendar-header);
    color: var(--stotech-calendar-text);
    font-size: 16px;
    font-weight: 400;
    height: 56px;
    line-height: 1;
    text-transform: uppercase;
}

.gpb-booking-time-picker .rdp-day {
    background: transparent;
    height: 66px;
    padding: 0;
}

.gpb-booking-time-picker .rdp-day_button {
    align-items: center;
    appearance: none;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--stotech-calendar-text) !important;
    cursor: pointer;
    display: inline-flex;
    font-size: 20px;
    font-weight: 400;
    height: 100%;
    justify-content: center;
    line-height: 1;
    margin: 0;
    outline: 0 !important;
    padding: 0;
    width: 100%;
}

.gpb-booking-time-picker .rdp-disabled .rdp-day_button {
    cursor: not-allowed;
    color: var(--stotech-calendar-muted) !important;
    opacity: 1;
}

.gpb-booking-time-picker .rdp-today .rdp-day_button {
    color: var(--stotech-calendar-text) !important;
}

.gpb-booking-time-picker .rdp-selected,
.gpb-booking-time-picker .rdp-range_start,
.gpb-booking-time-picker .rdp-range_middle,
.gpb-booking-time-picker .rdp-range_end {
    background: var(--stotech-calendar-selected);
}

.gpb-booking-time-picker .rdp-selected .rdp-day_button,
.gpb-booking-time-picker .rdp-range_start .rdp-day_button,
.gpb-booking-time-picker .rdp-range_middle .rdp-day_button,
.gpb-booking-time-picker .rdp-range_end .rdp-day_button {
    color: var(--stotech-calendar-text) !important;
    opacity: 1;
}

.gpb-booking-time-picker .rdp-hidden {
    visibility: hidden;
}

@media (max-width: 768px) {
    .gpb-booking-time-picker .rdp-nav {
        gap: 14px;
    }

    .gpb-booking-time-picker .rdp-button_previous,
    .gpb-booking-time-picker .rdp-button_next {
        font-size: 30px;
        height: 44px;
        width: 36px;
    }

    .gpb-booking-time-picker .rdp-month_caption {
        min-height: 56px;
        padding-right: 96px;
    }

    .gpb-booking-time-picker .rdp-caption_label {
        font-size: 22px;
    }

    .gpb-booking-time-picker .rdp-weekday {
        font-size: 12px;
        height: 42px;
    }

    .gpb-booking-time-picker .rdp-day {
        height: 42px;
    }

    .gpb-booking-time-picker .rdp-day_button {
        font-size: 15px;
    }
}

/*
li[data-sf-field-type="taxonomy"][data-sf-field-input-type="checkbox"],
li[data-sf-field-type="taxonomy"][data-sf-field-input-type="checkbox"] ul,
li[data-sf-field-type="taxonomy"][data-sf-field-input-type="checkbox"] li {
    list-style: none;
    margin: 0;
    padding: 0;
}

li[data-sf-field-type="taxonomy"][data-sf-field-input-type="checkbox"]
    > ul
    > li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
    overflow: visible;
}

li[data-sf-field-type="taxonomy"][data-sf-field-input-type="checkbox"]
    .sf-input-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    min-width: 24px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(244, 243, 247, 0.16);
    border-radius: 3px;
    background: transparent;
    box-sizing: border-box;
    display: inline-grid;
    place-content: center;
    cursor: pointer;
}

li[data-sf-field-type="taxonomy"][data-sf-field-input-type="checkbox"]
    .sf-input-checkbox:checked {
    background: transparent;
}

li[data-sf-field-type="taxonomy"][data-sf-field-input-type="checkbox"]
    .sf-input-checkbox:checked::after {
    content: "";
    width: 12px;
    height: 12px;
    background: var(--theme-palette-color-1);
    border-radius: 2px;
}

li[data-sf-field-type="taxonomy"][data-sf-field-input-type="checkbox"]
    .sf-label-checkbox {
    display: flex;
    justify-content: space-between;
    flex: 1;
    color: var(--theme-palette-color-8);
    font-size: 16px;
    line-height: 24px;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

li[data-sf-field-type="taxonomy"][data-sf-field-input-type="checkbox"]
    .sf-count {
    display: inline-block;
    margin-left: auto;
    color: rgba(255, 255, 255, 0.55);
    font-size: 16px;
    line-height: 24px;
}*/
