:root {
    --primary-color: #007bff;
    --secondary-color: #333;
    --background-color: #fff;
    --text-color: #333;
	--text-splash: #fff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.zalando-sans-expanded-<blog> {
  font-family: "Zalando Sans Expanded", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

body {
    font-family: "Zalando Sans Expanded", sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: var(--background-color);
	
}

p {padding-top: 10px; padding-bottom: 10px;}

.container {
    max-width: 1920px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header */
.site-header {
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 1rem 0;
    border-bottom: #77aaff 3px solid;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    margin: 0;
}

.site-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.main-nav ul {
    list-style: none;
}

.main-nav ul li {
    display: inline;
    margin-left: 20px;
}

.main-nav ul li a {
    color: var(--primary-color);
}

/* Main Content Grid */
.site-main .container {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Two-thirds for content, one-third for sidebar */
    gap: 30px;
    padding: 30px 20px;
}

/* Blog Posts Section */
.blog-posts {
    background-color: var(--background-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.post-card {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.post-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.post-card h1 {
    font-size: 3em;
}

.post-card h2 {
    margin-bottom: 5px;
}

.post-card .post-meta {
    font-size: 0.7em;
    color: #777;
    margin-bottom: 15px;
}

.post-thumbnail {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 5px;
}

.read-more {
    display: inline-block;
    background: #3498db;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    margin-top: 10px;
}

/* Sidebar */
.sidebar {
    background-color: var(--background-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.sidebar .widget {
    margin-bottom: 30px;
}

.sidebar .widget h3 {
    margin-bottom: 15px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.sidebar .widget ul {
    list-style: none;
}

.sidebar .widget ul li {
    padding: 5px 0;
}

.sidebar .widget ul li a {
    color: #555;
}

/* Footer */
.site-footer {
    background-color: var(--background-color);
    color: var(--text-color);
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 30px;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

figure {
  margin: 0;
  padding: 0;
  text-align: center; /* centers caption under image */
}

figure img {
  max-width: 100%;   /* scales down with screen */
  height: auto;      /* keeps aspect ratio */
  display: block;    /* removes inline spacing */
  margin: 0 auto;    /* centers image */
}

figcaption {
  font-size: 0.8rem;
  color: #555;
  margin-top: 0.5em;
}

/* Responsive Design with Media Queries for CSS Grid */
@media (max-width: 768px) {
    .site-main .container {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
    }

    .site-header .container {
        flex-direction: column;
        text-align: center;
    }

    .main-nav ul {
        margin-top: 15px;
    }

    .main-nav ul li {
        margin: 0 10px;
    }
}