.homepage_about {
  position: relative;
  max-width: 1100px;
  margin: 70px auto;
  padding: 55px 60px;

  background: linear-gradient(120deg, #ffffff 55%, #f5f8ff 100%);
  border: 1px solid #e8edf5;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 30, 68, 0.09);
  overflow: hidden;
}

.homepage_about #homepageAbout {
  display: none;
}

/* dotted accent peeking behind the cover */
.homepage_about::after {
  content: "";
  position: absolute;
  right: 120px;
  top: 45px;
  z-index: 1;

  width: 170px;
  height: 170px;

  background-image: radial-gradient(
    rgba(79, 131, 204, 0.55) 2px,
    transparent 2.5px
  );
  background-size: 16px 16px;
}

/* journal cover floating right, text wraps around it */
.homepage_about::before {
  content: "";
  position: relative;
  z-index: 2;
  float: right;
  margin: 12px 15px 25px 40px;

  width: 190px;
  height: 255px;

  background: url("https://smcredfame.com/public/journals/1/journalThumbnail_en_US.jpg")
    center/cover no-repeat;

  border: 8px solid #ffffff;
  border-radius: 10px;
  box-shadow: 0 25px 50px rgba(0, 30, 68, 0.22);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.homepage_about:hover::before {
  transform: rotate(2deg) scale(1.03);
  box-shadow: 0 35px 65px rgba(0, 30, 68, 0.28);
}

.homepage_about h2,
.homepage_about p {
  position: relative;
  z-index: 3;
}

/* three-dot ornament above the heading */
.homepage_about h2::before {
  content: "";
  display: block;
  margin: 0 0 14px;
  width: 8px;
  height: 8px;
  background: #4f83cc;
  border-radius: 50%;
  box-shadow:
    16px 0 0 #c7d8f2,
    32px 0 0 #c7d8f2;
}

.homepage_about h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  color: #1d3557;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.homepage_about h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  margin: 16px 0 0;
  background: linear-gradient(90deg, #001e44, #4f83cc);
  border-radius: 50px;
}

/* decorative divider between heading and paragraph */
.homepage_about p:first-of-type::before {
  content: "";
  display: block;
  height: 10px;
  margin: 24px 0;
  background:
    radial-gradient(circle, #4f83cc 3px, transparent 4px) 105px center / 10px
      10px no-repeat,
    linear-gradient(90deg, #cfddf5 0%, #cfddf5 100%) left center / 220px 1px
      no-repeat;
}

.homepage_about p {
  margin: 0;
  color: #555;
  font-size: 16.5px;
  line-height: 1.9;
  text-align: justify;
}

.homepage_about p + p {
  margin-top: 18px;
}

.homepage_about strong {
  color: #001e44;
}
.pkp_site_nav_menu a {
  color: #000000;
}
.pkp_site_nav_toggle {
  background: #001e44;
}

@media (min-width: 992px) {
  .pkp_navigation_primary_wrapper {
    padding-left: 36px !important;
    padding-right: 23px !important;
  }
}

.pkp_search.pkp_search_desktop a {
  color: #fff !important;
}

/* Scope block hover */
.jc-block {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jc-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 30, 68, 0.12);
}

/* Tablet */
@media (max-width: 991px) {
  .homepage_about {
    padding: 45px 40px 50px;
  }

  .homepage_about::before {
    width: 160px;
    height: 215px;
    margin: 10px 5px 20px 30px;
  }

  .homepage_about::after {
    right: 95px;
    top: 40px;
    width: 140px;
    height: 140px;
  }

  .homepage_about h2 {
    font-size: 30px;
  }

  .homepage_about p {
    font-size: 16px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .homepage_about {
    padding: 40px 24px 45px;
    text-align: center;
  }

  .homepage_about::before {
    float: none;
    display: block;
    margin: 0 auto 30px;
    width: 140px;
    height: 188px;
  }

  .homepage_about:hover::before {
    transform: none;
  }

  .homepage_about::after {
    display: none;
  }

  .homepage_about h2 {
    font-size: 28px;
  }

  .homepage_about h2::before {
    margin: 0 auto 14px;
  }

  .homepage_about h2::after {
    margin: 14px auto 0;
  }

  .homepage_about p:first-of-type::before {
    background:
      radial-gradient(circle, #4f83cc 3px, transparent 4px) center center / 10px
        10px no-repeat,
      linear-gradient(90deg, #cfddf5 0%, #cfddf5 100%) center center / 220px 1px
        no-repeat;
  }

  .homepage_about p {
    font-size: 16px;
    text-align: left;
  }
  .jc-card {
    padding: 30px 22px !important;
  }
  .jc-title {
    font-size: 26px !important;
  }
  .jc-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .jc-text {
    font-size: 15px !important;
  }
  .jc-aim {
    margin-top: 18px !important;
  }
}

@media (max-width: 480px) {
  .jc-card {
    padding: 22px 16px !important;
  }
  .jc-grid {
    grid-template-columns: 1fr !important;
  }
  .jc-body {
    padding: 20px 10px !important;
  }
}

.rb-footer {
  background: #001e44;
  color: #cfd8e6;
  margin-top: 60px;
}

.rb-footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 45px;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 55px 30px 40px;
}

.rb-footer-brand {
  flex: 1 1 340px;
}

.rb-footer-logo {
  max-width: 230px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 18px;
}

.rb-footer-title {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.rb-footer-brand p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #a9b7cb;
}

.rb-footer-indexing {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.rb-footer-indexing span {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.4px;
}

.rb-footer-nav {
  flex: 1 1 180px;
}

.rb-footer-contact {
  flex: 1 1 240px;
}

.rb-footer-nav h4,
.rb-footer-contact h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  position: relative;
}

.rb-footer-nav h4::after,
.rb-footer-contact h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 34px;
  height: 2px;
  background: #4f83cc;
}

.rb-footer-nav ul,
.rb-footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rb-footer-nav ul li,
.rb-footer-contact ul li {
  margin-bottom: 10px;
}

.rb-footer-nav ul li a,
.rb-footer-contact ul li a {
  font-size: 14px;
  color: #a9b7cb;
  text-decoration: none;
  transition:
    color 0.2s,
    padding-left 0.2s;
}

.rb-footer-nav ul li a:hover,
.rb-footer-contact ul li a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.rb-footer-contact ul li {
  font-size: 14px;
  color: #a9b7cb;
  line-height: 1.7;
}

.rb-footer-contact ul li a {
  color: #9fc3f0;
  font-weight: 600;
}

.rb-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  padding: 16px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.rb-footer-bottom div {
  font-size: 13px;
  color: #93a3ba;
}

.pkp_brand_footer {
  display: none !important;
}

@media (max-width: 768px) {
  .rb-footer-top {
    flex-direction: column;
    gap: 30px;
    padding: 40px 20px 30px;
    text-align: left;
  }

  .rb-footer-brand {
    flex: 1 1 auto;
  }

  .rb-footer-nav {
    flex: 1 1 auto;
  }

  .rb-footer-contact {
    flex: 1 1 auto;
  }

  .rb-footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 16px 20px;
  }
}
