/* style-40mini-1.css */

/* Import Google Fonts in CSS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Roboto:wght@400;700&display=swap');

:root {
  --logo-bg-color: #2D5D36;
  --primary-color: #2D5D36;
  --accent-color: #88B04B;
  --teaser-bg-color: #E9F5E8;
  --text-color: #333;
  --link-color: #2D5D36;
  --link-hover: #88B04B;
}

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

/* Typography */
body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  background: #fff;
  color: var(--text-color);
}

/* Header */
header {
  display: flex;
  align-items: center;
  background-color: var(--logo-bg-color);
  padding: 0.75rem 2rem;
}

header img {
  height: 48px;
  width: auto;
  margin-right: 1rem;
}

header h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: #fff;
  margin-right: auto;
}

/* Top Menu */
.top-menu ul {
  display: flex;
  list-style: none;
}

.top-menu li + li {
  margin-left: 1.5rem;
}

.top-menu a {
  text-decoration: none;
  font-weight: 500;
  color: #fff;
  padding: 0.5rem;
  transition: color 0.2s ease;
}

.top-menu a:hover {
  color: var(--accent-color);
}

/* Layout */
.container {
  display: flex;
  min-height: calc(100vh - 72px);
}

/* Side Navigation */
.side-nav {
  width: 200px;
  background: #f5f5f5;
  padding: 1rem;
}

.side-nav ul {
  list-style: none;
}

.side-nav li + li {
  margin-top: 1rem;
}

.side-nav a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  transition: color 0.2s ease;
}

.side-nav a:hover {
  color: var(--accent-color);
}

/* Main Content */
main {
  flex: 1;
  padding: 0;
}

/* Hero Section */
.hero {
  background-color: var(--accent-color);
  color: #fff;
  text-align: center;
  padding: 4rem 2rem;
}

.hero-content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-content p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  background: #fff;
  color: var(--accent-color);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.btn:hover {
  background: #f0f0f0;
}

/* Content Section */
.content {
  padding: 2rem;
}

.content h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

/* Styled Links */
a {
  color: var(--link-color);
  text-decoration: underline;
}

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

/* Styled Lists */
.styled-list {
  list-style-type: square;
  margin-left: 1rem;
}

.styled-list li + li {
  margin-top: 0.5rem;
}

/* Blog Teaser Section */
.blog-teaser {
  background-color: var(--teaser-bg-color);
  padding: 2rem;
}

.blog-teaser h3 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1rem;
}

.teaser-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.teaser-cards article h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.teaser-cards article p {
  font-size: 0.9rem;
  line-height: 1.4;
}

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

.teaser-cards a:hover {
  color: var(--accent-color);
}

/* External link icon */
.external-link::after {
  content: " ↗";
  font-size: 0.9rem;
}
