/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
/* ======================================== */
/* TIMESBULL.COM - LIVE HINDUSTAN STYLE */
/* Multi-color Headlines, Colored Boxes */
/* ======================================== */

/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #f5f5f5;
    line-height: 1.6;
    color: #333;
}

.tb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ======================================== */
/* HERO SECTION - Live Hindustan Style */
/* ======================================== */
.tb-hindustan-hero {
    background: white;
    padding: 30px 0;
    border-bottom: 3px solid #e74c3c;
}

.tb-hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.tb-hero-main {
    background: white;
}

.tb-hero-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.tb-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tb-hero-content {
    padding: 20px 0;
}

.tb-hero-category {
    display: inline-block;
    color: white;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.tb-hero-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.tb-hero-title a {
    color: #222;
    text-decoration: none;
}

.tb-hero-title a:hover {
    color: #e74c3c;
}

.tb-hero-excerpt {
    color: #666;
    margin-bottom: 10px;
    font-size: 14px;
}

.tb-hero-date {
    color: #999;
    font-size: 13px;
}

/* Hero Side */
.tb-hero-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tb-side-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

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

.tb-side-image {
    flex: 0 0 100px;
    height: 80px;
    overflow: hidden;
}

.tb-side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tb-side-content {
    flex: 1;
}

.tb-side-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    line-height: 1.4;
}

.tb-side-title a {
    text-decoration: none;
}

.tb-side-title a:hover {
    color: #e74c3c !important;
}

.tb-side-date {
    font-size: 12px;
    color: #999;
}

/* ======================================== */
/* SECTION STYLES */
/* ======================================== */
.tb-section {
    padding: 30px 0;
    border-bottom: 1px solid #ddd;
}

.tb-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.tb-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #222;
}

.tb-view-all {
    color: #e74c3c;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.tb-view-all:hover {
    text-decoration: underline;
}

/* ======================================== */
/* CITY CARDS - Colored Boxes */
/* ======================================== */
.tb-city-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tb-city-card {
    border-radius: 5px;
    overflow: hidden;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.tb-city-card-header {
    padding: 15px;
    background: rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tb-city-card-name {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.tb-city-card-weather {
    font-size: 14px;
    background: rgba(255,255,255,0.2);
    padding: 3px 8px;
    border-radius: 15px;
}

.tb-city-card-item {
    padding: 12px 15px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.tb-city-card-item a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    display: block;
    line-height: 1.4;
}

.tb-city-card-item a:hover {
    text-decoration: underline;
}

/* ======================================== */
/* GRID LAYOUTS */
/* ======================================== */
.tb-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

/* Cards */
.tb-card {
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.tb-card-image {
    height: 150px;
    overflow: hidden;
}

.tb-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tb-card-content {
    padding: 15px;
}

.tb-card-title {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.tb-card-title a {
    text-decoration: none;
}

.tb-card-title a:hover {
    text-decoration: underline;
}

.tb-card-meta {
    color: #999;
    font-size: 12px;
}

/* Video Cards */
.tb-video-card {
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.tb-video-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.tb-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tb-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    opacity: 0.9;
}

.tb-video-title {
    font-size: 15px;
    padding: 12px;
    margin: 0;
}

.tb-video-title a {
    text-decoration: none;
}

.tb-video-title a:hover {
    text-decoration: underline;
}

/* ======================================== */
/* FOOTER */
/* ======================================== */
.tb-footer {
    background: #222;
    color: #fff;
    padding: 50px 0 20px;
}

.tb-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.tb-footer-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.tb-footer-text {
    color: #aaa;
    line-height: 1.6;
    font-size: 14px;
}

.tb-footer-links {
    list-style: none;
}

.tb-footer-links li {
    margin-bottom: 10px;
}

.tb-footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
}

.tb-footer-links a:hover {
    color: #e74c3c;
}

.tb-footer-social {
    display: flex;
    gap: 10px;
}

.tb-footer-social a {
    width: 35px;
    height: 35px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
}

.tb-footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.tb-footer-bottom p {
    color: #888;
    font-size: 13px;
}

.tb-footer-bottom-links {
    display: flex;
    gap: 20px;
}

.tb-footer-bottom-links a {
    color: #888;
    text-decoration: none;
    font-size: 13px;
}

.tb-footer-bottom-links a:hover {
    color: #e74c3c;
}

/* ======================================== */
/* RESPONSIVE */
/* ======================================== */
@media (max-width: 992px) {
    .tb-hero-grid {
        grid-template-columns: 1fr;
    }
    
    .tb-city-grid,
    .tb-grid-4,
    .tb-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tb-city-grid,
    .tb-grid-4,
    .tb-grid-3,
    .tb-footer-grid {
        grid-template-columns: 1fr;
    }
    
    .tb-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .tb-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}