/*
Theme Name: Lumbin Deals
Theme URI: https://lumbindeals.com/
Author: Lumbin Deals Team
Author URI: https://lumbindeals.com/
Description: A clean, modern, mobile-first WordPress classic theme for deal and coupon affiliate websites. Features fast loading, SEO optimization, and AdSense-ready ad slots. Perfect for deal blogs, coupon sites, and affiliate marketing.
Version: 1.0.0
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lumbin-deals
Tags: deals, coupons, affiliate, blog, responsive, mobile-first, seo, adsense, white, orange, two-columns, right-sidebar
*/

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: #ff6b00;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #e65c00;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 0.75em;
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
    margin-bottom: 1em;
}

ul, ol {
    margin: 0 0 1em 1.5em;
}

blockquote {
    margin: 1em 0;
    padding: 1em 1.5em;
    border-left: 4px solid #ff6b00;
    background: #fff8f2;
    font-style: italic;
}

/* ============================================
   Layout
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.site-main {
    padding: 20px 0;
}

.content-area {
    width: 100%;
}

.widget-area {
    width: 100%;
    margin-top: 30px;
}

/* Tablet and up */
@media (min-width: 768px) {
    .site-main {
        padding: 30px 0;
    }

    .content-area {
        width: calc(100% - 320px);
        float: left;
        padding-right: 20px;
    }

    .widget-area {
        width: 300px;
        float: right;
        margin-top: 0;
    }

    .site-main::after {
        content: "";
        display: table;
        clear: both;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

/* ============================================
   Header
   ============================================ */
.site-header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 12px 0;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1;
}

.site-title a {
    color: #1a1a1a;
}

.site-title span {
    color: #ff6b00;
}

.site-description {
    font-size: 0.85rem;
    color: #666;
    margin: 4px 0 0 0;
    display: none;
}

/* Navigation - Mobile First */
.main-navigation {
    width: 100%;
    order: 3;
    margin-top: 10px;
    display: none;
}

.main-navigation.toggled {
    display: block;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    border-bottom: 1px solid #eee;
}

.main-navigation a {
    display: block;
    padding: 12px 15px;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

.main-navigation a:hover {
    color: #ff6b00;
    background: #fff8f2;
}

.main-navigation .current-menu-item > a {
    color: #ff6b00;
}

/* Mobile menu toggle */
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #333;
    position: relative;
    transition: background 0.2s;
}

.menu-toggle span::before,
.menu-toggle span::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 2px;
    background: #333;
    left: 0;
    transition: transform 0.2s;
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.menu-toggle.toggled span {
    background: transparent;
}

.menu-toggle.toggled span::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.toggled span::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Search form - header */
.header-search {
    display: none;
    order: 2;
}

.header-search .search-form {
    display: flex;
}

.header-search .search-field {
    width: 200px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px 0 0 20px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.header-search .search-field:focus {
    border-color: #ff6b00;
}

.header-search .search-submit {
    padding: 8px 16px;
    background: #ff6b00;
    color: #fff;
    border: none;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.header-search .search-submit:hover {
    background: #e65c00;
}

/* Desktop nav */
@media (min-width: 768px) {
    .header-inner {
        flex-wrap: nowrap;
    }

    .site-description {
        display: block;
    }

    .menu-toggle {
        display: none;
    }

    .main-navigation {
        display: block !important;
        width: auto;
        order: 0;
        margin-top: 0;
    }

    .main-navigation ul {
        display: flex;
        gap: 4px;
    }

    .main-navigation li {
        border-bottom: none;
        position: relative;
    }

    .main-navigation a {
        padding: 8px 12px;
        border-radius: 6px;
    }

    .main-navigation a:hover {
        background: #fff8f2;
    }

    /* Submenu */
    .main-navigation ul ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        border-radius: 8px;
        padding: 8px 0;
        min-width: 200px;
        flex-direction: column;
        gap: 0;
    }

    .main-navigation li:hover > ul {
        display: flex;
    }

    .main-navigation ul ul li {
        width: 100%;
    }

    .main-navigation ul ul a {
        padding: 8px 16px;
        border-radius: 0;
        white-space: nowrap;
    }

    .header-search {
        display: block;
    }
}

/* ============================================
   Hero Section (Home)
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c33 100%);
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.hero-section h1 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.hero-section p {
    font-size: 1rem;
    opacity: 0.95;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-search {
    max-width: 500px;
    margin: 0 auto;
}

.hero-search .search-form {
    display: flex;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-search .search-field {
    flex: 1;
    padding: 14px 20px;
    border: none;
    font-size: 1rem;
    outline: none;
}

.hero-search .search-submit {
    padding: 14px 28px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.hero-search .search-submit:hover {
    background: #333;
}

@media (min-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.125rem;
    }
}

/* ============================================
   Section Title
   ============================================ */
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b00;
}

.section-title h2 {
    font-size: 1.25rem;
    margin: 0;
}

.section-title a {
    font-size: 0.875rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .section-title h2 {
        font-size: 1.5rem;
    }
}

/* ============================================
   Deal Cards (Grid)
   ============================================ */
.deals-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

@media (min-width: 480px) {
    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .deals-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.deal-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.deal-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.deal-card-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    background: #f5f5f5;
}

.deal-card-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.deal-card:hover .deal-card-thumbnail img {
    transform: scale(1.05);
}

.deal-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff6b00;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.deal-badge.hot {
    background: #e53935;
}

.deal-badge.new {
    background: #43a047;
}

.deal-card-body {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.deal-card-category {
    font-size: 0.75rem;
    color: #ff6b00;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.deal-card-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.deal-card-title a {
    color: #1a1a1a;
}

.deal-card-title a:hover {
    color: #ff6b00;
}

.deal-card-excerpt {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.deal-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.deal-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #e53935;
}

.deal-original-price {
    font-size: 0.875rem;
    color: #999;
    text-decoration: line-through;
}

.deal-discount {
    font-size: 0.75rem;
    font-weight: 700;
    color: #43a047;
    background: #e8f5e9;
    padding: 2px 6px;
    border-radius: 4px;
}

.deal-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.deal-card-date {
    font-size: 0.75rem;
    color: #999;
}

.deal-btn {
    display: inline-block;
    padding: 6px 14px;
    background: #ff6b00;
    color: #fff;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.deal-btn:hover {
    background: #e65c00;
    color: #fff;
}

.deal-btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.deal-btn-secondary:hover {
    background: #e0e0e0;
    color: #333;
}

.deal-btn-large {
    padding: 12px 28px;
    font-size: 1rem;
    border-radius: 8px;
}

.deal-btn-block {
    display: block;
    width: 100%;
}

/* Star Rating */
.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #ffb400;
    font-size: 0.85rem;
}

.star-rating .stars {
    letter-spacing: 1px;
    line-height: 1;
}

.star-rating .rating-num {
    color: #666;
    font-weight: 500;
    font-size: 0.8rem;
}

.star-rating .review-count {
    color: #999;
    font-size: 0.8rem;
}

/* Brand label */
.deal-brand {
    font-size: 0.75rem;
    color: #888;
    font-weight: 500;
    margin-bottom: 4px;
}

.deal-brand strong {
    color: #555;
}

/* ============================================
   Archive / List View
   ============================================ */
.archive-header {
    background: #fff;
    padding: 20px 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.archive-title {
    font-size: 1.25rem;
    margin: 0 0 5px 0;
}

.archive-description {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

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

.post-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.post-item-thumbnail {
    width: 100%;
    padding-top: 60%;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    flex-shrink: 0;
}

.post-item-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-item-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-item-category {
    font-size: 0.75rem;
    color: #ff6b00;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.post-item-title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

.post-item-title a {
    color: #1a1a1a;
}

.post-item-title a:hover {
    color: #ff6b00;
}

.post-item-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
    flex: 1;
}

.post-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #999;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.post-item-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

@media (min-width: 600px) {
    .post-item {
        flex-direction: row;
    }

    .post-item-thumbnail {
        width: 240px;
        padding-top: 0;
        height: auto;
        min-height: 180px;
    }
}

/* ============================================
   Single Post
   ============================================ */
.single-post {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.single-post-header {
    padding: 25px 20px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.single-post-categories {
    margin-bottom: 10px;
}

.single-post-categories a {
    display: inline-block;
    padding: 4px 10px;
    background: #fff8f2;
    color: #ff6b00;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 6px;
}

.single-post-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    color: #666;
}

.single-post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.single-post-thumbnail {
    width: 100%;
}

.single-post-thumbnail img {
    width: 100%;
    height: auto;
}

.single-post-content {
    padding: 25px 20px;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

.single-post-content p {
    margin-bottom: 1em;
    line-height: 1.8;
}

.single-post-content img {
    border-radius: 8px;
    margin: 1.5em 0;
}

.single-post-content a {
    text-decoration: underline;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 1em;
    line-height: 1.8;
}

.single-post-tags {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.single-post-tags span {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.single-post-tags a {
    display: inline-block;
    padding: 4px 10px;
    background: #f5f5f5;
    color: #666;
    border-radius: 4px;
    font-size: 0.8rem;
    transition: background 0.2s, color 0.2s;
}

.single-post-tags a:hover {
    background: #ff6b00;
    color: #fff;
}

/* Ad Slots */
.ad-slot {
    margin: 25px 0;
    padding: 15px;
    background: #fafafa;
    border: 1px dashed #ddd;
    border-radius: 8px;
    text-align: center;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-slot-label {
    font-size: 0.75rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ad-slot-top {
    margin-top: 0;
}

.ad-slot-bottom {
    margin-bottom: 0;
}

/* Deal Box (single post) */
.deal-box {
    background: linear-gradient(135deg, #fff8f2 0%, #fff 100%);
    border: 2px solid #ff6b00;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
}

.deal-box-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.deal-box-price {
    font-size: 2rem;
    font-weight: 800;
    color: #e53935;
}

.deal-box-original {
    font-size: 1.125rem;
    color: #999;
    text-decoration: line-through;
}

.deal-box-discount {
    font-size: 0.875rem;
    font-weight: 700;
    color: #43a047;
    background: #e8f5e9;
    padding: 4px 10px;
    border-radius: 6px;
}

.deal-box-desc {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.deal-box-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .single-post-header {
        padding: 35px 30px 25px;
    }

    .single-post-title {
        font-size: 2rem;
    }

    .single-post-content {
        padding: 30px;
    }

    .single-post-tags {
        padding: 25px 30px;
    }

    .deal-box {
        padding: 30px;
    }

    .deal-box-price {
        font-size: 2.5rem;
    }
}

/* Product Info Bar (single page) */
.product-info-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 25px;
    padding: 15px 25px;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.product-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-info-item .label {
    color: #888;
    font-weight: 500;
}

.product-info-item .value {
    color: #333;
    font-weight: 600;
}

.product-info-item .star-rating {
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .product-info-bar {
        padding: 18px 35px;
    }
}

/* Deal Box - updated */
.deal-box-coupon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fff;
    border: 2px dashed #ff6b00;
    border-radius: 8px;
    font-weight: 700;
    color: #ff6b00;
    margin-bottom: 15px;
    font-size: 1rem;
}

.deal-box-coupon code {
    background: #fff8f2;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
}

.deal-expiry {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #fff3e0;
    color: #e65100;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.deal-expiry.expired {
    background: #ffebee;
    color: #c62828;
}

/* Main Features */
.main-features {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
}

.main-features h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-features ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-features li {
    position: relative;
    padding: 8px 0 8px 28px;
    border-bottom: 1px solid #f8f8f8;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #444;
}

.main-features li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.main-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 8px;
    width: 20px;
    height: 20px;
    background: #e8f5e9;
    color: #43a047;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .main-features {
        padding: 30px;
    }

    .main-features h3 {
        font-size: 1.35rem;
    }
}

/* ============================================
   Pagination
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.pagination .page-numbers:hover {
    border-color: #ff6b00;
    color: #ff6b00;
}

.pagination .current {
    background: #ff6b00;
    border-color: #ff6b00;
    color: #fff;
}

.pagination .current:hover {
    color: #fff;
}

/* ============================================
   Sidebar Widgets
   ============================================ */
.widget {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.widget-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b00;
    display: inline-block;
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.widget li:last-child {
    border-bottom: none;
}

.widget li a {
    color: #333;
    font-size: 0.9rem;
    transition: color 0.2s, padding-left 0.2s;
}

.widget li a:hover {
    color: #ff6b00;
    padding-left: 4px;
}

/* Search widget */
.widget_search .search-form {
    display: flex;
}

.widget_search .search-field {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px 0 0 6px;
    font-size: 0.9rem;
    outline: none;
}

.widget_search .search-field:focus {
    border-color: #ff6b00;
}

.widget_search .search-submit {
    padding: 8px 14px;
    background: #ff6b00;
    color: #fff;
    border: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: background 0.2s;
}

.widget_search .search-submit:hover {
    background: #e65c00;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: #1a1a1a;
    color: #aaa;
    margin-top: 40px;
}

.footer-widgets {
    padding: 40px 0 20px;
}

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

.footer-widget h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-widget p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 10px;
}

.footer-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-widget li {
    margin-bottom: 8px;
}

.footer-widget a {
    color: #aaa;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-widget a:hover {
    color: #ff6b00;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: #ff6b00;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .footer-widgets {
        padding: 50px 0 30px;
    }
}

/* ============================================
   Search Form (default)
   ============================================ */
.search-form {
    display: flex;
    width: 100%;
}

.search-field {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px 0 0 6px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.search-field:focus {
    border-color: #ff6b00;
}

.search-submit {
    padding: 10px 18px;
    background: #ff6b00;
    color: #fff;
    border: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}

.search-submit:hover {
    background: #e65c00;
}

/* ============================================
   404 Page
   ============================================ */
.error-404 {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.error-404 h1 {
    font-size: 4rem;
    color: #ff6b00;
    margin-bottom: 10px;
}

.error-404 p {
    color: #666;
    margin-bottom: 25px;
}

/* ============================================
   Comments
   ============================================ */
.comments-area {
    background: #fff;
    border-radius: 10px;
    padding: 25px 20px;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.comments-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.comment-list {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
}

.comment-body {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.comment-author {
    font-weight: 600;
    color: #1a1a1a;
}

.comment-metadata {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 8px;
}

.comment-content p {
    margin-bottom: 0.5em;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .comments-area {
        padding: 30px;
    }
}

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

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .site-header,
    .site-footer,
    .widget-area,
    .ad-slot,
    .pagination,
    .hero-section {
        display: none !important;
    }

    .content-area {
        width: 100%;
        float: none;
        padding: 0;
    }

    body {
        background: #fff;
        color: #000;
        font-size: 12pt;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}
