/* ==================================================================
   Форум Реал 2026 – общ файл за всички страници: хедър + шрифт
   Зарежда се от snippets/head_2.php на всяка страница.
   Всички класове са с префикс fr3-, за да не се бият с Bootstrap и styles2026.css.
   Футърът (snippets/footer.php) е с inline стилове и не се засяга от този файл.
   ================================================================== */

/* Вътрешните страници (styles2026.css) минават на шрифта на новия дизайн */
:root { --fr-font-display: 'Manrope', Arial, sans-serif; --fr-font-body: 'Manrope', Arial, sans-serif; }
.fr-page-hero__title { font-weight: 800; text-transform: none; letter-spacing: -.02em; }
.fr-notice__title, .fr-video-card__title, .fr-pay__bank h3, .fr-price__num, .fr-pay__nav button, .fr-notice__list li::before { font-weight: 800; }
.fr-notice__title, .fr-video-card__title, .fr-pay__bank h3 { letter-spacing: -.01em; }

/* Връзка за клавиатура: към съдържанието */
.fr3-skip { position: absolute; left: -9999px; top: 8px; z-index: 2000; padding: 10px 16px; background: #001739; color: #fff; font: 600 16px/1.4 'Manrope', Arial, sans-serif; text-decoration: none; }
.fr3-skip:focus { left: 8px; color: #fff; }

/* ---------------- Хедър ---------------- */
.fr3-head, .fr3-head *, .fr3-head *::before, .fr3-head *::after { box-sizing: border-box; }
.fr3-head { margin: 0; background: #fff; color: #001739; border-bottom: 1px solid #dedbd6; font-family: 'Manrope', Arial, sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.fr3-head :focus-visible { outline: 3px solid #1e9fe3; outline-offset: 3px; }
.fr3-wrap { max-width: 1296px; margin: 0 auto; padding: 0 20px; }
.fr3-hd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.fr3-hd__logo { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; text-decoration: none; }
.fr3-hd__logo img { display: block; height: 46px; width: auto; max-width: none; }
.fr3-hd__logo span { font-weight: 800; font-size: 34px; line-height: 1; color: #cd2027; }
.fr3-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 2px solid transparent; background: #cd2027; color: #fff; font-family: inherit; font-weight: 700; font-size: 15px; line-height: 1.6; text-decoration: none; white-space: nowrap; }
.fr3-btn:hover, .fr3-btn:focus { background: #a3161c; color: #fff; }
.fr3-hd__nav { display: none; flex: 1 1 100%; order: 5; flex-direction: column; padding: 4px 0 14px; font-size: 18px; }
.fr3-hd__nav.is-open { display: flex; }
.fr3-hd__nav a { display: flex; align-items: center; min-height: 52px; border-top: 1px solid rgba(128,128,128,.3); color: #001739; font-weight: 600; text-decoration: none; }
.fr3-hd__nav a:hover { color: #cd2027; }
.fr3-hd__nav a[aria-current="page"] { color: #cd2027; }
.fr3-hd__burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; margin: 0; padding: 0 10px; background: none; border: 1px solid currentColor; border-radius: 0; color: #001739; cursor: pointer; }
.fr3-hd__burger span { display: block; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.fr3-hd__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fr3-hd__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.fr3-hd__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1100px) {
  .fr3-hd__logo { margin-right: 0; }
  .fr3-hd__logo img { height: 54px; }
  .fr3-hd__nav { display: flex; flex: 0 1 auto; order: 0; flex-direction: row; gap: 26px; padding: 0; font-size: 15px; }
  .fr3-hd__nav a { min-height: 0; border: 0; font-weight: 400; opacity: .85; }
  .fr3-hd__nav a:hover, .fr3-hd__nav a[aria-current="page"] { opacity: 1; }
  .fr3-hd__nav a[aria-current="page"] { font-weight: 800; }
  .fr3-hd__burger { display: none; }
}
@media (max-width: 599.98px) {
  .fr3-hd { gap: 8px; min-height: 60px; }
  .fr3-hd__logo { gap: 4px; min-width: 0; }
  .fr3-hd__logo img { height: 30px; max-width: 19vw; object-fit: contain; }
  .fr3-hd__logo span { font-size: 20px; }
  .fr3-btn { padding: 0 12px; font-size: 14px; }
}
@media (max-width: 359.98px) { .fr3-hd > .fr3-btn { display: none; } }
@media (prefers-reduced-motion: reduce) { .fr3-hd__burger span { transition: none; } }
