/* =========================================================
   Homepage – Alles over Salzburg
   ========================================================= */

/* Lead intro */
.home .lead,
.page-template-default .lead {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.75;
  color: var(--aos-text, #2f2a26);
  max-width: 820px;
}

/* Card grids */
.aos-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin: 2rem 0 2.5rem;
}

.aos-card-grid--home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aos-card {
  display: block;
  padding: clamp(1.35rem, 2vw, 1.75rem);
  background: var(--aos-card-bg, #fffaf3);
  border: 1px solid rgba(120, 74, 32, 0.16);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(76, 48, 24, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.aos-card:hover {
  transform: translateY(-3px);
  border-color: rgba(155, 61, 46, 0.35);
  box-shadow: 0 16px 36px rgba(76, 48, 24, 0.11);
}

.aos-card__label {
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #f4e6d8;
  color: #8f3429;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.aos-card h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.25;
  color: #2f2a26;
}

.aos-card p {
  margin: 0;
  color: #5d554d;
  line-height: 1.6;
}

/* Link grids */
.aos-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.6rem 0 2.5rem;
}

.aos-link-grid a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.1rem;
  background: #fffaf3;
  border: 1px solid rgba(120, 74, 32, 0.14);
  border-radius: 16px;
  color: #3b342d;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.35;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.aos-link-grid a::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 0.5rem;
  border-radius: 50%;
  background: #a93429;
}

.aos-link-grid a:hover {
  background: #fff3e8;
  border-color: rgba(155, 61, 46, 0.35);
  transform: translateY(-2px);
}

.aos-link-grid--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Feature boxes */
.aos-feature-box {
  margin: 2rem 0 2.7rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: linear-gradient(135deg, #fffaf3 0%, #f8eadc 100%);
  border: 1px solid rgba(120, 74, 32, 0.16);
  border-radius: 26px;
  box-shadow: 0 14px 34px rgba(76, 48, 24, 0.07);
}

.aos-feature-box--winter {
  background: linear-gradient(135deg, #f7fbff 0%, #fffaf3 100%);
}

.aos-feature-box h2 {
  margin-top: 0;
  color: #7a2f24;
}

.aos-feature-box p {
  max-width: 760px;
}

.aos-feature-box .button,
.aos-feature-box .wp-block-button__link {
  margin-top: 0.5rem;
  background: #a93429;
  color: #fff;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.aos-feature-box .button:hover,
.aos-feature-box .wp-block-button__link:hover {
  background: #7a2f24;
  color: #fff;
}

/* Homepage sidebar / widgets */
.home .sidebar .widget,
.home #right-sidebar .widget {
  background: #fffaf3;
  border: 1px solid rgba(120, 74, 32, 0.16);
  border-radius: 22px;
  padding: 1.35rem;
  box-shadow: 0 10px 28px rgba(76, 48, 24, 0.06);
}

.home .sidebar .widget-title,
.home #right-sidebar .widget-title {
  margin-bottom: 1rem;
  color: #7a2f24;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.home .sidebar .widget a,
.home #right-sidebar .widget a {
  color: #3b342d;
  font-weight: 700;
  text-decoration: none;
}

.home .sidebar .widget a:hover,
.home #right-sidebar .widget a:hover {
  color: #a93429;
}

/* Latest posts block */
.home .wp-block-latest-posts {
  margin-top: 1.5rem;
}

.home .wp-block-latest-posts.is-grid li {
  background: #fffaf3;
  border: 1px solid rgba(120, 74, 32, 0.14);
  border-radius: 18px;
  padding: 1.1rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .aos-card-grid--home,
  .aos-link-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .aos-card-grid,
  .aos-card-grid--home,
  .aos-link-grid,
  .aos-link-grid--compact {
    grid-template-columns: 1fr;
  }

  .aos-card,
  .aos-feature-box {
    border-radius: 18px;
  }
}