/* Newsroom Pages Common Styles */

/* Newsroom Hero Section */
.newsroom-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0 40px;
    position: relative;
}

.newsroom-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.newsroom-header {
    text-align: center;
    margin-bottom: 40px;
}

.newsroom-title h1 {
    margin-bottom: 20px;
    color: #1a1a1a;
}

/* Newsroom Navigation */
.newsroom-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.nav-item {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 500;
    position: relative;
}

.nav-item:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    transform: translateY(-2px);
}

.nav-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.nav-separator {
    width: 2px;
    height: 20px;
    opacity: 0.3;
}

/* Content Sections */
.news-section,
.blog-section,
.ir-section {
    padding: 80px 0;
}

.events-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Category Filters */
.category-filter {
    text-align: center;
    margin: 40px 0;
}

.category-tabs {
    display: inline-flex;
    background: #f8f9fa;
    border-radius: 50px;
    padding: 8px;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.category-tab {
    padding: 12px 24px;
    border: none;
    background: transparent;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #666;
}

.category-tab:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.category-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.news-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.news-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.news-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.news-category {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-date {
    color: #999;
    font-size: 14px;
    font-weight: 500;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.read-more-btn {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: #5a67d8;
    transform: translateX(5px);
}

/* Blog Grid - Similar to news but with excerpts */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.blog-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.blog-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-item:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.blog-category {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-date {
    color: #999;
    font-size: 14px;
    font-weight: 500;
}

.blog-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

/* Events List */
.events-list {
    display: grid;
    gap: 20px;
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.event-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.event-date {
    text-align: center;
    min-width: 80px;
}

.event-day {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    line-height: 1;
}

.event-year {
    font-size: 14px;
    color: #999;
    margin-top: 5px;
}

.event-content {
    flex: 1;
}

.event-location {
    font-size: 14px;
    color: #667eea;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0;
}

.event-arrow {
    opacity: 0.6;
    transition: all 0.3s ease;
}

.event-item:hover .event-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* IR Specific Styles */
.ir-intro {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.ir-intro h2 {
    margin-bottom: 20px;
    color: #1a1a1a;
}

.ir-intro p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

.ir-content {
    max-width: 900px;
    margin: 0 auto;
}

.ir-list {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.ir-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

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

.ir-item:hover {
    background-color: #f8f9fa;
}

.ir-item-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.ir-number {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.ir-info {
    flex: 1;
}

.ir-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
    line-height: 1.4;
}

.ir-date {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.ir-download {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid #667eea;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.ir-download:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Financial Highlights */
.financial-highlights {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.highlight-item {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.highlight-number {
    font-size: 42px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    line-height: 1;
}

.highlight-label {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 600;
    margin-bottom: 8px;
}

.highlight-description {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 60px;
}

.pagination-btn {
    width: 45px;
    height: 45px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn:hover:not(:disabled) {
    border-color: #667eea;
    background: #667eea;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 10px;
}

.pagination-number {
    width: 45px;
    height: 45px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #666;
}


.pagination-number.active {
    background: #2D2D2D;
    border-color: #2D2D2D;
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Bottom Banner */
.bottom-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.bottom-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.banner-text {
    flex: 1;
}

.banner-title {
    color: white;
    margin-bottom: 15px;
}

.banner-description {
    color: #cccccc;
    line-height: 1.6;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .newsroom-nav {
        gap: 15px;
    }
    
    .nav-item {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .news-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .event-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .ir-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 20px;
    }
    
    .ir-item-content {
        width: 100%;
    }
    
    .ir-download {
        align-self: center;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .category-tabs {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .category-tab {
        padding: 10px 18px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .newsroom-hero {
        padding: 60px 0 30px;
    }
    
    .news-section,
    .blog-section,
    .ir-section,
    .events-section {
        padding: 60px 0;
    }
    
    .news-content,
    .blog-content {
        padding: 20px;
    }
    
    .event-item {
        padding: 20px;
    }
    
    .ir-item {
        padding: 15px;
    }
    
    .highlight-item {
        padding: 25px 20px;
    }
    
    .highlight-number {
        font-size: 32px;
    }
}

/* Animation Enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-item,
.blog-item,
.event-item,
.ir-item,
.highlight-item {
    animation: fadeInUp 0.6s ease forwards;
}

.news-item:nth-child(2),
.blog-item:nth-child(2) {
    animation-delay: 0.1s;
}

.news-item:nth-child(3),
.blog-item:nth-child(3) {
    animation-delay: 0.2s;
}

.event-item:nth-child(2) {
    animation-delay: 0.1s;
}

.event-item:nth-child(3) {
    animation-delay: 0.2s;
}

.highlight-item:nth-child(2) {
    animation-delay: 0.1s;
}

.highlight-item:nth-child(3) {
    animation-delay: 0.2s;
}

.highlight-item:nth-child(4) {
    animation-delay: 0.3s;
} 