:root {
    --color-primary: #7b1113;
    --color-primary-dark: #560c0e;
    --color-accent: #c8911a;
    --color-accent-dark: #9f7414;
    --color-accent-light: #f5d88a;
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #f7f3f0;
    --color-bg-footer: #560c0e;
    --color-footer-text: #f5d88a;
    --color-text-primary: #1c1c1e;
    --color-text-secondary: #6b7280;
    --color-text-on-dark: #ffffff;
    --color-border: #e6d9d1;
    --color-link: #7b1113;
    --color-success: #166534;
    --color-warning: #92400e;
    --color-error: #dc2626;
    --color-info: #1e3a8a;
    --shadow-soft: 0 10px 30px rgba(43, 22, 10, 0.09);
    --radius-md: 10px;
    --radius-lg: 16px;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', 'Trebuchet MS', sans-serif;
    --font-size-base: 16px;
    --font-size-h1: clamp(26px, 5.5vw, 48px);
    --font-size-h2: clamp(20px, 3.5vw, 36px);
    --font-size-h3: clamp(18px, 2.5vw, 28px);
    --font-size-h4: clamp(15px, 1.8vw, 20px);
    --line-height-heading: 1.2;
    --line-height-body: 1.55;
}

* {
    box-sizing: border-box;
}

/* Prevent horizontal scrollbar caused by 100vw full-bleed sections */
html {
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--color-text-primary);
    background: radial-gradient(circle at 5% 0%, #fff8ef 0%, #fff 36%, #f7f3f0 100%);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-body);
}

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

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

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

h1,
h2,
h3,
h4 {
    margin: 0 0 0.6rem;
    color: var(--color-primary);
    font-family: var(--font-heading);
    line-height: var(--line-height-heading);
}

h1 {
    font-size: var(--font-size-h1);
}

h2 {
    font-size: var(--font-size-h2);
}

h3 {
    font-size: var(--font-size-h3);
}

h4 {
    font-size: var(--font-size-h4);
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

.social-float {
    position: fixed;
    right: 14px;
    top: 44%;
    transform: translateY(-50%);
    display: grid;
    gap: 8px;
    z-index: 60;
    justify-items: end;
}

.social-float-links {
    display: grid;
    gap: 8px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-float-toggle {
    width: 30px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: rgba(52, 64, 84, 0.88);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
    overflow: hidden;
}

.social-float-toggle span[aria-hidden="true"] {
    font-size: 0.86rem;
    line-height: 1;
}

.social-float.is-collapsed .social-float-links {
    opacity: 0;
    transform: translateX(16px);
    pointer-events: none;
}

.social-float.is-collapsed .social-float-toggle span[aria-hidden="true"] {
    transform: rotate(180deg);
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.social-btn span {
    font-size: 0.9rem;
    line-height: 1;
    text-transform: lowercase;
}

.social-btn .social-icon {
    width: 20px;
    height: 20px;
    display: block;
}

.social-facebook { background: #3b5998; }
.social-linkedin { background: #0077b5; }
.social-youtube { background: #ff0000; }
.social-instagram { background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 55%, #6228d7 100%); }

.social-btn:hover {
    transform: translateX(-2px);
    filter: brightness(1.06);
}

.top-strip {
    background: var(--color-bg-secondary);
    border-bottom: 1px solid var(--color-border);
    padding: 0.4rem 1rem;
}

.main-nav {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-mid, #8f1b1f) 55%, var(--color-primary-deep, #6d0f12) 100%);
    color: var(--color-text-on-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.notice-ticker-wrap {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0;
    background: linear-gradient(90deg, #fff8e8 0%, #fffefb 100%);
    border-top: 1px solid #f0d7a1;
    border-bottom: 1px solid #f0d7a1;
}

.notice-ticker-label {
    padding: 0.5rem 0.8rem;
    font-weight: 700;
    color: #7a1113;
    background: #fde8b4;
    border-right: 1px solid #f0d7a1;
    white-space: nowrap;
}

.notice-ticker-viewport {
    overflow: hidden;
    position: relative;
}

.notice-ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0.45rem 0;
    min-width: max-content;
    animation: noticeTickerMove 30s linear infinite;
}

.notice-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    white-space: nowrap;
}

.notice-ticker-item::after {
    content: '\2022';
    color: #b45309;
    margin-left: 1.5rem;
}

.notice-ticker-item a {
    color: #7a1113;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.14em;
}

.notice-ticker-wrap:hover .notice-ticker-track {
    animation-play-state: paused;
}

@keyframes noticeTickerMove {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.main-nav-inner {
    width: min(1180px, 96vw);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
}

.main-nav-menu {
    margin-left: 1rem;
}

.brand-block {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-slot {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 2px solid var(--color-accent-light);
    background: #ffffff;
    color: var(--color-text-on-dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-mark {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.logo-image {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}

.site-brand {
    color: var(--color-text-on-dark);
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    gap: 0.12rem;
}

.site-brand-strong {
    font-family: "Merriweather", Georgia, serif;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.site-brand-soft {
    font-size: 0.82rem;
    opacity: 0.92;
}

.nav-toggle {
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: transparent;
    color: var(--color-text-on-dark);
    border-radius: 6px;
    padding: 0.4rem 0.55rem;
    cursor: pointer;
}

.nav-list,
.submenu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.22rem;
    direction: ltr;
}

.main-nav-menu {
    direction: ltr;
}

.secondary-nav .nav-list,
.footer-nav .nav-list {
    gap: 0.45rem;
}

.nav-item {
    position: relative;
}

[data-nav-link] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: inherit;
    text-decoration: none;
    border-radius: 6px;
    padding: 0.44rem 0.62rem;
    border-bottom: 3px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.main-nav [data-nav-link] {
    color: var(--color-text-on-dark);
    font-weight: 600;
}

.main-nav [data-nav-link].nav-active,
.main-nav [data-nav-link].nav-parent-active,
.main-nav [data-nav-link]:hover {
    background: var(--color-primary-dark);
    border-bottom-color: var(--color-accent);
}

.secondary-nav [data-nav-link] {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    padding: 0.2rem 0.42rem;
}

.secondary-nav [data-nav-link].nav-active,
.secondary-nav [data-nav-link].nav-parent-active {
    color: var(--color-primary);
    background: #f4e6e0;
}

.submenu {
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-primary);
    border-radius: 9px;
    box-shadow: var(--shadow-soft);
    position: absolute;
    top: calc(100% + 0.32rem);
    left: 0;
    display: none;
    z-index: 35;
    padding: 0.35rem;
}

.submenu [data-nav-link] {
    color: var(--color-text-primary);
    width: 100%;
    border-radius: 5px;
    padding: 0.42rem 0.58rem;
}

.submenu [data-nav-link].nav-active,
.submenu [data-nav-link].nav-parent-active,
.submenu [data-nav-link]:hover {
    background: #f7f3f0;
    color: var(--color-primary);
    border-bottom-color: transparent;
}

.submenu .nav-item .submenu {
    left: calc(100% + 0.2rem);
    top: 0;
}

.nav-item:hover > .submenu,
.nav-item:focus-within > .submenu {
    display: block;
}

.nav-item.is-open > .submenu,
.nav-item.is-open > .mega-panel {
    display: block;
}

.mega-panel {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    width: min(820px, 92vw);
    background: #fff;
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 0.85rem;
    display: none;
    z-index: 40;
}

.nav-item:hover > .mega-panel,
.nav-item:focus-within > .mega-panel {
    display: block;
}

.mega-grid {
    display: grid;
    gap: 0.75rem;
}

.mega-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.mega-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.mega-card {
    border: 1px solid #ece4dd;
    border-radius: 8px;
    padding: 0.6rem;
    background: linear-gradient(180deg, #fff 0%, #fdfaf8 100%);
}

.mega-card-title {
    font-family: "Merriweather", Georgia, serif;
    color: var(--color-primary);
    margin: 0 0 0.25rem;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.2rem;
}

.mega-card-copy {
    margin: 0 0 0.35rem;
    color: var(--color-text-secondary);
    font-size: 0.88rem;
}

.mega-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.2rem;
}

.mega-links a {
    text-decoration: none;
    color: var(--color-link);
    font-size: 0.9rem;
}

.page-wrap {
    width: min(1180px, 96vw);
    margin: 1.35rem auto 2.4rem;
    display: grid;
    gap: 1rem;
}

.hero {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 0.7rem 0.85rem;
    background: linear-gradient(135deg, #fff 0%, #fff7ee 44%, #f9f3ed 100%);
    box-shadow: var(--shadow-soft);
}

.hero h1 {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    margin-bottom: 0.18rem;
    line-height: 1.15;
}

.hero p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.35;
    color: var(--color-text-secondary);
}

.notice-banner {
    border-left: 4px solid var(--color-accent);
    background: var(--color-accent-light);
    border-radius: 8px;
    padding: 0.68rem 0.84rem;
    color: #3f2a07;
    font-size: 0.94rem;
}

.content-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg-primary);
    box-shadow: var(--shadow-soft);
    padding: 1.1rem;
}

.home-carousel {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.carousel-viewport {
    position: relative;
    min-height: 280px;
}

.carousel-slide {
    display: none;
    position: relative;
    min-height: 280px;
    background: linear-gradient(135deg, #10223d, #1f3c68);
}

.carousel-slide.is-active {
    display: block;
}

.carousel-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.24) 55%, rgba(0, 0, 0, 0.06) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.45rem;
    padding: 1rem 1.1rem;
}

.carousel-overlay h2 {
    color: #fff;
    margin: 0;
    font-size: clamp(1.1rem, 2.2vw, 1.7rem);
}

.carousel-overlay p {
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.72);
    color: #fff;
    cursor: pointer;
}

.carousel-arrow:hover {
    background: rgba(17, 24, 39, 0.9);
}

.carousel-arrow.prev { left: 10px; }
.carousel-arrow.next { right: 10px; }

.carousel-dots {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.45);
}

.carousel-dot.is-active {
    background: #fff;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.9rem;
}

.domain-experts-page {
    padding: 1.4rem;
}

.domain-experts-page__header {
    margin-bottom: 1.6rem;
}

.domain-experts-page__title {
    margin-bottom: 0.22rem;
    font-size: clamp(2rem, 3.3vw, 2.6rem);
}

.domain-experts-page__subtitle {
    color: var(--color-text-secondary);
    font-size: 0.96rem;
}

.domain-experts-page__intro {
    margin-bottom: 1.45rem;
    padding: 1.05rem 1.15rem;
    border: 1px solid #dfe6e1;
    border-radius: 14px;
    background: linear-gradient(180deg, #f9fbfa 0%, #f3f7f5 100%);
    color: #23313d;
    font-size: 0.98rem;
    line-height: 1.8;
}

.domain-experts-page__intro p,
.domain-experts-page__intro ul,
.domain-experts-page__intro ol {
    margin-top: 0;
    margin-bottom: 1rem;
}

.domain-experts-page__intro p:last-child,
.domain-experts-page__intro ul:last-child,
.domain-experts-page__intro ol:last-child {
    margin-bottom: 0;
}

.domain-experts-page__intro strong {
    color: #122033;
}

.domain-experts-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.4rem;
}

.domain-experts-chip {
    border: 1px solid #d9d6d0;
    border-radius: 999px;
    background: #fff;
    color: var(--color-text-secondary);
    padding: 0.44rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.domain-experts-chip:hover,
.domain-experts-chip.is-active {
    background: #0f6e56;
    border-color: #0f6e56;
    color: #fff;
}

.domain-experts-sections {
    display: grid;
    gap: 1.2rem;
}

.domain-experts-section {
    display: grid;
    gap: 0.9rem;
}

.domain-experts-section__header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    border: 1px solid #e3ddd6;
    border-radius: 12px;
    background: #f8f5f2;
    padding: 0.8rem 1rem;
    cursor: pointer;
    text-align: left;
}

.domain-experts-section__label {
    flex: 1;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--color-text-secondary);
}

.domain-experts-section__badge {
    border-radius: 999px;
    padding: 0.22rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 700;
}

.domain-experts-section__icon {
    color: #8b8b87;
    transition: transform 0.18s ease;
}

.domain-experts-section.is-collapsed .domain-experts-section__icon {
    transform: rotate(-90deg);
}

.domain-experts-section.is-collapsed .domain-experts-grid {
    display: none;
}

.domain-experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 0.95rem;
}

.domain-expert-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-height: 100%;
    padding: 1.15rem;
    border: 1px solid #e3ddd6;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(20, 20, 22, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.domain-expert-card:hover,
.domain-expert-card:focus-within {
    transform: translateY(-4px);
    border-color: #cfc7bf;
    box-shadow: 0 16px 36px rgba(20, 20, 22, 0.1);
}

.domain-expert-card__accent {
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--domain-accent, #0f6e56);
}

.domain-expert-card__top {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.domain-expert-card__avatar,
.domain-expert-card__avatar-placeholder {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    flex-shrink: 0;
}

.domain-expert-card__avatar {
    object-fit: cover;
    background: #f3f4f6;
}

.domain-expert-card__avatar-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--domain-badge-bg, #e1f5ee);
    color: var(--domain-badge-color, #085041);
    font-size: 1rem;
    font-weight: 700;
}

.domain-expert-card__name {
    margin: 0;
    color: var(--color-text-primary);
    font-family: "Source Sans 3", "Trebuchet MS", sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.25;
}

.domain-expert-card__position {
    margin: 0.18rem 0 0;
    color: var(--color-text-secondary);
    font-size: 0.83rem;
}

.domain-expert-card__domain {
    display: inline-flex;
    margin-top: 0.45rem;
    border-radius: 999px;
    background: var(--domain-badge-bg, #e1f5ee);
    color: var(--domain-badge-color, #085041);
    padding: 0.2rem 0.55rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.domain-expert-card__bio {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.68;
}

.domain-expert-card__skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.domain-expert-card__skill {
    border: 1px solid #e7e1da;
    border-radius: 999px;
    background: #faf7f4;
    color: var(--color-text-secondary);
    padding: 0.22rem 0.58rem;
    font-size: 0.72rem;
    font-weight: 600;
}

.domain-expert-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid #ebe4de;
}

.domain-expert-card__meta {
    color: var(--color-text-secondary);
    font-size: 0.78rem;
}

.domain-expert-card__link {
    color: var(--domain-accent, #0f6e56);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.domain-expert-card__link:hover {
    text-decoration: underline;
}

.domain-experts-empty {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.domain-expert-profile {
    position: relative;
    padding: 1.35rem 1.5rem 1.5rem;
    border-radius: 18px;
}

.domain-expert-profile__accent {
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(90deg, var(--domain-accent, #0F6E56), rgba(15, 110, 86, 0.35));
}

.domain-expert-profile__actions {
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.domain-expert-profile__header {
    display: flex;
    align-items: flex-start;
    gap: 1.4rem;
}

.domain-expert-profile__avatar,
.domain-expert-profile__avatar-placeholder {
    width: 108px;
    height: 108px;
    border-radius: 999px;
    flex-shrink: 0;
}

.domain-expert-profile__avatar {
    object-fit: cover;
    border: 1px solid #dce8e2;
    background: #f4f8f6;
}

.domain-expert-profile__avatar-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dff2eb;
    color: #0a5c49;
    font-size: 2rem;
    font-weight: 400;
    font-family: "Merriweather", Georgia, serif;
}

.domain-expert-profile__identity {
    min-width: 0;
}

.domain-expert-profile__name {
    margin: 0;
    color: #221f1c;
    font-size: clamp(2rem, 3.2vw, 2.45rem);
    line-height: 1.08;
}

.domain-expert-profile__role {
    margin: 0.35rem 0 0;
    color: #545454;
    font-size: 1.05rem;
}

.domain-expert-profile__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.8rem;
}

.domain-expert-profile__chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.88rem;
    letter-spacing: 0.03em;
}

.domain-expert-profile__chip--category {
    background: var(--domain-badge-bg, #E1F5EE);
    color: var(--domain-badge-text, #085041);
}

.domain-expert-profile__chip--status {
    background: #e8efd6;
    color: #577a21;
}

.domain-expert-profile__section {
    margin-top: 1.5rem;
    padding-top: 1.35rem;
    border-top: 1px solid #e6e1da;
}

.domain-expert-profile__section:first-of-type {
    margin-top: 1.3rem;
}

.domain-expert-profile__section-title {
    margin-bottom: 1rem;
    color: #4a4a46;
    font-family: "Source Sans 3", "Trebuchet MS", sans-serif;
    font-size: 0.88rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.domain-expert-profile__about {
    color: #424242;
    font-size: 1rem;
    line-height: 1.8;
}

.domain-expert-profile__about p {
    margin: 0 0 0.95rem;
}

.domain-expert-profile__about strong {
    color: #22211f;
    font-weight: 800 !important;
    background: linear-gradient(180deg, transparent 62%, rgba(15, 110, 86, 0.12) 62%);
}

.domain-expert-profile__about em {
    font-style: italic;
}

.domain-expert-profile__about ul,
.domain-expert-profile__about ol {
    margin: 0 0 0.95rem;
    padding-left: 1.25rem;
}

.domain-expert-profile__about li + li {
    margin-top: 0.35rem;
}

.domain-expert-profile__about br + strong {
    display: inline-block;
    margin-top: 0.45rem;
}

.domain-expert-profile__about p:last-child {
    margin-bottom: 0;
}

.domain-expert-profile__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.domain-expert-profile__tag {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d7d1c8;
    border-radius: 999px;
    background: #f6f3ee;
    color: #54514d;
    padding: 0.42rem 0.95rem;
    font-size: 0.9rem;
}

.domain-expert-profile__footer {
    margin-top: 1.4rem;
}

.module-card {
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.module-card:hover,
.module-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1), 0 22px 40px rgba(15, 23, 42, 0.16);
}

@media (prefers-reduced-motion: reduce) {
    .module-card {
        transition: none;
    }

    .module-card:hover,
    .module-card:focus-within {
        transform: none;
    }
}

.module-card-image-link {
    display: inline-flex;
    width: fit-content;
    align-self: center;
}

.module-card-image {
    width: 108px;
    height: 108px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid var(--color-border);
    background: #f8fafc;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.module-card-image--rect {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    object-fit: cover;
}

.module-card h2 {
    font-size: 1.06rem;
    text-align: center;
}

.module-card h2 a,
.module-card h2 a:hover,
.module-card h2 a:focus {
    text-decoration: none;
}

.module-detail-image {
    display: block;
    width: min(240px, 100%);
    height: min(240px, 58vw);
    object-fit: cover;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: #f8fafc;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
}

.module-detail-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.09);
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 3;
}

.module-detail-card--testimonial .module-detail-image-wrap {
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    width: fit-content;
    aspect-ratio: auto;
}

.module-detail-card--testimonial .module-detail-image {
    border: none;
    background: transparent;
    box-shadow: none;
}

.module-detail-image-wrap--rect .module-detail-image--rect {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: transparent;
}

.module-detail-image-wrap--placeholder {
    background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
}

.module-detail-image-initials {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.module-detail-image--rect {
    width: min(440px, 100%);
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
}

.module-detail-card--enhanced {
    padding: 1.35rem;
    border-radius: 14px;
}

.module-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--color-border);
}

.module-detail-title {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.35rem);
}

.module-detail-actions {
    margin: 0;
    justify-content: flex-end;
    flex-shrink: 0;
}

.module-detail-nav {
    max-width: 1120px;
    margin: 0 auto 1.25rem;
    padding: 0 1.25rem;
}

.module-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent, #2563eb);
    text-decoration: none;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.07);
    transition: background 0.15s;
}

.module-detail-back:hover {
    background: rgba(37, 99, 235, 0.14);
    text-decoration: none;
}

.module-detail-body {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.module-detail-aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 1.5rem;
}

.module-detail-meta {
    font-size: 0.9rem;
    color: #64748b;
}

.module-detail-content {
    min-width: 0;
}

.module-detail-title {
    margin: 0 0 0.7rem;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 700;
    line-height: 1.25;
    color: #0f172a;
}

.module-detail-content p {
    margin: 0;
    font-size: clamp(1.05rem, 1.4vw, 1.15rem);
    line-height: 1.75;
    color: #374151;
}

.module-detail-richtext {
    color: #1f2937;
    font-size: 1.02rem;
    line-height: 1.75;
    overflow-wrap: break-word;
    word-break: break-word;
    min-width: 0;
}

.module-detail-richtext p,
.module-detail-richtext ul,
.module-detail-richtext ol,
.module-detail-richtext h2,
.module-detail-richtext h3,
.module-detail-richtext h4 {
    margin-top: 0;
    margin-bottom: 0.85rem;
}

.module-detail-richtext p {
    text-align: left !important;
}

.module-detail-richtext li {
    text-align: left !important;
    margin-bottom: 0.3em;
}

.module-detail-richtext ul,
.module-detail-richtext ol {
    padding-left: 1.25rem;
}

.module-detail-richtext a {
    color: var(--color-link);
    text-decoration: underline;
}

.module-detail-richtext table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
    font-size: 0.94rem;
    overflow-x: auto;
    display: block;
}
.module-detail-richtext thead th {
    background: var(--color-bg-secondary, #f7f3f0);
    font-weight: 700;
    padding: 0.6em 0.8em;
    text-align: left;
    border-bottom: 2px solid var(--color-border, #e6d9d1);
}
.module-detail-richtext tbody td {
    padding: 0.55em 0.8em;
    border-bottom: 1px solid var(--color-border, #e6d9d1);
    vertical-align: top;
}
.module-detail-richtext tbody tr:last-child td { border-bottom: none; }

/* Word/Docs paste normalisation */
.module-detail-richtext span[style*="font-size"],
.module-detail-richtext p[style*="font-size"] {
    font-size: inherit !important;
}
.module-detail-richtext span[style*="font-family"],
.module-detail-richtext p[style*="font-family"] {
    font-family: inherit !important;
}
.module-detail-richtext span[style*="color"],
.module-detail-richtext p[style*="color"] {
    color: inherit !important;
}
.module-detail-richtext p:empty { display: none; }

/* domain expert & partner richtext areas — same treatment */
.domain-expert-profile__about p,
.domain-experts-page__intro p {
    text-align: left !important;
}
.domain-expert-profile__about span[style*="font-size"],
.domain-expert-profile__about span[style*="color"],
.domain-experts-page__intro span[style*="font-size"],
.domain-experts-page__intro span[style*="color"] {
    font-size: inherit !important;
    color: inherit !important;
}

.module-detail-extra-actions {
    margin-top: 1.1rem;
}

/* ── News Article Image Gallery ────────────────────────────────── */
.news-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-top: 1.6rem;
}

.news-gallery__item {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    aspect-ratio: 4 / 3;
}

.news-gallery__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.news-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.news-gallery__item:hover img {
    transform: scale(1.04);
}

@media (max-width: 600px) {
    .news-gallery {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 10px;
    }
}
/* ────────────────────────────────────────────────────────────────── */

.meta-text {
    color: var(--color-text-secondary);
    font-size: 0.88rem;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.btn,
.btn-secondary,
.btn-accent {
    border-radius: 6px;
    text-decoration: none;
    padding: 0.55rem 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-weight: 600;
    border: 1px solid transparent;
}

.btn {
    background: var(--color-primary);
    color: var(--color-text-on-dark);
}

.btn:hover {
    background: var(--color-primary-dark);
    color: var(--color-text-on-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-text-on-dark);
}

.btn-accent {
    background: var(--color-accent);
    color: #fff;
}

.btn-accent:hover {
    background: var(--color-accent-dark);
    color: #fff;
}

.footer-nav {
    margin-top: auto;
    background: var(--color-bg-footer);
    color: var(--color-text-on-dark);
    border-top: 1px solid #4b090a;
}

.footer-inner {
    width: min(1180px, 96vw);
    margin: 0 auto;
    padding: 1.05rem 0;
    display: grid;
    gap: 0.8rem;
    justify-items: center;
    text-align: center;
}

.footer-note {
    color: var(--color-footer-text);
    font-size: 0.9rem;
}

.footer-nav [data-nav-link] {
    color: var(--color-footer-text);
    font-size: 0.92rem;
    border-bottom-color: transparent;
}

.footer-nav [data-nav-link].nav-active,
.footer-nav [data-nav-link].nav-parent-active,
.footer-nav [data-nav-link]:hover {
    color: #fff;
    text-decoration: underline;
}

.pagination-wrap {
    margin-top: 2rem;
}
.pagination-wrap nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    width: 100%;
}
.pagination-wrap nav > div:first-child {
    display: none;
}
.pagination-wrap nav > div:last-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    gap: 1rem;
}
@media (max-width: 600px) {
    .pagination-wrap nav > div:first-child {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    .pagination-wrap nav > div:last-child {
        display: none;
    }
}
.pagination-wrap span.relative,
.pagination-wrap a.relative {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    height: 2.2rem;
    padding: 0 0.75rem;
    margin: 0 0.15rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #7B1113;
    background: #fbf9f6;
    border: 1px solid #e2d9ce;
    text-decoration: none;
    transition: all 0.2s ease;
}
.pagination-wrap a.relative:hover {
    background: #7B1113;
    color: #ffffff;
    border-color: #7B1113;
}
.pagination-wrap span.relative[aria-current="page"] {
    background: #7B1113;
    border-color: #7B1113;
    color: #ffffff !important;
}
.pagination-wrap span.relative[aria-current="page"] span {
    color: #ffffff !important;
}
.pagination-wrap span.relative[aria-disabled="true"] {
    color: #b5a99a;
    background: #fdfdfd;
    border-color: #eae3da;
    cursor: not-allowed;
}
.pagination-wrap p.text-sm {
    margin: 0;
    font-size: 0.9rem;
    color: #6B7280;
}
.pagination-wrap svg {
    width: 1.1rem;
    height: 1.1rem;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 700px) {
    .domain-experts-page {
        padding: 1rem;
    }

    .domain-expert-profile {
        padding: 1.1rem 1rem 1.2rem;
    }

    .domain-expert-profile__actions {
        justify-content: flex-start;
    }

    .domain-expert-profile__header {
        flex-direction: column;
        gap: 1rem;
    }

    .domain-expert-profile__avatar,
    .domain-expert-profile__avatar-placeholder {
        width: 92px;
        height: 92px;
    }

    .domain-expert-profile__name {
        font-size: 1.85rem;
    }

    .domain-expert-profile__role {
        font-size: 0.98rem;
    }

    .domain-experts-grid {
        grid-template-columns: 1fr;
    }

    .module-detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }

    .module-detail-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .module-detail-body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .module-detail-aside {
        position: static;
        align-items: center;
    }

    .module-detail-image-wrap {
        max-width: 320px;
        margin: 0 auto;
    }

    .module-detail-title {
        font-size: 1.5rem;
    }

    .module-detail-content p {
        font-size: 1rem;
    }
}

@media (max-width: 980px) {
    .social-float {
        right: 8px;
        top: auto;
        bottom: 18px;
        transform: none;
        grid-auto-flow: row;
    }

    .social-btn {
        width: 38px;
        height: 38px;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        min-height: 44px;
        min-width: 44px;
        padding: 0.4rem 0.8rem;
    }

    .main-nav-menu {
        width: 100%;
        display: none;
        padding-bottom: 0.6rem;
    }

    .main-nav-menu.is-open {
        display: block;
    }

    .main-nav-inner {
        flex-wrap: wrap;
        position: relative;
    }

    .notice-ticker-wrap {
        grid-template-columns: 1fr;
    }

    .notice-ticker-label {
        border-right: 0;
        border-bottom: 1px solid #f0d7a1;
        text-align: center;
    }

    .brand-block {
        width: 100%;
        justify-content: space-between;
    }

    .carousel-viewport,
    .carousel-slide {
        min-height: 220px;
    }

    .carousel-image {
        height: 220px;
    }

    .carousel-overlay {
        padding: 0.75rem 0.85rem;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
    }

    [data-nav-link] {
        min-height: 44px;
        padding: 0.55rem 0.72rem;
    }

    .submenu,
    .mega-panel,
    .submenu .nav-item .submenu {
        position: static;
        display: none;
        width: 100%;
        margin-top: 0.28rem;
        box-shadow: none;
    }

    .nav-item:hover > .submenu,
    .nav-item:focus-within > .submenu,
    .nav-item:hover > .mega-panel,
    .nav-item:focus-within > .mega-panel {
        display: none;
    }

    /* JS-toggled open state — declared after :hover so it wins on touch */
    .nav-item.is-open > .submenu,
    .nav-item.is-open > .mega-panel {
        display: block;
    }

    .mega-grid {
        grid-template-columns: 1fr !important;
    }

    .module-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .page-wrap {
        margin: 0.85rem auto 1.6rem;
    }
}

@media (max-width: 640px) {
    .page-wrap {
        margin: 0.6rem auto 1.2rem;
    }

    .hero {
        padding: 0.65rem 0.75rem;
    }

    .module-grid {
        grid-template-columns: 1fr;
    }

    .pagination-wrap {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem;
    }
}

/* ── Richtext content: images + overflow protection ── */
.module-detail-richtext img,
.module-detail-content img,
.content-card img {
    max-width: 100%;
    height: auto;
    display: block;
}

.module-detail-richtext,
.module-detail-content,
.module-detail-aside,
.content-card {
    overflow-wrap: break-word;
    word-break: break-word;
    min-width: 0;
}

/* ── Module detail nav: tighter padding on mobile ── */
@media (max-width: 640px) {
    .module-detail-nav {
        padding: 0 0.75rem;
    }

    .domain-experts-page {
        padding: 0.75rem;
    }
}


/* ============================================================
   Admissions Flash Banner
   ============================================================ */
.admissions-flash-banner {
    position: fixed;
    top: 12%;
    right: 20px;
    z-index: 100000;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px 9px 12px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    box-shadow: 0 4px 18px rgba(220,38,38,0.42), 0 2px 8px rgba(0,0,0,0.18);
    cursor: default;
    user-select: none;
    text-decoration: none;  /* reset when element is an <a> */
    max-width: 90vw;        /* prevent overflow on any screen */
    white-space: nowrap;
    animation: af-enter 0.42s cubic-bezier(0.22,0.68,0,1.2) forwards,
               af-pulse 2.8s ease-in-out 1.2s infinite;
    transition: opacity 0.35s ease, transform 0.35s ease;
}
a.admissions-flash-banner {
    cursor: pointer;
}

/* Entry animation */
@keyframes af-enter {
    from { opacity:0; transform: translateY(-14px) scale(0.88); }
    to   { opacity:1; transform: translateY(0)     scale(1);    }
}

/* Idle pulse � gentle scale + glow ripple */
@keyframes af-pulse {
    0%,100% { transform: scale(1);    box-shadow: 0 4px 18px rgba(220,38,38,0.42), 0 2px 8px rgba(0,0,0,0.18), 0 0 0 0   rgba(220,38,38,0.5); }
    50%      { transform: scale(1.05); box-shadow: 0 6px 24px rgba(220,38,38,0.55), 0 2px 8px rgba(0,0,0,0.18), 0 0 0 10px rgba(220,38,38,0); }
}

/* Dismiss (hide) animation */
.admissions-flash-banner.af-hiding {
    animation: af-exit 0.38s ease forwards !important;
}
@keyframes af-exit {
    to { opacity:0; transform: translateY(-10px) scale(0.9); }
}

/* Expanding ring pseudo-element */
.af-ring {
    position: absolute;
    inset: -3px;
    border-radius: 999px;
    border: 1.5px solid rgba(255,255,255,0.42);
    animation: af-ring 2.8s ease-in-out 1.2s infinite;
    pointer-events: none;
}
@keyframes af-ring {
    0%,100% { transform: scale(1);    opacity: 0.55; }
    50%      { transform: scale(1.18); opacity: 0;    }
}

/* Live dot */
.af-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.9;
    flex-shrink: 0;
    animation: af-dot-blink 1.6s ease-in-out infinite;
}
@keyframes af-dot-blink {
    0%,100% { opacity:0.9; transform:scale(1); }
    50%      { opacity:0.4; transform:scale(0.6); }
}

.af-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

/* Dismiss button */
.af-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.18);
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    padding: 0;
    cursor: pointer;
    color: #fff;
    flex-shrink: 0;
    transition: background 0.18s;
}
.af-close:hover  { background: rgba(255,255,255,0.34); }
.af-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.af-close svg { width: 10px; height: 10px; display: block; }

/* Hover � pause animation, slight lift */
.admissions-flash-banner:hover {
    animation-play-state: paused;
    box-shadow: 0 8px 28px rgba(220,38,38,0.55), 0 4px 12px rgba(0,0,0,0.22);
    color:#fff;
}

/* Tablet / large phones — position above chatbot FAB */
@media (max-width: 768px) {
    .admissions-flash-banner {
        top: auto;
        bottom: 90px;
        right: 14px;
        padding: 8px 12px 8px 10px;
        font-size: 13px;
    }
    .af-text { max-width: 180px; }
}

/* Mobile */
@media (max-width: 600px) {
    .admissions-flash-banner {
        bottom: 340px;
        right: 14px;
        font-size: 12.5px;
        padding: 8px 12px 8px 10px;
    }
    .af-text { max-width: 160px; }
}

/* Very small screens */
@media (max-width: 380px) {
    .admissions-flash-banner {
        bottom: 86px;
        right: 8px;
        font-size: 11.5px;
        padding: 7px 10px 7px 9px;
        gap: 6px;
    }
    .af-dot {
        width: 6px;
        height: 6px;
    }
    .af-close {
        width: 18px;
        height: 18px;
    }
}

/* ═══════════════════════════════════════════════════════════
   CMS FORM RENDERER — Modern styled fields
   Classes applied in resources/views/components/form-renderer.blade.php
   ═══════════════════════════════════════════════════════════ */

.cf-field {
    margin-bottom: 1.25rem;
}

.cf-label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 0.375rem;
    letter-spacing: 0.01em;
}

.cf-required {
    color: #dc2626;
    margin-left: 0.2rem;
}

.cf-input,
.cf-textarea,
.cf-select {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1.5px solid #d1d5db;
    border-radius: 0.5rem;
    background: #fff;
    color: #111827;
    font-size: 0.9375rem;
    line-height: 1.5;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.cf-input:focus,
.cf-textarea:focus,
.cf-select:focus {
    outline: none;
    border-color: #8a2945;
    box-shadow: 0 0 0 3px rgba(138, 41, 69, 0.15);
}

.cf-input::placeholder,
.cf-textarea::placeholder {
    color: #9ca3af;
}

.cf-textarea {
    min-height: 8rem;
    resize: vertical;
}

.cf-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.cf-file {
    width: 100%;
    padding: 0.5rem;
    border: 1.5px dashed #d1d5db;
    border-radius: 0.5rem;
    background: #f9fafb;
    font-size: 0.875rem;
    cursor: pointer;
    box-sizing: border-box;
}

.cf-file:hover {
    border-color: #8a2945;
    background: #fdf3f6;
}

.cf-radio-group,
.cf-check-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    padding: 0.25rem 0;
}

.cf-radio-item,
.cf-check-item {
    display: inline-flex;
    align-items: center;
    gap: 0.425rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.cf-radio-item input[type="radio"],
.cf-check-item input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: #8a2945;
    cursor: pointer;
}

.cf-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #8a2945 0%, #c63b61 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 0.5rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: opacity 0.18s ease, transform 0.14s ease, box-shadow 0.18s ease;
    box-shadow: 0 4px 14px rgba(138, 41, 69, 0.28);
    margin-top: 0.5rem;
}

.cf-submit:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(138, 41, 69, 0.38);
}

.cf-submit:active {
    transform: translateY(0);
    opacity: 0.97;
}

.cf-feedback {
    padding: 0.85rem 1.1rem;
    border-radius: 0.5rem;
    border: 2px solid transparent;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.cf-feedback--success {
    border-color: #86efac;
    background: #f0fdf4;
    color: #14532d;
}

.cf-feedback--error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #7f1d1d;
}

.cf-step-indicator {
    font-weight: 600;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.cf-step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1rem 0;
}

.cf-step-nav {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.cf-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1.25rem;
    background: transparent;
    color: #6b7280;
    font-size: 0.9375rem;
    font-weight: 600;
    border: 1.5px solid #d1d5db;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease;
}

.cf-back:hover {
    border-color: #8a2945;
    color: #8a2945;
}

/* ═══════════════════════════════════════════════════════════
   CMS CONTENT TYPOGRAPHY NORMALIZER
   Used via <div class="cms-content">{!! $html !!}</div>
   Ensures consistent, left-aligned, readable output regardless
   of content source (WYSIWYG editor, Word paste, Google Docs).
   ═══════════════════════════════════════════════════════════ */

.cms-content {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text-primary);
    overflow-wrap: break-word;
    word-break: break-word;
    min-width: 0;
}

/* ── Headings ── */
.cms-content h1,
.cms-content h2,
.cms-content h3,
.cms-content h4,
.cms-content h5,
.cms-content h6 {
    margin-top: 1.4em;
    margin-bottom: 0.45em;
    line-height: 1.25;
    color: var(--color-primary);
    font-family: var(--font-heading);
    text-align: left;
}
.cms-content h1:first-child,
.cms-content h2:first-child,
.cms-content h3:first-child,
.cms-content h4:first-child {
    margin-top: 0;
}
.cms-content h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cms-content h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.cms-content h3 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
.cms-content h4 { font-size: 1.1rem; }
.cms-content h5 { font-size: 1rem; }
.cms-content h6 { font-size: 0.9rem; color: var(--color-text-secondary); }

/* ── Paragraphs ── */
.cms-content p {
    margin-top: 0;
    margin-bottom: 1em;
    line-height: 1.75;
    /* Override inline text-align from Word / Google Docs paste */
    text-align: left !important;
}
.cms-content p:last-child {
    margin-bottom: 0;
}

/* ── Lists ── */
.cms-content ul,
.cms-content ol {
    margin-top: 0;
    margin-bottom: 1em;
    padding-left: 1.5em;
}
.cms-content ul { list-style: disc; }
.cms-content ol { list-style: decimal; }
.cms-content li {
    margin-bottom: 0.35em;
    line-height: 1.65;
    text-align: left !important;
}
.cms-content li:last-child { margin-bottom: 0; }
/* Nested lists */
.cms-content ul ul,
.cms-content ol ol,
.cms-content ul ol,
.cms-content ol ul {
    margin-top: 0.35em;
    margin-bottom: 0.35em;
}

/* ── Links ── */
.cms-content a {
    color: var(--color-link);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}
.cms-content a:hover {
    color: var(--color-accent);
}

/* ── Emphasis ── */
.cms-content strong { font-weight: 700; }
.cms-content em { font-style: italic; }

/* ── Blockquote ── */
.cms-content blockquote {
    margin: 1.25em 0;
    padding: 0.75em 1.25em;
    border-left: 4px solid var(--color-accent);
    background: var(--color-bg-secondary);
    border-radius: 0 6px 6px 0;
    color: var(--color-text-secondary);
    font-style: italic;
}
.cms-content blockquote p { margin-bottom: 0; text-align: left !important; }

/* ── Inline code & pre ── */
.cms-content code {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 0.15em 0.4em;
    font-size: 0.875em;
    font-family: 'Courier New', Courier, monospace;
}
.cms-content pre {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1em 1.25em;
    overflow-x: auto;
    margin: 0 0 1em;
}
.cms-content pre code {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.875rem;
}

/* ── Tables ── */
.cms-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
    font-size: 0.94rem;
    overflow-x: auto;
    display: block;
}
.cms-content thead th {
    background: var(--color-bg-secondary);
    font-weight: 700;
    color: var(--color-text-primary);
    padding: 0.65em 0.85em;
    text-align: left;
    border-bottom: 2px solid var(--color-border);
    white-space: nowrap;
}
.cms-content tbody td {
    padding: 0.6em 0.85em;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}
.cms-content tbody tr:last-child td { border-bottom: none; }
.cms-content tbody tr:nth-child(even) td { background: #fafafa; }

/* ── Images ── */
.cms-content img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    margin: 0.75em 0;
}

/* ── Horizontal rule ── */
.cms-content hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 1.5em 0;
}

/* ── Word / Google Docs paste normalization ──
   Override injected inline font-size, font-family, line-height,
   and colour values that break visual consistency.             */
.cms-content span[style*="font-size"],
.cms-content p[style*="font-size"],
.cms-content div[style*="font-size"] {
    font-size: inherit !important;
}
.cms-content span[style*="font-family"],
.cms-content p[style*="font-family"],
.cms-content div[style*="font-family"] {
    font-family: inherit !important;
}
.cms-content span[style*="line-height"],
.cms-content p[style*="line-height"] {
    line-height: inherit !important;
}
.cms-content span[style*="color"],
.cms-content p[style*="color"] {
    color: inherit !important;
}

/* Suppress blank spacer paragraphs from Word export */
.cms-content p:empty {
    display: none;
}
/* Suppress triple-br spacers from Word */
.cms-content br + br + br {
    display: none;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .cms-content {
        font-size: 0.9375rem;
    }
    .cms-content h1 { font-size: 1.5rem; }
    .cms-content h2 { font-size: 1.25rem; }
    .cms-content h3 { font-size: 1.1rem; }
    .cms-content table { font-size: 0.875rem; }
    .cms-content ul,
    .cms-content ol {
        padding-left: 1.25em;
    }
}

/* =======================================================================
   Page Loader
   ======================================================================= */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: opacity 0.45s ease, visibility 0.45s ease;
    opacity: 1;
    visibility: visible;
}

.page-loader--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.page-loader__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.page-loader__logo-wrap {
    animation: loader-pulse 1.6s ease-in-out infinite;
}

.page-loader__logo {
    display: block;
    max-width: 120px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
}

.page-loader__bar {
    width: 160px;
    height: 3px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 99px;
    overflow: hidden;
}

.page-loader__bar-fill {
    height: 100%;
    width: 40%;
    background: var(--brand-600, #b91c5a);
    border-radius: 99px;
    animation: loader-bar 1.4s ease-in-out infinite;
}

@keyframes loader-pulse {
    0%, 100% { transform: scale(1);   opacity: 1; }
    50%       { transform: scale(1.07); opacity: 0.85; }
}

@keyframes loader-bar {
    0%   { transform: translateX(-100%); }
    60%  { transform: translateX(250%); }
    100% { transform: translateX(250%); }
}

/* =======================================================================
   Awards & Recognition
   ======================================================================= */
.awards-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

.awards-section__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.awards-section__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem;
}

.awards-section__subtitle {
    font-size: 1rem;
    color: #64748b;
    max-width: 560px;
    margin: 0 auto;
}

.awards-section__empty {
    text-align: center;
    padding: 3rem;
    color: #94a3b8;
    font-size: 1rem;
}

.awards-year-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #475569;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
    margin: 2.5rem 0 1.25rem;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.award-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.award-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

.award-card__image-wrap {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f8fafc;
}

.award-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.award-card:hover .award-card__image {
    transform: scale(1.04);
}

.award-card__image-placeholder {
    aspect-ratio: 4 / 3;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
}

.award-card__body {
    padding: 1.25rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.award-card__year {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #b91c5a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: #fdf2f8;
    border: 1px solid #fbcfe8;
    border-radius: 999px;
    padding: 0.15em 0.7em;
    align-self: flex-start;
}

.award-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
    margin: 0;
}

.award-card__description {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 640px) {
    .awards-section {
        padding: 2rem 1rem 3rem;
    }
    .awards-grid {
        grid-template-columns: 1fr;
    }
}
