/* ============================================================
   Francophonie Plovdiv — redesign (2026)
   Palette + component styles ported from the Claude Design comp.
   ============================================================ */

:root{
  --paper:#F6F2E9;
  --ink:#1F2B54;       /* primary navy */
  --navy-deep:#16203E; /* utility bar / footer */
  --text:#1C2230;
  --muted:#6B7180;
  --muted-2:#4a5060;
  --sand:#9a8f78;
  --red:#C72B3B;
  --rose:#E07A86;
  --gold:#E5B85C;
  --blue:#7FA0E0;
  --line:rgba(31,43,84,0.09);
  --line-soft:rgba(31,43,84,0.08);
  --serif:'Playfair Display',Georgia,'Times New Roman',serif;
  --sans:'Manrope',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  --mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
  --shell:1180px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background:var(--paper);
  color:var(--text);
  font-family:var(--sans);
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
}
a{color:inherit}
button{font-family:inherit}
img{max-width:100%;display:block}
::selection{background:var(--ink);color:var(--paper)}

.fp-page{min-height:100vh;display:flex;flex-direction:column;background:var(--paper);color:var(--text)}
.fp-shell{max-width:var(--shell);margin:0 auto;padding-left:32px;padding-right:32px}
.fp-main{flex:1}

@keyframes fpFade{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

/* ---------- eyebrow / labels ---------- */
.fp-eyebrow{font-family:var(--mono);font-size:12.5px;letter-spacing:0.22em;text-transform:uppercase;color:var(--red);margin-bottom:14px}
.fp-eyebrow.is-rose{color:var(--rose)}

/* ---------- headings ---------- */
.fp-h1{font-family:var(--serif);font-weight:600;font-size:48px;line-height:1.08;margin:0 0 16px;letter-spacing:-0.01em}
.fp-h2{font-family:var(--serif);font-weight:600;font-size:34px;line-height:1.18;color:var(--ink);margin:0 0 20px}
.fp-h3{font-family:var(--serif);font-weight:600;font-size:22px;color:var(--ink);margin:0 0 10px}

/* ---------- buttons ---------- */
.fp-btn{display:inline-flex;align-items:center;gap:8px;border:none;cursor:pointer;padding:15px 26px;border-radius:999px;font-size:15px;font-weight:700;letter-spacing:0.02em;text-decoration:none;font-family:inherit;transition:background .2s,color .2s,border-color .2s,gap .2s}
.fp-btn-red{background:var(--red);color:#fff}
.fp-btn-red:hover{background:#fff;color:var(--ink)}
.fp-btn-ink{background:var(--ink);color:var(--paper)}
.fp-btn-ink:hover{background:var(--red)}
.fp-btn-ghost{background:transparent;color:var(--paper);border:1px solid rgba(246,242,233,0.4)}
.fp-btn-ghost:hover{border-color:var(--paper);background:rgba(246,242,233,0.08)}
.fp-btn-block{width:100%;justify-content:center}

/* ============================================================
   UTILITY BAR
   ============================================================ */
.fp-utility{background:var(--navy-deep);color:#C9CFE0;font-size:12.5px}
.fp-utility .fp-shell{padding-top:9px;padding-bottom:9px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;font-family:var(--mono);letter-spacing:0.02em}
.fp-utility-left{display:flex;align-items:center;gap:26px;flex-wrap:wrap}
.fp-utility-right{display:flex;align-items:center;gap:20px}
.fp-utility a{text-decoration:none;color:#E7EAF3}
.fp-utility a:hover{color:#fff}
.fp-util-loc{opacity:.65;display:flex;align-items:center;gap:8px}
.fp-util-phone{display:flex;align-items:center;gap:8px}
.fp-dot-rose{color:var(--rose)}
.fp-dot-blue{color:var(--blue)}
.fp-fb-pill{color:var(--navy-deep)!important;background:#E7EAF3;border-radius:999px;padding:3px 12px;font-weight:500}
.fp-fb-pill:hover{background:#fff}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.fp-header{position:sticky;top:0;z-index:80;background:rgba(246,242,233,0.92);backdrop-filter:blur(10px);border-bottom:1px solid rgba(31,43,84,0.1)}
.fp-header .fp-shell{padding-top:16px;padding-bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:24px}

.fp-logo{text-decoration:none;display:flex;align-items:center;gap:14px}
.fp-logo-dots{display:flex;flex-direction:column;gap:3px}
.fp-logo-dots span{width:7px;height:7px;border-radius:50%}
.fp-logo-dots span:nth-child(1){background:var(--ink)}
.fp-logo-dots span:nth-child(2){background:var(--red)}
.fp-logo-text{display:flex;flex-direction:column;line-height:1}
.fp-logo-name{font-family:var(--serif);font-size:25px;font-weight:600;color:var(--ink);letter-spacing:0.01em}
.fp-logo-sub{font-family:var(--mono);font-size:10.5px;letter-spacing:0.26em;color:var(--sand);text-transform:uppercase;margin-top:4px}

.fp-nav{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;letter-spacing:0.04em;text-transform:uppercase}
.fp-nav-item{position:relative}
.fp-nav-link{background:none;border:none;cursor:pointer;color:var(--ink);padding:6px 10px;display:flex;flex-direction:column;align-items:center;gap:5px;font:inherit;text-transform:inherit;letter-spacing:inherit;text-decoration:none}
.fp-nav-link:hover{color:var(--red)}
.fp-nav-underline{display:block;height:2px;width:18px;background:var(--red);border-radius:2px}
.fp-nav-cta{background:var(--ink);color:var(--paper);border:none;cursor:pointer;padding:11px 18px;border-radius:999px;font:inherit;text-transform:inherit;letter-spacing:0.04em;margin-left:8px;text-decoration:none}
.fp-nav-cta:hover{background:var(--red);color:var(--paper)}

/* dropdown (CSS hover) */
.fp-dropdown{position:absolute;top:100%;left:50%;transform:translateX(-50%);padding-top:12px;z-index:90;opacity:0;visibility:hidden;transition:opacity .15s}
.fp-nav-item:hover > .fp-dropdown{opacity:1;visibility:visible}
.fp-dropdown-inner{background:#fff;border:1px solid rgba(31,43,84,0.1);box-shadow:0 22px 48px -22px rgba(22,32,62,0.5);border-radius:8px;padding:7px;min-width:220px;display:flex;flex-direction:column;gap:2px}
.fp-dropdown-inner a{cursor:pointer;text-decoration:none;text-transform:none;letter-spacing:normal;font-size:14.5px;color:var(--ink);padding:11px 14px;border-radius:6px}
.fp-dropdown-inner a:hover{background:var(--paper);color:var(--red)}

/* burger + mobile menu */
.fp-burger{display:none;background:none;border:1px solid rgba(31,43,84,0.22);border-radius:9px;width:46px;height:46px;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:0}
.fp-burger span{display:block;width:20px;height:2px;background:var(--ink);border-radius:2px}
.fp-mobile{display:none;border-top:1px solid rgba(31,43,84,0.1);background:var(--paper);max-height:calc(100vh - 110px);overflow-y:auto}
.fp-mobile.is-open{display:block}
.fp-mobile-inner{padding:12px 22px 28px;display:flex;flex-direction:column;gap:1px}
.fp-mobile-inner a{cursor:pointer;text-decoration:none;color:var(--ink);font-size:16px;font-weight:700;padding:14px 4px;border-bottom:1px solid rgba(31,43,84,0.07)}
.fp-mobile-inner a.is-sub{color:var(--muted-2);font-size:15.5px;font-weight:600;padding:11px 4px;border-bottom:none}
.fp-mobile-group{font-family:var(--mono);font-size:11px;letter-spacing:0.16em;text-transform:uppercase;color:var(--sand);padding:18px 4px 6px}
.fp-mobile-cta{margin-top:18px;background:var(--ink);color:var(--paper);border:none;cursor:pointer;padding:15px;border-radius:999px;font-size:15px;font-weight:700;font-family:inherit;text-align:center;text-decoration:none;border-bottom:none!important}

/* ============================================================
   HERO (home + inner)
   ============================================================ */
.fp-hero-home{background:var(--ink);color:var(--paper);position:relative;overflow:hidden}
.fp-hero-home .fp-shell{padding-top:88px;padding-bottom:96px;display:grid;grid-template-columns:1.05fr 0.95fr;gap:64px;align-items:center}
.fp-hero-copy{animation:fpFade .7s ease both}
.fp-hero-copy h1{font-family:var(--serif);font-weight:600;font-size:58px;line-height:1.06;margin:0 0 24px;letter-spacing:-0.01em}
.fp-hero-copy h1 .it{font-style:italic;color:var(--gold)}
.fp-hero-lead{font-size:19px;line-height:1.65;color:#C9CFE0;max-width:480px;margin:0 0 16px}
.fp-hero-quote{font-family:var(--serif);font-style:italic;font-size:22px;color:var(--gold);margin:0 0 36px}
.fp-hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.fp-hero-media{position:relative;animation:fpFade .9s ease both}
.fp-hero-photo{aspect-ratio:4/5;border-radius:10px;border:1px solid rgba(246,242,233,0.18);overflow:hidden;background:repeating-linear-gradient(135deg,#2a3a6b,#2a3a6b 14px,#30407a 14px,#30407a 28px);display:flex;align-items:center;justify-content:center}
.fp-hero-photo img{width:100%;height:100%;object-fit:cover}
.fp-hero-ph{font-family:var(--mono);font-size:12px;color:#9fb0dd;letter-spacing:0.05em}
.fp-hero-badge{position:absolute;bottom:-26px;left:-26px;background:var(--paper);color:var(--ink);border-radius:10px;padding:20px 24px;box-shadow:0 24px 50px -20px rgba(0,0,0,0.5);max-width:230px}
.fp-hero-badge .big{font-family:var(--serif);font-size:34px;font-weight:700;line-height:1}
.fp-hero-badge .small{font-size:13.5px;color:var(--muted);margin-top:4px;line-height:1.4}
.fp-hero-flag{position:absolute;top:-22px;right:-18px;display:flex;gap:6px}
.fp-hero-flag span{width:34px;height:10px;border-radius:3px}
.fp-hero-flag span:nth-child(1){background:var(--ink);border:1px solid rgba(246,242,233,0.3)}
.fp-hero-flag span:nth-child(2){background:var(--paper)}
.fp-hero-flag span:nth-child(3){background:var(--red)}

/* inner page hero band */
.fp-hero-inner{background:var(--ink);color:var(--paper)}
.fp-hero-inner .fp-shell{padding-top:64px;padding-bottom:60px}
.fp-hero-inner h1{font-family:var(--serif);font-weight:600;font-size:48px;margin:0 0 16px;line-height:1.08}
.fp-hero-inner .fp-eyebrow{color:var(--rose)}
.fp-hero-sub{font-size:18px;line-height:1.65;color:#C9CFE0;max-width:640px;margin:0}

/* ============================================================
   VALUE PROPS (home)
   ============================================================ */
.fp-vprops{background:#fff;border-bottom:1px solid var(--line-soft)}
.fp-vprops .fp-shell{display:grid;grid-template-columns:repeat(3,1fr);padding-left:32px;padding-right:32px}
.fp-vprop{padding:36px 28px;border-right:1px solid var(--line-soft)}
.fp-vprop:first-child{padding-left:0}
.fp-vprop:last-child{padding-right:0;border-right:none}
.fp-vprop h3{font-family:var(--serif);font-size:21px;color:var(--ink);margin:0 0 8px;font-weight:500}
.fp-vprop p{margin:0;font-size:14.5px;line-height:1.6;color:var(--muted)}

/* ============================================================
   NEWS (home)
   ============================================================ */
.fp-news{padding-top:84px;padding-bottom:96px}
.fp-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:44px}
.fp-section-head h2{font-family:var(--serif);font-weight:600;font-size:42px;margin:0;color:var(--ink)}
.fp-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.fp-card{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .25s;text-decoration:none;color:inherit}
.fp-card:hover{box-shadow:0 22px 44px -26px rgba(22,32,62,0.4)}
.fp-card-img{aspect-ratio:16/10;border-bottom:1px solid var(--line-soft);position:relative;display:flex;align-items:center;justify-content:center;background:repeating-linear-gradient(135deg,#ece6d8,#ece6d8 12px,#f2ecdf 12px,#f2ecdf 24px);overflow:hidden}
.fp-card-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.fp-card-ph{font-family:var(--mono);font-size:11.5px;color:#a99e85}
.fp-card-tag{position:absolute;top:14px;left:14px;background:var(--ink);color:var(--paper);font-family:var(--mono);font-size:10.5px;letter-spacing:0.08em;text-transform:uppercase;padding:5px 11px;border-radius:999px}
.fp-card-body{padding:24px 24px 26px;display:flex;flex-direction:column;flex:1}
.fp-card-date{font-family:var(--mono);font-size:12px;color:var(--sand);margin-bottom:12px}
.fp-card-body h3{font-family:var(--serif);font-weight:600;font-size:21px;line-height:1.25;margin:0 0 12px;color:var(--text)}
.fp-card-excerpt{margin:0 0 20px;font-size:14.5px;line-height:1.6;color:var(--muted);flex:1}
.fp-readmore{font-size:13px;font-weight:700;letter-spacing:0.04em;text-transform:uppercase;color:var(--red);display:inline-flex;align-items:center;gap:7px;text-decoration:none}
.fp-card:hover .fp-readmore{gap:12px}

/* ============================================================
   SECTIONS / generic
   ============================================================ */
.fp-section{padding-top:80px;padding-bottom:80px}
.fp-section-white{background:#fff;border-top:1px solid var(--line-soft)}
.fp-two-col{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.fp-prose p{font-size:16px;line-height:1.75;color:var(--muted-2);margin:0 0 16px}
.fp-photo-ph{border-radius:10px;border:1px solid rgba(31,43,84,0.12);background:repeating-linear-gradient(135deg,#ece6d8,#ece6d8 14px,#f2ecdf 14px,#f2ecdf 28px);display:flex;align-items:center;justify-content:center;overflow:hidden}
.fp-photo-ph span{font-family:var(--mono);font-size:12px;color:#a99e85}
.fp-photo-ph img{width:100%;height:100%;object-fit:cover}

/* stat row */
.fp-stats .fp-shell{display:grid;grid-template-columns:repeat(3,1fr);gap:48px;padding-top:56px;padding-bottom:56px}
.fp-stat .num{font-family:var(--serif);font-size:46px;font-weight:700;line-height:1;color:var(--ink)}
.fp-stat .num.is-red{color:var(--red)}
.fp-stat .label{font-size:14.5px;color:var(--muted);margin-top:8px}

/* ============================================================
   PRINCIPLES
   ============================================================ */
.fp-grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.fp-principle{background:#fff;border:1px solid var(--line);border-radius:10px;padding:36px 34px}
.fp-principle .pn{font-family:var(--serif);font-size:30px;color:var(--red);margin-bottom:14px}
.fp-principle h3{font-family:var(--serif);font-weight:600;font-size:22px;color:var(--ink);margin:0 0 10px}
.fp-principle p{margin:0;font-size:15px;line-height:1.7;color:var(--muted)}

/* ============================================================
   TEAM
   ============================================================ */
.fp-team-card{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;text-decoration:none;color:inherit;display:block;transition:box-shadow .25s}
.fp-team-card:hover{box-shadow:0 22px 44px -26px rgba(22,32,62,0.4)}
.fp-team-photo{aspect-ratio:1;background:repeating-linear-gradient(135deg,#ece6d8,#ece6d8 12px,#f2ecdf 12px,#f2ecdf 24px);display:flex;align-items:center;justify-content:center;overflow:hidden}
.fp-team-photo img{width:100%;height:100%;object-fit:cover}
.fp-team-photo span{font-family:var(--mono);font-size:11.5px;color:#a99e85}
.fp-team-body{padding:24px 26px 28px}
.fp-team-body h3{font-family:var(--serif);font-weight:600;font-size:21px;color:var(--ink);margin:0 0 4px}
.fp-team-role{font-family:var(--mono);font-size:11.5px;letter-spacing:0.06em;text-transform:uppercase;color:var(--red);margin-bottom:12px}
.fp-team-body p{margin:0;font-size:14.5px;line-height:1.65;color:var(--muted)}

/* ============================================================
   COURSE detail (prose + aside) + tables
   ============================================================ */
.fp-course-layout{display:grid;grid-template-columns:1.5fr 0.9fr;gap:56px;align-items:start}
.fp-aside{background:var(--ink);color:var(--paper);border-radius:12px;padding:34px 32px;position:sticky;top:120px}
.fp-aside-label{font-family:var(--mono);font-size:11.5px;letter-spacing:0.16em;text-transform:uppercase;color:#9fb0dd;margin-bottom:18px}
.fp-aside h3{font-family:var(--serif);font-weight:600;font-size:24px;margin:0 0 16px;line-height:1.25}
.fp-aside p{font-size:14.5px;line-height:1.65;color:#C9CFE0;margin:0 0 24px}
.fp-aside-phone{display:block;text-align:center;text-decoration:none;color:var(--gold);font-weight:600;margin-top:16px;font-size:15px}
.fp-aside-phone:hover{color:#fff}

.fp-levels{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:34px}
.fp-level{background:#fff;border:1px solid rgba(31,43,84,0.14);color:var(--ink);font-weight:600;font-size:14px;padding:8px 16px;border-radius:999px}
.fp-level.is-ink{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.fp-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.fp-feature{display:flex;gap:12px;align-items:flex-start}
.fp-feature .dash{color:var(--red);font-weight:700;margin-top:2px}
.fp-feature span:last-child{font-size:15px;line-height:1.55;color:var(--muted-2)}
.fp-mini-label{font-family:var(--mono);font-size:12px;letter-spacing:0.18em;text-transform:uppercase;color:var(--red);margin-bottom:14px}

.fp-table-wrap{overflow-x:auto;border:1px solid rgba(31,43,84,0.12);border-radius:12px}
.fp-table{width:100%;border-collapse:collapse;min-width:940px}
.fp-table thead tr{background:var(--ink)}
.fp-table th{text-align:left;padding:15px 16px;font-family:var(--mono);font-size:10.5px;letter-spacing:0.07em;text-transform:uppercase;color:#C9CFE0;font-weight:500;white-space:nowrap}
.fp-table tbody tr{border-top:1px solid var(--line-soft)}
.fp-table tbody tr:hover{background:#FBF7EE}
.fp-table td{padding:15px 16px;vertical-align:top;font-size:13.5px;line-height:1.45;color:var(--muted-2)}
.fp-table td.lvl{font-family:var(--serif);font-weight:600;font-size:16px;color:var(--ink);min-width:150px}
.fp-table td.price{color:var(--ink);font-weight:700;line-height:1.5}
.fp-table td.pre{white-space:pre-line}
/* Mobile: turn the price table into stacked cards so every column is visible
   without horizontal scrolling. Each <td> shows its column name via data-label. */
@media (max-width:768px){
  .fp-table-wrap{overflow:visible;border:none;border-radius:0}
  .fp-table{display:block;min-width:0!important;width:100%}
  .fp-table thead{display:none}
  .fp-table tbody{display:block}
  .fp-table tbody tr{display:block;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden;margin-bottom:16px;box-shadow:0 16px 32px -28px rgba(22,32,62,0.35)}
  .fp-table tbody tr:hover{background:#fff}
  .fp-table td{display:flex;justify-content:space-between;gap:16px;padding:11px 16px;border:none;border-top:1px solid var(--line-soft);font-size:14px;text-align:right;vertical-align:middle}
  .fp-table td::before{content:attr(data-label);font-family:var(--mono);font-size:10px;letter-spacing:0.04em;text-transform:uppercase;color:var(--sand);font-weight:500;text-align:left;flex:0 0 42%;align-self:center}
  .fp-table td.pre{white-space:pre-line}
  .fp-table td.price{font-weight:700;color:var(--ink)}
  /* Level becomes the card's navy header band (no inline label). */
  .fp-table td.lvl{display:block;text-align:left;background:var(--ink);color:var(--paper);border-top:none;min-width:0;padding:14px 16px;font-size:17px}
  .fp-table td.lvl::before{display:none}
}
.fp-notes{margin-top:22px;display:flex;flex-direction:column;gap:8px}
.fp-notes p{margin:0;font-size:13.5px;line-height:1.6;color:var(--muted)}
/* CMS notes carry WYSIWYG inline styles — normalize them to the design type. */
.fp-course-notes,.fp-course-notes *{font-family:var(--sans)!important;font-size:13.5px!important;color:var(--muted)!important;background:transparent!important}
.fp-course-notes p{margin:0 0 6px;line-height:1.6}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.fp-fb-list{display:grid;grid-template-columns:repeat(2,1fr);gap:28px;align-items:start}
.fp-fb-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px}

/* ============================================================
   GALLERY
   ============================================================ */
.fp-gal{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:200px;gap:16px}
.fp-gal-events{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.fp-gal-tile{background:repeating-linear-gradient(135deg,#ece6d8,#ece6d8 13px,#f2ecdf 13px,#f2ecdf 26px);border:1px solid rgba(31,43,84,0.1);border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden;text-decoration:none}
.fp-gal-tile img{width:100%;height:100%;object-fit:cover}
.fp-gal-tile span{font-family:var(--mono);font-size:11.5px;color:#a99e85}
.fp-gal-tile.span-row{grid-row:span 2}
.fp-gal-tile.span-col{grid-column:span 2}
.fp-gal-events .fp-gal-tile{aspect-ratio:1}
.fp-gal-tile[data-fp-lightbox]{cursor:zoom-in}

/* ---------------- LIGHTBOX ---------------- */
.fp-lightbox{position:fixed;inset:0;z-index:200;display:none;align-items:center;justify-content:center;padding:40px;background:rgba(16,20,30,0.93);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.fp-lightbox.is-open{display:flex;animation:fpFade .2s ease both}
.fp-lb-stage{margin:0;display:flex;flex-direction:column;align-items:center;gap:14px;max-width:92vw;max-height:88vh}
.fp-lb-stage img{max-width:92vw;max-height:82vh;object-fit:contain;border-radius:8px;box-shadow:0 30px 80px -20px rgba(0,0,0,0.7);background:#0d1322}
.fp-lb-counter{font-family:var(--mono);font-size:12px;letter-spacing:0.1em;color:#C9CFE0}
.fp-lb-close{position:absolute;top:20px;right:24px;width:46px;height:46px;border:none;border-radius:50%;background:rgba(255,255,255,0.12);color:#fff;font-size:26px;line-height:1;cursor:pointer;transition:background .15s}
.fp-lb-close:hover{background:var(--red)}
.fp-lb-nav{position:absolute;top:50%;transform:translateY(-50%);width:54px;height:54px;border:none;border-radius:50%;background:rgba(255,255,255,0.12);color:#fff;font-size:30px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s}
.fp-lb-nav:hover{background:var(--red)}
.fp-lb-prev{left:18px}
.fp-lb-next{right:18px}
@media (max-width:560px){.fp-lightbox{padding:16px}.fp-lb-nav{width:44px;height:44px;font-size:24px}.fp-lb-close{top:12px;right:12px;width:42px;height:42px}}

/* ============================================================
   CONTACTS
   ============================================================ */
.fp-contact-layout{display:grid;grid-template-columns:0.9fr 1.1fr;gap:56px;align-items:start}
.fp-contact-list{display:flex;flex-direction:column;gap:26px}
.fp-contact-label{font-family:var(--mono);font-size:11.5px;letter-spacing:0.16em;text-transform:uppercase;color:var(--red);margin-bottom:8px}
.fp-contact-phone{text-decoration:none;font-family:var(--serif);font-size:26px;color:var(--ink);font-weight:600}
.fp-contact-phone:hover{color:var(--red)}
.fp-contact-mail{text-decoration:none;font-size:17px;color:var(--text);word-break:break-all}
.fp-contact-mail:hover{color:var(--red)}
.fp-contact-addr{font-size:17px;color:var(--text);line-height:1.5}
.fp-contact-fb{text-decoration:none;color:#fff;background:var(--ink);border-radius:999px;padding:12px 22px;font-weight:600;width:fit-content;font-size:15px}
.fp-contact-fb:hover{background:var(--red)}
.fp-map{margin-top:32px;border-radius:10px;overflow:hidden;border:1px solid rgba(31,43,84,0.12)}
.fp-map iframe{display:block;width:100%;height:320px;border:0}
.fp-form-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:40px 38px}
.fp-form-card h2{font-family:var(--serif);font-weight:600;font-size:26px;color:var(--ink);margin:0 0 24px}
.fp-form{display:flex;flex-direction:column;gap:18px}
.fp-field{display:flex;flex-direction:column;gap:7px}
.fp-field > span{font-size:13px;font-weight:600;color:var(--muted-2)}
.fp-field input,.fp-field textarea{border:1px solid rgba(31,43,84,0.2);border-radius:8px;padding:13px 15px;font-size:15px;font-family:inherit;background:#FBFAF6;color:var(--text)}
.fp-field textarea{resize:vertical}
.fp-field input:focus,.fp-field textarea:focus{border-color:var(--ink);outline:none}
.fp-form-thanks{text-align:center;padding:40px 10px}
.fp-form-thanks .big{font-family:var(--serif);font-size:30px;color:var(--ink);margin-bottom:12px}
.fp-form-thanks p{font-size:15.5px;color:var(--muted);line-height:1.6;margin:0}
.fp-form-error{background:#fdecec;border:1px solid #f3c2c2;color:#a02531;border-radius:8px;padding:12px 14px;font-size:14px;margin-bottom:16px}

/* ============================================================
   POST article / member
   ============================================================ */
.fp-article{padding-top:72px;padding-bottom:96px}
.fp-article .fp-article-body{max-width:760px;font-size:17px;line-height:1.8;color:var(--muted-2)}
.fp-article .fp-article-body img{border-radius:8px;margin:24px 0}
.fp-article .fp-article-body h1,.fp-article .fp-article-body h2,.fp-article .fp-article-body h3{font-family:var(--serif);color:var(--ink)}
.fp-article .fp-article-body a{color:var(--red)}
.fp-member-layout{display:grid;grid-template-columns:0.8fr 1.2fr;gap:56px;align-items:start}
.fp-post-cover{aspect-ratio:16/7;border-radius:12px;overflow:hidden;margin-bottom:36px;border:1px solid var(--line)}
.fp-post-cover img{width:100%;height:100%;object-fit:cover}
/* CMS-authored bodies (history/principles/online) carry WYSIWYG inline fonts (Times) — normalize to the brand font, keep sizes/weights/colors. */
.fp-cms-body,.fp-cms-body *{font-family:var(--sans)!important}
.fp-cms-body p{margin:0 0 16px}
.fp-cms-body img{max-width:100%;height:auto;border-radius:8px}
/* Logo fallback shown in any image slot with no uploaded image. */
.fp-logo-fill{width:100%;height:100%;min-height:120px;display:flex;align-items:center;justify-content:center;background:#F1ECE0;padding:14% 18%}
/* Defeat the slot-specific cover rules (.fp-card-img img, .fp-team-photo img, …). */
.fp-logo-fill img{position:static!important;inset:auto!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:72%!important;object-fit:contain!important;opacity:.62}

/* ============================================================
   FOOTER
   ============================================================ */
.fp-footer{background:var(--navy-deep);color:#C9CFE0;margin-top:auto}
.fp-footer-top{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:48px;padding-top:64px;padding-bottom:40px}
.fp-footer-brand{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.fp-footer-brand .dots{display:flex;flex-direction:column;gap:3px}
.fp-footer-brand .dots span{width:7px;height:7px;border-radius:50%}
.fp-footer-brand .dots span:nth-child(1){background:var(--blue)}
.fp-footer-brand .dots span:nth-child(2){background:var(--rose)}
.fp-footer-brand .name{font-family:var(--serif);font-size:24px;font-weight:600;color:var(--paper)}
.fp-footer p.about{margin:0;max-width:330px;font-size:14.5px;line-height:1.65;color:#9aa3bd}
.fp-footer .quote{font-family:var(--serif);font-style:italic;color:var(--gold);margin:18px 0 0;font-size:17px}
.fp-footer-col-label{font-family:var(--mono);font-size:11.5px;letter-spacing:0.18em;text-transform:uppercase;color:var(--blue);margin-bottom:18px}
.fp-footer-links{display:flex;flex-direction:column;gap:11px;font-size:14.5px}
.fp-footer-links a{text-decoration:none;color:#C9CFE0}
.fp-footer-links a:hover{color:#fff}
.fp-footer-contact{display:flex;flex-direction:column;gap:12px;font-size:14.5px;line-height:1.5}
.fp-footer-contact a{text-decoration:none;color:#C9CFE0}
.fp-footer-contact a.strong{color:var(--paper);font-weight:600}
.fp-footer-contact a:hover{color:#fff}
.fp-footer-contact .fp-fb-pill{width:fit-content}
.fp-footer-bottom{border-top:1px solid rgba(255,255,255,0.08)}
.fp-footer-bottom .fp-shell{padding-top:20px;padding-bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;font-family:var(--mono);font-size:11.5px;letter-spacing:0.04em;color:#828dad}
.fp-footer-legal{display:flex;gap:18px;flex-wrap:wrap}
.fp-footer-legal a{text-decoration:none;color:#9aa3bd}
.fp-footer-legal a:hover{color:#fff}

/* ---------------- COOKIE CONSENT (GDPR) ---------------- */
.fp-cookie{position:fixed;left:18px;right:18px;bottom:18px;z-index:150;max-width:560px;margin:0 auto;background:var(--navy-deep);color:#C9CFE0;border:1px solid rgba(255,255,255,0.08);border-radius:14px;box-shadow:0 26px 60px -24px rgba(0,0,0,0.6);padding:20px 22px;display:flex;flex-direction:column;gap:14px}
.fp-cookie[hidden]{display:none}
.fp-cookie.is-in{animation:fpFade .3s ease both}
.fp-cookie-text{margin:0;font-size:13.5px;line-height:1.6}
.fp-cookie-text a{color:var(--gold);text-decoration:underline}
.fp-cookie-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
.fp-cookie button{cursor:pointer;border:none;border-radius:999px;font-family:inherit;font-size:13.5px;font-weight:700;padding:10px 18px}
.fp-cookie-accept{background:var(--red);color:#fff}
.fp-cookie-accept:hover{background:#fff;color:var(--ink)}
.fp-cookie-decline{background:transparent;color:#C9CFE0;border:1px solid rgba(255,255,255,0.25)}
.fp-cookie-decline:hover{border-color:#fff;color:#fff}
@media (max-width:560px){.fp-cookie{left:12px;right:12px;bottom:12px;padding:16px}}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1024px){
  .fp-nav{display:none}
  .fp-burger{display:flex}
}
@media (max-width:920px){
  .fp-h1,.fp-hero-inner h1{font-size:38px}
  .fp-hero-copy h1{font-size:42px}
  .fp-h2,.fp-section-head h2{font-size:27px}
  .fp-grid-3,.fp-grid-2,.fp-two-col,.fp-course-layout,.fp-contact-layout,.fp-member-layout,.fp-fb-list,.fp-footer-top,.fp-stats .fp-shell{grid-template-columns:1fr!important}
  .fp-hero-home .fp-shell{grid-template-columns:1fr;gap:56px}
  .fp-aside{position:static;top:auto}
  .fp-vprops .fp-shell{grid-template-columns:1fr}
  .fp-vprop{border-right:none;border-bottom:1px solid var(--line-soft);padding:22px 0!important}
  .fp-vprop:last-child{border-bottom:none}
  .fp-gal{grid-template-columns:1fr 1fr;grid-auto-rows:160px}
  .fp-gal-events{grid-template-columns:1fr 1fr}
  .fp-gal-tile.span-row,.fp-gal-tile.span-col{grid-row:auto;grid-column:auto}
  .fp-hero-badge{left:0}
}
@media (max-width:560px){
  .fp-shell{padding-left:22px;padding-right:22px}
  .fp-hero-copy h1{font-size:31px}
  .fp-hero-inner h1,.fp-h1{font-size:29px}
  .fp-h2,.fp-section-head h2{font-size:23px}
  .fp-aside h3{font-size:20px}
  .fp-hero-sub,.fp-hero-lead{font-size:16px}
  .fp-hero-home .fp-shell{padding:48px 22px 56px}
  .fp-feature-grid{grid-template-columns:1fr}
  .fp-gal,.fp-gal-events{grid-template-columns:1fr;grid-auto-rows:auto}
  .fp-gal-tile{aspect-ratio:4/3}
  .fp-util-loc{display:none}
}
/* ============================================================
   404 / error page
   ============================================================ */
.fp-404{background:var(--ink);color:var(--paper)}
.fp-404 .fp-shell{padding:96px 32px 112px;text-align:center}
.fp-404 .fp-eyebrow{color:var(--rose)}
.fp-404-num{font-family:var(--serif);font-weight:700;font-size:132px;line-height:1;letter-spacing:-0.02em;margin:6px 0 8px;color:var(--paper)}
.fp-404-flag{display:flex;gap:6px;justify-content:center;margin-bottom:26px}
.fp-404-flag span{width:34px;height:10px;border-radius:3px}
.fp-404-flag span:nth-child(1){background:var(--blue)}
.fp-404-flag span:nth-child(2){background:var(--paper)}
.fp-404-flag span:nth-child(3){background:var(--red)}
.fp-404-title{font-family:var(--serif);font-weight:600;font-size:34px;margin:0 0 12px}
.fp-404-quote{font-family:var(--serif);font-style:italic;font-size:21px;color:var(--gold);margin:0 0 12px}
.fp-404-text{font-size:16px;line-height:1.6;color:#C9CFE0;max-width:460px;margin:0 auto 32px}
.fp-404-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
@media (max-width:560px){.fp-404-num{font-size:96px}.fp-404-title{font-size:27px}}

/* Long unbreakable words shouldn't force horizontal scroll on phones. */
h1,h2,h3,.fp-h1,.fp-h2,.fp-hero-inner h1,.fp-hero-copy h1{overflow-wrap:break-word}
@media (max-width:768px){
  html,body{overflow-x:hidden}
}
