/*
Theme Name: Best Classic PC Games
Theme URI: https://www.bestclassicpcgames.com
Author: Best Classic PC Games
Author URI: https://www.bestclassicpcgames.com
Description: A custom WordPress theme for Best Classic PC Games — a site dedicated to the 25 best classic PC games that shaped a generation.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bestclassicpcgames
Tags: gaming, blog, custom-menu, featured-images, threaded-comments
*/
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{font-size:16px;scroll-behavior:smooth;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;font-size:1rem;line-height:1.7;color:#2c2c2c;background-color:#f7f8fa;}
img{max-width:100%;height:auto;display:block;}
a{color:#2e7d32;text-decoration:none;transition:color 0.2s ease;}
a:hover{color:#1b5e20;text-decoration:underline;}
ul,ol{list-style-position:inside;}
.toc-inline {
  display: block;
}

@media (min-width: 1025px) {
  .toc-inline {
    display: none !important;
  }
}
.site-container{max-width:1200px;margin:0 auto;padding:0 20px;}
.content-wrapper{display:flex;gap:30px;margin-top:25px;align-items:flex-start;}
.main-content{flex:1;min-width:0;background:#fff;padding:30px 35px;border-radius:8px;box-shadow:0 1px 3px rgba(0,0,0,0.06);}
.sidebar{width:320px;flex-shrink:0;position:sticky;top:20px;}
.site-header{background:#efefef;border-bottom:3px solid #2e7d32;padding:0;}
.header-inner{display:flex;align-items:center;justify-content:space-between;max-width:1200px;margin:0 auto;padding:12px 20px;}
.site-logo img{max-height:55px;width:auto;}
.site-logo a{display:flex;align-items:center;}
.primary-nav ul{display:flex;gap:0;list-style:none;margin:0;padding:0;}
.primary-nav li{position:relative;}
.primary-nav a{display:block;padding:10px 20px;font-size:0.95rem;font-weight:600;color:#333;text-transform:uppercase;letter-spacing:0.03em;transition:color 0.2s,background-color 0.2s;border-radius:4px;}
.primary-nav a:hover,.primary-nav .current-menu-item > a,.primary-nav .current_page_item > a{color:#2e7d32;background-color:#f0f7f0;text-decoration:none;}
.primary-nav ul ul{display:none;position:absolute;top:100%;left:0;background:#fff;min-width:220px;box-shadow:0 4px 12px rgba(0,0,0,0.1);border-radius:0 0 6px 6px;z-index:1000;flex-direction:column;}
.primary-nav li:hover > ul{display:flex;}
.primary-nav ul ul a{padding:10px 18px;font-size:0.88rem;text-transform:none;border-bottom:1px solid #f0f0f0;}
.primary-nav ul ul li:last-child a{border-bottom:none;}
.menu-toggle{display:none;background:none;border:2px solid #2e7d32;border-radius:4px;padding:8px 12px;cursor:pointer;color:#2e7d32;font-size:1.2rem;}
.breadcrumbs{max-width:1200px;margin:0 auto;padding:12px 20px;font-size:0.85rem;color:#777;}
.breadcrumbs a{color:#2e7d32;}
.breadcrumbs .separator{margin:0 6px;color:#bbb;}
.main-content h1.retro-page-title { text-align:center; font-family: Verdana, 'Trebuchet MS', Arial, sans-serif; font-size:cbody.home .main-content h1.retro-page-title {
    text-align: center !important;
    font-family: Verdana, 'Trebuchet MS', Arial, sans-serif !important;
    font-size: clamp(30px, 5vw, 46px) !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    color: #4f8f2f !important;
    text-shadow: 0 0 1px rgba(170,230,120,0.35), 0 0 6px rgba(170,230,120,0.18) !important;
    margin: 20px 0 28px !important;
    padding: 0 12px !important;
    border-bottom: none !important;
}lamp(30px, 5vw, 46px); line-height:1.15; font-weight:700; color:#4f8f2f; text-shadow:0 0 1px rgba(170,230,120,0.35), 0 0 6px rgba(170,230,120,0.18); margin:20px 0 28px; padding:0 12px; border-bottom:none; }
.main-content h1{font-size:2rem;font-weight:800;color:#1a1a1a;line-height:1.25;margin-bottom:20px;padding-bottom:15px;border-bottom:3px solid #2e7d32;}
.main-content h2{font-size:1.5rem;font-weight:700;color:#1a1a1a;margin-top:45px;margin-bottom:18px;padding-bottom:10px;border-bottom:2px solid #e8e8e8;line-height:1.3;}
.main-content h3{font-size:1.2rem;font-weight:600;color:#2c2c2c;margin-top:25px;margin-bottom:12px;}
.main-content p{margin-bottom:16px;font-size:1.02rem;line-height:1.75;}
.main-content ul,.main-content ol{margin-bottom:16px;padding-left:24px;list-style-position:outside;}
.main-content li{margin-bottom:6px;line-height:1.6;}
.game-section{padding-top:10px;margin-bottom:35px;}
.game-section .game-image{margin:15px 0 20px;border-radius:6px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,0.1);}
.game-section .game-image img{width:100%;height:auto;display:block;}
.game-meta{background:#f8faf8;border-left:4px solid #2e7d32;padding:14px 18px;margin:15px 0 18px;font-size:0.92rem;line-height:1.8;border-radius:0 6px 6px 0;}
.game-meta strong{color:#1a1a1a;}
.games-table-wrapper{overflow-x:auto;margin:20px 0 30px;}
.games-table{width:100%;border-collapse:collapse;font-size:0.92rem;}
.games-table thead{background:#2e7d32;color:#fff;}
.games-table th{padding:12px 14px;text-align:left;font-weight:600;font-size:0.88rem;text-transform:uppercase;letter-spacing:0.03em;}
.games-table td{padding:10px 14px;border-bottom:1px solid #e8e8e8;vertical-align:middle;}
.games-table tbody tr:nth-child(even){background:#f8faf8;}
.games-table tbody tr:hover{background:#edf5ed;}
.games-table td:first-child{font-weight:700;color:#2e7d32;text-align:center;width:40px;}
.quick-nav{background:#fff;border-radius:8px;padding:20px;margin-bottom:20px;box-shadow:0 1px 3px rgba(0,0,0,0.06);}
.quick-nav h3{font-size:1.05rem;font-weight:700;color:#1a1a1a;margin-bottom:12px;padding-bottom:8px;border-bottom:2px solid #2e7d32;}
.quick-nav ol{list-style:none;padding:0;margin:0;counter-reset:qnav;max-height:60vh;overflow-y:auto;}
.quick-nav li{counter-increment:qnav;margin-bottom:0;}
.quick-nav li a{display:block;padding:6px 8px 6px 0;font-size:0.88rem;color:#444;border-bottom:1px solid #f2f2f2;transition:color 0.2s,padding-left 0.2s;}
.quick-nav li a::before{content:counter(qnav) ". ";font-weight:600;color:#2e7d32;}
.quick-nav li a:hover{color:#2e7d32;padding-left:4px;text-decoration:none;}
.quick-nav li:last-child a{border-bottom:none;}
.toc-inline{background:#f8faf8;border:1px solid #e0e8e0;border-radius:8px;padding:18px 22px;margin-bottom:25px;}
.toc-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;background:none;border:none;cursor:pointer;padding:0;}
.toc-toggle h3{font-size:1.1rem;font-weight:700;color:#1a1a1a;margin:0;padding:0;border:none;}
.toc-icon{display:inline-block;width:20px;height:20px;position:relative;transition:transform 0.3s;}
.toc-icon::before{content:"";position:absolute;top:50%;left:50%;width:12px;height:2px;background:#2e7d32;transform:translate(-50%,-50%);}
.toc-icon::after{content:"";position:absolute;top:50%;left:50%;width:2px;height:12px;background:#2e7d32;transform:translate(-50%,-50%);transition:transform 0.3s;}
.toc-toggle[aria-expanded="true"] .toc-icon::after{transform:translate(-50%,-50%) rotate(90deg);opacity:0;}
.toc-list{list-style:none;padding:0;margin:12px 0 0;counter-reset:toc;columns:2;column-gap:20px;}
.toc-list.is-collapsed{display:none;}
.toc-list li{counter-increment:toc;break-inside:avoid;margin-bottom:0;}
.toc-list li a{display:block;padding:5px 0;font-size:0.9rem;color:#444;border-bottom:1px solid #eee;transition:color 0.2s;}
.toc-list li a::before{content:counter(toc) ". ";font-weight:600;color:#2e7d32;}
.toc-list li a:hover{color:#2e7d32;text-decoration:none;}
.toc-list li:last-child a{border-bottom:none;}
.back-to-top{position:fixed;bottom:30px;right:30px;width:44px;height:44px;background:#2e7d32;color:#fff;border:none;border-radius:50%;font-size:1.3rem;cursor:pointer;opacity:0;visibility:hidden;transition:opacity 0.3s,visibility 0.3s,background 0.2s;z-index:999;box-shadow:0 2px 8px rgba(0,0,0,0.2);}
.back-to-top.is-visible{opacity:1;visibility:visible;}
.back-to-top:hover{background:#1b5e20;}
.audio-player-widget{background:#fff;border-radius:8px;padding:20px;margin-bottom:20px;box-shadow:0 1px 3px rgba(0,0,0,0.06);}
.audio-player-widget h3{font-size:1.05rem;font-weight:700;color:#1a1a1a;margin-bottom:12px;padding-bottom:8px;border-bottom:2px solid #2e7d32;}
.audio-player-widget .wp-audio-shortcode{width:100% !important;}
.audio-player-widget .mejs-container{min-width:100% !important;}
.recent-posts-widget{background:#fff;border-radius:8px;padding:20px;margin-bottom:20px;box-shadow:0 1px 3px rgba(0,0,0,0.06);}
.recent-posts-widget h3{font-size:1.05rem;font-weight:700;color:#1a1a1a;margin-bottom:12px;padding-bottom:8px;border-bottom:2px solid #2e7d32;}
.recent-posts-widget ul{list-style:none;padding:0;margin:0;}
.recent-posts-widget li{margin-bottom:0;}
.recent-posts-widget li a{display:block;padding:8px 0;font-size:0.9rem;color:#444;border-bottom:1px solid #f2f2f2;line-height:1.4;}
.recent-posts-widget li a:hover{color:#2e7d32;text-decoration:none;}
.recent-posts-widget li:last-child a{border-bottom:none;}
.sidebar .widget{background:#fff;border-radius:8px;padding:20px;margin-bottom:20px;box-shadow:0 1px 3px rgba(0,0,0,0.06);}
.sidebar .widget-title,.sidebar .widget h3,.sidebar .widget h2,.sidebar .widget .wp-block-heading{font-size:1.05rem;font-weight:700;color:#1a1a1a;margin-bottom:12px;padding-bottom:8px;border-bottom:2px solid #2e7d32;margin-top:0;}
.sidebar .widget ul{list-style:none;padding:0;margin:0;}
.sidebar .widget li{margin-bottom:0;}
.sidebar .widget li a{display:block;padding:8px 0;font-size:0.9rem;color:#444;border-bottom:1px solid #f2f2f2;line-height:1.4;}
.sidebar .widget li a:hover{color:#2e7d32;text-decoration:none;}
.sidebar .widget li:last-child a{border-bottom:none;}
.sidebar .widget .wp-block-group{margin:0;padding:0;}
.sidebar .widget .wp-block-group__inner-container{margin:0;padding:0;}
.sidebar .widget .wp-block-search__label{font-size:1.05rem;font-weight:700;color:#1a1a1a;margin-bottom:12px;padding-bottom:8px;border-bottom:2px solid #2e7d32;display:block;}
.sidebar .widget .wp-block-search__inside-wrapper{display:flex;gap:8px;}
.sidebar .widget .wp-block-search__input{flex:1;padding:8px 12px;border:1px solid #ddd;border-radius:4px;font-size:0.9rem;}
.sidebar .widget .wp-block-search__button{padding:8px 16px;background:#2e7d32;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:0.9rem;}
.sidebar .widget .wp-block-search__button:hover{background:#1b5e20;}
.sidebar .widget .no-comments{font-size:0.88rem;color:#888;font-style:italic;}
.sidebar .widget .wp-block-latest-posts__post-title{color:#444;}
.sidebar .widget .wp-block-latest-posts__post-title:hover{color:#2e7d32;text-decoration:none;}
.site-footer{background:#1a1a1a;color:#ccc;margin-top:50px;padding:30px 0;font-size:0.9rem;}
.footer-inner{max-width:1200px;margin:0 auto;padding:0 20px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:15px;}
.footer-nav ul{display:flex;gap:20px;list-style:none;margin:0;padding:0;}
.footer-nav a{color:#ccc;font-size:0.88rem;transition:color 0.2s;}
.footer-nav a:hover{color:#4caf50;text-decoration:none;}
.footer-copy{color:#888;font-size:0.85rem;}
.post-card{background:#fff;border-radius:8px;overflow:hidden;margin-bottom:25px;box-shadow:0 1px 3px rgba(0,0,0,0.06);transition:box-shadow 0.2s;}
.post-card:hover{box-shadow:0 3px 12px rgba(0,0,0,0.1);}
.post-card .post-thumbnail{width:100%;height:220px;overflow:hidden;}
.post-card .post-thumbnail img{width:100%;height:100%;object-fit:cover;}
.post-card .post-content{padding:20px 25px;}
.post-card .post-title{font-size:1.3rem;font-weight:700;color:#1a1a1a;margin-bottom:10px;line-height:1.3;}
.post-card .post-title a{color:#1a1a1a;}
.post-card .post-title a:hover{color:#2e7d32;text-decoration:none;}
.post-card .post-excerpt{font-size:0.95rem;color:#555;line-height:1.6;margin-bottom:12px;}
.post-card .post-meta{font-size:0.82rem;color:#888;}
.post-card .read-more{display:inline-block;margin-top:10px;font-size:0.9rem;font-weight:600;color:#2e7d32;}
.post-card .read-more:hover{text-decoration:underline;}
.single-post-header{margin-bottom:25px;}
.single-post-header .post-title{font-size:2rem;font-weight:800;color:#1a1a1a;line-height:1.25;margin-bottom:10px;}
.single-post-header .post-meta{font-size:0.85rem;color:#888;margin-bottom:15px;}
.single-post-featured{margin-bottom:25px;border-radius:8px;overflow:hidden;}
.single-post-featured img{width:100%;height:auto;}
.single-post-content h2{margin-top:40px;}
.post-navigation{display:flex;justify-content:space-between;margin-top:40px;padding-top:20px;border-top:2px solid #e8e8e8;font-size:0.9rem;}
.post-navigation a{font-weight:600;}
.comparison-table{width:100%;border-collapse:collapse;margin:20px 0 25px;font-size:0.92rem;}
.comparison-table th{background:#2e7d32;color:#fff;padding:12px 14px;text-align:left;font-weight:600;}
.comparison-table td{padding:10px 14px;border-bottom:1px solid #e8e8e8;vertical-align:top;}
.comparison-table tbody tr:nth-child(even){background:#f8faf8;}
.faq-section h3{font-size:1.1rem;margin-top:20px;margin-bottom:8px;color:#1a1a1a;}
.faq-section p{margin-bottom:18px;}
.criteria-list{margin:15px 0 25px;}
.criteria-list li{margin-bottom:10px;padding-left:8px;}
.criteria-list li strong{color:#2e7d32;}
.lazy-section{opacity:0;transform:translateY(20px);transition:opacity 0.5s ease,transform 0.5s ease;}
.lazy-section.is-visible{opacity:1;transform:translateY(0);}
.disclaimer{margin-top:35px;padding:15px 18px;background:#f8f8f8;border-left:3px solid #ccc;font-size:0.85rem;color:#777;font-style:italic;border-radius:0 6px 6px 0;}
.honorable-mentions p{margin-bottom:10px;}
.honorable-mentions strong{color:#1a1a1a;}
.error-404{text-align:center;padding:60px 20px;}
.error-404 h1{font-size:4rem;color:#2e7d32;border:none;margin-bottom:10px;}
.error-404 p{font-size:1.1rem;color:#666;margin-bottom:25px;}
.error-404 .back-home{display:inline-block;padding:12px 30px;background:#2e7d32;color:#fff;border-radius:6px;font-weight:600;transition:background 0.2s;}
.error-404 .back-home:hover{background:#1b5e20;text-decoration:none;color:#fff;}
.page-content h2{font-size:1.4rem;margin-top:35px;margin-bottom:14px;}
.page-content h3{font-size:1.15rem;margin-top:22px;margin-bottom:10px;}
.page-content p{margin-bottom:14px;}
.page-content ul{margin-bottom:14px;}
.pagination{text-align:center;margin-top:30px;}
.pagination .page-numbers{display:inline-block;padding:8px 14px;margin:0 3px;background:#fff;border:1px solid #ddd;border-radius:4px;color:#444;font-size:0.9rem;}
.pagination .page-numbers.current{background:#2e7d32;color:#fff;border-color:#2e7d32;}
.pagination .page-numbers:hover:not(.current){border-color:#2e7d32;color:#2e7d32;text-decoration:none;}
@media (max-width:960px){.content-wrapper{flex-direction:column;}
.sidebar{width:100%;position:static;}
.main-content{padding:20px;}
.main-content h1{font-size:1.6rem;}
.main-content h2{font-size:1.3rem;}
.toc-list{columns:1;}
.quick-nav{display:none;}
}
@media (max-width:768px){.header-inner{flex-wrap:wrap;gap:10px;}
.menu-toggle{display:block;}
.primary-nav{display:none;width:100%;order:3;}
.primary-nav.is-open{display:block;}
.primary-nav ul{flex-direction:column;}
.primary-nav ul ul{position:static;box-shadow:none;padding-left:15px;display:flex;}
.footer-inner{flex-direction:column;text-align:center;}
.footer-nav ul{justify-content:center;}
.games-table{font-size:0.82rem;}
.games-table th,.games-table td{padding:8px 10px;}
.post-card .post-thumbnail{height:180px;}
}
@media (max-width:480px){html{font-size:15px;}
.main-content{padding:15px;}
.main-content h1{font-size:1.4rem;}
.site-logo img{max-height:42px;}
.games-table th:nth-child(4),.games-table td:nth-child(4){display:none;}
}
