/*
Theme Name: ZedTrendyz
Theme URI: https://zedtrendyz.com
Author: Shadrick Katungu
Author URI: https://github.com/shadrickkatungu
Description: A high-performance, modern music and entertainment WordPress theme featuring edge-to-edge section headings and a clean grid-based layout.
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: zedtrendyz
Tags: entertainment, music, news, grid-layout, two-columns, responsive-layout, custom-menu, featured-images
*/

/**
 * INDEX:
 * 1. Global Resets & Typography
 * 2. Layout & Containers
 * 3. Navigation & Header (General)
 * 4. Reusable Components (Cards, Pills, Grids)
 * 5. Section Specifics
 * 6. Footer
 * 7. Responsive Breakpoints
 */

/* 1. Global Resets & Typography */
* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Georgia, serif;
    font-weight: 900;
    margin-top: 0;
    line-height: 1.2;
}

a {
    color: #008000;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #005c00;
}

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

/* 2. Layout & Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 3. Reusable Components */

/* Full Width Section Headings (Theme Signature) */
.full-width-header {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #008000;
    margin-bottom: 30px;
    padding: 18px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.section-title-full {
    color: #ffffff !important;
    font-size: 1.4rem;
    text-align: center;
    text-transform: uppercase;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    letter-spacing: 1px;
}

/* Post Titles */
.entry-title {
    font-family: Georgia, serif;
    font-weight: 900;
    font-size: 1.02rem;
    line-height: 1.3;
}

/* Meta Pills (Dates/Categories) */
.entry-meta-pill {
    display: inline-block;
    background: #008000;
    color: #ffffff;
    font-size: 0.7rem;
    padding: 5px 14px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 4. Horizontal Media Cards */
.media-card.horizontal {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    padding: 12px;
    transition: all 0.3s ease;
}

.media-card.horizontal:hover {
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-color: #ddd;
}

.card-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f0f0f0;
}

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

/* 5. Trending Styles */
.trending-number-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 24px;
    height: 24px;
    background: #008000;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 900;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 2;
}

/* 6. Buttons */
.btn-load-more {
    background: #008000;
    color: #ffffff;
    border: none;
    padding: 16px 45px;
    border-radius: 50px;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s ease, transform 0.2s;
    display: inline-block;
    font-size: 0.9rem;
}

.btn-load-more:hover {
    background: #006600;
    transform: translateY(-2px);
}

.btn-load-more:active {
    transform: translateY(0);
}

/* 7. Footer Styles */
.site-footer {
    background: #111111;
    color: #ffffff;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    font-size: 0.85rem;
    color: #999;
}

/* 8. Accessibility */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

