/* =====================================================
   GLOBAL VARIABLES
   ===================================================== */
:root {
    --color-brand: #243948;
    --color-bg: #ffffff;
    --color-text: rgba(0, 0, 0, 0.78);
    --color-text-dark: #111111;
    --color-text-muted: rgba(0, 0, 0, 0.45);
    --color-text-faint: rgba(0, 0, 0, 0.35);
    --font-nav: 'Barlow', sans-serif;

    /* One fluid unit: follows whichever is tighter, width or height.
       Reference screen (MacBook) is about 15 */
    --u: min(1vw, 1.6vh);

    --fs-body: clamp(13px, calc(var(--u) * 1), 15px);
    --fs-nav: clamp(12px, calc(var(--u) * 0.93), 14px);
    --fs-small: clamp(9px, calc(var(--u) * 0.73), 11px);
    --fs-meta: clamp(10px, calc(var(--u) * 0.8), 12px);
    --space-xs: clamp(4px, calc(var(--u) * 0.53), 8px);
    --space-sm: clamp(8px, calc(var(--u) * 1.07), 16px);
    --space-md: clamp(16px, calc(var(--u) * 2.13), 32px);
    --space-lg: clamp(24px, calc(var(--u) * 3.2), 48px);
    --space-xl: clamp(32px, calc(var(--u) * 4), 60px);
}

/* =====================================================
   GLOBAL BASE — TYPOGRAPHY & LAYOUT
   ===================================================== */
body {
    background-color: var(--color-bg) !important;
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 1.65;
    color: var(--color-text);
}

h1 {
    padding-top: clamp(12px, calc(var(--u) * 3.3), 50px);
    padding-bottom: clamp(6px, calc(var(--u) * 0.67), 10px);
    font-size: clamp(1.75rem, calc(var(--u) * 6), 6rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--color-brand) !important;
}

h2 {
    font-size: clamp(1.5rem, calc(var(--u) * 4.5), 4rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--color-brand) !important;
}

h3 {
    font-size: clamp(1rem, calc(var(--u) * 2), 1.5rem);
    font-weight: 500;
    line-height: 1.3;
    color: var(--color-brand) !important;
}

img,
video,
iframe {
    max-width: 100%;
}

.container {
    padding-bottom: 24px;
}

@media (min-width: 576px) and (max-width: 767px) {
    .sp-component,
    .sppb-col-sm-12,
    .sppb-col-sm-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
}

/* =====================================================
   SITE HEADER / LOGO
   ===================================================== */
#sp-header .row {
    display: flex !important;
    align-items: center !important;
}

.header-logo-indi {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(16px, 3vw, 40px) 0 0 0;
}
.header-logo-indi img {
    height: clamp(36px, 5vw, 60px);
    width: auto;
    max-width: 100%;
}
#sp-logo {
    background-color: var(--color-brand) !important;
}

/* =====================================================
   NAVIGATION MENU
   ===================================================== */
#sp-menu .sp-column {
    justify-content: center !important;
    padding: clamp(10px, 1.6vw, 20px) 0 0 0;
}
#sp-menu .d-flex.align-items-center {
    justify-content: center;
}

.sp-menu-full.sp-dropdown-main {
    left: 0;
    right: 0;
    width: 100%;
}

#sp-menu .sp-has-child > a::after,
#sp-menu .sp-has-child > a::before {
    display: none;
}

/* top-level items */
#sp-menu .sp-megamenu-parent > li > a {
    font-family: var(--font-nav);
    font-size: var(--fs-nav);
    font-weight: 600;
    line-height: 1.1;
    padding-top: 0;
    padding-bottom: clamp(3px, 0.4vw, 5px);
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}
#sp-menu .sp-megamenu-parent > li > a:hover {
    color: #d1c757;
    text-shadow: 0 0 0.5px #d1c757; /* Simulates weight increase without shifting width */
}

/* Mega menu column alignment overrides */
#sp-menu .sp-megamenu-parent .sp-dropdown-inner,
#sp-menu .sp-megamenu-parent .sp-dropdown-inner > .row {
    align-items: flex-start !important;
    vertical-align: top !important;
}

#sp-menu .sp-megamenu-parent .sp-dropdown-inner [class*="col-"] {
    margin-top: 0 !important;
    padding-top: 0 !important;
    vertical-align: top !important;
}

/* mega-group headings */
#sp-menu .sp-megamenu-parent .sp-mega-group {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#sp-menu .sp-megamenu-parent .sp-mega-group > li > a {
    display: block;
    margin-top: 0 !important;
    margin-bottom: clamp(6px, 0.8vw, 10px);
    padding: clamp(6px, 0.8vw, 10px) clamp(5px, 0.6vw, 8px);
    font-family: var(--font-nav);
    font-size: var(--fs-nav);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: clamp(0.5px, 0.08vw, 1px);
    text-transform: uppercase;
    opacity: 0.9;
    border-bottom: 1px solid lightgrey;
    background-image: linear-gradient(to right, black 0%, black 100%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-position: left center;
    transition: background-size 0.3s ease, color 0.3s ease;
}
#sp-menu .sp-megamenu-parent .sp-mega-group > li > a:hover {
    background-size: 100% 100%;
    color: #ffffff;
}

/* dropdown sub-items */
#sp-menu .sp-megamenu-parent .sp-dropdown ul {
    counter-reset: menu-counter;
}
#sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item {
    counter-increment: menu-counter;
}
#sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
    position: relative;
    display: inline-block; /* Prevents underline box overflow */
    border-top: none;
    margin-top: 0;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: clamp(20px, 2vw, 28px);
    font-family: var(--font-nav);
    font-size: var(--fs-nav);
    font-weight: 400;
    line-height: 1.4;
    text-transform: none;
    text-decoration: none;
    background-image: linear-gradient(to right, currentColor 0%, currentColor 100%);
    background-size: 0% 1px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: background-size 0.3s ease;
}
#sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a::before {
    content: counter(menu-counter, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 3px;
    font-size: clamp(8px, 0.2vw + 7px, 10px);
    opacity: 0.4;
}
#sp-menu .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover {
    background-size: 100% 1px;
}

/* Offcanvas Menu */
.offcanvas-menu .offcanvas-inner ul.menu > li > a,
.offcanvas-menu .offcanvas-inner ul.menu > li > span {
    font-weight: 800;
}
.offcanvas-menu .offcanvas-inner .sp-module .sp-module-title {
    display: none;
}

/* =====================================================
   SEARCH MODULE
   ===================================================== */
#sp-search {
    position: relative;
    z-index: 1000;
    background-color: var(--color-brand) !important;
}
#sp-search .mod-finder {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: clamp(8px, 1.2vw, 12px) clamp(14px, 2vw, 24px);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}
#sp-search .mod-finder:focus-within {
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
#sp-search input[type="text"] {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: clamp(12px, 0.3vw + 11px, 15px);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
    transition: none;
}
#sp-search input[type="text"]::placeholder {
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}
#sp-search input[type="text"]:focus {
    border: none;
    outline: none;
    box-shadow: none;
}
#sp-search button[type="submit"] {
    display: none;
}
#sp-search .awesomplete {
    position: relative;
}
#sp-search .awesomplete > ul {
    position: absolute;
    z-index: 1001;
    margin: 8px 0 0 0;
    padding: 4px 0;
    list-style: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(20, 25, 40, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* =====================================================
   SINGLE ARTICLE PAGE
   ===================================================== */
.article-details {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--space-lg);
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    padding: var(--space-xl) 0;
    box-sizing: border-box;
}

.article-header {
    flex: 1 1 300px;
    flex-basis: 100%;
    width: 100%;
    order: -1;
}
.article-header h1 {
    margin-bottom: clamp(14px, 2.2vw, 28px);
    font-size: clamp(1.6rem, calc(var(--u) * 5), 4.5rem);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--color-brand) !important;
}

.article-info {
    flex-basis: 100%;
    width: 100%;
    order: 99;
    margin-bottom: clamp(8px, 1.8vw, 24px);
    font-size: var(--fs-small);
    font-weight: 500;
    letter-spacing: clamp(0.06em, 0.1vw, 0.12em);
    text-transform: uppercase;
    color: var(--color-text-faint);
}
@media (max-width: 767px) {
    .article-info {
        display: none;
    }
}

.article-can-edit,
.article-ratings-social-share {
    flex-basis: 100%;
    width: 100%;
    order: 99;
}

.article-fulltext {
    margin-top: clamp(20px, 3vw, 40px);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.article-fulltext p {
    max-width: 680px;
    margin-bottom: clamp(14px, 1.8vw, 24px);
    font-size: var(--fs-body);
    line-height: 1.75;
    color: var(--color-text);
}

figure.article-full-image {
    flex: 0 0 clamp(200px, calc(var(--u) * 26.7), 400px);
    width: clamp(200px, calc(var(--u) * 26.7), 400px) !important;
    margin: 0 !important;
    float: none !important;
}
figure.article-full-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5; /* same proportions as 400 x 500 at every size */
    object-fit: cover;
    object-position: top;
    border-radius: 4px;
    display: block;
}
@media (max-width: 768px) {
    figure.article-full-image {
        flex: 0 0 100% !important;
        width: 100% !important;
    }
    figure.article-full-image img {
        aspect-ratio: 4 / 3;
    }
}

div[itemprop="articleBody"] {
    flex: 1 1 min(300px, 100%);
    min-width: 0;
    padding-top: clamp(16px, 2.4vw, 32px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}
div[itemprop="articleBody"] p {
    margin-bottom: clamp(14px, 1.8vw, 24px);
    font-size: var(--fs-body);
    line-height: 1.75;
    color: var(--color-text);
}

/* =====================================================
   CATEGORY BLOG LIST
   ===================================================== */
.com-content-category-blog {
    counter-reset: article-counter;
}
.com-content-category-blog__items,
.article-list {
    display: contents;
}

.com-content-category-blog__item,
.article.flow {
    display: grid;
    grid-template-columns: clamp(28px, 4vw, 48px) minmax(0, 1fr) clamp(24px, 3vw, 32px);
    grid-template-areas:
        "num title arrow"
        "num desc arrow"
        "num files arrow";
    align-items: start;
    gap: 0 clamp(12px, 2.4vw, 32px);
    padding: clamp(10px, 1.2vw, 16px) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    transition: background 0.2s ease;
    counter-increment: article-counter;
}
.com-content-category-blog__item:last-child,
.article.flow:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.com-content-category-blog__item:hover,
.article.flow:hover {
    background: rgba(0, 0, 0, 0.02);
}
.com-content-category-blog__item::before,
.article.flow::before {
    content: counter(article-counter, decimal-leading-zero);
    grid-area: num;
    padding-top: 4px;
    font-size: var(--fs-small);
    letter-spacing: 0.05em;
    color: rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
    .com-content-category-blog__item,
    .article.flow {
        grid-template-columns: clamp(24px, 6vw, 32px) minmax(0, 1fr);
        grid-template-areas:
            "num title"
            ". desc"
            ". files"
            ". arrow";
        gap: clamp(4px, 1.2vw, 8px) clamp(10px, 2vw, 16px);
    }
}

/* title */
.com-content-category-blog__item .article-header,
.article.flow .article-header {
    grid-area: title;
    margin-bottom: clamp(6px, 0.8vw, 10px);
}
.com-content-category-blog__item .article-header h2,
.article.flow .article-header h2 {
    margin: 0;
    font-size: clamp(1.1rem, 2vw, 1.8rem) !important;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.com-content-category-blog__item .article-header h2 a,
.article.flow .article-header h2 a {
    color: var(--color-text-dark);
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.com-content-category-blog__item .article-header h2 a:hover,
.article.flow .article-header h2 a:hover {
    opacity: 0.5;
}

/* description — 2-line clamp removed so the Intro Trim text shows in full */
.com-content-category-blog__item .article-introtext,
.article.flow .article-introtext {
    grid-area: desc;
}
.com-content-category-blog__item .article-introtext p,
.article.flow .article-introtext p {
    margin: clamp(14px, 2.4vw, 30px) 0 3px 0 !important;
    font-size: clamp(14px, 0.9vw + 10px, 18px) !important;
    line-height: 1.5 !important;
    color: rgba(0, 0, 0, 0.58);
}
.com-content-category-blog__item .article-introtext p:not(:first-child):not(.readmore) {
    display: none;
}
.com-content-category-blog__item .article-body {
    display: contents;
}

/* readmore arrow (Joomla's own) */
.com-content-category-blog__item .readmore,
.article.flow .readmore {
    grid-area: arrow;
    text-align: right;
}
.com-content-category-blog__item .readmore a,
.article.flow .readmore a {
    font-size: clamp(15px, 0.8vw + 11px, 18px);
    color: rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: color 0.2s ease;
}
.com-content-category-blog__item .readmore a::before,
.article.flow .readmore a::before {
    content: "→";
}
.com-content-category-blog__item .readmore a span,
.article.flow .readmore a span {
    display: none;
}
.com-content-category-blog__item:hover .readmore a,
.article.flow:hover .readmore a {
    color: var(--color-text-dark);
}

/* Intro Trim button (sits inside the intro, so it is not the grid arrow) */
.com-content-category-blog__item .article-introtext .readmore,
.article.flow .article-introtext .readmore {
    grid-area: auto;
    margin: clamp(8px, 1.1vw, 14px) 0 0;
    text-align: left;
}
.com-content-category-blog__item .article-introtext .readmore a,
.article.flow .article-introtext .readmore a {
    display: inline-block;
    padding: clamp(4px, 0.5vw, 6px) clamp(10px, 1.1vw, 14px);
    font-family: var(--font-nav);
    font-size: var(--fs-small);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-brand);
    background: transparent;
    border: 1px solid var(--color-brand);
    border-radius: 2px;
    transition: background 0.2s ease, color 0.2s ease;
}
.com-content-category-blog__item .article-introtext .readmore a::before,
.article.flow .article-introtext .readmore a::before {
    content: none;
}
.com-content-category-blog__item:hover .article-introtext .readmore a,
.article.flow:hover .article-introtext .readmore a {
    color: var(--color-brand);
}
.com-content-category-blog__item .article-introtext .readmore a:hover,
.article.flow .article-introtext .readmore a:hover {
    color: #ffffff;
    background: var(--color-brand);
}

/* Items with the Intro Trim button: hide Joomla's own arrow so there is only one button */
.com-content-category-blog__item:has(.article-introtext .readmore) .readmore:not(.article-introtext .readmore),
.article.flow:has(.article-introtext .readmore) .readmore:not(.article-introtext .readmore) {
    display: none;
}

/* =====================================================
   BLOG ATTACHMENTS PLUGIN
   ===================================================== */

.com-content-category-blog__item .blog-attachments,
.article.flow .blog-attachments {
    grid-area: files;
    margin-top: clamp(10px, 1.2vw, 16px);
    padding-top: clamp(8px, 1vw, 12px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Each file as a small card */
.blog-attachments .jfile {
    margin: clamp(6px, 0.8vw, 10px) 0 !important;
    padding: 10px 14px;
    font-size: clamp(11px, 0.25vw + 10px, 13px);
    background: #fff;
    border: 1px solid #e6e9ec;
    border-left: 3px solid #3a5973;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(15, 52, 70, 0.06), 0 4px 10px rgba(15, 52, 70, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-attachments .jfile:hover {
    transform: translateY(-2px);
    border-color: #3a5973;
    box-shadow: 0 2px 6px rgba(15, 52, 70, 0.08), 0 10px 20px rgba(15, 52, 70, 0.14);
}

.blog-attachments .jfile a {
    color: #3a5973;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-attachments .jfile a:hover,
.blog-attachments .jfile a:focus {
    color: #0f3446;
    text-decoration: none;
}

.blog-attachments .jfile .__title {
    color: #0f3446;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.blog-attachments .jfile:hover .__title {
    color: #3a5973;
}

.blog-attachments .jfile .__size,
.blog-attachments .jfile .__count {
    font-size: var(--fs-small);
    color: var(--color-text-faint);
}

.blog-attachments .jfile .__desc {
    margin: 2px 0 0;
    font-size: var(--fs-meta);
    color: var(--color-text-muted);
}
/* elements hidden in list view (figure removed so the intro image can show) */
.com-content-category-blog__item .article-info,
.article.flow .article-info,
.com-content-category-blog__item .article-can-edit,
.article.flow .article-can-edit,
.com-content-category-blog__item .article-ratings-social-share,
.article.flow .article-ratings-social-share,
.com-content-category-blog__item .video-responsive,
.article.flow .video-responsive,
.com-content-category-blog__item .article-introtext iframe,
.article.flow .article-introtext iframe,
.com-content-category-blog__item div[itemprop="articleBody"],
.article.flow div[itemprop="articleBody"] {
    display: none;
}

/* card style */
.article-list .article {
    position: relative;
    margin-bottom: 0;
    padding-bottom: clamp(16px, 2.4vw, 30px);
    border: 1px solid #f5f5f5;
    border-radius: 3px;
}
.com-content-category-blog__item {
    padding-bottom: 0;
}

/* "more articles" list */
.items-more {
    display: none;
    margin-top: clamp(1rem, 2vw, 2rem);
    padding-top: clamp(1rem, 2vw, 2rem);
    border-top: none;
}
.items-more::before {
    content: "More articles";
    display: block;
    margin-bottom: 1rem;
    font-size: var(--fs-small);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-faint);
}
.com-content-blog__links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.com-content-blog__link {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.com-content-blog__link:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.com-content-blog__link a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(10px, 1.2vw, 14px) 0;
    font-size: var(--fs-body);
    font-weight: 500;
    color: var(--color-text-dark);
    text-decoration: none;
    transition: opacity 0.15s ease;
}
.com-content-blog__link a::after {
    content: "→";
    flex-shrink: 0;
    margin-left: clamp(10px, 1.4vw, 16px);
    font-size: clamp(12px, 0.3vw + 11px, 14px);
    color: rgba(0, 0, 0, 0.3);
}
.com-content-blog__link a:hover {
    text-decoration: underline;
}
.com-content-blog__link a:hover::after {
    color: var(--color-text-dark);
}

/* Intro image in the right-hand column (desktop only) */
@media (min-width: 769px) {

    /* only items that have an intro image get the wide column */
    .article.flow:has(.article-intro-image img) {
        grid-template-columns: clamp(28px, 4vw, 48px) minmax(0, 1fr) clamp(110px, calc(var(--u) * 13.3), 200px);
    }

    /* the wrapper: place it in the right column and beat the template's 40vh/60vh height */
    .article.flow > .article-intro-image {
        grid-area: arrow;
        align-self: start;
        float: none !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 2 / 3; /* same proportions as 200 x 300 */
        margin: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        overflow: hidden;
    }

    /* the image: fills the wrapper, cropped not stretched */
    .article.flow > .article-intro-image img {
        display: block;
        width: 100% !important;
        height: 100% !important;
        max-width: none;
        object-fit: cover;
    }
}

/* hide the intro image on mobile and tablet */
@media (max-width: 768px) {
    .article.flow > .article-intro-image {
        display: none;
    }
}

/* =====================================================
   CATEGORY DESCRIPTION
   ===================================================== */
.category-desc.clearfix {
    margin-bottom: var(--space-lg);
    padding-bottom: clamp(18px, 2.4vw, 32px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.category-desc.clearfix::before {
    content: "About this section";
    display: block;
    margin-bottom: clamp(8px, 1vw, 12px);
    font-size: var(--fs-small);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-brand);
}
.category-desc.clearfix p {
    margin: clamp(14px, 2.4vw, 30px) 0 3px 0 !important;
    font-size: clamp(14px, 0.9vw + 10px, 18px) !important;
    line-height: 1.5 !important;
    color: rgba(0, 0, 0, 0.58);
}

/* =====================================================
   SP PAGEBUILDER — ADDON-SPECIFIC
   (staff, board members, members, research fellows,
    just SA staff, interns: all share the same styling)
   ===================================================== */
#sppb-addon-00d80c11-4b7f-4919-b4c0-b7f890fb657c h3,
#sppb-addon-9e3dfe83-dd0d-4eeb-8e31-c1148e5c23fd h3,
#sppb-addon-f80b564c-cac8-446d-a1c9-293722502df5 h3,
#sppb-addon-067c68f5-b7c6-4667-a743-337088cc00ff h3,
#sppb-addon-e5bf7e56-d90d-4d2b-9638-a47a9d016eea h3,
#sppb-addon-d9eca326-83ff-4600-afb1-f1d2776849c5 h3 {
    padding: clamp(6px, 0.8vw, 10px) 0 0 0;
    font-weight: 450;
}

#sppb-addon-00d80c11-4b7f-4919-b4c0-b7f890fb657c .sppb-addon.sppb-addon-articles .sppb-addon-article .sppb-article-img-wrap,
#sppb-addon-00d80c11-4b7f-4919-b4c0-b7f890fb657c .sppb-addon.sppb-addon-articles .sppb-addon-article .sppb-article-img-wrap a,
#sppb-addon-9e3dfe83-dd0d-4eeb-8e31-c1148e5c23fd .sppb-addon.sppb-addon-articles .sppb-addon-article .sppb-article-img-wrap img,
#sppb-addon-f80b564c-cac8-446d-a1c9-293722502df5 .sppb-addon.sppb-addon-articles .sppb-addon-article .sppb-article-img-wrap img,
#sppb-addon-067c68f5-b7c6-4667-a743-337088cc00ff .sppb-addon.sppb-addon-articles .sppb-addon-article .sppb-article-img-wrap img,
#sppb-addon-e5bf7e56-d90d-4d2b-9638-a47a9d016eea .sppb-addon.sppb-addon-articles .sppb-addon-article .sppb-article-img-wrap img,
#sppb-addon-d9eca326-83ff-4600-afb1-f1d2776849c5 .sppb-addon.sppb-addon-articles .sppb-addon-article .sppb-article-img-wrap img {
    border-radius: clamp(8px, 0.9vw, 12px);
}

#sppb-addon-00d80c11-4b7f-4919-b4c0-b7f890fb657c .sppb-addon-articles .sppb-article-info-wrap .sppb-article-introtext,
#sppb-addon-9e3dfe83-dd0d-4eeb-8e31-c1148e5c23fd .sppb-addon-articles .sppb-article-info-wrap .sppb-article-introtext,
#sppb-addon-f80b564c-cac8-446d-a1c9-293722502df5 .sppb-addon-articles .sppb-article-info-wrap .sppb-article-introtext,
#sppb-addon-067c68f5-b7c6-4667-a743-337088cc00ff .sppb-addon-articles .sppb-article-info-wrap .sppb-article-introtext,
#sppb-addon-e5bf7e56-d90d-4d2b-9638-a47a9d016eea .sppb-addon-articles .sppb-article-info-wrap .sppb-article-introtext,
#sppb-addon-d9eca326-83ff-4600-afb1-f1d2776849c5 .sppb-addon-articles .sppb-article-info-wrap .sppb-article-introtext {
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-text) !important;
}

/* =====================================================
   MOBILE & TABLET OFF-CANVAS MENU
   ===================================================== */
#offcanvas-toggler-custom {
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99999 !important;
}

#offcanvas-toggler-custom .burger-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(4px, 0.6vw, 5px);
}

#offcanvas-toggler-custom .burger-icon span {
    display: block;
    width: clamp(20px, 3vw, 24px);
    height: 2px;
    background: var(--color-brand);
}

/* hide the burger on desktop */
@media (min-width: 992px) {
    #offcanvas-toggler-custom {
        display: none !important;
    }
}

/* OFF-CANVAS DRAWER */
#sp-off-canvas .sp-column.custom-off-canvas {
    width: clamp(240px, 60vw, 300px) !important;
    max-width: 85vw !important;
    height: 100dvh !important;
    background: #ffffff !important;
    padding: clamp(16px, 3vw, 24px) clamp(14px, 2.4vw, 20px) !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
}

/* MENU */
#sp-off-canvas .mod-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
}

#sp-off-canvas .mod-menu li {
    position: relative;
    list-style: none !important;
    padding: clamp(8px, 1.2vw, 10px) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

#sp-off-canvas .mod-menu li a {
    position: relative;
    display: block;
    padding-right: 36px;
    font-family: var(--font-nav);
    font-size: clamp(13px, 0.5vw + 11px, 15px);
    font-weight: 600;
    color: var(--color-text-dark);
    text-decoration: none;
}

/* SUBMENUS */
#sp-off-canvas .mod-menu .mod-menu__sub {
    list-style: none !important;
    padding: 0 0 0 clamp(8px, 1.6vw, 12px) !important;
    margin: 8px 0 0 !important;
}

/* ARROWS */
#sp-off-canvas .mod-menu li.menu-parent > a::after,
#sp-off-canvas .mod-menu li.menu-deeper > a::after {
    content: "▾";
    position: absolute;
    right: 0;
    top: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    font-size: clamp(12px, 0.3vw + 11px, 14px);
    color: var(--color-text-muted);
}

/* SUBMENU LINKS */
#sp-off-canvas .mod-menu .mod-menu__sub li {
    padding: 6px 0;
    border-bottom: none;
}

#sp-off-canvas .mod-menu .mod-menu__sub li a {
    font-size: clamp(12px, 0.4vw + 10.5px, 13.5px);
    font-weight: 400;
    color: var(--color-text-muted);
}

/* =====================================================
   COMPACT HEADER — DESKTOP
   ===================================================== */
@media (min-width: 992px) {

    #sp-header {
        height: clamp(44px, calc(var(--u) * 4), 60px);
    }

    #sp-logo,
    #sp-menu,
    #sp-search {
        padding-top: clamp(2px, calc(var(--u) * 0.27), 4px) !important;
        padding-bottom: clamp(2px, calc(var(--u) * 0.27), 4px) !important;
    }

    /* logo */
    .header-logo-indi {
        padding: 0;
    }
    .header-logo-indi img {
        height: clamp(46px, calc(var(--u) * 4.67), 70px);
        margin-top: clamp(10px, calc(var(--u) * 1.33), 20px);
    }

    /* menu */
    #sp-menu .sp-column {
        padding: 0;
    }
    #sp-menu .sp-megamenu-parent > li > a {
        padding-bottom: 0;
        font-size: clamp(11px, calc(var(--u) * 0.87), 13px);
    }

    /* search bar */
    #sp-search .mod-finder {
        max-width: clamp(260px, calc(var(--u) * 26.7), 400px);
        padding: clamp(4px, calc(var(--u) * 0.33), 5px) clamp(12px, calc(var(--u) * 1.2), 18px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    }
    #sp-search input[type="text"] {
        font-size: clamp(11px, calc(var(--u) * 0.8), 12px);
    }
}