:root {
    --primary-color: #4353ff;
    --text-color: #333;
    --bg-color: #fff;
    --card-bg: #fff;
    --border-color: #eaeaea;
    --hover-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    text-transform: uppercase;
    font-size: 1em;
}

h2 {
    text-transform: uppercase;
    font-size: 0.8em;
    font-weight: normal;
}

h3 {
    font-size: 1.1em;
    margin-top: 30px;
    margin-bottom: 15px;
}

.post-description a {
    color: var(--text-color);
    text-decoration: underline;
    font-size: 0.9em;
}

.post-description a:hover {
    text-decoration: none;
}

.posts {
    /*display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 30px;*/
}

.post {
    /*border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease;
    background-color: var(--card-bg);*/
    display: block;
    margin-bottom: 20px;
}

.post:hover {
    /*transform: translateY(-5px);
    box-shadow: var(--hover-shadow);*/
}

.post-image {
    width: 100%;
    /*height: 200px;*/
    max-width: 1280px;
    object-fit: cover;
}

.post-content {
    padding: 10px;
    text-align: center;
}

.post-content iframe {
    max-width: 100%;
}

.post-title {
    color: #aaa;
    font-size: 1.0em;
    margin-bottom: 25px;
}

.post-title:hover {
    color: #888;
}

.post-description {
    margin-bottom: 20px;
}

.post-tags {
    /*display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;*/
    margin-bottom: 15px;
}

.tag {
    background-color: #f0f0f0;
    color: #555;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8em;
    text-decoration: none;
    transition: background-color 0.2s;
    margin: 4px 5px;
    display: inline-block;
}

.tag:hover {
    background-color: #e0e0e0;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 1px;
}

.pagination a {
    color: var(--text-color);
    padding: 4px 4px;
    text-decoration: none;
    /*border: 1px solid var(--border-color);*/
    border-radius: 4px;
    transition: background-color 0.3s;
}

.pagination a:hover {
    background-color: #f0f0f0;
}

.pagination .active {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.external-link {
    /*display: inline-block;*/
    margin-top: 10px;
    color: var(--primary-color);
    text-decoration: none;
}

.external-link:hover {
    text-decoration: underline;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

.tag-header {
    margin-bottom: 30px;
    text-align: center;
}

.single-post {
    max-width: 1280px;
    margin: 0 auto 30px;
    text-align: center;
}

.single-post-image {
    width: 100%;
    /*height: 200px;*/
    max-width: 1280px;
    object-fit: cover;
}

/* Info page specific styles */
.info-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.info-section {
    margin-bottom: 40px;
    font-size: 0.9em;
}

.info-section h3 {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.info-section a {
    color: var(--text-color);
    text-decoration: underline;
}

.info-section a:hover {
    text-decoration: none;
}

.info-footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.9em;
    color: #888;
}


/* Archive page specific styles */
.archive-container {
    max-width: 1280px;
    margin: 0 auto;
}

.archive-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.archive-item {
    width: 250px;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.archive-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.archive-item:hover img {
    transform: scale(1.05);
}
/*
.archive-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 0.8em;
    text-align: center;
}
*/
.archive-item:hover .archive-item-overlay {
    opacity: 1;
}

.nav-menu {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.nav-menu a {
    margin: 0 15px;
    color: var(--text-color);
    text-decoration: underline;
    font-size: 0.9em;
    text-transform: uppercase;
}

.nav-menu a:hover {
    text-decoration: none;
}
