/* Local Bootstrap 5 (MIT-licensed), loaded before RFK design overrides. */
@import url("vendor/bootstrap/bootstrap.min.css");
/*
 * RFK Sofia 2026 — visual concept 2
 * Scoped styles to protect e107 administration and third-party plugins.
 */
:root {
  --rfk-blue: #0b526a;
  --rfk-blue-dark: #083b54;
  --rfk-blue-ink: #102e40;
  --rfk-teal: #13a79d;
  --rfk-teal-dark: #087f7e;
  --rfk-pale: #f2faf9;
  --rfk-wash: #f5f8fa;
  --rfk-border: #dfe8eb;
  --rfk-muted: #526b78;
  --rfk-radius: 18px;
}
.rfk-theme { color: var(--rfk-blue-ink); background: #fff; font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif; line-height: 1.6; }
.rfk-theme *, .rfk-theme *::before, .rfk-theme *::after { box-sizing: border-box; }
.rfk-theme a { color: inherit; }
.rfk-theme a:hover { color: var(--rfk-teal-dark); }
.rfk-theme :is(a, button, input, textarea, select):focus-visible { outline: 3px solid #f1b74c; outline-offset: 3px; }
.rfk-theme img, .rfk-theme svg { max-width: 100%; }
.rfk-theme img { height: auto; }
.rfk-container { width: min(100% - 40px, 1200px); margin-inline: auto; }
.rfk-theme button, .rfk-theme input { font: inherit; }
.rfk-skip-link { position: fixed; z-index: 1000; inset: 8px auto auto 8px; transform: translateY(-150%); padding: 12px 18px; background: #fff; border: 2px solid var(--rfk-blue); }
.rfk-skip-link:focus { transform: none; }
.rfk-topbar { color: #e6f4f3; background: var(--rfk-blue-dark); font-size: .78rem; letter-spacing: .025em; }
.rfk-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.rfk-topbar-actions { display: flex; align-items: center; gap: 22px; }
.rfk-topbar a { color: #e6f4f3; text-decoration: none; }
.rfk-topbar a:hover { color: #fff; text-decoration: underline; }
.rfk-header { z-index: 60; position: sticky; top: 0; background: #fff; border-bottom: 1px solid var(--rfk-border); box-shadow: 0 8px 25px rgb(12 42 58 / 4%); }
.rfk-header-inner { display: flex; align-items: center; gap: 36px; min-height: 95px; }
.rfk-brand { display: inline-flex; align-items: center; gap: 13px; flex: 0 0 auto; color: var(--rfk-blue) !important; text-decoration: none; max-width: 295px; }
.rfk-brand-symbol { display: inline-flex; flex: 0 0 54px; align-items: center; justify-content: center; height: 54px; color: #fff; background: linear-gradient(145deg, var(--rfk-blue), var(--rfk-teal)); border-radius: 15px 15px 15px 5px; font-size: 43px; line-height: 1; font-weight: 700; }
.rfk-brand-symbol span { transform: translateY(-2px); }
.rfk-brand-lines { display: flex; min-width: 0; flex-direction: column; line-height: 1.17; }
.rfk-brand-lines strong { font-size: 22px; font-weight: 800; letter-spacing: .02em; }
.rfk-brand-lines small { margin-top: 5px; color: var(--rfk-muted); font-size: 10px; font-weight: 700; line-height: 1.35; max-width: 190px; text-transform: uppercase; letter-spacing: .045em; }
.rfk-logo-image { max-width: 245px; max-height: 66px; width: auto; object-fit: contain; }
.rfk-desktop-nav { flex: 1; min-width: 0; }
.rfk-nav-list, .rfk-nav-list ul { list-style: none; padding: 0; margin: 0; }
.rfk-nav-list { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 3px; }
.rfk-nav-list > li { position: relative; }
.rfk-nav-list > li > a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; text-decoration: none; color: var(--rfk-blue-ink); font-weight: 650; font-size: .88rem; border-radius: 8px; }
.rfk-nav-list > li > a:hover, .rfk-nav-list > li.active > a, .rfk-nav-list > li > a:focus-visible { background: var(--rfk-pale); color: var(--rfk-teal-dark); }
.rfk-nav-list .rfk-submenu { position: absolute; top: 100%; left: 0; min-width: 245px; max-width: 340px; padding: 8px; background: #fff; border: 1px solid var(--rfk-border); box-shadow: 0 16px 36px rgb(3 41 53 / 14%); border-radius: 12px; display: none; z-index: 80; }
.rfk-nav-list .rfk-submenu .rfk-submenu { left: 100%; top: 0; }
.rfk-nav-list li:hover > .rfk-submenu, .rfk-nav-list li:focus-within > .rfk-submenu { display: block; }
.rfk-nav-list .rfk-submenu li { position: relative; }
.rfk-nav-list .rfk-submenu a { display: block; padding: 9px 11px; border-radius: 6px; text-decoration: none; font-size: .88rem; }
.rfk-nav-list .rfk-submenu a:hover { background: var(--rfk-pale); }
.rfk-header-actions { display: flex; align-items: center; gap: 14px; }
.rfk-header-cta { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 42px; padding: 9px 20px; border-radius: 10px; background: var(--rfk-teal); color: #fff !important; text-decoration: none; font-weight: 700; font-size: .86rem; }
.rfk-header-cta:hover { background: var(--rfk-teal-dark); }
.rfk-mobile-toggle { display: none; width: 45px; height: 45px; padding: 11px 10px; border: 1px solid var(--rfk-border); border-radius: 10px; background: #fff; cursor: pointer; }
.rfk-mobile-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--rfk-blue); border-radius: 2px; }
.rfk-mobile-panel[hidden], .rfk-mobile-submenu[hidden] { display: none !important; }
.rfk-mobile-panel { border-top: 1px solid var(--rfk-border); padding: 10px 0 24px; max-height: calc(100vh - 95px); overflow-y: auto; background: #fff; }
.rfk-mobile-list, .rfk-mobile-submenu { list-style: none; padding: 0; margin: 0; }
.rfk-mobile-list li { border-bottom: 1px solid var(--rfk-border); }
.rfk-mobile-list a { display: block; padding: 12px 4px; text-decoration: none; color: var(--rfk-blue-ink); font-weight: 600; }
.rfk-mobile-list .active > a { color: var(--rfk-teal-dark); }
.rfk-mobile-entry { display: flex; align-items: center; }
.rfk-mobile-entry > a { flex: 1; }
.rfk-mobile-entry > button { width: 42px; min-height: 42px; font-size: 22px; background: var(--rfk-pale); border: none; border-radius: 8px; cursor: pointer; }
.rfk-mobile-submenu { padding-left: 18px; border-left: 3px solid var(--rfk-teal); }
.rfk-mobile-actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 18px; font-size: .9rem; }
.rfk-mobile-actions a { color: var(--rfk-blue); }
.rfk-eyebrow { display: block; margin-bottom: 15px; color: var(--rfk-teal-dark); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.rfk-hero { background: linear-gradient(114deg, #0b526a 3%, #0d677c 60%, #128c8d 100%); color: #fff; overflow: hidden; }
.rfk-hero-inner { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); align-items: center; min-height: 520px; gap: 60px; padding-block: 66px; }
.rfk-hero-copy { max-width: 610px; }
.rfk-hero .rfk-eyebrow { color: #a8e7da; }
.rfk-hero h1 { margin: 0 0 22px; font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1.11; font-weight: 800; letter-spacing: -.04em; color: #fff; }
.rfk-hero-lead { margin: 0; max-width: 590px; font-size: clamp(1rem, 1.55vw, 1.16rem); line-height: 1.78; color: #e1f2f5; }
.rfk-hero-buttons { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.rfk-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; padding: 11px 22px; border: 1px solid transparent; border-radius: 9px; text-decoration: none; font-size: .92rem; font-weight: 750; transition: transform .2s, background-color .2s, color .2s; }
.rfk-btn:hover { transform: translateY(-2px); }
.rfk-btn-light { background: #fff; color: var(--rfk-blue) !important; }
.rfk-btn-light:hover { background: #e9fbf6; }
.rfk-btn-outline { border-color: rgb(255 255 255 / 55%); color: #fff !important; }
.rfk-btn-outline:hover { background: rgb(255 255 255 / 12%); }
.rfk-hero-visual { position: relative; display: grid; min-height: 360px; place-items: center; isolation: isolate; }
.rfk-hero-art { position: absolute; inset: 0; display: grid; place-items: center; opacity: .95; }
.rfk-hero-art svg { width: clamp(190px, 23vw, 285px); color: #b8fff4; filter: drop-shadow(0 20px 35px rgb(0 0 0 / 10%)); }
.rfk-art-orbit { position: absolute; border: 1px solid rgb(233 255 255 / 26%); border-radius: 50%; }
.rfk-orbit-one { width: 325px; height: 325px; }
.rfk-orbit-two { width: 440px; height: 440px; }
.rfk-hero-image { position: relative; z-index: 1; max-height: 440px; width: 100%; border-radius: 25px; object-fit: cover; box-shadow: 0 20px 65px rgb(0 0 0 / 20%); }
.rfk-hero-image + .rfk-hero-art { display: none; }
.rfk-hero-visual:has(.rfk-hero-image) .rfk-hero-art { display: none; }
.rfk-hero-caption { z-index: 2; position: absolute; right: 0; bottom: 4px; max-width: 285px; padding: 17px 21px; border-radius: 12px; background: #fff; color: var(--rfk-blue); font-weight: 800; box-shadow: 0 16px 45px rgb(0 0 0 / 13%); }
.rfk-search-band { background: #fff; border-bottom: 1px solid var(--rfk-border); }
.rfk-search-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: center; gap: 36px; padding-block: 24px; }
.rfk-search-inner > div { display: flex; flex-direction: column; }
.rfk-search-inner strong { font-size: 1.13rem; }
.rfk-search-inner span { color: var(--rfk-muted); font-size: .89rem; }
.rfk-search-form { display: flex; min-width: 0; border: 1px solid var(--rfk-border); background: var(--rfk-wash); border-radius: 12px; overflow: hidden; }
.rfk-search-form:focus-within { outline: 2px solid var(--rfk-teal); }
.rfk-search-form input { flex: 1; min-width: 0; padding: 13px 18px; border: 0; background: transparent; color: var(--rfk-blue-ink); outline: 0; }
.rfk-search-form button { padding: 12px 25px; border: 0; background: var(--rfk-teal); color: white; font-weight: 750; cursor: pointer; }
.rfk-search-form button:hover { background: var(--rfk-teal-dark); }
.rfk-section { padding-block: clamp(55px, 6vw, 90px); }
.rfk-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
.rfk-section-heading h2, .rfk-participate h2 { margin: 0; color: var(--rfk-blue-ink); font-size: clamp(1.8rem, 3.2vw, 2.65rem); line-height: 1.2; font-weight: 790; letter-spacing: -.025em; }
.rfk-section-heading p { max-width: 680px; margin: 13px 0 0; color: var(--rfk-muted); }
.rfk-text-link { color: var(--rfk-teal-dark) !important; font-weight: 750; white-space: nowrap; text-decoration: none; }
.rfk-text-link:hover { text-decoration: underline; }
.rfk-services { background: var(--rfk-wash); }
.rfk-services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rfk-service-card { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; column-gap: 16px; min-height: 215px; padding: 25px 26px; background: #fff; border: 1px solid var(--rfk-border); border-radius: var(--rfk-radius); text-decoration: none; box-shadow: 0 6px 24px rgb(12 51 65 / 3%); transition: transform .2s, border-color .2s, box-shadow .2s; }
.rfk-service-card:hover { color: var(--rfk-blue-ink) !important; border-color: #83d2ca; box-shadow: 0 14px 35px rgb(12 51 65 / 9%); transform: translateY(-4px); }
.rfk-service-index { display: flex; width: 42px; height: 42px; align-items: center; justify-content: center; grid-column: 1 / -1; margin-bottom: 22px; color: var(--rfk-teal-dark); background: var(--rfk-pale); border-radius: 12px; font-size: .85rem; font-weight: 800; }
.rfk-service-text { display: flex; flex-direction: column; gap: 11px; }
.rfk-service-text strong { font-size: 1.1rem; line-height: 1.35; color: var(--rfk-blue-ink); }
.rfk-service-text > span { color: var(--rfk-muted); font-size: .88rem; line-height: 1.6; }
.rfk-service-arrow { align-self: end; color: var(--rfk-teal-dark); font-size: 25px; }
.rfk-news { background: #fff; }
.rfk-news .rfk-container > .rfk-content-panel, .rfk-news .rfk-container > .rfk-menu-panel { margin-top: 16px; }
.rfk-news a { overflow-wrap: anywhere; }
.rfk-campaigns { background: var(--rfk-pale); }
.rfk-participate { background: var(--rfk-blue); color: #fff; }
.rfk-participate-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.rfk-participate .rfk-eyebrow { color: #a8e7da; }
.rfk-participate h2 { color: #fff; }
.rfk-participate p { max-width: 720px; margin: 17px 0 0; color: #e3f1f2; }
.rfk-home-custom { padding-block: 26px; }
.rfk-page { background: #fff; min-height: 45vh; padding: 42px 0 78px; }
.rfk-page-columns { display: grid; grid-template-columns: minmax(0, 1fr) 275px; gap: 40px; }
.rfk-page-content { min-width: 0; }
.rfk-content-panel { padding: 15px 0 25px; min-width: 0; overflow-wrap: break-word; }
.rfk-content-panel + .rfk-content-panel { border-top: 1px solid var(--rfk-border); margin-top: 16px; }
.rfk-panel-title { margin: 0 0 22px; color: var(--rfk-blue); font-size: clamp(1.35rem, 2.2vw, 2rem); font-weight: 760; }
.rfk-menu-panel { margin-bottom: 20px; padding: 20px; background: var(--rfk-wash); border: 1px solid var(--rfk-border); border-radius: 14px; }
.rfk-menu-panel .rfk-panel-title { font-size: 1.14rem; }
.rfk-theme .rfk-page input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .rfk-theme .rfk-page textarea, .rfk-theme .rfk-page select { max-width: 100%; }
.rfk-theme .rfk-page :is(table, pre) { max-width: 100%; }
.rfk-theme .rfk-page table { display: block; overflow-x: auto; }
.rfk-theme .rfk-page pre { overflow-x: auto; }
.rfk-footer { background: #082f43; color: #d1e2e6; padding-top: 64px; }
.rfk-footer-grid { display: grid; grid-template-columns: 1.35fr .9fr 1fr 1.2fr; gap: 45px; padding-bottom: 48px; }
.rfk-footer .rfk-brand { color: #fff !important; }
.rfk-footer .rfk-brand-lines small { color: #c0d6d8; }
.rfk-footer-about p { max-width: 290px; margin-top: 24px; color: #b5cdd3; font-size: .9rem; }
.rfk-footer h2 { margin: 0 0 19px; color: #fff; font-size: .99rem; font-weight: 780; }
.rfk-footer a { color: #d1e2e6; text-decoration: none; }
.rfk-footer a:hover { color: #a4ead9; text-decoration: underline; }
.rfk-footer-links { list-style: none; padding: 0; margin: 0; }
.rfk-footer-links li { margin-bottom: 12px; }
.rfk-footer-links a, .rfk-contact-info { font-size: .88rem; }
.rfk-contact-info { font-style: normal; line-height: 1.85; }
.rfk-contact-info p { margin-bottom: 10px; overflow-wrap: anywhere; }
.rfk-footer-bottom { display: flex; justify-content: space-between; gap: 22px; padding-block: 19px 24px; border-top: 1px solid rgb(255 255 255 / 13%); color: #a9c6cf; font-size: .79rem; }
.rfk-theme .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1099px) {
  .rfk-desktop-nav { display: none; }
  .rfk-mobile-toggle { display: block; }
  .rfk-header-inner { justify-content: space-between; min-height: 78px; }
  .rfk-footer-grid { gap: 28px; }
}
@media (max-width: 900px) {
  .rfk-hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 28px; padding-block: 60px 75px; }
  .rfk-hero-visual { min-height: 250px; }
  .rfk-orbit-two { width: 340px; height: 340px; }
  .rfk-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rfk-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rfk-page-columns { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .rfk-container { width: min(100% - 30px, 1200px); }
  .rfk-topbar-inner { min-height: 32px; }
  .rfk-topbar-actions { display: none; }
  .rfk-brand { gap: 9px; max-width: 225px; }
  .rfk-brand-symbol { flex-basis: 44px; height: 44px; font-size: 34px; border-radius: 11px; }
  .rfk-brand-lines strong { font-size: 18px; }
  .rfk-brand-lines small { font-size: 8px; }
  .rfk-header-cta { display: none; }
  .rfk-hero-inner { padding-block: 48px 65px; }
  .rfk-hero-visual { min-height: 200px; }
  .rfk-hero-caption { max-width: 235px; padding: 12px 15px; font-size: .79rem; }
  .rfk-hero-art svg { width: 180px; }
  .rfk-orbit-one { width: 225px; height: 225px; }
  .rfk-orbit-two { width: 290px; height: 290px; }
  .rfk-search-inner { grid-template-columns: 1fr; gap: 14px; }
  .rfk-search-form button { padding-inline: 16px; }
  .rfk-section-heading { align-items: start; flex-direction: column; gap: 16px; }
  .rfk-services-grid { grid-template-columns: 1fr; }
  .rfk-service-card { min-height: 185px; }
  .rfk-participate-inner { align-items: flex-start; flex-direction: column; }
  .rfk-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .rfk-footer-bottom { flex-direction: column; }
  .rfk-page { padding: 24px 0 55px; }
}
@media (prefers-reduced-motion: reduce) {
  .rfk-theme *, .rfk-theme *::before, .rfk-theme *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
