/*
Theme Name: Coudy Paper
Theme URI: https://coudynews.com
Author: Coudy News
Author URI: https://coudynews.com
Description: A mobile-first newspaper theme that brings the tactile elegance of a physical newspaper to digital screens. Features horizontal swipe for featured stories, vertical scroll-snap for chronological sections, classic masthead, and authentic paper texture aesthetics.
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: coudy-paper
Tags: news, newspaper, magazine, mobile-first, responsive, custom-header, featured-images

Coudy Paper WordPress Theme, Copyright 2025 Coudy News
*/

/* ==========================================================================
   CSS Custom Properties (imported from variables.css)
   ========================================================================== */
@import url('assets/css/variables.css');

/* ==========================================================================
   Typography (imported from typography.css)
   ========================================================================== */
@import url('assets/css/typography.css');

/* ==========================================================================
   Paper Texture Effects (imported from paper.css)
   ========================================================================== */
@import url('assets/css/paper.css');

/* ==========================================================================
   Edition Rail (Featured) (imported from edition-rail.css)
   ========================================================================== */
@import url('assets/css/edition-rail.css');

/* ==========================================================================
   Carousel Styles (imported from carousel.css)
   ========================================================================== */
@import url('assets/css/carousel.css');

/* ==========================================================================
   Component Styles (imported from components.css)
   ========================================================================== */
@import url('assets/css/components.css');

/* ==========================================================================
   Enhanced Masthead (imported from masthead-enhanced.css)
   ========================================================================== */
@import url('assets/css/masthead-enhanced.css');

/* ==========================================================================
   Enhanced Sections (imported from sections-enhanced.css)
   ========================================================================== */
@import url('assets/css/sections-enhanced.css');

/* ==========================================================================
   Newspaper Layout (imported from newspaper-layout.css)
   ========================================================================== */
@import url('assets/css/newspaper-layout.css');

/* ==========================================================================
   Single Article Styles (imported from single.css)
   ========================================================================== */
@import url('assets/css/single.css');

/* ==========================================================================
   Animations (imported from animations.css)
   ========================================================================== */
@import url('assets/css/animations.css');

/* ==========================================================================
   Scroll Indicators (imported from scroll-indicators.css)
   ========================================================================== */
@import url('assets/css/scroll-indicators.css');

/* ==========================================================================
   Responsive Styles (imported from responsive.css)
   ========================================================================== */
@import url('assets/css/responsive.css');

/* ==========================================================================
   Base Reset & Box Sizing
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: var(--paper-base);
    color: var(--ink-black);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Links
   ========================================================================== */
a {
    color: var(--ink-black);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover,
a:focus {
    color: var(--accent-burgundy);
}

/* ==========================================================================
   Images
   ========================================================================== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Screen Reader Text
   ========================================================================== */
.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 !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--paper-light);
    clip: auto !important;
    clip-path: none;
    color: var(--ink-black);
    display: block;
    font-size: 1rem;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ==========================================================================
   Main Layout
   ========================================================================== */
.site-wrapper {
    position: relative;
    overflow-x: hidden;
}

.site-main {
    position: relative;
}

/* Container for content width control */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container--narrow {
    max-width: var(--content-max);
}

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

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

