/* Sidify SEO Article Components
   Reusable styles for blog posts, reviews, and how-to guides.
   Scope: .seo-finding only; does not change global element styles.
*/

 


 
/* Takeaway - compact typography */

div.seo-finding {
  box-sizing: border-box;
  display: block;
  background-color: #F0FAF4;
  border-left: 4px solid #22A06B;
  padding: 18px 20px;
  margin: 20px 0;
  font-family: inherit;
  color: #263D32;
}

/* Body text */
div.seo-finding > p {
  margin: 0 !important;
  padding: 0;
  font-family: inherit;
  font-size: 16px !important;
  font-weight: 400;
  line-height: 1.6;
}

/* Space between title and text */
div.seo-finding > p + p {
  margin-top: 8px !important;
}

/* Takeaway title */
div.seo-finding > p > strong {
  color: #16734B;
  font-size: 16px !important;
  font-weight: 700;
  line-height: 1.5;
}


/* ===== Compact VirusTotal Cards ===== */

.cnv-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
  align-items: start;
}

.cnv-card-grid .cnv-card {
  box-sizing: border-box;
  min-width: 0;
  padding: 12px;
  border: 1px solid #DFE5EE;
  border-radius: 10px;
  background: #fff;
}

/* Header: title on left, date on right */
.cnv-card-grid .cnv-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}

.cnv-card-grid .cnv-card-title {
  color: #263D66;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.cnv-card-grid .cnv-card-date {
  color: #8290A5;
  font-size: 11px;
  line-height: 1.35;
  white-space: nowrap;
}

/* Screenshot preview */
.cnv-card-grid .cnv-scan-preview {
  display: block;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 105px;
  margin: 0 0 8px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: #222B43;
  cursor: zoom-in;
  text-align: left;
}

/* Show the left portion of the real screenshot */
.cnv-card-grid .cnv-scan-preview img {
  display: block;
  width: auto;
  max-width: none;
  height: 100%;
  margin: 0;
  object-fit: contain;
}

/* Small zoom hint */
.cnv-card-grid .cnv-scan-zoom {
  position: absolute;
  right: 5px;
  bottom: 5px;
  padding: 3px 5px;
  border-radius: 3px;
  background: rgba(15,23,42,.82);
  color: #fff;
  font-size: 10px;
  line-height: 1.2;
}

/* Override article paragraph margins */
.cnv-card-grid .cnv-card p.cnv-card-result {
  margin: 0 0 3px !important;
  padding: 0;
  color: #263247;
  font-size: 12px;
  line-height: 1.45;
}

.cnv-card-grid .cnv-card-result strong {
  color: #16734B;
  font-weight: 700;
}

.cnv-card-grid .cnv-card p.cnv-card-source {
  margin: 0 !important;
  padding: 0;
  color: #718096;
  font-size: 11px;
  line-height: 1.45;
}

.cnv-card-grid .cnv-card-source a {
  color: inherit;
  text-decoration: none;
}

.cnv-card-grid .cnv-card-source a:hover {
  text-decoration: underline;
}

/* Full screenshot popup */
.cnv-scan-dialog {
  box-sizing: border-box;
  max-width: 96vw;
  max-height: 92vh;
  padding: 16px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.cnv-scan-dialog::backdrop {
  background: rgba(0,0,0,.78);
}

.cnv-scan-dialog > img {
  display: block;
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
}

.cnv-scan-close {
  position: sticky;
  top: 0;
  float: right;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #222B43;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 640px) {
  .cnv-card-grid {
    grid-template-columns: 1fr;
  }

  .cnv-card-grid .cnv-scan-preview {
    height: 110px;
  }
}
/* VirusTotal cards - inherit website font */

.cnv-card-grid,
.cnv-card-grid .cnv-card,
.cnv-card-grid .cnv-card * {
  font-family: inherit;
}

/* Card title */
.cnv-card-grid .cnv-card-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.5;
}

/* Date */
.cnv-card-grid .cnv-card-date {
  font-size: 12px;
  line-height: 1.5;
}

/* Scan result */
.cnv-card-grid .cnv-card p.cnv-card-result {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 3px !important;
}

/* Source */
.cnv-card-grid .cnv-card p.cnv-card-source {
  font-size: 13px;
  line-height: 1.5;
  margin: 0 !important;
}

/* Keep compact card spacing */
.cnv-card-grid .cnv-card {
  padding: 12px;
}

.cnv-card-grid .cnv-card-header {
  margin-bottom: 9px;
}

.cnv-card-grid .cnv-scan-preview {
  height: 105px;
  margin-bottom: 8px;
}

/* SEO User Review Cards */


/* ===== SEO User Review Cards ===== */

.seo-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0 10px;
}

.seo-review-card {
  min-width: 0;
  padding: 13px 16px;
  background: #F8FAFC;
  border: 1px solid #DFE5EE;
  border-radius: 9px;
  font-family: inherit;
}

.seo-review-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 5px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
}

.seo-review-title a {
  color: #192743;
  text-decoration: none;
}

.seo-review-title a:hover {
  color: #3465DF;
  text-decoration: underline;
}

.seo-review-rating {
  color: #16734B;
  font-weight: 700;
}

.seo-review-card p {
  margin: 0 !important;
  padding: 0;
  font-size: 16px;
  line-height: 1.55;
  color: #53617A;
}

p.seo-review-note {
  margin: 8px 0 18px;
  font-size: 15px;
  line-height: 1.6;
  color: #64748B;
}

/* Mobile */
@media (max-width: 640px) {
  .seo-review-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .seo-review-card {
    padding: 12px 14px;
  }
}
/* Page-scoped SEO article components. */
.article-wrap .seo-cnvmp3-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0 30px;
}

.article-wrap .seo-cnvmp3-step-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: 12px;
}

.article-wrap .seo-cnvmp3-step-label {
  display: inline-block;
  width: fit-content;
  margin-bottom: 14px;
  color: #049f55;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
}

.article-wrap .seo-cnvmp3-step-card h3 {
  margin: 0 0 12px;
  padding: 0;
  font-size: 22px;
  line-height: 1.35;
}

.article-wrap .seo-cnvmp3-step-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

@media (max-width: 991px) {
  .article-wrap .seo-cnvmp3-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .article-wrap .seo-cnvmp3-steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .article-wrap .seo-cnvmp3-step-card {
    padding: 20px;
  }
}


/* CnvMP3 Troubleshooting Steps */

ol.seo-check-steps {
  list-style: none !important;
  counter-reset: cnv-step;
  margin: 20px 0 26px !important;
  padding: 0 !important;
}

ol.seo-check-steps > li {
  position: relative;
  display: block;
  counter-increment: cnv-step;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 0 22px 52px !important;
}

ol.seo-check-steps > li::before {
  content: counter(cnv-step) !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #E8F7EF;
  color: #16734B;
  font-size: 15px;
  font-weight: 700;
}

ol.seo-check-steps > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 40px;
  bottom: 6px;
  left: 16px;
  width: 1px;
  background: #CBEBDD;
}

ol.seo-check-steps > li > strong {
  display: block;
  margin-bottom: 5px;
  color: #192743;
  font-weight: 700;
}

ol.seo-check-steps > li > p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.65;
}

ol.seo-check-steps > li:last-child {
  padding-bottom: 0 !important;
}


/* ===== Sidify Green CTA ===== */

.seo-sidify-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 24px 0;
  padding: 20px 22px;
  background: #F5FCF7;
  border: 1px solid #CBEBDD;
  border-radius: 12px;
  font-family: inherit;
}

.seo-sidify-cta-content {
  flex: 1;
  min-width: 0;
}

.seo-sidify-cta-content h4 {
  margin: 0 0 8px;
  color: #192743;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.seo-sidify-cta-content p {
  margin: 0;
  color: #53617A;
  font-size: 15px;
  line-height: 1.65;
}

.seo-sidify-cta-content p a {
  color: #16734B;
  text-decoration: none;
}

.seo-sidify-cta-content p a:hover {
  text-decoration: underline;
}

.seo-sidify-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 12px 16px;
  background: #169B62;
  color: #fff !important;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background-color .2s ease;
}

.seo-sidify-cta-button:hover {
  background: #117A4D;
}

@media (max-width: 640px) {
  .seo-sidify-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px;
  }

  .seo-sidify-cta-button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}
