/*
Theme Name: Meta Write
Theme URI: https://yourdomain.com/meta-write/
Author: Toronto Digits
Author URI: https://www.torontodigits.com/
Description: Meta Write is a modern, customizable WordPress theme for news portals, blogs, and magazine-style websites.
Version: 1.0.0
Requires at least: 6.1
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: meta-write
Tags: blog, news, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, full-width-template

Copyright: (c) 2025 Toronto Digits
*/




/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
    - Normalize
    - Box sizing
# Base
    - Typography
    - Elements
    - Links
    - Forms
# Layouts
# Components
    - Navigation
    - Posts and pages
    - Comments
    - Widgets
    - Media
    - Captions
    - Galleries
# Plugins
    - Jetpack infinite scroll
# Utilities
    - Accessibility
    - Alignments
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

/*--------------------------------------------------------------
# Layout: Blog Container
--------------------------------------------------------------*/
.meta-blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.meta-blog-header .page-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
}

/*--------------------------------------------------------------
# Layout: Blog Grid
--------------------------------------------------------------*/
.meta-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.meta-blog-grid article {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.meta-blog-grid article:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/*--------------------------------------------------------------
# Components: Post Thumbnail
--------------------------------------------------------------*/
.post-thumbnail {
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/*--------------------------------------------------------------
# Components: Entry Content
--------------------------------------------------------------*/
.entry-title {
    font-size: 1.25rem;
    color: #222;
    padding: 20px;
}

.entry-excerpt {
    font-size: 0.95rem;
    color: #555;
    padding: 20px;
}

/*--------------------------------------------------------------
# Components: Pagination
--------------------------------------------------------------*/
.nav-links {
    text-align: center;
    margin-top: 40px;
}

.nav-links .page-numbers {
    display: inline-block;
    margin: 0 8px;
    padding: 10px 16px;
    background: #f5f5f5;
    border-radius: 6px;
    color: #222;
    text-decoration: none;
}

.nav-links .current,
.nav-links .page-numbers:hover {
    background: #0073aa;
    color: #fff;
}
.mw-blog-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-bottom: 30px;
    padding-bottom: 40px !important;
}
.mw-news-button:hover,
.mw-news-button:active {
    background-color: #0073e6 !important;
    color: white !important;
    border-color:#0073e6 !important;
}


/*--------------------------------------------------------------
# Components: Code Blocks
--------------------------------------------------------------*/
pre code {
    display: block;
    padding: 1em;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
    background-color: #2d2d2d; /* Dark background */
    color: #f8f8f2;            /* Light text */
}

pre.line-numbers {
    position: relative;
    padding-left: 3.8em;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 1024px) {
    .mw-recently-categories-box {
        display: none;
    }

    .mw-travel.container {
        width: 100%;
    }
}
footer.site-footer {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 40px 0;
    background-color: #f8f9fa; /* Optional background */
}









