:root {
    --header-height: var(--wp--custom--layout--header-height);
    --admin-bar-offset: var(--wp--custom--layout--admin-bar-offset);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    text-rendering: optimizeLegibility;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.has-xs-font-size {
    line-height: var(--wp--custom--line-height--xs);
}

.has-sm-font-size {
    line-height: var(--wp--custom--line-height--sm);
}

.has-base-font-size {
    line-height: var(--wp--custom--line-height--base);
}

.has-lg-font-size {
    line-height: var(--wp--custom--line-height--lg);
}

.has-xl-font-size {
    line-height: var(--wp--custom--line-height--xl);
}

.has-2-xl-font-size {
    line-height: var(--wp--custom--line-height--2-xl);
}

.has-3-xl-font-size {
    line-height: var(--wp--custom--line-height--3-xl);
}

.has-4-xl-font-size {
    line-height: var(--wp--custom--line-height--4-xl);
}

.has-5-xl-font-size,
.has-6-xl-font-size,
.has-7-xl-font-size,
.has-8-xl-font-size,
.has-9-xl-font-size {
    line-height: var(--wp--custom--line-height--none);
}

button,
input,
textarea,
select {
    font: inherit;
}

:focus-visible {
    outline: 3px solid var(--wp--preset--color--highlight);
    outline-offset: 3px;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    top: var(--wp--preset--spacing--6);
    left: var(--wp--preset--spacing--6);
    z-index: 100000;
    width: auto;
    height: auto;
    padding: var(--wp--preset--spacing--4) var(--wp--preset--spacing--6);
    clip: auto;
    color: var(--wp--preset--color--surface);
    background: var(--wp--preset--color--primary);
}

.container {
    width: min(100% - var(--wp--preset--spacing--8), var(--wp--custom--layout--container));
    margin-inline: auto;
}

.container--narrow {
    width: min(100% - var(--wp--preset--spacing--8), var(--wp--style--global--content-size, 48rem));
}

.container--wide {
    width: min(100% - var(--wp--preset--spacing--8), var(--wp--style--global--wide-size, 86rem));
}

.container--header {
    width: min(100% - var(--wp--preset--spacing--8), var(--wp--custom--layout--header));
}

.layout-stack {
    display: grid;
    gap: var(--wp--preset--spacing--10);
    padding-block-end: var(--wp--preset--spacing--16);
}

.site-header {
    position: sticky;
    top: var(--admin-bar-offset);
    z-index: 900;
    width: 100%;
    height: var(--header-height);
    color: var(--wp--preset--color--ink);
    background: var(--wp--preset--color--surface);
    box-shadow: var(--wp--preset--shadow--2-xs);
}

.site-navigation-open .site-header {
    z-index: 1100;
    background: transparent;
    box-shadow: var(--wp--preset--shadow--none);
    pointer-events: none;
}

.site-navigation-open .site-branding,
.site-navigation-open .search-toggle {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.site-navigation-open .menu-toggle {
    color: var(--wp--preset--color--surface);
    pointer-events: auto;
}

body.admin-bar {
    --admin-bar-offset: var(--wp--custom--layout--admin-bar-offset-desktop);
}

.site-header__inner {
    display: flex;
    height: var(--header-height);
    align-items: center;
    gap: var(--wp--preset--spacing--6);
}

.site-branding {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: var(--wp--preset--spacing--2);
}

.site-branding__name,
.custom-logo-link {
    display: inline-flex;
    align-items: center;
    color: var(--wp--preset--color--ink);
    line-height: var(--wp--custom--line-height--snug);
    text-decoration: none;
}

.custom-logo {
    width: auto;
    max-width: none;
    max-height: 2rem;
}

.primary-navigation {
    margin-inline-start: auto;
}

.primary-navigation--desktop {
    display: none;
    height: 100%;
}

.primary-menu,
.footer-menu,
.mobile-menu {
    padding: 0;
    margin: 0;
    list-style: none;
}

.primary-menu,
.footer-menu {
    display: flex;
    align-items: center;
    gap: var(--wp--preset--spacing--8);
}

.primary-menu {
    height: 100%;
    gap: var(--wp--preset--spacing--6);
}

.primary-menu li {
    position: relative;
    display: flex;
    height: 100%;
    align-items: center;
}

.primary-menu a,
.footer-menu a {
    color: var(--wp--preset--color--ink);
    text-decoration: none;
}

.primary-menu a {
    display: flex;
    height: 100%;
    align-items: center;
    font-weight: 600;
}

.primary-menu a:hover,
.primary-menu a:focus-visible {
    color: var(--wp--preset--color--primary);
}

.primary-menu .sub-menu {
    position: absolute;
    top: calc(100% + var(--wp--preset--spacing--2));
    left: calc(var(--wp--preset--spacing--4) * -1);
    z-index: 10;
    min-width: 12rem;
    max-height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border-radius: var(--wp--preset--border-radius--sm);
    background: var(--wp--preset--color--surface);
    box-shadow: var(--wp--preset--shadow--2-xs);
    list-style: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, max-height 0.2s ease;
    transform: translateY(var(--wp--preset--spacing--2));
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
    max-height: 40rem;
    padding: var(--wp--preset--spacing--2) 0;
    overflow: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.primary-menu .sub-menu li,
.primary-menu .sub-menu a {
    display: block;
    height: auto;
}

.primary-menu .sub-menu a {
    padding: var(--wp--preset--spacing--2) var(--wp--preset--spacing--4);
    white-space: nowrap;
}

.site-action {
    display: flex;
    align-items: center;
    gap: var(--wp--preset--spacing--4);
    margin-inline-start: auto;
}

.search-toggle,
.menu-toggle {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    color: currentColor;
    background: transparent;
    cursor: pointer;
}

.search-toggle__icon {
    position: relative;
    width: 1.5rem;
    height: 1.5rem;
}

.search-toggle__icon::before,
.search-toggle__icon::after {
    position: absolute;
    content: "";
    transition: background 0.2s ease, border 0.2s ease, transform 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.search-toggle__icon::before {
    top: 72%;
    left: 72%;
    width: 0.125rem;
    height: 35%;
    border-radius: var(--wp--preset--border-radius--full);
    background: currentColor;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.search-toggle__icon::after {
    top: 40%;
    left: 40%;
    width: 60%;
    height: 60%;
    border: 0.125rem solid currentColor;
    border-radius: var(--wp--preset--border-radius--full);
    transform: translate(-50%, -50%);
}

.site-search-open .search-toggle__icon::before {
    top: 50%;
    left: 50%;
    width: 0.125rem;
    height: 80%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.site-search-open .search-toggle__icon::after {
    top: 50%;
    left: 50%;
    width: 0.125rem;
    height: 80%;
    border: 0;
    border-radius: var(--wp--preset--border-radius--full);
    background: currentColor;
    transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle {
    --menu-toggle-bar-gap: var(--wp--preset--spacing--2);
    --menu-toggle-bar-height: 0.125rem;

    flex-direction: column;
    gap: var(--menu-toggle-bar-gap);
    margin-inline-end: calc(var(--wp--preset--spacing--2) * -1);
}

.menu-toggle__bar {
    width: 1.5rem;
    height: var(--menu-toggle-bar-height);
    border-radius: var(--wp--preset--border-radius--full);
    background: currentColor;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-navigation-open .menu-toggle__bar:nth-child(1) {
    transform: translateY(calc(var(--menu-toggle-bar-gap) + var(--menu-toggle-bar-height))) rotate(45deg);
}

.site-navigation-open .menu-toggle__bar:nth-child(2) {
    opacity: 0;
}

.site-navigation-open .menu-toggle__bar:nth-child(3) {
    transform: translateY(calc((var(--menu-toggle-bar-gap) + var(--menu-toggle-bar-height)) * -1)) rotate(-45deg);
}

.site-modal-bg {
    position: fixed;
    top: var(--admin-bar-offset);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 850;
    display: none;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(6px);
}

.site-modal-bg:not([hidden]) {
    display: block;
}

.nav-panel {
    position: fixed;
    top: var(--admin-bar-offset);
    right: 0;
    z-index: 1000;
    width: min(18rem, 86vw);
    height: calc(100dvh - var(--admin-bar-offset));
    padding: var(--wp--preset--spacing--18) var(--wp--preset--spacing--6) var(--wp--preset--spacing--8);
    overflow-y: auto;
    color: var(--wp--preset--color--surface);
    background: var(--wp--preset--color--primary);
    box-shadow: var(--wp--preset--shadow--xl);
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-navigation-open .nav-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.mobile-menu,
.mobile-menu .sub-menu {
    list-style: none;
}

.mobile-menu .sub-menu {
    padding: 0 0 var(--wp--preset--spacing--2) var(--wp--preset--spacing--4);
    margin: 0;
}

.mobile-menu a {
    display: block;
    padding: var(--wp--preset--spacing--2) 0;
    color: var(--wp--preset--color--surface);
    text-decoration: none;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
    color: var(--wp--preset--color--highlight);
}

.search-panel {
    position: fixed;
    top: calc(var(--admin-bar-offset) + var(--header-height));
    left: 0;
    z-index: 875;
    width: 100%;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    background: var(--wp--preset--color--surface);
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.25s ease, padding 0.25s ease;
}

.site-search-open .search-panel {
    max-height: 14rem;
    padding-block: var(--wp--preset--spacing--6) var(--wp--preset--spacing--8);
    opacity: 1;
}

.search-panel .search-form {
    max-width: 30rem;
    margin-inline: auto;
}

.search-panel label {
    display: block;
}

.search-panel .search-field {
    width: 100%;
    border: 0;
    border-bottom: 0.125rem solid var(--wp--preset--color--ink);
    border-radius: 0;
    color: var(--wp--preset--color--ink);
    background: transparent;
    font-size: var(--wp--preset--font-size--lg);
    line-height: var(--wp--custom--line-height--lg);
    padding: var(--wp--preset--spacing--2) 0;
    outline: none;
}

.search-panel .search-field::placeholder {
    color: var(--wp--preset--color--muted);
    opacity: 0.86;
}

.search-panel .search-submit {
    display: none;
}

.site-navigation-open,
.site-search-open {
    overflow: hidden;
}

@media (min-width: 45rem) {
    :root {
        --header-height: var(--wp--custom--layout--header-height-desktop);
    }

    .custom-logo {
        max-height: 2.5rem;
    }
}

@media (max-width: 782px) {
    body.admin-bar {
        --admin-bar-offset: var(--wp--custom--layout--admin-bar-offset-mobile);
    }
}

@media (max-width: 600px) {
    body.admin-bar {
        --admin-bar-offset: var(--wp--custom--layout--admin-bar-offset);
    }
}

@media (min-width: 64rem) {
    .primary-navigation--desktop {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    .site-action {
        margin-inline-start: var(--wp--preset--spacing--2);
    }
}

.site-main {
    min-height: 60vh;
}

.single-post-content {
    gap: var(--wp--preset--spacing--12);
    padding-block: 0 var(--wp--preset--spacing--20);
}

.hero {
    padding-block: clamp(var(--wp--preset--spacing--16), 8vw, var(--wp--preset--spacing--28));
    background:
        linear-gradient(135deg, rgba(15, 61, 103, 0.92), rgba(13, 148, 136, 0.72)),
        var(--wp--preset--color--primary);
    color: var(--wp--preset--color--surface);
}

.hero__content {
    max-width: 48rem;
}

.hero h1,
.page-title,
.archive-header__title,
.entry-title {
    margin: 0;
    color: inherit;
    line-height: var(--wp--custom--line-height--none);
}

.hero h1 {
    font-size: var(--wp--preset--font-size--7-xl);
}

.page-title,
.archive-header__title {
    font-size: var(--wp--preset--font-size--6-xl);
}

.hero__copy {
    max-width: 38rem;
    margin-block: var(--wp--preset--spacing--8) 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: var(--wp--preset--font-size--lg);
    line-height: var(--wp--custom--line-height--lg);
}

.eyebrow {
    margin: 0 0 var(--wp--preset--spacing--4);
    color: var(--wp--preset--color--secondary);
    font-size: var(--wp--preset--font-size--sm);
    line-height: var(--wp--custom--line-height--sm);
    text-transform: uppercase;
}

.hero .eyebrow {
    color: var(--wp--preset--color--highlight);
}

.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.button {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    padding: var(--wp--preset--spacing--2) var(--wp--preset--spacing--6);
    border: 1px solid var(--wp--preset--color--primary);
    border-radius: var(--wp--preset--border-radius--lg);
    color: var(--wp--preset--color--surface);
    background: var(--wp--preset--color--primary);
    line-height: var(--wp--custom--line-height--base);
    text-decoration: none;
}

.button:hover {
    border-color: var(--wp--preset--color--primary-dark);
    color: var(--wp--preset--color--surface);
    background: var(--wp--preset--color--primary-dark);
}

.wp-block-button.is-style-siamu-gold-accent .wp-block-button__link,
.wp-block-button.is-style-siamu-outline-gold-accent .wp-block-button__link,
.siamu-apply-button .wp-block-button__link {
    border-width: var(--wp--custom--border-width--md, 4px);
    border-style: solid;
    border-radius: var(--wp--preset--border-radius--4-xl) 0 var(--wp--preset--border-radius--4-xl) 0;
}

.wp-block-button.is-style-siamu-gold-accent .wp-block-button__link {
    border-color: var(--wp--preset--color--highlight);
    color: var(--wp--preset--color--primary);
    background: var(--wp--preset--color--highlight);
}

.wp-block-button.is-style-siamu-gold-accent .wp-block-button__link:hover {
    border-color: #ffc83d;
    color: var(--wp--preset--color--primary-dark);
    background: #ffc83d;
}

.wp-block-button.is-style-siamu-outline-gold-accent .wp-block-button__link,
.siamu-apply-button .wp-block-button__link {
    border-color: var(--wp--preset--color--highlight);
    color: var(--wp--preset--color--surface);
    background: var(--wp--preset--color--primary);
}

.wp-block-button.is-style-siamu-outline-gold-accent .wp-block-button__link:hover,
.siamu-apply-button .wp-block-button__link:hover {
    border-color: var(--wp--preset--color--highlight);
    color: var(--wp--preset--color--surface);
    background: var(--wp--preset--color--primary-dark);
}

.wp-block-columns.is-style-equal-height-image {
    align-items: stretch;
}

.wp-block-columns.is-style-equal-height-image > .wp-block-column {
    display: flex;
}

.wp-block-columns.is-style-equal-height-image .wp-block-image {
    width: 100%;
    height: 100%;
    margin: 0;
}

.wp-block-columns.is-style-equal-height-image .wp-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.entry-card {
    overflow: hidden;
    border: 1px solid var(--wp--preset--color--border);
    border-radius: var(--wp--preset--border-radius--lg);
    background: var(--wp--preset--color--surface);
    box-shadow: var(--wp--preset--shadow--xl);
}

.entry-card__media img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.entry-card__body {
    display: grid;
    gap: var(--wp--preset--spacing--6);
    padding: var(--wp--preset--spacing--8);
}

.entry-title a {
    color: inherit;
    text-decoration: none;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--wp--preset--spacing--2) var(--wp--preset--spacing--6);
    color: var(--wp--preset--color--muted);
    font-size: var(--wp--preset--font-size--sm);
    line-height: var(--wp--custom--line-height--sm);
}

.entry-content > *:first-child {
    margin-block-start: 0;
}

.entry-content > *:last-child {
    margin-block-end: 0;
}

.entry-content--blocks {
    width: 100%;
}

.entry-content--blocks > * {
    margin-block-start: var(--wp--style--block-gap, var(--wp--preset--spacing--8));
    margin-block-end: 0;
}

.entry-content--blocks > :where(:not(.alignwide):not(.alignfull)) {
    width: min(100% - var(--wp--preset--spacing--8), var(--wp--style--global--content-size, 48rem));
    margin-inline: auto;
}

.entry-content--blocks > .alignwide {
    width: min(100% - var(--wp--preset--spacing--8), var(--wp--style--global--wide-size, 86rem));
    margin-inline: auto;
}

.entry-content--blocks > .alignfull {
    width: 100%;
    max-width: none;
    margin-inline: 0;
}

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

.single-post-header__media {
    position: relative;
    margin-block: 0;
}

.single-post-header__media img {
    display: block;
    width: 100%;
    max-height: min(42rem, calc(100vh - var(--header-height) - var(--wp--preset--spacing--8)));
    object-fit: cover;
    aspect-ratio: 3/1;
}

.single-post-header__body {
    display: grid;
    gap: var(--wp--preset--spacing--4);
    justify-items: center;
}

.single-post-header__media + .single-post-header__body {
    margin-block-start: var(--wp--preset--spacing--12);
}

.single-post-header__category {
    position: relative;
    z-index: 1;
}

.single-post-header__media .single-post-header__category {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
}

.post-category-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--wp--preset--spacing--2) var(--wp--preset--spacing--4);
    border-radius: var(--wp--preset--border-radius--xs);
    color: var(--wp--preset--color--surface);
    background: var(--wp--preset--color--primary);
    font-size: var(--wp--preset--font-size--sm);
    line-height: var(--wp--custom--line-height--sm);
    text-decoration: none;
    white-space: nowrap;
}

.post-category-badge:hover,
.post-category-badge:focus-visible {
    color: var(--wp--preset--color--surface);
    background: var(--wp--preset--color--primary-dark);
}

.single-post-header__title {
    max-width: 48rem;
    margin: 0;
    color: var(--wp--preset--color--ink);
    font-size: var(--wp--preset--font-size--4-xl);
    line-height: var(--wp--custom--line-height--4-xl);
    text-wrap: balance;
}

.single-post-header__meta {
    justify-content: center;
    color: var(--wp--preset--color--muted);
}

.single-post-body {
    margin-block-start: var(--wp--preset--spacing--8);
    color: var(--wp--preset--color--ink);
}

.single-post-body > :where(:not(.alignwide):not(.alignfull)) {
    width: min(100% - var(--wp--preset--spacing--8), 44rem);
}

.single-post-body > p {
    line-height: var(--wp--custom--line-height--relaxed);
}

.single-related-posts {
    padding-block: var(--wp--preset--spacing--16);
    background: var(--wp--preset--color--surface-soft);
}

.single-related-posts__title {
    margin: 0 0 var(--wp--preset--spacing--8);
    color: var(--wp--preset--color--ink);
    font-size: var(--wp--preset--font-size--2-xl);
    line-height: var(--wp--custom--line-height--2-xl);
    text-align: center;
}

.single-related-posts__grid {
    display: grid;
    align-items: start;
    gap: var(--wp--preset--spacing--6);
}

.related-post-card {
    display: grid;
    gap: var(--wp--preset--spacing--4);
}

.related-post-card__media {
    position: relative;
    min-height: 12rem;
}

.related-post-card__media a,
.related-post-card__media img {
    display: block;
    width: 100%;
}

.related-post-card__media img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.related-post-card__category {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1;
}

.related-post-card__body {
    display: grid;
    gap: var(--wp--preset--spacing--2);
}

.related-post-card__title {
    margin: 0;
    color: var(--wp--preset--color--ink);
    font-size: var(--wp--preset--font-size--lg);
    line-height: var(--wp--custom--line-height--lg);
}

.related-post-card__title a {
    color: inherit;
    text-decoration: none;
}

.related-post-card__title a:hover,
.related-post-card__title a:focus-visible {
    color: var(--wp--preset--color--primary);
}

.related-post-card__meta {
    color: var(--wp--preset--color--muted);
}

.editor-styles-wrapper .is-root-container > * {
    margin-block-start: var(--wp--style--block-gap, var(--wp--preset--spacing--8));
    margin-block-end: 0;
}

.editor-styles-wrapper .is-root-container > :first-child {
    margin-block-start: 0;
}

.editor-styles-wrapper .is-root-container > :where(:not(.alignwide):not(.alignfull)) {
    width: min(100% - var(--wp--preset--spacing--8), var(--wp--style--global--content-size, 48rem));
    max-width: var(--wp--style--global--content-size, 48rem);
    margin-inline: auto;
}

.editor-styles-wrapper .is-root-container > .alignwide {
    width: min(100% - var(--wp--preset--spacing--8), var(--wp--style--global--wide-size, 86rem));
    max-width: var(--wp--style--global--wide-size, 86rem);
    margin-inline: auto;
}

.editor-styles-wrapper .is-root-container > .alignfull {
    width: 100%;
    max-width: none;
    margin-inline: 0;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
    gap: var(--wp--preset--spacing--8);
}

.archive-page__header {
    display: grid;
    min-height: clamp(var(--wp--preset--spacing--72), 26vw, calc(var(--wp--preset--spacing--96) + var(--wp--preset--spacing--28)));
    place-items: center;
    color: var(--wp--preset--color--surface);
    background: var(--wp--preset--color--primary);
}

.archive-page__header-inner {
    display: grid;
    gap: var(--wp--preset--spacing--4);
    justify-items: center;
    text-align: center;
}

.archive-page__title {
    max-width: var(--wp--style--global--content-size, 48rem);
    font-size: var(--wp--preset--font-size--4-xl);
    font-weight: 700;
    line-height: var(--wp--custom--line-height--4-xl);
    text-wrap: balance;
}

.archive-page__description {
    max-width: var(--wp--style--global--content-size, 48rem);
    color: rgba(255, 255, 255, 0.82);
    font-size: var(--wp--preset--font-size--lg);
    line-height: var(--wp--custom--line-height--lg);
}

.archive-page__description > * {
    margin-block: 0;
}

.archive-page__body {
    padding-block-start: var(--wp--preset--spacing--16);
}

.archive-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
    align-items: stretch;
}

.archive-card {
    display: flex;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--wp--preset--color--border);
    border-radius: var(--wp--preset--border-radius--lg);
    color: var(--wp--preset--color--ink);
    background: var(--wp--preset--color--surface);
    box-shadow: var(--wp--preset--shadow--xl);
}

.archive-card__media {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 1200 / 630;
    color: inherit;
    background: var(--wp--preset--color--surface-soft);
    text-decoration: none;
}

.archive-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 220ms ease;
}

.archive-card__media:hover .archive-card__image,
.archive-card__media:focus-visible .archive-card__image {
    transform: scale(1.035);
}

.archive-card__placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: var(--wp--preset--spacing--4);
    color: var(--wp--preset--color--primary);
    background:
        linear-gradient(135deg, rgba(121, 0, 0, 0.08), rgba(88, 89, 91, 0.08)),
        var(--wp--preset--color--surface-soft);
    font-size: var(--wp--preset--font-size--sm);
    font-weight: 600;
    line-height: var(--wp--custom--line-height--sm);
    text-align: center;
}

.archive-card__body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: var(--wp--preset--spacing--3);
    padding: var(--wp--preset--spacing--5);
}

.archive-card__term {
    align-self: flex-start;
    padding: var(--wp--preset--spacing--1) var(--wp--preset--spacing--2);
    border-radius: var(--wp--preset--border-radius--full);
    color: var(--wp--preset--color--primary);
    background: rgba(121, 0, 0, 0.08);
    font-size: var(--wp--preset--font-size--xs);
    font-weight: 600;
    line-height: var(--wp--custom--line-height--xs);
    text-decoration: none;
}

.archive-card__term:hover,
.archive-card__term:focus-visible {
    color: var(--wp--preset--color--primary-dark);
    background: rgba(121, 0, 0, 0.14);
}

.archive-card__title {
    margin: 0;
    color: inherit;
    font-size: var(--wp--preset--font-size--lg);
    line-height: var(--wp--custom--line-height--lg);
    overflow-wrap: anywhere;
}

.archive-card__title a {
    color: inherit;
    text-decoration: none;
}

.archive-card__title a:hover,
.archive-card__title a:focus-visible {
    color: var(--wp--preset--color--primary);
}

.archive-card__date {
    color: var(--wp--preset--color--muted);
    font-size: var(--wp--preset--font-size--sm);
    line-height: var(--wp--custom--line-height--sm);
}

.archive-card__excerpt {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--wp--preset--color--muted);
    font-size: var(--wp--preset--font-size--base);
    line-height: var(--wp--custom--line-height--body);
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
}

.search-results-page .search-results-layout {
    gap: var(--wp--preset--spacing--10);
}

.search-results-header {
    max-width: var(--wp--style--global--wide-size, 86rem);
    padding-block-end: var(--wp--preset--spacing--4);
    border-bottom: 1px solid var(--wp--preset--color--border-soft);
}

.search-results-header__title span {
    color: var(--wp--preset--color--primary);
}

.search-results-header__summary {
    margin: 0;
    color: var(--wp--preset--color--muted);
    font-size: var(--wp--preset--font-size--lg);
    line-height: var(--wp--custom--line-height--lg);
}

.search-results-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--wp--preset--spacing--4);
    max-width: var(--wp--style--global--content-size, 48rem);
    margin-block-start: var(--wp--preset--spacing--4);
}

.search-results-form__field {
    width: 100%;
    min-height: var(--wp--preset--spacing--12);
    padding: var(--wp--preset--spacing--3) var(--wp--preset--spacing--4);
    border: 1px solid var(--wp--preset--color--border);
    border-radius: var(--wp--preset--border-radius--lg);
    color: var(--wp--preset--color--ink);
    background: var(--wp--preset--color--surface);
    font-size: var(--wp--preset--font-size--base);
    line-height: var(--wp--custom--line-height--base);
}

.search-results-form__field::placeholder {
    color: var(--wp--preset--color--muted);
    opacity: 0.86;
}

.search-results-form__submit {
    min-height: var(--wp--preset--spacing--12);
    padding: var(--wp--preset--spacing--3) var(--wp--preset--spacing--8);
    border: 1px solid var(--wp--preset--color--primary);
    border-radius: var(--wp--preset--border-radius--lg);
    color: var(--wp--preset--color--surface);
    background: var(--wp--preset--color--primary);
    font-weight: 700;
    line-height: var(--wp--custom--line-height--base);
    cursor: pointer;
}

.search-results-form__submit:hover,
.search-results-form__submit:focus-visible {
    border-color: var(--wp--preset--color--primary-dark);
    background: var(--wp--preset--color--primary-dark);
}

.search-results-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
    align-items: stretch;
}

.search-result-card {
    display: grid;
    grid-template-rows: auto 1fr;
    min-width: 0;
}

.search-result-card__media {
    display: flex;
    aspect-ratio: 3 / 2;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--wp--preset--color--surface);
    background: linear-gradient(135deg, var(--wp--preset--color--primary), var(--wp--preset--color--primary-dark));
    text-decoration: none;
}

.search-result-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
}

.search-result-card__media--placeholder {
    border-block-end: 1px solid var(--wp--preset--color--border-soft);
}

.search-result-card__media--placeholder span {
    display: inline-flex;
    width: var(--wp--preset--spacing--16);
    height: var(--wp--preset--spacing--16);
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--wp--preset--border-radius--full);
    color: var(--wp--preset--color--surface);
    font-size: var(--wp--preset--font-size--3-xl);
    font-weight: 700;
    line-height: var(--wp--custom--line-height--none);
}

.search-result-card__body {
    align-content: start;
    min-width: 0;
}

.search-result-card__header {
    display: grid;
    gap: var(--wp--preset--spacing--3);
    min-width: 0;
}

.search-result-card__type {
    justify-self: start;
    margin: 0;
    padding: var(--wp--preset--spacing--1) var(--wp--preset--spacing--3);
    border: 1px solid var(--wp--preset--color--border-soft);
    border-radius: var(--wp--preset--border-radius--full);
    color: var(--wp--preset--color--primary);
    background: var(--wp--preset--color--surface-soft);
    font-size: var(--wp--preset--font-size--xs);
    font-weight: 700;
    line-height: var(--wp--custom--line-height--xs);
}

.search-result-card__title {
    overflow-wrap: anywhere;
}

.search-result-card__excerpt {
    color: var(--wp--preset--color--muted);
    min-width: 0;
    overflow-wrap: anywhere;
}

.search-result-card__excerpt p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
}

.page-banner {
    position: relative;
    display: grid;
    min-height: clamp(15rem, 22.222vw, 31.25rem);
    overflow: hidden;
    place-items: center;
    background: var(--wp--preset--color--primary-dark);
    color: var(--wp--preset--color--surface);
}

.page-banner::after {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    content: "";
}

.page-banner__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-banner__title {
    position: relative;
    z-index: 1;
    width: min(100% - var(--wp--preset--spacing--8), var(--wp--style--global--content-size, 48rem));
    margin: 0;
    color: inherit;
    font-size: var(--wp--preset--font-size--4-xl);
    line-height: var(--wp--custom--line-height--4-xl);
    text-align: center;
}

.career-card__title {
    margin: 0;
    color: var(--wp--preset--color--ink);
}

.career-archive__body {
    padding-block: var(--wp--preset--spacing--12) var(--wp--preset--spacing--16);
}

.career-list {
    display: grid;
    gap: 0;
}

.career-card {
    display: grid;
    gap: var(--wp--preset--spacing--6);
    padding-block: var(--wp--preset--spacing--8);
    border-bottom: 1px solid var(--wp--preset--color--border);
    background: transparent;
}

.career-card:first-child {
    padding-block-start: 0;
}

.career-card.has-post-thumbnail {
    align-items: start;
}

.career-card__media img {
    display: block;
    width: 100%;
    height: auto;
}

.career-card__body {
    display: grid;
    gap: var(--wp--preset--spacing--4);
}

.career-card__title {
    font-size: var(--wp--preset--font-size--2-xl);
    line-height: var(--wp--custom--line-height--2-xl);
}

.career-card__content {
    color: var(--wp--preset--color--ink);
}

.career-card__actions {
    margin: 0;
}

.career-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    min-height: var(--wp--preset--spacing--12);
    padding: var(--wp--preset--spacing--3) var(--wp--preset--spacing--8);
    border: 2px solid var(--wp--preset--color--highlight);
    border-start-start-radius: var(--wp--preset--border-radius--xl);
    border-end-end-radius: var(--wp--preset--border-radius--xl);
    background: var(--wp--preset--color--highlight);
    color: var(--wp--preset--color--surface);
    font-weight: 700;
    line-height: var(--wp--custom--line-height--base);
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease;
}

.career-card__button:hover,
.career-card__button:focus-visible {
    background: transparent;
    color: var(--wp--preset--color--highlight);
}

@media (min-width: 782px) {
    .career-card.has-post-thumbnail {
        grid-template-columns: minmax(16rem, 33.33%) minmax(0, 1fr);
        gap: var(--wp--preset--spacing--6);
    }

    .career-card__button {
        border-start-start-radius: var(--wp--preset--border-radius--4-xl);
        border-end-end-radius: var(--wp--preset--border-radius--4-xl);
    }
}

.page-header,
.archive-header,
.empty-state {
    display: grid;
    gap: var(--wp--preset--spacing--6);
}

.breadcrumbs {
    color: var(--wp--preset--color--muted);
    font-size: var(--wp--preset--font-size--sm);
    line-height: var(--wp--custom--line-height--sm);
}

.site-footer {
    border-top: 1px solid var(--wp--preset--color--border);
    background: var(--wp--preset--color--surface-soft);
}

.page-template-default .site-footer {
    margin-block-start: var(--wp--preset--spacing--8);
}

.home .site-footer {
    margin-block-start: 0;
}

.site-footer__widgets {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--wp--preset--spacing--10);
    padding-block: var(--wp--preset--spacing--16);
}

.site-footer__column {
    min-width: 0;
}

.siamu-footer-widget {
    display: grid;
    gap: var(--wp--preset--spacing--4);
    color: var(--wp--preset--color--muted);
}

.siamu-footer-widget .textwidget:empty,
.siamu-footer-widget .textwidget:has(> :where(p:empty):only-child) {
    display: none;
}

.siamu-footer-widget + .siamu-footer-widget {
    margin-block-start: var(--wp--preset--spacing--4);
}

.widget_nav_menu + .widget_nav_menu {
    margin-block-start: var(--wp--preset--spacing--8);
}

.siamu-footer-widget__title {
    margin: 0;
    color: var(--wp--preset--color--ink);
}

.siamu-footer-widget :where(ul, ol) {
    padding: 0;
    margin: 0;
    list-style: none;
}

.siamu-footer-widget :where(li + li) {
    margin-block-start: var(--wp--preset--spacing--2);
}

.siamu-footer-widget :where(a) {
    color: inherit;
    text-decoration: none;
}

.siamu-footer-widget :where(a:hover, a:focus-visible) {
    color: var(--wp--preset--color--primary);
}

.site-footer__footbar {
    color: var(--wp--preset--color--secondary);
    background: var(--wp--preset--color--surface);
}

.site-footer__footbar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--wp--preset--spacing--6);
    padding-block: var(--wp--preset--spacing--4);
    text-align: center;
}

.site-footer__footbar-logo {
    display: flex;
    align-items: center;
}

.site-footer__footbar-logo .custom-logo-link {
    display: flex;
    align-items: center;
}

.site-footer__footbar-logo .custom-logo {
    width: auto;
    max-height: 2.5rem;
}

.site-footer__footbar-logo-link {
    color: var(--wp--preset--color--primary);
    font-size: var(--wp--preset--font-size--base);
    line-height: var(--wp--custom--line-height--tight);
    text-decoration: none;
}

.site-footer__footbar-content {
    min-width: 0;
}

.site-footer__footbar-content .siamu-footer-widget {
    display: block;
    color: inherit;
}

.site-footer__footbar-content .siamu-footer-widget + .siamu-footer-widget {
    margin-block-start: var(--wp--preset--spacing--2);
}

.site-footer__footbar-content .siamu-footer-widget__title {
    display: none;
}

.site-footer__footbar-content .textwidget {
    margin: 0;
    font-size: var(--wp--preset--font-size--sm);
    line-height: var(--wp--custom--line-height--sm);
}

.site-footer__footbar-content .textwidget :where(p) {
    margin: 0;
}

.site-footer__footbar-content a {
    color: inherit;
}

.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--wp--preset--spacing--8);
    padding-block: var(--wp--preset--spacing--10);
}

.site-footer__brand {
    display: grid;
    gap: var(--wp--preset--spacing--2);
    color: var(--wp--preset--color--muted);
}

.site-footer__brand strong {
    color: var(--wp--preset--color--ink);
}

.nav-links,
.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--wp--preset--spacing--4);
}

.post-navigation-wrap {
    padding-block-end: var(--wp--preset--spacing--16);
}

.page-numbers,
.nav-previous a,
.nav-next a {
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
    padding: var(--wp--preset--spacing--2) var(--wp--preset--spacing--4);
    border: 1px solid var(--wp--preset--color--border);
    border-radius: var(--wp--preset--border-radius--lg);
    background: var(--wp--preset--color--surface);
    text-decoration: none;
}

.page-numbers.current {
    color: var(--wp--preset--color--surface);
    background: var(--wp--preset--color--primary);
}

@media (max-width: 48rem) {
    .site-footer__widgets {
        grid-template-columns: 1fr;
    }

    .site-footer__inner,
    .footer-menu {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (min-width: 48.5rem) and (max-width: 64rem) {
    .site-footer__widgets {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.site-main--front-page .entry-content--blocks {
    overflow: hidden;
}

.site-main--front-page .entry-content--blocks > .siamu-home-slider {
    width: 100%;
    max-width: none;
}

.siamu-home-slider {
    margin-block: 0;
}

.siamu-home-slider > .wp-block-group__inner-container {
    max-width: none;
}

.site-main--front-page .wp-block-image.alignfull {
    margin-block: 0;
}

.site-main--front-page .wp-block-image.alignfull img {
    width: 100%;
}

.siamu-home-programs {
    padding: var(--wp--preset--spacing--16) var(--wp--preset--spacing--4) var(--wp--preset--spacing--6);
}

.siamu-home-programs > .wp-block-heading,
.siamu-home-programs > p {
    text-align: center;
}

.siamu-home-programs > .wp-block-heading:first-child {
    margin-block: 0 var(--wp--preset--spacing--2);
    font-size: var(--wp--preset--font-size--3-xl);
    line-height: var(--wp--custom--line-height--3-xl);
}

.siamu-home-programs > .wp-block-heading + .wp-block-heading,
.siamu-home-programs > .wp-block-heading + p {
    margin-block: 0 var(--wp--preset--spacing--8);
    font-size: var(--wp--preset--font-size--lg);
    line-height: var(--wp--custom--line-height--lg);
}

.siamu-home-programs .wp-block-details {
    padding: var(--wp--preset--spacing--4);
    margin-block: 0 var(--wp--preset--spacing--4);
    border: 1px solid var(--wp--preset--color--border-soft);
    border-radius: var(--wp--preset--border-radius--lg);
    background: var(--wp--preset--color--surface-soft);
}

.siamu-home-programs .wp-block-details summary {
    cursor: pointer;
    color: var(--wp--preset--color--ink);
}

.siamu-home-programs .wp-block-column > .wp-block-heading,
.siamu-home-programs .wp-block-column > p {
    text-align: center;
}

.siamu-home-programs .wp-block-column > .wp-block-heading {
    margin-block: var(--wp--preset--spacing--2) 0;
    font-size: var(--wp--preset--font-size--lg);
    line-height: var(--wp--custom--line-height--lg);
}

.siamu-home-programs .wp-block-column > p {
    margin-block: 0 var(--wp--preset--spacing--6);
    color: var(--wp--preset--color--muted);
    font-size: var(--wp--preset--font-size--sm);
    line-height: var(--wp--custom--line-height--sm);
}

.siamu-home-programs .wp-block-column .wp-block-image {
    margin-block: 0 var(--wp--preset--spacing--2);
}

.siamu-home-programs .wp-block-column .wp-block-image img {
    width: 11rem;
    height: 7rem;
    object-fit: cover;
    margin-inline: auto;
}

.siamu-video-band {
    padding: 0;
    background: var(--wp--preset--color--primary);
}

.siamu-video-band .wp-block-video {
    width: min(100% - var(--wp--preset--spacing--8), var(--wp--style--global--wide-size, 86rem));
    margin: 0 auto;
    padding-block: var(--wp--preset--spacing--8);
}

.siamu-red-wave-embed {
    position: relative;
    overflow: hidden;
    padding: var(--wp--preset--spacing--24) var(--wp--preset--spacing--8) var(--wp--preset--spacing--28);
    color: var(--wp--preset--color--surface);
    background: linear-gradient(176deg, rgba(120, 0, 0, 0.8), var(--wp--preset--color--primary));
}

.siamu-red-wave-embed::before,
.siamu-red-wave-embed::after {
    position: absolute;
    right: 0;
    left: 0;
    z-index: 0;
    display: block;
    height: var(--wp--preset--spacing--16);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    content: "";
    pointer-events: none;
}

.siamu-red-wave-embed::before {
    top: -1px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 160' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 0h1200v56c-37.5 40-112.5 40-150 0s-112.5-40-150 0-112.5 40-150 0-112.5-40-150 0-112.5 40-150 0-112.5-40-150 0-112.5 40-150 0S37.5 16 0 56V0z'/%3E%3C/svg%3E");
}

.siamu-red-wave-embed::after {
    bottom: -1px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 180' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 180h1200v-76c-37.5 40-112.5 40-150 0s-112.5-40-150 0-112.5 40-150 0-112.5-40-150 0-112.5 40-150 0-112.5-40-150 0-112.5 40-150 0S37.5 64 0 104v76z'/%3E%3C/svg%3E");
}

.siamu-red-wave-embed > * {
    position: relative;
    z-index: 1;
}

.siamu-red-wave-embed .wp-block-embed {
    margin-block: 0;
}

.siamu-red-wave-embed .wp-block-embed__wrapper {
    border-radius: var(--wp--preset--border-radius--lg);
    overflow: hidden;
}

.siamu-news-section {
    padding: var(--wp--preset--spacing--10) var(--wp--preset--spacing--4);
    background: var(--wp--preset--color--surface-soft);
}

.siamu-news-section > .wp-block-group {
    width: min(100%, var(--wp--custom--layout--container));
    margin-inline: auto;
}

.siamu-news-section .wp-block-latest-posts {
    display: grid;
    gap: var(--wp--preset--spacing--6);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0;
    margin: var(--wp--preset--spacing--6) 0 0;
}

.siamu-news-section .wp-block-latest-posts li {
    padding: var(--wp--preset--spacing--4);
    border: 1px solid var(--wp--preset--color--border-soft);
    border-radius: var(--wp--preset--border-radius--lg);
    background: var(--wp--preset--color--surface);
    box-shadow: var(--wp--preset--shadow--xl);
    list-style: none;
}

.siamu-about-section {
    margin-block: 0;
}

.siamu-about-section .wp-block-columns {
    gap: 0;
    margin-block: 0;
}

.siamu-about-section .wp-block-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.siamu-about-panel {
    min-height: 27rem;
    padding: var(--wp--preset--spacing--16);
    color: var(--wp--preset--color--surface);
    background: var(--wp--preset--color--primary);
}

.siamu-about-panel a {
    color: inherit;
}

@media (max-width: 64rem) {
    .siamu-news-section .wp-block-latest-posts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .siamu-about-panel {
        min-height: auto;
        padding: var(--wp--preset--spacing--8) var(--wp--preset--spacing--4);
    }
}

@media (max-width: 48rem) {
    .single-post-content {
        gap: var(--wp--preset--spacing--10);
        padding-block-end: var(--wp--preset--spacing--16);
    }

    .single-post-header {
        padding-block-start: 0;
    }

    .single-post-header__media.container {
        width: 100%;
    }

    .single-post-header__title {
        font-size: var(--wp--preset--font-size--3-xl);
        line-height: var(--wp--custom--line-height--3-xl);
    }

    .single-related-posts {
        padding-block: var(--wp--preset--spacing--12);
    }

    .search-results-form {
        grid-template-columns: 1fr;
    }

    .search-results-form__submit {
        width: 100%;
    }

    .siamu-home-programs {
        padding-block-start: var(--wp--preset--spacing--8);
    }

    .siamu-red-wave-embed {
        padding: var(--wp--preset--spacing--12) var(--wp--preset--spacing--5) var(--wp--preset--spacing--16);
    }

    .siamu-red-wave-embed::before,
    .siamu-red-wave-embed::after {
        height: var(--wp--preset--spacing--10);
    }

    .siamu-news-section .wp-block-latest-posts {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 48.5rem) {
    .single-related-posts__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
