/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Category Page Styles */
.category-header {
    background: #fff;
    padding: 30px 0;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.category-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.category-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b35;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #ff6b35;
}

.load-more {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    background: #ff6b35;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

.load-more-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

/* Category Widget Styles */
.categories {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 10px;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-link:hover,
.category-link.active {
    background: #ff6b35;
    color: #fff;
    transform: translateX(5px);
}

.category-link .count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 400;
}

/* Tags Widget Styles */
.tags {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags-cloud .tag {
    background: #f0f0f0;
    color: #333;
    padding: 5px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.tags-cloud .tag:hover {
    background: #ff6b35;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

/* Popular News Widget Styles */
.popular-news {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.popular-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-item {
    display: flex;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.popular-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-image {
    width: 80px;
    height: 60px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.popular-item:hover .popular-image img {
    transform: scale(1.1);
}

.popular-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.popular-content h4 {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-content .views {
    font-size: 0.8rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.popular-content .views i {
    color: #ff6b35;
}

/* Widget General Styles */
.widget {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #ff6b35;
}

/* Search System Styles */
.search-results-header {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-info h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-info h1 i {
    color: #ff6b35;
}

.search-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
}

.search-info p span {
    color: #ff6b35;
    font-weight: 600;
}

.search-filters {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: #ff6b35;
}

.search-results {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-result-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin: 0 -20px;
}

.search-result-image {
    width: 200px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.search-result-item:hover .search-result-image img {
    transform: scale(1.05);
}

.search-result-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.search-result-category {
    background: #ff6b35;
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
    align-self: flex-start;
}

.search-result-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.search-result-title:hover {
    color: #ff6b35;
}

.search-result-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-result-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #888;
}

.search-result-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-result-meta i {
    color: #ff6b35;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results-content i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.no-results-content h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.no-results-content p {
    color: #666;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.suggestions h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
}

.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.suggestion-tag {
    background: #f0f0f0;
    color: #333;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.suggestion-tag:hover {
    background: #ff6b35;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

/* Popular Searches Widget */
.popular-searches {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.popular-searches-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.search-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.search-tag:hover {
    background: #ff6b35;
    color: #fff;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.search-tag i {
    color: #ff6b35;
    font-size: 0.9rem;
}

.search-tag:hover i {
    color: #fff;
}

.search-tag span {
    flex: 1;
    font-weight: 500;
}

.search-tag .count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 400;
}

/* Recent Searches Widget */
.recent-searches {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.recent-searches-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.recent-search-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.recent-search-item:hover {
    background: #ff6b35;
    color: #fff;
    transform: translateX(3px);
}

.recent-search-item .search-text {
    font-weight: 500;
}

.recent-search-item .search-time {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Search Box Enhancement */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-box:focus-within {
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    transform: translateY(-1px);
}

.search-box input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 0.95rem;
    background: transparent;
}

.search-box input::placeholder {
    color: #999;
}

.search-box button {
    background: #ff6b35;
    color: #fff;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-box button:hover {
    background: #e55a2b;
    transform: scale(1.05);
}

/* Category Page Search Bar */
.search-bar {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-bar:focus-within {
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    transform: translateY(-1px);
}

.search-bar input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 0.95rem;
    background: transparent;
}

.search-bar input::placeholder {
    color: #999;
}

.search-bar button {
    background: #ff6b35;
    color: #fff;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-bar button:hover {
    background: #e55a2b;
    transform: scale(1.05);
}

/* Responsive Search Styles */
@media (max-width: 768px) {
    .search-results-header {
        padding: 20px;
    }
    
    .search-info h1 {
        font-size: 1.5rem;
    }
    
    .search-filters {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .search-result-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-result-image {
        width: 100%;
        height: 200px;
    }
    
    .search-result-title {
        font-size: 1.1rem;
    }
    
    .search-result-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* Top Bar */
/* Top Bar - En Üst Katman (Haber3.com tarzı) */
.top-bar-primary {
    background: #000;
    color: #fff;
    padding: 4px 0;
    font-size: 0.75rem;
    border-bottom: 1px solid #333;
}

.top-bar-primary .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-primary .top-bar-left {
    display: flex;
    gap: 15px;
}

.top-bar-primary .top-bar-left span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 400;
}

.top-bar-primary .top-bar-left i {
    color: #ff6b35;
    font-size: 0.7rem;
}

.top-bar-primary .top-bar-right {
    display: flex;
    align-items: center;
}

.top-bar-primary .time {
    font-weight: 500;
    color: #ff6b35;
}

/* Top Bar - İkinci Katman */
.top-bar-secondary {
    background: #1a1a1a;
    color: #fff;
    padding: 6px 0;
    font-size: 0.8rem;
}

.top-bar-secondary .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-secondary .top-bar-left {
    display: flex;
    gap: 20px;
}

.top-bar-secondary .top-bar-right {
    display: flex;
    gap: 15px;
}

.top-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.75rem;
}

.top-link:hover {
    color: #ff6b35;
}

.social-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.8rem;
}

.social-link:hover {
    color: #ff6b35;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.logo h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -1px;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.logo span {
    color: #ff6b35;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.search-box input {
    padding: 8px 12px;
    border: none;
    outline: none;
    width: 200px;
    font-size: 0.9rem;
}

.search-box button {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-box button:hover {
    background: #e55a2b;
}



/* Main Navigation */
.main-nav {
    background: #2c2c2c;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    flex: 1;
}

.nav-link {
    display: block;
    text-decoration: none;
    color: #fff;
    padding: 15px 10px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-right: 1px solid #444;
}

.nav-link:hover,
.nav-link.active {
    background: #ff6b35;
    color: white;
}

.nav-menu li:last-child .nav-link {
    border-right: none;
}

/* Breaking News */
.breaking-news {
    background: #ff6b35;
    color: white;
    padding: 10px 0;
}

.breaking-news .container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.breaking-label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #e55a2b;
    padding: 5px 12px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 0.8rem;
    white-space: nowrap;
}

.breaking-content {
    flex: 1;
    font-size: 0.9rem;
}

.breaking-content span {
    animation: scrollText 20s linear infinite;
}

@keyframes scrollText {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Main Content */
.main {
    padding: 20px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}

/* Left Column */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Headlines Section */
.headlines-section {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.headlines-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    padding: 20px;
}

.headline-main {
    position: relative;
}

.headlines-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.headline-item {
    background: #f8f9fa;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.headline-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.headline-item .article-image {
    height: 120px;
}

.headline-item .article-content {
    padding: 12px;
}

.headline-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

/* Most Read Section */
.most-read {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.most-read-list {
    padding: 20px;
}

.most-read-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.most-read-item:last-child {
    border-bottom: none;
}

.most-read-item:hover {
    background-color: #f8f9fa;
}

.most-read-item .rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #ff6b35;
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.most-read-item:nth-child(1) .rank {
    background: #ff6b35;
}

.most-read-item:nth-child(2) .rank {
    background: #ff8c42;
}

.most-read-item:nth-child(3) .rank {
    background: #ffa726;
}

.most-read-item:nth-child(4) .rank {
    background: #ffb74d;
}

.most-read-item:nth-child(5) .rank {
    background: #ffcc80;
}

.most-read-item .news-image {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.most-read-item .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.most-read-item:hover .news-image img {
    transform: scale(1.05);
}

.most-read-item .news-content {
    flex: 1;
    min-width: 0;
}

.most-read-item .news-category {
    font-size: 0.7rem;
    font-weight: 600;
    color: #ff6b35;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.most-read-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.most-read-item .news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.75rem;
    color: #666;
}

.most-read-item .views {
    color: #ff6b35;
    font-weight: 500;
}

/* Main Featured */
.main-featured {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.featured-article.large {
    position: relative;
}

.article-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-article:hover .article-image img {
    transform: scale(1.05);
}

.article-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s;
}

.article-link:hover {
    transform: translateY(-2px);
}

.article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff6b35;
    color: white;
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.article-content {
    padding: 20px;
}

.article-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
    line-height: 1.3;
}

.article-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: #888;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Section Headers */
.section-header {
    margin-bottom: 15px;
}

.section-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    text-transform: uppercase;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 8px;
}

/* Secondary Featured */
.secondary-featured {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.article-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.article-card .article-image {
    height: 150px;
}

.article-card .article-content {
    padding: 15px;
}

.article-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a1a;
    line-height: 1.4;
}

.article-card .article-meta {
    gap: 15px;
}

/* Latest News */
.latest-news {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-image {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    flex: 1;
}

.news-category {
    color: #ff6b35;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.news-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
    line-height: 1.4;
}

.news-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.5;
}

.news-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: #888;
}

/* Right Sidebar */
.right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.widget-header {
    margin-bottom: 15px;
}

.widget-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    text-transform: uppercase;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 8px;
}

/* Popular News */
.popular-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popular-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.popular-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.number {
    background: #ff6b35;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.popular-content h5 {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: #1a1a1a;
    line-height: 1.4;
}

.popular-content .time {
    font-size: 0.75rem;
    color: #888;
}

/* Stock Market */
.stock-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stock-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.stock-item:last-child {
    border-bottom: none;
}

.stock-name {
    font-weight: 500;
    color: #1a1a1a;
    font-size: 0.9rem;
}

.stock-value {
    font-weight: 600;
    font-size: 0.9rem;
}

.stock-value.positive {
    color: #28a745;
}

.stock-value.negative {
    color: #dc3545;
}

/* Weather Widget */
.weather-widget {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    color: #fff;
}

.weather-icon {
    font-size: 2.5rem;
    color: #ffd700;
}

.weather-info h5 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.temperature {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.description {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.humidity {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Currency Exchange Widget */
.currency-widget {
    padding: 15px;
}

.currency-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.currency-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.currency-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.currency-info {
    display: flex;
    flex-direction: column;
}

.currency-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

.currency-rate {
    font-size: 0.8rem;
    color: #666;
    margin-top: 2px;
}

.currency-change {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.currency-value {
    font-weight: 600;
    font-size: 0.9rem;
}

.currency-value.positive {
    color: #28a745;
}

.currency-value.negative {
    color: #dc3545;
}

.currency-percentage {
    font-size: 0.75rem;
    margin-top: 2px;
}

.currency-percentage.positive {
    color: #28a745;
}

.currency-percentage.negative {
    color: #dc3545;
}

/* Live Sports Scores Widget */
.sports-widget {
    padding: 15px;
}

.sports-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sports-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #ff6b35;
    transition: all 0.3s ease;
}

.sports-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.sports-teams {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.team {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.team-name {
    font-weight: 500;
    color: #333;
}

.team-score {
    font-weight: 700;
    color: #ff6b35;
    min-width: 20px;
    text-align: center;
}

.sports-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 3px;
}

.sports-time {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
}

.sports-status {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 500;
}

.sports-status.live {
    background: #dc3545;
    color: #fff;
}

.sports-status.finished {
    background: #28a745;
    color: #fff;
}

.sports-status.upcoming {
    background: #ffc107;
    color: #333;
}

.sports-league {
    font-size: 0.7rem;
    color: #999;
    font-weight: 500;
}

/* Enhanced Stock Widget */
.stock-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stock-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.stock-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.stock-info {
    display: flex;
    flex-direction: column;
}

.stock-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

.stock-price {
    font-size: 0.8rem;
    color: #666;
    margin-top: 2px;
}

.stock-change {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.stock-value {
    font-weight: 600;
    font-size: 0.9rem;
}

.stock-value.positive {
    color: #28a745;
}

.stock-value.negative {
    color: #dc3545;
}

.stock-percentage {
    font-size: 0.75rem;
    margin-top: 2px;
}

.stock-percentage.positive {
    color: #28a745;
}

.stock-percentage.negative {
    color: #dc3545;
}

/* Widget Animations */
@keyframes pulseValue {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.currency-item:hover .currency-value,
.stock-item:hover .stock-value,
.sports-item:hover .team-score {
    animation: pulseValue 0.3s ease;
}

/* Responsive Widget Styles */
@media (max-width: 768px) {
    .weather-widget {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .weather-icon {
        font-size: 2rem;
    }
    
    .currency-item,
    .stock-item,
    .sports-item {
        padding: 10px;
    }
    
    .team {
        font-size: 0.8rem;
    }
    
    .sports-teams {
        gap: 3px;
    }
}

@media (max-width: 480px) {
    .weather-widget {
        padding: 12px;
    }
    
    .temperature {
        font-size: 1.5rem;
    }
    
    .currency-item,
    .stock-item,
    .sports-item {
        padding: 8px;
    }
    
    .currency-name,
    .stock-name,
    .team-name {
        font-size: 0.85rem;
    }
    
    .currency-value,
    .stock-value,
    .team-score {
        font-size: 0.85rem;
    }
}

/* Advertisement */
.ad-widget {
    text-align: center;
    background: #f8f9fa;
    border: 2px dashed #ddd;
}

.ad-placeholder {
    padding: 40px 20px;
    color: #888;
}

.ad-placeholder span {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.ad-placeholder p {
    font-size: 0.8rem;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
    text-transform: uppercase;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff6b35;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #333;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #ff6b35;
}

.footer-section i {
    margin-right: 8px;
    color: #ff6b35;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #888;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .right-sidebar {
        order: -1;
        margin-bottom: 20px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-actions {
        width: 100%;
        justify-content: center;
    }
    
    .nav-menu {
        flex-wrap: wrap;
    }
    
    .nav-menu li {
        flex: 1 1 50%;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 12px 8px;
    }
    
    .breaking-news .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .headlines-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .headlines-sidebar {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .headline-item {
        min-width: 250px;
        flex-shrink: 0;
    }
    
    .most-read-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .most-read-item .rank {
        order: -1;
    }
    
    .most-read-item .news-image {
        width: 100%;
        height: 120px;
    }
    
    .article-image {
        height: 250px;
    }
    
    .article-content h2 {
        font-size: 1.4rem;
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-image {
        width: 100%;
        height: 200px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .container {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .top-bar-primary .top-bar-left {
        flex-direction: column;
        gap: 3px;
    }
    
    .top-bar-primary .top-bar-left span {
        font-size: 0.7rem;
    }
    
    .top-bar-secondary .top-bar-left {
        flex-direction: column;
        gap: 5px;
    }
    
    .top-bar-secondary .top-bar-right {
        gap: 10px;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .search-box input {
        width: 150px;
    }
    
    .nav-menu li {
        flex: 1 1 100%;
    }
    
    .article-content {
        padding: 15px;
    }
    
    .article-content h2 {
        font-size: 1.2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .sidebar-widget {
        padding: 15px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.featured-article,
.article-card,
.news-item,
.sidebar-widget {
    animation: fadeInUp 0.6s ease forwards;
}

.featured-article { animation-delay: 0.1s; }
.article-card:nth-child(1) { animation-delay: 0.2s; }
.article-card:nth-child(2) { animation-delay: 0.3s; }
.article-card:nth-child(3) { animation-delay: 0.4s; }
.article-card:nth-child(4) { animation-delay: 0.5s; }
.news-item:nth-child(1) { animation-delay: 0.6s; }
.news-item:nth-child(2) { animation-delay: 0.7s; }
.news-item:nth-child(3) { animation-delay: 0.8s; }
.sidebar-widget:nth-child(1) { animation-delay: 0.9s; }
.sidebar-widget:nth-child(2) { animation-delay: 1s; }
.sidebar-widget:nth-child(3) { animation-delay: 1.1s; }
.sidebar-widget:nth-child(4) { animation-delay: 1.2s; }

/* Article Detail Page */
.breadcrumb {
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-size: 14px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #ff6b35;
}

.breadcrumb i {
    margin: 0 10px;
    color: #ccc;
    font-size: 12px;
}

.breadcrumb span {
    color: #333;
    font-weight: 500;
}

.article-detail {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.article-header {
    padding: 30px 30px 20px;
}

.article-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 15px 0 20px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-meta i {
    color: #ff6b35;
}

.article-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    padding: 20px 30px 15px;
    font-size: 14px;
    font-style: italic;
}

.article-content {
    padding: 30px;
    line-height: 1.8;
    color: #333;
}

.article-content .lead {
    font-size: 18px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 25px;
    line-height: 1.6;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 30px 0 15px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul {
    margin: 20px 0;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid #ff6b35;
    padding: 20px 25px;
    margin: 25px 0;
    font-style: italic;
    font-size: 16px;
    color: #555;
}

.article-content blockquote cite {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #ff6b35;
    font-weight: 500;
}

/* Social Share */
.social-share {
    padding: 25px 30px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

.social-share h4 {
    margin-bottom: 15px;
    color: #1a1a1a;
    font-size: 16px;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.telegram {
    background: #0088cc;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Article Tags */
.article-tags {
    padding: 20px 30px;
    border-top: 1px solid #eee;
}

.article-tags h4 {
    margin-bottom: 15px;
    color: #1a1a1a;
    font-size: 16px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: #f0f0f0;
    color: #666;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s;
}

.tag:hover {
    background: #ff6b35;
    color: #fff;
}



/* Related News */
.related-news {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.related-news .articles-grid {
    padding: 0 30px 30px;
}

.related-news .article-card h4 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s;
}

.related-news .article-card h4 a:hover {
    color: #ff6b35;
}

/* Responsive Design for Article Detail */
@media (max-width: 768px) {
    .article-title {
        font-size: 24px;
    }
    
    .article-header,
    .article-content {
        padding: 20px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .share-buttons {
        justify-content: center;
    }
} 

/* Video News Styles */
.video-news {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 20px;
}

.video-item.featured {
    grid-column: 1 / -1;
    display: flex;
    gap: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.video-item.featured:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.video-item.featured .video-thumbnail {
    width: 300px;
    height: 180px;
}

.video-item.small .video-thumbnail {
    width: 100%;
    height: 120px;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-item:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 53, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-item.small .play-button {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

.play-button:hover {
    background: #ff6b35;
    transform: scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.video-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff6b35;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.video-content {
    flex: 1;
}

.video-item.featured .video-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.4;
}

.video-item.featured .video-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.video-item.small .video-content h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.video-meta {
    display: flex;
    gap: 15px;
    color: #888;
    font-size: 0.85rem;
}

.video-item.small .video-meta {
    flex-direction: column;
    gap: 5px;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.video-meta i {
    color: #ff6b35;
}

.video-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.video-item.small {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.video-item.small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Photo Gallery Styles */
.photo-gallery {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
    height: 400px;
}

.gallery-item.large {
    grid-row: 1 / 3;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.3;
}

.gallery-info h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.3;
}

.photo-count {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* View All Link */
.view-all {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.view-all:hover {
    color: #e55a2b;
}

/* Responsive Design for Video and Gallery */
@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-item.featured {
        flex-direction: column;
    }
    
    .video-item.featured .video-thumbnail {
        width: 100%;
        height: 200px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        height: auto;
    }
    
    .gallery-item.large {
        grid-row: auto;
        height: 250px;
    }
    
    .gallery-item {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .video-news,
    .photo-gallery {
        padding: 20px;
    }
    
    .video-item.featured {
        padding: 15px;
    }
    
    .video-item.small {
        padding: 12px;
    }
    
    .video-item.featured .video-content h4 {
        font-size: 1.1rem;
    }
    
    .video-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .gallery-item.large,
    .gallery-item {
        height: 200px;
    }
    
    .gallery-overlay {
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    }
}

@media (max-width: 480px) {
    .video-item.featured .video-thumbnail {
        height: 150px;
    }
    
    .video-item.small .video-thumbnail {
        height: 80px;
    }
    
    .video-item.small {
        gap: 10px;
    }
    
    .gallery-item.large,
    .gallery-item {
        height: 150px;
    }
    
    .gallery-info h4 {
        font-size: 1rem;
    }
    
    .gallery-info h5 {
        font-size: 0.85rem;
    }
}

/* Video News Page Specific Styles */
.video-categories {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.category-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.tab-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    color: #666;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: #ff6b35;
    border-color: #ff6b35;
    color: #fff;
}

.tab-btn.active {
    background: #ff6b35;
    border-color: #ff6b35;
    color: #fff;
}

.video-grid-section {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.video-grid-section .video-grid {
    grid-template-columns: 1fr;
    gap: 20px;
}

.video-grid-section .video-item {
    display: flex;
    gap: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.video-grid-section .video-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.video-grid-section .video-thumbnail {
    width: 200px;
    height: 120px;
    flex-shrink: 0;
}

.video-grid-section .video-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.4;
}

.video-grid-section .video-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Popular Videos Widget */
.popular-videos {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-video-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.popular-video-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.popular-video-thumbnail {
    width: 80px;
    height: 60px;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-video-content {
    flex: 1;
}

.popular-video-content h5 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
    line-height: 1.3;
}

.popular-video-content .video-meta {
    flex-direction: column;
    gap: 3px;
}

.popular-video-content .video-meta span {
    font-size: 0.75rem;
}

/* Video Categories Widget */
.video-categories-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.video-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
}

.video-category-link:hover {
    background: #ff6b35;
    color: #fff;
}

.video-category-link i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.video-category-link .count {
    background: #ff6b35;
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.video-category-link:hover .count {
    background: #fff;
    color: #ff6b35;
}

/* Photo Gallery Page Specific Styles */
.gallery-categories {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gallery-grid-section {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gallery-grid-section .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-template-rows: auto;
    height: auto;
    gap: 20px;
}

.gallery-grid-section .gallery-item {
    height: 200px;
}

.gallery-grid-section .gallery-item.large {
    grid-column: auto;
    height: 250px;
}

/* Popular Galleries Widget */
.popular-galleries {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.popular-gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.popular-gallery-thumbnail {
    width: 100%;
    height: 120px;
    position: relative;
}

.popular-gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-gallery-thumbnail .gallery-overlay {
    transform: translateY(0);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.popular-gallery-thumbnail .gallery-info h5 {
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.popular-gallery-thumbnail .photo-count {
    font-size: 0.75rem;
}

/* Gallery Categories Widget */
.gallery-categories-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gallery-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
}

.gallery-category-link:hover {
    background: #ff6b35;
    color: #fff;
}

.gallery-category-link i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.gallery-category-link .count {
    background: #ff6b35;
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.gallery-category-link:hover .count {
    background: #fff;
    color: #ff6b35;
}

/* Responsive Design for Video and Gallery Pages */
@media (max-width: 1024px) {
    .video-grid-section .video-item {
        flex-direction: column;
    }
    
    .video-grid-section .video-thumbnail {
        width: 100%;
        height: 200px;
    }
    
    .gallery-grid-section .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .category-tabs {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .video-categories,
    .gallery-categories,
    .video-grid-section,
    .gallery-grid-section {
        padding: 20px;
    }
    
    .video-grid-section .video-item {
        padding: 15px;
    }
    
    .category-tabs {
        gap: 8px;
    }
    
    .tab-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .gallery-grid-section .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-grid-section .gallery-item,
    .gallery-grid-section .gallery-item.large {
        height: 180px;
    }
    
    .popular-video-item {
        padding: 10px;
    }
    
    .popular-video-thumbnail {
        width: 70px;
        height: 50px;
    }
    
    .popular-gallery-thumbnail {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .video-grid-section .video-thumbnail {
        height: 150px;
    }
    
    .popular-video-thumbnail {
        width: 60px;
        height: 45px;
    }
    
    .popular-gallery-thumbnail {
        height: 80px;
    }
    
    .category-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        text-align: center;
    }
}

/* Video Modal Styles */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.video-modal-content {
    background: #fff;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.video-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.video-modal-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: #ff6b35;
    color: #fff;
}

.video-modal-body {
    padding: 30px;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #ddd;
}

.video-placeholder i {
    font-size: 4rem;
    color: #ff6b35;
    margin-bottom: 20px;
}

.video-placeholder p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

/* Gallery Modal Styles */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.gallery-modal-content {
    background: #fff;
    border-radius: 12px;
    max-width: 1000px;
    width: 95%;
    max-height: 95vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.gallery-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.gallery-modal-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.gallery-modal-header .photo-count {
    background: #ff6b35;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.gallery-modal-body {
    padding: 25px;
}

.gallery-viewer {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.gallery-main-image {
    flex: 1;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
}

.gallery-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    background: rgba(255, 107, 53, 0.9);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.gallery-nav:hover {
    background: #ff6b35;
    transform: scale(1.1);
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: #ff6b35;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Modal Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Modal Design */
@media (max-width: 768px) {
    .video-modal-content,
    .gallery-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .video-modal-header,
    .gallery-modal-header {
        padding: 15px 20px;
    }
    
    .video-modal-header h3,
    .gallery-modal-header h3 {
        font-size: 1.1rem;
    }
    
    .video-modal-body,
    .gallery-modal-body {
        padding: 20px;
    }
    
    .video-placeholder {
        height: 250px;
    }
    
    .video-placeholder i {
        font-size: 3rem;
    }
    
    .gallery-main-image {
        height: 300px;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .thumbnail {
        width: 60px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .video-placeholder {
        height: 200px;
    }
    
    .video-placeholder i {
        font-size: 2.5rem;
    }
    
    .gallery-main-image {
        height: 250px;
    }
    
    .gallery-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .thumbnail {
        width: 50px;
        height: 40px;
    }
    
    .gallery-viewer {
        gap: 10px;
    }
}