/*
Theme Name: Glitch 2.6
Theme URI: https://glitchads.ai
Author: Glitch Ads Team
Author URI: https://glitchads.ai
Description: A modern, dynamic WordPress theme designed specifically for Glitch advertising and promotional content. Features bold typography, vibrant colors, and optimized ad display layouts.
Version: 2.6.0
Text Domain: glitch
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, ads, modern, bold
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: bold;
    line-height: 1.2;
}

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

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: #005177;
    text-decoration: underline;
}

/* Layout */

.site-header {
    background: #000;
    color: #fff;
    padding: 1rem 0;
}

.site-header a {
    color: #fff;
}

.site-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

.site-description {
    font-size: 0.875rem;
    margin: 0.25rem 0 0;
    opacity: 0.8;
}

/* Navigation */
.main-navigation {
    margin-top: 1rem;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    display: block;
    padding: 0.5rem 0;
    font-weight: 500;
}

/* Main Content */
.site-main {
    padding: 3rem 0;
    min-height: 60vh;
}

.content-area {
    float: left;
    width: 70%;
    padding-right: 2rem;
}

.widget-area {
    float: right;
    width: 30%;
}

/* Posts and Pages */
.entry-header {
    margin-bottom: 2rem;
}

.entry-title {
    margin-bottom: 0.5rem;
}

.entry-meta {
    color: #666;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.entry-content {
    margin-bottom: 2rem;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

.entry-footer {
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-size: 0.875rem;
    color: #666;
}

/* Widgets */
.widget {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 4px;
}

.widget-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 0.25rem 0;
}

/* Footer */
.site-footer {
    background: #000;
    color: #fff;
    padding: 2rem 0 1rem;
    margin-top: 3rem;
}

.site-footer a {
    color: #fff;
    opacity: 0.8;
}

.site-footer a:hover {
    opacity: 1;
}

.site-info {
    text-align: center;
    font-size: 0.875rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Responsive */
@media (max-width: 768px) {
    .content-area,
    .widget-area {
        float: none;
        width: 100%;
        padding-right: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
}

/* Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

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