*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

:root {
    --white: #fff;
    --primary-color: #2B73D4;
    --secondary-color: #000;
    --button-color: #DB3C00;
    --link-color: #2B73D4;
    --text-color: #333;
    --light-text: #666;
    --background-color: #F6F7FA;
    --highlight-bg: #eaf3ff;
    --breaking-bg: #ff3232;
    --breaking-prefix-bg: #ffdd00;
    --error: #dc3545;
    --success: #28a745;
    --warning: #ffc107;
    --info: #17a2b8;
    --border-color: #eee;

    --max-width: 1343px;
    
    --spacing: 20px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 30px;
    --spacing-xl: 40px;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    background: var(--white);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

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

.hidden {
    display: none !important;
}

.dynamic-image-container {
    width: 100%;
    margin: 0 auto;
}

.gallery-footer-image.dynamic-image-container {
    width: auto;
    margin: 0;
}

/* ----- TYPOGRAFIA ----- */
h1, h2, h3, h4, h5, h6 {
    color: var(--secondary-color);
    line-height: 1.3;
    margin-bottom: 0.5em;
    font-weight: 700;
}

h1 {
    font-size: 2.6rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--link-color);
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    color: var(--secondary-color);
}

strong, b {
    font-weight: 700;
}

em, i {
    font-style: italic;
}

figcaption {
    font-size: 0.875rem;
    color: var(--light-text);
    padding: 0.5rem 0;
}

.ad-free-mode .ad-free-notice {
    display: block;
    padding: 2px 10px;
    background-color: rgba(46, 139, 87, 0.1);
    color: #2E8B57;
    text-align: center;
    font-size: 12px;
    border-radius: 4px;
    margin: 0;
}

.advertisement .ad-free-notice {
    margin: 0 -20px;
}

@media (max-width: 768px) {
    .advertisement .ad-free-notice {
        margin: 0 -15px;
    }
}

.homepage-sidebar .ad-free-notice,
.homepage-container .ad-free-notice {
    margin: 0;
}

.ad-free-notice {
    display: none;
}

.ad-free-notice.expired {
    display: block;
    padding: 2px 10px;
    background-color: rgba(214, 64, 69, 0.1);
    color: #D64045;
    text-align: center;
    font-size: 12px;
    border-radius: 4px;
    margin: 0;
}

.ad-free-notice.expired a {
    color: #D64045;
    text-decoration: underline;
}

.ad-free-notice.expired a:hover {
    text-decoration: none;
}

/* ----- GŁÓWNY UKŁAD ----- */
.container,
.top-bar-inner,
.main-menu-inner,
.footer-inner,
.breaking-news-bar {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing);
    box-sizing: border-box;
}

/* ----- UKŁAD KOMPONENTÓW ----- */
.component-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    box-sizing: border-box;
    min-height: 300px;
}

.header-wrapper {
    margin-bottom: 20px;
    width: 100%;
}

.component-header {
    margin-bottom: 20px;
    width: 100%;
}

.component-header h1 {
    font-size: 3rem;
    margin: 0 0 10px 0;
    color: var(--secondary-color);
}

.content-wrapper {
    display: flex;
    gap: var(--spacing);
    width: 100%;
    min-height: 200px;
}

.main-column {
    flex: 0 0 863px;
    width: 863px;
    max-width: 863px;
    min-height: 200px;
}

.sidebar-column {
    flex: 0 0 420px;
    width: 420px;
    max-width: 420px;
    min-height: 200px;
}

.component-description {
    margin-bottom: 20px;
    font-size: 18px;
    color: #333;
    line-height: 1.5;
    width: 100%;
}

.articles_grid,
.tags_articles_grid,
.events-list,
.magazines-grid,
.companies_list_grid,
.polls_grid,
.galleries_list_grid {
    width: 100%;
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

/* ----- GÓRNY PASEK ----- */
.top-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    display: none;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.gminy-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    justify-content: flex-start;
}

.top-bar-links {
    display: flex;
    gap: 15px;
}

.top-bar-link {
    color: var(--text-color);
    text-decoration: none;
    padding: 2px 0;
    font-weight: 500;
}

.top-bar-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.red {
	color: #D64045;
}

.gmina-link {
    color: var(--text-color);
    text-decoration: none;
    padding: 2px 0;
}

.gmina-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.header-logo-section {
    padding: 10px 0;
    background-color: var(--white);
    min-height: 80px;
}

.header-logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
}

.header-logo {
    display: block;
}

.header-logo img {
    height: 60px;
    width: 230px;
    object-fit: contain;
}

.header-search {
    flex: 0 0 430px;
    max-width: 100%;
}

.search-form {
    display: flex;
    width: 100%;
    height: 40px;
}

.search-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #dfe1e5;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    outline: none;
}

.search-input:focus {
    border-color: var(--primary-color);
}

.search-button {
    width: 50px;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--white);
}

.search-button:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.search-button svg {
    display: block;
}

/* ----- GŁÓWNE MENU ----- */
.main-menu {
    background: var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: 10px;
    width: 100%;
    height: 60px;
}

.main-menu-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

/* === ELEMENTY MOBILNE - domyślnie ukryte === */
.mobile-logo-link,
.mobile-menu-toggle {
    display: none;
}

/* === MENU DESKTOPOWE - domyślnie widoczne === */
.main-menu-nav {
    display: flex;
    gap: 15px;
    align-items: center;
}

.main-menu-nav a {
    color: var(--white);
    text-decoration: none;
    padding: 8px 10px;
    font-weight: 500;
}

.main-menu-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* === MEDIA QUERY - MOBILE (max 768px) === */
@media (max-width: 768px) {
    .main-menu-nav {
        display: none;
    }
    
    .mobile-logo-link {
        display: flex;
        align-items: center;
        height: 35px;
    }
    
    .mobile-logo-img {
        height: 35px;
        width: auto;
        object-fit: contain;
    }
    
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        color: var(--white);
        cursor: pointer;
        padding: 8px;
    }
    
    .mobile-menu-toggle svg {
        width: 24px;
        height: 24px;
        fill: currentColor;
    }
}

/* === MEDIA QUERY - DESKTOP (min 769px) === */
@media (min-width: 769px) {
    .mobile-logo-link,
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .main-menu-nav {
        display: flex !important;
    }
}

/* ----- MOBILNE MENU ----- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%; 
    max-width: 430px;
    height: 100vh;
    background: var(--white);
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 1001;
    overflow-y: auto;
    padding: 60px 0 20px;
    transition: left 0.3s ease-in-out; /* Animacja wysuwania */
}

.mobile-menu.active {
    left: 0;
}

.mobile-search {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 10px;
}

.mobile-search .search-form {
    width: 100%;
}

.mobile-search .search-input {
    width: 100%;
    font-size: 14px;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
}

.mobile-menu-link:hover {
    background: var(--background-color);
}

.mobile-menu-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.mobile-menu-icon svg {
    width: 100%;
    height: 100%;
}

.mobile-menu-close {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    padding: 0;
    line-height: 1;
}

.mobile-menu-close:hover {
    color: var(--primary-color);
}

/* ----- BREAKING NEWS ----- */
.breaking-news-bar {
    display: flex;
    flex-direction: row;
    height: 40px;
    margin: 20px auto 10px auto;
    width: 100%;
}

.breaking-news-prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--breaking-prefix-bg);
    color: var(--text-color);
    font-weight: bold;
    padding: 0 15px;
    white-space: nowrap;
    min-width: 150px;
    font-size: 1.375rem;
    text-transform: uppercase;
    height: 100%;
    flex-shrink: 0;
}

.breaking-news-title {
    display: flex;
    align-items: center;
    background-color: var(--breaking-bg);
    color: var(--white);
    padding: 0 15px;
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    height: 100%;
}

.breaking-news-title a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.375rem;
}

.breaking-news-title a:hover {
    text-decoration: underline;
}

/* ----- TICKET EVENTS BAR ----- */
.ticket-events-container {
    width: 100%;
    max-width: 1303px;
    margin: 0 auto 20px;
    box-sizing: border-box;
}

.ticket-events-bar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    background-color: #f8f8f8;
    border-radius: 4px;
    width: 100%;
    padding: 10px 20px;
    box-sizing: border-box;
    flex-wrap: nowrap !important;
}

.ticket-events-prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FB0031;
    color: var(--white);
    font-weight: bold;
    padding: 8px 15px;
    white-space: nowrap;
    border-radius: 4px;
    margin-right: 15px !important;
    margin-bottom: 0 !important;
    font-size: 1rem;
    flex-shrink: 0;
    flex-basis: auto !important;
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
}

.ticket-events-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 15px;
    flex-grow: 1;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 5px;
    margin: 0 !important;
    width: auto !important;
    flex-basis: auto !important;
}

.ticket-events-list::-webkit-scrollbar {
    height: 4px;
}

.ticket-events-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 2px;
}

.ticket-events-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 2px;
}

.ticket-event-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}

.ticket-event-link:hover {
    color: var(--primary-color);
    background-color: rgba(43, 115, 212, 0.1);
}

.featured-item {
    width: 100%;
    max-width: 1303px;
    margin: 10px auto;
    text-align: center;
    padding: 0;
    overflow: hidden;
    min-height: 90px;
}

.featured-label {
    display: block;
    text-align: left;
    font-size: 0.8rem;
    color: #666;
	min-height: 19px;
    line-height: 19px;
}

.featured-label a {
    font-size: 0.8rem;
    color: #D64045;
    text-decoration: none;
}

.featured-label a:hover {
    text-decoration: underline;
}

.ad-separator {
    margin: 10px;
}

.homepage-sidebar .featured-itemfeatured-item,
.homepage-container .featured-item {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 768px) {
    .header-logo-section + .featured-item,
    body > .featured-item {
        padding: 0 15px;
    }
    
    .homepage-sidebar .featured-item,
    .homepage-container .featured-item {
        padding: 0;
    }
}

/* ----- STOPKA ----- */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-section h3 {
    font-size: 1.125rem;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

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

/* ----- PRZYCISKI ----- */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-action {
    background-color: var(--button-color);
    color: var(--white);
}

.btn-action:hover {
    background-color: #c63500;
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ----- PAGINACJA ----- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 30px 0;
}

.pagination a,
.pagination .current {
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 4px;
}

.pagination a {
    color: var(--text-color);
    background-color: var(--background-color);
}

.pagination a:hover {
    background-color: var(--border-color);
}

.pagination .current {
    background: var(--primary-color);
    color: var(--white);
}

.pagination .prev,
.pagination .next {
    font-weight: 500;
}

.pagination .dots {
    border: none;
    cursor: default;
}

/* ----- KOMUNIKATY ----- */
.message {
    padding: 12px 16px;
    margin: 3px 0 15px 0;
    border-radius: 4px;
    font-size: 0.9375rem;
}

.message--error {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.message--info {
    background: #f8facf;
    border: 1px solid #fef08a;
    color: #854d0e;
}

.message--success {
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.message--warning {
    background: #fff3cd;
    border: 1px solid #ffe69c;
    color: #804d00;
}

.message--centered {
    text-align: center;
    padding: 20px;
}

.success-icon {
    font-size: 64px;
    color: #2E8B57;
    margin-bottom: 20px;
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background-color: #d4edda;
}

/* ----- EMPTY STATES / NO CONTENT ----- */
.empty-state {
    padding: 30px 20px;
    text-align: center;
    background-color: var(--background-color);
    border-radius: 8px;
    color: var(--light-text);
    margin-bottom: 30px;
}

.empty-state p {
    font-size: 16px;
    color: var(--light-text);
}

/* ----- POMOCNICZE KLASY ----- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

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

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.my-1 { margin-top: 0.25rem; margin-bottom: 0.25rem; }
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.my-3 { margin-top: 1rem; margin-bottom: 1rem; }
.my-4 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.my-5 { margin-top: 2rem; margin-bottom: 2rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

/* ----- RESPONSYWNOŚĆ ----- */
@media (max-width: 480px) {
    .ticket-events-container {
        display: none;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    h3 {
        font-size: 1.125rem;
    }
    
    .breaking-news-prefix {
        min-width: 100px;
        font-size: 0.875rem;
        padding: 0 8px;
    }
    
    .breaking-news-title a {
        font-size: 0.875rem;
    }
    
    .container,
    .top-bar-inner,
    .main-menu-inner,
    .footer-inner,
    .breaking-news-bar {
        padding: 0 10px;
    }
}

@media (max-width: 320px) {
    .breaking-news-bar {
        flex-direction: column;
        height: auto;
    }
    
    .breaking-news-prefix,
    .breaking-news-title {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .breaking-news-prefix {
        min-width: 120px;
        font-size: 1.2rem;
        padding: 0 10px;
    }
    
    .breaking-news-title a {
        font-size: 1.2rem;
    }
    
    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advertisement {
        padding: 5px 0;
    }
    
    .featured-label, .featured-label a {
        font-size: 0.6rem;
    }
    
    .container,
    .top-bar-inner,
    .main-menu-inner,
    .footer-inner,
    .breaking-news-bar,
    .advertisement {
        padding: 0 15px;
    }

.header-logo-section .container {
    padding: 0 2px;
}
    
    .header-logo-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 10px 0;
    }
    
    .header-search {
        width: 100%;
        flex: none;
    }
    
    .gsc-control-cse {
        width: 100% !important;
    }
    
    .component-header h1 {
        font-size: 1.5rem;
    }
    
    .ticket-events-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 15px;
    }
    
    .ticket-events-prefix {
        margin: 0 0 10px 0;
        font-size: 0.85rem;
        padding: 6px 10px;
        width: auto !important;
    }
    
    .ticket-events-list {
        padding: 0;
        width: 100%;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: auto !important;
    }
    
    .ticket-event-link {
        font-size: 0.85rem;
    }

.mobile-logo-link {
    display: flex;
    align-items: center;
    height: 35px;
}

.mobile-logo-img {
    height: 35px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .desktop-logo,
    .desktop-search {
        display: none !important;
    }
}
}

@media (min-width: 769px) {
    .mobile-logo,
    .mobile-logo-link,
    .mobile-menu-toggle {
        display: none !important;
    }
}

.header-logo-section {
    padding: 0;
    min-height: auto;
}

.header-logo-container {
    min-height: auto;
    padding: 6px 0;
    gap: 5px;
}

.header-logo {
    width: auto;
    height: 35px;
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 35px;
    width: auto;
    max-width: none;
    object-fit: contain; 
    object-position: left;
}

.main-menu {
    height: 45px;
    margin-bottom: 5px;
}

.main-menu-inner {
    height: 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .mobile-logo {
        height: 35px;
        display: flex;
        align-items: center;
    }

    .mobile-logo img {
        height: 35px;
        width: auto;
        object-fit: contain;
    }

    .mobile-menu-toggle {
        padding: 5px;
        background: none;
        border: none;
        color: var(--white);
        cursor: pointer;
        order: 2;
    }

    .mobile-menu-toggle svg {
        width: 20px;
        height: 20px;
    }
}

@media (min-width: 769px) and (max-width: 940px) {
    .ticket-events-bar {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }
    
    .ticket-events-prefix {
        margin-right: 15px !important;
        margin-bottom: 0 !important;
        width: auto !important;
    }
    
    .ticket-events-list {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: auto !important;
    }
}

@media (min-width: 1024px) {
    .top-bar {
        display: block;
    }
    
    .main-menu-nav {
        display: flex !important;
        gap: 20px;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .gminy-list {
        gap: clamp(5px, 0.5vw, 12px);
        flex-wrap: nowrap;
        max-width: calc(100% - 200px);
        justify-content: flex-start;
    }
    
    .gmina-link {
        font-size: clamp(0.7rem, 1vw, 0.875rem);
        flex-shrink: 1;
        flex-basis: auto;
        white-space: nowrap;
        min-width: 0;
        padding: 2px 4px;
    }
}

@media (min-width: 1024px) and (max-width: 1400px) {
    .gminy-list {
        gap: clamp(5px, 0.4vw, 10px);
    }
    
    .gmina-link {
        font-size: clamp(0.68rem, 0.9vw, 0.8rem);
        padding: 2px 3px;
    }
}

@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .main-column, 
    .sidebar-column {
        width: 100%;
        max-width: 100%;
        flex: auto;
    }

    .sidebar-section.citizen-report-module {
        margin-bottom: 20px !important;
    }
}

/* ----- PRINT STYLES ----- */
@media print {
    .main-menu,
    .top-bar,
    .sidebar,
    .footer,
    .breaking-news-bar {
        display: none;
    }
    
    .container {
        display: block;
        max-width: none;
        padding: 0;
    }
    
    a {
        color: var(--text-color);
        text-decoration: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.3;
        background: #fff;
        color: #000;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }
    
    img {
        page-break-inside: avoid;
        max-width: 100% !important;
    }
    
    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
