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

:root {
    --primary-blue: #0085C2;
    --primary-blue-dark: #0052a3;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --border-color: #e0e0e0;
    --bg-white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* Heading Font */
h1, h2, h3, h4, h5, h6,
.article-header h1,
.article-content h2,
.article-content h3,
.recent-posts h2,
.list-header h1,
.post-content h3,
.post-item-content h2,
.hero-placeholder h1 {
    font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 600;
}

h1 {
    font-size: 32px !important;
}

h2 {
    font-size: 28px !important;
}

h3 {
    font-size: 28px !important;
}

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

/* Main Wrapper for Sidebar Layout */
.main-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.main-content {
    flex: 1;
    min-width: 0; /* Allows flex item to shrink below content size */
}

.main-content > .article,
.main-content > .list-page {
    padding: 20px 0 30px;
}

/* Sidebar Styles */
.sidebar {
    width: 300px;
    flex-shrink: 0;
    padding-top: 20px;
}

.sidebar-content {
    position: sticky;
    top: 100px; /* Below header */
}

.social-media-panel {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 15px;
}

.email-form-container {
    padding-bottom: 20px;
}

/* Style email form inputs to match site styling */
.email-form-container input[type="email"],
.email-form-container input[type="text"] {
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.social-media-title {
    font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-blue);
    text-align: center;
}

.social-icons-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    color: var(--primary-blue);
    transition: all 0.3s ease;
    border-radius: 50%;
    background: transparent;
    flex: 0 0 auto;
}

.social-icon:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 133, 194, 0.3);
}

.social-icon svg {
    width: 32px;
    height: 32px;
}

.sidebar-title {
    font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #0085C2;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.sidebar-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-post {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.sidebar-post:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.sidebar-post-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.sidebar-post-image {
    width: 100%;
    overflow: hidden;
    background: #e0e0e0;
}

.sidebar-post-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.sidebar-post:hover .sidebar-post-image img {
    transform: scale(1.05);
}

.sidebar-post-content {
    padding: 15px;
}

.sidebar-post-title {
    font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #0085C2;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-post-date {
    font-size: 13px;
    color: var(--text-light);
    display: block;
}

/* Header Styles */
.site-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 20px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 85px;
    transition: min-height 0.3s ease, padding 0.3s ease;
}

.site-header.scrolled .header-container {
    min-height: 60px;
    padding: 10px 20px 0 20px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
}

.logo a {
    text-decoration: none;
    color: var(--primary-blue);
    display: inline-block;
    max-width: 400px;
}

.logo-image {
    height: auto;
    width: auto;
    max-width: 400px;
    display: block;
    transition: max-width 0.3s ease;
}

.site-header.scrolled .logo a {
    max-width: 280px;
}

.site-header.scrolled .logo-image {
    max-width: 280px;
}

.site-tagline {
    font-size: 17.7px;
    color: var(--text-dark);
    font-weight: 400;
    line-height: 1.3;
    transition: font-size 0.3s ease, opacity 0.3s ease;
    max-width: 400px;
    margin-top: -8px;
    margin-left: 20px;
    display: block;
}

.site-header.scrolled .site-tagline {
    display: none;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.logo-checkbox {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-blue);
    border-radius: 3px;
    position: relative;
    margin: 0 2px;
    vertical-align: middle;
}

.logo-checkbox::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: bold;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Search Styles */
.search-container {
    position: relative;
}

.search-toggle {
    background: none;
    border: 1px solid var(--border-color);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: all 0.2s;
    border-radius: 4px;
    min-width: 36px;
    min-height: 36px;
}

.search-toggle:hover {
    color: var(--primary-blue);
    background: rgba(0, 102, 204, 0.05);
    border-color: var(--primary-blue);
}

.search-toggle svg {
    width: 20px;
    height: 20px;
}

.search-box {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    width: 350px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.search-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#search-input {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-bottom: 1px solid var(--border-color);
    font-size: 16px;
    outline: none;
    border-radius: 8px 8px 0 0;
    font-family: inherit;
}

#search-input:focus {
    border-bottom-color: var(--primary-blue);
}

.search-results {
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.search-results.has-results {
    display: block;
}

.search-result-item {
    display: block;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s;
}

.search-result-item:hover {
    background-color: #f8f9fa;
}

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

.search-result-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 6px;
    line-height: 1.3;
}

.search-result-title mark {
    background-color: #fff3cd;
    padding: 2px 4px;
    border-radius: 2px;
    font-weight: 700;
}

.search-result-summary {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.5;
}

.search-result-summary mark {
    background-color: #fff3cd;
    padding: 1px 3px;
    border-radius: 2px;
}

.search-result-date {
    font-size: 12px;
    color: var(--text-light);
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: var(--primary-blue-dark);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Menu Slide-out */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 85%;
    height: 100%;
    background: var(--bg-white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 60px 20px 20px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
}

.mobile-menu .nav-menu li {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu .nav-menu a {
    display: block;
    padding: 15px 0;
    width: 100%;
    font-size: 18px;
}

.mobile-menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
    padding: 5px 10px;
}

.mobile-menu-close:hover {
    color: var(--primary-blue);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-blue);
    transition: all 0.3s;
    display: block;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero-section {
    width: 100%;
    margin-top: 0;
}

.hero-image {
    width: 100%;
    overflow: hidden;
    position: relative;
}

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

.hero-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: white;
    text-align: center;
    padding: 40px;
}

.hero-placeholder h1 {
    font-size: 32px !important;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-placeholder p {
    font-size: 20px;
    opacity: 0.9;
}

/* Home Content */
.home-content {
    padding: 30px 0 60px 0;
    background: var(--bg-white);
}

/* Recent Posts */
.recent-posts {
    padding: 30px 0 60px 0;
    background: #f8f9fa;
}

.recent-posts h2 {
    font-size: 28px !important;
    margin-bottom: 40px;
    color: #0085C2;
}

.posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.post-card {
    background: var(--bg-white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.post-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-image {
    width: 100%;
    overflow: hidden;
    background: #e0e0e0;
}

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

.post-content {
    padding: 20px;
}

.post-content h3 {
    font-size: 28px !important;
    margin-bottom: 10px;
    color: #0085C2;
    line-height: 1.3;
}

.post-content time {
    font-size: 14px;
    color: var(--text-light);
}

/* Recent Articles Box */
.recent-articles-box {
    margin-top: 20px;
}

.recent-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.recent-article-card {
    background: var(--bg-white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.recent-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.recent-article-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.recent-article-image {
    width: 100%;
    overflow: hidden;
    background: #e0e0e0;
}

.recent-article-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

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

.recent-article-title {
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    text-align: center;
}

/* Article Styles */
.article {
    background: var(--bg-white);
}

.article-header {
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.article-header h1 {
    font-size: 32px !important;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #0085C2;
}

.article-byline {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.article-byline .author-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.article-byline .author-link:hover {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

.article-date {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
}

.article-featured-image {
    width: 100%;
    margin: 10px 0 30px 0;
    border-radius: 8px;
    overflow: hidden;
}

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

.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-content h2 {
    font-size: 28px !important;
    margin: 20px 0 0;
    color: #0085C2;
}

.article-content h2 + p {
    margin-top: 5px;
}

.article-content h3 {
    font-size: 28px !important;
    margin: 20px 0 0;
    color: #0085C2;
}

.article-content h3 + p {
    margin-top: 5px;
}

.article-content p {
    margin-bottom: 20px;
}

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

.article-content a:hover {
    color: var(--primary-blue-dark);
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content blockquote {
    border-left: 4px solid var(--primary-blue);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-light);
}

.article-content img {
    max-width: 80%;
    width: 80%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

.article-content figure {
    max-width: 80%;
    width: 80%;
    margin: 30px 0;
}

.article-content figure img {
    max-width: 100%;
    width: 100%;
}

.article-content .wp-block-image {
    max-width: 80%;
    width: 80%;
}

.article-content .wp-block-image img {
    max-width: 100%;
    width: 100%;
}

.article-content .wp-block-gallery {
    max-width: 80%;
    width: 80%;
}

.article-content .wp-block-gallery img {
    max-width: 100%;
    width: 100%;
}

/* Responsive: images become full width on smaller screens */
@media (max-width: 768px) {
    .article-content img,
    .article-content figure,
    .article-content .wp-block-image,
    .article-content .wp-block-gallery {
        max-width: 100%;
        width: 100%;
    }
    
    .article-content figure img,
    .article-content .wp-block-image img,
    .article-content .wp-block-gallery img {
        max-width: 100%;
        width: 100%;
    }
}

.article-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-block;
    padding: 6px 12px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-dark);
}

/* Footer */
.site-footer {
    background: var(--primary-blue);
    padding: 40px 0;
    text-align: center;
    color: white;
}

.site-footer h2 {
    color: white;
    font-size: 28px !important;
    margin-bottom: 20px;
}

.site-footer p {
    color: white;
    margin-bottom: 15px;
}

.site-footer p:last-child {
    margin-bottom: 0;
}

/* List Page Styles */
.list-page {
    background: var(--bg-white);
}

.list-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.list-header h1 {
    font-size: 32px !important;
    margin-bottom: 15px;
    color: #0085C2;
}

.list-description {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.6;
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.post-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.post-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-item a {
    display: flex;
    text-decoration: none;
    color: inherit;
    gap: 20px;
}

.post-item-image {
    width: 200px;
    min-width: 200px;
    overflow: hidden;
    background: #e0e0e0;
}

.post-item-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-item-content {
    flex: 1;
    padding: 20px;
}

.post-item-content h2 {
    font-size: 28px !important;
    margin-bottom: 10px;
    color: #0085C2;
}

.post-item-content time {
    font-size: 14px;
    color: var(--text-light);
    display: block;
    margin-bottom: 10px;
}

.post-excerpt {
    color: var(--text-light);
    line-height: 1.6;
}

/* Author Pages - Single Column Layout on All Screen Sizes */
.author-page .posts-list .post-item a {
    flex-direction: column;
    gap: 0;
}

.author-page .posts-list .post-item-image {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
}

.author-page .posts-list .post-item-content {
    padding: 20px;
}

.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.pagination-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid var(--primary-blue);
    border-radius: 4px;
    transition: all 0.2s;
}

.pagination-link:hover {
    background: var(--primary-blue);
    color: white;
}

.pagination-info {
    color: var(--text-light);
}

.pagination-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-number {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border: 1px solid var(--primary-blue);
    border-radius: 4px;
    transition: all 0.2s;
    min-width: 40px;
    text-align: center;
    display: inline-block;
}

.pagination-number:hover {
    background: var(--primary-blue);
    color: white;
}

.pagination-number.pagination-current {
    background: var(--primary-blue);
    color: white;
    cursor: default;
}

.pagination-ellipsis {
    padding: 8px 4px;
    color: var(--text-light);
}

.pagination-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Ensure H1 stays at 32px on all screen sizes */
@media (min-width: 1025px) {
    h1 {
        font-size: 32px !important;
    }
    
    .article-header h1 {
        font-size: 32px !important;
    }
    
    .list-header h1 {
        font-size: 32px !important;
    }
    
    .hero-placeholder h1 {
        font-size: 32px !important;
    }
    
    h2 {
        font-size: 28px !important;
    }
    
    h3 {
        font-size: 28px !important;
    }
    
    .article-content h2 {
        font-size: 28px !important;
    }
    
    .article-content h3 {
        font-size: 28px !important;
    }
    
    .recent-posts h2 {
        font-size: 28px !important;
    }
    
    .post-content h3 {
        font-size: 28px !important;
    }
    
    .post-item-content h2 {
        font-size: 28px !important;
    }
    
    .site-footer h2 {
        font-size: 28px !important;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .sidebar {
        width: 100%;
        padding-top: 0;
    }
    
    .sidebar-content {
        position: static;
    }
    
    .sidebar-posts {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .site-tagline {
        display: none !important;
    }
    
    .site-header.scrolled .site-tagline {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .logo-image {
        height: auto;
        width: 100%;
        max-width: 250px;
    }
    
    .site-tagline {
        display: none !important;
    }
    
    .site-header.scrolled .site-tagline {
        display: none !important;
    }
    
    .header-container {
        min-height: 65px;
        padding: 5px 15px 0 15px;
    }
    
    .site-header.scrolled .header-container {
        min-height: 55px;
        padding: 8px 15px 0 15px;
    }
    
    .site-header.scrolled .logo-image {
        height: 40px;
    }
    
    .post-item a {
        flex-direction: column;
    }
    
    .post-item-image {
        width: 100%;
    }
    
    /* Ensure author pages stay single column on mobile too */
    .author-page .posts-list .post-item a {
        flex-direction: column;
        gap: 0;
    }
    
    .author-page .posts-list .post-item-image {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }
    
    .pagination {
        flex-direction: column;
        gap: 15px;
    }
    
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 28px !important;
    }
    
    h3 {
        font-size: 28px !important;
    }
    
    .list-header h1 {
        font-size: 32px;
    }
    
    .hero-placeholder h1 {
        font-size: 32px;
    }
    
    .article-header h1 {
        font-size: 32px;
    }
    
    .recent-posts h2 {
        font-size: 28px !important;
    }
    
    .article-content h2 {
        font-size: 28px !important;
    }
    
    .article-content h3 {
        font-size: 28px !important;
    }
    
    .post-content h3 {
        font-size: 28px !important;
    }
    
    .post-item-content h2 {
        font-size: 28px !important;
    }
    
    .site-footer h2 {
        font-size: 28px;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .recent-articles-grid {
        grid-template-columns: 1fr;
    }
    
    .search-box {
        width: calc(100vw - 40px);
        right: -20px;
    }
    
    .sidebar-posts {
        grid-template-columns: 1fr;
    }
}

