/*
Theme Name: Studiare Child
Theme URI: https://rezasafari.net
Description: Child theme for Studiare Plus — customizations for rezasafari.net
Author: Reza Safari
Template: studiare
Version: 1.0.0
Text Domain: studiare-child
*/

:root {
  --rs-teal: #27baa3;
  --rs-teal-dark: #1e9482;
  --rs-ink: #1c2430;
  --rs-muted: #5b6573;
  --rs-paper: #f4fbf9;
  --rs-hero-radius: 1.25rem;
}

.rs-home-hero {
  background: linear-gradient(180deg, var(--rs-paper) 0%, #fff 100%);
  padding: 1.25rem 1rem 0.25rem;
}

.rs-home-hero__inner {
  max-width: 72rem;
  margin-inline: auto;
  padding: 1.75rem 1.5rem;
  border: 1px solid color-mix(in srgb, var(--rs-teal) 22%, transparent);
  border-radius: var(--rs-hero-radius);
  background: #fff;
  display: grid;
  gap: 0.85rem;
  text-align: center;
}

.rs-home-hero__eyebrow {
  margin: 0;
  color: var(--rs-teal-dark);
  font-size: 0.9rem;
  font-weight: 600;
}

.rs-home-hero__title {
  margin: 0;
  color: var(--rs-ink);
  font-size: clamp(1.6rem, 2.4vw + 1rem, 2.4rem);
  line-height: 1.35;
}

.rs-home-hero__lead {
  margin: 0 auto;
  max-width: 40rem;
  color: var(--rs-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.rs-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.rs-home-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.rs-home-hero__btn--primary {
  background: var(--rs-teal);
  color: #fff;
}

.rs-home-hero__btn--primary:hover,
.rs-home-hero__btn--primary:focus-visible {
  background: var(--rs-teal-dark);
  color: #fff;
}

.rs-home-hero__btn--ghost {
  background: transparent;
  color: var(--rs-ink);
  border: 1px solid color-mix(in srgb, var(--rs-ink) 16%, transparent);
}

.rs-home-hero__btn--ghost:hover,
.rs-home-hero__btn--ghost:focus-visible {
  border-color: var(--rs-teal);
  color: var(--rs-teal-dark);
}

.home .wd-page-content {
  padding-top: 0.5rem;
}

@media (min-width: 1024px) {
  .home .wd-products.grid-columns-3 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rs-home-hero__btn {
    transition: none;
  }
}
