/* === ОСНОВА === */
body{font-family:"Segoe UI",Arial,sans-serif;background:#f5f7fa;color:#222;}
a{color:#003b8e;text-decoration:none;}
a:hover{text-decoration:underline;}
main.content{max-width:1100px;margin:20px auto;background:#fff;border-radius:8px;padding:20px;box-shadow:0 2px 8px rgba(0,0,0,0.07);}
h2.page-title{text-align:center;color:#003b8e;margin-bottom:20px;}
/* === НОВОСТИ === */
.news-grid{display:flex;flex-wrap:wrap;gap:20px;justify-content:center;}
.news-card{width:20%;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 5px rgba(0,0,0,.1);transition:.3s;}
.news-card:hover{transform:scale(1.03);}
.news-image img{width:100%;height:150px;object-fit:cover;}
.news-info{padding:10px;background:#fff;}
.news-info h3{font-size:1em;margin-bottom:5px;color:#003b8e;}
.news-info p{font-size:.9em;}
.watch-video{text-align:center;font-weight:600;color:#fff;background:#da2228;border-radius:6px;padding:6px;margin-top:8px;transition:background .3s;}
.watch-video:hover{background:#bf1c22;}
@media(max-width:992px){.news-card{width:45%;}}
@media(max-width:768px){.news-card{width:90%;}}

/* === СТРАНИЦА ОДНОЙ НОВОСТИ === */
.single-news h2{color:#003b8e;margin-bottom:10px;}
.news-text{margin-bottom:10px;}
.news-gallery{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:15px;}
.news-gallery img{max-width:48%;border-radius:6px;object-fit:cover;}
.news-video-list{display:flex;flex-direction:column;gap:10px;}
.news-video-list iframe{width:100%;height:350px;border:0;border-radius:6px;}
/* ================================
   СТРАНИЦА "СВЕДЕНИЯ ОБ ОРГАНИЗАЦИИ"
=================================== */

/* Контейнер: меню + контент */
.about-container {
  display: flex;
  gap: 20px;
}

/* ------- МЕНЮ ПОДПУНКТОВ ------- */
.about-menu {
  flex: 0 0 25%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-menu-item {
  display: block;
  background: rgba(0,59,142,0.1);
  color: #003b8e;
  padding: 8px 10px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  opacity: .7;
  transition: all .3s;
}
.about-menu-item:hover {
  opacity: .9;
}
.about-menu-item.active {
  background: #da2228;
  color: #fff;
  opacity: 1;
}

/* ------- ОСНОВНОЙ КОНТЕНТ ------- */
.about-content {
  flex: 1 1 75%;
}
.about-article {
  background: #fff;
  border-radius: 8px;
  padding: 15px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.about-title {
  color: #003b8e;
  margin-bottom: 10px;
  font-size: 1.3em;
}
.about-text {
  text-indent: 25px;
  margin-bottom: 15px;
  line-height: 1.6;
  color: #222;
}
.about-text p + p { margin-top: 10px; }

/* ------- ИЗОБРАЖЕНИЯ ------- */
.about-img {
  margin-bottom: 10px;
  text-align: center;
}
.about-img img {
  max-width: 90%;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.about-img a:hover img {
  opacity: .9;
}

/* ------- ФАЙЛЫ ------- */
.about-files {
  margin-top: 15px;
}
.about-files h4 {
  color: #003b8e;
  margin-bottom: 8px;
}
.about-file-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.file-btn {
  display: inline-block;
  background: rgba(0,59,142,0.1);
  color: #003b8e;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .3s, color .3s;
}
.file-btn:hover {
  background: #da2228;
  color: #fff;
}

/* ------- АДАПТИВ ------- */
@media(max-width:992px) {
  .about-container {
    flex-direction: column;
  }
  .about-menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
  }
  .about-menu-item {
    flex: 1 0 calc(50% - 6px);
    text-align: center;
  }
}
@media(max-width:576px) {
  .about-menu-item {
    flex: 1 0 100%;
  }
  .about-menu-item.active {
    background: #da2228;
    color: #fff;
    opacity: 1;
  }
}
/* ======= СТРАНИЦА АВТОШКОЛА ======= */
.auto-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.auto-title {
  flex: 1 1 33%;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.2em;
  padding: 10px;
  border-radius: 10px;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(3px);
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.auto-title.block1{background-color:#d69390;}
.auto-title.block2{background-color:#6b6d4a;}
.auto-title.block3{background-color:#47c628;}

.auto-section h2{
  color:#003b8e;
  margin:20px 0 10px;
}
.auto-text p{
  text-indent:25px;
  line-height:1.6;
  margin-bottom:10px;
}
.auto-gallery{
  display:flex;
  flex-wrap:wrap;
  gap:15px;
}
.auto-item{
  flex:1 1 30%;
  background:#fff;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 2px 6px rgba(0,0,0,0.08);
  padding:8px;
  text-align:center;
}
.auto-item img{
  width:100%;
  border-radius:6px;
  margin-bottom:6px;
}
.auto-item p{
  font-size:0.9em;
  color:#333;
  line-height:1.4;
}
@media(max-width:992px){
  .auto-header{flex-direction:column;}
  .auto-title{flex:1 0 100%;}
  .auto-item{flex:1 1 45%;}
}
@media(max-width:768px){
  .auto-item{flex:1 1 100%;}
}
/* ======= СТРАНИЦА КУРСЫ ======= */
.courses-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.course-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 15px 20px;
}
.course-item h3 {
  color: #003b8e;
  margin-bottom: 10px;
}
.course-description {
  line-height: 1.6;
  text-indent: 25px;
  color: #222;
}