@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

html {
  font-size: 16px;
}
body {
  background: #fff;
}

.story-banner {
  padding: 0;
  margin-top: 8.75rem;
  padding-top: 3.75rem;
  padding-bottom: 5.75rem;
}
.story-header {
  display: flex;
  row-gap: 2.75rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.story-header a {
  display: flex;
  color: #0a2540;
  font-weight: 500;
  column-gap: 1rem;
  align-items: center;
  justify-content: center;
}
.story-header a:hover {
  color: #000;
}
.story-header h2 {
  font-weight: 600;
  line-height: 3rem;
  font-size: 2.25rem;
}
.story-banner-container {
  overflow: hidden;
  position: relative;
  margin-top: 3.5rem;
  border-radius: 1.25rem;
}
.story-banner-container .story-banner-caption {
  display: flex;
  row-gap: 1rem;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  bottom: 10rem;
  left: 5rem;
}
.story-banner-caption h3 {
  color: #fff;
  font-weight: 600;
  font-size: 2.5rem;
}
.story-banner-caption h6 {
  color: #f6f9fc;
  font-size: 1.5rem;
}
.story-banner .story-content {
  margin-top: 5rem;
}
.story-content h3 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 2.5rem;
  margin-bottom: 3rem;
}
.story-content p {
  color: #0a2540;
  line-height: 2rem;
  font-size: 1.25rem;
}
.story-content p + p {
  margin-top: 2.25rem;
}
.story-content p b {
  font-weight: 600;
}
.story-seperator {
  display: flex;
  margin-top: 5rem;
  column-gap: 1.25rem;
  align-items: center;
  justify-content: center;
}
.story-seperator span {
  width: 8px;
  height: 8px;
  border-radius: 100%;
  background: #425466;
}
.story-info {
  display: flex;
  margin-top: 5.75rem;
  padding: 2rem 2.5rem;
  background: #f6f9fc;
  flex-direction: column;
  align-items: flex-start;
  border-left: 3px solid #0a2540;
}
.story-info span {
  display: flex;
  color: #0a2540;
  font-size: 1.25rem;
  margin-bottom: 8px;
  align-items: center;
  justify-content: center;
}
.story-info h4 {
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 2.25rem;
}
.story-content ul,
.story-content ol {
  margin-top: 2rem;
}
.story-content ul + p,
.story-content ol + p {
  margin-top: 2.25rem;
}
.story-content ul li,
.story-content ol li {
  color: #0a2540;
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.story-content ul li + li,
.story-content ol li + li {
  margin-top: 4px;
}
.other-stories-section {
  padding-top: 0;
}
.other-stories-container {
  padding-top: 8.25rem;
  border-top: 1px solid #e3e6e9;
}
.other-stories-header {
  display: flex;
  column-gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}
.other-stories-header h3 {
  font-size: 2rem;
  color: #0a2540;
  font-weight: 600;
}
.other-stories-header a {
  color: #0a2540;
  font-weight: 500;
  font-size: 1.25rem;
}
.other-stories-header a:hover {
  color: #000;
}
.other-stories-content {
  display: flex;
  column-gap: 2rem;
  margin-top: 3.25rem;
}
.other-stories-card {
  display: flex;
  row-gap: 1.25rem;
  flex-direction: column;
}
.other-stories-card-img {
  height: 196px;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
}
.other-stories-card-img::before {
  content: "";
  width: 100%;
  height: 100%;
  background: #00000033;
  position: absolute;
  left: 0;
  top: 0;
}
.other-stories-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.other-stories-card-body {
  flex: 1;
  row-gap: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.other-stories-card-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.other-stories-card-info h6 {
  font-weight: 500;
  line-height: 2rem;
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.other-stories-card-info p {
  color: #425466;
}
.other-stories-card-footer span {
  color: #0a2540;
  font-weight: 500;
}
.other-stories-card:hover .other-stories-card-footer span {
  color: #000;
}

/* Media Query */
/* X-Large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) {
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .story-banner-container .story-banner-caption {
    bottom: 6rem;
  }
  .other-stories-card-img {
    height: 120px;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .story-banner-container .story-banner-caption {
    left: 3rem;
    bottom: 3rem;
  }
  .other-stories-container {
    padding-top: 6rem;
  }
  .other-stories-content {
    row-gap: 2rem;
    flex-direction: column;
  }
  .other-stories-card {
    width: 100%;
  }
  .other-stories-card-img {
    height: 270px;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  html {
    font-size: 12px;
  }
  .progress-container {
    top: 6.25rem;
  }
  .story-banner {
    margin-top: 5.75rem;
  }
  .story-header h2 {
    font-size: 2rem;
    line-height: 2.75rem;
  }
  .story-banner-caption h3 {
    font-size: 2rem;
    line-height: 2.25rem;
  }
  .story-banner-caption h6 {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  .story-content h3 {
    font-size: 1.75rem;
    line-height: 2.5rem;
    margin-bottom: 2.25rem;
  }
  .story-content p,
  .other-stories-header a,
  .story-content ul li,
  .story-content ol li {
    font-size: 1rem;
    line-height: 1.75rem;
  }
  .story-content p + p {
    margin-top: 2rem;
  }
  .story-info,
  .story-content,
  .story-seperator {
    margin-top: 4rem;
  }
  .other-stories-header h3 {
    font-size: 1.75rem;
    line-height: 2.25rem;
  }
  .other-stories-card-img {
    height: 185px;
  }
}

/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .story-banner {
    padding-bottom: 4rem;
  }
  .story-banner-container .story-banner-caption {
    left: 2rem;
    bottom: 2rem;
    row-gap: 8px;
  }
  .story-banner-caption h3 {
    line-height: 2rem;
    font-size: 1.75rem;
  }
  .story-info {
    padding: 2rem;
  }
  .other-stories-container {
    padding-top: 4rem;
  }
  .other-stories-card-body {
    text-align: center;
  }
  .other-stories-card-info h6 {
    font-size: 1.5rem;
  }
  .other-stories-header a {
    white-space: nowrap;
  }
  .other-stories-card-img {
    height: 133px;
  }
}
