:root {
    --bg: #f4efe6;
    --panel: #fffdf8;
    --panel-strong: #f8f1e4;
    --text: #1f1a17;
    --muted: #6f655b;
    --line: rgba(31, 26, 23, 0.08);
    --accent: #8b6a38;
    --accent-strong: #1f1a17;
    --shadow: 0 22px 70px rgba(31, 26, 23, 0.08);
    --radius-xl: 32px;
    --radius-lg: 22px;
    --radius-md: 16px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(139, 106, 56, 0.12), transparent 28%),
        linear-gradient(180deg, #f9f4ec 0%, var(--bg) 100%);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.wrap {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    padding: 28px 0 20px;
}

.site-header--compact {
    padding-bottom: 0;
}

.site-header__inner,
.site-footer__inner,
.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.page-shell,
.admin-shell {
    padding-bottom: 56px;
}

.eyebrow {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 14px;
    font-size: clamp(40px, 7vw, 72px);
    line-height: 0.95;
}

h2 {
    margin-bottom: 10px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.02;
}

.lede,
.hero-block__intro,
.card p,
.ceremony-panel p,
.flash {
    font-family: "Segoe UI", sans-serif;
    line-height: 1.7;
    color: var(--muted);
}

.search-panel,
.single-sheet,
.login-card,
.form-card,
.table-card {
    background: rgba(255, 253, 248, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.search-panel,
.login-card,
.form-card,
.table-card,
.single-sheet {
    padding: 28px;
}

.search-form {
    display: flex;
    gap: 12px;
}

.search-form input,
.admin-form input,
.admin-form textarea,
.admin-form button,
.search-form button {
    font: inherit;
}

.search-form input,
.admin-form input,
.admin-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(31, 26, 23, 0.14);
    border-radius: 14px;
    background: #fff;
}

.search-form button,
.admin-form button,
.primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: var(--accent-strong);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.ghost-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(31, 26, 23, 0.14);
    background: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.card {
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.card__image-link {
    display: block;
    aspect-ratio: 4 / 5;
    background: linear-gradient(135deg, #d9c5a1, #f5ead5);
}

.card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card__placeholder,
.hero-block__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: var(--accent);
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.card__body {
    padding: 24px;
}

.primary-link {
    margin-top: 14px;
}

.single-sheet {
    margin-top: 24px;
}

.hero-block {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 28px;
    align-items: center;
}

.hero-block__media {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #d9c5a1, #f5ead5);
    min-height: 420px;
}

.hero-block__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.detail-pill,
.condolence-box {
    padding: 18px;
    background: var(--panel-strong);
    border-radius: var(--radius-md);
}

.detail-pill span {
    display: block;
    margin-bottom: 8px;
    font: 700 11px/1 "Segoe UI", sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
}

.ceremony-panel {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 24px;
    margin-top: 26px;
}

.site-footer {
    padding: 0 0 36px;
}

.site-footer__inner {
    padding: 20px 24px;
    background: rgba(255, 253, 248, 0.82);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    font: 500 14px/1.5 "Segoe UI", sans-serif;
    color: var(--muted);
}

.admin-body {
    min-height: 100vh;
}

.admin-shell {
    padding-top: 28px;
}

.login-card {
    max-width: 480px;
    margin: 40px auto 0;
}

.admin-actions {
    display: flex;
    gap: 12px;
}

.admin-form {
    display: grid;
    gap: 16px;
}

.admin-form--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-form label {
    display: grid;
    gap: 8px;
    font: 600 14px/1.4 "Segoe UI", sans-serif;
}

.admin-form__full {
    grid-column: 1 / -1;
}

.flash {
    margin: 16px 0;
    padding: 14px 16px;
    border-radius: 14px;
}

.flash--error {
    background: rgba(147, 21, 21, 0.08);
    color: #7d1d1d;
}

.flash--success {
    background: rgba(24, 110, 62, 0.09);
    color: #1f6a3d;
}

.table-card {
    margin-top: 22px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font: 500 14px/1.5 "Segoe UI", sans-serif;
}

.admin-table th,
.admin-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.ofc-archive-page {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0 72px;
}

.ofc-archive-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
    gap: 28px;
    align-items: stretch;
    margin-bottom: 28px;
}

.ofc-archive-hero__content,
.ofc-archive-hero__panel,
.ofc-archive-toolbar,
.ofc-archive-empty {
    background: rgba(255, 253, 248, 0.96);
    border: 1px solid rgba(139, 106, 56, 0.16);
    border-radius: 28px;
    box-shadow: 0 24px 55px rgba(61, 43, 16, 0.08);
}

.ofc-archive-hero__content {
    padding: 42px;
    background:
        radial-gradient(circle at top right, rgba(201, 171, 112, 0.22), transparent 30%),
        linear-gradient(135deg, rgba(255, 251, 244, 0.96), rgba(248, 239, 223, 0.94));
}

.ofc-archive-kicker,
.ofc-archive-panel-label {
    margin: 0 0 14px;
    font: 700 12px/1.2 "Segoe UI", sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8b6a38;
}

.ofc-obituary-card__date-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: linear-gradient(135deg, rgba(139,106,56,0.10), rgba(139,106,56,0.06));
    border: 1px solid rgba(139,106,56,0.22);
    border-radius: 99px;
    font: 700 11px/1.2 "Segoe UI", sans-serif;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7a5c28;
    width: fit-content;
}

.ofc-obituary-card__date-badge svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    opacity: 0.8;
}

.ofc-obituary-card__meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 12px 14px;
    background: linear-gradient(135deg, rgba(139,106,56,0.07), rgba(139,106,56,0.03));
    border: 1px solid rgba(139,106,56,0.16);
    border-radius: 14px;
}

.ofc-obituary-card__meta-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font: 400 14px/1.45 "Segoe UI", sans-serif;
    color: #5a4a36;
}

.ofc-obituary-card__meta-item svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #8b6a38;
}

.ofc-obituary-card__meta-item--birth svg {
    color: #a07840;
}

.ofc-obituary-card__meta-item--death svg {
    color: #6a5040;
}

.ofc-archive-title {
    margin: 0;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 0.96;
    color: #2d2418;
}

.ofc-archive-lead,
.ofc-archive-panel-copy,
.ofc-archive-toolbar__copy,
.ofc-obituary-card__excerpt,
.ofc-archive-search-result p,
.ofc-archive-empty p {
    margin: 0;
    font: 400 18px/1.75 "Segoe UI", sans-serif;
    color: #6a5a4a;
}

.ofc-archive-lead {
    margin-top: 20px;
    max-width: 700px;
}

.ofc-archive-hero__panel {
    display: grid;
    align-content: center;
    padding: 34px 30px;
    background: linear-gradient(180deg, #2f2418 0%, #6f5430 100%);
    color: #fff8ed;
}

.ofc-archive-panel-label,
.ofc-archive-hero__panel .ofc-archive-panel-copy {
    color: rgba(255, 248, 237, 0.82);
}

.ofc-archive-panel-value {
    margin: 0;
    font-size: clamp(52px, 7vw, 88px);
    line-height: 0.9;
    color: #f7e7bf;
}

.ofc-archive-panel-copy {
    margin-top: 10px;
}

.ofc-archive-panel-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 46px;
    margin-top: 20px;
    padding: 0 20px;
    border-radius: 999px;
    background: #f4e6c1;
    color: #2f2418;
    font: 700 13px/1 "Segoe UI", sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

.ofc-archive-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 18px;
    align-items: center;
    margin-bottom: 22px;
    padding: 28px 30px;
}

.ofc-archive-toolbar__title {
    margin: 0 0 8px;
    font-size: clamp(26px, 3vw, 38px);
    color: #2d2418;
}

.ofc-archive-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.ofc-archive-search input {
    min-height: 54px;
    padding: 0 18px;
    border: 1px solid rgba(47, 36, 24, 0.15);
    border-radius: 999px;
    background: #fff;
    font: 500 15px/1.2 "Segoe UI", sans-serif;
}

.ofc-archive-search button {
    min-height: 54px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: #2f2418;
    color: #fff;
    font: 700 13px/1 "Segoe UI", sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.ofc-archive-search-result {
    margin-bottom: 18px;
    padding: 0 4px;
}

.ofc-obituary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ofc-obituary-card {
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
    background: rgba(255, 253, 248, 0.98);
    border: 1px solid rgba(139, 106, 56, 0.14);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(61, 43, 16, 0.08);
}

.ofc-obituary-card--featured {
    grid-column: span 2;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
    grid-template-rows: none;
}

.ofc-obituary-card__media {
    display: block;
    background: linear-gradient(135deg, #efe3ca, #f8f2e5);
    overflow: hidden;
}

.ofc-obituary-card--featured .ofc-obituary-card__media {
    min-height: 100%;
}

.ofc-obituary-card__media img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: fill !important;
    display: block !important;
}

.ofc-obituary-card__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font: 700 12px/1 "Segoe UI", sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8b6a38;
}

.ofc-obituary-card__body {
    display: grid;
    gap: 14px;
    padding: 28px;
}

.ofc-obituary-card__title {
    margin: 0;
    font-size: clamp(24px, 2.2vw, 38px);
    line-height: 1.02;
    color: #3b2b10;
}

.ofc-obituary-card__title a,
.ofc-obituary-card__link {
    text-decoration: none;
}

.ofc-obituary-card__footer {
    margin-top: auto;
    padding-top: 10px;
}

.ofc-obituary-card__link {
    font: 700 13px/1 "Segoe UI", sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8b6a38;
}

.ofc-archive-empty {
    padding: 36px;
    text-align: center;
}

.ofc-archive-empty h2 {
    margin-bottom: 10px;
    color: #2d2418;
}

.ofc-archive-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.ofc-archive-pagination__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.96);
    border: 1px solid rgba(139, 106, 56, 0.14);
    color: #3b2b10;
    text-decoration: none;
    font: 700 14px/1 "Segoe UI", sans-serif;
}

.ofc-archive-pagination__item.is-current {
    background: #2f2418;
    color: #fff;
    border-color: #2f2418;
}

.ofc-single-page {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    padding: 28px 0 72px;
}

.ofc-single-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 10px 16px;
    border: 1px solid rgba(139, 106, 56, 0.2);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.94);
    color: #5e4a2f;
    font: 700 12px/1 "Segoe UI", sans-serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
}

.ofc-single-back:hover {
    color: #2d2418;
    border-color: rgba(139, 106, 56, 0.35);
}

.ofc-single-hero {
    margin-bottom: 28px;
    padding: 40px 42px 30px;
    border: 1px solid rgba(139, 106, 56, 0.16);
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(201, 171, 112, 0.18), transparent 28%),
        linear-gradient(135deg, rgba(255, 251, 244, 0.98), rgba(247, 239, 226, 0.96));
    box-shadow: 0 24px 55px rgba(61, 43, 16, 0.07);
}

.ofc-single-kicker {
    margin: 0 0 12px;
    font: 700 12px/1.2 "Segoe UI", sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8b6a38;
}

.ofc-single-title {
    margin: 0;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 0.96;
    color: #2d2418;
}

.ofc-single-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    margin: 18px 0;
    background: linear-gradient(135deg, rgba(139,106,56,0.12), rgba(139,106,56,0.07));
    border: 1px solid rgba(139,106,56,0.24);
    border-radius: 99px;
    font: 700 11px/1.3 "Segoe UI", sans-serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7a5c28;
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 200px;
}

.ofc-single-date-badge svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.85;
}

.ofc-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0;
    padding: 0;
    background: transparent;
    border: 0;
}

.ofc-single-meta__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(139,106,56,0.18);
    background: linear-gradient(135deg, rgba(139,106,56,0.08), rgba(139,106,56,0.04));
    font: 500 15px/1.5 "Segoe UI", sans-serif;
    color: #5a4a36;
}

.ofc-single-meta__item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #8b6a38;
}

.ofc-single-meta__item--birth svg {
    color: #a07840;
}

.ofc-single-meta__item--birth {
    padding: 10px 16px;
}

.ofc-single-meta__item--death svg {
    color: #6a5040;
}

.ofc-single-meta__item--death {
    padding: 8px 20px;
}

.ofc-single-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 18px 0 0;
    font: 500 17px/1.7 "Segoe UI", sans-serif;
    color: #6a5a4a;
}

.ofc-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.75fr);
    gap: 28px;
    align-items: start;
}

.ofc-single-story,
.ofc-single-form-card {
    background: rgba(255, 253, 248, 0.98);
    border: 1px solid rgba(139, 106, 56, 0.14);
    border-radius: 30px;
    box-shadow: 0 24px 60px rgba(61, 43, 16, 0.08);
}

.ofc-single-story {
    /* No overflow:hidden here — it would clip the image when external CSS forces align-items:stretch */
}

.ofc-single-story__media {
    overflow: hidden;
    border-radius: 30px 30px 0 0;
    background: linear-gradient(135deg, #efe3ca, #f8f2e5);
}

.ofc-single-story__media img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: fill !important;
    display: block !important;
}

.ofc-single-story__placeholder {
    display: grid;
    place-items: center;
    min-height: 420px;
    font: 700 12px/1 "Segoe UI", sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8b6a38;
}

.ofc-single-story__body {
    padding: 34px 38px 40px;
}

.ofc-single-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.ofc-single-facts__item {
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, #fbf5eb, #f3e6d2);
}

.ofc-single-facts__item span {
    display: block;
    margin-bottom: 7px;
    font: 700 11px/1 "Segoe UI", sans-serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8b6a38;
}

.ofc-single-facts__item strong {
    font-size: 16px;
    line-height: 1.4;
    color: #2d2418;
}

.ofc-single-content {
    font: 400 17px/1.85 Georgia, "Times New Roman", serif;
    color: #4f4335;
    letter-spacing: 0.01em;
}

.ofc-single-content p {
    margin: 0 0 1.2em;
    line-height: 1.85;
    text-align: center;
}

.ofc-single-content p strong {
    color: #1e1810;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.ofc-single-content .has-text-align-center {
    text-align: center;
}

.ofc-single-content figure {
    margin: 22px auto 26px;
    display: flex;
    justify-content: center;
    line-height: 0;
}

.ofc-single-content figure img {
    display: block;
    max-width: 200px;
    height: auto;
    margin: 0 auto;
    opacity: 0.75;
    filter: sepia(0.15);
}

.ofc-single-sidebar {
    position: sticky;
    top: 26px;
}

.ofc-single-form-card {
    padding: 30px;
}

.ofc-single-form-card__eyebrow {
    margin: 0 0 10px;
    font: 700 12px/1.2 "Segoe UI", sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8b6a38;
}

.ofc-single-form-card__title {
    margin: 0;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.02;
    color: #2d2418;
}

.ofc-single-form-card__copy,
.ofc-single-form__note {
    margin: 16px 0 0;
    font: 400 16px/1.75 "Segoe UI", sans-serif;
    color: #6a5a4a;
}

.ofc-single-form {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.ofc-single-form__field {
    display: grid;
    gap: 8px;
}

.ofc-single-form__field span {
    font: 700 12px/1.2 "Segoe UI", sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8b6a38;
}

.ofc-single-form input,
.ofc-single-form textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid rgba(47, 36, 24, 0.14);
    border-radius: 18px;
    background: #fff;
    font: 500 15px/1.5 "Segoe UI", sans-serif;
    color: #2d2418;
}

.ofc-single-form input[type="file"] {
    padding: 12px 14px;
    background: #fcfaf6;
}

.ofc-single-form textarea {
    resize: vertical;
    min-height: 180px;
}

.ofc-single-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: #2f2418;
    color: #fff;
    font: 700 13px/1 "Segoe UI", sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

body.ofc-modal-open {
    overflow: hidden;
}

.ofc-flash-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 24px;
}

.ofc-flash-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(31, 26, 17, 0.48);
    backdrop-filter: blur(4px);
}

.ofc-flash-modal__dialog {
    position: relative;
    width: min(560px, calc(100% - 24px));
    padding: 34px 32px 30px;
    border-radius: 28px;
    border: 1px solid rgba(139, 106, 56, 0.18);
    background:
        radial-gradient(circle at top right, rgba(201, 171, 112, 0.20), transparent 32%),
        linear-gradient(135deg, rgba(255, 251, 244, 0.98), rgba(247, 239, 226, 0.98));
    box-shadow: 0 28px 80px rgba(31, 26, 17, 0.18);
}

.ofc-flash-modal__dialog--error {
    border-color: rgba(147, 21, 21, 0.18);
}

.ofc-flash-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(47, 36, 24, 0.08);
    color: #2f2418;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.ofc-flash-modal__eyebrow {
    margin: 0 0 10px;
    font: 700 12px/1.2 "Segoe UI", sans-serif;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8b6a38;
}

.ofc-flash-modal__title {
    margin: 0;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.02;
    color: #2d2418;
}

.ofc-flash-modal__message {
    margin: 16px 0 0;
    font: 400 18px/1.75 Georgia, "Times New Roman", serif;
    color: #544736;
}

.ofc-flash-modal__action {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: #2f2418;
    color: #fff;
    font: 700 13px/1 "Segoe UI", sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

@media (max-width: 900px) {
    .site-header__inner,
    .site-footer__inner,
    .admin-header,
    .hero-block,
    .ceremony-panel {
        grid-template-columns: 1fr;
        display: grid;
    }

    .ofc-archive-hero,
    .ofc-archive-toolbar,
    .ofc-obituary-card--featured,
    .ofc-single-layout {
        grid-template-columns: 1fr;
    }

    .ofc-obituary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ofc-single-sidebar {
        position: static;
    }

    .ofc-single-facts {
        grid-template-columns: 1fr;
    }

    .detail-grid,
    .admin-form--grid {
        grid-template-columns: 1fr;
    }

    .search-form {
        flex-direction: column;
    }
}

@media (max-width: 680px) {
    .ofc-archive-page {
        width: min(100%, calc(100% - 22px));
    }

    .ofc-archive-hero__content,
    .ofc-archive-hero__panel,
    .ofc-archive-toolbar,
    .ofc-obituary-card__body,
    .ofc-archive-empty,
    .ofc-single-hero,
    .ofc-single-story__body,
    .ofc-single-form-card {
        padding: 22px;
    }

    .ofc-obituary-grid,
    .ofc-archive-search {
        grid-template-columns: 1fr;
    }

    .ofc-single-page {
        width: min(100%, calc(100% - 22px));
    }

    .ofc-flash-modal__dialog {
        padding: 28px 22px 22px;
    }
}