* { box-sizing: border-box; }
body { margin: 0; font: 400 15px/1.65 'Open Sans', Arial, sans-serif; color: #444; background: #f5f7f2; }
a { color: #527b08; text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: #354f06; }
a:focus-visible { outline: 2px solid #527b08; outline-offset: 4px; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.35; color: #333; margin: 1.4em 0 .6em; }
h1 { font-size: 26px; margin-top: 0; }
h2 { font-size: 21px; }
h3 { font-size: 18px; }
h4 { font-size: 16px; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 24px; }
.container { width: min(1170px, calc(100% - 40px)); margin: 0 auto; }
.site-header { min-height: 230px; padding: 60px 0; background: #eee url('../images/templatemo_header_2.jpg') center bottom / cover no-repeat; border-bottom: 4px solid #9ed034; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; background: #fff; }
.logo { flex-shrink: 0; }
.logo img { display: block; width: 265px; }
nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
nav a { color: #555; text-decoration: none; }
nav a[aria-current="page"] { color: #527b08; font-weight: bold; }
main.container { padding-top: 36px; padding-bottom: 40px; min-height: 50vh; }
.content-box { padding: 32px; background: #fff; border: 1px solid #e1e7d9; border-top: 5px solid #9ed034; border-radius: 12px; box-shadow: 0 6px 24px rgba(42, 63, 20, .06); }
.content-box > h1 { padding-bottom: 18px; border-bottom: 1px solid #e7ecdf; }
.site-footer { border-top: 4px solid #9ed034; background: #e9efdf; }
.footer-inner { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.2fr; gap: 36px; padding: 44px 0; font-size: 14px; }
.footer-inner > * { min-width: 0; }
.footer-inner h2 { margin: 0 0 16px; font-size: 16px; color: #35472a; }
.footer-inner ul { list-style: none; padding: 0; margin: 0; }
.footer-inner li + li { margin-top: 9px; }
.footer-inner a { color: #45533c; text-decoration: none; }
.footer-inner a:hover { color: #354f06; text-decoration: underline; }
.footer-brand { text-align: right; padding-right: 28px; border-right: 1px solid #cfdac1; }
.footer-brand img { display: inline-block; margin-bottom: 14px; }
.footer-brand p, .footer-brand small { font-size: 12px; color: #5e6c53; }
.skip-link { position: absolute; left: 16px; top: -100px; padding: 8px; background: #fff; z-index: 1; }
.skip-link:focus { top: 8px; }
.start-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; }
.start-layout > *, .calendar-grid > *, .columns > * { min-width: 0; }
.start-sidebar { align-self: start; padding: 24px; background: linear-gradient(145deg, #edf6da, #dcebbf); border: 1px solid #c9dfa5; border-top: 5px solid #9ed034; border-radius: 12px; }
.start-sidebar h2 { margin: 0 0 20px; font-size: 27px; color: #30451c; }
.app-label { font-size: 12px; font-weight: bold; letter-spacing: .06em; text-transform: uppercase; color: #4b642f; }
.calendar-legend { margin-top: 16px; border-top: 1px solid #e1e7d9; padding-top: 12px; }
.calendar-legend p { margin-bottom: 0; color: #68775b; }
.start-help { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid #e1e7d9; font-size: 13px; }
.start-sidebar h3 { padding-top: 22px; border-top: 1px solid #e1e7d9; font-size: 16px; }
.app-links { display: grid; gap: 12px; margin-bottom: 28px; }
.app-links img { display: block; width: 100%; max-width: 200px; }
.calendar-grid, .columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.calendar { padding: 18px; background: #fff; border: 1px solid #e1e7d9; border-radius: 12px; overflow: hidden; }
.calendar h2 { margin-top: 0; font-size: 20px; }
.start-intro { margin-bottom: 28px; color: #68775b; }
.archive-link { margin: 18px 0 28px; text-align: right; font-size: 14px; }
.start-info { padding: 28px; background: #fff; border: 1px solid #e1e7d9; border-radius: 12px; }
.start-info > h2 { margin-top: 0; }
.start-info .columns { border-top: 1px solid #e1e7d9; }
.calendar img { display: block; width: 100%; }
.calendar p { font-size: 13px; }
.news-entry { margin-bottom: 36px; }
.news-entry + .news-entry { padding-top: 24px; border-top: 1px solid #e7ecdf; }
.news-entry h2 { font-size: 18px; }
.news-entry time { display: block; font-size: 13px; color: #68775b; }
.news-entry h2 { margin-top: 6px; }
.news-description { color: #68775b; }
.news-archive { margin: 24px 0 32px; padding: 18px; border-radius: 8px; background: #f1f6e8; }
.news-archive strong { display: block; margin-bottom: 10px; }
.news-archive nav, .pagination { gap: 8px; }
.news-archive a, .pagination a, .pagination span { display: inline-block; padding: 6px 12px; border: 1px solid #dce6cc; border-radius: 6px; background: #fff; color: #405f0a; text-decoration: none; }
.news-archive a[aria-current], .pagination span[aria-current] { background: #9ed034; border-color: #9ed034; color: #253b06; font-weight: bold; }
.news-archive a:hover, .pagination a:hover { border-color: #789e28; background: #e6efda; }
.pagination { align-items: center; padding-top: 12px; }
.pagination .page-gap { background: none; border: 0; padding: 6px 2px; }
.news-text { overflow-x: auto; overflow-wrap: break-word; }
.table_news { width: 500px; max-width: 100%; border-collapse: collapse; }
.table_news, .table_news th, .table_news td { border: 1px solid #888; padding: 4px; text-align: center; }
.legal, .addresses { overflow-wrap: break-word; }
.plain-list { list-style: none; padding: 0; }
@media (max-width: 800px) {
    .site-header { padding: 20px 0; }
    .header-inner { flex-direction: column; align-items: flex-start; }
    .start-layout { grid-template-columns: minmax(0, 1fr); }
    .start-sidebar .app-links { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; margin-bottom: 0; }
    .start-sidebar h2 br { display: none; }
    .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 550px) {
    .content-box { padding: 20px 16px; }
    .container { width: calc(100% - 28px); }
    .calendar-grid, .columns { grid-template-columns: minmax(0, 1fr); }
    .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .footer-brand { padding: 0 0 24px; border-right: 0; border-bottom: 1px solid #cfdac1; }
    .start-info { padding: 20px; }
    h1 { font-size: 23px; }
    nav { gap: 10px 18px; }
}
