*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html * {
    font-family: "Open Sans", sans-serif!important;
}


img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}


a {
    color: inherit;
    text-decoration: none!important;
    transition: all 0.3s;
}


.page-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: block;
}

.bg-thumb {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    transition: all 0.3s;
}

.home-slider * {
    color: white;
    text-decoration: none;
}

.home-first-slide {
    min-height: 450px;
}

.home-slider a {
    height: 100%;
    position: relative;
    display: flex;
    overflow: hidden;
    align-items: flex-end;
}

.home-slider a:hover .bg-thumb {
    transform: scale3d(1.1,1.1,1);
}


.home-slider a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: black;
    opacity: .5;
}

.home-slider a *:not(.bg-thumb) {
    position: relative;
}

.slider-date {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
    margin-bottom: 2px;
}

@media (min-width: 992px) {
    .mh-50 {
        height: calc(50% - 0.25rem);
    }
}

.badge-yellow{
    background: #f9c100;
    border-radius: 0!important;
}

.badge-black{
    background: #222222;
    border-radius: 0!important;
    color: #fff;
}

.badge-red{
    background: #9B2335;
    border-radius: 0!important;
    color: #fff;
}

.w-yellow {
    border-bottom: 2px solid #f9c100;
}
.w-black {
    position: relative;
    padding-bottom: 10px;
    border-bottom: none;
}
.w-black::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,3 L2,2.5 L4,3.5 L6,2 L8,4 L10,3 L12,3.5 L14,2.5 L16,4 L18,2.5 L20,3 L22,4 L24,2 L26,3.5 L28,3 L30,2.5 L32,4 L34,3 L36,2 L38,3.5 L40,4 L42,2.5 L44,3 L46,3.5 L48,2 L50,4 L52,3 L54,2.5 L56,3.5 L58,4 L60,2.5 L62,3 L64,4 L66,2.5 L68,3 L70,3.5 L72,2 L74,4 L76,3 L78,2.5 L80,3.5 L82,4 L84,2 L86,3 L88,3.5 L90,2.5 L92,4 L94,3 L96,2.5 L98,3.5 L100,2 L102,4 L104,3 L106,3.5 L108,2.5 L110,4 L112,2.5 L114,3 L116,4 L118,2 L120,3.5 L122,3 L124,2.5 L126,4 L128,3 L130,2 L132,3.5 L134,4 L136,2.5 L138,3 L140,3.5 L142,2 L144,4 L146,3 L148,2.5 L150,3.5 L152,4 L154,2.5 L156,3 L158,4 L160,2.5 L162,3 L164,3.5 L166,2 L168,4 L170,3 L172,2.5 L174,3.5 L176,4 L178,2 L180,3 L182,3.5 L184,2.5 L186,4 L188,3 L190,2.5 L192,3.5 L194,2 L196,4 L198,3 L200,3.5' stroke='%239B2335' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 200px 6px;
}
.w-red {
    position: relative;
    padding-bottom: 10px;
    border-bottom: none;
}
.w-red::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,3 L2,2.5 L4,3.5 L6,2 L8,4 L10,3 L12,3.5 L14,2.5 L16,4 L18,2.5 L20,3 L22,4 L24,2 L26,3.5 L28,3 L30,2.5 L32,4 L34,3 L36,2 L38,3.5 L40,4 L42,2.5 L44,3 L46,3.5 L48,2 L50,4 L52,3 L54,2.5 L56,3.5 L58,4 L60,2.5 L62,3 L64,4 L66,2.5 L68,3 L70,3.5 L72,2 L74,4 L76,3 L78,2.5 L80,3.5 L82,4 L84,2 L86,3 L88,3.5 L90,2.5 L92,4 L94,3 L96,2.5 L98,3.5 L100,2 L102,4 L104,3 L106,3.5 L108,2.5 L110,4 L112,2.5 L114,3 L116,4 L118,2 L120,3.5 L122,3 L124,2.5 L126,4 L128,3 L130,2 L132,3.5 L134,4 L136,2.5 L138,3 L140,3.5 L142,2 L144,4 L146,3 L148,2.5 L150,3.5 L152,4 L154,2.5 L156,3 L158,4 L160,2.5 L162,3 L164,3.5 L166,2 L168,4 L170,3 L172,2.5 L174,3.5 L176,4 L178,2 L180,3 L182,3.5 L184,2.5 L186,4 L188,3 L190,2.5 L192,3.5 L194,2 L196,4 L198,3 L200,3.5' stroke='%239B2335' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 200px 6px;
}

.polityka-title {
    font-weight: 400;
    font-size: 14px;
}

.post-description {
    font-size: 13px;
    color: #767676;
    margin-top: 12px;
}

.post-date {
    color: #767676;
    font-size: 11px;
}

.ratio-218 {
    aspect-ratio: 218/140;
    object-fit: cover;
}
.ratio-328 {
    aspect-ratio: 328/164;
    object-fit: cover;
}

.ratio-485 {
    aspect-ratio: 485/360;
    object-fit: cover;
}


        
        .social-item {
            display: flex;
            align-items: center;
            background: #fff;
       
            margin-bottom: 2px;
            padding: 0;
            text-decoration: none;
            color: #333;
            transition: background-color 0.2s;
        }
        
        .social-item:hover {
            background: #f5f5f5;
        }
        
        .social-icon {
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
            font-weight: bold;
        }
        
        .facebook { background: #1877f2; }
        .twitter { background: #000000; }
        .youtube { background: #ff0000; }
        .spotify { background: #1db954; }
        .instagram { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }
        
        .social-content {
            flex: 1;
            padding: 12px 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .social-text {
            font-size: 14px;
            font-weight: 600;
        }
        
        .social-action {
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            color: #666;
            padding: 6px 12px;
            border: 1px solid #ddd;
            background: #f8f9fa;
            border-radius: 3px;
        }
        
        .social-item:hover .social-action {
            background: #e9ecef;
        }
.youtube-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.youtube-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.podcast p {
    font-size: 14px;
}

.podcast a {
    color: #222222;
}

a:hover {
    color: #B83A4B;
}

.polityka-main h2, .polityka-main h3 {
    transition: all .3s;
}

.polityka-main:hover h2,.polityka-main:hover h3 {
    color: #B83A4B!important;
}

.wp-caption {
    max-width: 100%;
}

  /* Red Top Bar Styles */
        .top-bar-red {
            background-color: #9B2335;
            border-bottom: 1px solid #7A1C2A;
        }

        .top-nav-links {
            gap: 25px;
            margin-left: auto;
            margin-right: 12px;
        }

        .top-nav-links a {
            color: #fff;
            text-decoration: none;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            transition: opacity 0.3s;
        }

        .top-nav-links a:hover {
            opacity: 0.8;
        }

        .top-nav-links .top-nav-item {
            position: relative;
            padding: 15px 0;
            margin: -15px 0;
        }

        .top-nav-links .top-nav-item > a {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .top-nav-links .top-nav-item.has-dropdown > a::after {
            content: '▼';
            font-size: 8px;
        }

        .top-nav-links .top-nav-dropdown {
            position: absolute;
            top: 100%;
            left: -15px;
            background: #9B2335;
            min-width: 150px;
            padding: 10px 0;
            display: none;
            flex-direction: column;
            z-index: 1000;
        }

        .top-nav-links .top-nav-item:hover .top-nav-dropdown {
            display: flex;
        }

        .top-nav-links .top-nav-dropdown a {
            padding: 8px 15px;
            white-space: nowrap;
        }

        .top-nav-links .top-nav-dropdown a:hover {
            background: rgba(255,255,255,0.1);
        }

        .search-btn-white {
            color: #fff;
            display: flex;
        }

        /* White Navbar Styles */
        .navbar-white {
            background-color: #fff;
            border-bottom: 1px solid #e0e0e0;
            padding: 10px 0;
        }

        .navbar {
            background-color: #fff;
            border-bottom: 1px solid #e0e0e0;
            padding: 10px 0;
        }

        .navbar-brand {
            font-size: 2rem;
            font-weight: 900;
            color: #000 !important;
            text-decoration: none;
        }

        .navbar-brand .number {
            color: #17a2b8;
        }

        .tagline {
            font-size: 0.75rem;
            color: #666;
            margin-top: -5px;
        }

        .navbar-nav .nav-link {
            color: #000 !important;
            font-weight: 600;
            font-size: 0.75rem;
            padding: 8px 15px !important;
            position: relative;
            text-transform: capitalize;
        }

        .navbar-nav .nav-link:hover {
            color: #9B2335 !important;
        }

        .dropdown-toggle::after {
            margin-left: 8px;
        }

        .search-btn {
            background: none;
            border: none;
            font-size: 1.2rem;
            color: #000;
            padding: 8px;
            cursor: pointer;
        }

        .search-btn:hover {
            opacity: 0.7;
        }

        @media (max-width: 991.98px) {
            .navbar-nav {
                margin-top: 15px;
            }

            .top-nav-links {
                display: none !important;
            }
        }

/* Slider prawy - style */
.slider-right-wrapper {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.slider-right-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.slider-right-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

.slider-right-slide.active {
    opacity: 1;
    visibility: visible;
}

.slider-right-slide .row {
    height: 100%;
}

.slider-right-slide .col-6 {
    height: 50%;
}

.navbar-brand img {
    max-height: 80px;
}

@media(max-width:1200px){
        .navbar-brand img {
        max-height: 50px;
    }
}

/* Nawigacja slidera - strzałki po bokach */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

.slider-prev:hover,
.slider-next:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

/* Kropki na dole */
.slider-nav {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
    background: rgba(0,0,0,0.5);
    padding: 8px 15px;
    border-radius: 20px;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid white;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.btn-archive {
    display: inline-block;
    background: #9B2335;
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    transition: all 0.3s;
}

.btn-archive:hover {
    background: #7A1C2A;
    color: #fff;
}

@media (max-width: 991.98px) {
    .slider-right-wrapper {
        height: 300px;
    }

    .slider-nav {
        bottom: 10px;
        padding: 6px 12px;
    }

    .slider-prev,
    .slider-next {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }
}

/* Sidebar Ads Slider */
.sidebar-ads-slider {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.ads-slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.ads-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ads-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ads-slide a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.ads-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.ads-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}

.ads-dot.active {
    background: #9B2335;
}

.ads-dot:hover {
    background: #999;
}

.ads-dot.active:hover {
    background: #7A1C2A;
}

.ads-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.ads-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.ads-prev {
    left: 8px;
}

.ads-next {
    right: 8px;
}

/* Fixed Social Media Icons */
.social-fixed {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.social-fixed-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #6b6b6b;
    color: #fff;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.social-fixed-item:last-child {
    border-bottom: none;
}

.social-fixed-item:hover {
    color: #fff;
}

.social-fixed-item svg {
    width: 20px;
    height: 20px;
}

/* Kolory na hover dla kazdego social media */
.social-fixed-email:hover {
    background: #9B2335;
}

.social-fixed-facebook:hover {
    background: #1877f2;
}

.social-fixed-twitter:hover {
    background: #000000;
}

.social-fixed-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.social-fixed-youtube:hover {
    background: #ff0000;
}

.social-fixed-spotify:hover {
    background: #1db954;
}

.social-fixed-linkedin:hover {
    background: #0077b5;
}

.social-fixed-tiktok:hover {
    background: #000000;
}

.social-fixed-pinterest:hover {
    background: #e60023;
}

.social-fixed-whatsapp:hover {
    background: #25d366;
}

/* Ukryj na mobile */
@media (max-width: 991.98px) {
    .social-fixed {
        display: none;
    }
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
    background: #141414;
    color: #fff;
    padding: 60px 0 0;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    width: 100%;
    padding: 0 60px;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

/* Kolumna 1 - Kontakt/Informacje */
.footer-column-info p {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
}

.footer-column-info a {
    color: #ccc;
}

.footer-column-info a:hover {
    color: #fff;
}

/* Kolumna 2 - Partnerzy */
.footer-partners {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-partner-logo {
    max-width: 120px;
    height: auto;
    transition: all 0.3s;
}

.footer-partner-logo:hover {
    opacity: 0.8;
}

/* Kolumna 3 - Social Media */
.footer-social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    transition: all 0.3s;
}

.footer-social-icon:hover {
    transform: scale(1.1);
}

.footer-social-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 40px;
    padding: 20px 60px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright {
    font-size: 13px;
    color: #888;
}

.footer-copyright a {
    color: #aaa;
}

.footer-copyright a:hover {
    color: #fff;
}

.footer-menu {
    display: flex;
    gap: 30px;
}

.footer-menu a {
    font-size: 13px;
    color: #888;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: #fff;
}

/* Footer Responsive */
@media (max-width: 991.98px) {
    .footer-columns {
        grid-template-columns: 1fr 1fr;
    }

    .footer-column:nth-child(3) {
        grid-column: span 2;
    }
}

@media (max-width: 767.98px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }

    .footer-column:nth-child(3) {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-menu {
        justify-content: center;
    }
}

/* ========================================
   RADIO I PODCASTY PAGE
======================================== */
.radio-card {
    background: #f8f9fa;
    border-left: 4px solid #9B2335;
    transition: all 0.3s ease;
}

.radio-card:hover {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.radio-card h2 {
    color: #222;
}

.radio-card p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.radio-card a {
    color: #9B2335;
}

.radio-card a:hover {
    color: #7A1C2A;
}

.radio-card-featured {
    border-left-color: #f9c100;
    background: linear-gradient(135deg, #fffbeb 0%, #f8f9fa 100%);
}

.radio-info-box {
    background: #222;
    color: #fff;
    border-radius: 0;
}

.radio-info-box h3 {
    color: #f9c100;
}

.radio-info-box p {
    color: #ccc;
    font-size: 15px;
    line-height: 1.8;
}

.radio-info-box a {
    color: #f9c100;
}

.radio-info-box a:hover {
    color: #fff;
}

.tv-card {
    border-left-color: #1a73e8;
}

/* ========================================
   NAJCZESCIEJ CZYTANE (MOST READ) SECTION
======================================== */

.most-read-section {
    padding: 30px 0 40px;
    margin-top: 20px;
}

.most-read-header {
    margin-bottom: 25px;
    border-bottom: 3px solid #9B2335;
    padding-bottom: 10px;
}

.most-read-heading {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 0;
    text-transform: uppercase;
}

/* Karuzela */
.most-read-carousel {
    position: relative;
}

.most-read-wrapper {
    overflow: hidden;
}

.most-read-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

/* Kafelek */
.most-read-tile {
    flex: 0 0 calc(33.333% - 14px);
    min-width: calc(33.333% - 14px);
    background: #fff;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.most-read-link {
    display: flex;
    align-items: stretch;
    height: 100%;
    min-height: 130px;
    text-decoration: none;
    color: inherit;
}

/* Pionowa etykieta kategorii */
.most-read-category {
    width: 30px;
    min-width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.most-read-category span {
    color: #767676;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    padding: 10px 0;
}

/* Tresc */
.most-read-content {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.most-read-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px 0;
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.most-read-tile:hover .most-read-title {
    color: #9B2335;
}

.most-read-meta {
    font-size: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.most-read-author {
    color: #E07000;
    font-weight: 600;
}

.most-read-date {
    color: #767676;
}

/* Miniaturka */
.most-read-thumbnail {
    width: 120px;
    min-width: 120px;
    height: 120px;
    overflow: hidden;
    padding: 10px;
    display: flex;
    align-items: center;
}

.most-read-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.most-read-tile:hover .most-read-thumbnail img {
    transform: scale(1.05);
}

.most-read-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
}

/* Nawigacja */
.most-read-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.most-read-prev,
.most-read-next {
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 14px;
    transition: all 0.3s;
}

.most-read-prev:hover,
.most-read-next:hover {
    background: #9B2335;
    border-color: #9B2335;
    color: #fff;
}

.most-read-indicators {
    display: flex;
    gap: 10px;
}

.most-read-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.most-read-indicator.active {
    background: #9B2335;
    transform: scale(1.2);
}

.most-read-indicator:hover {
    background: #b83a4b;
}

/* Responsywnosc */
@media (max-width: 991.98px) {
    .most-read-tile {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }

    .most-read-thumbnail {
        width: 100px;
        min-width: 100px;
    }

    .most-read-category {
        width: 25px;
        min-width: 25px;
    }

    .most-read-category span {
        font-size: 9px;
    }
}

@media (max-width: 575.98px) {
    .most-read-section {
        padding: 20px 0 30px;
    }

    .most-read-tile {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .most-read-track {
        gap: 15px;
    }

    .most-read-link {
        min-height: 110px;
    }

    .most-read-thumbnail {
        width: 90px;
        min-width: 90px;
    }

    .most-read-nav {
        margin-top: 20px;
    }

    .most-read-title {
        font-size: 13px;
    }
}

/* ========================================
   CATEGORY GRID (STYL JAK MOST READ)
======================================== */

.category-grid-header {
    margin-bottom: 25px;
    border-bottom: 3px solid #9B2335;
    padding-bottom: 10px;
}

.category-grid-heading {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 0;
    text-transform: uppercase;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.category-grid-tile {
    background: #fff;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.category-grid-link {
    display: flex;
    align-items: stretch;
    height: 100%;
    min-height: 130px;
    text-decoration: none;
    color: inherit;
}

.category-grid-category {
    width: 30px;
    min-width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.category-grid-category span {
    color: #767676;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    padding: 10px 0;
}

.category-grid-content {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-grid-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px 0;
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.category-grid-tile:hover .category-grid-title {
    color: #9B2335;
}

.category-grid-meta {
    font-size: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.category-grid-author {
    color: #E07000;
    font-weight: 600;
}

.category-grid-date {
    color: #767676;
}

.category-grid-thumbnail {
    width: 120px;
    min-width: 120px;
    height: 120px;
    overflow: hidden;
    padding: 10px;
    display: flex;
    align-items: center;
}

.category-grid-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.category-grid-tile:hover .category-grid-thumbnail img {
    transform: scale(1.05);
}

.category-grid-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
}

@media (max-width: 991.98px) {
    .category-grid-thumbnail {
        width: 100px;
        min-width: 100px;
    }

    .category-grid-category {
        width: 25px;
        min-width: 25px;
    }

    .category-grid-category span {
        font-size: 9px;
    }
}

@media (max-width: 575.98px) {
    .category-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .category-grid-link {
        min-height: 110px;
    }

    .category-grid-thumbnail {
        width: 90px;
        min-width: 90px;
    }

    .category-grid-title {
        font-size: 13px;
    }
}

/* ========================================
   SUBSCRIPTION TABLE (ABONAMENT)
======================================== */
.subscription-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    margin: 20px 0;
}

.subscription-table thead {
    background: #9B2335;
}

.subscription-table thead th {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 15px 20px;
    text-align: left;
    border: none;
}

.subscription-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.subscription-table tbody tr:hover {
    background: #f8f9fa;
}

.subscription-table tbody tr:last-child {
    border-bottom: none;
}

.subscription-table tbody td {
    padding: 18px 20px;
    font-size: 14px;
    color: #222;
    vertical-align: middle;
}

.subscription-table tbody td:first-child {
    font-weight: 600;
    color: #222;
}

.subscription-table tbody td:nth-child(2) {
    font-weight: 700;
    color: #9B2335;
    font-size: 16px;
}

.subscription-table tbody td:nth-child(3) {
    color: #767676;
}

.subscription-table .btn-subscribe {
    display: inline-block;
    background: #9B2335;
    color: #fff;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscription-table .btn-subscribe:hover {
    background: #7A1C2A;
}

/* Highlighted/recommended row */
.subscription-table tbody tr.recommended {
    background: linear-gradient(135deg, #fffbeb 0%, #fff 100%);
    border-left: 4px solid #f9c100;
}

.subscription-table tbody tr.recommended:hover {
    background: linear-gradient(135deg, #fff8dc 0%, #f8f9fa 100%);
}

/* Responsive */
@media (max-width: 767.98px) {
    .subscription-table thead {
        display: none;
    }

    .subscription-table tbody tr {
        display: block;
        padding: 20px;
        margin-bottom: 15px;
        border: 1px solid #e0e0e0;
        border-left: 4px solid #9B2335;
    }

    .subscription-table tbody tr.recommended {
        border-left: 4px solid #f9c100;
    }

    .subscription-table tbody td {
        display: block;
        padding: 8px 0;
        text-align: left;
    }

    .subscription-table tbody td:first-child {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .subscription-table tbody td:nth-child(2) {
        font-size: 20px;
    }

    .subscription-table tbody td:last-child {
        margin-top: 15px;
    }

    .subscription-table .btn-subscribe {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   AUTH FORMS (LOGIN/REGISTER)
======================================== */
.wbapi-auth {
   
    margin: 40px auto;
    padding: 40px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: 4px solid #9B2335;
}

.wbapi-auth form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.wbapi-auth-form-row {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 20px;
}

.wbapi-auth-form-row label {
    display: block !important;
    width: 100% !important;
    float: none !important;
    font-size: 13px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Ukryj puste labele (z &nbsp;) */
.wbapi-auth-form-row label:empty {
    display: none !important;
}

.wbapi-auth-form-row > div,
.wbapi-auth-form-row > input {
    display: block !important;
    width: 100% !important;
    float: none !important;
}

.wbapi-auth-form-row input[type="text"],
.wbapi-auth-form-row input[type="email"],
.wbapi-auth-form-row input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    border: 1px solid #ddd;
    background: #f8f9fa;
    transition: all 0.3s ease;
    font-family: "Open Sans", sans-serif;
}

.wbapi-auth-form-row input:focus {
    outline: none;
    border-color: #9B2335;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(155, 35, 53, 0.1);
}

.wbapi-auth-form-row input::placeholder {
    color: #999;
}

/* reCAPTCHA container */
.wbapi-auth-form-row .g-recaptcha {
    margin-top: 5px;
}

/* Actions section */
.wbapi-auth-form-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wbapi-auth-btn-main {
    width: 100%;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #9B2335;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wbapi-auth-btn-main:hover {
    background: #7A1C2A;
}

.wbapi-auth-form-actions-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

.wbapi-auth-form-actions-links a {
    font-size: 13px;
    color: #9B2335;
    font-weight: 600;
    transition: color 0.3s;
}

.wbapi-auth-form-actions-links a:hover {
    color: #7A1C2A;
}

/* Error message */
.wbapi-auth-error {
    background: #fff5f5;
    border: 1px solid #ffcdd2;
    border-left: 4px solid #e53935;
    color: #c62828;
    padding: 12px 16px;
    font-size: 13px;
    margin: 0;
}

/* Success message */
.wbapi-auth-success {
    background: #f1f8e9;
    border: 1px solid #c5e1a5;
    border-left: 4px solid #7cb342;
    color: #558b2f;
    padding: 12px 16px;
    font-size: 13px;
    margin: 0;
}

/* Responsive */
@media (max-width: 767.98px) {
    .wbapi-auth {
        margin: 30px 20px;
        padding: 30px 25px;
    }

    .wbapi-auth-form-row {
        margin-bottom: 16px;
    }

    .wbapi-auth-form-row label {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .wbapi-auth-form-row input[type="text"],
    .wbapi-auth-form-row input[type="email"],
    .wbapi-auth-form-row input[type="password"] {
        padding: 12px 14px;
        font-size: 16px; /* zapobiega zoomowaniu na iOS */
    }

    .wbapi-auth-btn-main {
        padding: 14px 20px;
        font-size: 13px;
    }

    .wbapi-auth-form-actions-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    /* reCAPTCHA skalowanie na mobile */
    .wbapi-auth-form-row .g-recaptcha {
        transform: scale(0.9);
        transform-origin: left top;
    }
}

@media (max-width: 400px) {
    .wbapi-auth {
        margin: 15px 10px;
        padding: 20px 15px;
    }

    .wbapi-auth-form-row .g-recaptcha {
        transform: scale(0.77);
    }
}

.top-nav-links a:last-child {
    display: flex;
    align-items: center;
}

/* ========================================
   SINGLE POST
======================================== */

.single-breadcrumbs {
    font-size: 12px;
    color: #767676;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 5px 0 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.single-breadcrumbs a {
    color: #767676;
}

.single-breadcrumbs a:hover {
    color: #9B2335;
}

.single-breadcrumbs-sep {
    opacity: 0.6;
}

.single-breadcrumbs-current {
    color: #222;
    font-weight: 600;
}

.single-header {
    margin-bottom: 25px;
}

.single-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 10px 0;
    color: #222;
}

.single-editor {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #9B2335;
    margin-bottom: 8px;
}

.single-editor-label {
    font-weight: 600;
    margin-right: 6px;
}

.single-editor a {
    color: #9B2335;
    font-weight: 600;
}

.single-editor a:hover {
    color: #7A1C2A;
}

.single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #767676;
}

.single-meta a {
    color: #9B2335;
    font-weight: 600;
}

.single-meta a:hover {
    color: #7A1C2A;
}

.single-featured {
    margin-top: 18px;
    border-radius: 8px;
    overflow: hidden;
}

.single-content {
    font-size: 16px;
    line-height: 1.8;
    color: #222;
}

.single-content p {
    margin-bottom: 1.2rem;
}

.single-content h2 {
    font-size: 22px;
    margin: 2rem 0 0.8rem 0;
}

.single-content h3 {
    font-size: 18px;
    margin: 1.6rem 0 0.6rem 0;
}

.single-content img {
    margin: 20px 0;
    border-radius: 6px;
}

.single-post-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 35px 0 10px;
}

.single-post-nav-card {
    border: 1px solid #e0e0e0;
    background: #fff;
    display: flex;
    gap: 15px;
    padding: 16px;
    align-items: center;
    transition: all 0.3s ease;
}

.single-post-nav-card:hover {
    border-color: #9B2335;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.single-post-nav-card.is-next {
    flex-direction: row-reverse;
    text-align: right;
}

.single-post-nav-thumb {
    width: 90px;
    min-width: 90px;
    height: 70px;
    overflow: hidden;
    border-radius: 6px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-post-nav-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-post-nav-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #767676;
    margin-bottom: 6px;
    display: block;
}

.single-post-nav-title {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Related posts slider tweaks (Przeczytaj tez) */
.related-posts-section {
    margin-top: 35px;
}

.related-posts-section .most-read-tile {
    flex: 0 0 calc(33.333% - 14px);
    min-width: calc(33.333% - 14px);
}

.related-posts-section .most-read-link {
    min-height: 120px;
}

.related-posts-section .most-read-title {
    font-size: 13px;
    margin-bottom: 6px;
    -webkit-line-clamp: 2;
}

.related-posts-section .most-read-thumbnail {
    width: 90px;
    min-width: 90px;
    height: 90px;
}

.related-posts-section .most-read-category {
    width: 22px;
    min-width: 22px;
}

.related-posts-section .most-read-category span {
    font-size: 8px;
}

.related-posts-section .most-read-meta {
    font-size: 11px;
}

@media (max-width: 991.98px) {
    .single-title {
        font-size: 28px;
    }

    .single-post-nav {
        grid-template-columns: 1fr;
    }

    .single-post-nav-card.is-next {
        flex-direction: row;
        text-align: left;
    }

    .related-posts-section .most-read-tile {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 575.98px) {
    .single-title {
        font-size: 24px;
    }

    .single-post-nav-thumb {
        width: 80px;
        min-width: 80px;
        height: 60px;
    }

    .related-posts-section .most-read-tile {
        flex: 0 0 100%;
        min-width: 100%;
    }
}

/* ========================================
   ARCHIVE PAGES (CATEGORY & TAG)
======================================== */

.category-description {
    font-size: 14px;
    line-height: 1.6;
    max-width: 600px;
}

/* Lista wpisow archiwum */
.archive-posts {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.archive-post-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 25px 0;
}

.archive-post-item:first-child {
    padding-top: 0;
}

.archive-post-link {
    display: flex;
    gap: 25px;
    text-decoration: none;
    color: inherit;
}

/* Miniaturka */
.archive-post-thumbnail {
    flex: 0 0 220px;
    width: 220px;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
}

.archive-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.archive-post-link:hover .archive-post-thumbnail img {
    transform: scale(1.05);
}

.archive-post-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
}

/* Tresc wpisu */
.archive-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Meta: data i kategoria */
.archive-post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 12px;
}

.archive-post-date {
    color: #767676;
}

.archive-post-category {
    color: #9B2335;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tytul */
.archive-post-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px 0;
    color: #222;
    transition: color 0.3s ease;
}

.archive-post-link:hover .archive-post-title {
    color: #9B2335;
}

/* Zajawka */
.archive-post-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* Czytaj wiecej */
.archive-read-more {
    font-size: 13px;
    font-weight: 600;
    color: #9B2335;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.archive-post-link:hover .archive-read-more {
    color: #7A1C2A;
}

/* Tagi pod wpisem */
.archive-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    padding-left: 245px;
    align-items: center;
}

.archive-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    font-size: 12px;
    color: #555;
    background: #f5f5f5;
    border-radius: 3px;
    transition: all 0.3s ease;
    height: 32px;
    line-height: 1;
}

.archive-tag:hover,
.archive-tag.active {
    background: #9B2335;
    color: #fff;
}

/* Brak wpisow */
.archive-no-posts {
    padding: 60px 20px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
}

.archive-no-posts p {
    font-size: 16px;
    color: #555;
    margin: 0;
}

/* Paginacja */
.archive-pagination {
    margin-top: 40px;
    padding-top: 30px;
}

.pagination-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-links a,
.pagination-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination-links a:hover {
    background: #9B2335;
    border-color: #9B2335;
    color: #fff;
}

.pagination-links span.current {
    background: #9B2335;
    border-color: #9B2335;
    color: #fff;
}

.pagination-links .prev,
.pagination-links .next {
    padding: 0 16px;
}

.pagination-links .dots {
    border: none;
    background: transparent;
    min-width: auto;
    padding: 0 5px;
}

/* Responsywnosc archiwum */
@media (max-width: 767.98px) {
    .archive-post-link {
        flex-direction: column;
        gap: 15px;
    }

    .archive-post-thumbnail {
        flex: 0 0 auto;
        width: 100%;
        height: 200px;
    }

    .archive-post-title {
        font-size: 16px;
    }

    .archive-post-excerpt {
        font-size: 13px;
    }

    .archive-post-tags {
        padding-left: 0;
    }

    .archive-post-item {
        padding: 20px 0;
    }

    .pagination-links a,
    .pagination-links span {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .pagination-links .prev,
    .pagination-links .next {
        padding: 0 10px;
        font-size: 12px;
    }
}

@media (max-width: 575.98px) {
    .archive-post-thumbnail {
        height: 180px;
    }

    .archive-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .archive-pagination {
        margin-top: 30px;
        padding-top: 20px;
    }
}

/* ========================================
   REDAKTOR PROFILE
======================================== */
.redaktor-profile-card {
    display: flex;
    gap: 25px;
    padding: 25px;
    background: #f8f9fa;
    border-left: 4px solid #9B2335;
    margin-bottom: 30px;
}

.redaktor-profile-photo {
    flex: 0 0 120px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
}

.redaktor-profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.redaktor-profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.redaktor-profile-name {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin: 0 0 10px 0;
}

.redaktor-profile-bio {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 10px 0;
}

.redaktor-profile-count {
    font-size: 13px;
    color: #9B2335;
    font-weight: 600;
}

@media (max-width: 575.98px) {
    .redaktor-profile-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }

    .redaktor-profile-photo {
        flex: 0 0 100px;
        width: 100px;
        height: 100px;
    }

    .redaktor-profile-name {
        font-size: 20px;
    }
}

/* ========================================
   SIDEBAR REDAKTORZY (styl GW)
======================================== */
.sidebar-redaktorzy {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sidebar-redaktor-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px solid #e0e0e0;
}

.sidebar-redaktor-item:first-child {
    padding-top: 0;
}

.sidebar-redaktor-item:last-child {
    border-bottom: none;
}

.sidebar-redaktor-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-redaktor-name {
    font-size: 14px;
    font-weight: 400;
    color: #9B2335;
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar-redaktor-name:hover {
    color: #7A1C2A;
}

.sidebar-redaktor-post-title {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    line-height: 1.4;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.sidebar-redaktor-post-title:hover {
    color: #9B2335;
}

.sidebar-redaktor-photo-link {
    flex-shrink: 0;
}

.sidebar-redaktor-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.sidebar-redaktor-photo-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #ddd;
}

/* ========================================
   SEARCH OVERLAY
======================================== */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-overlay.active {
    display: flex;
    opacity: 1;
}

.search-overlay-inner {
    width: 100%;
    max-width: 700px;
    max-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0 20px;
}

.search-overlay-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    line-height: 1;
}

.search-overlay-close:hover {
    opacity: 0.7;
}

.search-overlay-box {
    position: relative;
}

.search-overlay-box input {
    width: 100%;
    padding: 18px 24px;
    font-size: 18px;
    border: none;
    border-bottom: 3px solid #9B2335;
    background: #fff;
    color: #222;
    font-family: "Open Sans", sans-serif;
    outline: none;
}

.search-overlay-box input::placeholder {
    color: #999;
}

.search-overlay-submit {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 60px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.search-overlay-submit:hover {
    opacity: 0.7;
}

/* Body blur when search is open */
body.search-open > *:not(.search-overlay) {
    filter: blur(4px);
    pointer-events: none;
}

body.search-open .search-overlay {
    filter: none;
    pointer-events: auto;
}

@media (max-width: 767.98px) {
    .search-overlay-box input {
        font-size: 16px;
        padding: 14px 18px;
    }
}

/* ========================================
   ZAPROPONUJ TEMAT - LANDING FORM
======================================== */
.zaproponuj-section {
    padding: 50px 0;
}

.zaproponuj-header {
    text-align: center;
    margin-bottom: 40px;
}

.zaproponuj-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin: 0 0 12px 0;
}

.zaproponuj-header p {
    font-size: 15px;
    color: #767676;
    margin: 0;
}

.zaproponuj-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.zaproponuj-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.zaproponuj-field .required {
    color: #9B2335;
}

.zaproponuj-field input,
.zaproponuj-field textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    border: 1px solid #ddd;
    background: #f8f9fa;
    font-family: "Open Sans", sans-serif;
    transition: all 0.3s ease;
}

.zaproponuj-field input:focus,
.zaproponuj-field textarea:focus {
    outline: none;
    border-color: #9B2335;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(155, 35, 53, 0.1);
}

.zaproponuj-field textarea {
    resize: vertical;
    min-height: 120px;
}

.zaproponuj-submit {
    width: 100%;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #9B2335;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.zaproponuj-submit:hover {
    background: #7A1C2A;
}

.zaproponuj-success {
    padding: 20px 24px;
    background: #f1f8e9;
    border: 1px solid #c5e1a5;
    border-left: 4px solid #7cb342;
    color: #558b2f;
    font-size: 14px;
    line-height: 1.6;
}

.zaproponuj-error {
    padding: 16px 20px;
    background: #fff5f5;
    border: 1px solid #ffcdd2;
    border-left: 4px solid #e53935;
    color: #c62828;
    font-size: 14px;
    margin-bottom: 20px;
}

@media (max-width: 767.98px) {
    .zaproponuj-section {
        padding: 30px 0;
    }

    .zaproponuj-header h1 {
        font-size: 22px;
    }

    .zaproponuj-field input,
    .zaproponuj-field textarea {
        padding: 12px 14px;
        font-size: 16px;
    }
}
