/*
Theme Name: TeluguNow Classic
Theme URI: https://telugunow.com
Author: TeluguNow Team
Description: Classic newspaper-style WordPress theme built from scratch.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: telugunow
*/

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base */
body {
    font-family: "Noto Serif Telugu", "Georgia", serif;
    background: #ffffff;
    color: #111;
    line-height: 1.7;
}

/* Links */
a {
    color: #000;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Container */
.tn-container {
    max-width: 1140px;
    margin: auto;
    padding: 0 15px;
}

/* Layout */
.tn-row {
    display: flex;
    gap: 24px;
}

.tn-content {
    flex: 0 0 70%;
}

.tn-sidebar {
    flex: 0 0 30%;
}

/* Mobile */
@media (max-width: 768px) {
    .tn-row {
        flex-direction: column;
    }
}

/* ======================================
   HEADER â€“ CLASSIC TELUGUNOW
   ====================================== */

.tn-header {
    border-bottom: 1px solid #e5e5e5;
    padding: 12px 0;
}

.tn-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.tn-logo img {
    max-height: 70px;
    width: auto;
}

/* Navigation */
.tn-nav ul {
    list-style: none;
    display: flex;
    gap: 22px;
}

.tn-nav li a {
    font-weight: 700;
    font-size: 15px;
    color: #000;
    white-space: nowrap;
}

/* Mobile */
@media (max-width: 768px) {
    .tn-header-inner {
        flex-direction: column;
    }

    .tn-nav {
        display: none; /* menu later via mobile toggle */
    }

    .tn-logo {
        text-align: center;
    }
}

/* Category blocks */
.tn-category-block {
    margin-bottom: 30px;
}

.tn-category-title {
    font-size: 20px;
    font-weight: 700;
    border-bottom: 2px solid #000;
    margin-bottom: 10px;
}

.tn-category-title a {
    color: #000;
}

.tn-post-title {
    font-size: 16px;
    margin-bottom: 8px;
}

/* ======================================
   SINGLE POST LAYOUT
   ====================================== */

.tn-single-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.tn-single-thumb img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.tn-single-content {
    font-size: 17px;
    line-height: 1.8;
}

.tn-single-content p {
    margin-bottom: 16px;
}

/* Mobile */
@media (max-width: 768px) {
    .tn-single-title {
        font-size: 22px;
    }
}

/* ======================================
   CATEGORY & ARCHIVE â€“ NEWS LIST VIEW
   ====================================== */

.tn-archive-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Each post row */
.tn-list-post {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e6e6e6;
}

/* Thumbnail column */
.tn-list-thumb {
    flex: 0 0 180px;   /* ðŸ”§ CHANGE SIZE HERE (160 / 180 / 200) */
}

.tn-list-thumb img {
    width: 180px;      /* must match above */
    height: auto;
    display: block;
}

/* Text column */
.tn-list-content {
    flex: 1;
}

.tn-list-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.4;
}

.tn-list-title a {
    color: #000;
}

.tn-list-excerpt {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .tn-list-post {
        flex-direction: column;
    }

    .tn-list-thumb,
    .tn-list-thumb img {
        width: 100%;
        flex: none;
    }
}

/* ======================================
   PAGINATION â€“ CLASSIC NEWS STYLE
   ====================================== */

.tn-pagination {
    margin: 35px 0;
    text-align: center;
}

.tn-pagination .page-numbers {
    display: inline-block;
    min-width: 40px;
    padding: 9px 14px;
    margin: 0 4px;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid #000;
    color: #000;
    text-decoration: none;
}

.tn-pagination .page-numbers:hover {
    background: #000;
    color: #fff;
}

.tn-pagination .current {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* ======================================
   HOME PAGE – CLASSIC TELUGUNOW
   ====================================== */

.tn-home-category {
    margin-bottom: 35px;
}

.tn-home-cat-title {
    font-size: 22px;
    font-weight: 700;
    border-bottom: 2px solid #000;
    margin-bottom: 12px;
}

.tn-home-cat-title a {
    color: #000;
}

/* BIG POST */
.tn-home-big {
    margin-bottom: 14px;
}

.tn-home-big-thumb img {
    width: 100%;
    height: auto;
    margin-bottom: 8px;
}

.tn-home-big-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;
}

.tn-home-big-excerpt {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

/* SMALL POSTS */
.tn-home-small {
    padding: 6px 0;
    border-top: 1px solid #eee;
}

.tn-home-small-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

/* Mobile */
@media (max-width: 768px) {
    .tn-home-big-title {
        font-size: 18px;
    }
}

/* ======================================
   HOME PAGE – ADMIN BLOCKS
   ====================================== */

.tn-home-grid {
    display: flex;
    gap: 24px;
}

.tn-home-col {
    flex: 1;
}

.tn-home-category {
    margin-bottom: 32px;
}

.tn-home-cat-title {
    font-size: 22px;
    font-weight: 700;
    border-bottom: 2px solid #000;
    margin-bottom: 10px;
}

.tn-home-item {
    margin-bottom: 14px;
}

.tn-home-thumb img {
    width: 100%;
    height: auto;
    margin-bottom: 6px;
}

.tn-home-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.tn-home-excerpt {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

/* Mobile */
@media (max-width: 768px) {
    .tn-home-grid {
        flex-direction: column;
    }
}
