html {
}

body {
  margin: 0;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: rgba(255,255,255,0);
  background: url(../../assets/img/bg.png?h=be151b970f4ff7afda3d86da68aaf192) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.flags {
  height: 20px;
}

#box.legal-page {
  max-width: 1080px;
  min-height: 400px;
  padding: clamp(24px, 4vw, 48px);
  line-height: 1.75;
}

.legal-page h1 {
  margin-bottom: 26px;
  padding-bottom: 14px;
  border-bottom: 2px solid #9c7201;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.legal-page h2 {
  margin: 28px 0 12px;
  font-size: 1.35rem;
}

.legal-page p {
  margin-bottom: 18px;
}

.legal-page a {
  color: #785800;
  text-decoration: underline;
}

.legal-page a:hover {
  color: #4d3900;
}

.seo-card {
  border: 1px solid #9c7201;
  border-radius: 20px;
  background: #fff;
  padding: clamp(22px, 3vw, 36px);
  box-shadow: 0 8px 24px rgba(80, 61, 9, .08);
}

.seo-card-content h1 {
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  margin-bottom: 16px;
}

.seo-card-content h2 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  margin: 22px 0 10px;
}

.seo-card-content p {
  line-height: 1.7;
  margin-bottom: 12px;
}

.rate-changed {
  animation: rate-highlight 1.8s ease-out;
}

@keyframes rate-highlight {
  from { background-color: rgba(156, 114, 1, .24); }
  to { background-color: transparent; }
}

.seo-card.with-photo {
  display: grid;
  grid-template-columns: minmax(220px, 33%) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: stretch;
}

.seo-card-photo {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 767px) {
  .seo-card.with-photo { grid-template-columns: 1fr; }
  .seo-card-photo { height: 240px; min-height: 0; }
}

