body {
    margin:0;
    font-family:'Montserrat', sans-serif;
    background:#f2f5f9;
}

/* верхняя панель */
.top-bar {
    background:#0b5ed7;
    color:white;
    padding:6px 20px;
    display:flex;
    justify-content:space-between;
    font-size:14px;
}

.top-bar a {
    color:white;
    text-decoration:none;
    margin-left:10px;
}

/* шапка */
.header {
    background:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 60px;
}

.logo-block {
    width:70%;
    display:flex;
    align-items:center;
}

.logo {
    width:100px;
    margin-right:10px;
}

.site-title {
    margin-left: 15px;
    width:80%;
    font-size:20px;
    font-weight:600;
}

/* правая часть */
.header-right {
    margin-right:10px;
    display:flex;
    align-items:center;
    gap:15px;
}

/* поиск */
.search-box {
    position:relative;
}

.search-box input {
    padding:8px 35px 8px 12px;
    border-radius:20px;
    border:1px solid #ccc;
    outline:none;
}

.search-box i {
    position:absolute;
    right:10px;
    top:50%;
    transform:translateY(-50%);
    color:gray;
}

/* иконки */
.icons i {
        display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    background-color: #0063c3;
    color: white;
    font-size:14px;
    margin-left:10px;
    cursor:pointer;
    border-radius: 50%;
}

/* меню */
.nav {
    background:#1e73be;
    padding:25px 70px;
    display:flex;
    align-items:center;
}

.nav a {
    color:white;
    margin-right:40px;
    text-decoration:none;
    font-weight:800;
    font-size:16px;
}

/* dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    background: white;
    min-width: 180px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.dropdown-content a {
    display: block;
    color: black;
    margin-right: 0px;
    padding: 10px 15px;
    font-weight: normal;
}

.dropdown-content a:hover {
    background: #f0f0f0;
}

/* активное состояние */
.dropdown.active .dropdown-content {
    display: block;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
}

.dropdown-toggle::after {
    content: "▼";
    margin-left: 6px;
    transition: transform 0.3s ease;
}

/* ВОТ ЭТО ГЛАВНОЕ */
.dropdown.active .dropdown-toggle::after {
    transform: rotate(360deg);
}


/* 🔥 ВАЖНО: ОБЩИЙ КОНТЕЙНЕР */
.container {
    margin-left:40px;
    display:flex;
    align-items:flex-start;
    gap:20px;
    padding:20px;
}

/* sidebar */
.sidebar {
    width:25%;
}

.sidebar-menu {
    
    flex-shrink:0;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
}


.image-box {
  position: relative;
    border-radius:12px;
}
.image-box::before {
  content: "";
    border-radius:12px;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  top: 0;
  left: 0;
}

.image-box img {
    margin-top: 20px;
    width: 100%;
    border-radius:12px;
    height: 30%;
  display: block;
}

.caption {
  position: absolute;
  bottom: 10px; /* снизу */
  left: 10px;   /* слева */
  right: 10px;
  color: #fff;
  font-size: 14px;
  text-align: center;
}
.caption a{
  color: white;
  text-decoration: none;
}
.caption a:hover{
  text-decoration: underline;
}

.sidebar-menu a {
    display:block;
    padding:12px 15px;
    text-decoration:none;
    color:#333;
    border-bottom:1px solid #f1f1f1;
    transition:0.2s;
}

.sidebar-menu a:hover {
    background:#f2f7ff;
    color:#1e73be;
    padding-left:18px;
}

/* контент */
.content {
    flex:1;
    min-width:0;
    display: flex;
  flex-direction: column;
}



.slider-1 {
  width: 100%;
  height: 650px;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider-2 {
  margin-top: 30px;
}

.slider-2 .swiper-slide img {
  background-color: white;  
  margin: 0 30px;
  width: 85%;
  height: 150px;
  object-fit: contain;
  border-radius: 10px;
}


/* новости */


.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}


.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: 0.3s;
   display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-card img {
  width: 100%;
  height: 220px;
}


.news-card > div {
  padding: 15px;
}

.news-date {
  font-size: 12px;
  color: gray;
  margin-bottom: 5px;
}

.news-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}


.news-heading {
  font-size: 30px;
  font-weight: 700;
  color: #1a1a1a;
  position: relative;
  display: inline-block;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.news-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #2b7cff, #00c6ff);
  border-radius: 4px;
}


.news-btn {
  display: inline-block;
  text-align: center;
  margin-top: 10px;
  padding: 20px;
  background-color: #1e73be;
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
}

.news-btn:hover {
  text-decoration: underline;
}
.back-btn{
    display: inline-block;
  text-align: center;
  margin-top: 10px;
  padding: 20px;
  background-color: #1e73be;
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
}
.back-btn:hover {
  text-decoration: underline;
}