        :root {
            --bg-page: radial-gradient(circle at top, #020617 0, #020617 45%, #000 100%);
            --bg-dark: #020617;
            --bg-card: #020617;
            --accent: #22c55e;
            --accent-2: #38bdf8;
            --accent-3: #a855f7;
            --text-main: #e5e7eb;
            --text-soft: #9ca3af;
            --border-soft: #1f2937;
            --radius-lg: 18px;
            --shadow-soft: 0 18px 45px rgba(0,0,0,0.7);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

		h4 {
			margin: revert;
			padding-left: 25px;
		}
		
		p {
			margin: revert;
			padding-left: 25px;
		}

        html {
            scroll-behavior: smooth; /* плавный переход по якорям */
        }

        body {
            font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            background: var(--bg-page);
            color: var(--text-main);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }

        img { max-width: 100%; display: block; }
        a { color: inherit; text-decoration: none; }

        .page { min-height: 100vh; display: flex; flex-direction: column; }

        .container {
            width: 100%;
            max-width: 1180px;
            margin: 0 auto;
            padding: 0 16px;
        }

        /* НЕОНОВЫЕ КРАЯ */

        .neon-edge {
            position: fixed;
            top: 0;
            bottom: 0;
            width: 6px;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.8s ease-out;
            z-index: 80;
            background:
                linear-gradient(180deg,
                    rgba(34,197,94,0.1),
                    rgba(56,189,248,0.8),
                    rgba(168,85,247,0.1));
            box-shadow:
                0 0 18px rgba(56,189,248,0.9),
                0 0 40px rgba(56,189,248,0.6),
                0 0 70px rgba(56,189,248,0.4);
            filter: blur(5px);
        }
        .neon-left { left: 0; }
        .neon-right { right: 0; }

        body.scrolling .neon-edge { opacity: 1; }

        /* HEADER (ТОЛЬКО НАВБАР) + HERO */

        header.site-header {
            position: relative;
            color: #f9fafb;
            overflow: hidden;
        }

        /* Слайд-шоу фона */
        .hero-bg {
            position: absolute;
            inset: 0;
            z-index: -3;
            overflow: hidden;
        }

        .hero-slide-bg {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            opacity: 0;
            animation: heroFade 24s infinite;
        }

        .hero-slide-bg.bg1 {
            background-image: url("https://images.pexels.com/photos/2881229/pexels-photo-2881229.jpeg?auto=compress&cs=tinysrgb&w=1600");
            animation-delay: 0s;
        }
        .hero-slide-bg.bg2 {
            background-image: url("https://images.pexels.com/photos/1148820/pexels-photo-1148820.jpeg?auto=compress&cs=tinysrgb&w=1600");
            animation-delay: 8s;
        }
        .hero-slide-bg.bg3 {
            background-image: url("https://images.pexels.com/photos/1054397/pexels-photo-1054397.jpeg?auto=compress&cs=tinysrgb&w=1600");
            animation-delay: 16s;
        }
		.hero-slide-bg.bg4 {
            background-image: url("https://images.pexels.com/photos/4792728/pexels-photo-4792728.jpeg?auto=compress&cs=tinysrgb&w=1600");
            animation-delay: 24s;
        }

        @keyframes heroFade {
            0%   { opacity: 0; }
            8%   { opacity: 1; }
            28%  { opacity: 1; }
            35%  { opacity: 0; }
            100% { opacity: 0; }
        }

        .hero-overlay {
            position: absolute;
            inset: 0;
            background:
                linear-gradient(to bottom, rgba(15,23,42,0.4), rgba(15,23,42,0.96)),
                radial-gradient(circle at 0 0, rgba(34,197,94,0.35) 0, transparent 45%),
                radial-gradient(circle at 100% 0, rgba(56,189,248,0.35) 0, transparent 55%);
            mix-blend-mode: screen;
            opacity: 0.95;
            z-index: -2;
        }

        /* фиксированный navbar */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 50;
            backdrop-filter: blur(45px);
/*             background: linear-gradient(to bottom,
                        rgba(15,23,42,0.96),
                        rgba(15,23,42,0.92),
                        rgba(15,23,42,0.85)); */
            border-bottom: 1px solid rgba(148,163,184,0.28);
        }

        .navbar-inner {
            display: flex;
            align-items: center;
            justify-content: left;
            padding: 10px 0;
            gap: 14px;
        }

        .logo-wrap {
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .logo-mark {
			width: 50px;
			height: 50px;
			border-radius: 5px;
/* 			background: #11182a; */
			display: flex;
			align-items: center;
			justify-content: center;
			overflow: hidden;
/* 			box-shadow: 0 0 0 0px rgba(148, 163, 184, 0.35), 0 10px 28px rgba(0, 0, 0, 0.85); */
        }

        .logo-mark img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .logo-text-main {
            font-weight: 700;
            font-size: 1.05rem;
            letter-spacing: 0.06em;
            text-transform: uppercase;
        }

        .logo-text-sub {
            font-size: 0.75rem;
            color: var(--text-soft);
        }

        .menu_top {
            display: flex;
            gap: 18px;
            font-size: 0.9rem;
        }

        .menu_top span a {
            padding: 6px 10px;
            border-radius: 999px;
            border: 1px solid transparent;
            color: #e5e7eb;
            transition: all 0.16s ease-out;
        }

        .menu_top span a:hover {
            border-color: rgba(148,163,184,0.5);
            background: rgba(15,23,42,0.9);
        }
        
        .lang-switch {
            display: flex;
            gap: 6px;
            align-items: center;
        }
        
        button {
            cursor: pointer;
        }
        
        .lang-btn {
            background: none;
            border: none;
            padding: 0;
            cursor: pointer;
        }

        .lang-btn img {
            display: block;
            width: 27px;
            height: 20px;
            border-radius: 2px;
/*            box-shadow: 0 0 0 1px rgba(15,23,42,0.9); */
        }

        .lang-btn:hover {
            opacity: 0.8;
        }

/*        .lang {
            display: flex;
            gap: 6px;
            align-items: center;
        }

        .az_ru_en img {
            width: 27px;
            height: 20px;
            border-radius: 2px;
            border: 1px solid rgba(15,23,42,0.7);
            box-shadow: 0 0 0 1px rgba(15,23,42,0.9); 
        }
*/
        .hero-main {
            padding: 120px 0 40px; /* отступ сверху под фиксированный navbar */
        }

        .hero-grid {
            display: grid;
            grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
            gap: 30px;
            align-items: center;
        }

        .leftside_main h1 {
            font-size: clamp(2.1rem, 3vw + 1rem, 3.1rem);
            font-weight: 800;
        }

        .leftside_main h1 span {
            background: linear-gradient(120deg,#22c55e,#38bdf8,#a855f7);
            -webkit-background-clip: text;
            color: transparent;
        }

        .hero-sub {
            margin-top: 14px;
            max-width: 540px;
            font-size: 0.98rem;
            color: #c7cfdc;
        }

        .left_btn {
            margin-top: 22px;
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }

        .btn-primary,
        .btn-secondary {
            border-radius: 999px;
            padding: 10px 22px;
            font-size: 0.94rem;
            font-weight: 600;
            cursor: pointer;
            border: 1px solid transparent;
        }

        .btn-primary {
            background: linear-gradient(135deg,#22c55e,#16a34a);
            color: #022c22;
            box-shadow: 0 18px 45px rgba(34,197,94,0.5);
        }

        .btn-secondary {
            background: rgba(15,23,42,0.9);
            border-color: rgba(148,163,184,0.55);
            color: #e5e7eb;
        }

        .btn-primary a,
        .btn-secondary a { color: inherit; }

        /* ПРАВЫЙ СЛАЙДЕР (часть сайта, не header) */

        .hero-slider {
            padding: 18px 18px 20px;
            border-radius: 24px;
            background:
                radial-gradient(circle at 0 0, rgba(34,197,94,0.18) 0, transparent 40%),
                radial-gradient(circle at 100% 0, rgba(56,189,248,0.22) 0, transparent 45%),
                rgba(15,23,42,0.97);
            border: 1px solid rgba(148,163,184,0.35);
            box-shadow: var(--shadow-soft);
            position: relative;
        }

        .hero-slider-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .hero-slider-title {
            font-size: 0.9rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--text-soft);
        }

        .hero-slider-pill {
            font-size: 0.75rem;
            padding: 3px 9px;
            border-radius: 999px;
            border: 1px solid rgba(148,163,184,0.5);
            background: rgba(15,23,42,0.98);
        }

        .slider-main {
            border-radius: 16px;
            overflow: hidden;
            position: relative;
            height: 260px;
        }

        .slide {
            position: absolute;
            inset: 0;
            opacity: 0;
            transition: opacity 0.3s ease-out;
        }

        .slide.active {
            opacity: 1;
        }

        .slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: saturate(1.2) contrast(1.05);
        }

        .slide-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(15,23,42,0.9), transparent 55%);
            opacity: 0;
            transition: opacity 0.25s ease-out;
            display: flex;
            align-items: flex-end;
            padding: 12px 14px;
        }

        .slide:hover .slide-overlay {
            opacity: 1;
        }

        .slide-overlay-text {
            font-size: 0.86rem;
            color: #e5e7eb;
        }

        .slider-dots {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 10px;
        }

        .slider-dot {
            width: 9px;
            height: 9px;
            border-radius: 999px;
            border: 1px solid rgba(148,163,184,0.7);
            background: transparent;
            cursor: pointer;
            transition: all 0.18s ease-out;
        }

        .slider-dot.active {
            background: #38bdf8;
            box-shadow: 0 0 8px rgba(56,189,248,0.9);
            border-color: rgba(56,189,248,0.9);
        }

        .slider-desc {
            margin-top: 8px;
            font-size: 0.83rem;
            color: var(--text-soft);
        }


        /* ===== ОСНОВНОЙ LAYOUT ===== */
        .page-layout {
            display: grid;
            grid-template-columns: 220px 1fr 220px;
            gap: 24px;
            max-width: 1600px;
            margin: 0 auto;
            padding: 40px 20px;
        }
        
        /* ===== MAIN CONTENT ===== */
        .page-content {
            min-width: 0; /* важно для grid */
        }
        
        /* ===== SIDEBARS ===== */
        .sidebar {
            position: sticky;
            top: 100px; /* ниже хедера */
            height: fit-content;
        }
        
        .sidebar-box {
/*            background: #f6f6f6; */
            border-radius: 12px;
            padding: 0px;
            text-align: center;
        }
        
        .sidebar-box img {
            max-width: 100%;
            border-radius: 8px;
        }



        /* MAIN */

        main {
            background: radial-gradient(circle at top,#020617 0,#020617 40%,#000 100%);
            flex: 1;
        }

        section {
            padding: 48px 0;
            scroll-margin-top: 90px; /* чтобы якорь не прятался под navbar */
        }

        .section-title {
            text-align: center;
            font-size: 1.8rem;
            margin-bottom: 8px;
            padding-left: 30px;
        }

        .section-sub {
            text-align: center;
/*            max-width: 560px; */
            margin: 0 auto 26px;
            font-size: 0.92rem;
            color: var(--text-soft);
        }

        /* УСЛУГИ */

        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0,1fr));
            gap: 18px;
        }

        .category_sections {
            border-radius: var(--radius-lg);
            background: linear-gradient(to bottom right, rgba(15,23,42,0.97), #020617);
            border: 1px solid var(--border-soft);
            padding: 14px 14px 16px;
            box-shadow: 0 12px 30px rgba(0,0,0,0.7);
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .category_sections h4 {
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.18em;
            color: var(--accent-2);
        }

        .cat_img {
            border-radius: 13px;
            overflow: hidden;
			width: fit-content;
        }

        .cat_img img {
            width: 300px;
            height: 200px;
            object-fit: cover;
			transform: scale(1.02);
            filter: saturate(1.25) contrast(1.05);
        }

        .cat_img_staff {
            position: relative;           /* Чтобы позиционировать подсказку относительно картинки */
            display: inline-block;        /* Чтобы обёртка подгонялась под размер картинки */
        }
        

        
        .cat_img_staff .info {
            position: absolute;           /* Абсолютное позиционирование внутри team-member */
            bottom: 0;                    /* Внизу картинки */
            left: 0;
            width: 100%;                  /* На всю ширину картинки */
            background: rgb(20 74 102 / 70%); /* Полупрозрачный фон */
            color: #fff;                  /* Белый текст */
            padding: 30px;
            text-align: center;
            opacity: 0;                   /* Скрыт по умолчанию */
            transition: opacity 0.4s ease; /* Плавное появление */
            pointer-events: none;          /* Чтобы курсор не мешал */
            border-bottom-left-radius: 102px; /* Совпадает с картинкой */
            border-bottom-right-radius: 102px;
        }
        
        .cat_img_staff:hover .info {
            opacity: 1;                   /* Показываем подсказку при наведении */
        }
        
        
        .cat_img_staff img {
            width: 210px;
            height: 210px;
            display: block;               /* Убирает лишние отступы под картинкой */
            object-fit: cover;
			transform: scale(1.02);
            filter: saturate(1.25) contrast(1.05);
            border-radius: 100%;
			transition: transform 0.5s ease, box-shadow 0.3s ease;
        }
		
        .cat_img_staff img:hover, .footer-social i:hover {
			transform: scale(1);
			box-shadow: 0 0 15px 2px rgba(173, 216, 230, 0.8);
        }	
		
        .category_sections p {
            font-size: 0.86rem;
            color: var(--text-soft);
        }
	

        /* ПРОЕКТЫ */

        #projects {
            background: radial-gradient(circle at 0 0, rgba(56,189,248,0.12) 0, transparent 60%),
                        radial-gradient(circle at 100% 0, rgba(34,197,94,0.18) 0, transparent 60%),
                        #020617;
            border-radius: 18px;
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0,1fr));
            gap: 18px;
            padding-left: 25px;
        }

        .project-card .project-card-staff {
            border-radius: var(--radius-lg);
            background: linear-gradient(to bottom right, rgba(15,23,42,0.98), #020617);
            border: 1px solid var(--border-soft);
            padding: 14px 14px 18px;
            box-shadow: 0 12px 32px rgba(0,0,0,0.75);
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .project-card h4 {
            text-align: center;
            font-size: 0.92rem;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: var(--accent);
        }

        .project-card .cat_img img {
            width: 300px;
            height: 200px;
        }

        .project-card p {
            font-size: 0.84rem;
            color: var(--text-soft);
        }

        /* О КОМПАНИИ */

        #about { padding-top: 40px; }

        .about-card {
            border-radius: var(--radius-lg);
            background: linear-gradient(to right, rgba(15,23,42,0.98), #020617);
            border: 1px solid var(--border-soft);
            padding: 18px 18px 16px;
            box-shadow: 0 10px 26px rgba(0,0,0,0.7);
            display: grid;
            grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
            gap: 20px;
            align-items: center;
        }

        .about-card img {
            border-radius: 14px;
/*            height: 210px;  */
            object-fit: cover;
        }

        .about-card p {
            font-size: 0.9rem;
            color: var(--text-soft);
        }

        /* КОНТАКТЫ */

        #contacts { background: #020617; }

        .contact-grid {
            display: grid;
            grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
            gap: 24px;
            align-items: flex-start;
        }

        .article,
        .contact_form {
            border-radius: var(--radius-lg);
            background: linear-gradient(to bottom right, rgba(15,23,42,0.98), #020617);
            border: 1px solid var(--border-soft);
            padding: 18px 18px 20px;
            box-shadow: 0 10px 28px rgba(0,0,0,0.7);
            font-size: 0.9rem;
        }

        .article h2,
        .contact_form h2 {
            font-size: 1.3rem;
            margin-bottom: 8px;
        }

        .article > p {
            color: var(--text-soft);
            margin-bottom: 12px;
        }

        .info {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 10px;
            font-size: 13px;
        }

        .info h3 {
            font-size: 1rem;
            margin-bottom: 4px;
        }

        .info p {
            font-size: 0.86rem;
            color: var(--text-soft);
        }

        .info a {
            color: var(--accent-2);
            text-decoration: underline;
        }

        .contact_form label {
            font-size: 0.82rem;
            color: var(--text-soft);
        }

        .contact_form input,
        .contact_form textarea {
            width: 100%;
            margin-top: 4px;
            border-radius: 10px;
            border: 1px solid rgba(55,65,81,0.95);
            background: rgb(230 237 243);
            padding: 7px 9px;
            color: #000000;
            font-size: 0.86rem;
        }

        .contact_form textarea {
            resize: vertical;
            min-height: 90px;
        }

        .contact_form input:focus,
        .contact_form textarea:focus {
            outline: 1px solid var(--accent-2);
            border-color: var(--accent-2);
        }

        .submit_fdb {
            margin-top: 4px;
            border-radius: 999px;
            padding: 9px 18px;
            border: none;
            background: linear-gradient(135deg, #e6edf3, #31a6dcba);
            color: #022c22;
            font-weight: 600;
            cursor: pointer;
        }

        /* FOOTER */

        footer {
            background: #020617;
            border-top: 1px solid rgba(30,64,175,0.45);
        }

        #footer { padding: 26px 0 16px; }

        .footer_info {
            display: grid;
            grid-template-columns: repeat(4, minmax(0,1fr));
            gap: 22px;
            font-size: 0.88rem;
        }

        .footer_info h3 { margin-bottom: 6px; }

        .footer_info p {
            color: var(--text-soft);
            font-size: 0.84rem;
        }

        .footer_info p + p { margin-top: 3px; }

        .footer_links a {
            color: var(--accent-2);
        }

        .footer {
            text-align: center;
            margin-top: 16px;
            font-size: 0.8rem;
            color: var(--text-soft);
        }
        .footer a { color: var(--accent-2); }
		
		span.footer-social {
/*			padding-left: 50px;  */
 			display: inline-grid;
/*			justify-content: center;
			gap: 15px;  */
		}

        .map-container {
            position: relative;
            width: 100%;
            padding-bottom: 56.25%; /* 16:9 соотношение */
            height: 0;
            overflow: hidden;
            border-radius: 12px; /* если нужно скругление */
        }
    
    .map-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
        }
        
    .banner {    
        display: block;
        width: fit-content;
        border-radius: 18px;
        BACKGROUND: orangered;
        font-weight: 700;
        font-style: italic;
        font-size: -webkit-xxx-large;
        }
    
    .banner h3 {
        word-break: break-word;
    }
    
    .yokogawa_h3_banner::after {
        content: "";
        display: block;
        height: 20px; /* empty space after h3 */
}
        
    .cat_img_yokogawa {
        position: relative; /* важно для абсолютного позиционирования текста */
        width: 365px;       /* ширина баннера */
        height: 560px;      /* высота баннера */
        border-radius: 13px;
        overflow: hidden;
        background: url("/media/YOKOGAWA_BANNER.png");
        background-size: cover;
        background-position: center;
    }
    
    /* текст поверх картинки YOKOGAWA */
    .banner_text {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding: 25px;
        color: white;
    /*    background: rgba(0,0,0,0.4); полупрозрачный слой для читаемости */
        display: flex;
        flex-direction: column;
        justify-content: center; /* по вертикали */
        gap: 10px;
    }
    
    .banner_text span li:nth-child(2) {
        margin-bottom: 280px;
    }

    .cat_img_yokogawa:hover .banner_text {
        background: rgba(0,0,0,0.5); /* затемнение при наведении */
        transition: 0.3s;
        cursor: pointer;
    }
    
    .yokogawa_h3_banner {
        font-weight: 700;
        font-size: 20px;
        text-align: center;
    }

/*-------------------------------------------------------------------------------------------------------------------------------------------*/
        
/* Сетка карточек на главной (index.php) */
.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 30px; 
    margin-top: 100px;
}

.card { 
    background: #fff; 
    border-radius: 18px; 
    overflow: hidden; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); 
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}
.card:hover { transform: translateY(-5px); }

.card-img-wrapper { width: 100%; height: 200px; overflow: hidden; }
.card-img { width: 100%; height: 100%; object-fit: cover; }

.card-body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.date { font-size: 0.85rem; color: #64748b; margin-bottom: 10px; display: block; }
.card-title { font-size: 1.25rem; margin: 0 0 10px 0; color: #0f172a; line-height: 1.3; }
.card-text { font-size: 0.95rem; color: #475569; margin-bottom: 20px; flex-grow: 1; }
.btn { 
    display: inline-block; 
    padding: 3px; 
    background: var(--primary-color); 
    color: #000; 
    border: solid #000 2px;
    text-decoration: none; 
    border-radius: 6px; 
    font-weight: 600; 
    text-align: center;
    transition: opacity 0.2s;
}
.btn:hover { opacity: 0.9; }

/* Просмотр статьи (post.php) */
.post-container { max-width: 900px; margin: 40px auto; background: #fff; padding: 50px; border-radius: 20px; box-shadow: var(--shadow); }
.post-header { margin-bottom: 30px; border-bottom: 1px solid #f1f5f9; padding-bottom: 20px; }
.post-header h1 { font-size: 2.4rem; margin: 10px 0; color: #0f172a; line-height: 1.2; }
.post-meta { font-size: 0.9rem; color: #64748b; }

.post-text { font-size: 1.15rem; color: #334155; line-height: 1.8; }
.post-text p { margin-bottom: 1.5rem; text-align: justify; }

/* Обтекание фото внутри текста */
.floating-img { 
    width: 45%; 
    max-width: 400px;
    height: auto; 
    border-radius: 10px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.img-right { float: right; margin: 5px 0 15px 25px; }
.img-left { float: left; margin: 5px 25px 15px 0; }
.post-text::after { content: ""; display: table; clear: both; }

/* Видео */
/* Контейнер для всех видео */
.video-wrapper, 
.local-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* соотношение 16:9 */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe,
.local-video-wrapper video {
    position: absolute;
    border-radius: 25px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Админ-панель */
.admin-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; margin-top: 20px; }
.form-section { background: #fff; padding: 30px; border-radius: 12px; box-shadow: var(--shadow); }
.list-section { background: #fff; padding: 25px; border-radius: 12px; box-shadow: var(--shadow); }
.form-control { width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 6px; box-sizing: border-box; }
.admin-list-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #eee; }

@media (max-width: 768px) {
    .post-container { padding: 20px; border-radius: 0; }
    .floating-img { float: none !important; width: 100% !important; margin: 15px 0 !important; max-width: none; }
    .grid { grid-template-columns: 1fr; }
    .admin-layout { grid-template-columns: 1fr; }
}

/*-------------------------------------------------------------------------------------------------------------------------------------------*/
        
 /* Стили для локального видео плеера */
.local-video-wrapper {
    margin: 30px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    background: #000;
}

.local-video-wrapper video {
    display: block;
    max-height: 500px;
    object-fit: contain;
}

/* Стили реакций */
.reactions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #f1f5f9;
}

.reaction-btn {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.2s ease;
    background: #f8fafc;
    color: #1e293b;
    border: 1px solid #e2e8f0;
}

.reaction-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.reaction-btn.like:hover { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.reaction-btn.dislike:hover { background: #fee2e2; color: #991b1b; border-color: #fecaca; }       
    
.article_text {
    color: #000;
}
        /* RESPONSIVE */

        @media (max-width: 1024px) {
            .page-layout {
                grid-template-columns: 1fr;
            }
            
            .sidebar {
                display: block;
            }
        }

        

        @media (max-width: 1024px) {
            .hero-grid {
                grid-template-columns: minmax(0,1fr);
            }
			
			.cat_img_staff img {
			border-radius: 100%;
			transition: transform 0.5s ease, box-shadow 0.3s ease;			
			}		
		
			.cat_img_staff img:hover {
			transform: scale(1);
			box-shadow: 0 0 15px 2px rgba(173, 216, 230, 0.8);
			}	
        }

        @media (max-width: 900px) {
            .services-grid,
            .projects-grid {
                grid-template-columns: repeat(2, minmax(0,1fr));
            }
            .about-card {
                grid-template-columns: minmax(0,1fr);
            }
            .contact-grid {
                grid-template-columns: minmax(0,1fr);
            }
			.cat_img_staff img {
			border-radius: 100%;
			transition: transform 0.5s ease, box-shadow 0.3s ease;			
			}		
		
			.cat_img_staff img:hover {
			transform: scale(1);
			box-shadow: 0 0 15px 2px rgba(173, 216, 230, 0.8);
			}	
        }

        @media (max-width: 720px) {
            .menu_top { display: none; }
            .services-grid,
            .projects-grid {
                grid-template-columns: minmax(0,1fr);
            }
            .footer_info {
                grid-template-columns: minmax(0,1fr);
            }
			.cat_img_staff img {
			border-radius: 100%;
			transition: transform 0.5s ease, box-shadow 0.3s ease;			
			}		
		
			.cat_img_staff img:hover {
			transform: scale(1);
			box-shadow: 0 0 15px 2px rgba(173, 216, 230, 0.8);
			}	
        }
        
            @media (max-width: 480px) {
            .map-container {
                position: relative;
                width: 100%;
                padding-bottom: 56.25%; /* 16:9 соотношение */
                height: 0;
                overflow: hidden;
                border-radius: 8px; /* если нужно скругление */
        }

            .map-container iframe {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                border: 0;
        }
            .banner {    
                display: none;
        }
            .sidebar {    
                display: none;
        }
    
            .sidebar-box{
                display: none;
        }
            .sidebar-box img {
                display: none;
        }
            .sidebar sidebar-left {
                display: none;
        }
    }