/*
Theme Name: Alsósófalvi Erdő Kadence Child
Theme URI: https://sovidek.eu/
Description: Kadence child theme az Alsósófalvi Erdő Közbirtokosság honlapjához.
Author: SeklerTravel / Székelyföldi webfejlesztés
Template: kadence
Version: 1.0.0
Text Domain: alsosofalva-kadence-child
*/

:root {
  --also-zold: #244A32;
  --also-moha: #6F8F5B;
  --also-barna: #8A5A35;
  --also-bezs: #F3E8D2;
  --also-tortfeher: #FAF7EF;
  --also-szoveg: #2B2B2B;
}

body {
  color: var(--also-szoveg);
  background: var(--also-tortfeher);
}

.site-header, .site-footer {
  border-color: rgba(36,74,50,.12);
}

h1, h2, h3, h4 {
  color: var(--also-zold);
  letter-spacing: -0.02em;
}

.entry-content a:not(.button):not(.also-btn) {
  color: var(--also-zold);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.button, .wp-block-button__link, input[type="submit"] {
  border-radius: 999px !important;
  font-weight: 700 !important;
}

.site-main {
  overflow: hidden;
}

.also-hero {
  background: linear-gradient(120deg, rgba(36,74,50,.92), rgba(36,74,50,.62)), url("https://images.unsplash.com/photo-1448375240586-882707db888b?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: clamp(72px, 10vw, 130px) clamp(22px, 4vw, 56px);
  border-radius: 0 0 28px 28px;
}

.also-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1.05;
  margin: 0 0 18px;
}

.also-hero p {
  color: rgba(255,255,255,.95);
  font-size: 1.16rem;
  max-width: 780px;
}

.also-btn {
  display: inline-block;
  background: var(--also-barna);
  color: #fff !important;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 700;
  margin-right: 10px;
  margin-top: 10px;
}

.also-btn.secondary {
  background: #fff;
  color: var(--also-zold) !important;
}

.also-section {
  padding: 56px 24px;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.also-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.also-card {
  background: #fff;
  border: 1px solid rgba(36,74,50,.12);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 26px rgba(36,74,50,.07);
}

.also-card h3 {
  color: var(--also-zold);
  margin-top: 0;
}

.also-muted {
  background: var(--also-bezs);
  border-radius: 24px;
}

.also-lead {
  font-size: 1.12rem;
  line-height: 1.7;
  max-width: 920px;
}

@media (max-width: 760px) {
  .also-hero {
    padding: 72px 22px;
  }
  .also-btn {
    display: block;
    text-align: center;
    margin-right: 0;
  }
}
