/* MEBIS 2026 visual layer
   Presentation-only overrides: server control IDs and application behavior stay intact. */
:root {
    --mebis-ink: #17251f;
    --mebis-muted: #68766f;
    --mebis-green: #176b4d;
    --mebis-green-2: #2f9b70;
    --mebis-mint: #bce9d2;
    --mebis-gold: #d5ad5c;
    --mebis-paper: #f7faf8;
    --mebis-white: #ffffff;
    --mebis-line: rgba(23, 107, 77, .13);
    --mebis-shadow: 0 24px 70px rgba(22, 58, 44, .12);
    --mebis-shadow-soft: 0 12px 35px rgba(22, 58, 44, .08);
}

html { scroll-behavior: smooth; }

body.mebis-page {
    min-width: 320px;
    color: var(--mebis-ink);
    font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 8% 8%, rgba(129, 207, 170, .30), transparent 28rem),
        radial-gradient(circle at 92% 2%, rgba(213, 173, 92, .17), transparent 25rem),
        linear-gradient(145deg, #eef7f2 0%, #f9fbfa 48%, #edf5f1 100%);
}

.mebis-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .38;
    background-image: radial-gradient(rgba(23, 107, 77, .20) .7px, transparent .7px);
    background-size: 22px 22px;
    mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

.mebis-page .content {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto !important;
    padding-bottom: 48px;
    background: transparent;
}

.mebis-page .container-fluid.pt-4.px-4 { padding-top: 28px !important; }

/* Header */
.mebis-hero {
    position: relative;
    isolation: isolate;
    min-height: 190px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .46);
    border-radius: 30px;
    color: #fff;
    background:
        linear-gradient(120deg, rgba(8, 55, 39, .98), rgba(23, 107, 77, .94) 56%, rgba(47, 155, 112, .86)),
        #176b4d;
    box-shadow: 0 28px 70px rgba(14, 69, 49, .22);
}

.mebis-hero::before,
.mebis-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    pointer-events: none;
}

.mebis-hero::before {
    width: 360px;
    height: 360px;
    top: -245px;
    right: 2%;
    border: 1px solid rgba(255, 255, 255, .24);
    box-shadow: 0 0 0 45px rgba(255, 255, 255, .035), 0 0 0 90px rgba(255, 255, 255, .025);
}

.mebis-hero::after {
    width: 280px;
    height: 280px;
    left: -130px;
    bottom: -225px;
    background: rgba(213, 173, 92, .22);
    filter: blur(2px);
}

.mebis-hero__glow {
    position: absolute;
    inset: auto 20% -100px auto;
    width: 280px;
    height: 180px;
    background: rgba(188, 233, 210, .20);
    filter: blur(65px);
}

.mebis-hero__inner { margin: 0 !important; padding: 28px; }

.mebis-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: #fff !important;
    text-decoration: none !important;
}

.mebis-brand__logo {
    width: 92px;
    height: 92px;
    flex: 0 0 92px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 25px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .18);
}

.mebis-brand__logo img { display: block; max-width: 70px; max-height: 70px; }
.mebis-brand__copy { display: flex; flex-direction: column; align-items: flex-start; }
.mebis-brand__copy small { margin-bottom: 2px; color: #d9f3e6; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.mebis-brand__copy strong { font-family: "Roboto", sans-serif; font-size: clamp(1.65rem, 3.4vw, 2.65rem); line-height: 1.12; letter-spacing: -.025em; }
.mebis-brand__copy > span { margin-top: 8px; color: rgba(255, 255, 255, .76); font-size: .95rem; }
.mebis-hero--compact { min-height: 150px; }
.mebis-hero--compact .mebis-brand__logo { width: 76px; height: 76px; flex-basis: 76px; border-radius: 21px; }
.mebis-hero--compact .mebis-brand__logo img { max-width: 58px; max-height: 58px; }

/* Panels and headings */
.mebis-page .mebis-panel,
.mebis-search-page .content > .container-fluid:not(:first-child) .bg-secondary.rounded {
    border: 1px solid rgba(255, 255, 255, .84);
    border-radius: 26px !important;
    color: var(--mebis-ink);
    background: rgba(255, 255, 255, .88) !important;
    box-shadow: var(--mebis-shadow-soft);
    backdrop-filter: blur(16px);
}

.mebis-page .mebis-panel { padding: clamp(22px, 4vw, 42px) !important; }

.mebis-section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
    text-align: left;
}

.mebis-section-heading__icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--mebis-green), var(--mebis-green-2));
    box-shadow: 0 12px 25px rgba(23, 107, 77, .24);
}

.mebis-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: var(--mebis-green);
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.mebis-section-heading h1,
.mebis-detail-heading h1 { margin: 0; color: var(--mebis-ink); font-family: "Roboto", sans-serif; font-weight: 700; letter-spacing: -.025em; }
.mebis-section-heading h1 { font-size: clamp(1.45rem, 3vw, 2rem); }
.mebis-section-heading p { margin: 5px 0 0; color: var(--mebis-muted); font-size: .92rem; }
.mebis-search-panel > .row { max-width: 940px; margin-right: auto; margin-left: auto; }

/* Search inputs and buttons */
.mebis-page .form-label { margin-bottom: 9px; color: #2c3f36 !important; font-size: .84rem; font-weight: 700; }
.mebis-page .form-label i { margin-right: 6px; color: var(--mebis-green-2); }
.mebis-page .form-control,
.mebis-page .form-select {
    min-height: 56px;
    border: 1px solid #dbe7e0;
    border-radius: 15px;
    color: var(--mebis-ink);
    background-color: #f9fcfa;
    box-shadow: inset 0 1px 2px rgba(21, 69, 50, .03);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.mebis-page .form-control::placeholder { color: #9aa7a1; }
.mebis-page .form-control:focus,
.mebis-page .form-select:focus { border-color: var(--mebis-green-2); background: #fff; box-shadow: 0 0 0 4px rgba(47, 155, 112, .12); }
.mebis-action-col { margin-bottom: 0 !important; }
.mebis-action-col > .form-label { display: none; }
.mebis-action-col > .mb-3 { margin-bottom: 0 !important; }

.mebis-page .mebis-btn {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    border-radius: 15px;
    font-size: .92rem;
    font-weight: 700;
    letter-spacing: .01em;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.mebis-page .mebis-btn:hover { transform: translateY(-2px); }
.mebis-page .mebis-btn--primary { border: 0; color: #fff; background: linear-gradient(135deg, #125c42, #2f9b70); box-shadow: 0 13px 28px rgba(23, 107, 77, .24); }
.mebis-page .mebis-btn--primary:hover { color: #fff; box-shadow: 0 16px 32px rgba(23, 107, 77, .31); }
.mebis-page .mebis-btn--ghost { border: 1px solid #cfddd5; color: #405249; background: #f4f8f6; box-shadow: none; }
.mebis-page .mebis-btn--ghost:hover { border-color: #a9c8b8; color: var(--mebis-green); background: #edf7f2; }

/* Search result and memorial lists */
.mebis-search-page .content > .container-fluid:not(:first-child) h6 {
    position: relative;
    margin-bottom: 24px !important;
    padding-bottom: 16px;
    color: var(--mebis-ink);
    font-family: "Roboto", sans-serif;
    font-size: 1.23rem;
    font-weight: 700;
}

.mebis-search-page .content > .container-fluid:not(:first-child) h6::after {
    content: "";
    position: absolute;
    width: 42px;
    height: 3px;
    left: 50%;
    bottom: 0;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--mebis-gold), var(--mebis-green-2));
    transform: translateX(-50%);
}

.mebis-page .table-responsive { border: 1px solid #e4ece8; border-radius: 17px; background: #fff; }
.mebis-page .table { margin-bottom: 0; color: var(--mebis-ink); }
.mebis-page .table thead { background: linear-gradient(90deg, #eff8f3, #f8fbf9); }
.mebis-page .table thead th { padding: 15px 14px; border: 0; color: #65756d; font-size: .72rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; white-space: nowrap; }
.mebis-page .table tbody td { padding: 15px 14px; border-color: #edf2ef; vertical-align: middle; }
.mebis-page .table tbody tr { transition: background .18s ease; }
.mebis-page .table tbody tr:hover { background: #f5faf7; }
.mebis-page .mebis-clickable-row { cursor: pointer; outline: none; }
.mebis-page .mebis-clickable-row:hover { background: #edf8f2; }
.mebis-page .mebis-clickable-row:focus-visible { background: #edf8f2; box-shadow: inset 0 0 0 2px var(--mebis-green-2); }
.mebis-page .table a { color: #32483e !important; font-size: .83rem; text-decoration: none; }
.mebis-page .table td:first-child a { color: var(--mebis-ink) !important; font-weight: 700; }
.mebis-page .table td:last-child a { display: inline-flex; padding: 8px 12px; border: 1px solid rgba(23, 107, 77, .18); border-radius: 10px; color: var(--mebis-green) !important; font-weight: 700; background: #eff8f3; white-space: nowrap; }
.mebis-page .alert-danger { border: 1px solid #f1d7d0; border-radius: 14px; color: #894b40; background: #fff6f3; }

/* The server renders separate mobile repeaters. Turn their legacy blocks into cards. */
#aramaSonucMobilFull hr,
#lastForthyMobileList hr,
#divDeathDayTodayMobile hr { display: none; }

#aramaSonucMobilFull .col-xs-12,
#lastForthyMobileList .col-xs-12,
#divDeathDayTodayMobile .col-xs-12 { margin-bottom: 14px; }

.mebis-clickable-card { position: relative; cursor: pointer; outline: none; }
.mebis-clickable-card::after { content: "›"; position: absolute; right: 16px; top: 13px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; color: var(--mebis-green); font-size: 1.35rem; line-height: 1; background: #eaf6f0; pointer-events: none; }
.mebis-clickable-card:focus-visible > .bg-secondary { border-color: var(--mebis-green-2) !important; box-shadow: 0 0 0 3px rgba(47, 155, 112, .15) !important; }

#aramaSonucMobilFull .col-xs-12 > .bg-secondary,
#lastForthyMobileList .col-xs-12 > .bg-secondary,
#divDeathDayTodayMobile .col-xs-12 > .bg-secondary {
    padding: 17px 17px 6px;
    border: 1px solid #e1ebe6;
    border-radius: 17px !important;
    color: var(--mebis-ink) !important;
    background: linear-gradient(145deg, #fff, #f6faf8) !important;
    box-shadow: 0 8px 24px rgba(22, 58, 44, .07);
}

/* Mobile search results: stronger green hierarchy and a clear primary action. */
#aramaSonucMobilFull .mebis-clickable-card > .bg-secondary {
    overflow: hidden;
    padding: 19px 18px 8px;
    border: 1px solid #9ecbb3;
    border-left: 5px solid #176b4d;
    background: linear-gradient(145deg, #f1faf5 0%, #e5f4eb 100%) !important;
    box-shadow: 0 12px 28px rgba(20, 91, 65, .14);
}

#aramaSonucMobilFull .mebis-clickable-card::after {
    color: #fff;
    background: #176b4d;
    box-shadow: 0 6px 14px rgba(23, 107, 77, .23);
}

#aramaSonucMobilFull .mebis-clickable-card p:first-child {
    padding-top: 4px;
    padding-right: 35px;
}

#aramaSonucMobilFull .mebis-clickable-card p:first-child a {
    color: #113f2e !important;
    font-size: .93rem !important;
}

#aramaSonucMobilFull .mebis-clickable-card p:last-child {
    display: block;
    margin: 12px -5px 5px;
    padding: 0;
    border: 0;
}

#aramaSonucMobilFull .mebis-clickable-card p:last-child > strong { display: none; }

#aramaSonucMobilFull .mebis-clickable-card p:last-child a {
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px 16px;
    border-radius: 12px;
    color: #fff !important;
    font-size: .83rem !important;
    font-weight: 800;
    letter-spacing: .015em;
    background: linear-gradient(135deg, #12583f, #24845e);
    box-shadow: 0 9px 20px rgba(18, 88, 63, .22);
}

#aramaSonucMobilFull .mebis-clickable-card p:last-child a::after {
    content: "  ›";
    margin-left: 8px;
    font-size: 1.2rem;
    line-height: .8;
}

/* Anniversary cards use a warm memorial tone, separate from search results. */
#divDeathDayTodayMobile .mebis-clickable-card > .bg-secondary {
    overflow: hidden;
    padding: 19px 18px 8px;
    border: 1px solid #dac79d;
    border-left: 5px solid #9a7b3d;
    background: linear-gradient(145deg, #fffaf0 0%, #f4ecd9 100%) !important;
    box-shadow: 0 12px 28px rgba(112, 86, 38, .13);
}

#divDeathDayTodayMobile .mebis-clickable-card::after {
    color: #fff;
    background: #9a7b3d;
    box-shadow: 0 6px 14px rgba(112, 86, 38, .20);
}

#divDeathDayTodayMobile .mebis-clickable-card p { border-bottom-color: rgba(154, 123, 61, .14); }
#divDeathDayTodayMobile .mebis-clickable-card p:first-child { padding-top: 4px; padding-right: 35px; }
#divDeathDayTodayMobile .mebis-clickable-card p:first-child a { color: #57441e !important; font-size: .93rem !important; }
#divDeathDayTodayMobile .mebis-clickable-card p:last-child a { color: #7b602c !important; font-weight: 800; }

#aramaSonucMobilFull .bg-secondary .bg-secondary,
#lastForthyMobileList .bg-secondary .bg-secondary,
#divDeathDayTodayMobile .bg-secondary .bg-secondary { color: var(--mebis-ink) !important; background: transparent !important; }

#aramaSonucMobilFull p,
#lastForthyMobileList p,
#divDeathDayTodayMobile p { display: grid; grid-template-columns: 42% 58%; gap: 8px; margin: 0; padding: 9px 0; border-bottom: 1px solid #edf2ef; font-family: inherit !important; font-size: .82rem !important; }

#aramaSonucMobilFull p:last-child,
#lastForthyMobileList p:last-child,
#divDeathDayTodayMobile p:last-child { border-bottom: 0; }

#aramaSonucMobilFull p strong,
#lastForthyMobileList p strong,
#divDeathDayTodayMobile p strong { color: #78857f; font-size: .75rem; }

#aramaSonucMobilFull p a,
#lastForthyMobileList p a,
#divDeathDayTodayMobile p a { color: var(--mebis-ink) !important; font-family: inherit !important; font-size: .82rem !important; font-weight: 700; text-decoration: none; }

/* Detail page */
.mebis-detail-heading { position: relative; margin-bottom: 30px; text-align: center; }
.mebis-detail-heading h1 { font-size: clamp(1.7rem, 4vw, 2.55rem); }
.mebis-detail-heading__line { display: block; width: 64px; height: 3px; margin: 15px auto 0; border-radius: 5px; background: linear-gradient(90deg, var(--mebis-gold), var(--mebis-green-2)); }
.mebis-back-link { position: absolute; left: 0; top: 4px; display: inline-flex; align-items: center; gap: 7px; color: var(--mebis-green); font-size: .82rem; font-weight: 700; text-decoration: none; }
.mebis-back-link:hover { color: #0e4f38; }

.mebis-life-line {
    display: grid;
    grid-template-columns: minmax(210px, auto) minmax(180px, 1fr) minmax(210px, auto);
    align-items: center;
    gap: 16px;
    margin: 0 0 30px;
    padding: 18px 22px;
    border: 1px solid #e0ebe5;
    border-radius: 20px;
    background: linear-gradient(110deg, #f8fbf9, #eef8f3 52%, #f8fbf9);
}

.mebis-life-line__point { display: flex; align-items: center; gap: 11px; min-width: 0; }
.mebis-life-line__point--death { flex-direction: row-reverse; text-align: right; }
.mebis-life-line__icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border: 1px solid rgba(23, 107, 77, .13); border-radius: 13px; color: var(--mebis-green); background: #fff; box-shadow: 0 8px 20px rgba(22, 58, 44, .08); }
.mebis-life-line__point--death .mebis-life-line__icon { color: #7a673b; background: #fffaf0; }
.mebis-life-line__point div { min-width: 0; }
.mebis-life-line__point small { display: block; margin-bottom: 3px; color: #829089; font-size: .66rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.mebis-life-line__point strong { display: block; color: var(--mebis-ink); font-size: .79rem; white-space: nowrap; }
.mebis-life-line__converted { display: block; margin-top: 3px; color: var(--mebis-green); font-size: .68rem; font-weight: 700; }
.mebis-life-line__track { position: relative; height: 44px; display: grid; place-items: center; }
.mebis-life-line__track::before,
.mebis-life-line__track::after { content: ""; position: absolute; z-index: 2; top: 8px; width: 9px; height: 9px; border: 3px solid #fff; border-radius: 50%; background: var(--mebis-green-2); box-shadow: 0 0 0 1px rgba(23, 107, 77, .22); }
.mebis-life-line__track::before { left: 0; }
.mebis-life-line__track::after { right: 0; background: var(--mebis-gold); }
.mebis-life-line__track > span { position: absolute; top: 11px; left: 0; right: 0; height: 3px; border-radius: 4px; background: linear-gradient(90deg, var(--mebis-green-2), #90cbaa 52%, var(--mebis-gold)); }
.mebis-life-line__track em { align-self: end; color: #63726a; font-size: .7rem; font-style: normal; font-weight: 700; text-align: center; }

.mebis-grave-photo { position: relative; overflow: hidden; min-height: 360px; display: grid; place-items: center; border: 1px solid #dfe9e4; border-radius: 22px; background: linear-gradient(145deg, #eef5f1, #fff); box-shadow: var(--mebis-shadow-soft); }
.mebis-grave-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 28%; pointer-events: none; background: linear-gradient(transparent, rgba(10, 43, 31, .15)); }
.mebis-grave-photo img { display: block; width: 100%; height: 100%; min-height: 360px; max-height: 560px; object-fit: contain; }
.mebis-grave-photo__badge { position: absolute; z-index: 2; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid rgba(255, 255, 255, .65); border-radius: 11px; color: #fff; font-size: .72rem; font-weight: 700; background: rgba(11, 56, 40, .72); box-shadow: 0 6px 18px rgba(0, 0, 0, .15); backdrop-filter: blur(9px); }

.mebis-info-card,
.mebis-map-card,
.mebis-prayer-card { border: 1px solid #e0eae5; border-radius: 20px; background: linear-gradient(145deg, #fff, #f8fbf9); box-shadow: var(--mebis-shadow-soft); }
.mebis-info-card,
.mebis-map-card { padding: 20px; }
.mebis-info-card__title { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--mebis-ink); font-family: "Roboto", sans-serif; font-size: 1rem; font-weight: 700; }
.mebis-info-card__title i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--mebis-green); background: #e9f6ef; }
.mebis-detail-list { margin: 0; }
.mebis-detail-list > div { padding: 10px 0; border-bottom: 1px solid #e9efec; }
.mebis-detail-list > div:last-child { border-bottom: 0; }
.mebis-detail-list dt { margin-bottom: 3px; color: #86928c; font-size: .68rem; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.mebis-detail-list dd { margin: 0; color: #263b31; font-size: .9rem; font-weight: 700; overflow-wrap: anywhere; }
.mebis-detail-list .mebis-hijri-date { margin: 7px -10px; padding: 12px 10px; border: 1px solid #eadfca; border-radius: 12px; background: #fffaf0; }
.mebis-detail-list .mebis-hijri-date dt { color: #92763b; }
.mebis-detail-list .mebis-hijri-date dd { color: #584923; }
.mebis-detail-list .mebis-hijri-date small { display: block; margin-top: 4px; color: #9a8e74; font-size: .61rem; }
.mebis-time-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 15px; }
.mebis-time-grid > div { padding: 13px 7px; border: 1px solid #dfece5; border-radius: 13px; text-align: center; background: #eef8f3; }
.mebis-time-grid span { display: block; color: var(--mebis-green); font-family: "Roboto", sans-serif; font-size: 1.06rem; font-weight: 700; }
.mebis-time-grid small { color: #7c8983; font-size: .66rem; }
.mebis-elapsed-time { margin-top: 16px; padding: 15px; border: 1px solid #cfe4d8; border-radius: 14px; text-align: center; background: linear-gradient(135deg, #eaf7f0, #f8fbf9); }
.mebis-elapsed-time small { display: block; margin-bottom: 5px; color: #74827b; font-size: .65rem; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }
.mebis-elapsed-time strong { display: block; color: var(--mebis-green); font-family: "Roboto", sans-serif; font-size: .98rem; }
.mebis-detail-actions { display: grid; gap: 10px; margin-top: 14px; }

.mebis-map-card { overflow: hidden; }
.mebis-map-frame { overflow: hidden; min-height: 390px; border-radius: 14px; background: #edf3f0; }
.mebis-map-frame iframe,
.mebis-map-frame embed,
.mebis-map-frame object { width: 100% !important; min-height: 390px !important; height: 100% !important; border: 0 !important; border-radius: 14px; }

.mebis-prayer-card { display: flex; align-items: center; gap: 22px; margin-top: 18px; padding: 18px; }
.mebis-prayer-card__heading { display: flex; align-items: center; gap: 10px; min-width: 112px; }
.mebis-prayer-card__heading > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(135deg, var(--mebis-green), var(--mebis-green-2)); }
.mebis-prayer-card__heading div { display: flex; flex-direction: column; }
.mebis-prayer-card__heading small { color: #87938d; font-size: .65rem; }
.mebis-prayer-card__heading strong { color: var(--mebis-ink); font-size: .9rem; }
.mebis-audio-list { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mebis-audio-item label { display: block; margin-bottom: 6px; color: #5f6e67; font-size: .72rem; font-weight: 700; }
.mebis-audio-item audio { width: 100%; height: 36px; display: block; }

.mebis-page .back-to-top { right: 24px; bottom: 24px; border: 0; color: #fff; background: linear-gradient(135deg, var(--mebis-green), var(--mebis-green-2)); box-shadow: 0 12px 28px rgba(23, 107, 77, .26); }
.mebis-page #spinner { background: #f2f8f5 !important; }
.mebis-page #spinner .spinner-border { color: var(--mebis-green) !important; }

@media (max-width: 1199.98px) {
    .mebis-map-frame { min-height: 320px; }
    .mebis-map-frame iframe, .mebis-map-frame embed, .mebis-map-frame object { min-height: 320px !important; }
}

@media (max-width: 767.98px) {
    .mebis-page .container-fluid.pt-4.px-4 { padding: 16px 14px 0 !important; }
    .mebis-hero { min-height: 165px; border-radius: 23px; }
    .mebis-hero__inner { padding: 22px 16px; }
    .mebis-brand { gap: 13px; }
    .mebis-brand__logo { width: 70px; height: 70px; flex-basis: 70px; border-radius: 19px; }
    .mebis-brand__logo img { max-width: 53px; max-height: 53px; }
    .mebis-brand__copy small { font-size: .59rem; letter-spacing: .12em; }
    .mebis-brand__copy strong { font-size: 1.3rem; }
    .mebis-brand__copy > span { display: none; }
    .mebis-section-heading { align-items: flex-start; justify-content: flex-start; margin-bottom: 22px; }
    .mebis-section-heading__icon { width: 48px; height: 48px; flex-basis: 48px; border-radius: 14px; }
    .mebis-section-heading p { font-size: .8rem; }
    .mebis-page .mebis-panel { padding: 20px 16px !important; border-radius: 21px !important; }
    .mebis-search-panel .mb-3 { margin-bottom: 10px !important; }
    .mebis-action-col { width: 50%; }
    .mebis-page .mebis-btn { min-height: 50px; }
    .mebis-search-page .content > .container-fluid:not(:first-child) .bg-secondary.rounded { padding: 18px 12px !important; border-radius: 21px !important; }
    .mebis-detail-heading { padding-top: 36px; }
    .mebis-back-link { top: 0; }
    .mebis-life-line { grid-template-columns: 1fr; gap: 10px; padding: 16px; }
    .mebis-life-line__point--death { flex-direction: row; text-align: left; }
    .mebis-life-line__track { width: 3px; height: 54px; margin-left: 19px; display: block; background: linear-gradient(var(--mebis-green-2), var(--mebis-gold)); }
    .mebis-life-line__track > span, .mebis-life-line__track::before, .mebis-life-line__track::after { display: none; }
    .mebis-life-line__track em { position: absolute; width: max-content; max-width: calc(100vw - 100px); left: 17px; top: 50%; padding: 5px 9px; border-radius: 8px; color: #63726a; background: #fff; transform: translateY(-50%); }
    .mebis-grave-photo, .mebis-grave-photo img { min-height: 260px; }
    .mebis-prayer-card { display: block; }
    .mebis-prayer-card__heading { margin-bottom: 15px; }
    .mebis-audio-list { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
    .mebis-brand__logo { width: 60px; height: 60px; flex-basis: 60px; }
    .mebis-brand__logo img { max-width: 45px; max-height: 45px; }
    .mebis-brand__copy strong { font-size: 1.08rem; }
    .mebis-section-heading__icon { display: none; }
    .mebis-action-col { width: 100%; }
    #aramaSonucMobilFull p, #lastForthyMobileList p, #divDeathDayTodayMobile p { grid-template-columns: 40% 60%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
