/*
Theme Name: Roar Leveraging
Theme URI: https://roarleveraginginfo.blog
Author: Roar Leveraging
Author URI: https://roarleveraginginfo.blog
Description: A modern, fast, SEO-friendly blogging theme built for RoarLeveraging.info.blog — a blog about business leverage, financial growth, leadership and success strategies.
Version: 1.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: roarleveraging
Tags: blog, one-column, two-columns, right-sidebar, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
    color: #232323;
    background: #f7f7f5;
    line-height: 1.7;
    font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #d9480f; text-decoration: none; transition: color .2s ease; }
a:hover { color: #a83400; }
ul, ol { padding-left: 1.4em; }
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #161616;
    line-height: 1.3;
    margin: 0 0 .6em;
    font-weight: 700;
}
h1 { font-size: 2.4em; }
h2 { font-size: 1.9em; }
h3 { font-size: 1.5em; }
p { margin: 0 0 1.2em; }
.screen-reader-text { position: absolute; left: -9999px; }

/* ==========================================================================
   2. LAYOUT
   ========================================================================== */
.site-wrapper { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.content-layout { display: flex; gap: 40px; align-items: flex-start; margin-top: 40px; }
.main-content { flex: 1 1 68%; min-width: 0; }
.site-sidebar { flex: 1 1 28%; max-width: 320px; }

/* ==========================================================================
   3. HEADER
   ========================================================================== */
.top-bar {
    background: #161616;
    color: #ddd;
    font-size: 13px;
    padding: 6px 0;
}
.top-bar .site-wrapper { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: #ddd; }
.site-header {
    background: #fff;
    border-bottom: 3px solid #d9480f;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-title {
    font-family: 'Georgia', serif;
    font-size: 30px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -.5px;
}
.site-title a { color: #161616; }
.site-title a span { color: #d9480f; }
.site-description { font-size: 13px; color: #777; margin: 2px 0 0; font-family: sans-serif; }

/* Nav */
.main-navigation { }
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.main-navigation li { position: relative; }
.main-navigation a {
    display: block;
    padding: 10px 16px;
    color: #232323;
    font-weight: 600;
    font-size: 15px;
    border-radius: 4px;
}
.main-navigation a:hover, .main-navigation .current-menu-item > a {
    background: #d9480f;
    color: #fff;
}
.menu-toggle { display: none; background: #d9480f; color: #fff; border: 0; padding: 10px 14px; border-radius: 4px; font-size: 16px; cursor: pointer; }

/* Search */
.header-search { position: relative; }
.header-search input[type="search"] {
    padding: 9px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 190px;
    font-size: 14px;
}
.header-search button { position: absolute; right: 6px; top: 6px; background: none; border: 0; cursor: pointer; }

/* ==========================================================================
   4. HERO / FRONT PAGE
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, #161616 0%, #3a1f0f 100%);
    color: #fff;
    padding: 70px 0;
    text-align: center;
}
.hero-section h1 { color: #fff; font-size: 2.6em; }
.hero-section p { color: #cfcfcf; max-width: 640px; margin: 0 auto 1.5em; font-size: 1.1em; }
.hero-cta {
    display: inline-block;
    background: #d9480f;
    color: #fff;
    padding: 13px 30px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: .3px;
}
.hero-cta:hover { background: #a83400; color: #fff; }

.category-strip { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.category-strip a {
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 14px;
}
.category-strip a:hover { background: #d9480f; border-color: #d9480f; }

/* ==========================================================================
   5. POST CARDS / ARCHIVE
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.post-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    border: 1px solid #ececec;
}
.post-card .post-thumb img { width: 100%; height: 230px; object-fit: cover; }
.post-card-body { padding: 22px 24px; }
.post-category {
    display: inline-block;
    background: #fdecea;
    color: #d9480f;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    padding: 4px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
}
.post-card h2 { font-size: 1.4em; margin-bottom: 8px; }
.post-card h2 a { color: #161616; }
.post-card h2 a:hover { color: #d9480f; }
.post-meta { font-size: 13px; color: #888; margin-bottom: 12px; }
.post-meta span { margin-right: 12px; }
.post-excerpt { color: #4d4d4d; }
.read-more { font-weight: 700; font-size: 14px; }

/* ==========================================================================
   6. SINGLE POST
   ========================================================================== */
.single-post-header { margin-bottom: 24px; }
.single-post-header h1 { font-size: 2.2em; }
.featured-image { margin: 0 0 26px; border-radius: 8px; overflow: hidden; }
.entry-content { background: #fff; padding: 34px 38px; border-radius: 8px; border: 1px solid #ececec; }
.entry-content h2 { margin-top: 1.4em; }
.entry-content blockquote {
    border-left: 4px solid #d9480f;
    margin: 1.5em 0;
    padding: .6em 1.2em;
    background: #fbf5f2;
    font-style: italic;
    color: #444;
}
.entry-content img { border-radius: 6px; margin: 1em 0; }
.tags-links { margin-top: 26px; }
.tags-links a {
    display: inline-block;
    background: #f1f1ef;
    color: #444;
    padding: 5px 12px;
    border-radius: 14px;
    font-size: 13px;
    margin: 3px 4px 0 0;
}
.author-box {
    display: flex;
    gap: 18px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 24px;
    margin-top: 30px;
    align-items: center;
}
.author-box img { border-radius: 50%; width: 70px; height: 70px; }
.post-nav { display: flex; justify-content: space-between; margin-top: 30px; gap: 20px; }
.post-nav a { background: #fff; border: 1px solid #ececec; border-radius: 8px; padding: 16px 20px; flex: 1; }
.post-nav .nav-label { font-size: 12px; color: #999; text-transform: uppercase; display: block; margin-bottom: 4px; }

/* ==========================================================================
   7. SIDEBAR / WIDGETS
   ========================================================================== */
.widget {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 22px;
    margin-bottom: 26px;
}
.widget-title {
    font-size: 1.1em;
    border-bottom: 2px solid #d9480f;
    padding-bottom: 8px;
    margin-bottom: 16px;
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 8px 0; border-bottom: 1px dashed #eee; }
.widget ul li:last-child { border-bottom: none; }
.widget_search input[type="search"] { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; margin-bottom: 8px; }
.widget_search button { width: 100%; padding: 10px; background: #d9480f; color: #fff; border: 0; border-radius: 4px; font-weight: 700; cursor: pointer; }
.newsletter-widget p { font-size: 14px; color: #666; }

/* ==========================================================================
   8. PAGES
   ========================================================================== */
.page-header-band { background: #161616; padding: 46px 0; text-align: center; }
.page-header-band h1 { color: #fff; margin: 0; }
.page-content { background: #fff; padding: 40px; border-radius: 8px; border: 1px solid #ececec; margin: 34px 0; }

/* ==========================================================================
   9. COMMENTS
   ========================================================================== */
.comments-area { margin-top: 40px; background: #fff; padding: 30px; border-radius: 8px; border: 1px solid #ececec; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 40px; }
.comment-body { border-bottom: 1px solid #eee; padding: 18px 0; }
.comment-form input, .comment-form textarea { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; margin-bottom: 14px; font-family: inherit; }
.comment-form .form-submit input { width: auto; background: #d9480f; color: #fff; border: 0; padding: 11px 28px; font-weight: 700; cursor: pointer; }

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.site-footer { background: #161616; color: #ccc; margin-top: 60px; padding-top: 50px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-bottom: 40px; }
.footer-col h3 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: #bbb; font-size: 14px; }
.footer-col a:hover { color: #d9480f; }
.footer-bottom { border-top: 1px solid #333; padding: 18px 0; text-align: center; font-size: 13px; color: #888; }
.footer-bottom a { color: #999; }
.social-icons { display: flex; gap: 10px; margin-top: 6px; }
.social-icons a { background: #262626; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.social-icons a:hover { background: #d9480f; }

/* ==========================================================================
   11. MISC
   ========================================================================== */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 40px 0; }
.pagination a, .pagination span { padding: 9px 15px; border: 1px solid #ddd; border-radius: 4px; background: #fff; color: #333; }
.pagination .current { background: #d9480f; color: #fff; border-color: #d9480f; }
.breadcrumbs { font-size: 13px; color: #888; margin-bottom: 18px; }
.breadcrumbs a { color: #888; }
.back-to-top { position: fixed; bottom: 26px; right: 26px; background: #d9480f; color: #fff; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 10px rgba(0,0,0,.2); opacity: 0; visibility: hidden; transition: .3s; }
.back-to-top.show { opacity: 1; visibility: visible; }
.error-404 { text-align: center; padding: 70px 0; }
.error-404 h1 { font-size: 6em; color: #d9480f; margin: 0; }

/* ==========================================================================
   12. RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
    .content-layout { flex-direction: column; }
    .site-sidebar { max-width: 100%; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .menu-toggle { display: inline-block; }
    .main-navigation ul { display: none; flex-direction: column; width: 100%; background: #fff; position: absolute; left: 0; top: 100%; box-shadow: 0 6px 10px rgba(0,0,0,.08); padding: 10px 0; }
    .main-navigation.toggled ul { display: flex; }
    .main-navigation { position: relative; width: 100%; }
    .header-inner { position: relative; }
    .header-search input[type="search"] { width: 140px; }
    .hero-section h1 { font-size: 1.9em; }
    .entry-content { padding: 22px; }
    .footer-grid { grid-template-columns: 1fr; }
}
