/* FerganaPS production theme
   IMPORTANT: approved reference selectors are intentionally NOT overridden here.
   All additions are namespaced (fp-*) or apply only to Fergana-specific pages/states. */

.results-showcase{padding:90px 0;background:#f4f7f6}.results-showcase__head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:32px}.results-showcase__head p{display:flex;align-items:center;gap:8px;color:#16715c;font-weight:500;margin-bottom:12px}.results-showcase__head h3{font-size:40px;line-height:1.2;max-width:760px;margin:0}.results-showcase__head>a{display:flex;align-items:center;gap:8px;color:#16715c;text-decoration:none}.results-showcase__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.result-kpi{display:block;background:#fff;padding:28px;border-radius:16px;text-decoration:none;color:#18242a;min-height:190px;border:1px solid rgba(16,98,79,.08);transition:.25s}.result-kpi:hover{transform:translateY(-4px);box-shadow:0 15px 45px rgba(18,50,43,.09)}.result-kpi span{font-size:14px;text-transform:uppercase;letter-spacing:.08em;color:#16715c}.result-kpi strong{font-size:42px;display:block;margin:18px 0 10px}.result-kpi p{margin:0;color:#65716d}.school-stats{margin-top:16px;display:grid;grid-template-columns:repeat(6,1fr);gap:1px;background:#dce8e4;border:1px solid #dce8e4}.school-stats>div{background:#fff;padding:18px;text-align:center}.school-stats strong{display:block;font-size:28px;color:#146b57}.school-stats span{font-size:13px;color:#5f6d68}.result-page{padding:150px 0 90px}.result-page__header{max-width:850px;margin-bottom:45px}.result-page__header h1{font-size:52px;margin-bottom:16px}.result-page__filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:30px}.result-page__filters a{padding:10px 16px;border:1px solid #d8e3df;border-radius:999px;text-decoration:none;color:#173d34}.result-table{display:grid;gap:14px}.result-row{display:grid;grid-template-columns:180px 1fr 180px 140px;gap:18px;align-items:center;padding:20px 22px;background:#fff;border:1px solid #e1eae7;border-radius:14px}.result-row__score{font-size:26px;font-weight:700;color:#15705a}.portfolio-grid-ref{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:30px}.portfolio-card-ref{padding:20px;border:1px solid #e2e9e7;border-radius:16px;background:#fff}.portfolio-card-ref img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;margin-bottom:15px}
@media(max-width:991px){.results-showcase{padding:60px 0}.results-showcase__head{align-items:flex-start;flex-direction:column}.results-showcase__head h3{font-size:30px}.results-showcase__grid{grid-template-columns:repeat(2,1fr)}.school-stats{grid-template-columns:repeat(2,1fr)}.result-row{grid-template-columns:1fr}.portfolio-grid-ref{grid-template-columns:1fr}.result-page{padding-top:110px}}
@media(max-width:520px){.results-showcase__grid{grid-template-columns:1fr}.result-kpi{min-height:150px}.result-kpi strong{font-size:36px}}
/* v0.3 — FerganaPS CMS/content layer while preserving the approved Presidential School reference visual system */
.fp-breadcrumb-note{max-width:760px;margin-top:10px;color:rgba(255,255,255,.78)}
.fp-empty-admin{grid-column:1/-1;width:100%;padding:22px 24px;border:1px dashed #b9cbc6;background:#f7faf9;border-radius:12px;color:#58706a;text-align:center}
.fp-trait-icon,.fp-stage-icon,.fp-admission-icon,.fp-result-card-icon{font-size:34px;color:#146b57}.fp-stage-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#eef6f3}.fp-admission-icon,.fp-result-card-icon{display:grid;place-items:center;width:52px;height:52px}
.fp-staff-link{text-decoration:none;color:inherit}.fp-phone-round{display:grid!important;place-items:center;width:42px;height:42px;border-radius:50%;border:1px solid rgba(20,107,87,.2);color:#146b57!important;text-decoration:none!important}
.fp-stage-description{margin:0 0 18px;color:#5d6a66}.fp-apply-cta{margin-top:42px;padding:28px 30px;background:#f1f7f5;border-radius:16px;display:flex;align-items:center;justify-content:space-between;gap:24px}.fp-apply-cta h3{margin:0 0 6px}.fp-apply-cta p{margin:0;color:#63726d}.fp-apply-cta .hero__actions-btn{position:static;white-space:nowrap;text-decoration:none}
.fp-education-results{padding:60px 0 20px}.fp-education-results>h2{font-size:34px;margin-bottom:24px}
.result-page__filters a.is-active,.fp-news-filters a.is-active{background:#146b57;color:#fff;border-color:#146b57}.fp-result-thumb{width:48px;height:48px;object-fit:cover;border-radius:50%;margin-right:9px;vertical-align:middle}
.fp-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.fp-section-head h2{margin:0}.fp-section-head>a{display:flex;align-items:center;gap:7px;color:#146b57;text-decoration:none}.fp-achievement-list{padding:70px 0 10px;width:100%}
.fp-person-detail{width:100%;padding:30px 0 80px}.fp-person-hero{display:grid;grid-template-columns:minmax(260px,400px) 1fr;gap:50px;align-items:start}.fp-person-photo img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:18px;background:#eef3f1}.fp-person-copy>span{display:inline-flex;padding:7px 12px;border-radius:999px;background:#edf5f2;color:#146b57;font-size:13px}.fp-person-copy h1{font-size:44px;margin:16px 0 6px}.fp-person-copy h2{font-size:20px;color:#47605a;margin-bottom:24px}.fp-richtext{font-size:16px;line-height:1.75;color:#42534f}.fp-person-contacts{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.fp-person-contacts a{display:flex;align-items:center;gap:7px;border:1px solid #dce7e3;border-radius:999px;padding:9px 13px;color:#164d40;text-decoration:none}.fp-profile-section{margin-top:65px}.fp-achievement-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.fp-achievement-cards article{background:#f5f9f7;border:1px solid #dfebe7;border-radius:16px;padding:22px}.fp-achievement-cards article>span{font-size:12px;text-transform:uppercase;color:#14715b}.fp-achievement-cards strong{display:block;font-size:30px;margin:12px 0}.fp-achievement-cards h3{font-size:19px}.fp-achievement-cards p{color:#65716e}.fp-achievement-cards a{display:inline-flex;gap:6px;margin-top:8px;color:#146b57;text-decoration:none}.fp-portfolio-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.fp-portfolio-grid article{overflow:hidden;border:1px solid #e0e9e6;border-radius:16px;background:#fff}.fp-portfolio-grid article>img{width:100%;aspect-ratio:16/10;object-fit:cover}.fp-portfolio-grid article>div{padding:20px}.fp-portfolio-grid span{font-size:12px;color:#75817e}.fp-portfolio-grid h3{font-size:20px;margin:8px 0}.fp-portfolio-grid p{color:#65716e}.fp-card-actions{display:flex;gap:12px}.fp-card-actions a{color:#146b57;text-decoration:none}
.fp-calendar-page{width:100%;padding:20px 0 80px}.fp-calendar-head{display:flex;justify-content:space-between;margin-bottom:26px}.fp-calendar-head span{font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:#146b57}.fp-calendar-head h2{font-size:34px;margin-top:7px}.fp-calendar-list{display:grid;gap:14px}.fp-calendar-list article{display:grid;grid-template-columns:120px 1fr;gap:24px;border:1px solid #e1e9e6;border-radius:16px;padding:22px;background:#fff}.fp-calendar-list article.is-featured{background:#f0f8f5;border-color:#b8d7cc}.fp-calendar-list time{display:flex;flex-direction:column;align-items:center;justify-content:center;border-right:1px solid #e0e7e4}.fp-calendar-list time strong{font-size:40px;color:#146b57}.fp-calendar-list time span{text-transform:uppercase;font-size:12px}.fp-event-meta{display:flex;flex-wrap:wrap;gap:12px 20px;color:#6b7975;font-size:13px}.fp-event-meta span{display:flex;align-items:center;gap:6px}.fp-calendar-copy h3{margin:8px 0 5px;font-size:22px}.fp-calendar-copy p{margin:0;color:#65716d}
.fp-form-success{padding:12px 14px;background:#e8f7f0;border:1px solid #b7dfcf;color:#12614e;border-radius:10px;margin-bottom:16px}.fp-form-errors{padding:12px 14px;background:#fff5f4;border:1px solid #f0cbc5;color:#923629;border-radius:10px;margin-bottom:16px}.fp-contact-map{margin-top:32px;border-radius:16px;overflow:hidden;height:420px}.fp-contact-map iframe{width:100%;height:100%;border:0}
.fp-news-filters{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:25px}.fp-news-filters a{padding:9px 14px;border-radius:999px;border:1px solid #d8e3df;text-decoration:none;color:#173d34}.fp-copy-link{border:1px solid #dae5e1;background:#fff;border-radius:999px;padding:9px 13px;display:flex;align-items:center;gap:7px;color:#175445}.fp-news-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.fp-news-gallery a:first-child{grid-column:1/-1}.fp-news-gallery img{width:100%;height:100%;max-height:600px;object-fit:cover;border-radius:12px}.fp-related-news{padding:70px 0;background:#f4f7f6}
@media(max-width:991px){.fp-person-hero{grid-template-columns:1fr}.fp-person-photo{max-width:420px}.fp-person-copy h1{font-size:34px}.fp-achievement-cards,.fp-portfolio-grid{grid-template-columns:1fr 1fr}.fp-apply-cta{align-items:flex-start;flex-direction:column}.fp-calendar-list article{grid-template-columns:90px 1fr}.fp-news-gallery{grid-template-columns:1fr}.fp-news-gallery a:first-child{grid-column:auto}}
@media(max-width:600px){.fp-achievement-cards,.fp-portfolio-grid{grid-template-columns:1fr}.fp-calendar-list article{grid-template-columns:1fr}.fp-calendar-list time{align-items:flex-start;border-right:0;border-bottom:1px solid #e0e7e4;padding-bottom:12px}.fp-calendar-list time strong{font-size:32px}.fp-section-head{align-items:flex-start;flex-direction:column}.fp-person-copy h1{font-size:30px}.fp-apply-cta{padding:22px}.fp-apply-cta .hero__actions-btn{white-space:normal}}
/* v0.4 — internal-page parity helpers */
.fp-profile-icon-btn{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:50%;border:0;background:#fff;color:#146b57;text-decoration:none;margin-right:8px;box-shadow:0 5px 18px rgba(15,72,58,.08)}.fp-achievement-cover{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px;margin-bottom:14px}.fp-grade-shape{display:grid;place-items:center;width:72px;height:72px;border-radius:20px;background:#eef6f3;color:#146b57;font-size:24px;font-weight:700;margin-bottom:12px}.fp-calendar-poster{display:block;width:100%;height:auto;object-fit:contain;border-radius:2px}.fp-news-slide{display:block;width:100%}.fp-news-slide img{display:block;width:100%;max-height:680px;object-fit:cover}.carousel-lines{display:flex;align-items:center;justify-content:center;gap:7px;flex:1}.carousel-lines button{width:28px;height:4px;border:0;padding:0;border-radius:999px;background:#d9e2df;transition:.2s}.carousel-lines button.active{background:#146b57}.share-link.fp-copy-link{cursor:pointer}@media(max-width:600px){.fp-news-slide img{max-height:420px}.fp-grade-shape{width:58px;height:58px;border-radius:15px}.carousel-lines button{width:18px}}

/* v0.5 — parity-safe empty/content helpers; reference classes remain controlled by original CSS. */
.fp-university-empty{grid-column:1/-1}.header-top-lang-menu[hidden]{display:none!important}.news-section-main-wrapper__btn.is-disabled{opacity:.45;cursor:not-allowed}

/* Public parity: CMS setup hints never alter approved page geometry. */
.fp-empty-admin{display:none!important}


/* Deploy parity / CMS edge cases */
.fp-student-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;width:100%;padding-top:20px}
.fp-student-card{display:block;background:#fff;border-radius:12px;overflow:hidden;text-decoration:none;box-shadow:0 8px 26px rgba(15,23,42,.06)}
.fp-student-card img{width:100%;height:300px;object-fit:cover;display:block}
.fp-student-card>div{padding:14px}.fp-student-card h3{font-size:20px;line-height:1.45;color:#0f172a;margin:0 0 4px}.fp-student-card p{color:#0072c4;margin:0 0 6px}.fp-student-card span{font-size:14px;color:#576565}
.news-page-main-cards img,.gallery-page img,.staff-main-wrapper-card img,.leadership-page-cards>img{background:#eef3f5}
.contacts-main-card h5{overflow-wrap:anywhere}.contacts-form .errorlist{margin:6px 0 0;padding-left:18px;color:#b42318}
@media(max-width:991px){.fp-student-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:575px){.fp-student-grid{grid-template-columns:1fr}.fp-student-card img{height:340px}}
/* =========================================
   HEADER DROPDOWN FIX — Presidential School reference behavior
   ========================================= */

.header-text-item,
.header-text-dropdown-item {
    position: relative;
}

/* Default: dropdown yopiq */
.header-text-dropdown {
    position: absolute;
    top: 100%;

    min-width: 220px;
    background: #fff;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: 0.3s;
    z-index: 200;

    padding: 10px 0;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Faqat hover qilinganda ochiladi */
.has-dropdown:hover > .header-text-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.header-text-dropdown-item {
    display: block;
}

.header-text-dropdown-link {
    display: flex;
    align-items: center;

    padding: 10px 16px;

    color: #000 !important;
    text-decoration: none;
    white-space: nowrap;
}

.header-text-dropdown-link:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Dropdown text color fix */
.header-text-dropdown,
.header-text-dropdown a,
.header-text-dropdown-link {
    color: #111 !important;
}

.header-text-dropdown-link:hover {
    color: #0D2460 !important;
    background: #f3f6fb;
}

/* Dropdown ichidagi matn har doim qora */
.header .header-text-dropdown,
.header .header-text-dropdown *,
.header.light .header-text-dropdown,
.header.light .header-text-dropdown * {
    color: #111 !important;
}

.header .header-text-dropdown-link:hover {
    color: #0D2460 !important;
    background-color: #f3f6fb;
}
/* Farg‘ona rasmiy footer/contact helpers */
.footer-bottom-link p a{color:#fff!important;font-weight:600;text-decoration:none}.footer-bottom-link p a:hover{text-decoration:underline}.fp-contact-bot{display:inline-flex!important;align-items:center;justify-content:center}

/* ================================================================
   FerganaPS public additions: announcement, hero school name,
   developer team and neutral empty states
   ================================================================ */
.fp-public-ticker{
  position:relative;z-index:1050;overflow:hidden;
  background:#071b52;color:#fff;border-bottom:1px solid rgba(255,255,255,.12);
  min-height:34px;display:flex;align-items:center;
}
.fp-public-ticker__track{
  width:max-content;display:flex;align-items:center;justify-content:flex-start;
  gap:14px;padding:7px 18px 7px 100vw;font-size:13px;line-height:20px;white-space:nowrap;
  animation:fp-public-ticker-move 28s linear infinite;will-change:transform;
}
.fp-public-ticker:hover .fp-public-ticker__track{animation-play-state:paused}
@keyframes fp-public-ticker-move{from{transform:translateX(0)}to{transform:translateX(-100%)}}
@media(prefers-reduced-motion:reduce){.fp-public-ticker__track{animation:none;padding-left:18px}}
.fp-public-ticker__item{display:inline-flex;align-items:center;gap:8px}
.fp-public-ticker__item>i{font-size:16px;opacity:.9}
.fp-public-ticker a{color:#fff;text-decoration:none}
.fp-public-ticker a:hover{text-decoration:underline}
.fp-public-ticker__more{font-weight:600;opacity:.9}
.fp-public-ticker__dot{opacity:.45}

.hero__school-name{
  margin:0 0 12px;color:#fff;font-size:15px;font-weight:600;line-height:1.45;
  letter-spacing:.02em;text-transform:none;text-shadow:0 1px 10px rgba(0,0,0,.22);
}

.fp-calendar-empty{
  min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:8px;border:1px dashed #cbd3dd;border-radius:18px;background:#f7f9fc;color:#14213d;
  text-align:center;padding:32px;
}
.fp-calendar-empty strong{font-size:26px}.fp-calendar-empty span{color:#6d7789;font-size:15px}

.fp-dev-page{padding:150px 0 96px;background:#f5f7fb;min-height:70vh}
.fp-dev-head{max-width:760px;margin:0 auto 46px;text-align:center}
.fp-dev-head>span{
  display:inline-block;margin-bottom:10px;color:#1a8c7b;font-size:13px;font-weight:700;
  letter-spacing:.08em;text-transform:uppercase;
}
.fp-dev-head h1{margin:0;color:#10214b;font-size:44px;line-height:1.15;font-weight:700}
.fp-dev-lead-wrap{display:flex;justify-content:center;margin-bottom:34px}
.fp-dev-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;max-width:1100px;margin:0 auto;
}
.fp-dev-card{
  display:flex;align-items:center;gap:18px;min-height:134px;padding:16px;
  background:#fff;border:1px solid #e2e7ef;border-radius:18px;text-decoration:none!important;
  box-shadow:0 10px 28px rgba(22,41,75,.06);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.fp-dev-card:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(22,41,75,.1);border-color:#cad4e3}
.fp-dev-card--lead{width:min(640px,100%);min-height:190px;padding:22px 26px;border-color:#cbd8e9;box-shadow:0 18px 42px rgba(12,36,93,.1)}
.fp-dev-photo{width:98px;height:102px;flex:0 0 98px;border-radius:14px;overflow:hidden;background:#eef2f7}
.fp-dev-card--lead .fp-dev-photo{width:148px;height:148px;flex-basis:148px;border-radius:18px}
.fp-dev-photo img{width:100%;height:100%;object-fit:cover;display:block}
.fp-dev-copy{display:flex;flex-direction:column;gap:6px;min-width:0}
.fp-dev-copy strong{color:#10214b;font-size:18px;line-height:1.25;font-weight:700}
.fp-dev-copy span{color:#69758b;font-size:14px;line-height:1.4}
.fp-dev-card--lead .fp-dev-copy strong{font-size:28px}.fp-dev-card--lead .fp-dev-copy span{font-size:16px}
.fp-dev-empty{grid-column:1/-1;text-align:center;color:#6d7789;padding:36px}

@media(max-width:991px){
  .fp-public-ticker__track{justify-content:flex-start;scrollbar-width:none}
  .fp-public-ticker__track::-webkit-scrollbar{display:none}
  .fp-dev-page{padding:110px 0 70px}
  .fp-dev-head h1{font-size:34px}
  .fp-dev-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:575px){
  .fp-public-ticker{min-height:32px}.fp-public-ticker__track{font-size:12px;padding:6px 12px}
  .hero__school-name{font-size:13px;margin-bottom:8px}
  .fp-dev-page{padding:90px 0 56px}.fp-dev-head{margin-bottom:30px}.fp-dev-head h1{font-size:28px}
  .fp-dev-grid{grid-template-columns:1fr;gap:14px}
  .fp-dev-card,.fp-dev-card--lead{min-height:112px;padding:13px;gap:14px;border-radius:15px}
  .fp-dev-photo,.fp-dev-card--lead .fp-dev-photo{width:86px;height:92px;flex-basis:86px;border-radius:12px}
  .fp-dev-card--lead .fp-dev-copy strong,.fp-dev-copy strong{font-size:17px}
  .fp-dev-card--lead .fp-dev-copy span,.fp-dev-copy span{font-size:13px}
}

/* Keyboard accessibility */
.fp-skip-link{position:fixed;left:16px;top:-80px;z-index:99999;padding:10px 15px;border-radius:8px;background:#fff;color:#0d2460!important;font-weight:700;box-shadow:0 8px 30px rgba(0,0,0,.18);transition:top .18s ease}
.fp-skip-link:focus{top:14px}


/* ===== v1.2 global technical notice ===== */
.fp-technical-banner{position:relative;z-index:1002;color:#fff;font-family:Lexend,sans-serif}
.fp-technical-banner--info{background:#155e95}.fp-technical-banner--success{background:#147e5c}
.fp-technical-banner--warning{background:#8b6517}.fp-technical-banner--critical{background:#a43737}
.fp-technical-banner__inner{min-height:46px;display:flex;align-items:center;gap:12px;padding-top:8px;padding-bottom:8px}
.fp-technical-banner__icon{width:26px;height:26px;display:grid;place-items:center;flex:0 0 26px;border:1px solid rgba(255,255,255,.35);border-radius:50%;font-weight:700}
.fp-technical-banner__text{display:flex;align-items:center;gap:10px;min-width:0;flex:1;font-size:14px;line-height:1.45}
.fp-technical-banner__text strong{font-weight:650;white-space:nowrap}.fp-technical-banner__text span{opacity:.94}
.fp-technical-banner__link{color:#fff!important;font-size:13px;font-weight:600;white-space:nowrap;border-bottom:1px solid rgba(255,255,255,.55)}
@media(max-width:767px){.fp-technical-banner__inner{align-items:flex-start}.fp-technical-banner__text{display:block}.fp-technical-banner__text strong{display:block;margin-bottom:2px}.fp-technical-banner__link{align-self:center}}

/* ===== Academic calendar — reference geometry ===== */
.fp-calendar-reference{display:block!important}.fp-calendar-reference__link{display:block;width:100%}
.fp-calendar-reference img{display:block;width:100%;height:auto;object-fit:contain;background:#fff}

/* ===== Error pages ===== */
.fp-error-page{min-height:calc(100vh - 320px);display:grid;place-items:center;padding:72px 0 92px;background:radial-gradient(circle at 50% 0,#eef4ff 0,#f4f6fa 38%,#f2f4f7 70%)}
.fp-error-card{max-width:720px;margin:0 auto;text-align:center;padding:52px 44px;border:1px solid #e1e7f0;border-radius:24px;background:rgba(255,255,255,.94);box-shadow:0 24px 80px rgba(13,36,96,.09)}
.fp-error-code{font-size:clamp(88px,14vw,164px);line-height:.82;font-weight:800;letter-spacing:-.06em;color:#0d2460;opacity:.08;margin-bottom:-12px}
.fp-error-kicker{display:inline-flex;padding:6px 12px;border-radius:99px;background:#e9effc;color:#0d2460;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-bottom:14px}
.fp-error-card h1{font-size:clamp(30px,4vw,46px);line-height:1.15;color:#0f172a;margin-bottom:12px}
.fp-error-card p{max-width:560px;margin:0 auto;color:#64748b;font-size:17px;line-height:1.65}
.fp-error-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:28px}
.fp-error-primary,.fp-error-secondary{min-height:48px;padding:12px 20px;border-radius:10px;font:600 15px/1.2 Lexend,sans-serif;cursor:pointer}
.fp-error-primary{display:inline-flex;align-items:center;background:#0d2460;color:#fff!important;border:1px solid #0d2460}
.fp-error-secondary{background:#fff;color:#0d2460;border:1px solid #cfd8e8}
@media(max-width:576px){.fp-error-page{padding:48px 0 64px}.fp-error-card{padding:38px 18px;border-radius:18px}.fp-error-card p{font-size:15px}.fp-error-actions>*{width:100%;justify-content:center}}

/* v1.2 final polish */
.fp-dev-page--quiet{padding-top:150px}
.fp-dev-page--quiet .fp-dev-lead-wrap:first-child{margin-top:0}
.fp-error-redirect{margin-top:-10px!important;font-size:13px!important;color:#7a8498!important}
.header-top-lang{isolation:isolate}
.header-top-lang-menu{z-index:1200!important}
.header-top-lang-menu a{display:flex;align-items:center;gap:8px;width:100%;color:#1e293b!important}
.header-top-lang-menu li{padding:0!important}
.header-top-lang-menu li a{padding:8px 10px;border-radius:6px}
.header-top-lang-menu li a:hover,.header-top-lang-menu li a:focus{background:rgba(0,0,0,.04)}


/* ===== v1.3 top notice stack / fixed header geometry ===== */
:root{--fp-top-stack-height:0px}
.fp-site-notices{position:fixed;inset:0 0 auto 0;z-index:1300;width:100%;pointer-events:auto}
.fp-site-notices:empty{display:none}
body{padding-top:var(--fp-top-stack-height)}
.header{top:var(--fp-top-stack-height)!important;transition:top .16s ease,background-color .3s ease!important}
#offcanvasMenu{top:var(--fp-top-stack-height);height:calc(100vh - var(--fp-top-stack-height))}
.fp-skip-link:focus{top:calc(var(--fp-top-stack-height) + 14px)}
.fp-public-ticker,.fp-technical-banner{width:100%}
.fp-public-ticker__track{min-width:max-content}
@media(max-width:767px){
  .fp-site-notices{font-size:12px}
  #offcanvasMenu{max-height:calc(100dvh - var(--fp-top-stack-height))}
}

/* Performance: media below the fold is decoded without blocking layout. */
.gallery-view-main img,.gallery-page img,.fp-result-thumb{content-visibility:auto}

.fp-footer-address{display:flex;align-items:center;gap:8px;color:#fff}
