:root {
    --bg-color: #F7F7F7;
    --text-color: #121212;
    --accent-color: #BF0D0D;
    --accent-color-reverse: #FFA724;
    --switch-bg: transparent;
    --header-bg: rgba(255, 255, 255, 0.95);
    --header-text: #121212;
    --side-menu-bg: rgba(255, 255, 255, 0.95);
    --side-menu-text: #121212;
    --hamburger-bar: #121212;

    --trans-speed: 0.3s;
    --trans-ease: cubic-bezier(.4, 0, .2, 1);
}

[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #F7F7F7;
    --accent-color: #FFA724;
    --accent-color-reverse: #BF0D0D;
    --header-bg: rgba(18, 18, 18, 0.95);
    --header-text: #F7F7F7;
    --side-menu-bg: rgba(18, 18, 18, 0.95);
    --side-menu-text: #F7F7F7;
    --hamburger-bar: #F7F7F7;
}

@font-face {
    font-family: "Work Sans Regular";
    src: url("/files/WorkSans-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Work Sans Bold";
    src: url("/files/WorkSans-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Merriweather Regular";
    src: url("/files/Merriweather-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Merriweather Bold";
    src: url("/files/Merriweather-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 18px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Work Sans Regular", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.01rem;
    background-color: var(--bg-color);
    color: var(--text-color);
}

h1,
h2,
h3,
h4 {
    font-family: "Work Sans Bold", sans-serif;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.6rem;
}

h3 {
    font-size: 1.4rem;
}

a {
    color: var(--accent-color);
}

a:hover {
    color: var(--accent-color-reverse);
}

strong {
    font-family: "Work Sans Bold", sans-serif;
}

header {
    height: 60px;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--header-bg, rgba(255, 255, 255, 0.9));
    color: var(--header-text, #222);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
    z-index: 1100;
    transition:
        border-color var(--trans-speed) var(--trans-ease),
        background var(--trans-speed) var(--trans-ease),
        color var(--trans-speed) var(--trans-ease);
}

[data-theme="dark"] header {
    background: var(--header-bg, rgba(18, 18, 18, 0.93));
    color: var(--header-text, #F7F7F7);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.9);
}

.logo-bl {
    position: relative;
    left: 10px;
    width: 40px;
    height: 40px;
    background: url(img_body/logo-bl.svg) no-repeat center/contain;
    filter: none;
    z-index: 1101;
    transition: filter var(--trans-speed) var(--trans-ease),
        background var(--trans-speed) var(--trans-ease),
        transform var(--trans-speed) var(--trans-ease);
}

[data-theme="dark"] .logo-bl {
    background: url(img_body/logo-wh.svg) no-repeat center/contain;
}

.logo-bl:hover {
    transform: scale(1.05);
}

main {
    padding-top: 60px;
}

/* MENU */

/* Hamburger Icon */
.hamburger {
    position: fixed;
    right: 10px;
    /* Circle size */
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Center bars horizontally */
    gap: 5px;
    /* Space between lines */
    cursor: pointer;
    z-index: 1102;
    border: 2px solid var(--text-color);
    border-radius: 50%;
    background: var(--side-menu-bg);
    transition: background var(--trans-speed) var(--trans-ease);
    box-sizing: border-box;
    /* Ensures border doesn't shrink space */
    padding: 4px;
    /* Padding between lines and border */
}

.hamburger span {
    display: block;
    height: 2px;
    width: 20px;
    background: var(--text-color);
    transition: all var(--trans-speed) var(--trans-ease);
    border-radius: 5px;
    /* Rounded ends for smoother look */
    transform-origin: center;
    /* Keep rotations centered */
}

/* Open state (X) */
.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Side Menu Layout */
.side-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 260px;
    background: var(--side-menu-bg);
    color: var(--side-menu-text);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.12);
    z-index: 1101;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    transition:
        transform var(--trans-speed) var(--trans-ease),
        opacity var(--trans-speed) var(--trans-ease),
        background var(--trans-speed) var(--trans-ease),
        color var(--trans-speed) var(--trans-ease),
        border-color var(--trans-speed) var(--trans-ease);
}

.side-menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.side-menu-nav {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

.side-menu-nav h3 {
    margin-bottom: 20px;
    font-family: "Work Sans Bold", sans-serif;
}

.side-menu-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.side-menu-nav a {
    display: block;
    padding: 5px 15px;
    font-family: "Work Sans Bold", sans-serif;
    font-size: 1.2rem;
    color: var(--accent-color);
    text-decoration: none;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.side-menu-nav a:hover {
    border-left: 4px solid var(--side-menu-text);
    color: var(--side-menu-text);
}

.side-menu-switch {
    margin-top: auto;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
}

/* Footer Side Menu */
.side-menu-footer {
    padding: 20px;
    background: transparent;
    border-top: 1px solid var(--text-color);
    font-size: 0.8rem;
}

.side-menu-footer p {
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .side-menu {
        width: 70vw;
        min-width: 180px;
    }
}

/* end MENU */




/* Toggle Switch light/dark */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 28px;
    cursor: pointer;
}

.toggle-switch input {
    display: none;
}

.slider {
    background: var(--switch-bg);
    border: 2px solid var(--text-color);
    border-radius: 18px;
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    box-sizing: border-box;
    transition: border-color var(--trans-speed) var(--trans-ease);
}

.moon,
.sun {
    position: absolute;
    top: 50%;
    font-size: 0.8rem;
    color: var(--text-color);
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
}

.moon {
    left: 6px;
}

.sun {
    right: 6px;
}

.slider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 1px;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
    background: var(--text-color);
    border-radius: 50%;
    z-index: 3;
    transition:
        left 0.35s var(--trans-ease),
        background var(--trans-speed) var(--trans-ease);
}

.toggle-switch input:checked+.slider::before {
    left: calc(100% - 24px);
    /* 54px - 22px (knob) - 2px (border) = 30px */
}

/* end Toggle Switch light/dark */




/* Share buttons */
.share-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    margin-top: 10px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--side-menu-text);
    background: transparent;
    text-decoration: none;
    border: 1px solid var(--text-color);
    transition: background var(--trans-speed) var(--trans-ease),
        color var(--trans-speed) var(--trans-ease);
}

.share-btn:hover {
    text-decoration: none;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.toggle-btn {
    cursor: pointer;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    background: transparent;
}

.share-extra {
    display: flex;
    gap: 10px;
}

.share-extra.hidden {
    display: none;
}

.copy-link-btn.copied {
    background: var(--accent-color);
    color: var(--side-menu-bg);
    border-color: var(--accent-color);
    transition: background var(--trans-speed) var(--trans-ease),
        color var(--trans-speed) var(--trans-ease),
        border-color var(--trans-speed) var(--trans-ease);
}

.copy-link-btn {
    position: relative;
}

.copy-tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color, #222);
    color: #fff;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    pointer-events: none;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 100;
}

.copy-link-btn.copied .copy-tooltip {
    visibility: visible;
    opacity: 1;
}

/* end Share buttons */


/* Buttons Read/Prime */
.button-read,
.button-prime {
    display: block;
    width: 100%;
    padding: 10px 12px;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
    cursor: pointer;

    font-family: "Work Sans Bold", sans-serif;
    font-size: 0.9rem;
    line-height: 1.2;

    border-radius: 5px;
    border: 1px solid transparent;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease, text-shadow .15s ease;
}

/* READ engraved */
.button-read {
    background: #F7F7F7;
    color: #121212;
    border-color: #E2E2E2;
    /* Engraved effect */
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.75),
        0 -1px 0 rgba(0, 0, 0, 0.06);
}

.button-read:hover {
    background: transparent;
    color: #F7F7F7;
    border-color: #F7F7F7;
    box-shadow: none;
    text-shadow: none;
}

/* PRIME engraved */
.button-prime {
    background: #121212;
    color: #FFA724;
    border-color: #121212;
    /* Engraved effect */
    text-shadow:
        0 1px 0 rgba(0, 0, 0, 0.7),
        0 -1px 0 rgba(255, 167, 36, 0.08);
}

.button-prime:hover {
    background: transparent;
    color: #FFA724;
    border-color: #FFA724;
    box-shadow: none;
    text-shadow: none;
}

/* Keyboard focus */
.button-read:focus-visible {
    outline: 2px solid #121212;
    outline-offset: 2px;
}

.button-prime:focus-visible {
    outline: 2px solid #FFA724;
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    .button-read,
    .button-prime {
        transition: none;
    }
}

/*end Buttons Read/Prime */



/* frames h1 */
.frameh {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-top: 5px solid var(--text-color);
    border-bottom: 5px solid var(--text-color);
    background: var(--bg-color);
    transition:
        border-color var(--trans-speed) var(--trans-ease),
        background var(--trans-speed) var(--trans-ease),
        color var(--trans-speed) var(--trans-ease);
}

.framel {
    display: flex;
    align-items: left;
    justify-content: left;
    padding: 0 10px;
    width: 100%;
    border-top: 5px solid var(--text-color);
    border-bottom: 5px solid var(--text-color);
    background: var(--bg-color);
    transition:
        border-color var(--trans-speed) var(--trans-ease),
        background var(--trans-speed) var(--trans-ease),
        color var(--trans-speed) var(--trans-ease);
}

/* end frames h1 */



/* swiper style */
.swiper1,
.swiper2,
.swiper3 {
    width: 100%;
    padding: 10px;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    width: 100%;
    min-height: 360px;
    border-radius: 5px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    font-size: 0.9rem;
}

.swiper-slide a {
    cursor: pointer;
}

.swiper-slide h3 {
    font-size: 1.2rem;
}

.slide-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
    text-shadow: 2px 2px 2px #000000;
}

.clicksl {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    pointer-events: auto;
}

.clicksl:hover {
    color: inherit;
}

@media screen and (max-width: 768px) {
    .swiper-slide {
        font-size: 0.7rem;
    }
}

/* end swiper style */



/* Newspaper style */
.newspaper {
    width: 100%;
    margin-top: 10px;
}

.newspaper-columns {
    display: flex;
    width: 100%;
    margin: 0 auto;
}

.column {
    flex: 1 1 0;
    padding: 0 20px 0 20px;
    box-sizing: border-box;
    font-size: 0.9rem;
}

.column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.newspaper a {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1.25px;
}

.newspaper a:hover {
    text-decoration-thickness: 2px;
}

.related {
    margin-top: .5rem;
    font-size: .9em;
    opacity: .9;
}

/* 5px border in center */
.left-column {
    border-right: 5px solid var(--text-color);
}

/* Responsive: stack columns on mobile */
@media (max-width: 768px) {
    .newspaper-columns {
        flex-direction: column;
    }

    .left-column {
        padding-bottom: 10px;
        border-right: none;
        border-bottom: 5px solid var(--text-color);
    }

    .right-column {
        padding-top: 10px;
    }
}

/* end Newspaper style */


/* Read more toggle */
.read-more-toggle {
    color: var(--accent-color, #BF0D0D);
    font-family: "Work Sans Bold", sans-serif;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
    background: none;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    transition: color 0.2s;
}

.read-more-toggle:focus {
    outline: none;
}

.read-more-icon {
    font-size: 0.9rem;
    display: inline-block;
    width: 0.9rem;
    text-align: center;
}

.read-more-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.read-more-content.open {
    max-height: 1000px;
}

/* end Read more toggle */


/* Skip link */
.skip-link {
    position: fixed;
    top: .5rem;
    left: .5rem;
    transform: translateY(-150%);
    transition: transform .15s ease;
    z-index: 10000;

    padding: .6rem .9rem;
    background: #121212;
    color: #F7F7F7;
    border: 2px solid #FFA724;
    border-radius: .5rem;
    text-decoration: none;
    line-height: 1;
}

/* Show on keyboard focus */
.skip-link:focus,
.skip-link:focus-visible {
    transform: translateY(0);
    outline: none;
    /* border serves as focus ring */
}

/* end Skip link */


/* Custom 404 Page */
.hp-404-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    text-align: center;
}

.hp-404-wrapper h1 {
    font-size: 3rem;
    font-weight: bold;
    margin: 0 0 0.3em 0;
}

.hp-404-wrapper h2 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 0 1em 0;
}

.hp-404-wrapper p {
    margin: 0;
    font-size: 1rem;
}

.hp-404-wrapper a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* end Custom 404 Page */



/* Cookie consent bar */

/* Cookie Consent Bar — minimal, uses your root vars */
#notice-bar {
    position: fixed;
    inset: auto 0 0 0;
    /* left/right/bottom in one */
    display: none;
    /* toggled by JS */
    z-index: 9999;

    padding: 1em;
    font-size: .9rem;
    background: var(--bg-color);
    color: var(--text-color);
    border-top: 1px solid var(--accent-color);
    box-shadow: 0 -2px 6px rgba(0, 0, 0, .1);

    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem 1rem;
}

/* Text & link */
#notice-bar p {
    margin: 0;
}

#notice-bar a {
    color: inherit;
    text-decoration: underline;
}

/* Options (checkboxes) */
#notice-bar .options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1rem;
}

#notice-bar .options label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

#notice-bar input[type="checkbox"] {
    accent-color: var(--accent-color);
}

/* Actions (buttons) */
#notice-bar .actions {
    display: flex;
    gap: 8px;
}

#notice-bar button {
    background: none;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: .35em .85em;
    cursor: pointer;
    border-radius: 4px;
    transition: background var(--trans-speed) var(--trans-ease),
        color var(--trans-speed) var(--trans-ease),
        border-color var(--trans-speed) var(--trans-ease);
}

#notice-bar button:hover,
#notice-bar button:focus-visible {
    background: var(--accent-color);
    color: var(--bg-color);
    /* auto-contrasts in both themes */
    outline: none;
}

/* Mobile */
@media (max-width: 768px) {
    #notice-bar .actions {
        width: 100%;
        justify-content: space-between;
    }

    #notice-bar button {
        flex: 1;
        text-align: center;
    }
}

/* end Cookie consent bar */



/* wrapper about articles contact terms privacy */
.about-wrapper {
    max-width: 1200px;
    margin: 60px auto;
    margin-bottom: 0;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.about-wrapper ul {
    list-style: disc;
    padding-left: 1em;
}

.about-wrapper h2 {
    margin-top: 0.4em;
}

.updated {
    text-align: right;
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 20px 0;
}

/* end wrapper about articles contact terms privacy */


/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    white-space: nowrap;
    /* prevent line breaks */
    border: 0;

    /* Hide visually while keeping in the accessibility tree */
    clip: rect(0 0 0 0);
    /* legacy */
    clip-path: inset(50%);
    /* modern */
}

/* Make hidden text visible when focused/keyboard navigated (use for skip links) */
.sr-only-focusable:active,
.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    white-space: normal;
    clip: auto;
    clip-path: none;
}

/* Screen reader only */




/* ========== CONTACT PAGE ========== */

/* wrappers */
.contact-hero,
.contact-social,
.contact-section {
    max-width: 768px;
    margin: 0 auto 1.25rem;
    padding: 1rem;
}

/* headings + intro */
#contact-title,
.contact-hero h2,
.contact-social h2,
.contact-section h2 {
    margin: 0 0 .5rem;
}

.lead {
    opacity: .9;
    margin-bottom: .75rem;
}

/* form */
.contact-form {
    display: grid;
    gap: 1rem;
}

.field-group {
    display: grid;
    gap: .4rem;
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    min-height: 44px;
    padding: .7rem .8rem;
    border: 1px solid var(--text-color);
    border-radius: .6rem;
    background: var(--bg-color);
    color: var(--text-color);
    box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s;
}

input::placeholder,
textarea::placeholder {
    opacity: .7;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent-color) 25%, transparent);
}

.assist {
    display: flex;
    justify-content: flex-end;
    font-size: 0.9rem;
    opacity: 0.9;
}

.checkbox {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
}

.checkbox-text {
    line-height: 1.45;
}

.btn {
    padding: .8rem 1rem;
    border-radius: .8rem;
    border: 1px solid var(--accent-color);
    background: var(--accent-color);
    color: var(--bg-color);
    font-family: "Work Sans Bold", sans-serif;
    cursor: pointer;
    transition: filter .15s, transform .08s;
}

.btn:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* SOCIAL contact */
.contact-social {
    text-align: center;
}

.contact-social .social-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
}

/* icons */
.contact-social a {
    display: flex;
    flex-direction: column;
    /* label under icon on mobile */
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--text-color);
    border-radius: 50%;
    color: var(--text-color);
    background: transparent;
    font-size: 1.1rem;
    transition: border-color .2s, color .2s, background-color .2s, transform .08s;
}

.contact-social a i {
    font-size: 1.2rem;
    line-height: 1;
}

.contact-social a span {
    display: none;
    font-size: .5rem;
    margin-top: .25rem;
}

.contact-social a:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background-color: color-mix(in oklab, var(--accent-color) 10%, transparent);
    transform: translateY(-1px);
}

/* mobile: bigger icons + show labels */
@media (max-width: 768px) {

    .contact-hero,
    .contact-social,
    .contact-section {
        margin: 0 auto 1rem;
    }

    .contact-social a {
        width: 65px;
        height: 65px;
    }

    .contact-social a i {
        font-size: 1.3rem;
    }

    .contact-social a span {
        display: block;
    }
}

/* end CONTACT PAGE */





/* Footer */
.footer {
    background: var(--text-color);
    color: var(--bg-color);
    border-top: 1px solid #ddd;
    font-size: 1rem;
    padding: 0 0 8px 0;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 0 auto;
    padding: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    height: 40px;
    width: 40px;
    background: url(img_body/logo-wh.svg) no-repeat center/contain;
    display: inline-block;
}

[data-theme="dark"] .footer-logo {
    background: url(img_body/logo-bl.svg) no-repeat center/contain;
}

.footer-txt {
    font-family: "Work Sans Bold", sans-serif;
    font-size: 1.2rem;
    display: inline-block;
}

.footer-links {
    display: flex;
    gap: 1.5em;
    flex-wrap: wrap;
    font-family: "Work Sans Bold", sans-serif;
}

.footer-social {
    display: flex;
    gap: 0.8em;
}

.footer-links a,
.footer-social a {
    color: var(--accent-color-reverse);
    transition: color 0.3s;
}

.footer-links a:hover,
.footer-social a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 12px;
    border-top: 1px solid var(--bg-color);
    font-size: 0.8rem;
    flex-wrap: wrap;
}

.util-links {
    display: flex;
    gap: 2.5em;
}

.util-links a {
    font-family: "Work Sans Bold", serif;
    color: var(--bg-color);
    text-decoration: underline;
}

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

.footer-contact {
    text-decoration: none;
    color: var(--bg-color);
}

.footer-contact:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        gap: 1em;
        padding: 18px 10px 6px 10px;
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-links {
        justify-content: center;
        gap: 1em;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.2em;
        padding: 10px 10px 0 10px;
        text-align: center;
    }
}

/* end Footer */






/* Tabs */
.tabs {
    display: flex;
    width: 100%;
    height: 210px;
    background: var(--bg-color);
    overflow: hidden;
    min-height: 0;
    /* allow shrink */
}

.tab-btnwrp {
    width: 25%;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.tab-btn {
    flex: 1 1 0;
    min-height: 0;
    border: none;
    outline: none;
    box-shadow: none;
    background: var(--bg-color);
    color: var(--text-color);
    font: inherit;
    cursor: pointer;
    text-align: left;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Ensures stretching */
    height: 100%;
    min-width: 0;
    overflow: hidden;
    transition: background var(--trans-speed) var(--trans-ease),
        color var(--trans-speed) var(--trans-ease);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

.tab-panel-wrapper {
    width: 75%;
    padding: 0;
    display: flex;
    align-items: stretch;
    height: 100%;
    min-height: 0;
}

.tab-panel {
    display: none;
    width: 100%;
    position: relative;
    min-height: 0;
    height: 100%;
    padding: 32px 28px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-sizing: border-box;
    overflow: auto;
}

.tab-panel.active {
    display: block;
}

/* Custom backgrounds per panel */
.bg1,
.bg2,
.bg3 {
    background-color: var(--bg-color);
}

/* Responsive styles: tabs horizontal on small screens */
@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
        width: 100vw;
        height: auto;
        min-height: 0;
        max-width: none;
    }

    .tab-btnwrp {
        flex-direction: row;
        width: 100%;
        height: auto;
        min-height: 0;
        border-bottom: 5px solid var(--text-color);
    }

    .tab-btn {
        justify-content: center;
        text-align: center;
        padding: 5px;
        /* allow a bit of vertical space */
        height: auto;
        min-width: 0;
        min-height: 0;
        white-space: normal;
        /* allow wrapping */
        word-break: break-word;
        /* wrap long words if needed */
        font-size: 0.8rem;
        border: none;
        outline: none;
    }

    .tab-btn:focus {
        outline: none;
        box-shadow: none;
        /* remove any box-shadow highlight */
    }

    .tab-panel-wrapper {
        width: 100%;
        height: auto;
        min-height: 0;
    }

    .tab-panel {
        min-height: 120px;
        height: 100%;
        padding: 16px 4vw;
    }
}

/* end Tabs */