/* InfoVet interactive tools, online consultation guide & article product recommendations */

/* --- 1. Online Consultation Conversion & SEO Guide --- */
.iv-online-guide {
  display: grid;
  gap: 24px;
  padding-top: 8px;
}
.iv-online-card {
  background: rgba(255, 253, 248, .92);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 16px 46px rgba(23, 33, 29, .065);
}
.iv-online-card h2 {
  margin: 10px 0 14px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
}
.iv-online-lead {
  color: #465750;
  font-size: 17px;
  line-height: 1.7;
  max-width: 820px;
  margin: 0 0 24px;
}
.iv-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.iv-step-item {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
}
.iv-step-num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 14px;
}
.iv-step-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--ink);
}
.iv-step-item p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #4c5d56;
}
.iv-step-item a,
.iv-triage-box a,
.iv-online-faq a {
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.iv-pdf-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}
.iv-pdf-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(220, 232, 223, .75);
  border: 1px solid rgba(31, 107, 87, .18);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}
.iv-deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.iv-deliverable {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 18px;
  padding: 18px 20px;
}
.iv-deliverable strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16.5px;
  color: var(--ink);
}
.iv-deliverable p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.62;
  color: #4b5c55;
}

.iv-triage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.iv-triage-box {
  border-radius: var(--radius-xl);
  padding: clamp(22px, 3.5vw, 34px);
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(23, 33, 29, .055);
}
.iv-triage-box.is-good {
  background: linear-gradient(155deg, rgba(232, 243, 236, .92), rgba(255, 253, 248, .96));
  border-color: rgba(31, 107, 87, .22);
}
.iv-triage-box.is-urgent {
  background: linear-gradient(155deg, rgba(246, 232, 224, .92), rgba(255, 253, 248, .96));
  border-color: rgba(164, 72, 48, .22);
}
.iv-triage-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 12px;
}
.iv-triage-box.is-good .iv-triage-badge {
  background: var(--green);
  color: #fff;
}
.iv-triage-box.is-urgent .iv-triage-badge {
  background: #a44830;
  color: #fff;
}
.iv-triage-box h3 {
  margin: 0 0 14px;
  font-size: 22px;
}
.iv-triage-box ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 9px;
  color: #34443d;
  font-size: 15px;
  line-height: 1.6;
}
.iv-triage-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(164, 72, 48, .18);
  font-size: 14px;
  color: #5b3328;
}
.iv-online-faq details {
  background: var(--paper-2);
  border-radius: 18px;
}

/* --- 2. Interactive Calculators --- */
.iv-tool-shell {
  margin: 18px 0 32px;
  background: linear-gradient(145deg, rgba(241, 247, 243, .92), rgba(255, 253, 248, .98));
  border: 1px solid rgba(31, 107, 87, .20);
  border-radius: 26px;
  padding: clamp(20px, 3vw, 30px);
  box-shadow: 0 18px 46px rgba(23, 33, 29, .07);
}
.iv-tool-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: start;
}
.iv-tool-inputs {
  display: grid;
  gap: 16px;
}
.iv-tool-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
}
.iv-tool-input-row {
  position: relative;
  display: flex;
  align-items: center;
}
.iv-tool-field input[type="number"],
.iv-tool-field select {
  width: 100%;
  border: 1px solid rgba(23, 33, 29, .18);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  outline: none;
  min-height: 48px;
}
.iv-tool-field input[type="number"] {
  padding-right: 48px;
}
.iv-tool-field input:focus,
.iv-tool-field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(31, 107, 87, .12);
}
.iv-tool-unit {
  position: absolute;
  right: 14px;
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
  pointer-events: none;
}
.iv-tool-hint {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.iv-tool-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}
.iv-tool-presets button {
  border: 1px solid rgba(31, 107, 87, .22);
  background: #fff;
  color: var(--green-dark);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12.5px;
  font-weight: 750;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.iv-tool-presets button:hover,
.iv-tool-presets button.is-selected {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.iv-tool-extra-warn {
  padding: 13px 15px;
  border-radius: 14px;
  background: rgba(239, 225, 218, .75);
  border: 1px solid rgba(164, 72, 48, .20);
  font-size: 13.5px;
  line-height: 1.55;
  color: #5c2e22;
}

.iv-tool-result {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--green);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(23, 33, 29, .06);
}
.iv-tool-result.is-level-low { border-top-color: #1f6b57; }
.iv-tool-result.is-level-mild { border-top-color: #c78b20; }
.iv-tool-result.is-level-high { border-top-color: #d45b24; }
.iv-tool-result.is-level-critical { border-top-color: #b42318; }
.iv-tool-result.is-level-info { border-top-color: #1f6b57; }

.iv-risk-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.iv-risk-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: #e6f3ec;
  color: #165140;
}
.is-level-mild .iv-risk-badge { background: #fdf3dc; color: #8c5d0b; }
.is-level-high .iv-risk-badge { background: #fce8dd; color: #9c3c11; }
.is-level-critical .iv-risk-badge { background: #fbe4e2; color: #911c14; }

.iv-risk-dose {
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
}
.iv-risk-dose strong {
  font-size: 24px;
  color: var(--ink);
  letter-spacing: -.03em;
}
.iv-risk-meter {
  height: 10px;
  border-radius: 999px;
  background: #eceae3;
  overflow: hidden;
  margin-bottom: 16px;
}
.iv-risk-bar {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #1f6b57;
  transition: width .25s ease, background .25s ease;
}
.is-level-mild .iv-risk-bar { background: #d49622; }
.is-level-high .iv-risk-bar { background: #df6426; }
.is-level-critical .iv-risk-bar { background: #c2281c; }

.iv-tool-result h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.22;
}
.iv-tool-result p {
  margin: 0 0 12px;
  font-size: 15px !important;
  line-height: 1.62 !important;
  color: #3a4b44;
}
.iv-tool-action-list {
  margin: 0 0 14px;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #2f4039;
}
.iv-tool-meta-note {
  font-size: 13.5px !important;
  color: var(--muted) !important;
  background: var(--paper-2);
  padding: 10px 13px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.iv-size-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.iv-size-metrics div {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px;
}
.iv-size-metrics span {
  display: block;
  font-size: 12px;
  font-weight: 750;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.iv-size-metrics strong {
  display: block;
  margin: 5px 0 3px;
  font-size: 20px;
  color: var(--green-dark);
}
.iv-size-metrics small {
  display: block;
  font-size: 12.5px;
  color: #4b5d56;
  line-height: 1.4;
}
.iv-tool-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 16px 0 12px;
}
.iv-tool-btn-primary,
.iv-tool-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 10px 15px;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none !important;
  transition: background .15s ease, border-color .15s ease;
}
.iv-tool-btn-primary {
  background: var(--green);
  color: #fff !important;
}
.iv-tool-btn-primary:hover {
  background: var(--green-dark);
}
.iv-tool-btn-primary.is-outline {
  background: #edf5f0;
  color: var(--green-dark) !important;
  border: 1px solid rgba(31, 107, 87, .28);
}
.iv-tool-btn-secondary {
  background: var(--paper-2);
  color: var(--green-dark) !important;
  border: 1px solid var(--line);
}
.iv-tool-disclaimer {
  margin: 0 !important;
  font-size: 12.5px !important;
  color: var(--muted) !important;
  line-height: 1.5 !important;
}

/* --- 3. Native Recommended Products in Articles & Tools --- */
.iv-article-shop-box,
.iv-tool-products-wrap {
  margin-top: 32px;
  padding: 22px 24px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(251, 248, 240, .95), rgba(255, 253, 248, .98));
  border: 1px solid var(--line);
}
.iv-article-shop-head,
.iv-tool-products-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.iv-article-shop-kicker {
  display: block;
  font-size: 11.5px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--amber);
  margin-bottom: 4px;
}
.iv-article-shop-head h3 {
  margin: 0 !important;
  font-size: 21px !important;
  line-height: 1.25;
}
.iv-article-shop-all {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--green) !important;
  text-decoration: none !important;
}
.iv-shop-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.iv-shop-mini-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none !important;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.iv-shop-mini-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 107, 87, .35);
  box-shadow: 0 12px 28px rgba(23, 33, 29, .08);
}
.iv-shop-mini-thumb {
  display: block;
  aspect-ratio: 4 / 3;
  background: #f5f3ec;
  overflow: hidden;
}
.iv-shop-mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.iv-shop-mini-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px 14px 14px;
  gap: 10px;
}
.iv-shop-mini-title {
  font-size: 14px;
  line-height: 1.38;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.iv-shop-mini-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.iv-shop-mini-price {
  font-size: 15px;
  font-weight: 850;
  color: var(--green-dark);
}
.iv-shop-mini-cta {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--green);
}

/* --- 4. Homepage Free Interactive Tools Strip --- */
.iv-tools-strip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.iv-tools-strip-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 28px;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255, 253, 248, .96), rgba(220, 232, 223, .62));
  border: 1px solid rgba(31, 107, 87, .18);
  box-shadow: 0 14px 38px rgba(23, 33, 29, .06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.iv-tools-strip-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(23, 33, 29, .10);
}
.iv-tools-strip-tag {
  width: max-content;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.iv-tools-strip-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.15;
  color: var(--ink);
}
.iv-tools-strip-card p {
  margin: 0;
  color: #465750;
  font-size: 15px;
  line-height: 1.6;
}
.iv-tools-strip-card b {
  margin-top: auto;
  padding-top: 8px;
  color: var(--green-dark);
  font-size: 14.5px;
}

@media (max-width: 980px) {
  .iv-steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iv-deliverables-grid,
  .iv-triage-grid,
  .iv-tool-grid,
  .iv-tools-strip-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .iv-steps-grid,
  .iv-shop-mini-grid,
  .iv-size-metrics { grid-template-columns: 1fr; }
}

/* Clean responsive tables inside page templates (tools & buyer guides) */
.imported-page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 26px;
  font-size: 15px;
}
.imported-page-content th,
.imported-page-content td {
  border: 1px solid var(--line);
  padding: 12px;
  vertical-align: top;
}
.imported-page-content th {
  background: var(--sage);
  text-align: left;
  color: var(--ink);
}

/* --- 5. Veterinarian Irina Leonova profile & article reviewer avatars --- */
.iv-vet-pill-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 64% 16%;
  border: 1px solid rgba(30, 101, 79, .35);
  flex: 0 0 24px;
}
.iv-vet-trust-layout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.iv-vet-trust-avatar {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #c5dfd0;
  box-shadow: 0 6px 16px rgba(23, 33, 29, .10);
  text-decoration: none !important;
}
.iv-vet-trust-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 16%;
  display: block;
}
.iv-vet-trust-body {
  flex: 1;
  min-width: 0;
}

.iv-vet-hero-card {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 24px;
  margin-bottom: 28px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(236, 245, 239, .86), rgba(255, 253, 248, .98));
  border: 1px solid rgba(31, 107, 87, .20);
}
.iv-vet-photo-wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(31, 107, 87, .18);
  box-shadow: 0 14px 32px rgba(23, 33, 29, .12);
  background: #edf4ef;
}
.iv-vet-photo-wrap img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.iv-vet-role-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
  margin-bottom: 12px;
}
.iv-vet-intro {
  margin: 0 0 14px !important;
  font-size: 16.5px !important;
  line-height: 1.68 !important;
}
.iv-vet-facts-pills {
  list-style: none !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.iv-vet-facts-pills li {
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 750;
  color: var(--green-dark);
}
.iv-vet-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 720px) {
  .iv-vet-hero-card {
    grid-template-columns: 1fr;
  }
  .iv-vet-photo-wrap {
    max-width: 260px;
  }
  .iv-vet-trust-layout {
    flex-direction: column;
    gap: 12px;
  }
}

/* --- 6. Searchable Food, Plant & Medicine Safety Checker --- */
.iv-sc-shell {
  margin: 18px 0 34px;
}
.iv-sc-controls {
  background: linear-gradient(145deg, rgba(241, 247, 243, .92), rgba(255, 253, 248, .98));
  border: 1px solid rgba(31, 107, 87, .20);
  border-radius: 26px;
  padding: clamp(18px, 3vw, 26px);
  box-shadow: 0 16px 42px rgba(23, 33, 29, .06);
  display: grid;
  gap: 14px;
}
.iv-sc-search-wrap {
  position: relative;
}
.iv-sc-search-wrap input {
  width: 100%;
  min-height: 54px;
  border: 1.5px solid rgba(31, 107, 87, .28);
  border-radius: 16px;
  padding: 13px 46px 13px 16px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  outline: none;
  box-shadow: 0 8px 24px rgba(23, 33, 29, .05);
}
.iv-sc-search-wrap input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(31, 107, 87, .12);
}
.iv-sc-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #eef3f0;
  color: var(--green-dark);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.iv-sc-quick-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}
.iv-sc-quick-row button {
  border: 1px solid rgba(31, 107, 87, .20);
  background: #fff;
  color: var(--green-dark);
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 12.5px;
  font-weight: 750;
  cursor: pointer;
}
.iv-sc-quick-row button:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.iv-sc-filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}
.iv-sc-pill-group,
.iv-sc-cats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.iv-sc-pill-group button,
.iv-sc-cats-row button {
  border: 1px solid var(--line);
  background: #fff;
  color: #35453e;
  border-radius: 11px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 760;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.iv-sc-pill-group button.is-active,
.iv-sc-cats-row button.is-active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.iv-sc-pill-group button.is-pill-safe.is-active { background: #1f6b57; border-color: #1f6b57; }
.iv-sc-pill-group button.is-pill-caution.is-active { background: #b97d10; border-color: #b97d10; }
.iv-sc-pill-group button.is-pill-toxic.is-active { background: #b42318; border-color: #b42318; }

.iv-sc-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 18px 2px 14px;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 750;
}
.iv-sc-legend {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.iv-sc-legend i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 4px;
}
.iv-dot-safe { background: #1f6b57; }
.iv-dot-caution { background: #c78b20; }
.iv-dot-toxic { background: #b42318; }

.iv-sc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.iv-sc-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 8px 24px rgba(23, 33, 29, .045);
}
.iv-sc-card.is-sev-safe { border-top-color: #1f6b57; }
.iv-sc-card.is-sev-caution { border-top-color: #c78b20; }
.iv-sc-card.is-sev-toxic { border-top-color: #b42318; }

.iv-sc-cat-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 3px;
}
.iv-sc-card-head h3 {
  margin: 0 !important;
  font-size: 17.5px !important;
  line-height: 1.25 !important;
  color: var(--ink);
}
.iv-sc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.iv-sc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.iv-sc-badge em {
  font-style: normal;
  font-weight: 600;
  opacity: .85;
}
.iv-sc-badge.is-safe { background: #e6f3ec; color: #165140; }
.iv-sc-badge.is-caution { background: #fdf3dc; color: #8c5d0b; }
.iv-sc-badge.is-toxic { background: #fbe4e2; color: #911c14; }

.iv-sc-note {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.58 !important;
  color: #3a4b44;
}
.iv-sc-foot {
  margin-top: auto;
  padding-top: 6px;
}
.iv-sc-link {
  font-size: 13px;
  font-weight: 800;
  color: var(--green-dark) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}
.iv-sc-link.is-urgent {
  color: #9e271c !important;
}
.iv-sc-empty {
  grid-column: 1 / -1;
  background: var(--paper-2);
  border: 1px dashed rgba(31, 107, 87, .26);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  color: #465750;
}
.iv-sc-empty strong {
  display: block;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 6px;
}
.iv-sc-more-wrap {
  margin-top: 18px;
  text-align: center;
}

/* 3-card balanced tools strip on homepage */
.iv-tools-strip-grid.is-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 980px) {
  .iv-tools-strip-grid.is-three { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .iv-sc-grid { grid-template-columns: 1fr; }
}
