@font-face {
    font-family: "Cabinet Grotesk";
    src: url("/assets/css/fonts/cabinet/CabinetGrotesk-Thin.otf") format("opentype");
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: "Cabinet Grotesk";
    src: url("/assets/css/fonts/cabinet/CabinetGrotesk-Extralight.otf") format("opentype");
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: "Cabinet Grotesk";
    src: url("/assets/css/fonts/cabinet/CabinetGrotesk-Light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Cabinet Grotesk";
    src: url("/assets/css/fonts/cabinet/CabinetGrotesk-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Cabinet Grotesk";
    src: url("/assets/css/fonts/cabinet/CabinetGrotesk-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Cabinet Grotesk";
    src: url("/assets/css/fonts/cabinet/CabinetGrotesk-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Cabinet Grotesk";
    src: url("/assets/css/fonts/cabinet/CabinetGrotesk-Extrabold.otf") format("opentype");
    font-weight: 800;
    font-style: normal;
}

:root {
    --cabinet-font: "Cabinet Grotesk", sans-serif;
}


.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dd-menu>li>a {
    line-height: 90px;
    color: #555;
    display: block;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease 0.1s;
    position: relative;
    font-family: var(--cabinet-font);
    font-weight: 500;
}

.banner-area {
    position: relative;
    background: url('/assets/images/banner.jpg') no-repeat;
    background-size: cover;
    padding: 50px 0;
    background-position: center;
}


.banner-area .overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.banner-area h1 {
    color: #ffffff;
    font-size: 24px;
    margin: 0;
    text-transform: uppercase;
    z-index: 2;
    position: relative;
    font-family: var(--cabinet-font) !important;
    text-align: center;
    font-weight: 600;
    margin: auto;
    width: 65%;
}

.banner-area .bannner-content {
    position: relative;
    z-index: 2;
}

.topbar {
    background: rgba(0, 0, 0, 1) !important;
}

.banner-area .bannner-content .date {
    color: #ffffff;
    text-align: center;
    margin-bottom: 0;
    color: #d7c365;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-top: 10px !important;
}

.banner-area .bannner-content .date span i {
    color: #fff !important;
    font-size: 10px !important;

}

.banner-area .bannner-content .date span {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}


.main-content {
    padding-top: 40px;
}

.sticky-col {
    position: sticky;
    top: 80px;
    /* Stick to top */
    align-self: flex-start;
    /* Prevents stretching in flexbox */
    /* height: 100vh; */
    /* Full viewport height */
    overflow: hidden;
    /* Prevent scrollbar */
}

/* Hide scrollbar but keep scrolling */
.sticky-col::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.sticky-col {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

/* .sticky-col {
    height: calc(100vh - 100px);
} */

@media (max-width: 767px) {
    .sticky-col {
        position: static;
        height: auto;
    }
}

.obituary-photo-frame {
    border: 1px solid #d5d5d5;
    padding: 20px;
}

.name-title {
    margin-top: 15px;
    text-align: center;
}








.footer-img {
    display: flex;
    position: relative;
    width: 100%;
}

.footer-img img {
    position: absolute;
    width: 140px;
    top: -130px;
    left: 50%;
    transform: translateX(-50%);
}








/* biography biography biography biography biography biography biography biography biography biography biography biography biography biography biography biography   */
.post-content {
    line-height: 1.8;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}

.tribute-header h1 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 10px;
    color: #1a1a1a;
    font-weight: 600;
    font-family: var(--cabinet-font);
}

.author {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-bottom: 40px;
}

.post-content h2 {
    font-size: 1.2em;
    color: #8B0000;
    /* Deep red for reverence */
    margin-top: 30px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 5px;
    font-family: var(--cabinet-font);
    font-weight: 500;
}

.post-content p {
    font-size: 14px;
}

p {
    margin-bottom: 0px;
}

blockquote {
    font-style: italic;
    color: #555;
    border-left: 4px solid #8B0000;
    padding-left: 20px;
    margin: 20px 0;
    padding: 15px;
}

blockquote footer {
    font-style: normal;
    font-weight: bold;
    color: #777;
}

.final-paragraph {
    font-size: 1.1em;
    text-align: center;
    margin-top: 40px;
}

.signature {
    text-align: right;
    font-style: italic;
    margin-top: 20px;
    font-family: 'Lora', serif;
}


.site-footer-bottom p {
    font-family: 'Lora', serif !important;
}





.portrait-frame {
    position: relative;
    border: 8px solid #fff;
    box-shadow: 0 0 0 1px #d1c7b7, 0 4px 16px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    padding: 20px;
}

.portrait-frame img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top;
}

.crest-ornament {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 30px;
    background: #8B0000;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%);
    text-align: center;
    color: #fff;
}

.heraldic-title h1 {
    font-size: 1.5rem;
    text-align: center;
    color: #222;
    margin-bottom: 0.5rem;
    font-family: var(--cabinet-font);
    font-weight: 500;
}



.title-plaque {
    background: #8B0000;
    color: #f8f5f0;
    padding: 0.5rem 1rem;
    display: inline-flex;
    align-items: center;
    margin: 0 auto 1rem;
    border-radius: 4px;
}

.royal-quote {
    border-left: 4px solid #8B0000;
    background: #f8f5f0;
    padding: 1.5rem;
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    position: absolute;
    top: -1rem;
    left: 0.5rem;
    color: rgba(139, 0, 0, 0.1);
}





/* farewell .topbar  */
.farewell-ticker {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    position: relative;
    padding-block: 10px;
}

.ticker-container {
    display: inline-block;
    padding-left: 100%;
    animation: scroll 30s linear infinite;
}

.ticker-message {
    display: inline-block;
    margin-right: 50px;
    font-family: 'Lora', serif;
    font-size: 12.4px;
    color: #fff;
    font-weight: 500;
    padding: 5px 0;
    font-style: italic;
}

/* Pause animation on hover */
.farewell-ticker:hover .ticker-container {
    animation-play-state: paused;
}

/* Gradient fade effects */
.farewell-ticker::before,
.farewell-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 2;
}

.farewell-ticker::before {
    left: 0;
    background: linear-gradient(to right, #f8f5f0, transparent);
}

.farewell-ticker::after {
    right: 0;
    background: linear-gradient(to left, #f8f5f0, transparent);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}



.obituary-photographs .media-box {
    width: 100% !important;
    height: 200px !important;
}

.gallery-img,
.grid-item.format-image img {
    width: 100%;
    /* Fill container width */
    height: 200px;
    /* Fixed height (adjust as needed) */
    object-fit: cover;
    /* Crop to fit dimensions */
    object-position: top;
    /* Focus on the center of the image */
    display: block;
    /* Remove extra spacing */
}


.post-comment-content {
    padding-left: 30px;
}

.comments li .img-thumbnail {
    border: 1px solid #fff;
    border-radius: 100%;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
    width: 20px;
    margin-left: 0;
    margin-right: 10px;
    float: left;
}













/* Contact us styling   */
.contact-row .contact-header {
    margin-top: 30px;
    font-family: var(--cabinet-font);
    font-weight: 600;
}

.contact-us .icon-box h3 {
    margin-bottom: 2px;
}

.contact-us .icon-box i {
    background: #8B0000 !important;
}


.contactform .form-control {
    margin-bottom: 15px !important;
}


.contact-form-wrapper {
    position: relative;
    z-index: 99;
}




/* WELCOME MESSAGE DESIGN WELCOME MESSAGE DESIGN  */
.welcome-message-wrapper {
    padding: 40px 0;
    /* background-color: #f9f9f9; */
    font-family: 'Georgia', serif;

}

.welcome-message-box {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.section-header {
    margin-bottom: 30px;
}

.section-title {
    font-size: 28px;
    color: #333;
    font-weight: 300;
    letter-spacing: 1px;
    font-family: var(--cabinet-font);
    font-weight: 700;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
}

.divider .line {
    height: 1px;
    background: #ddd;
    flex: 1;
    max-width: 100px;
}

.divider .icon {
    margin: 0 15px;
    color: #8e3a3a;
    /* Elegant dark red */
}

.welcome-content {
    line-height: 1.8;
    color: #555;
}

.welcome-content p.lead {
    font-size: 18px;
    font-weight: 500;
    color: #444;
}

.memorial-quote {
    border-left: 4px solid #8e3a3a;
    padding-left: 20px;
    margin: 25px 0;
    font-style: italic;
    color: #666;
}

.closing-message {
    margin-top: 30px;
    font-size: 16px;
}

.welcome-content .signature {
    margin-top: 20px;
    font-weight: 600;
    color: #222;
}





.post-comments #comment h3 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 10px;
    color: #1a1a1a;
    font-weight: 600;
    font-family: var(--cabinet-font);
}










/* EULOGY EULOGY EULOGY EULOGY  */
/* Eulogy Container */
.eulogy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 0px;
}

/* Header Styles */
.memorial-header {
    position: relative;
}

.memorial-header h1 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 10px;
    color: #1a1a1a;
    font-weight: 600;
    font-family: var(--cabinet-font);
}


.gold-bar {
    height: 2px;
    background: linear-gradient(90deg, transparent, #8e3a3a, transparent);
    margin: 15px 0;
}

.eulogy-content .eulogy-text {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.eulogy-content .eulogy-text p {
    font-size: 14px;
    font-weight: 500;
}

/* Signature Block */
.signature-block {
    text-align: center;
    margin-top: 10px;
}

.signature-block .final-line {
    font-size: 1.3rem;
    color: #8B0000;
    font-style: italic;
}

.signature-block .signature-line {
    width: 150px;
    height: 1px;
    background: #b8860b;
    margin: 10px auto;
}




.obituary-info-tabs {
    display: flex !important;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 10px;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}


.icon-box h3 {
    font-size: 18px;
    font-family: var(--cabinet-font);
    margin-bottom: 12;
    font-weight: 600;
}

.icon-box .ibox-icon {
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    top: 0;
    left: 0;
}



/* FUNERAL PROGRAM  */
.memorial-header {
    margin-bottom: 30px;
}



.program-section {
    margin-bottom: 40px;
}

.schedule-day {
    margin-bottom: 30px;
    padding: 15px;
    background-color: rgba(249, 249, 249, 0.7);
    border-radius: 5px;
}

.schedule-day h3 {
    color: #8B0000;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    margin-bottom: 15px;
    font-family: var(--cabinet-font);
    font-weight: 500;
    font-size: 18px;
}

.schedule-day ul {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0px !important;
}

.schedule-day li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: start;
    justify-content: start;

    /* flex-direction: column; */
    gap: 6px;
}

.schedule-day li .time {
    /* display: flex; */
    white-space: nowrap;
    color: #333;
    font-weight: 800 !important;
    font-family: var(--cabinet-font);
    margin: 0;
    font-size: 14px;
}

.schedule-day li .info {
    font-size: 14px;
    font-weight: 500;
}

.prayer-close {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.prayer-close em {
    font-size: 14px;
    color: #555;
    color: rgb(139, 0, 0);
    font-style: italic;
}

.text-right {
    text-align: right;
}

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

.program-sign {
    text-align: right;
    font-style: italic;
    font-family: Lora, serif;
    font-weight: 600;
    font-size: 15px;
}
