/* ==================== AAJTAK TillNow - style.css ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.site-header {
    background: #c8102e; /* Aaj Tak Red */
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-header .brand {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
}

.site-header .title {
    color: white;
    text-decoration: none;
}

.subtitle {
    font-size: 1rem;
    margin-left: 8px;
    opacity: 0.9;
}

.main-nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
}

/* Main Content */
main.container {
    margin-top: 30px;
}

.main-heading {
    text-align: center;
    font-size: 2.8rem;
    color: #c8102e;
    margin-bottom: 8px;
}

.sub-heading {
    text-align: center;
    color: #555;
    margin-bottom: 30px;
    font-size: 1.2rem;
}

/* Search */
.toolbar {
    margin-bottom: 30px;
    text-align: center;
}

.search {
    display: inline-flex;
    max-width: 600px;
    width: 100%;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.search input {
    flex: 1;
    border: none;
    padding: 14px 20px;
    font-size: 1.1rem;
    outline: none;
}

.search button {
    padding: 0 28px;
    background: #c8102e;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

/* Cards (Homepage) */
.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.thumb {
    display: block;
}

.thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: 18px;
}

.category {
    display: inline-block;
    background: #c8102e;
    color: white;
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.card-title {
    font-size: 1.35rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.card-title a {
    color: #222;
    text-decoration: none;
}

.desc {
    color: #555;
    margin-bottom: 12px;
}

.meta {
    color: #777;
    font-size: 0.9rem;
}

/* Single Post */
.detail {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.cover-image-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
}

.cover-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-title {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 15px;
}

.meta.big {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: #666;
    margin-bottom: 25px;
    font-size: 1rem;
}

.reaction-bar {
    margin: 30px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.reaction {
    font-size: 1.5rem;
    padding: 10px 20px;
    margin-right: 12px;
    background: #f1f1f1;
    border: none;
    border-radius: 50px;
    cursor: pointer;
}

.reaction:hover {
    background: #e0e0e0;
}

/* Comments */
.comments {
    margin: 30px 0;
}

.comment {
    background: #f8f9fa;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 5px solid #c8102e;
}

.comment strong {
    color: #c8102e;
}

/* Footer */
.site-footer {
    background: #222;
    color: #ddd;
    text-align: center;
    padding: 25px 0;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-nav {
    margin-top: 15px;
}

.footer-nav a {
    color: #ddd;
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.95rem;
}

.footer-nav a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .main-heading { font-size: 2.2rem; }
    .detail-title { font-size: 1.8rem; }
    .search { flex-direction: column; border-radius: 12px; }
    .search button { padding: 14px; }
}

/* Utility */
.btn {
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
}

.btn.ghost {
    background: transparent;
    border: 1px solid #ccc;
    color: #333;
}

.muted { color: #888; text-align: center; }