        :root {
            --primary: #005b96;
            --secondary: #00a1e0;
            --accent: #ff6b35;
            --light: #f8f9fa;
            --dark: #212529;
            --gray: #6c757d;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: white;
            color: var(--dark);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Header styles */
        header {
            background-color: white;
            padding: 15px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        .logo {
            display: flex;
            align-items: center;
        }

        .logo-text {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--primary);
            margin-left: 10px;
        }

        .logo-text span {
            color: var(--accent);
        }

        nav ul {
            display: flex;
            list-style: none;
        }

        nav li {
            margin-left: 18px;
        }

        nav a {
            color: var(--dark);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
            padding: 5px 0;
            font-size: 1.1rem;
            white-space: nowrap;
        }

        nav a:hover {
            color: var(--accent);
        }

        nav a.active {
            color: var(--accent);
            font-weight: 600;
        }

        nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent);
            transition: width 0.3s ease;
        }

        nav a:hover::after,
        nav a.active::after {
            width: 100%;
        }

        nav a.nav-cta {
            background: var(--accent);
            color: white;
            padding: 8px 12px;
            border-radius: 50px;
            font-weight: 700;
            box-shadow: 0 4px 14px rgba(255,107,53,0.22);
        }

        nav a.nav-cta:hover {
            background: #e85a28;
            color: white;
        }

        nav a.nav-cta::after {
            display: none;
        }

        @media (max-width: 1320px) and (min-width: 769px) {
            .logo-text {
                font-size: 1.2rem;
            }

            nav li {
                margin-left: 12px;
            }

            nav a {
                font-size: 1rem;
            }

            nav a.nav-cta {
                padding: 7px 10px;
            }
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--primary);
        }

        /* Hero section */
        .hero {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                        url('https://d-art.ppstatic.pl/kadry/k/r/1/30/7f/569df5b600bab_o_xlarge.jpg') center/cover no-repeat;
            height: 70vh;
            display: flex;
            align-items: center;
            color: white;
            text-align: center;
        }

        .hero-content {
            max-width: 800px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .hero h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            line-height: 1.2;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        }

        .hero p {
            font-size: 1.4rem;
            margin-bottom: 2rem;
            max-width: 600px;
            margin: 0 auto 2rem;
            text-shadow: 0 1px 2px rgba(0,0,0,0.5);
        }

        .hero-dates {
            background: rgba(255, 255, 255, 0.2);
            display: inline-block;
            padding: 10px 25px;
            border-radius: 5px;
            margin-bottom: 2rem;
            font-size: 1.2rem;
            font-weight: 600;
            backdrop-filter: blur(5px);
        }

        /* Main content sections */
        .section {
            padding: 60px 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 40px;
            position: relative;
        }

        .section-title h2 {
            font-size: 2.2rem;
            color: var(--primary);
            display: inline-block;
            position: relative;
            padding-bottom: 15px;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--accent);
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        .info-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 30px;
        }

        .info-card {
            background: white;
            border-radius: 8px;
            border: 1px solid rgba(0,91,150,0.22);
            box-shadow: 0 8px 22px rgba(0,0,0,0.08), 0 0 24px rgba(0,91,150,0.10);
            padding: 30px;
            transition: transform 0.3s ease;
        }

        .info-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 14px 30px rgba(0,0,0,0.12), 0 0 34px rgba(0,91,150,0.16);
        }

        .info-card h3 {
            color: var(--primary);
            margin-bottom: 15px;
            font-size: 1.4rem;
        }

        .info-card p {
            color: var(--gray);
            margin-bottom: 15px;
        }

        .info-card ul {
            padding-left: 20px;
            margin-top: 15px;
        }

        .info-card li {
            margin-bottom: 8px;
        }

        .icon-container {
            width: 60px;
            height: 60px;
            background: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
        }

        .icon-container i {
            color: white;
            font-size: 1.8rem;
        }

        /* Program section */
        .program-section {
            background-color: #f5f7fa;
        }

        .schedule {
            max-width: 900px;
            margin: 0 auto;
            background: white;
            border-radius: 8px;
            border: 1px solid rgba(0,91,150,0.22);
            box-shadow: 0 8px 22px rgba(0,0,0,0.08), 0 0 24px rgba(0,91,150,0.10);
            overflow: hidden;
        }

        .schedule-item {
            padding: 25px;
            border-bottom: 1px solid #eee;
            display: flex;
        }

        .schedule-item:last-child {
            border-bottom: none;
        }

        .time {
            min-width: 120px;
            color: var(--primary);
            font-weight: 600;
            font-size: 1.1rem;
        }

        .event-details h3 {
            color: var(--dark);
            margin-bottom: 8px;
            font-size: 1.2rem;
        }

        .event-details p {
            color: var(--gray);
        }

        /* Organizers section */
        .organizers-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
            margin-top: 30px;
        }

        .partners-title {
            margin-top: 50px;
        }

        .partners-grid {
            margin-left: auto;
            margin-right: auto;
        }

        /* Patrons section override to a 2x2 grid on larger screens */
        @media (min-width: 769px) {
            #patrons .organizers-grid,
            #media-patrons .organizers-grid { /* Apply to media patrons as well */
                grid-template-columns: repeat(2, 1fr);
                max-width: 800px;
                margin-left: auto;
                margin-right: auto;
            }
        }

        .organizer-card {
            background: white;
            border-radius: 8px;
            border: 1px solid rgba(0,91,150,0.22);
            box-shadow: 0 8px 22px rgba(0,0,0,0.08), 0 0 24px rgba(0,91,150,0.10);
            padding: 25px;
            text-align: center;
            transition: all 0.3s ease;
        }

        .organizer-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 28px rgba(0,0,0,0.12), 0 0 32px rgba(0,91,150,0.16);
        }

        .organizer-logo {
            width: 100px;
            height: 100px;
            background: #f0f4f8;
            border-radius: 50%;
            margin: 0 auto 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-size: 2rem;
        }

        /* Specific logo styling for media patrons */
        .media-logo-container {
            width: 100%; /* Make container take full width */
            max-width: 330px; /* Max width like others */
            height: 180px; /* Fixed height */
            border-radius: 0; /* Override default */
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background: transparent;
            margin: 0 auto 20px; /* Center and add bottom margin */
        }

        .media-logo-container img {
            display: block;
            width: auto; /* Let image scale naturally */
            height: 80%; /* Control image height */
            max-width: 100%; /* Don't exceed container */
            max-height: 100%; /* Don't exceed container */
            object-fit: contain; /* Fit without distortion */
            border-radius: 0;
        }

        /* Placeholder styles */
        .placeholder-logo {
            width: 100%;
            height: 100%;
            border: 2px dashed var(--gray);
            background: #f0f4f8;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--gray);
            font-style: italic;
        }

        .organizer-card h3 {
            color: var(--primary);
            margin-bottom: 10px;
        }

        .partner-card {
            min-height: 300px;
            padding-bottom: 22px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .partner-card h3 {
            min-height: 52px;
            margin-top: auto;
            margin-bottom: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            line-height: 1.25;
        }

        .partner-logo {
            width: 100%;
            max-width: 320px;
            height: 180px;
            background: none;
            border-radius: 0;
            margin-bottom: 18px;
            padding: 6px;
            overflow: visible;
        }

        .partner-logo img {
            display: block;
            width: 100%;
            height: 100%;
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            border-radius: 0;
        }

        .partner-logo-blue {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            border-radius: 8px;
            padding: 14px;
        }

        .partner-logo-tall img {
            width: auto;
            height: 100%;
            max-height: 100%;
        }

        .partner-logo-tall {
            height: 180px;
            margin-bottom: 18px;
        }

        .partner-logo-slupsk {
            height: 180px;
            margin-bottom: 18px;
            align-items: center;
            justify-content: center;
        }

        .partner-logo-slupsk img {
            width: 92%;
            height: auto;
        }

        .partner-logo-wide {
            max-width: 360px;
        }

        .partner-logo-wide img {
            width: 115%;
            height: auto;
            max-width: none;
        }

        /* Contact section */
        .contact-section {
            background: linear-gradient(to right, var(--primary), var(--secondary));
            color: white;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 30px;
        }

        .contact-card {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            padding: 30px;
            text-align: center;
            backdrop-filter: blur(5px);
            transition: all 0.3s ease;
        }

        .contact-card:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateY(-5px);
        }

        .contact-card i {
            font-size: 2.5rem;
            margin-bottom: 20px;
            color: var(--accent);
        }

        .contact-card h3 {
            margin-bottom: 15px;
            font-size: 1.4rem;
        }

        .contact-info {
            font-size: 1.2rem;
            margin-top: 10px;
        }

        .email-link {
            color: white;
            text-decoration: none;
            font-weight: 600;
            display: inline-block;
            margin-top: 10px;
            transition: all 0.3s ease;
            border-bottom: 2px solid transparent;
        }

        .email-link:hover {
            color: var(--accent);
            border-bottom: 2px solid var(--accent);
        }

        /* Footer */
        footer {
            background: var(--dark);
            color: white;
            padding: 50px 0 20px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-bottom: 30px;
        }

        @media (min-width: 1000px) {
            .footer-grid {
                grid-template-columns: max-content max-content max-content;
                justify-content: space-between;
                column-gap: 48px;
            }
        }

        .footer-column h3 {
            color: var(--accent);
            margin-bottom: 20px;
            font-size: 1.3rem;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--accent);
        }

        .footer-nav-column h3 {
            max-width: 320px;
            margin-left: auto;
            margin-right: auto;
            text-align: center;
        }

        .footer-nav-column h3::after {
            left: 50%;
            transform: translateX(-50%);
        }

        .footer-links {
            list-style: none;
        }

        .footer-nav-links {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            column-gap: 24px;
            max-width: 320px;
            margin-left: auto;
            margin-right: auto;
            text-align: center;
            justify-items: center;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: #ddd;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .footer-links a:hover {
            color: var(--accent);
            padding-left: 5px;
        }

        .footer-nav-links a:hover {
            padding-left: 0;
        }

        .copyright {
            text-align: center;
            padding-top: 20px;
            margin-top: 30px;
            border-top: 1px solid #444;
            color: #aaa;
            font-size: 0.9rem;
        }

        /* Map styles */
        .map-container {
            margin-top: 40px;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            height: 400px;
        }

        .map-container iframe {
            width: 100%;
            height: 100%;
            border: 0;
        }

        /* Program list improvements */
        .presentation-list {
            margin-top: 10px;
        }

        .presentation-item {
            margin-bottom: 10px;
            padding-left: 20px;
            position: relative;
        }

        .presentation-item::before {
            content: "•";
            position: absolute;
            left: 0;
            color: var(--accent);
            font-weight: bold;
        }

        .presenter {
            font-weight: 600;
            color: var(--primary);
        }

        .organization {
            font-style: italic;
        }

        /* Button styles */
        .btn {
            display: inline-block;
            background: var(--accent);
            color: white;
            padding: 12px 30px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
        }

        .btn:hover {
            background: #e55a2e;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        /* Responsive styles */
        @media (max-width: 992px) {
            .hero h1 {
                font-size: 2.5rem;
            }

            .hero p {
                font-size: 1.2rem;
            }
        }

        @media (max-width: 768px) {
            .mobile-menu-btn {
                display: block;
            }

            nav ul {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: white;
                flex-direction: column;
                box-shadow: 0 10px 15px rgba(0,0,0,0.1);
                padding: 20px 0;
            }

            nav ul.show {
                display: flex;
            }

            nav li {
                margin: 10px 0;
                text-align: center;
            }

            .hero {
                height: 60vh;
            }

            .hero h1 {
                font-size: 2rem;
            }

            .section-title h2 {
                font-size: 1.8rem;
            }

            .schedule-item {
                flex-direction: column;
            }

            .time {
                margin-bottom: 10px;
            }

            /* Mobile-specific improvements */
            .info-cards,
            .organizers-grid,
            .contact-grid {
                grid-template-columns: minmax(0, 1fr);
            }

            .contact-card {
                min-width: 0;
                max-width: 100%;
                padding: 24px 16px;
                overflow-wrap: anywhere;
            }
        }

        @media (max-width: 576px) {
            .hero-dates {
                font-size: 1rem;
                padding: 8px 15px;
            }

            .hero {
                height: 50vh;
            }

            .hero-content {
                padding: 0 15px;
            }

            .btn {
                padding: 10px 20px;
                font-size: 1rem;
            }
        }

        /* Smaller spacing for About section */
        #about.section {
            padding: 30px 0;
        }
        /* Smaller padding for media patrons section */
        #media-patrons.section {
            padding: 30px 0;
        }

        /* Tymczasowe ukrycie elementów pozostających w kodzie */
        .temporarily-hidden { display: none !important; }

        /* Hero conferences side-by-side layout */
        .hero-conferences {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 36px;
            align-items: start;
            margin-bottom: 1.1rem;
        }
        .hero-conference { min-width: 0; }
        @media (max-width: 900px) {
            .hero-conferences {
                grid-template-columns: 1fr;
                gap: 24px;
            }
        }

        @media (max-width: 768px) {
            .hero {
                height: auto !important;
                min-height: 0;
                align-items: center !important;
                padding: 28px 0 !important;
                background-position: center center !important;
            }

            .hero-content {
                width: calc(100% - 28px) !important;
                padding: 18px 14px !important;
            }

            .hero-conferences {
                gap: 16px;
                margin-bottom: 0.9rem;
            }

            .hero-conference h1 {
                font-size: clamp(1.35rem, 7vw, 1.9rem) !important;
                line-height: 1.16 !important;
                margin-bottom: 0.35rem !important;
            }

            .hero-conference p {
                font-size: clamp(0.88rem, 3.6vw, 1rem) !important;
                line-height: 1.32 !important;
            }

            .hero-dates {
                width: auto !important;
                max-width: 100%;
                padding: 8px 12px !important;
                font-size: 0.92rem !important;
                line-height: 1.35;
                justify-content: center;
                flex-wrap: wrap;
                margin-bottom: 0.9rem !important;
            }
        }
