/*
Theme Name: News Island
Theme URI: https://digitaladda.com
Author: Tahseen Ashrafi
Author URI: https://digitaladda.com
Description: A modern SEO-optimized WordPress theme for news websites
Version: 4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tahseen-ashrafi
Tags: blog, news, magazine, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready, responsive-design
*/

:root {
    --primary-red: #8B0000;
    --white: #FFFFFF;
    --black: #000000;
    --gray-light: #F5F5F5;
    --gray-medium: #CCCCCC;
    --gray-dark: #666666;
    --text-primary: #333333;
    --text-secondary: #666666;
    --border-color: #E0E0E0;
}

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

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

body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: var(--gray-light);
}

body::-webkit-scrollbar-thumb {
    background: var(--gray-medium);
    border-radius: 4px;
}

body::-webkit-scrollbar-thumb:hover {
    background: var(--gray-dark);
}

/* Dark Mode */
body.dark-mode {
    background-color: var(--black);
    color: var(--white);
}

body.dark-mode .site-header {
    background-color: #1a1a1a;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode p,
body.dark-mode span,
body.dark-mode div,
body.dark-mode .archive-post-meta-new,
body.dark-mode .archive-post-title-new,
body.dark-mode .archive-post-excerpt-new,
body.dark-mode .archive-post-author-new {
    color: var(--white);
}

body.dark-mode a {
    color: var(--white);
}

body.dark-mode .separator-line,
body.dark-mode .horizontal-line {
    background-color: #333;
}

body.dark-mode .main-navigation {
    background-color: #1a1a1a;
}

body.dark-mode .archive-post-card-new {
    background-color: #1a1a1a;
    border-color: #333;
}

body.dark-mode .site-footer {
    background-color: #1a1a1a;
}

body.dark-mode .read-more-btn-new {
    background-color: var(--primary-red);
    color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Georgia', serif;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-red);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.uniform-post-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    z-index: 1000;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-header.hide-menu {
    transform: translateY(-100%);
}

.header-container {
    max-width: 90%;
    margin: 0 auto;
    padding: 1rem 0;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
}

.site-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    flex: 1;
}

.logo-news {
    color: var(--primary-red);
}

.logo-island {
    color: var(--white);
    background-color: var(--primary-red);
    padding: 0 0.5rem;
}

.mobile-menu-toggle {
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    display: none;
}

.dark-mode-toggle {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.dark-mode-toggle:hover {
    opacity: 0.9;
}

.dark-mode-toggle i {
    font-size: 1.2rem;
}

.header-separator {
    height: 1px;
    background-color: var(--border-color);
    margin: 0.5rem 0;
}

.main-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 500;
}

.main-navigation a:hover,
.main-navigation a.current-menu-item {
    background-color: var(--primary-red);
    color: var(--white);
}

/* Marquee Section */
.marquee-section {
    width: 100%;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 0.75rem 0;
    overflow: hidden;
    margin-top: 140px;
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 80s linear infinite;
    font-weight: 500;
    text-align: center;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Main Content */
.site-main {
    padding-top: 2rem;
}

/* Other Stories Section */
.other-stories-section {
    max-width: 90%;
    margin: 2rem auto;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

/* Main Section: 90% width, 3 columns */
.main-section-container {
    max-width: 90%;
    margin: 3rem auto;
}

.main-section-grid {
    display: grid;
    grid-template-columns: 25% 40% 25%;
    gap: 2rem;
}

.main-column-25,
.main-column-40 {
    text-align: left;
}

.category-heading {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 700;
}

.category-block {
    margin-bottom: 2rem;
}

.category-post-item {
    margin-bottom: 1rem;
}

.post-meta-small {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.post-title-small {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.post-title-small a:hover {
    color: var(--primary-red);
}

.post-title-medium {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.post-title-medium a:hover {
    color: var(--primary-red);
}

.separator-line {
    height: 1px;
    background-color: var(--border-color);
    margin: 1rem 0;
}

/* World Featured Post */
.world-post-featured {
    margin-bottom: 1.5rem;
}

.world-featured-image,
.sports-image {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Three Column Section: Health, Lifestyle, National */
.three-column-section {
    max-width: 90%;
    margin: 3rem auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.image-text-post {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.post-thumbnail-left {
    flex-shrink: 0;
}

.thumbnail-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
}

.post-content-right {
    flex: 1;
}

.more-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    background-color: var(--primary-red);
    color: var(--white);
    border-radius: 4px;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-weight: 500;
}

.more-button:hover {
    opacity: 0.9;
    color: var(--white);
}

/* Photo Gallery Section */
.photo-gallery-section {
    max-width: 90%;
    margin: 3rem auto;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-image-link {
    position: relative;
    display: block;
}

.gallery-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-red);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-post-title {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 600;
}

.gallery-post-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.gallery-post-title a:hover {
    color: var(--primary-red);
}

/* World Section */
.world-section {
    max-width: 90%;
    margin: 3rem auto;
}

.section-header-line {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-header-line .section-title {
    white-space: nowrap;
}

.horizontal-line {
    flex: 1;
    height: 2px;
    background-color: var(--primary-red);
}

.world-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.world-post-card,
.politics-post-card,
.tech-post-card {
    text-align: center;
}

.world-post-card img,
.politics-post-card img,
.tech-post-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.post-author {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Politics Section */
.politics-section,
.technology-section {
    max-width: 90%;
    margin: 60px auto;
    padding: 0 20px;
}

.politics-grid,
.technology-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.politics-additional-posts,
.technology-additional-posts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.additional-post-card {
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.additional-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.15);
}

.additional-post-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.additional-post-card .post-meta-small {
    padding: 15px 15px 5px 15px;
}

.additional-post-card .post-title-medium {
    padding: 0 15px;
}

.additional-post-card .post-author {
    padding: 10px 15px 15px 15px;
}

/* You Missed Section */
.you-missed-section {
    max-width: 90%;
    margin: 3rem auto;
    text-align: center;
}

.you-missed-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.missed-post-card {
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    text-align: left;
}

.missed-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.15);
}

.missed-image-link {
    position: relative;
    display: block;
}

.missed-category-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-red);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
}

.missed-post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.read-more-btn {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.4rem 1rem;
    background-color: var(--primary-red);
    color: var(--white);
    border-radius: 4px;
    font-size: 0.875rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-weight: 500;
}

.read-more-btn:hover {
    opacity: 0.9;
    color: var(--white);
}

/* Single Post Page */
.single-post-container {
    max-width: 70%;
    margin: 3rem auto;
}

.single-post-article {
    margin-bottom: 3rem;
}

.author-bar {
    background-color: var(--gray-light);
    padding: 1rem;
    border-left: 4px solid var(--primary-red);
    margin-bottom: 1.5rem;
}

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

.entry-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.update-meta {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.featured-image-single {
    margin-bottom: 2rem;
}

.featured-image-single img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
}

.post-subheading {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 2rem;
    padding: 1rem;
    border-left: 4px solid var(--primary-red);
    background-color: var(--gray-light);
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

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

.entry-content h2,
.entry-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* READ MORE Section */
.read-more-section {
    background-color: var(--gray-light);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
}

.read-more-title {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.read-more-list {
    list-style: none;
    padding: 0;
}

.read-more-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.read-more-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-red);
}

.read-more-list a {
    color: var(--text-primary);
}

.read-more-list a:hover {
    color: var(--primary-red);
}

/* Author Info Section */
.author-info-section {
    display: flex;
    gap: 2rem;
    background-color: var(--gray-light);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
}

.author-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details {
    flex: 1;
}

.author-details .author-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.author-bio {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.author-email {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.author-actions {
    display: flex;
    gap: 1rem;
}

.follow-button,
.email-button {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: opacity 0.3s ease;
    font-weight: 500;
}

.follow-button {
    background-color: var(--primary-red);
    color: var(--white);
}

.email-button {
    background-color: var(--white);
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.follow-button:hover,
.email-button:hover {
    opacity: 0.9;
}

/* Archive Pages */
.archive-container {
    max-width: 90%;
    margin: 3rem auto;
}

.archive-header {
    text-align: center;
    margin-bottom: 3rem;
}

.archive-title {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.category-name-effect {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-red), #a00000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

.archive-posts-grid {
    margin-bottom: 3rem;
}

.archive-row {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.archive-row-4 {
    grid-template-columns: repeat(4, 1fr);
}

.archive-row-3 {
    grid-template-columns: repeat(3, 1fr);
}

.archive-post-card {
    text-align: left;
}

.archive-post-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.archive-post-meta {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.archive-post-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.archive-post-title a:hover {
    color: var(--primary-red);
}

.archive-post-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.archive-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.archive-post-author {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* New Archive Grid Layout */
.archive-posts-grid-new {
    width: 90%;
    margin: 0 auto 3rem;
}

.archive-row-four {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.archive-post-card-new {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.archive-post-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.archive-post-image-new {
    display: block;
    overflow: hidden;
}

.archive-post-image-new img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.archive-post-card-new:hover .archive-post-image-new img {
    transform: scale(1.05);
}

.archive-post-meta-new {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 1rem 1rem 0.5rem;
}

.archive-post-title-new {
    font-size: 1.1rem;
    margin: 0 1rem 0.75rem;
    line-height: 1.4;
}

.archive-post-title-new a {
    color: var(--text-primary);
}

.archive-post-title-new a:hover {
    color: var(--primary-red);
}

.archive-post-excerpt-new {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 1rem 1rem;
}

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

.archive-post-author-new {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.read-more-btn-new {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: background-color 0.3s ease;
}

.read-more-btn-new:hover {
    background-color: #6a0000;
}

/* Footer */
.site-footer {
    background-color: var(--text-primary);
    color: var(--white);
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 90%;
    margin: 0 auto;
}

.footer-logo {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

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

.footer-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: var(--white);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-red);
}

.footer-separator {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright-text {
    color: var(--white);
    font-size: 0.875rem;
}

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

.social-icons a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-red);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    transition: opacity 0.3s ease;
    z-index: 999;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
}

.back-to-top:hover {
    opacity: 0.9;
}

.back-to-top.show {
    display: flex;
}

.back-to-top i {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-section-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .three-column-section {
        grid-template-columns: 1fr;
    }

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

    .you-missed-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .politics-additional-posts,
    .technology-additional-posts {
        grid-template-columns: 1fr;
    }
    
    .single-post-container {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .main-navigation {
        position: fixed;
        top: 120px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 120px);
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        z-index: 999;
    }

    .main-navigation.active {
        left: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .main-navigation a {
        display: block;
        width: 100%;
    }

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

    .world-grid,
    .politics-grid,
    .technology-grid {
        grid-template-columns: 1fr;
    }

    .you-missed-grid {
        grid-template-columns: 1fr;
    }

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

    .archive-row-4,
    .archive-row-3 {
        grid-template-columns: 1fr;
    }

    .archive-row-four {
        grid-template-columns: 1fr;
    }

    .archive-posts-grid-new {
        width: 95%;
    }

    .author-info-section {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .site-logo {
        font-size: 2rem;
    }

    .entry-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Comments */
.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    margin-bottom: 1rem;
}

.comment-form input[type="submit"] {
    background-color: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.comment-form input[type="submit"]:hover {
    opacity: 0.9;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background-color: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

/* SEO Optimizations */
article,
section,
header,
footer,
nav,
main {
    display: block;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-red);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .back-to-top,
    .dark-mode-toggle,
    .mobile-menu-toggle {
        display: none;
    }
}
