@charset "UTF-8";
/* MEBIS - Premium Memorial Theme */

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

html, body {
    margin: 0;
    padding: 0;
}

.mebis-body {
    font-family: "Source Sans Pro", "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #2c3330;
    background: #0f1412;
}

.mebis-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.mebis-bg-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(32, 112, 103, 0.22) 0%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(180, 150, 90, 0.08) 0%, transparent 40%),
        linear-gradient(165deg, #121816 0%, #1a2420 35%, #0f1412 100%);
}

.mebis-bg-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.mebis-header,
.mebis-main,
.mebis-footer {
    position: relative;
    z-index: 1;
}

.wrapper { margin: 0 auto; padding: 0 20px; }
.wrapper--w900 { max-width: 960px; }

/* 2026 landing */
.mebis-landing {
    position: relative;
    z-index: 1;
    min-height: min(780px, 100vh);
    padding: 24px 24px 56px;
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(90deg, rgba(11, 18, 16, 0.88) 0%, rgba(11, 18, 16, 0.58) 46%, rgba(11, 18, 16, 0.72) 100%),
        url("/MEBIS/images/kure.png") center/cover no-repeat;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mebis-landing::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 180px;
    background: linear-gradient(180deg, transparent 0%, #0f1412 100%);
    pointer-events: none;
}

.mebis-landing__topbar,
.mebis-landing__content {
    position: relative;
    z-index: 2;
}

.mebis-landing__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.mebis-landing__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    backdrop-filter: blur(12px);
}

.mebis-landing__brand img {
    width: 38px;
    height: auto;
}

.mebis-landing__brand span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.mebis-landing__home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #173b36;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.mebis-landing__content {
    flex: 1;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 34px;
    align-items: center;
    padding-top: 64px;
}

.mebis-landing__copy {
    color: #fff;
    padding-bottom: 42px;
}

.mebis-landing__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.mebis-landing__copy h1 {
    margin: 18px 0 18px;
    max-width: 620px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(46px, 7vw, 76px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: 0;
    color: #fffaf0;
    text-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
}

.mebis-landing__copy p {
    max-width: 510px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.7;
}

.mebis-landing__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.mebis-landing__chips span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.mebis-hero-card {
    overflow: hidden;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.56);
    box-shadow:
        0 34px 85px rgba(0, 0, 0, 0.34),
        0 1px 0 rgba(255, 255, 255, 0.95) inset;
    backdrop-filter: blur(18px);
}

.mebis-hero-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 26px 28px 0;
}

.mebis-hero-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1a4d47 0%, #207067 100%);
    color: #fff;
    box-shadow: 0 12px 26px rgba(32, 112, 103, 0.28);
}

.mebis-hero-card__head h2 {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 30px;
    line-height: 1.1;
    color: #1a2420;
}

.mebis-hero-card__head p {
    margin: 6px 0 0;
    color: #6b756f;
    font-size: 14px;
}

.mebis-search-form--hero {
    padding-top: 24px;
}

.mebis-search-form--hero .mebis-search-form__fields {
    grid-template-columns: 1fr;
    gap: 16px;
}

.mebis-search-form--hero .mebis-input {
    height: 56px;
    font-size: 16px;
}

.mebis-search-form--hero .mebis-field--action .mebis-btn--primary {
    width: 100%;
    min-height: 56px;
}

.mebis-results--hero {
    grid-column: 1 / -1;
    margin-top: 4px;
    padding: 24px;
    max-height: none;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 244, 239, 0.94) 100%);
    box-shadow:
        0 28px 72px rgba(0, 0, 0, 0.26),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
    backdrop-filter: blur(18px);
}

.mebis-results--hero .mebis-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 14px;
}

.mebis-results--hero .mebis-result {
    display: grid;
    grid-template-columns: 142px minmax(0, 1fr);
    min-height: 190px;
    border-radius: 18px;
    border-color: rgba(32, 112, 103, 0.12);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 42px rgba(26, 36, 32, 0.1);
}

.mebis-results--hero .mebis-result__media {
    min-height: 100%;
    background: #1a2420;
}

.mebis-results--hero .mebis-result__media .mebis-photo--compact {
    width: 100%;
    height: 100%;
    min-height: 190px;
    aspect-ratio: auto;
}

.mebis-results--hero .mebis-result__media .mebis-photo--compact img {
    object-position: center 22%;
}

.mebis-results--hero .mebis-result__body {
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    padding: 22px;
}

.mebis-results--hero .mebis-result__facts {
    max-width: none;
}

.mebis-results--hero .mebis-tile__cta {
    margin-top: 18px;
}

.mebis-main {
    margin-top: -28px;
}

/* Header */
.mebis-header {
    text-align: center;
    padding: 48px 20px 32px;
}

.mebis-header::after {
    content: "";
    display: block;
    width: 64px;
    height: 2px;
    margin: 28px auto 0;
    background: linear-gradient(90deg, transparent, rgba(180, 150, 90, 0.7), transparent);
}

.mebis-header__brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: inherit;
}

.mebis-header__logo {
    width: 96px;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.mebis-header__municipality {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.mebis-header__title {
    margin: 6px 0 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #f5f2ea;
    line-height: 1.15;
}

.mebis-header__verse {
    max-width: 560px;
    margin: 24px auto 0;
    font-size: 15px;
    font-weight: 300;
    font-style: italic;
    color: rgba(245, 242, 234, 0.72);
    line-height: 1.7;
}

/* Panels */
.mebis-main {
    padding-bottom: 48px;
}

.mebis-panel {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.28),
        0 1px 0 rgba(255, 255, 255, 0.6) inset;
    margin-bottom: 28px;
    overflow: hidden;
}

.mebis-panel--anniversary {
    background: #f7f4ef;
    border-color: rgba(180, 150, 90, 0.2);
}

.mebis-panel__body {
    padding: 28px;
}

.mebis-panel__body--memorial {
    padding: 24px 28px 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.85) 100%);
}

.mebis-panel__head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 28px;
    background: linear-gradient(135deg, #1a4d47 0%, #207067 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mebis-panel--anniversary .mebis-panel__head {
    background: linear-gradient(135deg, #3d3428 0%, #5c4f3a 100%);
}

.mebis-panel__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #f5f2ea;
    font-size: 16px;
}

.mebis-panel__title {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
}

/* Search form */
.mebis-search-form {
    padding: 28px;
}

.mebis-search-form__fields {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 20px;
    align-items: end;
}

.mebis-field { min-width: 0; }

.mebis-label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5a6560;
}

.mebis-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #d8dedb;
    border-radius: 12px;
    background: #f8faf9;
    font-family: inherit;
    font-size: 15px;
    color: #2c3330;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.mebis-input:focus {
    outline: none;
    border-color: #207067;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(32, 112, 103, 0.12);
}

.mebis-input::placeholder { color: #9aa5a0; }

/* Buttons */
.mebis-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.mebis-btn--primary {
    width: 100%;
    min-width: 120px;
    background: linear-gradient(135deg, #1a4d47 0%, #207067 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(32, 112, 103, 0.28);
}

.mebis-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(32, 112, 103, 0.35);
    background: linear-gradient(135deg, #165c54 0%, #258f82 100%);
}

.mebis-btn--outline {
    width: 100%;
    margin-top: 16px;
    background: transparent;
    border: 1.5px solid #207067;
    color: #207067;
}

.mebis-btn--outline:hover {
    background: #207067;
    color: #fff;
}

/* Results */
.mebis-results {
    padding: 0 28px 28px;
    border-top: 1px solid #eef1ef;
}

.mebis-results__hint {
    margin: 24px 0 0;
    padding: 16px 18px;
    border-radius: 12px;
    background: #f3f7f5;
    border-left: 4px solid #207067;
    font-size: 14px;
    color: #5a6560;
    line-height: 1.65;
}

.mebis-results__title {
    margin: 24px 0 16px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: #1a4d47;
}

.mebis-alert {
    margin: 16px 0;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

.mebis-alert--empty {
    background: #fdf3f3;
    color: #8b3a3a;
    border: 1px solid #f0d4d4;
}

.mebis-alert--gentle {
    background: #f8f6f3;
    color: #5c655f;
    border: 1px solid #e8e4dc;
    font-weight: 500;
    line-height: 1.65;
}

/* Shared photo block */
.mebis-photo {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(145deg, #2a3531 0%, #1a2420 100%);
}

.mebis-photo--compact {
    aspect-ratio: 4 / 3;
}

/* Yıl dönümü kartları — dikey, küçük thumbnail (geniş manzara kırpımı yerine) */
.mebis-memorial__media {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 20px 20px 0;
}

.mebis-memorial__photo-wrap {
    position: relative;
    flex: 0 0 auto;
}

.mebis-memorial__media .mebis-photo--memorial {
    width: 132px;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(26, 36, 32, 0.18);
}

.mebis-memorial__media .mebis-photo--memorial img {
    object-fit: cover;
    object-position: center 22%;
}

.mebis-memorial__media .mebis-photo--memorial.mebis-photo--placeholder {
    font-size: 32px;
}

.mebis-memorial__media .mebis-photo--memorial::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(15, 20, 18, 0) 55%, rgba(15, 20, 18, 0.28) 100%);
    pointer-events: none;
}

.mebis-memorial__photo-wrap .mebis-memorial__badge {
    top: 10px;
    right: 10px;
}

.mebis-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.mebis-photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(245, 242, 234, 0.32);
    font-size: 36px;
}

.mebis-photo--compact.mebis-photo--placeholder {
    font-size: 28px;
}

/* Clickable memorial tiles */
.mebis-tile--link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.mebis-tile--link:focus-visible {
    outline: 2px solid #207067;
    outline-offset: 3px;
}

.mebis-tile__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1.5px solid rgba(32, 112, 103, 0.35);
    background: rgba(32, 112, 103, 0.06);
    color: #1a4d47;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.mebis-tile--link:hover .mebis-tile__cta {
    background: #207067;
    border-color: #207067;
    color: #fff;
}

.mebis-tile__cta i {
    font-size: 16px;
    line-height: 1;
}

/* Search result tiles */
.mebis-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 8px;
}

.mebis-result {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8ecea;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mebis-result:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.09);
}

.mebis-result:hover .mebis-photo img {
    transform: scale(1.03);
}

.mebis-result__media {
    position: relative;
}

.mebis-result__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px 18px 22px;
}

.mebis-result__name {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2420;
}

.mebis-result__relation {
    margin: 6px 0 0;
    font-size: 13px;
    font-style: italic;
    color: #7a8580;
}

.mebis-result__facts {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    width: 100%;
    max-width: 220px;
    border-top: 1px solid #eef1ef;
}

.mebis-result__facts li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f3f5f4;
    font-size: 13px;
}

.mebis-result__facts li:last-child {
    border-bottom: none;
}

.mebis-result__facts span {
    color: #9aa5a0;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 11px;
}

.mebis-result__facts strong {
    color: #2c3330;
    font-weight: 600;
}

.mebis-result__facts-death strong {
    color: #1a4d47;
}

/* Fade-in (respectful, subtle) */
@media (prefers-reduced-motion: no-preference) {
    .mebis-fade-in {
        animation: mebisFadeIn 0.55s ease both;
    }

    .mebis-panel {
        animation: mebisFadeIn 0.5s ease both;
    }

    .mebis-panel--anniversary {
        animation-delay: 0.08s;
    }

    .mebis-memorial-grid .mebis-fade-in:nth-child(2),
    .mebis-result-grid .mebis-fade-in:nth-child(2) {
        animation-delay: 0.07s;
    }

    .mebis-memorial-grid .mebis-fade-in:nth-child(3),
    .mebis-result-grid .mebis-fade-in:nth-child(3) {
        animation-delay: 0.14s;
    }

    .mebis-memorial-grid .mebis-fade-in:nth-child(4),
    .mebis-result-grid .mebis-fade-in:nth-child(4) {
        animation-delay: 0.21s;
    }
}

@keyframes mebisFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cards */
.mebis-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: 0 28px 28px;
}

.mebis-panel--search .mebis-card-grid {
    padding: 0;
    margin-top: 8px;
}

.mebis-card {
    position: relative;
    background: #fff;
    border: 1px solid #e8ecea;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.mebis-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.mebis-card--memorial {
    border-color: rgba(180, 150, 90, 0.35);
    background: linear-gradient(180deg, #fffdf9 0%, #fff 100%);
}

.mebis-card__ribbon {
    padding: 8px 14px;
    background: linear-gradient(90deg, #5c4f3a, #8a7355);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
}

.mebis-card__body { padding: 20px; }

.mebis-card__name {
    margin: 0 0 14px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a2420;
    line-height: 1.25;
}

.mebis-card__meta {
    margin: 0;
}

.mebis-card__meta > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    border-bottom: 1px solid #f0f2f1;
    font-size: 13px;
}

.mebis-card__meta > div:last-child { border-bottom: none; }

.mebis-card__meta dt {
    margin: 0;
    font-weight: 600;
    color: #7a8580;
    flex-shrink: 0;
}

.mebis-card__meta dd {
    margin: 0;
    text-align: right;
    color: #2c3330;
}

.mebis-card__death dd {
    color: #5c4f3a;
    font-weight: 700;
}

/* Memorial anniversary tiles */
.mebis-memorial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.mebis-memorial {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(180, 150, 90, 0.22);
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 10px 30px rgba(61, 52, 40, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

a.mebis-memorial:hover,
a.mebis-result:hover {
    transform: translateY(-4px);
    box-shadow:
        0 18px 40px rgba(61, 52, 40, 0.14),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

a.mebis-result:hover {
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.09);
    transform: translateY(-3px);
}

.mebis-memorial__media .mebis-photo:not(.mebis-photo--memorial)::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 20, 18, 0) 45%, rgba(15, 20, 18, 0.35) 100%);
    pointer-events: none;
}

.mebis-memorial__media .mebis-photo--placeholder::after {
    display: none;
}

.mebis-tile--link:hover .mebis-memorial__media .mebis-photo img {
    transform: scale(1.04);
}

.mebis-memorial__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 22px 24px;
}

.mebis-memorial__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(26, 36, 32, 0.72);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #f5f2ea;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.mebis-memorial__name {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a2420;
    letter-spacing: 0.02em;
}

.mebis-memorial__relation {
    margin: 8px 0 0;
    font-size: 13px;
    font-style: italic;
    color: #7a8580;
}

.mebis-memorial__facts {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    width: 100%;
    max-width: 240px;
    border-top: 1px solid #efe9e0;
}

.mebis-memorial__facts li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f3efe8;
    font-size: 13px;
}

.mebis-memorial__facts li:last-child {
    border-bottom: none;
}

.mebis-memorial__facts span {
    color: #9aa5a0;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 11px;
}

.mebis-memorial__facts strong {
    color: #2c3330;
    font-weight: 600;
}

.mebis-memorial__facts-birth .mebis-date-dual {
    align-items: flex-end;
}

.mebis-footer {
    text-align: center;
    padding: 8px 20px 40px;
}

.mebis-footer__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(245, 242, 234, 0.85);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.mebis-footer__link:hover {
    background: rgba(32, 112, 103, 0.35);
    color: #fff;
}

.mebis-page a:not(.mebis-btn):not(.mebis-footer__link):not(.mebis-header__brand):not(.mebis-tile--link):not(.mebis-support__link) {
    color: #207067;
    text-decoration: none;
}

.mebis-page form {
    margin: 0;
}

input.mebis-btn,
input.mebis-input {
    -webkit-appearance: none;
    appearance: none;
}

.mebis-empty-state {
    margin: 0;
    padding: 36px 28px;
    text-align: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.14);
    color: rgba(245, 242, 234, 0.65);
    font-size: 14px;
}

.mebis-empty-state--memorial {
    background: #faf8f5;
    border: 1px solid #efe9e0;
    color: #6b756f;
}

.mebis-empty-state--memorial p {
    margin: 0 0 10px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: #3d463f;
    line-height: 1.4;
}

.mebis-empty-state--memorial span {
    display: block;
    font-size: 13px;
    color: #9aa5a0;
    line-height: 1.6;
    max-width: 420px;
    margin: 0 auto;
}

.mebis-empty-state i {
    display: block;
    margin-bottom: 12px;
    font-size: 22px;
    color: rgba(180, 150, 90, 0.75);
}

.mebis-empty-state--memorial i {
    color: rgba(32, 112, 103, 0.45);
}

/* Detail page compatibility */
.page-wrapper {
    position: relative;
    min-height: 100vh;
    z-index: 1;
}

.bg-img-3,
.bg-img-detailPage {
    background: transparent;
}

.bg-img-detailPage .mebis-bg-overlay {
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(32, 112, 103, 0.2) 0%, transparent 55%),
        linear-gradient(165deg, #121816 0%, #1a2420 100%);
}

.mezarlikBaslikBelediye {
    background: transparent;
    padding: 48px 20px 24px;
    border-radius: 0;
    text-align: center;
}

.mezarlikBaslikBelediye img {
    width: 96px;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.mezarlikBaslikBelediye .label,
.mezarlikBaslikBelediye h4.label {
    margin-top: 16px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 600;
    color: #f5f2ea;
    text-transform: none;
}

.card-6 {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.card-6::before { display: none; }

.card-6 .card-body {
    position: relative;
    padding: 32px;
    color: #2c3330;
}

.card-6 .label {
    color: #1a4d47;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    text-transform: none;
}

.input-group-mezarlikList {
    background: #fafbfa;
    border: 1px solid #e8ecea;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.label-small {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #2c3330;
    text-align: left;
    padding: 6px 0;
    margin: 0;
}

.label-small b { color: #5a6560; font-weight: 600; }

.input-group-mezarlikList hr {
    border: none;
    border-top: 1px solid #eef1ef;
    margin: 8px 0;
}

.btn-submit,
.btn-submit-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 0 20px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a4d47 0%, #207067 100%);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(32, 112, 103, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit { margin-top: 0; line-height: normal; }

.btn-submit:hover,
.btn-submit-small:hover {
    background: linear-gradient(135deg, #165c54 0%, #258f82 100%);
    transform: translateY(-1px);
}

.input--style-1 {
    height: 48px;
    border: 1px solid #d8dedb;
    border-radius: 12px;
    background: #f8faf9;
    font-size: 15px;
}

.input--style-1:focus {
    border-color: #207067;
    box-shadow: 0 0 0 4px rgba(32, 112, 103, 0.12);
}

.label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5a6560;
}

.olumOlumYilDonumList {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(180, 150, 90, 0.25);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.olumOlumYilDonumList > .label,
.olumOlumYilDonumList > h4.label {
    margin: 0;
    padding: 22px 28px;
    background: linear-gradient(135deg, #3d3428 0%, #5c4f3a 100%);
    color: #fff;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 24px;
    text-transform: none;
}

.olumOlumYilDonumList hr { display: none; }

.olumOlumYilDonumList .row {
    padding: 20px 28px 28px;
    gap: 20px;
}

.col-2-min {
    width: calc(50% - 10px);
}

.col-2-min-inputs {
    width: auto;
    flex: 1;
}

.row { display: flex; flex-wrap: wrap; }

.row-space {
    justify-content: space-between;
    gap: 20px;
}

.col-2 {
    width: calc(50% - 10px);
}

#sonucBulunamadi {
    background: #f8f6f3 !important;
    color: #5c655f !important;
    border: 1px solid #e8e4dc !important;
    border-radius: 12px !important;
    padding: 16px 18px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.65 !important;
}

/* Responsive */
@media (max-width: 767px) {
    .mebis-landing {
        min-height: auto;
        padding: 16px 0 42px;
    }

    .mebis-landing__topbar {
        padding: 0 16px;
    }

    .mebis-landing__brand {
        padding: 8px 10px;
    }

    .mebis-landing__brand span {
        display: none;
    }

    .mebis-landing__home {
        padding: 10px 12px;
        font-size: 12px;
    }

    .mebis-landing__content {
        grid-template-columns: 1fr;
        gap: 22px;
        padding-top: 34px;
    }

    .mebis-landing__copy {
        padding: 0 0 4px;
    }

    .mebis-landing__copy h1 {
        font-size: 44px;
    }

    .mebis-landing__copy p {
        font-size: 16px;
    }

    .mebis-hero-card {
        border-radius: 22px;
    }

    .mebis-hero-card__head {
        padding: 22px 18px 0;
        align-items: flex-start;
    }

    .mebis-hero-card__head h2 {
        font-size: 26px;
    }

    .mebis-results--hero {
        padding: 16px;
        max-height: none;
        border-radius: 22px;
    }

    .mebis-results--hero .mebis-result-grid {
        grid-template-columns: 1fr;
    }

    .mebis-results--hero .mebis-result {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .mebis-results--hero .mebis-result__media .mebis-photo--compact {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .mebis-results--hero .mebis-result__body {
        align-items: center;
        text-align: center;
        padding: 18px 18px 22px;
    }

    .mebis-main {
        margin-top: -16px;
    }

    .mebis-header { padding: 32px 16px 24px; }

    .mebis-search-form__fields {
        grid-template-columns: 1fr;
    }

    .mebis-field--action .mebis-btn--primary {
        width: 100%;
    }

    .mebis-card-grid,
    .mebis-memorial-grid,
    .mebis-result-grid,
    .col-2-min,
    .col-2 {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .mebis-panel__body,
    .mebis-panel__body--memorial {
        padding: 16px;
    }

    .mebis-memorial__media .mebis-photo--memorial {
        width: 118px;
    }

    .mebis-memorial__name {
        font-size: 22px;
    }

    .mebis-card-grid {
        padding: 0 16px 20px;
    }

    .mebis-search-form,
    .mebis-results {
        padding-left: 16px;
        padding-right: 16px;
    }

    .mebis-panel__head {
        padding: 18px 16px;
    }

    .card-6 .card-body {
        padding: 20px 16px;
    }
}

/* Detail page */
.mebis-detail {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 28px;
    padding: 28px;
}

.mebis-detail__photo img {
    width: 100%;
    border-radius: 16px;
    border: 3px solid #e8ecea;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: block;
}

.mebis-dua-block {
    margin-bottom: 16px;
    padding: 14px 16px;
    background: #f3f7f5;
    border-radius: 12px;
    border-left: 4px solid #207067;
}

.mebis-dua-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1a4d47;
}

.mebis-dua-label i { margin-right: 6px; }

.mebis-audio {
    width: 100%;
    height: 36px;
}

.mebis-detail__meta {
    margin: 20px 0 0;
}

.mebis-detail__meta > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #eef1ef;
    font-size: 14px;
}

.mebis-detail__meta dt {
    margin: 0;
    font-weight: 600;
    color: #7a8580;
}

.mebis-detail__meta dd {
    margin: 0;
    text-align: right;
    color: #2c3330;
    font-weight: 600;
}

.mebis-detail__death dd {
    color: #5c4f3a;
}

.mebis-detail__map {
    margin: 0 28px;
    padding: 16px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e8ecea;
    background: #fafbfa;
}

.mebis-detail__map iframe,
.mebis-detail__map img {
    width: 100%;
    display: block;
    border-radius: 8px;
}

.mebis-detail__actions {
    padding: 0 28px 28px;
    text-align: center;
}

.mebis-btn--inline {
    width: auto;
    min-width: 240px;
    display: inline-flex;
    margin-top: 0;
}

.mebis-btn--support {
    min-width: 0;
    gap: 8px;
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 600;
}

@media (max-width: 767px) {
    .mebis-detail {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .mebis-detail__map {
        margin: 0 16px;
    }

    .mebis-detail__actions {
        padding: 0 16px 20px;
    }

    .mebis-btn--inline {
        width: 100%;
    }
}

/* Detail page — memorial layout */
.mebis-header--compact {
    padding-bottom: 16px;
}

.mebis-panel--detail {
    overflow: hidden;
}

.mebis-tribute-band {
    padding: 22px 28px;
    text-align: center;
    background: linear-gradient(135deg, #f3f7f5 0%, #faf8f4 100%);
    border-bottom: 1px solid #e8ecea;
}

.mebis-tribute-band--today {
    background: linear-gradient(135deg, #efe8dc 0%, #faf6ef 100%);
    border-bottom-color: rgba(180, 150, 90, 0.35);
}

.mebis-tribute-band__verse {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 18px;
    font-style: italic;
    color: #5c655f;
}

.mebis-tribute-band__status {
    margin: 10px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: #1a4d47;
    line-height: 1.6;
}

.mebis-tribute-band--today .mebis-tribute-band__status {
    color: #5c4f3a;
}

.mebis-memorial-hero {
    padding: 28px 28px 24px;
    text-align: center;
}

.mebis-memorial-hero__photo-btn {
    position: relative;
    display: block;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 0;
    border: none;
    background: none;
    cursor: zoom-in;
}

.mebis-memorial-hero__photo {
    width: 100%;
    height: auto;
    min-height: 320px;
    max-height: 480px;
    object-fit: contain;
    object-position: center center;
    border-radius: 18px;
    border: 3px solid #e8ecea;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
    display: block;
    background: linear-gradient(180deg, #f5f7f6 0%, #eef1ef 100%);
}

.mebis-memorial-hero__photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 320px;
    max-height: 480px;
    background: linear-gradient(145deg, #2a3531 0%, #1a2420 100%);
    color: rgba(245, 242, 234, 0.35);
    font-size: 48px;
    border-radius: 18px;
}

.mebis-memorial-hero__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(92, 79, 58, 0.88);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mebis-memorial-hero__name {
    margin: 22px 0 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(30px, 5vw, 42px);
    font-weight: 700;
    color: #1a2420;
    line-height: 1.15;
}

.mebis-memorial-hero__relation {
    margin: 8px 0 0;
    font-size: 15px;
    font-style: italic;
    color: #7a8580;
}

.mebis-timeline {
    max-width: 520px;
    margin: 28px auto 0;
    padding: 18px 16px;
    border-radius: 16px;
    background: #fafbfa;
    border: 1px solid #eef1ef;
}

.mebis-timeline__title {
    margin: 0 0 14px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1a4d47;
}

.mebis-timeline__rail {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
}

.mebis-timeline__point {
    text-align: center;
}

.mebis-timeline__point--end {
    text-align: center;
}

.mebis-timeline__label {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9aa5a0;
}

.mebis-timeline__point strong {
    font-size: 14px;
    color: #2c3330;
}

.mebis-timeline__point--end strong {
    color: #5c4f3a;
}

.mebis-timeline__track {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.mebis-timeline__line {
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #207067, #8a7355);
    border-radius: 999px;
}

.mebis-timeline__life {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-top: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e8ecea;
    white-space: nowrap;
}

.mebis-timeline__life-label {
    display: none;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9aa5a0;
}

.mebis-timeline__life-value {
    font-size: 12px;
    font-weight: 700;
    color: #1a4d47;
}

.mebis-timeline__point--birth {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.mebis-timeline__date-miladi {
    font-size: 14px;
    color: #2c3330;
}

.mebis-timeline__tag {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 999px;
    background: #e8f3f1;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1a4d47;
}

.mebis-timeline__date-rumi {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: #8a928e;
}

.mebis-date-note {
    max-width: 520px;
    margin: 14px auto 0;
    padding: 10px 14px;
    border-radius: 12px;
    background: #f5f8f7;
    border: 1px solid #e3ebe8;
    font-size: 12px;
    line-height: 1.55;
    color: #5c6662;
    text-align: center;
}

.mebis-date-note .fa {
    margin-right: 6px;
    color: #207067;
}

.mebis-date-dual {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    text-align: right;
}

.mebis-date-dual__miladi,
.mebis-date-dual__rumi {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2c3330;
}

.mebis-date-dual__rumi {
    font-size: 12px;
    font-weight: 500;
    color: #7a8580;
}

.mebis-date-dual em {
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #9aa5a0;
    margin-left: 4px;
}

.mebis-result__facts-birth .mebis-date-dual,
.mebis-memorial__facts-birth .mebis-date-dual {
    align-items: flex-end;
}

.mebis-detail-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0 28px 24px;
}

.mebis-detail-toolbar__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border: 1px solid #d8dedb;
    border-radius: 999px;
    background: #fff;
    color: #1a4d47;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.mebis-detail-toolbar__btn:hover {
    background: #f3f7f5;
    border-color: #207067;
}

.mebis-detail-toolbar__btn .fa-whatsapp {
    color: #25a244;
}

.mebis-spiritual {
    margin: 0 28px 24px;
    padding: 22px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f8fbfa 0%, #fff 100%);
    border: 1px solid #e8ecea;
}

.mebis-spiritual__head {
    text-align: center;
    margin-bottom: 18px;
}

.mebis-spiritual__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(32, 112, 103, 0.1);
    color: #1a4d47;
    font-size: 16px;
}

.mebis-spiritual__title {
    margin: 12px 0 6px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 26px;
    font-weight: 600;
    color: #1a2420;
}

.mebis-spiritual__intro {
    margin: 0;
    font-size: 14px;
    color: #7a8580;
    line-height: 1.6;
}

.mebis-spiritual__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.mebis-dua-text {
    margin-top: 10px;
    font-size: 13px;
    color: #5a6560;
}

.mebis-dua-text summary {
    cursor: pointer;
    font-weight: 600;
    color: #1a4d47;
}

.mebis-dua-text p {
    margin: 10px 0 0;
    line-height: 1.65;
}

.mebis-detail__meta--compact {
    margin: 0 28px 24px;
    padding: 18px 20px;
    border-radius: 16px;
    background: #fafbfa;
    border: 1px solid #eef1ef;
}

.mebis-detail__meta--compact > div:last-child {
    border-bottom: none;
}

.mebis-detail__meta dd {
    max-width: 62%;
    line-height: 1.5;
}

.mebis-qr-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 28px 24px;
    padding: 22px;
    border-radius: 18px;
    background: #fffdf9;
    border: 1px solid rgba(180, 150, 90, 0.28);
    box-shadow: 0 8px 24px rgba(61, 52, 40, 0.06);
}

.mebis-qr-card__title {
    margin: 0 0 8px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: #1a2420;
}

.mebis-qr-card__text {
    margin: 0 0 16px;
    font-size: 14px;
    color: #6b756f;
    line-height: 1.65;
    max-width: 420px;
}

.mebis-qr-card__code {
    flex-shrink: 0;
    padding: 10px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e8ecea;
}

.mebis-qr-card__code img,
.mebis-qr-card__code canvas {
    display: block;
}

.mebis-detail__map-title {
    margin: 0 0 6px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: #1a2420;
}

.mebis-detail__map-note {
    margin: 0 0 14px;
    font-size: 13px;
    color: #7a8580;
}

.mebis-support {
    margin: 0 28px 24px;
    padding: 22px;
    border-radius: 16px;
    background: #f3f7f5;
    border: 1px solid #e0ebe8;
    text-align: center;
}

.mebis-support__title {
    margin: 0 0 8px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: #1a4d47;
}

.mebis-support__text {
    margin: 0 0 16px;
    font-size: 14px;
    color: #5a6560;
    line-height: 1.65;
}

.mebis-support__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.mebis-support__links .mebis-btn--support {
    min-height: 44px;
    padding: 0 18px;
    font-size: 13px;
}

.mebis-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.mebis-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 20, 18, 0.88);
}

.mebis-lightbox__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 40px 20px;
}

.mebis-lightbox__dialog img {
    max-width: min(920px, 100%);
    max-height: 82vh;
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.mebis-lightbox__close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.mebis-lightbox-open {
    overflow: hidden;
}

.mebis-body--anniversary-day .mebis-tribute-band__status {
    font-size: 15px;
}

@media (max-width: 767px) {
    .mebis-memorial-hero,
    .mebis-detail-toolbar,
    .mebis-spiritual,
    .mebis-detail__meta--compact,
    .mebis-qr-card,
    .mebis-support {
        margin-left: 16px;
        margin-right: 16px;
    }

    .mebis-tribute-band {
        padding: 18px 16px;
    }

    .mebis-memorial-hero {
        padding: 20px 16px;
    }

    .mebis-memorial-hero__photo {
        min-height: 240px;
        max-height: 360px;
    }

    .mebis-timeline {
        max-width: none;
        margin-left: 16px;
        margin-right: 16px;
        padding: 16px 14px 14px;
    }

    .mebis-timeline__title {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .mebis-timeline__rail {
        display: flex;
        flex-direction: column;
        gap: 0;
        position: relative;
        padding-left: 30px;
    }

    .mebis-timeline__rail::before {
        content: "";
        position: absolute;
        left: 10px;
        top: 14px;
        bottom: 14px;
        width: 3px;
        background: linear-gradient(180deg, #207067 0%, #5a8a82 50%, #8a7355 100%);
        border-radius: 999px;
    }

    .mebis-timeline__point {
        position: relative;
        text-align: left;
        padding: 10px 0;
    }

    .mebis-timeline__point::before {
        content: "";
        position: absolute;
        left: -26px;
        top: 15px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #207067;
        border: 3px solid #fafbfa;
        box-shadow: 0 0 0 2px #207067;
    }

    .mebis-timeline__point--end::before {
        background: #8a7355;
        box-shadow: 0 0 0 2px #8a7355;
    }

    .mebis-timeline__point--birth {
        align-items: flex-start;
    }

    .mebis-timeline__label {
        font-size: 12px;
        margin-bottom: 2px;
        color: #207067;
    }

    .mebis-timeline__point--end .mebis-timeline__label {
        color: #8a7355;
    }

    .mebis-timeline__point strong,
    .mebis-timeline__date-miladi {
        font-size: 17px;
    }

    .mebis-timeline__track {
        min-width: 0;
        align-items: flex-start;
        padding: 2px 0 6px;
    }

    .mebis-timeline__line {
        display: none;
    }

    .mebis-timeline__life {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        margin-top: 0;
        padding: 8px 12px;
        border-radius: 10px;
        background: #e8f3f1;
        border-color: #c5ddd8;
        white-space: normal;
    }

    .mebis-timeline__life-label {
        display: inline;
    }

    .mebis-timeline__life-value {
        font-size: 14px;
    }

    .mebis-spiritual__grid {
        grid-template-columns: 1fr;
    }

    .mebis-qr-card {
        flex-direction: column;
        text-align: center;
    }

    .mebis-detail-toolbar__btn {
        flex: 1 1 calc(50% - 10px);
        justify-content: center;
    }

    .mebis-detail__map {
        margin: 0 16px 16px;
    }
}

@media print {
    .mebis-bg-overlay,
    .mebis-header,
    .mebis-footer,
    .mebis-detail-toolbar,
    .mebis-detail__actions,
    .mebis-detail__map,
    .mebis-support,
    .mebis-lightbox {
        display: none !important;
    }

    .mebis-body,
    .mebis-page {
        background: #fff !important;
    }

    .mebis-panel--detail {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }

    .mebis-qr-card {
        border: 1px dashed #bbb !important;
    }
}

/* Detail page - 2026 premium refresh */
.wrapper--w1180 {
    max-width: 1180px;
}

.mebis-main.wrapper--w1180 {
    margin-top: 0;
    padding-top: 28px;
}

.mebis-detail-topbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 24px 0 18px;
}

.mebis-detail-topbar__brand,
.mebis-detail-topbar__actions a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    backdrop-filter: blur(14px);
}

.mebis-detail-topbar__brand {
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.mebis-detail-topbar__brand img {
    width: 38px;
    height: auto;
}

.mebis-detail-topbar__brand span {
    font-size: 13px;
    font-weight: 800;
}

.mebis-detail-topbar__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.mebis-detail-topbar__actions a {
    gap: 8px;
    min-height: 42px;
    padding: 0 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #173b36;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

.mebis-panel--detail {
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 244, 239, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 36px 92px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(255, 255, 255, 0.86) inset;
}

.mebis-tribute-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 34px;
    text-align: left;
    background:
        linear-gradient(135deg, rgba(26, 77, 71, 0.95) 0%, rgba(32, 112, 103, 0.9) 100%),
        url("/MEBIS/images/kure.png") center/cover no-repeat;
    color: #fff;
}

.mebis-tribute-band__verse {
    max-width: 470px;
    color: rgba(255, 250, 240, 0.88);
    font-size: 21px;
}

.mebis-tribute-band__status {
    max-width: 520px;
    margin: 0;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    color: #173b36;
    text-align: right;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.mebis-memorial-hero {
    display: grid;
    grid-template-columns: minmax(330px, 0.92fr) minmax(0, 1.08fr);
    gap: 34px;
    align-items: center;
    padding: 34px;
    text-align: left;
}

.mebis-memorial-hero__photo-btn {
    max-width: none;
    align-self: stretch;
}

.mebis-memorial-hero__photo {
    height: 100%;
    min-height: 500px;
    max-height: 640px;
    object-fit: cover;
    object-position: center 28%;
    border: 0;
    border-radius: 24px;
    box-shadow: 0 28px 66px rgba(26, 36, 32, 0.22);
}

.mebis-memorial-hero__photo--placeholder {
    min-height: 500px;
    border-radius: 24px;
}

.mebis-memorial-hero__content {
    min-width: 0;
}

.mebis-memorial-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #e8f3f1;
    color: #1a4d47;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.mebis-memorial-hero__name {
    margin-top: 18px;
    font-size: clamp(42px, 6vw, 70px);
    color: #17211e;
}

.mebis-memorial-hero__relation {
    margin-top: 10px;
    font-size: 18px;
}

.mebis-memory-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.mebis-memory-stat {
    min-height: 116px;
    padding: 17px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(32, 112, 103, 0.12);
    box-shadow: 0 14px 32px rgba(26, 36, 32, 0.08);
}

.mebis-memory-stat span {
    display: block;
    margin-bottom: 10px;
    color: #7a8580;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mebis-memory-stat strong {
    display: block;
    color: #1a2420;
    font-size: 17px;
    line-height: 1.35;
}

.mebis-memory-stat--accent {
    background: linear-gradient(145deg, #1a4d47 0%, #207067 100%);
}

.mebis-memory-stat--accent span,
.mebis-memory-stat--accent strong {
    color: #fff;
}

.mebis-memory-stat:last-child {
    grid-column: 1 / -1;
    min-height: 92px;
}

.mebis-memorial-hero .mebis-timeline {
    max-width: none;
    margin: 26px 0 0;
    padding: 22px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.74);
    border-color: rgba(32, 112, 103, 0.14);
}

.mebis-spiritual,
.mebis-detail__meta--compact,
.mebis-detail__map,
.mebis-support {
    border-radius: 22px;
}

.mebis-detail__meta--compact {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    background: transparent;
    border: 0;
}

.mebis-detail__meta--compact > div {
    display: block;
    min-height: 118px;
    padding: 18px;
    border: 1px solid #e6ece9;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(26, 36, 32, 0.07);
}

.mebis-detail__meta--compact dt {
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mebis-detail__meta--compact dd {
    max-width: none;
    text-align: left;
    font-size: 15px;
}

@media (max-width: 1024px) {
    .mebis-memorial-hero {
        grid-template-columns: 1fr;
    }

    .mebis-memorial-hero__photo {
        min-height: 360px;
        max-height: 560px;
    }

    .mebis-detail__meta--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .mebis-detail-topbar {
        width: calc(100% - 32px);
        align-items: flex-start;
        flex-direction: column;
        padding-top: 16px;
    }

    .mebis-detail-topbar__actions {
        width: 100%;
        justify-content: stretch;
    }

    .mebis-detail-topbar__actions a {
        flex: 1 1 100%;
        justify-content: center;
    }

    .mebis-panel--detail {
        border-radius: 24px;
    }

    .mebis-tribute-band {
        display: block;
        padding: 20px 18px;
        text-align: center;
    }

    .mebis-tribute-band__status {
        margin-top: 10px;
        text-align: center;
    }

    .mebis-memorial-hero {
        padding: 18px;
        gap: 22px;
        text-align: center;
    }

    .mebis-memorial-hero__photo,
    .mebis-memorial-hero__photo--placeholder {
        min-height: 290px;
        border-radius: 18px;
    }

    .mebis-memory-stats,
    .mebis-detail__meta--compact {
        grid-template-columns: 1fr;
    }

    .mebis-memory-stat:last-child {
        grid-column: auto;
    }

    .mebis-memorial-hero .mebis-timeline {
        margin-left: 0;
        margin-right: 0;
    }
}

@media print {
    .mebis-detail-topbar {
        display: none !important;
    }
}
