/*
 Theme Name:   Sportsfreunde Tillmann
 Description:  Custom Block Theme for Tillmann Sportsfreunde
 Author:       Gawenda Studio
 Template:     twentytwentyfive
 Version:      1.0.0
*/

/* 1. Global Spacing & Variables */
:root {
    --background: lab(98.2586% -0.2231 -0.716782);
    --foreground: lab(5.19165% -1.31605 -9.50229);
    --primary: lab(12.8695% -2.47981 -13.6374);
    --primary-foreground: lab(97.6786% -0.22307 -0.716782);
    --accent: lab(64.0568% 46.0216 68.5908);
    --accent-foreground: lab(100% 0 0);
    --border: lab(88.3962% -0.552863 -1.78897);

    --border-radius: 0.25rem;
    --spacing-8: 8px;
    --spacing-16: 16px;
    --spacing-24: 24px;
    --spacing-32: 32px;
}

* {
    outline-color: var(--ring);
    border-color: var(--border);
    unicode-bidi: isolate;
    -webkit-font-smoothing: antialiased;
}

*, ::after, ::before, ::backdrop {
    box-sizing: border-box;
    border-width: 0px;
    border-style: solid;
    border-color: initial;
    border-image: initial;
    margin: 0px;
    padding: 0px;
}

html {
    scroll-behavior: smooth;
    scroll-padding: 4rem; /* height of header */
}

body:not(#notexist) {
    background-color: var(--background);
    color: var(--foreground);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    font-weight: 400;
}

main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    
    flex: 1;

    padding: 2rem 1.5rem;
    max-width: 80rem;
    margin: 0 auto;
}

.wp-site-blocks {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

a, a .lucide {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--accent);
}
a:focus {
    outline: none;
}
a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

button {
    font-family: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
}
button:focus {
    outline: none;
}
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.lucide {
    display: inline-block;
    vertical-align: middle;
    stroke-width: 1.5px;
    color: var(--primary-foreground);
    transition: color 0.3s ease;
}

.content-width {
    max-width: 80rem;
    margin: 0 auto;
}

/* Header Styling */

#masthead {
    z-index: 9999;

    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, color 0.3s ease;
    background-color: var(--primary);
    color: var(--primary-foreground);
    
    backdrop-filter: none;
}
.home #masthead {
    background-color: transparent;
    color: var(--primary-foreground);
}

.home #masthead.is-scrolled {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

#masthead nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;

    padding-inline: 1.5rem;
    padding-block: 1rem;

    max-width: 80rem;
    margin: 0 auto;
}

.text-logo {
    display: flex;
    height: 60px;
}
.text-logo img {
    padding: 8px 16px;
    height: 64px;
}
.text-logo img:first-child {
    padding-right: 4px;
}
.text-logo img:last-child {
    padding-left: 4px;
}
nav .text-logo img {
    margin-top: -8px;
    height: 72px;
}

.text-logo, .text-logo:hover {
    text-decoration: none;
}

#pc-navigation-container {
    list-style: none;
    
    display: flex;
    flex-direction: row;
    items-center: center;
    gap: 1.5rem;
}
#pc-navigation-container a {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;

    text-decoration: none;
}

#mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}
#mobile-menu-toggle .hidden {
    display: none;
}
#mobile-menu-toggle .lucide {
    width: 1.5rem;
    height: 1.5rem;
}

#mobile-menu-container {
    display: none;
}
#mobile-menu-container ul {
    list-style: none;
    
    display: flex;
    flex-direction: column;
    items-center: center;
    gap: 4px;

    padding: 0 1rem 1rem 1rem;
    background-color: var(--primary);
}
#mobile-menu-container ul a {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;

    border-radius: var(--border-radius);

    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;

    text-decoration: none;
    color: var(--primary-foreground);
}
#mobile-menu-container ul a:hover {
    color: var(--accent);
    background-color: color-mix(in oklab, var(--primary-foreground) 20%, transparent);
}
#mobile-menu-container .contact-link {
    margin-top: 0.5rem;
    padding: 0;
    text-align: center;
}


@media (max-width: 960px) {
    #pc-navigation-container {
        display: none;
    }
    #mobile-menu-toggle {
        display: block;
    }
    #mobile-menu-container.is-open {
        display: block;
    }
    #masthead:has(#mobile-menu-container.is-open) {
        transition: none;
        background-color: var(--primary);
        color: var(--primary-foreground);
        backdrop-filter: blur(12px);
    }
}

footer {
    color: color-mix(in oklab, var(--primary-foreground) 60%, transparent);

    background-color: var(--primary);
    color: var(--primary-foreground);
}

#masterfooter {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px;

    padding: 3rem 1.5rem;

    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    
    max-width: 80rem;
    margin: 0 auto;
}

#masterfooter > div:has(#bottom-navigation-container) {
    margin-right: auto;
}


.footer-section-title {
    color: color-mix(in oklab, var(--primary-foreground) 60%, transparent);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;

    text-transform: uppercase;

    margin-bottom: 0.5rem;
}
#footer-sub-text {
    color: color-mix(in oklab, var(--primary-foreground) 60%, transparent);
    margin-top: 1rem;
    max-width: 34ch;
}

#contact-container, #bottom-navigation-container {
    list-style: none;
    
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#contact-container a, #contact-container p, #bottom-navigation-container a {
    color: color-mix(in oklab, var(--primary-foreground) 60%, transparent);
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-decoration: none;
}
#contact-container a:hover, #bottom-navigation-container a:hover {
    color: var(--accent);
}
#contact-container .lucide {
    min-width: 1.25rem;
    width: 1.25rem;
    height: 1.25rem;

    color: color-mix(in oklab, var(--primary-foreground) 60%, transparent);
}
#contact-container li, #contact-container a {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
}

#footer-social-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}
#footer-social-section a {
    color: color-mix(in oklab, var(--primary-foreground) 60%, transparent);
    background-color: color-mix(in oklab, var(--primary-foreground) 10%, transparent);
    padding: 0.5rem;
    border-radius: var(--border-radius);
    
    transition: background-color 0.3s ease, color 0.3s ease;
}
#footer-social-section .lucide {
    color: color-mix(in oklab, var(--primary-foreground) 60%, transparent);
    
    transition: color 0.3s ease;
}
#footer-social-section a:hover {
    color: var(--primary-foreground);
    background-color: var(--accent);
}
#footer-social-section a:hover .lucide {
    color: var(--primary-foreground);
}

#footer-needed-links {
    margin-top: 1.5rem;
}
#footer-needed-links ul {
    list-style: none;
    
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#footer-needed-links ul a {
    color: color-mix(in oklab, var(--primary-foreground) 60%, transparent);
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-decoration: none;
}
#footer-needed-links ul a:hover {
    color: var(--accent);
}

.drone-video {
    max-width: 60rem;
}


.contact-link {
    cursor: pointer;

    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;

    text-decoration: none;
    color: var(--primary-foreground);
    background-color: var(--accent);

    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);

    transition: background-color 0.3s ease, color 0.3s ease;
}
.contact-link a {
    mouse-events: none;
}
.contact-link:hover {
    background-color: var(--accent-foreground);
}
.contact-link:hover, .contact-link:hover a {
    color: var(--accent);
}

.header-hero-cover-image {
    position: relative;
    min-height: 55vh;
    
    padding-block: 6rem;
    
    background-color: var(--primary);
}
.header-hero-cover-image:not(#notexist) img {
    max-width: 80rem !important;
    margin: 0 auto !important;
}

.header-hero-cover-image h2 {
    font-weight: 700;
}

.copyright-claim {
    max-width: 80rem;
    margin: 0 auto;
    
    text-align: center;

    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.05em;

    text-decoration: none;
    color: color-mix(in oklab, var(--primary-foreground) 30%, transparent);
    
    border-top: 1px solid color-mix(in oklab, var(--primary-foreground) 10%, transparent);
}
.copyright-claim p {
    padding: 2rem;
}

#turniere::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 6rem; /* h-24 */

    pointer-events: none; /* important */

    background: linear-gradient(
        to top,
        var(--wp--preset--color--primary),
        transparent
    );
}

.social-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1rem;
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
}
.social-media-grid figure {
    margin: 0;
}


.is-style-section-title {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.3em;

    text-transform: uppercase;
}

.is-style-muted-text {
    font-size: 1.125rem;
    font-weight: 320;
    line-height: 1.625em;

    max-width: 64ch;

    color: color-mix(in oklab, var(--primary-foreground) 80%, transparent);
}

.is-style-body-text {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.625em;

    max-width: 64ch;

    color: color-mix(in oklab, var(--foreground) 70%, transparent);
}

.is-style-btn-outlined a {
    text-decoration: none;
    padding: 0.75rem 1.25rem;

    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;

    border-radius: var(--border-radius);
    text-decoration: none;
    text-transform: uppercase;
    color: var(--primary-foreground);
}
.is-style-btn-outlined {
    cursor: pointer;
    background-color: transparent;

    border-radius: var(--border-radius);
    border-width: 1px;
    border-color: var(--primary-foreground);

    transition: background-color 0.3s ease, color 0.3s ease;
}
.is-style-btn-outlined:hover {
    background-color: color-mix(in oklab, var(--primary-foreground) 20%, transparent);
    color: var(--primary);
}

.is-style-btn-primary-contained a {
    text-decoration: none;
    padding: 0.75rem 1.25rem;

    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;

    text-transform: uppercase;
}
.is-style-btn-primary-contained {
    cursor: pointer;

    text-decoration: none;
    color: var(--primary-foreground);
    background-color: var(--accent);

    border-radius: var(--border-radius);
    border-width: 1px;
    border-color: var(--accent);

    transition: background-color 0.3s ease, color 0.3s ease;
}
.is-style-btn-primary-contained:hover {
    background-color: var(--primary-foreground);
    color: var(--accent);
}



.result-link {
    flex: 1;
    min-width: 200px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;

    text-decoration: none;

    font-size: 0.875rem;
    font-weight: 600;

    background-color: color-mix(in oklab, var(--primary-foreground) 10%, transparent);
    border: 1px solid color-mix(in oklab, var(--primary-foreground) 20%, transparent);
    border-radius: var(--border-radius);
    
    padding: 1rem 1.5rem;

    color: color-mix(in oklab, var(--primary-foreground) 70%, transparent);
    .lucide:last-child {
        color: color-mix(in oklab, var(--primary-foreground) 40%, transparent);
        width: 0.875rem;
        height: 0.875rem;
    }

    &:hover, &:hover .lucide {
        color: var(--accent);
    }
}

.subsection-title {
    margin-top: 3rem;

    display: flex;
    align-items: center;
    gap: 0.75rem;

    font-size: 1.875rem;
    font-weight: 600;
}
.subsection-title .lucide {
    color: var(--accent);

    height: 32px;
    width: 32px;
}

.image-perk-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.image-perk-container > div {
    flex: 1;
    min-width: 300px;
}
.image-perk-container .wp-block-cover__inner-container {
    height: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1rem;
}
.image-perk-container .wp-block-cover__inner-container > p {
    margin: 0 !important;
    text-align: left;
}
.image-perk-type {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--background);
    background-color: color-mix(in oklab, var(--background) 20%, transparent);

    width: fit-content;
    padding: 0.25rem 0.75rem;
}
.image-perk-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--background);
}
.image-perk-attribute {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--accent);
}
.image-perk-description {
    font-size: 0.875rem;
    font-weight: 400;
    color: color-mix(in oklab, var(--background) 70%, transparent);
}

.perk-item-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;

    padding: 0.25rem 0.75rem;
}
.perk-item-container .lucide {
    color: var(--accent);
    width: 1.25rem;
    height: 1.25rem;
}
.perk-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
}
.perk-attribute {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--accent);
}
.perk-description {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 400;
    color: color-mix(in oklab, var(--foreground) 70%, transparent);
}

.service-item-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.service-item-container > div {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
    
    width: 100%;
    height: 100%;

    margin: 0;

    background-color: var(--wp--preset--color--background-secondary);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);

    padding: 1rem;
}
.service-item-container p {
    margin: 0 !important;
    text-align: left;
}
.service-item-container > div :first-child {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
}
.service-item-container > div :last-child {
    font-size: 0.75rem;
    font-weight: 400;
    color: color-mix(in oklab, var(--foreground) 70%, transparent);
}
@media (max-width: 600px) {
    .service-item-container {
        grid-template-columns: 1fr;
    }
}


.map-section-container {
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    
    background-color: #fff;
}
.map-section-container img {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    max-height: 40vh;
}
.map-section-text-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 1rem;
}
.map-section-text-container p {
    margin: 0;
}
.map-section-text-container p:last-child {
    color: color-mix(in oklab, var(--foreground) 70%, transparent);
}
.map-section-text-container .lucide {
    color: var(--accent);
    width: 1.25rem;
    height: 1.25rem;
}

.open-maps-button-container:not(#notexist) {
    margin-left: auto;
}
.open-maps-button a {
    padding: 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary-foreground);
}
.open-maps-button:not(#notexist) {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    padding: 0.5rem 1rem;
    color: var(--primary-foreground);
    background-color: var(--accent);
    border-radius: var(--border-radius);
}
.open-maps-button::after {
    content: "";
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    
    background-color: var(--primary-foreground);

    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polygon points='3 11 22 2 13 21 11 13 3 11'/></svg>") no-repeat center;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polygon points='3 11 22 2 13 21 11 13 3 11'/></svg>") no-repeat center;

    -webkit-mask-size: contain;
    mask-size: contain;
}

.staff-table {
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    background-color: var(--background);
}
.staff-table table {
    width: 100%;
    border-collapse: collapse;
}

.staff-table tr:not(:last-child) {
    border-bottom: 1px solid var(--border);
}
.staff-table td {
    padding: 0.75rem;
    font-size: 0.75rem;
    font-weight: 400;
    
    border: none;
}
.staff-table tr td:nth-child(1) {
    width: 170px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.staff-table tr td:nth-child(2) {
    width: 150px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--foreground);
}
.staff-table tr td:nth-child(3) {
    width: 100%;
}
.staff-table tr td:nth-child(3), .staff-table tr td:nth-child(4) {
    color: color-mix(in oklab, var(--foreground) 70%, transparent);
    text-align: right;
}
.staff-table tr td:nth-child(4) {
    width: 140px;
}
.staff-table tr td:nth-child(4) a {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
}

.staff-table tr td:nth-child(4) a::before {
    content: "";
    width: 0.75rem;
    height: 0.75rem;

    background-color: currentColor;

    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384'/></svg>") no-repeat center;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384'/></svg>") no-repeat center;

    -webkit-mask-size: contain;
    mask-size: contain;

    flex-shrink: 0;
}
@media (max-width: 768px) {
    .staff-table table,
    .staff-table thead,
    .staff-table tbody,
    .staff-table tr,
    .staff-table td {
        display: block;
        width: 100%;
    }

    .staff-table tr {
        padding: 1rem;
    }

    .staff-table tr:not(:last-child) {
        border-bottom: 1px solid var(--border);
    }

    .staff-table td {
        text-align: left !important;
        padding: 0;
    }

    .staff-table tr td:nth-child(4) a {
        justify-content: flex-start;
    }
}

.action-steps {
    counter-reset: step-counter;
}
.action-steps > div {
    display: flex;
    flex-direction: column;
}
.action-steps .counter-icon-badge .icon-wrapper {
    height: 5rem !important;
    width: 5rem !important;
    
    background-color: var(--background);
    border: 2px solid var(--accent) !important;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    position: relative; /* Needed for absolute positioning */
    
    counter-increment: step-counter; /* Increase counter */
}

/* Counter circle */
.action-steps .counter-icon-badge .icon-wrapper::after {
    content: "0" counter(step-counter);
    
    position: absolute;
    top: -0.25rem;        /* -top-1 */
    right: -0.25rem;      /* -right-1 */

    display: flex;
    align-items: center;
    justify-content: center;

    height: 1.75rem;      /* h-7 */
    width: 1.75rem;       /* w-7 */
    border-radius: 9999px; /* rounded-full */

    background-color: var(--accent);        /* bg-accent */
    color: var(--accent-foreground);        /* text-accent-foreground */

    font-size: 0.75rem;   /* text-xs */
    font-weight: 700;     /* font-bold */
}
.action-steps .counter-icon-badge .lucide {
    stroke: var(--accent);
    width: 1.5rem;
    height: 1.5rem;
    stroke-width: 2px;
}

.sheet-address p:nth-child(2):not(#notexist) {
    font-size: 0.875rem;
    color: color-mix(in oklab, var(--foreground) 70%, transparent);
    font-weight: 400;
}

.action-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    justify-content: center;
}

.action-steps > div {
    max-width: 24ch;
}

.action-steps > div:not(.sheet-address-small) .has-text-align-center:nth-child(2) {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
}
.action-steps > div :nth-child(3) {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: color-mix(in oklab, var(--foreground) 70%, transparent);
}

.download-sheet-button:not(.engagement-container *) {
    margin-top: 2.6rem;
}
.download-sheet-button {
    padding: 0.25rem 0.75rem;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.download-sheet-button :last-child {
    display: none;
}
.download-sheet-button a {
    position: relative;
    padding-left: 2.75rem; /* make room for icon */
}

.download-sheet-button a::before {
    content: "";
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    background-color: currentColor;

    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 15V3'/><path d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/><path d='m7 10 5 5 5-5'/></svg>") no-repeat center;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 15V3'/><path d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/><path d='m7 10 5 5 5-5'/></svg>") no-repeat center;

    -webkit-mask-size: contain;
    mask-size: contain;
}
.download-sheet-button.small-button a::before {
    left: 0.75rem; /* adjust position for small button */
    width: 0.875rem; /* smaller icon size */
    height: 0.875rem;
}
.is-style-btn-primary-contained.small-button a {
    padding: 0.5rem 1rem; /* smaller padding for small button */
    font-size: 0.75rem; /* smaller font size for small button */
}
.download-sheet-button.small-button a {
    padding-left: 2.25rem; /* smaller padding for small button */
}

.sheet-address-container {
    max-width: 48rem;
}

.sheet-address .lucide, .sheet-address-small .lucide {
    color: var(--accent);
    stroke: var(--accent);
}
.sheet-address strong, .sheet-address-small strong {
    color: var(--foreground);
}
.sheet-address-small {
    background-color: var(--wp--preset--color--background-secondary);
    width: fit-content;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
}

.engagement-container {
    justify-content: center;
    gap: 2rem;
    max-width: 60rem;
    flex-wrap: wrap;
}
.engagement-container > :first-child {
    flex: 1 1 300px;
}
.engagement-container video {
    max-width: 30rem;
}
.engagement-container .download-sheet-button a {
    font-size: 0.75rem;
}
.engagement-container .icon-wrapper {
    height: 3rem !important;
    width: 3rem !important;
    
    background-color: color-mix(in oklab, var(--accent) 20%, transparent);

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    position: relative; /* Needed for absolute positioning */
    
    counter-increment: step-counter; /* Increase counter */
}

.engagement-container .lucide {
    stroke: var(--accent);
    width: 1.5rem;
    height: 1.5rem;
    stroke-width: 2px;
}

.hello-max-image {
    display: flex;
}
.hello-max-image img {
    margin-inline: auto;
}

.email-button {
    position: relative;
    padding-left: 2.75rem;
}

/* Add the SVG icon */
.email-button::before {
    content: "";
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    background-color: currentColor;

    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7'/><rect x='2' y='4' width='20' height='16' rx='2'/></svg>") no-repeat center;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7'/><rect x='2' y='4' width='20' height='16' rx='2'/></svg>") no-repeat center;

    -webkit-mask-size: contain;
    mask-size: contain;
}

.manual-order-notice {
    color: color-mix(in oklab, var(--primary-foreground) 40%, transparent);
}

.section-banner:not(#notexist) img, .section-banner:not(#notexist) .has-background-dim {
    max-width: 80rem;
    margin: 0 auto;
}

.section-banner-dark {
    background-color: var(--primary);
}

.map-picture img {
    width: 100%;
    aspect-ratio: 21/9;
    object-fit: cover;
}

.max-book-content-container {
    flex-wrap: wrap;
}

.quote-block {
    position: relative;
    padding: 2rem 2.5rem;
    z-index: 0;
  }
  
  .quote-start::before,
  .quote-end::after {
    position: absolute;
    font-size: 8rem;
    height: 64px;
    width: 64px;
    line-height: 1;
    opacity: 0.08;
    font-family: Georgia, serif;
    z-index: -1;
    pointer-events: none;
  }
  
  .quote-start::before {
    content: "“";
    top: -1rem;
    left: -1rem;
  }
  
  .quote-end::after {
    content: "”";
    bottom: 0;
    right: 0;
  }
