/* Intentionally limited to the homepage; shared chrome and article styles are untouched. */
.homepage #hero { min-height: 0; padding: 30px 36px; text-align: left; border-radius: 16px; background: linear-gradient(110deg,#10243e,#193b60); box-shadow: none; border-left: 4px solid #f3c94d; }
.homepage #hero::before { display: none; }
.homepage .hero-copy { width: 100%; margin: 0; }
.homepage #hero h1 { max-width: 900px; margin: 0 0 12px; font-size: clamp(28px,3.1vw,42px); line-height: 1.12; letter-spacing: -.03em; text-wrap: initial; }
.homepage #hero p { margin: 0; max-width: none; font-size: 16px; }
.homepage .home-tasks { width: min(var(--container),calc(100% - 40px)); margin: 0 auto 28px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.homepage .home-tasks a { display: flex; flex-direction: column; gap: 7px; padding: 18px; color: #192f49; background: #fff; border: 1px solid #dbe2ea; border-radius: 12px; text-decoration: none; box-shadow: 0 2px 4px #10243e04; }
.homepage .home-task-label { display: flex; justify-content: space-between; gap: 8px; font-size: 16px; font-weight: 700; line-height: 1.35; }
.homepage .home-task-label span { color: #526880; }
.homepage .home-tasks a > span:last-child { color: #526174; font-size: 13px; line-height: 1.4; }
.homepage .home-tasks a:hover { background: #fffdf4; border-color: #c9aa4f; }
.homepage a:focus-visible,.homepage button:focus-visible { outline: 3px solid #b89120; outline-offset: 3px; }
.homepage #content .columns { grid-template-columns: minmax(250px,300px) minmax(0,1fr); gap: 28px; }
.homepage #content .column.links { padding: 20px; border-radius: 12px; box-shadow: none; position: static; }
.homepage #content .column.news { padding: 0; background: transparent; border: 0; box-shadow: none; }
.homepage #content .column.links h2,.homepage .news-header-row h2 { font-size: 23px; }
.homepage #content .links ul li a.square-btn:not(.telegram-useful-link) { min-height: 44px; padding: 8px 0; background: transparent; border: 0; border-bottom: 1px solid #e2e7ee; border-radius: 0; font-size: 14px; }
.homepage #content .links ul li a.square-btn:not(.telegram-useful-link):hover { color: #21578b; transform: none; }
.homepage #content .links ul li a.telegram-useful-link { padding: 14px 12px; background: #edf4fa; border-color: #dce7f0; font-size: 14px; }
.homepage #content .links ul li a.telegram-useful-link:hover { color: #10243e; background: #e0edf8; }
.homepage .home-telegram-note { display: block; margin-top: 5px; color: #526174; font-size: 12px; line-height: 1.45; font-weight: 400; }
.homepage .news-header-row { flex-direction: column; align-items: stretch; gap: 14px; }
.homepage .article-anchors { justify-content: flex-start; flex-wrap: wrap; overflow: visible; }
.homepage .article-filter-btn { scroll-margin-top: 120px; }
.homepage .column.news .news-item { margin-bottom: 16px; }
.homepage .column.news .short-description { padding: 22px; background: #fff; border: 1px solid #dde4ec; border-radius: 12px; box-shadow: none; line-height: 1.65; }
.homepage .column.news .short-description:hover { transform: none; box-shadow: none; border-color: #aebfd1; }
.homepage .home-news-date { display: block; margin-bottom: 8px; color: #5b6878; font-size: 12px; font-weight: 500; letter-spacing: .04em; }
.homepage .home-date-separator { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.homepage .column.news .home-news-title { font-size: 19px !important; line-height: 1.4; letter-spacing: -.015em; }
.homepage .compact-news-copy { min-width: 0; }
.homepage .news-practical-note { margin-top: 12px; padding: 0 0 0 12px; background: transparent; border-left: 2px solid #c5d7cb; border-radius: 0; color: #365b46; line-height: 1.5; }
.homepage .news-image { width: 168px !important; height: 112px !important; border-radius: 8px; }
@media (max-width: 1050px) {
  .homepage .home-tasks { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .homepage #content .columns { grid-template-columns: minmax(230px,270px) minmax(0,1fr); gap: 18px; }
  .homepage .column.news .short-description { padding: 18px; }
}
@media (max-width: 800px) {
  .homepage #content .columns { display: flex; flex-direction: column; }
  .homepage #content .column.news { order: 0; width: 100%; }
  .homepage #content .column.links { order: 1; width: 100%; }
  .homepage #hero { padding: 24px; }
}
@media (max-width: 600px) {
  .homepage #hero { width: calc(100% - 28px); margin: 14px auto; padding: 22px 18px; border-radius: 12px; }
  .homepage #hero h1 { font-size: 28px; }
  .homepage #hero p { font-size: 14px; }
  .homepage .home-tasks { width: calc(100% - 28px); gap: 8px; margin-bottom: 24px; }
  .homepage .home-tasks a { padding: 12px; gap: 5px; border-radius: 10px; }
  .homepage .home-task-label { font-size: 14px; }
  .homepage .home-tasks a > span:last-child { font-size: 12px; }
  .homepage .column.news .short-description { padding: 16px; }
  .homepage .column.news .home-news-title { font-size: 18px !important; }
  .homepage .article-anchors { flex-wrap: wrap; overflow: visible; }
  .homepage .article-anchors .article-filter-btn { white-space: normal; }
}
