/*
Theme Name: Live Sk
Theme URI: https://livesk.in/
Author: Live Sk
Author URI: https://livesk.in/
Description: Live Sk is a clean, fast and responsive Hindi news portal theme for WordPress. Inspired by leading Hindi news websites, it features a breaking-news ticker (with adjustable speed), a logo + category nav with optional site title and tagline beside the logo, hero-style sections (1 large + 4 mini) for both Uttar Pradesh and National categories, a "Latest News" right sidebar, Open Graph meta tags for social sharing (featured image as og:image), in-post banner ads with size options (small/medium/large), banner ad slots between sections, a YouTube Channel page template (RSS-based, no API key), and a footer with Twitter post + Facebook page + YouTube preview social widgets. Fully mobile responsive with proper single-post padding. Built as a lightweight standalone classic WordPress theme (no parent theme required).
Version: 1.2.1
Requires at least: 5.5
Tested up to: 6.7
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: live-sk
Tags: news, hindi, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, translation-ready, threaded-comments, rtl-language-support, theme-options
*/

/* ------------------------------------------------------------------
   1. CSS Variables
------------------------------------------------------------------ */
:root {
    /* Brand colors */
    --tt-red: #d60000;
    --tt-red-dark: #b50000;
    --tt-red-soft: rgba(209, 25, 25, 0.81);

    /* Neutrals */
    --tt-bg: #ffffff;
    --tt-bg-alt: #f5f5f5;
    --tt-bg-dark: #1a1a1a;
    --tt-text: #222222;
    --tt-text-soft: #444444;
    --tt-text-muted: #777777;
    --tt-border: #e5e5e5;
    --tt-link: #1a1a1a;
    --tt-link-hover: var(--tt-red);

    /* Typography optimized for Hindi / Devanagari */
    --tt-font-base: "Noto Sans Devanagari", "Mukta", "Hind", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --tt-font-head: "Mukta", "Noto Sans Devanagari", "Hind", sans-serif;

    /* Layout */
    --tt-container: 1300px;
    --tt-radius: 6px;
    --tt-radius-sm: 4px;
    --tt-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    --tt-shadow-hover: 0 4px 14px rgba(0, 0, 0, 0.10);
    --tt-transition: 0.25s ease;

    /* Header */
    --tt-header-h: 70px;
    --tt-logo-h: 50px;
}

/* ------------------------------------------------------------------
   2. Reset & Base
------------------------------------------------------------------ */
*, *::before, *::after { 
    box-sizing: border-box; 
}

html { 
    -webkit-text-size-adjust: 100%; 
    scroll-behavior: smooth; 
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--tt-font-base);
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--tt-text);
    background: var(--tt-bg);
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 900px) {
    html, body { 
        overflow-x: hidden; 
        max-width: 100vw; 
    }
}

img, svg, video, iframe {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

img { border: 0; }

a {
    color: var(--tt-link);
    text-decoration: none;
    transition: color var(--tt-transition);
}
a:hover, a:focus, a:active { 
    color: var(--tt-link-hover); 
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.5em;
    font-family: var(--tt-font-head);
    font-weight: 700;
    line-height: 1.35;
    color: #111111;
}

h1 { font-size: 1.95rem; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.25em; }

ul, ol { 
    margin: 0 0 1.25em 1.4em; 
    padding: 0; 
}
ul ul, ol ol { 
    margin: 0.3em 0 0.3em 1.2em; 
}

blockquote {
    margin: 1.5em 0;
    padding: 0.75em 1.2em;
    border-left: 4px solid var(--tt-red);
    background: var(--tt-bg-alt);
    color: var(--tt-text-soft);
    font-style: normal;
}

pre, code, kbd, samp {
    font-family: Consolas, Monaco, "Courier New", monospace;
    font-size: 0.9em;
}
pre {
    background: var(--tt-bg-alt);
    padding: 1em;
    border-radius: var(--tt-radius-sm);
    overflow-x: auto;
}

hr { 
    border: 0; 
    border-top: 1px solid var(--tt-border); 
    margin: 1.5em 0; 
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2em 0;
    font-size: 0.95em;
}
th, td {
    padding: 0.7em 0.9em;
    border: 1px solid var(--tt-border);
    text-align: left;
}
th { 
    background: var(--tt-bg-alt); 
    font-weight: 700; 
}

button, input, select, optgroup, textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.4;
    margin: 0;
}

/* ------------------------------------------------------------------
   3. Accessibility helpers
------------------------------------------------------------------ */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}
.screen-reader-text:focus {
    background: var(--tt-bg);
    clip: auto !important;
    clip-path: none;
    color: var(--tt-text);
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
}
.skip-link {
    position: absolute;
    left: -9999px;
    background: var(--tt-red);
    color: #fff;
    padding: 8px 16px;
    z-index: 9999;
    font-weight: 700;
}
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

/* ------------------------------------------------------------------
   4. Layout containers
------------------------------------------------------------------ */
.tt-container {
    max-width: var(--tt-container);
    margin: 0 auto;
    padding: 0 18px;
    box-sizing: border-box;
}

.site {
    overflow: hidden;
}

.site-content {
    padding: 24px 0 40px;
    box-sizing: border-box;
}

#primary {
    width: 75%;
    padding-right: 24px;
    float: left;
    box-sizing: border-box;
}
#secondary {
    width: 25%;
    float: left;
    box-sizing: border-box;
}

.tt-row::after,
.site-content::after,
.entry-content::after,
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* ------------------------------------------------------------------
   5. Breaking news ticker (top bar)
------------------------------------------------------------------ */
.breaking-news-bar {
    display: flex;
    align-items: center;
    background: var(--tt-bg-dark);
    color: #fff;
    font-size: 13.5px;
    overflow: hidden;
}
.breaking-news-label {
    background: var(--tt-red);
    color: #fff;
    padding: 7px 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.breaking-news-label::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    display: inline-block;
    animation: tt-blink 1.2s infinite;
}
@keyframes tt-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.breaking-news-ticker {
    flex: 1;
    overflow: hidden;
    position: relative;
    padding: 6px 0;
}
.breaking-news-ticker ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: tt-marquee 18s linear infinite;
}
.breaking-news-ticker:hover ul { animation-play-state: paused; }
.breaking-news-ticker li {
    padding: 0 22px;
    position: relative;
}
.breaking-news-ticker li::after {
    content: "";
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
}
.breaking-news-ticker a {
    color: #fff;
    font-weight: 500;
}
.breaking-news-ticker a:hover { color: #ffd4d4; }
.breaking-news-ticker .arrow {
    color: var(--tt-red);
    margin-right: 5px;
    font-weight: 700;
}
.breaking-news-close {
    padding: 0 14px;
    cursor: pointer;
    font-size: 18px;
    color: #fff;
    background: transparent;
    border: 0;
    flex-shrink: 0;
    line-height: 1;
}
.breaking-news-close:hover { background: rgba(255,255,255,0.08); }

@keyframes tt-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ------------------------------------------------------------------
   6. Header / Masthead
------------------------------------------------------------------ */
.site-header {
    background: var(--tt-bg);
    border-bottom: 1px solid var(--tt-border);
    position: relative;
    z-index: 50;
}

.tt-top-bar {
    background: var(--tt-bg-alt);
    border-bottom: 1px solid var(--tt-border);
    font-size: 12.5px;
    color: var(--tt-text-soft);
}
.tt-top-bar .tt-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 32px;
}
.tt-top-bar .tt-date { font-weight: 500; }
.tt-top-bar .tt-social-mini { display: flex; gap: 8px; }
.tt-top-bar .tt-social-mini a {
    color: var(--tt-text-soft);
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.tt-top-bar .tt-social-mini a:hover {
    background: var(--tt-red);
    color: #fff;
}

.tt-masthead {
    padding: 14px 0;
}
.tt-masthead .tt-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.site-branding { display: flex; align-items: center; }
.site-branding-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.site-branding-inner:not(.has-text) { gap: 0; }
.site-branding-inner .site-logo img {
    max-height: 60px;
    width: auto;
    display: block;
}
.site-branding-inner .site-text { 
    display: flex; 
    flex-direction: column; 
    gap: 2px; 
    line-height: 1.1; 
}
.site-branding-inner .site-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--tt-red);
    line-height: 1.1;
    letter-spacing: -0.3px;
}
.site-branding-inner .site-title a { color: inherit; }
.site-branding-inner .site-title a:hover { color: var(--tt-red-dark); }
.site-branding-inner .site-tagline {
    margin: 0;
    font-size: 11.5px;
    color: var(--tt-text-muted);
    letter-spacing: 0.4px;
    text-transform: uppercase;
    line-height: 1.2;
}

.tt-header-ad {
    flex-shrink: 0;
    text-align: right;
    color: var(--tt-text-muted);
    font-size: 12px;
}

/* Primary navigation */
.main-navigation {
    background: var(--tt-red);
    color: #fff;
    position: relative;
    z-index: 40;
}
.main-navigation .tt-container {
    display: flex;
    align-items: center;
    min-height: 46px;
}
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
.main-navigation li { position: relative; }
.main-navigation a {
    color: #fff;
    display: block;
    padding: 14px 18px;
    font-weight: 600;
    font-size: 14.5px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    position: relative;
}
.main-navigation a::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 8px;
    height: 2px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--tt-transition);
}
.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after { transform: scaleX(1); }
.main-navigation a:hover,
.main-navigation .current-menu-item > a { background: var(--tt-red-dark); }

.main-navigation li:hover > ul { display: block; }
.main-navigation ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--tt-red-dark);
    min-width: 200px;
    flex-direction: column;
    display: none;
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}
.main-navigation ul ul a { padding: 10px 16px; font-size: 13px; text-transform: none; }
.main-navigation ul ul a::after { display: none; }

.nav-extras {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-extras button,
.nav-extras a {
    background: transparent;
    border: 0;
    color: #fff;
    width: 40px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 17px;
}
.nav-extras button:hover,
.nav-extras a:hover { background: var(--tt-red-dark); }

.menu-toggle {
    background: transparent;
    border: 0;
    color: #fff;
    width: 40px;
    height: 46px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; fill: currentColor; }

/* Search modal */
.gp-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 200;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 90px;
}
.gp-modal.is-open { display: flex; }
.gp-modal__container {
    background: #fff;
    width: min(640px, 90vw);
    border-radius: var(--tt-radius);
    overflow: hidden;
    box-shadow: var(--tt-shadow-hover);
}
.search-modal-form {
    display: flex;
    align-items: center;
    padding: 6px;
}
.search-modal-form input[type="search"] {
    flex: 1;
    border: 0;
    padding: 14px 16px;
    font-size: 16px;
    background: transparent;
    outline: none;
}
.search-modal-form button {
    background: var(--tt-red);
    color: #fff;
    border: 0;
    padding: 14px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: var(--tt-radius-sm);
}
.search-modal-form button:hover { background: var(--tt-red-dark); }

/* ------------------------------------------------------------------
   7. Section heading
------------------------------------------------------------------ */
.tt-section-head {
    background: var(--tt-red);
    color: #fff;
    padding: 8px 14px;
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 18px;
    border-radius: var(--tt-radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    position: relative;
}
.tt-section-head::before {
    content: "";
    width: 6px;
    height: 22px;
    background: #fff;
    border-radius: 2px;
    flex-shrink: 0;
}
.tt-section-head .tt-view-all {
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    text-decoration: underline;
    text-transform: none;
    letter-spacing: 0;
}
.tt-section-head .tt-view-all:hover { color: #ffe5e5; }

/* ------------------------------------------------------------------
   8. Hero grid (1 large + 4 small)
------------------------------------------------------------------ */
.tt-hero {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 14px;
    margin-bottom: 28px;
}
.tt-hero-main {
    position: relative;
    border-radius: var(--tt-radius);
    overflow: hidden;
    background: #000;
    min-height: 360px;
}
.tt-hero-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.tt-hero-main:hover img { transform: scale(1.05); }
.tt-hero-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 26px 22px 18px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
    color: #fff;
}
.tt-hero-overlay .tt-cat-pill {
    background: var(--tt-red);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}
.tt-hero-overlay h2 {
    color: #fff;
    margin: 0 0 8px;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.3;
}
.tt-hero-overlay .tt-meta {
    font-size: 12px;
    color: rgba(255,255,255,0.85);
}
.tt-hero-overlay a { color: #fff; }

.tt-hero-side {
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    gap: 12px;
}
.tt-hero-side-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 10px;
    align-items: center;
    padding: 6px;
    border-radius: var(--tt-radius);
    background: var(--tt-bg-alt);
    transition: background var(--tt-transition);
}
.tt-hero-side-item:hover { background: #eee; }
.tt-hero-side-item figure {
    margin: 0;
    border-radius: var(--tt-radius-sm);
    overflow: hidden;
    aspect-ratio: 16 / 10;
}
.tt-hero-side-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tt-hero-side-item h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}
.tt-hero-side-item .tt-meta {
    display: block;
    font-size: 10.5px;
    color: var(--tt-text-muted);
    margin-top: 3px;
}

.tt-cat-pill {
    background: var(--tt-red);
    color: #fff;
    padding: 3px 9px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    line-height: 1.3;
}

/* ------------------------------------------------------------------
   9. News grid
------------------------------------------------------------------ */
.tt-news-section {
    margin-bottom: 32px;
}
.tt-news-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 22px;
}
.tt-news-grid .tt-news-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.tt-news-grid .tt-news-side {
    display: grid;
    gap: 14px;
}

.tt-card {
    background: #fff;
    border: 1px solid var(--tt-border);
    border-radius: var(--tt-radius);
    overflow: hidden;
    transition: box-shadow var(--tt-transition), transform var(--tt-transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.tt-card:hover {
    box-shadow: var(--tt-shadow-hover);
    transform: translateY(-2px);
}
.tt-card .tt-card-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--tt-bg-alt);
    position: relative;
}
.tt-card .tt-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.tt-card:hover .tt-card-img img { transform: scale(1.04); }
.tt-card .tt-card-body {
    padding: 12px 14px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.tt-card .tt-card-body .tt-cat-pill { margin-bottom: 6px; align-self: flex-start; }
.tt-card h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--tt-text);
}
.tt-card h3 a:hover { color: var(--tt-red); }
.tt-card .tt-meta {
    font-size: 11.5px;
    color: var(--tt-text-muted);
    margin-top: auto;
}

.tt-card-mini {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 10px;
    padding: 6px;
    border-radius: var(--tt-radius);
    background: var(--tt-bg-alt);
    transition: background var(--tt-transition);
}
.tt-card-mini:hover { background: #ececec; }
.tt-card-mini figure {
    margin: 0;
    border-radius: var(--tt-radius-sm);
    overflow: hidden;
    aspect-ratio: 16 / 10;
}
.tt-card-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tt-card-mini h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--tt-text);
}
.tt-card-mini h3 a:hover { color: var(--tt-red); }
.tt-card-mini .tt-meta {
    font-size: 10.5px;
    color: var(--tt-text-muted);
    margin-top: 3px;
    display: block;
}

.tt-meta {
    color: var(--tt-text-muted);
    font-size: 12px;
}
.tt-meta .tt-meta-date::before {
    content: "📅";
    display: inline-block;
    margin-right: 4px;
    filter: grayscale(1) opacity(0.7);
}

/* ------------------------------------------------------------------
   10. Pagination
------------------------------------------------------------------ */
.tt-pagination {
    margin: 30px 0 10px;
    text-align: center;
}
.tt-pagination .page-numbers,
.tt-pagination a,
.tt-pagination span {
    display: inline-block;
    padding: 9px 16px;
    margin: 0 3px;
    border: 1px solid var(--tt-border);
    border-radius: var(--tt-radius-sm);
    background: #fff;
    color: var(--tt-text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--tt-transition);
}
.tt-pagination a:hover,
.tt-pagination .current {
    background: var(--tt-red);
    color: #fff;
    border-color: var(--tt-red);
}
.tt-pagination .dots { border: 0; background: transparent; }

.tt-loadmore {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 26px;
    background: var(--tt-red);
    color: #fff !important;
    border-radius: var(--tt-radius-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
}
.tt-loadmore:hover { background: var(--tt-red-dark); }
.tt-loadmore svg { width: 14px; height: 14px; vertical-align: -2px; margin-left: 4px; }

/* ------------------------------------------------------------------
   11. Sidebar
------------------------------------------------------------------ */
.widget-area .widget {
    margin-bottom: 26px;
    background: #fff;
    border: 1px solid var(--tt-border);
    border-radius: var(--tt-radius);
    overflow: hidden;
}
.widget .widget-title,
.widget h2.widget-title {
    background: var(--tt-red);
    color: #fff;
    margin: 0;
    padding: 10px 14px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.widget .widget-title::before {
    content: "⚡";
    font-size: 14px;
}

.tt-sidebar-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tt-sidebar-posts li {
    padding: 12px 14px;
    border-bottom: 1px solid var(--tt-border);
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 10px;
    align-items: center;
    transition: background var(--tt-transition);
}
.tt-sidebar-posts li:last-child { border-bottom: 0; }
.tt-sidebar-posts li:hover { background: var(--tt-bg-alt); }
.tt-sidebar-posts figure {
    margin: 0;
    border-radius: var(--tt-radius-sm);
    overflow: hidden;
    aspect-ratio: 16 / 11;
}
.tt-sidebar-posts img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tt-sidebar-posts h3,
.tt-sidebar-posts h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}
.tt-sidebar-posts h3 a:hover,
.tt-sidebar-posts h4 a:hover { color: var(--tt-red); }
.tt-sidebar-posts .tt-meta {
    font-size: 10.5px;
    margin-top: 3px;
    display: block;
}

.tt-popular-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: tt-pop;
}
.tt-popular-list li {
    counter-increment: tt-pop;
    padding: 12px 14px;
    border-bottom: 1px solid var(--tt-border);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: background var(--tt-transition);
}
.tt-popular-list li::before {
    content: counter(tt-pop, decimal-leading-zero);
    flex-shrink: 0;
    min-width: 32px;
    font-size: 22px;
    font-weight: 800;
    color: var(--tt-red);
    line-height: 1.1;
    text-align: center;
}
.tt-popular-list li:hover { background: var(--tt-bg-alt); }
.tt-popular-list h4 {
    margin: 0;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
    flex: 1;
    min-width: 0;
}
.tt-popular-list .tt-meta { font-size: 11px; display: block; margin-top: 3px; }

.tt-newsletter {
    padding: 18px 14px;
    background: var(--tt-bg-dark);
    color: #fff;
    text-align: center;
}
.tt-newsletter h3 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.tt-newsletter p { font-size: 13px; color: rgba(255,255,255,0.8); margin-bottom: 12px; }
.tt-newsletter input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: var(--tt-radius-sm);
    margin-bottom: 8px;
    font-size: 14px;
}
.tt-newsletter button {
    width: 100%;
    padding: 10px 16px;
    background: var(--tt-red);
    color: #fff;
    border: 0;
    border-radius: var(--tt-radius-sm);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 13px;
    letter-spacing: 0.5px;
}
.tt-newsletter button:hover { background: var(--tt-red-dark); }

.widget ul {
    list-style: none;
    margin: 0;
    padding: 8px 14px;
}
.widget ul li {
    padding: 7px 0;
    border-bottom: 1px dashed var(--tt-border);
    font-size: 14px;
}
.widget ul li:last-child { border-bottom: 0; }
.widget ul li a { color: var(--tt-text); }
.widget ul li a:hover { color: var(--tt-red); }
.widget ul li ul { padding: 7px 0 7px 14px; margin-top: 7px; }

.tagcloud {
    padding: 12px 14px;
}
.tagcloud a {
    display: inline-block;
    padding: 4px 10px;
    margin: 0 4px 6px 0;
    background: var(--tt-bg-alt);
    border-radius: 16px;
    font-size: 12px !important;
    color: var(--tt-text);
    transition: all var(--tt-transition);
}
.tagcloud a:hover { background: var(--tt-red); color: #fff; }

/* ------------------------------------------------------------------
   12. Single post (Enhanced Typography & Alignment)
------------------------------------------------------------------ */
.entry-article,
.entry-page {
    padding: 0 0 24px;
    box-sizing: border-box;
}

.entry-header {
    margin-bottom: 20px;
}
.entry-title {
    margin: 10px 0 8px;
    font-size: 2.1rem;
    line-height: 1.32;
    color: #111111;
}
.entry-meta {
    color: var(--tt-text-muted);
    font-size: 13px;
    margin-bottom: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--tt-border);
}
.entry-meta .author,
.entry-meta .tt-meta-date,
.entry-meta .tt-cats { display: inline-flex; align-items: center; gap: 4px; }
.entry-meta .author a { color: var(--tt-red); font-weight: 600; }

.entry-thumb {
    margin: 0 0 22px;
    border-radius: var(--tt-radius);
    overflow: hidden;
    background: var(--tt-bg-alt);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.entry-thumb img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
}
.entry-thumb figcaption {
    font-size: 12.5px;
    color: var(--tt-text-muted);
    padding: 8px 14px;
    text-align: center;
    background: var(--tt-bg-alt);
    font-style: italic;
    border-top: 1px solid var(--tt-border);
}

.entry-content {
    font-size: 17.5px;
    line-height: 1.82;
    color: #2b2b2b;
    box-sizing: border-box;
}
.entry-content p { 
    margin-bottom: 1.4em; 
    overflow-wrap: break-word;
    word-break: normal;
}
.entry-content > p:first-of-type {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.8;
    color: #111111;
}
.entry-content h2 { 
    font-size: 1.45rem;
    line-height: 1.4;
    margin-top: 1.7em; 
    margin-bottom: 0.6em;
    padding-left: 10px;
    border-left: 4px solid var(--tt-red);
}
.entry-content h3 { 
    font-size: 1.25rem;
    line-height: 1.4;
    margin-top: 1.4em; 
    margin-bottom: 0.5em;
}
.entry-content img { 
    border-radius: var(--tt-radius-sm); 
    height: auto;
    max-width: 100%;
}
.entry-content a { 
    color: var(--tt-red); 
    text-decoration: underline; 
}
.entry-content a:hover { color: var(--tt-red-dark); }

.entry-content blockquote {
    margin: 1.6em 0;
    padding: 16px 20px;
    border-left: 4px solid var(--tt-red);
    background: var(--tt-bg-alt);
    color: #222;
    font-style: normal;
    border-radius: 0 var(--tt-radius-sm) var(--tt-radius-sm) 0;
}

.entry-footer {
    margin-top: 24px;
    padding: 14px 0;
    border-top: 1px solid var(--tt-border);
    border-bottom: 1px solid var(--tt-border);
    font-size: 13.5px;
    color: var(--tt-text-soft);
}
.entry-footer .tt-tags,
.entry-footer .tt-cats-list { display: block; margin-bottom: 6px; }
.entry-footer a { color: var(--tt-red); }
.entry-footer strong { color: var(--tt-text); }

.tt-share {
    margin: 22px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.tt-share .tt-share-label { font-weight: 700; font-size: 14px; margin-right: 4px; }
.tt-share a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    transition: transform var(--tt-transition);
}
.tt-share a:hover { transform: translateY(-2px); }
.tt-share .tt-share-fb { background: #1877f2; }
.tt-share .tt-share-tw { background: #000; }
.tt-share .tt-share-wa { background: #25d366; }
.tt-share .tt-share-tg { background: #0088cc; }
.tt-share .tt-share-ln { background: #06c755; }

.tt-author-box {
    margin: 26px 0;
    padding: 18px;
    background: var(--tt-bg-alt);
    border-radius: var(--tt-radius);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.tt-author-box .avatar {
    border-radius: 50%;
    width: 70px;
    height: 70px;
}
.tt-author-box h4 { margin: 0 0 4px; font-size: 16px; }
.tt-author-box .tt-author-role { font-size: 12px; color: var(--tt-text-muted); margin-bottom: 6px; }
.tt-author-box p { margin: 0; font-size: 14px; color: var(--tt-text-soft); }

.tt-related {
    margin: 28px 0 8px;
}
.tt-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 14px;
}
.tt-related-grid .tt-card h3 { font-size: 14px; }

/* ------------------------------------------------------------------
   13. Page header (archive / search)
------------------------------------------------------------------ */
.tt-page-header {
    background: var(--tt-bg-dark);
    color: #fff;
    padding: 22px 0;
    margin-bottom: 24px;
}
.tt-page-header h1 {
    color: #fff;
    margin: 0;
    font-size: 1.6rem;
}
.tt-page-header .tt-breadcrumb {
    font-size: 12.5px;
    color: rgba(255,255,255,0.75);
    margin-top: 4px;
}
.tt-page-header .tt-breadcrumb a { color: #fff; }
.tt-page-header .tt-breadcrumb a:hover { color: var(--tt-red); }

/* ------------------------------------------------------------------
   14. Footer
------------------------------------------------------------------ */
.site-footer {
    background: var(--tt-bg-dark);
    color: #cfcfcf;
    margin-top: 40px;
    padding-top: 40px;
}
.site-footer a { color: #d6d6d6; }
.site-footer a:hover { color: var(--tt-red); }

.tt-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 28px;
    padding-bottom: 32px;
    border-bottom: 1px solid #2a2a2a;
}
.tt-footer-grid h3,
.tt-footer-grid h2 {
    color: #fff;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--tt-red);
    display: inline-block;
}
.tt-footer-about img {
    max-height: 50px;
    margin-bottom: 12px;
}
.tt-footer-about p { font-size: 13.5px; line-height: 1.65; color: #b5b5b5; }
.tt-footer-cats ul,
.tt-footer-more ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tt-footer-cats li,
.tt-footer-more li { padding: 6px 0; font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.tt-footer-cats li::before,
.tt-footer-more li::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 6px solid var(--tt-red);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    flex-shrink: 0;
}
.tt-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #2a2a2a;
    color: #fff;
    margin: 4px 4px 0 0;
    font-size: 16px;
    transition: background var(--tt-transition);
}
.tt-footer-social a:hover { background: var(--tt-red); color: #fff; }
.tt-footer-social h3 { margin-bottom: 12px; }

.site-info {
    padding: 16px 0;
    text-align: center;
    font-size: 13px;
    color: #9d9d9d;
}
.site-info a { color: var(--tt-red); }

#tt-back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 42px;
    height: 42px;
    background: var(--tt-red);
    color: #fff;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    box-shadow: var(--tt-shadow);
    transition: background var(--tt-transition);
}
#tt-back-to-top:hover { background: var(--tt-red-dark); }
#tt-back-to-top.is-visible { display: flex; }

/* ------------------------------------------------------------------
   15. 404 page
------------------------------------------------------------------ */
.tt-404 {
    text-align: center;
    padding: 60px 0;
}
.tt-404 h1 {
    font-size: 6rem;
    color: var(--tt-red);
    line-height: 1;
    margin-bottom: 8px;
}
.tt-404 h2 { font-size: 1.4rem; margin-bottom: 14px; }
.tt-404 p { color: var(--tt-text-soft); max-width: 500px; margin: 0 auto 18px; }
.tt-404 .tt-search-404 {
    max-width: 480px;
    margin: 20px auto;
    display: flex;
    gap: 6px;
}
.tt-404 .tt-search-404 input {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid var(--tt-border);
    border-radius: var(--tt-radius-sm);
    font-size: 14px;
}
.tt-404 .tt-search-404 button {
    background: var(--tt-red);
    color: #fff;
    border: 0;
    padding: 0 22px;
    border-radius: var(--tt-radius-sm);
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
}

/* ------------------------------------------------------------------
   16. Comments
------------------------------------------------------------------ */
.comments-area { margin-top: 32px; }
.comments-title {
    font-size: 1.3rem;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--tt-red);
    display: inline-block;
    margin-bottom: 18px;
}
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list .children { list-style: none; padding-left: 30px; margin: 14px 0 0; }
.comment-body {
    padding: 14px 0;
    border-bottom: 1px solid var(--tt-border);
}
.comment-author { font-weight: 700; font-size: 14px; }
.comment-author .avatar { border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.comment-meta { font-size: 12px; color: var(--tt-text-muted); margin-bottom: 6px; }
.comment-content { font-size: 14.5px; line-height: 1.6; }
.comment-reply-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--tt-red);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

#respond {
    margin-top: 24px;
    background: var(--tt-bg-alt);
    padding: 18px;
    border-radius: var(--tt-radius);
}
#respond h3 { margin-top: 0; }
#respond .comment-form-comment label,
#respond .comment-form-author label,
#respond .comment-form-email label,
#respond .comment-form-url label { font-weight: 600; display: block; margin-bottom: 4px; font-size: 13.5px; }
#respond input[type="text"],
#respond input[type="email"],
#respond input[type="url"],
#respond textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--tt-border);
    border-radius: var(--tt-radius-sm);
    margin-bottom: 12px;
    background: #fff;
}
#respond input[type="submit"] {
    background: var(--tt-red);
    color: #fff;
    border: 0;
    padding: 10px 22px;
    border-radius: var(--tt-radius-sm);
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
}
#respond input[type="submit"]:hover { background: var(--tt-red-dark); }

/* ------------------------------------------------------------------
   17. Alignment & block classes (Fixed Negative Margins)
------------------------------------------------------------------ */
.alignleft { float: left; margin: 0 18px 18px 0; }
.alignright { float: right; margin: 0 0 18px 18px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; clear: both; }

@media (min-width: 901px) {
    .alignwide, .alignfull { 
        margin-left: calc(-1 * (50vw - 50%)); 
        margin-right: calc(-1 * (50vw - 50%)); 
        max-width: 100vw; 
    }
    .alignfull { width: 100vw; }
}

@media (max-width: 900px) {
    .alignwide, .alignfull {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

.wp-caption { max-width: 100%; }
.wp-caption-text {
    font-size: 12.5px;
    color: var(--tt-text-muted);
    text-align: center;
    margin-top: 6px;
    font-style: italic;
}
.gallery { display: grid; gap: 8px; }
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }

.sticky { display: block; }
.bypostauthor { display: block; }

/* ------------------------------------------------------------------
   18. Uttar Pradesh section
------------------------------------------------------------------ */
.tt-up-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 22px;
}
.tt-up-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.tt-up-main .tt-card.tt-card-featured {
    grid-column: 1 / -1;
}
.tt-up-main .tt-card.tt-card-featured .tt-card-img {
    aspect-ratio: 21 / 9;
}
.tt-up-main .tt-card.tt-card-featured h3 {
    font-size: 20px;
    margin-bottom: 8px;
}
.tt-up-main .tt-card.tt-card-featured .tt-card-body {
    padding: 16px 18px 18px;
}
.tt-up-side {
    display: grid;
    gap: 14px;
}

@media (max-width: 900px) {
    .tt-up-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .tt-up-main { grid-template-columns: 1fr; }
    .tt-up-main .tt-card.tt-card-featured .tt-card-img { aspect-ratio: 16 / 9; }
    .tt-up-main .tt-card.tt-card-featured h3 { font-size: 17px; }
}

/* ------------------------------------------------------------------
   19. National section
------------------------------------------------------------------ */
.tt-national-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 12px;
}
.tt-national-grid .tt-card h3 { font-size: 15px; }

@media (max-width: 1024px) {
    .tt-national-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .tt-national-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------
   20. Category Hero Sections
------------------------------------------------------------------ */
.tt-cat-hero {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 18px;
    margin-bottom: 8px;
}
.tt-cat-hero .tt-hero-main-wrap { min-width: 0; }
.tt-cat-hero .tt-hero-main {
    min-height: 320px;
}
.tt-cat-hero .tt-hero-side {
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    gap: 10px;
}
.tt-cat-hero .tt-hero-side-item {
    padding: 6px;
    gap: 10px;
    grid-template-columns: 100px 1fr;
}
.tt-cat-hero .tt-hero-side-item figure {
    aspect-ratio: 16 / 10;
}
.tt-cat-hero .tt-hero-side-item h3 {
    font-size: 13px;
    line-height: 1.3;
}
.tt-cat-hero .tt-hero-side-item .tt-meta {
    font-size: 10.5px;
    margin-top: 3px;
}
.tt-cat-hero .tt-hero-overlay h2 {
    font-size: 1.25rem;
}
.tt-cat-hero .tt-hero-overlay {
    padding: 22px 18px 14px;
}

@media (max-width: 900px) {
    .tt-cat-hero { grid-template-columns: 1fr; }
    .tt-cat-hero .tt-hero-main { min-height: 240px; }
}
@media (max-width: 640px) {
    .tt-cat-hero .tt-hero-side {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .tt-cat-hero .tt-hero-overlay h2 { font-size: 1.1rem; }
    .tt-cat-hero .tt-hero-side-item h3 { font-size: 12.5px; }
}
@media (max-width: 420px) {
    .tt-cat-hero .tt-hero-side { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------
   21. Footer social widgets
------------------------------------------------------------------ */
.tt-footer-social-widgets {
    background: #f5f5f5;
    border-bottom: 1px solid var(--tt-border);
    padding: 26px 0 20px;
}
.tt-fsw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
}
.tt-fsw-col {
    background: #fff;
    border-radius: var(--tt-radius);
    overflow: hidden;
    border: 1px solid var(--tt-border);
    display: flex;
    flex-direction: column;
}
.tt-fsw-title {
    background: var(--tt-red);
    color: #fff;
    margin: 0;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tt-fsw-title::before {
    content: "";
    width: 5px;
    height: 18px;
    background: #fff;
    border-radius: 2px;
}
.tt-fsw-body {
    padding: 14px;
    flex: 1;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tt-fsw-twitter .tt-fsw-body iframe { width: 100% !important; max-width: 100% !important; }
.tt-fsw-twitter .twitter-tweet { margin: 0 auto !important; }
.tt-fsw-fallback {
    margin: 0;
    padding: 18px;
    background: #f5f5f5;
    border-left: 4px solid var(--tt-red);
    border-radius: var(--tt-radius-sm);
    color: var(--tt-text);
}
.tt-fsw-fallback a { color: var(--tt-red); font-weight: 700; }
.tt-fsw-facebook .tt-fsw-body {
    align-items: center;
    justify-content: flex-start;
}
.tt-fsw-fb-link {
    margin: 10px 0 0;
    font-size: 12.5px;
    text-align: center;
    width: 100%;
}
.tt-fsw-fb-link a { color: var(--tt-red); font-weight: 700; }

.tt-fsw-yt-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tt-fsw-yt-list li {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 10px;
    padding: 8px;
    background: var(--tt-bg-alt);
    border-radius: var(--tt-radius-sm);
    align-items: center;
}
.tt-fsw-yt-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: var(--tt-radius-sm);
    overflow: hidden;
    background: #000;
}
.tt-fsw-yt-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tt-fsw-yt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background: rgba(214, 0, 0, 0.9);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    padding-left: 2px;
    pointer-events: none;
}
.tt-fsw-yt-meta h4 {
    margin: 0 0 3px;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.3;
}
.tt-fsw-yt-meta h4 a { color: var(--tt-text); }
.tt-fsw-yt-meta h4 a:hover { color: var(--tt-red); }
.tt-fsw-yt-viewall {
    text-align: center;
    margin: 12px 0 0;
    font-size: 13px;
}
.tt-fsw-yt-viewall a {
    color: var(--tt-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.tt-fsw-empty {
    color: var(--tt-text-muted);
    font-size: 13px;
    text-align: center;
    padding: 30px 12px;
}

@media (max-width: 768px) {
    .tt-fsw-grid { grid-template-columns: 1fr; }
    .tt-fsw-yt-list li { grid-template-columns: 100px 1fr; }
}

/* ------------------------------------------------------------------
   22. Banner Ads
------------------------------------------------------------------ */
.tt-banner-ad {
    margin: 26px auto;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    padding: 0 12px;
}
.tt-banner-ad img,
.tt-banner-ad iframe,
.tt-banner-ad ins,
.tt-banner-ad video {
    max-width: 100%;
    height: auto;
    display: inline-block;
    border-radius: var(--tt-radius-sm);
}
.tt-banner-ad-label {
    display: block;
    font-size: 10.5px;
    color: var(--tt-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
    opacity: 0.7;
}
.tt-banner-ad-empty {
    display: block;
    width: 100%;
    max-width: 728px;
    height: 90px;
    margin: 0 auto;
    background: var(--tt-bg-alt);
    border: 1px dashed var(--tt-border);
    color: var(--tt-text-muted);
    line-height: 90px;
    font-size: 12px;
    border-radius: var(--tt-radius-sm);
}

.tt-inpost-ad {
    margin: 22px auto;
    text-align: center;
    clear: both;
    overflow: hidden;
    padding: 0 4px;
}
.tt-inpost-ad-label {
    display: block;
    font-size: 10.5px;
    color: var(--tt-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
    opacity: 0.7;
}
.tt-inpost-ad img,
.tt-inpost-ad iframe,
.tt-inpost-ad ins,
.tt-inpost-ad video {
    max-width: 100%;
    height: auto;
    display: inline-block;
    border-radius: var(--tt-radius-sm);
}
.tt-inpost-ad-small  { max-width: 380px; }
.tt-inpost-ad-small img,
.tt-inpost-ad-small iframe { max-height: 100px; }
.tt-inpost-ad-medium { max-width: 580px; }
.tt-inpost-ad-medium img,
.tt-inpost-ad-medium iframe { max-height: 140px; }
.tt-inpost-ad-large  { max-width: 760px; }
.tt-inpost-ad-large img,
.tt-inpost-ad-large iframe { max-height: 200px; }

@media (max-width: 640px) {
    .tt-inpost-ad { margin: 16px auto; }
    .tt-inpost-ad-small,
    .tt-inpost-ad-medium,
    .tt-inpost-ad-large { max-width: 100%; }
    .tt-inpost-ad img,
    .tt-inpost-ad iframe { max-height: 120px; }
}

/* ------------------------------------------------------------------
   23. Global Responsive & Mobile Safe-Padding Fixes
------------------------------------------------------------------ */
@media (max-width: 1024px) {
    .tt-footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
    .tt-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    /* Layout containment */
    .site-content.tt-container,
    .tt-container {
        padding-left: 14px !important;
        padding-right: 14px !important;
        max-width: 100% !important;
    }

    #primary { 
        width: 100% !important; 
        padding-right: 0 !important; 
        padding-left: 0 !important;
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    #secondary { 
        width: 100% !important; 
        margin-top: 32px; 
        float: none !important;
    }

    /* Prevent mobile article left cut */
    .entry-article,
    .entry-page,
    .entry-content,
    .entry-header,
    .entry-footer,
    .tt-author-box,
    .tt-related,
    .tt-share,
    #comments {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .entry-content blockquote {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 14px !important;
    }

    .entry-content ul,
    .entry-content ol {
        margin-left: 1.25em !important;
        padding-left: 0 !important;
    }

    .tt-hero { grid-template-columns: 1fr; }
    .tt-hero-side { grid-template-rows: auto; grid-template-columns: repeat(2, 1fr); }
    .tt-news-grid { grid-template-columns: 1fr; }
    .tt-news-grid .tt-news-main { grid-template-columns: repeat(2, 1fr); }

    /* Navigation */
    .menu-toggle { display: inline-flex; }
    .main-navigation ul { 
        display: none; 
        flex-direction: column; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        right: 0; 
        background: var(--tt-red-dark); 
    }
    .main-navigation.toggled ul { display: flex; }
    .main-navigation li { width: 100%; }
    .main-navigation a { padding: 12px 18px; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .main-navigation ul ul {
        position: static;
        background: rgba(0,0,0,0.2);
        box-shadow: none;
    }

    /* Prevent horizontal cutoffs by media elements */
    .entry-content img,
    .entry-content iframe,
    .entry-content video,
    .entry-content embed,
    .entry-content object,
    .entry-content .wp-video,
    .entry-content .wp-caption,
    .entry-content .wp-block-embed,
    .entry-content .wp-block-image img,
    .entry-thumb img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .entry-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        max-width: 100%;
    }

    .entry-content pre {
        display: block;
        overflow-x: auto;
        max-width: 100%;
        white-space: pre;
    }
}

@media (max-width: 640px) {
    .tt-top-bar .tt-container { flex-direction: column; gap: 4px; padding: 4px 14px; text-align: center; }
    .tt-masthead .tt-container { flex-direction: column; gap: 10px; text-align: center; }
    .site-branding { justify-content: center; }
    .site-branding-inner .site-logo img { max-height: 46px; }
    .site-branding-inner .site-title { font-size: 1.25rem; }
    .site-branding-inner .site-tagline { font-size: 10px; }
    .tt-header-ad { display: none; }

    .tt-hero-side { grid-template-columns: 1fr; }
    .tt-news-grid .tt-news-main { grid-template-columns: 1fr; }
    .tt-related-grid { grid-template-columns: 1fr; }
    .tt-footer-grid { grid-template-columns: 1fr; }

    .entry-title { 
        font-size: 1.55rem; 
        line-height: 1.34; 
    }
    .entry-content {
        font-size: 16px;
        line-height: 1.78;
    }
    .entry-content > p:first-of-type {
        font-size: 17px;
        line-height: 1.75;
    }

    .tt-hero-overlay h2 { font-size: 1.15rem; }
    .tt-hero-overlay { padding: 18px 14px 12px; }
    .breaking-news-label { padding: 7px 10px; font-size: 12px; }
    .main-navigation a { padding: 11px 14px; font-size: 13px; }
    .nav-extras button,
    .nav-extras a { width: 36px; }
}

@media (max-width: 480px) {
    .site-content.tt-container,
    .tt-container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    .entry-title { font-size: 1.35rem; }
    .entry-meta { font-size: 12px; gap: 8px; }
}

@media (max-width: 420px) {
    .tt-card-mini,
    .tt-hero-side-item { grid-template-columns: 85px 1fr; }
    .tt-sidebar-posts li { grid-template-columns: 70px 1fr; }
}

/* ------------------------------------------------------------------
   24. Print Rules
------------------------------------------------------------------ */
@media print {
    .main-navigation,
    .breaking-news-bar,
    .tt-top-bar,
    .site-footer,
    #secondary,
    #tt-back-to-top,
    .tt-share,
    .nav-extras,
    .gp-modal,
    .tt-banner-ad,
    .tt-inpost-ad { display: none !important; }
    body { color: #000; background: #fff; }
    a { color: #000; text-decoration: underline; }
    .entry-content a::after { content: " (" attr(href) ")"; font-size: 11px; color: #555; }
}