/* _content/megaskaz/Components/Blocks/Aside/Ad_block.razor.rz.scp.css */
.ad-block[b-sh74lwb0h3] {
    display: block;
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-top: 2rem;
    padding: 1rem;
    background: linear-gradient(135deg, #2563eb, #16a34a);
    border-radius: 8px;
    color: white;
    text-align: center;
    & span {margin-bottom: 0.5rem; font-size: 2rem;}
    p[b-sh74lwb0h3]{text-align: center;}
}
/* _content/megaskaz/Components/Blocks/Aside/Aside.razor.rz.scp.css */
aside[b-ydzx2l6uva] {
    grid-area: aside;
    background-color: var(--Fon);
    padding: 1rem;
    border-right: 1px solid var(--menu-border);
    position: sticky;
    top: var(--H_header);
    height: calc(100dvh - var(--H_header));
    overflow-y: auto;
    transition: transform 0.3s ease;
}

@media (max-width: 900px) {
    aside[b-ydzx2l6uva] {
        position: fixed;
        top: 80px;
        left: 0;
        height: calc(100dvh - 80px);
        width: 340px;
        transform: translateX(-100%);
        z-index: 90;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

        aside.active[b-ydzx2l6uva] {
            transform: translateX(0);
        }
}
/* _content/megaskaz/Components/Blocks/Aside/Nav.razor.rz.scp.css */

nav ul[b-up7b5nfnwk] {
    list-style: none;
    padding: 0;
    li

{
    margin-bottom: 0.5rem;
    a

{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--Text_C);
    border-radius: 8px;
    transition: background-color 0.3s;
    &:hover

{
    background-color: var(--Akcent_C);
    color: white;
}

span:last-child[b-up7b5nfnwk] {
    font-size: 0.6em;
}

}

a.active[b-up7b5nfnwk] {
    border: 1px solid var(--V_C);
}

}
}

.ad-container[b-up7b5nfnwk] {
    margin-top: 2rem;
    max-width: 320px;
    padding: 1rem;
    background-color: var(--Fon_a);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.ad-title[b-up7b5nfnwk] {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--Akcent_C);
}

.ad-content[b-up7b5nfnwk] {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    aside[b-up7b5nfnwk] {
        position: fixed;
        top: 80px;
        left: 0;
        height: calc(100vh - 80px);
        width: 340px;
        transform: translateX(-100%);
        z-index: 90;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

        aside.active[b-up7b5nfnwk] {
            transform: translateX(0);
        }
}
/* _content/megaskaz/Components/Blocks/Aside/Nav_OLD.razor.rz.scp.css */

nav ul[b-wdfw031cub] {
    list-style: none;
    padding: 0;
    li

{
    margin-bottom: 0.5rem;
    a

{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--Text_C);
    border-radius: 8px;
    transition: background-color 0.3s;
    &:hover

{
    background-color: var(--Akcent_C);
    color: white;
}

span:last-child[b-wdfw031cub] {
    font-size: 0.6em;
}

}

a.active[b-wdfw031cub] {
    border: 1px solid var(--V_C);
}

}
}

.ad-container[b-wdfw031cub] {
    margin-top: 2rem;
    max-width: 320px;
    padding: 1rem;
    background-color: var(--Fon_a);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.ad-title[b-wdfw031cub] {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--Akcent_C);
}

.ad-content[b-wdfw031cub] {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    aside[b-wdfw031cub] {
        position: fixed;
        top: 80px;
        left: 0;
        height: calc(100vh - 80px);
        width: 340px;
        transform: translateX(-100%);
        z-index: 90;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

        aside.active[b-wdfw031cub] {
            transform: translateX(0);
        }
}
/* _content/megaskaz/Components/Blocks/Footer/Footer.razor.rz.scp.css */
:root[b-gqk8zvvepg] {
    --f_aс: #CCCCCC;
}

footer[b-gqk8zvvepg] {
    grid-area: footer;
    background-color: #233249;
    color: #CCCCCC;
    padding: 2rem 1rem;
    text-align: left;
}

.footer-content[b-gqk8zvvepg] {
    margin: 0 auto;
    columns: 300px;
    column-gap: 20px;
    column-rule: 1px solid var(--Akcent_C);
}

.footer-section[b-gqk8zvvepg] {
    /*Без этого кода плохо работает columns: 300px;*/
    /*page-break-inside: avoid;*/ /*Устаревший метод*/
    break-inside: avoid; /*Новый метод*/
    ruby

{
    ruby-align: center;
    ruby-position: over;
}

h3[b-gqk8zvvepg] {
    color: var(--Akcent_C);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

p[b-gqk8zvvepg] {
    color: var(--f_aс);
}

a[b-gqk8zvvepg] {
    display: inline-block;
    color: var(--f_aс);
    padding: 6px;
    margin: 4px;
    background-color: #425570ad;
}

    a:hover[b-gqk8zvvepg] {
        color: white;
        background-color: #3f76c9ad;
    }

}

#copyright[b-gqk8zvvepg] {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--Akcent_C);
    grid-column: 1 / -1;
}
/* _content/megaskaz/Components/Blocks/Header/Font_controls.razor.rz.scp.css */
#font-controls[b-vsdyf6ktgs] {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--V_C);
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow);
}

    #font-controls button[b-vsdyf6ktgs] {
        background: none;
        border: none;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        cursor: pointer;
        font-weight: bold;
        font-size: 1.1rem;
        color: var(--Text_C);
        background-color: var(--Fon);
    }

        #font-controls button:hover[b-vsdyf6ktgs] {
            background-color: var(--Akcent_C);
            color: white;
        }

    #font-controls.visible[b-vsdyf6ktgs] {
        opacity: 1;
        transform: translateY(0);
    }
/* _content/megaskaz/Components/Blocks/Header/Header.razor.rz.scp.css */
header[b-y18qlu1e37] {
    grid-area: header;
    background-color: var(--Fon_a);
    padding: 1rem;
    box-shadow: var(--shadow);
    position: sticky;
    position: -webkit-sticky; /* Для Safari */
    top: 0;
    min-height: var(--H_header);
    z-index: 100;
}

.header-content[b-y18qlu1e37] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#logo[b-y18qlu1e37] {
    font-size: 1rem;
    font-weight: bold;
    color: var(--Akcent_C);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    svg

{
    width: 30px;
    height: 30px;
}

}

@media (min-width: 769px) {
    #logo[b-y18qlu1e37] {
        font-size: 2rem;
        svg

{
    width: 40px;
    height: 40px;
}

}
}

.header-controls[b-y18qlu1e37] {
    display: flex;
    align-items: center;
    gap: 1rem;
}
/* _content/megaskaz/Components/Blocks/Header/Menu_toggle.razor.rz.scp.css */
/* Существующие стили меню */
.menu-toggle[b-pl7gok6l07] {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: space-around;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span[b-pl7gok6l07] {
    width: 100%;
    height: 3px;
    background-color: var(--Text_C);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1)[b-pl7gok6l07] {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2)[b-pl7gok6l07] {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3)[b-pl7gok6l07] {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Стили для сайдбара */
#sidebar[b-pl7gok6l07] {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100dvh;
    background: var(--Bg_C);
    transition: left 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}

#sidebar.active[b-pl7gok6l07] {
    left: 0;
}

/* Затемнение фона когда меню открыто */
#sidebar.active[b-pl7gok6l07]::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* Адаптивность */
@media (max-width: 898px) {
    .menu-toggle[b-pl7gok6l07] {
        display: flex;
    }

    #sidebar[b-pl7gok6l07] {
        width: 280px;
    }
}

@media (min-width: 899px) {
    #sidebar[b-pl7gok6l07] {
        position: static;
        width: auto;
        height: auto;
        left: 0 !important;
    }
}

/* Предотвращение скролла body когда меню открыто на мобильных */
body.sidebar-open[b-pl7gok6l07] {
    overflow: hidden;
}
/* _content/megaskaz/Components/Blocks/Header/ScrollIndicator.razor.rz.scp.css */
#scrollIndicator[b-6k8y8v0dy5] {
    background-color: #55a586;
    width: 100%;
    height: var(--H_Indicator);
    position: absolute;
    top: 0;
    inset-inline-start: 0; /* Логическое свойство вместо left */
    transform-origin: left center; /* Для LTR оставляем физическое свойство */
    z-index: 110;
    animation: progress-b-6k8y8v0dy5 linear forwards;
    animation-timeline: scroll();
    /* Оптимизация анимации */
    will-change: transform;
    transition: width 0.1s; /*Это совет DeepSeek*/
}

@keyframes progress-b-6k8y8v0dy5 {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

/* Fallback для браузеров без поддержки animation-timeline */
@supports not (animation-timeline: scroll()) {
    .scrollIndicator[b-6k8y8v0dy5] {
        animation: none;
    }
    /* Альтернативное решение через JavaScript */
}
/* _content/megaskaz/Components/Blocks/Header/ThemeToggle.razor.rz.scp.css */
.theme-toggle[b-r7d9bsqnqv] {
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--V_C);
    box-shadow: var(--shadow);
    svg {width: 24px;height: 24px;fill: var(--Text_C);}
}
/* _content/megaskaz/Components/Blocks/Main/ArticleMy.razor.rz.scp.css */
.story[b-quzta2shri] {
  /* CSS-логические свойства с fallback */
  --story-gap: 1rem;
  --story-padding: clamp(0.625rem, 2vi, 1.25rem);
  --border-radius: 0.9375rem;
  
  /* Основные стили */
  max-inline-size: min(680px, 90vi);
  margin-inline: auto;
  padding: var(--story-padding);
  
  background: var(--Fon, #fefefe);
  border-radius: var(--border-radius);
  box-shadow: 0 0.3125rem 0.9375rem rgb(0 0 0 / 0.1);
  
  /* Семантические улучшения */
  line-height: 1.6;
  color: var(--Text_C);

  /* Убираем отступы у первого и последнего элементов */
  & > :first-child {
    margin-block-start: 0;
  }

  & > :last-child[b-quzta2shri] {
    margin-block-end: 0;
  }

  /* Стили для заголовка с микроданными */
  & > h2[b-quzta2shri] {
    color: var(--Akcent_C, #2a9d8f);
    text-align: center;
    border-block-end: 0.125rem solid var(--Akcent_C, #2a9d8f);
    padding-block-end: 0.625rem;
    margin-block: var(--story-gap);
    
    /* Улучшенная типографика */
    font-size: clamp(1.5rem, 4vi, 2rem);
    font-weight: 700;
    line-height: 1.2;
  }

  /* Стили для всех параграфов */
  & > p[b-quzta2shri] {
    text-align: justify;
    hyphens: auto;
    margin-block: 0.75rem;
    
    /* Улучшенная читаемость */
    text-wrap: pretty;
    hanging-punctuation: first;

    /* Специфичные стили для первого параграфа */
    &:first-of-type {
      margin-block-start: 0.625rem;
      font-weight: 500;
      
      /* Буквица с улучшенной поддержкой */
      &::first-letter {
        font-size: 4em;
        float: inline-start;
        line-height: 0.8;
        margin-inline-end: 0.5rem;
        color: var(--a_Bukvica, #e76f51);
        font-weight: 700;
        text-shadow: 0.0625rem 0.0625rem 0.125rem rgb(0 0 0 / 0.2);
        
        /* Поддержка для старых браузеров */
        @supports not (float: inline-start) {
          float: left;
        }
      }
    }

    /* Отступ для последующих параграфов */
    &:not(:first-of-type)[b-quzta2shri] {
      text-indent: 1rem;
    }
  }

  /* Диалоги с улучшенной семантикой */
  & .dialogue[b-quzta2shri] {
    --dialogue-color: #55a586;
    
    background-color: var(--dialogue, rgb(85 165 134 / 0.08));
    padding: 1rem;
    border-inline-start: 0.375rem solid var(--dialogue-color);
    margin-block: 1.25rem;
    border-start-end-radius: 0.625rem;
    border-end-end-radius: 0.625rem;
    
    /* Улучшенная типографика для диалогов */
    font-style: italic;
    color: var(--dialogue-text, #444);
    
    & p {
      margin-block: 0.5rem;
      text-indent: 0 !important; /* Убираем отступ в диалогах */
      text-align: start;
      
      &:first-child {
        margin-block-start: 0;
      }
      
      &:last-child[b-quzta2shri] {
        margin-block-end: 0;
      }
    }
  }

  /* Акцентные блоки */
  & .akcent[b-quzta2shri] {
    background-color: var(--akcent, rgb(255 245 204 / 0.8));
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-block: 1.5rem;
    border: 0.0625rem solid rgb(255 235 143 / 0.6);
    
    /* Типографика акцентного блока */
    font-style: italic;
    font-size: 1.1em;
    line-height: 1.5;
    text-align: justify;
    
    & p {
      margin: 0;
      text-indent: 0 !important;
      font-style: inherit;
      font-size: inherit;
    }
  }

  /* Игнорируем ненужные <br> элементы */
  & > br[b-quzta2shri] {
    display: none;
  }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .story[b-quzta2shri] {
    max-inline-size: 95vi;
    padding: 1rem;
    
    & > p {
      text-align: start;
      hyphens: manual;
      text-indent: 0; /* Убираем отступ на мобильных */
      margin-block: 1rem;
      
      &:first-of-type::first-letter {
        font-size: 3em;
        margin-inline-end: 0.375rem;
      }
    }
    
    & .dialogue[b-quzta2shri],
    & .akcent[b-quzta2shri] {
      margin-inline: -0.5rem; /* Выступ на мобильных */
      border-radius: 0;
      
      @media (hover: none) and (pointer: coarse) {
        /* Дополнительные улучшения для тач-устройств */
        padding: 1.25rem 1rem;[b-quzta2shri]
      }
    }
    
    & .akcent[b-quzta2shri] {
      font-size: 1em;
      padding: 1.25rem;
    }
  }
}

/* Улучшенная доступность */
@media (prefers-reduced-motion: reduce) {
  .story[b-quzta2shri] {
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
}

/* Контраст для пользователей с повышенными требованиями */
@media (prefers-contrast: high) {
  .story[b-quzta2shri] {
    --Akcent_C: #006400;
    --a_Bukvica: #8b0000;
    
    box-shadow: 0 0 0 0.125rem currentColor;
    
    & .dialogue {
      border-inline-start-width: 0.5rem;
    }
  }
}



/* Стили для печати */
@media print {
  .story[b-quzta2shri] {
    max-inline-size: 100%;
    box-shadow: none;
    background: white !important;
    color: black !important;
    
    & > p:first-of-type::first-letter {
      color: black !important;
    }
    
    & .dialogue[b-quzta2shri] {
      background: white !important;
      border: 0.0625rem solid #ccc;
    }
    
    & .akcent[b-quzta2shri] {
      background: white !important;
      border: 0.125rem solid black;
    }
  }
}
/* _content/megaskaz/Components/Blocks/Main/AudioPlayer_min.razor.rz.scp.css */
audio[b-m06h1a3jg2] {
    /* Общие стили для audio элемента */
    width: 100%;
    max-width: 400px;
    margin: 20px 0;
}

    /* Стили для WebKit браузеров */
    audio[b-m06h1a3jg2]::-webkit-media-controls-panel {
        background-color: #f0f0f0;
    }

    audio[b-m06h1a3jg2]::-webkit-media-controls-play-button {
        background-color: #4CAF50;
        border-radius: 50%;
    }

    audio[b-m06h1a3jg2]::-webkit-media-controls-current-time-display,
    audio[b-m06h1a3jg2]::-webkit-media-controls-time-remaining-display {
        color: #333;
        font-weight: bold;
    }

    audio[b-m06h1a3jg2]::-webkit-media-controls-timeline {
        background-color: #ddd;
        border-radius: 5px;
        margin-left: 10px;
        margin-right: 10px;
    }

    audio[b-m06h1a3jg2]::-webkit-media-controls-volume-slider {
        background-color: #ddd;
        border-radius: 5px;
        padding-left: 8px;
        padding-right: 8px;
    }
/* _content/megaskaz/Components/Blocks/Main/Breadcrumbs.razor.rz.scp.css */
#breadcrumb[b-keerfehq10] {
  --breadcrumb-padding: 0.75rem;
  --breadcrumb-bg: var(--V_C, #f8f9fa);
  --breadcrumb-color: var(--Akcent_C, #007bff);
  --breadcrumb-hover-bg: #e9ecef;
  --breadcrumb-active-bg: var(--Akcent_C);
  --breadcrumb-active-color: white;
  --breadcrumb-radius: 0.5rem;
  --breadcrumb-transition: all 0.3s ease;
  --breadcrumb-font-size: 0.875rem;
  --breadcrumb-separator: "›";
  
  margin: 1rem 0;
  font-family: system-ui, -apple-system, sans-serif;
}

#breadcrumb ul[b-keerfehq10] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

#breadcrumb li[b-keerfehq10] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  
  &:not(:last-child)::after {
    content: var(--breadcrumb-separator);
    color: #6c757d;
    font-size: 1.125rem;
    line-height: 1;
    margin-left: 0.5rem;
  }
}

#breadcrumb a[b-keerfehq10] {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 0.5rem var(--breadcrumb-padding);
  background-color: var(--breadcrumb-bg);
  border-radius: var(--breadcrumb-radius);
  color: var(--breadcrumb-color);
  font-size: var(--breadcrumb-font-size);
  font-weight: 500;
  line-height: 1.2;
  transition: var(--breadcrumb-transition);
  position: relative;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  
  &:hover {
    background-color: var(--breadcrumb-hover-bg);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  &:focus[b-keerfehq10] {
    outline: 2px solid var(--breadcrumb-color);
    outline-offset: 2px;
  }
  
  &:active[b-keerfehq10] {
    transform: translateY(0);
  }
}

#breadcrumb span[itemprop="name"][b-keerfehq10] {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem var(--breadcrumb-padding);
  background-color: var(--breadcrumb-active-bg);
  color: var(--breadcrumb-active-color);
  border-radius: var(--breadcrumb-radius);
  font-size: var(--breadcrumb-font-size);
  font-weight: 600;
  line-height: 1.2;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  #breadcrumb[b-keerfehq10] {
    --breadcrumb-padding: 0.5rem;
    --breadcrumb-font-size: 0.8rem;
    margin: 0.5rem 0;
  }
  
  #breadcrumb ul[b-keerfehq10] {
    gap: 0.25rem;
  }
  
  #breadcrumb li[b-keerfehq10] {
    gap: 0.25rem;
    
    &:not(:last-child)::after {
      margin-left: 0.25rem;
      font-size: 1rem;
    }
  }
  
  #breadcrumb a[b-keerfehq10],
  #breadcrumb span[itemprop="name"][b-keerfehq10] {
    max-width: 150px;
    padding: 0.375rem var(--breadcrumb-padding);
  }
}

@media (max-width: 480px) {
  #breadcrumb[b-keerfehq10] {
    --breadcrumb-font-size: 0.75rem;
  }
  
  #breadcrumb a[b-keerfehq10],
  #breadcrumb span[itemprop="name"][b-keerfehq10] {
    max-width: 120px;
  }
  
  #breadcrumb ul[b-keerfehq10] {
    gap: 0.125rem;
  }
}

/* Темная тема */
@media (prefers-color-scheme: dark) {
  #breadcrumb[b-keerfehq10] {
    --breadcrumb-bg: #2d3748;
    --breadcrumb-hover-bg: #4a5568;
    --breadcrumb-active-bg: var(--Akcent_C);
  }
}

/* Анимация появления */
@keyframes breadcrumb-fade-in-b-keerfehq10 {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#breadcrumb li[b-keerfehq10] {
  animation: breadcrumb-fade-in-b-keerfehq10 0.3s ease forwards;
  
  &:nth-child(1) { animation-delay: 0.1s; }
  &:nth-child(2)[b-keerfehq10] { animation-delay: 0.2s; }
  &:nth-child(3)[b-keerfehq10] { animation-delay: 0.3s; }
  &:nth-child(4)[b-keerfehq10] { animation-delay: 0.4s; }
}

/* Улучшенная доступность */
#breadcrumb [itemprop="itemListElement"][b-keerfehq10] {
  position: relative;
}

#breadcrumb meta[itemprop="position"][b-keerfehq10] {
  display: none; /* Скрываем от визуального отображения, но оставляем для семантики */
}

/* Поддержка высокого контраста */
@media (prefers-contrast: high) {
  #breadcrumb a[b-keerfehq10] {
    border: 1px solid currentColor;
  }
}

/* Поддержка редукции движения */
@media (prefers-reduced-motion: reduce) {
  #breadcrumb[b-keerfehq10] {
    --breadcrumb-transition: none;
  }
  
  #breadcrumb a[b-keerfehq10] {
    transition: none;
    
    &:hover {
      transform: none;
    }
  }
  
  #breadcrumb li[b-keerfehq10] {
    animation: none;
  }
}
/* _content/megaskaz/Components/Blocks/Main/CounterFiveTest.razor.rz.scp.css */
.counter-container[b-4pnbrici5b] {
	padding: 1rem;
	border: 1px solid #dee2e6;
	border-radius: 0.375rem;
	max-width: 400px;
}

.btn[b-4pnbrici5b] {
	margin-top: 0.5rem;
}
/* _content/megaskaz/Components/Blocks/Main/Download.razor.rz.scp.css */
.flex-article[b-l1l26vrj5k]{
    text-align: center;
    svg{
        width: 75px;
        height: 100px;
        margin: 0 6px;
        &:hover{filter: brightness(80%);} 
    }
}
/* _content/megaskaz/Components/Blocks/Main/Hero.razor.rz.scp.css */
.container_h[b-0oinx1pn7q] {
    container-type: inline-size;
}

#hero[b-0oinx1pn7q] {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
    grid-template-areas:
        "hero-text-1"
        "hero-image"
        "hero-text-2";
    margin-bottom: 12px;
}

@container (width > 700px) {
    #hero[b-0oinx1pn7q] {
        grid-template-columns: 2fr 3fr;
        gap: 30px;
        grid-template-areas:
            "hero-image hero-text-1"
            "hero-text-2 hero-text-2";
        margin-bottom: 20px;
    }
}

@container (width > 900px) {
    #hero[b-0oinx1pn7q] {
        grid-template-columns: 2fr 3fr;
        gap: 30px;
        grid-template-areas:
            "hero-image hero-text-1"
            "hero-image hero-text-2";
        margin-bottom: 20px;
    }
}

.hero-image[b-0oinx1pn7q] {
    grid-area: hero-image;
    position: relative;
    img

{
    border-radius: 12px;
    box-shadow: var(--shadow);
    width: 100%;
    height: auto;
    display: block;
}

}

.hero-text-1[b-0oinx1pn7q] {
    grid-area: hero-text-1;
    text-align: center;
}
h1:focus:not(:focus-visible)[b-0oinx1pn7q] {
    outline: none;
}

h1:focus-visible[b-0oinx1pn7q] {
    outline: 2px solid transparent;
}

.hero-text-2[b-0oinx1pn7q] {
    grid-area: hero-text-2;
    p

{
    text-align: justify;
    hyphens: auto;
    line-height: 1.7;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    text-indent: 40px;
}
}
/* _content/megaskaz/Components/Blocks/Main/Home_gallery.razor.rz.scp.css */
.home_gallery[b-wwjbtg0ff3] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;

    .h-story-card {
        background: var(--Fon_a);
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px #0000001a;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        
        &:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px #00000026;
        }
    }

    .story-image-container[b-wwjbtg0ff3] {
        position: relative;
        width: 100%;
        height: 0;
        padding-bottom: 60%; /* Соотношение сторон 5:3 */
        overflow: hidden;
        background: #ecf0f1;
        
        .story-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            transition: transform 0.3s ease;
            
            &:hover {
                transform: scale(1.05);
            }
        }
        
        &:empty[b-wwjbtg0ff3]::before {
            content: "Загрузка изображения...";
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: #7f8c8d;
            font-style: italic;
        }
    }

    .h-story-content[b-wwjbtg0ff3] {
        padding: 20px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .story-title[b-wwjbtg0ff3] {
        font-size: 1.25rem;
        margin-bottom: 10px;
        color: #2c3e50;
        line-height: 1.3;
    }

    .story-author[b-wwjbtg0ff3] {
        color: #7f8c8d;
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .story-meta[b-wwjbtg0ff3] {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: auto;
        padding-top: 15px;
        border-top: 1px solid #eee;
    }

    .reading-time[b-wwjbtg0ff3] {
        display: flex;
        align-items: center;
        color: #95a5a6;
        font-size: 0.85rem;
        
        svg {
            margin-right: 5px;
            width: 16px;
            height: 16px;
        }
    }
    
    .read-button[b-wwjbtg0ff3] {
        background-color: #3498db;
        color: white;
        border: none;
        padding: 8px 15px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 0.9rem;
        transition: background-color 0.3s;
        
        &:hover {
            background-color: #2980b9;
        }
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .home_gallery[b-wwjbtg0ff3] {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
        
        .story-image-container {
            padding-bottom: 65%; /* Немного увеличиваем высоту на планшетах */
        }
        
        .h-story-content[b-wwjbtg0ff3] {
            padding: 15px;
        }
    }
}

@media (max-width: 576px) {
    .home_gallery[b-wwjbtg0ff3] {
        grid-template-columns: 1fr;
        gap: 15px;
        
        .h-story-card {
            max-width: 100%;
            margin: 0;
        }
        
        .story-image-container[b-wwjbtg0ff3] {
            padding-bottom: 70%; /* Еще больше увеличиваем высоту на мобильных */
        }
        
        .h-story-content[b-wwjbtg0ff3] {
            padding: 12px;
        }
        
        .story-title[b-wwjbtg0ff3] {
            font-size: 1.1rem;
        }
        
        .story-meta[b-wwjbtg0ff3] {
            flex-direction: column;
            align-items: flex-start;
            gap: 10px;
        }
        
        .read-button[b-wwjbtg0ff3] {
            width: 100%;
            text-align: center;
        }
    }
}

/* Дополнительные брейкпоинты для очень маленьких экранов */
@media (max-width: 380px) {
    .home_gallery[b-wwjbtg0ff3] {
        .story-image-container {
            padding-bottom: 75%; /* Максимальная высота для очень маленьких экранов */
        }
        
        .h-story-content[b-wwjbtg0ff3] {
            padding: 10px;
        }
    }
}

.story-image-container.image-error[b-wwjbtg0ff3]::before {
    content: "Изображение не найдено";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #7f8c8d;
    font-style: italic;
    text-align: center;
}

.loading[b-wwjbtg0ff3], .no-articles[b-wwjbtg0ff3] {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
    font-size: 1.1rem;
}
/* _content/megaskaz/Components/Blocks/Main/Home_kategor.razor.rz.scp.css */
.grid_k[b-7cwvn01ffp]{
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    
    a{
        display: grid;
        grid-template-rows: subgrid;
        &:hover{filter: brightness(80%);} 
    }
    fieldset[b-7cwvn01ffp]{
        font-size: 50px;
        text-align: center;
    }
    legend[b-7cwvn01ffp]{
        font-size: 14px;
        color: var(--Akcent_C);
        margin: 0 auto;
    }
}
/* _content/megaskaz/Components/Blocks/Main/Home_Text.razor.rz.scp.css */
.hero-section[b-1zq78z2294] {
    background: linear-gradient(135deg, #6a89cc 0%, #b8e994 100%);
    color: white;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

    .hero-section[b-1zq78z2294]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
        background-size: cover;
        z-index: 1;
    }

.container[b-1zq78z2294] {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-content[b-1zq78z2294] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.hero-title[b-1zq78z2294] {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInDown-b-1zq78z2294 1s ease-out;
}

.hero-subtitle[b-1zq78z2294] {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    animation: fadeInUp-b-1zq78z2294 1s ease-out 0.3s both;
}

/* Категории сказок */
.categories-grid[b-1zq78z2294] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 3rem 0;
    animation: fadeIn-b-1zq78z2294 1s ease-out 0.6s both;
}

.category-card[b-1zq78z2294] {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

    .category-card:hover[b-1zq78z2294] {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        background: white;
    }

.category-icon[b-1zq78z2294] {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #6a89cc;
}

.category-title[b-1zq78z2294] {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-description[b-1zq78z2294] {
    font-size: 0.9rem;
    color: #666;
}

/* Кнопки призыва к действию */
.cta-buttons[b-1zq78z2294] {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp-b-1zq78z2294 1s ease-out 0.9s both;
}

.btn[b-1zq78z2294] {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary[b-1zq78z2294] {
    background: #ff9f43;
    color: white;
    box-shadow: 0 4px 10px rgba(255, 159, 67, 0.3);
}

    .btn-primary:hover[b-1zq78z2294] {
        background: #ff7f00;
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(255, 159, 67, 0.4);
    }

.btn-secondary[b-1zq78z2294] {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

    .btn-secondary:hover[b-1zq78z2294] {
        background: white;
        color: #6a89cc;
    }

/* Особенности сайта */
.features[b-1zq78z2294] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 3rem 0;
    animation: fadeIn-b-1zq78z2294 1s ease-out 1.2s both;
}

.feature[b-1zq78z2294] {
    background: rgba(99, 86, 86, 0.9);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    .feature:hover[b-1zq78z2294] {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

.feature-icon[b-1zq78z2294] {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #6a89cc;
}

.feature-title[b-1zq78z2294] {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Анимации */
@keyframes fadeInDown-b-1zq78z2294 {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp-b-1zq78z2294 {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn-b-1zq78z2294 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-title[b-1zq78z2294] {
        font-size: 2.2rem;
    }

    .hero-subtitle[b-1zq78z2294] {
        font-size: 1.2rem;
    }

    .categories-grid[b-1zq78z2294] {
        grid-template-columns: 1fr;
    }

    .cta-buttons[b-1zq78z2294] {
        flex-direction: column;
        align-items: center;
    }

    .btn[b-1zq78z2294] {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-section[b-1zq78z2294] {
        padding: 2rem 1rem;
    }

    .hero-title[b-1zq78z2294] {
        font-size: 1.8rem;
    }

    .hero-subtitle[b-1zq78z2294] {
        font-size: 1rem;
    }
}
/* _content/megaskaz/Components/Blocks/Main/Link_List.razor.rz.scp.css */
.link-list[b-i6ck1qvaki] {
  margin: 1.5rem auto;
  padding: 1rem;
  border-radius: 12px;
  background: var(--Fon_a);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  /* Prevent horizontal scroll for the entire section */
  overflow-x: hidden;
  box-sizing: border-box;
}

.link-list h2[b-i6ck1qvaki] {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  color: #2d3748;
  text-align: center;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
}

.links-container[b-i6ck1qvaki] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.link-list a[b-i6ck1qvaki] {
  /* Layout and Size */
  flex: 1 1 auto; /* Allows items to grow and shrink, with a base width based on content */
  min-width: 120px; /* Minimum width before wrapping */
  max-width: 100%; /* Prevents the element from exceeding the container's width */
  
  /* Content Alignment */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  
  /* Sizing Model */
  box-sizing: border-box;
  
  /* Visual Style */
  min-height: 44px;
  padding: 0.6rem 1.2rem;
  background: var(--Akcent_C);
  color: white;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  
  /* Text Truncation */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  
  /* Interactivity */
  transition: all 0.3s ease;
  cursor: pointer;
}

.link-list a:hover[b-i6ck1qvaki] {
  background: #4338ca;
  transform: translateY(-2px);
}

.link-list a:focus[b-i6ck1qvaki] {
  outline: 2px solid #3730a3;
  outline-offset: 2px;
}
/* _content/megaskaz/Components/Blocks/Main/Main.razor.rz.scp.css */
main[b-gzdlrnrfrw] {
	grid-area: main;
	padding: 1rem;
}
/* _content/megaskaz/Components/Blocks/Main/Main_Logotip.razor.rz.scp.css */
#main_logotip[b-06jl7bwou8] {
    text-align: center;
    
    scroll-margin-top: var(--H_header);
    svg{
     max-width: 100px;
     fill: var(--Text_C);
    }
    p[b-06jl7bwou8]{
        color: var(--border-color);
        text-align: center;
        font-size: 2rem;
        font-weight: bold;
    }
}
/* _content/megaskaz/Components/Blocks/Main/RatingSVGNew.razor.rz.scp.css */
.rating-system[b-gaz7eo58z5] {
    max-width: 100%;
    margin: 1rem auto;
    background: var(--Fon_a);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    box-sizing: border-box;
}

.rating-header[b-gaz7eo58z5] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 480px) {
    .rating-header[b-gaz7eo58z5] {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.rating-header h4[b-gaz7eo58z5] {
    margin: 0;
    font-weight: 600;
    font-size: clamp(1.1rem, 4vw, 1.4rem);
}

.current-rating[b-gaz7eo58z5] {
    text-align: center;
}

.rating-value[b-gaz7eo58z5] {
    font-size: clamp(1.5rem, 6vw, 2rem);
    font-weight: bold;
    display: block;
}

.stars-display[b-gaz7eo58z5] {
    font-size: clamp(1rem, 4vw, 1.2rem);
}

.stars-display .star[b-gaz7eo58z5] {
    color: #ddd;
    margin: 0 1px;
}

.stars-display .star.filled[b-gaz7eo58z5] {
    color: #ffc107;
}

.rating-content[b-gaz7eo58z5] {
    padding: 1.25rem;
    box-sizing: border-box;
}

.vote-section[b-gaz7eo58z5] {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: #f8f9fa;
    border-radius: 8px;
    box-sizing: border-box;
}

.vote-form p[b-gaz7eo58z5] {
    margin: 0 0 0.75rem 0;
    font-weight: 600;
    color: #495057;
    font-size: clamp(0.9rem, 3vw, 1rem);
}

.interactive-stars[b-gaz7eo58z5] {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.star-vote[b-gaz7eo58z5] {
    background: none;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: clamp(0.5rem, 2vw, 0.625rem) clamp(0.75rem, 3vw, 0.9375rem);
    font-size: clamp(1.25rem, 5vw, 1.5rem);
    color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 3rem;
    box-sizing: border-box;
}

.star-vote:hover[b-gaz7eo58z5],
.star-vote.active[b-gaz7eo58z5] {
    border-color: #ffc107;
    background-color: #fff9e6;
    color: #ffc107;
    transform: scale(1.1);
}

.star-vote span[b-gaz7eo58z5] {
    display: block;
    transition: transform 0.2s ease;
}

.star-vote:active span[b-gaz7eo58z5] {
    transform: scale(1.3);
}

.vote-success[b-gaz7eo58z5] {
    background: #d4edda;
    color: #155724;
    padding: 0.75rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    font-size: clamp(0.9rem, 3vw, 1rem);
}

.chart-section h5[b-gaz7eo58z5] {
    margin: 0 0 1rem 0;
    color: #495057;
    font-weight: 600;
    font-size: clamp(1rem, 3vw, 1.1rem);
}

.chart-container[b-gaz7eo58z5] {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    background: var(--Fon);
    overflow: hidden;
    box-sizing: border-box;
}

.no-data[b-gaz7eo58z5] {
    text-align: center;
    padding: 2.5rem;
    color: #6c757d;
    font-size: clamp(0.9rem, 3vw, 1rem);
}

.loading[b-gaz7eo58z5] {
    text-align: center;
    padding: 2.5rem;
    color: #6c757d;
    font-size: clamp(0.9rem, 3vw, 1rem);
}

/* SVG стили */
.chart-title[b-gaz7eo58z5] {
    text-anchor: middle;
    font-size: 16px;
    font-weight: 600;
    fill: #495057;
}

.grid-text[b-gaz7eo58z5] {
    text-anchor: end;
    font-size: 10px;
    fill: #6c757d;
}

.rating-label[b-gaz7eo58z5] {
    text-anchor: end;
    font-size: 12px;
    font-weight: 600;
    fill: #495057;
}

.value-text[b-gaz7eo58z5] {
    font-size: 11px;
    fill: #6c757d;
}

.summary-title[b-gaz7eo58z5] {
    text-anchor: middle;
    font-size: 12px;
    font-weight: 600;
    fill: #495057;
}

.summary-rating[b-gaz7eo58z5] {
    text-anchor: middle;
    font-size: 24px;
    font-weight: bold;
    fill: #28a745;
}

.summary-votes[b-gaz7eo58z5] {
    text-anchor: middle;
    font-size: 11px;
    fill: #6c757d;
}

.legend[b-gaz7eo58z5] {
    text-anchor: middle;
    font-size: 12px;
    fill: #6c757d;
}

.bar[b-gaz7eo58z5] {
    transition: all 0.3s ease;
}

.bar:hover[b-gaz7eo58z5] {
    opacity: 0.8;
}

/* Медиа-запросы для очень маленьких экранов */
@media (max-width: 380px) {
    .rating-content[b-gaz7eo58z5] {
        padding: 1rem;
    }
    
    .vote-section[b-gaz7eo58z5] {
        padding: 1rem;
    }
    
    .chart-container[b-gaz7eo58z5] {
        padding: 0.75rem;
    }
    
    .interactive-stars[b-gaz7eo58z5] {
        gap: 0.25rem;
    }
    
    .star-vote[b-gaz7eo58z5] {
        min-width: 2.5rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Для очень больших экранов */
@media (min-width: 1200px) {
    .rating-system[b-gaz7eo58z5] {
        max-width: 600px;
    }
}
/* _content/megaskaz/Components/Blocks/Main/RatingSVG_OLD.razor.rz.scp.css */
.rating[b-u109bf8ebx] {
	text-align: center;
}

.rating-chart[b-u109bf8ebx] {
	margin: 1rem auto;
	border-radius: 10px;
	border: 1px solid 1px;
}

.rating-container[b-u109bf8ebx] {
	display: grid;
	grid-template-columns: 1fr;
	place-items: center;
}

.rating-stars[b-u109bf8ebx] {
	display: flex;
	gap: 0.25rem;
	input

{
	display: none;
	appearance: none;
}

label[b-u109bf8ebx] {
	cursor: pointer;
	width: 30px;
	height: 30px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ddd' stroke='%23ccc' stroke-width='1'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");
	background-size: cover;
}

input:checked ~ label[b-u109bf8ebx] {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffc107' stroke='%23ffa000' stroke-width='1'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");
}

}

.rating-stars label:hover[b-u109bf8ebx],
.rating-stars label:hover ~ label[b-u109bf8ebx] {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffc107' stroke='%23ffa000' stroke-width='1'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");
}

.rating-value[b-u109bf8ebx] {
	font-size: 1.2rem;
	font-weight: bold;
	color: #ff9e6d;
}
/* _content/megaskaz/Components/Blocks/Main/Recenz.razor.rz.scp.css */

#recenz[b-rj2wlz1efi]{
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    line-height: 1.6;
}
@media (min-width: 950px) {#recenz[b-rj2wlz1efi]{grid-template-columns: max-content 1fr;}}
.rating-card[b-rj2wlz1efi]{
border-radius: 12px;
background: var(--Fon_a);
padding: 1.5rem;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
align-self: start;
border: 1px solid var(--border-color);
}
.rating-figure[b-rj2wlz1efi] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 0;
}
.author-image[b-rj2wlz1efi] {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--Akcent_C);
    padding: 8px;
    background: var(--Fon_a);
    figcaption {
        text-align: center;
        p {
          font-weight: 600;
          margin-bottom: 0.5rem;
          color: var(--Akcent_C);
        }
        & .rating-meter[b-rj2wlz1efi] {
          width: 100%;
          height: 1.5rem;

          &::-webkit-meter-bar {
            background: var(--V_C2);
            border-radius: 10px;
            border: 1px solid var(--border-color);
          }

          &[b-rj2wlz1efi]::-webkit-meter-optimum-value {
            background: var(--V_C2);
            border-radius: 10px;
          }
        }
    }
}
.author-message[b-rj2wlz1efi] {
    background: var(--Fon_a);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);

    & .message-header {
      margin-bottom: 1.2rem;
      border-bottom: 2px solid var(--V_C2);
      padding-bottom: 1rem;

      & .message-title {
        color: var(--Akcent_C);
        font-size: 1.3rem;
        margin: 0;
        font-weight: 700;
      }
    }

    & .message-content[b-rj2wlz1efi] {
      & .message-paragraph {
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
        line-height: 1.7;

        &:first-of-type {
          font-size: 1.2rem;
          font-weight: 500;
        }
      }
    }
}
.author-quote[b-rj2wlz1efi] {
        display: block;
        font-style: italic;
        font-size: 1.3rem;
        color: var(--Akcent_C);
        border-left: 4px solid var(--Akcent_C);
        padding-left: 1.5rem;
        margin: 2rem 0;
        quotes: "“" "”" "‘" "’";

        &::before {
          content: open-quote;
          font-size: 2rem;
          line-height: 0;
          vertical-align: -0.4em;
        }

        &[b-rj2wlz1efi]::after {
          content: close-quote;
          font-size: 2rem;
          line-height: 0;
          vertical-align: -0.4em;
        }
}

.message-footer[b-rj2wlz1efi] {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    summary{
      background-color: var(--V_C); 
      &:hover{ cursor: pointer; filter: brightness(50%);}
      padding: 1rem;[b-rj2wlz1efi]
    }
}
.disclaimer[b-rj2wlz1efi] {
    padding: 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    & p {
        margin-bottom: 1rem;
        &:last-child {
        margin-bottom: 0;
        }
    }
}

.pinterest[b-rj2wlz1efi] {
  iframe{
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    @media (max-width: 600px) {
    height: 500px;[b-rj2wlz1efi]
    }
  }
}
/* _content/megaskaz/Components/Blocks/Main/Social.razor.rz.scp.css */
#flexDown[b-acudfntukq] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 1rem;
    justify-items: center;
    margin: 2rem 0;

    figure {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
        svg{
            width: 60px;
            height: 60px;
        }

        a[b-acudfntukq] {
            display: block;
            width: 60px;
            height: 60px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
            
            &:hover {
                transform: translateY(-3px);
                filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
            }
        }

        figcaption[b-acudfntukq] {
            font-size: 0.9rem;
            color: var(--Text_C);
            text-align: center;
        }
    }
}
/* _content/megaskaz/Components/Blocks/Services/Badge_age_img.razor.rz.scp.css */
.story-tag1[b-kmcg6vsa2k] {
    position: absolute;
    top: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    left: 1rem;
    background-color: #850505;
    color: #eedf0f;
}
/* _content/megaskaz/Components/Blocks/Services/Badge_text_img.razor.rz.scp.css */
.story-tag2[b-2tdmbk7jom] {
    position: absolute;
    top: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    right: 1rem;
    background-color: #ffd166;
    color: #333;
}
/* _content/megaskaz/Components/Blocks/Services/CookieConsentBanner.razor.rz.scp.css */
.cookie-consent-banner[b-jl3syl6rf4] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c3e50;
    color: white;
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    animation: slideUp-b-jl3syl6rf4 0.3s ease-out;
}

.cookie-content[b-jl3syl6rf4] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
}

.cookie-message[b-jl3syl6rf4] {
    flex-grow: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

.btn-primary[b-jl3syl6rf4] {
    background: #3498db;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}

    .btn-primary:hover[b-jl3syl6rf4] {
        background: #2980b9;
    }

@keyframes slideUp-b-jl3syl6rf4 {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .cookie-content[b-jl3syl6rf4] {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .cookie-message[b-jl3syl6rf4] {
        margin-bottom: 0.5rem;
    }
}
/* _content/megaskaz/Components/Blocks/Services/Cta_button_pulse.razor.rz.scp.css */
.cta-button[b-snntmzdpt8] {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-image: linear-gradient(to right, var(--Akcent_C), var(--a_Bukvica));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    position: relative;
    transition: filter 0.3s ease, box-shadow 0.3s ease;
}

/* Пульсация через псевдоэлемент - не влияет на layout */
.cta-button.pulse[b-snntmzdpt8]::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 52px;
    background: inherit;
    z-index: -1;
    animation: pulse-glow-b-snntmzdpt8 2s infinite ease-in-out;
    opacity: 0.8;
}

@keyframes pulse-glow-b-snntmzdpt8 {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.05);
        opacity: 0.4;
    }
}

.cta-button:hover[b-snntmzdpt8] {
    filter: brightness(0.9);
    box-shadow: 0 6px 12px #00000026;
}

.cta-button:hover[b-snntmzdpt8]::after {
    animation: none;
    opacity: 0;
}
/* _content/megaskaz/Components/Blocks/Services/Loader.razor.rz.scp.css */
.lds-ripple[b-fgt5n3z2wb] {
    color: #1c4c5b;
    margin: 0 auto;
    display: block;
    position: relative;
    width: 80px;
    height: 80px;
    
    &, & div {
        box-sizing: border-box;
    }
    
    & div[b-fgt5n3z2wb] {
        position: absolute;
        border: 4px solid currentColor;
        opacity: 1;
        border-radius: 50%;
        animation: lds-ripple-b-fgt5n3z2wb 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
        
        &:nth-child(2) {
            animation-delay: -0.5s;
        }
    }
}

@keyframes lds-ripple-b-fgt5n3z2wb {
    0% {
        top: 36px;
        left: 36px;
        width: 8px;
        height: 8px;
        opacity: 0;
    }
    4.9% {
        top: 36px;
        left: 36px;
        width: 8px;
        height: 8px;
        opacity: 0;
    }
    5% {
        top: 36px;
        left: 36px;
        width: 8px;
        height: 8px;
        opacity: 1;
    }
    100% {
        top: 0;
        left: 0;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* _content/megaskaz/Components/Blocks/Services/ScrollToTop.razor.rz.scp.css */
.scroll-to-top[b-hi0kp5fzd5] {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #007bff;
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

    .scroll-to-top:hover[b-hi0kp5fzd5] {
        background-color: #0056b3;
        transform: scale(1.1);
    }

    .scroll-to-top.show[b-hi0kp5fzd5] {
        opacity: 1;
        visibility: visible;
    }

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .scroll-to-top[b-hi0kp5fzd5] {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}
/* _content/megaskaz/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-wr9mwj5mza] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-wr9mwj5mza] {
    flex: 1;
}

.sidebar[b-wr9mwj5mza] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-wr9mwj5mza] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-wr9mwj5mza]  a, .top-row[b-wr9mwj5mza]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-wr9mwj5mza]  a:hover, .top-row[b-wr9mwj5mza]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-wr9mwj5mza]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-wr9mwj5mza] {
        justify-content: space-between;
    }

    .top-row[b-wr9mwj5mza]  a, .top-row[b-wr9mwj5mza]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-wr9mwj5mza] {
        flex-direction: row;
    }

    .sidebar[b-wr9mwj5mza] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-wr9mwj5mza] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-wr9mwj5mza]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-wr9mwj5mza], article[b-wr9mwj5mza] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-wr9mwj5mza] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-wr9mwj5mza] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/megaskaz/Components/Pages/AudioPlayerEmpty.razor.rz.scp.css */
.container[b-fzjgi8jawe] {
    max-width: 800px;
    width: 100%;
    background: #0f0f23d9; /* Добавлен fallback цвет */
    background: rgba(15, 15, 35, 0.85); /* Более читаемое значение */
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    overflow: hidden;
    color: #fff;
    padding: 30px;
}

header[b-fzjgi8jawe] {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

h1[b-fzjgi8jawe] {
    font-size: 2.8rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, #ff8a00, #da1b60);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; /* Стандартное свойство */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.subtitle[b-fzjgi8jawe] {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 20px;
}

.cover-container[b-fzjgi8jawe] {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lds-ripple[b-fzjgi8jawe] {
    color: #1c4c5b;
    margin: 0 auto;
    display: block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ripple[b-fzjgi8jawe],
.lds-ripple div[b-fzjgi8jawe] {
    box-sizing: border-box;
}

.lds-ripple div[b-fzjgi8jawe] {
    position: absolute;
    border: 4px solid currentColor;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple-b-fzjgi8jawe 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    animation-play-state: paused;
}

.lds-ripple div:nth-child(2)[b-fzjgi8jawe] {
    animation-delay: -0.5s;
}

.lds-ripple.playing div[b-fzjgi8jawe] {
    animation-play-state: running;
}

@keyframes lds-ripple-b-fzjgi8jawe {
    0% {
        top: 36px;
        left: 36px;
        width: 8px;
        height: 8px;
        opacity: 0;
    }
    4.9% {
        top: 36px;
        left: 36px;
        width: 8px;
        height: 8px;
        opacity: 0;
    }
    5% {
        top: 36px;
        left: 36px;
        width: 8px;
        height: 8px;
        opacity: 1;
    }
    100% {
        top: 0;
        left: 0;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

.cover[b-fzjgi8jawe] {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff8a00, #da1b60);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
}

.track-info[b-fzjgi8jawe] {
    text-align: center;
    margin-bottom: 30px;
}

.track-title[b-fzjgi8jawe] {
    font-size: 1.0rem;
    margin-bottom: 4px;
    color: #fff;
}

.track-artist[b-fzjgi8jawe] {
    font-size: 1.2rem;
    color: #bbb;
}

.progress-container[b-fzjgi8jawe] {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 8px;
    margin: 30px 0;
    cursor: pointer;
    position: relative;
}

.progress-bar[b-fzjgi8jawe] {
    background: linear-gradient(to right, #ff8a00, #da1b60);
    border-radius: 10px;
    height: 100%;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
}

.progress-bar[b-fzjgi8jawe]::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(218, 27, 96, 0.8);
    opacity: 0;
    transition: opacity 0.2s;
}

.progress-container:hover .progress-bar[b-fzjgi8jawe]::after {
    opacity: 1;
}

.time-info[b-fzjgi8jawe] {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    color: #bbb;
    font-size: 0.9rem;
}

.controls[b-fzjgi8jawe] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 30px 0;
}

.btn[b-fzjgi8jawe] {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.btn:hover[b-fzjgi8jawe] {
    color: #ff8a00;
    transform: scale(1.1);
}

.play-btn[b-fzjgi8jawe] {
    background: linear-gradient(135deg, #ff8a00, #da1b60);
    width: 70px;
    height: 70px;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(218, 27, 96, 0.4);
}

.play-btn:hover[b-fzjgi8jawe] {
    transform: scale(1.05);
    box-shadow: 0 7px 20px rgba(218, 27, 96, 0.6);
}

.volume-container[b-fzjgi8jawe] {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 50px;
}

.volume-slider[b-fzjgi8jawe] {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    appearance: none; /* Стандартное свойство */
}

.volume-slider[b-fzjgi8jawe]::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(218, 27, 96, 0.8);
}

.volume-slider[b-fzjgi8jawe]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(218, 27, 96, 0.8);
}

@media (max-width: 600px) {
    .container[b-fzjgi8jawe] {
        padding: 20px;
    }
    
    h1[b-fzjgi8jawe] {
        font-size: 2.2rem;
    }
    
    .cover-container[b-fzjgi8jawe] {
        width: 200px;
        height: 200px;
    }

    .track-title[b-fzjgi8jawe] {
        font-size: 1.0rem;
        margin-bottom: 4px;
    }
    
    .controls[b-fzjgi8jawe] {
        gap: 20px;
    }
    
    .btn[b-fzjgi8jawe] {
        font-size: 1.2rem;
        width: 40px;
        height: 40px;
    }
    
    .play-btn[b-fzjgi8jawe] {
        width: 60px;
        height: 60px;
        font-size: 1.7rem;
    }
}
/* _content/megaskaz/Components/Pages/END_Page/AudioSkazkaSbor.razor.rz.scp.css */
/* _content/megaskaz/Components/Pages/END_Page/Author.razor.rz.scp.css */
/* _content/megaskaz/Components/Pages/END_Page/DynamicImages_New.razor.rz.scp.css */
.collage-grid[b-ymqc3ou8y3] {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	grid-auto-rows: 200px;
	gap: 10px;
	grid-auto-flow: dense; /* заполняет пустые места */
}

.collage-grid img[b-ymqc3ou8y3] {
	width: 100%;
	height: 100%;
	object-fit: cover; /* обрезает изображение для заполнения */
}
.content-image[b-ymqc3ou8y3] {
	transition: transform 0.3s ease;
}

.content-image:hover[b-ymqc3ou8y3] {
	transform: scale(1.03);
	filter: brightness(80%);
}
@media (max-width: 768px) {
	.collage-grid[b-ymqc3ou8y3] {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 0.5rem;
	}
}
/* _content/megaskaz/Components/Pages/END_Page/NotFound.razor.rz.scp.css */
.not-found-container[b-71n4ll2fj7] {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 80vh;
	padding: 2rem;
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
	font-family: 'Segoe UI', system-ui, sans-serif;
}

.not-found-content[b-71n4ll2fj7] {
	text-align: center;
	background: white;
	padding: 3rem;
	border-radius: 1rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	max-width: 500px;
	width: 100%;
}

.error-code[b-71n4ll2fj7] {
	font-size: 6rem;
	font-weight: 700;
	margin: 0;
	color: #e74c3c;
	line-height: 1;
}

.error-title[b-71n4ll2fj7] {
	font-size: 1.75rem;
	margin-top: 0.5rem;
	margin-bottom: 1rem;
	color: #2c3e50;
}

.error-message[b-71n4ll2fj7] {
	color: #7f8c8d;
	line-height: 1.6;
	margin-bottom: 2rem;
}

.action-buttons[b-71n4ll2fj7] {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

.btn-primary[b-71n4ll2fj7], .btn-secondary[b-71n4ll2fj7] {
	padding: 0.75rem 1.5rem;
	border: none;
	border-radius: 0.5rem;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
}

.btn-primary[b-71n4ll2fj7] {
	background-color: #3498db;
	color: white;
}

	.btn-primary:hover[b-71n4ll2fj7] {
		background-color: #2980b9;
		transform: translateY(-2px);
	}

.btn-secondary[b-71n4ll2fj7] {
	background-color: #ecf0f1;
	color: #2c3e50;
}

	.btn-secondary:hover[b-71n4ll2fj7] {
		background-color: #bdc3c7;
		transform: translateY(-2px);
	}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
	.not-found-content[b-71n4ll2fj7] {
		padding: 2rem 1.5rem;
	}

	.error-code[b-71n4ll2fj7] {
		font-size: 4rem;
	}

	.action-buttons[b-71n4ll2fj7] {
		flex-direction: column;
	}
}
/* _content/megaskaz/Components/Pages/END_Page/SearchFairyTalesNew.razor.rz.scp.css */
/* Современные CSS-стили с использованием nesting :cite[3]:cite[6]:cite[9] */
.fairy-tale-search[b-6wzkh53uos] {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    font-family: system-ui, -apple-system, sans-serif;

    .search-container {
        & > h1 {
            text-align: center;
            color: #2c3e50;
            margin-bottom: 2rem;
            font-size: 2.5rem;
            font-weight: 700;
        }

        .search-form[b-6wzkh53uos] {
            position: relative;
            max-width: 100%;
            margin: 0 auto 3rem;

            .search-input-group {
                display: flex;
                gap: 0.5rem;
                position: relative;

                .search-input {
                    flex: 1;
                    padding: 1rem 1.5rem;
                    border: 2px solid #e0e0e0;
                    border-radius: 50px;
                    font-size: 1.1rem;
                    transition: all 0.3s ease;
                    background: #fff;

                    &:focus {
                        outline: none;
                        border-color: #3498db;
                        box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
                    }

                    &[b-6wzkh53uos]::placeholder {
                        color: #95a5a6;
                    }
                }

                .search-button[b-6wzkh53uos] {
                    padding: 1rem 2rem;
                    background: #3498db;
                    color: white;
                    border: none;
                    border-radius: 50px;
                    font-size: 1.1rem;
                    cursor: pointer;
                    transition: all 0.3s ease;

                    &:hover {
                        background: #2980b9;
                        transform: translateY(-2px);
                    }

                    &:active[b-6wzkh53uos] {
                        transform: translateY(0);
                    }
                }
            }

.suggestions-container[b-6wzkh53uos] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px 0 0 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    margin-top: 0.5rem;
    overflow-y: auto;
    /*overflow: hidden;*/

    .suggestion-item {
                    padding: 1rem 1.5rem;
                    cursor: pointer;
                    transition: background-color 0.2s ease;
                    border-bottom: 1px solid #f8f9fa;

                    &:last-child {
                        border-bottom: none;
                    }

                    &:hover[b-6wzkh53uos] {
                        background-color: #f8f9fa;
                    }
                }
            }
        }

        .loading[b-6wzkh53uos] {
            text-align: center;
            padding: 2rem;
            font-size: 1.2rem;
            color: #7f8c8d;
        }

        .results-container[b-6wzkh53uos] {
            .results-count {
                font-size: 1.1rem;
                color: #7f8c8d;
                margin-bottom: 2rem;
                text-align: center;
            }

            .tale-card[b-6wzkh53uos] {
                background: white;
                border-radius: 16px;
                padding: 2rem;
                margin-bottom: 1.5rem;
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
                transition: all 0.3s ease;
                border: 1px solid #f0f0f0;

                &:hover {
                    transform: translateY(-4px);
                    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
                }

                .tale-title[b-6wzkh53uos] {
                    color: #2c3e50;
                    margin-bottom: 1rem;
                    font-size: 1.5rem;
                    font-weight: 600;
                }

                .tale-meta[b-6wzkh53uos] {
                    display: flex;
                    gap: 1.5rem;
                    margin-bottom: 1rem;
                    flex-wrap: wrap;

                    .meta-item {
                        background: #ecf0f1;
                        padding: 0.5rem 1rem;
                        border-radius: 20px;
                        font-size: 0.9rem;
                        color: #34495e;
                    }
                }


                .tale-preview[b-6wzkh53uos] {
                    color: #7f8c8d;
                    line-height: 1.6;
                    margin-bottom: 1rem;
                }

                .tale-characters[b-6wzkh53uos] {
                    margin-bottom: 1.5rem;
                    padding: 1rem;
                    background: #f8f9fa;
                    border-radius: 8px;
                    border-left: 4px solid #3498db;
                }

                .read-link[b-6wzkh53uos] {
                    display: inline-block;
                    padding: 0.75rem 1.5rem;
                    background: #27ae60;
                    color: white;
                    text-decoration: none;
                    border-radius: 8px;
                    transition: all 0.3s ease;
                    font-weight: 500;

                    &:hover {
                        background: #219a52;
                        transform: translateY(-2px);
                    }
                }
            }
        }

        .no-results[b-6wzkh53uos] {
            text-align: center;
            padding: 3rem;
            color: #7f8c8d;
            font-size: 1.2rem;
        }
    }

    /* Адаптивные стили с использованием медиа-запросов :cite[3]:cite[9] */
    @media (max-width: 768px) {
        padding: 1rem 0.5rem;

        .search-container[b-6wzkh53uos] {
            & > h1 {
                font-size: 2rem;
                margin-bottom: 1.5rem;
            }

            .search-form[b-6wzkh53uos] {
                margin-bottom: 2rem;

                .search-input-group {
                    flex-direction: column;

                    .search-input {
                        padding: 0.875rem 1.25rem;
                        font-size: 1rem;
                    }

                    .search-button[b-6wzkh53uos] {
                        padding: 0.875rem;
                        margin-top: 0.5rem;
                    }
                }
            }

            .results-container[b-6wzkh53uos] {
                .tale-card {
                    padding: 1.5rem;
                    margin-bottom: 1rem;

                    .tale-title {
                        font-size: 1.3rem;
                    }

                    .tale-meta[b-6wzkh53uos] {
                        flex-direction: column;
                        gap: 0.5rem;

                        .meta-item {
                            text-align: center;
                        }
                    }
                }
            }
        }
    }

    @media (max-width: 480px) {
        .search-container[b-6wzkh53uos] {
            & > h1 {
                font-size: 1.75rem;
            }

            .tale-card[b-6wzkh53uos] {
                padding: 1rem;

                .tale-title {
                    font-size: 1.25rem;
                }
            }
        }
    }
}
.fairy-tale-search[b-6wzkh53uos] {
    position: relative;
    
    .search-form {
        position: relative;
        
        .suggestions-container {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border: 1px solid #ddd;
            border-radius: 4px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            z-index: 1000;
            max-height: 200px;
            overflow-y: auto;
            
            .suggestion-item {
                padding: 10px;
                cursor: pointer;
                border-bottom: 1px solid #eee;
                
                &:hover {
                    background-color: #f5f5f5;
                }
                
                &:last-child[b-6wzkh53uos] {
                    border-bottom: none;
                }
            }
        }
    }
}
/* _content/megaskaz/Components/Pages/END_Page/Лицензия.razor.rz.scp.css */
.license-content[b-xswy01va2u] {
    max-width: 800px;
    line-height: 1.6;
}

.license-content h2[b-xswy01va2u] {
    color: var(--Text_C);
    margin-top: 2rem;
}

.license-content ul[b-xswy01va2u] {
    padding-left: 2rem;
}

.effective-date[b-xswy01va2u] {
    background-color: var(--Fon_a);
    padding: 1rem;
    border-left: 4px solid #3498db;
}
/* _content/megaskaz/Components/Pages/Midll_Page_VirtCom.razor.rz.scp.css */
.Grid-Cont[b-ldl59h65bn] {
  container-type: inline-size;
}

.img-grid[b-ldl59h65bn] {
  --br: 18px;
 
  columns: 1;
  column-gap: 0.6rem;

  & > div {
    margin-bottom: 5px;
    break-inside: avoid;
  }

  & a[b-ldl59h65bn] {
    display: block;
    position: relative;
    transition: transform 0.3s ease;

    &:hover {
      transform: translateY(-4px);
    }

    & div[b-ldl59h65bn] {
      position: absolute;
      bottom: 0;
      width: 100%;
      text-align: center;
      background-color: #850505b7;
      color: #cccccc;
      border-radius: 0 0 var(--br) var(--br);

      & p {
        padding: 4px;
        font-size: 0.9rem;
        line-height: normal;
        hyphens: auto;
      }
    }
  }

  & picture[b-ldl59h65bn],
  & img[b-ldl59h65bn] {
    width: 100%;
    display: block;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
    border-radius: var(--br);
    transition: filter 0.3s ease;
    /*aspect-ratio: 1 / 1;*/
    object-fit: cover; /*Это для создания с обрезкой под кадр*/
    &:hover {
      filter: brightness(80%);
    }
  }
}

.image-error[b-ldl59h65bn] {
  &::before {
    content: "Изображение не найдено";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #7f8c8d;
    font-style: italic;
    text-align: center;
  }
}

/* Контейнерные запросы */
@container (min-width: 400px) {
  .img-grid[b-ldl59h65bn] {
    columns: 220px 6;
    column-gap: 0.8rem;
    
    & > div {
      margin-bottom: 0.8rem;
    }
  }
}

.dis-no[b-ldl59h65bn] {
  display: none;
}
/* _content/megaskaz/Components/Pages/Old/Midll_PageEMPTY.razor.rz.scp.css */
.Grid-Cont[b-xqvjzt4zz4]{
container-type: inline-size;
}

.imgGrid[b-xqvjzt4zz4]{
    --br: 20px;
    columns: 150px;
    column-gap: 0.6rem;
    /*column-rule: 1px solid black;*/ /*Линия между колонками*/
    a{
        display: block;
        position: relative;
        div{
            position: absolute;
            text-align: center;
            width: 100%;
            bottom: calc(var(--br) + 3px);
            background-color: var(--Fon_b);
            color: var(--Fon_a);
            p{
                line-height: 1.8;
                font-size: 0.8rem;
            }
        }
        transition: transform 0.3s ease;
        &:hover[b-xqvjzt4zz4]{transform: translateY(-4px);}
    }
    picture[b-xqvjzt4zz4], img[b-xqvjzt4zz4]{
        width: 100%;
        /*aspect-ratio: 1 / 1;*/
        object-fit: cover; /*Это для создания с обрезкой под кадр*/
        border-radius: var(--br);
        &:hover{filter: brightness(80%);}
    }
}
.imgGrid > div[b-xqvjzt4zz4]{margin-bottom: 5px;}
.dis-no[b-xqvjzt4zz4]{display: none;}

@container (width > 400px) {
    .imgGrid[b-xqvjzt4zz4]{
        columns: 220px 6;
        column-gap: 0.8rem;
        a{div{p{line-height: 1.8;font-size: 1rem;}}}
    }
    .imgGrid > div[b-xqvjzt4zz4]{margin-bottom: 0.8rem;}
}
