:root {
    --radius: 8px;
    --transition: all 0.3s ease;
    --primary-drone: #8bbcdc;
    --secondary: #f8f9fa;
    --border: #e1e5eb;
    --border-color: #e1e5eb;
}

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

body {
    line-height: 1.6;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--drone-blue), var(--robot-gold));
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
    color: white;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    color: white;
}

.logo img {
    width: 200px;
    margin-top: 3px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
}

.ul-no-dot li {
  list-style-type: none;
  /* Убираем маркеры */
}

.header-nav a {
    color: #ecf0f1;
}

.header-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #3498db;
}

.header-nav a.active {
    background-color: rgba(52, 152, 219, 0.2);
    color: #3498db;
}

.article-image {
    height: 180px;
    background: linear-gradient(135deg, var(--drone-blue), var(--robot-gold));
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    margin-top: 70px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.medium-size-image-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 450px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-drone);
    box-shadow: 0 0 0 3px rgba(139, 188, 220, 0.2);
}

textarea.form-control {
    min-height: 200px;
    resize: vertical;
    line-height: 1.6;
}

/* Поиск */
.search-box {
    display: flex;
    margin-bottom: 15px;
}

.search-input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
}

.search-btn {
    padding: 0 20px;
    background-color: var(--primary-drone);
    color: white;
    border: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background-color: #76a8d0;
}

/* Боковая панель */
.sidebar-widget {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.widget-header {
    padding: 15px 20px;
    background-color: var(--secondary);
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    color: var(--primary-dark);
}

.text-center {
  text-align: center !important;
}

.widget-content {
    padding: 20px;
}

/* ФУТЕР */
footer {
    padding: 60px 0px 30px;
}

.site-footer {
    visibility: visible;
}

.footer-container {
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 1.2em;
}

.footer-column a {
    display: block;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media screen and (max-width: 768px) {
    .nav-container {
        padding: 0 10px;
    }
}

@media screen and (min-wdth: 768px) {
    .hero-container {
        padding: 0 20px;
    }
}

@media (max-wdth: 912px) {
    .footer-container {
        gap: 80px;
    }
}

@media (max-wdth: 1024px) {
    .footer-container {
        padding: 20px 0;
    }

    .site-footer {
        padding: 20px 0;
    }
    
    footer {
        margin-top: 0px;
    }
}

@media screen and (min-wdth: 1024px) {
    .navbar {
        padding: 15px;
    }
    .sidebar {
        position: sticky;
        height: fit-content;
    }
}

