/* ЛЕСНАЯ СКАЗКА — стили для обычной страницы */

/* === ОБЁРТКА === */
#lesn-portal {
    font-family: 'Segoe UI', 'Segoe UI Emoji', 'Arial', sans-serif;
    background: linear-gradient(180deg, #e8f5e9 0%, #f1f8e9 25%, #fffde7 60%, #fff8e1 100%);
    color: #2e3b2e;
    line-height: 1.6;
    width: 1060px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 100;
}

/* === СБРОС ЧУЖИХ СТИЛЕЙ ВНУТРИ ПОРТАЛА === */
#lesn-portal * {
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    text-decoration: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    /* background: none; -- УБРАНО: перебивало фоны наших элементов */
    line-height: inherit;
    font-style: normal;
    font-weight: inherit;
    text-indent: 0;
    text-align: left;
    list-style: none;
    float: none;
    display: block;
    position: static;
    overflow: visible;
    height: auto;
    width: auto;
    max-width: none;
    vertical-align: baseline;
    transition: none;
    transform: none;
}

/* b, strong, i, em, u */
#lesn-portal b, #lesn-portal strong {
    font-weight: 700;
    color: #2e7d32;
}
#lesn-portal i, #lesn-portal em {
    font-style: italic;
}
#lesn-portal u {
    text-decoration: underline;
}
#lesn-portal span {
    display: inline;
}
#lesn-portal br {
    display: block;
    clear: both;
}

/* Ссылки */
#lesn-portal a {
    color: #2e7d32;
    font-weight: 600;
}
#lesn-portal a:hover {
    text-decoration: underline;
}
#lesn-portal a.lsk-mail {
    color: #e65100;
}

/* === ШАПКА === */
#lesn-portal .lsk-hd {
    background: linear-gradient(135deg, #2e7d32, #43a047 40%, #66bb6a);
    border-radius: 0 0 36px 36px;
    padding: 0 20px 50px;
    box-shadow: 0 8px 32px rgba(46, 125, 50, 0.2);
    position: relative;
    overflow: hidden;
    clear: both;
}
#lesn-portal .lsk-hd::before {
    content: '🌲🍃🌿🍀🌲 🌳🍃🌿🍀🌲🌳🍃';
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 1rem;
    letter-spacing: 8px;
    opacity: 0.35;
    color: #a5d6a7;
    z-index: 3;
    pointer-events: none;
}
#lesn-portal .lsk-hd::after {
    content: '';
    position: absolute;
    bottom: -24px;
    left: -4%;
    right: -4%;
    height: 28px;
    background: linear-gradient(135deg, #2e7d32, #43a047 40%, #66bb6a);
    border-radius: 50% 50% 0 0;
    opacity: 0.12;
}

/* === КОНТЕЙНЕР И ЛОГОТИП === */
#lesn-portal .lsk-wrap {
    width: 100%;
    max-width: 1060px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 2;
    clear: both;
}
#lesn-portal .lsk-logo {
    text-align: center;
    padding: 10px 10px 0;
    position: relative;
    z-index: 2;
}
#lesn-portal .lsk-logo h1 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.6rem;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    line-height: 1.4;
    font-weight: 700;
}
#lesn-portal .lsk-logo p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 6px;
    font-style: italic;
}

/* === СЕКЦИИ И ЗАГОЛОВКИ === */
#lesn-portal .lsk-sec {
    margin-bottom: 40px;
    clear: both;
}
#lesn-portal .lsk-section-title {
    text-align: center;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.4rem;
    color: #2e7d32;
    margin-bottom: 24px;
    padding-bottom: 12px;
    position: relative;
    font-weight: 700;
    clear: both;
}
#lesn-portal .lsk-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #66bb6a, transparent);
    border-radius: 2px;
}

/* === СТРОКИ === */
#lesn-portal .lsk-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 14px;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
#lesn-portal .lsk-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
#lesn-portal .lsk-label {
    flex: 0 0 36%;
    min-width: 260px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #43a047, #66bb6a);
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    line-height: 1.5;
    border-right: 3px solid rgba(255, 255, 255, 0.4);
}
#lesn-portal .lsk-value {
    flex: 1 1 auto;
    min-width: 0;
    padding: 14px 24px;
    font-size: 1rem;
    color: #3e4a3e;
    line-height: 1.7;
}

/* === СПИСКИ === */
#lesn-portal ul.lsk-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
#lesn-portal ul.lsk-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
}
#lesn-portal ul.lsk-list li::before {
    content: '🌿';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.85rem;
}
#lesn-portal ol {
    padding-left: 22px;
    margin: 0;
}
#lesn-portal ol li {
    margin-bottom: 8px;
}

/* === БЛОК УЧРЕДИТЕЛЯ === */
#lesn-portal .lsk-establisher {
    background: #fff;
    border-radius: 16px;
    padding: 32px 36px;
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #66bb6a;
    clear: both;
    margin-bottom: 28px;
}
#lesn-portal .lsk-establisher p {
    margin-bottom: 14px;
    line-height: 1.75;
}
#lesn-portal .lsk-establisher p:last-child {
    margin-bottom: 0;
}

/* === РАЗДЕЛИТЕЛЬ === */
#lesn-portal .lsk-divider {
    text-align: center;
    padding: 16px 0;
    font-size: 1.2rem;
    letter-spacing: 8px;
    opacity: 0.45;
    color: #66bb6a;
    clear: both;
    margin-bottom: 20px;
}

/* === ПОДВАЛ === */
#lesn-portal .lsk-footer {
    text-align: center;
    padding: 32px 20px;
    background: linear-gradient(135deg, #2e7d32, #43a047 50%, #66bb6a);
    color: #fff;
    font-size: 0.9rem;
    margin-top: 30px;
    border-radius: 32px 32px 0 0;
    box-shadow: 0 -4px 20px rgba(46, 125, 50, 0.12);
    clear: both;
    position: relative;
    z-index: 1;
}
#lesn-portal .lsk-footer p {
    margin-bottom: 4px;
    opacity: 0.9;
}

/* === СТРУКТУРА — специальные стили === */
#lesn-portal .lsk-page-title {
    text-align: center;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.5rem;
    color: #c62828;
    margin-bottom: 30px;
    font-weight: 700;
    clear: both;
}
#lesn-portal .lsk-subsection {
    background: #fff;
    border-radius: 16px;
    padding: 30px 36px;
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.05);
    margin-bottom: 28px;
    border-left: 5px solid #66bb6a;
    clear: both;
}
#lesn-portal .lsk-subsection h3 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.2rem;
    color: #2e7d32;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c8e6c9;
    line-height: 1.4;
    font-weight: 700;
    clear: both;
}
#lesn-portal .lsk-governance-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    clear: both;
}
#lesn-portal .lsk-governance-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 12px;
    padding: 14px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    font-size: 1rem;
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 10px;
}
#lesn-portal .lsk-governance-list li::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #43a047, #66bb6a);
    flex-shrink: 0;
}
#lesn-portal .lsk-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 36px;
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.05);
    margin-bottom: 28px;
    border-top: 4px solid #66bb6a;
    clear: both;
}
#lesn-portal .lsk-form-card h3 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.2rem;
    color: #2e7d32;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c8e6c9;
    font-weight: 700;
    clear: both;
}
#lesn-portal .lsk-form-card p {
    margin-bottom: 12px;
    line-height: 1.8;
}
#lesn-portal .lsk-form-card p:last-child {
    margin-bottom: 0;
}
#lesn-portal img {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: none;
    clear: both;
}

/* === АДАПТИВНОСТЬ === */
@media(max-width: 1100px){
    #lesn-portal{width: 100%;max-width: 100%}
}
@media(max-width: 820px){
    #lesn-portal .lsk-row{flex-direction: column}
    #lesn-portal .lsk-label{border-radius: 14px 14px 4px 4px;border-right: none;border-bottom: 3px solid rgba(255,255,255,.4)}
    #lesn-portal .lsk-value{border-radius: 4px 14px 14px 14px}
}
@media(max-width: 480px){
    #lesn-portal .lsk-label,
    #lesn-portal .lsk-value{padding: 12px 16px;font-size: 0.9rem}
}
