.site-navbar {
  background: linear-gradient(105deg, #07101d 0%, #101b31 58%, #111b2c 100%) !important;
  border-bottom: 1px solid rgba(103, 232, 249, 0.24);
  box-shadow: 0 10px 30px rgba(2, 8, 23, 0.24);
  padding: 0.45rem 0;
}

.site-navbar .navbar-brand {
  align-items: center;
  display: flex;
  margin-right: 1.4rem;
  padding: 0;
}

.site-logo {
  display: block;
  height: auto;
  max-width: 100%;
  width: 207px;
}

.site-navbar .nav-link {
  border-radius: 0.45rem;
  color: #dbeafe;
  font-size: 0.78rem;
  letter-spacing: 0.035em;
  padding-left: 0.7rem !important;
  padding-right: 0.7rem !important;
  transition: background-color 160ms ease, color 160ms ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus,
.site-navbar .nav-link.show {
  background: rgba(103, 232, 249, 0.1);
  color: #ffffff;
}

.site-navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.32);
}

@media (max-width: 1199.98px) {
  .site-logo {
    width: 184px;
  }

  .site-navbar .nav-link {
    font-size: 0.72rem;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
}

@media (max-width: 575.98px) {
  .site-logo {
    width: 176px;
  }
}

.tool-page-body {
  background: #f4f6f8;
  color: #172033;
}

.tool-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

.tool-hero {
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 12px 34px rgba(20, 35, 60, 0.08);
}

.tool-kicker {
  color: #0f766e;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool-hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.06;
  margin: 8px 0 16px;
}

.tool-hero p,
.tool-section-header p,
.tool-card p,
.tool-content-card p,
.tool-content-card li,
.tool-trust-item p {
  color: #4c5b6f;
  line-height: 1.7;
}

.tool-actions,
.tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-actions {
  margin-top: 22px;
}

.tool-action,
.tool-chip {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  text-decoration: none;
}

.tool-action.primary {
  background: #0f766e;
  color: #ffffff;
}

.tool-action.secondary,
.tool-chip {
  background: #ffffff;
  border: 1px solid #b8c4d6;
  color: #172033;
}

.tool-section {
  margin-top: 38px;
}

.tool-section-header {
  align-items: end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.tool-section-header h2 {
  font-size: 1.65rem;
  margin: 0;
}

.tool-section-header p {
  margin: 0;
  max-width: 620px;
}

.tool-grid,
.tool-trust,
.tool-two-col {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tool-card,
.tool-content-card,
.tool-trust-item,
.converter-panel {
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
}

.tool-card {
  box-shadow: 0 8px 22px rgba(20, 35, 60, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.tool-card img {
  background: #edf2f7;
  height: 150px;
  object-fit: cover;
  width: 100%;
}

.tool-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.tool-card h3 {
  font-size: 1.15rem;
  margin: 0;
}

.tool-card a.stretched-link-safe {
  color: #0f766e;
  font-weight: 700;
  margin-top: auto;
}

.tool-content-card,
.tool-trust-item,
.converter-panel {
  padding: 22px;
}

.tool-content-card ul,
.tool-content-card ol {
  display: block;
  padding-left: 1.25rem;
}

.tool-content-card li {
  margin-bottom: 0.5rem;
}

.tool-content-card {
  margin-top: 18px;
}

.tool-side-note {
  background: #eef7f5;
  border-left: 4px solid #0f766e;
  border-radius: 6px;
  padding: 16px;
}

.converter-title-band {
  background: #123524;
  border-radius: 8px;
  color: #ffffff;
  margin: 12px 0 18px;
  padding: 18px;
  text-align: center;
}

.converter-title-band h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0;
}

main .col-lg-9 img.tool-article-image,
main .col-lg-9 img[src*="images/converter/"],
main .col-lg-9 img[src*="/images/converter/"],
main .col-lg-9 img[src*="images/calculator/"] {
  aspect-ratio: 1200 / 560;
  background: #eef3f8;
  border-radius: 8px !important;
  box-shadow: 0 14px 34px rgba(20, 35, 60, 0.1);
  display: block;
  height: auto !important;
  margin: 18px 0 22px;
  object-fit: cover;
  width: 100% !important;
}

main .col-lg-9 .text-center img.tool-article-image,
main .col-lg-9 .text-center img[src*="images/converter/"],
main .col-lg-9 .text-center img[src*="/images/converter/"],
main .col-lg-9 .text-center img[src*="images/calculator/"] {
  margin-left: auto;
  margin-right: auto;
}

main .col-lg-9 :where(.mt-5, .my-5):has(> img.tool-article-image) {
  margin-top: 1.5rem !important;
}

main .col-lg-9 :where(.mb-5, .my-5):has(> img.tool-article-image) {
  margin-bottom: 1.5rem !important;
}

.tool-depth {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin: 30px 0;
  padding: 24px;
}

.tool-depth-intro {
  max-width: 850px;
}

.tool-depth-intro h2,
.tool-depth-grid h3,
.tool-depth-faq h3 {
  color: #14213d;
  letter-spacing: 0;
}

.tool-depth-intro p,
.tool-depth li,
.tool-depth-faq p {
  color: #415166;
  font-size: 16px;
  line-height: 1.7;
  text-align: left;
}

.tool-depth-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.tool-depth-grid article {
  background: #ffffff;
  border: 1px solid #e5edf4;
  border-radius: 8px;
  padding: 18px;
}

.tool-depth-grid ul {
  margin-bottom: 0;
  padding-left: 20px;
}

.tool-depth-details {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.tool-depth-details article {
  border-top: 1px solid #dce5eb;
  padding-top: 16px;
}

.tool-depth-details h3 {
  color: #14213d;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.tool-depth-details p {
  color: #415166;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 0;
  text-align: left;
}

.tool-depth-faq {
  margin-top: 20px;
}

.tool-depth-faq details {
  background: #ffffff;
  border: 1px solid #e5edf4;
  border-radius: 8px;
  margin-top: 10px;
  padding: 14px 16px;
}

.tool-depth-faq summary {
  color: #14213d;
  cursor: pointer;
  font-weight: 800;
}

@media (max-width: 991px) {
  .tool-depth {
    padding: 18px;
  }

  .tool-depth-grid {
    grid-template-columns: 1fr;
  }

  .tool-depth-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .tool-grid,
  .tool-trust,
  .tool-two-col {
    grid-template-columns: 1fr;
  }

  .tool-section-header {
    display: block;
  }

  .tool-section-header p {
    margin-top: 8px;
  }

  .tool-hero {
    padding: 22px;
  }

  .tool-card img {
    height: 130px;
  }
}

.home-app {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.home-topbar {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.home-title h1 {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 8px;
}

.home-title p {
  color: #526174;
  font-size: 1rem;
  margin: 0;
  max-width: 720px;
}

.home-status {
  background: #ffffff;
  border: 1px solid #d9e1ea;
  border-radius: 8px;
  min-width: 210px;
  padding: 14px 16px;
}

.home-status strong {
  display: block;
  font-size: 1.1rem;
}

.home-status span {
  color: #64748b;
  display: block;
  font-size: 0.9rem;
  margin-top: 3px;
}

.tool-finder {
  background: #ffffff;
  border: 1px solid #d9e1ea;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
  display: grid;
  gap: 16px;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 560px;
  overflow: hidden;
}

.tool-sidebar {
  background: #111827;
  color: #ffffff;
  padding: 18px;
}

.tool-sidebar h2 {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.category-list {
  display: grid;
  gap: 8px;
}

.category-link {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  min-height: 46px;
  padding: 10px 12px;
  text-decoration: none;
}

.category-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.category-link span {
  color: #cbd5e1;
  font-size: 0.85rem;
}

.sidebar-note {
  background: #0f766e;
  border-radius: 7px;
  margin-top: 18px;
  padding: 14px;
}

.sidebar-note h3 {
  font-size: 1rem;
  margin: 0 0 8px;
}

.sidebar-note p {
  color: #e6fffb;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.tool-workspace {
  padding: 18px 18px 22px;
}

.search-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 16px;
}

.tool-search {
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  font-size: 1rem;
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}

.privacy-link {
  align-items: center;
  background: #eef7f5;
  border: 1px solid #b7ddd7;
  border-radius: 7px;
  color: #0f5f59;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 46px;
  padding: 10px 14px;
  text-decoration: none;
  white-space: nowrap;
}

.featured-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.featured-tool {
  background: #f8fafc;
  border: 1px solid #d9e1ea;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: 48px minmax(0, 1fr);
  min-height: 98px;
  padding: 14px;
  text-decoration: none;
}

.tool-badge {
  align-items: center;
  background: #e0f2fe;
  border-radius: 7px;
  color: #075985;
  display: flex;
  font-weight: 800;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.featured-tool:nth-child(2) .tool-badge {
  background: #ecfdf5;
  color: #047857;
}

.featured-tool:nth-child(3) .tool-badge {
  background: #fff7ed;
  color: #c2410c;
}

.featured-tool h2 {
  color: #172033;
  font-size: 1rem;
  margin: 0;
}

.featured-tool p {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 3px 0 0;
}

.tool-group {
  border-top: 1px solid #e2e8f0;
  padding-top: 18px;
}

.tool-group + .tool-group {
  margin-top: 20px;
}

.tool-group h2 {
  font-size: 1.25rem;
  margin: 0 0 12px;
}

.compact-tools {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compact-tool {
  background: #ffffff;
  border: 1px solid #d9e1ea;
  border-radius: 7px;
  color: #172033;
  min-height: 86px;
  padding: 13px;
  text-decoration: none;
}

.compact-tool strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 5px;
}

.compact-tool span {
  color: #64748b;
  display: block;
  font-size: 0.86rem;
  line-height: 1.45;
}

.compact-tool:hover,
.featured-tool:hover {
  border-color: #0f766e;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.1);
}

.approval-content {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.approval-panel {
  background: #ffffff;
  border: 1px solid #d9e1ea;
  border-radius: 8px;
  padding: 18px;
}

.approval-panel h2 {
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.approval-panel p {
  color: #526174;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 991px) {
  .home-topbar,
  .search-row {
    display: block;
  }

  .home-status,
  .privacy-link {
    margin-top: 12px;
  }

  .tool-finder {
    grid-template-columns: 1fr;
  }

  .tool-sidebar {
    padding: 16px;
  }

  .featured-strip,
  .compact-tools,
  .approval-content {
    grid-template-columns: 1fr;
  }
}
.ad-placement {
  clear: both;
  margin: 44px auto;
  max-width: 1100px;
  min-height: 110px;
  overflow: hidden;
  padding: 18px 0;
  text-align: center;
  width: 100%;
}

.ad-placement-label {
  color: #6a737b;
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
}
