    :root{
      --ivory:#f4f1e0;
      --ivory-light:#fbf8ee;
      --burgundy:#4f0007;
      --burgundy-deep:#3d0005;
      --tab-bg:#f3ead8;
      --tab-line:#dfd3bf;
      --tab-active:#3e342d;
      --text:#15191d;
      --muted:#70695f;
      --accent:#0c7e7d;
    }

    *{box-sizing:border-box;}
    html{scroll-behavior:smooth;}
    body{
      margin:0;
      background:var(--ivory);
      color:var(--text);
      font-family:"Montserrat", Arial, sans-serif;
      font-weight:500;
      line-height:1.42;
      overflow-x:hidden;
    }
    a{color:inherit;text-decoration:none;}
    img{display:block;max-width:100%;}
    .page-width{width:80%;max-width:none;margin:0 auto;}

    /* ===== Общая шапка сайта из файла музея ===== */
    .header-area{
      background:#fff;
      position:relative;
      z-index:80;
      box-shadow:0 2px 10px rgba(0,0,0,.05);
    }
    .header-area .container,
    .footer-area .container{width:80%;max-width:none;}
    .header-right{display:flex;align-items:center;justify-content:flex-end;gap:18px;flex-wrap:wrap;}
    .header-search{flex:0 0 auto;}
    .header-search form{position:relative;display:flex;align-items:center;margin:0;}
    .header-search input{
      width:220px;height:36px;padding:0 36px 0 12px;border-radius:8px;border:1px solid #e5e7eb;
      background:#f3f4f6;color:#111827;font-size:13px;font-weight:500;transition:border-color .15s ease, background .15s ease;
    }
    .header-search input::placeholder{color:#6b7280;}
    .header-search input:focus{outline:none;background:#fff;border-color:var(--accent);}
    .header-search button{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#6b7280;cursor:pointer;font-size:14px;padding:0;}
    .header-search button:hover{color:var(--accent);}
    .mainmenu #navigation{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap;margin:0;}
    .mainmenu #navigation > li{list-style:none;}
    .nav-icon-link img{display:block;width:36px;height:36px;object-fit:contain;}
    .access-panel{display:none;gap:10px;padding:10px;margin-top:8px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;position:absolute;right:0;min-width:520px;box-shadow:0 12px 30px rgba(0,0,0,.12);z-index:90;}
    .access-panel.is-open{display:flex;flex-wrap:wrap;}
    .access-block{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:500;color:#222;}
    .access-block button{border:1px solid #e5e7eb;background:#f3f4f6;border-radius:6px;padding:6px 8px;cursor:pointer;font-weight:600;}
    .access-block button.active{border-color:var(--accent);background:#e7f6f6;}

    /* Верхняя графическая плашка краеведения */
    .krai-strip{width:100%;background:var(--ivory);overflow:hidden;}
    .krai-strip img{width:100%;height:112px;object-fit:cover;object-position:center bottom;}

    /* Вкладки раздела + выпадающее меню Имен */
    .museum-tabs-wrap{width:100%;background:var(--tab-bg);border-bottom:1px solid rgba(79,0,7,.12);position:relative;z-index:45;}
    .museum-tabs{width:80%;margin:0 auto;display:grid;grid-template-columns:repeat(7, minmax(0, 1fr));align-items:stretch;}
    .museum-tab-holder{position:relative;min-width:0;}
    .museum-tab,
    .museum-tab-holder > .museum-tab{
      min-height:56px;display:flex;align-items:center;justify-content:center;text-align:center;padding:9px 10px;background:#f7eedc;
      border-left:1px solid var(--tab-line);color:#111;font-size:14px;line-height:1.08;font-weight:700;letter-spacing:.03em;text-transform:uppercase;
      width:100%;height:100%;
    }
    .museum-tabs > .museum-tab:last-child{border-right:1px solid var(--tab-line);}
    .museum-tab.is-active,.museum-tab-holder > .museum-tab.is-active{background:var(--tab-active);color:#fff;}
    .museum-tab:hover,.museum-tab-holder:hover > .museum-tab{background:var(--burgundy);color:#fff;}
    .names-dropdown{
      position:absolute;left:0;top:100%;width:430px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;
      background:#fffaf0;border:1px solid var(--tab-line);box-shadow:0 16px 28px rgba(0,0,0,.18);opacity:0;visibility:hidden;transform:translateY(8px);
      transition:opacity .18s ease, transform .18s ease, visibility .18s ease;z-index:99;padding:8px;
    }
    .museum-tab-holder:hover .names-dropdown,.museum-tab-holder:focus-within .names-dropdown{opacity:1;visibility:visible;transform:translateY(0);}
    .names-dropdown a{display:block;padding:10px 12px;color:#231b16;font-size:14px;line-height:1.15;font-weight:700;border-radius:6px;text-transform:none;letter-spacing:0;}
    .names-dropdown a:hover{background:var(--burgundy);color:#fff;}

    .museum-breadcrumb{display:flex;align-items:center;gap:8px;padding:19px 0 16px;color:var(--muted);font-size:15px;line-height:1.2;font-weight:500;margin:0;}
    .museum-breadcrumb a{color:#686158;}
    .museum-breadcrumb a:hover{color:var(--burgundy);}
    .museum-breadcrumb span{color:#423c35;}
    .museum-graphic-hero{width:100%;margin:0 auto 36px;overflow:hidden;background:var(--burgundy);}
    .museum-graphic-hero img{width:100%;height:auto;object-fit:cover;}

    /* ===== Страница музея ===== */
    .museum-page{width:100%;padding:8px 0 72px;background:var(--ivory);}
    .intro-layout{width:100%;display:grid;grid-template-columns:minmax(0, 1fr) 160px;gap:46px;align-items:start;}
    .intro-main h2{max-width:850px;margin:0 0 13px;color:var(--text);font-size:34px;line-height:1.15;font-weight:700;letter-spacing:.01em;}
    .intro-main h3,.section-title{margin:0 0 10px;color:var(--text);font-size:22px;line-height:1.2;font-weight:700;}
    .intro-top{display:grid;grid-template-columns:minmax(390px,.92fr) minmax(390px,.72fr);gap:40px;align-items:start;margin-bottom:26px;}
    .intro-text p,.intro-main > p,.museum-section p,.red-copy p,.cloud-card p,.bottom-red p{margin:0 0 14px;color:var(--text);font-size:18px;line-height:1.42;font-weight:500;}
    .intro-main > p{max-width:1180px;margin-top:0;}
    .intro-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding-top:7px;}
    .photo{width:100%;height:128px;object-fit:cover;background:#e5ddca;}
    .intro-photos .photo{height:148px;}
    .photo--bw{filter:grayscale(1);}
    .intro-bw-gallery{width:100%;max-width:950px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:24px;}
    .intro-bw-gallery .photo{height:130px;}
    .side-arrows{display:flex;justify-content:center;align-items:flex-start;padding-top:4px;}
    .side-arrows__img{width:150px;max-width:100%;height:auto;object-fit:contain;}
    .exp-note{margin:31px 0 14px;color:#2b261f;font-size:18px;line-height:1.35;font-weight:500;}
    .museum-block{margin-top:22px;}
    .block-row{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:center;margin:30px 0;}
    .gallery-4,.gallery-3,.gallery-2{display:grid;gap:16px;align-items:center;}
    .gallery-4{grid-template-columns:repeat(4,minmax(0,1fr));}
    .gallery-3{grid-template-columns:repeat(3,minmax(0,1fr));}
    .gallery-2{grid-template-columns:repeat(2,minmax(0,1fr));}
    .gallery-4 .photo{height:112px;}.gallery-3 .photo{height:128px;}.gallery-2 .photo{height:142px;}
    .museum-section h3{margin:0 0 9px;color:var(--text);font-size:28px;line-height:1.12;font-weight:700;}
    .museum-section p{font-size:18px;}

    .story-band{
      width:100%;display:grid;grid-template-columns:44% 56%;gap:0;align-items:center;margin:14px 0 31px;min-height:258px;
      background-image:url("assets/img/Краеведение/графика/музей ф24 арт 4.png");background-repeat:no-repeat;background-position:center;background-size:100% 100%;
      padding:54px 64px;
    }
    .red-copy{min-height:146px;padding:0 24px 0 0;background:transparent;color:#fff;display:flex;flex-direction:column;justify-content:center;}
    .red-copy h3{margin:0 0 12px;color:#fff;font-size:26px;line-height:1.16;font-weight:700;}
    .red-copy p{color:#fff;font-size:17px;line-height:1.35;margin:0;font-weight:600;}
    .red-gallery{min-height:146px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:center;background:transparent;padding:0 0 0 22px;}
    .red-gallery .photo{height:104px;}

    .cloud-card{
      position:relative;min-height:190px;padding:48px 48px 42px;background:transparent;color:var(--text);
      background-image:url("assets/img/Краеведение/графика/музей ф24 рамка.png");background-repeat:no-repeat;background-position:center;background-size:100% 100%;
    }
    .cloud-card h3{position:relative;margin:0 0 12px;color:var(--text);font-size:25px;line-height:1.14;font-weight:700;z-index:1;}
    .cloud-card p{position:relative;z-index:1;margin:0;font-size:18px;}

    .russian-row{width:100%;display:grid;grid-template-columns:42% 58%;gap:0;align-items:center;margin:34px 0 30px;}
    .russian-row .gallery-4{background:var(--ivory);padding:0 24px 0 0;}
    .style-panel{
      width:100%;min-height:250px;display:flex;align-items:center;background:transparent;color:#fff;padding:58px 68px;
      background-image:url("assets/img/Краеведение/графика/музей ф24 арт 2.png");background-repeat:no-repeat;background-position:center;background-size:100% 100%;
    }
    .style-panel h3{margin:0 0 10px;color:#fff;font-size:27px;line-height:1.12;font-weight:700;}
    .style-panel p{margin:0;color:#fff;font-size:17px;line-height:1.36;font-weight:600;}

    .bottom-red-wrap{
      width:100%;display:grid;grid-template-columns:31% 69%;gap:0;align-items:center;margin-top:38px;min-height:260px;background:transparent;
      background-image:url("assets/img/Краеведение/графика/музей ф24 арт 3.png");background-repeat:no-repeat;background-position:center;background-size:100% 100%;
    }
    .bottom-ornament-row{min-height:220px;background:transparent;}
    .bottom-red{min-height:220px;background:transparent;color:#fff;padding:62px 60px 58px 18px;display:flex;flex-direction:column;justify-content:center;}
    .bottom-red p{margin:0 0 11px;color:#fff;font-size:17px;line-height:1.36;font-weight:600;}
    .bottom-red p:last-child{margin-bottom:0;}

    /* ===== Страницы проекта Имена ===== */
    .project-area{background:var(--ivory);padding:0 0 28px;}
    .project-card{width:100%;background:rgba(255,255,255,.34);border-radius:0;border:0;border-left:8px solid var(--burgundy);padding:25px 34px 25px;box-shadow:none;}
    .project-card h2{margin:0 0 12px;color:var(--burgundy);font-size:30px;line-height:1.12;font-weight:800;}
    .project-card p{margin:0 0 12px;color:#111;font-size:17px;line-height:1.42;font-weight:500;}
    .project-card p:last-child{margin-bottom:0;}
    .names-page{background:var(--ivory);padding:8px 0 72px;}
    .name-grid{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1fr);gap:46px;align-items:start;}
    .name-grid--bottom{margin-top:34px;}
    .poster-card{margin:0;padding:0;background:transparent;}
    .poster-card img{width:100%;height:auto;object-fit:contain;box-shadow:none;}
    .text-column{min-width:0;}
    .text-block{margin:0 0 23px;}
    .text-block:last-child{margin-bottom:0;}
    .text-block h3{margin:0 0 10px;color:#050505;font-size:22px;line-height:1.24;font-weight:800;}
    .text-block p{margin:0 0 14px;color:#050505;font-size:17px;line-height:1.42;font-weight:500;}
    .text-block p:last-child{margin-bottom:0;}
    .photo-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;align-content:start;}
    .photo-gallery a{display:block;background:#e1d7c7;overflow:hidden;border:0;min-height:136px;}
    .photo-gallery img{width:100%;height:136px;object-fit:cover;filter:saturate(.9);transition:.2s ease;}
    .photo-gallery a:hover img{transform:scale(1.03);}
    .no-photos{font-size:15px;color:var(--muted);font-weight:600;}

    /* ===== Важные ссылки перед футером ===== */
    .museum-important-links{background:#eef6f9;padding:38px 0 34px;}
    .museum-important-links h2{margin:0 0 28px;color:#15191d;font-size:27px;line-height:1.2;font-weight:700;text-align:center;}
    .important-links-shell{width:80%;max-width:none;margin:0 auto;position:relative;overflow:hidden;border-radius:15px;}
    .important-links-track{display:flex;gap:18px;transition:transform .3s ease-in-out;padding:6px 0;will-change:transform;}
    .important-links-track a{width:25%;min-width:25%;min-height:86px;flex:0 0 25%;display:flex;align-items:center;justify-content:center;text-align:center;padding:14px 22px;background:#f9fbfb;border-radius:2px;color:#6b7280;font-size:16px;line-height:1.25;font-weight:700;text-decoration:none;transition:color .25s ease, background .25s ease;}
    .important-links-track a:hover{color:#008080;background:#e0f0f0;}
    .important-link-button{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:34px;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:rgba(0,0,0,.35);color:#fff;cursor:pointer;z-index:5;font-size:28px;line-height:1;}
    .important-link-button--left{left:8px;}.important-link-button--right{right:8px;}
    #scrollToTop{position:fixed;bottom:20px;right:20px;width:42px;height:42px;background-color:#008080;color:#fff;border:0;padding:10px;border-radius:50%;cursor:pointer;display:none;z-index:1000;}
    #scrollToTop img{width:20px;height:20px;display:block;margin:auto;}

    .footer-area{background:#282b2f;color:#d9d9d9;padding:46px 0 24px;}
    .footer-area a{color:#d9d9d9;}
    .footer-area a:hover{color:#fff;}
    .footer-wid h3,.footer-wid h4{color:#fff;margin:0 0 18px;font-weight:800;}
    .footer-wid p{font-size:14px;line-height:1.5;font-weight:500;}
    .footer-wid ul{list-style:none;padding:0;margin:0;}
    .footer-wid li{margin:0 0 8px;}
    .footer-copyright{margin-top:24px;color:#d8d8d8;font-size:14px;font-weight:500;}

    @media (max-width:1280px){
      .page-width,.museum-tabs,.header-area .container,.footer-area .container,.important-links-shell{width:86%;}
      .intro-top{grid-template-columns:1fr 460px;gap:34px;}
      .intro-main h2{font-size:31px;}
      .intro-text p,.intro-main > p,.museum-section p,.cloud-card p,.text-block p{font-size:16px;}
      .red-copy p,.style-panel p,.bottom-red p{font-size:15px;}
      .story-band{padding:48px 54px;}
    }
    @media (max-width:1080px){
      .header-search{display:none;}
      .header-right{justify-content:flex-start;}
      .access-panel{position:static;min-width:0;width:100%;}
      .museum-tabs{overflow-x:auto;display:flex;scrollbar-width:thin;}
      .museum-tab,.museum-tab-holder > .museum-tab{min-width:165px;}
      .museum-tab-holder{flex:0 0 auto;}
      .names-dropdown{width:360px;}
      .intro-layout{grid-template-columns:1fr;}
      .side-arrows{display:none;}
      .intro-top{grid-template-columns:1fr;}
      .intro-photos{max-width:680px;}
      .story-band,.russian-row,.bottom-red-wrap,.block-row,.name-grid{grid-template-columns:1fr;}
      .red-gallery{padding:14px 0 0;}
      .russian-row .gallery-4{padding:0 0 20px;}
      .bottom-red-wrap{background-size:cover;}
      .bottom-ornament-row{display:none;}
      .bottom-red{padding:68px 60px;}
      .poster-card{max-width:820px;}
      .photo-gallery{grid-template-columns:repeat(4,minmax(0,1fr));}
      .important-links-track a{flex-basis:50%;min-width:50%;width:50%;}
    }
    @media (max-width:760px){
      .page-width,.museum-tabs,.header-area .container,.footer-area .container,.important-links-shell{width:92%;}
      .krai-strip img{height:84px;}
      .museum-tab,.museum-tab-holder > .museum-tab{min-width:142px;font-size:12px;min-height:50px;}
      .names-dropdown{width:300px;grid-template-columns:1fr;}
      .museum-breadcrumb{font-size:13px;}
      .museum-graphic-hero{margin-bottom:28px;}
      .museum-page{padding-top:4px;}
      .intro-main h2{font-size:27px;}
      .intro-main h3{font-size:20px;}
      .intro-photos,.intro-bw-gallery,.gallery-4,.gallery-3,.gallery-2,.red-gallery,.photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr));}
      .photo,.intro-photos .photo,.intro-bw-gallery .photo,.gallery-4 .photo,.gallery-3 .photo,.gallery-2 .photo,.red-gallery .photo,.photo-gallery img{height:165px;}
      .story-band,.style-panel,.bottom-red{padding:38px 28px;}
      .story-band,.style-panel,.bottom-red-wrap{background-size:cover;}
      .red-copy h3,.style-panel h3,.museum-section h3{font-size:24px;}
      .cloud-card{padding:34px 28px;}
      .project-card{padding:22px 22px 22px;border-left-width:6px;}
      .project-card h2{font-size:25px;}
      .text-block h3{font-size:20px;}
      .important-links-track a{flex-basis:100%;min-width:100%;width:100%;}
    }
    @media (max-width:520px){
      .intro-photos,.intro-bw-gallery,.gallery-4,.gallery-3,.gallery-2,.red-gallery,.photo-gallery{grid-template-columns:1fr;}
      .photo,.intro-photos .photo,.intro-bw-gallery .photo,.gallery-4 .photo,.gallery-3 .photo,.gallery-2 .photo,.red-gallery .photo,.photo-gallery img{height:210px;}
      .intro-text p,.intro-main > p,.museum-section p,.cloud-card p,.text-block p{font-size:15px;}
      .red-copy p,.style-panel p,.bottom-red p{font-size:14px;}
    }


    .side-arrows{
      align-self:stretch;
      display:flex;
      align-items:stretch;
      justify-content:center;
      padding-top:0;
      min-height:100%;
    }
    .side-arrows__img{
      width:150px;
      max-width:100%;
      height:100%;
      min-height:100%;
      object-fit:fill;
      object-position:center top;
    }
    .story-band{
      grid-template-columns:46% 54%;
      min-height:250px;
      padding:48px 62px;
    }
    .red-copy{padding-right:30px;}
    .red-gallery{padding-left:16px;}
    .red-gallery .photo{height:98px;}
    .russian-row{grid-template-columns:43% 57%;}
    .style-panel{
      min-height:235px;
      padding:52px 76px 50px 40px;
    }
    .bottom-red-wrap{
      grid-template-columns:38% 62%;
      min-height:248px;
    }
    .bottom-ornament-row{min-height:210px;}
    .bottom-red{
      min-height:210px;
      padding:52px 58px 50px 26px;
    }

     .names-page{padding-top:16px;}
    .names-page .name-grid--top{
      display:block;
      overflow:visible;
      margin:0 0 30px;
    }
    .names-page .name-grid--top::after{
      content:"";
      display:block;
      clear:both;
    }
    .names-page .name-grid--top .poster-card{
      float:left;
      width:48%;
      max-width:760px;
      margin:0 44px 24px 0;
    }
    .names-page .name-grid--top .poster-card img{
      width:100%;
      height:auto;
    }
    .names-page .name-grid--top .text-column{
      display:block;
      min-width:0;
    }
    .names-page .name-grid--bottom{
      display:grid;
      grid-template-columns:minmax(0,1fr) minmax(320px,.55fr);
      gap:34px;
      align-items:start;
      margin-top:16px;
    }
    .names-page .text-block{margin-bottom:20px;}
    .names-page .photo-gallery{
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:14px;
    }
    .names-page .photo-gallery a{min-height:128px;}
    .names-page .photo-gallery img{height:128px;}
    .project-area{padding-bottom:18px;}
    .project-card{margin-bottom:4px;}

    @media (max-width:1280px){
      .side-arrows__img{width:130px;}
      .story-band{padding:44px 52px;}
      .style-panel{padding:48px 64px 46px 34px;}
      .bottom-red{padding:48px 48px 46px 20px;}
      .names-page .name-grid--top .poster-card{width:48%;margin-right:36px;}
      .names-page .name-grid--bottom{grid-template-columns:minmax(0,1fr) minmax(300px,.5fr);}
    }
    @media (max-width:1080px){
      .side-arrows{display:none;}
      .story-band,.russian-row,.bottom-red-wrap{grid-template-columns:1fr;}
      .bottom-red{padding:62px 54px;}
      .names-page .name-grid--top .poster-card{
        float:none;
        width:100%;
        max-width:820px;
        margin:0 0 28px;
      }
      .names-page .name-grid--bottom{grid-template-columns:1fr;}
      .names-page .photo-gallery{grid-template-columns:repeat(4,minmax(0,1fr));}
    }
    @media (max-width:760px){
      .story-band,.style-panel,.bottom-red{padding:38px 28px;}
      .names-page .photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr));}
      .names-page .photo-gallery img{height:165px;}
      .names-page .photo-gallery a{min-height:165px;}
    }
    @media (max-width:520px){
      .names-page .photo-gallery{grid-template-columns:1fr;}
      .names-page .photo-gallery img{height:210px;}
      .names-page .photo-gallery a{min-height:210px;}
    }

  

    /* ===== Финальная правка блока музея: без растянутой графики, все декоративные элементы собраны стилями ===== */
    .museum-page .intro-layout{
      grid-template-columns:minmax(0,1fr) 118px !important;
      gap:34px !important;
      align-items:stretch !important;
    }

    .museum-page .side-arrows{
      display:flex !important;
      flex-direction:column !important;
      justify-content:space-between !important;
      align-items:center !important;
      align-self:stretch !important;
      padding:36px 0 48px !important;
      min-height:100% !important;
    }

    .museum-page .side-arrows__img{display:none !important;}

    .museum-page .side-arrow{
      width:76px;
      height:86px;
      display:block;
      background:var(--burgundy);
      clip-path:polygon(20% 0, 38% 0, 38% 42%, 50% 42%, 50% 0, 68% 0, 68% 42%, 84% 42%, 84% 58%, 68% 58%, 68% 74%, 58% 74%, 58% 100%, 42% 100%, 42% 74%, 32% 74%, 32% 58%, 16% 58%, 16% 42%, 20% 42%);
    }

    .museum-page .story-band{
      background:var(--burgundy) !important;
      background-image:none !important;
      grid-template-columns:minmax(0,42%) minmax(0,58%) !important;
      gap:24px !important;
      align-items:center !important;
      min-height:auto !important;
      padding:30px 36px !important;
      margin:28px 0 42px !important;
      overflow:hidden !important;
    }

    .museum-page .red-copy{
      min-height:auto !important;
      padding:0 !important;
      background:transparent !important;
      color:#fff !important;
    }

    .museum-page .red-copy h3,
    .museum-page .style-panel h3{
      color:#fff !important;
      margin:0 0 12px !important;
      font-size:25px !important;
      line-height:1.18 !important;
      font-weight:800 !important;
    }

    .museum-page .red-copy p,
    .museum-page .style-panel p,
    .museum-page .bottom-red p{
      color:#fff !important;
      font-size:16px !important;
      line-height:1.42 !important;
      font-weight:600 !important;
    }

    .museum-page .red-gallery{
      min-height:auto !important;
      padding:0 !important;
      gap:18px !important;
      background:transparent !important;
      align-items:center !important;
    }

    .museum-page .red-gallery .photo{height:112px !important;}

    .museum-page .cloud-card{
      position:relative !important;
      min-height:auto !important;
      padding:38px 44px 36px !important;
      background:#fbf8ee !important;
      background-image:none !important;
      color:var(--text) !important;
      border-radius:26px !important;
      overflow:hidden !important;
    }

    .museum-page .cloud-card::before{
      content:"";
      position:absolute;
      inset:0;
      border:4px solid var(--burgundy);
      border-radius:26px;
      pointer-events:none;
    }

    .museum-page .cloud-card::after{
      content:"";
      position:absolute;
      inset:12px;
      border:2px solid rgba(79,0,7,.72);
      border-radius:18px;
      pointer-events:none;
    }

    .museum-page .cloud-card h3,
    .museum-page .cloud-card p{
      position:relative;
      z-index:1;
    }

    .museum-page .cloud-card h3{
      margin:0 0 12px !important;
      color:var(--text) !important;
      font-size:25px !important;
      line-height:1.18 !important;
      font-weight:800 !important;
    }

    .museum-page .cloud-card p{
      color:var(--text) !important;
      font-size:17px !important;
      line-height:1.42 !important;
      font-weight:500 !important;
    }

    .museum-page .russian-row{
      grid-template-columns:minmax(0,42%) minmax(0,58%) !important;
      gap:28px !important;
      align-items:center !important;
      margin:40px 0 38px !important;
    }

    .museum-page .russian-row .gallery-4{
      padding:0 !important;
      background:transparent !important;
    }

    .museum-page .style-panel{
      background:var(--burgundy) !important;
      background-image:none !important;
      min-height:auto !important;
      padding:30px 38px !important;
      color:#fff !important;
      display:flex !important;
      align-items:center !important;
      overflow:hidden !important;
    }

    .museum-page .bottom-red-wrap{
      display:block !important;
      grid-template-columns:1fr !important;
      min-height:0 !important;
      margin-top:42px !important;
      background:transparent !important;
      background-image:none !important;
    }

    .museum-page .bottom-ornament-row{display:none !important;}

    .museum-page .bottom-red{
      min-height:auto !important;
      background:var(--burgundy) !important;
      color:#fff !important;
      padding:32px 46px !important;
      display:block !important;
      overflow:hidden !important;
    }

    .museum-page .bottom-red p:last-child{margin-bottom:0 !important;}

    @media (max-width:1080px){
      .museum-page .intro-layout{grid-template-columns:1fr !important;}
      .museum-page .side-arrows{display:none !important;}
      .museum-page .story-band,
      .museum-page .russian-row{grid-template-columns:1fr !important;gap:20px !important;}
      .museum-page .red-gallery{padding:0 !important;}
      .museum-page .style-panel,
      .museum-page .bottom-red{padding:30px 32px !important;}
    }

    @media (max-width:760px){
      .museum-page .story-band,
      .museum-page .style-panel,
      .museum-page .bottom-red{padding:28px 24px !important;}
      .museum-page .cloud-card{padding:34px 28px !important;}
      .museum-page .red-copy h3,
      .museum-page .style-panel h3,
      .museum-page .cloud-card h3{font-size:23px !important;}
    }

  

    /* ===== Финальные правки по макету: кегли 11/16/24 pt, Ч/Б фото, адаптивный орнамент, lightbox ===== */
    :root{
      --museum-font-main:11pt;
      --museum-font-heading:16pt;
      --museum-font-title:24pt;
      --museum-ornament:url("assets/img/Краеведение/графика/музей ф24 элемент.png");
    }

    .project-card h2,
    .museum-page .intro-main h2{
      font-size:var(--museum-font-title) !important;
      line-height:1.12 !important;
      font-weight:800 !important;
      letter-spacing:.01em !important;
      margin-bottom:14px !important;
    }

    .text-block h3,
    .museum-page .intro-main h3,
    .museum-page .section-title,
    .museum-page .museum-section h3,
    .museum-page .red-copy h3,
    .museum-page .style-panel h3,
    .museum-page .cloud-card h3{
      font-size:var(--museum-font-heading) !important;
      line-height:1.22 !important;
      font-weight:700 !important;
      letter-spacing:.005em !important;
      margin-bottom:10px !important;
    }

    .project-card p,
    .names-page .text-block p,
    .museum-page .intro-text p,
    .museum-page .intro-main > p,
    .museum-page .museum-section p,
    .museum-page .red-copy p,
    .museum-page .style-panel p,
    .museum-page .cloud-card p,
    .museum-page .bottom-red p,
    .museum-page .exp-note{
      font-size:var(--museum-font-main) !important;
      line-height:1.38 !important;
      font-weight:500 !important;
    }

    .names-page .text-block{margin-bottom:17px !important;}
    .names-page .text-block p{margin-bottom:10px !important;}
    .project-card{padding:22px 30px 22px !important;}
    .project-card p{margin-bottom:9px !important;}

    .museum-page .intro-top{gap:32px !important;margin-bottom:22px !important;}
    .museum-page .intro-photos{
      grid-template-columns:minmax(0,1fr) !important;
      max-width:520px !important;
      gap:12px !important;
      align-self:start !important;
    }
    .museum-page .intro-photos .photo{height:clamp(145px, 16vw, 210px) !important;}

    .museum-page img.photo,
    .names-page .photo-gallery img{
      filter:grayscale(1) contrast(1.04) !important;
      cursor:zoom-in !important;
    }
    .museum-page img.photo:hover,
    .names-page .photo-gallery a:hover img{
      transform:scale(1.025) !important;
      filter:grayscale(1) contrast(1.08) !important;
    }
    .names-page .photo-gallery a{cursor:zoom-in !important;}

    .museum-page .museum-graphic-hero,
    .museum-page .story-band,
    .museum-page .style-panel,
    .museum-page .bottom-red{
      position:relative !important;
      overflow:hidden !important;
    }
    .museum-page .museum-graphic-hero::before{
      content:"";
      position:absolute;
      left:clamp(18px, 6vw, 88px);
      top:50%;
      width:clamp(76px, 15vw, 178px);
      aspect-ratio:1/1;
      transform:translateY(-50%);
      background:var(--museum-ornament) center/contain no-repeat;
      z-index:2;
      pointer-events:none;
    }
    .museum-page .style-panel::after,
    .museum-page .bottom-red::after{
      content:"";
      position:absolute;
      right:clamp(10px, 2.4vw, 32px);
      bottom:clamp(8px, 1.7vw, 22px);
      width:clamp(54px, 8vw, 96px);
      aspect-ratio:1/1;
      background:var(--museum-ornament) center/contain no-repeat;
      opacity:.96;
      pointer-events:none;
    }
    .museum-page .story-band::after{
      content:"";
      position:absolute;
      left:clamp(10px, 1.8vw, 24px);
      top:clamp(10px, 1.8vw, 22px);
      width:clamp(48px, 7vw, 88px);
      aspect-ratio:1/1;
      background:var(--museum-ornament) center/contain no-repeat;
      opacity:.9;
      pointer-events:none;
    }
    .museum-page .red-copy,
    .museum-page .style-panel > *,
    .museum-page .bottom-red > *,
    .museum-page .red-gallery{
      position:relative !important;
      z-index:1 !important;
    }

    .site-photo-lightbox{
      position:fixed;
      inset:0;
      display:none;
      align-items:center;
      justify-content:center;
      padding:34px;
      background:rgba(0,0,0,.86);
      z-index:99999;
    }
    .site-photo-lightbox.is-open{display:flex;}
    .site-photo-lightbox__img{
      max-width:92vw;
      max-height:88vh;
      width:auto;
      height:auto;
      object-fit:contain;
      filter:none !important;
      box-shadow:0 18px 60px rgba(0,0,0,.45);
      background:#111;
    }
    .site-photo-lightbox__close{
      position:absolute;
      top:18px;
      right:22px;
      width:44px;
      height:44px;
      border:0;
      border-radius:50%;
      background:rgba(255,255,255,.95);
      color:#1f1f1f;
      font-size:32px;
      line-height:42px;
      cursor:pointer;
      font-family:Arial, sans-serif;
    }
    .site-photo-lightbox__caption{
      position:absolute;
      left:30px;
      right:30px;
      bottom:16px;
      color:#fff;
      text-align:center;
      font-size:11pt;
      line-height:1.3;
      font-weight:500;
      text-shadow:0 1px 4px rgba(0,0,0,.8);
    }

    @media (max-width:1280px){
      .project-card h2,
      .museum-page .intro-main h2{font-size:22pt !important;}
      .text-block h3,
      .museum-page .intro-main h3,
      .museum-page .section-title,
      .museum-page .museum-section h3,
      .museum-page .red-copy h3,
      .museum-page .style-panel h3,
      .museum-page .cloud-card h3{font-size:15pt !important;}
    }
    @media (max-width:760px){
      .project-card h2,
      .museum-page .intro-main h2{font-size:20pt !important;}
      .text-block h3,
      .museum-page .intro-main h3,
      .museum-page .section-title,
      .museum-page .museum-section h3,
      .museum-page .red-copy h3,
      .museum-page .style-panel h3,
      .museum-page .cloud-card h3{font-size:14pt !important;}
      .project-card p,
      .names-page .text-block p,
      .museum-page .intro-text p,
      .museum-page .intro-main > p,
      .museum-page .museum-section p,
      .museum-page .red-copy p,
      .museum-page .style-panel p,
      .museum-page .cloud-card p,
      .museum-page .bottom-red p,
      .museum-page .exp-note{font-size:10.5pt !important;}
      .museum-page .museum-graphic-hero::before{width:clamp(56px, 20vw, 92px);left:12px;}
      .site-photo-lightbox{padding:18px;}
      .site-photo-lightbox__close{top:10px;right:10px;}
    }


    /* ===== Правка: цветные фото и орнамент по макету ===== */
    .museum-page img.photo,
    .museum-page img.photo.photo--bw,
    .names-page .photo-gallery img,
    .photo--bw{
      filter:none !important;
      -webkit-filter:none !important;
      cursor:zoom-in !important;
    }

    .museum-page img.photo:hover,
    .museum-page img.photo.photo--bw:hover,
    .names-page .photo-gallery a:hover img{
      filter:none !important;
      -webkit-filter:none !important;
      transform:scale(1.025) !important;
    }

    .site-photo-lightbox__img{
      filter:none !important;
      -webkit-filter:none !important;
    }

    .museum-page .museum-graphic-hero::before{
      display:block !important;
      left:clamp(24px, 6vw, 86px) !important;
      top:50% !important;
      width:clamp(78px, 14vw, 166px) !important;
      max-height:82% !important;
      background:var(--museum-ornament) center/contain no-repeat !important;
      opacity:1 !important;
    }

    .museum-page .story-band::after{
      display:none !important;
    }

    .museum-page .style-panel::after{
      right:clamp(12px, 2.2vw, 32px) !important;
      bottom:clamp(10px, 1.8vw, 24px) !important;
      width:clamp(58px, 8.2vw, 104px) !important;
      background:var(--museum-ornament) center/contain no-repeat !important;
    }

    .museum-page .bottom-red-wrap{
      display:grid !important;
      grid-template-columns:minmax(240px, 38%) minmax(0, 62%) !important;
      align-items:stretch !important;
      gap:0 !important;
      min-height:0 !important;
      background:transparent !important;
      background-image:none !important;
      margin-top:42px !important;
    }

    .museum-page .bottom-ornament-row{
      display:flex !important;
      align-items:flex-end !important;
      justify-content:flex-start !important;
      gap:clamp(6px, .8vw, 13px) !important;
      min-height:0 !important;
      padding:0 clamp(12px, 1.8vw, 26px) 0 0 !important;
      background:transparent !important;
      overflow:hidden !important;
    }

    .museum-page .bottom-ornament-row .ornament-tile{
      display:block !important;
      flex:0 0 auto !important;
      width:clamp(64px, 8.4vw, 118px) !important;
      aspect-ratio:1 / 1 !important;
      background:var(--museum-ornament) center/contain no-repeat !important;
    }

    .museum-page .bottom-red::after{
      display:none !important;
    }

    @media (max-width:1080px){
      .museum-page .bottom-red-wrap{
        display:block !important;
      }
      .museum-page .bottom-ornament-row{
        justify-content:center !important;
        padding:0 0 20px 0 !important;
      }
      .museum-page .bottom-ornament-row .ornament-tile{
        width:clamp(58px, 12vw, 92px) !important;
      }
    }

    @media (max-width:760px){
      .museum-page .museum-graphic-hero::before{
        left:clamp(12px, 4vw, 24px) !important;
        width:clamp(54px, 18vw, 92px) !important;
      }
      .museum-page .style-panel::after{
        width:clamp(48px, 16vw, 76px) !important;
      }
      .museum-page .bottom-ornament-row{
        gap:6px !important;
      }
      .museum-page .bottom-ornament-row .ornament-tile{
        width:clamp(48px, 18vw, 78px) !important;
      }
    }

  

    /* ===== Правка 27.05: мобильные вкладки, фото без скачка страницы, листание внутри блока ===== */
    .museum-tab-holder.is-open .names-dropdown{
      opacity:1 !important;
      visibility:visible !important;
      transform:translateY(0) !important;
    }

    .site-photo-lightbox{
      overscroll-behavior:contain;
    }
    .site-photo-lightbox__close,
    .site-photo-lightbox__nav{
      -webkit-tap-highlight-color:transparent;
    }
    .site-photo-lightbox__nav{
      position:absolute;
      top:50%;
      transform:translateY(-50%);
      width:48px;
      height:64px;
      border:0;
      border-radius:14px;
      background:rgba(255,255,255,.92);
      color:#1f1f1f;
      font-size:44px;
      line-height:1;
      cursor:pointer;
      display:flex;
      align-items:center;
      justify-content:center;
      z-index:2;
      font-family:Arial, sans-serif;
      box-shadow:0 8px 24px rgba(0,0,0,.28);
    }
    .site-photo-lightbox__nav:hover{background:#fff;}
    .site-photo-lightbox__nav--prev{left:22px;}
    .site-photo-lightbox__nav--next{right:22px;}
    .site-photo-lightbox__counter{
      position:absolute;
      top:20px;
      left:50%;
      transform:translateX(-50%);
      padding:6px 12px;
      border-radius:999px;
      background:rgba(0,0,0,.48);
      color:#fff;
      font-size:11pt;
      line-height:1.2;
      font-weight:600;
      z-index:2;
      font-family:"Montserrat", Arial, sans-serif;
    }
    .site-photo-lightbox.is-single .site-photo-lightbox__nav,
    .site-photo-lightbox.is-single .site-photo-lightbox__counter{
      display:none !important;
    }

    @media (max-width:760px){
      .museum-tabs-wrap{overflow:visible !important;}
      .museum-tabs{
        width:100% !important;
        display:grid !important;
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
        overflow:visible !important;
      }
      .museum-tab-holder{
        min-width:0 !important;
        width:100% !important;
      }
      .museum-tab,
      .museum-tab-holder > .museum-tab{
        min-width:0 !important;
        width:100% !important;
        min-height:52px !important;
        padding:8px 6px !important;
        font-size:11px !important;
        line-height:1.08 !important;
      }
      .museum-tab-holder.is-open{
        grid-column:1 / -1 !important;
      }
      .museum-tab-holder.is-open > .museum-tab{
        width:100% !important;
      }
      .names-dropdown{
        position:static !important;
        width:100% !important;
        display:none !important;
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
        opacity:1 !important;
        visibility:visible !important;
        transform:none !important;
        box-shadow:none !important;
        border-left:0 !important;
        border-right:0 !important;
        padding:8px !important;
        z-index:20 !important;
      }
      .museum-tab-holder.is-open .names-dropdown{
        display:grid !important;
      }
      .names-dropdown a{
        font-size:12px !important;
        padding:10px 8px !important;
        text-align:center !important;
      }
      .site-photo-lightbox{padding:18px 64px !important;}
      .site-photo-lightbox__nav{
        width:42px;
        height:58px;
        border-radius:12px;
        font-size:38px;
      }
      .site-photo-lightbox__nav--prev{left:10px;}
      .site-photo-lightbox__nav--next{right:10px;}
      .site-photo-lightbox__counter{top:12px;font-size:10pt;}
      .site-photo-lightbox__caption{bottom:12px !important;font-size:10pt !important;}
    }
    @media (max-width:480px){
      .museum-tabs{grid-template-columns:1fr !important;}
      .museum-tab-holder.is-open{grid-column:auto !important;}
      .names-dropdown{grid-template-columns:1fr !important;}
      .site-photo-lightbox{padding:58px 14px 48px !important;}
      .site-photo-lightbox__nav{
        top:auto;
        bottom:10px;
        transform:none;
        width:44px;
        height:38px;
        font-size:32px;
      }
      .site-photo-lightbox__nav--prev{left:18px;}
      .site-photo-lightbox__nav--next{right:18px;}
      .site-photo-lightbox__close{top:10px !important;right:10px !important;}
    }

  

    /* ===== Краеведческий хронограф ===== */
    .chronograph-page{background:var(--ivory);padding:0 0 72px;}
    .chronograph-page .museum-breadcrumb{padding-bottom:20px;}
    .chronograph-hero{
      position:relative;overflow:hidden;margin:0 0 30px;padding:34px 40px 36px;
      background:linear-gradient(135deg,#5a382b 0%,#3e2d25 100%);color:#fff;border-radius:20px;
      box-shadow:0 14px 36px rgba(62,45,37,.16);
    }
    .chronograph-hero::after{content:"";position:absolute;right:-45px;bottom:-65px;width:210px;height:210px;border:2px solid rgba(255,255,255,.13);border-radius:50%;box-shadow:0 0 0 24px rgba(255,255,255,.05),0 0 0 52px rgba(255,255,255,.035);}
    .chronograph-hero__eyebrow{position:relative;z-index:1;margin:0 0 8px;font-size:13px;line-height:1.2;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#f4dfbd;}
    .chronograph-hero h1{position:relative;z-index:1;margin:0 0 10px;color:#fff;font-size:36px;line-height:1.12;font-weight:800;}
    .chronograph-hero p{position:relative;z-index:1;max-width:920px;margin:0;color:#f7efe5;font-size:17px;line-height:1.55;font-weight:500;}
    .chronograph-anniversary{display:inline-flex;margin-top:18px;padding:8px 13px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(255,255,255,.08);color:#fff;font-size:13px;font-weight:700;}
    .chronograph-section-title{margin:0 0 18px;color:#30261f;font-size:26px;line-height:1.2;font-weight:800;}
    .months-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px;margin-bottom:34px;}
    .month-card{position:relative;min-height:148px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:22px 14px;text-align:center;border:1px solid #dfd1bd;border-radius:17px;background:#fbf6ea;color:#4e392e;box-shadow:0 9px 22px rgba(66,48,36,.06);overflow:hidden;}
    .month-card::before{content:"";position:absolute;left:0;right:0;top:0;height:7px;background:#cbb99d;}
    .month-card--active{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease;text-decoration:none!important;}
    .month-card--active::before{background:#5a382b;}
    .month-card--active:hover,.month-card--active:focus-visible{transform:translateY(-4px);border-color:#a98567;background:#fffaf0;box-shadow:0 16px 34px rgba(90,56,43,.15);outline:none;}
    .month-card--inactive{opacity:.74;cursor:default;}
    .month-card__name{display:block;margin-bottom:8px;font-size:19px;line-height:1.15;font-weight:800;color:#3f2d24;}
    .month-card__count{display:block;font-size:13px;line-height:1.25;font-weight:650;color:#807164;}
    .month-card__status{display:block;margin-top:10px;font-size:11px;line-height:1.2;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#9b8876;}
    .month-card--active .month-card__status{color:#6f4634;}

    .calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px;}
    .calendar-toolbar h1{margin:0;color:#30261f;font-size:30px;line-height:1.15;font-weight:800;}
    .chronograph-back{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid #d7c7b0;border-radius:999px;background:#fbf6ea;color:#5a382b;font-size:13px;font-weight:800;text-decoration:none!important;transition:.18s ease;}
    .chronograph-back:hover,.chronograph-back:focus-visible{background:#5a382b;color:#fff;border-color:#5a382b;outline:none;}
    .calendar-note{margin:0 0 22px;color:#766a60;font-size:14px;line-height:1.5;}
    .calendar-shell{padding:24px;border:1px solid #dfd1bd;border-radius:20px;background:#fffaf0;box-shadow:0 14px 34px rgba(66,48,36,.08);}
    .calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;}
    .calendar-weekday{display:flex;align-items:center;justify-content:center;min-height:38px;color:#705c4d;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;}
    .calendar-day{aspect-ratio:1/1;min-width:0;display:flex;align-items:center;justify-content:center;border-radius:13px;font-size:16px;font-weight:800;text-decoration:none!important;}
    .calendar-day--empty{background:transparent;}
    .calendar-day--inactive{background:#eadfc9;color:#958675;border:1px solid #e1d2bb;cursor:default;}
    .calendar-day--active{position:relative;background:#5a382b;color:#fff;border:1px solid #5a382b;box-shadow:0 6px 14px rgba(90,56,43,.16);transition:transform .16s ease,background .16s ease,box-shadow .16s ease;}
    .calendar-day--active:hover,.calendar-day--active:focus-visible{transform:translateY(-2px);background:#734936;color:#fff;box-shadow:0 10px 22px rgba(90,56,43,.26);outline:none;}
    .calendar-legend{display:flex;flex-wrap:wrap;gap:18px;margin-top:18px;color:#75685d;font-size:13px;font-weight:650;}
    .calendar-legend span{display:inline-flex;align-items:center;gap:8px;}
    .calendar-legend i{width:18px;height:18px;border-radius:5px;display:inline-block;}
    .calendar-legend .legend-active{background:#5a382b;}.calendar-legend .legend-empty{background:#eadfc9;border:1px solid #e1d2bb;}

    .date-page-title{margin:0 0 10px;color:#30261f;font-size:32px;line-height:1.15;font-weight:800;}
    .date-page-subtitle{margin:0 0 26px;color:#766a60;font-size:14px;line-height:1.5;}
    .event-stack{display:grid;gap:18px;}
    .chronograph-event{position:relative;padding:24px 28px 25px 32px;border:1px solid #dfd1bd;border-radius:17px;background:#fffaf0;box-shadow:0 9px 24px rgba(66,48,36,.06);overflow:hidden;}
    .chronograph-event::before{content:"";position:absolute;left:0;top:0;bottom:0;width:7px;background:#5a382b;}
    .chronograph-event p{margin:0 0 12px;color:#2f2924;font-size:16px;line-height:1.58;font-weight:500;}
    .chronograph-event p:last-child{margin-bottom:0;}
    .chronograph-event strong{color:#5a382b;font-weight:800;}
    .date-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px;}

    @media(max-width:1280px){.months-grid{grid-template-columns:repeat(4,minmax(0,1fr));}.chronograph-hero h1{font-size:33px;}}
    @media(max-width:900px){.months-grid{grid-template-columns:repeat(3,minmax(0,1fr));}.calendar-shell{padding:18px}.calendar-grid{gap:8px;}}
    @media(max-width:760px){
      .chronograph-page{padding-bottom:50px}.chronograph-hero{padding:28px 24px 30px;border-radius:16px}.chronograph-hero h1{font-size:27px}.chronograph-hero p{font-size:15px}.chronograph-section-title{font-size:22px}
      .months-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.month-card{min-height:122px;padding:18px 10px}.month-card__name{font-size:17px}
      .calendar-toolbar{align-items:flex-start;flex-direction:column}.calendar-toolbar h1,.date-page-title{font-size:26px}.calendar-shell{padding:12px;border-radius:15px}.calendar-grid{gap:5px}.calendar-weekday{min-height:30px;font-size:10px}.calendar-day{border-radius:9px;font-size:14px}
      .chronograph-event{padding:21px 19px 22px 24px}.chronograph-event p{font-size:15px;line-height:1.55}
    }
    @media(max-width:420px){.months-grid{grid-template-columns:1fr}.calendar-shell{padding:9px}.calendar-grid{gap:4px}.calendar-day{font-size:13px;border-radius:7px}.calendar-weekday{font-size:9px}.chronograph-hero h1{font-size:24px}}


    /* ===== Хронограф 2026: единый файл, компактные календари и модальная форма ===== */
    .chrono-view[hidden]{display:none !important;}

    .chronograph-page{padding:0 0 34px !important;}
    .chronograph-page .page-width{width:80% !important;max-width:none !important;margin:0 auto !important;}
    .chronograph-page .museum-breadcrumb{padding-top:10px !important;padding-bottom:10px !important;}

    .calendar-toolbar{width:100% !important;max-width:1160px !important;margin:0 auto 8px !important;gap:12px !important;}
    .calendar-toolbar h1{font-size:27px !important;line-height:1.1 !important;}
    .chronograph-back{padding:8px 13px !important;font-size:12px !important;}
    .calendar-note{width:100% !important;max-width:1160px !important;margin:0 auto 10px !important;font-size:13px !important;line-height:1.35 !important;}
    .calendar-shell{width:100% !important;max-width:1160px !important;margin:0 auto !important;padding:14px 16px 12px !important;border-radius:16px !important;box-shadow:0 9px 24px rgba(66,48,36,.07) !important;}
    .calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr)) !important;grid-template-rows:28px !important;grid-auto-rows:50px !important;gap:7px !important;}
    .calendar-weekday{min-height:0 !important;height:28px !important;font-size:11px !important;}
    .calendar-day{width:100% !important;height:100% !important;min-height:0 !important;aspect-ratio:auto !important;border-radius:10px !important;font-size:15px !important;font-family:inherit;}
    button.calendar-day{padding:0;cursor:pointer;}
    .calendar-day--active{box-shadow:0 4px 10px rgba(90,56,43,.14) !important;}
    .calendar-day--active:hover,.calendar-day--active:focus-visible{transform:translateY(-1px) !important;box-shadow:0 7px 15px rgba(90,56,43,.22) !important;}
    .calendar-legend{justify-content:center !important;gap:18px !important;margin-top:10px !important;font-size:12px !important;}
    .calendar-legend i{width:14px !important;height:14px !important;border-radius:4px !important;}
    .calendar-undated-wrap{display:flex;justify-content:center;margin-top:10px;}
    .calendar-undated-wrap[hidden]{display:none !important;}

    .chrono-modal{position:fixed;inset:0;z-index:10050;display:none;align-items:center;justify-content:center;padding:24px;}
    .chrono-modal.is-open{display:flex;}
    .chrono-modal__backdrop{position:absolute;inset:0;background:rgba(38,27,21,.68);backdrop-filter:blur(2px);}
    .chrono-modal__dialog{position:relative;z-index:1;width:min(860px,94vw);max-height:88vh;display:flex;flex-direction:column;background:#fffaf0;border:1px solid #d9c8af;border-radius:20px;box-shadow:0 28px 80px rgba(33,22,16,.34);overflow:hidden;}
    .chrono-modal__header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 26px 16px;border-bottom:1px solid #e5d8c5;background:#fbf6ea;}
    .chrono-modal__title{margin:0;color:#30261f;font-size:25px;line-height:1.15;font-weight:800;}
    .chrono-modal__subtitle{margin:6px 0 0;color:#786b60;font-size:12px;line-height:1.4;font-weight:600;}
    .chrono-modal__close{flex:0 0 auto;width:36px;height:36px;border:1px solid #d6c5ae;border-radius:50%;background:#fffaf0;color:#5a382b;font-size:25px;line-height:32px;font-family:Arial,sans-serif;cursor:pointer;transition:.16s ease;}
    .chrono-modal__close:hover,.chrono-modal__close:focus-visible{background:#5a382b;color:#fff;border-color:#5a382b;outline:none;}
    .chrono-modal__body{padding:20px 26px 18px;overflow:auto;overscroll-behavior:contain;}
    .chrono-modal .chronograph-event{margin:0;box-shadow:none;}
    .chrono-modal__footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 26px 18px;border-top:1px solid #e5d8c5;background:#fbf6ea;}
    .chrono-modal__nav{display:inline-flex;align-items:center;justify-content:center;min-width:118px;padding:9px 13px;border:1px solid #d7c7b0;border-radius:999px;background:#fffaf0;color:#5a382b;font-size:12px;line-height:1.2;font-weight:800;cursor:pointer;transition:.16s ease;}
    .chrono-modal__nav:hover:not(:disabled),.chrono-modal__nav:focus-visible:not(:disabled){background:#5a382b;color:#fff;border-color:#5a382b;outline:none;}
    .chrono-modal__nav:disabled{opacity:.35;cursor:default;}
    .chrono-modal__counter{color:#766a60;font-size:12px;font-weight:800;text-align:center;white-space:nowrap;}
    body.chrono-modal-open{overflow:hidden;}

    @media(max-width:1280px){
      .chronograph-page .page-width{width:86% !important;}
      .calendar-shell,.calendar-toolbar,.calendar-note{max-width:1040px !important;}
      .calendar-grid{grid-auto-rows:47px !important;}
    }
    @media(min-width:761px) and (max-height:850px){
      .chronograph-page .museum-breadcrumb{padding-top:7px !important;padding-bottom:7px !important;}
      .calendar-toolbar{margin-bottom:5px !important;}
      .calendar-toolbar h1{font-size:25px !important;}
      .calendar-note{margin-bottom:7px !important;font-size:12px !important;}
      .calendar-shell{padding:10px 13px 9px !important;}
      .calendar-grid{grid-template-rows:24px !important;grid-auto-rows:42px !important;gap:6px !important;}
      .calendar-weekday{height:24px !important;font-size:10px !important;}
      .calendar-day{font-size:14px !important;border-radius:8px !important;}
      .calendar-legend{margin-top:7px !important;}
    }
    @media(max-width:760px){
      .chronograph-page{padding-bottom:26px !important;}
      .chronograph-page .page-width{width:92% !important;}
      .calendar-toolbar{flex-direction:row !important;align-items:center !important;justify-content:space-between !important;margin-bottom:8px !important;}
      .calendar-toolbar h1{font-size:23px !important;}
      .chronograph-back{padding:7px 10px !important;font-size:11px !important;}
      .calendar-note{font-size:12px !important;margin-bottom:8px !important;}
      .calendar-shell{padding:10px 8px 9px !important;border-radius:13px !important;}
      .calendar-grid{grid-template-rows:25px !important;grid-auto-rows:44px !important;gap:4px !important;}
      .calendar-weekday{height:25px !important;font-size:9px !important;}
      .calendar-day{font-size:13px !important;border-radius:7px !important;}
      .calendar-legend{gap:12px !important;margin-top:8px !important;font-size:11px !important;}
      .chrono-modal{padding:12px;align-items:flex-end;}
      .chrono-modal__dialog{width:100%;max-height:91vh;border-radius:18px 18px 10px 10px;}
      .chrono-modal__header{padding:18px 17px 13px;}
      .chrono-modal__title{font-size:21px;}
      .chrono-modal__body{padding:16px 15px;}
      .chrono-modal__footer{padding:12px 15px 14px;}
      .chrono-modal__nav{min-width:0;padding:8px 11px;font-size:11px;}
      .chrono-modal__counter{font-size:11px;}
      .chrono-modal .chronograph-event{padding:20px 17px 21px 22px;}
    }
    @media(max-width:420px){
      .calendar-toolbar h1{font-size:21px !important;}
      .chronograph-back{padding:6px 8px !important;}
      .calendar-grid{grid-template-rows:23px !important;grid-auto-rows:40px !important;gap:3px !important;}
      .calendar-weekday{height:23px !important;font-size:8px !important;}
      .calendar-day{font-size:12px !important;border-radius:6px !important;}
      .calendar-legend{justify-content:flex-start !important;}
      .chrono-modal__footer{gap:8px;}
      .chrono-modal__nav{padding:7px 9px;}
    }


    /* ===== Иконки категорий в модальном окне хронографа ===== */
    .chrono-event-category{
      display:flex;
      align-items:center;
      gap:14px;
      margin:0 0 17px;
      padding:0 0 15px;
      border-bottom:1px solid #e4d7c4;
    }
    .chrono-event-category__icon-wrap{
      flex:0 0 52px;
      width:52px;
      height:52px;
      display:flex;
      align-items:center;
      justify-content:center;
      overflow:hidden;
      border-radius:13px;
      background:#fff;
      border:1px solid #eadfce;
      box-shadow:0 4px 12px rgba(66,48,36,.06);
    }
    .chrono-event-category__icon{
      width:48px;
      height:48px;
      object-fit:contain;
      display:block;
    }
    .chrono-event-category__copy{
      min-width:0;
      display:flex;
      flex-direction:column;
      gap:2px;
    }
    .chrono-event-category__label{
      color:#8b796b;
      font-size:10px;
      line-height:1.2;
      font-weight:800;
      letter-spacing:.08em;
      text-transform:uppercase;
    }
    .chrono-event-category__text{
      color:#5a382b;
      font-size:15px;
      line-height:1.25;
      font-weight:800;
    }

    @media(max-width:760px){
      .chrono-event-category{
        gap:11px;
        margin-bottom:14px;
        padding-bottom:13px;
      }
      .chrono-event-category__icon-wrap{
        flex-basis:46px;
        width:46px;
        height:46px;
        border-radius:11px;
      }
      .chrono-event-category__icon{
        width:42px;
        height:42px;
      }
      .chrono-event-category__text{
        font-size:14px;
      }
    }
.chrono-modal__body {
  padding: 20px 26px 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.chrono-modal__body .chronograph-event + .chronograph-event {
  margin-top: 0;
}
  .chrono-event-category__icon-wrap{font-size:26px;line-height:1;}
  .chrono-modal__body{display:flex;flex-direction:column;gap:16px;}
  .chrono-modal__body .chronograph-event{flex:0 0 auto;}
  .calendar-undated-wrap{margin-top:12px;}
  .calendar-undated-wrap .chronograph-back{cursor:pointer;font-family:inherit;}
.calendar-month-nav{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.chronograph-back--disabled{
  opacity:.35;
  pointer-events:none;
  cursor:default;
}
.calendar-month-nav{
  display:flex;
  align-items:center;
  gap:5px;
  flex-wrap:wrap;
}
@media (max-width:760px){
  .calendar-month-nav{gap:6px;}
  .calendar-month-nav .chronograph-back{padding:7px 9px;font-size:11px;}
}