/*!****************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/read.css ***!
  \****************************************************************/
/* --- Root Variables (Duplicated for Self-Containment) --- */
:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-light-gray: #f5f5f5;
    --color-gray: #d3d3d3;
    --color-dark-gray: #555555;
    --color-charcoal: #333333;
    --border-radius-lg: 25px;
    --border-radius-md: 15px;
    --border-radius-sm: 8px;

    /* Light Theme Defaults */
    --bg-primary: var(--color-light-gray);
    --bg-secondary: var(--color-white);
    --text-primary: var(--color-charcoal);
    --text-secondary: var(--color-dark-gray);
    --text-tertiary: var(--color-gray);
    --color-accent-blue: #007bff;
    --color-status-green: #28a745;
    --color-status-red: #dc3545;
    --color-status-yellow: #ffc107;
    --border-color: var(--color-gray);
    --box-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --box-shadow-md: 0 5px 15px rgba(0, 0, 0, 0.08);
    --box-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --font-size-sm: 0.9em;
    --font-size-md: 1em;
    --font-size-lg: 1.1em;
    --font-size-xl: 1.2em;
}

/* --- Dark Theme Variables (Duplicated for Self-Containment) --- */
body.dark-theme {
    --bg-primary: #121212;
    --bg-secondary: #1f1f1f;
    --bg-tertiary: #2a2a2a;
    --text-primary: var(--color-white);
    --text-secondary: #e0e0e0;
    --text-tertiary: #a0a0a0;
    --color-black: var(--color-white);
    --color-white: #1f1f1f;
    --color-light-gray: #303030;
    --color-gray: #424242;
    --color-dark-gray: #b0b0b0;
    --color-charcoal: var(--color-white);
    --color-accent-blue: #8ab4f8;
    --color-status-green: #6aa96e;
    --color-status-red: #cf6679;
    --color-status-yellow: #fdd835;
    --border-color: #505050;
    --box-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
    --box-shadow-md: 0 5px 15px rgba(0, 0, 0, 0.5);
    --box-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* --- Base Body & Header Styles (Duplicated for Self-Containment) --- */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, p, a, span, label, input, textarea {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* --- Utility Classes (Duplicated for Self-Containment) --- */
.flexrow {
    display: flex;
    flex-direction: row;
}

.flexcolumn {
    display: flex;
    flex-direction: column;
}

.verticalcenter {
    align-items: center;
}

.spacebetween {
    justify-content: space-between;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.card {
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-sm);
    padding: 20px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.card-sm {
    padding: 15px;
    border-radius: var(--border-radius-sm);
}

.pill,
.custom-select__trigger {
    background-color: var(--color-charcoal);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: var(--border-radius-lg);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pill:hover,
.custom-select__trigger:hover {
    background-color: var(--color-dark-gray);
    box-shadow: var(--box-shadow-sm);
}

/* Specific main-header styles */
.main-header {
    background-color: var(--bg-secondary);
    box-shadow: var(--box-shadow-sm);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-main {
    height: 60px;
    width: 180px;
    object-fit: contain;
}

.nav-controls {
    gap: 20px;
}

.main-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
}

.main-nav-list li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: var(--font-size-md);
    transition: color 0.2s ease;
}

.main-nav-list li a:hover {
    color: var(--text-primary);
}

/* --- Reader Section Styles --- */
.reader {
    background-color: var(--bg-primary);
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.reader .article-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    margin-bottom: 40px;
    box-shadow: var(--box-shadow-sm);
}

.reader h1 {
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
    font-size: 2.8em;
    line-height: 1.2;
}

.reader .flexrow.spacebetween {
    width: 100%;
    max-width: 800px;
    margin-bottom: 30px;
    color: var(--text-secondary);
    font-size: 0.95em;
    padding: 0 10px;
    box-sizing: border-box;
}

.reader #author,
.reader #date {
    font-weight: 600;
}

.reader #content {
    color: var(--text-secondary);
    font-size: 1.1em;
    line-height: 1.7;
    max-width: 800px;
    margin-bottom: 40px;
    padding: 0 10px;
    box-sizing: border-box;
}

.reader #content p {
    margin-bottom: 1em;
}

.reader #content h2,
.reader #content h3 {
    color: var(--text-primary);
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

.reader .tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 800px;
    width: 100%;
}

.reader .tags li {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 8px 15px;
    border-radius: var(--border-radius-lg);
    font-size: 0.85em;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.reader .tags li:hover {
    background-color: var(--color-gray);
    color: var(--color-white);
    cursor: pointer;
}

/* --- Responsive Adjustments for Reader Page --- */
@media (max-width: 992px) {
    .reader {
        padding: 30px 15px;
    }
    .reader .article-image {
        max-height: 350px;
        margin-bottom: 30px;
    }
    .reader h1 {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .reader .flexrow.spacebetween {
        margin-bottom: 20px;
        font-size: 0.9em;
    }
    .reader #content {
        font-size: 1em;
        line-height: 1.6;
        margin-bottom: 30px;
    }
}

@media (max-width: 600px) {
    .reader {
        padding: 20px 10px;
    }
    .reader .article-image {
        max-height: 250px;
        margin-bottom: 20px;
        border-radius: var(--border-radius-sm);
    }
    .reader h1 {
        font-size: 1.8em;
        margin-bottom: 10px;
    }
    .reader .flexrow.spacebetween {
        flex-direction: column;
        align-items: center;
        gap: 5px;
        margin-bottom: 15px;
        font-size: 0.85em;
    }
    .reader #content {
        font-size: 0.95em;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    .reader .tags {
        justify-content: flex-start;
        gap: 8px;
    }
    .reader .tags li {
        padding: 6px 12px;
        font-size: 0.8em;
    }
}
