/* Child Safe Internet Standard — WebsitesForChildren.com */

body.child-safe-standard-page {
  background: linear-gradient(180deg, #edf6ff 0%, #f4f9ff 42%, #eef6fc 100%);
}

body.child-safe-standard-page .site-footer {
  margin-top: 0;
}

.css-page {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0 2.5rem;
}

.css-page .container {
  width: min(1180px, 92%);
}

.css-shell {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  width: min(1180px, 92%);
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 38%, #f7fbff 100%);
  border: 1px solid rgba(191, 219, 254, 0.85);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

/* Hero */
.css-hero {
  padding: 2rem 0 1.5rem;
  background:
    radial-gradient(circle at 88% 18%, rgba(191, 219, 254, 0.45), transparent 34%),
    linear-gradient(135deg, #f0f9ff 0%, #ffffff 55%, #eef7ff 100%);
}

.css-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 1rem;
  align-items: center;
}

.css-hero-copy {
  padding-inline-start: clamp(0.5rem, 4vw, 2.5rem);
}

.css-hero-shield {
  width: 118px;
  height: 118px;
  margin-bottom: 0.85rem;
  filter: drop-shadow(0 10px 18px rgba(37, 99, 235, 0.22));
}

.css-hero-title {
  margin: 0 0 0.85rem;
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: clamp(1.85rem, 3.8vw, 2.65rem);
  font-weight: 800;
  line-height: 1.12;
  color: #0f2d5c;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.css-hero-heart {
  display: inline-block;
  width: 1.15rem;
  height: 1.15rem;
  transform: rotate(12deg);
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FACC15'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
}

.css-hero-sub {
  margin: 0;
  max-width: 520px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: #475569;
}

.css-hero-sub strong {
  color: #1d4ed8;
  font-weight: 800;
}

.css-hero-art {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
}

.css-hero-art img {
  width: auto;
  max-width: min(100%, 480px);
  height: auto;
  max-height: 320px;
  object-fit: contain;
  object-position: right bottom;
  margin-right: 0;
  margin-bottom: 0;
  filter: drop-shadow(0 12px 24px rgba(15, 23, 42, 0.08));
}

/* Standards section */
.css-standards {
  padding: 0.5rem 1.25rem 1.75rem;
}

.css-standards-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}

.css-standards-pill {
  margin: 0;
  padding: 0.62rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.28);
}

.css-standards-leaf {
  width: 28px;
  height: 28px;
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2322C55E'%3E%3Cpath d='M4 20c8-1 14-7 16-16-9 2-15 8-16 16Z'/%3E%3C/svg%3E");
  opacity: 0.85;
}

.css-standards-leaf--right {
  transform: scaleX(-1);
}

.css-standards-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.css-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100%;
  padding: 1.15rem 0.85rem 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.css-card-icon {
  width: 88px;
  height: 88px;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.css-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.css-card-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.55rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.css-card--blue .css-card-code { background: #dbeafe; color: #1d4ed8; }
.css-card--red .css-card-code { background: #fee2e2; color: #dc2626; }
.css-card--green .css-card-code { background: #dcfce7; color: #15803d; }
.css-card--purple .css-card-code { background: #ede9fe; color: #7c3aed; }
.css-card--orange .css-card-code { background: #ffedd5; color: #ea580c; }

.css-card-title {
  margin: 0 0 0.45rem;
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

.css-card-desc {
  margin: 0 0 0.85rem;
  flex: 1;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #64748b;
}

.css-card-accent {
  display: block;
  width: 72%;
  height: 4px;
  border-radius: 999px;
  margin-top: auto;
}

.css-card--blue .css-card-accent { background: linear-gradient(90deg, #93c5fd, #2563eb); }
.css-card--red .css-card-accent { background: linear-gradient(90deg, #fca5a5, #ef4444); }
.css-card--green .css-card-accent { background: linear-gradient(90deg, #86efac, #22c55e); }
.css-card--purple .css-card-accent { background: linear-gradient(90deg, #c4b5fd, #8b5cf6); }
.css-card--orange .css-card-accent { background: linear-gradient(90deg, #fdba74, #f97316); }

/* Footer banner */
.css-foot-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0 1.25rem 1.35rem;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #eef7ff, #e8f4fc);
  border: 1px solid rgba(147, 197, 253, 0.65);
  text-align: center;
}

.css-foot-banner p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #334155;
}

.css-foot-banner strong {
  color: #1d4ed8;
  font-weight: 800;
}

.css-foot-shield,
.css-foot-heart {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: center/contain no-repeat;
}

.css-foot-shield {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M17 3 6 8v10c0 7.2 5.2 13.9 11 13 5.8.9 11-5.8 11-13V8L17 3Z' fill='%232563EB'/%3E%3Cpath d='M13 17c0-2.2 1.8-4 4-4s4 1.8 4 4-1.8 4-4 4-4-1.8-4-4Z' fill='%23fff'/%3E%3C/svg%3E");
}

.css-foot-heart {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34' fill='none'%3E%3Cpath d='M17 28s-10-6.2-10-13.4C7 10.6 11.5 8 15.2 8c2.2 0 4.2 1.1 5.4 2.8C21.8 9.1 23.8 8 26 8 29.7 8 34 10.6 34 14.6 34 21.8 24 28 17 28Z' stroke='%23FACC15' stroke-width='2.2'/%3E%3C/svg%3E");
}

/* Decorative bushes */
.css-deco {
  position: absolute;
  bottom: 0;
  width: 120px;
  height: 90px;
  z-index: 1;
  pointer-events: none;
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 90'%3E%3Cellipse cx='35' cy='70' rx='34' ry='18' fill='%2322C55E'/%3E%3Cellipse cx='70' cy='62' rx='40' ry='22' fill='%2316A34A'/%3E%3Ccircle cx='24' cy='58' r='4' fill='%23FACC15'/%3E%3Ccircle cx='88' cy='52' r='4' fill='%23FACC15'/%3E%3C/svg%3E");
  opacity: 0.75;
}

.css-deco--left {
  left: 0;
}

.css-deco--right {
  right: 0;
  transform: scaleX(-1);
}

@media (max-width: 1080px) {
  .css-standards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .css-hero-grid {
    grid-template-columns: 1fr;
  }

  .css-hero-art {
    min-height: 220px;
    justify-content: center;
  }

  .css-hero-art img {
    width: min(100%, 420px);
    margin: 0;
  }

  .css-standards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .css-foot-banner {
    flex-direction: column;
    border-radius: 20px;
    padding: 1rem;
  }
}

@media (max-width: 560px) {
  .css-shell {
    border-radius: 18px;
  }

  .css-standards-grid {
    grid-template-columns: 1fr;
  }

  .css-standards-leaf {
    display: none;
  }
}
