/*
Theme Name: Letterboxed Speed
Theme URI: https://github.com/derrickjamesf/letterboxed-theme
Author: Derrick James
Description: A speed-optimized WordPress theme for letterboxedsolution.com. Drop-in replacement for Simplelin with identical appearance but dramatically faster load times. Zero jQuery, zero Font Awesome, zero render-blocking resources.
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: letterboxed-speed
Tags: blog, two-columns, right-sidebar, custom-logo, custom-menu
*/

/* === Reset === */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

/* === Base === */
body{color:#333;font-family:Arial,sans-serif;font-size:16px;font-weight:400;line-height:1.625;background:#f5f5f5}
a{color:#4aa0d5;text-decoration:none;transition:color .2s}
a:hover{color:#333}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,h4,h5,h6{font-weight:700;line-height:1.3;margin-bottom:.5em;color:#333}
h1{font-size:28px}
h2{font-size:24px}
h3{font-size:20px}
p{margin-bottom:1em}
ul,ol{margin:0;padding:0;list-style:none}
.entry-content ul,.entry-content ol{margin:10px 0 20px 30px}
.entry-content ul>li{list-style-type:disc;margin-bottom:10px}
.entry-content ol>li{list-style-type:decimal;margin-bottom:10px}

/* === Forms === */
input,textarea,select{font-family:inherit;font-size:inherit;color:#333;border:1px solid #ccc;border-radius:3px;padding:8px 12px}
input:focus,textarea:focus{border-color:#4aa0d5;outline:none}
button,input[type="button"],input[type="submit"],.button{background:#4aa0d5;border:none;border-radius:3px;color:#fff;cursor:pointer;font-size:16px;font-weight:700;padding:10px 12px;transition:background-color .25s}
button:hover,input[type="submit"]:hover,.button:hover{background:#333}

/* === Layout === */
.container{max-width:1200px;margin:0 auto;padding:0 20px}
.site-content{display:flex;gap:40px;padding:30px 0}
#primary{flex:1;min-width:0}
#secondary{width:340px;flex-shrink:0}

/* === Header === */
.site-header{background:#fff;border-bottom:1px solid #e6e6e6}
.inside-header{display:flex;align-items:center;justify-content:space-between;padding:20px 0}
.site-branding a{color:#333;font-size:28px;font-weight:700;text-decoration:none}
.site-description{color:#999;font-size:14px;margin-top:2px}

/* === Navigation === */
.main-navigation ul{display:flex;gap:20px;list-style:none}
.main-navigation a{color:#333;font-weight:600;font-size:14px;text-transform:uppercase;padding:8px 0;transition:color .2s}
.main-navigation a:hover{color:#4aa0d5}
.menu-toggle{display:none;background:#4aa0d5;color:#fff;border:none;padding:10px 16px;font-size:16px;cursor:pointer;border-radius:3px}

/* === Posts === */
.post-inner-content{background:#fff;margin-bottom:30px;border-radius:3px;overflow:hidden}
.post-thumbnail img{width:100%;height:auto}
.post-content-wrap{padding:25px 30px}
.entry-title{margin-bottom:10px}
.entry-title a{color:#333}
.entry-title a:hover{color:#4aa0d5}
.entry-meta{color:#999;font-size:13px;margin-bottom:15px}
.entry-meta a{color:#999}
.entry-meta a:hover{color:#4aa0d5}
.entry-content{margin-bottom:15px}
.entry-footer{border-top:1px solid #eee;padding-top:15px;color:#999;font-size:13px}
.entry-footer a{color:#999}
.entry-footer a:hover{color:#4aa0d5}
.more-link{display:inline-block;background:#4aa0d5;color:#fff;padding:8px 20px;border-radius:3px;font-weight:600;font-size:14px;transition:background .25s}
.more-link:hover{background:#333;color:#fff}

/* === Pagination === */
.nav-links{display:flex;gap:8px;justify-content:center;padding:20px 0}
.page-numbers{display:inline-block;padding:8px 14px;background:#4aa0d5;color:#fff;border-radius:3px;font-weight:600;transition:background .25s}
.page-numbers:hover,.page-numbers.current{background:#333;color:#fff}
.page-numbers.dots{background:transparent;color:#333}
.nav-previous a,.nav-next a{display:inline-block;padding:8px 14px;background:#4aa0d5;color:#fff;border-radius:3px;font-weight:600}
.nav-previous a:hover,.nav-next a:hover{background:#333;color:#fff}
.nav-previous a::before{content:"\2190 "}
.nav-next a::after{content:" \2192"}

/* === Sidebar / Widgets === */
#secondary .widget{background:#fff;padding:20px;margin-bottom:20px;border-radius:3px}
.widget-header{font-size:18px;font-weight:700;margin-bottom:15px;padding-bottom:10px;border-bottom:2px solid #4aa0d5}
.widget ul{list-style:none}
.widget li{padding:6px 0;border-bottom:1px solid #eee}
.widget li:last-child{border-bottom:none}
.widget a{color:#333}
.widget a:hover{color:#4aa0d5}

/* === Search Widget === */
.search-form{display:flex}
.search-field{flex:1;border-radius:3px 0 0 3px}
.search-submit{border-radius:0 3px 3px 0;padding:8px 16px}

/* === Footer === */
.site-footer{background:#333;color:#fff;text-align:center;padding:20px 0;margin-top:30px;font-size:14px}
.site-footer a{color:#4aa0d5}
.site-footer a:hover{color:#fff}

/* === Comments === */
.comments-area{background:#fff;padding:25px 30px;border-radius:3px;margin-bottom:30px}
.comment-list{list-style:none}
.comment-body{padding:15px 0;border-bottom:1px solid #eee}
.comment-author{font-weight:700}
.comment-metadata{font-size:12px;color:#999;margin-bottom:10px}
.comment-content p{margin-bottom:.5em}
.comment-reply-link{font-size:13px;color:#4aa0d5}

/* === Single Post Navigation === */
.post-navigation{margin-bottom:30px}
.post-navigation .nav-links{justify-content:space-between}

/* === Archive Header === */
.archive-area{background:#fff;padding:20px 30px;margin-bottom:30px;border-radius:3px}
.archive-area h1{margin-bottom:5px}
.taxonomy-description p{color:#666;margin:0}

/* === Tables === */
table{width:100%;border-collapse:collapse;margin-bottom:20px}
th,td{border:1px solid #bbb;padding:8px 12px;text-align:left}
th{text-align:center;background:#f5f5f5;font-weight:700}

/* === Accessibility === */
.screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute!important;height:1px;width:1px;overflow:hidden;word-wrap:normal!important}
.screen-reader-text:focus{background:#f1f1f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;color:#333;display:block;font-size:14px;font-weight:700;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}

/* === Responsive === */
@media screen and (max-width:1200px){
.container{max-width:960px}
}
@media screen and (max-width:960px){
.container{max-width:90%}
.site-content{flex-direction:column}
#secondary{width:100%}
}
@media screen and (max-width:800px){
.container{max-width:100%}
.inside-header{flex-direction:column;text-align:center;gap:15px}
.main-navigation ul{flex-wrap:wrap;justify-content:center}
.menu-toggle{display:block;margin:0 auto}
.main-navigation ul{display:none;flex-direction:column;align-items:center;width:100%;padding-top:10px}
.main-navigation.toggled ul{display:flex}
.post-content-wrap{padding:20px}
}

/* === Utility === */
.clearfix::after{content:"";display:table;clear:both}
