/* === Madeleine Sandig - Custom Template === */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #8b1e1e;
  --primary-dark: #5e1414;
  --accent: #c9a961;
  --dark: #1a1a1a;
  --light: #f7f5f0;
  --gray: #5a5a5a;
  --border: #e3ddd1;
}

html { scroll-behavior: smooth; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.7;
  font-size: 17px;
}

/* === Header === */
.site-header {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c1010 100%);
  color: #fff;
  padding: 0;
  border-bottom: 4px solid var(--accent);
}

.top-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  text-decoration: none;
}

.brand span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 4px;
  font-weight: 400;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 2px;
}

.tagline {
  font-style: italic;
  font-size: 0.95rem;
  color: #d8cda9;
}

/* === Navigation === */
.main-nav {
  background: rgba(0,0,0,0.35);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.main-nav ul {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.main-nav a {
  display: block;
  padding: 14px 22px;
  color: #f1ead8;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.25s;
  border-bottom: 3px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: rgba(0,0,0,0.25);
}

/* === Hero === */
.hero {
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.65)),
              linear-gradient(120deg, #2c1010, #6b1818);
  color: #fff;
  padding: 90px 24px;
  text-align: center;
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.8rem;
  margin-bottom: 18px;
  letter-spacing: 1px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto;
  font-style: italic;
  color: #f0e6c8;
}

/* === Layout === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.section-subtitle {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.45rem;
  color: var(--primary);
  margin: 32px 0 14px;
}

article p {
  margin-bottom: 18px;
  text-align: justify;
}

article p::first-letter {
  /* nothing fancy globally */
}

.lead {
  font-size: 1.2rem;
  color: var(--gray);
  font-style: italic;
  border-left: 4px solid var(--accent);
  padding-left: 20px;
  margin-bottom: 30px;
}

/* === Two columns === */
.two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  margin-top: 30px;
}

.sidebar {
  background: #fff;
  padding: 28px;
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  height: fit-content;
}

.sidebar h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--primary-dark);
  margin-bottom: 14px;
  font-size: 1.2rem;
}

.sidebar ul {
  list-style: none;
}

.sidebar ul li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.95rem;
}

.sidebar ul li:last-child { border-bottom: none; }

.sidebar a {
  color: var(--primary);
  text-decoration: none;
}

.sidebar a:hover { text-decoration: underline; }

/* === Quote box === */
.quote-box {
  background: #fff;
  border-left: 5px solid var(--primary);
  padding: 24px 28px;
  margin: 30px 0;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--dark);
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

.quote-box::before {
  content: "„";
  font-family: Georgia, serif;
  font-size: 3rem;
  color: var(--accent);
  float: left;
  line-height: 0.8;
  margin-right: 8px;
}

/* === Sponsors grid === */
.sponsors {
  background: #fff;
  padding: 50px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sponsors-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.sponsors h2 {
  font-family: 'Playfair Display', Georgia, serif;
  text-align: center;
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin-bottom: 30px;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.sponsor-grid div {
  padding: 18px;
  background: var(--light);
  border: 1px solid var(--border);
  text-align: center;
  font-size: 0.92rem;
  color: var(--gray);
  transition: all 0.25s;
}

.sponsor-grid div:hover {
  border-color: var(--accent);
  background: #fff;
  transform: translateY(-2px);
}

/* === Tables === */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: #fff;
  border: 1px solid var(--border);
}

table th {
  background: var(--primary-dark);
  color: #fff;
  padding: 12px 14px;
  text-align: left;
  font-size: 0.95rem;
}

table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

table tr:nth-child(even) td { background: #faf7f0; }

/* === Lists === */
article ul {
  margin: 14px 0 22px 28px;
}

article ul li {
  margin-bottom: 8px;
}

/* === Partner Links Section === */
.partner-links {
  background: #fff;
  padding: 40px 24px;
  border-top: 1px solid var(--border);
}

.partner-links-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.partner-links h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  color: var(--primary-dark);
  text-align: center;
  margin-bottom: 8px;
}

.partner-links .subtitle {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 28px;
  font-style: italic;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.partner-card {
  background: var(--light);
  border: 1px solid var(--border);
  padding: 16px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
}

.partner-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.partner-card .img-wrap {
  width: 100%;
  height: 110px;
  background: linear-gradient(135deg, #2c1010, #8b1e1e);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
}

.partner-card .img-wrap svg {
  width: 50px;
  height: 50px;
  opacity: 0.9;
}

.partner-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 6px;
  text-transform: capitalize;
}

.partner-card p {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.5;
  margin: 0;
}

.partner-card .url {
  font-size: 0.75rem;
  color: var(--primary);
  margin-top: 8px;
  word-break: break-all;
}

/* === Footer === */
.site-footer {
  background: var(--dark);
  color: #c9c2b3;
  padding: 40px 24px 20px;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}

.footer-inner h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--accent);
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.footer-inner p { font-size: 0.92rem; line-height: 1.6; }

.footer-inner ul { list-style: none; }

.footer-inner ul li { padding: 4px 0; font-size: 0.92rem; }

.footer-inner a {
  color: #c9c2b3;
  text-decoration: none;
}

.footer-inner a:hover { color: var(--accent); }

.copyright {
  max-width: 1100px;
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid #333;
  text-align: center;
  font-size: 0.82rem;
  color: #888;
}

/* === Responsive === */
@media (max-width: 850px) {
  .two-col { grid-template-columns: 1fr; gap: 30px; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero { padding: 60px 20px; }
  .section-title { font-size: 1.6rem; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 12px 18px; border-bottom: 1px solid rgba(255,255,255,0.05); border-left: 3px solid transparent; }
  .main-nav a:hover, .main-nav a.active { border-bottom-color: rgba(255,255,255,0.05); border-left-color: var(--accent); }
  .top-bar { padding: 20px 16px 12px; flex-direction: column; align-items: flex-start; }
  .container { padding: 40px 18px; }
  body { font-size: 16px; }
}

@media (max-width: 500px) {
  .partner-grid { grid-template-columns: 1fr; }
  .partner-card .img-wrap { height: 90px; }
  .brand { font-size: 1.5rem; }
  .hero h1 { font-size: 1.6rem; }
}
