*{box-sizing:border-box}
:root{
  --green:#49ad6d;
  --green-dark:#12613a;
  --green-ink:#0e4b31;
  --mint:#dff5df;
  --mint-2:#eefbef;
  --cream:#fbfff9;
  --white:#fff;
  --shadow:0 18px 45px rgba(31,115,63,.16);
  --soft-shadow:0 10px 25px rgba(31,115,63,.12);
  --radius-xl:38px;
  --radius-lg:26px;
  --radius-md:18px;
}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Manrope",system-ui,sans-serif;
  color:#103a28;
  background:
    radial-gradient(circle at 10% 8%, rgba(153,225,162,.34), transparent 24rem),
    linear-gradient(180deg,#f7fff5 0%,#eef9ee 42%,#f8fff8 100%);
  min-height:100vh;
}
button,input,textarea,select{font:inherit}
button,a{ -webkit-tap-highlight-color:transparent }
a{text-decoration:none;color:inherit}
.shell{width:min(1180px,calc(100% - 32px));margin-inline:auto}
.page-glow{position:fixed;border-radius:50%;filter:blur(80px);z-index:-1;opacity:.55}
.glow-one{width:320px;height:320px;background:#b8f0bf;right:-80px;top:80px}
.glow-two{width:260px;height:260px;background:#d9f7b6;left:-100px;top:680px}
.site-header{display:flex;align-items:center;justify-content:space-between;padding:24px 0}
.brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:1.22rem;letter-spacing:-.03em}
.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#71d58e,#2d9d59);color:#fff;font-size:1.45rem;box-shadow:var(--soft-shadow)}
.brand-mark-image{width:52px;height:52px;object-fit:contain;border-radius:18px;box-shadow:var(--soft-shadow);background:transparent;flex:0 0 auto}
.nav{display:flex;align-items:center;gap:18px;font-weight:700;color:#356047;flex-wrap:wrap;justify-content:flex-end}
.nav a:hover{color:var(--green-dark)}
.ghost-btn,.primary-btn,.secondary-btn{
  border:0;border-radius:16px;padding:13px 20px;font-weight:800;cursor:pointer;transition:.2s transform,.2s box-shadow,.2s background;
}
.ghost-btn{background:#fff;color:var(--green-dark);box-shadow:0 8px 20px rgba(44,120,70,.1)}
.primary-btn{display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#60c97f,#329e5d);color:#fff;box-shadow:0 12px 24px rgba(45,151,84,.25)}
.secondary-btn{background:#fff;color:var(--green-dark);box-shadow:0 10px 22px rgba(31,115,63,.1)}
.ghost-btn:hover,.primary-btn:hover,.secondary-btn:hover{transform:translateY(-2px)}
.hero{padding:12px 0 28px}
.hero-card{
  position:relative;overflow:hidden;display:grid;grid-template-columns:1.05fr .95fr;min-height:620px;
  border:1px solid rgba(255,255,255,.75);border-radius:var(--radius-xl);
  background:linear-gradient(135deg,rgba(224,249,223,.96),rgba(154,222,163,.9));
  box-shadow:var(--shadow);padding:64px;
}
.hero-card:before{content:"";position:absolute;inset:18px;border:1px solid rgba(255,255,255,.48);border-radius:30px;pointer-events:none}
.hero-copy{position:relative;z-index:2;align-self:center}
.eyebrow{display:inline-flex;font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#3d9b5f;margin-bottom:12px}
h1,h2,h3,p{margin-top:0}
h1{font-size:clamp(3rem,6vw,5.4rem);line-height:.94;letter-spacing:-.065em;margin-bottom:24px;color:#fff;text-shadow:0 6px 20px rgba(32,109,55,.18)}
h1 span{color:#17603a}
.hero-copy>p{max-width:610px;font-size:1.08rem;line-height:1.75;color:#28573d;margin-bottom:30px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:28px}
.hero-tags{display:flex;gap:10px;flex-wrap:wrap}
.hero-tags span{background:rgba(255,255,255,.58);border:1px solid rgba(255,255,255,.7);padding:9px 13px;border-radius:999px;font-weight:700;font-size:.88rem}
.hero-art{position:relative;min-height:480px}
.gift{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%) rotate(-4deg);width:280px;height:250px;filter:drop-shadow(0 26px 26px rgba(19,99,54,.22))}
.gift-box{position:absolute;left:26px;right:26px;bottom:0;height:165px;border-radius:18px 18px 28px 28px;background:linear-gradient(145deg,#70d68d,#2d9e59)}
.gift-lid{position:absolute;left:0;right:0;top:58px;height:62px;border-radius:18px;background:linear-gradient(145deg,#7cdd96,#3baa64);z-index:3}
.gift-ribbon-v{position:absolute;left:116px;top:58px;width:48px;height:192px;background:rgba(219,255,220,.62);z-index:4}
.gift-ribbon-h{position:absolute;left:0;right:0;top:78px;height:25px;background:rgba(221,255,222,.56);z-index:4}
.gift-bow{position:absolute;top:0;width:105px;height:70px;border:22px solid #49b66e;z-index:2}
.gift-bow.left{left:40px;border-radius:60% 60% 45% 60%;transform:rotate(28deg)}
.gift-bow.right{right:40px;border-radius:60% 60% 60% 45%;transform:rotate(-28deg)}
.floating-card{position:absolute;display:flex;align-items:center;gap:14px;background:rgba(255,255,255,.9);border:1px solid rgba(255,255,255,.82);border-radius:24px;padding:16px 20px;box-shadow:var(--soft-shadow);backdrop-filter:blur(10px)}
.floating-card strong,.floating-card small{display:block}
.floating-card strong{font-size:1rem}
.floating-card small{color:#5b7766;margin-top:3px}
.float-a{left:0;bottom:60px}
.float-b{right:0;top:80px}
.round-icon,.benefit-icon{display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#70d68d,#2f9f5a);color:#fff}
.round-icon{width:48px;height:48px;font-size:1.35rem}
.confetti{position:absolute;width:16px;height:34px;border-radius:6px;background:#35aa63;opacity:.7;transform:rotate(30deg)}
.c1{left:8%;top:11%}.c2{right:9%;top:15%;transform:rotate(-18deg)}.c3{left:14%;bottom:13%;transform:rotate(62deg)}.c4{right:14%;bottom:9%}
.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:-4px;margin-bottom:90px}
.benefit-card{display:flex;align-items:center;gap:17px;background:rgba(255,255,255,.88);border:1px solid rgba(255,255,255,.9);border-radius:24px;padding:20px;box-shadow:var(--soft-shadow)}
.benefit-icon{width:58px;height:58px;font-size:1.5rem;flex:0 0 auto}
.benefit-card strong{display:block;margin-bottom:5px;font-size:1rem}
.benefit-card p{margin:0;color:#617a69;font-size:.91rem;line-height:1.5}
.catalog{padding-bottom:90px}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:26px;margin-bottom:28px}
.section-head h2,.about h2{font-size:clamp(2rem,4vw,3.2rem);letter-spacing:-.05em;margin-bottom:0}
.catalog-tools{display:flex;gap:12px}
.search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #dcecdf;border-radius:16px;padding:0 14px;min-width:270px}
.search input,.catalog-tools select{border:0;outline:0;background:transparent;padding:14px 0;color:#163f2c}
.catalog-tools select{background:#fff;border:1px solid #dcecdf;border-radius:16px;padding:14px 40px 14px 14px}
.materials-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}

.material-preview-wrap{position:relative;margin-bottom:10px}
.material-preview{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:22px;
  display:block;
  box-shadow:0 12px 24px rgba(33,105,57,.08);
  background:#eef7ee;
}
.material-preview-wrap .material-top{
  margin-top:14px;
}
.material-card.has-image .material-icon{
  display:none;
}

.material-card{display:flex;flex-direction:column;min-height:340px;background:rgba(255,255,255,.94);border:1px solid #e6f1e6;border-radius:26px;padding:22px;box-shadow:0 14px 30px rgba(33,105,57,.09);transition:.22s transform,.22s box-shadow}
.material-card:hover{transform:translateY(-5px);box-shadow:0 22px 42px rgba(33,105,57,.14)}
.material-top,.material-actions{display:flex;align-items:center;justify-content:space-between}
.material-icon{display:grid;place-items:center;width:62px;height:62px;border-radius:20px;background:linear-gradient(145deg,#dff6df,#a6dda9);font-size:1.8rem}
.material-type{padding:8px 11px;background:#eff8ef;border-radius:999px;color:#4d765d;font-weight:800;font-size:.76rem}
.material-body{padding:26px 0;flex:1}
.material-category{font-size:.76rem;text-transform:uppercase;letter-spacing:.1em;color:#45a664;font-weight:800}
.material-title{font-size:1.32rem;margin:9px 0 10px;letter-spacing:-.03em}
.material-description{color:#607667;line-height:1.65;font-size:.94rem}
.material-actions{border-top:1px solid #edf3ed;padding-top:17px}
.open-link{color:#23894e;font-weight:800}
.edit-actions{display:flex;gap:6px}
.icon-btn{width:34px;height:34px;border:0;border-radius:11px;background:#f0f7f1;color:#2f6f46;cursor:pointer;font-weight:900}
.empty-state{text-align:center;padding:60px 20px;background:rgba(255,255,255,.7);border-radius:26px}
.empty-state div{font-size:2rem}.empty-state h3{margin:10px 0 6px}.empty-state p{color:#67806e}
.hidden{display:none!important}
.about{padding-bottom:80px}
.about-card{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:24px;padding:42px;background:linear-gradient(135deg,#e7f9e5,#b7e7ba);border-radius:32px;box-shadow:var(--soft-shadow)}
.about-card p{max-width:830px;line-height:1.75;color:#45634e;margin:14px 0 0}
.star-badge{display:grid;place-items:center;width:86px;height:86px;border-radius:27px;background:#fff;color:#3cac63;font-size:2.3rem;box-shadow:var(--soft-shadow)}
.about-logo{width:86px;height:86px;object-fit:contain;border-radius:27px;background:#fff;box-shadow:var(--soft-shadow)}
.about-actions{margin-top:18px}
.footer-link{font-weight:800;color:#23894e}
.footer{display:flex;justify-content:space-between;padding:28px 0 44px;color:#66806d;font-size:.9rem}
.admin-dialog{border:0;padding:0;background:transparent;width:min(680px,calc(100% - 26px))}
.admin-dialog::backdrop{background:rgba(8,45,25,.48);backdrop-filter:blur(7px)}
.dialog-card{background:#fbfffb;border-radius:28px;padding:28px;box-shadow:0 28px 80px rgba(7,64,30,.28)}
.dialog-head{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-bottom:22px}
.dialog-head h2{margin:0;font-size:1.8rem;letter-spacing:-.04em}
.close-btn{border:0;background:#edf6ee;width:40px;height:40px;border-radius:14px;font-size:1.5rem;cursor:pointer}
.dialog-card label{display:block;margin-bottom:16px}
.dialog-card label>span{display:block;font-size:.84rem;font-weight:800;margin-bottom:8px;color:#42624d}
.dialog-card input,.dialog-card textarea,.dialog-card select{width:100%;border:1px solid #d8e8da;background:#fff;border-radius:14px;padding:13px 14px;outline:0}
.dialog-card textarea{min-height:110px;resize:vertical}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}
@media(max-width:900px){
  .nav a{display:none}
  .hero-card{grid-template-columns:1fr;padding:42px;min-height:auto}
  .hero-art{min-height:420px}
  .benefits,.materials-grid{grid-template-columns:1fr 1fr}
  .section-head{align-items:stretch;flex-direction:column}
}
@media(max-width:640px){
  .shell{width:min(100% - 20px,1180px)}
  .site-header{padding:16px 0}
  .brand{font-size:1.05rem}
  .brand-mark-image{width:44px;height:44px;border-radius:14px}
  .ghost-btn{padding:10px 13px;font-size:.82rem}
  .hero-card{padding:30px 22px;border-radius:28px}
  h1{font-size:2.65rem}
  .hero-copy>p{font-size:.98rem}
  .hero-actions>*{width:100%}
  .hero-art{min-height:355px}
  .gift{transform:translate(-50%,-50%) scale(.78) rotate(-4deg)}
  .floating-card{padding:12px 14px}
  .float-a{left:0;bottom:24px}.float-b{right:0;top:40px}
  .benefits,.materials-grid{grid-template-columns:1fr}
  .benefits{margin-bottom:64px}
  .catalog-tools{flex-direction:column}
  .search{min-width:0}
  .about-card{grid-template-columns:1fr;padding:28px}
  .star-badge{width:66px;height:66px}
  .footer{flex-direction:column;gap:8px}
  .form-row{grid-template-columns:1fr}
}

.login-error{
  margin:4px 0 0;
  padding:12px 14px;
  border-radius:13px;
  background:#fff0f0;
  color:#a33232;
  font-size:.9rem;
  font-weight:700;
}
.admin-only{display:none}
body.is-admin .admin-only{display:flex}

@media(max-width:640px){.footer-link{margin-top:4px}.nav{gap:12px}}


/* Новости, фильтры по курсу и кнопка предложений */
.idea-btn{border-color:rgba(35,137,78,.28)}
.news-section{padding-bottom:90px}
.news-head{align-items:center}
.carousel-controls{display:flex;gap:10px}
.carousel-btn{
  width:46px;height:46px;border:1px solid #dcecdf;border-radius:15px;background:#fff;
  color:var(--green-dark);font-size:1.2rem;font-weight:900;cursor:pointer;
  box-shadow:0 8px 20px rgba(31,115,63,.08)
}
.news-carousel{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(290px,calc((100% - 40px)/3));
  gap:20px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  padding:4px 2px 22px;
}
.news-carousel::-webkit-scrollbar{display:none}
.news-card{
  scroll-snap-align:start;
  background:rgba(255,255,255,.95);
  border:1px solid #e4f0e5;
  border-radius:27px;
  overflow:hidden;
  box-shadow:0 14px 32px rgba(33,105,57,.10);
  cursor:pointer;
  transition:transform .22s,box-shadow .22s;
  outline:none
}
.news-card:hover,.news-card:focus-visible{transform:translateY(-5px);box-shadow:0 22px 44px rgba(33,105,57,.15)}
.news-image-wrap{height:190px;position:relative;background:linear-gradient(145deg,#dff6df,#a6dda9)}
.news-image{width:100%;height:100%;object-fit:cover;display:block}
.news-placeholder{height:100%;display:grid;place-items:center;font-size:3.2rem}
.news-pin,.news-draft{
  position:absolute;top:14px;padding:7px 10px;border-radius:999px;font-size:.72rem;font-weight:800;
  backdrop-filter:blur(8px)
}
.news-pin{left:14px;background:rgba(255,255,255,.9);color:#26894e}
.news-draft{right:14px;background:rgba(24,57,37,.82);color:#fff}
.news-card-body{padding:20px 20px 22px}
.news-date{font-size:.76rem;color:#5f7d69;font-weight:700}
.news-title{font-size:1.2rem;letter-spacing:-.025em;margin:8px 0 8px}
.news-summary{color:#607667;line-height:1.6;font-size:.91rem;margin:0 0 16px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.news-more{color:#23894e;font-weight:800;font-size:.88rem}
.news-empty{text-align:center;padding:42px;background:rgba(255,255,255,.65);border-radius:26px;color:#607667}
.news-empty span{font-size:2rem}
.news-details-dialog{border:0;padding:0;background:transparent;width:min(760px,calc(100% - 24px))}
.news-details-dialog::backdrop{background:rgba(8,45,25,.5);backdrop-filter:blur(8px)}
.news-details-card{position:relative;background:#fbfffb;border-radius:30px;overflow:hidden;box-shadow:0 30px 90px rgba(7,64,30,.3)}
.news-details-close{position:absolute;right:18px;top:18px;z-index:2;background:rgba(255,255,255,.92)}
.news-details-image{width:100%;height:min(42vh,340px);object-fit:cover;display:block}
.news-details-content{padding:30px}
.news-details-content h2{font-size:clamp(1.8rem,4vw,2.7rem);letter-spacing:-.045em;margin:6px 0 18px}
.news-details-text{white-space:pre-line;line-height:1.8;color:#45634e;margin-bottom:24px}
.news-details-content .primary-btn,.news-details-content .secondary-btn{display:inline-flex;margin-right:8px;margin-top:6px}
.large-textarea{min-height:190px!important}
.switch-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:4px}
.check-option{
  display:flex!important;align-items:center;gap:9px;margin:0!important;padding:12px 14px;
  background:#f0f8f1;border:1px solid #dcecdf;border-radius:14px;font-weight:800
}
.check-option input{width:auto!important;margin:0}
.check-option span{margin:0!important}
.danger-btn{color:#a33232;border-color:#f0caca}
.course-fieldset{border:1px solid #d8e8da;border-radius:17px;padding:14px;margin:0 0 16px}
.course-fieldset legend{font-size:.84rem;font-weight:800;color:#42624d;padding:0 7px}
.course-fieldset legend small{font-weight:600;color:#708678}
.course-checkboxes{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.course-checkboxes label{
  display:flex!important;align-items:center;gap:8px;margin:0!important;padding:10px 11px;
  background:#f3f9f4;border-radius:12px;cursor:pointer
}
.course-checkboxes input{width:auto!important;margin:0}
.course-checkboxes label>span{margin:0!important}
.course-checkboxes input:disabled+span{opacity:.45}
.field-hint{margin:10px 2px 0;color:#6a8170;font-size:.8rem}
.material-courses{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
.material-courses span{padding:6px 9px;border-radius:999px;background:#e7f7e9;color:#267b48;font-size:.72rem;font-weight:800}
.catalog-tools{flex-wrap:wrap}
.about-actions{display:flex;gap:10px;flex-wrap:wrap}

@media(max-width:900px){
  .news-carousel{grid-auto-columns:minmax(285px,calc((100% - 20px)/2))}
}
@media(max-width:640px){
  .news-section{padding-bottom:64px}
  .news-carousel{grid-auto-columns:88%}
  .news-image-wrap{height:175px}
  .carousel-btn{width:42px;height:42px}
  .catalog-tools select{width:100%}
  .course-checkboxes{grid-template-columns:repeat(2,1fr)}
  .news-details-content{padding:24px 20px}
  .news-details-image{height:230px}
}


/* Полноформатная новостная карусель */
.news-carousel{
  display:flex;
  gap:22px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  padding:4px 2px 24px;
}
.news-carousel::-webkit-scrollbar{display:none}
.news-card{
  min-width:100%;
  display:grid;
  grid-template-columns:minmax(360px,48%) 1fr;
  min-height:340px;
  scroll-snap-align:start;
  border-radius:30px;
  background:rgba(255,255,255,.96);
  overflow:hidden;
  border:1px solid #e2efe4;
  box-shadow:0 18px 42px rgba(33,105,57,.11);
}
.news-card:hover,.news-card:focus-visible{
  transform:translateY(-3px);
  box-shadow:0 25px 55px rgba(33,105,57,.16)
}
.news-image-wrap{height:100%;min-height:340px}
.news-image{width:100%;height:100%;object-fit:cover}
.news-placeholder{height:100%;min-height:340px;font-size:4rem}
.news-card-body{
  padding:clamp(28px,5vw,58px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
}
.news-meta-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.news-title{font-size:clamp(1.7rem,3vw,3rem);line-height:1.08;margin:13px 0 14px;letter-spacing:-.045em}
.news-summary{
  font-size:1rem;
  line-height:1.75;
  -webkit-line-clamp:5;
  max-width:620px;
  margin-bottom:24px;
}
.news-more{font-size:.95rem}
.news-status{
  padding:6px 9px;border-radius:999px;background:#263e2e;color:white;font-size:.7rem;font-weight:800
}
.count-badge{
  display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;
  margin-left:5px;border-radius:999px;background:#e64d4d;color:#fff;font-size:.68rem
}

/* Форма предложений и кабинет администратора */
.dialog-intro{color:#607667;line-height:1.65;margin:-2px 0 16px}
.form-success{
  background:#e7f8eb;color:#207143;border:1px solid #cdebd5;
  padding:12px 14px;border-radius:14px;font-weight:700
}
.suggestions-dialog{
  border:0;padding:0;background:transparent;width:min(960px,calc(100% - 24px));max-height:90vh
}
.suggestions-dialog::backdrop{background:rgba(8,45,25,.5);backdrop-filter:blur(8px)}
.suggestions-panel{
  background:#fbfffb;border-radius:28px;padding:28px;max-height:88vh;overflow:auto;
  box-shadow:0 30px 90px rgba(7,64,30,.3)
}
.suggestions-toolbar{display:flex;gap:10px;justify-content:flex-end;margin-bottom:18px}
.suggestions-toolbar select{min-width:190px}
.suggestions-list{display:grid;gap:14px}
.suggestions-empty{
  padding:38px;text-align:center;background:#f1f8f2;border-radius:20px;color:#667d6c
}
.suggestion-card{
  background:white;border:1px solid #dfede1;border-radius:20px;padding:20px;
  box-shadow:0 10px 24px rgba(33,105,57,.07)
}
.suggestion-card-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}
.suggestion-date{font-size:.74rem;color:#708277;font-weight:700}
.suggestion-title{font-size:1.16rem;margin:5px 0 0}
.suggestion-status{
  padding:7px 10px;border-radius:999px;font-size:.72rem;font-weight:800;white-space:nowrap
}
.suggestion-status[data-status="new"]{background:#fff0ce;color:#8c5e00}
.suggestion-status[data-status="reviewed"]{background:#e8f0ff;color:#315e9b}
.suggestion-status[data-status="done"]{background:#e3f7e8;color:#237244}
.suggestion-message{white-space:pre-line;color:#4d6856;line-height:1.7;margin:15px 0}
.suggestion-author{
  font-size:.8rem;color:#698071;background:#f2f8f3;border-radius:12px;padding:10px 12px
}
.suggestion-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:15px}
.suggestion-actions select{min-width:155px}
.suggestion-delete{color:#a33232;border-color:#f0caca}

@media(max-width:760px){
  .news-card{grid-template-columns:1fr;min-height:0}
  .news-image-wrap,.news-placeholder{min-height:210px;height:210px}
  .news-card-body{padding:24px 21px 27px}
  .news-title{font-size:1.65rem}
  .suggestions-panel{padding:20px 14px}
  .suggestions-toolbar,.suggestion-actions{flex-direction:column}
  .suggestions-toolbar select,.suggestion-actions select,.suggestion-actions button{width:100%}
  .suggestion-card-head{flex-direction:column;gap:9px}
}


/* Нижний дисклеймер правообладателя */
.footer{
  display:block;
}
.footer-main{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
}
.copyright-notice{
  margin:22px 0 0;
  padding-top:18px;
  border-top:1px solid #dceade;
  text-align:center;
  color:#6a8170;
  line-height:1.6;
  font-size:.84rem;
}
.copyright-notice a{
  color:#23894e;
  font-weight:800;
  text-decoration:none;
}
.copyright-notice a:hover{text-decoration:underline}

@media(max-width:640px){
  .footer-main{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }
  .copyright-notice{
    text-align:left;
  }
}


/* Несколько источников скачивания материала */
.material-download-links{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.material-download-links .open-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.max-link{
  background:#eef7ff;
  color:#2268a7;
  border-color:#d8e9f8;
}
.max-link:hover{
  background:#e0f0ff;
}
@media(max-width:640px){
  .material-download-links{
    width:100%;
  }
  .material-download-links .open-link{
    flex:1 1 140px;
  }
}
