/*
Theme Name: BookWise Pro
Theme URI: https://example.com/bookwise-pro
Author: MiniMax Agent
Author URI: https://example.com
Description: 专业的图书资讯WordPress主题，专注于图书推荐、书评文章和作者专栏展示。支持灵活的广告位管理，响应式双栏布局设计。
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bookwise-pro
Tags: book, review, responsive, dual-column, advertisement, custom-post-type
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #2C3E50;
    background-color: #F9F9F7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif SC', 'Songti SC', 'SimSun', Georgia, serif;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
    margin-bottom: 0.75em;
}

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

p {
    margin-bottom: 1em;
}

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

a:hover {
    color: #E74C3C;
}

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

ul, ol {
    margin-bottom: 1em;
    padding-left: 1.5em;
}

li {
    margin-bottom: 0.5em;
}

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

.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-content {
    flex: 1;
    padding: 40px 0;
}

/* ============================================
   Header
   ============================================ */
.site-header {
    background: #FFFFFF;
    border-bottom: 1px solid #E8E8E6;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 30px;
}

.site-branding {
    flex-shrink: 0;
}

.site-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

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

.site-description {
    font-size: 0.8125rem;
    color: #888;
    margin-top: 2px;
}

.main-navigation {
    flex: 1;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 32px;
    justify-content: center;
}

.main-navigation a {
    color: #333;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 8px 0;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #C0392B;
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item a::after {
    width: 100%;
}

.header-search {
    position: relative;
    flex-shrink: 0;
}

.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-toggle svg {
    width: 20px;
    height: 20px;
}

.search-form {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 8px;
    min-width: 300px;
    display: none;
    z-index: 100;
}

.search-form.active {
    display: block;
}

.search-form input[type="search"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9375rem;
}

.search-form input[type="search"]:focus {
    outline: none;
    border-color: #C0392B;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

/* ============================================
   Two-Column Layout
   ============================================ */
.site-content-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.content-area {
    flex: 1;
    min-width: 0;
    width: calc(100% - 340px);
}

.sidebar {
    width: 300px;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .site-content-inner {
        flex-direction: column;
        gap: 30px;
    }

    .content-area,
    .sidebar {
        width: 100% !important;
        flex: none;
    }

    .sidebar {
        order: 2;
    }
}

/* ============================================
   Breadcrumb
   ============================================ */
.breadcrumb {
    font-size: 0.875rem;
    color: #888;
    margin-bottom: 24px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb a:hover {
    color: #C0392B;
}

.breadcrumb span {
    margin: 0 8px;
    color: #ccc;
}

/* ============================================
   Archive Header
   ============================================ */
.archive-header {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.archive-title {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.archive-description {
    color: #666;
    font-size: 0.9375rem;
}

/* ============================================
   Book Grid
   ============================================ */
.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.book-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.book-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

.book-cover {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
    background: linear-gradient(145deg, #f5f5f5 0%, #e8e8e8 100%);
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.book-card:hover .book-cover img {
    transform: scale(1.05);
}

.book-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.book-cover-placeholder svg {
    width: 48px;
    height: 48px;
}

.book-cover-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.book-info {
    padding: 16px;
}

.book-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.book-title a:hover {
    color: #C0392B;
}

.book-author {
    font-size: 0.8125rem;
    color: #777;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.book-author a,
.book-publisher a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.book-author a:hover,
.book-publisher a:hover {
    color: #C0392B;
}
.book-publisher {
    font-size: 0.8125rem;
    color: #777;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.book-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stars {
    color: #F39C12;
    font-size: 0.875rem;
}

.rating-value {
    font-size: 0.75rem;
    color: #999;
}

.book-price {
    font-size: 0.9375rem;
    color: #C0392B;
    font-weight: 600;
    margin-top: 8px;
}

/* ============================================
   Post List
   ============================================ */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.post-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
}

.post-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.post-card-image {
    flex: 0 0 280px;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.post-card-content {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.post-card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8125rem;
    color: #999;
    margin-bottom: 12px;
}

.post-card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

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

.post-card-title a:hover {
    color: #C0392B;
}

.post-card-excerpt {
    color: #666;
    font-size: 0.9375rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

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

.read-more {
    font-weight: 500;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .post-card {
        flex-direction: column;
    }

    .post-card-image {
        flex: none;
        width: 100%;
        aspect-ratio: 16/9;
    }

    .post-card-content {
        padding: 20px;
    }

    .post-card-title {
        font-size: 1.125rem;
    }
}

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

.widget-title {
    font-size: 1.0625rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #C0392B;
    font-weight: 600;
}

/* Search Widget */
.widget-search form {
    display: flex;
    gap: 8px;
}

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

.sidebar-search-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px 0 0 6px;
    font-size: 0.9375rem;
}

.sidebar-search-form input:focus {
    outline: none;
    border-color: #C0392B;
}

.sidebar-search-form button {
    background: #C0392B;
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: background 0.2s ease;
}

.sidebar-search-form button:hover {
    background: #E74C3C;
}

/* Categories Widget */
.widget_categories ul,
.book-categories-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_categories li,
.book-categories-widget li {
    margin-bottom: 0;
}

.widget_categories a,
.book-categories-widget a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: #444;
    border-bottom: 1px solid #f5f5f5;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.widget_categories a:hover,
.book-categories-widget a:hover {
    color: #C0392B;
    padding-left: 8px;
}

.category-count {
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    color: #888;
}

/* Popular Books Widget */
.popular-books-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.popular-book-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.popular-book-thumb {
    flex: 0 0 60px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    background: #f5f5f5;
}

.popular-book-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-book-info {
    flex: 1;
    min-width: 0;
}

.popular-book-title {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-book-title a {
    color: #333;
}

.popular-book-title a:hover {
    color: #C0392B;
}

.popular-book-meta {
    font-size: 0.75rem;
    color: #999;
}

/* Authors Widget */
.authors-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.author-tag {
    display: inline-block;
    padding: 6px 12px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 0.8125rem;
    color: #555;
    transition: all 0.2s ease;
}

.author-tag:hover {
    background: #C0392B;
    color: #fff;
}

.author-tag .count {
    color: #999;
    font-size: 0.75rem;
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-link {
    padding: 4px 10px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 0.8125rem;
    color: #666;
    transition: all 0.2s ease;
}

.tag-link:hover {
    background: #C0392B;
    color: #fff;
}

/* ============================================
   Single Post / Page
   ============================================ */
.single-post,
.single-book,
.single-page {
    background: #fff;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 32px;
}

.single-post-title,
.single-book-title,
.single-page-title {
    font-size: 1.875rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.single-post-meta,
.single-book-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.875rem;
    color: #888;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.single-post-meta span,
.single-book-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.single-post-meta svg,
.single-book-meta svg {
    width: 16px;
    height: 16px;
}

.single-post-thumbnail,
.single-book-thumbnail,
.single-page-thumbnail {
    margin: -32px -32px 32px -32px;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.single-post-content,
.single-book-content,
.single-page-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

.single-post-content p,
.single-book-content p,
.single-page-content p {
    margin-bottom: 1.5em;
}

.single-post-content img,
.single-book-content img,
.single-page-content img {
    border-radius: 8px;
    margin: 24px 0;
}

/* Book Detail Layout */
.book-detail {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.book-detail-cover {
    position: sticky;
    top: 90px;
}

.book-detail-cover img {
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    width: 100%;
}

.book-detail-info h1 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.book-detail-genres {
    margin-bottom: 20px;
}

.book-genre-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 0.8125rem;
    color: #555;
    margin-right: 8px;
}

.book-detail-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    padding: 20px;
    background: #F9F9F7;
    border-radius: 8px;
}

.book-detail-meta-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.book-detail-meta-label {
    font-size: 0.8125rem;
    color: #888;
    margin: 0;
    white-space: nowrap;
}
.book-detail-meta-label::after {
    content: '：';
    margin-left: 2px;
}

.book-detail-meta-value {
    font-weight: 600;
    color: #333;
}
.book-detail-meta-value a {
    color: #333;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.book-detail-meta-value a:hover {
    color: #C0392B;
}

.book-detail-meta-value.price {
    color: #C0392B;
    font-size: 1.125rem;
}

.book-detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: #C0392B;
    color: white;
}

.btn-primary:hover {
    background: #E74C3C;
    color: white;
}

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

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

@media (max-width: 768px) {
    .book-detail {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .book-detail-cover {
        position: static;
        max-width: 200px;
        margin: 0 auto;
    }

    .book-detail-info {
        text-align: center;
    }

    .book-detail-meta {
        grid-template-columns: 1fr;
    }

    .book-detail-actions {
        justify-content: center;
    }
}

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

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #333;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.pagination a:hover {
    border-color: #C0392B;
    color: #C0392B;
}

.pagination .current {
    background: #C0392B;
    border-color: #C0392B;
    color: white;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: #1a1a1a;
    color: #aaa;
    padding: 48px 0 24px;
    margin-top: auto;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    color: #fff;
    font-size: 1.0625rem;
    margin-bottom: 20px;
}

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

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

.footer-widget a {
    color: #999;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.875rem;
}

.footer-copyright {
    color: #777;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: #999;
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: #fff;
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   Ads Container
   ============================================ */
.ad-container {
    position: relative;
    margin: 24px 0;
    text-align: center;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
}

.ad-label {
    position: absolute;
    bottom: 4px;
    left: 8px;
    font-size: 0.6875rem;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ad-content {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.ad-header-wrapper {
    background: #f5f5f5;
    min-height: 60px;
}

.ad-sidebar {
    min-height: 250px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.ad-footer-wrapper {
    background: #f5f5f5;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-floating {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    max-width: 300px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    display: none;
}

.ad-floating.active {
    display: block;
}

.ad-floating-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 28px;
    height: 28px;
    background: #333;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.ad-floating-content {
    padding: 12px;
}

@media (max-width: 768px) {
    .ad-floating {
        right: 10px;
        bottom: 10px;
        max-width: 200px;
    }
}

/* ============================================
   No Results
   ============================================ */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 8px;
}

.no-results h2 {
    margin-bottom: 12px;
}

.no-results p {
    color: #666;
    margin-bottom: 24px;
}

/* ============================================
   Mobile Navigation
   ============================================ */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none;
    }

    .main-navigation.mobile-open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 16px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    }

    .main-navigation.mobile-open ul {
        flex-direction: column;
        gap: 0;
    }

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

    .main-navigation.mobile-open a {
        display: block;
        padding: 12px 0;
    }

    .header-inner {
        height: 60px;
    }

    .site-title {
        font-size: 1.25rem;
    }

    .book-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }

    .single-post,
    .single-book,
    .single-page {
        padding: 20px;
    }

    .single-post-title,
    .single-book-title,
    .single-page-title {
        font-size: 1.5rem;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

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

.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;
}

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .site-header,
    .site-footer,
    .sidebar,
    .ad-container,
    .pagination,
    .mobile-menu-toggle {
        display: none !important;
    }

    .content-area {
        width: 100%;
    }

    body {
        font-size: 12pt;
    }
}
