/* modern.css — UX improvements for Werler TV Fussball */

/* === Base improvements === */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #222;
  background: #f4f5f7;
}

/* === Typography === */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
  color: #1a3a5c;
}
h1 { font-size: 1.9rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 3px solid #e8620a; }
h2 { font-size: 1.5rem; margin-top: 1.8rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.2rem; margin-top: 1.2rem; margin-bottom: 0.5rem; color: #2c5282; }
p { margin-bottom: 1rem; }

/* === Links === */
a { color: #e8620a; transition: color 0.2s; }
a:hover { color: #c0530a; text-decoration: underline; }

/* === Images === */
img { max-width: 100%; height: auto; }

/* === Layout & Content area === */
#sp-component .sp-column {
  max-width: 900px;
}

.article-details {
  background: #fff;
  border-radius: 8px;
  padding: 2rem 2.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  margin-bottom: 2rem;
}

/* === Navigation improvements === */
.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 10px 14px !important;
  letter-spacing: 0.01em;
}

/* Dropdown */
.sp-dropdown {
  border-radius: 6px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important;
}

/* === Header === */
#sp-header {
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* === Footer === */
#sp-footer {
  margin-top: 2rem;
  padding: 1.2rem 0;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}

/* === Tables === */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 15px;
}
th {
  background: #1a3a5c;
  color: #fff;
  padding: 10px 14px;
  text-align: left;
}
td {
  padding: 9px 14px;
  border-bottom: 1px solid #e0e0e0;
}
tr:nth-child(even) td { background: #f8f9fa; }
tr:hover td { background: #f0f4f8; }

/* === Article table (DOCX page) === */
.article-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 14px; }
.article-table th { background: #1a3a5c; color: #fff; padding: 10px 12px; text-align: left; }
.article-table td { padding: 9px 12px; border-bottom: 1px solid #e0e0e0; }
.article-table tr:nth-child(even) td { background: #f8f9fa; }
.article-table tr:hover td { background: #f0f4f8; }

/* === FAQ === */
.faq-section { margin-top: 2rem; }
.faq-section h3 {
  background: #f0f4f8;
  padding: 12px 16px;
  border-left: 4px solid #e8620a;
  margin: 0 0 2px;
  border-radius: 0 4px 0 0;
}
.faq-section p {
  padding: 12px 16px;
  background: #fafafa;
  border-left: 4px solid #e0e0e0;
  margin-bottom: 1rem;
}

/* === 404 page === */
.error-404 { text-align: center; padding: 80px 20px; }
.error-404 .big-404 {
  font-size: 120px;
  font-weight: 900;
  color: #e8620a;
  line-height: 1;
  display: block;
}
.error-404 h2 { font-size: 1.8rem; color: #1a3a5c; border: none; }
.btn-back {
  display: inline-block;
  background: #1a3a5c;
  color: #fff !important;
  padding: 12px 32px;
  border-radius: 4px;
  text-decoration: none !important;
  font-weight: 700;
  margin-top: 1.5rem;
  font-size: 1rem;
  transition: background 0.2s;
}
.btn-back:hover { background: #e8620a !important; }

/* === Lists === */
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.3rem; }

/* === Responsive === */
@media (max-width: 992px) {
  .article-details { padding: 1.2rem 1rem; }
  h1 { font-size: 1.5rem; }
}

@media (max-width: 576px) {
  body { font-size: 15px; }
  .article-details { padding: 1rem 0.75rem; }
  h1 { font-size: 1.3rem; }
  table, .article-table { font-size: 13px; }
}
