:root {
    /* Font Sizes - Desktop */
    --font-size-largest: 3rem;    /* For .bigheadline-headline */
    --font-size-large: 2rem;    /* For main section headlines like .product-block-name */
    --font-size-standard: 1rem;   /* For body text, nav links, etc. */
    --font-size-small: 0.875rem;  /* For meta text, footers, etc. */

    /* Colors */
    --color-text-default: #c4c4c4;
    --color-blue-link: #8ab4f8;
    --color-brand-orange: #ff9800;
    --font-family-default: 'Roboto', Arial, sans-serif;

    /* pagefind */
    --pagefind-ui-scale: 0.8 !important;
    --pagefind-ui-primary: #ff9800 !important;
    --pagefind-ui-text: #c4c4c4 !important;
    --pagefind-ui-background: #2d2d2d !important;
    --pagefind-ui-border: #444 !important;
    --pagefind-ui-tag: #333 !important;
    --pagefind-ui-fade: #888 !important;
    --pagefind-ui-border-width: 2px !important;
    --pagefind-ui-border-radius: 8px !important;
    --pagefind-ui-image-border-radius: 8px !important;
    --pagefind-ui-image-box-ratio: 3 / 2 !important;

}

body {
    font-family: var(--font-family-default);
    margin: 0;
    background-color: #1a1a1a !important; /* Force dark background */
    color: var(--color-text-default);
    font-size: var(--font-size-standard);
}

/* --- Default Link Style --- */
body a,
body a:visited { /* Increase specificity to override framework defaults */
    text-decoration: none;
    transition: color 0.2s;
    color: var(--color-blue-link);
}



a:hover,
a:focus {
    color: var(--color-brand-orange) !important; /* Make links brighter on hover */
    text-decoration: underline;
}

/* --- Heading Styles --- */
h1, h2, h3, h4 {

    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: var(--font-size-largest);
}

h2 {
    font-size: var(--font-size-large);
}

h3 {
    font-size: 1.5rem;
}


.default-page-block-header h1
{
    font-size: var(--font-size-large) !important;
}

.default-page-block-header h2
{
    font-size: var(--font-size-standard) !important;
}

h4 {
    font-size: 1.25rem;
}


li
{
    margin-top: 16px  !important;
}

ul
{
    margin-bottom: 32px !important;
}

/* Optional: Style overrides for the Pagefind UI  */
:root {
    --pagefind-ui-primary: #ff9800;
    --pagefind-ui-text: #c4c4c4;
    --pagefind-ui-background: #2d2d2d;
    --pagefind-ui-border: #444;
    --pagefind-ui-tag: #333;
}




/* --- Main Link Style --- */
.main-link, .main-link:visited {
    color: var(--color-brand-orange);
    font-weight: 600;
    text-decoration: none;
    font-size: var(--font-size-standard);
    transition: text-decoration 0.2s;
    cursor: pointer;
}


.color-brand
{
    color: var(--color-brand-orange);
}

.main-link:hover,
.main-link:focus {
    text-decoration: underline;
}

/* --- Header Styling --- */
.main-header {
    display: flex;
    align-items: center;
    padding: 0;
    background-color: #242424; /* Slightly lighter dark background for the header */
    border-bottom: 1px solid #333;
    justify-content: space-between;
}

.header-group {
    display: flex;
    align-items: center;
}

.main-header .logo {
    border-right: 1px solid #333;
    border-radius: 4px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 12px;
}

.main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.main-menu li a {
    font-family: inherit;
    font-size: var(--font-size-standard);
    font-weight: 400;
    color: var(--color-text-default);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.main-menu > .nav-item {
    /* CRITICAL FIX: Override the global 'li' margin that was pushing the nav down. */
    margin-top: 0 !important;
}

.main-menu li a:hover {
    background-color: #333; /* Darker background on hover */
}



/* --- Top Links Styling --- */
.menu-top-links {
    display: flex;
    gap: 16px;
    margin-top: 2px;
    margin-bottom: 16px;
}

.menu-top-link {
    font-family: inherit;
    font-size: var(--font-size-small);
    font-weight: 500;
    color: #888 !important;
    text-decoration: none;
    padding: 2px 8px;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
}

.menu-top-link:hover {
    background-color: #333;
    color: var(--color-text-default);
}

.menu-top-link.active {
    color: var(--color-brand-orange) !important;
    font-weight: 700;
}

.menu-top-link.inactive {
    color: #888 !important;
    font-weight: 500;
    background: none;
    border: none;
    box-shadow: none;
    opacity: 1;
    cursor: default;
}

.menu-top-link.inactive:hover {
    background: none;
    color: #888 !important;
}

/* --- Footer Styling --- */
.main-footer {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    justify-content: center;
    align-items: center;
    padding: 40px 20px; /* Increased padding */
    background-color: #242424;
    border-top: 1px solid #333;
    width: 100%;
    margin-top: 32px;
    gap: 20px; /* Space between links and social icons */
}

.main-footer span,p
{
    color: var(--color-text-default);
}





.footer-links {
    font-family: inherit;
    font-size: var(--font-size-small);
    color: #888;
    display: flex;
    gap: 20px;
    align-items: center;
}


.footer-links a {
    font-family: inherit;
    font-size: inherit;
    font-weight: 400;
    color: inherit;
    text-decoration: none;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: var(--font-size-small);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-text-default);
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: 24px; /* Space between icons */
    align-items: center;
}

.footer-social a {
    color: #888; /* Default icon color */
    transition: color 0.2s ease-in-out;
}

.footer-social a:hover {
    color: #ffffff; /* Brighter color on hover */
}

.footer-social svg {
    width: 24px;
    height: 24px;
}


/* --- Impress Modal Styles --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.modal-content {
    background: #222;
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 32px 48px;
    max-width: 90vw;
    min-width: 220px;
    text-align: center;
    position: relative;
}
.modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    background: none;
    border: none;
    color: #fff;
    font-size: var(--font-size-largest);
    cursor: pointer;
    line-height: 1;
}
.modal-title {
    margin-bottom: 18px;
    font-size: var(--font-size-large);
    color: #ffffff;
}
.modal-body {
    color: var(--color-text-default);
    font-size: var(--font-size-standard);
    font-weight: 500;
}

/* --- Page Area and Block Styling --- */
.pagearea {
    max-width: 1400px !important;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 0;
    min-height: 70vh;
    align-items: center;
    color: var(--color-text-default);
}



.page-block {
    width: 96%;
    background: #222;
    border: 2px solid #444;
    border-radius: 18px;
    height: 400px;
    margin: 0 16px;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.block-title {
    font-size: var(--font-size-large);
    font-weight: 500;
    margin-bottom: 8px;
}

.block-desc {
    font-size: var(--font-size-standard);
    color: #bbb;
    margin-bottom: 8px;
}

.block-meta {
    font-size: var(--font-size-small);
    color: var(--color-text-default);
    margin-bottom: 12px;
    align-self: flex-end;
}

.block-actions {
    display: flex;
    gap: 12px;
    align-self: flex-end;
}

.block-edit, .block-delete {
    background: none;
    border: none;
    color: var(--color-text-default);
    font-size: var(--font-size-large);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.2s;
}

.block-edit:hover, .block-delete:hover {
    background: #333;
}

.navbar-toggler {
    border: 2px solid #444;
    border-radius: 12px;
    padding: 24px 24px !important;
    background: none !important;
    transition: box-shadow 0.2s, border-color 0.2s;
    box-sizing: border-box;
    z-index: 1100;
    margin-top:8px;
}

.navbar-toggler svg rect {
    fill: #cccccc;
    transition: fill 0.2s;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
    box-shadow: 0 0 0 2px #fff;
    border-color: #fff;
}

.navbar-toggler:hover svg rect,
.navbar-toggler:focus svg rect {
    fill: #fff;
}

.main-header-column {

    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-top: 8px;
    margin-bottom: 12px;
    padding-right:18px;

}

.main-header-row {
    display: flex;
    align-items: center;
    width: 100%;
}

.main-header-second-row {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;

}

.logo.me-2 {
    /* No inline style needed, handled by .main-header .logo */
}

.flex-grow-1.d-flex.flex-column {
    /* No inline style needed, handled by Bootstrap classes */
}

.menu-top-links.d-none.d-lg-flex.mb-2 {
    /* No inline style needed, handled by Bootstrap classes */
}

.navbar.navbar-expand-lg.navbar-dark.p-0 {
    background: none !important;
}

.navbar-toggler.d-lg-none {
    margin-right: 32px !important;
}

.collapse.navbar-collapse.d-lg-block {
    /* No inline style needed, handled by Bootstrap classes */
}

.burger-container.d-lg-block.d-flex {
    margin-right: 20px !important;
    margin-left: auto !important;
    justify-content: flex-end !important;
    align-items: center !important;
    height: 100% !important;
    min-width: 120px !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important; /* space between buttons */
    float: none !important; /* Remove float, flexbox handles alignment */
}

.desktop-login-btn {
    margin-left: 12px !important;
    padding: 8px 24px !important;
    font-size: var(--font-size-standard) !important;
    font-weight: 500 !important;
    color: #888;

    background: #333 !important;
    border: 1px solid #444 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: background 0.2s, color 0.2s !important;
    min-width: 80px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.desktop-login-btn:hover, .desktop-login-btn:focus   {
    background: #ff9800 !important;
    color: #fff !important;
    border-color: var(--color-brand-orange) !important;
}

.desktop-login-btn.active  {

    color: #fff !important;
    border-color: var(--color-brand-orange) !important;
}

#sticky-scroll-menu-desktop .desktop-login-btn {
    gap: 0 !important;
    padding: 0 !important;
    justify-content: center !important;
}

#sticky-scroll-menu-desktop .desktop-login-btn:hover,
#sticky-scroll-menu-desktop .desktop-login-btn:focus {
    background: #ff9800 !important;
    color: #fff !important;
    border-color: var(--color-brand-orange) !important;
}

/* --- Sticky scroll menu styles --- */
#sticky-scroll-menu-desktop {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 3000 !important;
    background: #242424 !important;
    border-bottom: 1px solid #333 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
    margin: 0 !important;
    padding: 0 !important;
}
#sticky-scroll-menu-desktop > div {
    display: flex !important;
    align-items: center !important;
    margin: 0 auto !important;
    padding: 6px 32px !important;
}
#sticky-scroll-menu-desktop .logo img {
    height: 36px !important;
    vertical-align: middle !important;
}
#sticky-menu-nav-desktop.navbar.navbar-expand-lg.navbar-dark.p-0 {
    background: none !important;
    margin-left: 24px !important;
    flex: 1 !important;
}

/* --- Sticky scroll menu mobile styles --- */
#sticky-scroll-menu-mobile {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 3000 !important;
    background: #242424 !important;
    border-bottom: 1px solid #333 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
    margin: 0 !important;
    padding: 0 !important;
}
#sticky-scroll-menu-mobile > div {
    display: flex !important;
    align-items: center !important;
    margin: 0 auto !important;
    padding: 6px 16px !important;
}
#sticky-scroll-menu-mobile .logo img {
    height: 32px !important;
    vertical-align: middle !important;
}
#sticky-menu-nav-mobile.navbar.navbar-dark.p-0 {
    background: none !important;
    margin-left: 12px !important;
    flex: 1 !important;
}
#sticky-scroll-menu-mobile .navbar-toggler {
    margin-left: auto !important;
    background: none !important;
    border: none !important;
    color: #fff !important;
    font-size: var(--font-size-large) !important;
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
}


/* --- Mobile Header Styling --- */
.mobile-header {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    background-color: #242424 !important;
    border-bottom: 1px solid #333 !important;
    width: 100% !important;
    position: relative !important;
    z-index: 2000 !important;
    margin-bottom: 24px !important;
}

.mobile-header .main-header-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0 8px !important;
}

.mobile-header .logo {
    margin-left: 8px !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    padding: 0 !important;
    border-right: none !important;
}

.mobile-header .navbar-toggler {
    margin-right: 8px !important;
    background: none !important;
    border: none !important;
    color: #fff !important;
    font-size: var(--font-size-large) !important;
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
}

.close-mobile-menu {
    position: sticky;
    top: 0;
    right: 18px;
    background: none;
    border: none;
    font-size: var(--font-size-largest);
    color: var(--color-text-default);
    cursor: pointer;
    z-index: 2100;
    transition: color 0.2s;
    align-self: flex-end;
}

.close-mobile-menu:hover {
    color: #ffffff;
}

/* --- Desktop Header Styling --- */
.desktop-button-container {
    justify-content: flex-end;
    margin-right:24px;
}

/* --- empty, but keep it --- */
.desktop-button-container-sticky
{

}


@media (max-width: 992px) {
    .desktop-header {
        display: none !important;
    }
}
#mobile-menu-nav .navbar-nav.main-menu {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 20px;
}
#mobile-menu-nav .navbar-nav.main-menu .nav-item {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0;
}
#mobile-menu-nav .navbar-nav.main-menu .nav-link {
    display: block;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 16px 0 16px 32px;
    background: none;
    color: var(--color-text-default);
    border-radius: 0;
    border-bottom: 1px solid #333;
    font-size: var(--font-size-burger-menu);
    font-weight: 500;
    text-align: left;
    transition: background 0.2s, color 0.2s;
}

#mobile-menu-nav .navbar-nav.main-menu .nav-link.active,
#mobile-menu-nav .navbar-nav.main-menu .nav-link:hover,
#mobile-menu-nav .navbar-nav.main-menu .nav-link:focus {

    color: #ffffff;
}

.mobile-button-container {
    margin-top: 40px; /* This pushes the container to the bottom */
    width: 100%;
    padding: 24px 12px 0 12px; /* Padding top, sides */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center buttons horizontally */
    margin-bottom:400px;
}

.mobile-menu-spacer {
    height: 150px;
    flex-shrink: 0; /* Prevent the spacer from shrinking */
}

.mobile-login-btn {
    margin-bottom: 36px !important;
    padding: 16px 24px !important;
    font-size: var(--font-size-burger-menu) !important;
    font-weight: 500 !important;
    color: #888 !important;
    width: 100% !important; /* Take full width of the container */
    background: #333 !important;
    border: 1px solid #444 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: background 0.2s, color 0.2s !important;
    min-width: 80px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.mobile-login-btn:hover, .mobile-login-btn:focus {
    background: #ff9800 !important;
    color: #fff !important;
    border-color: var(--color-brand-orange) !important;
}

.mobile-menu-top-links {
    display: flex;
    gap: 16px;
    margin-top: 2px;
    margin-bottom: 16px;
    justify-content: center;
    align-items: center;
    width: 100%;

}

.mobile-submenu {
    width: 100vw;
    max-width: 100vw;
    background: #222;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}
.mobile-submenu li {
    width: 100vw;
    max-width: 100vw;
}
.mobile-submenu-link {
    display: block;
    width: 100vw;
    max-width: 100vw;
    padding: 16px 0 16px 48px;
    color: var(--color-text-default);
    background: none;
    border: none;
    font-size: var(--font-size-standard);
    font-weight: 400;
    text-align: left;
    border-bottom: 1px solid #333;
    transition: background 0.2s, color 0.2s;
}
.mobile-submenu-link:hover,
.mobile-submenu-link:focus {
    background: #333;
}


/* --- Submenu for Desktop and Mobile --- */
@media (min-width: 992px) {
    /* Hide mobile-specific elements on desktop */
    .mobile-header {
        display: none !important;
    }

    /* Desktop Submenu Styles */
    .main-menu {
        position: relative;
    }
    .nav-item {
        position: relative;
    }
    .main-submenu {
        position: absolute;
        left: 0;
        top: 100%;
        min-width: 200px;
        background: #222;
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.18);
        display: none;
        z-index: 1000;
        padding: 8px 0;
        margin-top: 2px;
    }
    .nav-item:hover .main-submenu,
    .nav-item:focus-within .main-submenu {
        display: block;
    }
    .main-submenu-link {
        display: block;
        padding: 12px 28px;
        color: #fff;
        text-decoration: none;
        font-size: var(--font-size-standard);
        border: none;
        background: none;
        transition: background 0.2s, color 0.2s;
        border-radius: 0;
    }
    .main-submenu-link:hover,
    .main-submenu-link:focus {
        background: #333;
        color: #ffffff;
    }
}

/* --- New Block Section Styles --- */
.person-statement-block {
    width: 96%;
    background: #222;
    border: 2px solid #444;
    border-radius: 18px;
    margin: 0px auto 0 auto;
    padding: 16px 16px;
    box-sizing: border-box;
}

.person-statement-block-no-border {
    width: 96%;

    border-radius: 18px;
    margin: 0px auto 0 auto;
    padding: 16px 16px;
    box-sizing: border-box;
}

.person-statement-block-row {
    display: flex;
    flex-direction: row;
    gap: 48px;
    align-items: center; /* <-- changed from flex-start to center for vertical centering */
}
.person-statement-block-col1 {
    width: 300px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.person-statement-block-image-wrapper {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.person-statement-block-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
.person-statement-block-person {
    font-size: var(--font-size-standard);
    color: #aaa;
    text-align: center;
}

.person-statement-block-person-title {
    font-size: var(--font-size-small);
    color: #aaa;
    text-align: center;
}

.person-statement-block-col2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.person-statement-block-date {
    font-size: var(--font-size-standard);
    color: #bbb;
    margin-bottom: 8px;
}
.person-statement-block-headline {
    font-size: var(--font-size-large);
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}
.person-statement-block-text {
    font-size: var(--font-size-standard);
    color: var(--color-text-default);
    line-height: 1.6;
}

/* --- New Pageblock Link Styles --- */
.pageblock_link {
    color: #444444;
    text-decoration: none;
    transition: color 0.2s;
}
.pageblock_link:hover,
.pageblock_link:focus {
    color: var(--color-brand-orange);
    text-decoration: underline;
}

/* --- Awaberry Row Styles --- */
.awaberry-row {
    display: flex;
    flex-direction: row;
    gap: 4px;
    align-items: center;
    margin: 8px 0;
}
.awaberry-row img {
    display: inline-block;
    vertical-align: middle;
}

/* --- Big Headline Block Styles --- */
.bigheadline-block {
    width: 100%;
    max-width: 1000px;
    min-height: 25vh;

    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: none;
    margin: 0 auto 32px auto;
}
.bigheadline-headline {
    width: 100%;
    text-align: center;
    color: #444444;
    font-size: var(--font-size-largest);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0 auto;
    background: none;
    opacity: 0;
    animation: bigheadlineFadeIn 2.2s ease-in forwards;
}
@keyframes bigheadlineFadeIn {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
/* --- Product Block Styles --- */

.product-block-noborder {


    max-width: 1400px;
    margin: 8px 8px;
    width: 100%;

    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 24px;
}


.product-block {
    background-color: #222;

    border: 2px solid #444;
    max-width: 1400px;
    margin: 8px 8px;
    width: 96%;
    border-radius: 18px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 24px;
}
.product-block-row {
    display: flex;
    flex-direction: row;
    gap: 48px;
    align-items: center;
    width: 100%;
    justify-content: center;
}
.product-block-col1 {
    flex: 0 0 38%; /* Golden cut: ~38% */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    background-image: url('/assets/images/product_background.png');
    background-size: auto;
    background-position: left;
    background-repeat: no-repeat;
}
.product-block-image {
    width: 60px;

    object-fit: contain;
    margin-bottom: 18px;
    display: block;
}
.product-block-name {
    font-size: var(--font-size-large);
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 8px;
}


.product-block-message-large {
    font-size: var(--font-size-large);
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 32px;
}


.product-block-message {
    font-size: var(--font-size-standard);
    color: var(--color-brand-orange);
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}



.product-block-col2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 24px;
    hyphens: auto;
    text-align: justify
}


.product-block-summary {
    font-size: var(--font-size-standard);
    color: var(--color-text-default);
    margin-bottom: 18px;
    text-align: left;
}
.product-block-features-header {
    font-size: var(--font-size-standard);
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    margin-top: 8px;
}
.product-block-features {
    color: #bbb;
    font-size: var(--font-size-standard);
    margin-bottom: 16px;
    padding-left: 20px;
}
.product-block-features li {
    margin-bottom: 6px;
    line-height: 1.5;
}
.product-block-link {

    color: var(--color-brand-orange);
    font-weight: 600;
    text-decoration: none;
    font-size: var(--font-size-standard);
    margin-top: 8px;
    transition: color 0.2s;
}
.product-block-link:hover,
.product-block-link:focus {
    color: var(--color-brand-orange);
    text-decoration: underline;
}

.margin-after-block-60
{
    margin-bottom: 60px !important;
}

.margin-after-block-100
{
    margin-bottom: 100px !important;
}


/* --- Default Page Block Styles --- */



.default-page-block {
    background-color: #222;
    border: 2px solid #444;
    max-width: 1400px;
    width: 96%; /* Use full available width */
    margin: 0;
    padding: 0;
    border-radius: 18px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column; /* Stack children vertically */
    align-items: stretch; /* Make children take full width */
    overflow: hidden; /* This will clip the child elements to the parent's rounded corners */
}

.default-page-block-header {

    padding: 16px;
    background-color: #323232;
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    width: 100%;
    justify-content: flex-start;
    box-sizing: border-box;
}




.default-page-block-column {
    display: flex;
    flex-direction: column;
    gap: 32px; /* Add some space between the blocks */
    align-items: stretch; /* This will make all children take up the full width */
    width: 100%;
    justify-content: flex-start; /* Corrected: Align items to the left */
    padding: 32px;
    box-sizing: border-box;
    min-height:50vh;
}

.page-anchor {
    display: block;
    position: relative;
    top: -72px; /* Creates an offset for sticky headers. Adjust as needed. */
    visibility: hidden;
}


.group-block {
    background-color: #222;
    border: 2px solid #444;

    width: 100%; /* Use full available width */
    margin-bottom: 32px;
    padding: 0;
    border-radius: 18px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column; /* Stack children vertically */
    align-items: stretch; /* Make children take full width */
    overflow: hidden; /* This will clip the child elements to the parent's rounded corners */
}

.group-block-header {

    padding: 16px;
    background-color: #1a1a1a;
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    width: 100%;
    justify-content: flex-start;
    box-sizing: border-box;
}


.group-block-column, .item-block-column, .element-block-column {
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: flex-start; /* Corrected: Align items to the top */
    max-width: 100%;
    justify-content: flex-start; /* Corrected: Align items to the left */
    padding: 16px;
    box-sizing: border-box;

}


.item-block {


    width: 100%; /* Use full available width */
    margin-bottom: 32px;
    padding: 0;
    border-radius: 0px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column; /* Stack children vertically */
    align-items: stretch; /* Make children take full width */
    overflow: hidden; /* This will clip the child elements to the parent's rounded corners */
}

.item-block-header {

    padding: 16px;
    background-color: #323232;
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    width: 100%;
    justify-content: flex-start;
    box-sizing: border-box;
}


.element-block {


    width: 100%; /* Use full available width */
    margin-bottom: 32px;
    padding: 0;
    border-radius: 0px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column; /* Stack children vertically */
    align-items: stretch; /* Make children take full width */
    overflow: hidden; /* This will clip the child elements to the parent's rounded corners */
}

.element-block-header {

    padding: 16px;
    border-bottom: 1px solid #444;
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    width: 100%;
    justify-content: flex-start;
    box-sizing: border-box;
}

.download-block {
    background-color: #222;
    border: 2px solid #444;;

    width: 100%; /* Use full available width */
    margin-bottom: 32px;
    padding: 16px;
    border-radius: 18px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column; /* Stack children vertically */
    align-items: stretch; /* Make children take full width */
    overflow: hidden; /* This will clip the child elements to the parent's rounded corners */
}




.inhomepagenavigation-block {

    width: 100%; /* Use full available width */
    margin-bottom: 32px;
    padding: 16px;
    border-radius: 18px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column; /* Stack children vertically */
    align-items: stretch; /* Make children take full width */
    overflow: hidden; /* This will clip the child elements to the parent's rounded corners */
}

.bespoke-download-block {
    background-color: #1a1a1a;
    border: 2px solid #444;

    width: 100%; /* Use full available width */
    margin-bottom: 32px;
    padding: 16px;
    border-radius: 18px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: stretch; /* Make children take full width */
    overflow: hidden; /* This will clip the child elements to the parent's rounded corners */
}

.bespoke-download-block-content
{
    margin-left:16px;
    margin-right:16px;
}



.product-features-visual-block {
    background-color: #1a1a1a;
    border: 2px solid #444;

    width: 100% !important; /* Use full available width */
    margin-bottom: 32px;
    padding: 16px;
    border-radius: 18px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center; /* Vertically center the content */
    justify-content: space-between; /* Push items to opposite ends */
    overflow: hidden; /* This will clip the child elements to the parent's rounded corners */
}


.product-features-visual-block-96 {

    margin-left: auto;
    margin-right: auto;

    width: 96% !important; /* Use full available width */
    margin-bottom: 32px;
    padding: 16px;
    border-radius: 18px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center; /* Vertically center the content */
    justify-content: space-between; /* Push items to opposite ends */
    overflow: hidden; /* This will clip the child elements to the parent's rounded corners */
}

/* This makes the entire block a clickable link */
.block-link, .block-link:visited {
    display: block;
    width: 100%; /* Ensure the link takes up the full width of its container */
    text-decoration: none;
    color: inherit;
}

/* On hover, change the border color of the block */
.block-link:hover .product-features-visual-block .product-features-visual-block-96 {
    border-color: var(--color-brand-orange);
}

/* On hover, change the color of the product text */
.block-link:hover .product-features-product {
    color: var(--color-brand-orange);
}

.product-features-product
{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    font-size: var(--font-size-large);
    color: #757575;
    gap: 8px; /* Adds space between the icon and text */
}


.imageleft
{
    display: flex;
    align-items: center;
    justify-content: center;
}

.imagerowright
{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 16px;
}

.imagerowright-text-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 16px;
    text-align: start;
    width: 100%;
    box-sizing: border-box;
    padding:32px;
}


.imagerowright img {
    width: 50px;
    height: auto; /* Maintain aspect ratio */
}


.feature-icon {
    width: 50px;
    height: 50px;
    background-color: #FFFFFF; /* Default icon color (matches the text in .product-features-product) */
    color: #000000; /* Default icon color (matches the text in .product-features-product) */

    /* Use the PNG as a mask */
    -webkit-mask-image: var(--icon-url);
    mask-image: var(--icon-url);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;

    transition: background-color 0.2s ease-in-out;
}

.feature-icon:hover {
    background-color: var(--color-brand-orange);
}



.inhomepagenavigation-block a
{
    margin-bottom: 16px;
    width:100%;
}








/* --- App Preview Block Styles --- */
.appPreviewBlock {
    width: 100%;
    max-width: 900px;
    margin: 32px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.appPreviewBlock-image {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.12);
    margin: 0 auto;
    display: block;
}

/* ==========================================================================
   Mobile Styles (< 992px)
   ========================================================================== */
@media (max-width: 992px) {
    :root {
        /* Font Sizes - Mobile */
        --font-size-superlarge: 5rem; /* For large icons like the close button */
        --font-size-largest: 4rem;    /* For big headlines */
        --font-size-large: 3rem;      /* For section headlines */
        --font-size-burger-menu: 1.6rem;  /* For burger menu links and text */
        --font-size-standard: 1.2rem;  /* For body text */
        --font-size-small: 1.0rem;     /* For meta text */

        /* Colors */
        --color-text-default: #c4c4c4;
        --font-family-default: 'Roboto', Arial, sans-serif;
    }

    body {
        font-family: var(--font-family-default);
        margin: 0;
        background-color: #1a1a1a !important; /* Force dark background */
        color: var(--color-text-default);
        font-size: var(--font-size-standard) !important;
    }




    /* --- Heading Styles --- */
    h1, h2, h3, h4 {

        font-weight: 700;
        margin-top: 0;
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    h1 {
        font-size: var(--font-size-largest) !important;
    }

    h2 {
        font-size: var(--font-size-large) !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    h4 {
        font-size: 1.25rem !important;
    }

    li
    {
        margin-top: 48px  !important;
    }

    ul
    {
        margin-bottom: 64px !important;
    }



    .menu-top-link {
        font-family: inherit;
        font-size: var(--font-size-standard);
    }

    body.menu-open {
        overflow: hidden;
    }

    /* --- Header & Menu --- */
    .desktop-header {
        display: none !important;
    }

    .main-header {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .logo {
        margin-left: 8px;
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .navbar-toggler.d-lg-none {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        right: 8px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        position: absolute !important;
        height: 48px !important;
        width: 48px !important;
        margin: 0 !important;
    }

    /* --- Mobile Custom Menu Overlay --- */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #242424;
        z-index: 2000;
        flex-direction: column;
        align-items: flex-start;
        overflow-y: auto;
        box-shadow: 0 2px 16px rgba(0,0,0,0.5);
        padding-top: 8px;
        padding-right: 8px;
    }

    body.menu-open .mobile-menu-overlay {
        display: flex;
    }

    .close-mobile-menu {
        font-size: var(--font-size-superlarge);
    }

    /* Hide Bootstrap collapse on mobile */
    .navbar-collapse {
        display: none !important;
    }

    .navbar-collapse.d-lg-block {
        display: flex !important;
    }

    .menu-top-links.d-flex.d-lg-none {
        flex-direction: row;
        margin-left: 16px;
        margin-bottom: 24px;
    }

    /* --- Submenu --- */
    .main-submenu {
        display: block !important;
        background: #222;
        margin: 0 0 0 36px;
        padding: 0;
        border-left: 2px solid #444;
        border-radius: 0 0 8px 8px;
        box-shadow: none;
        font-size: var(--font-size-burger-menu) !important;
    }



    .main-submenu-link {
        display: block;
        width: 100%;
        padding: 32px 32px 32px 32px !important;
        color: #fff;
        text-decoration: none;
        font-size: var(--font-size-burger-menu) !important;
        border-bottom: 1px solid #333;
        background: none;
        transition: background 0.2s, color 0.2s;
    }
    .main-submenu-link:hover,
    .main-submenu-link:focus {
        background: #333;
        color: #ffffff;
    }

    /* --- Sticky Menu --- */
    #sticky-scroll-menu-desktop {
        display: none !important;
    }



    /* --- Page Content Blocks --- */
    .bigheadline-block {
        min-height: 120px;

    }

    .person-statement-block-row {
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
        width: 100%;
    }
    .person-statement-block-col1
    .person-statement-block-col2 {
        width: 100%;
        min-width: 0;
        margin-bottom: 0;
        align-items: flex-start;
        text-align: left !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }


    .person-statement-block-image-wrapper {
        width: 240px;
        height: 240px;
        border-radius: 50%;
        overflow: hidden;
        background: #333;n
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 18px;
    }
    .person-statement-block-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
        display: block;
    }



    .person-statement-block-col1 {
        margin-bottom: 12px;
    }


    .default-page-block-row {
        flex-direction: column;
        gap: 18px;
        align-items: stretch;
        width: 100%;
        margin-bottom: 28px;
    }
    .default-page-block-col1 {
        width: 100%;
        flex: none;
        margin-bottom: 8px;
        align-items: center;
        justify-content: center;
        background-image: url('/assets/images/product_background.png');
        background-size: cover;
        background-position: left;
        background-repeat: no-repeat;
    }
    .default-page-block-image {
        width: 90px;
        height: 180px;
        margin-bottom: 10px;
    }



    .product-block-row {
        flex-direction: column;
        gap: 18px;
        align-items: stretch;
        width: 100%;
        margin-bottom: 28px;
    }
    .product-block-col1 {
        width: 100%;
        flex: none;
        margin-bottom: 8px;
        align-items: center;
        justify-content: center;

        background-image: url('/assets/images/product_background.png');
        background-size: cover;
        background-position: left;
        background-repeat: no-repeat;

    }
    .product-block-image {
        width: 90px;
        height: 180px;
        margin-bottom: 10px;
    }
    .product-block-col2 {
        width: 100%;
        padding: 0 8px;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .appPreviewBlock {
        max-width: 98vw;
        margin: 18px auto;
    }
    .appPreviewBlock-image {
        border-radius: 10px;
    }
}

/* --- Active Navigation Link Styling --- */
.nav-item .nav-link.active {
    color: #ffffff !important; /* Use !important to override existing color */
    font-weight: 600 !important; /* Make it bolder */
    background-color: #333;
}

/* Ensure active state is visible in the sticky header as well */
#sticky-menu-nav-desktop .nav-item .nav-link.active {
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Ensure active state is visible in the mobile menu */
#mobile-menu-nav .nav-item .nav-link.active {
    color: #ffffff !important;
    font-weight: 700 !important; /* Slightly bolder for mobile */
    background-color: #333; /* Add a background to show it's active */
}



/* --- Footer Refactor --- */

/* Default (Desktop) Styles */
.footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; /* This creates the space between the rows on desktop */
    width: 100%;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-links-mobile {
    display: flex;
    flex-direction: row; /* Links in a row on desktop */
    gap: 20px;
    align-items: center;
}

/* CRITICAL FIX: Remove background from the span */
.footer-links-mobile span {
    background-color: transparent !important;
    font-weight:bold;
}

.footer-right-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-meta-links {
    display: flex;
    flex-direction: row; /* Meta links in a row on desktop */
    gap: 20px;
    align-items: center;
    font-size: inherit; /* CRITICAL FIX: Use normal font size */
    color: #888;
}

.footer-meta-links p {
    margin: 0;
}

.footer-meta-link {
    color: #888;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.footer-meta-link:hover,
.footer-meta-link:hover span,
.footer-meta-link:hover svg {
    color: #ffffff;
    fill: #ffffff;
    text-decoration: none;
}


/* --- Scroll to Top Footer Button --- */
.scroll-to-top-footer-btn {
    display:none;
}

/* Mobile Overrides */
@media (max-width: 992px) {

    .scroll-to-top-footer-btn {
        display:block;
        margin-top:32px;
        background-color: #333;
        color: var(--color-text-default);
        border: 1px solid #444;
        border-radius: 8px;
        padding: 16px 32px;
        font-size: var(--font-size-standard);
        cursor: pointer;
        transition: background-color 0.2s, color 0.2s;
    }

    .footer-grid {
        display: grid;
        padding-left:32px;
        padding-right:32px;
        padding-bottom:96px;
        grid-template-columns: 1fr 1fr; /* Two columns on mobile */
        align-items: start; /* Align items to the top of their grid cell */
    }

    .footer-column {
        align-items: flex-start; /* Align content to the left within each column */
        gap: 15px;
    }

    .footer-links-mobile {
        flex-direction: column; /* Stack items vertically */
        align-items: flex-start;

        gap: 0;
    }

    /* This is the key change for the left column */
    .footer-links-mobile span,
    .footer-links-mobile a {
        display: block; /* Make each item take its own line */
        margin-bottom: 32px;
        font-weight:bold;
    }

    .footer-meta-section {

        align-items: flex-end;
    }

    .footer-social {
        justify-content: flex-end;
        margin-bottom: 32px;
    }

    .footer-social svg {
        width: 36px;
        height: 36px;
    }

    .footer-meta-links {
        flex-direction: column; /* Stack search and language on mobile */
        align-items: flex-end;
        gap: 10px;

    }

    .footer-meta-links a{
        margin-bottom: 32px;
    }
}

/* For download page */


.code-box {
    background-color: #1a1a1a;
    border: 1px solid #555;
    border-radius: 5px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Courier New', Courier, monospace;
    color: #fff;
    width:100%;
    margin-bottom: 32px;
}
.code-box pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-all;
}
.copy-btn {
    border: 1px solid #ff9800 !important;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: var(--font-family-default);
    font-weight: 500;
    transition: background-color 0.2s;
}
.copy-btn:hover {
    background-color: #e68a00;
}
.copy-btn.copied {
    background-color: #28a745; /* Green for success */
}
.installer-note {
    font-size: var(--font-size-small);
    color: #888;
    margin-top: 1rem;
}



/* --- Feature Section Component --- */
.feature-section {
    width: 100%;
    margin-bottom: 3rem; /* Space between feature sections */
}

.feature-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1.5rem 1rem;
    width: 100%;
    border-bottom: 1px solid #333; /* Add a separator line */
}

.feature-row:hover
{
    background-color: #323232;
}


.feature-row-col1 {
    width: 12px;
    min-width: 120px;
    display: flex;
    justify-content: flex-end;
    padding-right: 1.5rem;
}

.feature-row-icon {
    width: 80px;
    height: auto;
}

.feature-row-col2 {
    flex: 1;
}

.feature-row-col2 p {
    margin: 0;
    font-size: var(--font-size-standard);
    color: var(--color-text-default);
}

.feature-row-head p {
    margin: 0;
    font-size: var(--font-size-standard);
    color: var(--color-text-default);
    font-weight: 500; /* Make the main text slightly bolder */
}

.feature-row-byline p {
    margin: 0.25rem 0 0 0; /* Add a little space above the byline */
    font-size: var(--font-size-small);
    color: #888; /* Make the byline a lighter gray */
    line-height: 1.4;
}



/* --- Expandable Text Block --- */
.expandable-text-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.expandable-text-content.open {
    max-height: 1000px; /* A large value to ensure content fits */
}

.expand-trigger {
    background: none;
    border: none;
    color: var(--color-brand-orange);
    cursor: pointer;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    align-self: flex-end; /* Align the button to the right within its flex container */
}

.expand-trigger .expand-icon {
    transition: transform 0.3s ease;
}

.expand-trigger.open .expand-icon {
    transform: rotate(180deg);
}

.person-statement-block-caption {
    text-align: center;
}