/* ==========================================================================
   Content pages (/tools, /student-tools, /admissions, ...) restyled to match
   the Toolistify homepage: logo navbar, soft blue gradient background with
   decorative blobs, branded hero heading, homepage-style tool cards.
   ========================================================================== */

.content-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #f0faff 0%, #ffffff 40%, #f7fcff 70%, #eaf6ff 100%);
}

/* Decorative background blobs echoing the homepage. */
.content-page-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.content-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.content-blob-1 {
  top: -160px;
  right: -140px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 30% 30%, rgba(0, 164, 255, 0.28), rgba(0, 164, 255, 0));
}

.content-blob-2 {
  top: 40%;
  left: -180px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle at 50% 50%, rgba(199, 244, 8, 0.22), rgba(199, 244, 8, 0));
}

.content-blob-3 {
  bottom: -200px;
  right: 10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle at 50% 50%, rgba(0, 164, 255, 0.18), rgba(0, 164, 255, 0));
}

/* -------------------------------------------------------------------------- */
/* Navbar                                                                     */
/* -------------------------------------------------------------------------- */
.content-navbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1292px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 8px;
}

.content-navbar-logo {
  display: inline-flex;
  align-items: center;
}

.content-navbar-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.content-navbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 19px rgba(0, 164, 255, 0.43);
  color: #000;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.content-navbar-btn:hover,
.content-navbar-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 164, 255, 0.5);
  outline: none;
}

.content-navbar-btn-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.content-navbar-btn-arrow {
  width: 16px;
  height: 16px;
  object-fit: contain;
  transform: rotate(90deg);
}

/* -------------------------------------------------------------------------- */
/* Main container / hero                                                      */
/* -------------------------------------------------------------------------- */
.content-page .content-page-main {
  position: relative;
  z-index: 2;
  width: min(1292px, calc(100% - 48px));
  margin: 24px auto 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.content-page .toolistify-breadcrumbs {
  margin-bottom: 20px;
}

.content-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 34px;
}

.content-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 19px rgba(0, 164, 255, 0.28);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #172033;
}

.content-hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c7f408;
}

.content-page .content-hero h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.1;
  color: #111827;
}

.content-hero-subtitle {
  margin: 0;
  max-width: 760px;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
  color: #46566e;
  font-weight: 500;
}

/* -------------------------------------------------------------------------- */
/* Tool cards (homepage featured-card style)                                  */
/* -------------------------------------------------------------------------- */
.content-page .content-page-tool-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  grid-auto-rows: 1fr;
  gap: 24px;
  margin: 0 0 44px;
  align-items: stretch;
}

.content-page .content-page-tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  color: #111;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(0, 164, 255, 0.1);
  border-radius: 22px;
  box-shadow: 0 6px 18px rgba(0, 164, 255, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.content-page .content-page-tool-card:hover,
.content-page .content-page-tool-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0, 164, 255, 0.2);
  border-color: rgba(0, 164, 255, 0.38);
  outline: none;
}

/* High-specificity rules + resets so the generic global.css
   `.content-page-tool-card span` pill styling never bleeds in. */
.content-page .content-page-tool-card .content-page-tool-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: auto;
  max-width: none;
  padding: 0;
  background: none;
  border-radius: 0;
}

.content-page .content-page-tool-card .content-page-tool-icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  max-width: none;
  padding: 0;
  border-radius: 14px;
  background: rgba(0, 164, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(0, 164, 255, 0.08);
}

.content-page .content-page-tool-card .content-page-tool-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.content-page .content-page-tool-card .content-page-tool-badge {
  width: max-content;
  max-width: 100%;
  padding: 5px 11px;
  color: #0077c8;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(0, 164, 255, 0.1);
  border-radius: 999px;
}

.content-page .content-page-tool-card .content-page-tool-title {
  margin-top: 4px;
  color: #111827;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
}

.content-page .content-page-tool-card .content-page-tool-desc {
  color: #53627a;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.content-page .content-page-tool-card .content-page-tool-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  width: auto;
  max-width: none;
  padding: 10px 0 0;
  color: #00a4ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: none;
  border-radius: 0;
}

.content-page .content-page-tool-card .content-page-tool-cta-arrow {
  width: 13px;
  height: 13px;
  object-fit: contain;
  transition: transform 180ms ease;
}

.content-page .content-page-tool-card:hover .content-page-tool-cta-arrow,
.content-page .content-page-tool-card:focus-visible .content-page-tool-cta-arrow {
  transform: translateX(3px);
}

/* -------------------------------------------------------------------------- */
/* Article body / SEO content — presented in a white content card to match    */
/* the rest of the site (the standard .toolistify-content-section design).     */
/* -------------------------------------------------------------------------- */
.content-page .content-page-body {
  margin: 8px 0 0;
  padding: clamp(26px, 3.5vw, 48px);
  background:
    linear-gradient(135deg, rgba(240, 250, 255, 0.98), rgba(250, 255, 241, 0.94)),
    #fff;
  border: 1px solid rgba(0, 164, 255, 0.18);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(0, 164, 255, 0.12);
}

.content-page .content-page-body > :first-child {
  margin-top: 0;
}

.content-page .content-page-body > :last-child {
  margin-bottom: 0;
}

/* Keep long-form copy at a comfortable reading measure inside the card. */
.content-page .content-page-body :where(p, ul, ol, table, blockquote, h2, h3) {
  max-width: 900px;
}

.content-page .toolistify-page-backend-section {
  position: relative;
  z-index: 2;
  width: min(1292px, calc(100% - 48px));
  margin: 24px auto 0;
  padding: clamp(26px, 3.5vw, 48px);
  background:
    linear-gradient(135deg, rgba(240, 250, 255, 0.98), rgba(250, 255, 241, 0.94)),
    #fff;
  border: 1px solid rgba(0, 164, 255, 0.18);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(0, 164, 255, 0.12);
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                      */
/* -------------------------------------------------------------------------- */
.content-footer {
  position: relative;
  z-index: 2;
  width: min(1292px, calc(100% - 48px));
  margin: 56px auto 0;
  padding: 28px 0 40px;
  border-top: 1px solid rgba(0, 164, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.content-footer-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.content-footer-text {
  color: #53627a;
  font-size: 14px;
  font-weight: 500;
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                  */
/* -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .content-navbar {
    width: calc(100% - 32px);
    padding: 16px 0 4px;
  }

  .content-navbar-logo img {
    height: 34px;
  }

  .content-navbar-btn {
    padding: 9px 14px;
    font-size: 13px;
  }

  .content-page .content-page-main {
    width: calc(100% - 32px);
    margin-top: 18px;
  }

  .content-page .content-page-tool-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .content-page .toolistify-page-backend-section {
    width: calc(100% - 32px);
    padding: 22px 18px;
  }

  .content-footer {
    width: calc(100% - 32px);
    justify-content: center;
    text-align: center;
  }
}
