/* PAZA Homepage Styles */

/* Header */
.main-header {
    background: white;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: #E31E24;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    border-radius: 8px;
}

.logo-title {
    font-size: 32px;
    font-weight: 900;
    color: #1a1a1a;
}

.logo-tagline {
    font-size: 12px;
    color: #666;
}

.search-container {
    flex: 1;
    max-width: 500px;
    display: flex;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 25px 0 0 25px;
    font-size: 15px;
}

.search-button {
    padding: 12px 25px;
    background: #E31E24;
    color: white;
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
}

.live-badge {
    background: #E31E24;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-badge i {
    animation: pulse 1.5s infinite;
}

/* Content Layout */
.featured-section {
    padding: 30px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.main-content {
    min-width: 0;
}

/* Featured Grid */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.article-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.category-badge {
    display: inline-block;
    background: #E31E24;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.article-card h3 {
    font-size: 20px;
    margin: 10px 0;
    line-height: 1.4;
    color: #1a1a1a;
}

.article-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 10px 0;
}

.card-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #999;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* Category Sections */
.category-section {
    margin: 40px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #E31E24;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
}

.section-header a {
    color: #E31E24;
    text-decoration: none;
    font-weight: 600;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.article-card-small {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.article-card-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

.article-card-small img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.article-card-small h4 {
    padding: 12px;
    font-size: 15px;
    line-height: 1.4;
    color: #1a1a1a;
}

.article-card-small .date {
    display: block;
    padding: 0 12px 12px;
    font-size: 12px;
    color: #999;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.widget {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.widget h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.trending-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

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

.trending-num {
    font-size: 24px;
    font-weight: bold;
    color: #E31E24;
    min-width: 30px;
}

.trending-item h5 {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 5px;
}

.trending-item span {
    font-size: 12px;
    color: #999;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: #E31E24;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-col a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #E31E24;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.social-icons a:hover {
    background: #E31E24;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
}

/* Responsive */
@media (max-width: 1024px) {
    .content-wrapper { grid-template-columns: 1fr; }
    .articles-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .featured-grid, .articles-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .featured-grid, .articles-grid { grid-template-columns: 1fr; }
}