* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
}

body.is-loading {
  overflow: hidden;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  transition: opacity .3s ease, visibility .3s ease;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-favicon-shell {
  position: relative;
  width: 106px;
  height: 106px;
  display: grid;
  place-items: center;
}

.loader-ring {
  position: absolute;
  inset: 0;
  border: 4px solid rgba(20, 33, 61, .12);
  border-top-color: #1274fe;
  border-right-color: #1274fe;
  border-radius: 50%;
  animation: faviconLoaderSpin .8s linear infinite;
}

.loader-favicon {
  width: 66px;
  height: 66px;
  display: block;
  border-radius: 18px;
  object-fit: contain;
}

@keyframes faviconLoaderSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {

  .site-loader,
  .loader-ring {
    animation: none;
    transition: none;
  }
}

@media (max-width: 575.98px) {
  .loader-favicon-shell {
    width: 88px;
    height: 88px;
  }

  .loader-favicon {
    width: 54px;
    height: 54px;
    border-radius: 15px;
  }

  .loader-ring {
    border-width: 3px;
  }
}

.site-header.is-scrolled {
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  animation: headerDrop 0.28s ease both;
}

@keyframes headerDrop {
  from {
    transform: translateY(-10px);
  }

  to {
    transform: translateY(0);
  }
}

.header-top {
  position: relative;
  overflow: hidden;
  background: #fff;
  border-top: 3px solid #243676;
}

.header-top::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 63%;
  background: #2c3d82;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}

.header-top-inner {
  position: relative;
  z-index: 1;
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition:
    min-height 0.25s ease,
    padding 0.25s ease;
}

.site-header.is-scrolled .header-top-inner {
  min-height: 86px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: #1f2a68;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  max-height: 74px;
  max-width: 360px;
  object-fit: contain;
  transition: max-height 0.25s ease;
}

.site-header.is-scrolled .brand-logo {
  max-height: 60px;
}

.brand-fallback-mark {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: #2c3d82;
  font-size: 1.55rem;
}

.brand-title {
  display: block;
  max-width: 420px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand-subtitle {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.4rem;
  color: #fff;
}

.header-search-pill {
  width: 190px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  padding: 0 1.15rem;
  color: #fff;
  background: #4851dc;
  outline: none;
}

.header-search-pill::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
  padding-left: 1.2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.header-contact:first-of-type {
  border-left: 0;
  padding-left: 0;
}

.header-contact-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.72);
  font-size: 1.35rem;
}

.header-contact small {
  display: block;
  font-weight: 600;
  line-height: 1.1;
}

.header-contact strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  white-space: nowrap;
}

.nav-row {
  position: relative;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.98),
      rgba(248, 251, 255, 0.94)),
    #f8fafc;
  border-top: 1px solid rgba(37, 99, 235, 0.08);
  border-bottom: 1px solid rgba(37, 99, 235, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 10px 28px rgba(15, 23, 42, 0.06);
}

.nav-row::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 50%,
      rgba(37, 99, 235, 0.08),
      transparent 18rem),
    radial-gradient(circle at 82% 50%,
      rgba(14, 165, 233, 0.08),
      transparent 16rem);
}

.nav-row .container {
  position: relative;
  z-index: 1;
}

.site-nav {
  min-height: 64px;
}

.site-nav .navbar-nav {
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 0.25rem;
}

.site-nav .nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #17233c;
  font-size: 0.98rem;
  font-weight: 500;
  padding: 1.1rem 0.72rem;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.site-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.72rem;
  right: 0.72rem;
  bottom: 0.58rem;
  width: auto;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2c3d82, #0ea5e9);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: #2c3d82;
  transform: translateY(-1px);
}

.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-nav .nav-link i {
  font-size: 1.05rem;
}

.navbar-toggler {
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 14px;
  background: #fff;
  padding: 0.6rem 0.75rem;
  box-shadow: none !important;
}

.site-footer {
  position: relative;
  overflow: visible;
  z-index: 5;
  color: #dbeafe;
  background:
    radial-gradient(circle at 12% 10%,
      rgba(37, 99, 235, 0.32),
      transparent 28rem),
    radial-gradient(circle at 88% 22%,
      rgba(6, 182, 212, 0.2),
      transparent 25rem),
    linear-gradient(135deg, #08111f 0%, #101b33 52%, #172554 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent);
  pointer-events: none;
}

.footer-main {
  position: relative;
  z-index: 1;
  padding: 3.25rem 0 1.6rem;
}

.footer-brand-mark {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.32);
  font-size: 1.55rem;
}

.footer-title {
  color: #fff;
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.footer-text {
  color: #b6c5df;
  line-height: 1.75;
}

.footer-brand-logo-wrap {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1rem;
}

.footer-brand-logo {
  display: block;
  width: auto;
  max-width: min(100%, 260px);
  height: auto;
  max-height: 68px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

.footer-brand-name {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 850;
  line-height: 1.2;
}

.footer-brand-description {
  max-width: 390px;
  margin: 0 0 1.2rem;
  color: #b6c5df;
  font-size: .92rem;
  line-height: 1.7;
}

@media (max-width: 767.98px) {
  .footer-brand-logo-wrap {
    min-height: 48px;
    margin-bottom: .75rem;
  }

  .footer-brand-logo {
    max-width: 220px;
    max-height: 56px;
  }

  .footer-brand-description {
    max-width: 100%;
    margin-bottom: 1rem;
    font-size: .84rem;
    line-height: 1.6;
  }
}

.footer-heading {
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #b6c5df;
  text-decoration: none;
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.footer-links a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  opacity: 0.65;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-contact-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem;
  margin-bottom: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.footer-contact-card:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.footer-contact-card i {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 11px;
  color: #fff;
  background: rgba(37, 99, 235, 0.85);
}

.footer-newsletter {
  display: flex;
  gap: 0.5rem;
  padding: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-newsletter .form-control {
  color: #fff;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.footer-newsletter .form-control::placeholder {
  color: rgba(219, 234, 254, 0.68);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}

.footer-socials a:hover {
  background: #2563eb;
  transform: translateY(-3px);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9fb0ca;
}

.card-hover {
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}

.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.ad-slot {
  background: #f1f3f5;
  border: 1px dashed #ced4da;
  text-align: center;
  padding: 1rem;
  font-size: 0.8rem;
  color: #868e96;
}

.swal2-popup {
  width: min(420px, calc(100vw - 2rem)) !important;
  border-radius: 18px !important;
  padding: 1.4rem !important;
  font-family: "Outfit", sans-serif !important;
}

.swal2-title {
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

.swal2-html-container {
  font-size: 0.94rem !important;
  line-height: 1.55 !important;
}

div:where(.swal2-icon) {
  font-size: 12px !important;
  margin: 0 auto !important;
}

.swal2-confirm {
  border-radius: 999px !important;
  padding: 0.65rem 1.35rem !important;
  font-weight: 800 !important;
}

.choices {
  margin-bottom: 0;
}

.choices__inner {
  min-height: 38px;
  border-color: #dee2e6;
  border-radius: 0.375rem;
  background: #fff;
}

.choices.is-focused .choices__inner,
.choices.is-open .choices__inner {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.choices__list--dropdown,
.choices__list[aria-expanded] {
  border-color: #dee2e6;
  border-radius: 0.5rem;
  z-index: 1060;
}

/* CSS Bare Acts  */
.bare-library {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 46%, #f7fafc 100%);
}

.library-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 58px;
  background:
    linear-gradient(135deg,
      rgba(247, 250, 252, 0.95),
      rgba(239, 246, 255, 0.92)),
    url("https://images.unsplash.com/photo-1507842217343-583bb7270b66?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.library-hero::before {
  content: "";
  position: absolute;
  left: 7%;
  bottom: -70px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.14);
  filter: blur(8px);
}

.library-hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 2rem;
  align-items: end;
}

.library-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: #075985;
  background: rgba(224, 242, 254, 0.92);
  font-weight: 850;
}

.library-hero h1 {
  max-width: 780px;
  margin: 1rem 0 0.8rem;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  line-height: 1;
  font-weight: 500;
  color: #0f172a;
  letter-spacing: -1px;
}

.library-hero p {
  max-width: 650px;
  color: #475569;
  font-size: 1.08rem;
}

.library-count-card {
  padding: 1.4rem;
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
}

.library-count-card strong {
  display: block;
  font-size: 3rem;
  line-height: 1;
}

.library-count-card span {
  color: rgba(255, 255, 255, 0.7);
}

.library-search-panel {
  margin-top: -34px;
  position: relative;
  z-index: 2;
}

.library-search {
  padding: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(18px);
}

.library-search .form-control,
.library-search .form-select {
  min-height: 52px;
  border-radius: 16px;
  border-color: #dbe5ef;
  background: #f8fbff;
}

.library-search .form-control:focus,
.library-search .form-select:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 0.24rem rgba(14, 165, 233, 0.14);
  background: #fff;
}

.library-search button,
.library-search .reset-link {
  min-height: 52px;
  border-radius: 16px;
  font-weight: 800;
}

.library-search button {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  box-shadow: 0 16px 36px rgba(14, 165, 233, 0.2);
}

.library-body {
  padding: 58px 0 72px;
}

.library-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
}

.category-shelf {
  position: sticky;
  top: 110px;
  padding: 1rem;
  border-radius: 24px;
  background: #0f172a;
  color: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
}

.category-shelf h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 1rem;
}

.category-link {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  padding: 0.78rem 0.85rem;
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.category-link:hover,
.category-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(3px);
}

.category-link i {
  color: #38bdf8;
}

.act-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.act-card {
  position: relative;
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 1.35rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 26px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(14, 165, 233, 0.28), rgba(37, 99, 235, 0.06)) border-box;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.065);
  isolation: isolate;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.act-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 92% 10%,
      rgba(14, 165, 233, 0.14),
      transparent 32%),
    radial-gradient(circle at 8% 92%, rgba(37, 99, 235, 0.08), transparent 30%);
  opacity: 0.85;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.act-card::after {
  content: "";
  position: absolute;
  inset: auto 1.35rem 1rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0ea5e9, #2563eb);
  opacity: 0;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  transform: scaleX(0.7);
  transform-origin: left;
}

.act-card:hover {
  transform: translateY(-8px);
  border-color: rgba(14, 165, 233, 0.28);
  box-shadow: 0 30px 90px rgba(14, 165, 233, 0.16);
}

.act-card:hover::before {
  opacity: 1;
  transform: scale(1.02);
}

.act-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.act-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.act-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.65rem;
  border-radius: 999px;
  color: #075985;
  background: #e0f2fe;
  font-size: 0.8rem;
  font-weight: 850;
  max-width: calc(100% - 58px);
  line-height: 1.2;
}

.act-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #2563eb);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.act-card:hover .act-icon {
  transform: rotate(-4deg) scale(1.05);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.3);
}

.act-card h2 {
  margin: 1.1rem 0 0.7rem;
  color: #0f172a;
  font-size: 1.3rem;
  line-height: 1.25;
  font-weight: 750;
}

.act-card p {
  color: #64748b;
  margin-bottom: 1rem;
  line-height: 1.65;
}

.act-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.95rem;
}

.act-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.58rem;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.92);
  color: #475569;
  font-size: 0.78rem;
  font-weight: 750;
}

.act-card-footer {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  margin-top: auto;
  color: #2563eb;
  font-weight: 850;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
}

.act-card-footer i {
  font-size: 1.25rem;
  transition: transform 0.25s ease;
}

.act-card:hover .act-card-footer i {
  transform: translate(3px, -3px);
}

.empty-library {
  padding: 3rem;
  border: 1px dashed #bae6fd;
  border-radius: 26px;
  text-align: center;
  background: #f8fbff;
}

.library-pagination {
  display: flex;
  justify-content: center;
  margin-top: 2.2rem;
}

.library-pagination nav {
  width: 100%;
}

.library-pagination .pagination {
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin: 0;
}

.library-pagination .page-item .page-link {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  color: #0f172a;
  background: #fff;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.library-pagination .page-item .page-link:hover {
  transform: translateY(-2px);
  color: #fff;
  border-color: #0ea5e9;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.18);
}

.library-pagination .page-item.active .page-link {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #0f172a, #2563eb);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.22);
}

.library-pagination .page-item.disabled .page-link {
  color: #94a3b8;
  background: #f8fafc;
  border-color: #e2e8f0;
  box-shadow: none;
  cursor: not-allowed;
}

.library-pagination .page-link:focus {
  box-shadow: 0 0 0 0.24rem rgba(14, 165, 233, 0.14);
}

.act-reader {
  background:
    radial-gradient(circle at 8% 14%,
      rgba(14, 165, 233, 0.12),
      transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 42%, #f7fafc 100%);
}

.act-reader-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 64px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(14, 64, 121, 0.9)),
    url("https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.act-reader-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.24;
}

.act-reader-hero .container {
  position: relative;
  z-index: 1;
}

.act-reader-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #dbeafe;
  font-weight: 850;
  backdrop-filter: blur(14px);
}

.act-reader-hero h1 {
  max-width: 900px;
  margin: 1rem 0 0.9rem;
  font-size: clamp(2.2rem, 5vw, 4.55rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -1px;
}

.act-reader-hero p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.06rem;
}

.hero-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.hero-tool {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-decoration: none;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.hero-tool:hover {
  transform: translateY(-2px);
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.act-reader-wrap {
  padding: 0 0 72px;
}

.reader-stats {
  position: relative;
  z-index: 2;
  margin-top: -34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.reader-stat {
  padding: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.reader-stat span {
  display: block;
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 750;
}

.reader-stat strong {
  display: block;
  margin-top: 0.25rem;
  color: #0f172a;
  font-size: 1.15rem;
  font-weight: 850;
}

.reader-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 1.4rem;
  align-items: start;
  margin-top: 2rem;
}

.reader-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}

.reader-card-header {
  padding: 1.3rem 1.45rem;
  border-bottom: 1px solid #eef2f7;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
}

.reader-card-header span {
  color: #2563eb;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.75rem;
}

.reader-card-header h2 {
  margin: 0.4rem 0 0;
  color: #0f172a;
  font-weight: 750;
  font-size: 1.55rem;
}

.reader-content {
  padding: 1.45rem;
  color: #334155;
  font-size: 1rem;
  line-height: 1.85;
  white-space: pre-line;
}

.notes-card {
  margin-top: 1.1rem;
  border-color: rgba(245, 158, 11, 0.18);
}

.notes-card .reader-card-header {
  background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.notes-card .reader-card-header span {
  color: #ea580c;
}

.reader-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 1rem;
}

.sidebar-panel {
  padding: 1.2rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
}

.sidebar-panel.dark {
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%,
      rgba(14, 165, 233, 0.25),
      transparent 35%),
    #0f172a;
}

.sidebar-panel h3 {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
  font-weight: 850;
}

.quick-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  width: 100%;
  padding: 0.82rem 0.9rem;
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.quick-action:hover {
  transform: translateY(-2px);
  color: inherit;
  background: rgba(255, 255, 255, 0.16);
}

.outline-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.82rem 0.9rem;
  border-radius: 16px;
  background: #f8fbff;
  color: #0f172a;
  text-decoration: none;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.outline-action:hover {
  transform: translateY(-2px);
  color: #2563eb;
  background: #eff6ff;
}

.related-list {
  display: grid;
  gap: 0.7rem;
}

.related-act {
  display: block;
  padding: 0.9rem;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  color: #0f172a;
  text-decoration: none;
  background: #fff;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.related-act:hover {
  transform: translateY(-3px);
  color: #0f172a;
  border-color: #93c5fd;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.12);
}

.related-act strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.35;
}

.related-act span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.6rem;
  color: #2563eb;
  font-size: 0.84rem;
  font-weight: 850;
}

.empty-content {
  color: #64748b;
  background: #f8fafc;
  border-radius: 18px;
  padding: 1rem;
}

@media (max-width: 991px) {

  .library-hero .container,
  .library-layout,
  .act-grid {
    grid-template-columns: 1fr;
  }

  .category-shelf {
    position: static;
  }

  .reader-stats,
  .reader-layout {
    grid-template-columns: 1fr;
  }

  .reader-sidebar {
    position: static;
  }
}

/* Bare Acts CSS Ends  */

/* RESPONSIVE */
@media (max-width: 1024px) {}

@media (max-width: 768px) {}

/* Media Query */

@media only screen and (max-width: 756px) {}

@media (min-width: 640px) {

  .choices__list--dropdown .choices__item--selectable,
  .choices__list[aria-expanded] .choices__item--selectable {
    padding-right: 10px;
  }
}

@media (max-width: 1199.98px) {
  .header-top::after {
    width: 58%;
  }

  .header-search-pill {
    display: none;
  }

  .header-actions {
    gap: 1rem;
  }
}

@media (max-width: 991.98px) {
  .header-top::after {
    display: none;
  }

  .header-top-inner {
    min-height: auto;
    padding-block: 0.9rem;
  }

  .header-actions {
    display: none;
  }

  .brand-logo {
    max-height: 58px;
    max-width: 260px;
  }

  .site-nav {
    min-height: auto;
    padding: 0.75rem 0 0.4rem;
  }

  .site-nav .navbar-nav {
    align-items: stretch !important;
    gap: 0.35rem;
  }

  .site-nav .nav-link {
    justify-content: flex-start;
    padding: 0.78rem 0.95rem;
  }

  .site-nav .nav-link::after {
    left: 0.95rem;
    right: 0.95rem;
    bottom: 0.42rem;
    width: auto;
    height: 3px;
    transform: scaleX(0);
  }

  .site-nav .nav-link:hover::after,
  .site-nav .nav-link.active::after {
    transform: scaleX(1);
  }
}

@media (max-width: 575.98px) {
  .brand-title {
    font-size: 1.05rem;
  }

  .brand-subtitle {
    display: none;
  }

  .footer-main {
    padding-top: 3rem;
  }

  .footer-newsletter {
    border-radius: 16px;
    flex-direction: column;
  }
}

:root {
  --primary-color: #047355;
  --font-family: "Outfit", sans-serif;
  --secondary-color: #03221a;
}

/* ==========================================================
   Frontend Page Styles
   Moved from Blade internal style blocks for shared maintenance.
   ========================================================== */

/* Source: .\resources\views\frontend\advertise-with-us.blade.php */
.ad-page {
  background:
    radial-gradient(circle at 10% 10%,
      rgba(32, 128, 255, 0.16),
      transparent 34%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 44%, #f6f9ff 100%);
}

.ad-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 70px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(9, 22, 53, 0.94), rgba(15, 77, 151, 0.9)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.ad-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.28;
}

.ad-hero .container {
  position: relative;
  z-index: 1;
}

.ad-kicker {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  font-weight: 700;
  color: #dbeafe;
}

.ad-hero h1 {
  max-width: 850px;
  margin: 1.2rem 0 1rem;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -1px;
}

.ad-hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.ad-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  max-width: 720px;
}

.ad-stat {
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.ad-stat strong {
  display: block;
  font-size: 1.65rem;
  line-height: 1;
}

.ad-stat span {
  display: block;
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.ad-wrap {
  padding: 70px 0;
}

.ad-section-title {
  max-width: 720px;
  margin-bottom: 2rem;
}

.ad-section-title span {
  color: #1267d8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.ad-section-title h2 {
  margin: 0.5rem 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 650;
  color: #0d1b2f;
}

.ad-package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.ad-package {
  position: relative;
  min-height: 280px;
  padding: 1.35rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.ad-package:hover {
  transform: translateY(-8px);
  border-color: rgba(37, 99, 235, 0.36);
  box-shadow: 0 26px 80px rgba(37, 99, 235, 0.16);
}

.ad-package .icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  font-size: 1.4rem;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.28);
}

.ad-package h3 {
  margin: 1.2rem 0 0.6rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}

.ad-package p {
  color: #64748b;
  margin-bottom: 1rem;
}

.ad-package ul {
  padding-left: 0;
  list-style: none;
  margin: 0;
  display: grid;
  gap: 0.55rem;
  color: #334155;
}

.ad-package li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.ad-package li i {
  color: #0ea5e9;
  margin-top: 0.15rem;
}

.ad-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.65fr);
  gap: 1.4rem;
  align-items: start;
  margin-top: 3rem;
}

.ad-process {
  padding: 2rem;
  border-radius: 28px;
  background: #0f172a;
  color: #fff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
}

.ad-process h2 {
  font-size: 2rem;
  font-weight: 650;
  margin-bottom: 1.2rem;
}

.ad-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ad-step strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
}

.ad-step h4 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.ad-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.ad-form-card {
  position: sticky;
  top: 120px;
  padding: 1.4rem;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
}

.ad-form-card h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: #0f172a;
}

.ad-form-card .form-control {
  min-height: 50px;
  border-radius: 14px;
  border-color: #dbe5f0;
  background: #f8fbff;
}

.ad-form-card .form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 0.24rem rgba(37, 99, 235, 0.14);
  background: #fff;
}

.ad-submit {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #2563eb, #0891b2);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.24);
}

@media (max-width: 991px) {

  .ad-stats,
  .ad-package-grid,
  .ad-shell {
    grid-template-columns: 1fr;
  }

  .ad-form-card {
    position: static;
  }
}

/* Source: .\resources\views\frontend\bare-acts\index.blade.php */
/* Source: .\resources\views\frontend\bare-acts\show.blade.php */

/* Shared page banners */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
  color: #fff;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 20%,
      rgba(255, 255, 255, 0.16),
      transparent 18rem),
    radial-gradient(circle at 86% 18%,
      rgba(56, 189, 248, 0.24),
      transparent 24rem);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  font-weight: 500;
  line-height: 0.98;
  margin-bottom: 1rem;
}

.page-hero p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
}

.page-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.page-hero-stat {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(10px);
}

.page-hero-stat strong {
  display: block;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
}

.page-hero-stat span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
}

/* Shared detail-page banners */
.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: end;
  color: #fff;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 22%,
      rgba(255, 255, 255, 0.16),
      transparent 18rem),
    radial-gradient(circle at 88% 16%,
      rgba(56, 189, 248, 0.22),
      transparent 24rem);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(180deg, transparent, #f8fbff);
}

.detail-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.detail-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  font-weight: 800;
  margin-bottom: 1rem;
}

.detail-hero h1 {
  max-width: 940px;
  font-size: clamp(2.35rem, 4.8vw, 5rem);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 1rem;
}

.detail-hero-summary {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
}

.detail-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.detail-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  backdrop-filter: blur(10px);
}

/* Source: .\resources\views\frontend\blogs\index.blade.php */
.blogs-hero {
  background:
    linear-gradient(135deg, rgba(8, 17, 35, 0.94), rgba(30, 64, 175, 0.76)),
    url("/storage/blogs/blog-placeholder.svg") center/cover no-repeat;
}

.blogs-hero::before {
  background:
    radial-gradient(circle at 14% 20%,
      rgba(255, 255, 255, 0.16),
      transparent 18rem),
    radial-gradient(circle at 86% 18%,
      rgba(56, 189, 248, 0.24),
      transparent 24rem);
}

.blogs-wrap {
  padding: 0 0 5rem;
  background:
    radial-gradient(circle at 8% 18%,
      rgba(37, 99, 235, 0.09),
      transparent 24rem),
    #f8fbff;
}

.blog-filter-card {
  position: relative;
  z-index: 2;
  margin-top: -2.5rem;
  padding: 1rem;
  border: 1px solid rgba(37, 99, 235, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(14px);
}

.filter-label {
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.blogs-section-head,
.courses-section-head,
.judgments-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin: 3rem 0 1.35rem;
}

.blogs-section-head h2,
.courses-section-head h2 {
  font-weight: 700;
  margin: 0;
}

.blogs-count,
.courses-count,
.judgments-count {
  color: #64748b;
  font-weight: 700;
}

.blog-card-premium {
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.blog-card-premium:hover {
  transform: translateY(-10px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 28px 72px rgba(37, 99, 235, 0.18);
}

.blog-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #2563eb);
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-card-premium:hover .blog-card-media img {
  transform: scale(1.06);
}

.blog-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(15, 23, 42, 0.04),
      rgba(15, 23, 42, 0.66));
}

.blog-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 4rem;
}

.blog-category-pill {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(37, 99, 235, 0.92);
  font-size: 0.8rem;
  font-weight: 800;
}

.blog-card-body {
  padding: 1.25rem;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-title {
  min-height: 3.5rem;
  font-size: 1.22rem;
  line-height: 1.26;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.blog-title a {
  color: #0f172a;
  text-decoration: none;
}

.blog-title a:hover {
  color: #1d4ed8;
}

.blog-excerpt {
  color: #64748b;
  min-height: 3.1rem;
  margin-bottom: 1.15rem;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}

.blog-tags span {
  padding: 0.32rem 0.52rem;
  border-radius: 999px;
  color: #1d4ed8;
  background: #dbeafe;
  font-size: 0.75rem;
  font-weight: 800;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: #fff;
  background: #111827;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.62rem 0.9rem;
  font-weight: 500;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
  font-size: 0.8rem;
}

.blog-link:hover {
  color: #fff;
  background: #2563eb;
  transform: translateX(2px);
}

.empty-blogs {
  padding: 4rem 1rem;
  border: 1px dashed #bfdbfe;
  border-radius: 18px;
  background: #fff;
  text-align: center;
  color: #64748b;
}

@media (max-width: 767.98px) {
  .blogs-hero {
    padding: 4rem 0 4.5rem;
  }

  .blogs-section-head {
    align-items: start;
    flex-direction: column;
  }
}

/* Source: .\resources\views\frontend\blogs\show.blade.php */
.article-hero {
  min-height: 600px;
  background:
    linear-gradient(135deg, rgba(8, 17, 35, 0.94), rgba(30, 64, 175, 0.72)),
    var(--article-hero-image, url("/storage/blogs/blog-placeholder.svg")) center/cover no-repeat;
}

.article-hero::before {
  background:
    radial-gradient(circle at 14% 22%,
      rgba(255, 255, 255, 0.16),
      transparent 18rem),
    radial-gradient(circle at 88% 16%,
      rgba(56, 189, 248, 0.22),
      transparent 24rem);
}

.article-wrap {
  padding: 0 0 5rem;
  background:
    radial-gradient(circle at 8% 16%,
      rgba(37, 99, 235, 0.08),
      transparent 24rem),
    #f8fbff;
}

.article-shell {
  position: relative;
  z-index: 2;
  margin-top: -2.5rem;
}

.article-panel {
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.article-panel-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid #eef2f7;
  background: linear-gradient(135deg, #fff, #f8fbff);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag-list span {
  padding: 0.38rem 0.6rem;
  border-radius: 999px;
  color: #1d4ed8;
  background: #dbeafe;
  font-size: 0.78rem;
  font-weight: 800;
}

.article-content {
  padding: 1.6rem;
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.9;
}

.article-content p {
  margin-bottom: 1.15rem;
}

.article-sidebar {
  position: sticky;
  top: 150px;
}

.sidebar-card {
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
  overflow: hidden;
  margin-bottom: 1rem;
}

.sidebar-card-header {
  padding: 1rem 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, #1d4ed8, #0891b2);
}

.sidebar-card-header h5 {
  margin: 0;
  font-weight: 700;
}

.sidebar-card-body {
  padding: 1rem;
}

.related-article {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #eef2f7;
}

.related-article:last-child {
  border-bottom: 0;
}

.related-thumb {
  width: 74px;
  height: 58px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #1d4ed8, #06b6d4);
}

.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-article a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.25;
}

.faq-panel {
  margin-top: 1.25rem;
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}

.faq-panel h3 {
  padding: 1.2rem 1.35rem;
  margin: 0;
  font-weight: 700;
  border-bottom: 1px solid #eef2f7;
}

.faq-panel .accordion-button {
  font-weight: 800;
}

@media (max-width: 991.98px) {
  .article-sidebar {
    position: static;
  }
}

/* Source: .\resources\views\frontend\contact.blade.php */
.contact-hero {
  background:
    linear-gradient(135deg, rgba(8, 17, 35, 0.94), rgba(30, 64, 175, 0.72)),
    url("/storage/home-banners/home-banner-1.svg") center/cover no-repeat;
}

.contact-hero::before {
  background:
    radial-gradient(circle at 14% 20%,
      rgba(255, 255, 255, 0.16),
      transparent 18rem),
    radial-gradient(circle at 86% 18%,
      rgba(56, 189, 248, 0.24),
      transparent 24rem);
}

.contact-hero h1 {
  max-width: 780px;
}

.contact-hero p {
  max-width: 680px;
}

.contact-wrap {
  padding: 0 0 5rem;
  background:
    radial-gradient(circle at 8% 18%,
      rgba(37, 99, 235, 0.09),
      transparent 24rem),
    #f8fbff;
}

.contact-info-grid {
  position: relative;
  z-index: 2;
  margin-top: -2.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid rgba(37, 99, 235, 0.13);
  border-radius: 18px;
  color: #0f172a;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.contact-info-card:hover {
  color: #0f172a;
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: 0 28px 70px rgba(37, 99, 235, 0.15);
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  font-size: 1.35rem;
}

.contact-info-card small {
  display: block;
  color: #64748b;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.contact-info-card strong {
  display: block;
  overflow-wrap: anywhere;
}

.contact-shell {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 1.25rem;
  align-items: start;
}

.contact-panel {
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

.contact-panel-head {
  padding: 1.3rem 1.45rem;
  border-bottom: 1px solid #eef2f7;
  background: linear-gradient(135deg, #fff, #f8fbff);
}

.contact-panel-head h2,
.contact-panel-head h3 {
  margin: 0;
  font-weight: 700;
}

.contact-panel-head p {
  margin: 0.25rem 0 0;
  color: #64748b;
}

.contact-form-body {
  padding: 1.45rem;
}

.contact-form-body .form-control {
  border-radius: 12px;
  padding: 0.76rem 0.9rem;
}

.contact-form-body textarea {
  min-height: 150px;
}

.map-card {
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

.map-frame {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

.map-details {
  padding: 1.2rem;
}

.quick-help {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.quick-help a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: 14px;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  text-decoration: none;
  font-weight: 800;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}

.quick-help a:hover {
  background: #eff6ff;
  transform: translateX(3px);
}

.quick-help i {
  color: #2563eb;
}

@media (max-width: 991.98px) {

  .contact-info-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }
}

/* Source: .\resources\views\frontend\courses\index.blade.php */
.courses-hero {
  background:
    linear-gradient(135deg, rgba(8, 17, 35, 0.92), rgba(30, 64, 175, 0.78)),
    url("/storage/home-banners/home-banner-1.svg") center/cover no-repeat;
}

.courses-hero::before {
  background-image:
    radial-gradient(circle at 18% 15%,
      rgba(255, 255, 255, 0.18),
      transparent 18rem),
    radial-gradient(circle at 86% 24%,
      rgba(56, 189, 248, 0.28),
      transparent 22rem);
}

.courses-hero h1 {
  max-width: 780px;
}

.courses-hero p {
  max-width: 660px;
}

.courses-wrap {
  position: relative;
  padding: 5rem 0 5rem;
  background:
    radial-gradient(circle at 8% 18%,
      rgba(37, 99, 235, 0.09),
      transparent 24rem),
    #f8fbff;
}

.course-filter-card {
  position: relative;
  z-index: 2;
  margin-top: -2.5rem;
  padding: 1rem;
  border: 1px solid rgba(37, 99, 235, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(14px);
}

.premium-course-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.premium-course-card:hover {
  transform: translateY(-10px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 28px 72px rgba(37, 99, 235, 0.18);
}

.course-card-media {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: linear-gradient(135deg, #1d4ed8, #06b6d4);
}

.course-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.premium-course-card:hover .course-card-media img {
  transform: scale(1.06);
}

.course-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(15, 23, 42, 0.02),
      rgba(15, 23, 42, 0.68));
}

.course-card-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 4rem;
}

.course-badges {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.course-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(37, 99, 235, 0.92);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24);
  font-size: 0.8rem;
  font-weight: 800;
}

.course-pill.featured {
  color: #111827;
  background: #facc15;
}

.premium-course-body {
  padding: 1.25rem;
}

.premium-course-title {
  min-height: 3.4rem;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.55rem;
}

.premium-course-title a {
  color: #0f172a;
  text-decoration: none;
}

.premium-course-title a:hover {
  color: #1d4ed8;
}

.course-institute {
  color: #475569;
  margin-bottom: 1rem;
}

.course-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 1.15rem;
}

.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid #eef2f7;
}

.course-price {
  color: #0f172a;
  font-weight: 700;
  line-height: 1.05;
}

.course-price small {
  display: block;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 700;
}

.course-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  border-radius: 999px;
  padding: 0.62rem 0.9rem;
  color: #fff;
  background: #111827;
  text-decoration: none;
  font-weight: 500;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
  font-size: 0.8rem;
}

.course-cta:hover {
  color: #fff;
  background: #2563eb;
  transform: translateX(2px);
}

.empty-courses {
  padding: 4rem 1rem;
  border: 1px dashed #bfdbfe;
  border-radius: 18px;
  background: #fff;
  text-align: center;
  color: #64748b;
}

@media (max-width: 767.98px) {
  .courses-hero {
    padding: 4rem 0 4.5rem;
  }

  .courses-section-head {
    align-items: start;
    flex-direction: column;
  }
}

/* Source: .\resources\views\frontend\courses\show.blade.php */
.course-detail-hero {
  background:
    linear-gradient(135deg, rgba(8, 17, 35, 0.94), rgba(30, 64, 175, 0.72)),
    var(--course-hero-image, url("/storage/home-banners/home-banner-2.svg")) center/cover no-repeat;
}

.course-detail-hero::before {
  background:
    radial-gradient(circle at 14% 20%,
      rgba(255, 255, 255, 0.16),
      transparent 18rem),
    radial-gradient(circle at 88% 16%,
      rgba(56, 189, 248, 0.22),
      transparent 24rem);
}

.course-detail-hero::after {
  height: 38%;
}

.course-detail-hero h1 {
  max-width: 920px;
}

.course-hero-subtitle {
  max-width: 740px;
  margin-bottom: 1.5rem;
}

.course-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.course-detail-wrap {
  padding: 0 0 5rem;
  background:
    radial-gradient(circle at 8% 16%,
      rgba(37, 99, 235, 0.08),
      transparent 24rem),
    #f8fbff;
}

.course-summary-grid {
  position: relative;
  z-index: 2;
  margin-top: -2.4rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.summary-card {
  padding: 1rem;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.summary-card i {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  margin-bottom: 0.65rem;
}

.summary-card small {
  display: block;
  color: #64748b;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.summary-card strong {
  color: #0f172a;
  font-size: 1.05rem;
}

.detail-panel {
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}

.detail-panel-header {
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid #eef2f7;
  background: linear-gradient(135deg, #fff, #f8fbff);
}

.detail-panel-header h2 {
  margin: 0;
  font-weight: 700;
}

.detail-copy {
  padding: 1.35rem;
  color: #334155;
  font-size: 1.03rem;
  line-height: 1.85;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 0 1.35rem 1.35rem;
}

.benefit-item {
  display: flex;
  align-items: start;
  gap: 0.65rem;
  padding: 0.85rem;
  border-radius: 14px;
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
}

.benefit-item i {
  color: #2563eb;
}

.enquiry-card {
  position: sticky;
  top: 150px;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.enquiry-card-top {
  padding: 1.35rem;
  color: #fff;
  background:
    radial-gradient(circle at 85% 12%,
      rgba(255, 255, 255, 0.24),
      transparent 8rem),
    linear-gradient(135deg, #1d4ed8, #0891b2);
}

.enquiry-card-top h5 {
  margin: 0;
  font-weight: 700;
}

.enquiry-card-body {
  padding: 1.25rem;
}

.enquiry-card .form-control {
  border-radius: 12px;
  padding: 0.72rem 0.85rem;
}

.apply-box {
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.related-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.related-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: 0 22px 55px rgba(37, 99, 235, 0.14);
}

.related-media {
  position: relative;
  height: 145px;
  overflow: hidden;
  background: linear-gradient(135deg, #1d4ed8, #06b6d4);
}

.related-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-card:hover .related-media img {
  transform: scale(1.06);
}

.related-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.62));
}

.related-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 3rem;
}

.related-badge {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 1;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(37, 99, 235, 0.92);
  font-size: 0.76rem;
  font-weight: 800;
}

.related-body {
  padding: 1rem;
}

.related-card a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
}

.related-title {
  min-height: 2.8rem;
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.related-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.75rem 0 1rem;
}

.related-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.38rem 0.55rem;
  border-radius: 999px;
  color: #334155;
  background: #f1f5f9;
  font-size: 0.78rem;
  font-weight: 700;
}

.related-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid #eef2f7;
}

.related-price {
  color: #0f172a;
  font-weight: 700;
}

.related-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff !important;
  background: #111827;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}

.related-card:hover .related-link {
  background: #2563eb;
  transform: translateX(2px);
}

@media (max-width: 991.98px) {
  .course-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .enquiry-card {
    position: static;
  }
}

@media (max-width: 575.98px) {

  .course-summary-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .course-detail-hero {
    min-height: 520px;
  }
}

/* Source: .\resources\views\frontend\drafting\index.blade.php */
.draft-store-page {
  background:
    radial-gradient(circle at 12% 10%,
      rgba(14, 165, 233, 0.13),
      transparent 28rem),
    linear-gradient(180deg, #f8fbff 0%, #fff 45%, #f8fafc 100%);
}

.draft-store-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 72px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(8, 145, 178, 0.9)),
    url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.draft-store-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.24;
}

.draft-store-hero .container {
  position: relative;
  z-index: 1;
}

.draft-store-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #cffafe;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 850;
  backdrop-filter: blur(12px);
}

.draft-store-hero h1 {
  max-width: 850px;
  margin: 1rem 0 0.8rem;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 1;
  font-weight: 650;
  letter-spacing: -1px;
}

.draft-store-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
}

.draft-filter-wrap {
  position: relative;
  z-index: 2;
  margin-top: -34px;
}

.draft-filter {
  padding: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(18px);
}

.draft-filter .form-control,
.draft-filter .form-select {
  min-height: 52px;
  border-radius: 16px;
  border-color: #dbe5ef;
  background: #fbfdff;
}

.draft-filter .form-control:focus,
.draft-filter .form-select:focus {
  border-color: #0891b2;
  box-shadow: 0 0 0 0.24rem rgba(8, 145, 178, 0.14);
}

.draft-filter button,
.draft-filter .reset-link {
  min-height: 52px;
  border-radius: 16px;
  font-weight: 850;
}

.draft-filter button {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #0891b2, #2563eb);
  box-shadow: 0 16px 36px rgba(8, 145, 178, 0.22);
}

.draft-store-body {
  padding: 62px 0 78px;
}

.draft-store-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
}

.draft-category-panel {
  position: sticky;
  top: 112px;
  padding: 1rem;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 8%, rgba(34, 211, 238, 0.2), transparent 34%),
    #0f172a;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
}

.draft-category-panel h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 850;
}

.draft-category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.78rem 0.85rem;
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.draft-category-link:hover,
.draft-category-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(3px);
}

.draft-template-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.draft-template-card {
  position: relative;
  display: flex;
  min-height: 285px;
  flex-direction: column;
  padding: 1.25rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 26px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.065);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.draft-template-card:hover {
  transform: translateY(-8px);
  color: inherit;
  border-color: rgba(8, 145, 178, 0.32);
  box-shadow: 0 30px 85px rgba(8, 145, 178, 0.14);
}

.draft-card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.draft-card-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.42rem 0.65rem;
  border-radius: 999px;
  color: #075985;
  background: #e0f2fe;
  font-size: 0.78rem;
  font-weight: 850;
}

.draft-card-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #0891b2);
  box-shadow: 0 14px 30px rgba(8, 145, 178, 0.22);
}

.draft-template-card h2 {
  margin: 0 0 0.75rem;
  color: #0f172a;
  font-size: 1.28rem;
  line-height: 1.28;
  font-weight: 850;
}

.draft-template-card p {
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.draft-price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.sale-price {
  color: #15803d;
  font-weight: 900;
  font-size: 1.08rem;
}

.discount-price {
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 750;
}

.free-price {
  color: #0891b2;
  font-weight: 900;
  font-size: 1.08rem;
}

.draft-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid #eef2f7;
  color: #0891b2;
  font-weight: 850;
}

.draft-empty {
  grid-column: 1 / -1;
  padding: 3rem;
  border: 1px dashed #bae6fd;
  border-radius: 26px;
  text-align: center;
  color: #64748b;
  background: #f0f9ff;
}

.draft-pagination {
  display: flex;
  justify-content: center;
  margin-top: 2.2rem;
}

.draft-pagination .pagination {
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin: 0;
}

.draft-pagination .page-link {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #bae6fd;
  border-radius: 14px;
  color: #0f172a;
  background: #fff;
  font-weight: 850;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.draft-pagination .page-item.active .page-link,
.draft-pagination .page-link:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #0891b2, #2563eb);
}

.draft-pagination .page-item.disabled .page-link {
  color: #94a3b8;
  background: #f8fafc;
  border-color: #e2e8f0;
  box-shadow: none;
}

@media (max-width: 991px) {

  .draft-store-layout,
  .draft-template-grid {
    grid-template-columns: 1fr;
  }

  .draft-category-panel {
    position: static;
  }
}

/* Source: .\resources\views\frontend\drafting\show.blade.php */
.draft-detail-page {
  background:
    radial-gradient(circle at 90% 8%,
      rgba(14, 165, 233, 0.12),
      transparent 27rem),
    linear-gradient(180deg, #f8fbff 0%, #fff 42%, #f8fafc 100%);
}

.draft-detail-hero {
  padding: 76px 0 58px;
  background: linear-gradient(135deg, #0f172a, #164e63);
  color: #fff;
}

.draft-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1.4rem;
  align-items: start;
  padding: 0 0 78px;
}

.draft-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: #cffafe;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 850;
}

.draft-detail-hero h1 {
  max-width: 900px;
  margin: 1rem 0 0.8rem;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1;
  font-weight: 650;
  letter-spacing: -1px;
}

.draft-detail-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.draft-detail-wrap {
  margin-top: -34px;
  position: relative;
  z-index: 2;
}

.document-preview {
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
}

.document-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.toolbar-dots {
  display: flex;
  gap: 0.4rem;
}

.toolbar-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #cbd5e1;
}

.toolbar-dots span:nth-child(1) {
  background: #ef4444;
}

.toolbar-dots span:nth-child(2) {
  background: #f59e0b;
}

.toolbar-dots span:nth-child(3) {
  background: #22c55e;
}

.document-meta {
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 750;
}

.document-paper {
  padding: clamp(1.25rem, 3vw, 2.4rem);
  color: #334155;
  line-height: 1.9;
  white-space: pre-line;
  min-height: 520px;
  background:
    linear-gradient(90deg, rgba(14, 165, 233, 0.08) 0 5px, transparent 5px),
    #fff;
}

.document-paper h2 {
  color: #0f172a;
  font-weight: 850;
  margin-bottom: 1rem;
}

.purchase-panel {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 1rem;
}

.purchase-card {
  padding: 1.25rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.1);
}

.price-box {
  padding: 1rem;
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 10%,
      rgba(34, 211, 238, 0.24),
      transparent 34%),
    #0f172a;
  color: #fff;
  margin-bottom: 1rem;
}

.price-box span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-line-detail {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.45rem;
}

.sale-price-detail {
  color: #22c55e;
  font-size: 1.75rem;
  font-weight: 950;
  line-height: 1;
}

.discount-price-detail {
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 800;
}

.free-price-detail {
  color: #67e8f9;
  font-size: 1.75rem;
  font-weight: 950;
}

.purchase-card .form-control {
  min-height: 48px;
  border-radius: 14px;
  border-color: #dbe5ef;
}

.purchase-card .form-control:focus {
  border-color: #0891b2;
  box-shadow: 0 0 0 0.24rem rgba(8, 145, 178, 0.14);
}

.purchase-btn {
  min-height: 50px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #0891b2, #2563eb);
  font-weight: 900;
  width: 100%;
  box-shadow: 0 16px 36px rgba(8, 145, 178, 0.22);
}

.trust-list {
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  color: #64748b;
  font-size: 0.9rem;
}

.trust-list li {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.trust-list i {
  color: #0891b2;
}

.side-link {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  color: #0f172a;
  text-decoration: none;
  background: #fff;
  font-weight: 850;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.side-link:hover {
  transform: translateY(-2px);
  color: #0f172a;
  border-color: #67e8f9;
  box-shadow: 0 14px 34px rgba(8, 145, 178, 0.12);
}

@media (max-width: 991px) {
  .draft-detail-layout {
    grid-template-columns: 1fr;
  }

  .purchase-panel {
    position: static;
  }
}

/* Source: .\resources\views\frontend\home.blade.php */
.home-hero-carousel,
.home-hero-slide {
  min-height: 560px;
}

.home-hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #111827;
}

.home-hero-slide picture,
.home-hero-slide img,
.home-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero-slide img {
  object-fit: cover;
}

.home-hero-overlay {
  z-index: 1;
  background: #000;
}

.home-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 6rem 0;
}

.hero-copy {
  max-width: 720px;
}

.hero-copy.center {
  margin-inline: auto;
  text-align: center;
}

.hero-copy.right {
  margin-left: auto;
  text-align: right;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  font-weight: 700;
  font-size: 0.9rem;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 0.98;
  margin-bottom: 1rem;
}

.hero-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-copy.center p {
  margin-inline: auto;
}

.hero-copy.right p {
  margin-left: auto;
}

.hero-copy.center .hero-actions {
  justify-content: center;
}

.hero-copy.right .hero-actions {
  justify-content: flex-end;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.featured-courses-section {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0;
  background:
    radial-gradient(circle at 8% 15%,
      rgba(37, 99, 235, 0.12),
      transparent 22rem),
    radial-gradient(circle at 92% 18%,
      rgba(6, 182, 212, 0.16),
      transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.featured-courses-section::before {
  content: "";
  position: absolute;
  inset: auto -8rem -14rem auto;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
  filter: blur(4px);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  color: #1d4ed8;
  background: #dbeafe;
  font-weight: 800;
  font-size: 0.84rem;
  margin-bottom: 0.85rem;
}

.section-heading {
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 0.65rem;
}

.section-subtitle {
  max-width: 670px;
  color: #64748b;
  font-size: 1.05rem;
  margin-bottom: 0;
}

.featured-course-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.featured-course-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
      transparent 25%,
      rgba(255, 255, 255, 0.42) 45%,
      transparent 62%);
  transform: translateX(-120%);
  transition: transform 0.65s ease;
  pointer-events: none;
}

.featured-course-card:hover {
  transform: translateY(-10px);
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: 0 28px 70px rgba(37, 99, 235, 0.18);
}

.featured-course-card:hover::after {
  transform: translateX(120%);
}

.course-media {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: linear-gradient(135deg, #1d4ed8, #06b6d4);
}

.course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.course-media-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 4rem;
}

.featured-course-card:hover .course-media img {
  transform: scale(1.06);
}

.course-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(15, 23, 42, 0.05),
      rgba(15, 23, 42, 0.62));
}

.course-category-pill {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.46rem 0.7rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(37, 99, 235, 0.92);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24);
  font-weight: 800;
  font-size: 0.82rem;
}

.featured-course-body {
  padding: 1.25rem;
}

.featured-course-title {
  min-height: 3.45rem;
  font-size: 1.23rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.featured-course-title a {
  color: #0f172a;
  text-decoration: none;
}

.featured-course-title a:hover {
  color: #1d4ed8;
}

.course-institute {
  color: #475569;
  margin-bottom: 0.95rem;
}

.course-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 1.15rem;
}

.course-meta-chip {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  min-width: 0;
  padding: 0.58rem 0.65rem;
  border-radius: 12px;
  color: #334155;
  background: #f1f5f9;
  font-size: 0.86rem;
  font-weight: 500;
}

.course-meta-chip i {
  color: #2563eb;
}

.course-cta i {
  transition: transform 0.18s ease;
}

.course-cta:hover i {
  transform: translateX(3px);
}

.latest-articles-section {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0;
  background:
    radial-gradient(circle at 12% 12%,
      rgba(14, 165, 233, 0.14),
      transparent 24rem),
    radial-gradient(circle at 90% 22%,
      rgba(37, 99, 235, 0.12),
      transparent 24rem),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.latest-articles-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent);
  pointer-events: none;
}

.article-card-premium {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.article-card-premium:hover {
  transform: translateY(-10px);
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: 0 28px 70px rgba(37, 99, 235, 0.16);
}

.article-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #2563eb);
}

.article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.article-card-premium:hover .article-media img {
  transform: scale(1.06);
}

.article-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(15, 23, 42, 0.04),
      rgba(15, 23, 42, 0.66));
}

.article-media-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 4rem;
}

.article-category-pill {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(37, 99, 235, 0.92);
  font-size: 0.8rem;
  font-weight: 800;
}

.article-card-body {
  padding: 1.25rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.article-title {
  min-height: 3.5rem;
  font-size: 1.22rem;
  line-height: 1.26;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.article-title a {
  color: #0f172a;
  text-decoration: none;
}

.article-title a:hover {
  color: #1d4ed8;
}

.article-excerpt {
  color: #64748b;
  min-height: 3.1rem;
  margin-bottom: 1.15rem;
}

.article-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: #fff;
  background: #111827;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.62rem 0.9rem;
  font-weight: 500;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
  font-size: 0.8rem;
}

.article-link:hover {
  color: #fff;
  background: #2563eb;
  transform: translateX(2px);
}

.latest-judgments-section {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0;
  background:
    radial-gradient(circle at 8% 20%,
      rgba(245, 158, 11, 0.14),
      transparent 22rem),
    radial-gradient(circle at 92% 12%,
      rgba(37, 99, 235, 0.12),
      transparent 24rem),
    #ffffff;
}

.judgment-card-premium {
  height: 100%;
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fffaf0);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.judgment-card-premium:hover {
  transform: translateY(-10px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 28px 70px rgba(245, 158, 11, 0.18);
}

.judgment-card-top {
  padding: 1.1rem 1.2rem;
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%,
      rgba(255, 255, 255, 0.24),
      transparent 7rem),
    linear-gradient(135deg, #0f172a, #1d4ed8);
}

.judgment-court-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.66rem;
  border-radius: 999px;
  color: #111827;
  background: #facc15;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.judgment-card-title {
  min-height: 4rem;
  font-size: 1.18rem;
  line-height: 1.28;
  font-weight: 700;
  margin: 0;
}

.judgment-card-title a {
  color: #fff;
  text-decoration: none;
}

.judgment-card-body {
  padding: 1.15rem;
}

.judgment-meta-list {
  display: grid;
  gap: 0.55rem;
  color: #475569;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.judgment-meta-list span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.judgment-meta-list i {
  color: #d97706;
}

.judgment-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  border-radius: 999px;
  padding: 0.62rem 0.9rem;
  color: #fff;
  background: #111827;
  text-decoration: none;
  font-weight: 500;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
  font-size: 0.8rem;
}

.judgment-link:hover {
  color: #fff;
  background: #d97706;
  transform: translateX(2px);
}

.home-hero-carousel .carousel-control-prev,
.home-hero-carousel .carousel-control-next {
  z-index: 5;
  width: 4.5rem;
  opacity: 1;
}

.home-hero-carousel .carousel-control-prev-icon,
.home-hero-carousel .carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-size: 1.15rem;
  background-color: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
  transition:
    background-color 0.18s ease,
    transform 0.18s ease,
    border-color 0.18s ease;
}

.home-hero-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.home-hero-carousel .carousel-control-next:hover .carousel-control-next-icon {
  background-color: rgba(255, 255, 255, 0.32);
  border-color: rgba(255, 255, 255, 0.62);
  transform: scale(1.06);
}

.home-hero-carousel .carousel-indicators {
  z-index: 5;
}

.career-opportunities-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  background:
    radial-gradient(circle at 12% 12%,
      rgba(20, 184, 166, 0.12),
      transparent 24rem),
    radial-gradient(circle at 92% 8%,
      rgba(79, 70, 229, 0.13),
      transparent 24rem),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.career-opportunities-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg,
      transparent,
      #000 18%,
      #000 82%,
      transparent);
}

.career-board {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.career-column {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.career-column-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  border-bottom: 1px solid #eef2f7;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
}

.career-column-title {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.career-column-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.22);
}

.career-column.internship .career-column-icon {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.career-column.job .career-column-icon {
  background: linear-gradient(135deg, #4338ca, #2563eb);
}

.career-column h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.3rem;
  font-weight: 800;
}

.career-column-title span {
  color: #64748b;
  font-size: 0.9rem;
}

.career-view-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.62rem 0.9rem;
  border-radius: 999px;
  color: #0f172a;
  background: #f1f5f9;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.career-view-link:hover {
  transform: translateY(-2px);
  color: #fff;
  background: #0f172a;
}

.career-list {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
}

.career-card {
  position: relative;
  display: block;
  padding: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  color: inherit;
  background: #fff;
  text-decoration: none;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.career-card:hover {
  transform: translateY(-5px);
  color: inherit;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.11);
}

.career-column.internship .career-card:hover {
  border-color: rgba(20, 184, 166, 0.34);
}

.career-column.job .career-card:hover {
  border-color: rgba(37, 99, 235, 0.34);
}

.career-card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.career-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.62rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 500;
  white-space: nowrap;
}

.career-column.internship .career-pill {
  color: #0f766e;
  background: #ccfbf1;
}

.career-column.job .career-pill {
  color: #1d4ed8;
  background: #dbeafe;
}

.career-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #0f172a;
  background: #f8fafc;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    color 0.22s ease;
}

.career-card:hover .career-arrow {
  transform: translate(3px, -3px);
  color: #fff;
  background: #0f172a;
}

.career-card h4 {
  margin: 0 0 0.45rem;
  color: #0f172a;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 800;
}

.career-org {
  display: block;
  margin-bottom: 0.75rem;
  color: #475569;
  font-size: 0.92rem;
  font-weight: 600;
}

.career-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: #64748b;
  font-size: 0.82rem;
}

.career-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.35rem 0.52rem;
  border-radius: 999px;
  background: #f8fafc;
}

.career-empty {
  padding: 2rem;
  border: 1px dashed #cbd5e1;
  border-radius: 20px;
  text-align: center;
  color: #64748b;
  background: #f8fafc;
}

.drafting-showcase-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
  background:
    radial-gradient(circle at 12% 18%,
      rgba(14, 165, 233, 0.12),
      transparent 23rem),
    radial-gradient(circle at 88% 10%,
      rgba(15, 23, 42, 0.08),
      transparent 26rem),
    #ffffff;
}

.drafting-showcase-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg,
      transparent,
      #000 20%,
      #000 82%,
      transparent);
}

.drafting-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.drafting-card-pro {
  position: relative;
  display: flex;
  min-height: 405px;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 26px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  isolation: isolate;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.drafting-card-pro::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 128px;
  z-index: -1;
  background:
    radial-gradient(circle at 86% 18%,
      rgba(255, 255, 255, 0.2),
      transparent 18%),
    linear-gradient(135deg, #0f172a 0%, #0e7490 58%, #2563eb 100%);
  background-size:
    auto,
    22px 22px,
    auto;
  opacity: 1;
  pointer-events: none;
  transition:
    height 0.28s ease,
    filter 0.28s ease;
}

.drafting-card-pro::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  top: 96px;
  height: 64px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: #fff;
  pointer-events: none;
  transition: transform 0.28s ease;
}

.drafting-card-pro:hover {
  transform: translateY(-10px);
  color: inherit;
  border-color: rgba(8, 145, 178, 0.34);
  box-shadow: 0 34px 95px rgba(8, 145, 178, 0.2);
}

.drafting-card-pro:hover::before {
  height: 136px;
  filter: saturate(1.08);
}

.drafting-card-pro:hover::after {
  transform: translateY(-3px);
}

.drafting-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1.05rem 1.05rem 0;
  margin-bottom: 1.85rem;
  position: relative;
  z-index: 2;
}

.drafting-product-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  min-width: 0;
}

.drafting-product-meta strong {
  display: block;
  color: #fff;
  font-size: 0.96rem;
  line-height: 1.2;
  font-weight: 850;
}

.drafting-product-meta span {
  display: block;
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 650;
}

.drafting-doc-icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 18px 38px rgba(15, 23, 42, 0.2);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease;
  font-size: 1.35rem;
  backdrop-filter: blur(10px);
}

.drafting-card-pro:hover .drafting-doc-icon {
  transform: rotate(-4deg) scale(1.05);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.3);
}

.draft-file-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.74rem;
  border-radius: 15px;
  color: #ef4444;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
  white-space: nowrap;
}

.drafting-card-pro h3 {
  position: relative;
  z-index: 2;
  margin: 0.2rem 1.1rem 0.9rem;
  color: #0f172a;
  font-size: 1.28rem;
  line-height: 1.28;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.drafting-price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(34, 197, 94, 0.18);
  border-radius: 20px;
  background: linear-gradient(135deg,
      rgba(240, 253, 244, 0.98),
      rgba(248, 250, 252, 0.94));
  margin: 0 1.1rem 1rem;
}

.draft-sale-price {
  color: #15803d;
  font-weight: 900;
  font-size: 1.35rem;
  line-height: 1;
}

.draft-discount-price {
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 750;
  font-size: 0.95rem;
}

.draft-free-price {
  color: #0891b2;
  font-weight: 900;
  font-size: 1.35rem;
  line-height: 1;
}

.draft-card-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0 1.1rem 1rem;
  padding: 0;
  list-style: none;
}

.draft-card-features li {
  text-align: center;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.15;
}

.draft-card-features i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0 auto 0.45rem;
  border-radius: 50%;
  color: #0891b2;
  background: #e0f2fe;
  font-size: 1.1rem;
}

.drafting-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
  padding: 0.95rem 1.1rem;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  color: #0e7490;
  background: linear-gradient(135deg, #f8fafc, #ecfeff);
  font-weight: 850;
}

.drafting-card-footer i {
  font-size: 1.2rem;
  transition: transform 0.24s ease;
}

.drafting-card-pro:hover .drafting-card-footer i {
  transform: translate(3px, -3px);
}

.drafting-card-pro {
  min-height: 290px;
  padding: 1.15rem 1.15rem 1rem 1.45rem;
  border-radius: 22px;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
}

.drafting-card-pro::before {
  inset: auto;
  right: -44px;
  top: -44px;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: rgba(14, 116, 144, 0.1);
  transition:
    transform 0.28s ease,
    background 0.28s ease;
}

.drafting-card-pro::after {
  left: auto;
  right: 1.2rem;
  top: auto;
  bottom: 1.1rem;
  width: 76px;
  height: 96px;
  border-radius: 12px;
  border: 1px solid rgba(14, 116, 144, 0.16);
  background:
    linear-gradient(#e2e8f0 0 0) 16px 22px/42px 3px no-repeat,
    linear-gradient(#e2e8f0 0 0) 16px 34px/34px 3px no-repeat,
    linear-gradient(#e2e8f0 0 0) 16px 46px/45px 3px no-repeat,
    rgba(255, 255, 255, 0.72);
  opacity: 0.58;
  transform: rotate(3deg);
}

.drafting-card-pro:hover {
  transform: translateY(-7px);
  border-color: rgba(14, 116, 144, 0.28);
  box-shadow: 0 28px 85px rgba(14, 116, 144, 0.16);
}

.drafting-card-pro:hover::before {
  height: 138px;
  transform: scale(1.14);
  background: rgba(14, 116, 144, 0.16);
}

.drafting-card-pro:hover::after {
  transform: rotate(0deg) translateY(-4px);
  opacity: 0.76;
}

.drafting-card-top {
  padding: 0;
  margin-bottom: 1rem;
}

.drafting-product-head,
.drafting-product-meta strong {
  color: #0f172a;
}

.drafting-product-meta strong {
  font-weight: 600;
}

.drafting-product-meta span {
  color: #64748b;
  font-weight: 400;
}

.drafting-doc-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #0e7490);
  border: 0;
  box-shadow: 0 14px 30px rgba(14, 116, 144, 0.22);
  font-size: 1.25rem;
  backdrop-filter: none;
}

.draft-file-pill {
  padding: 0.48rem 0.64rem;
  border-radius: 999px;
  color: #0e7490;
  background: #ecfeff;
  border: 1px solid #bae6fd;
  box-shadow: none;
  font-weight: 600;
}

.drafting-card-pro h3 {
  margin: 0 0 0.85rem;
  font-size: 1.22rem;
  line-height: 1.28;
  font-weight: 650;
  letter-spacing: 0;
}

.drafting-price-line {
  gap: 0.65rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  margin: 0 0 1rem;
}

.draft-sale-price,
.draft-free-price {
  font-size: 1.18rem;
  font-weight: 700;
}

.draft-discount-price {
  font-weight: 500;
}

.draft-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.1rem;
}

.draft-card-features li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.55rem;
  border-radius: 999px;
  background: #f1f5f9;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 500;
}

.draft-card-features i {
  display: inline;
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.9rem;
}

.drafting-card-footer {
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(14, 116, 144, 0.14);
  border-radius: 16px;
  background: #ecfeff;
  font-weight: 600;
}

@media (max-width: 767.98px) {

  .home-hero-carousel,
  .home-hero-slide {
    min-height: 620px;
  }

  .home-hero-content {
    padding: 4.5rem 0;
  }

  .hero-copy,
  .hero-copy.right {
    text-align: left;
    margin: 0;
  }

  .hero-copy.center {
    text-align: center;
  }

  .hero-copy.right .hero-actions {
    justify-content: flex-start;
  }

  .hero-copy.center .hero-actions {
    justify-content: center;
  }

  .career-board {
    grid-template-columns: 1fr;
  }

  .career-column-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .drafting-grid {
    grid-template-columns: 1fr;
  }
}

/* Source: .\resources\views\frontend\internships\index.blade.php */
.internship-page {
  background:
    radial-gradient(circle at 10% 10%,
      rgba(20, 184, 166, 0.16),
      transparent 28rem),
    linear-gradient(180deg, #f7fffd 0%, #ffffff 44%, #f8fbff 100%);
}

.internship-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 70px;
  background:
    linear-gradient(135deg,
      rgba(240, 253, 250, 0.96),
      rgba(236, 253, 245, 0.9)),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.internship-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.14);
}

.internship-hero .container {
  position: relative;
  z-index: 1;
}

.internship-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: #0f766e;
  background: #ccfbf1;
  font-weight: 850;
}

.internship-hero h1 {
  max-width: 820px;
  margin: 1rem 0 0.8rem;
  color: #0f172a;
  font-size: clamp(2.3rem, 5vw, 4.7rem);
  line-height: 1;
  font-weight: 650;
  letter-spacing: -1px;
}

.internship-hero p {
  max-width: 680px;
  color: #475569;
  font-size: 1.08rem;
}

.internship-filter-wrap {
  position: relative;
  z-index: 2;
  margin-top: -34px;
}

.internship-filter {
  padding: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(18px);
}

.internship-filter .form-control,
.internship-filter .form-select {
  min-height: 52px;
  border-radius: 16px;
  border-color: #dbe5ef;
  background: #fbfdff;
}

.internship-filter .form-control:focus,
.internship-filter .form-select:focus {
  border-color: #0f766e;
  box-shadow: 0 0 0 0.24rem rgba(15, 118, 110, 0.14);
}

.internship-filter button,
.internship-filter .reset-link {
  min-height: 52px;
  border-radius: 16px;
  font-weight: 850;
}

.internship-filter button {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  box-shadow: 0 16px 36px rgba(20, 184, 166, 0.2);
}

.internship-body {
  padding: 62px 0 76px;
}

.internship-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.internship-card {
  position: relative;
  display: flex;
  min-height: 285px;
  flex-direction: column;
  padding: 1.2rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 26px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.internship-card:hover {
  transform: translateY(-8px);
  color: inherit;
  border-color: rgba(20, 184, 166, 0.35);
  box-shadow: 0 30px 80px rgba(20, 184, 166, 0.15);
}

.internship-card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.45rem 0.68rem;
  border-radius: 999px;
  color: #0f766e;
  background: #ccfbf1;
  font-size: 0.78rem;
  font-weight: 850;
}

.internship-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  box-shadow: 0 14px 30px rgba(20, 184, 166, 0.24);
}

.internship-card h2 {
  margin: 0 0 0.6rem;
  color: #0f172a;
  font-size: 1.25rem;
  line-height: 1.28;
  font-weight: 800;
}

.internship-org {
  color: #475569;
  font-weight: 650;
  margin-bottom: 0.9rem;
}

.internship-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.internship-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.58rem;
  border-radius: 999px;
  color: #64748b;
  background: #f8fafc;
  font-size: 0.8rem;
  font-weight: 750;
}

.internship-eligibility {
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.internship-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid #eef2f7;
  color: #0f766e;
  font-weight: 850;
}

.internship-card-footer i {
  transition: transform 0.22s ease;
}

.internship-card:hover .internship-card-footer i {
  transform: translate(3px, -3px);
}

.listing-empty {
  grid-column: 1 / -1;
  padding: 3rem;
  border: 1px dashed #99f6e4;
  border-radius: 26px;
  text-align: center;
  color: #64748b;
  background: #f0fdfa;
}

.premium-pagination {
  display: flex;
  justify-content: center;
  margin-top: 2.2rem;
}

.premium-pagination .pagination {
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin: 0;
}

.premium-pagination .page-link {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #ccfbf1;
  border-radius: 14px;
  color: #0f172a;
  background: #fff;
  font-weight: 850;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.premium-pagination .page-item.active .page-link,
.premium-pagination .page-link:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.premium-pagination .page-item.disabled .page-link {
  color: #94a3b8;
  background: #f8fafc;
  border-color: #e2e8f0;
  box-shadow: none;
}

@media (max-width: 991px) {
  .internship-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .internship-grid {
    grid-template-columns: 1fr;
  }
}

/* Source: .\resources\views\frontend\internships\show.blade.php */
.intern-detail {
  background:
    radial-gradient(circle at 10% 10%,
      rgba(20, 184, 166, 0.14),
      transparent 28rem),
    linear-gradient(180deg, #f7fffd 0%, #fff 44%, #f8fbff 100%);
}

.intern-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 66px;
  background:
    linear-gradient(135deg,
      rgba(240, 253, 250, 0.96),
      rgba(236, 253, 245, 0.9)),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.intern-detail-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.15);
}

.intern-detail-hero .container {
  position: relative;
  z-index: 1;
}

.intern-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: #0f766e;
  background: #ccfbf1;
  font-weight: 850;
}

.intern-detail-hero h1 {
  max-width: 880px;
  margin: 1rem 0 0.75rem;
  color: #0f172a;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1;
  font-weight: 650;
  letter-spacing: -1px;
}

.intern-org-line {
  color: #475569;
  font-size: 1.08rem;
  font-weight: 650;
}

.intern-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.intern-actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.78rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
}

.apply-primary {
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  box-shadow: 0 16px 36px rgba(20, 184, 166, 0.24);
}

.back-soft {
  color: #0f172a;
  background: #fff;
  border: 1px solid #dbe5ef;
}

.intern-wrap {
  padding: 0 0 76px;
}

.intern-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: -32px;
}

.intern-stat {
  padding: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.intern-stat span {
  display: block;
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 800;
}

.intern-stat strong {
  display: block;
  margin-top: 0.25rem;
  color: #0f172a;
  font-size: 1.08rem;
  font-weight: 850;
}

.intern-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 1.3rem;
  align-items: start;
  margin-top: 2rem;
}

.intern-panel {
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.07);
}

.intern-panel-header {
  padding: 1.3rem 1.45rem;
  border-bottom: 1px solid #eef2f7;
  background: linear-gradient(135deg, #fff, #f0fdfa);
}

.intern-panel-header span {
  color: #0f766e;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.75rem;
}

.intern-panel-header h2 {
  margin: 0.4rem 0 0;
  color: #0f172a;
  font-size: 1.55rem;
  font-weight: 800;
}

.intern-content {
  padding: 1.45rem;
  color: #334155;
  line-height: 1.85;
  white-space: pre-line;
}

.intern-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 1rem;
}

.intern-side-card {
  padding: 1.15rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
}

.intern-side-card.dark {
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%,
      rgba(45, 212, 191, 0.24),
      transparent 36%),
    #0f172a;
}

.intern-side-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 850;
}

.side-apply {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  padding: 0.86rem 0.95rem;
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  font-weight: 850;
}

.side-info {
  display: grid;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

.side-info span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.related-intern {
  display: block;
  padding: 0.9rem;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  color: #0f172a;
  text-decoration: none;
  background: #fff;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.related-intern:hover {
  transform: translateY(-3px);
  color: #0f172a;
  border-color: #5eead4;
  box-shadow: 0 14px 34px rgba(20, 184, 166, 0.12);
}

.related-intern strong {
  display: block;
  line-height: 1.35;
  margin-bottom: 0.4rem;
}

.related-intern span {
  color: #0f766e;
  font-size: 0.84rem;
  font-weight: 850;
}

@media (max-width: 991px) {

  .intern-stats,
  .intern-layout {
    grid-template-columns: 1fr;
  }

  .intern-sidebar {
    position: static;
  }
}

/* Source: .\resources\views\frontend\jobs\index.blade.php */
.jobs-page {
  background:
    radial-gradient(circle at 86% 8%,
      rgba(37, 99, 235, 0.14),
      transparent 26rem),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 42%, #f8fafc 100%);
}

.jobs-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 70px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(37, 99, 235, 0.88)),
    url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.jobs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.24;
}

.jobs-hero .container {
  position: relative;
  z-index: 1;
}

.jobs-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 850;
  backdrop-filter: blur(12px);
}

.jobs-hero h1 {
  max-width: 850px;
  margin: 1rem 0 0.8rem;
  font-size: clamp(2.35rem, 5vw, 4.9rem);
  line-height: 1;
  font-weight: 650;
  letter-spacing: -1px;
}

.jobs-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.jobs-filter-wrap {
  position: relative;
  z-index: 2;
  margin-top: -34px;
}

.jobs-filter {
  padding: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(18px);
}

.jobs-filter .form-control,
.jobs-filter .form-select {
  min-height: 52px;
  border-radius: 16px;
  border-color: #dbe5ef;
  background: #fbfdff;
}

.jobs-filter .form-control:focus,
.jobs-filter .form-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 0.24rem rgba(37, 99, 235, 0.14);
}

.jobs-filter button,
.jobs-filter .reset-link {
  min-height: 52px;
  border-radius: 16px;
  font-weight: 850;
}

.jobs-filter button {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #4338ca, #2563eb);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.22);
}

.jobs-body {
  padding: 62px 0 76px;
}

.jobs-list {
  display: grid;
  gap: 1rem;
}

.job-row-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.2rem;
  align-items: center;
  padding: 1.2rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.job-row-card:hover {
  transform: translateY(-6px);
  color: inherit;
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: 0 30px 80px rgba(37, 99, 235, 0.14);
}

.job-row-main {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.job-company-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #111827, #2563eb);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.24);
  font-weight: 900;
  font-size: 1.15rem;
}

.job-type-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.42rem 0.65rem;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  color: #1d4ed8;
  background: #dbeafe;
  font-size: 0.78rem;
  font-weight: 850;
}

.job-row-card h2 {
  margin: 0 0 0.35rem;
  color: #0f172a;
  font-size: 1.28rem;
  line-height: 1.28;
  font-weight: 850;
}

.job-company {
  color: #475569;
  font-weight: 650;
  margin-bottom: 0.8rem;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.job-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.58rem;
  border-radius: 999px;
  color: #64748b;
  background: #f8fafc;
  font-size: 0.8rem;
  font-weight: 750;
}

.job-row-side {
  display: grid;
  gap: 0.7rem;
  justify-items: end;
  min-width: 150px;
}

.job-apply {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  color: #fff;
  background: #0f172a;
  font-weight: 500;
  transition:
    transform 0.22s ease,
    background 0.22s ease;
}

.job-row-card:hover .job-apply {
  transform: translateX(3px);
  background: #2563eb;
}

.job-date {
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 700;
}

.jobs-empty {
  padding: 3rem;
  border: 1px dashed #bfdbfe;
  border-radius: 26px;
  text-align: center;
  color: #64748b;
  background: #eff6ff;
}

.jobs-pagination {
  display: flex;
  justify-content: center;
  margin-top: 2.2rem;
}

.jobs-pagination .pagination {
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin: 0;
}

.jobs-pagination .page-link {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  color: #0f172a;
  background: #fff;
  font-weight: 850;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.jobs-pagination .page-item.active .page-link,
.jobs-pagination .page-link:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #4338ca, #2563eb);
}

.jobs-pagination .page-item.disabled .page-link {
  color: #94a3b8;
  background: #f8fafc;
  border-color: #e2e8f0;
  box-shadow: none;
}

@media (max-width: 767px) {

  .job-row-card,
  .job-row-main {
    grid-template-columns: 1fr;
  }

  .job-row-side {
    justify-items: start;
  }
}

/* Source: .\resources\views\frontend\jobs\show.blade.php */
.job-detail {
  background:
    radial-gradient(circle at 90% 8%,
      rgba(37, 99, 235, 0.16),
      transparent 28rem),
    linear-gradient(180deg, #f8fbff 0%, #fff 44%, #f8fafc 100%);
}

.job-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 66px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.97), rgba(37, 99, 235, 0.88)),
    url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.job-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.24;
}

.job-detail-hero .container {
  position: relative;
  z-index: 1;
}

.job-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 850;
  backdrop-filter: blur(12px);
}

.job-detail-hero h1 {
  max-width: 900px;
  margin: 1rem 0 0.75rem;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1;
  font-weight: 650;
  letter-spacing: -1px;
}

.job-company-line {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  font-weight: 650;
}

.job-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.job-hero-actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.78rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
}

.job-apply-primary {
  color: #fff;
  background: linear-gradient(135deg, #4338ca, #2563eb);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.28);
}

.job-back-soft {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.job-wrap {
  padding: 0 0 76px;
}

.job-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: -32px;
}

.job-stat {
  padding: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.job-stat span {
  display: block;
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 800;
}

.job-stat strong {
  display: block;
  margin-top: 0.25rem;
  color: #0f172a;
  font-size: 1.08rem;
  font-weight: 850;
}

.job-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 1.3rem;
  align-items: start;
  margin-top: 2rem;
}

.job-panel {
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.07);
}

.job-panel-header {
  padding: 1.3rem 1.45rem;
  border-bottom: 1px solid #eef2f7;
  background: linear-gradient(135deg, #fff, #f8fbff);
}

.job-panel-header span {
  color: #2563eb;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.75rem;
}

.job-panel-header h2 {
  margin: 0.4rem 0 0;
  color: #0f172a;
  font-size: 1.55rem;
  font-weight: 800;
}

.job-content {
  padding: 1.45rem;
  color: #334155;
  line-height: 1.85;
  white-space: pre-line;
}

.job-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 1rem;
}

.job-side-card {
  padding: 1.15rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
}

.job-side-card.dark {
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%,
      rgba(96, 165, 250, 0.24),
      transparent 36%),
    #0f172a;
}

.job-side-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 850;
}

.job-side-apply {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
  padding: 0.86rem 0.95rem;
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #4338ca, #2563eb);
  font-weight: 850;
}

.job-side-info {
  display: grid;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

.job-side-info span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.related-job {
  display: block;
  padding: 0.9rem;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  color: #0f172a;
  text-decoration: none;
  background: #fff;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.related-job:hover {
  transform: translateY(-3px);
  color: #0f172a;
  border-color: #93c5fd;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.12);
}

.related-job strong {
  display: block;
  line-height: 1.35;
  margin-bottom: 0.4rem;
}

.related-job span {
  color: #2563eb;
  font-size: 0.84rem;
  font-weight: 850;
}

@media (max-width: 991px) {

  .job-stats,
  .job-layout {
    grid-template-columns: 1fr;
  }

  .job-sidebar {
    position: static;
  }
}

/* Source: .\resources\views\frontend\judgments\index.blade.php */
.judgments-hero {
  background:
    linear-gradient(135deg, rgba(8, 17, 35, 0.94), rgba(30, 64, 175, 0.74)),
    url("/storage/home-banners/home-banner-2.svg") center/cover no-repeat;
}

.judgments-hero::before {
  background:
    radial-gradient(circle at 12% 18%,
      rgba(250, 204, 21, 0.2),
      transparent 18rem),
    radial-gradient(circle at 88% 20%,
      rgba(56, 189, 248, 0.22),
      transparent 24rem);
}

.judgments-wrap {
  padding: 0 0 5rem;
  background:
    radial-gradient(circle at 8% 18%,
      rgba(245, 158, 11, 0.1),
      transparent 24rem),
    #f8fbff;
}

.judgment-filter-card {
  position: relative;
  z-index: 2;
  margin-top: -2.5rem;
  padding: 1rem;
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(14px);
}

.judgments-section-head h2 {
  font-weight: 900;
  margin: 0;
}

.judgment-list-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.judgment-list-card:hover {
  transform: translateY(-10px);
  border-color: rgba(245, 158, 11, 0.44);
  box-shadow: 0 28px 72px rgba(245, 158, 11, 0.18);
}

.judgment-list-top {
  padding: 1.15rem;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%,
      rgba(255, 255, 255, 0.24),
      transparent 7rem),
    linear-gradient(135deg, #111827, #1d4ed8);
}

.court-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.66rem;
  border-radius: 999px;
  color: #111827;
  background: #facc15;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.judgment-title {
  min-height: 4.2rem;
  font-size: 1.18rem;
  line-height: 1.28;
  font-weight: 700;
  margin: 0;
}

.judgment-title a {
  color: #fff;
  text-decoration: none;
}

.judgment-list-body {
  padding: 1.15rem;
}

.judgment-summary {
  color: #64748b;
  min-height: 3rem;
  margin-bottom: 1rem;
}

.judgment-meta {
  display: grid;
  gap: 0.55rem;
  color: #475569;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.judgment-meta span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.judgment-meta i {
  color: #d97706;
}

.judgment-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  border-radius: 999px;
  padding: 0.62rem 0.9rem;
  color: #fff;
  background: #111827;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.8rem;
}

.judgment-cta:hover {
  color: #fff;
  background: #d97706;
}

.empty-judgments {
  padding: 4rem 1rem;
  border: 1px dashed #fbbf24;
  border-radius: 18px;
  background: #fff;
  text-align: center;
  color: #64748b;
}

@media (max-width: 767.98px) {
  .judgments-hero {
    padding: 4rem 0 4.5rem;
  }

  .judgments-section-head {
    align-items: start;
    flex-direction: column;
  }
}

/* Source: .\resources\views\frontend\judgments\show.blade.php */
.judgment-detail-hero {
  background:
    linear-gradient(135deg, rgba(8, 17, 35, 0.95), rgba(30, 64, 175, 0.74)),
    url("/storage/home-banners/home-banner-2.svg") center/cover no-repeat;
}

.judgment-detail-hero::before {
  background:
    radial-gradient(circle at 14% 22%,
      rgba(250, 204, 21, 0.2),
      transparent 18rem),
    radial-gradient(circle at 88% 16%,
      rgba(56, 189, 248, 0.2),
      transparent 24rem);
}

.court-hero-pill {
  color: #111827;
  background: #facc15;
  font-weight: 700;
}

.judgment-detail-hero h1 {
  max-width: 950px;
}

.judgment-wrap {
  padding: 0 0 5rem;
  background:
    radial-gradient(circle at 8% 16%,
      rgba(245, 158, 11, 0.09),
      transparent 24rem),
    #f8fbff;
}

.case-summary-grid {
  position: relative;
  z-index: 2;
  margin-top: -2.4rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.case-card {
  padding: 1rem;
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.case-card i {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #111827;
  background: #facc15;
  margin-bottom: 0.65rem;
}

.case-card small {
  display: block;
  color: #64748b;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.case-card strong {
  color: #0f172a;
  font-size: 1.02rem;
}

.judgment-panel {
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.judgment-panel-header {
  padding: 1.2rem 1.35rem;
  border-bottom: 1px solid #eef2f7;
  background: linear-gradient(135deg, #fff, #fffaf0);
}

.judgment-panel-header h2 {
  margin: 0;
  font-weight: 900;
}

.judgment-copy {
  padding: 1.45rem;
  color: #334155;
  line-height: 1.9;
  font-size: 1.04rem;
}

.summary-callout {
  padding: 1.1rem;
  margin-bottom: 1.2rem;
  border-left: 4px solid #f59e0b;
  border-radius: 14px;
  background: #fffbeb;
  color: #374151;
}

.points-grid {
  display: grid;
  gap: 0.8rem;
  padding: 1.45rem;
}

.point-item {
  display: flex;
  gap: 0.7rem;
  padding: 0.9rem;
  border-radius: 14px;
  background: #f8fafc;
  font-weight: 700;
  color: #334155;
}

.point-item i {
  color: #d97706;
}

.judgment-sidebar {
  position: sticky;
  top: 150px;
}

.side-card {
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
  overflow: hidden;
  margin-bottom: 1rem;
}

.side-card-header {
  padding: 1rem 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, #111827, #1d4ed8);
}

.side-card-header h5 {
  margin: 0;
  font-weight: 900;
}

.side-card-body {
  padding: 1rem;
}

.related-judgment {
  position: relative;
  display: block;
  padding: 0.95rem 2.65rem 0.95rem 0.95rem;
  margin-bottom: 0.7rem;
  border: 1px solid #eef2f7;
  border-radius: 14px;
  background: #f8fafc;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.related-judgment:last-child {
  margin-bottom: 0;
}

.related-judgment:hover {
  background: #fff7ed;
  border-color: #fbbf24;
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.14);
  transform: translateY(-2px);
}

.related-judgment-title {
  color: #0f172a;
  font-weight: 700;
  line-height: 1.25;
}

.related-judgment:hover .related-judgment-title {
  color: #b45309;
}

.related-judgment-arrow {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #111827;
  transform: translateY(-50%);
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}

.related-judgment:hover .related-judgment-arrow {
  background: #d97706;
  transform: translateY(-50%) translateX(3px);
}

@media (max-width: 991.98px) {
  .case-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .judgment-sidebar {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .case-summary-grid {
    grid-template-columns: 1fr;
  }
}

/* Source: .\resources\views\frontend\quizzes\index.blade.php */
.quiz-list-page {
  background:
    radial-gradient(circle at 12% 8%,
      rgba(124, 58, 237, 0.13),
      transparent 28rem),
    linear-gradient(180deg, #fbfaff 0%, #fff 45%, #f8fafc 100%);
}

.quiz-list-hero {
  padding: 82px 0 72px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(124, 58, 237, 0.9)),
    url("https://images.unsplash.com/photo-1434030216411-0b793f4b4173?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.quiz-list-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fef3c7;
  font-weight: 850;
}

.quiz-list-hero h1 {
  max-width: 840px;
  margin: 1rem 0 0.8rem;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 1;
  font-weight: 650;
}

.quiz-list-hero p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.quiz-list-body {
  padding: 64px 0 78px;
}

.quiz-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.quiz-card {
  position: relative;
  display: flex;
  min-height: 270px;
  flex-direction: column;
  padding: 1.2rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 26px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.quiz-card:hover {
  transform: translateY(-8px);
  color: inherit;
  border-color: rgba(124, 58, 237, 0.34);
  box-shadow: 0 30px 85px rgba(124, 58, 237, 0.15);
}

.quiz-card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.quiz-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.42rem 0.65rem;
  border-radius: 999px;
  color: #6d28d9;
  background: #f3e8ff;
  font-size: 0.78rem;
  font-weight: 850;
}

.quiz-card-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #111827, #7c3aed);
  box-shadow: 0 14px 30px rgba(124, 58, 237, 0.24);
}

.quiz-card h2 {
  margin: 0 0 0.65rem;
  color: #0f172a;
  font-size: 1.3rem;
  line-height: 1.28;
  font-weight: 850;
}

.quiz-card p {
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.quiz-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.quiz-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.58rem;
  border-radius: 999px;
  color: #475569;
  background: #f8fafc;
  font-size: 0.8rem;
  font-weight: 750;
}

.quiz-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid #eef2f7;
  color: #7c3aed;
  font-weight: 850;
}

.quiz-pagination {
  display: flex;
  justify-content: center;
  margin-top: 2.2rem;
}

.quiz-pagination .pagination {
  gap: 0.45rem;
  flex-wrap: wrap;
  margin: 0;
}

.quiz-pagination .page-link {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #e9d5ff;
  border-radius: 14px;
  color: #0f172a;
  background: #fff;
  font-weight: 850;
}

.quiz-pagination .page-item.active .page-link,
.quiz-pagination .page-link:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
}

.quiz-empty {
  grid-column: 1 / -1;
  padding: 3rem;
  border-radius: 24px;
  background: #faf5ff;
  color: #64748b;
  text-align: center;
}

@media (max-width: 991px) {
  .quiz-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .quiz-card-grid {
    grid-template-columns: 1fr;
  }
}

/* Source: .\resources\views\frontend\quizzes\result.blade.php */
.quiz-result-page {
  background:
    radial-gradient(circle at 12% 10%,
      rgba(124, 58, 237, 0.13),
      transparent 28rem),
    linear-gradient(180deg, #fbfaff 0%, #fff 42%, #f8fafc 100%);
}

.result-hero {
  padding: 76px 0 92px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 16%,
      rgba(250, 204, 21, 0.28),
      transparent 30%),
    linear-gradient(135deg, #111827, #7c3aed);
}

.result-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: #fef3c7;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 850;
}

.result-hero h1 {
  max-width: 850px;
  margin: 1rem 0 0.65rem;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1;
  font-weight: 650;
}

.result-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.result-wrap {
  margin-top: -52px;
  padding-bottom: 78px;
  position: relative;
  z-index: 2;
}

.result-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 1.3rem;
  align-items: start;
}

.score-card,
.review-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.score-card {
  position: sticky;
  top: 112px;
}

.score-top {
  padding: 1.35rem;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%,
      rgba(255, 255, 255, 0.2),
      transparent 35%),
    linear-gradient(135deg, #111827, #6d28d9);
}

.score-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.68rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 850;
}

.score-circle {
  display: grid;
  width: 160px;
  height: 160px;
  place-items: center;
  margin: 1.35rem auto 0.85rem;
  border-radius: 50%;
  background:
    conic-gradient(#22c55e calc(var(--score) * 1%),
      rgba(255, 255, 255, 0.16) 0),
    rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 12px rgba(17, 24, 39, 0.28);
}

.score-circle strong {
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #111827;
  font-size: 2rem;
  font-weight: 950;
}

.score-top h2 {
  text-align: center;
  margin: 0.4rem 0 0;
  font-weight: 850;
}

.score-body {
  padding: 1.2rem;
}

.result-stat {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #eef2f7;
}

.result-stat:last-child {
  border-bottom: 0;
}

.result-stat span {
  color: #64748b;
  font-weight: 750;
}

.result-stat strong {
  color: #0f172a;
  font-weight: 900;
}

.result-actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.result-actions a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  min-height: 48px;
  border-radius: 16px;
  font-weight: 850;
  text-decoration: none;
}

.result-primary {
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
}

.result-secondary {
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.review-header {
  padding: 1.25rem;
  border-bottom: 1px solid #eef2f7;
  background: linear-gradient(135deg, #fff, #faf5ff);
}

.review-header h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 850;
}

.review-list {
  padding: 1.1rem;
  display: grid;
  gap: 1rem;
}

.answer-card {
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
}

.answer-card.correct {
  border-color: rgba(34, 197, 94, 0.32);
  background: #f0fdf4;
}

.answer-card.wrong {
  border-color: rgba(239, 68, 68, 0.28);
  background: #fff7f7;
}

.answer-title {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: #0f172a;
  font-weight: 850;
  line-height: 1.45;
}

.answer-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: #7c3aed;
  font-size: 0.86rem;
}

.answer-meta {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.9rem;
  color: #475569;
}

.answer-pill {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  gap: 0.45rem;
  align-items: center;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 750;
}

.answer-pill.correct-text {
  color: #15803d;
}

.answer-pill.wrong-text {
  color: #dc2626;
}

.answer-explanation {
  margin-top: 0.8rem;
  padding: 0.85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: #64748b;
  line-height: 1.65;
}

@media (max-width: 991px) {
  .result-layout {
    grid-template-columns: 1fr;
  }

  .score-card {
    position: static;
  }
}

/* Source: .\resources\views\frontend\quizzes\show.blade.php */
.quiz-attempt-page {
  background:
    radial-gradient(circle at 10% 10%,
      rgba(124, 58, 237, 0.12),
      transparent 28rem),
    linear-gradient(180deg, #fbfaff 0%, #fff 42%, #f8fafc 100%);
}

.attempt-hero {
  padding: 72px 0 58px;
  color: #fff;
  background: linear-gradient(135deg, #111827, #7c3aed);
}

.attempt-hero h1 {
  max-width: 850px;
  margin: 0.9rem 0 0.65rem;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 1;
  font-weight: 650;
}

.attempt-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.75);
}

.quiz-list-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fef3c7;
  font-weight: 850;
}

.attempt-wrap {
  padding: 0 0 78px;
}

.attempt-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 1.3rem;
  align-items: start;
  margin-top: -30px;
  position: relative;
  z-index: 2;
}

.attempt-panel {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.09);
  overflow: hidden;
}

.attempt-panel-header {
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid #eef2f7;
  background: linear-gradient(135deg, #fff, #faf5ff);
}

.attempt-panel-header h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.08rem;
  font-weight: 850;
}

.attempt-panel-body {
  padding: 1.25rem;
}

.detail-card {
  position: sticky;
  top: 112px;
}

.detail-alert {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.85rem;
  border-radius: 16px;
  color: #ff0000;
  background: #fffbeb;
  font-size: 0.9rem;
  font-weight: 750;
}

.attempt-panel .form-control {
  min-height: 48px;
  border-radius: 14px;
  border-color: #dbe5ef;
}

.attempt-panel .form-control:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 0.24rem rgba(124, 58, 237, 0.14);
}

.question-card {
  padding: 1.1rem;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.question-card+.question-card {
  margin-top: 1rem;
}

.question-title {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: #0f172a;
  font-weight: 850;
  line-height: 1.45;
}

.question-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  font-size: 0.86rem;
}

.option-row {
  display: block;
  margin-top: 0.7rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #f8fafc;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.option-row:hover {
  border-color: #c4b5fd;
  background: #faf5ff;
}

.option-row input {
  margin-right: 0.55rem;
}

.submit-quiz-btn {
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.22);
  width: 100%;
}

@media (max-width: 991px) {
  .attempt-layout {
    grid-template-columns: 1fr;
  }

  .detail-card {
    position: static;
  }
}

/* Source: .\resources\views\frontend\write-for-us.blade.php */
.write-page {
  background: linear-gradient(180deg, #fff8ed 0%, #ffffff 42%, #f8fbff 100%);
}

.write-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 62px;
  background:
    radial-gradient(circle at 88% 8%,
      rgba(245, 158, 11, 0.22),
      transparent 28%),
    radial-gradient(circle at 12% 24%,
      rgba(37, 99, 235, 0.12),
      transparent 30%),
    #fff;
}

.write-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 50px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 70px solid rgba(245, 158, 11, 0.12);
}

.write-hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 2rem;
  align-items: center;
}

.write-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  color: #9a3412;
  background: #ffedd5;
  font-weight: 800;
}

.write-hero h1 {
  margin: 1rem 0;
  max-width: 780px;
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  line-height: 1;
  font-weight: 500;
  color: #111827;
  letter-spacing: -1px;
}

.write-hero p {
  max-width: 650px;
  color: #64748b;
  font-size: 1.08rem;
}

.write-note {
  position: relative;
  padding: 1.6rem;
  border: 1px solid rgba(146, 64, 14, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 24px 70px rgba(146, 64, 14, 0.12);
  backdrop-filter: blur(16px);
}

.write-note .note-top {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1rem;
}

.write-note .avatar-stack {
  display: flex;
}

.write-note .avatar-stack span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-left: -10px;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #f97316, #2563eb);
}

.write-note .avatar-stack span:first-child {
  margin-left: 0;
}

.write-note h3 {
  font-size: 1.2rem;
  font-weight: 750;
  color: #111827;
  margin: 0;
}

.write-note p {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
}

.write-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.write-tags span {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.86rem;
  font-weight: 700;
}

.write-wrap {
  padding: 70px 0;
}

.write-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 0.55fr);
  gap: 1.4rem;
  align-items: start;
}

.editorial-card {
  padding: 1.7rem;
  border-radius: 26px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.07);
}

.editorial-card+.editorial-card {
  margin-top: 1rem;
}

.editorial-card .eyebrow {
  color: #ea580c;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
}

.editorial-card h2 {
  margin: 0.4rem 0 1rem;
  font-size: clamp(1.55rem, 2.3vw, 2.35rem);
  font-weight: 700;
  color: #111827;
}

.guideline-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guideline-list li {
  padding: 1rem;
  border-radius: 18px;
  background: #fff7ed;
  color: #334155;
}

.guideline-list i {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 0.7rem;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #f97316, #f59e0b);
  margin-right: 0.7rem;
}

.topic-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.topic-strip span {
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 14px;
  background: #f8fbff;
  color: #1e293b;
  font-weight: 500;
  font-size: 14px;
}

.write-form-card {
  position: sticky;
  top: 120px;
  padding: 1.5rem;
  border-radius: 30px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #fb923c, #2563eb) border-box;
  border: 1px solid transparent;
  box-shadow: 0 30px 75px rgba(15, 23, 42, 0.12);
}

.write-form-card h2 {
  color: #111827;
  font-weight: 750;
  font-size: 1.55rem;
}

.write-form-card .form-control {
  min-height: 50px;
  border-radius: 15px;
  border-color: #e2e8f0;
  background: #fbfdff;
}

.write-form-card .form-control:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 0.24rem rgba(249, 115, 22, 0.15);
  background: #fff;
}

.write-submit {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  font-weight: 850;
  background: linear-gradient(135deg, #f97316, #2563eb);
  box-shadow: 0 18px 42px rgba(249, 115, 22, 0.24);
}

.review-box {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 18px;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.95rem;
}

@media (max-width: 991px) {

  .write-hero .container,
  .write-grid,
  .guideline-list {
    grid-template-columns: 1fr;
  }

  .write-form-card {
    position: static;
  }
}

/* Premium single-layer navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1070;
  padding: 0.7rem 0;
  background: rgba(7, 16, 32, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  transition: padding 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  padding: 0.4rem 0;
  background: rgba(7, 16, 32, 0.95);
  box-shadow: 0 14px 40px rgba(2, 8, 23, 0.22);
  animation: none;
}

.premium-navbar {
  min-height: 72px;
  padding: 0;
}

.premium-navbar .site-brand {
  color: #fff;
  gap: 0.7rem;
  flex-shrink: 0;
}

.premium-navbar .brand-logo {
  max-height: 52px;
  max-width: 230px;
  filter: brightness(0) invert(1);
}

.premium-navbar .brand-fallback-mark {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  background: linear-gradient(145deg, #c7a96b, #8e6c2f);
  box-shadow: 0 8px 24px rgba(199, 169, 107, .22);
}

.premium-navbar .brand-title {
  color: #fff;
  font-size: 1.04rem;
  letter-spacing: .04em;
}

.premium-navbar .brand-subtitle {
  color: #c7a96b;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-nav {
  min-height: auto;
}

.site-nav .navbar-nav {
  flex-wrap: nowrap;
  gap: .1rem;
}

.site-nav .nav-link {
  color: rgba(255, 255, 255, .76);
  font-size: 0.95rem;
  font-weight: 400;
  padding: 1rem .7rem;
}

.site-nav .nav-link::after {
  left: .7rem;
  right: .7rem;
  bottom: .62rem;
  height: 2px;
  background: #c7a96b;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active,
.site-nav .nav-link.show {
  color: #fff;
  transform: none;
}

.site-nav .dropdown-toggle::before {
  display: none;
}

.site-nav .dropdown-toggle::after {
  position: static;
  display: inline-block;
  width: .35em;
  height: .35em;
  margin: -.2em 0 0 .45em;
  border: 0;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  opacity: .7;
  transform: rotate(45deg);
  background: none;
}

.premium-dropdown {
  min-width: 290px;
  margin-top: .2rem !important;
  padding: .65rem;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 60px rgba(2, 8, 23, .2);
}

.premium-dropdown-sm {
  min-width: 270px;
}

.premium-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .7rem .75rem;
  border-radius: 12px;
  color: #14213d;
}

.premium-dropdown .dropdown-item:hover {
  background: #f3f0e9;
  color: #735827;
}

.premium-dropdown .dropdown-item>i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 11px;
  background: #f3f0e9;
  color: #98763a;
}

.premium-dropdown .dropdown-item span,
.premium-dropdown .dropdown-item small {
  display: block;
}

.premium-dropdown .dropdown-item strong {
  font-size: .88rem;
}

.premium-dropdown .dropdown-item small {
  margin-top: .08rem;
  color: #7a8497;
  font-size: .72rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-left: 1rem;
}

.nav-search {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  color: #373232;
  transition: .2s ease;
}

.nav-search:hover {
  color: #071020;
  background: #fff;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .76rem 1rem;
  border-radius: 999px;
  color: #071020;
  background: linear-gradient(135deg, #e5d09f, #b99048);
  font-size: .86rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(185, 144, 72, .18);
}

.nav-cta:hover {
  color: #071020;
  transform: translateY(-1px);
}

.premium-navbar .navbar-toggler {
  width: 44px;
  height: 42px;
  display: none;
  place-content: center;
  gap: 5px;
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
}

.premium-navbar .navbar-toggler span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 5px;
  background: #fff;
}

/* About page */
.about-hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 6rem;
  color: #fff;
  background: radial-gradient(circle at 80% 30%, rgba(199, 169, 107, .22), transparent 28rem), linear-gradient(135deg, #071020, #14213d 65%, #1d3156);
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image: linear-gradient(rgba(255, 255, 255, .3) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .3) 1px, transparent 1px);
  background-size: 60px 60px;
}

.about-hero .container {
  position: relative;
  z-index: 1;
}

.about-eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #d8bd7d;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.about-hero h1 {
  max-width: 760px;
  margin: 1.25rem 0;
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.055em;
}

.about-hero h1 em {
  color: #d8bd7d;
  font-family: Georgia, serif;
  font-weight: 400;
}

.about-hero p {
  max-width: 660px;
  color: rgba(255, 255, 255, .68);
  font-size: 1.14rem;
  line-height: 1.8;
}

.about-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-primary-btn {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .9rem 1.25rem;
  border-radius: 999px;
  color: #071020;
  background: #d8bd7d;
  font-weight: 800;
  text-decoration: none;
}

.about-text-link {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.about-visual {
  position: relative;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 38px;
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(12px);
}

.about-monogram {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: #071020;
  background: #d8bd7d;
  font-size: 2rem;
}

.about-visual-copy span {
  color: #d8bd7d;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.about-visual-copy strong {
  display: block;
  margin-top: .65rem;
  font-family: Georgia, serif;
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1.06;
}

.about-orbit {
  position: absolute;
  border: 1px solid rgba(216, 189, 125, .23);
  border-radius: 50%;
}

.about-orbit-one {
  width: 270px;
  height: 270px;
  top: -100px;
  left: -75px;
}

.about-orbit-two {
  width: 190px;
  height: 190px;
  top: -60px;
  left: -35px;
}

.about-story-section {
  padding: 6.5rem 0;
  background: #f8f7f3;
}

.about-story-section h2 {
  margin-top: 1rem;
  color: #0d1930;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.about-lead {
  color: #18253e;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.65;
}

.about-story-section .col-lg-7>p:not(.about-lead) {
  color: #697386;
  line-height: 1.8;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 4rem;
}

.about-values-grid article {
  position: relative;
  padding: 2rem;
  border: 1px solid #e5e1d8;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(15, 23, 42, .05);
}

.about-values-grid article>span {
  position: absolute;
  top: 1.3rem;
  right: 1.4rem;
  color: #b6a98e;
  font-size: .75rem;
  font-weight: 800;
}

.about-values-grid i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: #14213d;
  font-size: 1.3rem
}

.about-values-grid h3 {
  margin: 1.4rem 0 .6rem;
  color: #14213d;
  font-size: 1.25rem
}

.about-values-grid p {
  margin: 0;
  color: #748094;
  line-height: 1.65
}

.about-cta-section {
  padding: 0 0 6rem;
  background: #f8f7f3;
}

.about-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, #14213d, #21375f)
}

.about-cta-card span {
  color: #d8bd7d;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em
}

.about-cta-card h2 {
  margin: .5rem 0 0;
  font-size: clamp(1.8rem, 3vw, 3rem)
}

.about-cta-card a {
  flex: 0 0 auto;
  padding: 1rem 1.3rem;
  border-radius: 999px;
  color: #14213d;
  background: #d8bd7d;
  font-weight: 800;
  text-decoration: none
}

@media (max-width:1199.98px) {
  .premium-navbar .navbar-toggler {
    display: grid
  }

  .premium-navbar .navbar-collapse {
    margin-top: .7rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 20px;
    background: rgba(7, 16, 32, .98)
  }

  .site-nav .navbar-nav {
    align-items: stretch !important
  }

  .site-nav .nav-link {
    padding: .75rem .65rem
  }

  .nav-actions {
    margin: 1rem 0 0
  }

  .premium-dropdown {
    box-shadow: none
  }

  .site-nav .dropdown-toggle::after {
    position: static
  }

  .site-nav .nav-link::after {
    display: none
  }
}

@media (max-width:767.98px) {
  .site-header {
    padding: .35rem 0
  }

  .premium-navbar {
    min-height: 62px
  }

  .premium-navbar .brand-logo {
    max-height: 43px;
    max-width: 190px
  }

  .nav-actions {
    display: grid;
    grid-template-columns: 42px 1fr
  }

  .nav-cta {
    justify-content: center
  }

  .about-hero {
    padding: 4.5rem 0
  }

  .about-hero h1 {
    font-size: 3.1rem
  }

  .about-visual {
    min-height: 340px
  }

  .about-values-grid {
    grid-template-columns: 1fr
  }

  .about-cta-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 2rem
  }

  .about-hero-actions {
    align-items: flex-start;
    flex-direction: column
  }
}

/* Reusable premium components */
.content-section {
  padding: 4.5rem 0;
  background: #f7f8fb
}

.surface-card {
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(15, 23, 42, .06)
}

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .9rem;
  color: #d8bd7d;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase
}

.common-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .78rem 1.15rem;
  border-radius: 999px;
  color: #fff;
  background: #14213d;
  font-weight: 750;
  text-decoration: none
}

.common-pill-btn:hover {
  color: #fff;
  background: #23385f
}

.empty-state {
  max-width: 720px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
  text-align: center
}

.empty-state-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.25rem;
  border-radius: 22px;
  color: #a27d38;
  background: #f3f0e9;
  font-size: 1.8rem
}

.empty-state h2 {
  margin-bottom: .65rem;
  color: #14213d;
  font-size: 1.65rem;
  font-weight: 800
}

.empty-state p {
  max-width: 520px;
  margin: 0 auto 1.4rem;
  color: #738095;
  line-height: 1.7
}

/* Expandable header search */
.nav-search {
  padding: 0;
  cursor: pointer
}

.header-search-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  background: rgba(7, 16, 32, .97);
  border-top: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 24px 50px rgba(2, 8, 23, .25);
  transition: opacity .2s ease, transform .2s ease, visibility .2s
}

.header-search-panel.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto
}

.header-search-form {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0
}

.header-search-form>i {
  color: #d8bd7d;
  font-size: 1.2rem
}

.header-search-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-size: 1.05rem
}

.header-search-form input::placeholder {
  color: rgba(255, 255, 255, .48)
}

.header-search-form button[type=submit] {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .72rem 1rem;
  border: 0;
  border-radius: 999px;
  color: #071020;
  background: #d8bd7d;
  font-weight: 800
}

.header-search-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .08)
}

/* Stable dropdown chevron */
.site-nav .dropdown-toggle::after,
.site-nav .dropdown-toggle:hover::after,
.site-nav .dropdown-toggle:focus::after,
.site-nav .dropdown-toggle.show::after {
  transform: rotate(45deg) !important
}

/* Search results */
.search-page-hero {
  padding-bottom: 5.5rem;
  background: radial-gradient(circle at 82% 22%, rgba(216, 189, 125, .24), transparent 25rem), radial-gradient(circle at 12% 80%, rgba(51, 108, 183, .28), transparent 28rem), linear-gradient(135deg, #071020 0%, #14213d 58%, #203962 100%)
}

.search-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .08;
  background-image: linear-gradient(rgba(255, 255, 255, .35) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .35) 1px, transparent 1px);
  background-size: 64px 64px
}

.search-page-hero h1 {
  max-width: 850px
}

.premium-search-box {
  max-width: 820px;
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-top: 2rem;
  padding: .55rem .55rem .55rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .11);
  box-shadow: 0 18px 45px rgba(2, 8, 23, .14);
  backdrop-filter: blur(12px)
}

.premium-search-box>i {
  color: #d8bd7d;
  font-size: 1.1rem
}

.premium-search-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-size: 1rem
}

.premium-search-box input::placeholder {
  color: rgba(255, 255, 255, .6)
}

.premium-search-box button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.25rem;
  border: 0;
  border-radius: 999px;
  color: #071020;
  background: #d8bd7d;
  font-weight: 800
}

.result-section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem
}

.result-group {
  overflow: hidden
}

.result-group-head {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid #edf0f4
}

.result-group-head>span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  color: #9b7532;
  background: #f3f0e9
}

.result-group-head h2 {
  margin: 0;
  color: #14213d;
  font-size: 1.05rem;
  font-weight: 800
}

.result-group-head small {
  color: #8a94a6
}

.result-list {
  padding: .45rem
}

.result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1rem;
  border-radius: 13px;
  color: #17233c;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease
}

.result-item:hover {
  color: #735827;
  background: #faf8f3;
  transform: translateX(3px)
}

.result-item span,
.result-item small {
  display: block
}

.result-item strong {
  font-size: .94rem
}

.result-item small {
  margin-top: .2rem;
  color: #929bab;
  font-size: .73rem
}

.result-item>i {
  color: #ad8b4d
}

@media(max-width:767.98px) {
  .header-search-form {
    gap: .6rem
  }

  .header-search-form button[type=submit] {
    width: 42px;
    height: 42px;
    justify-content: center;
    padding: 0;
    font-size: 0
  }

  .header-search-form button i {
    font-size: 1rem
  }

  .premium-search-box {
    border-radius: 20px
  }

  .premium-search-box button {
    width: 46px;
    height: 46px;
    justify-content: center;
    padding: 0;
    font-size: 0
  }

  .premium-search-box button i {
    font-size: 1rem
  }

  .result-section-grid {
    grid-template-columns: 1fr
  }

  .content-section {
    padding: 3rem 0
  }
}

/* Home slider responsive type and controls */
.home-hero-carousel .hero-copy h1 {
  max-width: 680px;
  font-size: clamp(2.15rem, 4.25vw, 4.25rem);
  line-height: 1.03;
}

.home-hero-carousel .hero-copy p {
  max-width: 570px;
  font-size: 1.03rem;
  line-height: 1.65;
  margin-bottom: 1.35rem;
}

.home-hero-carousel .hero-actions .btn {
  padding: .72rem 1.15rem;
  border-radius: 12px;
  font-size: .92rem;
  font-weight: 700;
}

@media (max-width: 991.98px) {

  .home-hero-carousel,
  .home-hero-slide {
    min-height: 460px;
  }

  .home-hero-content {
    padding: 3.5rem 0;
  }

  .home-hero-carousel .hero-copy {
    max-width: 610px;
  }

  .home-hero-carousel .hero-copy h1 {
    font-size: clamp(2rem, 6vw, 3.4rem);
  }

  .home-hero-carousel .hero-copy p {
    max-width: 520px;
    font-size: .96rem;
  }
}

@media (max-width: 767.98px) {

  .home-hero-carousel,
  .home-hero-slide {
    min-height: 410px;
  }

  .home-hero-content {
    padding: 2.75rem 0 3.4rem;
  }

  .home-hero-carousel .hero-copy {
    max-width: calc(100% - 1.5rem);
    margin-inline: auto;
  }

  .home-hero-carousel .hero-copy h1 {
    margin-bottom: .75rem;
    font-size: clamp(1.75rem, 8.5vw, 2.7rem);
    line-height: 1.08;
  }

  .home-hero-carousel .hero-copy p {
    font-size: .9rem;
    line-height: 1.55;
    margin-bottom: 1.1rem;
  }

  .home-hero-carousel .hero-tagline {
    padding: .36rem .62rem;
    margin-bottom: .75rem;
    font-size: .76rem;
  }

  .home-hero-carousel .hero-actions {
    gap: .55rem;
  }

  .home-hero-carousel .hero-actions .btn {
    padding: .62rem .9rem;
    border-radius: 10px;
    font-size: .82rem;
  }

  .home-hero-carousel .carousel-control-prev,
  .home-hero-carousel .carousel-control-next {
    width: 2.5rem;
  }

  .home-hero-carousel .carousel-control-prev-icon,
  .home-hero-carousel .carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
    background-size: .8rem;
  }
}

@media (max-width: 399.98px) {

  .home-hero-carousel,
  .home-hero-slide {
    min-height: 380px;
  }

  .home-hero-carousel .hero-copy h1 {
    font-size: 1.65rem;
  }

  .home-hero-carousel .hero-copy p {
    font-size: .84rem;
  }
}

/* Featured courses responsive section heading */
@media (max-width: 991.98px) {
  .featured-courses-section {
    padding: 4rem 0;
  }

  .featured-courses-section>.container>.d-flex {
    gap: 1rem !important;
    margin-bottom: 1.75rem !important;
  }

  .featured-courses-section .section-heading {
    font-size: clamp(1.9rem, 5vw, 2.65rem);
  }

  .featured-courses-section .section-subtitle {
    max-width: 610px;
    font-size: .98rem;
    line-height: 1.6;
  }

  .featured-courses-section .row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }

  .featured-courses-section .course-media {
    height: 190px;
  }

  .featured-courses-section .featured-course-body {
    padding: 1.1rem;
  }

  .featured-courses-section .featured-course-title {
    min-height: 3rem;
    font-size: 1.12rem;
  }

  .featured-courses-section .course-institute {
    font-size: .9rem;
  }
}

@media (max-width: 767.98px) {
  .featured-courses-section {
    padding: 3.25rem 0;
  }

  .featured-courses-section>.container>.d-flex {
    gap: .8rem !important;
    margin-bottom: 1.4rem !important;
  }

  .featured-courses-section .section-eyebrow {
    padding: .36rem .62rem;
    margin-bottom: .6rem;
    font-size: .72rem;
  }

  .featured-courses-section .section-heading {
    margin-bottom: .45rem;
    font-size: 1.8rem;
    line-height: 1.12;
  }

  .featured-courses-section .section-subtitle {
    font-size: .9rem;
    line-height: 1.55;
  }

  .featured-courses-section>.container>.d-flex>.btn {
    width: fit-content;
    padding: .62rem 1rem !important;
    font-size: .82rem;
  }

  .featured-courses-section .featured-course-card {
    border-radius: 15px;
  }

  .featured-courses-section .course-media {
    height: 175px;
  }

  .featured-courses-section .course-category-pill {
    left: .75rem;
    bottom: .75rem;
    padding: .36rem .58rem;
    font-size: .72rem;
  }

  .featured-courses-section .featured-course-body {
    padding: .95rem;
  }

  .featured-courses-section .featured-course-title {
    min-height: auto;
    margin-bottom: .4rem;
    font-size: 1.05rem;
    line-height: 1.3;
  }

  .featured-courses-section .course-institute {
    margin-bottom: .7rem !important;
    font-size: .82rem;
  }

  .featured-courses-section .course-meta-grid {
    gap: .4rem;
    margin-bottom: .8rem;
  }

  .featured-courses-section .course-meta-chip {
    gap: .3rem;
    padding: .45rem .5rem;
    border-radius: 9px;
    font-size: .75rem;
  }

  .featured-courses-section .course-card-footer {
    gap: .6rem;
    padding-top: .75rem;
  }

  .featured-courses-section .course-price {
    font-size: .9rem;
  }

  .featured-courses-section .course-price small {
    font-size: .66rem;
  }

  .featured-courses-section .course-cta {
    gap: .3rem;
    padding: .52rem .72rem;
    font-size: .74rem;
  }
}

@media (max-width: 399.98px) {
  .featured-courses-section {
    padding: 2.75rem 0;
  }

  .featured-courses-section .section-heading {
    font-size: 1.6rem;
  }

  .featured-courses-section .section-subtitle {
    font-size: .84rem;
  }

  .featured-courses-section .course-media {
    height: 160px;
  }

  .featured-courses-section .featured-course-body {
    padding: .85rem;
  }

  .featured-courses-section .course-meta-chip {
    font-size: .7rem;
  }
}

/* Home sponsored banner */
.home-sponsored-section {
  padding: 1.25rem 0;
  background: #fff;
}

.sponsored-label {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .5rem;
  color: #8a94a6;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.sponsored-label::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(15, 23, 42, .12), transparent);
}

.home-sponsored-slot {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: .55rem;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 16px;
  background: #f8fafc;
}

.sponsored-banner-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsored-banner-link img {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  border-radius: 10px;
}

.home-sponsored-slot ins,
.home-sponsored-slot iframe {
  max-width: 100% !important;
}

@media (max-width: 767.98px) {
  .home-sponsored-section {
    padding: .85rem 0;
  }

  .home-sponsored-section .container {
    padding-inline: .75rem;
  }

  .home-sponsored-slot {
    min-height: 64px;
    padding: .35rem;
    border-radius: 12px;
  }

  .sponsored-banner-link img {
    max-height: 120px;
    border-radius: 8px;
  }

  .sponsored-label {
    margin-bottom: .35rem;
    font-size: .58rem;
  }
}

@media (max-width: 399.98px) {
  .home-sponsored-slot {
    min-height: 54px;
  }

  .sponsored-banner-link img {
    max-height: 95px;
  }
}

/* Remaining home sections: responsive rhythm and typography */
@media (max-width: 991.98px) {

  .latest-articles-section,
  .latest-judgments-section,
  .career-opportunities-section,
  .drafting-showcase-section {
    padding: 4rem 0;
  }

  .latest-articles-section>.container>.d-flex,
  .latest-judgments-section>.container>.d-flex,
  .career-opportunities-section>.container>.d-flex,
  .drafting-showcase-section>.container>.d-flex {
    gap: 1rem !important;
  }

  .latest-articles-section>.container>.d-flex,
  .latest-judgments-section>.container>.d-flex,
  .drafting-showcase-section>.container>.d-flex {
    margin-bottom: 1.75rem !important;
  }

  .latest-articles-section .section-heading,
  .latest-judgments-section .section-heading,
  .career-opportunities-section .section-heading,
  .drafting-showcase-section .section-heading {
    font-size: clamp(1.9rem, 5vw, 2.65rem);
  }

  .latest-articles-section .section-subtitle,
  .latest-judgments-section .section-subtitle,
  .career-opportunities-section .section-subtitle,
  .drafting-showcase-section .section-subtitle {
    max-width: 620px;
    font-size: .98rem;
    line-height: 1.6;
  }

  .latest-articles-section .row,
  .latest-judgments-section .row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }

  .article-media {
    height: 190px;
  }

  .article-card-body {
    padding: 1.05rem;
  }

  .article-title {
    min-height: 3rem;
    font-size: 1.1rem;
  }

  .article-excerpt {
    font-size: .9rem;
    line-height: 1.55;
  }

  .judgment-card-top {
    padding: 1rem;
  }

  .judgment-card-title {
    min-height: 3.6rem;
    font-size: 1.08rem;
  }

  .judgment-card-body {
    padding: 1rem;
  }

  .career-board {
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .career-column {
    border-radius: 22px;
  }

  .career-column-header {
    padding: 1.05rem;
  }

  .career-list {
    gap: .7rem;
    padding: .85rem;
  }

  .career-card {
    padding: .9rem;
    border-radius: 16px;
  }

  .drafting-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .drafting-card-pro {
    min-height: 270px;
    padding: 1rem 1rem .9rem 1.15rem;
  }
}

@media (max-width: 767.98px) {

  .latest-articles-section,
  .latest-judgments-section,
  .career-opportunities-section,
  .drafting-showcase-section {
    padding: 3.25rem 0;
  }

  .latest-articles-section>.container>.d-flex,
  .latest-judgments-section>.container>.d-flex,
  .career-opportunities-section>.container>.d-flex,
  .drafting-showcase-section>.container>.d-flex {
    gap: .8rem !important;
  }

  .latest-articles-section>.container>.d-flex,
  .latest-judgments-section>.container>.d-flex,
  .drafting-showcase-section>.container>.d-flex {
    margin-bottom: 1.4rem !important;
  }

  .latest-articles-section .section-eyebrow,
  .latest-judgments-section .section-eyebrow,
  .career-opportunities-section .section-eyebrow,
  .drafting-showcase-section .section-eyebrow {
    padding: .36rem .62rem;
    margin-bottom: .6rem;
    font-size: .72rem;
  }

  .latest-articles-section .section-heading,
  .latest-judgments-section .section-heading,
  .career-opportunities-section .section-heading,
  .drafting-showcase-section .section-heading {
    margin-bottom: .45rem;
    font-size: 1.8rem;
    line-height: 1.12;
  }

  .latest-articles-section .section-subtitle,
  .latest-judgments-section .section-subtitle,
  .career-opportunities-section .section-subtitle,
  .drafting-showcase-section .section-subtitle {
    font-size: .9rem;
    line-height: 1.55;
  }

  .latest-articles-section>.container>.d-flex>.btn,
  .latest-judgments-section>.container>.d-flex>.btn,
  .drafting-showcase-section>.container>.d-flex>.btn,
  .career-opportunities-section>.container>.d-flex>.d-flex .btn {
    width: fit-content;
    padding: .62rem 1rem !important;
    font-size: .82rem;
  }

  .article-card-premium,
  .judgment-card-premium {
    border-radius: 15px;
  }

  .article-media {
    height: 175px;
  }

  .article-category-pill {
    left: .75rem;
    bottom: .75rem;
    padding: .36rem .58rem;
    font-size: .7rem;
  }

  .article-card-body {
    padding: .95rem;
  }

  .article-meta {
    gap: .5rem;
    margin-bottom: .55rem;
    font-size: .72rem;
  }

  .article-title {
    min-height: auto;
    margin-bottom: .45rem;
    font-size: 1.04rem;
  }

  .article-excerpt {
    min-height: auto;
    margin-bottom: .8rem;
    font-size: .82rem;
  }

  .article-link {
    padding: .52rem .72rem;
    font-size: .74rem;
  }

  .judgment-card-top {
    padding: .9rem;
  }

  .judgment-court-pill {
    padding: .34rem .55rem;
    margin-bottom: .7rem;
    font-size: .7rem;
  }

  .judgment-card-title {
    min-height: auto;
    font-size: 1.02rem;
  }

  .judgment-card-body {
    padding: .9rem;
  }

  .judgment-meta-list {
    gap: .42rem;
    margin-bottom: .75rem;
    font-size: .8rem;
  }

  .judgment-link {
    padding: .52rem .72rem;
    font-size: .74rem;
  }

  .career-opportunities-section>.container>.d-flex>.d-flex {
    gap: .5rem !important;
  }

  .career-board {
    grid-template-columns: 1fr;
    margin-top: 1.25rem;
  }

  .career-column-header {
    padding: .9rem;
  }

  .career-column-title {
    gap: .6rem;
  }

  .career-column-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .career-column h3 {
    font-size: 1.08rem;
  }

  .career-column-title span {
    font-size: .76rem;
  }

  .career-view-link {
    padding: .5rem .68rem;
    font-size: .74rem;
  }

  .career-list {
    gap: .6rem;
    padding: .7rem;
  }

  .career-card {
    padding: .8rem;
    border-radius: 14px;
  }

  .career-card-top {
    margin-bottom: .55rem;
  }

  .career-pill {
    padding: .32rem .5rem;
    font-size: .68rem;
  }

  .career-arrow {
    width: 30px;
    height: 30px;
  }

  .career-card h4 {
    margin-bottom: .32rem;
    font-size: .96rem;
  }

  .career-org {
    margin-bottom: .55rem;
    font-size: .8rem;
  }

  .career-meta {
    gap: .35rem;
    font-size: .7rem;
  }

  .career-meta span {
    padding: .28rem .42rem;
  }

  .drafting-grid {
    grid-template-columns: 1fr;
    gap: .85rem;
  }

  .drafting-card-pro {
    min-height: 245px;
    padding: .9rem .9rem .8rem 1rem;
    border-radius: 17px;
  }

  .drafting-card-top {
    margin-bottom: .75rem;
  }

  .drafting-doc-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 1.05rem;
  }

  .drafting-product-meta strong {
    font-size: .84rem;
  }

  .drafting-product-meta span {
    font-size: .72rem;
  }

  .draft-file-pill {
    padding: .36rem .52rem;
    font-size: .68rem;
  }

  .drafting-card-pro h3 {
    margin-bottom: .65rem;
    font-size: 1.05rem;
  }

  .drafting-price-line {
    margin-bottom: .7rem;
  }

  .draft-sale-price,
  .draft-free-price {
    font-size: 1rem;
  }

  .draft-discount-price {
    font-size: .8rem;
  }

  .draft-card-features {
    gap: .35rem;
    margin-bottom: .75rem;
  }

  .draft-card-features li {
    padding: .32rem .44rem;
    font-size: .68rem;
  }

  .drafting-card-footer {
    padding: .62rem .72rem;
    border-radius: 12px;
    font-size: .78rem;
  }
}

@media (max-width: 399.98px) {

  .latest-articles-section,
  .latest-judgments-section,
  .career-opportunities-section,
  .drafting-showcase-section {
    padding: 2.75rem 0;
  }

  .latest-articles-section .section-heading,
  .latest-judgments-section .section-heading,
  .career-opportunities-section .section-heading,
  .drafting-showcase-section .section-heading {
    font-size: 1.6rem;
  }

  .latest-articles-section .section-subtitle,
  .latest-judgments-section .section-subtitle,
  .career-opportunities-section .section-subtitle,
  .drafting-showcase-section .section-subtitle {
    font-size: .84rem;
  }

  .article-media {
    height: 160px;
  }

  .career-opportunities-section>.container>.d-flex>.d-flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .career-column-header {
    align-items: flex-start;
  }

  .drafting-card-pro {
    min-height: 230px;
  }
}

/* Courses listing responsive layout */
.course-filter-card .form-control,
.course-filter-card .form-select,
.course-filter-card .choices__inner {
  min-height: 44px;
  border-color: #dfe5ed;
  border-radius: 10px;
  font-size: .9rem;
}

.course-filter-card .btn {
  min-height: 44px;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 700;
}

.course-pagination {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.course-pagination nav {
  max-width: 100%;
}

.course-pagination .pagination {
  flex-wrap: wrap;
  justify-content: center;
  gap: .3rem;
  margin: 0;
}

.course-pagination .page-item {
  margin: 0;
}

.course-pagination .page-link {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .35rem .65rem;
  border: 1px solid #dfe3e9;
  border-radius: 8px !important;
  color: #374151;
  background: #fff;
  box-shadow: none;
  font-size: .82rem;
}

.course-pagination .page-link:hover {
  color: #111827;
  border-color: #aeb6c2;
  background: #f5f6f8;
}

.course-pagination .page-item.active .page-link {
  color: #fff;
  border-color: #172033;
  background: #172033;
}

.course-pagination .page-item.disabled .page-link {
  color: #a7adb7;
  border-color: #eceef1;
  background: #f8f9fa;
}

.course-pagination .page-link:focus {
  box-shadow: 0 0 0 3px rgba(23, 32, 51, .1);
}

@media (max-width: 991.98px) {
  .courses-hero {
    padding: 4.5rem 0 4rem;
  }

  .courses-hero h1 {
    font-size: clamp(2.25rem, 7vw, 3.8rem);
  }

  .courses-hero p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .courses-wrap {
    padding: 4rem 0;
  }

  .course-filter-card {
    margin-top: -2rem;
    padding: .9rem;
    border-radius: 15px;
  }

  .courses-section-head {
    margin: 2.4rem 0 1.2rem;
  }

  .courses-section-head h2 {
    font-size: 1.75rem;
  }

  .courses-count {
    font-size: .9rem;
  }

  .courses-wrap>.container>.row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }

  .course-card-media {
    height: 190px;
  }

  .premium-course-body {
    padding: 1.05rem;
  }

  .premium-course-title {
    min-height: 3rem;
    font-size: 1.1rem;
  }

  .course-institute {
    font-size: .88rem;
  }
}

@media (max-width: 767.98px) {
  .courses-hero {
    padding: 3.5rem 0 3.8rem;
  }

  .courses-hero .page-kicker {
    padding: .36rem .62rem;
    margin-bottom: .7rem;
    font-size: .72rem;
  }

  .courses-hero h1 {
    margin-bottom: .7rem;
    font-size: clamp(1.9rem, 9vw, 2.75rem);
    line-height: 1.08;
  }

  .courses-hero p {
    font-size: .88rem;
    line-height: 1.55;
  }

  .courses-hero .page-hero-stats {
    gap: .5rem;
    margin-top: 1.1rem;
  }

  .courses-hero .page-hero-stat {
    flex: 1 1 calc(50% - .5rem);
    padding: .65rem .75rem;
    border-radius: 11px;
  }

  .courses-hero .page-hero-stat strong {
    font-size: 1.05rem;
  }

  .courses-hero .page-hero-stat span {
    font-size: .68rem;
  }

  .courses-wrap {
    padding: 3rem 0;
  }

  .course-filter-card {
    margin-top: -1.6rem;
    padding: .75rem;
    border-radius: 13px;
  }

  .course-filter-card .row {
    --bs-gutter-x: .7rem;
    --bs-gutter-y: .7rem;
  }

  .filter-label {
    margin-bottom: .25rem;
    font-size: .68rem;
  }

  .course-filter-card .form-control,
  .course-filter-card .form-select,
  .course-filter-card .choices__inner {
    min-height: 41px;
    font-size: .82rem;
  }

  .course-filter-card .btn {
    min-height: 41px;
    font-size: .8rem;
  }

  .courses-section-head {
    gap: .65rem;
    margin: 2rem 0 1rem;
  }

  .courses-section-head h2 {
    font-size: 1.5rem;
  }

  .courses-count {
    font-size: .8rem;
  }

  .courses-section-head .btn {
    padding: .5rem .8rem;
    font-size: .75rem;
  }

  .premium-course-card {
    border-radius: 15px;
  }

  .course-card-media {
    height: 175px;
  }

  .course-badges {
    left: .75rem;
    right: .75rem;
    bottom: .75rem;
    gap: .35rem;
  }

  .course-pill {
    padding: .34rem .52rem;
    font-size: .68rem;
  }

  .premium-course-body {
    padding: .9rem;
  }

  .premium-course-title {
    min-height: auto;
    margin-bottom: .4rem;
    font-size: 1.04rem;
    line-height: 1.3;
  }

  .premium-course-body .course-institute {
    margin-bottom: .7rem;
    font-size: .8rem;
  }

  .premium-course-body .course-meta-grid {
    gap: .4rem;
    margin-bottom: .8rem;
  }

  .premium-course-body .course-meta-chip {
    gap: .3rem;
    padding: .44rem .48rem;
    border-radius: 9px;
    font-size: .72rem;
  }

  .premium-course-body .course-card-footer {
    gap: .55rem;
    padding-top: .75rem;
  }

  .premium-course-body .course-price {
    font-size: .88rem;
  }

  .premium-course-body .course-price small {
    font-size: .64rem;
  }

  .premium-course-body .course-cta {
    padding: .5rem .68rem;
    font-size: .72rem;
  }

  .empty-courses {
    padding: 2.5rem .9rem;
    border-radius: 14px;
  }

  .empty-courses h5 {
    font-size: 1.05rem;
  }

  .empty-courses p {
    font-size: .82rem;
  }

  .empty-courses .btn {
    padding: .55rem .85rem;
    font-size: .76rem;
  }

  .course-pagination {
    margin-top: 2rem;
  }

  .course-pagination .pagination {
    gap: .2rem;
  }

  .course-pagination .page-link {
    min-width: 33px;
    height: 33px;
    padding: .25rem .5rem;
    font-size: .75rem;
  }
}

@media (max-width: 399.98px) {
  .courses-hero h1 {
    font-size: 1.75rem;
  }

  .courses-hero p {
    font-size: .82rem;
  }

  .courses-wrap {
    padding: 2.6rem 0;
  }

  .course-card-media {
    height: 160px;
  }

  .premium-course-body {
    padding: .82rem;
  }

  .premium-course-body .course-meta-chip {
    font-size: .68rem;
  }

  .course-pagination .page-item:not(.active):not(:first-child):not(:last-child) {
    display: none;
  }
}

/* Shared Home + Courses typography scale */
:root {
  --ui-hero-title: clamp(2.15rem, 4.25vw, 4.25rem);
  --ui-hero-copy: 1.03rem;
  --ui-section-title: clamp(2rem, 3vw, 3.2rem);
  --ui-section-copy: 1.05rem;
  --ui-card-title: 1.2rem;
  --ui-card-copy: .92rem;
  --ui-button-text: .88rem;
}

.home-hero-carousel .hero-copy h1,
.courses-hero h1,
.blogs-hero h1 {
  font-size: var(--ui-hero-title);
  line-height: 1.03;
}

.home-hero-carousel .hero-copy p,
.courses-hero p,
.blogs-hero p {
  font-size: var(--ui-hero-copy);
  line-height: 1.65;
}

.featured-courses-section .section-heading,
.latest-articles-section .section-heading,
.latest-judgments-section .section-heading,
.career-opportunities-section .section-heading,
.drafting-showcase-section .section-heading,
.courses-section-head h2,
.blogs-section-head h2 {
  font-size: var(--ui-section-title);
  line-height: 1.05;
}

.featured-courses-section .section-subtitle,
.latest-articles-section .section-subtitle,
.latest-judgments-section .section-subtitle,
.career-opportunities-section .section-subtitle,
.drafting-showcase-section .section-subtitle {
  font-size: var(--ui-section-copy);
  line-height: 1.6;
}

.featured-course-title,
.premium-course-title,
.blog-title,
.article-title,
.judgment-card-title,
.career-card h4,
.drafting-card-pro h3 {
  font-size: var(--ui-card-title);
  line-height: 1.28;
}

.featured-course-body .course-institute,
.premium-course-body .course-institute,
.blog-excerpt,
.article-excerpt,
.judgment-meta-list,
.career-org,
.career-meta {
  font-size: var(--ui-card-copy);
  line-height: 1.5;
}

.home-hero-carousel .hero-actions .btn,
.featured-courses-section>.container>.d-flex>.btn,
.courses-section-head .btn,
.featured-course-body .course-cta,
.premium-course-body .course-cta,
.blog-link,
.article-link,
.judgment-link,
.career-view-link,
.drafting-card-footer {
  font-size: var(--ui-button-text);
}

@media (max-width: 991.98px) {
  :root {
    --ui-hero-title: clamp(2rem, 6vw, 3.4rem);
    --ui-hero-copy: .96rem;
    --ui-section-title: clamp(1.9rem, 5vw, 2.65rem);
    --ui-section-copy: .98rem;
    --ui-card-title: 1.1rem;
    --ui-card-copy: .88rem;
    --ui-button-text: .82rem;
  }
}

@media (max-width: 767.98px) {
  :root {
    --ui-hero-title: clamp(1.75rem, 8.5vw, 2.7rem);
    --ui-hero-copy: .9rem;
    --ui-section-title: 1.8rem;
    --ui-section-copy: .9rem;
    --ui-card-title: 1.05rem;
    --ui-card-copy: .82rem;
    --ui-button-text: .76rem;
  }

  .home-hero-carousel .hero-copy h1,
  .courses-hero h1,
  .blogs-hero h1 {
    line-height: 1.08;
  }

  .home-hero-carousel .hero-copy p,
  .courses-hero p,
  .blogs-hero p {
    line-height: 1.55;
  }

  .featured-courses-section .section-heading,
  .latest-articles-section .section-heading,
  .latest-judgments-section .section-heading,
  .career-opportunities-section .section-heading,
  .drafting-showcase-section .section-heading,
  .courses-section-head h2,
  .blogs-section-head h2 {
    line-height: 1.12;
  }
}

/* Keep course filters above listing cards while a select is open */
.courses-wrap .course-filter-card {
  z-index: 100;
  overflow: visible;
  isolation: isolate;
}

.courses-wrap .course-filter-card .choices {
  position: relative;
  z-index: 1;
}

.courses-wrap .course-filter-card .choices.is-open {
  z-index: 2000;
}

.courses-wrap .course-filter-card .choices__list--dropdown,
.courses-wrap .course-filter-card .choices__list[aria-expanded] {
  z-index: 2100;
}

.courses-wrap .courses-section-head,
.courses-wrap .premium-course-card {
  position: relative;
  z-index: 1;
}

/* Logo-based frontend color system */
:root {
  --color-primary: #2563EB;
  --color-dark: #0F172A;
  --color-secondary: #10B981;
  --color-white: #FFFFFF;
  --color-primary-soft: rgba(37, 99, 235, .09);
  --color-primary-border: rgba(37, 99, 235, .2);
  --color-dark-soft: rgba(15, 23, 42, .08);
  --color-secondary-soft: rgba(16, 185, 129, .1);
  --theme-hero: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary) 100%);
  --theme-section: linear-gradient(180deg, var(--color-white) 0%, rgba(37, 99, 235, .045) 100%);
}

body {
  color: var(--color-dark);
  background: var(--color-white);
}

/* Header and footer */

.premium-navbar .brand-fallback-mark,
.footer-brand-mark {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.premium-navbar .brand-subtitle,
.page-eyebrow,
.about-eyebrow,
.section-kicker {
  color: var(--color-secondary);
}

.site-nav .nav-link::after {
  background: var(--color-secondary);
}

.nav-cta {
  color: var(--color-white);
  background: var(--color-primary);
  box-shadow: 0 10px 25px rgba(37, 99, 235, .24);
}

.nav-cta:hover {
  color: var(--color-white);
  background: var(--color-secondary);
}

.site-footer {
  background: linear-gradient(135deg, var(--color-dark) 0%, rgba(15, 23, 42, .96) 55%, var(--color-primary) 160%);
}

.footer-socials a:hover,
.footer-contact-card i {
  color: var(--color-white);
  background: var(--color-primary);
}

/* All primary page banners */
.courses-hero,
.blogs-hero,
.judgments-hero,
.library-hero,
.draft-store-hero,
.quiz-list-hero,
.internship-hero,
.jobs-hero,
.contact-hero,
.ad-hero,
.write-hero,
.about-hero,
.search-page-hero {
  color: var(--color-white);
  background: radial-gradient(circle at 82% 18%, rgba(16, 185, 129, .22), transparent 24rem), var(--theme-hero);
}

.page-kicker,
.library-kicker,
.draft-store-kicker,
.quiz-list-kicker,
.internship-kicker,
.jobs-kicker,
.ad-kicker,
.write-kicker,
.hero-tagline {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .1);
}

.page-hero-stat,
.ad-stat {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .1);
}

/* Shared section surfaces */
.featured-courses-section,
.latest-articles-section,
.latest-judgments-section,
.career-opportunities-section,
.drafting-showcase-section,
.courses-wrap,
.blogs-wrap,
.judgments-wrap,
.library-body,
.draft-store-body,
.quiz-list-body,
.internship-body,
.jobs-body,
.contact-wrap,
.about-story-section,
.about-cta-section,
.ad-wrap,
.write-wrap,
.content-section {
  background: var(--theme-section);
}

.course-filter-card,
.blog-filter-card,
.judgment-filter-card,
.library-search,
.draft-filter,
.internship-filter,
.jobs-filter,
.surface-card,
.premium-course-card,
.blog-card-premium,
.judgment-list-card,
.act-card,
.draft-template-card,
.quiz-card,
.internship-card,
.job-list-card,
.contact-panel,
.map-card,
.ad-package,
.ad-form-card,
.editorial-card,
.write-form-card,
.about-values-grid article {
  border-color: var(--color-primary-border);
  background: var(--color-white);
}

/* Buttons and clickable CTAs */
main .btn-primary,
main .btn-dark,
main button[type="submit"],
.header-search-form button[type="submit"],
.footer-newsletter .btn,
.home-hero-carousel .btn-light,
.course-cta,
.blog-link,
.article-link,
.judgment-link,
.judgment-cta,
.purchase-btn,
.submit-quiz-btn,
.ad-submit,
.write-submit,
.common-pill-btn,
.about-primary-btn,
.about-cta-card a,
.drafting-card-footer {
  color: var(--color-white);
  border-color: var(--color-primary);
  background: var(--color-primary);
  box-shadow: none;
}

main .btn-primary:hover,
main .btn-dark:hover,
main button[type="submit"]:hover,
.header-search-form button[type="submit"]:hover,
.footer-newsletter .btn:hover,
.home-hero-carousel .btn-light:hover,
.course-cta:hover,
.blog-link:hover,
.article-link:hover,
.judgment-link:hover,
.judgment-cta:hover,
.purchase-btn:hover,
.submit-quiz-btn:hover,
.ad-submit:hover,
.write-submit:hover,
.common-pill-btn:hover,
.about-primary-btn:hover,
.about-cta-card a:hover,
.drafting-card-footer:hover {
  color: var(--color-white);
  border-color: var(--color-secondary);
  background: var(--color-secondary);
}

main .btn-outline-dark,
main .btn-outline-primary,
.reset-link,
.career-view-link,
.side-link {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: var(--color-white);
}

main .btn-outline-light,
.home-hero-carousel .btn-outline-light {
  color: var(--color-white);
  border-color: var(--color-white);
  background: transparent;
}

main .btn-outline-light:hover,
.home-hero-carousel .btn-outline-light:hover {
  color: var(--color-dark);
  border-color: var(--color-white);
  background: var(--color-white);
}

main .btn-outline-dark:hover,
main .btn-outline-primary:hover,
.reset-link:hover,
.career-view-link:hover,
.side-link:hover {
  color: var(--color-white);
  border-color: var(--color-primary);
  background: var(--color-primary);
}

/* Badges, icons and active states */
.section-eyebrow,
.course-pill,
.blog-category-pill,
.article-category-pill,
.act-badge,
.draft-card-chip,
.career-pill,
.category-link.active,
.draft-category-link.active {
  color: var(--color-white);
  border-color: var(--color-primary-border);
  background: var(--color-dark);
  box-shadow: none;
}

.course-pill.featured,
.court-pill,
.judgment-court-pill,
.draft-free-price {
  color: var(--color-secondary);
  background: var(--color-secondary-soft);
}

.course-meta-chip i,
.article-meta i,
.blog-meta i,
.judgment-meta i,
.career-meta i,
.quick-help i {
  color: var(--color-primary);
}

.career-column-icon,
.contact-info-icon,
.ad-package .icon,
.empty-state-icon {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.career-column.internship .career-column-icon,
.career-column.job .career-column-icon {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

/* Cards and media */
.course-card-media,
.course-media,
.article-media,
.blog-card-media,
.judgment-list-top,
.judgment-card-top {
  background: linear-gradient(135deg, var(--color-dark), var(--color-primary));
}

.premium-course-card:hover,
.featured-course-card:hover,
.blog-card-premium:hover,
.article-card-premium:hover,
.judgment-list-card:hover,
.judgment-card-premium:hover,
.act-card:hover,
.draft-template-card:hover,
.quiz-card:hover,
.internship-card:hover,
.job-list-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 24px 60px rgba(37, 99, 235, .16);
}

.premium-course-title a:hover,
.featured-course-title a:hover,
.blog-title a:hover,
.article-title a:hover,
.judgment-title a:hover {
  color: var(--color-primary);
}

/* Forms */
main .form-control:focus,
main .form-select:focus,
main .choices.is-focused .choices__inner,
main .choices.is-open .choices__inner {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}

/* Simple pagination */
.simple-pagination .page-link {
  color: var(--color-dark);
  border-color: var(--color-dark-soft);
  background: var(--color-white);
}

.simple-pagination .page-link:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
}

.simple-pagination .page-item.active .page-link {
  color: var(--color-white);
  border-color: var(--color-primary);
  background: var(--color-primary);
}

.simple-pagination .page-link:focus {
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}

/* Loader follows the same palette */
.loader-ring {
  border-color: var(--color-primary-soft);
  border-top-color: var(--color-primary);
  border-right-color: var(--color-secondary);
}

/* Theme specificity fixes */
.site-nav .dropdown-toggle::after,
.site-nav .dropdown-toggle:hover::after,
.site-nav .dropdown-toggle:focus::after,
.site-nav .dropdown-toggle.show::after {
  background: transparent !important;
  color: var(--color-white) !important;
}

.career-column-title .career-column-icon,
.career-column-title .career-column-icon .bi,
.career-column-title .career-column-icon .bi::before {
  color: var(--color-white) !important;
}

.career-column-title .career-column-icon {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)) !important;
  border: 0;
  opacity: 1;
}

.drafting-card-pro .draft-free-price,
.draft-template-card .draft-free-price {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--color-secondary) !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Shared simple pagination */
.simple-pagination {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.simple-pagination nav {
  max-width: 100%;
}

.simple-pagination .pagination {
  flex-wrap: wrap;
  justify-content: center;
  gap: .3rem;
  margin: 0;
}

.simple-pagination .page-item {
  margin: 0;
}

.simple-pagination .page-link {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .35rem .65rem;
  border: 1px solid #dfe3e9;
  border-radius: 8px !important;
  color: #374151;
  background: #fff;
  box-shadow: none;
  font-size: .82rem;
}

.simple-pagination .page-link:hover {
  color: #111827;
  border-color: #aeb6c2;
  background: #f5f6f8;
}

.simple-pagination .page-item.active .page-link {
  color: #fff;
  border-color: #172033;
  background: #172033;
}

.simple-pagination .page-item.disabled .page-link {
  color: #a7adb7;
  border-color: #eceef1;
  background: #f8f9fa;
}

.simple-pagination .page-link:focus {
  box-shadow: 0 0 0 3px rgba(23, 32, 51, .1);
}

/* Blog listing responsive layout */
.blog-filter-card .form-control,
.blog-filter-card .form-select,
.blog-filter-card .choices__inner {
  min-height: 44px;
  border-color: #dfe5ed;
  border-radius: 10px;
  font-size: .9rem;
}

.blog-filter-card .btn {
  min-height: 44px;
  border-radius: 10px;
  font-size: var(--ui-button-text);
  font-weight: 700;
}

@media (max-width:991.98px) {
  .blogs-hero {
    padding: 4.5rem 0 4rem;
  }

  .blogs-wrap {
    padding-bottom: 4rem;
  }

  .blog-filter-card {
    margin-top: -2rem;
    padding: .9rem;
    border-radius: 15px;
  }

  .blogs-section-head {
    margin: 2.4rem 0 1.2rem;
  }

  .blogs-count {
    font-size: .9rem;
  }

  .blogs-wrap>.container>.row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }

  .blog-card-media {
    height: 190px;
  }

  .blog-card-body {
    padding: 1.05rem;
  }

  .blog-title {
    min-height: 3rem;
  }
}

@media (max-width:767.98px) {
  .blogs-hero {
    padding: 3.5rem 0 3.8rem;
  }

  .blogs-hero .page-kicker {
    padding: .36rem .62rem;
    margin-bottom: .7rem;
    font-size: .72rem;
  }

  .blogs-hero h1 {
    margin-bottom: .7rem;
  }

  .blogs-hero .page-hero-stats {
    gap: .5rem;
    margin-top: 1.1rem;
  }

  .blogs-hero .page-hero-stat {
    flex: 1 1 calc(50% - .5rem);
    padding: .65rem .75rem;
    border-radius: 11px;
  }

  .blogs-hero .page-hero-stat strong {
    font-size: 1.05rem;
  }

  .blogs-hero .page-hero-stat span {
    font-size: .68rem;
  }

  .blogs-wrap {
    padding-bottom: 3rem;
  }

  .blog-filter-card {
    margin-top: -1.6rem;
    padding: .75rem;
    border-radius: 13px;
  }

  .blog-filter-card .row {
    --bs-gutter-x: .7rem;
    --bs-gutter-y: .7rem;
  }

  .blog-filter-card .form-control,
  .blog-filter-card .form-select,
  .blog-filter-card .choices__inner {
    min-height: 41px;
    font-size: .82rem;
  }

  .blog-filter-card .btn {
    min-height: 41px;
  }

  .blogs-section-head {
    gap: .65rem;
    margin: 2rem 0 1rem;
  }

  .blogs-count {
    font-size: .8rem;
  }

  .blogs-section-head .btn {
    padding: .5rem .8rem;
    font-size: var(--ui-button-text);
  }

  .blog-card-premium {
    border-radius: 15px;
  }

  .blog-card-media {
    height: 175px;
  }

  .blog-category-pill {
    left: .75rem;
    bottom: .75rem;
    padding: .34rem .52rem;
    font-size: .68rem;
  }

  .blog-card-body {
    padding: .9rem;
  }

  .blog-meta {
    gap: .5rem;
    margin-bottom: .55rem;
    font-size: .72rem;
  }

  .blog-title {
    min-height: auto;
    margin-bottom: .4rem;
  }

  .blog-excerpt {
    min-height: auto;
    margin-bottom: .75rem;
  }

  .blog-tags {
    gap: .3rem;
    margin-bottom: .75rem;
  }

  .blog-tags span {
    padding: .27rem .42rem;
    font-size: .66rem;
  }

  .blog-link {
    padding: .5rem .68rem;
  }

  .empty-blogs {
    padding: 2.5rem .9rem;
    border-radius: 14px;
  }

  .empty-blogs h5 {
    font-size: 1.05rem;
  }

  .empty-blogs p {
    font-size: .82rem;
  }

  .empty-blogs .btn {
    padding: .55rem .85rem;
    font-size: var(--ui-button-text);
  }

  .simple-pagination {
    margin-top: 2rem;
  }

  .simple-pagination .pagination {
    gap: .2rem;
  }

  .simple-pagination .page-link {
    min-width: 33px;
    height: 33px;
    padding: .25rem .5rem;
    font-size: .75rem;
  }
}

@media (max-width:399.98px) {
  .blogs-wrap {
    padding-bottom: 2.6rem;
  }

  .blog-card-media {
    height: 160px;
  }

  .blog-card-body {
    padding: .82rem;
  }

  .simple-pagination .page-item:not(.active):not(:first-child):not(:last-child) {
    display: none;
  }
}

/* Shared typography for remaining frontend pages */
.judgments-hero h1,
.library-hero h1,
.draft-store-hero h1,
.quiz-list-hero h1,
.internship-hero h1,
.jobs-hero h1,
.about-hero h1,
.contact-hero h1,
.ad-hero h1,
.write-hero h1 {
  font-size: var(--ui-hero-title);
  line-height: 1.03
}

.judgments-hero p,
.library-hero p,
.draft-store-hero p,
.quiz-list-hero p,
.internship-hero p,
.jobs-hero p,
.about-hero p,
.contact-hero p,
.ad-hero p,
.write-hero p {
  font-size: var(--ui-hero-copy);
  line-height: 1.65
}

.judgments-section-head h2,
.draft-store-body h2.mb-1,
.quiz-list-body h2.mb-1,
.internship-body h2.mb-1,
.jobs-body h2.mb-1,
.about-story-section h2,
.ad-section-title h2,
.editorial-card h2 {
  font-size: var(--ui-section-title);
  line-height: 1.1
}

.judgment-title,
.act-card h2,
.draft-template-card h2,
.quiz-card h2,
.internship-card h2,
.job-list-card h2,
.about-values-grid h3,
.ad-package h3 {
  font-size: var(--ui-card-title);
  line-height: 1.3
}

.judgment-summary,
.act-card p,
.quiz-card p,
.internship-card p,
.job-list-card p,
.about-values-grid p,
.ad-package p,
.editorial-card p {
  font-size: var(--ui-card-copy);
  line-height: 1.55
}

/* Common responsive controls */
.judgment-filter-card .form-control,
.judgment-filter-card .form-select,
.library-search .form-control,
.library-search .form-select,
.draft-filter .form-control,
.draft-filter .form-select,
.internship-filter .form-control,
.internship-filter .form-select,
.jobs-filter .form-control,
.jobs-filter .form-select,
.ad-form-card .form-control,
.write-form-card .form-control,
.contact-form-body .form-control {
  min-height: 44px;
  border-radius: 10px;
  font-size: .9rem
}

@media(max-width:991.98px) {

  .judgments-hero,
  .library-hero,
  .draft-store-hero,
  .quiz-list-hero,
  .internship-hero,
  .jobs-hero,
  .contact-hero,
  .ad-hero,
  .write-hero {
    padding: 4.5rem 0 4rem
  }

  .judgments-wrap,
  .library-body,
  .draft-store-body,
  .quiz-list-body,
  .internship-body,
  .jobs-body,
  .contact-wrap,
  .ad-wrap,
  .write-wrap {
    padding-top: 4rem;
    padding-bottom: 4rem
  }

  .judgment-filter-card,
  .library-search,
  .draft-filter,
  .internship-filter,
  .jobs-filter {
    padding: .9rem;
    border-radius: 15px
  }

  .judgments-section-head {
    margin: 2.4rem 0 1.2rem
  }

  .judgments-wrap>.container>.row,
  .quiz-grid,
  .internship-list,
  .jobs-list {
    gap: 1rem
  }

  .library-layout,
  .draft-store-layout {
    gap: 1.25rem
  }

  .act-grid,
  .draft-template-grid {
    gap: 1rem
  }

  .ad-package-grid {
    gap: 1rem
  }

  .about-story-section {
    padding: 5rem 0
  }

  .about-values-grid {
    margin-top: 3rem;
    gap: 1rem
  }
}

@media(max-width:767.98px) {

  .site-nav .dropdown-toggle::after,
  .site-nav .dropdown-toggle:hover::after,
  .site-nav .dropdown-toggle:focus::after,
  .site-nav .dropdown-toggle.show::after {
    display: inline-block !important;
    position: static !important;
    width: .35em !important;
    height: .35em !important;
    margin: -.2em 0 0 .45em !important;
    border: 0 !important;
    border-right: 1px solid currentColor !important;
    border-bottom: 1px solid currentColor !important;
    opacity: .75 !important;
    transform: rotate(45deg) !important;
    background: none !important
  }

  .judgments-hero,
  .library-hero,
  .draft-store-hero,
  .quiz-list-hero,
  .internship-hero,
  .jobs-hero,
  .contact-hero,
  .ad-hero,
  .write-hero {
    padding: 3.5rem 0 3.8rem
  }

  .judgments-hero h1,
  .library-hero h1,
  .draft-store-hero h1,
  .quiz-list-hero h1,
  .internship-hero h1,
  .jobs-hero h1,
  .about-hero h1,
  .contact-hero h1,
  .ad-hero h1,
  .write-hero h1 {
    line-height: 1.08
  }

  .judgments-hero p,
  .library-hero p,
  .draft-store-hero p,
  .quiz-list-hero p,
  .internship-hero p,
  .jobs-hero p,
  .about-hero p,
  .contact-hero p,
  .ad-hero p,
  .write-hero p {
    line-height: 1.55
  }

  .page-kicker,
  .library-kicker,
  .draft-store-kicker,
  .quiz-list-kicker,
  .internship-kicker,
  .jobs-kicker,
  .ad-kicker,
  .write-kicker {
    padding: .36rem .62rem;
    margin-bottom: .7rem;
    font-size: .72rem
  }

  .judgments-hero .page-hero-stats,
  .ad-stats {
    gap: .5rem;
    margin-top: 1.1rem
  }

  .judgments-hero .page-hero-stat,
  .ad-stat {
    padding: .65rem .75rem;
    border-radius: 11px
  }

  .judgments-hero .page-hero-stat strong,
  .ad-stat strong {
    font-size: 1.05rem
  }

  .judgments-hero .page-hero-stat span,
  .ad-stat span {
    font-size: .68rem
  }

  .judgments-wrap,
  .library-body,
  .draft-store-body,
  .quiz-list-body,
  .internship-body,
  .jobs-body,
  .contact-wrap,
  .ad-wrap,
  .write-wrap {
    padding-top: 3rem;
    padding-bottom: 3rem
  }

  .judgment-filter-card,
  .library-search,
  .draft-filter,
  .internship-filter,
  .jobs-filter {
    padding: .75rem;
    border-radius: 13px
  }

  .judgment-filter-card .row,
  .library-search.row,
  .draft-filter.row,
  .internship-filter.row,
  .jobs-filter.row {
    --bs-gutter-x: .7rem;
    --bs-gutter-y: .7rem
  }

  .judgment-filter-card .form-control,
  .judgment-filter-card .form-select,
  .library-search .form-control,
  .library-search .form-select,
  .draft-filter .form-control,
  .draft-filter .form-select,
  .internship-filter .form-control,
  .internship-filter .form-select,
  .jobs-filter .form-control,
  .jobs-filter .form-select,
  .ad-form-card .form-control,
  .write-form-card .form-control,
  .contact-form-body .form-control {
    min-height: 41px;
    font-size: .82rem
  }

  .judgments-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: .65rem;
    margin: 2rem 0 1rem
  }

  .judgments-count {
    font-size: .8rem
  }

  .judgments-section-head .btn {
    padding: .5rem .8rem;
    font-size: var(--ui-button-text)
  }

  .judgment-list-card,
  .act-card,
  .draft-template-card,
  .quiz-card,
  .internship-card,
  .job-list-card,
  .ad-package,
  .editorial-card {
    border-radius: 15px
  }

  .judgment-list-top,
  .judgment-list-body,
  .act-card,
  .draft-template-card,
  .quiz-card,
  .internship-card,
  .job-list-card,
  .ad-package,
  .editorial-card {
    padding: .9rem
  }

  .judgment-title,
  .act-card h2,
  .draft-template-card h2,
  .quiz-card h2,
  .internship-card h2,
  .job-list-card h2 {
    min-height: auto;
    margin-bottom: .45rem
  }

  .court-pill,
  .act-badge,
  .draft-card-chip {
    padding: .34rem .52rem;
    font-size: .68rem
  }

  .judgment-meta,
  .act-card-meta {
    gap: .4rem;
    font-size: .72rem
  }

  .judgment-cta {
    padding: .5rem .68rem;
    font-size: var(--ui-button-text)
  }

  .library-hero .container,
  .write-hero .container {
    grid-template-columns: 1fr;
    gap: 1.2rem
  }

  .library-count-card,
  .write-note {
    padding: 1rem;
    border-radius: 15px
  }

  .library-layout,
  .draft-store-layout,
  .write-grid,
  .contact-shell,
  .ad-shell {
    grid-template-columns: 1fr;
    gap: 1rem
  }

  .category-shelf,
  .draft-category-panel {
    position: static
  }

  .act-grid,
  .draft-template-grid,
  .quiz-grid,
  .internship-list,
  .jobs-list,
  .ad-package-grid,
  .about-values-grid {
    grid-template-columns: 1fr;
    gap: .85rem
  }

  .quiz-list-body h2.mb-1,
  .internship-body h2.mb-1,
  .jobs-body h2.mb-1,
  .draft-store-body h2.mb-1 {
    margin-bottom: .3rem !important
  }

  .about-hero {
    padding: 3.8rem 0
  }

  .about-story-section {
    padding: 3.25rem 0
  }

  .about-story-section .row {
    --bs-gutter-y: 1.25rem
  }

  .about-lead {
    font-size: 1rem
  }

  .about-values-grid {
    margin-top: 2rem
  }

  .about-values-grid article {
    padding: 1.25rem;
    border-radius: 17px
  }

  .about-cta-section {
    padding-bottom: 3.25rem
  }

  .about-cta-card {
    padding: 1.5rem;
    border-radius: 20px
  }

  .about-cta-card a {
    padding: .7rem .95rem;
    font-size: var(--ui-button-text)
  }

  .contact-info-grid {
    gap: .7rem
  }

  .contact-info-card {
    padding: .9rem;
    border-radius: 14px
  }

  .contact-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px
  }

  .contact-shell {
    margin-top: 1.5rem
  }

  .contact-panel,
  .map-card {
    border-radius: 16px
  }

  .contact-panel-head,
  .contact-form-body {
    padding: 1rem
  }

  .contact-panel-head h2,
  .map-details h3 {
    font-size: var(--ui-card-title)
  }

  .contact-panel-head p,
  .map-details p {
    font-size: var(--ui-card-copy)
  }

  .contact-form-body .btn {
    padding: .65rem 1rem;
    font-size: var(--ui-button-text)
  }

  .map-frame {
    height: 260px
  }

  .ad-section-title {
    margin-bottom: 1.4rem
  }

  .ad-section-title h2 {
    font-size: var(--ui-section-title)
  }

  .ad-package .icon {
    width: 44px;
    height: 44px
  }

  .ad-process,
  .ad-form-card,
  .write-form-card {
    padding: 1rem;
    border-radius: 17px
  }

  .ad-step {
    gap: .7rem
  }

  .ad-step>strong {
    width: 34px;
    height: 34px
  }

  .ad-submit,
  .write-submit {
    min-height: 42px;
    font-size: var(--ui-button-text)
  }

  .write-note .note-top {
    align-items: flex-start
  }

  .editorial-card {
    margin-bottom: .85rem
  }

  .guideline-list {
    grid-template-columns: 1fr
  }

  .topic-strip {
    gap: .4rem
  }

  .topic-strip span,
  .write-tags span {
    font-size: .7rem
  }

  .simple-pagination {
    margin-top: 2rem
  }
}

@media(max-width:399.98px) {

  .judgments-hero,
  .library-hero,
  .draft-store-hero,
  .quiz-list-hero,
  .internship-hero,
  .jobs-hero,
  .contact-hero,
  .ad-hero,
  .write-hero {
    padding: 3rem 0 3.3rem
  }

  .judgments-wrap,
  .library-body,
  .draft-store-body,
  .quiz-list-body,
  .internship-body,
  .jobs-body,
  .contact-wrap,
  .ad-wrap,
  .write-wrap {
    padding-top: 2.6rem;
    padding-bottom: 2.6rem
  }

  .ad-stats {
    grid-template-columns: 1fr
  }

  .about-hero {
    padding: 3.2rem 0
  }

  .about-visual {
    min-height: 300px;
    padding: 1.4rem
  }

  .about-visual-copy strong {
    font-size: 2rem
  }
}

@media (max-width: 399.98px) {
  :root {
    --ui-hero-title: 1.65rem;
    --ui-hero-copy: .84rem;
    --ui-section-title: 1.6rem;
    --ui-section-copy: .84rem;
    --ui-card-title: 1rem;
    --ui-card-copy: .78rem;
    --ui-button-text: .72rem;
  }
}

/* Global frontend typography system */
:root {
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-size-body: 1rem;
  --font-size-small: .82rem;
}

body {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-regular);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body * {
  font-weight: var(--font-weight-regular) !important;
}

body .bi,
body .bi::before {
  font-weight: normal !important;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body strong,
body b,
body label,
body button,
body .btn,
body a,
body .fw-bold,
body .fw-semibold,
body [class*="-title"],
body [class*="-heading"],
body [class*="-kicker"],
body [class*="-eyebrow"],
body [class*="-pill"] {
  font-weight: var(--font-weight-medium) !important;
}

body p,
body li,
body input,
body select,
body textarea {
  font-weight: var(--font-weight-regular) !important;
}

body small,
body .small,
body [class*="-meta"],
body [class*="-count"] {
  font-size: var(--font-size-small);
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body p {
  text-wrap: pretty;
}

@media (max-width: 767.98px) {
  :root {
    --font-size-body: .94rem;
    --font-size-small: .76rem;
  }
}