
body {
  line-height: 1.7;
  font-family: Arial, sans-serif;
}

main {
  max-width: 900px;
  margin: auto;
  padding: 16px;
}

h1, h2, h3 {
  line-height: 1.3;
}

img {
  max-width: 100%;
  border-radius: 12px;
}

.card {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

button {
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
}

iframe {
  border-radius: 12px;
  width: 100%;
}

/* === Safe hero polish for AdSense review === */
.hero,
.post-hero,
.hero-banner,
.hero-section,
.hero-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  margin: 1.2rem 0 1.8rem;
  box-shadow: 0 10px 28px rgba(0,0,0,.10);
}

.hero img,
.post-hero img,
.hero-banner img,
.hero-section img,
.hero-wrap img {
  display: block;
  width: 100%;
  height: clamp(260px, 42vw, 520px);
  object-fit: cover;
}

.hero::after,
.post-hero::after,
.hero-banner::after,
.hero-section::after,
.hero-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.10) 0%,
    rgba(0,0,0,0.22) 45%,
    rgba(0,0,0,0.42) 100%
  );
  pointer-events: none;
}

.hero-content,
.post-hero-content,
.hero-text,
.hero-caption {
  position: absolute;
  left: clamp(16px, 3vw, 34px);
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 30px);
  z-index: 2;
  color: #fff;
}

.hero-content h1,
.post-hero-content h1,
.hero-text h1,
.hero-caption h1,
.hero h1,
.post-hero h1 {
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 .5rem;
  color: #fff;
  text-shadow: 0 3px 14px rgba(0,0,0,.35);
  max-width: 12ch;
}

.hero-content p,
.post-hero-content p,
.hero-text p,
.hero-caption p,
.hero .meta,
.post-hero .meta {
  margin: 0;
  font-size: clamp(.98rem, 1.6vw, 1.1rem);
  color: rgba(255,255,255,.95);
  text-shadow: 0 2px 10px rgba(0,0,0,.30);
  max-width: 60ch;
}

@media (max-width: 768px) {
  .hero img,
  .post-hero img,
  .hero-banner img,
  .hero-section img,
  .hero-wrap img {
    height: 260px;
  }

  .hero-content h1,
  .post-hero-content h1,
  .hero-text h1,
  .hero-caption h1,
  .hero h1,
  .post-hero h1 {
    max-width: 100%;
  }
}
