.container_img { width: 50%; border-radius: 20px; padding: 5px; } .container_vizit_img { padding: 15px 5px; border-radius: 30px; } p { text-indent: 30px; } @media (max-width: 768px) { .container_img, .container_vizit_img { width: 100%; padding: 15px 5px; border-radius: 30px; } } .container-p-3 { padding: 10px; } .fon-v { text-align: justify; } .fon-vus { border-radius: 20px; background: linear-gradient(0deg, #000 00%, #012d0c 50%, #000 100%); } /* Скрываем содержимое по умолчанию */ #collapseContent, #collapseContent_2 { display: none; margin-top: 15px; } /* Сделать видимым, когда активен */ #collapseContent.show, #collapseContent_2.show { display: block; } /*ТАБЛИЦА*/ .table-responsive { max-height: 620px; overflow-y: auto; } table { border-collapse: collapse; } /*Кнопка расскрытия*/ .image-container { position: relative; max-width: 800px; width: 100%; padding: 0 0 30px 0; } .more-info-overlay { position: absolute; bottom: 0; width: 100%; height: 40px; background-color: rgba(184, 179, 179, 0.5); color: #fff; cursor: pointer; font-weight: bold; font-size: 14px; opacity: 0.5; transition: opacity 0.3s; border-radius: 0 0 20px 20px; } .more-info-overlay:hover { opacity: 0.8; } /* Улучшенные стили для таблиц */ .table-bordered { background-color: rgba(255, 255, 255, 0.95); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); } .table-bordered thead { background-color: #28a745; color: white; } .table-bordered tbody tr:nth-child(even) { background-color: rgba(40, 167, 69, 0.1); } .table-bordered tbody tr:hover { background-color: rgba(40, 167, 69, 0.2); } /* Адаптивные изображения */ img[loading="lazy"] { opacity: 1; transition: opacity 0.3s ease-in-out; } /* Улучшенные заголовки */ /* ============================================ КАТАЛОГ ВУЗОВ (pages/vus/index.vue) ============================================ */ /* Блок каталога на всю ширину */ .vus-catalog { padding: 2rem 0; } /* Заголовок-приветствие */ .vus-catalog__intro { max-width: 800px; margin: 0 auto 2.5rem; } .vus-catalog__intro h3 { color: #ccc; text-align: center; font-size: 1.4rem; line-height: 1.6; } .vus-catalog__intro p { text-align: justify; color: #ccc; } /* Карточки-ссылки в каталоге */ .vus-catalog__grid { display: flex; flex-direction: column; gap: 1.5rem; max-width: 900px; margin: 0 auto; } .vus-catalog__card { display: block; text-decoration: none; color: inherit; border-radius: 20px; background: linear-gradient( 0deg, rgba(0, 0, 0, 0.85) 0%, rgba(1, 45, 12, 0.95) 50%, rgba(0, 0, 0, 0.85) 100% ); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); } .vus-catalog__card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5); } .vus-catalog__card-inner { display: flex; flex-direction: row; gap: 1.5rem; padding: 1.25rem; align-items: center; } .vus-catalog__image { flex-shrink: 0; width: 200px; height: 140px; border-radius: 12px; overflow: hidden; } .vus-catalog__image img { width: 100%; height: 100%; object-fit: cover; display: block; } .vus-catalog__info { flex: 1; min-width: 0; } .vus-catalog__name { color: #ccc; font-size: 1.2rem; margin: 0 0 0.25rem; line-height: 1.3; } .vus-catalog__city { color: #999; font-size: 0.9rem; margin-bottom: 0.5rem; } .vus-catalog__summary { color: #ccc; font-size: 0.95rem; line-height: 1.4; margin-bottom: 0.75rem; } .vus-catalog__badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.75rem; } .vus-catalog__badge { display: inline-block; padding: 0.2rem 0.6rem; font-size: 0.75rem; border-radius: 12px; background-color: rgba(40, 167, 69, 0.25); color: #90ee90; border: 1px solid rgba(40, 167, 69, 0.4); } .vus-catalog__cta { display: inline-block; padding: 0.5rem 1.25rem; font-size: 0.9rem; font-weight: 600; color: #fff; background-color: #28a745; border: 1px solid #28a745; border-radius: 8px; text-decoration: none; transition: background-color 0.2s ease, color 0.2s ease; } .vus-catalog__cta:hover { background-color: transparent; color: #28a745; } /* ============================================ СТРАНИЦА ВУЗА (pages/vus/[slug].vue) ============================================ */ /* Блок подробной информации */ .vus-detail__content { max-width: 900px; margin: 0 auto; padding: 2rem 0; } .vus-detail__hero { text-align: center; margin-bottom: 1.5rem; } .vus-detail__hero img { max-width: 100%; height: auto; border-radius: 20px; padding: 10px 0; } .vus-detail__back { display: inline-block; margin-bottom: 1rem; color: #ccc; text-decoration: none; transition: color 0.2s ease; } .vus-detail__back:hover { color: #28a745; text-decoration: underline; } .vus-detail__other { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); } .vus-detail__other h3 { color: #ccc; text-align: center; margin-bottom: 1.5rem; } .vus-detail__other-grid { display: flex; flex-direction: column; gap: 1rem; max-width: 700px; margin: 0 auto; } /* Блок "После зачисления" */ .vus-enrollment { margin-top: 2rem; } .vus-enrollment__table { background-color: rgba(255, 255, 255, 0.95); border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); } .vus-enrollment__table thead { background-color: #28a745; color: white; } .vus-enrollment__table th, .vus-enrollment__table td { padding: 0.5rem 0.75rem; vertical-align: top; } .vus-enrollment__table td { font-size: 0.9rem; line-height: 1.5; } .vus-enrollment__table td ul { margin: 0; padding-left: 1.2rem; } .vus-enrollment__table td li { margin-bottom: 0.25rem; } /* ============================================ СТРАНИЦА ВУЗА (pages/vus/[slug].vue) ============================================ */ /* Шапка страницы: название, город, чипы характеристик */ .vus-detail__header { text-align: center; padding: 1rem 0 0.5rem; } .vus-detail__title { color: #fff; font-size: 1.7rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.4rem; } .vus-detail__location { color: #90ee90; font-size: 1rem; margin-bottom: 1rem; } .vus-detail__badges { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 1.5rem; padding: 0; list-style: none; } .vus-detail__badge { display: inline-block; padding: 0.3rem 0.8rem; font-size: 0.8rem; border-radius: 14px; background-color: rgba(40, 167, 69, 0.25); color: #90ee90; border: 1px solid rgba(40, 167, 69, 0.4); } /* Hero-изображение в карточке */ .vus-detail__hero-card { border-radius: 20px; overflow: hidden; background: linear-gradient( 0deg, rgba(0, 0, 0, 0.85) 0%, rgba(1, 45, 12, 0.95) 50%, rgba(0, 0, 0, 0.85) 100% ); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4); padding: 0.75rem; margin-bottom: 2rem; } .vus-detail__hero-card img { width: 100%; height: auto; display: block; border-radius: 14px; } /* Карточка контактной информации */ .vus-detail__contacts-card { border-radius: 20px; background: linear-gradient( 0deg, rgba(0, 0, 0, 0.85) 0%, rgba(1, 45, 12, 0.95) 50%, rgba(0, 0, 0, 0.85) 100% ); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); padding: 1.5rem; } .vus-detail__contacts-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 1rem; } .vus-detail__contacts-label { color: #90ee90; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.25rem; } .vus-detail__contacts-value { color: #ccc; margin-bottom: 1rem; } /* Мини-карточки «Другие вузы» */ .vus-detail__other-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; } .vus-detail__other-card { display: flex; align-items: center; gap: 1rem; text-decoration: none; color: inherit; border-radius: 16px; background: linear-gradient( 0deg, rgba(0, 0, 0, 0.85) 0%, rgba(1, 45, 12, 0.95) 50%, rgba(0, 0, 0, 0.85) 100% ); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); padding: 0.9rem 1.1rem; transition: transform 0.2s ease, box-shadow 0.2s ease; } .vus-detail__other-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5); color: inherit; } .vus-detail__other-card img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; flex-shrink: 0; } .vus-detail__other-name { color: #ccc; font-size: 0.95rem; line-height: 1.3; } .vus-detail__other-arrow { margin-left: auto; color: #28a745; font-size: 1.2rem; flex-shrink: 0; } /* ============================================ АДАПТИВНОСТЬ ============================================ */ @media (max-width: 768px) { .vus-catalog__card-inner { flex-direction: column; text-align: center; } .vus-catalog__image { width: 100%; height: 200px; } .vus-catalog__badges { justify-content: center; } .vus-catalog__cta { width: 100%; text-align: center; } .vus-enrollment__table { font-size: 0.85rem; } .vus-detail__title { font-size: 1.3rem; } .vus-detail__hero-card { padding: 0.5rem; margin-bottom: 1.5rem; } .vus-detail__other-grid { grid-template-columns: 1fr; } }