/*
Theme Name: Twenty Twenty Child
Template: twentytwenty
Version: 1.0
*/

/* =========================
RESET
========================= */
*{
    
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
overflow-x:hidden;
}

body{
font-family:Arial,sans-serif;
background:#f5f5f5;
color:#222;
line-height:1.7;
overflow-x:hidden;
}

img{
max-width:100%;
height:auto;
display:block;
}

a{
text-decoration:none;
transition:.3s;
color:#111;
}

ul{
list-style:none;
padding:0;
margin:0;
}

/* =========================
CONTAINER
========================= */

.tvn-container{
width:95%;
max-width:1400px;
margin:auto;
}

/* =========================
TOPBAR
========================= */

.tvn-topbar{
background:#ececec;
padding:12px 0;
border-bottom:1px solid #ddd;
font-size:14px;
}

.tvn-flex{
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
}

.tvn-clock{
background:#0095da;
color:#fff;
padding:8px 14px;
font-weight:700;
border-radius:4px;
}

/* =========================
LOGO
========================= */

.tvn-logo-wrap{
background:#08111f;
padding:25px 0;
}

.tvn-logo{
font-size:42px;
font-weight:700;
color:#fff;
text-transform:uppercase;
letter-spacing:1px;
}

/* =========================
NAVBAR
========================= */

.tvn-navbar{
background:#111c2d;
border-top:4px solid #0095da;
position:sticky;
top:0;
z-index:999;
}

.tvn-menu{
display:flex;
flex-wrap:wrap;
}

.tvn-menu li{
position:relative;
}

.tvn-menu li a{
display:block;
padding:18px 20px;
color:#fff;
font-weight:700;
font-size:15px;
}

.tvn-menu li a:hover{
background:#0095da;
}

/* =========================
TRENDING
========================= */

.tvn-trending{
display:flex;
align-items:center;
background:#fff;
margin:25px auto;
border:1px solid #ddd;
overflow:hidden;
}

.tvn-trending-title{
background:#0095da;
color:#fff;
padding:15px 22px;
font-size:20px;
font-weight:700;
white-space:nowrap;
}

.tvn-trending marquee{
padding:14px;
font-weight:600;
font-size:15px;
}

/* =========================
HERO SECTION
========================= */

.tvn-hero{
display:grid;
grid-template-columns:2fr 1fr;
gap:20px;
margin-bottom:40px;
}

.tvn-main-news,
.tvn-side-card{
position:relative;
overflow:hidden;
background:#000;
}

.tvn-main-news img{
width:100%;
height:620px;
object-fit:cover;
}

.tvn-side{
display:flex;
flex-direction:column;
gap:20px;
}

.tvn-side-card img{
width:100%;
height:300px;
object-fit:cover;
}

.tvn-overlay{
position:absolute;
left:0;
bottom:0;
width:100%;
padding:25px;
background:linear-gradient(
transparent,
rgba(0,0,0,.9)
);
color:#fff;
}

.tvn-cat{
display:inline-block;
background:#0095da;
padding:8px 14px;
font-size:13px;
font-weight:700;
margin-bottom:15px;
text-transform:uppercase;
}

.tvn-overlay h1{
font-size:42px;
line-height:1.3;
}

.tvn-overlay h3{
font-size:24px;
line-height:1.4;
}

/* =========================
CONTENT LAYOUT
========================= */

.tvn-content-layout{
display:grid;
grid-template-columns:2fr 1fr;
gap:30px;
margin-top:40px;
}

/* =========================
SECTION TITLE
========================= */

.tvn-section-title{
display:inline-block;
background:#0095da;
color:#fff;
padding:14px 22px;
font-size:22px;
font-weight:700;
margin-bottom:30px;
text-transform:uppercase;
}

/* =========================
POST LIST
========================= */

.tvn-post{
display:flex;
gap:25px;
background:#fff;
padding:20px;
margin-bottom:30px;
box-shadow:0 2px 10px rgba(0,0,0,.05);
transition:.3s;
}

.tvn-post:hover{
transform:translateY(-3px);
}

.tvn-post img{
width:320px;
height:220px;
object-fit:cover;
}

.tvn-post-content{
flex:1;
}

.tvn-post-content h2{
font-size:32px;
line-height:1.4;
margin-bottom:15px;
}

.tvn-meta{
font-size:14px;
color:#777;
margin-bottom:15px;
}

.tvn-post-content p{
color:#555;
line-height:1.8;
margin-bottom:20px;
}

.tvn-btn{
display:inline-block;
padding:12px 20px;
border:2px solid #0095da;
font-weight:700;
}

.tvn-btn:hover{
background:#0095da;
color:#fff;
}

/* =========================
SIDEBAR
========================= */

.tvn-sidebar{
display:flex;
flex-direction:column;
gap:30px;
}

.tvn-widget{
background:#fff;
padding:25px;
box-shadow:0 2px 10px rgba(0,0,0,.05);
}

.tvn-widget-title{
background:#0095da;
color:#fff;
padding:12px 18px;
margin:-25px -25px 20px;
font-size:20px;
font-weight:700;
}

.tvn-widget ul li{
padding:12px 0;
border-bottom:1px solid #eee;
}

.tvn-widget ul li:last-child{
border:none;
}

.tvn-widget ul li a{
font-weight:600;
}

/* =========================
FOOTER
========================= */

.tvn-footer{
background:#08111f;
color:#fff;
margin-top:60px;
}

.tvn-footer-overlay{
padding:60px 0 25px;
}

.tvn-footer-widgets{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:40px;
margin-bottom:40px;
}

.tvn-footer-title{
font-size:22px;
margin-bottom:20px;
position:relative;
padding-bottom:10px;
}

.tvn-footer-title:after{
content:'';
position:absolute;
left:0;
bottom:0;
width:50px;
height:3px;
background:#0095da;
}

.tvn-footer-column p,
.tvn-footer-column a{
color:#cfcfcf;
}

.tvn-footer-column ul li{
margin-bottom:12px;
}

.tvn-footer-column ul li a:hover{
color:#0095da;
padding-left:5px;
}

.tvn-footer-bottom{
border-top:1px solid rgba(255,255,255,.1);
padding-top:25px;
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
gap:20px;
}

.tvn-footer-nav{
display:flex;
gap:20px;
flex-wrap:wrap;
}

.tvn-footer-nav a{
color:#aaa;
}

/* =========================
SOCIAL ICONS
========================= */

.tvn-social-icons{
display:flex;
gap:12px;
flex-wrap:wrap;
}

.tvn-social-icons a{
width:42px;
height:42px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
color:#fff;
font-size:18px;
}

.facebook{
background:#3b5998;
}

.twitter{
background:#1da1f2;
}

.instagram{
background:#e1306c;
}

.youtube{
background:#ff0000;
}

/* =========================
SCROLL TOP
========================= */

.tvn-scroll-top{
position:fixed;
right:25px;
bottom:25px;
width:50px;
height:50px;
background:#0095da;
color:#fff;
display:flex;
align-items:center;
justify-content:center;
font-size:24px;
cursor:pointer;
z-index:999;
}

/* =========================
FORMS
========================= */

input,
textarea{
width:100%;
padding:12px;
border:1px solid #ddd;
outline:none;
}

button,
input[type="submit"]{
background:#0095da;
color:#fff;
border:none;
padding:12px 20px;
cursor:pointer;
font-weight:700;
}

/* =========================
RESPONSIVE
========================= */

@media(max-width:992px){

.tvn-hero{
grid-template-columns:1fr;
}

.tvn-content-layout{
grid-template-columns:1fr;
}

.tvn-footer-widgets{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){

.tvn-logo{
font-size:28px;
text-align:center;
display:block;
}

.tvn-menu{
flex-direction:column;
}

.tvn-post{
flex-direction:column;
}

.tvn-post img{
width:100%;
height:auto;
}

.tvn-overlay h1{
font-size:28px;
}

.tvn-overlay h3{
font-size:20px;
}

.tvn-post-content h2{
font-size:24px;
}

.tvn-footer-widgets{
grid-template-columns:1fr;
}

.tvn-footer-bottom{
flex-direction:column;
text-align:center;
}

}

@media(max-width:480px){

.tvn-main-news img{
height:350px;
}

.tvn-side-card img{
height:220px;
}

.tvn-overlay{
padding:18px;
}

.tvn-overlay h1{
font-size:22px;
}

.tvn-section-title{
font-size:18px;
}

}

/* SIDEBAR */

.tvn-sidebar{
display:flex;
flex-direction:column;
gap:30px;
}

/* SIDEBAR COLUMN */

.tvn-sidebar-column{
width:100%;
}

/* WIDGET */

.tvn-widget{
background:#fff;
padding:25px;
box-shadow:0 2px 10px rgba(0,0,0,.05);
border-radius:4px;
}

/* TITLE */

.tvn-widget-title{
background:#0095da;
color:#fff;
padding:14px 18px;
margin:-25px -25px 20px;
font-size:20px;
font-weight:700;
}

/* LIST */

.tvn-widget ul{
list-style:none;
padding:0;
margin:0;
}

.tvn-widget ul li{
padding:12px 0;
border-bottom:1px solid #eee;
}

.tvn-widget ul li:last-child{
border-bottom:none;
}

/* LINKS */

.tvn-widget a{
text-decoration:none;
color:#111;
transition:.3s;
}

.tvn-widget a:hover{
color:#0095da;
}

/* SEARCH */

.search-form{
display:flex;
gap:10px;
}

.search-field{
width:100%;
padding:12px;
border:1px solid #ddd;
outline:none;
}

.search-submit{
background:#0095da;
border:none;
color:#fff;
padding:12px 18px;
cursor:pointer;
font-weight:700;
}

/* MOBILE */

@media(max-width:768px){

.tvn-widget{
padding:20px;
}

.tvn-widget-title{
font-size:18px;
}

}

/* =========================================
THEME COLOR SYSTEM
========================================= */

:root{

--tvn-primary:#0e98d6;
--tvn-dark:#08111f;
--tvn-light:#f5f5f5;
--tvn-border:#e5e5e5;
--tvn-text:#222;

}

/* LINKS */

a{
color:var(--tvn-text);
}

a:hover{
color:var(--tvn-primary);
}

/* BUTTONS */

button,
input[type="submit"],
.tvn-btn{
background:var(--tvn-primary);
border:2px solid var(--tvn-primary);
color:#fff;
transition:.3s;
}

button:hover,
input[type="submit"]:hover,
.tvn-btn:hover{
background:transparent;
color:var(--tvn-primary);
}

/* TITLES */

.tvn-widget-title,
.tvn-footer-title:after,
.tvn-category,
.tvn-trending-title,
.tvn-section-title{
background:var(--tvn-primary);
}

/* NAVBAR */

.tvn-navbar{
border-top:4px solid var(--tvn-primary);
background:var(--tvn-dark);
}

/* MENU */

.tvn-menu li a:hover{
background:var(--tvn-primary);
}

/* WIDGETS */

.tvn-widget{
border:1px solid var(--tvn-border);
}

/* SIDEBAR LINKS */

.tvn-widget a:hover{
color:var(--tvn-primary);
}

/* FOOTER */

.tvn-footer{
background:var(--tvn-dark);
}

.tvn-footer-column a:hover{
color:var(--tvn-primary);
}

/* SEARCH */

.tvn-search-field:focus{
border-color:var(--tvn-primary);
box-shadow:0 0 0 3px rgba(14,152,214,.15);
}

.tvn-search-button{
background:var(--tvn-primary);
}

/* PAGINATION */

.page-numbers.current,
.page-numbers:hover{
background:var(--tvn-primary);
border-color:var(--tvn-primary);
}

/* COMMENTS */

.reply a,
.submit{
background:var(--tvn-primary);
}

.reply a:hover,
.submit:hover{
background:#007cb0;
}

/* SCROLL TOP */

.tvn-scroll-top{
background:var(--tvn-primary);
}

/* BLOCKQUOTE */

blockquote{
border-left:4px solid var(--tvn-primary);
}

/* FORMS */

input:focus,
textarea:focus{
border-color:var(--tvn-primary);
}

/* SOCIAL */

.facebook{
background:#1877f2;
}

.twitter{
background:#1da1f2;
}

.instagram{
background:#e1306c;
}

.youtube{
background:#ff0000;
}

.telegram{
background:#0088cc;
}

.whatsapp{
background:#25d366;
}



