/* Раздел «Статьи» — оформление в тематике дидойского флага с гербом */
.art-hero {
  position: relative;
  padding: 116px 26px 30px;
  margin: 18px auto 26px;
  max-width: 980px;
  border-radius: 22px;
  border: 3px solid var(--gold);
  background: linear-gradient(180deg, rgba(247,249,246,0.98), rgba(255,255,255,0.99));
  box-shadow: 0 14px 40px rgba(0,0,0,0.16);
  overflow: hidden;
}
.art-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 18px;
  background: linear-gradient(90deg, var(--black) 0%, var(--black) 33.3%,
    var(--white) 33.3%, var(--white) 66.6%, var(--green) 66.6%, var(--green) 100%);
  border-bottom: 2px solid var(--gold);
}
.art-hero-flag {
  position: absolute; top: 30px; left: 26px;
  width: 104px; height: 70px; object-fit: cover;
  border: 2px solid var(--gold); border-radius: 4px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.25); z-index: 2;
}
.art-hero-emblem {
  position: absolute; top: 26px; left: 50%; transform: translateX(-50%);
  width: 82px; height: 82px; border-radius: 50%;
  background-color: var(--white);
  background-image: url('emblem-dido.png');
  background-size: 66px 66px; background-position: center; background-repeat: no-repeat;
  border: 2px solid var(--gold); box-shadow: 0 3px 14px rgba(0,0,0,0.3); z-index: 2;
}
.art-hero .eyebrow {
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 6px;
}
.art-hero h1 {
  margin: 0 0 6px; font-size: 34px; line-height: 1.2; color: var(--ink);
  font-family: Georgia, serif;
}
.art-hero .art-sub { color: var(--muted); font-size: 16px; margin: 0 0 10px; }
.art-hero .art-meta { color: var(--green-d); font-size: 13px; font-weight: 700; }
.art-hero .art-meta span { color: var(--muted); font-weight: 400; }

.art-body { max-width: 900px; margin: 0 auto; padding: 0 24px 40px; }
.art-body p { font-size: 16px; line-height: 1.75; color: var(--ink); margin: 0 0 18px; }
.art-body h3 {
  font-family: Georgia, serif; font-size: 24px; color: var(--green-d);
  margin: 34px 0 14px; padding-left: 14px;
  border-left: 4px solid var(--gold);
}
.art-body .art-author {
  font-style: italic; color: var(--gold); font-weight: 700; margin: 6px 0 20px;
  font-size: 15px;
}
.art-lang-note {
  font-size: 13px; color: var(--muted); margin: 8px 0 0; font-style: italic;
}
.art-lead {
  font-size: 18px; line-height: 1.7; color: var(--ink);
  background: var(--white); border: 1px solid var(--line);
  border-left: 5px solid var(--green); border-radius: 12px;
  padding: 20px 22px; margin: 0 0 26px;
  box-shadow: var(--shadow);
}
.art-photo { margin: 0 0 30px; }
.art-photo img {
  width: 100%; height: auto; display: block;
  border-radius: 14px; border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.art-photo figcaption {
  margin-top: 8px; font-size: 13px; color: var(--muted); text-align: center;
}
.art-source {
  margin-top: 34px; padding: 18px 20px;
  background: var(--white); border: 1px dashed var(--gold); border-radius: 12px;
  font-size: 13.5px; line-height: 1.6; color: var(--muted);
}
.art-source a { color: var(--green-d); font-weight: 700; }
.art-source strong { color: var(--ink); }
.art-back {
  display: inline-block; margin: 8px 0 30px;
  font-weight: 700; color: var(--green-d); text-decoration: none;
}
.art-back:hover { text-decoration: underline; }

/* каталог статей */
.art-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  margin: 26px 0 40px;
}
.art-card {
  background: var(--white); border: 1px solid var(--line);
  border-top: 4px solid var(--green); border-radius: 16px;
  box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.art-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,0.14); }
.art-card .art-card-flag {
  height: 8px;
  background: linear-gradient(90deg, var(--black) 0%, var(--black) 33.3%,
    var(--white) 33.3%, var(--white) 66.6%, var(--green) 66.6%, var(--green) 100%);
  border-bottom: 2px solid var(--gold);
}
.art-card img { width: 100%; height: 170px; object-fit: cover; display: block; }
.art-card .art-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.art-card h3 { font-family: Georgia, serif; font-size: 20px; margin: 0 0 6px; color: var(--ink); }
.art-card p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0 0 10px; }
.art-card .art-card-meta { margin-top: auto; font-size: 12.5px; color: var(--green-d); font-weight: 700; }
.art-card .art-card-meta span { color: var(--muted); font-weight: 400; }
.art-card a.art-more { text-decoration: none; color: var(--green-d); font-weight: 700; font-size: 14px; }

@media (max-width: 640px) {
  .art-hero { padding: 108px 16px 24px; border-radius: 16px; }
  .art-hero h1 { font-size: 26px; }
  .art-hero-emblem { width: 66px; height: 66px; background-size: 54px 54px; }
  .art-hero-flag { width: 84px; height: 56px; left: 16px; }
  .art-body { padding: 0 16px 30px; }
  .art-body p { font-size: 15px; }
  .art-grid { grid-template-columns: 1fr; }
}
