/* SD-citat.nu - Clean Modern Stylesheet */
:root {
  --color-bg: #e5c8ae;
  --color-bg-light: #f7ede3;
  --color-card: #ffffff;
  --color-text: #222222;
  --color-text-muted: #555555;
  --color-link: #24678d;
  --color-link-hover: #8d2424;
  --color-border: #e0d0c2;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Lato", "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "Lora", Georgia, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header & Navigation */
header.site-header {
  background-color: var(--color-bg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.header-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-bottom: 1rem;
  width: 100%;
}

.site-logo-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.site-title {
  font-family: "Lemon", var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: #584131;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.site-title:hover {
  color: #3b2a1e;
}

nav.main-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

nav.main-nav a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #4a3b30;
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

nav.main-nav a:hover {
  color: var(--color-link-hover);
  background-color: rgba(255, 255, 255, 0.4);
}

nav.main-nav a.active {
  color: #111;
  background-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #333;
  margin: 5px 0;
  transition: 0.3s;
}

/* Main Content Container */
main.main-content {
  flex: 1;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.content-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2.5rem 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  margin-bottom: 2rem;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: #222;
  line-height: 1.3;
}

h1 {
  font-size: 1.9rem;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: 1.45rem;
  margin: 1.75rem 0 1rem;
}

h3 {
  font-size: 1.2rem;
  margin: 1.25rem 0 0.75rem;
}

p {
  margin-bottom: 1.25rem;
}

a {
  color: var(--color-link);
  text-decoration: none;
}

a:hover {
  color: var(--color-link-hover);
  text-decoration: underline;
}

ul, ol {
  margin: 1rem 0 1.5rem 1.75rem;
}

li {
  margin-bottom: 0.5rem;
}

blockquote {
  border-left: 4px solid #d4b296;
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: #fdfaf7;
  font-style: italic;
  color: #444;
}

/* Images & Banners */
.banner-image {
  text-align: center;
  margin-bottom: 1.5rem;
}

.banner-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.intro-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

/* Awesome Table Widget / Table Container */
.quote-table-wrapper {
  margin: 2rem 0;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}

/* Profile / Team Members */
.team-member {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.team-member:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.team-avatar {
  width: 120px;
  height: 120px;
  min-width: 120px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.team-info h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
  color: #222;
}

.team-info p {
  margin-bottom: 0.5rem;
  color: #444;
}

/* Blog Layout */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 2rem;
}

.blog-post {
  background: #ffffff;
  border-radius: 12px;
  padding: 2.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  margin-bottom: 2rem;
}

.blog-meta {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.blog-post h2.blog-title {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.blog-post h2.blog-title a {
  color: #222;
}

.blog-post h2.blog-title a:hover {
  color: var(--color-link);
  text-decoration: none;
}

.blog-sidebar {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 1.5rem;
  height: fit-content;
}

.blog-sidebar h3 {
  margin-top: 0;
  font-size: 1.1rem;
  border-bottom: 2px solid #d4b296;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.blog-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-sidebar li {
  margin-bottom: 0.5rem;
}

/* Footer */
footer.site-footer {
  background: #d9baa0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #4a3b30;
  margin-top: auto;
}

footer.site-footer a {
  color: #2b1e16;
  font-weight: 600;
}

footer.site-footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  nav.main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
  }

  nav.main-nav.open {
    display: flex;
  }

  nav.main-nav a {
    width: 100%;
    padding: 0.6rem 1rem;
  }

  .content-card {
    padding: 1.5rem 1.25rem;
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .team-member {
    flex-direction: column;
    align-items: flex-start;
  }

  .team-avatar {
    width: 100px;
    height: 100px;
    min-width: 100px;
  }
}
