/* Elsők Kora: kiegészítés a meglévő style.css mellé. */
.hero { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 0 0 4rem; }
.hero .topnav { width: 100%; flex: 0 0 auto; }
.hero .hero-content { margin: auto; width: min(980px, calc(100% - 2.8rem)); }
.topnav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topnav .nav-links { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .7rem 1.1rem; }
.topnav .nav-links > a { text-decoration: none; }
.topnav .social-links { display: inline-flex; align-items: center; gap: .75rem; margin-left: .25rem; }
.topnav .social-links a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 40px; color: #d4af37; transition: opacity .18s ease, transform .18s ease; }
.topnav .social-links a:hover { opacity: .8; transform: translateY(-2px); }
.topnav a:focus-visible { outline: 2px solid #d4af37; outline-offset: 4px; border-radius: 3px; }
.intro a:not(.btn) { color: #d4af37; }
.taglist { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.taglist span { padding: .35rem .6rem; border: 1px solid rgba(212,175,55,.32); color: #f2f0ea; }
.mini-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .85rem; margin-top: 1rem; }
.mini-grid > div { border: 1px solid rgba(212,175,55,.2); padding: 1rem; line-height: 1.6; }
.grid .full { grid-column: 1 / -1; }
.rules-main { max-width: 1150px; margin-inline: auto; }
.rules-main .section { scroll-margin-top: 2rem; }
.rules-main .section p, .rules-main .section li { line-height: 1.75; }
.rules-main .section ol, .rules-main .section ul { padding-left: 1.5rem; }
.rules-main .section li + li { margin-top: .4rem; }
@media (max-width: 850px) {
  .topnav { align-items: flex-start; }
  /* A régi style.css elrejti a menüt mobilon: ezt felülírjuk. */
  .topnav .nav-links { display: flex; width: 100%; flex-direction: row; justify-content: flex-start; gap: .8rem 1rem; }
  .topnav .social-links { margin-left: 0; }
  .mini-grid { grid-template-columns: 1fr; }
  .hero .hero-content { margin: 3rem auto 0; }
}
@media (prefers-reduced-motion: reduce) {
  .topnav .social-links a { transition: none; }
}
