/*
Theme Name: KoXmo
Theme URI: https://koxmo.com
Author: Методи Дързев
Author URI: https://metodi.darzev.com
Description: A personal blog about IT, Dev and business decisions from real-world practice. Notes on systems, decisions and consequences.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: koxmo
Tags: blog, one-column, custom-menu, translation-ready
*/

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

:root {
    --primary-color: #2563EB;
    --primary-dark: #1E40AF;
    --secondary-color: #3B82F6;
    --secondary-dark: #2563EB;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --bg-white: #ffffff;
    --bg-light: #F8FAFC;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(37, 99, 235, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(37, 99, 235, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #F8F9FA 0%, #ffffff 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.btn-primary {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* Newsletter Section */
.newsletter {
    padding: 4rem 0;
    background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
    color: white;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.newsletter-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.newsletter-text p {
    font-size: 1.125rem;
    color: white;
    opacity: 0.9;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.newsletter-form .btn-primary:hover {
    background-color: var(--bg-light);
}

/* Footer */
.footer {
    background-color: #1E293B;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   BLOG LAYOUT STYLES
   ============================================ */

.blog-layout {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.blog-layout .logo {
    text-decoration: none;
}

.blog-layout .logo-text {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.blog-layout .logo:hover .logo-text {
    color: var(--primary-color);
}

.blog-layout .nav-search {
    padding: 0.5rem;
}

/* Blog Hero */
.blog-hero {
    padding: 5rem 0 3rem;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.blog-hero .hero-content {
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.blog-title {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}

.blog-tagline {
    font-size: 1.35rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.5;
}

.blog-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.blog-signature {
    font-style: italic;
    color: var(--text-light);
    font-size: 0.95rem;
    opacity: 0.8;
}

.author-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #DBEAFE 0%, #93C5FD 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.author-photo i {
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.5;
}

/* Quick Doors Section */
.quick-doors {
    padding: 3rem 0;
    background: var(--bg-light);
}

.doors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.door-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.door-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.door-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.door-latest .door-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.door-start .door-icon {
    background: linear-gradient(135deg, #1E293B 0%, #475569 100%);
}

.door-icon i {
    font-size: 1.5rem;
    color: white;
}

.door-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.door-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Section Labels */
.section-label {
    margin-bottom: 2rem;
}

.section-label span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
}

.section-label i {
    color: var(--primary-color);
}

/* Featured Posts */
.featured-posts {
    padding: 4rem 0;
    background: var(--bg-white);
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.featured-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.featured-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.featured-image {
    position: relative;
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.05);
}

.featured-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.75rem;
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

.featured-content {
    padding: 1.5rem;
}

.featured-content h3 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.featured-content h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.featured-content h3 a:hover {
    color: var(--primary-color);
}

.featured-teaser {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.featured-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.featured-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.meta-date i, .meta-read i {
    font-size: 0.8rem;
}

/* Latest Notes */
.latest-notes {
    padding: 4rem 0;
    background: var(--bg-light);
}

.notes-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.note-item {
    border-bottom: 1px solid var(--border-color);
}

.note-item:last-child {
    border-bottom: none;
}

.note-link {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding: 1.5rem 0;
    text-decoration: none;
    transition: var(--transition);
}

.note-link:hover {
    padding-left: 1rem;
}

.note-content h3 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.note-link:hover .note-content h3 {
    color: var(--primary-color);
}

.note-teaser {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.note-tags {
    display: flex;
    gap: 0.5rem;
}

.tag {
    padding: 0.25rem 0.6rem;
    background: var(--bg-white);
    color: var(--text-light);
    font-size: 0.75rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.note-date {
    flex-shrink: 0;
    font-size: 0.85rem;
    color: var(--text-light);
    white-space: nowrap;
}

/* Series Section */
.series-section {
    padding: 4rem 0;
    background: var(--bg-white);
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.series-card {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
}

.series-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.series-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #DBEAFE 0%, #93C5FD 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.series-icon i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.series-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.series-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.series-count {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* About Strip */
.about-strip {
    padding: 4rem 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about-strip-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-strip-text h2 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-strip-text p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.about-strip-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.strip-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-white);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.strip-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.strip-link i {
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* Blog Newsletter */
.blog-newsletter {
    padding: 3rem 0;
}

.blog-newsletter .newsletter-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    flex-direction: column;
}

.blog-newsletter .newsletter-text h2 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.75rem;
}

.blog-newsletter .newsletter-text p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.blog-newsletter .newsletter-form {
    max-width: 450px;
    margin: 0 auto;
}

/* Blog Footer */
.blog-footer .footer-brand h3 {
    font-family: 'Source Serif 4', Georgia, serif;
}

.blog-footer .footer-bottom p {
    font-family: 'Source Serif 4', Georgia, serif;
    font-style: italic;
}

/* ============================================
   ARTICLE PAGE STYLES
   ============================================ */

.article-page {
    background: var(--bg-white);
}

.article-container {
    max-width: 800px;
}

.article-header {
    padding: 3rem 0 2rem;
    background: var(--bg-white);
}

.article-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--primary-color);
}

.article-tags {
    display: flex;
    gap: 0.5rem;
}

.article-tags .tag {
    background: var(--primary-color);
    color: white;
    border: none;
}

.article h1 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.article-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.article-featured-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    padding: 2rem 0;
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-dark);
}

.article-content h2 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
    color: var(--text-dark);
}

.article-content h3 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
    color: var(--text-dark);
}

.article-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
    color: var(--text-dark);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.7;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
}

.article-content blockquote p {
    margin-bottom: 0;
    font-style: italic;
    color: var(--text-dark);
}

.article-content hr {
    border: none;
    height: 1px;
    background: var(--border-color);
    margin: 3rem 0;
}

.article-content strong {
    font-weight: 600;
    color: var(--text-dark);
}

.article-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-content a:hover {
    text-decoration: none;
}

.stats-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    margin: 1.5rem 0;
}

.stats-box .stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.stages-list {
    margin: 1.5rem 0;
}

.stage-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.stage-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.stage-content h4 {
    margin: 0 0 0.25rem !important;
}

.stage-content p {
    margin: 0 !important;
    font-size: 0.95rem;
    color: var(--text-light);
}

.article-question {
    padding: 1.5rem;
    background: linear-gradient(135deg, #DBEAFE 0%, #EFF6FF 100%);
    border-radius: 12px;
    font-size: 1.1rem;
    border-left: 4px solid var(--primary-color);
}

.article-signature {
    font-family: 'Source Serif 4', Georgia, serif;
    font-style: italic;
    color: var(--text-light);
    margin-top: 3rem;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #DBEAFE 0%, #93C5FD 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
}

.author-bio {
    font-size: 0.9rem;
    color: var(--text-light);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.article-share span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.article-share a {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
}

.article-share a:hover {
    background: var(--primary-color);
    color: white;
}

.related-articles {
    padding: 4rem 0;
    background: var(--bg-light);
}

.related-articles h3 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.related-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.related-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-card h4 {
    padding: 1.25rem;
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        max-width: 100%;
    }

    .series-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-strip-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-strip-links {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .blog-title {
        font-size: 2.75rem;
    }

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

    .author-photo {
        width: 150px;
        height: 150px;
    }

    .doors-grid {
        grid-template-columns: 1fr;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .series-grid {
        grid-template-columns: 1fr;
    }

    .article h1 {
        font-size: 2rem;
    }

    .stats-box {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-footer {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .note-link {
        flex-direction: column;
        gap: 0.5rem;
    }

    .note-date {
        order: -1;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-text h1 {
        font-size: 1.75rem;
    }

    .blog-title {
        font-size: 2.25rem;
    }

    .article h1 {
        font-size: 1.75rem;
    }

    .article-content {
        font-size: 1rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .article-content h3 {
        font-size: 1.2rem;
    }

    .stats-box {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .stat-value {
        font-size: 1.25rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        width: 100%;
    }

    .about-strip-links {
        flex-direction: column;
    }
}
