/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}
* {
    transition: background-color var(--transition-base),
                color var(--transition-base),
                border-color var(--transition-base),
                box-shadow var(--transition-base),
                transform var(--transition-fast);
}



html {
    height: 100%;
    font-size: calc(16px * var(--font-size-multiplier));
    scroll-behavior: smooth;
}

@media (max-width: 1000px) {
    html { font-size: calc(15px * var(--font-size-multiplier)); }
}
@media (max-width: 800px) {
    html { font-size: calc(14.5px * var(--font-size-multiplier)); }
}
@media (max-width: 600px) {
    html { font-size: calc(14px * var(--font-size-multiplier)); }
}

body {
    background-color: var(--background-body);
    color: var(--text-main);
    line-height: var(--leading-relaxed);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}



/* Typography */
body, * {
    font-family: "MainFont", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-optical-sizing: auto;
}

strong, b {
    font-family: "MainFontBold", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-optical-sizing: auto;
    font-weight: var(--font-bold);
    color: var(--text-main);
}

h1, h2, h3, h4, h5, h6 {
    font-family: "MainFontBold", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-optical-sizing: auto;
    color: var(--text-main);
    line-height: var(--leading-tight);
    margin-top: 0;
    font-weight: var(--font-bold);
    letter-spacing: var(--tracking-tight);
}

h1 {
    font-size: var(--font-5xl);
    margin-bottom: var(--space-xl);
    line-height: var(--leading-tight);
}

h2 {
    font-size: var(--font-3xl);
    margin-bottom: var(--space-lg);
    margin-top: var(--space-3xl);
}

h3 {
    font-size: var(--font-2xl);
    margin-bottom: var(--space-md);
    margin-top: var(--space-2xl);
}

h4 {
    font-size: var(--font-xl);
    margin-bottom: var(--space-md);
    margin-top: var(--space-xl);
}

h5 {
    font-size: var(--font-lg);
    margin-bottom: var(--space-sm);
    margin-top: var(--space-lg);
}

h6 {
    font-size: var(--font-base);
    margin-bottom: var(--space-sm);
    margin-top: var(--space-lg);
}

p {
    margin-bottom: var(--space-lg);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--links);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--links-hover);
}



/* Masthead */





body > main {
    max-width: var(--max-width-xl);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    position: relative;
    z-index: var(--z-base);
}

@media (max-width: 1240px) {
    body > main {
        padding: 0 var(--space-lg);
    }
}

@media (max-width: 768px) {
    body > main {
        padding: 0 var(--space-md);
    }
}



/* ========================================
   FOOTER
   ======================================== */
body > #footerWrapper {
    background-color: var(--background-muted);
    border-top: 3px solid var(--primary);
    margin-top: var(--space-4xl);
}

body > #footerWrapper > footer {
    max-width: var(--max-width-xl);
    margin: 0 auto;
    position: relative;
    z-index: var(--z-base);
    text-align: center;
    font-size: var(--font-sm);
    padding: var(--space-3xl) var(--space-xl) var(--space-xl);
    color: var(--text-secondary);
}

body > #footerWrapper > footer h2 {
    font-size: var(--font-lg);
    margin-bottom: var(--space-md);
    margin-top: 0;
}


body > #footerWrapper > footer img {
    width: 32px;
    height: 32px;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

body > #footerWrapper > footer img{
filter: brightness(0) saturate(100%);
width:32px;
opacity:0.9;
}


body > #footerWrapper > footer img:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

body > #footerWrapper > footer ul {
    list-style: none;
    padding: 0;
    margin: var(--space-sm) 0;
}

body > #footerWrapper > footer ul li {
    margin-bottom: var(--space-xs);
}




@media (max-width: 1204px) {
body > main{
	padding: 0 1rem;

}
}


#adminBar {
	font-size:0.8rem;
    height: 1.5rem;
    line-height: 1.4rem;
    width: calc(100% - 20px);
    padding: 0 10px;
    z-index: 99999;
	background: linear-gradient(to bottom, #446, #003);
    color:white;
    border-bottom: 1px solid #000;
    display: flex;
    justify-content: space-between;
}

#adminBar .admin-left {
    display: flex;
    gap: 15px;
}

#adminBar .admin-right {
    display: flex;
    gap: 15px;
}

#adminBar a {
    text-decoration: none;
    color: white;
}

#adminBar a:hover {
    text-decoration: underline;
}



/* CSS */
nav #marketingButtons{
	position: absolute;
  bottom:-4rem;
  padding:0rem 2rem 0rem 0;
  height:4rem;
  width:calc(100% - 2rem);
  text-align:right;
  x-background: linear-gradient(to bottom,  rgba(200,150,150,0.5) 0%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

nav #marketingButtons>a {
  align-items: center;
  appearance: none;
  background-color: var(--primary);
  color:#fff;
  border: 0;
  border-radius: 0.5rem;
  display: inline-flex;
  height: 3rem;
  line-height: 1;
  text-align: left;
  text-decoration: none;
  transition: box-shadow .15s,transform .15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow,transform;
  font-size: 3rem;
  font-weight: bold;

  --c: #fff;
  border: none;
  transform: perspective(500px) rotateY(calc(15deg*var(--_i,0)));
  outline-offset: .1em;
  transition: 0.3s;
    font-weight: bold;
  font-size: 1.5rem;
  margin: 1rem 0 0 1rem;
  cursor: pointer;
  padding: .1em 1em;
}

nav #marketingButtons>a:hover,
nav #marketingButtons>a:focus-visible {
  --_p: 0%;
  --_i: 1;
}

nav #marketingButtons>a:active {
  text-shadow: none;
  color: var(--c);
  box-shadow: inset 0 0 9e9q #0005;
  transition: 0s;
}

nav #marketingButtons #socials{
  display:inline-block;
}

nav #marketingButtons #socials a{
  display: inline-block;
  border:2px solid var(--primary);
  border-radius:50%;
  background-color:#fff;
  width:calc(2.5rem);
  height:calc(2.5rem);
  overflow:hidden;
  top:0.75rem;
  position:relative;
}
nav #marketingButtons #socials a img{
  width:2rem;
  margin:0.25rem 0.25rem 0 0;
}


#breadcrumbs {
    font-size: var(--font-sm);
    color: var(--text-muted);
    padding: var(--space-lg) 0;
    margin-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color-light);
}

#breadcrumbs a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

#breadcrumbs a:hover {
    color: var(--primary);
}/* ========================================
   MAIN NAVIGATION
   ======================================== */
body > header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background: var(--primary);
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--transition-base);
}

body > header.scrolled {
    box-shadow: var(--shadow-lg);
}

@supports selector(:has(.something)) {
    body > header:has(#menu-toggle:checked) {
        z-index: var(--z-modal);
    }
}

/* ========================================
   LOGO
   ======================================== */
header > nav > a {
    position: relative;
    z-index: calc(var(--z-sticky) + 2);
    display: block;
    transition: transform var(--transition-base);
}


body > header > nav > a > img {
    width: 6rem;
    background: #fff;
    border: 0.5rem solid #fff;
    border-radius: var(--radius-full);
    margin: var(--space-sm);
    position: absolute;
    left: var(--space-md);
    z-index: calc(var(--z-sticky) + 3);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

body > header > nav > a > img:hover {
    box-shadow: var(--shadow-lg);
}

/* ========================================
   NAV CONTAINER
   ======================================== */
header > nav {
    min-height: 4rem;
    position: relative;
    z-index: var(--z-sticky);
    width: 100%;
    background-color: var(--primary);
}

/* ========================================
   MENU CONTAINER
   ======================================== */
header > nav .main-menu {
    display: flex;
    max-width: calc(100% - 8rem);
    margin: 0 0 0 auto;
    padding: 0 var(--space-md) 0 0;
    list-style: none;
    justify-content: flex-end;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
}

/* ========================================
   HAMBURGER MENU
   ======================================== */
header > nav #menu-toggle {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

header > nav .hamburger {
    display: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    right: var(--space-lg);
    top: 0.5rem;
    z-index: calc(var(--z-modal) + 5);
    transition: transform var(--transition-base), color var(--transition-fast);
    background-color: none;
    padding: 0rem 1rem;
    border-radius: var(--radius-md);
}

header > nav .hamburger:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   MENU ITEMS
   ======================================== */
header > nav .menu-item {
    position: relative;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    z-index: calc(var(--z-sticky) + 1);
}

header > nav .menu-item a {
    display: block;
    padding: var(--space-md) var(--space-lg);
    color: white;
    text-decoration: none;
    font-weight: var(--font-medium);
    transition: all var(--transition-fast);
    white-space: nowrap;
    border-radius: var(--radius-md);
    position: relative;
}

header > nav .menu-item a::after {
    content: '';
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: white;
    transition: transform var(--transition-base);
}

header > nav .menu-item:hover > a::after {
    transform: translateX(-50%) scaleX(1);
}

header > nav .menu-item:hover > a {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ========================================
   DROPDOWN TOGGLE
   ======================================== */
header > nav .dropdown-toggle {
    display: inline-block;
    color: white;
    font-size: var(--font-base);
    margin-left: calc(-1 * var(--space-md));
    padding-right: var(--space-md);
    padding-left: var(--space-xs);
    line-height: 1;
    cursor: pointer;
    transition: transform var(--transition-base);
    z-index: calc(var(--z-sticky) + 1);
}

header > nav .has-submenu.submenu-active .dropdown-toggle {
    transform: rotate(180deg);
}

/* ========================================
   SUBMENU
   ======================================== */
header > nav .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 14rem;
    margin: 0;
    padding: var(--space-sm) 0;
    list-style: none;
    background-color: var(--primary);
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    z-index: calc(var(--z-sticky) + 1);
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

header > nav .has-submenu:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

header > nav .submenu-item {
    z-index: calc(var(--z-sticky) + 1);
}

header > nav .submenu-item a {
    padding: var(--space-sm) var(--space-lg);
    font-weight: var(--font-normal);
    white-space: nowrap;
    border-radius: 0;
}

header > nav .submenu-item a::after {
    display: none;
}

header > nav .submenu-item a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    padding-left: calc(var(--space-lg) + var(--space-xs));
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */
@media (max-width: 950px) {
    header > nav .hamburger {
        display: block;
    }
    
    header > nav .main-menu {
        position: fixed;
        top: 0;
        right: -19rem;
        width: 19rem;
        height: 100vh;
        background-color: var(--primary);
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        overflow-y: auto;
        padding-top: 4rem;
        padding-right: 0;
        transition: right var(--transition-slow);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        z-index: var(--z-modal);
        max-width: none;
        margin: 0;
    }
    
    header > nav #menu-toggle:checked ~ .main-menu {
        right: 0;
    }
    
    header > nav #menu-toggle:checked ~ .hamburger {
        transform: rotate(90deg);
    }
    
    header > nav .menu-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
        display: block;
    }
    
    header > nav .menu-item a {
        border-radius: 0;
    }
    
    header > nav .menu-item a::after {
        display: none;
    }
    
    header > nav .has-submenu > a {
        width: calc(100% - 50px);
        display: inline-block;
    }
    
    header > nav .dropdown-toggle {
        position: absolute;
        right: 0;
        top: 0;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
        font-size: var(--font-xl);
        transition: all var(--transition-base);
        border-radius: 0;
    }
    
    header > nav .dropdown-toggle:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    header > nav .has-submenu.submenu-active .dropdown-toggle {
        transform: rotate(180deg);
        background-color: rgba(255, 255, 255, 0.15);
    }
    
    header > nav .submenu {
        position: static;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.15);
        box-shadow: none;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: max-height var(--transition-slow), padding var(--transition-slow);
        padding: 0;
        margin: 0;
        border-top: none;
    }
    
    header > nav .has-submenu.submenu-active > .submenu {
        max-height: 1000px;
        padding-top: var(--space-sm);
        padding-bottom: var(--space-sm);
    }
    
    header > nav .submenu-item {
        border-bottom: none;
    }
    
    header > nav .submenu-item a {
        padding-left: calc(var(--space-xl) + var(--space-sm));
        white-space: normal;
    }
    
    header > nav .submenu-item a:hover {
        padding-left: calc(var(--space-xl) + var(--space-md));
    }
}

/* ========================================
   SMALLER MOBILE SCREENS
   ======================================== */
@media (max-width: 576px) {
    header > nav .main-menu {
        width: 100%;
        right: -100%;
    }
    
    header > nav .menu-item a {
        white-space: normal;
    }
    
    header > a.menu-open {
        display: none;
    }
}

/* ========================================
   MENU BACKDROP (Mobile)
   ======================================== */
@media (max-width: 950px) {
    header > nav #menu-toggle:checked::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: calc(var(--z-modal) - 1);
        animation: fadeIn var(--transition-base);
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
}/* ========================================
   BUTTONS
   ======================================== */
.button {
    background-color: var(--primary);
    color: var(--button-text);
    font-weight: var(--font-bold);
    text-decoration: none;
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-xl);
    margin-top: 0;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    font-size: var(--font-base);
    line-height: var(--leading-tight);
}

.button:hover {
    background-color: var(--primary-high);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--button-text);
}

.button:active {
    transform: translateY(0);
    box-shadow: var(--shadow-xs);
}

.button-small {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--font-sm);
}

.button-medium {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--font-base);
}

.button-large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--font-lg);
}

/* Button wrapper and alignment classes */
.button-wrapper {
    margin: 1rem 0;
}

.button-align-left {
    text-align: left;
}

.button-align-center {
    text-align: center;
}

.button-align-right {
    text-align: right;
}




/* Header alignment classes */
.header-align-left {
    text-align: left;
}

.header-align-center {
    text-align: center;
}

.header-align-right {
    text-align: right;
}


/* ========================================
   FORMS
   ======================================== */
form {
    max-width: 600px;
    margin: var(--space-xl) 0;
}

form label {
    display: block;
    margin-bottom: var(--space-sm);
    color: var(--text-main);
    font-weight: var(--font-semibold);
    font-size: var(--font-sm);
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="password"],
form select,
form textarea {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--font-base);
    margin-bottom: var(--space-lg);
    box-sizing: border-box;
    transition: all var(--transition-fast);
    background-color: var(--background-body);
    color: var(--text-main);
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus,
form input[type="password"]:focus,
form select:focus,
form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-50);
}

form textarea {
    min-height: 120px;
    resize: vertical;
}

form input[type="submit"] {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: var(--space-md) var(--space-2xl);
    border-radius: var(--radius-lg);
    font-size: var(--font-base);
    font-weight: var(--font-bold);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

form input[type="submit"]:hover {
    background-color: var(--primary-high);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

form input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: var(--shadow-xs);
}

/* ========================================
   IMAGES
   ======================================== */
img.img {
    max-width: 100%;
    position: relative;
    height: auto;
    display: block;
}

.trbl_round {
    border-radius: 0 var(--radius-2xl);
}

.tlbr_round {
    border-radius: var(--radius-2xl) 0;
}

img.maxwidth {
    max-width: var(--max-width-xl);
}

figure {
    position: relative;
    margin: 0 0 var(--space-xl) 0;
}

figure img {
    width: 100%;
    border-radius: var(--radius-lg);
    transition: transform var(--transition-base);
}

figure:hover img {
    transform: scale(1.01);
}

figure::before {
    content: "";
    line-height: 0;
    position: absolute;
    top: -6px;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-2xl);
    z-index: -1;
    transition: all var(--transition-base);
}

figure:hover::before {
}

/* ========================================
   CUSTOM RADIO & CHECKBOX (Toaster)
   ======================================== */
.toaster input[type="checkbox"],
.toaster input[type="radio"] {
    opacity: 0;
    position: absolute;
    left: -50px;
    pointer-events: none;
}

.toaster label {
    background-color: var(--accent);
    color: #fff;
    padding: var(--space-sm) var(--space-xl);
    line-height: 2.5rem;
    display: inline-block;
    border-radius: var(--radius-full);
    font-size: var(--font-lg);
    margin-right: var(--space-sm);
    margin-bottom: var(--space-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.toaster label:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.toaster input[type="checkbox"]:checked + label,
.toaster input[type="radio"]:checked + label {
    font-weight: var(--font-bold);
    background-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.subToaster label {
    margin: 0 var(--space-lg) var(--space-xl) var(--space-md);
    font-size: var(--font-lg);
    line-height: var(--leading-relaxed);
    display: inline-block;
    vertical-align: baseline;
}

.subToaster input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 2rem;
    height: 2rem;
    position: relative;
    top: 0.5rem;
    border-radius: var(--radius-full);
    background: var(--background-body);
    border: 4px solid var(--background-body);
    box-shadow: 0 0 0 2px var(--primary);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.subToaster input[type="radio"]:checked {
    background: var(--primary);
}

.subToaster input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.5rem;
    height: 1.5rem;
    position: relative;
    top: 0.25rem;
    background: var(--background-body);
    border: 4px solid var(--background-body);
    box-shadow: 0 0 0 2px var(--primary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.subToaster input[type="checkbox"]:checked {
    background: var(--primary);
}

/* ========================================
   VIDEO EMBEDS
   ======================================== */
.vimeoContainerContainer,
.youtubeContainerContainer {
    max-width: 800px;
    margin-bottom: var(--space-xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.vimeoContainer,
.youtubeContainer {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    height: auto;
}

.vimeoContainer iframe,
.youtubeContainer iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ========================================
   SLIDESHOW
   ======================================== */
.slideshow {
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    margin: auto;
    display: block;
    transition: left var(--transition-slower);
}

.slideshow img.item0 { left: 0%; }
.slideshow img.item1 { left: 100%; }
.slideshow img.item2 { left: 200%; }
.slideshow img.item3 { left: 300%; }
.slideshow img.item4 { left: 400%; }
.slideshow img.item5 { left: 500%; }
.slideshow img.item6 { left: 600%; }
.slideshow img.item7 { left: 700%; }
.slideshow img.item8 { left: 800%; }

.slideshow-dots {
    text-align: center;
    padding: var(--space-md) 0;
    position: absolute;
    bottom: var(--space-lg);
    left: 0;
    right: 0;
    z-index: var(--z-dropdown);
}

.slideshow-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.5);
    margin: 0 var(--space-xs);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.slideshow-dot.active,
.slideshow-dot:hover {
    background: var(--primary);
    transform: scale(1.2);
}

.slideshow-prev,
.slideshow-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: var(--font-3xl);
    padding: var(--space-md);
    cursor: pointer;
    z-index: var(--z-dropdown);
    transition: all var(--transition-base);
    border-radius: var(--radius-md);
}

.slideshow-prev:hover,
.slideshow-next:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.slideshow-prev {
    left: var(--space-md);
}

.slideshow-next {
    right: var(--space-md);
}

/* ========================================
   COUNTER
   ======================================== */
.counter {
    display: inline-block;
    border: 3px solid var(--primary);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    text-align: center;
    line-height: 36px;
    position: relative;
    top: -2px;
    margin-right: var(--space-md);
    font-size: var(--font-xl);
    font-weight: var(--font-bold);
    color: var(--primary);
}

/* ========================================
   WRAPPER COMPONENT
   ======================================== */
.content-wrapper {
    padding: var(--space-xl);
    margin: var(--space-lg) 0;
    border-radius: var(--radius-lg);
    position: relative;
    clear: both;
}

.content-wrapper:not([style*="background-color"]) {
    border: 1px dashed var(--border-color);
}

/* ========================================
   IMAGE SPLASH COMPONENT
   ======================================== */
.image-splash {
    position:relative;
    overflow-y: hidden;
    transform: scale(1);
    overflow: hidden;
}
.image-splash-background{
    overflow-y:hidden;
    filter: blur(8px) brightness(30%);
    -webkit-filter: blur(8px) brightness(30%);
  opacity: 0.7;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
.image-splash-imagewrapper{max-width: 1264px;
  margin: auto;
  position: relative;
}
.image-splash-imagewrapper img{
  display: block;
  width: 2000%;
  max-width: 100%;
  transition: transform .5s ease;
}

.image-splash:hover img{
transform: scale(1.03);
}

.image-splash-text{
    position: absolute;
  right: 5%;
  bottom: 10%;
  text-align: right;
  color: #fff;
  font-size: 2rem;
  line-height: 1.3em;
  background:rgba(0,0,0,0.4);
  padding:0.25rem 1rem 0.5rem 1rem;
}


/* ========================================
   IMAGE SIZE & ALIGNMENT CLASSES
   ======================================== */
.image-size-small .image-element {
    max-width: 300px;
    width: 100%;
}

.image-size-medium .image-element {
    max-width: 600px;
    width: 100%;
}

.image-size-large .image-element {
    max-width: 900px;
    width: 100%;
}

.image-size-full .image-element {
    max-width: 100%;
    width: 100%;
}

.image-align-left {
    text-align: left;
}

.image-align-left .image-figure {
    margin-right: auto;
}

.image-align-center {
    text-align: center;
}

.image-align-center .image-figure {
    margin-left: auto;
    margin-right: auto;
}

.image-align-right {
    text-align: right;
}

.image-align-right .image-figure {
    margin-left: auto;
}

.image-caption {
    margin-top: var(--space-sm);
    font-size: var(--font-sm);
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
}

/* ========================================
   VIDEO SIZE & ALIGNMENT
   ======================================== */
.video-size-medium {
    max-width: 800px;
}

.video-size-fullwidth {
    max-width: 100%;
}

.video-align-left {
    margin-right: auto;
}

.video-align-center {
    margin-left: auto;
    margin-right: auto;
}

.video-align-right {
    margin-left: auto;
}


/* ========================================
   EXPANDER
   ======================================== */

.expander {
    margin: 0 rem 0;
}

.expander-summary {
    padding: 0rem;
    cursor: pointer;
    user-select: none;
    list-style: none;
}


.expander-summary::-webkit-details-marker {
    display: none;
}

.expander-summary::before {
    content: '▶';
    display: inline-block;
    margin-right: 0.5rem;
    transition: transform 0.2s;
    font-size:0.75em;
}

.expander[open] .expander-summary::before {
    transform: rotate(90deg);
}

.expander-summary p {
    display: inline;
    margin: 0;
    font-weight: inherit;
}

.expander-content {
    padding: 0 1rem 1rem 1rem;
    animation: expanderOpen 0.2s ease-out;
}

@keyframes expanderOpen {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.expander-content p:first-child {
    margin-top: 0.5rem;
}

.expander-content p:last-child {
    margin-bottom: 0;
}

/* Nested lists in expander content */
.expander-content ul,
.expander-content ol {
    margin: 0.5rem 0;
    padding-left: 2rem;
}

.expander-content li {
    margin: 0.25rem 0;
}

/* Print styles - show all content when printing */
@media print {
    .expander {
        border: 1px solid #000;
    }
    
    .expander-summary::before {
        display: none;
    }
    
    .expander-content {
        display: block !important;
    }
}


/* ========================================
   WAYFINDER COMPONENT
   ======================================== */
.wayfinder {
    display: block !important;
    position: relative;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-decoration: none !important;
    margin: var(--space-md) auto;
    transition: all var(--transition-base);
    border: none !important;
    padding: 0 !important;
}

.wayfinder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: background var(--transition-base);
    z-index: 1;
}

.wayfinder:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl);
}

.wayfinder:hover::before {
    background: rgba(0, 0, 0, 0.6);
}

.wayfinder-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    padding: var(--space-lg);
    color: white;
    text-align: center;
}

.wayfinder-headline {
    font-size: var(--font-3xl);
    font-weight: var(--font-bold);
    color: white;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    -webkit-text-fill-color: white;
    -webkit-text-stroke: 2px #000;
    text-fill-color: white;
    text-stroke: 2px #000;
    paint-order: stroke fill;
    margin: var(--space-2xl) 0 0 0;
    padding: 0;
    line-height: var(--leading-tight);
    opacity: 1;
    transition: opacity var(--transition-base);
}

.wayfinder:hover .wayfinder-headline {
    opacity: 0;
}

.wayfinder-body {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - var(--space-3xl));
    opacity: 0;
    transition: opacity var(--transition-base);
    color: white;
    font-size: var(--font-base);
    line-height: var(--leading-relaxed);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

.wayfinder:hover .wayfinder-body {
    opacity: 1;
}

.wayfinder-body p {
    margin: 0 0 var(--space-sm) 0;
    color: white;
}

.wayfinder-body p:last-child {
    margin-bottom: 0;
}

.wayfinder-button-wrapper {
    position: absolute;
    bottom: var(--space-2xl);
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 3;
}

.wayfinder .wayfinder-button {
    display: inline-block;
    pointer-events: none;
    text-shadow: none;
    margin: 0;
}


/* Remove overlay in normal state when there's no headline */
.wayfinder.no-headline::before {
    background: transparent;
}

/* Remove overlay on hover when there's no bodytext */
.wayfinder.no-bodytext:hover::before {
    background: rgba(0, 0, 0, 0.3); /* Keep the normal overlay, not the darker hover */
}

/* If both no-headline and no-bodytext, never show overlay */
.wayfinder.no-headline.no-bodytext::before {
    background: transparent;
}

.wayfinder.no-headline.no-bodytext:hover::before {
    background: transparent;
}


/* ========================================
   PAGE MENU COMPONENT
   ======================================== */
.page-menu {
    margin: var(--space-xl) 0;
    background: var(--background-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
}

.page-menu ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.page-menu .menu-level-1 {
    margin: 0;
}

.page-menu .menu-level-1 > li {
    margin-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color-light);
    padding-bottom: var(--space-md);
}

.page-menu .menu-level-1 > li:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.page-menu .menu-level-2,
.page-menu .menu-level-3,
.page-menu .menu-level-4,
.page-menu .menu-level-5 {
    margin-top: var(--space-sm);
    padding-left: var(--space-lg);
    border-left: 3px solid var(--primary);
    margin-left: var(--space-sm);
}

.page-menu .menu-level-2 > li,
.page-menu .menu-level-3 > li,
.page-menu .menu-level-4 > li,
.page-menu .menu-level-5 > li {
    margin-bottom: var(--space-sm);
    padding-left: var(--space-sm);
}

.page-menu .menu-level-2 > li:last-child,
.page-menu .menu-level-3 > li:last-child,
.page-menu .menu-level-4 > li:last-child,
.page-menu .menu-level-5 > li:last-child {
    margin-bottom: 0;
}

.page-menu .menu-level-1 > li > a {
    color: var(--primary);
    text-decoration: none;
    padding: var(--space-sm) 0;
    display: block;
    font-size: var(--font-lg);
    font-weight: var(--font-bold);
    transition: all var(--transition-fast);
}

.page-menu .menu-level-1 > li > a:hover {
    color: var(--primary-high);
    padding-left: var(--space-sm);
}

.page-menu .menu-level-2 a,
.page-menu .menu-level-3 a,
.page-menu .menu-level-4 a,
.page-menu .menu-level-5 a {
    color: var(--links);
    text-decoration: none;
    padding: var(--space-xs) 0;
    display: block;
    font-size: var(--font-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.page-menu .menu-level-2 a:hover,
.page-menu .menu-level-3 a:hover,
.page-menu .menu-level-4 a:hover,
.page-menu .menu-level-5 a:hover {
    color: var(--primary-high);
    padding-left: var(--space-sm);
}

.page-menu li:has(> ul) > a::after {
    content: '›';
    margin-left: var(--space-sm);
    font-size: 1.2em;
    font-weight: var(--font-bold);
    transition: transform var(--transition-fast);
}

.page-menu li:has(> ul) > a:hover::after {
    transform: translateX(3px);
}

.page-menu .menu-level-3 {
    border-left-color: var(--accent);
    opacity: 0.9;
}

.page-menu .menu-level-4 {
    border-left-color: var(--primary);
    opacity: 0.8;
}

.page-menu .menu-level-5 {
    border-left-color: var(--accent);
    opacity: 0.7;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 768px) {
    .image-size-small .image-element,
    .image-size-medium .image-element,
    .image-size-large .image-element {
        max-width: 100%;
    }
    
    .splash-text {
        font-size: var(--font-2xl);
        padding: var(--space-md) var(--space-lg);
    }
    
    .wayfinder {
        max-width: 100%;
    }
    
    .wayfinder-headline {
        font-size: var(--font-2xl);
        -webkit-text-stroke: 1.5px #000;
        text-stroke: 1.5px #000;
        margin-top: var(--space-xl);
    }
    
    .wayfinder-content {
        padding: var(--space-md);
    }
    
    .wayfinder-body {
        font-size: var(--font-lg);
        width: calc(100% - var(--space-2xl));
        top: 38%;
    }
    
    .wayfinder-button-wrapper {
        bottom: var(--space-2xl);
    }
    
    .page-menu {
        padding: var(--space-md);
    }
    
    .page-menu .menu-level-1 > li > a {
        font-size: var(--font-base);
    }
    
    .page-menu .menu-level-2,
    .page-menu .menu-level-3,
    .page-menu .menu-level-4,
    .page-menu .menu-level-5 {
        padding-left: var(--space-md);
        margin-left: var(--space-xs);
    }
}

@media (max-width: 480px) {
    .wayfinder-headline {
        font-size: var(--font-xl);
        margin-top: var(--space-lg);
    }
    
    .wayfinder-content {
        padding: var(--space-sm);
    }
    
    .wayfinder-button-wrapper {
        bottom: var(--space-xl);
    }
}

/* Dark mode support */
html.dark-mode .page-menu {
    background: var(--background-subtle);
    border-color: var(--border-color);
}

html.dark-mode .page-menu .menu-level-1 > li {
    border-bottom-color: var(--border-color);
}

html.dark-mode .page-menu .menu-level-1 > li > a {
    color: var(--primary);
}

html.dark-mode .page-menu .menu-level-1 > li > a:hover {
    color: var(--primary-high);
}

html.dark-mode .page-menu .menu-level-2 a,
html.dark-mode .page-menu .menu-level-3 a,
html.dark-mode .page-menu .menu-level-4 a,
html.dark-mode .page-menu .menu-level-5 a {
    color: var(--text-secondary);
}

html.dark-mode .page-menu .menu-level-2 a:hover,
html.dark-mode .page-menu .menu-level-3 a:hover,
html.dark-mode .page-menu .menu-level-4 a:hover,
html.dark-mode .page-menu .menu-level-5 a:hover {
    color: var(--primary);
}/* ========================================
   YOCTO GRID SYSTEM - Enhanced Version
   12 column responsive grid with design tokens
   ======================================== */

.yoctoRow {
    position: relative;
    width: 100%;
    max-width: var(--max-width-xl);
    margin: 0 auto var(--space-2xl) auto;
    padding: 0;
    box-sizing: border-box;
    clear: both;
    display: flex;
    text-align: left;
    gap: var(--space-xl);
}

.yoctoRow > div {
    width: 100%;
    float: left;
    box-sizing: border-box;
    position: relative;
    display: table-cell;
    text-align: left;
}

/* ========================================
   MAIN COLUMNS (2rem gap)
   ======================================== */
.yoctoRow > .col1 { 
    width: calc(((100% + var(--space-xl)) / 12) * 1 - var(--space-xl));
}
.yoctoRow > .col2 { 
    width: calc(((100% + var(--space-xl)) / 12) * 2 - var(--space-xl));
}
.yoctoRow > .col3 { 
    width: calc(((100% + var(--space-xl)) / 12) * 3 - var(--space-xl));
}
.yoctoRow > .col4 { 
    width: calc(((100% + var(--space-xl)) / 12) * 4 - var(--space-xl));
}
.yoctoRow > .col5 { 
    width: calc(((100% + var(--space-xl)) / 12) * 5 - var(--space-xl));
}
.yoctoRow > .col6 { 
    width: calc(((100% + var(--space-xl)) / 12) * 6 - var(--space-xl));
}
.yoctoRow > .col7 { 
    width: calc(((100% + var(--space-xl)) / 12) * 7 - var(--space-xl));
}
.yoctoRow > .col8 { 
    width: calc(((100% + var(--space-xl)) / 12) * 8 - var(--space-xl));
}
.yoctoRow > .col9 { 
    width: calc(((100% + var(--space-xl)) / 12) * 9 - var(--space-xl));
}
.yoctoRow > .col10 { 
    width: calc(((100% + var(--space-xl)) / 12) * 10 - var(--space-xl));
}
.yoctoRow > .col11 { 
    width: calc(((100% + var(--space-xl)) / 12) * 11 - var(--space-xl));
}
.yoctoRow > .col12 { 
    width: 100%;
}

/* ========================================
   NESTED COLUMNS (1rem gap)
   ======================================== */
.yoctoRow .yoctoRow {
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.yoctoRow .yoctoRow > div {
    margin-right: 0;
}

.yoctoRow .yoctoRow > .col1 { 
    width: calc(((100% + var(--space-md)) / 12) * 1 - var(--space-md));
}
.yoctoRow .yoctoRow > .col2 { 
    width: calc(((100% + var(--space-md)) / 12) * 2 - var(--space-md));
}
.yoctoRow .yoctoRow > .col3 { 
    width: calc(((100% + var(--space-md)) / 12) * 3 - var(--space-md));
}
.yoctoRow .yoctoRow > .col4 { 
    width: calc(((100% + var(--space-md)) / 12) * 4 - var(--space-md));
}
.yoctoRow .yoctoRow > .col5 { 
    width: calc(((100% + var(--space-md)) / 12) * 5 - var(--space-md));
}
.yoctoRow .yoctoRow > .col6 { 
    width: calc(((100% + var(--space-md)) / 12) * 6 - var(--space-md));
}
.yoctoRow .yoctoRow > .col7 { 
    width: calc(((100% + var(--space-md)) / 12) * 7 - var(--space-md));
}
.yoctoRow .yoctoRow > .col8 { 
    width: calc(((100% + var(--space-md)) / 12) * 8 - var(--space-md));
}
.yoctoRow .yoctoRow > .col9 { 
    width: calc(((100% + var(--space-md)) / 12) * 9 - var(--space-md));
}
.yoctoRow .yoctoRow > .col10 { 
    width: calc(((100% + var(--space-md)) / 12) * 10 - var(--space-md));
}
.yoctoRow .yoctoRow > .col11 { 
    width: calc(((100% + var(--space-md)) / 12) * 11 - var(--space-md));
}
.yoctoRow .yoctoRow > .col12 { 
    width: 100%;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Tablet - Nested grids collapse */
@media (max-width: 1200px) {
    .yoctoRow .yoctoRow {
        display: block;
        gap: var(--space-lg);
    }
    
    .yoctoRow .yoctoRow > div {
        width: 100% !important;
        display: block !important;
        margin-bottom: var(--space-lg);
    }
    
    .yoctoRow .yoctoRow > div:last-child {
        margin-bottom: 0;
    }
}

/* Mobile - All grids collapse */
@media (max-width: 768px) {
    .yoctoRow {
        display: block;
        gap: var(--space-lg);
        padding: 0 var(--space-md);
    }
    
    .yoctoRow > div {
        width: 100% !important;
        display: block !important;
        margin-bottom: var(--space-lg);
    }
    
    .yoctoRow > div:last-child {
        margin-bottom: 0;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Self-clearing */
.yoctoCol:after,
.yoctoRow:after {
    line-height: 0;
    content: "";
    display: table;
    clear: both;
}

/* Optional: Add spacing variants */
.yoctoRow.spacing-sm {
    gap: var(--space-sm);
}

.yoctoRow.spacing-md {
    gap: var(--space-md);
}

.yoctoRow.spacing-lg {
    gap: var(--space-lg);
}

.yoctoRow.spacing-xl {
    gap: var(--space-xl);
}

.yoctoRow.spacing-none {
    gap: 0;
}

/* Optional: Alignment utilities */
.yoctoRow.align-center {
    align-items: center;
}

.yoctoRow.align-start {
    align-items: flex-start;
}

.yoctoRow.align-end {
    align-items: flex-end;
}

.yoctoRow.justify-center {
    justify-content: center;
}

.yoctoRow.justify-between {
    justify-content: space-between;
}

.yoctoRow.justify-around {
    justify-content: space-around;
}

/* Optional: No bottom margin */
.yoctoRow.no-margin {
    margin-bottom: 0;
}/* /css/columns.css - Column Layout Styles */

/* Base columns container */
.columns-container {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    width: 100%;
}

/* 2 Column Equal Layout */
.columns-layout-2-equal {
    display: flex;
}

.columns-layout-2-equal .column {
    flex: 1;
}

/* 2 Column Small/Large Layout */
.columns-layout-2-small-large {
    display: flex;
}

.columns-layout-2-small-large .column-0 {
    flex: 1;
}

.columns-layout-2-small-large .column-1 {
    flex: 2;
}

/* 2 Column Large/Small Layout */
.columns-layout-2-large-small {
    display: flex;
}

.columns-layout-2-large-small .column-0 {
    flex: 2;
}

.columns-layout-2-large-small .column-1 {
    flex: 1;
}

/* 3 Column Equal Layout */
.columns-layout-3-equal {
    display: flex;
}

.columns-layout-3-equal .column {
    flex: 1;
}

/* 4 Column Equal Layout */
.columns-layout-4-equal {
    display: flex;
}

.columns-layout-4-equal .column {
    flex: 1;
}

/* Individual column styling */
.column {
    min-width: 0; /* Prevent flex items from overflowing */
}

/* Mobile responsive - collapse to single column */
@media (max-width: 768px) {
    .columns-container.columns-mobile-collapse {
        flex-direction: column;
    }
    
    .columns-container.columns-mobile-collapse .column {
        flex: 1 1 100% !important;
        width: 100%;
    }
}

/* Tablet responsive - for 3 and 4 column layouts */
@media (max-width: 1024px) and (min-width: 769px) {
    .columns-layout-3-equal,
    .columns-layout-4-equal {
        flex-wrap: wrap;
    }
    
    .columns-layout-3-equal .column,
    .columns-layout-4-equal .column {
        flex: 1 1 45%;
        min-width: 45%;
    }
}/* /css/timeline.css - Timeline Component Styles */

/* Timeline container */
.timeline {
    position: relative;
    padding: 2rem 0;
    margin: 2rem 0;
}

/* Center line */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
    transform: translateX(-50%);
    z-index: 1;
}

/* Timeline item */
.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: flex-start;
    min-height: 100px;
    z-index: 2;
}

/* Left-aligned items */
.timeline-item.timeline-left {
    flex-direction: row;
    justify-content: flex-start;
}

/* Right-aligned items */
.timeline-item.timeline-right {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

/* Date marker circle and date display */
.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 140px;
    top: 0;
}

/* Circle marker */
.timeline-marker::before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--primary);
    border: 4px solid var(--background-body);
    border-radius: 50%;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 0.5rem;
}

/* Date text */
.timeline-date {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 1.5rem;
    font-size: 0.9rem;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--background-body);
}

/* Content box */
.timeline-content {
    width: calc(50% - 100px); /* Increased gap from 45% to leave more space */
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

/* Left content positioning - push away from center */
.timeline-left .timeline-content {
    margin-right: auto;
    margin-left: 0;
    margin-right: calc(50% + 100px); /* Push further from center line */
}

/* Right content positioning - push away from center */
.timeline-right .timeline-content {
    margin-left: calc(50% + 100px); /* Push further from center line */
    margin-right: 0;
}

/* Arrow pointing to center line - Left side */
.timeline-left .timeline-content::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 20px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #f9f9f9;
    z-index: 2;
}

/* Arrow border/shadow for left side */
.timeline-left .timeline-content::before {
    content: '';
    position: absolute;
    right: -21px;
    top: 19px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 13px 0 13px 21px;
    border-color: transparent transparent transparent #e0e0e0;
    z-index: 1;
}

/* Arrow pointing to center line - Right side */
.timeline-right .timeline-content::after {
    content: '';
    position: absolute;
    left: -20px;
    top: 20px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 20px 12px 0;
    border-color: transparent #f9f9f9 transparent transparent;
    z-index: 2;
}

/* Arrow border/shadow for right side */
.timeline-right .timeline-content::before {
    content: '';
    position: absolute;
    left: -21px;
    top: 19px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 13px 21px 13px 0;
    border-color: transparent #e0e0e0 transparent transparent;
    z-index: 1;
}

/* Timeline title */
.timeline-title {
    margin: 0 0 1rem 0;
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: bold;
}

/* Timeline content text */
.timeline-content p {
    margin: 0 0 0.8rem 0;
    line-height: 1.6;
    color: var(--text-main);
}

.timeline-content p:last-child {
    margin-bottom: 0;
}

/* Lists in timeline */
.timeline-content ul,
.timeline-content ol {
    margin: 0 0 0.8rem 0;
    padding-left: 1.5rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    /* Move center line to left side on mobile */
    .timeline::before {
        left: 1rem;
        transform: none;
    }
    
    /* Reset all items to same layout */
    .timeline-item {
        display: block;
        margin-bottom: 3rem;
        padding-left: 0;
    }
    
    /* Position marker at left aligned with line */
    .timeline-marker {
        position: relative;
        left: 0;
        transform: none;
        margin-bottom: 1rem;
        align-items: flex-start;
        min-width: auto;
        padding-left: 0.375rem; /* Center the date badge over the 1rem line position */
    }
    
    /* Hide the circle on mobile */
    .timeline-marker::before {
        display: none;
    }
    
    /* Make date badge block level and positioned normally */
    .timeline-date {
        display: inline-block;
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
        margin-left: 0;
    }
    
    /* Content takes full width but with left margin for offset */
    .timeline-content {
        width: calc(100% - 3rem) !important;
        margin: 0 0 0 3rem !important; /* Offset to the right of the line */
        max-width: calc(100% - 3rem);
    }
    
    /* Remove all arrows on mobile */
    .timeline-left .timeline-content::after,
    .timeline-right .timeline-content::after,
    .timeline-left .timeline-content::before,
    .timeline-right .timeline-content::before {
        display: none;
    }
}

/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .timeline-content {
        width: calc(50% - 80px);
    }
    
    .timeline-left .timeline-content {
        margin-right: calc(50% + 80px);
    }
    
    .timeline-right .timeline-content {
        margin-left: calc(50% + 80px);
    }
}

/* Dark mode support */
html.dark-mode .timeline-content {
    background: #2a2a2a;
    border-color: #444;
    color: #e0e0e0;
}

html.dark-mode .timeline-marker::before {
    border-color: #111;
}

html.dark-mode .timeline-date {
    border-color: #111;
}

html.dark-mode .timeline-left .timeline-content::after {
    border-color: transparent transparent transparent #2a2a2a;
}

html.dark-mode .timeline-left .timeline-content::before {
    border-color: transparent transparent transparent #444;
}

html.dark-mode .timeline-right .timeline-content::after {
    border-color: transparent #2a2a2a transparent transparent;
}

html.dark-mode .timeline-right .timeline-content::before {
    border-color: transparent #444 transparent transparent;
}

html.dark-mode .timeline-title {
    color: var(--primary);
}

html.dark-mode .timeline-content p {
    color: #e0e0e0;
}/* ========================================
   NEWS LISTING STYLES
   ======================================== */
.news-listing {
    max-width: var(--max-width-xl);
    margin: 0 auto;
}

.news-item {
    margin-bottom: var(--space-3xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--border-color-light);
    display: flex;
    gap: var(--space-2xl);
    transition: all var(--transition-base);
}

.news-item:hover {
    transform: translateX(4px);
}

.news-item:last-of-type {
    border-bottom: none;
}

.news-item-image {
    flex-shrink: 0;
    width: 280px;
    position: relative;
}

.news-item-image::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    z-index: -1;
    transition: all var(--transition-base);
}

.news-item:hover .news-item-image::after {
    top: 12px;
    left: 12px;
}

.news-item-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    display: block;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.news-item:hover .news-item-image img {
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.news-item-content {
    flex: 1;
}

.news-item-date {
    display: inline-block;
    color: var(--text-muted);
    font-size: var(--font-sm);
    font-weight: var(--font-medium);
    margin-bottom: var(--space-sm);
    padding: var(--space-xs) var(--space-md);
    background: var(--background-subtle);
    border-radius: var(--radius-full);
    letter-spacing: var(--tracking-wide);
}

.news-item-title {
    margin: 0 0 var(--space-md) 0;
    font-size: var(--font-3xl);
    line-height: var(--leading-tight);
}

.news-item-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.news-item-title a:hover {
    color: var(--primary);
}

.news-item-excerpt {
    margin-bottom: var(--space-lg);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
    font-size: var(--font-base);
}

/* ========================================
   NEWS ARTICLE STYLES
   ======================================== */
.news-article {
    max-width: var(--max-width-xl);
    margin: 0 auto;
}

.news-article-header {
    margin-bottom: var(--space-3xl);
    display: flex;
    gap: var(--space-3xl);
    align-items: flex-start;
}

.news-article-header-text {
    flex: 1;
}

.news-article-date {
    display: inline-block;
    color: var(--text-muted);
    font-size: var(--font-sm);
    font-weight: var(--font-medium);
    margin-bottom: var(--space-lg);
    padding: var(--space-sm) var(--space-lg);
    background: var(--background-subtle);
    border-radius: var(--radius-full);
    letter-spacing: var(--tracking-wide);
}

.news-article h1 {
    margin: 0;
    line-height: var(--leading-tight);
    color: var(--text-main);
}

.news-article-featured-image {
    flex-shrink: 0;
    width: 50%;
    position: relative;
}

.news-article-featured-image::after {
    content: '';
    position: absolute;
    top: 12px;
    right: -12px;
    width: 100%;
    height: 100%;
    background: var(--primary-100);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.news-article-featured-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    display: block;
    box-shadow: var(--shadow-xl);
    x-aspect-ratio: 16 / 10;
    object-fit: cover;
}

.news-article-content {
    line-height: var(--leading-loose);
    font-size: var(--font-lg);
}

.news-article-content p {
    margin-bottom: var(--space-xl);
    color: var(--text-secondary);
}

.news-article-content h2 {
    margin-top: var(--space-4xl);
    margin-bottom: var(--space-lg);
    font-size: var(--font-3xl);
}

.news-article-content h3 {
    margin-top: var(--space-3xl);
    margin-bottom: var(--space-md);
    font-size: var(--font-2xl);
}

.news-article-content h4 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.news-article-content ul,
.news-article-content ol {
    margin-bottom: var(--space-xl);
    padding-left: var(--space-2xl);
}

.news-article-content li {
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}

.news-article-content blockquote {
    margin: var(--space-2xl) 0;
    padding: var(--space-xl) var(--space-2xl);
    border-left: 4px solid var(--primary);
    background: var(--background-subtle);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-style: italic;
    color: var(--text-secondary);
}

.news-article-footer {
    margin-top: var(--space-4xl);
    padding-top: var(--space-2xl);
    border-top: 2px solid var(--border-color-light);
}

/* ========================================
   PAGINATION STYLES
   ======================================== */
.pagination {
    margin-top: var(--space-4xl);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.pagination a {
    padding: var(--space-sm) var(--space-lg);
    text-decoration: none;
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    color: var(--primary);
    font-weight: var(--font-medium);
    min-width: 44px;
    text-align: center;
}

.pagination a:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pagination .current-page {
    padding: var(--space-sm) var(--space-lg);
    background-color: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    font-weight: var(--font-bold);
    min-width: 44px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        gap: var(--space-lg);
        margin-bottom: var(--space-2xl);
        padding-bottom: var(--space-xl);
    }
    
    .news-item:hover {
        transform: none;
    }
    
    .news-item-image {
        width: 100%;
    }
    
    .news-item-image::after {
        top: 6px;
        left: 6px;
    }
    
    .news-item:hover .news-item-image::after {
        top: 8px;
        left: 8px;
    }
    
    .news-item-title {
        font-size: var(--font-2xl);
    }
    
    .news-article-header {
        flex-direction: column;
        gap: var(--space-2xl);
    }
    
    .news-article-featured-image {
        width: 100%;
    }
    
    .news-article-featured-image::after {
        top: 8px;
        right: -8px;
    }
    
    .news-article-content {
        font-size: var(--font-base);
    }
    
    .news-article-content h2 {
        margin-top: var(--space-3xl);
        font-size: var(--font-2xl);
    }
    
    .news-article-content h3 {
        margin-top: var(--space-2xl);
        font-size: var(--font-xl);
    }
}

/* ========================================
   DARK MODE SUPPORT
   ======================================== */
html.dark-mode .news-item {
    border-bottom-color: var(--border-color);
}

html.dark-mode .news-item-date,
html.dark-mode .news-article-date {
    color: var(--text-muted);
    background: var(--background-subtle);
}

html.dark-mode .news-item-title a {
    color: var(--text-main);
}

html.dark-mode .news-item-title a:hover {
    color: var(--primary);
}

html.dark-mode .news-item-excerpt {
    color: var(--text-secondary);
}

html.dark-mode .news-article-content p,
html.dark-mode .news-article-content li {
    color: var(--text-secondary);
}

html.dark-mode .news-article-content blockquote {
    background: var(--background-subtle);
    border-left-color: var(--primary);
}

html.dark-mode .news-article-footer {
    border-top-color: var(--border-color);
}

html.dark-mode .pagination a {
    border-color: var(--primary);
    color: var(--primary);
}

html.dark-mode .pagination a:hover {
    background-color: var(--primary);
    color: white;
}