/* =========================================================
   RESET & BASE
   ========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  background: #ffffff;
  color: #000000;
}



/* =========================================================
   PAGE — внешний уровень (без геометрии)
   ========================================================= */
.page {
  width: 100%;
  padding: 0;
}



/* =========================================================
   CONTAINER — ЕДИНСТВЕННОЕ место управления шириной
   ========================================================= */
.container {
  width: 100%;
  min-width: 375px;
  max-width: 440px;
  margin: 0 auto;
}



/* =========================================================
   BLOCK — визуальный уровень
   ========================================================= */
.block {
  position: relative;
  background-color: #ffffff;
}



/* =========================================================
   BLOG BLOCK — частный визуальный блок
   ========================================================= */
.block--blog {
  background: url("/images/fon.jpeg") center / contain no-repeat;
  background-color: #ffffff;
  color: #ffffff;
  padding: 10px 0;
}



/* =========================================================
   INNER — только контент (НИКАКОЙ геометрии)
   ========================================================= */
.inner {
  position: relative;
  z-index: 1;
}



/* =========================================================
   TITLE (журнальная шапка)
   ========================================================= */
.title-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #3a1d12;
  white-space: nowrap;
  margin-left: 30px;
  margin-top: 10px;
}

.title-mark {
  width: 42px;
  height: auto;
  flex-shrink: 0;
  opacity: 0.9;
  margin-right: 10px;
}

.subtitle {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.75;
  margin-bottom: 10px;
  color: #434342;
    margin-left: 30px;
}



/* =========================================================
   DIVIDER
   ========================================================= */
    .divider {
      width: 95%;
      height: 1px;
      margin: 7px auto;
      background: linear-gradient(
        to right,
        rgba(0,0,0,0),
        rgba(0,0,0,.35),
        rgba(0,0,0,0)
      );
    }



/* =========================================================
   ITEMS / SECTIONS
   ========================================================= */
   


.items {
  display: flex;
  flex-direction: column;
    background: url("/images/fon-blog.jpeg") center / cover no-repeat;
  padding: 20px 30px;
    height: 700px;
  overflow-y: auto;
  

  overflow-x: hidden;

  /* Firefox */
  scrollbar-width: none;

  /* IE / Edge legacy */
  -ms-overflow-style: none;
}

/* Chrome / Safari / Edge (WebKit) */
.items::-webkit-scrollbar {
  width: 0;
  height: 0;
  
  
  
  
}

.items > div {
  position: relative;
  padding: 26px 0;
}

.items > div:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;

background: linear-gradient(
  to right,
  rgba(255,255,255,0),
  rgba(255,255,255,0.75),
  rgba(255,255,255,0)
);

}




/* =========================================================
   SECTION TITLES
   ========================================================= */
.item-title {
  margin-bottom: 8px;
  font-size: 14px;
  letter-spacing: 0.14em;
  opacity: 0.85;
}



/* =========================================================
   ARTICLE LINKS
   ========================================================= */
.item-text {
  font-size: 14px;
  line-height: 1.1;
  opacity: 0.85;
  margin-left: 20px;
}

.item-text a {
  display: block;
  margin: 2px 0;
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.item-text a:hover {
  opacity: 1;
}

/* =========================================================
   FOOTER BLOCK
   ========================================================= */
.block--footer {
  background: #ffffff;
  color: #000000;
  padding: 10px 0 60px;
}

/* разделитель над футером */
.footer-divider {
  width: 100%;
  height: 1px;
  margin-bottom: 24px;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0),
    rgba(0,0,0,0.25),
    rgba(0,0,0,0)
  );
}

/* текстовая часть */
.footer-inner {
  text-align: center;
}

.footer-name {
  font-size: 14px;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
  opacity: 0.85;
}

.footer-desc {
  font-size: 13px;
  opacity: 0.6;
}

/* копирайт */
.footer-meta {
  margin-top: 18px;
  font-size: 12px;
  opacity: 0.45;
}

.footer-link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.footer-link:hover {
  opacity: 0.65;
}



.article-meta {
  margin-top: 0;
  margin-bottom: 26px;

  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.6);
}

.article-items {
  padding-top: 10px;
  
}

.article-items > div {
  padding: 0;
}

.article-title {
  margin-bottom: 6px;
  margin-top: 30px;
}


.article-items .divider {
  margin-top: 40px;
}

.article-items > div::after {
  display: none;
}

.article p {
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 22px;
}
.article p.lead {
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 40px;
}
.article p.accent {
  font-size: 18px;
  line-height: 1.6;
  margin: 48px 0;
  padding-left: 20px;
  border-left: 2px solid #ddd;
}

@media (max-width: 600px) {
  .article {
    padding: 20px 0px;
  }

  .article-title {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .article p {
    font-size: 14px;
  }

  .article p.lead {
    font-size: 14px;
  }
  .article p.accent {
  font-size: 14px;
  color: black;
      
  }
}


.article-showcase {
  margin: 33px 0px 44px 0px; 
  text-align: center;
}

.article-showcase-link {
  position:relative;font-size:14px;letter-spacing:.05em;text-decoration:none;color:#000;padding-bottom:.6em}

.article-showcase-link::before{content:"";position:absolute;left:0;bottom:.35em;width:calc(100% + 14px);height:1px;background:rgba(0,0,0,.35)}
.article-showcase-link::after{content:"";position:absolute;width:24px;height:24px;right:-28px;bottom:0;background:url("/images/hand.png") center/contain no-repeat}

.article-showcase-link:hover {
  opacity: 1;
  border-color: rgba(0,0,0,0.6);
}

/* =========================================================
   RULES (зафиксировать и не нарушать)
   ========================================================= */
/*
  1. width / min-width / max-width — ТОЛЬКО .container
  2. НИКАКИХ отрицательных margin внутри flex
  3. .inner — только контент
  4. .block — только визуал
  5. НИКАКИХ media queries для компоновки
*/
