/* News Page Styles */
.news-content {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.news-intro {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.25rem;
    color: var(--main-text-color);
    line-height: 1.6;
    max-width: 50rem;
    margin-left: auto;
    margin-right: auto;
}

/* News Items */
.news-item {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 0.125rem solid rgba(255, 207, 157, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.news-item:hover {
    transform: translateY(-0.5rem);
    border-color: var(--border-heading-color);
}

.news-date {
    background: var(--border-heading-color);
    color: var(--bg-color);
    padding: 0.375rem 0.875rem;
    border-radius: 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.25rem;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.news-item h3 {
    color: var(--bg-color);
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-item p {
    color: var(--main-text-color);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    opacity: 0.85;
}

.news-link {
    color: var(--bg-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-size: 0.9375rem;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.news-link:hover {
    color: var(--border-heading-color);
    text-decoration: none;
    transform: translateX(0.1875rem);
}

.news-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-link:hover::after {
    transform: translateX(0.1875rem);
}

/* Single News Styles */
.news-single-content {
    margin: 0 auto;
    padding: 0 1rem;
}

.news-single-header {
    margin-bottom: 2rem;
}

.news-date-single {
    background: var(--border-heading-color);
    color: var(--bg-color);
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.news-single-title {
    color: var(--bg-color);
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.news-single-image {
    margin: 2rem 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 2rem rgba(10, 38, 71, 0.12);
}

.news-single-image img {
    width: 100%;
    height: auto;
    display: block;
}

.news-single-text {
    color: var(--main-text-color);
    line-height: 1.7;
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.news-single-text h2,
.news-single-text h3 {
    color: var(--bg-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.news-single-text h2 {
    font-size: 1.75rem;
}

.news-single-text h3 {
    font-size: 1.5rem;
}

.news-back-link {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 0.125rem solid rgba(255, 207, 157, 0.4);
}

/* Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid;
    font-size: 0.9375rem;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.btn-outline-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-gray) 100%);
    border: none;
    color: white !important;
}

.btn-outline-primary:hover {
    transform: translateY(-0.125rem);
    box-shadow: 0 0.75rem 2rem rgba(10, 38, 71, 0.4);
    background: linear-gradient(135deg, var(--primary-gray) 0%, var(--primary-blue) 100%);
    color: white !important;
    text-decoration: none;
}

/* News Grid for Homepage */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

/* News Slider for Mobile */
.news-slider {
    position: relative;
}

.news-swiper {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.news-swiper .swiper-wrapper {
    display: flex;
}

.news-swiper .swiper-slide {
    width: 100%;
    flex-shrink: 0;
}

/* Swiper Navigation Buttons for News */
.news-next,
.news-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.75rem;
    height: 2.75rem;
    background: var(--border-heading-color);
    border: none;
    border-radius: 50%;
    color: var(--bg-color);
    font-size: 1.125rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.news-next:hover,
.news-prev:hover {
    background: var(--bg-color);
    color: var(--border-heading-color);
    transform: translateY(-50%) scale(1.05);
}

.news-next {
    right: -1.375rem;
}

.news-prev {
    left: -1.375rem;
}

.news-next:after,
.news-prev:after {
    font-size: 1rem;
    font-weight: bold;
}

.news-next:after {
    content: '→';
}

.news-prev:after {
    content: '←';
}

/* News pagination styles moved to main.css */

.news-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    border: 0.125rem solid rgba(255, 207, 157, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0.25rem 1.25rem rgba(10, 38, 71, 0.08);
}

.news-card:hover {
    transform: translateY(-0.375rem);
    box-shadow: 0 0.75rem 2.5rem rgba(10, 38, 71, 0.15);
    border-color: var(--border-heading-color);
}

.news-card-date {
    background: var(--border-heading-color);
    color: var(--bg-color);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-card-content {
    padding: 1.5rem;
}

.news-card h4 {
    color: var(--bg-color);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.news-card p {
    color: var(--main-text-color);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    opacity: 0.85;
}

.news-card-link {
    color: var(--bg-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    transition: color 0.3s ease;
}

.news-card-link:hover {
    color: var(--border-heading-color);
    text-decoration: none;
}

/* News Slider for Mobile */
.news-slider {
    position: relative;
    margin: 2rem 0;
}

.news-slider .swiper {
    padding-bottom: 3rem; /* Space for pagination */
}

.news-slider .news-card {
    height: auto;
    margin-bottom: 0;
}

/* Navigation buttons for news slider */
.news-next,
.news-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: var(--bg-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 2.625rem;
    height: 2.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0.25rem 0.75rem rgba(10, 38, 71, 0.2);
}

.news-prev {
    left: -1.3125rem;
}

.news-next {
    right: -1.3125rem;
}

.news-next:hover,
.news-prev:hover {
    background: var(--border-heading-color);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 0.375rem 1rem rgba(10, 38, 71, 0.3);
}

.news-next:after {
    content: '›';
}

.news-prev:after {
    content: '‹';
}

/* Duplicate news pagination styles removed - using main.css */

/* Responsive Design */
/* Tablet and medium screens */
@media (max-width: 991px) {
    .news-content {
        max-width: 1000px;
        padding: 28px 16px;
    }
    
    .news-intro {
        font-size: 17px;
        margin-bottom: 40px;
        max-width: 700px;
    }
    
    .news-item {
        padding: 28px;
        margin-bottom: 28px;
        border-radius: 14px;
    }
    
    .news-item h3 {
        font-size: 20px;
        margin-bottom: 14px;
    }
    
    .news-item p {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .news-date {
        font-size: 12px;
        padding: 5px 12px;
        margin-bottom: 18px;
    }
    
    .news-link {
        font-size: 14px;
    }
    
    .news-single-title {
        font-size: 32px;
        margin-bottom: 28px;
    }
    
    .news-single-text {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .news-single-text h2 {
        font-size: 26px;
        margin-top: 28px;
    }
    
    .news-single-text h3 {
        font-size: 22px;
        margin-top: 28px;
    }
    
    .news-single-image {
        margin: 28px 0;
        border-radius: 14px;
    }
    
    .news-back-link {
        margin-top: 40px;
        padding-top: 28px;
    }
    
    .news-next,
    .news-prev {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    .news-next {
        right: -19px;
    }
    
    .news-prev {
        left: -19px;
    }
    
    .news-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }
    
    .news-card {
        border-radius: 14px;
    }
    
    .news-card:hover {
        transform: translateY(-4px);
    }
    
    .news-card h4 {
        font-size: 16px;
    }
    
    .news-card p {
        font-size: 14px;
    }
    
    .news-card-link {
        font-size: 13px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .news-content {
        padding: 1rem 0.5rem;
    }
    
    .news-item {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .news-item h3 {
        font-size: 1.25rem;
    }
    
    .news-date {
        font-size: 0.875rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Adjust navigation buttons on small screens */
    .news-next,
    .news-prev {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .news-prev {
        left: -18px;
    }
    
    .news-next {
        right: -18px;
    }
}

@media (max-width: 480px) {
    .news-item {
        padding: 1.5rem 1rem;
    }
    
    .news-item h3 {
        font-size: 1.125rem;
    }
}

/* Animation */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-1.875rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.news-item {
    animation: slideInFromLeft 0.6s ease-out;
}

.news-item:nth-child(1) { animation-delay: 0.1s; }
.news-item:nth-child(2) { animation-delay: 0.2s; }
.news-item:nth-child(3) { animation-delay: 0.3s; }
.news-item:nth-child(4) { animation-delay: 0.4s; }