:root {
  --public-navy: #091e3c;
  --public-blue: #263b5e;
  --public-red: #ff1949;
  --public-ink: #14243d;
  --public-muted: #6f7d91;
  --public-border: #e4e9f0;
  --public-surface: #f5f7fb;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

main section[id] {
  scroll-margin-top: 100px;
}

.public-site-body {
  color: var(--public-ink);
  background: #fff;
}

.public-topbar {
  color: rgba(255, 255, 255, 0.7);
  background: var(--public-navy);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.public-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 35px;
}

.public-topbar i {
  margin-right: 7px;
  color: #ff7896;
}

.public-topbar-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.public-topbar a {
  color: rgba(255, 255, 255, 0.68);
}

.public-topbar a:hover {
  color: #fff;
}

.public-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(9, 30, 60, 0.08);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 7px 25px rgba(9, 30, 60, 0.045);
}

.public-navbar {
  min-height: 82px;
  padding: 0;
}

.public-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.public-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-right: 11px;
  border: 1px solid #e2e7ef;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(9, 30, 60, 0.08);
}

.public-brand-mark img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.public-brand-copy strong,
.public-brand-copy small {
  display: block;
}

.public-brand-copy strong {
  color: var(--public-navy);
  font-family: "Quicksand", sans-serif;
  font-size: 15px;
  line-height: 1.2;
}

.public-brand-copy small {
  margin-top: 3px;
  color: #8a96a7;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.public-nav-links .nav-link {
  position: relative;
  padding: 31px 13px !important;
  color: #33435b;
  font-size: 12px;
  font-weight: 700;
}

.public-nav-links .nav-link::before {
  position: absolute;
  right: 13px;
  bottom: 22px;
  left: 13px;
  height: 2px;
  background: var(--public-red);
  content: "";
  opacity: 0;
  transform: scaleX(0.3);
  transition: all 0.2s ease;
}

.public-nav-links .nav-link:hover,
.public-nav-links .nav-link.active {
  color: var(--public-red);
}

.public-nav-links .nav-link:hover::before,
.public-nav-links .nav-link.active::before {
  opacity: 1;
  transform: scaleX(1);
}

.public-nav-links .nav-link > i {
  margin-left: 5px;
  font-size: 8px;
}

.public-dropdown {
  min-width: 245px;
  padding: 10px;
  border: 1px solid #e4e9f0 !important;
  border-top: 3px solid var(--public-red) !important;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 18px 40px rgba(9, 30, 60, 0.12) !important;
}

.public-dropdown-heading {
  padding: 5px 10px 10px;
  color: #9aa4b3;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.public-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  padding: 9px 10px;
  border: 0;
  border-radius: 6px;
  color: #43526a;
  font-size: 11px;
  font-weight: 600;
}

.public-dropdown .dropdown-item i {
  width: 22px;
  color: #8a96a8;
  font-size: 10px;
}

.public-dropdown .dropdown-item:hover {
  color: var(--public-red);
  background: #fff1f4;
}

.public-dropdown .dropdown-item:hover i {
  color: var(--public-red);
}

.public-dropdown .public-dropdown-all {
  justify-content: space-between;
  margin-top: 7px;
  padding-top: 11px;
  border-top: 1px solid #edf0f4;
  border-radius: 0;
  color: var(--public-red);
}

.public-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.public-nav-search {
  position: relative;
  width: 175px;
}

.public-nav-search input {
  width: 100%;
  height: 40px;
  padding: 8px 38px 8px 13px;
  border: 1px solid #dde4ed;
  border-radius: 8px;
  color: #2f4059;
  background: #f8fafc;
  font-size: 11px;
  outline: none;
}

.public-nav-search input:focus {
  border-color: var(--public-red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 25, 73, 0.08);
}

.public-nav-search button {
  position: absolute;
  top: 50%;
  right: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  color: #637188;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.public-admin-link,
.public-logout-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
}

.public-admin-link {
  padding: 8px 13px;
  color: #fff;
  background: var(--public-red);
  box-shadow: 0 7px 16px rgba(255, 25, 73, 0.18);
}

.public-admin-link:hover {
  color: #fff;
  background: #e70c3b;
}

.public-admin-link i {
  margin-right: 7px;
}

.public-logout-link {
  width: 40px;
  border: 1px solid #e1e6ed;
  color: #637188;
  background: #fff;
}

.public-logout-link:hover {
  border-color: var(--public-red);
  color: var(--public-red);
}

.public-nav-toggle {
  width: 44px;
  height: 42px;
  padding: 10px;
  border: 1px solid #dde4ed;
  border-radius: 8px;
}

.public-nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--public-navy);
}

/* Shared public page header */
.page-header {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 285px;
  overflow: hidden;
  padding: 78px 0 74px;
  color: #fff;
  background-color: var(--public-navy);
  background-image: url("../images/bg/page-header.jpg");
  background-position: center;
  background-size: cover;
  text-align: center;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.page-header::before {
  z-index: -2;
  inset: 0;
  width: auto;
  height: auto;
  background:
    linear-gradient(115deg, rgba(5, 19, 40, 0.98) 0%, rgba(9, 30, 60, 0.94) 50%, rgba(24, 49, 84, 0.88) 100%);
  opacity: 1;
}

.page-header::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.1), transparent 24%),
    radial-gradient(circle at 82% 72%, rgba(255, 25, 73, 0.12), transparent 26%),
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.025) 50%, transparent 100%),
    linear-gradient(90deg, transparent 25%, var(--public-red) 50%, transparent 75%) bottom/100% 3px no-repeat;
  content: "";
  pointer-events: none;
}

.page-header .container,
.page-header-content {
  position: relative;
  z-index: 1;
}

.page-header-content::before {
  display: block;
  width: 42px;
  height: 3px;
  margin: 0 auto 18px;
  border-radius: 3px;
  background: var(--public-red);
  box-shadow: 0 0 18px rgba(255, 25, 73, 0.32);
  content: "";
}

.page-header .page-header-content h1 {
  max-width: 900px;
  margin: 0 auto 20px;
  color: #fff;
  font-family: "Quicksand", sans-serif;
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1.2px;
  text-transform: none;
  text-shadow: 0 5px 24px rgba(0, 0, 0, 0.18);
}

.page-header .page-header-content ul {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 100%;
  margin: 0;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(7px);
}

.page-header .page-header-content ul .list-inline-item {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.45px;
  line-height: 1.4;
}

.page-header .page-header-content ul .list-inline-item:nth-child(even) {
  color: #ff7896;
  font-weight: 500;
}

.page-header .page-header-content ul li a {
  color: #fff;
  opacity: 0.82;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.page-header .page-header-content ul li a:hover {
  color: #ff9db2;
  opacity: 1;
}

/* Homepage */
.home-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 680px;
  overflow: hidden;
  color: #fff;
  background: url("../images/banner/sspp.jpg") center 42%/cover no-repeat;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 19, 40, 0.97) 0%, rgba(9, 30, 60, 0.91) 45%, rgba(9, 30, 60, 0.55) 72%, rgba(9, 30, 60, 0.42) 100%),
    linear-gradient(0deg, rgba(5, 19, 40, 0.35), transparent 45%);
}

.home-hero-container {
  position: relative;
  z-index: 1;
  padding-top: 75px;
  padding-bottom: 90px;
}

.home-hero-content {
  max-width: 770px;
}

.home-eyebrow,
.home-section-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--public-red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.home-eyebrow {
  margin-bottom: 20px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  color: #ff9db2;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(6px);
}

.home-eyebrow i {
  margin-right: 8px;
}

.home-hero h1 {
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(48px, 5.2vw, 72px);
  line-height: 1.08;
  letter-spacing: -2.2px;
}

.home-hero h1 span {
  color: #ff8ba4;
}

.home-hero-content > p {
  max-width: 690px;
  margin-bottom: 31px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.8;
}

.home-hero-search {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 690px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.23);
}

.home-hero-search > i {
  margin-left: 13px;
  color: #8894a6;
  font-size: 14px;
}

.home-hero-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  padding: 10px 14px;
  border: 0;
  color: #263b5e;
  background: transparent;
  font-size: 13px;
  outline: none;
}

.home-hero-search button {
  flex: 0 0 auto;
  height: 48px;
  padding: 10px 21px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--public-red);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.home-hero-search button:hover {
  background: #e70c3b;
}

.home-popular-searches {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
}

.home-popular-searches > span {
  margin-right: 2px;
  font-weight: 700;
}

.home-popular-searches a {
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.72);
}

.home-popular-searches a:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.home-hero-library-card {
  max-width: 290px;
  margin-left: auto;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(8, 28, 55, 0.72);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(13px);
  text-align: center;
}

.home-hero-card-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #fff;
}

.home-hero-card-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.home-hero-library-card > span {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.home-hero-library-card > strong {
  display: block;
  margin: 7px 0 2px;
  color: #fff;
  font-family: "Quicksand", sans-serif;
  font-size: 46px;
  line-height: 1;
}

.home-hero-library-card > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
}

.home-hero-card-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 23px 0;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.home-hero-card-stats > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.11);
}

.home-hero-card-stats strong,
.home-hero-card-stats span {
  display: block;
}

.home-hero-card-stats strong {
  color: #fff;
  font-size: 19px;
}

.home-hero-card-stats span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
}

.home-hero-library-card > a {
  color: #ff9db2;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-hero-library-card > a i {
  margin-left: 7px;
}

.home-hero-scroll {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  left: 50%;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  width: 25px;
  height: 40px;
  padding-top: 7px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  transform: translateX(-50%);
}

.home-hero-scroll span {
  width: 3px;
  height: 7px;
  border-radius: 4px;
  background: #fff;
}

.home-trust-strip {
  border-bottom: 1px solid var(--public-border);
  background: #fff;
}

.home-trust-item {
  display: flex;
  align-items: center;
  min-height: 100px;
  padding: 22px 12px;
}

.home-trust-item > i {
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: 14px;
  border-radius: 10px;
  color: var(--public-red);
  background: #fff0f3;
}

.home-trust-item strong,
.home-trust-item span {
  display: block;
}

.home-trust-item strong {
  margin-bottom: 3px;
  color: var(--public-navy);
  font-size: 12px;
}

.home-trust-item span {
  color: #8994a4;
  font-size: 10px;
}

.home-section {
  padding: 95px 0;
}

.home-categories-section {
  background: #fff;
}

.home-library-section {
  background: var(--public-surface);
}

.home-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.home-section-heading > div {
  max-width: 650px;
}

.home-section-kicker {
  margin-bottom: 9px;
}

.home-section-heading h2,
.home-mission-copy h2 {
  margin-bottom: 12px;
  color: var(--public-navy);
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: -0.7px;
}

.home-section-heading p,
.home-mission-copy > p {
  margin: 0;
  color: var(--public-muted);
  font-size: 13px;
  line-height: 1.75;
}

.home-text-link {
  flex: 0 0 auto;
  padding-bottom: 5px;
  border-bottom: 1px solid #d7dee8;
  color: var(--public-navy);
  font-size: 11px;
  font-weight: 800;
}

.home-text-link:hover {
  border-color: var(--public-red);
  color: var(--public-red);
}

.home-text-link i {
  margin-left: 7px;
}

.home-category-card {
  display: flex;
  align-items: center;
  min-height: 108px;
  padding: 20px;
  border: 1px solid var(--public-border);
  border-radius: 12px;
  color: var(--public-ink);
  background: #fff;
  box-shadow: 0 8px 25px rgba(9, 30, 60, 0.045);
  transition: all 0.24s ease;
}

.home-category-card:hover {
  border-color: rgba(255, 25, 73, 0.28);
  color: var(--public-ink);
  box-shadow: 0 15px 35px rgba(9, 30, 60, 0.1);
  transform: translateY(-3px);
}

.home-category-icon {
  display: inline-flex;
  flex: 0 0 55px;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  margin-right: 16px;
  border-radius: 12px;
  color: var(--public-red);
  background: #fff0f3;
  font-size: 18px;
}

.home-category-card h3 {
  margin: 0 0 5px;
  color: var(--public-navy);
  font-size: 15px;
}

.home-category-card p {
  margin: 0;
  color: #8b96a6;
  font-size: 10px;
}

.home-category-arrow {
  margin-left: auto;
  color: #a5afbd;
  font-size: 11px;
  transition: transform 0.2s ease;
}

.home-category-card:hover .home-category-arrow {
  color: var(--public-red);
  transform: translateX(3px);
}

.home-section-search {
  position: relative;
  flex: 0 0 240px;
}

.home-section-search input {
  width: 100%;
  height: 43px;
  padding: 9px 42px 9px 13px;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  color: #33435d;
  background: #fff;
  font-size: 11px;
  outline: none;
}

.home-section-search input:focus {
  border-color: var(--public-red);
  box-shadow: 0 0 0 3px rgba(255, 25, 73, 0.08);
}

.home-section-search button {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 33px;
  height: 33px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--public-navy);
  cursor: pointer;
}

.public-book-card {
  overflow: hidden;
  height: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(9, 30, 60, 0.055);
  transition: all 0.25s ease;
}

.public-book-card:hover {
  box-shadow: 0 18px 42px rgba(9, 30, 60, 0.12);
  transform: translateY(-5px);
}

.public-book-cover {
  position: relative;
  display: block;
  height: 285px;
  overflow: hidden;
  background: #e9edf3;
}

.public-book-cover::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 19, 40, 0.72), transparent 45%);
  content: "";
  opacity: 0;
  transition: opacity 0.25s ease;
}

.public-book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.public-book-cover > span {
  position: absolute;
  z-index: 2;
  right: 15px;
  bottom: 14px;
  left: 15px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.25s ease;
}

.public-book-cover > span i {
  margin-right: 6px;
}

.public-book-card:hover .public-book-cover::after,
.public-book-card:hover .public-book-cover > span {
  opacity: 1;
}

.public-book-card:hover .public-book-cover > span {
  transform: translateY(0);
}

.public-book-card:hover .public-book-cover img {
  transform: scale(1.035);
}

.public-book-content {
  padding: 20px;
}

.public-book-category {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 4px 8px;
  border-radius: 20px;
  color: #d6284b;
  background: #fff0f3;
  font-size: 9px;
  font-weight: 800;
}

.public-book-category:hover {
  color: #fff;
  background: var(--public-red);
}

.public-book-content h3 {
  display: -webkit-box;
  overflow: hidden;
  min-height: 43px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.public-book-content h3 a {
  color: var(--public-navy);
}

.public-book-content h3 a:hover {
  color: var(--public-red);
}

.public-book-description {
  display: -webkit-box;
  overflow: hidden;
  min-height: 54px;
  margin-bottom: 17px;
  color: #7f8b9c;
  font-size: 10px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.public-book-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #edf0f4;
}

.public-book-footer > span {
  display: block;
  overflow: hidden;
  max-width: calc(100% - 38px);
  color: #718096;
  font-size: 9px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-book-footer > span i {
  margin-right: 6px;
  color: #a0aaba;
}

.public-book-footer > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #fff;
  background: var(--public-navy);
  font-size: 10px;
}

.public-book-footer > a:hover {
  background: var(--public-red);
}

.home-empty-state {
  padding: 65px 20px;
  border: 1px dashed #d6dde7;
  border-radius: 12px;
  color: #8a96a7;
  background: #fff;
  text-align: center;
}

.home-empty-state > i {
  margin-bottom: 16px;
  color: var(--public-red);
  font-size: 28px;
}

.home-empty-state h3 {
  margin-bottom: 8px;
  color: var(--public-navy);
  font-size: 20px;
}

.home-empty-state p {
  margin: 0;
  font-size: 12px;
}

.home-mission-section {
  overflow: hidden;
  padding: 105px 0;
  background: #fff;
}

.home-mission-copy {
  max-width: 560px;
}

.home-mission-copy h2 {
  margin-top: 11px;
  font-size: 42px;
}

.home-mission-copy > p {
  margin-bottom: 25px;
  font-size: 14px;
}

.home-mission-copy ul {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.home-mission-copy li {
  display: flex;
  align-items: center;
  margin-bottom: 13px;
  color: #43526a;
  font-size: 12px;
  font-weight: 600;
}

.home-mission-copy li i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  border-radius: 50%;
  color: #0c9463;
  background: #e7f8f1;
  font-size: 8px;
}

.home-primary-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--public-red);
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 9px 20px rgba(255, 25, 73, 0.2);
}

.home-primary-link:hover {
  color: #fff;
  background: #e70c3b;
  transform: translateY(-1px);
}

.home-primary-link i {
  margin-left: 9px;
}

.home-mission-visual {
  position: relative;
  max-width: 560px;
  margin-left: auto;
  padding: 45px 25px 20px;
  border-radius: 30px 8px 30px 8px;
  background: #fff5e8;
}

.home-mission-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.home-mission-badge {
  position: absolute;
  bottom: 26px;
  left: -25px;
  display: flex;
  align-items: center;
  min-width: 190px;
  padding: 13px 15px;
  border: 1px solid #e5eaf1;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 15px 35px rgba(9, 30, 60, 0.14);
}

.home-mission-badge > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  margin-right: 10px;
  border-radius: 9px;
  color: #0c9463;
  background: #e7f8f1;
}

.home-mission-badge strong,
.home-mission-badge span {
  display: block;
}

.home-mission-badge strong {
  color: var(--public-navy);
  font-size: 11px;
}

.home-mission-badge span {
  color: #8a96a7;
  font-size: 9px;
}

.home-cta-section {
  padding: 0 0 95px;
  background: #fff;
}

.home-cta-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  overflow: hidden;
  padding: 42px 48px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(120deg, #091e3c, #263b5e);
  box-shadow: 0 20px 45px rgba(9, 30, 60, 0.17);
}

.home-cta-card::after {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 300px;
  height: 300px;
  border: 55px solid rgba(255, 255, 255, 0.035);
  border-radius: 50%;
  content: "";
}

.home-cta-card > div,
.home-cta-card > form {
  position: relative;
  z-index: 1;
}

.home-cta-card > div span {
  display: block;
  margin-bottom: 7px;
  color: #ff8ba4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.home-cta-card h2 {
  max-width: 500px;
  margin: 0;
  color: #fff;
  font-size: 27px;
  line-height: 1.35;
}

.home-cta-card form {
  display: flex;
  flex: 0 0 400px;
  padding: 6px;
  border-radius: 9px;
  background: #fff;
}

.home-cta-card input {
  flex: 1 1 auto;
  min-width: 0;
  height: 43px;
  padding: 9px 12px;
  border: 0;
  color: #33435d;
  font-size: 11px;
  outline: none;
}

.home-cta-card button {
  flex: 0 0 auto;
  padding: 9px 15px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--public-red);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.home-cta-card button i {
  margin-left: 6px;
}

/* Footer */
.public-footer {
  color: rgba(255, 255, 255, 0.64);
  background: #07172e;
}

.public-footer-main {
  padding: 78px 0 65px;
}

.public-footer-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
}

.public-footer-brand > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  margin-right: 12px;
  border-radius: 13px;
  background: #fff;
}

.public-footer-brand img {
  width: 47px;
  height: 47px;
  object-fit: contain;
}

.public-footer-brand strong,
.public-footer-brand small {
  display: block;
}

.public-footer-brand strong {
  color: #fff;
  font-family: "Quicksand", sans-serif;
  font-size: 15px;
}

.public-footer-brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 9px;
  font-weight: 600;
}

.public-footer-about {
  max-width: 470px;
  margin-bottom: 23px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  line-height: 1.85;
}

.public-footer-search {
  position: relative;
  max-width: 360px;
}

.public-footer-search input {
  width: 100%;
  height: 43px;
  padding: 9px 43px 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  font-size: 10px;
  outline: none;
}

.public-footer-search input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.public-footer-search input:focus {
  border-color: rgba(255, 255, 255, 0.3);
}

.public-footer-search button {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 33px;
  height: 33px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--public-red);
  cursor: pointer;
}

.public-footer-title {
  margin: 7px 0 22px;
  color: #fff;
  font-size: 13px;
}

.public-footer-links,
.public-footer-contact {
  margin: 0;
  padding: 0;
  list-style: none;
}

.public-footer-links li {
  margin-bottom: 11px;
}

.public-footer-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
}

.public-footer-links a:hover {
  color: #fff;
  padding-left: 3px;
}

.public-footer-contact li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  line-height: 1.75;
}

.public-footer-contact i {
  flex: 0 0 27px;
  margin-top: 3px;
  color: #ff7896;
}

.public-footer-powered {
  margin-top: 60px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.public-footer-verbum-brand {
  margin-bottom: 0;
}

.public-footer-verbum-brand img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.public-footer-verbum-brand > div {
  line-height: 1;
}

.public-footer-verbum-brand strong + strong {
  margin-top: 2px;
}

.public-footer-verbum-brand small {
  margin-top: 4px;
  color: #fff;
}

.public-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.public-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.public-footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.36);
  font-size: 9px;
}

.public-footer-bottom a {
  color: rgba(255, 255, 255, 0.62);
}

.public-footer-bottom a:hover {
  color: #fff;
}

.public-scroll-top {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: #fff;
  background: var(--public-red);
  box-shadow: 0 9px 22px rgba(255, 25, 73, 0.25);
  font-size: 11px;
}

.public-scroll-top:hover {
  color: #fff;
  background: #e70c3b;
}

@media (max-width: 1199px) {
  .public-nav-search {
    display: none;
  }

  .home-hero {
    min-height: 630px;
  }

  .home-cta-card form {
    flex-basis: 350px;
  }
}

@media (max-width: 991px) {
  .public-navbar {
    min-height: 74px;
  }

  .public-navbar .navbar-collapse {
    max-height: calc(100vh - 115px);
    overflow-y: auto;
    margin: 12px -15px 0;
    padding: 12px 15px 20px;
    border-top: 1px solid #e8edf3;
    background: #fff;
  }

  .public-nav-links .nav-link {
    padding: 12px 4px !important;
  }

  .public-nav-links .nav-link::before {
    display: none;
  }

  .public-dropdown {
    border: 0 !important;
    border-left: 2px solid var(--public-red) !important;
    border-radius: 0;
    box-shadow: none !important;
  }

  .public-nav-actions {
    align-items: stretch;
    flex-wrap: wrap;
    margin-top: 10px;
  }

  .public-nav-search {
    display: block;
    flex: 1 1 100%;
    width: 100%;
    margin-bottom: 4px;
  }

  .home-hero {
    min-height: 620px;
    background-position: 55% center;
  }

  .home-hero-overlay {
    background: linear-gradient(90deg, rgba(5, 19, 40, 0.97), rgba(9, 30, 60, 0.8));
  }

  .home-hero-content {
    max-width: 740px;
  }

  .home-trust-item {
    min-height: 86px;
  }

  .home-section,
  .home-mission-section {
    padding: 75px 0;
  }

  .home-mission-visual {
    margin: 0 auto;
  }

  .home-cta-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 38px;
  }

  .home-cta-card form {
    flex: 0 0 auto;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .public-topbar {
    display: none;
  }

  .page-header {
    min-height: 230px;
    padding: 58px 0 54px;
    background-position: center;
  }

  .page-header-content::before {
    width: 34px;
    margin-bottom: 14px;
  }

  .page-header .page-header-content h1 {
    margin-bottom: 16px;
    font-size: 34px;
    letter-spacing: -0.7px;
  }

  .page-header .page-header-content ul {
    gap: 5px;
    padding: 8px 12px;
    border-radius: 14px;
  }

  .page-header .page-header-content ul .list-inline-item {
    font-size: 9px;
  }

  .public-header {
    top: 0;
  }

  .public-brand-mark {
    width: 47px;
    height: 47px;
  }

  .public-brand-mark img {
    width: 39px;
    height: 39px;
  }

  .public-brand-copy strong {
    font-size: 13px;
  }

  .home-hero {
    min-height: 640px;
    background-position: 58% center;
  }

  .home-hero-container {
    padding-top: 65px;
    padding-bottom: 75px;
  }

  .home-hero h1 {
    font-size: 46px;
    letter-spacing: -1.4px;
  }

  .home-hero-content > p {
    font-size: 14px;
  }

  .home-hero-search {
    align-items: stretch;
    flex-wrap: wrap;
    padding: 7px;
  }

  .home-hero-search > i {
    align-self: center;
  }

  .home-hero-search input {
    width: calc(100% - 42px);
  }

  .home-hero-search button {
    width: 100%;
  }

  .home-hero-scroll {
    display: none;
  }

  .home-trust-item {
    min-height: auto;
    padding: 18px 5px;
    border-bottom: 1px solid #edf0f4;
  }

  .home-trust-strip .col-md-4:last-child .home-trust-item {
    border-bottom: 0;
  }

  .home-section,
  .home-mission-section {
    padding: 62px 0;
  }

  .home-section-heading {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 30px;
  }

  .home-section-heading h2,
  .home-mission-copy h2 {
    font-size: 31px;
  }

  .home-section-search {
    flex: 0 0 auto;
    width: 100%;
  }

  .public-book-cover {
    height: 360px;
  }

  .home-mission-visual {
    padding: 30px 15px 12px;
  }

  .home-mission-badge {
    bottom: 14px;
    left: 10px;
  }

  .home-cta-section {
    padding-bottom: 62px;
  }

  .home-cta-card {
    padding: 30px 24px;
    border-radius: 12px;
  }

  .home-cta-card h2 {
    font-size: 23px;
  }

  .home-cta-card form {
    flex-direction: column;
  }

  .home-cta-card button {
    height: 42px;
  }

  .public-footer-main {
    padding: 58px 0 42px;
  }

  .public-footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    min-height: 82px;
  }
}

@media (max-width: 420px) {
  .public-brand-copy small {
    display: none;
  }

  .page-header .page-header-content h1 {
    font-size: 30px;
  }

  .home-hero h1 {
    font-size: 40px;
  }

  .home-popular-searches {
    display: none;
  }

  .public-book-cover {
    height: 330px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
