/* 
Theme Name: des55
Description: Тема для сайта des55.ru
Version: 1.1
Author: dontdonkmedonks
Author URI: https://vk.com/dontdonkmedonks
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #121212;
    color: #d1d1d1;
    line-height: 1.6;
}

/* Контейнер */
.container {
    width: 80%;
    margin: 0 auto;
    display: flex;
     flex-wrap: nowrap;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
    color: #d1d1d1;
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 { font-size: clamp(28px, 3vw, 36px); }
h2 { font-size: clamp(24px, 2.5vw, 32px); }
h3 { font-size: clamp(20px, 2vw, 28px); }
h4 { font-size: clamp(18px, 1.8vw, 24px); }
h5 { font-size: clamp(16px, 1.5vw, 20px); }
h6 { font-size: clamp(14px, 1.2vw, 18px); }

/* Ссылки */
a {
    color: #FFD700;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover, a:focus {
    color: #e5c100;
    text-decoration: none;
}
h1 a, h2 a {
    color: #fefefe;
}
/* Кнопки */
button, input[type="submit"], .btn {
    background-color: #FFD700;
    color: #000;
    border: none;
    border-radius: 5px;
    padding: 0.5vw 1.5vw;
    cursor: pointer;
    font-size: clamp(14px, 1vw, 16px);
    transition: all 0.3s ease;
}

button:hover, input[type="submit"]:hover, .btn:hover {
    background-color: #e5c100;
}

/* Списки */
ul, ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}
footer ul li {
    display: inline;
    padding-right: 10px;
}

/* Таблицы */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #1a1a1a;
}

th, td {
    border: 1px solid #333;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #000;
    color: #d1d1d1;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #1a1a1a;
}

tr:hover {
    background-color: #222;
}

/* Формы */
input, textarea, select {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: #1a1a1a;
    color: #d1d1d1;
    font-size: 1rem;
}

input:focus, textarea:focus, select:focus {
    border-color: #FFD700;
    outline: none;
}

/* Шапка */
header {
    background-color: #000;
    padding: 2vw 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: 0 auto;
    font-size: clamp(16px, 1.2vw, 24px);
    border-bottom: 0.2vw solid #444;
}

.header-logo {
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: bold;
    color: #d1d1d1;
}

.header-logo span {
    color: #FFD700;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    color: #FFD700;
    text-decoration: none;
    padding: 0.5vw 1vw;
    margin: 0 0.5vw;
    font-size: clamp(14px, 1vw, 16px);
    font-weight: 500;
}

nav a:hover {
    background-color: #FFD700;
    color: #000;
}

.get-started-btn {
    background-color: #FFD700;
    color: #000;
    padding: 0.5vw 1.5vw;
    border-radius: 5px;
    font-size: clamp(14px, 1vw, 16px);
    font-weight: 500;
    text-decoration: none;
    margin-left: 1vw;
}

.get-started-btn:hover {
    background-color: #e5c100;
}

.header-tagline {
    font-size: clamp(14px, 1vw, 18px);
    font-weight: 300;
    color: #d1d1d1;
    text-align: center;
    margin-top: 1vw;
}

/* Сайдбары */
.side-bar {
    background-color: #1a1a1a;
    color: #d1d1d1;
    padding: 1vw;
    margin-bottom: 1vw;
}

.side-bar-left { width: 25%; }
.side-bar-right { width: 25%; }

.side-bar-left nav a {
    display: block;
    padding: 0.5vw 0;
    margin: 0;
    font-size: clamp(14px, 1vw, 16px);
    font-weight: 500;
}

/* Основной контент */
.main-content {
    width: 50%;
    background-color: #1a1a1a;
    padding: 1vw;
    margin-bottom: 1vw;
}
.entry-content img {
    max-width: 100%;
    height: auto;
    display: block;
}
.alignright{
    float:right;
    padding:20px 0 20px 20px;
}
.alignleft{
    float:left;
    padding:20px 20px 20px 0;
}
.alignleft::after , .alignright::after {
    content: "";
    display: block;
    clear: both;
}
.breadcrumbs ol {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb-list li + li:before {
    content: " > ";
    margin: 0 5px;
    color: #999;
}
.news-item, .quote-item {
    background-color: #000;
    padding: 1vw;
    margin-bottom: 1vw;
    border-radius: 0.5vw;
    box-shadow: 0 0.2vw 0.4vw rgba(0,0,0,0.1);
}

.news-item h3, .quote-item h3 {
    font-size: clamp(16px, 1.2vw, 18px);
    margin-bottom: 0.5vw;
}

.news-item p, .quote-item p {
    font-size: clamp(12px, 0.9vw, 14px);
    color: #ccc;
}

.news-item img, .quote-item img {
    width: 100%;
    height: auto;
    border-radius: 0.5vw;
    margin-bottom: 0.5vw;
}

/* Категории */
.category-title {
    font-weight: bold;
    font-size: clamp(18px, 1.5vw, 20px);
    margin-bottom: 0.5vw;
}

/* Цитаты */
blockquote {
    border-left: 4px solid #FFD700;
    padding-left: 1rem;
    margin: 1rem 0;
    color: #ccc;
    font-style: italic;
    background-color: #1a1a1a;
    border-radius: 5px;
}

/* Футер */
footer {
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 1vw;
    font-size: clamp(12px, 0.9vw, 14px);
    margin-top: 1vw;
    width: 80%;
    margin: 0 auto;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .container {
        flex-wrap: wrap;
        width: 90%;
    }
    .side-bar-left, .side-bar-right, .main-content {
        width: 100%;
    }
    header, footer {
        width: 90%;
    }
}