/* Układ sekcji tej podstrony. Typografia i nawigacja: site.css. */

:root {
  --clay: #c67a5c;
  --earth: #8b5a2b;
  --gold: #d4a017;
  --cream: #fcf9f2;
  --charcoal: #2b2b28;
  --soft-brown: #4a3c31;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --radius: 18px;
}
body {
  background: var(--cream);
  margin: 0;
  
  color: var(--soft-brown);
}
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
h1, h2, h3 {
  
  color: var(--charcoal);
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 0.5rem; text-align: center; }
h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin: 2.5rem 0 1rem;
  position: relative;
  padding-bottom: 0.4rem;
}
h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gold);
  margin-top: 0.5rem;
  border-radius: 3px;
}
h3 { font-size: 1.3rem; margin: 1.5rem 0 0.8rem; color: #5a3e2b; }
a { color: var(--earth); text-decoration: none; border-bottom: 1px dotted var(--earth); }
a:hover { color: var(--clay); border-bottom-color: var(--clay); }
p { margin-bottom: 1rem; line-height: 1.7; }

/* Hero */
.hero-small {
  background: linear-gradient(135deg, rgba(0,0,0,0.4), rgba(0,0,0,0.1)), url('../photos/pomoc.jpg') center/cover no-repeat;
  border-radius: 0 0 40px 40px;
  padding: 5rem 2rem;
  text-align: center;
  color: white;
  margin-bottom: 2rem;
}
.hero-small h1 { color: #fff; text-shadow: 2px 2px 8px rgba(0,0,0,0.4); color: #ffd700;  }

/* Ways grid */
.ways-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.way-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s;
}
.way-card:hover { transform: translateY(-4px); }
.way-icon { font-size: 2.5rem; margin-bottom: 0.8rem; }
.way-card h3 { margin-top: 0; font-size: 1.25rem; }

/* Highlight box */
.highlight-box {
  background: linear-gradient(145deg, #fff6e6, #ffecd2);
  border-left: 6px solid var(--clay);
  padding: 1.8rem 2rem;
  border-radius: 0 20px 20px 0;
  margin: 2rem 0;
}
.highlight-box p { margin-bottom: 0.4rem; }

/* Media list */
.media-list {
  list-style: none;
  padding: 0;
}
.media-list li {
  background: var(--white);
  padding: 0.8rem 1.2rem;
  margin-bottom: 0.8rem;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.04);
}

/* Volunteer cards */
.volunteer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.volunteer-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.volunteer-card h3 { margin-top: 0; }
.volunteer-card ul { margin: 0; padding-left: 1.2rem; }

footer {
  background: #2b2b28;
  color: #c9b896;
  text-align: center;
  padding: 2.5rem 2rem;
  margin-top: 4rem;
  border-radius: 40px 40px 0 0;
}
@media (max-width: 600px) {
  .wrapper { padding: 1rem; }
}

[data-style="detail-1"]{text-align:center; font-size:1.1rem;}
[data-style="detail-2"]{font-size:0.9rem;}
[data-style="detail-3"]{display:grid; grid-template-columns: 1fr 1fr; gap:1.5rem; align-items: start;}
[data-style="detail-4"]{}
[data-style="detail-5"]{background:var(--white); padding:1.5rem; border-radius:var(--radius); box-shadow:var(--shadow);}
[data-style="detail-6"]{font-weight:600;}
[data-style="detail-7"]{text-align:center; margin-top:2rem;}