/* ── Design tokens (generic — all member pages) ── */
:root {
    --brand-navy:        #0c2340;
    --brand-navy-soft:   #1a3a5c;
    --brand-steel:       #3d6a8c;
    --brand-gold:        #b8975a;
    --brand-gold-light:  #d4bc8e;

    --page-bg:           #ffffff;
    --header-bg:         #ffffff;
    --chrome-bg:         var(--brand-navy);

    --text-primary:      #1e293b;
    --text-secondary:    #64748b;
    --text-on-dark:      rgba(255, 255, 255, 0.88);
    --text-on-dark-muted:rgba(255, 255, 255, 0.58);

    --border-subtle:     #e8ecf1;
    --border-header:     #d4dce6;

    --header-padding-y:  2rem;
    --header-avatar-size:72px;
    --header-name-size:  1.625rem;

    --font-sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-serif: "Source Serif 4", "Georgia", "Times New Roman", serif;
}

html {
    height: 100%;
}

body.member-profile {
    background: var(--page-bg);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ── Preview banner ── */
.preview-banner {
    background: #e8a838;
    color: var(--brand-navy);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}

/* ── Sticky chrome: topbar + identity/nav stick together ── */
.profile-chrome {
    z-index: 1030;
    background: var(--header-bg);
}

/* ── Top utility bar (dark chrome) ── */
.profile-topbar {
    background: var(--chrome-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8125rem;
    color: var(--text-on-dark-muted);
    padding: 0.6rem 0;
    flex-shrink: 0;
}

.profile-topbar .contact-item i {
    color: var(--brand-gold-light);
    font-size: 0.75rem;
}

.profile-topbar a {
    color: var(--text-on-dark);
    text-decoration: none;
    transition: color 0.15s ease;
}

.profile-topbar a:hover {
    color: #fff;
}

.profile-topbar .contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.profile-topbar .contact-item + .contact-item::before {
    content: "";
    display: inline-block;
    width: 1px;
    height: 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 0.85rem;
    vertical-align: middle;
}

.profile-topbar .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    color: var(--text-on-dark);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.profile-topbar .social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--brand-gold-light);
    color: #fff;
}

.profile-topbar .lang-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.55rem;
    border-radius: 2px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.15s ease;
}

.profile-topbar .lang-badge.active {
    background: var(--brand-gold);
    color: var(--brand-navy);
    border-color: var(--brand-gold);
}

.profile-topbar .lang-badge:not(.active) {
    background: transparent;
    color: var(--text-on-dark-muted);
    border-color: rgba(255, 255, 255, 0.22);
}

.profile-topbar .lang-badge:not(.active):hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.profile-topbar .topbar-divider {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 0.35rem;
}

/* ── Main header ── */
.profile-header {
    background: var(--header-bg);
    border-bottom: 1px solid var(--border-header);
    flex-shrink: 0;
    position: relative;
}

.profile-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--brand-navy);
}

.profile-header::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 3px;
    height: 1px;
    background: var(--brand-gold);
    z-index: 1;
}

.profile-header .navbar {
    padding-top: var(--header-padding-y);
    padding-bottom: var(--header-padding-y);
    padding-left: 0;
    padding-right: 0;
}

.profile-identity {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    min-width: 0;
}

.profile-identity-home {
    flex-shrink: 0;
    line-height: 0;
    text-decoration: none;
    border-radius: 50%;
    transition: opacity 0.15s ease;
}

.profile-identity-home:hover {
    opacity: 0.88;
}

.profile-avatar {
    width: var(--header-avatar-size);
    height: var(--header-avatar-size);
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border-subtle);
}

.profile-avatar-placeholder {
    width: var(--header-avatar-size);
    height: var(--header-avatar-size);
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--brand-navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.profile-identity > div:last-child {
    min-width: 0;
    padding: 0.2rem 0;
}

.profile-name {
    font-size: var(--header-name-size);
    font-weight: 700;
    color: var(--brand-navy);
    line-height: 1.25;
    margin: 0;
    letter-spacing: -0.02em;
}

.profile-name-link {
    color: inherit;
    text-decoration: none;
}

.profile-name-link:hover {
    color: var(--brand-steel);
}

.profile-title {
    font-size: 0.9375rem;
    color: var(--brand-steel);
    font-weight: 500;
    margin: 0.4rem 0 0;
    line-height: 1.4;
}

.profile-affiliation {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0.3rem 0 0;
    line-height: 1.5;
}

/* ── Navigation ── */
.profile-nav .navbar-nav {
    gap: 0.15rem;
}

.profile-nav .nav-link {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 0.95rem;
    border-radius: 0;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.profile-nav .nav-link:hover {
    color: var(--brand-navy);
    border-bottom-color: var(--border-header);
}

.profile-nav .nav-link.active {
    color: var(--brand-navy);
    border-bottom-color: var(--brand-gold);
    font-weight: 600;
}

.profile-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-left: auto;
    flex-shrink: 0;
    align-self: center;
    border: 0;
    background: transparent;
    color: var(--brand-navy);
    padding: 0.4rem 0.15rem 0.4rem 0.5rem;
    border-radius: 0.25rem;
    line-height: 1;
    box-shadow: none;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.profile-menu-toggle:hover,
.profile-menu-toggle:focus-visible {
    color: var(--brand-steel);
    background: rgba(12, 35, 64, 0.05);
    box-shadow: none;
    outline: none;
}

.profile-menu-toggle:focus-visible {
    outline: 2px solid rgba(61, 106, 140, 0.45);
    outline-offset: 2px;
}

.profile-menu-toggle__text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-menu-toggle__bars {
    position: relative;
    width: 1.15rem;
    height: 0.8rem;
    display: block;
}

.profile-menu-toggle__bars span {
    position: absolute;
    left: 0;
    right: 0;
    height: 1.5px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.profile-menu-toggle__bars span:nth-child(1) { top: 0; }
.profile-menu-toggle__bars span:nth-child(2) { top: calc(50% - 0.75px); }
.profile-menu-toggle__bars span:nth-child(3) { top: calc(100% - 1.5px); }

.profile-menu-toggle[aria-expanded="true"] .profile-menu-toggle__bars span:nth-child(1) {
    top: calc(50% - 0.75px);
    transform: rotate(45deg);
}

.profile-menu-toggle[aria-expanded="true"] .profile-menu-toggle__bars span:nth-child(2) {
    opacity: 0;
}

.profile-menu-toggle[aria-expanded="true"] .profile-menu-toggle__bars span:nth-child(3) {
    top: calc(50% - 0.75px);
    transform: rotate(-45deg);
}

/* ── Content ── */
.profile-content {
    padding: 0 0 2.5rem;
    flex: 1 0 auto;
    background: var(--page-bg);
}

.block-wall {
    display: flex;
    flex-direction: column;
}

.block-wall__row {
    /* Full-bleed band while content stays aligned to .container */
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 2.5rem max(0.75rem, calc(50vw - 50%));
    box-sizing: border-box;
}

.block-wall__row--tone-0 {
    background: #ffffff;
}

.block-wall__row--tone-1 {
    background: #f3f6f9;
}

.block-wall__row + .block-wall__row {
    margin-top: 0;
    padding-top: 2.5rem;
    border-top: none;
}
.block-wall__row--grid12 {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.block-wall__row--grid12 > .block-wall__item {
    grid-column: span var(--col-span, 12);
}

.block-wall__item {
    min-width: 0;
}

.block-wall__item--gallery {
    width: 100%;
}

.block-wall__item + .block-wall__item {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.block-wall__row--grid12 .block-wall__item + .block-wall__item {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

@media (max-width: 767.98px) {
    .block-wall__row--grid12 {
        grid-template-columns: 1fr;
    }

    .block-wall__row--grid12 > .block-wall__item {
        grid-column: 1 / -1;
    }
}

.block-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin: 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
}

/* Heading + following content in same row: tight stack */
.block-wall__row--grid12:has(> .block-wall__item--heading) {
    gap: 0.85rem;
}

/* Heading alone in a row: pull next row closer */
.block-wall__row:has(> .block-wall__item--heading:only-child) {
    padding-bottom: 0.5rem;
}

.block-wall__row:has(> .block-wall__item--heading:only-child) + .block-wall__row {
    padding-top: 0.75rem;
}

.block-title {
    margin: 0 0 0.85rem;
    padding: 0;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.35;
    color: var(--brand-navy);
}

.block-title::after {
    content: "";
    display: block;
    width: 1.75rem;
    height: 2px;
    margin-top: 0.45rem;
    background: var(--brand-gold);
}

.block-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.block-list__section + .block-list__section {
    padding-top: 0.15rem;
}

/* When the list has no block public title, section headings act as column titles */
.block-wall__item--list:not(:has(> .block-title)) .block-list__heading {
    margin: 0 0 0.85rem;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.35;
    color: var(--brand-navy);
}

.block-wall__item--list:not(:has(> .block-title)) .block-list__heading::after {
    content: "";
    display: block;
    width: 1.75rem;
    height: 2px;
    margin-top: 0.45rem;
    background: var(--brand-gold);
}

/* Sub-headings under a block title (e.g. Organising Chair under Chair) */
.block-wall__item--list:has(> .block-title) .block-list__heading {
    margin: 0 0 0.55rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
    text-transform: none;
    color: var(--brand-navy);
}

.block-list__items {
    margin: 0;
    padding: 0;
    list-style: none;
}

.block-list__items li {
    position: relative;
    margin: 0;
    padding: 0.4rem 0 0.4rem 0.95rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(12, 35, 64, 0.06);
}

.block-list__items li:last-child {
    border-bottom: none;
}

.block-list__items li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.95rem;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: var(--brand-gold);
}

.block-pubs {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.block-pubs__tabs {
    flex-wrap: wrap;
    gap: 0.35rem;
    border-bottom: 1px solid rgba(12, 35, 64, 0.12);
    margin-bottom: 1.25rem;
}

.block-pubs__tabs .nav-link {
    margin-bottom: -1px;
    border: 1px solid transparent;
    border-radius: 0.4rem 0.4rem 0 0;
    padding: 0.55rem 0.9rem;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--brand-steel);
    background: transparent;
}

.block-pubs__tabs .nav-link:hover {
    color: var(--brand-navy);
    border-color: transparent;
}

.block-pubs__tabs .nav-link.active {
    color: var(--brand-navy);
    background: #fff;
    border-color: rgba(12, 35, 64, 0.12) rgba(12, 35, 64, 0.12) #fff;
}

.block-pubs__count {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.05rem 0.4rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--brand-steel);
    background: rgba(61, 106, 140, 0.1);
    border-radius: 999px;
    vertical-align: middle;
}

.block-pubs__tabs .nav-link.active .block-pubs__count {
    color: var(--brand-navy);
    background: rgba(184, 151, 90, 0.2);
}

.block-pubs__panels {
    min-height: 2rem;
}

.block-pubs__year {
    margin-bottom: 1.25rem;
}

.block-pubs__year:last-child {
    margin-bottom: 0;
}

.block-pubs__year-title {
    margin: 0 0 0.55rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
    text-transform: none;
    color: var(--brand-navy);
}

.block-pubs__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.block-pubs__item {
    margin: 0;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(12, 35, 64, 0.06);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--text-primary);
}

.block-pubs__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.block-pubs__authors {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--text-secondary, #4a5568);
    font-size: 0.9rem;
}

.block-pubs__title {
    display: block;
    font-weight: 600;
    color: var(--brand-navy);
    text-decoration: none;
}

a.block-pubs__title:hover {
    text-decoration: underline;
}

.block-pubs__meta {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.875rem;
    font-style: italic;
    color: var(--text-muted, #6b7280);
}

@media (max-width: 575.98px) {
    .block-pubs__tabs {
        gap: 0.25rem;
    }

    .block-pubs__tabs .nav-link {
        padding: 0.45rem 0.65rem;
        font-size: 0.75rem;
    }
}

.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin: 2rem 0 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
}

.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr));
    gap: 0.75rem;
    width: 100%;
    align-items: start;
}

.photo-gallery-grid--single {
    grid-template-columns: 1fr;
}

.photo-gallery-grid--duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.photo-gallery-item {
    margin: 0;
    min-width: 0;
}

.photo-gallery-thumb {
    cursor: zoom-in;
    display: block;
    width: 100%;
    border-radius: 0.35rem;
    overflow: hidden;
    line-height: 0;
    background: var(--border-subtle, #e8eef3);
}

.photo-gallery-thumb img {
    width: 100%;
    height: auto;
    max-height: min(70vh, 36rem);
    object-fit: contain;
    object-position: center top;
    display: block;
    vertical-align: top;
    transition: opacity 0.15s ease;
}

.photo-gallery-grid:not(.photo-gallery-grid--single) .photo-gallery-thumb img {
    max-height: min(50vh, 22rem);
}

.photo-gallery-thumb:hover img {
    opacity: 0.92;
}

.photo-gallery-item figcaption {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.35rem;
    line-height: 1.35;
}

.profile-card {
    max-width: none;
    width: 100%;
}

.profile-rich-text {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--text-primary);
    max-width: none;
    width: 100%;
}

.profile-rich-text p {
    margin-bottom: 1.15rem;
}

.profile-rich-text p:last-child {
    margin-bottom: 0;
}

.profile-rich-text h2,
.profile-rich-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-navy);
    margin: 1.75rem 0 0.75rem;
}

.profile-rich-text h2:first-child,
.profile-rich-text h3:first-child {
    margin-top: 0;
}

.profile-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
    letter-spacing: -0.02em;
}

.profile-card h2::after {
    content: none;
}

.profile-card .lead {
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    font-weight: inherit;
}

.profile-rich-text p:last-child {
    margin-bottom: 0;
}

.profile-rich-text ul,
.profile-rich-text ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.profile-rich-text a {
    color: var(--brand-steel);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.profile-rich-text a:hover {
    color: var(--brand-navy);
}

.profile-rich-text .ql-align-center {
    text-align: center;
}

.profile-rich-text .ql-align-right {
    text-align: right;
}

.profile-rich-text .ql-align-justify {
    text-align: justify;
}

.profile-card .text-placeholder {
    color: var(--text-secondary);
    font-style: italic;
}

/* ── Footer ── */
.profile-footer {
    background: var(--chrome-bg);
    border-top: 3px solid var(--brand-gold);
    padding: 1.2rem 0;
    font-size: 0.8125rem;
    color: var(--text-on-dark-muted);
    flex-shrink: 0;
}

.profile-footer a {
    color: var(--text-on-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.profile-footer a:hover {
    color: var(--brand-gold-light);
}

.profile-footer .lang-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.55rem;
    border-radius: 2px;
    text-decoration: none;
    border: 1px solid transparent;
}

.profile-footer .lang-badge.active {
    background: var(--brand-gold);
    color: var(--brand-navy);
    border-color: var(--brand-gold);
}

.profile-footer .lang-badge:not(.active) {
    background: transparent;
    color: var(--text-on-dark-muted);
    border-color: rgba(255, 255, 255, 0.22);
}

.profile-footer .lang-badge:not(.active):hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}

.profile-footer-copy {
    color: var(--text-on-dark-muted);
    white-space: nowrap;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
    :root {
        --header-padding-y:  1.85rem;
        --header-avatar-size: 64px;
        --header-name-size:  1.45rem;
    }

    .profile-header .navbar {
        flex-wrap: wrap;
        align-items: center;
        row-gap: 0;
    }

    .profile-identity {
        flex: 1 1 auto;
        max-width: calc(100% - 5.5rem);
        gap: 1rem;
    }

    .profile-nav .navbar-collapse {
        flex-basis: 100%;
        margin-top: 0.85rem;
        padding: 0.35rem 0 0.15rem;
        border-top: 1px solid var(--border-subtle);
    }

    .profile-nav .navbar-nav {
        align-items: stretch !important;
        width: 100%;
        gap: 0;
    }

    .profile-nav .nav-link {
        text-align: left;
        padding: 0.8rem 0.15rem;
        border-bottom: 1px solid var(--border-subtle);
        border-radius: 0;
    }

    .profile-nav .nav-item:last-child .nav-link {
        border-bottom: 0;
    }

    .profile-nav .nav-link.active {
        border-bottom-color: var(--border-subtle);
        box-shadow: inset 3px 0 0 var(--brand-gold);
        padding-left: 0.65rem;
    }

    .profile-nav .nav-link:hover {
        border-bottom-color: var(--border-subtle);
        color: var(--brand-navy);
    }
}

@media (max-width: 575.98px) {
    :root {
        --header-padding-y:  1.5rem;
        --header-avatar-size: 56px;
        --header-name-size:  1.25rem;
    }

    .profile-topbar .contact-item + .contact-item::before {
        display: none;
    }

    .profile-topbar .contact-list {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.25rem;
    }

    .profile-content {
        padding: 0 0 2rem;
    }

    .block-wall__row {
        padding-top: 1.75rem;
        padding-bottom: 1.75rem;
    }
}

/* ── Blog template (contained journal) ── */
.blog-shell {
    --blog-ink: #0a2a3a;
    --blog-sea: #1e5a6e;
    --blog-mist: #e6f0f3;
    width: 100%;
    background:
        linear-gradient(180deg, #eef4f7 0%, var(--blog-mist) 35%, #f7fafb 100%);
    padding: 0 0 1.5rem;
}

.blog-head {
    /* Full-bleed band; title stays aligned to .container */
    display: flex;
    align-items: center;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0.7rem max(0.75rem, calc(50vw - 50%));
    box-sizing: border-box;
    background: linear-gradient(105deg, #123a4a 0%, #1e5a6e 55%, #2a6f7a 100%);
    border-bottom: 2px solid var(--brand-gold);
}

.blog-head__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem 0.85rem;
    width: 100%;
}

.blog-kicker {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-gold-light);
    padding: 0.15rem 0.45rem;
    border: 1px solid rgba(212, 188, 142, 0.4);
}

.blog-page-title {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    letter-spacing: -0.01em;
}

.blog-feed {
    width: 100%;
    padding: 0.75rem 1rem 1rem;
}

.blog-empty {
    margin: 1.75rem 0;
    text-align: center;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.blog-entry {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem 1.25rem;
    padding: 1.35rem 0.25rem;
    border-bottom: 1px solid rgba(30, 90, 110, 0.12);
    animation: blog-entry-in 0.4s ease both;
    animation-delay: calc(var(--entry-i, 0) * 0.04s);
}

.blog-entry--has-cover {
    grid-template-columns: 7.5rem minmax(0, 1fr);
    align-items: start;
}

.blog-entry__media {
    display: block;
    overflow: hidden;
    width: 7.5rem;
    height: 5.5rem;
    background: #dce8ec;
}

.blog-entry__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.blog-entry:hover .blog-entry__media img {
    transform: scale(1.03);
}

.blog-entry__date {
    display: block;
    margin-bottom: 0.25rem;
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blog-sea);
}

.blog-entry__title {
    margin: 0 0 0.35rem;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.blog-entry__title a {
    color: var(--blog-ink);
    text-decoration: none;
    transition: color 0.15s ease;
}

.blog-entry__title a:hover {
    color: var(--blog-sea);
}

.blog-entry__excerpt {
    margin: 0 0 0.5rem;
    color: #5a6b74;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    line-height: 1.5;
}

.blog-entry__more {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--blog-sea);
    text-decoration: none;
    border-bottom: 1px solid rgba(184, 151, 90, 0.5);
    padding-bottom: 0.05rem;
    transition: color 0.15s ease, gap 0.2s ease;
}

.blog-entry__more:hover {
    color: var(--brand-gold);
    gap: 0.5rem;
}

@keyframes blog-entry-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-post {
    background: #fff;
    padding-bottom: 1.5rem;
}

.blog-post__hero {
    position: relative;
    width: 100%;
    max-width: 22rem;
    max-height: 14rem;
    overflow: hidden;
    background: var(--blog-ink);
    margin-bottom: 1rem;
}

.blog-post__hero-img {
    width: 100%;
    height: 14rem;
    object-fit: cover;
    display: block;
}

.blog-post__hero-shade {
    display: none;
}

.blog-post__inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
}

.blog-post__inner--after-hero {
    margin-top: 0;
    border-top: none;
    box-shadow: none;
}

.blog-post__back {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--blog-sea);
    text-decoration: none;
}

.blog-post__back:hover {
    color: var(--blog-ink);
}

.blog-post__date {
    display: block;
    margin-bottom: 0.35rem;
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blog-sea);
}

.blog-post__title {
    margin: 0 0 1rem;
    font-family: var(--font-sans);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--blog-ink);
}

.blog-post__content {
    max-width: none;
    font-family: var(--font-sans);
    font-size: 0.975rem;
    line-height: 1.65;
    color: var(--text-primary);
}

.blog-post__content .profile-rich-text,
.blog-post__content.profile-rich-text {
    font-size: inherit;
    line-height: inherit;
}

.blog-post__content p + p {
    margin-top: 0.85rem;
}

.blog-post__content h2,
.blog-post__content h3 {
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--blog-ink);
    margin-top: 1.35rem;
    margin-bottom: 0.5rem;
}

.blog-post__content h2 {
    font-size: 1.15rem;
}

.blog-post__content h3 {
    font-size: 1.05rem;
}

@media (max-width: 575.98px) {
    .blog-entry--has-cover {
        grid-template-columns: 5.5rem minmax(0, 1fr);
    }

    .blog-entry__media {
        width: 5.5rem;
        height: 4.25rem;
    }

    .blog-post__hero,
    .blog-post__hero-img {
        max-width: 100%;
        height: 11rem;
        max-height: 11rem;
    }
}

