@font-face {
    font-family: 'Helvetica Light';
    font-style: normal;
    font-weight: normal;
    src: local('Helvetica Light'), url('../font/helvetica-light-587ebe5a59211.woff') format('woff');
}
.lexend-font {
  font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold !important;
  font-style: normal;
}
.memorial-hero {
    background: linear-gradient(180deg, #f6eee2 0%, #e7f7fb 100%);
    position: relative;
    /* padding: 4rem 1rem 5rem; 
    min-height: auto; */
}
.memorial-hero-p-80{
    padding-top: 80px;
    padding-bottom: 80px;
}
.avatar-ring {
    width: 220px; 
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    object-fit: cover;
    background: #eee;
    /* box-shadow: 0 0 0 14px rgba(255,255,255,.55); */
}

/* Make avatar 2x bigger on mobile - use max-width to prevent overflow */
@media (max-width: 767px) {
    .avatar-ring {
        width: 100%; 
        max-width: 440px;
        height: auto;
        aspect-ratio: 1 / 1;
    }
}
.avatar-ring img { 
    width: 100%; height: 100%; object-fit: cover; 
}
.display-7{
    font-size: 1.5rem;
}
.memorial-chip {
    width: 36px; height: 36px; display: inline-flex;
    align-items: center; justify-content: center;
    border-radius: 50%; background: #eaf5f7; border: 1px solid #d8e9ee;
    font-size: 14px;
    color: #1D2324;
}
.memorial-divider {
    width: 32px; height: 32px; border-radius: 50%;
    background: #fff; border: 1px solid #e9ecef;
    display: inline-flex; align-items: center; justify-content: center;
    transform: translateY(16px);
}
body
{
    font-family: 'Roboto', sans-serif !important;
    font-size: 16px;
    word-break: break-word;
    word-wrap: anywhere;
}
.ratio{
    overflow: hidden !important;
}
.ratio > img {
   object-fit: cover;
}   
label{
    font-size: clamp(.75rem, 1rem, 2rem);
    font-weight: 400;
    margin-bottom: 5px;
}
.memgreen{
    color: #48BBBB;
}
.memorange{
    color: #FFA500;
}

.background-container {
    position: relative;
    max-width: 100vw;
    height: 100dvh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.mw-content{
    max-width: 450px;
    margin-left: auto !important;
    margin-right: auto !important;
}
.classic-profile-img-row{
min-height: 120px;
}
.classic-profile-img{
    width:184px;
    height:184px;
    border-radius: 50%;
    border: 2px solid #7b8f9e;
}
.classic-profile-img img{
    width: 220px;
  top: -20px;
  position: inherit;
  left: -20px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background: linear-gradient(to top, rgba(0, 0, 0, 1.75) 0%, rgba(0, 0, 0, 0) 80%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 10px;
}

.in-loving-memory {    
    font-family: 'Great Vibes', cursive;
    font-size: clamp(1rem, 1.5rem, 3rem);
    color: white;
    text-align: center;
    margin-top: 20px;
  }
.realName {
    color: white;
    font-size: clamp(2rem, 2.5rem, 3rem);
    font-weight: 200;
    margin: 0px;
    padding: 0px;
    /* text-decoration: underline; */
    
}
.aka{
    position: relative;
    color: white;
    font-size: clamp(1.25rem, 1.5rem, 2rem);
    font-weight: 200;
    margin: 0px;
    padding: 0px;
    top: -10px;

}
.dob-dod{
    color: white;
    font-size: clamp(.75rem, 1rem, 2rem);
    font-weight: 200;   
}
.MaxWFeed{
    max-width: 800px;
    margin-left: auto !important;
    margin-right: auto !important;
    /* border: 5px rgb(183, 0, 255) solid; */

}
.postCard{
    position: relative;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    border-radius: 5px; /* 5px rounded corners */
    padding: 10px;
    margin-bottom: 25px;
    background-color: #f4f4f4;
    max-width: clamp(360px, 500px, 400px);
    padding: 10px, 10px, 10px, 10px;
}
.replyCard{
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #e5e5e5;
    min-width: 100%;
}

.replyAvatar{
    width: 25px;
    height: 25px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 20px;
  
  }

.replyUserName{
    font-size: clamp(.5rem, .75rem, 1rem);
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block; /* or block */
    width: 100%; /* Adjust width as needed */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100ch;
    color: #191919;
}
.postTitle{   
    font-size: clamp(.5rem, .75rem, 3rem);
    font-weight: 200;
    text-transform: uppercase;
    display: inline-block; /* or block */
    width: 100%; /* Adjust width as needed */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 32ch; /* Approximately 25 characters */    
}
.replyTitle{
    font-size: clamp(.5rem, .75rem, 3rem);
    font-weight: 200;
    text-transform: uppercase;
    display: inline-block; /* or block */
    width: 100%; /* Adjust width as needed */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150ch; /* Approximately 25 characters */    
}
.postDateTime{   
    font-size: clamp(.5rem, .75rem, 1rem);
    font-weight: 200;
    position: relative;
    top: -8px;
}
.replyDateTime{
    font-size: clamp(.5rem, .75rem, 1rem);
    font-weight: 200;
    position: relative;
    top: -8px;
}
.postText {
    font-size: clamp(1rem, 1.5rem, 3rem) !important;
    font-weight: 200;
    color: #1a1a1a;
    display: block;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    /* height: 4.5em; */
    line-height: 1.5em;
    position: relative;
}
.replyText {
    font-size: clamp(1rem, 1.5rem, 3rem);
    font-weight: 200;
    color: #3c3c3c;
    display: block;
    white-space: normal;
    /* overflow: hidden; */
    /* text-overflow: ellipsis; */
    max-width: 100%;
    /* height: 1.25em; */
    line-height: 1.5em;
    position: relative;
    /* border: 1px dotted #f404f4; */
}
.seeMoreTxT{
    color: #007bff;
}
.read-more {
    display: block;
    color: #007bff !important;
    cursor: pointer;
    margin-top: 5px;    
}

.postText.expanded {
    height: auto;
    white-space: normal;
}

.btbr{
    min-width: 100%;
    margin-bottom: 5px;
    margin-top: 0px;
    border-bottom: 1px solid #9e9e9e;
    

}
.postImagesContainer{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}
.postImages{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.img-cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.postGrid{
    flex-wrap: wrap;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.postReply{
    position: absolute;
    bottom: 10px;
    right: 15px;
    text-align: right;
}







/* Lightbox custom styles */
.lb-overlay {
    background-color: rgba(255, 0, 0, 0.8) !important; /* Red background with opacity */
    position: fixed !important; /* Fix the position of the overlay */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-outerContainer {
    width: 80vw !important; /* Fixed width */
    height: 80vh !important; /* Fixed height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: rgba(62, 62, 62, 0.219) !important;
}

.lb-dataContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure it takes full width */
    height: 100%; /* Ensure it takes full height */
}

.lb-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain !important; /* Ensure the image fits within the container */
    margin: auto; /* Center the image */
    border: none !important; /* Remove white outline */
}

/* Ensure the close button is visible */
.lb-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white; /* Ensure the color contrasts with the red background */
    font-size: 2em; /* Increase size for better visibility */
    cursor: pointer;
    z-index: 1000; /* Ensure it appears above all other elements */
}

/* Ensure "Image X of Y" text stays on one line */
.lb-number {
    white-space: nowrap; /* Prevents text from wrapping to a new line */
    text-align: center;  /* Center-aligns the text */
    width: 100%;         /* Ensures it takes the full width */
    display: inline-block; /* Ensures inline-block display to respect width and text-align */
}

/* Existing styles */
.masonry-grid {
    display: grid;
    gap: 0px; /* Set the gap to 0px */
}

/* Styling for images */
.postImages {
    width: 100%;
    height: 100%;
    /* max-height: 300px;  */
    object-fit: cover; /* Ensures images cover the container */
    border-radius: 0; /* Remove any rounded corners */
}

/* Styling for "See all" overlay */
.see-all-container {
    position: relative;
}

.see-all-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    opacity: 0.9;
    inset-area: center;
}

.see-all-image {
    opacity: 0.7;
    border-radius: 0; /* Ensure no rounded corners */
}

.aboutBG{
    background: rgb(255,193,169);
    background: linear-gradient(342deg, rgba(255,193,169,1) 0%, rgba(72,187,187,1) 68%); 
}

/* Default grid layout for large screens */
@media (min-width: 300px) {
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns for larger screens */
    }

    .masonry-item.full {
        grid-column: span 2;
        grid-row: span 2;
    }

    .masonry-item.half {
        grid-column: span 1;
    }

    .masonry-item.third-full {
        grid-column: span 2;
        grid-row: span 2;
    }

    .masonry-item.third-half {
        grid-column: span 1;
    }

    .masonry-item.quarter {
        grid-column: span 1;
    }
}

/* Adjustments for mobile screens */
@media (max-width: 300px) {
    .masonry-grid {
        grid-template-columns: repeat(1, 1fr); /* One column layout for mobile */
    }

    .masonry-item {
        grid-column: span 1; /* Ensure all items take up full width on mobile */
    }
}





















.memH0{
   
    font-size: clamp(1rem, 1.5rem, 3rem);
    font-weight: 400;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.memSH1 {
    font-weight: 400;
    font-size: clamp(.5rem, .75rem, 2rem);

}
.memP {
    font-weight: 300;
    /* font-size: clamp(.75rem, 1rem, 3rem); */
    font-size: clamp(1rem, 1.5rem, 3rem) !important;
}


.memP2W{
    color: rgb(255, 255, 255);
    font-size: clamp(1rem, 1.5rem, 3rem);
    line-height: clamp(1.5, 1, 2);
    text-align: justify;
}
.memPSm{
    font-size: clamp(.75rem, 1rem, 2rem);
    font-weight: 200;

}

.funeral_card-header{
    color:#fff;
    font-size:21px;
    padding-bottom: 10px;
}
.BKbg{
    background-color: #000;
    /* color: #fff; */
    min-height: 100vh;
    position: relative;
    top: -40px;
}
.memCardTitle{
    background-color: #48BBBB;
    color: #000000;
    font-size: clamp(1.5rem, 2rem, 3rem) !important;
    font-weight: 400 !important;
    padding: 12px 10px 12px 10px;
}
.BKbgTxt{
    min-height: fit-content;
    padding-top: 150px;
    padding-bottom: 150px;
    padding-left: 5px;
    padding-left: 5px;
}
.eventDescription{
    font-size: clamp(1rem, 1.5rem, 3rem);
    font-weight: 300;
    text-align: justify;
    margin-bottom: 10px;
    line-height: 1.4;
}
.funeralDetilas1{
    text-align: center;
    font-size: 1.5rem;
    font-weight: 100;
    margin-bottom: 10px;

}
.cause_body{
    font-size: clamp(.75rem, 1.5rem, 4rem);
    font-weight: 200;
    text-align: justify;
    margin-bottom: 10px;

}
.eventText{
    font-size: clamp(.75rem, 1rem, 3rem);
    font-weight: 200;
    text-align: justify;
    }
.locationDetials{
    font-size: clamp(.75rem, 1rem, 3rem);
    font-weight: 200;
    text-align: left;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px;
    border: 1px solid #9e9e9e;
    border-radius: 3px;
    text-transform: capitalize;
    background-color: rgb(238, 250, 255);

}   

.funeralArrangements{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.sur_img_sub
    {
        width: 200px;
        height: 200px;
        object-fit: cover;
        border-radius: 100%;
        border: 1px solid #3a3a3a;
        }
.aspect-ratio-1-1 {
    width: 100%;
    padding-bottom: 100%;
} 
.SFCard{
    max-width: 300px;
}

.memEventcard {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.75);
    transition: 0.3s;
    border-radius: 5px; /* 5px rounded corners */    
    margin: 5px 5px 50px 5px;
    background-color: #f9f9f9;
  }
  .eventDateTime{
    font-size: clamp(.5rem, 1.5rem, 3rem);
    font-weight: 200;
    text-align: center;
    background-color: #48BBBB;
    color: white;    
    border-top-left-radius: 3px; border-top-right-radius: 3px;border-top-left-radius: 3px; border-top-right-radius: 3px;
    margin: 0px !important;
    padding: 5px;
  }
  .timelineIcons{
    border-radius: 50%;
    border: 1px solid;
    padding: 4px;
    background: #ffffff00;
    font-size:15px;
    margin-right: 5px;
  }








@media screen and (min-width: 1024px) {
    .w-max-60 {
        width: 60%;
        margin-left: auto;
        margin-right: auto;
    }
}





.scroll-container {
    max-width: 100%;
    width: 100%;
    display: flex;
    overflow-x: auto;
    padding: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* Enables smooth scrolling on iOS */
    scrollbar-width: thin; /* Show thin scrollbar */
    padding-bottom: 20px;
    position: relative;
}

  
  .survingFamilyCard {
    flex: 0 0 300px;
    margin-right: 10px;
    scroll-snap-align: start;
  }
  .survingFamilyCard .memcard {
    border: 1px solid #e4e6ef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-radius: 12px;
  }
  
  /* @media (min-width: 768px) {
    .scroll-container {
      flex-wrap: wrap;
      justify-content: center;
    }
    .survingFamilyCard {
      flex: 0 0 calc(33.333% - 20px);
      margin: 10px;
    }
  } */
  



  .mem-style-rel {
    position: relative;
  }
  
  .image-upload-label {
    position: absolute;
    right: 50px; /* Adjust this value to position the icon */
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    background-color: #fff;
    padding: 0 10px;
    font-size: 1.25em;
    z-index: 1;
  }
  
  .mem-input {
    padding-right: 50px; /* Adjust to make space for the icon */
  }
  
  .mem-button {
    background-color: #48BBBB;
    color: #fff;
    border: 1px solid #48BBBB;
  }

  .btn-send-condolence {
    background-color: #DDF2F4;
    color: #3a7c82;
    border: none;
    border-radius: 25px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
  }
  .btn-send-condolence:hover {
    background-color: #c8e8ec;
    color: #2a5c61;
    box-shadow: 0 2px 8px rgba(61, 124, 130, 0.2);
  }
  .btn-send-condolence:active {
    transform: scale(0.97);
  }
  

  /* Apply Dancing Script for a more personal touch */
.compassionate-text {
    font-family: 'Dancing Script', cursive;
    font-size: 1.2em;
    line-height: 1.5;
    color: #333; /* A gentle color for the text */
}

/* Apply Raleway for a clean and elegant look */
.compassionate-text-dancing {
    font-family: 'Raleway', sans-serif;
    font-size: 1.2em;
    line-height: 1.5;
    color: #333; /* A gentle color for the text */
}
@media screen and (max-width:767px) {
    .mw-content{
        max-width: 100%;
        margin-left: auto !important;
        margin-right: auto !important;
    }    
}
@media screen and (max-width:320px)
{
    .MaxWFeed{
        max-width: 90%;
        margin-left: auto !important;
        margin-right: auto !important;
    
    }

    a{
        text-decoration: none;
    }

    .nav__name{
        display: none;
    }
}

.thumb:hover{
    cursor: pointer;
}

.bg-top-default-theme{
    /* background:url('/assets/theme_img/top_bg_default_theme.png') no-repeat;*/
    min-height: 189px;
    background-size: cover; 
    background: linear-gradient(180deg, #f6eee2 0%, #e7f7fb 100%);
}



.memory{
    /* font-family: "Raleway", serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    color: #000;
    font-size: 25px; */

    font-family: 'Lexend';
    font-style: normal;
    font-weight: 300;
    font-size: 28px;
    line-height: 35px;
    color: #1D2324;
}
.memory-subtitle{
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 22px;
    color: #6B7280;
    opacity: 0.8;
}
.memory-mobile{
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 300;
    font-size: 24px;
    line-height: 30px;
    text-align: center;
    color: #1D2324;
}

.memory-name{

    font-family: 'Lexend';
    font-style: normal;
    font-weight: 400;
    font-size: 46px;
    line-height: 46px;
    color: #1D2324;
}
.memory-akaname{
font-family: 'Lexend';
font-style: normal;
font-weight: 400;
font-size: 30px;
line-height: 32px;
color: #1D2324;
}

.memory-date{
font-family: 'Lexend';
font-style: normal;
font-weight: 300;
font-size: 20px;
line-height: 28px;
letter-spacing: 0.17em;
color: #1D2324;
}

.memory-mobile-name{
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 400;
    font-size: 40px;
    line-height: 46px;
    text-align: center;
    color: #1D2324;
}

.memory-mobile-akaname{
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 400;
    font-size: 26px;
    line-height: 32px;
    text-align: center;
    color: #1D2324;
}

.memory-mobile-date{
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    letter-spacing: 0.17em;
    color: #1D2324;
}

.d_name{
    font-family: "Raleway", serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    font-size: 40px;
    font-weight: bold;
    color: #000;
    text-transform: capitalize;
}


.aka_name{
    font-family: "Raleway", serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-size: 18px;
    font-weight: 800;
    text-transform: capitalize;
}

.family_msg_default{
    color: #1D3F5B;
    
}
.family_msg_default_title p{
    font-size: 22px;
    font-weight: 400;
    font-style: bold;

}
.family_msg_default_title{
    font-family: "Lexend", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 46px;
    line-height: 50px;
    text-align: center;
    letter-spacing: 0.03em;
    color: #333333;

}
.family_msg_para
{
    
    font-family: "Lexend", sans-serif;
    font-style: normal;
    font-weight: 300 !important;
    font-size: 18px !important;
    line-height: 28px !important;
    text-align: center;
    color: #000000;
}
.memP2{
    font-size: 18px;
    font-family: "Raleway", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-size: 18px;
    color: #000;
}
.bg-white{
    background: #fff;
}
.serviceby{
    font-family:  "Lexend", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: #000000;
}
.business-title{
    font-family:  "Lexend", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: #000000;
}
.rsvp-wrap { border-color:#dfe3e6; }
.rsvp-bubble{
    background: #DDF2F4;; 
    border-radius: 999px;
    width: 240px; height: 240px;   
}
.memH1{
    
    font-size: 16px;
    font-family: "Raleway", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    color: #000;
    text-transform: capitalize;
}
.fune_add{
    font-size: 16px;
    font-family: "Raleway", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    color: #000;
    text-transform: capitalize;
}
.invitation{
    font-size: 30px;
    font-family: "Andika", serif;
    font-weight: bold;
    font-style: normal;
    color: #48BBBB;
}
.sub_default_heaading{
    font-size: 16px;
    font-family: "Raleway", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    color: #515151;
    text-align: center;
}
.br_radius_15{
    border-radius: 15px;
    background: #eeeeee;
}

.service_details{
    font-family:  "Lexend", sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 22px;
    line-height: 34px;
    color: #1D2324;
    /* font-size: 26px;
    font-weight: bold;
    color: #1D2324; */
}

.funeral-date{
    font-family: "Lexend", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 34px;
    color: #1D2324;
}
.funeral-address{
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 30px;
    color: #1D2324;
}

.border-top {
  
  border-top: 1px solid #000 !important;
}

.simple_text{
    font-family:  "Lexend", sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    line-height: 33px;
    color: #000000;
    
}
.eulogy_title{
    font-family: "Lexend", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 30px;
    line-height: 50px;
    letter-spacing: 0.03em;
    color: #333333;
}
.eulogy_description{
    font-family: "Lexend", sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    line-height: 30px;
    color: #000000;
}
.about_bg_section{
    background: #DDF2F4;
}
.about_title{
    /* font-size: 26px; */
    font-weight: bold;
    color: #1D2324;
}
.gallery_title{
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 400;
    font-size: 46px;
    line-height: 50px;
    letter-spacing: 0.03em;
    color: #333333;
    /* font-size: 30px;
    font-weight: bold;
    color: #1D2324; */
}
.funeral_title{
    font-family: "Lexend", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 46px;
    line-height: 24px;
    letter-spacing: 0.03em;
    color: #1D2324;

}

.funeral_datetime{
    font-size: 18px;
    font-family: "Raleway", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    color: #000;
    text-align: center;
}
.funeral_service{
    font-size: 16px;
    font-family: "Raleway", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    color: #000;
    text-align: center;
}
.fune_location{
    border: 2px solid #e4e4e4;
    padding-top: 10px;
    padding-bottom: 10px;
    /* margin-left: 5px;
    margin-right: 5px; */
}

.sub_funeral{
    font-size: 16px;
    font-family: "Raleway", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    color: #000;
    text-align: center;
}
.burial_title{
    font-size: 25px;
    font-family: "Andika", serif;
    font-weight: bold;
    color: #4e4e4e;
    text-transform: uppercase;
}
.burial_section{
    min-height: 150px;
    background: #F8F7F0;
    border: 4px solid #e4e4e4;
    border-radius: 15px;
}
.burial_body{
    font-size:16px;
    line-height: 22px;
    font-family: "Raleway", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    color: #000;
    text-align: center;
}

.other_title{
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 400;
    font-size: 46px;
    line-height: 24px;
    letter-spacing: 0.03em;
    color: #1D2324;
    
}
.other-events .event-row{
    background: #DDF2F4;
    border-radius: 24px !important;           
    border: 1px solid #e3ecef;
    
    /* padding: 26px 35px; */
}
.rsvp_title{
    font-family: "Lexend", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 26px;
    line-height: 32px;
    text-align: center;
    color: #1D2324;

}
.rsvp_body{
    font-family: "Lexend", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    color: #515151;
}
.btn-light
{
    font-family: "Lexend", sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    color: #1D2324;
}
.family_msg_section {
    background: #DDF2F4;
}
.family-title
{
    font-family: "Lexend", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 30px;
    line-height: 50px;
    letter-spacing: 0.03em;
    color: #333333;
    text-align: center;
}
.family-sub-title{
    font-family: "Lexend", sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    line-height: 26px;
    color: #000000;
    text-align: center;
}
.family-card
{
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    margin: 10px;
    margin-bottom: 10px;
    margin-bottom: 25px;
    color: #1D2324;
    border: 1px solid #e4e6ef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.family-img{
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 100%;

}
.family-name{
    font-family: "Lexend", sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    color: #373737;
}
.family-relation{
    font-family: "Lexend", sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    color: #000000;
}
.fml-button{
    background: #DDF2F4 !important;
    border: none;
    /* box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.06);
    border-radius: 20px 0px 0px 20px;
    transform: matrix(-1, 0, 0, 1, 0, 0); */
}
.family-bottom-text{
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 300;
    font-size: 11px;
    line-height: 16px;
    color: #242424;
}
.about_bg{
    background: #DEEEE8;
    font-size: 20px;
    font-weight: bold;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    font-size: 25px;
    font-family: "Andika", serif;
    line-height: 30px;
}

.about_bg_desc{
    background: #fff;
    border: 1px solid #DEEEE8;
    color: #000;

    font-size:18px;
    line-height: 22px;
    font-family: "Raleway", serif;

}

.blue_color{
    color: #1D3F5B;
}

.servining_title{
    font-size:16px;
    font-weight: bold;
    color: #000;

    font-size: 25px;
    font-family: "Andika", serif;
    line-height: 30px;

}

.servining_body{
    font-size:14px;
    font-weight: 200;
    color: #000;
    line-height: 22px;
    font-family: "Raleway", serif;
}

.surving_nme{
    font-size:16px;
    font-weight:bold;
    color: #373737;
    font-family: "Raleway", serif;
    text-align: center;
    text-transform: capitalize;
    padding-top: 10px;

}

.surving_sub_nme{
    font-size:14px;
    font-weight:300;
    color: #373737;
    font-family: "Raleway", serif;
    text-align: center;
    text-transform: capitalize;
}

.book_of_condolence_card
{
    background: #EDEDED;
    min-height: 100px;
    border-radius: 15px;
}

.book_condolence_title{
    
    font-family: "Lexend", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 35px;
    line-height: 50px;
    text-align: center;
    letter-spacing: 0.03em;
    color: #333333;
}

.condo-card{
    position: relative;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 25px;
    background: linear-gradient(22deg,rgba(221, 242, 244, 1) 50%, rgba(247, 239, 223, 1) 100%);
    max-width: clamp(360px, 500px, 400px);
    padding: 10px, 10px, 10px, 10px;
}

.contribute-title{

    font-family: "Lexend", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 28px;
    text-align: center;
    color: #1D2324;
}

.contribute-sub-title{
    
    font-family: "Lexend", sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 26px;
    text-align: center;
    color: #1D2324;

}
.condo-bottom-text{
    font-family: "Lexend", sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    color: #1D2324;
}
.condo-end-text{
    font-family: "Lexend", sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    color: #000000;
    max-width: clamp(360px, 500px, 400px);
}
.share-announcement{
    background: linear-gradient(22deg,rgba(221, 242, 244, 1) 50%, rgba(247, 239, 223, 1) 100%);
}
.share-announcement-text{
        font-family: 'Lexend';
        font-style: normal;
        font-weight: 400;
        font-size: 30px;
        line-height: 43px;
        text-align: center;
        color: #1D2324;
}
.announcement-chip {
    width: 36px; height: 36px; display: inline-flex;
    align-items: center; justify-content: center;
    border-radius: 50%; background: #fff; border: 1px solid #fff;
    font-size: 14px;
    color: #1D2324;
}
.mail-icon{
    background:url('/assets/announcement-icons/mail.png') no-repeat;
    width: 20px;
    height: 14px;
}
.copy-icon{
    background:url('/assets/announcement-icons/copy-link.png') no-repeat;
    width: 17px;
    height: 17px;
}
.x-icon{
    background:url('/assets/announcement-icons/x.png') no-repeat;
    width: 17px;
    height: 17px;
}
.condolence_card
{
    background: #D0E9E4;
    min-height: 100px;
    border-radius: 15px;
}

.condolence_title{
    font-size: 22px;
    font-family: "Andika", serif;
    line-height: 30px;
    font-weight: bold;
}

.evetnP{
    font-size:14px;
    font-weight:300;
    color: #373737;
    font-family: "Raleway", serif;
    text-align: center;
}

.book_condolence_sub{
    font-size:14px;
    font-weight:300;
    color: #373737;
    font-family: "Raleway", serif;
    text-align: center;
}
.postUserWrapper {
  min-width: 0;
  flex: 1;
}
.postUserName{
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 14px;
    color: #1D2324;

    /* font-size: clamp(.75rem, 1rem, 2rem);
    font-weight: 600; */
    text-transform: uppercase;
    /* display: inline-block;  */
    width: 100%; /* Adjust width as needed */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 32ch; /* Approximately 25 characters */

}

.postDateTime1{
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    line-height: 12px;
    color: #1D3F5B;

    /* text-align: center;  */
}
.postText1{
    
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 22px;
    color: #000000;

}

.form-wrapper {
    display: flex;
    flex-wrap: wrap; /* allows wrapping */
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    max-width: 100%;
    box-sizing: border-box;
}

.file-label {
    cursor: pointer;
    color: #007bff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    background: #d5d3d4;
}

.text-input {
    /* flex: 1 1 auto;  */
    width: 270px;
    min-width: 150px;
    padding: 8px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.submit-button {
    padding: 8px 12px;
    font-size: 1rem;
    background-color: #28a745;
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.submit-button:hover {
    background-color: #218838;
}

.digital-title{
    font-family: "Lexend", sans-serif !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 38px !important;
    line-height: 49px !important;
    text-align: center !important;
    color: #1D2324 !important;
}
.digital-sub-title{
    font-family: "Lexend", sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 22px;
    line-height: 22px;
    text-align: center;
    color: #1D2324;
}

.digital-search-txt{
    font-family: "Lexend", sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 20px;
    color: #A7A7A7;
}
.digital-card{
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    /* letter-spacing: 0.17em; */
    color: #1D2324;

    background: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0px 4px 30px rgba(29, 35, 36, 0.1) !important;
    border-radius: 20px !important;

    min-height: 250px;
}
.digital-img{
    
    width: 150px;
    height: 150px;
    border-radius: 14px;
}
.digital-text{
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2;
    text-align: center;
    color: #1D2324;
}
.digital-date{
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    letter-spacing: 0.17em;
    color: #1D2324;
}
.digital-ftr-logo{
    width: 160px;
    height: 64px;
}
.digital-icon{
    
    background:url('/assets/announcement-icons/digital.png') no-repeat;
    /* height: 500px; */
    height: 12px;
    width: 13px;
    display: inline-block;
    border: none !important;
    border-color: transparent !important;
    background-color: transparent !important;
    
}
@media screen and (max-width: 480px) {
    .ftr-logo-svg{
        width: 120px;
        height: 48px;
    }
}
@media (max-width: 480px) {
    
    .text-input {
        min-width: 100%;
    }

    .funeral_title 
    {
        font-family: "Lexend", sans-serif;
        font-style: normal;
        font-weight: 400;
        font-size: 40px;
        line-height: 24px;
        letter-spacing: 3%;
        color: #1D2324;
    }
    .serviceby{
        line-height: 100%;
    }
    .other_title {
        font-family: 'Lexend';
        font-style: normal;
        font-weight: 400;
        font-size: 36px;
        line-height: 24px;
        letter-spacing: 3%;
        color: #1D2324;
    }
    .family_msg_default_title {
        font-family: "Lexend", sans-serif;
        font-style: normal;
        font-weight: 400;
        font-size: 36px;
        line-height: 50px;
        text-align: center;
        letter-spacing: 3%;
        color: #333333;
    }
}
.btn-outline-white{
    --bs-btn-border-color: #fff;
}
.abt-title{
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 400;
    font-size: 35px;
    line-height: 50px;
    letter-spacing: 0.03em;
    color: #333333;
}

.abt-desc{
    
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 30px;
    color: #000000;
}

.top-content {
    transition: max-height 0.4s ease, opacity 0.3s ease;
    overflow: hidden;
    max-height: 600px; /* open state */
    opacity: 1;
}

.top-content.folded {
    max-height: 0;
    opacity: 0;
}
.border-bottom{
    border-bottom: 1px solid #000 !important;
}
.bg-light{
    background-color: #f7f7f7 !important;
}
.ftr-logo-section{
    min-height: 200px;
}

.digital-title{
    padding-top: 40px !important;
}
.digital-sub-title{
    padding-top: 40px !important;
}

.search-section{
    padding-top: 40px;
}

.digital-card{
    padding: 10px;
}
.memorial-image {
    width: 100%;
    height: 180px; 
    overflow: hidden;
    border-radius: 14px;
}

.memorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

#memorial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.memorial-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 321px;
}

.memorial-col {
    height: 100%;
}
.memorial-grid {
    display: flex;
    flex-wrap: wrap;
}

.memorial-col {
    display: flex;
}

.memorial-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.memorial-body {
    padding-top: 0.75rem;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    text-align: center;
}

.memorial-image {
    height: 180px;
    flex-shrink: 0;
}
.memorial-body {
    flex-grow: 1;
}
.memorial-name {
    line-height: 1.2;
    min-height: 2.4em; /* exactly 2 lines */
}
.memorial-image {
    height: 180px;
    width: 100%;
    min-width: 150px;
    overflow: hidden;
    border-radius: 14px;
    flex-shrink: 0;
    /* background: #f1f3f4; */
}

.memorial-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f857a6, #ff5858);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 48px;
}

.view-more-btn{
    color: #3492D5 !important;
    font-family: lexend !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    padding: 1rem 3rem !important;
    padding-right: 3rem;
    padding-left: 3rem;
    background: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0px 4px 30px rgba(29, 35, 36, 0.05) !important;
}