.field--name-field-node-s-background-color {
    display: none;
}

.up-component-wrapper p {
    margin-bottom: 0;
}

.sticky-component {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); 
}

.sticky-bar-component-wrapper .icon-wrapper {
    width: 120px;
}

.sticky-component .full-width-button {
    width: 100%;
}

@media (max-width: 414px) {
  .sticky-bar-component-wrapper .full-width-button .button-light,
  .sticky-bar-component-wrapper .full-width-button .button-dark,
  .sticky-bar-component-wrapper .full-width-button .button-green {
    padding-left: unset;
    padding-right: unset;
  }

  .sticky-component .full-width-button {
    width: 50%;
  }
}

/* Flipped card */
.cards-flipped-cards-container {
  display: grid;
}

.cards-per-row-2 {
  grid-template-columns: repeat(2, 1fr);
}

.cards-per-row-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-per-row-4 {
  grid-template-columns: repeat(4, 1fr);
}

.flipped-card {
  perspective: 1000px;
  position: relative;
  overflow: hidden;
}

.card-size-wrapper {
  position: relative;
  width: 100%;
  height: auto; 
}

.card-inner {
  transition: transform 0.6s;
  transform-style: preserve-3d;
  position: relative;
  width: 100%;
  height: 100%;
}

.card-front, .card-back {
  backface-visibility: hidden;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.card-front {
  position: relative;
  z-index: 2;
}
.card-front img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover; 
}

.card-back {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: rotateY(180deg);
  z-index: 1;
}

.card-back .paragraph-component-title, .card-back .paragraph-component-description, .card-back .button-spacing{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Responsive tweak: Stack on mobile */
@media (max-width: 576px) {
  .cards-per-row-2, .cards-per-row-3, .cards-per-row-4{
    grid-template-columns: repeat(1, 1fr);
  } 

  .sticky-bar-component-wrapper .icon-wrapper {
    width: unset;
  }
}

.full-width-banner .responsive-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.full-width-banner .responsive-image {
  width: 100%;
  height: auto;
  display: block;
}

/*news*/
.news-title {
  font-size: 30px;
  font-weight: 600;
  padding-bottom: 20px;
}
.news-body {
  padding-top: 25px;
  padding-bottom: 25px;
}

.news-gallery-main img,
.news-image-single img {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.news-gallery-thumbnails {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 10px;
  scrollbar-width: thin;
}

.news-gallery-thumbnails::-webkit-scrollbar {
  height: 8px;
}

.news-gallery-thumbnails::-webkit-scrollbar-thumb {
  background: #B3B3B3;
  border-radius: 2px;
}

.news-gallery-thumbnails img {
  flex: 0 0 auto;
  width: 100px;
  height: auto;
  cursor: pointer;
  border: 1px solid #B3B3B3;
  transition: border 0.3s ease;
  padding: 1px;
}

.news-gallery-thumbnails img:hover {
  border: 1px solid rgb(124, 124, 124);
}

.news-gallery-thumbnails-wrapper {
  max-width: 100%;
  overflow: hidden;
  padding-bottom: 20px;
}
.company-info .layout__region.layout__region--content .clearfix {
    background: #F8F8F8;
    padding: 40px;
    margin: 15px 35px 40px;
}
@media (max-width: 576px) {
  .news-title {
    font-size: 20px;
  }
}

.node--type-news-story .row.row-offcanvas {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px; 
}

article.single-news-story {
  flex: 0 0 80%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.single-news-story_content-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.node--type-news-story .sidebar_second {
  flex: 0 0 20%!important;
  display: flex;
  flex-direction: column;
}

.node--type-news-story .sidebar_second img {

  width: 100%;
  object-fit: cover;
  max-height: 130px;
}

.node--type-news-story #main {
  max-width: 1320px;
    margin: 0 auto;
    padding: 60px 15px 0;
}

.node--type-news-story .sidebar .block {
    background-color: unset;
    border-color: transparent;
}

.node--type-news-story .sidebar h2 {
  font-size: 24px;
  border-bottom: 0;
}

.node--type-news-story .featured-news.views-row {
    padding: 30px 0;
}
.node--type-news-story .featured-news.views-row .views-field.views-field-title a {
    color: #002340;
    font-size: 13px;
}
.node--type-news-story .featured-news.views-row time.datetime {
    font-family: 'YettelLight';
    font-size: 12px;
}

.node--type-news-story .more-link {
    border: 2px solid #002340;
    width: fit-content;
    padding: 5px 12px;
    border-radius: 30px;
    margin: 0 auto;
}
.node--type-news-story .more-link a {
    text-decoration: unset;
    color: #002340;
}

@media (max-width: 992px) {
  .company-info .layout__region.layout__region--content .clearfix {
    margin: 5px 0 5px;
}
  .node--type-news-story .row.row-offcanvas {
    flex-direction: column;
  }

 .node--type-news-story  article.single-news-story {
    flex: none;
    width: 100%;
  }

  .node--type-news-story .sidebar_second {
    flex: none;
    width: 100%;
  }

  .node--type-news-story .featured-news.views-row {
    display: grid;
    grid-template-columns: 0fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
    align-items: start;
  }
  .node--type-news-story .featured-news.views-row .views-field-field-image-content {
    grid-column: 1;
    grid-row: 1 / span 4;
  }
  .node--type-news-story .featured-news.views-row .views-field-created {
    grid-column: 2;
    grid-row: 1;
  }

  .node--type-news-story .featured-news.views-row .views-field-title {
    grid-column: 2;
    grid-row: 2;
  }
  .node--type-news-story .sidebar_second img {
    max-height: 75px;
    width: 130px;
  }
  .node--type-news-story .featured-news.views-row {
    padding-bottom: 5px;
    padding-top: 5px;
  }

}


/*listing css*/
.featured-news-row .featured-news.views-row time.datetime {
    text-decoration: none;
    color: black;
    font-size: 13px;
    font-family: 'YettelLight';
}

.featured-news-row .featured-news.views-row .views-field.views-field-title a,
.view-news-category-1 .views-row .views-field.views-field-title a {
    font-family: 'YettelRegular';
}
@media (min-width: 768px) {
  div#block-bootstrap-subtheme-views-block-news-landing-page-featured-news .featured-news.views-row:nth-child(2)::after {
      border-bottom: 1px solid #C9C9C9;
      content: "";
  }

  div#block-bootstrap-subtheme-views-block-news-landing-page-featured-news .featured-news.views-row:nth-child(3) {
    padding-top: 25px;
  }
}

div#block-bootstrap-subtheme-views-block-news-landing-page-featured-news .featured-news.views-row:nth-child(2) .views-field.views-field-title {
    padding-bottom: 25px;
}
div#block-bootstrap-subtheme-views-block-news-landing-page-featured-news .featured-news.views-row:nth-child(2) .views-field.views-field-title,
div#block-bootstrap-subtheme-views-block-news-landing-page-featured-news .featured-news.views-row:nth-child(3) .views-field.views-field-title {
  font-size: 15px;
}
.featured-news-row .featured-news.views-row:first-child .views-field.views-field-title a,
div#block-bootstrap-subtheme-views-block-news-landing-page-featured-news .featured-news.views-row:nth-child(2) .views-field.views-field-title a,
div#block-bootstrap-subtheme-views-block-news-landing-page-featured-news .featured-news.views-row:nth-child(3) .views-field.views-field-title a {
  color: black;
}

.featured-news-row .featured-news.views-row .views-field.views-field-created {
    padding: 7px 0;
  }

.latest-news h2 {
    color: #002340;
}
.featured-news.views-row .views-field.views-field-title a,
.view-news-category-1 .views-row .views-field.views-field-title a,
.featured-news.views-row .views-field.views-field-title a {
    color: #002340;
    font-size: 15px;
}

.view-news-landing-page.latest-news a.button {
    color: #002340;
    border: 2px solid #002340;
}
.block-views .featured-news.views-row .views-field.views-field-title a,
.block-views .view-news-category-1 .views-row .views-field.views-field-title a {
  color: #002340;
}

.view-news-landing-page .views-field.views-field-title,
.view-news-category-1 .views-field.views-field-title  {
    padding: 10px 0;
}

.node--type-news-story .views-field.views-field-title {
    padding: 0;
}

.block-views-blocknews-landing-page-featured-news .views-field.views-field-title {
  padding: unset;
}

.page-view-news-landing-page .main-content section {
  padding-bottom: 100px;
}

@media (max-width: 576px) {
  .featured-news-row .featured-news.views-row:first-child .views-field.views-field-title a {
      font-size: 16px;
  }
  .featured-news.views-row .views-field.views-field-title a,
  .view-news-category-1 .views-row .views-field.views-field-title a  {
    font-size: 13px;
  }
  .page-view-news-landing-page .main-content section {
    padding-bottom: 50px;
   }

}

.view-display-id-block_2 .views-field.views-field-title a,
.block-views-blocknews-landing-page-block-1 .views-field.views-field-title a,
.view-display-id-page_1 .views-field.views-field-title a {
    height: 38px;
    padding: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3em;
}

.vimeo-fullscreen-container {
  width: 100%;
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
}
 
.vimeo-embed-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/*stories*/
.stories-container .stories-prev,
.stories-container .stories-next {
    top: 50%;
    position: absolute;
    background-color: white;
    color: #002340;
    padding: 10px 17px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%; 
    border-color: transparent;
}

.stories-container .stories-prev {
    left: -100px;
    z-index: 99;
}

.stories-container .stories-next {
    right: -100px;
    z-index: 99;

}

/* Dots Container */
.stories-dots-container {
     display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;    
    position: relative;
    top: 25px;
    z-index: 999;
}

/* Individual Dot */
.stories-dots-container .dot {
    background-color: #C6C6C6;
    cursor: pointer;
    width: 43px;
    height: 5px;
    border-radius: 12px;
}

/* Active Dot */
.stories-dots-container .dot.active {
    background-color: #FFFFFF;
    transform: unset;
}


.stories-container {
    position: relative;
    width: 100%;
    height: auto; 
    max-width: 100%;
}

.stories-banners-wrapper {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    width: 100%;
    height: 100%; 
}

.stories-banner {
    flex: 0 0 100%; 
    text-align: center;
}



.story-card {
  position: relative;
  height: 700px;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.story-content {
  position: absolute;
    bottom: 10%;
    left: 0;
    text-align: left;
    padding: 0 36px;
    width: 83%;
}

.story-content:before {
    width: 200%;
    height: 345px;
    position: absolute;
    content: '';
    background: rgba(0, 0, 0, 0.5);
    left: -50%;
    bottom: -115px;
    transform: rotate(12deg);
    z-index: 1;
}
.story-title,
.story-description,
.story-button {
  position: relative;
    z-index: 2;
}
@media (max-width: 1440px) {
  .story-card {
    height: 610px;
  }
  .insta-modal-content {
    position: absolute;
    top: 0;
  }
  .story-content::before {
    height: 307px;
  }
}
@media (max-width: 992px) {
  .stories-dots-container .dot {
    width: 32px;
  }
}

@media (max-width: 767px) {
  .stories-container .stories-prev {
      left: -70px;
  }
  .stories-container .stories-next {
    right: -70px;
  }
}
@media (max-width: 576px) {
    .insta-modal-content {
        width: 410px;
    }
    .story-card {
      height: 650px;
    }
    .story-content:before {
      height: 299px;
    }
    .stories-container .stories-prev, .stories-container .stories-next {
      padding: 3px 12px;
    }
        .stories-container .stories-prev {
        left: -48px;
    }
     .stories-container .stories-next {
    right:  -48px;
  }
  .stories-dots-container {
    gap: 3px;
  }
      .stories-dots-container .dot {
        width: 29px;
    }
}

@media (max-width: 480px) {

  .story-title {
    font-size: 18px;
  }

  .story-description {
    font-size: 14px;
  }
  
      .insta-modal-content {
        width: 325px;
    }
    .story-card {
      height: 580px;
    }

    .story-content {
      padding: 0 14px;
      width: 95%;
    }
    .story-content:before {
        height: 280px;
    }
}

@media (max-width: 414px) {
    .stories-container .stories-prev, .stories-container .stories-next {
        padding: 0px 9px;
    }
        .stories-container .stories-prev {
        left: -21px;
    }
    .stories-container .stories-next {
    right:  -21px;
  }
  }


  @keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(200px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.story-content.animate-in {
  animation: fadeInUp 0.8s ease;
}


/* News grid display */
.items-per-row-container .news-item{
  padding-bottom: 25px;
  padding-top: 30px;
}
.news-card-date {
  font-size: 14px;
  color: #002340;
  text-decoration: underline;
  padding: 10px 0;
}
 
.news-card-title {
  padding: 10px 0;
}
 
.news-card-title a {
  font-size: 16px;
  line-height: 22px;
  color: #002340;
  font-weight: 700;
}

@media (max-width: 767px) {
  .items-per-row-container .news-item{
    padding-bottom: 15px;
    padding-top: 20px;
  }
}

.custom-component h1, .custom-component h2, .custom-component h3, .custom-component h4, .custom-component h5, .custom-component h6, .custom-component h7, .custom-component p {
    margin-bottom: 0;
} 

/*faq arrows*/
.faq-section .accordion-button::after {
    background-image: none;
    color: inherit;
    content: "+";
    transform: unset;
}
.faq-section .accordion-button:not(.collapsed)::after {
    background-image: none;
    transform: unset;
    content: "-";
}


.cards-per-row-3-container .full-width-button {
    width: 100%
}