/* Tool guide articles (linked from the marketplace "Read More" buttons) */

.guide {
  background: #fbf9f3;
  color: #15212a;
}

/* ---------- hero ---------- */
.guide-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f1a22 0%, #15212a 55%, #1d3340 100%);
  padding: 44px 20px 56px;
}

.guide-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(45% 80% at 88% 0%, rgba(7, 222, 190, 0.2) 0%, rgba(7, 222, 190, 0) 70%);
  pointer-events: none;
}

.guide-hero-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}

.guide-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
}

.guide-crumbs a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.guide-crumbs a:hover {
  color: #07debe;
}

.guide-hero-head {
  display: flex;
  align-items: center;
  gap: 22px;
}

.guide-hero h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 22px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.guide-meta i {
  margin-right: 6px;
  color: #07debe;
}

/* ---------- brand tile ---------- */
.guide-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.guide-tile--light {
  border: 1px solid #e2e8f0;
}

.guide-tile svg {
  display: block;
}

/* ---------- layout ---------- */
.guide-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 20px 70px;
}

.guide-article {
  min-width: 0;
}

.guide-cover {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(21, 33, 42, 0.14);
}

/* ---------- key takeaways ---------- */
.guide-takeaways {
  margin: 30px 0 8px;
  padding: 24px 26px;
  border-radius: 16px;
  background: rgba(7, 222, 190, 0.08);
  border: 1px solid rgba(7, 222, 190, 0.3);
}

.guide-takeaways h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #15212a;
}

.guide-takeaways ul {
  margin: 0;
  padding-left: 20px;
}

.guide-takeaways li {
  margin-bottom: 8px;
  font-size: 15.5px;
  line-height: 1.65;
  color: #33414d;
}

.guide-takeaways li:last-child {
  margin-bottom: 0;
}

/* ---------- article text ---------- */
.guide-body h2,
.guide-faq > h2,
.guide-related > h2 {
  margin: 40px 0 14px;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.25;
  color: #15212a;
  scroll-margin-top: 90px;
}

.guide-body p {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.8;
  color: #33414d;
}

.guide-body ul {
  margin: 0 0 20px;
  padding-left: 22px;
}

.guide-body li {
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.75;
  color: #33414d;
}

.guide-body li::marker {
  color: #05b8a0;
}

.guide-body strong {
  color: #15212a;
}

.guide-body a,
.guide-faq-answer a {
  color: #05a892;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.guide-body a:hover,
.guide-faq-answer a:hover {
  color: #15212a;
}

.guide-figure {
  margin: 34px 0;
}

.guide-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid #e8edf0;
}

.guide-figure figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  text-align: center;
  color: #8a94a0;
}

/* ---------- FAQ ---------- */
.guide-faq-item {
  margin-bottom: 12px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e8edf0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.guide-faq-item[open] {
  border-color: rgba(7, 222, 190, 0.6);
  box-shadow: 0 10px 26px rgba(21, 33, 42, 0.07);
}

.guide-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.4;
  color: #15212a;
  cursor: pointer;
  list-style: none;
}

.guide-faq-item summary::-webkit-details-marker {
  display: none;
}

.guide-faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(7, 222, 190, 0.14);
  color: #05a892;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.guide-faq-item[open] summary::after {
  content: '\2212';
  background: #15212a;
  color: #07debe;
}

.guide-faq-answer {
  padding: 0 20px 18px;
}

.guide-faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: #4b5563;
}

/* ---------- call to action ---------- */
.guide-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 44px;
  padding: 30px 32px;
  border-radius: 20px;
  background: #15212a;
  background-image: radial-gradient(60% 140% at 100% 0%, rgba(7, 222, 190, 0.18) 0%, rgba(7, 222, 190, 0) 70%);
  box-shadow: 0 18px 40px rgba(21, 33, 42, 0.18);
}

.guide-cta h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
}

.guide-cta p {
  max-width: 440px;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

.guide-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.guide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.guide-btn-primary {
  background: #07debe;
  color: #0f1a22 !important;
  box-shadow: 0 8px 22px rgba(7, 222, 190, 0.3);
}

.guide-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(7, 222, 190, 0.42);
}

.guide-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff !important;
}

.guide-btn-ghost:hover {
  border-color: #07debe;
  background: rgba(7, 222, 190, 0.1);
}

/* ---------- related guides ---------- */
.guide-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.guide-related-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e8edf0;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.guide-related-card:hover {
  transform: translateY(-3px);
  border-color: #07debe;
  box-shadow: 0 14px 30px rgba(21, 33, 42, 0.1);
}

.guide-related-card .guide-tile {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: none;
}

.guide-related-card .guide-tile svg {
  width: 24px;
  height: 24px;
}

.guide-related-card span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.guide-related-card strong {
  font-size: 15px;
  color: #15212a;
}

.guide-related-card small {
  font-size: 12.5px;
  line-height: 1.4;
  color: #6b7280;
}

.guide-disclaimer {
  margin: 34px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: #8a94a0;
}

/* ---------- sidebar ---------- */
.guide-side {
  position: sticky;
  top: 24px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.guide-toc,
.guide-side-cta {
  padding: 22px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e8edf0;
  box-shadow: 0 8px 24px rgba(21, 33, 42, 0.05);
}

.guide-toc h2 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #05a892;
}

.guide-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.guide-toc li {
  counter-increment: toc;
  margin-bottom: 10px;
  padding-left: 26px;
  position: relative;
  font-size: 14px;
  line-height: 1.45;
}

.guide-toc li:last-child {
  margin-bottom: 0;
}

.guide-toc li::before {
  content: counter(toc);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
}

.guide-toc a {
  color: #33414d;
  text-decoration: none;
}

.guide-toc a:hover {
  color: #05a892;
}

.guide-side-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.guide-side-cta .guide-tile {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: none;
}

.guide-side-cta .guide-tile svg {
  width: 26px;
  height: 26px;
}

.guide-side-cta strong {
  font-size: 16px;
  color: #15212a;
}

.guide-side-cta p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #6b7280;
}

.guide-side-cta .guide-btn {
  width: 100%;
  margin-top: 4px;
}

/* ---------- smaller screens ---------- */
@media (max-width: 991px) {
  .guide-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 28px 16px 56px;
  }
  .guide-side {
    position: static;
    order: -1;
  }
  .guide-side-cta {
    display: none;
  }
  .guide-related-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 575px) {
  .guide-hero {
    padding: 30px 16px 40px;
  }
  .guide-hero-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .guide-tile {
    width: 54px;
    height: 54px;
    border-radius: 14px;
  }
  .guide-body p,
  .guide-body li {
    font-size: 16px;
  }
  .guide-body h2,
  .guide-faq > h2,
  .guide-related > h2 {
    font-size: 1.35rem;
  }
  .guide-cta {
    padding: 24px 20px;
  }
  .guide-cta-actions,
  .guide-cta-actions .guide-btn {
    width: 100%;
  }
}

/* The site theme removes list bullets globally; articles need them back */
.guide-takeaways ul,
.guide-body ul {
  list-style: disc outside;
}

.guide-takeaways li,
.guide-body li {
  display: list-item;
  list-style: inherit;
}

.guide-body {
  margin-top: 28px;
}

/* Hero text lines up with the article column below it */
.guide-hero-inner {
  padding: 0 20px;
}

@media (max-width: 991px) {
  .guide-hero-inner {
    padding: 0;
  }
}

/* ---------- quick answer ---------- */
.guide-answer {
  margin: 28px 0 0;
  padding: 22px 26px;
  border-radius: 16px;
  background: #15212a;
  box-shadow: 0 14px 34px rgba(21, 33, 42, 0.16);
}

.guide-answer strong {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #07debe;
}

.guide-answer p {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: #ffffff;
}

.guide-takeaways {
  margin-top: 20px;
}

/* ---------- comparison table ---------- */
.guide-table-wrap {
  margin: 0 0 22px;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid #e8edf0;
  background: #ffffff;
}

.guide-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15.5px;
  line-height: 1.5;
}

.guide-table thead th {
  padding: 14px 18px;
  background: #15212a;
  color: #ffffff;
  font-weight: 700;
  text-align: left;
}

.guide-table thead th:last-child {
  color: #07debe;
}

.guide-table tbody th,
.guide-table tbody td {
  padding: 14px 18px;
  border-top: 1px solid #eef2f4;
  text-align: left;
  vertical-align: top;
  color: #33414d;
}

.guide-table tbody th {
  width: 34%;
  font-weight: 600;
  color: #15212a;
}

.guide-table tbody td:last-child {
  font-weight: 600;
  color: #15212a;
  background: rgba(7, 222, 190, 0.06);
}

/* ---------- pros and cons ---------- */
.guide-proscons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.guide-pros,
.guide-cons {
  padding: 22px 24px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e8edf0;
}

.guide-pros {
  border-top: 4px solid #07debe;
}

.guide-cons {
  border-top: 4px solid #f59e0b;
}

.guide-proscons h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #15212a;
}

.guide-body .guide-proscons ul {
  margin: 0;
  padding-left: 20px;
}

.guide-body .guide-proscons li {
  font-size: 15.5px;
  line-height: 1.6;
}

.guide-cons li::marker {
  color: #f59e0b;
}

.guide-all {
  margin: -6px 0 16px;
  font-size: 14.5px;
}

.guide-all a {
  color: #05a892;
  font-weight: 600;
}

/* ---------- guides hub ---------- */
.guide-hub-lead {
  max-width: 680px;
  margin: 16px 0 0;
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.guide-hub {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 20px 70px;
}

.guide-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.guide-hub-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e8edf0;
  box-shadow: 0 6px 20px rgba(21, 33, 42, 0.05);
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.guide-hub-card:hover {
  transform: translateY(-4px);
  border-color: #07debe;
  box-shadow: 0 18px 38px rgba(21, 33, 42, 0.1);
}

.guide-hub-card .guide-tile {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  box-shadow: none;
}

.guide-hub-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.guide-hub-text strong {
  font-size: 17px;
  color: #15212a;
}

.guide-hub-text span {
  font-size: 14px;
  line-height: 1.55;
  color: #5b6675;
}

.guide-hub-text em {
  margin-top: 4px;
  font-size: 13.5px;
  font-style: normal;
  font-weight: 600;
  color: #05a892;
}

@media (max-width: 991px) {
  .guide-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .guide-proscons,
  .guide-hub-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* On phones and tablets the site header floats over the top of the page,
   so the hero needs room for it or the breadcrumb is hidden underneath. */
@media (max-width: 991px) {
  .guide-hero {
    padding-top: 104px;
  }
}

/* ---------- price and ordering block ---------- */
.guide-buy {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 22px;
  margin: 6px 0 24px;
  padding: 24px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e8edf0;
  box-shadow: 0 10px 28px rgba(21, 33, 42, 0.06);
}

.guide-buy-price {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 22px;
  border-radius: 14px;
  background: #15212a;
}

.guide-buy-price span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #07debe;
}

.guide-buy-price strong {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff !important;
}

.guide-buy-price small {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.guide-buy-price em {
  font-size: 12.5px;
  font-style: normal;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}

.guide-buy-how h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #15212a;
}

.guide-body .guide-buy-how ol {
  margin: 0 0 16px;
  padding-left: 20px;
}

.guide-body .guide-buy-how li {
  margin-bottom: 8px;
  font-size: 15.5px;
  line-height: 1.6;
  color: #33414d;
  list-style: decimal;
}

.guide-body .guide-buy-how a.guide-btn {
  color: #0f1a22;
  text-decoration: none;
}

@media (max-width: 640px) {
  .guide-buy {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px;
  }
}
