.dark-theme * {
  color: var(--color-gray-99);
}

.dark-theme * > p {
  color: var(--color-gray-90);
}
.rn-breadcrumbs  nav .breadcrumbs  {
  padding-top: 18px;
  margin-bottom: 0;
  justify-content: center;

}

.light-theme .rn-breadcrumbs {
  background-color: #E2EDFD;
}

.light-theme .rn-breadcrumbs li a, .light-theme .rn-breadcrumbs li a:hover, .light-theme .rn-breadcrumbs li + li::before {
color: var(--color-bg-brand);
}
.dark-theme .rn-breadcrumbs {
background-color: var(--color-gray-20);
}

.dark-theme .rn-breadcrumbs li a,  .dark-theme .rn-breadcrumbs li::before {
color: var(--color-white);
}

.rn-hero{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 24px 0;
}

.feature > ul {
  list-style-type: disc;
  list-style-position: outside;
  padding-left: 18px;
}

.light-theme .rn-hero {
  background-color: #E2EDFD;
}

.dark-theme .rn-hero {
  background-color: var(--color-gray-20);

}
.rn-hero h1 {
  margin: 0;
  text-align: center;
}

.rn-title {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 18px;
}

.rn-anchor-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 70%;
  justify-content: center;
  gap: 18px;
}

.rn-anchor {
  padding: 8px 24px;
  border-radius: 100px;
  text-align: center;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.light-theme .rn-anchor {
  background-color: var(--color-bg-brand);
}

.dark-theme .rn-anchor {
  background-color: var(--color-gray-40);
}
.light-theme .rn-anchor:hover {
  background-color: #445380;
}

.dark-theme .rn-anchor:hover {
  background-color: var(--color-gray-60);
}

.rn-divider {
  width: 80%;
  max-width: 492px;
  height: 3px;
 
}

.light-theme .rn-divider {
  background-color: var(--color-bg-brand);
}

.dark-theme .rn-divider {
  background-color: var(--color-blue-70);
}

.rn-anchor a, .rn-anchor a:hover {
  color: var(--color-white);
  text-decoration: none;
  text-align: center;
}

.anchor-btn-wrapper {
  display: flex;
  justify-content: center;
  
}
.anchor-btn-wrapper button {
  padding: 12px;
  border-radius: 100px;
  border: none;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  border: 2px solid transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.light-theme .anchor-btn-wrapper button {
  background-color: #fff;
}

.dark-theme .anchor-btn-wrapper button {
  background-color: var(--color-gray-40)
}

.light-theme .anchor-btn-wrapper button:hover {
  border: 2px solid var(--color-bg-brand);
}

.dark-theme .anchor-btn-wrapper button:hover {
  border: 2px solid var(--color-gray-60);
}

.block-wrap {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 72px;
  display: flex; 
  flex-wrap: wrap;
  padding: 48px 5%;
  gap: 24px;
  justify-content: center;
}

.block-wrap h2 {
  display: inline-block;
  padding: 8px;
  font-size: 22px;
  border-radius: 4px;
  margin: 0;
  scroll-margin-top: 4rem;
}

.light-theme .block-wrap h2 {
  background-color: var(--color-green-90);
}

.dark-theme .block-wrap h2 {
  background-color: var(--color-green-90);
  color: var(--color-gray-20);
}

.block-wrap.no-image .feature {
 width: 100%;
 text-align: center;
 padding-right: 0 !important;
 padding-left: 0 !important;
}

.block-wrap.no-image .feature h3, .block-wrap.no-image .feature p {
  width: 95%;
  margin: 0 auto;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.light-theme .block-wrap:nth-child(even){
  background-color: var(--color-white);
}

.dark-theme .block-wrap:nth-child(even){
  background-color: var(--color-gray-20);
}


.light-theme .block-wrap:nth-child(odd){
  background-color: #F9F9F9;
}

.dark-theme .block-wrap:nth-child(odd){
  background-color: var(--color-black);
}

.block-wrap:nth-child(odd) .block-wrap-1 {
  display: flex;
  flex-direction: row-reverse;;
  justify-content: space-between;
  width: 100%;
  max-width: 1220px;
}
.block-wrap:nth-child(even) .block-wrap-1 {
  display: flex;
  flex-direction: row-reverse;
  width: 100%;
  justify-content: space-between;
  max-width: 1220px;
}

.block-wrap:nth-child(odd) .block-wrap-1 .feature, .block-wrap:nth-child(even) .block-wrap-2 .feature {
  /*padding-right: 5%;*/
}

.block-wrap:nth-child(even) .block-wrap-1 .feature, .block-wrap:nth-child(odd) .block-wrap-2 .feature {
 /*padding-left: 5%;*/
}

.block-wrap:nth-child(even) .block-wrap-2 {
  display: flex;
  flex-direction: row;
  max-width: 1220px;
  justify-content: space-between;
}

.block-wrap:nth-child(odd) .block-wrap-2 {
  display: flex;
  flex-direction: row;
  max-width: 1220px;
  justify-content: space-between;
}
  

.block-wrap:nth-child(even) .feature {
  order: 1;
}
.block-wrap:nth-child(even) .graphic {
  order: 2;
}
.block-wrap:nth-child(even) .learn-more {
  order: 3;
}

.graphic {
  width: 48%;
  display: flex;
  flex-direction: column;
  padding-bottom: 48px;
}
.graphic img {
  width: 90%;
  filter: drop-shadow(0px 10px 20px rgba(6, 32, 88, 0.15));
  border-radius: 16px;
}

.light-theme .graphic img {
  outline: 4px solid #9FC3F9;

}
.dark-theme .graphic img {
  outline: 4px solid var(--color-blue-80);
}

.feature {
  width: 48%;
  padding-right: 5%;
}

.feature .tag {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 500;
}

.feature h3 {
  font-size: 32px;
}
.feature p {
  font-size: 20px;
}
.learn-more {
 width: 100%;
 display: flex;
 flex-direction: column;
 align-items: center;
 margin: 24px 0 0 0;
}
.details {
  overflow: hidden;
  /*opacity: 0; /* Initially invisible */
  transform: translateY(-10%); /* Shifted off-screen above */
  transition: transform 300ms ease-out, opacity 100ms ease-out; 
  
}
.details.show-items{
  height: auto;
  display: flex;
  gap: 24px;
  width: 90%;
  padding: 24px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 18px;
  border-radius: 8px;
}

.light-theme .details.show-items {
  background-color: #ffffff;
  filter: drop-shadow(0px 10px 20px rgba(6, 32, 88, 0.15));
  transform: translateZ(0);
}

.dark-theme .details.show-items {
 background-color: var(--color-gray-30);
}
   

.details.hidden {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10%);
  transition: transform 300ms ease-out, opacity 100ms ease-out; 
}

.feature-improve {
  width: 50%;
}
.issue-fixed {
  width: 50%;
}
.details ul {
  list-style-type: disc;
  list-style-position: outside;
  padding-left: 18px;

}



.expand-collapse-btn {
  width: 90%;
  cursor: pointer;
  border-left: none;
  border-right: none;
  margin: 0 auto;
  display: inline-block;
  padding: 18px 0;
  font-weight: 500;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.light-theme .expand-collapse-btn {
  background-color: var(--color-bg-brand);
  border-top: 1px solid #9799A3;
  border-bottom: 1px solid #9799A3;
  color: #fff;
}

.light-theme .expand-collapse-btn:hover {
  background-color: #CFE1FC;
  color: var(--color-bg-brand);
}
.light-theme .expand-collapse-btn.active {
  background-color: var(--color-bg-brand);
  color: #fff;
}

.light-theme .expand-collapse-btn .icon {
  background-color: #fff;
}


.dark-theme .expand-collapse-btn {
  background-color: var(--color-gray-30);
  border-top: 1px solid var(--color-gray-50);
  border-bottom: 1px solid var(--color-gray-50);
}
.dark-theme .expand-collapse-btn.active {
  background-color: var(--color-gray-30);
}
.dark-theme .expand-collapse-btn:hover {
  background-color: var(--color-gray-30);
}

.expand-collapse-btn .icon {
  width: 24px;
  height: 24px;
  max-width: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  color: var(--color-bg-brand);
}

.light-theme .expand-collapse-btn .icon {
  background-color: #fff;
}

.dark-theme .expand-collapse-btn .icon {
  background-color: var(--color-black);
  color: #fff;
}

.rn-history-cards {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 10%;
}

.light-theme .rn-history-cards {
  background-color: #ffffff;
}

.dark-theme .rn-history-cards {
  background: var(--color-black);
}

.rn-history-cards .card-wrapper {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.rn-history-cards .card-wrapper .history-card {
  width: 350px;
  border-radius: 16px;
  cursor: pointer;
  overflow: hidden;
  
  
}

.light-theme .rn-history-cards .card-wrapper .history-card {
  background-color: #CFE1FC;
  filter: drop-shadow(10px 10px 10px rgba(6, 32, 88, 0.50));
  transform: translateZ(0);
}
.dark-theme .rn-history-cards .card-wrapper .history-card {
  background-color: var(--color-gray-30);
  filter: drop-shadow(10px 10px 10px rgba(38, 38, 39, 0.5));
}

.rn-history-cards .card-wrapper .history-card .card-top {
  padding: 18px;
}
.rn-history-cards .card-wrapper .history-card .card-top h3{
  margin: 0;
}

.rn-history-cards .card-wrapper .history-card .card-bottom {
  padding: 18px;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
  height: 200px;

}

.light-theme .rn-history-cards .card-wrapper .history-card .card-bottom{
  background-color: #9FC3F9;
}

.dark-theme .rn-history-cards .card-wrapper .history-card .card-bottom{
  background-color: var(--color-gray-40);
}

.history-card:hover .card-bottom img{
  transform: scale(1.05); /* Scale by 110% on hover */
  transition: transform 0.3s ease-in-out;

}

.rn-history-cards .history-card .card-bottom img {
  width: 90%;
  position: absolute;
  transition: transform 0.3s ease-in-out;
  border-radius: 16px;
  min-height: 100%;
}

.btn-wrapper {
  margin: 24px 0;
}

@media screen and (max-width: 1023px)  {

  .rn-hero h1 {
    font-size: 28px;
  }
  
  .block-wrap {
    flex-direction: column;
    width: 100%;
    padding: 24px 5%;
  }
  .block-wrap .graphic, .block-wrap .feature {
    width: 100%;
    margin: 0 auto;
  }
  .feature {
    text-align: center;
    padding: 0 1%;
  }

  .feature h2 {
    font-size: 18px;
  }
  .feature h3 {
    font-size: 24px;
  }
  .details {
    display: flex;
    flex-direction: column;
    width: 90%;
    padding: 24px 8px;
  }

  .block-wrap .graphic  {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
  }
  .details .feature-improve, .details .issue-fixed {
    width: 100%;
  }

  .block-wrap.no-image {
    padding: 24px;
  }
  .expand-collapse-btn {
    font-size: 18px;
  }
  
  .expand-collapse-btn .icon {
    width: 18px;
    height: 18px;
    max-width: 18px;
  }

  .block-wrap.no-image .feature h3, .block-wrap.no-image .feature p {
    width: 100%;
 
  }


  .block-wrap:nth-child(odd) .block-wrap-1, .block-wrap:nth-child(odd) .block-wrap-2 {
    display: flex;
    flex-direction: column-reverse;
   
    gap: 16px;
   }

   .block-wrap:nth-child(even) .block-wrap-1, .block-wrap:nth-child(even) .block-wrap-2 {
    display: flex;
    flex-direction: column;
    gap: 16px;
   }

   .rn-divider {
    display: none;
   }

}

@media screen and (max-width: 736px) {
  .rn-anchor-wrap {
    flex-wrap: wrap;
    justify-content: center;
    display: none;
  }
  
  .expand-collapse-btn {
    text-align: left;
  }

  .rn-anchor-wrap .anchor-btn-wrapper {
    flex: 1 0 auto; /* Shorthand for desired properties */
    flex-basis: 100%;
    order: 1
  }

  .rn-history-cards h2 {
    text-align: center;
    padding: 0 1%;
   }

  .rn-history-cards .card-wrapper {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 8px;
  }
  .details.show-items {
    padding: 16px;
   }

   .issue-fixed h3, .feature-improve h3 {
    font-size: 22px;
   }
}

