:root {
    --font-family: .c-offcanvas-content-wrap& {
        font-family: "Atkinson Hyperlegible", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    }

    ;
    --radius: 22px;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.10);
    --bold: 700;
    --base-color: oklch(0.42 0.08 318.33);
}

/* Responsive Heading Sizing */
h1 {
    font-size: clamp(2rem, 5vw + 1rem, 4rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw + 1rem, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw + 1rem, 2.5rem);
}

h4,
h5,
h6 {
    font-size: clamp(1.25rem, 2vw + 1rem, 2rem);
}

/* Resetting margins and line-height as requested previously */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: var(--bold);
    margin-top: 0;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}



/* --- OLD HEADER --- */
.navbar-header {
    line-height: 2rem;
}

.brand-top,
.brand-main {
    white-space: normal;
    overflow-wrap: break-word;

    /* ✨ modern "pretty wrapping" */
    text-wrap: balance;
}

a.navbar-brand {
    height: auto;
    /* Or remove the height property */
    padding-top: 15px;
    padding-bottom: 15px;
    display: inline-flex;
    /* Flex is better than table for this */
    align-items: center;
}

.navbar-brand {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
    /* Reset brand's internal line height */
}

.brand-logo,
.brand-text {
    display: table-cell;
    vertical-align: middle;
}

.brand-logo {
    padding-right: 0.9375rem;
}

.brand-logo svg {
    width: 70px;
    height: 70px;
    display: block;
}

.brand-top {
    display: block;
    font-size: 0.966rem;
    line-height: 1.2;
}

.brand-main {
    display: block;
    font-size: 1.425rem;
    font-weight: var(--bold);
    line-height: 1.2;
}


/* --- HEADER --- */
.navbar-default .navbar-brand {
    color: #333333;
}

a.navbar-brand {
    height: auto;
    padding-top: 15px;
    padding-bottom: 15px;
    display: inline-flex;
    align-items: center;
}

.navbar-brand {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
}

.navbar-brand {
    display: inline-block;
    height: 100px;
    padding: 35px 15px;
    font-size: 23px;
    line-height: 30px;
    text-decoration: none;
}

h1.site-identity__parent {
    text-transform: uppercase;
    font-size: 1.65rem;
    font-weight: 400;
    margin-top: 0px;
    margin-bottom: 0.1rem;
    line-height: 1.2;
    display: block;
}

h2 {
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 2.62rem;
    font-weight: 700;
    line-height: 1.2;
    display: block;
}

img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* --- Section Seperator --- */
section#s01,
section#s02,
section#s03 {
    margin-bottom: 3rem;
}

/* --- Welcome Buttons --- */
.button-row {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    margin: 0;
    justify-items: center;
    justify-content: center;
    gap: 1rem;
}

.button-row a.cccs-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background-color: var(--base-color);
    color: oklch(0.826 0.08 318.33);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.6rem;
    letter-spacing: 0.15rem;
    width: 100%;
    box-shadow: var(--shadow);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 0;
}

.button-row .cccs-btn:first-child {
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

.button-row .cccs-btn:last-child {
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

/* --- Dynamic News Container --- */
.dynamic-news-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    row-gap: 2rem;
}

.image-wrapper.news-item {
    border-radius: var(--radius);
    overflow: hidden;
}

article.image-wrapper.news-item.show {
    margin-bottom: 0px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
    min-height: auto;
    text-decoration: none;
    color: inherit;
    aspect-ratio: 16 / 9;
    height: auto;
}

/* Card layout */
.news-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Background image via CSS variable */
.news-bg {
    width: 100%;
    height: 220px;
    background-image: var(--bg-img);
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

/* Optional overlay for readability */
.news-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;

    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.3),
            transparent);
}

/* Typography */
.news-overlay h4 {
    margin: 0;
    font-size: 1.1rem;
}

.news-overlay h4 a {
    color: #fff;
    text-decoration: none;
}

.news-overlay h5 {
    margin: 4px 0 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Date badge */
.news-date {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;

    background: #000;
    color: #fff;
    padding: 4px 8px;
    font-size: 0.75rem;
}

/* Hover effect */
.news-card:hover .news-bg {
    transform: scale(1.05);
}

/* --- Main Container --- */
#mainContent {
    margin-bottom: 0px;
}


/* :root {
    --font-family: "Atkinson Hyperlegible", sans-serif;
    --font-size-base: 16px;
    --font-weight: 700;
}

span.brand-sub {
    font-size: 1.05rem;
    font-weight: 400;
}

.brand-main {
    font-size: 1.6rem;
}

span.toggle-text {
    font-size: 1.05rem;
}

.notice-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #eee;
    text-decoration: none !important;
    color: inherit !important;
    position: relative;
}

.notice-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.notice-img-wrap {
    height: 220px;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.notice-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notice-date-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.notice-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)) !important;
    color: #fff !important;
}

.notice-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    color: #333;
}

#section03 .notice-title {
    color: #fff !important;
}

h2& {
    margin-top: 5px;
    margin-bottom: 10px;
    font-family: var(--font-family);
    font-weight: var(--font-weight);
}

section& {
    display: grid;
    grid-template-columns: 4fr 1fr;
    gap: 30px;
    align-items: start;
    padding-top: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}

p& {
    border-radius: 22px;
    background-color: rgb(249, 249, 249);
    padding: 15px;
    border: 1px solid rgb(229, 229, 229);
}

.map-column& {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    padding-top: 0px;
    box-sizing: border-box;
    height: 332px;
    align-items: stretch;
    gap: 2rem;
    margin-top: 0px;
}

span& {
    width: 100%;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background-color: rgb(51, 51, 51);
    color: rgb(211, 211, 211);
    border-color: rgb(51, 51, 51);
}

element.style {
    width: 100%;
    display: block;
}

section& {
    padding-top: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}

#section03& {
    padding-top: 0px;
}

#section03 {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.dynamic-news-container& {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    row-gap: 20px;
    column-gap: 20px;
}

element.style {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
}

.image-wrapper& {
    flex: 1 1 100%;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 0px;
    margin-top: 0px;
}

element.style {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
    background: white;
    padding: 5px 10px;
    border-radius: 8px;
    font-weight: bold;
    color: black;
    font-size: 1.1rem;
}

element.style {
    width: 100%;
    display: block;
    border-radius: 22px;
    overflow: hidden;
}

img, .panel img, video, .panel video {
    height: auto;
    max-width: 100%;
}

element.style {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: white;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

element.style {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
}

.image-wrapper& {
    flex: 1 1 calc(50% - 20px);
    box-sizing: border-box;
    margin-bottom: 0px;
    margin-top: 0px;
} */