    /* ============================================
       SINGLE OBITUARY PAGE
       ============================================ */
    .obituary-single {
        max-width: 760px;
        margin: 0 auto 30px;
        background: #ffffff;
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
        border-radius: 8px;
        overflow: hidden;
    }

    .obituary-hero {
        background: linear-gradient(180deg, #0b1320 0%, #15243b 100%);
        color: #fff;
        padding: 28px 24px 22px;
        border-radius: 0;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
        justify-content: center;
        text-align: center;
        position: relative;
    }

    .obituary-hero-framed-stage {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 440px;
        margin: 0 auto 16px;
    }

    .obituary-hero-framed-stage .im-frame-card,
    .obituary-hero-framed-stage .memorial-frame-card {
        width: 100%;
    }

    .obituary-hero::before {
        content: "✧   IN LOVING MEMORY   ✧";
        display: block;
        font-size: 0.58rem;
        letter-spacing: 2.4px;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 10px;
        text-transform: uppercase;
    }

    .obituary-hero::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 1px;
        background: rgba(255, 255, 255, 0.65);
    }

    .obituary-hero-photo {
        width: 152px;
        height: 188px;
        border-radius: 48% / 44%;
        object-fit: cover;
        object-position: center 10%;
        border: 4px solid #fff;
        flex-shrink: 0;
        box-shadow: 0 2px 0 rgba(255, 255, 255, 0.55), 0 8px 22px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease;
        background: #000;
    }

    .obituary-hero-photo:hover {
        transform: scale(1.05);
    }

    .obituary-video-section {
        margin: 24px 0 0;
        padding: 18px 20px;
    }

    .obituary-video-wrap {
        text-align: center;
        margin-top: 12px;
    }

    .obituary-video-player {
        width: 100%;
        max-width: 100%;
        border-radius: 12px;
        background: #000;
    }

    .obituary-hero-photo-placeholder {
        width: 152px;
        height: 188px;
        border-radius: 48% / 44%;
        background: rgba(255,255,255,0.25);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 5rem;
        flex-shrink: 0;
        border: 4px solid white;
        box-shadow: 0 2px 0 rgba(255, 255, 255, 0.55), 0 8px 22px rgba(0, 0, 0, 0.2);
    }

    .obituary-hero-info {
        width: 100%;
        background: #ffffff;
        margin: 10px -24px -22px;
        padding: 14px 24px 0;
    }

    .obituary-hero-name {
        font-family: 'Georgia', 'Garamond', serif;
        font-size: 2rem;
        line-height: 1.08;
        font-weight: 500;
        color: #2c2c2c;
        margin-bottom: 8px;
        letter-spacing: 0.4px;
        text-transform: uppercase;
    }

    .obituary-hero-years {
        color: #aa6f78;
        font-size: 0.85rem;
        margin-bottom: 10px;
        display: inline-block;
        font-weight: 600;
        letter-spacing: 0.7px;
    }

    .obituary-hero-dates-location {
        display: flex;
        justify-content: center;
        gap: 18px;
        margin-top: 8px;
        margin-bottom: 10px;
        font-size: 0.78rem;
        color: #61464b;
        background: #f7eaed;
        border: 1px solid #f1d9df;
        padding: 8px 10px;
    }

    .obituary-hero-date-item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .obituary-hero-date-label {
        font-weight: 700;
        font-size: 0.63rem;
        letter-spacing: 0.8px;
        text-transform: uppercase;
        color: #b17882;
        margin-bottom: 4px;
    }

    .obituary-hero-date-value {
        font-size: 0.72rem;
        color: #6b4d53;
        line-height: 1.25;
    }

    .obituary-hero-excerpt {
        font-size: 0.95rem;
        color: #2a5560;
        line-height: 1.7;
        margin-top: 20px;
    }

    /* ============================================
       CONDOLENCES LIST
       ============================================ */
    .condolence-list { list-style: none; padding: 0; }

    .condolence-item {
        display: flex;
        gap: 14px;
        padding: 16px 0;
        border-bottom: 1px solid #e8f0f3;
    }

    .condolence-item:last-child { border-bottom: none; }

    .condolence-avatar {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: linear-gradient(135deg, #17b8d4 0%, #20c9d9 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 700;
        font-size: 0.9rem;
        flex-shrink: 0;
    }

    .condolence-body {}

    .condolence-author {
        font-weight: 700;
        font-size: 0.9rem;
        color: #1a3d47;
    }

    .condolence-date {
        font-size: 0.75rem;
        color: #7a9baa;
        margin-left: 8px;
    }

    .condolence-text {
        font-size: 0.875rem;
        color: #556a75;
        margin-top: 4px;
        line-height: 1.6;
    }

    /* ============================================
       OBITUARY BODY
       ============================================ */
    .obituary-body {
        color: #545454;
        font-size: 0.82rem;
        line-height: 1.95;
        letter-spacing: 0.1px;
    }

    .obituary-body p {
        margin: 0 0 16px;
    }

    .obituary-title-ornament {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin: 2px 0 10px;
    }

    .obituary-title-ornament::before,
    .obituary-title-ornament::after {
        content: "";
        width: 54px;
        height: 1px;
        background: #e8d6da;
    }

    .obituary-title-ornament span {
        color: #caa6ad;
        font-size: 0.78rem;
        line-height: 1;
    }

    .section-heading {
        font-family: 'Georgia', 'Garamond', serif;
        font-size: 1.3rem;
        color: #1a3d47;
        margin-bottom: 20px;
        font-weight: 600;
    }

    /* ============================================
       BUTTONS
       ============================================ */
    .btn-condolence:hover {
        background: #963d4f !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(168,73,86,0.35) !important;
    }

    .btn-candle:hover {
        background: #d49052 !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(223,160,102,0.35) !important;
    }

    .candles-section {
        margin-top: 22px;
        padding: 18px 22px;
        background: #fffafc;
        border: 1px solid #f4dde4;
        border-radius: 6px;
    }

    .candles-title {
        display: flex;
        align-items: center;
        gap: 10px;
        font-family: 'Georgia', 'Garamond', serif;
        color: #8a3f50;
        font-size: 1.02rem;
        margin-bottom: 14px;
    }

    .candles-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
        gap: 10px;
    }

    .candle-item {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 10px;
        background: #ffffff;
        border: 1px solid #f2e4e8;
        border-radius: 5px;
        font-size: 0.84rem;
        color: #5e5e5e;
    }

    .candle-name {
        display: inline-block;
        max-width: 85px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .flower-icon {
        --size: 24px;
        width: var(--size);
        height: var(--size);
        display: inline-block;
        position: relative;
        flex: 0 0 var(--size);
        vertical-align: middle;
        background-image: url('../img/memorial-lotus.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.45));
        transition: transform 0.25s ease;
    }

    .obituary-single-maaveerar .flower-icon,
    .btn-candle-maaveerar .flower-icon {
        background-image: url('../img/flame-flower-transparent.png') !important;
        filter: drop-shadow(0 2px 6px rgba(255, 120, 0, 0.65)) !important;
    }

    .flower-icon-lg {
        --size: 28px;
    }

    .flower-icon-xl {
        --size: 64px;
    }

    @keyframes flower-sway {
        0%, 100% { transform: rotate(-3deg); }
        50% { transform: rotate(3deg); }
    }

    @keyframes flower-bloom {
        0%, 100% { transform: translate(-50%, -50%) scale(0.95); }
        50% { transform: translate(-50%, -50%) scale(1.05); }
    }

    /* ============================================
       CONDOLENCES FORM SECTION
       ============================================ */
    .form-row {
        display: flex;
        gap: 15px;
        margin-bottom: 15px;
    }

    .form-row .form-group {
        flex: 1;
    }

    .form-group {
        display: flex;
        flex-direction: column;
        margin-bottom: 15px;
    }

    .form-label {
        font-weight: 600;
        color: #1a3d47;
        margin-bottom: 6px;
        font-size: 0.9rem;
    }

    .required {
        color: #a84956;
    }

    .form-control {
        border: 1px solid #d0dfe5;
        border-radius: 4px;
        padding: 10px 12px;
        font-size: 0.9rem;
        font-family: inherit;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .form-control:focus {
        outline: none;
        border-color: #17b8d4;
        box-shadow: 0 0 0 3px rgba(23,184,212,0.1);
    }

    .form-control::placeholder {
        color: #a0b3ba;
    }

    .btn-primary {
        background: #17b8d4;
        color: white;
        border: none;
        padding: 11px 24px;
        border-radius: 4px;
        font-weight: 600;
        cursor: pointer;
        font-size: 0.95rem;
        transition: all 0.3s ease;
    }

    .btn-primary:hover {
        background: #14a1bf;
        box-shadow: 0 4px 12px rgba(23,184,212,0.25);
    }

    .btn-primary:disabled {
        background: #a0b0b8;
        cursor: not-allowed;
    }

    /* ============================================
       SIDEBAR
       ============================================ */
    .sidebar {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .widget-submit {
        background: linear-gradient(135deg, #17b8d4 0%, #20c9d9 100%);
        border-radius: 6px;
        padding: 25px;
        color: white;
    }

    .widget-submit-title {
        font-weight: 700;
        font-size: 1.05rem;
        margin-bottom: 15px;
        letter-spacing: 0.5px;
    }

    .widget-submit-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .btn-submit-obituary,
    .btn-contact {
        display: inline-block;
        padding: 12px 20px;
        border-radius: 4px;
        text-decoration: none;
        font-weight: 600;
        text-align: center;
        transition: all 0.3s ease;
        color: white;
        background: rgba(255,255,255,0.15);
        border: 1px solid rgba(255,255,255,0.3);
    }

    .btn-submit-obituary:hover,
    .btn-contact:hover {
        background: rgba(255,255,255,0.25);
        border-color: rgba(255,255,255,0.5);
        transform: translateY(-2px);
    }

    .sidebar .card {
        background: white;
        border-radius: 6px;
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    .sidebar .card h3 {
        font-family: 'Georgia', 'Garamond', serif;
        color: #1a3d47;
        font-size: 1rem;
        margin-bottom: 15px;
        font-weight: 700;
    }

    .sidebar .card ul li {
        padding: 10px 0;
        border-bottom: 1px solid #e8f0f3;
    }

    .sidebar .card ul li:last-child {
        border-bottom: none;
    }

    .sidebar .card a {
        font-size: 0.85rem;
        font-weight: 600;
        color: #1a3d47;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .sidebar .card a:hover {
        color: #17b8d4;
    }

    .sidebar .card span {
        display: block;
        font-size: 0.72rem;
        color: #7a9baa;
        margin-top: 4px;
    }

    .obituary-single .card {
        background: #fff;
        border-radius: 0;
        box-shadow: none;
        border: 0;
        margin: 0;
        padding: 18px 24px;
    }

    .obituary-single .card + .card {
        border-top: 1px solid #f0ecee;
    }

    .tribute-actions {
        margin-top: 18px !important;
        gap: 10px !important;
    }

    .btn-condolence,
    .btn-candle {
        font-size: 0.8rem !important;
        padding: 10px 14px !important;
        border-radius: 2px !important;
        box-shadow: none !important;
    }

    @media (max-width: 900px) {
        .content-layout {
            display: block;
        }

        .sidebar {
            margin-top: 20px;
        }
    }

    /* ============================================
       POSTER THEME OVERRIDES (black + gold)
       (appended last so it wins over older CSS)
       ============================================ */
    .obituary-single {
        max-width: 980px !important;
        background: #ffffff !important;
        border-radius: 14px !important;
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08) !important;
        border: 1px solid #ddd !important;
        padding: clamp(14px, 2vw, 22px) !important;
        position: relative !important;
        overflow: hidden !important;
        margin-bottom: 30px !important;
    }

    .obituary-hero {
        background: linear-gradient(135deg, rgba(27, 48, 43, 0.95) 0%, rgba(40, 60, 53, 0.92) 100%) !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        color: inherit !important;
        padding: 18px 24px 22px !important;
        margin-bottom: 18px !important;
        position: relative !important;
    }

    .obituary-hero::before {
        content: "✧   IN LOVING MEMORY   ✧";
        color: white !important;
        font-size: clamp(0.7rem, 1.0vw, 0.95rem) !important;
        letter-spacing: 2.2px !important;
        margin-bottom: 12px !important;
        font-weight: 600 !important;
        text-transform: uppercase;
    }

    .obituary-single-maaveerar .obituary-hero {
        background: radial-gradient(circle at 50% 30%, #1c130b 0%, #080808 100%) !important;
        border: 1px solid #3d2a1a !important;
    }

    .obituary-single-maaveerar .obituary-hero::before {
        content: "✧   வீரவணக்கம்   ✧";
        color: #ffb703 !important;
    }

    .obituary-hero::after {
        background: linear-gradient(90deg, transparent, rgba(224, 167, 67, 0.9), transparent) !important;
        height: 1px !important;
        opacity: 0.85 !important;
    }

    .obituary-hero-photo {
        width: 100% !important;
        height: 100% !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        object-position: center !important;
        border: none !important;
        box-shadow: none !important;
        transition: transform 0.25s ease;
        display: block;
    }

    .obituary-hero-photo:hover { transform: scale(1.04); }

    .obituary-hero-photo-placeholder {
        width: 100% !important;
        height: 100% !important;
        border-radius: 50% !important;
        background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.14), rgba(0, 0, 0, 0.25));
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 4.4rem !important;
        border: none !important;
        box-shadow: none !important;
    }

    .obituary-hero-info {
        width: 100%;
        background: transparent !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative;
        z-index: 3;
		margin-bottom:20px;
    }

    .obituary-title-ornament {
        margin: 0 0 6px !important;
    }

    .obituary-title-ornament::before,
    .obituary-title-ornament::after {
        background: rgba(224, 167, 67, 0.85) !important;
        width: clamp(34px, 6vw, 56px) !important;
    }

    .obituary-title-ornament span { color: #e0a743; }

    .obituary-poster-heading {
        font-size: clamp(1.25rem, 2.6vw, 2.2rem);
        font-weight: 800;
        color: #e0a743;
        text-align: center;
        letter-spacing: 0.05em;
        margin: 2px 0 8px;
        text-shadow: 0 0 18px rgba(0, 0, 0, 0.7);
    }

    .obituary-hero-name {
        font-family: Georgia, "Garamond", serif !important;
        font-size: clamp(1.3rem, 2.9vw, 2.3rem) !important;
        letter-spacing: 0.08em !important;
        text-transform: none !important;
        font-weight: 800 !important;
        color: #eac46b !important;
        margin-bottom: 6px !important;
    }

    .obituary-hero-years { display: none !important; }

    .obituary-hero-dates-location {
        display: flex !important;
        justify-content: center !important;
        gap: 16px !important;
        margin-top: 12px !important;
        margin-bottom: 0 !important;
        font-size: 0.97rem !important;
        color: #333 !important;
        background: #f9f9f9 !important;
        border: 1px solid #e0e0e0 !important;
        padding: 10px 12px !important;
        border-radius: 10px !important;
        flex-wrap: wrap;
    }

    .obituary-hero-date-label { color: #e0a743 !important; }
    .obituary-hero-date-value { color: #333 !important; font-weight: 600; }

    /* Buttons */
    .tribute-actions { margin-top: 18px !important; justify-content: center !important; }
    .obituary-single .btn-condolence {
        background: #e0a743 !important;
        border: 1px solid #e0a743 !important;
        color: #fff !important;
    }
    .obituary-single .btn-candle {
        background: #e0a743 !important;
        border: 1px solid #e0a743 !important;
        color: #fff !important;
    }

    /* Poster body + sections */
    .obituary-single .card {
        background: #ffffff !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 10px !important;
        box-shadow: none !important;
        padding: 18px 18px !important;
    }

    .obituary-body {
        color: #333 !important;
        font-size: clamp(0.95rem, 1.15vw, 1.05rem) !important;
        line-height: 1.95 !important;
    }

    /* Schedule */
    .poster-schedule {
        margin-top: 18px;
        padding: 16px 14px;
        border: 1px solid #e0e0e0;
        border-radius: 10px;
        background: #f9f9f9;
        width: 100%;
    }

    .poster-schedule-heading {
        text-align: center;
        color: #e0a743;
        font-weight: 900;
        font-family: Georgia, "Garamond", serif;
        font-size: clamp(1.05rem, 2vw, 1.2rem);
        margin: 0 0 12px;
    }

    .poster-schedule-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .poster-schedule-card {
        border: 1px solid #e0e0e0;
        background: #ffffff;
        border-radius: 8px;
        padding: 12px 12px;
        color: #333;
        min-height: 120px;
        width: 100%;
    }

    .obituary-event-card {
        display: flex;
        flex-direction: column;
        background: #fff;
        border: 1px solid #f4dde4;
        border-radius: 14px;
        padding: 18px 18px 16px;
        color: #23303a;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
        width: 100%;
    }

    .obituary-event-header {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 14px;
        align-items: flex-start;
    }

    .obituary-event-title {
        font-size: 0.95rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: #1f2c36;
    }

    .event-direction-link {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 0.85rem;
        font-weight: 700;
        color: #c71a2b;
        text-decoration: none;
    }
    .event-direction-link span:last-child {
        margin-left: 0;
    }

    .event-direction-link:hover {
        text-decoration: underline;
    }

    .obituary-event-date {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 12px;
        flex-wrap: wrap;
        color: #44515b;
        font-size: 0.92rem;
    }

    .event-time-badge {
        display: inline-flex;
        align-items: center;
        background: #e9faf0;
        border: 1px solid #9fe2c4;
        color: #1c6c41;
        border-radius: 999px;
        padding: 8px 12px;
        font-weight: 700;
        font-size: 0.85rem;
    }

    .event-location-title {
        color: #c71a2b;
        font-size: 0.95rem;
        font-weight: 700;
        margin-bottom: 4px;
    }

    .event-location-address {
        color: #3f4a52;
        line-height: 1.7;
        font-size: 0.9rem;
    }

    .poster-schedule-title {
        font-weight: 900;
        color: #ffd98a;
        margin-bottom: 6px;
        letter-spacing: 0.02em;
    }

    .poster-schedule-label { color: #e0a743; font-weight: 800; }

    .poster-contact {
        margin-top: 12px;
        text-align: center;
        color: #333;
        font-size: 0.9rem;
        line-height: 1.8;
    }

    .poster-contact-label { color: #e0a743; font-weight: 800; margin-right: 6px; }

    /* Candles + Condolences in poster colors */
    .candles-section {
        background: #f9f9f9 !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 10px;
    }

    .candles-title { color: #1a3d47 !important; }

    .candle-item {
        background: #ffffff !important;
        border: 1px solid #e0e0e0 !important;
        color: #333 !important;
    }

    .condolence-item { border-bottom: 1px solid #e8f0f3; }
    .section-heading { color: #1a3d47 !important; }

    @media (max-width: 768px) {
        .poster-schedule-grid { grid-template-columns: 1fr; }
        .obituary-single { padding: 12px; }
    }

    @media (max-width: 480px) {
        .obituary-hero-dates-location { gap: 10px; }
    }
