/* Scoped editorial presentation for public useful-article pages. */

body.mkd-site .mk-news-article-page{
  width:100%;
  max-width:1392px;
  margin:0 auto;
  padding:0 0 72px;
  color:var(--mk-ink);
}

body.mkd-site .mk-news-article-page *,
body.mkd-site .mk-news-article-page *::before,
body.mkd-site .mk-news-article-page *::after{
  box-sizing:border-box;
}

body.mkd-site:not(.mkd-home) .mk-news-article-page .mk-news-article{
  position:relative;
  margin:0 0 54px;
  padding:28px 0 0;
  overflow:visible;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
}

body.mkd-site:not(.mkd-home) .mk-news-article-page .mk-news-article::before{
  display:none;
}

body.mkd-site .mk-news-article .article-slim{
  max-width:1120px;
  margin:0 auto;
  padding:0;
}

body.mkd-site .mk-news-article__header{
  max-width:920px;
  margin:0 auto;
}

body.mkd-site .mk-news-article__topic{
  display:inline-flex;
  align-items:center;
  min-height:0;
  padding:0 0 8px;
  color:var(--mk-brand);
  background:transparent;
  border:0;
  border-bottom:2px solid rgba(219,26,49,.28);
  border-radius:0;
  font-size:11px;
  font-weight:800;
  line-height:1.3;
  letter-spacing:.07em;
  text-decoration:none;
  text-transform:uppercase;
  transition:color .2s ease,background-color .2s ease,border-color .2s ease;
}

body.mkd-site .mk-news-article__topic:hover{
  color:var(--mk-brand-dark);
  background:transparent;
  border-color:var(--mk-brand);
}

body.mkd-site .mk-news-article .article-title{
  max-width:900px;
  margin:19px 0 0;
  color:var(--mk-ink);
  font-size:clamp(38px,4.4vw,60px);
  font-weight:800;
  line-height:1.05;
  letter-spacing:-.045em;
}

body.mkd-site .mk-news-article .article-hashtags{
  display:flex;
  flex-wrap:wrap;
  gap:8px 12px;
  min-height:0;
  max-height:none;
  margin:21px 0 0;
  overflow:visible;
}

body.mkd-site .mk-news-article .article-hashtags .tag{
  margin:0;
  color:var(--mk-brand);
  font-size:10px;
  font-weight:800;
  line-height:1.45;
  letter-spacing:.035em;
  text-decoration:none;
  text-transform:uppercase;
}

body.mkd-site .mk-news-article .article-hashtags .tag:hover{
  color:var(--mk-brand-dark);
}

body.mkd-site .mk-news-article .article-hashtags .hashtag{
  margin-right:3px;
}

body.mkd-site .mk-news-article .article-stat{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px 32px;
  margin:25px 0 0;
  color:var(--mk-muted);
  font-size:12px;
  line-height:1.4;
}

body.mkd-site .mk-news-article .article-stat > div{
  display:flex;
  align-items:baseline;
  gap:7px;
  margin:0;
}

body.mkd-site .mk-news-article .article-stat span{
  color:#8b857e;
}

body.mkd-site .mk-news-article .article-stat strong{
  color:#55514c;
  font-weight:700;
}

body.mkd-site .mk-news-article .article-main-image{
  position:relative;
  width:100%;
  margin:38px 0 48px;
  overflow:hidden;
  background:#efebe6;
  border-radius:20px;
  box-shadow:0 15px 38px rgba(42,31,24,.1);
}

body.mkd-site .mk-news-article .article-main-image picture,
body.mkd-site .mk-news-article .article-main-image img{
  display:block;
  width:100%;
}

body.mkd-site .mk-news-article .article-main-image img{
  aspect-ratio:16/9;
  height:auto;
  object-fit:cover;
}

body.mkd-site .mk-news-article .article-content,
body.mkd-site .mk-news-article .article-video{
  max-width:850px;
  margin-right:auto;
  margin-left:auto;
}

body.mkd-site .mk-news-article .article-content .wysiwyg{
  color:#504d48;
  font-size:16px;
  line-height:1.78;
}

body.mkd-site .mk-news-article .article-content .wysiwyg > :first-child{
  margin-top:0;
}

body.mkd-site .mk-news-article .article-content .wysiwyg > :last-child{
  margin-bottom:0;
}

body.mkd-site .mk-news-article .article-content .wysiwyg p{
  margin:0 0 22px;
}

body.mkd-site .mk-news-article .article-content .wysiwyg p:has(> strong:only-child){
  margin:34px 0 13px;
  color:var(--mk-ink);
  font-size:22px;
  font-weight:800;
  line-height:1.3;
  letter-spacing:-.02em;
}

body.mkd-site .mk-news-article .article-content .wysiwyg h2,
body.mkd-site .mk-news-article .article-content .wysiwyg h3,
body.mkd-site .mk-news-article .article-content .wysiwyg h4{
  margin:40px 0 16px;
  color:var(--mk-ink);
  font-weight:800;
  line-height:1.22;
  letter-spacing:-.025em;
}

body.mkd-site .mk-news-article .article-content .wysiwyg h2{
  font-size:30px;
}

body.mkd-site .mk-news-article .article-content .wysiwyg h3{
  font-size:24px;
}

body.mkd-site .mk-news-article .article-content .wysiwyg h4{
  font-size:20px;
}

body.mkd-site .mk-news-article .article-content .wysiwyg img{
  display:block;
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  margin:34px auto 12px;
  border-radius:18px;
  box-shadow:0 10px 28px rgba(42,31,24,.075);
}

body.mkd-site .mk-news-article .article-content .wysiwyg p:has(> img:only-child){
  margin:34px 0 12px;
}

body.mkd-site .mk-news-article .article-content .wysiwyg p:has(> img:only-child) img{
  margin:0 auto;
}

body.mkd-site .mk-news-article .article-content .wysiwyg a{
  color:var(--mk-brand-dark);
  text-decoration-color:rgba(219,26,49,.35);
  text-underline-offset:3px;
}

body.mkd-site .mk-news-article .article-content .wysiwyg a:hover{
  color:var(--mk-brand);
}

body.mkd-site .mk-news-article .article-content .wysiwyg :is(ul,ol){
  margin:22px 0;
  padding-left:24px;
}

body.mkd-site .mk-news-article .article-content .wysiwyg li{
  margin:8px 0;
}

body.mkd-site .mk-news-article .article-content .wysiwyg blockquote{
  margin:32px 0;
  padding:22px 24px;
  color:#4f4a45;
  background:#faf6f3;
  border:0;
  border-left:4px solid var(--mk-brand);
  border-radius:0 14px 14px 0;
  font-size:17px;
  line-height:1.7;
}

body.mkd-site .mk-news-article .article-content .wysiwyg table{
  display:block;
  width:100%;
  margin:28px 0;
  overflow-x:auto;
  border-collapse:collapse;
}

body.mkd-site .mk-news-article .article-content .wysiwyg :is(td,th){
  min-width:120px;
  padding:12px 14px;
  border:1px solid var(--mk-line);
}

body.mkd-site .mk-news-article .article-video{
  margin-top:42px;
  overflow:hidden;
  border-radius:18px;
}

body.mkd-site .mk-news-article .article-video iframe{
  display:block;
  min-height:478px;
  border:0;
}

body.mkd-site .mk-news-article .article-footer{
  display:flex;
  align-items:stretch;
  flex-direction:column;
  gap:28px;
  max-width:920px;
  margin:52px auto 0;
  padding-top:30px;
  border-top:1px solid var(--mk-line);
}

body.mkd-site .mk-news-article .article-share{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

body.mkd-site .mk-news-article .share-text{
  color:#69645f;
  font-size:12px;
  font-weight:800;
  line-height:1.4;
  letter-spacing:.055em;
  text-transform:uppercase;
}

body.mkd-site .mk-news-article__share-links{
  display:flex;
  align-items:center;
  gap:8px;
}

body.mkd-site .mk-news-article .social-share-link{
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  margin:0;
  color:#5e5954;
  background:#f7f4f1;
  border:1px solid #e9e3dd;
  border-radius:50%;
  font-size:11px;
  font-weight:800;
  line-height:1;
  text-decoration:none;
  text-transform:uppercase;
  transition:color .2s ease,background-color .2s ease,border-color .2s ease,transform .2s ease;
}

body.mkd-site .mk-news-article .social-share-link:hover{
  color:#fff;
  background:var(--mk-brand);
  border-color:var(--mk-brand);
  transform:translateY(-2px);
}

body.mkd-site .mk-news-article__navigation{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

body.mkd-site .mk-news-article__navigation > :only-child{
  grid-column:1/-1;
}

body.mkd-site .mk-news-article .article-prev,
body.mkd-site .mk-news-article .article-next{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:13px;
  min-width:0;
  min-height:92px;
  padding:17px 18px;
  color:var(--mk-ink);
  background:#faf8f5;
  border:1px solid var(--mk-line);
  border-radius:15px;
  text-decoration:none;
  transition:border-color .2s ease,background-color .2s ease,transform .2s ease;
}

body.mkd-site .mk-news-article .article-next{
  grid-template-columns:minmax(0,1fr) auto;
  text-align:right;
}

body.mkd-site .mk-news-article .article-prev:hover,
body.mkd-site .mk-news-article .article-next:hover{
  background:#fff;
  border-color:rgba(219,26,49,.26);
  opacity:1;
  transform:translateY(-2px);
}

body.mkd-site .mk-news-article .article-prev small,
body.mkd-site .mk-news-article .article-next small,
body.mkd-site .mk-news-article .article-prev strong,
body.mkd-site .mk-news-article .article-next strong{
  display:block;
}

body.mkd-site .mk-news-article .article-prev small,
body.mkd-site .mk-news-article .article-next small{
  margin-bottom:5px;
  color:#8a847d;
  font-size:9px;
  font-weight:800;
  line-height:1.35;
  letter-spacing:.055em;
  text-transform:uppercase;
}

body.mkd-site .mk-news-article .article-prev strong,
body.mkd-site .mk-news-article .article-next strong{
  display:-webkit-box;
  overflow:hidden;
  font-size:13px;
  font-weight:800;
  line-height:1.4;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

body.mkd-site .mk-news-article__nav-arrow{
  color:var(--mk-brand);
  font-size:21px;
  line-height:1;
}

body.mkd-site .mk-news-article-page .other-news-blog{
  margin:0;
  padding:38px 0 0;
  overflow:hidden;
  background:transparent;
  border:0;
  border-top:1px solid #d9d4ce;
  border-radius:0;
  box-shadow:none;
}

body.mkd-site .mk-news-related__head{
  margin-bottom:22px;
}

body.mkd-site .mk-news-related__head > span{
  display:block;
  margin-bottom:8px;
  color:var(--mk-brand);
  font-size:10px;
  font-weight:800;
  line-height:1.4;
  letter-spacing:.09em;
  text-transform:uppercase;
}

body.mkd-site .mk-news-related__head .caption{
  margin:0;
  color:var(--mk-ink);
  font-size:clamp(25px,2.5vw,34px);
  font-weight:800;
  line-height:1.15;
  letter-spacing:-.035em;
}

body.mkd-site .mk-news-article-page .other-news-blog .swiper-blog{
  padding:0 0 25px;
}

body.mkd-site .mk-news-article-page .other-news-blog .swiper-slide{
  width:auto;
  height:auto;
}

body.mkd-site .mk-news-article-page .other-news-blog .swiper-slide:not(:last-child){
  margin-right:13px;
}

body.mkd-site .mk-news-article-page .mk-news-related-card{
  display:flex;
  flex-direction:column;
  width:324px;
  height:100%;
  min-height:450px;
  padding:0;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--mk-line);
  border-radius:18px;
  box-shadow:0 8px 24px rgba(42,31,24,.05);
  transition:border-color .22s ease,box-shadow .22s ease;
}

body.mkd-site .mk-news-article-page .mk-news-related-card:hover{
  border-color:#d9d1ca;
  box-shadow:0 14px 32px rgba(42,31,24,.09);
}

body.mkd-site .mk-news-article-page .mk-news-related-card > .card-link{
  display:block;
  width:100%;
  min-height:0;
  aspect-ratio:16/10;
  overflow:hidden;
  background:#efebe7;
}

body.mkd-site .mk-news-article-page .mk-news-related-card .card-link picture,
body.mkd-site .mk-news-article-page .mk-news-related-card .card-link img{
  display:block;
  width:100%;
  height:100%;
}

body.mkd-site .mk-news-article-page .mk-news-related-card .card-link img{
  object-fit:cover;
  transition:scale .7s cubic-bezier(.22,1,.36,1);
}

body.mkd-site .mk-news-article-page .mk-news-related-card:hover .card-link img{
  scale:1.035;
}

body.mkd-site .mk-news-article-page .mk-news-related-card .card-info{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  padding:18px 19px 20px;
}

body.mkd-site .mk-news-article-page .mk-news-related-card .card-type{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:0 0 13px;
}

body.mkd-site .mk-news-article-page .mk-news-related-card .card-type-text{
  display:block;
  padding:5px 7px;
  color:var(--mk-brand-dark);
  background:var(--mk-brand-soft);
  border:0;
  border-radius:6px;
  font-size:8px;
  font-weight:800;
  line-height:1.25;
  letter-spacing:.055em;
  text-transform:uppercase;
}

body.mkd-site .mk-news-article-page .mk-news-related-card .card-date{
  color:#8b857f;
  font-size:10px;
  font-weight:600;
  line-height:1.35;
  white-space:nowrap;
}

body.mkd-site .mk-news-article-page .mk-news-related-card .card-caption{
  min-height:44px;
  max-height:44px;
  margin:0 0 10px;
  overflow:hidden;
}

body.mkd-site .mk-news-article-page .mk-news-related-card .card-title-link{
  display:-webkit-box;
  min-height:0;
  max-height:none;
  overflow:hidden;
  color:var(--mk-ink);
  font-size:16px;
  font-weight:800;
  line-height:1.38;
  text-decoration:none;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

body.mkd-site .mk-news-article-page .mk-news-related-card .card-description{
  display:-webkit-box;
  min-height:59px;
  max-height:59px;
  margin:0 0 13px;
  overflow:hidden;
  color:var(--mk-muted);
  font-size:12px;
  line-height:1.62;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}

body.mkd-site .mk-news-article-page .mk-news-related-card .card-hashtags{
  display:flex;
  flex-wrap:nowrap;
  gap:7px;
  min-height:16px;
  max-height:16px;
  margin:0 0 15px;
  overflow:hidden;
}

body.mkd-site .mk-news-article-page .mk-news-related-card .tag{
  flex:0 0 auto;
  margin:0;
  color:var(--mk-brand);
  font-size:9px;
  font-weight:700;
  line-height:16px;
  text-decoration:none;
  text-transform:uppercase;
}

body.mkd-site .mk-news-related-card__more{
  display:inline-flex;
  align-items:center;
  align-self:flex-start;
  gap:7px;
  margin-top:auto;
  color:var(--mk-ink);
  font-size:11px;
  font-weight:800;
  line-height:1.4;
  text-decoration:none;
}

body.mkd-site .mk-news-related-card__more span{
  color:var(--mk-brand);
  font-size:15px;
  transition:transform .2s ease;
}

body.mkd-site .mk-news-related-card__more:hover span{
  transform:translateX(3px);
}

body.mkd-site .mk-news-article-page .other-news-blog .swiper-scrollbar{
  height:4px;
  background:#eee9e4;
  border-radius:999px;
}

body.mkd-site .mk-news-article-page .other-news-blog .swiper-scrollbar-drag{
  background:var(--mk-brand);
  border-radius:999px;
}

body.mkd-site .mk-news-article-page :is(a,button):focus-visible{
  outline:3px solid rgba(219,26,49,.28);
  outline-offset:3px;
}

@media (max-width:767px){
  body.mkd-site .mk-news-article-page{
    padding-bottom:30px;
  }

  body.mkd-site:not(.mkd-home) .mk-news-article-page .mk-news-article{
    margin-bottom:36px;
    padding:17px 0 0;
  }

  body.mkd-site .mk-news-article .article-title{
    margin-top:15px;
    font-size:clamp(32px,10.2vw,43px);
    line-height:1.06;
  }

  body.mkd-site .mk-news-article .article-hashtags{
    gap:7px 10px;
    margin-top:17px;
  }

  body.mkd-site .mk-news-article .article-stat{
    align-items:flex-start;
    flex-direction:column;
    gap:7px;
    margin-top:19px;
  }

  body.mkd-site .mk-news-article .article-stat > div{
    gap:5px;
  }

  body.mkd-site .mk-news-article .article-main-image{
    margin:27px 0 31px;
    border-radius:15px;
    box-shadow:0 10px 26px rgba(42,31,24,.085);
  }

  body.mkd-site .mk-news-article .article-content .wysiwyg{
    font-size:15px;
    line-height:1.72;
  }

  body.mkd-site .mk-news-article .article-content .wysiwyg p{
    margin-bottom:19px;
  }

  body.mkd-site .mk-news-article .article-content .wysiwyg p:has(> strong:only-child){
    margin:29px 0 11px;
    font-size:20px;
  }

  body.mkd-site .mk-news-article .article-content .wysiwyg h2{
    font-size:25px;
  }

  body.mkd-site .mk-news-article .article-content .wysiwyg h3{
    font-size:21px;
  }

  body.mkd-site .mk-news-article .article-content .wysiwyg img,
  body.mkd-site .mk-news-article .article-content .wysiwyg p:has(> img:only-child){
    margin-top:27px;
  }

  body.mkd-site .mk-news-article .article-content .wysiwyg img{
    border-radius:13px;
  }

  body.mkd-site .mk-news-article .article-content .wysiwyg blockquote{
    margin:26px 0;
    padding:18px;
    font-size:15px;
  }

  body.mkd-site .mk-news-article .article-video{
    margin-top:31px;
    border-radius:14px;
  }

  body.mkd-site .mk-news-article .article-video iframe{
    min-height:210px;
  }

  body.mkd-site .mk-news-article .article-footer{
    gap:23px;
    margin-top:38px;
    padding-top:23px;
  }

  body.mkd-site .mk-news-article__navigation{
    grid-template-columns:minmax(0,1fr);
  }

  body.mkd-site .mk-news-article .article-prev,
  body.mkd-site .mk-news-article .article-next{
    min-height:82px;
    padding:14px 15px;
  }

  body.mkd-site .mk-news-article-page .other-news-blog{
    padding:27px 0 0;
  }

  body.mkd-site .mk-news-related__head{
    margin-bottom:17px;
  }

  body.mkd-site .mk-news-related__head .caption{
    font-size:25px;
  }

  body.mkd-site .mk-news-article-page .mk-news-related-card{
    width:278px;
    min-height:420px;
    border-radius:16px;
  }

  body.mkd-site .mk-news-article-page .mk-news-related-card .card-info{
    padding:16px 17px 18px;
  }
}

@media (any-hover:none){
  body.mkd-site .mk-news-article .social-share-link:hover,
  body.mkd-site .mk-news-article .article-prev:hover,
  body.mkd-site .mk-news-article .article-next:hover{
    transform:none;
  }
}

@media (prefers-reduced-motion:reduce){
  body.mkd-site .mk-news-article__topic,
  body.mkd-site .mk-news-article .social-share-link,
  body.mkd-site .mk-news-article .article-prev,
  body.mkd-site .mk-news-article .article-next,
  body.mkd-site .mk-news-article-page .mk-news-related-card,
  body.mkd-site .mk-news-article-page .mk-news-related-card .card-link img,
  body.mkd-site .mk-news-related-card__more span{
    transition:none;
  }
}
