/* Reset i podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}
.container-hero { 
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, rgba(1, 43, 127, 0.9) 0%, rgba(1, 43, 127, 0.80) 100%);
    backdrop-filter: blur(15px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(30, 58, 138, 0.3);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 0;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link i {
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('media/tlo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #0f172a;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    padding: 0 50px;
    gap: 60px;
}

.hero-text {
    flex: 0 0 450px;
    text-align: left;
    margin-right: 120px;
}

.hero-social {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 0 0 80px;
    margin-right: 0px;
}

.hero-logo {
    position: fixed;
    bottom: 0px;
    right: 22px;
    z-index: 1001;
}

.pis-logo {
    width: 200px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.pis-logo:hover {
    opacity: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.9), -1px -1px 2px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8), -1px -1px 1px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Przyciski */
.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, #1e40af, #2563eb);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.4);
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.5);
}

/* Sekcje */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #1e40af, #2563eb);
    margin: 0 auto;
    border-radius: 2px;
}

/* O Pośle Section */
.about {
    background-color: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.achievements {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.achievement-item:hover {
    transform: translateX(10px);
}

.achievement-item i {
    color: #1e40af;
    font-size: 1.5rem;
    width: 25px;
    text-align: center;
}

.profile-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Działalność Section */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.activity-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #1e40af, #2563eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.card-icon i {
    color: white;
    font-size: 2rem;
}

.activity-card h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.activity-card p {
    color: #666;
    line-height: 1.6;
}

/* Aktualności Section */
.news {
    background-color: #ffffff;
    padding: 80px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.news-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    border-left: 4px solid #1e40af;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.news-date {
    background: linear-gradient(45deg, #1e40af, #2563eb);
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.date-day {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 5px;
}

.news-content {
    padding: 25px;
    flex: 1;
}

.news-content h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}

.news-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-link {
    color: #1e40af;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.news-link:hover {
    color: #1d4ed8;
    gap: 8px;
}

.news-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.news-link:hover i {
    transform: translateX(3px);
}

/* Galeria Section */
.gallery {
    background-color: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay p {
    margin: 0;
    font-weight: 500;
}

/* Kontakt Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.contact-item:hover {
    background-color: #e9ecef;
}

.contact-item i {
    color: #1e40af;
    font-size: 1.3rem;
    margin-top: 3px;
    width: 20px;
}

/* Pozostałe biura poselskie */
.other-offices-toggle {
    margin: 25px 0;
}

.offices-toggle-btn {
    background: none;
    border: none;
    color: #1e40af;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    transition: all 0.3s ease;
}

.offices-toggle-btn:hover {
    color: #1d4ed8;
}

.toggle-icon {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.office-list {
    margin-top: 15px;
    animation: fadeIn 0.3s ease-in-out;
}

.office-item {
    margin-bottom: 15px;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #1e40af;
}

.office-item:last-child {
    margin-bottom: 0;
}

.office-item strong {
    color: #1e40af;
    font-size: 0.95rem;
}

.contact-form h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e40af;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #1e40af;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* Hero Social Links */
.social-hero-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(30, 58, 138, 0.1);
    backdrop-filter: blur(10px);
    color: #1e3a8a;
    text-decoration: none;
    border-radius: 50%;
    border: 2px solid rgba(30, 58, 138, 0.3);
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.social-hero-link:hover {
    background: rgba(147, 197, 253, 0.3);
    border-color: rgba(147, 197, 253, 0.5);
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(30, 58, 138, 0.4);
}

/* Animacje */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Responsywność */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .activity-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 20px 0;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-list {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 8px 12px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.1);
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 25px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 0 20px;
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
        order: 2;
    }

    .hero-social {
        position: fixed;
        top: 80px;
        right: 15px;
        flex-direction: column;
        flex: none;
        order: 3;
        gap: 10px;
        z-index: 999;
        background: rgba(30, 64, 175, 0.9);
        padding: 10px 5px;
        border-radius: 25px;
        backdrop-filter: blur(5px);
    }
    
    .social-hero-link {
        width: 42px;
        height: 42px;
        font-size: 1.05rem;
        margin: 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
        text-align: center;
    }
    
    .profile-img {
        max-width: 300px;
        height: auto;
    }

    .activity-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .activity-card {
        padding: 25px 20px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-card {
        flex-direction: column;
    }
    
    .news-date {
        flex-direction: row;
        justify-content: center;
        min-width: auto;
        padding: 15px 20px;
    }
    
    .date-day {
        font-size: 1.5rem;
        margin-right: 10px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-item {
        padding: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }
    
    .achievements {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 15px 0;
        position: relative;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(30, 64, 175, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        align-items: center;
    }
    
    .nav-link {
        font-size: 18px;
        padding: 15px 25px;
        min-width: 180px;
        text-align: center;
        border-radius: 25px;
        background: rgba(255, 255, 255, 0.15);
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: translateY(-2px);
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero-content {
        gap: 20px;
        padding: 0 10px;
    }
    
    .hero-portrait {
        max-height: 260px;
    }
    
    .hero-social {
        position: fixed;
        top: 70px;
        right: 10px;
        flex-direction: column;
        gap: 8px;
        z-index: 999;
        background: rgba(30, 64, 175, 0.9);
        padding: 8px 4px;
        border-radius: 20px;
        backdrop-filter: blur(5px);
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .social-hero-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin: 0;
    }
    
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 25px;
    }

    .activity-card {
        padding: 25px 15px;
    }
    
    .activity-card i {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .activity-card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .news-card {
        padding: 15px;
    }
    
    .news-date {
        padding: 10px 12px;
    }
    
    .date-day {
        font-size: 1.2rem;
    }
    
    .date-month {
        font-size: 0.75rem;
    }
    
    .news-title {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .contact-item {
        padding: 15px;
    }
    
    .contact-info p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    /* Mobilne style dla elementów kolapowalnych */
    .collapsible-toggle {
        padding: 10px 12px;
        font-size: 13px;
        margin: 12px 0;
        border-radius: 6px;
    }
    
    .collapsible-content {
        padding: 12px;
        font-size: 13px;
        line-height: 1.5;
    }
    
    .offices-list {
        padding: 12px;
    }
    
    .office-item {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .office-item h4 {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .office-item p {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .read-more-btn {
        font-size: 14px;
        margin-top: 12px;
    }
    
    section {
        padding: 35px 0;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 600px) {
    .header-content {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(30, 64, 175, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        align-items: center;
    }
    
    .nav-link {
        font-size: 16px;
        padding: 12px 20px;
        min-width: 160px;
        text-align: center;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.15);
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: translateY(-2px);
    }
    
    .hero-social {
        position: fixed;
        top: 75px;
        right: 12px;
        flex-direction: column;
        gap: 10px;
        z-index: 999;
        background: rgba(30, 64, 175, 0.9);
        padding: 9px 5px;
        border-radius: 22px;
        backdrop-filter: blur(5px);
    }
    
    .social-hero-link {
        width: 42px;
        height: 42px;
        font-size: 1.05rem;
        margin: 0;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Dodatkowe style dla lepszej dostępności */
.nav-link:focus,
.btn:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid #1e40af;
    outline-offset: 2px;
}

/* Style dla lepszej wydajności */
.hero {
    will-change: transform;
}

.gallery-img,
.profile-img {
    will-change: transform;
}

/* Style dla przycisku "Czytaj więcej" */
.read-more-btn {
    background: none;
    border: none;
    color: #1e40af;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 15px;
    padding: 8px 0;
    transition: all 0.3s ease;
    position: relative;
}

.read-more-btn::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #1e40af;
    transition: width 0.3s ease;
}

.read-more-btn:hover {
    color: #1d4ed8;
}

.read-more-btn:hover::after {
    width: 100%;
}

.btn-icon {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.text-full {
    margin-top: 15px;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* News More Button */
.news-more {
    text-align: center;
    margin-top: 50px;
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 140px 0 80px;
    text-align: center;
}

.page-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb i {
    font-size: 0.7rem;
}

/* Main Content */
.main-content {
    padding: 80px 0;
    min-height: 60vh;
}

/* Single News Article */
.news-article {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px 40px 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.article-meta i {
    margin-right: 8px;
    color: #1e40af;
}

.article-image {
    margin: 30px 0;
    text-align: center;
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.article-content {
    padding: 0 40px 40px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2, .article-content h3 {
    color: #1e40af;
    margin: 30px 0 15px;
}

.article-footer {
    padding: 30px 40px;
    border-top: 1px solid #e5e7eb;
    background-color: #f9fafb;
}

/* News List */
.news-list {
    max-width: 1000px;
    margin: 0 auto;
}

.news-item {
    display: grid;
    grid-template-columns: 120px 1fr 200px;
    gap: 30px;
    padding: 40px;
    margin-bottom: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.news-item-date {
    display: flex;
    align-items: flex-start;
}

.date-box {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    min-width: 80px;
}

.date-day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 2px;
}

.date-year {
    display: block;
    font-size: 0.7rem;
    opacity: 0.8;
    margin-top: 2px;
}

.news-item-content {
    flex: 1;
}

.news-item-title {
    margin-bottom: 15px;
}

.news-item-title a {
    color: #1f2937;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.news-item-title a:hover {
    color: #1e40af;
}

.news-item-excerpt {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-item-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #9ca3af;
}

.news-item-meta i {
    margin-right: 5px;
    color: #1e40af;
}

.read-more {
    color: #1e40af;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #1d4ed8;
    gap: 8px;
}

.news-item-image {
    display: flex;
    align-items: flex-start;
}

.news-item-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

/* No News State */
.no-news {
    text-align: center;
    padding: 80px 20px;
    color: #6b7280;
}

.no-news i {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 20px;
}

.no-news h3 {
    font-size: 1.5rem;
    color: #374151;
    margin-bottom: 10px;
}

/* Responsive Design for News Pages */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .breadcrumb {
        flex-wrap: wrap;
        font-size: 0.8rem;
    }
    
    .news-item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 20px;
    }
    
    .news-item-image {
        order: -1;
    }
    
    .news-item-image img {
        height: 200px;
    }
    
    .date-box {
        width: fit-content;
        margin: 0 auto;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 20px 20px 0;
    }
    
    .article-content {
        padding: 0 20px 20px;
        font-size: 1rem;
    }
    
    .article-footer {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 40px 0;
    }
    
    .page-header {
        padding: 120px 0 60px;
    }
    
    .news-item {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .news-item-title a {
        font-size: 1.2rem;
    }
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 60px 0 40px;
    padding: 0 20px;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #1e40af;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    color: #374151;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    border: 1px solid #d1d5db;
    transition: all 0.3s ease;
}

.pagination-number:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.pagination-number.active {
    background: #1e40af;
    color: white;
    border-color: #1e40af;
}

.pagination-dots {
    color: #9ca3af;
    font-weight: 500;
    padding: 0 5px;
}

/* Responsive Pagination */
@media (max-width: 768px) {
    .pagination {
        flex-wrap: wrap;
        gap: 10px;
        margin: 40px 0 20px;
    }
    
    .pagination-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .pagination-numbers {
        gap: 5px;
    }
    
    .pagination-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .pagination {
        flex-direction: column;
        gap: 15px;
    }
    
    .pagination-numbers {
        order: -1;
    }
    
    .pagination-btn {
        width: 100%;
        justify-content: center;
    }
}