.oom-loop-obituary-archive a {
  all: unset !important; /* Resets all styles */
  color: inherit !important; /* Inherit color from parent */
  text-decoration: none !important; /* Remove underline */
  cursor: pointer !important; /* Restore cursor */
  display: inline !important; /* Optional: reset display */
  line-height: 1.5em !important;
}

.oom-single-obituary-page {
  margin: 0px;
  padding: 0px;
}

/* Family Tree Styles */
.oom-single-obituary-family-tree-section {
  margin: 40px 0;
  padding: 30px 0;
}

.oom-family-tree-content {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 25px;
  margin: 20px auto;
  max-width: 600px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.oom-family-tree-content p {
  margin: 15px 0;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.oom-family-tree-content p b {
  color: #0f75bc;
  font-weight: 600;
}
.oom-single-obituary-banner {
  background-image: url("https://hosanna.sg.oomdcstaging.com/wp-content/themes/hello-elementor-child/assets/img/banner-clouds.webp");
  background-size: cover;
  background-position: bottom center;
}
.hide-overflow {
  overflow: hidden;
}
.oom-single-obituary-profile-box {
  text-align: center;
  margin: 0 auto;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 99;
  position: relative;
}
.oom-single-obituary-image img {
  width: 344px;
  height: 344px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
}
.oom-single-obituary-profile-box span.sub-title {
  font-family: Briem Hand;
  font-weight: 400;
  font-size: 30px;
  line-height: 40px;
  text-align: center;
  color: #0f75bc;
}
h1.oom-single-obituary-title {
  color: #0f75bc;
  margin: 0px;
  margin-bottom: 15px;
}
span.oom-single-obituary-date {
  color: #54b1f2;
  font-size: 22px;
}
.oom-single-obituary-banner .oom-custom-row {
  padding: 80px 0px;
  max-width: 90%;
  margin: 0 auto;
  position: relative;
}
.oom-floating-left-container,
.oom-floating-right-container {
  display: flex;
  flex-direction: column;
  position: absolute;
  bottom: 0px;
  z-index: 0;
  width: 30%;
}
.oom-floating-right-container {
  right: 0px;
}
img.floating-left-bird,
img.floating-right-bird {
  height: 315px;
  width: 330px;
  object-fit: contain;
}
img.floating-left-bottom-feather {
  height: 127px;
  width: 223px;
  object-fit: contain;
  margin: 0 auto;
  margin-bottom: -16%;
  margin-left: 40%;
}
img.floating-left-top-feather,
img.floating-right-top-feather {
  height: 130px;
  width: 140px;
  object-fit: contain;
  margin-left: auto;
  margin-bottom: 25%;
}
img.floating-right-bird {
  margin-left: auto;
}
img.floating-right-top-feather {
  margin-right: auto;
  margin-left: initial;
}
@media (max-width: 1440px) {
  img.floating-left-bird,
  img.floating-right-bird {
    height: 240px;
    width: 240px;
  }
  img.floating-left-bottom-feather {
    height: 100px;
    width: 150px;
  }
  img.floating-left-top-feather,
  img.floating-right-top-feather {
    height: 100px;
    width: 110px;
  }
  .oom-single-obituary-profile-box span.sub-title {
    font-size: 24px;
  }
  .oom-single-obituary-image img {
    width: 250px;
    height: 250px;
  }
  span.oom-single-obituary-date {
    font-size: 18px;
  }
}
@media (max-width: 1024px) {
  img.floating-left-bird,
  img.floating-right-bird {
    height: 180px;
    width: 180px;
  }
  img.floating-left-bottom-feather {
    height: 70px;
    width: 100px;
  }
  img.floating-left-top-feather,
  img.floating-right-top-feather {
    height: 80px;
    width: 90px;
  }
  .oom-single-obituary-profile-box span.sub-title {
    font-size: 20px;
  }
  .oom-single-obituary-image img {
    width: 200px;
    height: 200px;
  }
  span.oom-single-obituary-date {
    font-size: 16px;
  }
  .oom-single-obituary-banner .oom-custom-row {
    padding: 40px 0px;
  }
}
@media (max-width: 768px) {
  img.floating-left-bird,
  img.floating-right-bird {
    height: 140px;
    width: 140px;
  }
}
@media (max-width: 560px) {
  .oom-floating-left-container,
  .oom-floating-right-container {
    display: none;
  }
}

.oom-single-obituary-short-description img {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.oom-single-obituary-short-description {
  text-align: center;
}
.oom-custom-row {
  width: 90%;
  margin: 0 auto;
}
.oom-single-obituary-description-container p {
  margin: 20px 0px;
  font-family: Poppins;
  font-size: 18px;
  font-weight: 300;
  line-height: 30px;
  letter-spacing: 0%;
  text-align: center;
}
.oom-single-obituary-long-description {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.oom-single-obituary-description-container .oom-custom-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 1024px) {
  .oom-single-obituary-description-container p {
    font-size: 16px;
    line-height: 1.3em;
  }
  .oom-single-obituary-short-description img {
    max-width: 500px;
    width: 100%;
    object-fit: contain;
  }
}

.oom-single-obituary-color-pattern-background {
  background-image: url("https://hosanna.sg.oomdcstaging.com/wp-content/themes/hello-elementor-child/assets/img/bg-obituaries.webp");
  background-size: cover;
  background-position: top center;
}
.oom-single-obituary-color-pattern-background .oom-custom-row {
  padding-top: 80px;
}

.oom-single-obituary-listing-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.oom-dual-column {
  display: flex;
  justify-content: space-around;
}
span.oom-single-obituary-listing-title,
.background-box {
  font-weight: 500;
  font-size: 22px;
  line-height: 30px;
  color: #0f75bc;
}
.background-box {
  color: white;
  background: #93c1e1;
  display: flex;
  justify-content: space-around;
  padding: 10px;
  width: 280px;
  margin: 0 auto;
  margin-top: 10px;
  -webkit-mask: radial-gradient(circle 10px at top left, #0000 98%, #000) top
      left,
    radial-gradient(circle 10px at top right, #0000 98%, #000) top right,
    radial-gradient(circle 10px at bottom left, #0000 98%, #000) bottom left,
    radial-gradient(circle 10px at bottom right, #0000 98%, #000) bottom right;
  -webkit-mask-size: 51% 51%;
  -webkit-mask-repeat: no-repeat;
}

@media (max-width: 1024px) {
  span.oom-single-obituary-listing-title,
  .background-box {
    font-size: 18px;
    line-height: 1.3em;
  }
  .oom-single-obituary-color-pattern-background .oom-custom-row {
    padding-top: 40px;
  }
}

@media (max-width: 767px) {
  .oom-dual-column {
    flex-direction: column;
    gap: 20px;
  }
  .oom-single-obituary-listing-section {
    gap: 20px;
  }
}

@media (max-width: 350px) {
  .background-box {
    width: 90%;
  }
}

.oom-single-obituary-icon-image-title img {
  width: 43px;
  height: 43px;
  margin: 0 auto;
  margin-bottom: 10px;
  object-fit: contain;
}

.oom-single-obituary-icon-image-title h3 {
  font-size: 28px;
  margin: 0px;
  color: #0f75bc;
  font-family: "Briem Hand";
}
.oom-single-orbituary-icon-description p {
  margin: 0px;
  font-family: Poppins;
  font-weight: 300;
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 0%;
  text-align: center;
}
.oom-single-obituary-icon-list {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 300px;
    width: 100%;
}
.oom-custom-row.oom-single-obituary-icon-section {
  display: flex;
  row-gap: 40px;
  flex-direction: column;
}
.oom-custom-row.oom-single-obituary-icon-section .oom-single-obituary-icon-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}
@media (max-width: 1440px) {
  .oom-custom-row.oom-single-obituary-icon-section {
    row-gap: 40px;
  }
  .oom-single-obituary-icon-image-title h3 {
    font-size: 24px;
  }
  .oom-custom-row.oom-single-obituary-icon-section
    .oom-single-obituary-icon-row {
    gap: 30px;
  }
}

@media (max-width: 1028px) {
  .oom-single-obituary-icon-image-title h3 {
    font-size: 18px;
  }
  .oom-single-orbituary-icon-description p {
    font-size: 16px;
    line-height: 1.3rem;
  }
}

@media (max-width: 991px) {
  .oom-custom-row.oom-single-obituary-icon-section
    .oom-single-obituary-icon-row {
    column-gap: 4%;
    row-gap: 40px;
  }
  .oom-single-obituary-icon-list {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 48%;
  }
}

.oom-custom-row.oom-single-obituary-gallery-section h2 {
  text-align: center;
  margin: 0 auto;
  font-family: Briem Hand;
  font-weight: 400;
  text-align: center;
  color: #0f75bc;
}

.oom-single-obituary-gallery-grid img {
  aspect-ratio: 1 / 1;
  max-width: calc(25% - 20px);
  object-fit: cover;
}
.oom-single-obituary-gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.oom-custom-row.oom-single-obituary-gallery-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 80px;
}

a.oom-single-obituary-button {
  font-family: Poppins;
  font-weight: 600;
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 0%;
  text-align: center;
  color: #0f75bc;
  background: #54b1f242;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 36px;
}
a.oom-single-obituary-button img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}
@media (max-width: 1024px) {
  a.oom-single-obituary-button {
    font-size: 16px;
    line-height: 20px;
    padding: 10px 16px;
    gap: 10px;
  }
  .oom-custom-row.oom-single-obituary-gallery-section {
    padding-bottom: 40px;
  }
}
@media (max-width: 560px) {
  .oom-single-obituary-image img {
    width: 150px;
    height: 150px;
  }
  .oom-custom-row.oom-single-obituary-icon-section
    .oom-single-obituary-icon-row {
    row-gap: 20px;
  }
  .oom-single-obituary-icon-list {
    max-width: 100%;
  }
  .oom-custom-row.oom-single-obituary-icon-section {
    row-gap: 20px;
  }
  .oom-single-obituary-gallery-grid img {
    aspect-ratio: 1 / 1;
    max-width: calc(50% - 10px);
    object-fit: cover;
  }
  .oom-custom-row.oom-single-obituary-gallery-section {
    gap: 20px;
    padding-bottom: 40px;
  }
}

/*Looping*/
/* .oom-loop-obituary-archive */
.oom-loop-obituary-archive .oom-obituary-items-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1780px;
  margin: 0 auto;
}
.oom-loop-obituary-item {
  background-image: url(https://hosanna.sg.oomdcstaging.com/wp-content/themes/hello-elementor-child/assets/img/obituary-frame.webp);
  background-size: contain;
  background-repeat: no-repeat;
  height: 580px;
  width: 445px;
  display: flex;
  align-items: flex-start;
  padding-top: 60px;
  flex-direction: column;
}
.oom-loop-obituary-image img {
  height: 156px;
  width: 156px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  margin: 0 auto;
}
.oom-loop-obituary-excerpt a img {
  width: 47px;
  height: 47px;
  border-radius: 50%;
  text-align: center;
  margin: 0 auto;
}
.oom-loop-obituary-image-box {
  /* max-width: 336px; */
  max-width: 80%;
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.oom-loop-obituary-image-box:after {
  content: "";
  background: url(https://hosanna.sg.oomdcstaging.com/wp-content/themes/hello-elementor-child/assets/img/kanote.png);
  height: 60px;
  width: 75%;
  max-width: 245px;
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  margin: 0 auto;
  position: absolute;
  bottom: -7%;
  left: 0;
  right: 0px;
}
h3.oom-loop-obituary-title a,
h3.oom-loop-obituary-title {
  margin: 0px;
  font-size: 30px;
  overflow: hidden;
  -webkit-line-clamp: 1;
  display: box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  white-space: normal;
  display: -webkit-box;
  color: #0f75bc;
  font-family: "Briem Hand", Sans-serif;
  text-decoration: none;
}
span.oom-loop-obituary-date {
  font-size: 16px;
  font-weight: 300;
  color: #54b1f2;
}
.oom-loop-obituary-excerpt {
  z-index: 999;
}
.oom-loop-obituary-excerpt p {
  margin: 0px;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 300;
  line-height: 30px;
  overflow: hidden;
  -webkit-line-clamp: 3;
  display: box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  white-space: normal;
  display: -webkit-box;
}

@media (max-width: 767px) {
  .oom-loop-obituary-item {
    height: 410px;
    width: 300px;
  }
  .oom-loop-obituary-image img {
    height: 80px;
    width: 80px;
  }
  span.oom-loop-obituary-date {
    font-size: 14px;
    font-weight: 300;
  }
  h3.oom-loop-obituary-title a,
  h3.oom-loop-obituary-title {
    font-size: 18px;
  }
  .oom-loop-obituary-excerpt a img {
    width: 30px;
    height: 30px;
  }
  .oom-loop-obituary-excerpt p {
    font-size: 16px;
    line-height: 20px;
  }
  .oom-loop-obituary-image-box:after {
    bottom: -12%;
  }
  .oom-loop-obituary-image-box {
    gap: 15px;
  }
}

@media (max-width: 319px) {
  .oom-loop-obituary-item {
    background: transparent;
    height: auto;
  }
}

.oom-single-obituary-short-description h2,
.oom-single-obituary-icon-heading h2 {
  color: #2975bc;
}
