:root {
  --ad-border: #dde6ff;
  --ad-bg: #f5f7ff;
  --ad-text: #2f3d5c;
  --ad-muted: #5e6f96;
  --ad-accent: #1c5ce6;
}

.ad-slot {
  width: min(100%, 980px);
  margin: 22px auto 0;
  background: var(--ad-bg);
  border: 1px solid var(--ad-border);
  border-radius: 14px;
  padding: 12px 16px 10px;
  box-sizing: border-box;
}

.ad-slot-home {
  max-width: 820px;
}

.ad-slot-sidebar,
.ad-slot-footer {
  max-width: 820px;
}

.ad-label {
  display: inline-block;
  margin: 0 0 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(28, 92, 230, 0.08);
  color: var(--ad-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ad-box {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(28, 92, 230, 0.04), rgba(123, 100, 255, 0.04));
  color: var(--ad-text);
  font-size: 0.9rem;
}

.ad-slot[data-ad-slot='sidebar'] .ad-box,
.ad-slot[data-ad-slot='footer'] .ad-box,
.ad-slot[data-ad-slot='home'] .ad-box {
  min-height: 120px;
}

.info-section,
.tool-article {
  width: min(100%, 980px);
  margin: 26px auto 0;
  background: #fff;
  border: 1px solid #e7edff;
  border-radius: 18px;
  padding: 26px 20px;
  box-sizing: border-box;
  box-shadow: 0 18px 36px rgba(11, 31, 77, 0.04);
}

.info-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.info-card,
.step-card,
.faq-item {
  background: #f6f8ff;
  border: 1px solid #edf2ff;
  border-radius: 16px;
  padding: 18px 16px;
}

.info-card h3,
.step-card h3,
.tool-article h3,
.tool-article h2 {
  margin-top: 0;
}

.step-card span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(28, 92, 230, 0.12);
  color: #1c5ce6;
  font-weight: 700;
}

.tool-article h2 {
  margin-bottom: 12px;
}

.tool-article p,
.tool-article li,
.tool-article h4 {
  color: #2f3d5c;
  line-height: 1.7;
}

.tool-article ol,
.tool-article ul {
  padding-left: 22px;
  margin: 0 0 18px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.faq-item h4 {
  margin: 0 0 8px;
}

.faq-item p {
  margin: 0;
}

@media (max-width: 700px) {
  .info-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

.ads-consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 16px 12px 18px;
  background: rgba(11, 18, 33, 0.55);
  backdrop-filter: blur(2px);
}

.ads-consent__box {
  width: min(100%, 640px);
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e4ebff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.ads-consent__box p {
  margin: 0 0 12px;
  color: var(--ad-text);
  line-height: 1.5;
}

.ads-consent__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ads-consent__accept,
.ads-consent__decline {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.ads-consent__accept {
  background: var(--ad-accent);
  color: #fff;
}

.ads-consent__decline {
  background: #eef2ff;
  color: #1f2d52;
}

@media (max-width: 700px) {
  .ad-slot {
    padding-left: 12px;
    padding-right: 12px;
  }

  .ads-consent__actions {
    flex-direction: column;
  }

  .ads-consent__accept,
  .ads-consent__decline {
    width: 100%;
  }
}
