body {
margin: 0;
background: #0b0f12;
color: #ffffff;
font-family: Arial, Helvetica, sans-serif;
}

/* ==========================================
ГЛАВНАЯ КАРТИНКА (HERO)

Файл:
images/hero-main.webp

Если хочешь поменять картинку:
меняй путь ниже
========================================== */

.hero {
height: 80vh;
background: url('images/hero.jpg') center center / cover no-repeat;
}

.overlay {
background: rgba(0, 0, 0, 0.45);
height: 100%;
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 40px;
}

.logo img{
    height:80px;
    width:auto;
}

.logo{
    font-size:24px;
    font-weight:bold;
    letter-spacing:2px;
}

nav ul{
    display:flex;
    gap:25px;
    list-style:none;
    margin:0;
    padding:0;
}

nav li{
    list-style:none;
}

nav ul li a{
    color:#ffffff;
    text-decoration:none;
    transition:.2s;
}

nav ul li a:visited{
    color:#ffffff;
}

nav ul li a:hover{
    color:#e56a13;
}

nav ul li a:active{
    color:#ffffff;
}

/* ==========================================
ТЕКСТ НА БАННЕРЕ
========================================== */

.hero-text {
max-width: 500px;
padding: 120px 60px;
}

.hero-text h1 {
font-size: 40px;
line-height: 1.1;
margin-bottom: 20px;
}

.hero-text p {
font-size: 18px;
color: #d0d0d0;
}

/* ==========================================
КНОПКА
========================================== */

.btn {
display: inline-block;
margin-top: 20px;
background: #e56a13;
color: white;
text-decoration: none;
padding: 12px 24px;
border-radius: 4px;
transition: 0.2s;
}

.btn:hover {
background: #ff7d21;
}

/* ==========================================
СЕКЦИИ САЙТА
========================================== */

section {
padding: 40px 30px;
}

section h2 {
margin-bottom: 20px;
font-size: 22px;
letter-spacing: 1px;
}
.about {
    max-width: 1100px;
    margin: 0 auto;
}

.about h2 {
    text-align: center;
    margin-bottom: 30px;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.about-text {
    max-width: 900px;
    line-height: 1.8;
}


/* ==========================================
КОЛИЧЕСТВО КАРТОЧЕК В РЯД

Меняй цифру 6

4 = четыре карточки
5 = пять карточек
6 = шесть карточек
7 = семь карточек
8 = восемь карточек
========================================== */

.grid {
display: grid;
grid-template-columns: repeat(6, 1fr);
gap: 15px;
}

/* ==========================================
КАРТОЧКИ ВИДЕО
========================================== */

.card {
background: #141a20;
border-radius: 6px;
overflow: hidden;
transition: all 0.2s ease;
}

.card:hover {
transform: translateY(-3px);
}

/* ==========================================
РАЗМЕР ПРЕВЬЮ ВИДЕО

height: 110px  = компактно
height: 130px  = средне
height: 150px  = крупно
========================================== */

.card img {
width: 100%;
height: 110px;
object-fit: cover;
display: block;
}

/* ==========================================
ССЫЛКИ

Белые всегда
При наведении оранжевые
========================================== */

.card a {
display: block;
color: #ffffff;
text-decoration: none;
}

.card a:visited {
color: #ffffff;
}

.card a:hover {
color: #e56a13;
}

/* ==========================================
ЗАГОЛОВКИ ВИДЕО

font-size: 12px = компактно
font-size: 13px = средне
font-size: 14px = крупнее
========================================== */

.card h3 {
font-size: 12px;
line-height: 1.3;
padding: 8px;
margin: 0;
font-weight: 500;
}

/* ==========================================
БЛОК ABOUT
========================================== */

.about p {
max-width: 900px;
line-height: 1.7;
color: #c8c8c8;
}

/* ==========================================
FOOTER
========================================== */

footer {
padding: 30px;
text-align: center;
color: #888;
border-top: 1px solid #222;
}

/* ==========================================
АДАПТАЦИЯ ПОД ЭКРАНЫ

Если хочешь изменить количество карточек
на конкретном размере экрана —
меняй цифру после repeat(...)
========================================== */

@media (max-width: 1400px) {
.grid {
grid-template-columns: repeat(5, 1fr);
}
}

@media (max-width: 1100px) {
.grid {
grid-template-columns: repeat(4, 1fr);
}
}

@media (max-width: 900px) {
.grid {
grid-template-columns: repeat(3, 1fr);
}

```
.hero-text h1 {
    font-size: 48px;
}
```

}

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

```
nav {
    flex-direction: column;
    gap: 15px;
}

nav ul {
    flex-wrap: wrap;
    justify-content: center;
}

.hero-text {
    padding: 80px 20px;
}

.hero-text h1 {
    font-size: 36px;
}
```

}

@media (max-width: 480px) {
.grid {
grid-template-columns: 1fr;
}
}


/* ==========================================
ARTICLE PAGE
========================================== */

.article {
max-width: 900px;
margin: 60px auto;
padding: 0 20px;
}

.article h1 {
font-size: 42px;
margin-bottom: 25px;
line-height: 1.2;
}

.article h2 {
margin-top: 40px;
margin-bottom: 15px;
font-size: 28px;
}

.article img {
width: 100%;
border-radius: 10px;
margin-bottom: 30px;
display: block;
}

.article p {
font-size: 18px;
line-height: 1.9;
color: #d0d0d0;
margin-bottom: 20px;
}

.article ul {
margin-bottom: 25px;
padding-left: 25px;
}

.article li {
color: #d0d0d0;
margin-bottom: 10px;
}

.article a {
color: #e56a13;
}

.article a:hover {
color: #ff7d21;
}


/* ==========================================
   ARTICLE HEADER
========================================== */

.article-header{
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-bottom: 1px solid rgba(255,255,255,.08);
    margin-bottom: 50px;
}

.article-logo img{
    height: 60px;
    width: auto;
}

.article-nav{
    display: flex;
    gap: 35px;
}

.article-nav a{
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: .2s;
}

.article-nav a:hover{
    color: #e56a13;
}

/* ==========================================
ARTICLE PAGE
========================================== */

.article{
    max-width:900px;
    margin:60px auto;
    padding:0 20px;
}

.article h1{
    font-size:48px;
    line-height:1.2;
    margin-bottom:20px;
}

.article h2{
    font-size:30px;
    margin-top:50px;
    margin-bottom:20px;
}

.article p{
    font-size:18px;
    line-height:1.9;
    color:#d0d0d0;
    margin-bottom:20px;
}

.article img{
    width:100%;
    border-radius:10px;
    margin:30px 0;
}

.article ul{
    padding-left:25px;
}

.article li{
    color:#d0d0d0;
    margin-bottom:10px;
}

/* ==========================================
VIDEO
========================================== */

.video-container{
    max-width:900px;
    margin:50px auto;
    padding:0 20px;
}

.video-container iframe{
    width:100%;
    aspect-ratio:16/9;
    border:none;
    border-radius:10px;
}

/* ==========================================
ARTICLE HERO
========================================== */

.post-hero{
    position:relative;
    height:650px;

    background-image:url("images/article-banner.jpg");
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
}

.post-hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
}

.hero-overlay{
    position:relative;
    z-index:2;

    max-width:1400px;
    height:100%;
    margin:0 auto;

    display:flex;
    flex-direction:column;
}

.article-header{
    display:flex;
    justify-content:space-between;
    align-items:center;

    width:100%;
    box-sizing:border-box;

    padding:30px 25px;
}

.article-logo img{
    height:90px;
    width:auto;
}

.article-nav{
    display:flex;
    gap:40px;
}

.article-nav a{
    color:#ffffff;
    text-decoration:none;
    font-size:17px;
    font-weight:600;
    transition:.2s;
}

.article-nav a:hover{
    color:#e56a13;
}

.hero-content{
    margin-top:auto;
    padding:0 60px 80px;
}

.hero-content h1{
    font-size:72px;
    line-height:1.05;
    max-width:900px;
    margin-bottom:20px;
}

.hero-content p{
    color:#d0d0d0;
    font-size:20px;
}


/* ==========================================
FOOTER
========================================== */

footer{
    margin-top:80px;
    padding:40px 20px;
    text-align:center;
    border-top:1px solid rgba(255,255,255,.08);
}

.footer-menu{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
    margin-bottom:20px;
}

.footer-menu a{
    color:#ffffff;
    text-decoration:none;
    transition:.2s;
}

.footer-menu a:hover{
    color:#e56a13;
}

footer p{
    color:#888;
    font-size:14px;
}


```css
/* ==========================================
BLOG PAGE
========================================== */

.blog-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
margin-top:40px;
}

.blog-card{
background:#141a20;
border-radius:10px;
overflow:hidden;
text-decoration:none;
transition:.2s;
}

.blog-card:hover{
transform:translateY(-5px);
}

.blog-card img{
width:100%;
height:220px;
object-fit:cover;
display:block;
}

.blog-card h3{
padding:20px;
margin:0;
font-size:20px;
color:#ffffff;
line-height:1.4;
}

@media(max-width:900px){

.blog-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:600px){

.blog-grid{
grid-template-columns:1fr;
}

}

/* ==========================================
VIDEOS PAGE
========================================== */

.video-list{
    max-width:1400px;
    margin:40px auto;
    padding:0 20px;

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

.video-card{
    background:#141a20;
    border-radius:8px;
    overflow:hidden;

    display:flex;
    flex-direction:column;
}

.video-card img{
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
    display:block;
}

.video-card-content{
    padding:12px;
    flex:1;
}

.video-card-content h3{
    margin:0 0 8px;
    font-size:15px;
    line-height:1.4;
}

.video-card-content p{
    font-size:13px;
    line-height:1.5;
}

.video-links{
    margin-top:auto;
}

@media(max-width:1000px){
    .video-list{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:700px){
    .video-list{
        grid-template-columns:1fr;
    }
}




.video-links a{
    color:#e56a13;
    text-decoration:none;
    font-size:13px;
}

.video-links a:visited{
    color:#e56a13;
}

.video-links a:hover{
    color:#ff7d21;
}

.video-links a:active{
    color:#e56a13;
}



/* ==========================================
FOOTER SOCIALS
========================================== */

.footer-links{
    margin-top:15px;

    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.footer-links a{
    color:#d0d0d0;
    text-decoration:none;
    transition:.2s;
}

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