@import "./reset.css";
@import url('http://fonts.googleapis.com/css2?famili=Poppins:wght@400;500;600;700&display=swap');
@import "./news.css";
@import "./radio.css";
@import "./actual.css";
@import "./reklama.css";
@import "./video-news.css";
@import "./program-page.css";
@import "./vnewsdetail.css";
@import "./on-line.css";

/* Основные стили */
:root {
    --primary: #ff0000; /* Красный как у YouTube */
    --secondary: #282828;
    --dark: #0f0f0f;
    --light: #ffffff;
    --gray: #606060;
    --light-gray: #f9f9f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', Arial, sans-serif;
}

body {
    background-color: var(--light-gray);
    color: var(--secondary);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/*HEADER*/
.header{
    width: 100%;
    background-image:url(../img/Logo-img.png);
    
}
.contact_us
{
    width: 100%;
padding-top: 10px;
padding-bottom: 10px;
color:#CCCCCC;
font-size: 1.1em;
display: flex;
justify-content: space-between;
}

.contact_us>#tel_number
{
color: #EEEEEE;
font-weight:700;
}

.header-logo
{
    width: 100%;
padding-top: 20px;
padding-bottom: 10px;


background-size: 100%;
}
.social{
display: flex;
justify-content: right;
}
.header img
{
    padding-left: 30px;
max-width: 25%;
max-height: 100px;
}

.header-nav
{
  width: 100%;
margin-bottom: 1px;
padding-top: 15px;
padding-bottom: 10px;
display: table;
-webkit-box-shadow: 0 10px 6px -6px #777;
-moz-box-shadow: 0 10px 6px -6px #777;
box-shadow: 0 10px 6px -6px #777;
}

.header-nav>ul
{
width: 100%;
text-align: center;
display: table-cell;
vertical-align: middle;
}

.header-nav ul #last_item
{
border-right: 0px;
}

.header-nav ul li
{
width: 20%;
border-right: 1px solid #707070;
display: inline;
vertical-align: baseline;
}

.header-nav ul li a
{
color: #FFFFFF;
font-style: normal;
text-decoration: none;
vertical-align:baseline;
text-align:center;
margin-left: 2%;
margin-right: 2%;
font-size:1.1em;
font-weight:600;
}

.header-nav ul li a:hover
{
   
color:#110505;
}
/*HEADER*/

/* Главный слайдер */
        .main-slider {
            margin: 20px 0 40px;
            position: relative;
        }
        
        .slider-container {
            position: relative;
            height: 500px;
            overflow: hidden;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        
        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s ease-in-out;
        }
        
        .slide.active {
            opacity: 1;
        }
        
        .slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .slide-content {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 30px;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            color: white;
        }
        
        .slide-category {
            display: inline-block;
            background-color: var(--primary);
            color: white;
            padding: 4px 12px;
            border-radius: 4px;
            font-size: 12px;
            margin-bottom: 10px;
            text-transform: uppercase;
        }
        
        .slide-title {
            font-size: 28px;
            margin-bottom: 10px;
            line-height: 1.3;
        }
        
        .slide-description {
            font-size: 16px;
            margin-bottom: 15px;
            max-width: 70%;
        }
        .slide a {
            display: block;
            position: relative;
            z-index:10;
        }
        .slide a img {
            width: 100%;
            height: auto;
            display: block;
        }
        
        .slider-nav {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            z-index: 10;
        }
        
        .slider-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: rgba(255,255,255,0.5);
            margin: 0 5px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .slider-dot.active {
            background-color: var(--primary);
        }
        
        
        /*Видео новости на главной*/

.section-title {
    font-size: 24px;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 10px;
    color: var(--primary);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.video-card {
    background-color: var(--light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

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

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.video-thumbnail iframe{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
    opacity: 0.9;
    transition: all 0.3s;
}

.video-card:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 12px;
}

.video-info {
    padding: 15px;
}

.video-title {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.4;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 13px;
}


/* Рекламная секция секция */
.Reklama-section {
    background-color: var(--secondary);
    color: white;
    padding: 30px 0;
    margin: 40px 0;
}

.Reklama-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.Reklama-badge {
    background-color: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.Reklama-badge i {
    margin-right: 8px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.Reklama-title {
    font-size: 20px;
    margin: 0 20px;
    flex-grow: 1;
}

.Reklama-button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.Reklama-button:hover {
    background-color: #cc0000;
}
/* Новостная лента */
 .news-feed {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.news-column {
    background-color: var(--light);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.news-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.news-image {
    width: 120px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 15px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-image iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    flex-grow: 1;
}

.news-category {
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 5px;
}

.news-title {
    font-size: 16px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.news-meta {
    font-size: 12px;
    color: var(--gray);
}
/*programmy na glavnoy*/

.programm-zagolovok{
    min-width: 100%;
    min-height: 100%;
    position: relative;
    
}

.programm-zagolovok h2{
    height: 40px;
    margin-top: 40px;
    background-image: linear-gradient(to right, #003390 0%, #2b5cb3 31%, #cdd4f3 100%);
    color: #fcfdfc;
    font-weight: bold;
    text-indent: 10px;
    border-style: none none solid none;
}

.video-program-new-play{
    padding-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 5px;
    grid-row-gap: 1em;
   
   }


.video-program-new-play iframe{
    max-width: 500px;
    max-height: 390px;
    border-radius: 20px 10px 5px 0;
   }
.item-title{
    padding-top: 10px;
    max-width: 500px;
    text-align: justify;
}   

.item-button-program{
    display: inline;
    margin-top: 30px;
    position: relative;
    
   }
.item-button-news-click{ 
   text-decoration: none;
    display: inline-block;
    color: #fcfdfc;
    padding: 10px 10px;
    margin: 20px 5px;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    background-image: linear-gradient(to right, #003390 0%, #0040ac 51%, #004cb7 100%);
    background-size: 200% auto;
    box-shadow: 5px 0 0 rgba(0, 0, 0, .1);
    transition: .2s;
   }

/*Страница текстовых новостей*/
.news-feed-text {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 30px;
        }
        
        .main-news-text {
            grid-column: 1;
        }
        
        .sidebar {
            grid-column: 2;
        }
        
        .news-card-text {
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            margin-bottom: 25px;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .news-card-text:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .news-card-large-text {
            display: grid;
            grid-template-columns: 1fr 1fr;
        }
        
        .news-card-image-text {
            height: 200px;
            overflow: hidden;
        }
        
        .news-card-large-text .news-card-image-text {
            height: auto;
        }
        
        .news-card-image-text img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        
        .news-card-text:hover .news-card-image-text img {
            transform: scale(1.05);
        }
        
        .news-card-content-text {
            padding: 20px;
        }
        
        .news-card-large-text .news-card-content-text {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .news-category-text {
            display: inline-block;
            padding: 3px 10px;
            background-color: #f0f0f0;
            border-radius: 4px;
            font-size: 12px;
            color: #666;
            margin-bottom: 10px;
        }
        
        .news-card-title-text {
            font-size: 18px;
            margin-bottom: 10px;
            font-weight: bold;
        }
        
        .news-card-large-text .news-card-title-text {
            font-size: 22px;
        }
        
        .news-card-excerpt-text {
            color: #666;
            margin-bottom: 15px;
            font-size: 14px;
        }
        
        .news-card-meta-text {
            display: flex;
            font-size: 12px;
            color: #999;
        }
        
        .news-card-meta-text span {
            margin-right: 15px;
            display: flex;
            align-items: center;
        }
        
        .news-card-meta-text i {
            margin-right: 5px;
            font-size: 14px;
        }
        
        .section-title-text {
            font-size: 22px;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        
        .sidebar-widget-text {
            background-color: white;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 25px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        
        .popular-news-item-text {
            display: flex;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .popular-news-item-text:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }
        
        .popular-news-image-text {
            width: 80px;
            height: 60px;
            border-radius: 4px;
            overflow: hidden;
            margin-right: 15px;
            flex-shrink: 0;
        }
        
        .popular-news-image-text img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .popular-news-title-text {
            font-size: 14px;
            font-weight: bold;
            margin-bottom: 5px;
        }
        
        .popular-news-meta-text {
            font-size: 12px;
            color: #999;
        }
        
        .tags-widget-text {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        
        .tag-text {
            padding: 5px 12px;
            background-color: #f0f0f0;
            border-radius: 4px;
            font-size: 12px;
            color: #555;
        }
        
        .pagination-text {
            display: flex;
            justify-content: center;
            margin: 30px 0;
        }
        
        .pagination-text a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            margin: 0 5px;
            border-radius: 4px;
            background-color: white;
            color: #333;
            text-decoration: none;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            transition: all 0.3s;
        }
        
        .pagination-text a:hover,
        .pagination-text a.active {
            background-color: #2c3e50;
            color: white;
        }


/*Footer*/

.footer{
    background: url(../img/footer-bgm.png);
    color: #fcfdfc;
}
.footer-meny{
    padding-top: 5px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows:repeat(1, 100px);
}

.footer_news{
    text-align: center;
}
.footer_contact{
    text-align: center;
}
.footer_progect{
    text-align: center;
}

.footer_on{
    margin-top: 20px;
    
    background: linear-gradient( #bbbbbf, #b8c5ea);
}
.footer_meny{
    display: flex;
    justify-content: center;
    column-gap: 240px;
    margin-top: 40px; 
}
.footer_copy{
    margin-top: 20px;
    margin-bottom: 20px;
}

.callback-form {display: none;}