/* =========================================================
   Farahnakian Brand System — Navy + Gold
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --navy: #0b1c33;
  --navy-deep: #061222;
  --navy-mid: #14304f;
  --navy-soft: #1c3d63;
  --gold: #c4a35a;
  --gold-light: #e2c98a;
  --gold-muted: #a88945;
  --ink: #1a2332;
  --muted: #5c6b7e;
  --line: rgba(196, 163, 90, 0.28);
  --paper: #f7f5f1;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(6, 18, 34, 0.14);
  --radius: 2px;
  --header-h: 72px;
  --font-fa: "Vazirmatn", Tahoma, sans-serif;
  --font-en: "Outfit", "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(196,163,90,.08), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(20,48,79,.06), transparent 50%),
    var(--paper);
  color: var(--ink);
  font-family: var(--font-fa);
  font-size: 16px;
  line-height: 1.8;
  text-align: right;
  -webkit-font-smoothing: antialiased;
}

html[lang="en"] body,
body.lang-en {
  font-family: var(--font-en);
  text-align: left;
  direction: ltr;
}

a { color: var(--navy-mid); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--gold-muted); text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font-family: inherit; }

.ff-container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ---------- Site shell ---------- */
.content-wrapper {
  min-height: 70vh;
  padding: 0 !important;
  background: transparent !important;
}

.main-footer {
  background: var(--navy-deep) !important;
  color: rgba(255,255,255,.72);
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

/* Kill legacy chrome */
.mini-navbar,
.main-heading,
.twitter-news-feed,
.metaslider,
.ml-slider,
.nivoSlider,
.ribbon { display: none !important; }

/* ---------- Header ---------- */
.ff-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(7, 18, 34, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(196,163,90,.22);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}

.ff-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
  background: rgba(6, 14, 26, 0.96);
}

.ff-header__inner {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ff-brand {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  color: var(--white) !important;
  min-width: 0;
}

.ff-brand__name {
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--white);
  line-height: 1.2;
}

.ff-brand__tag {
  font-size: .72rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: .04em;
}

.ff-nav {
  display: flex;
  align-items: center;
  gap: .15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ff-nav > li { position: relative; }

.ff-nav > li > a {
  display: block;
  padding: .55rem .85rem;
  color: rgba(255,255,255,.86) !important;
  font-size: .9rem;
  font-weight: 500;
  position: relative;
}

.ff-nav > li > a::after {
  content: "";
  position: absolute;
  right: .85rem;
  left: .85rem;
  bottom: .25rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .3s var(--ease);
}

html[lang="en"] .ff-nav > li > a::after,
.lang-en .ff-nav > li > a::after { transform-origin: left center; }

.ff-nav > li > a:hover::after,
.ff-nav > li:hover > a::after { transform: scaleX(1); }

.ff-nav .submenu {
  position: absolute;
  top: calc(100% + .4rem);
  right: 0;
  min-width: 220px;
  background: var(--navy);
  border: 1px solid rgba(196,163,90,.25);
  box-shadow: var(--shadow);
  padding: .45rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(.4rem);
  transition: .25s var(--ease);
  list-style: none;
  margin: 0;
  z-index: 50;
}

html[lang="en"] .ff-nav .submenu,
.lang-en .ff-nav .submenu { right: auto; left: 0; }

.ff-nav > li:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.ff-nav .submenu a {
  display: block;
  padding: .55rem 1rem;
  color: rgba(255,255,255,.82) !important;
  font-size: .86rem;
}

.ff-nav .submenu a:hover {
  background: rgba(196,163,90,.12);
  color: var(--gold-light) !important;
}

.ff-header__actions {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.ff-lang {
  color: var(--gold) !important;
  font-size: .82rem;
  font-weight: 600;
  border: 1px solid rgba(196,163,90,.4);
  padding: .35rem .7rem;
  transition: .25s var(--ease);
}

.ff-lang:hover {
  background: var(--gold);
  color: var(--navy-deep) !important;
}

.ff-social {
  display: flex;
  gap: .35rem;
}

.ff-social a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.75) !important;
  border: 1px solid rgba(255,255,255,.12);
  transition: .25s var(--ease);
}

.ff-social a:hover {
  color: var(--navy-deep) !important;
  background: var(--gold);
  border-color: var(--gold);
}

.ff-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(196,163,90,.35);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.ff-burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: .25s var(--ease);
}

.ff-mobile {
  display: none;
  position: absolute;
  top: var(--header-h);
  right: 0;
  left: 0;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(196,163,90,.2);
  padding: 1rem 1.25rem 1.4rem;
  max-height: calc(100vh - var(--header-h));
  overflow: auto;
}

.ff-mobile.is-open { display: block; animation: ffFade .35s var(--ease); }

.ff-mobile a {
  display: block;
  padding: .7rem 0;
  color: rgba(255,255,255,.9) !important;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.ff-mobile .sub a {
  padding-inline-start: 1rem;
  font-size: .92rem;
  color: rgba(255,255,255,.7) !important;
}

.ff-search {
  display: flex;
  margin-top: .85rem;
  border: 1px solid rgba(196,163,90,.3);
}

.ff-search input {
  flex: 1;
  border: 0;
  background: transparent;
  color: #fff;
  padding: .65rem .85rem;
  outline: none;
}

.ff-search button {
  border: 0;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0 1rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.ff-hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--navy-deep);
  color: #fff;
}

.ff-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ff-hero__slides {
  position: absolute;
  inset: 0;
}

.ff-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}

.ff-hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.ff-hero__media > img,
.ff-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.04);
}

.ff-hero__slide.is-active img {
  animation: ffKenBurns 10s ease-in-out infinite alternate;
}

.ff-hero__veil {
  position: absolute;
  inset: 0;
  /* FA: text sits on the right — lighter so slider image stays clear */
  background:
    linear-gradient(270deg, rgba(6,18,34,.72) 0%, rgba(6,18,34,.42) 48%, rgba(6,18,34,.12) 100%),
    linear-gradient(180deg, rgba(6,18,34,.08) 0%, rgba(6,18,34,.48) 100%);
  z-index: 1;
}

html[lang="en"] .ff-hero__veil,
.lang-en .ff-hero__veil {
  /* EN: text sits on the left */
  background:
    linear-gradient(90deg, rgba(6,18,34,.72) 0%, rgba(6,18,34,.42) 48%, rgba(6,18,34,.12) 100%),
    linear-gradient(180deg, rgba(6,18,34,.08) 0%, rgba(6,18,34,.48) 100%);
}

.ff-hero__content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 7rem 0 4.5rem;
  max-width: 640px;
  margin-inline-start: max(calc((100% - 1180px) / 2), 1.25rem);
  animation: ffRise .9s var(--ease) both;
}

html[lang="en"] .ff-hero__content,
.lang-en .ff-hero__content {
  margin-inline-start: auto;
  margin-inline-end: max(calc((100% - 1180px) / 2), 1.25rem);
}

.ff-hero__eyebrow {
  margin: 0 0 .75rem;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .18em;
}

.ff-hero__brand {
  display: block;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: #fff;
  margin: 0 0 .85rem;
  text-shadow: 0 10px 40px rgba(0,0,0,.35);
}

.ff-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.ff-hero__dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  display: flex;
  gap: .45rem;
}

.ff-hero__dot {
  width: 8px;
  height: 8px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  cursor: pointer;
}

.ff-hero__dot.is-active {
  background: var(--gold);
  transform: scale(1.2);
}

.ff-hero__line {
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 0 0 1.1rem;
}

html[lang="en"] .ff-hero__line,
.lang-en .ff-hero__line {
  background: linear-gradient(270deg, var(--gold), transparent);
}

.ff-hero__title {
  margin: 0 0 .85rem;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 500;
  color: var(--gold-light);
  line-height: 1.5;
}

.ff-hero__text {
  margin: 0 0 1.6rem;
  color: rgba(255,255,255,.78);
  font-size: 1.02rem;
  max-width: 34rem;
}

.ff-cta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--gold);
  color: var(--navy-deep) !important;
  font-weight: 700;
  padding: .85rem 1.45rem;
  border: 1px solid var(--gold);
  transition: .3s var(--ease);
}

.ff-cta:hover {
  background: transparent;
  color: var(--gold-light) !important;
  transform: translateY(-2px);
}

.ff-cta--ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,.35);
  margin-inline-start: .6rem;
}

.ff-cta--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light) !important;
  background: transparent;
}

/* ---------- Sections ---------- */
.ff-section {
  padding: 4.5rem 0;
}

.ff-section--posts {
  position: relative;
  background:
    linear-gradient(180deg, rgba(11,28,51,.03), transparent 120px),
    var(--paper);
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}

.ff-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.ff-section__title {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -.02em;
}

.ff-section__title span {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold-muted);
  letter-spacing: .12em;
  margin-bottom: .35rem;
}

.ff-section__more {
  color: var(--navy-mid);
  font-weight: 600;
  font-size: .92rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: .15rem;
}

/* ---------- Post magazine grid ---------- */
.ff-posts {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  gap: 1.35rem !important;
  width: 100% !important;
  float: none !important;
}

.ff-post {
  grid-column: span 4 !important;
  display: flex !important;
  flex-direction: column !important;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
  text-decoration: none !important;
  position: relative;
  transition: transform .35s var(--ease);
}

.ff-post:hover {
  transform: translateY(-4px);
  color: inherit !important;
  text-decoration: none !important;
}

/* Default card: soft panel + gold corner frame */
.ff-post:not(.ff-post--feature):not(.ff-post--overlay) {
  background: #fff !important;
  box-shadow: 0 10px 36px rgba(6, 18, 34, 0.07) !important;
}

.ff-post:not(.ff-post--feature):not(.ff-post--overlay)::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(11, 28, 51, 0.08);
  pointer-events: none;
  z-index: 4;
}

.ff-post:not(.ff-post--feature):not(.ff-post--overlay)::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(196, 163, 90, 0.35);
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  transition: opacity .35s var(--ease);
}

.ff-post:not(.ff-post--feature):not(.ff-post--overlay):hover::after {
  opacity: 1;
}

.ff-post--feature {
  grid-column: 1 / -1 !important;
  min-height: 380px !important;
  background: var(--navy-deep) !important;
}

.ff-post--overlay {
  grid-column: span 4 !important;
  min-height: 340px !important;
  background: var(--navy) !important;
}

/* Fill incomplete last row so no empty hole remains */
.ff-post--half {
  grid-column: span 6 !important;
}

.ff-post--fill {
  grid-column: 1 / -1 !important;
}

.ff-post--feature .ff-post__media,
.ff-post--overlay .ff-post__media {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  min-height: 0;
  height: 100%;
}

.ff-post--feature .ff-post__body,
.ff-post--overlay .ff-post__body {
  position: absolute !important;
  inset: auto 0 0;
  z-index: 3;
  padding: 1.6rem 1.5rem 1.5rem !important;
  background: linear-gradient(transparent, rgba(6, 18, 34, 0.92) 38%) !important;
  color: #fff;
}

.ff-post--feature .ff-post__title,
.ff-post--overlay .ff-post__title {
  color: #fff !important;
  font-size: clamp(1.25rem, 2vw, 1.75rem) !important;
}

.ff-post--feature .ff-post__excerpt,
.ff-post--overlay .ff-post__excerpt {
  color: rgba(255,255,255,.78) !important;
}

.ff-post--feature .ff-post__date,
.ff-post--overlay .ff-post__date,
.ff-post--feature .ff-post__more,
.ff-post--overlay .ff-post__more {
  color: var(--gold-light) !important;
  border-color: rgba(196,163,90,.25) !important;
}

.ff-post--feature .ff-post__frame,
.ff-post--overlay .ff-post__frame {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(196, 163, 90, 0.45);
  z-index: 2;
  pointer-events: none;
}

.ff-post__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(196,163,90,.18), transparent 42%),
    linear-gradient(225deg, #1c3d63, #061222 70%);
  min-height: 180px;
}

.ff-post__media.is-empty::before {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(196, 163, 90, 0.28);
  z-index: 1;
  pointer-events: none;
}

.ff-post__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform .7s var(--ease);
  position: relative;
  z-index: 1;
}

.ff-post__shade {
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(6,18,34,.28));
  pointer-events: none;
  z-index: 2;
}

.ff-post--feature .ff-post__shade,
.ff-post--overlay .ff-post__shade {
  inset: 0;
  height: auto;
  background: linear-gradient(90deg, rgba(6,18,34,.55), rgba(6,18,34,.15) 55%, transparent);
}

.ff-post:hover .ff-post__media img { transform: scale(1.06); }

.ff-post__body {
  padding: 1.2rem 1.2rem 1.3rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: .45rem;
  flex: 1;
  position: static !important;
  background: transparent !important;
}

.ff-post__date {
  font-size: .78rem;
  color: var(--gold-muted);
  font-weight: 600;
}

.ff-post__title {
  margin: 0 !important;
  font-size: 1.08rem !important;
  line-height: 1.55 !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
}

.ff-post:hover .ff-post__title { color: var(--navy-soft) !important; }
.ff-post--feature:hover .ff-post__title,
.ff-post--overlay:hover .ff-post__title { color: #fff !important; }

.ff-post__excerpt {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: .9rem !important;
  line-height: 1.75 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
  max-height: 4.8em;
}

.ff-post--feature .ff-post__excerpt { -webkit-line-clamp: 3; max-height: 5.4em; }
.ff-post--overlay .ff-post__excerpt { -webkit-line-clamp: 2; max-height: 3.6em; }

.ff-post__tags {
  display: none;
}

.ff-tag {
  font-size: .72rem;
  color: var(--navy-mid) !important;
  background: rgba(11,28,51,.04);
  border: 0 !important;
  border-radius: 0 !important;
  padding: .2rem .45rem !important;
}

.ff-post__more {
  margin-top: auto;
  padding-top: .85rem;
  font-size: .84rem;
  font-weight: 700;
  color: var(--gold-muted);
  border-top: 1px solid rgba(11,28,51,.06);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.ff-post__more i {
  font-style: normal;
  transition: transform .3s var(--ease);
}

.ff-post:hover .ff-post__more i {
  transform: translateX(-4px);
}

html[lang="en"] .ff-post:hover .ff-post__more i,
.lang-en .ff-post:hover .ff-post__more i {
  transform: translateX(4px);
}

/* ---------- Page chrome ---------- */
.ff-page {
  padding: 2.5rem 0 4rem;
}

.ff-breadcrumb {
  font-size: .86rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.ff-breadcrumb a { color: var(--navy-mid); }
.ff-breadcrumb .current { color: var(--gold-muted); }

.ff-page-title {
  margin: 0 0 1.5rem;
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.3;
}

.ff-page-title small,
.ff-page-desc {
  display: block;
  margin-top: .55rem;
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- Post detail hero ---------- */
.ff-post-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: end;
  overflow: hidden;
  background: var(--navy-deep);
  color: #fff;
}

.ff-post-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ff-post-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ff-post-hero__media.is-empty {
  background:
    linear-gradient(145deg, rgba(196,163,90,.2), transparent 45%),
    linear-gradient(225deg, #1c3d63, #061222);
}

.ff-post-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(270deg, rgba(6,18,34,.78) 0%, rgba(6,18,34,.45) 55%, rgba(6,18,34,.2) 100%),
    linear-gradient(180deg, rgba(6,18,34,.15) 0%, rgba(6,18,34,.82) 100%);
}

html[lang="en"] .ff-post-hero__veil,
.lang-en .ff-post-hero__veil {
  background:
    linear-gradient(90deg, rgba(6,18,34,.78) 0%, rgba(6,18,34,.45) 55%, rgba(6,18,34,.2) 100%),
    linear-gradient(180deg, rgba(6,18,34,.15) 0%, rgba(6,18,34,.82) 100%);
}

.ff-post-hero__content {
  position: relative;
  z-index: 2;
  padding: 5.5rem 0 2.75rem;
  max-width: 760px;
}

.ff-breadcrumb--light,
.ff-breadcrumb--light a {
  color: rgba(255,255,255,.72) !important;
}

.ff-breadcrumb--light .current {
  color: var(--gold-light) !important;
}

.ff-breadcrumb--light span {
  margin: 0 .35rem;
  opacity: .5;
}

.ff-post-hero__date {
  margin: 1rem 0 .55rem;
  color: var(--gold);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.ff-post-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.35;
  font-weight: 800;
  color: #fff;
}

.ff-post-hero__lead {
  margin: 0 0 1.4rem;
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  line-height: 1.9;
  max-width: 42rem;
}

.ff-post-hero__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(196,163,90,.28);
}

.ff-post-hero .ff-article__share a {
  border-color: rgba(255,255,255,.22);
  color: #fff !important;
}

.ff-post-hero .ff-article__share a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep) !important;
}

.ff-post-hero .ff-article__actions a,
.ff-post-hero .ff-article__actions .like-Box {
  color: rgba(255,255,255,.88) !important;
  margin-inline-end: .9rem;
}

.ff-post-hero .ff-article__actions a:hover {
  color: var(--gold-light) !important;
}

.ff-page--article {
  padding-top: 2.5rem;
}

/* ---------- Article page ---------- */
.ff-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2.5rem;
  align-items: start;
}

.ff-article--single {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.ff-article__main { min-width: 0; }

.ff-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1.2rem;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(11,28,51,.08);
}

.ff-article__actions a,
.ff-article__actions .like-Box {
  color: var(--navy-mid) !important;
  font-size: .9rem;
  font-weight: 600;
  margin-inline-end: .85rem;
}

.ff-article__share a {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-inline-end: .25rem;
  border: 1px solid rgba(11,28,51,.12);
  color: var(--navy) !important;
  transition: .25s var(--ease);
}

.ff-article__share a:hover {
  background: var(--navy);
  color: var(--gold) !important;
  border-color: var(--navy);
}

.ff-article__lead {
  font-size: 1.08rem;
  color: var(--navy-mid);
  font-weight: 600;
  margin-bottom: 1.4rem;
  line-height: 1.9;
}

.ff-article .postBody,
.ff-article .main-text {
  font-size: 1.05rem;
  line-height: 2.05;
  color: var(--ink);
  background: #fff;
  padding: 1.75rem 1.6rem;
  border: 1px solid rgba(11,28,51,.06);
  box-shadow: 0 12px 36px rgba(6,18,34,.05);
}

.ff-article .postBody a { color: var(--gold-muted); border-bottom: 1px solid var(--line); }
.ff-article .postBody h1,
.ff-article .postBody h2,
.ff-article .postBody h3 { color: var(--navy); font-weight: 700; }
.ff-article .postBody img { margin: 1rem 0; }

.ff-side-card {
  background: #fff;
  border: 1px solid rgba(11,28,51,.08);
  box-shadow: 0 12px 36px rgba(6,18,34,.06);
  overflow: hidden;
  margin-bottom: 1rem;
}

.ff-article__side .ff-side-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 0;
  display: block;
  box-shadow: none;
}

.ff-side-panel {
  padding: 1rem 1rem 1.15rem;
  border-top: 2px solid var(--gold);
}

.ff-side-panel h5 {
  margin: 0 0 .85rem;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
}

.ff-cta--block {
  width: 100%;
  justify-content: center;
}

/* ---------- Contact ---------- */
.ff-contact {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
}

.ff-form label {
  display: block;
  margin-bottom: .35rem;
  font-weight: 600;
  color: var(--navy);
  font-size: .9rem;
}

.ff-form .form-group { margin-bottom: 1rem; }

.ff-form .form-control,
.ff-form input,
.ff-form textarea {
  width: 100%;
  border: 1px solid rgba(11,28,51,.14);
  background: #fff;
  padding: .8rem .95rem;
  color: var(--ink);
  border-radius: 0;
  box-shadow: none !important;
  outline: none;
  transition: border-color .25s var(--ease);
}

.ff-form .form-control:focus,
.ff-form input:focus,
.ff-form textarea:focus {
  border-color: var(--gold);
}

.ff-alert {
  margin-bottom: 1rem;
  color: var(--navy);
  font-weight: 600;
}

.ff-contact-info {
  color: var(--ink);
  line-height: 2;
}

/* ---------- Footer ---------- */
.ff-footer {
  padding: 0 0 1.5rem;
  position: relative;
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(196,163,90,.12), transparent 55%),
    radial-gradient(700px 360px at 0% 100%, rgba(28,61,99,.45), transparent 50%),
    var(--navy-deep) !important;
  overflow: hidden;
}

.ff-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.ff-footer__top {
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}

.ff-footer__cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}

.ff-footer__cta-label {
  margin: 0 0 .35rem;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.ff-footer__cta-title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.45;
}

.ff-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem 1.5rem;
  padding: 2.75rem 0 2rem;
}

.ff-footer__mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: .9rem;
  border: 1px solid rgba(196,163,90,.45);
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .08em;
  background: rgba(196,163,90,.06);
}

.ff-footer__brand {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .55rem;
}

.ff-footer__text {
  color: rgba(255,255,255,.66);
  max-width: 22rem;
  margin: 0 0 1.1rem;
  line-height: 1.85;
  font-size: .95rem;
}

.ff-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.ff-footer__social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.8) !important;
  border: 1px solid rgba(255,255,255,.14);
  transition: .25s var(--ease);
}

.ff-footer__social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep) !important;
}

.ff-footer__heading {
  margin: 0 0 1rem;
  color: var(--gold-light);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.ff-footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}

.ff-footer__menu a {
  color: rgba(255,255,255,.72) !important;
  font-size: .92rem;
  position: relative;
  padding-inline-start: .7rem;
  transition: .25s var(--ease);
}

.ff-footer__menu a::before {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-start: 0;
  width: 4px;
  height: 1px;
  background: var(--gold);
  transform: translateY(-50%);
}

.ff-footer__menu a:hover {
  color: var(--gold) !important;
  padding-inline-start: .95rem;
}

.ff-footer__note {
  margin: 1.1rem 0 0;
  color: rgba(255,255,255,.45);
  font-size: .84rem;
  line-height: 1.7;
}

.ff-footer__bottom {
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .84rem;
  color: rgba(255,255,255,.45);
}

.ff-footer__bottom-line {
  flex: 1;
  height: 1px;
  min-width: 40px;
  background: linear-gradient(90deg, transparent, rgba(196,163,90,.35), transparent);
}

/* legacy safety */
.ff-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.1rem;
}

/* ---------- Pagination ---------- */
.ff-pager {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: .4rem !important;
  margin-top: 2.75rem !important;
  list-style: none !important;
}

.ff-pager__btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 42px !important;
  height: 42px !important;
  padding: 0 .7rem !important;
  border: 1px solid rgba(11,28,51,.12) !important;
  background: #fff !important;
  color: var(--navy) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  float: none !important;
  list-style: none !important;
  box-shadow: none !important;
  transition: .2s var(--ease);
}

.ff-pager__btn:hover {
  border-color: var(--gold) !important;
  color: var(--gold-muted) !important;
}

.ff-pager__btn.is-active {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
  color: var(--gold) !important;
}

.ff-pager__gap {
  color: var(--muted);
  padding: 0 .2rem;
}

/* Kill broken legacy vertical pagers if any remain */
.navigation.paging-navigation,
.pagination,
.wp-paginate {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: .35rem !important;
  margin-top: 2rem !important;
  list-style: none !important;
  padding: 0 !important;
}

.navigation.paging-navigation ul,
.pagination ul,
.wp-paginate ul {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: .35rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
}

.navigation.paging-navigation li,
.pagination li,
.wp-paginate li {
  display: inline-flex !important;
  float: none !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  box-shadow: none !important;
}

.pagination a,
.pagination span,
.wp-paginate a,
.wp-paginate span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 38px !important;
  height: 38px !important;
  margin: 0 !important;
  border: 1px solid rgba(11,28,51,.12) !important;
  background: #fff !important;
  color: var(--navy) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  float: none !important;
}

.pagination .active a,
.pagination .current,
.wp-paginate .current {
  background: var(--navy) !important;
  color: var(--gold) !important;
  border-color: var(--navy) !important;
}

/* Soften leftover bootstrap containers */
.content.container,
.container {
  width: min(1180px, calc(100% - 2.5rem)) !important;
  max-width: none !important;
  margin-inline: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.page-title h1,
.page-title h2 {
  color: var(--navy) !important;
  font-family: inherit !important;
}

.breadcrumb {
  background: transparent !important;
  padding: 0 !important;
  margin: 1.5rem auto .5rem !important;
  color: var(--muted);
}

/* Tags / articles / pdfs list polish */
.col-sm-4-grid {
  width: 33.333% !important;
  float: none !important;
  display: block;
  padding: 0 !important;
}

.article-list-wrapper .row {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 0 !important;
}

.article-list-wrapper .article {
  display: flex;
  flex-direction: column;
  color: inherit !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  height: auto !important;
}

.article-list-wrapper .article img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  height: auto !important;
}

.article-list-wrapper .article .heading {
  color: var(--gold-muted) !important;
  background: transparent !important;
  position: static !important;
  margin: .85rem 0 .35rem !important;
  padding: 0 !important;
  font-size: .78rem !important;
}

.article-list-wrapper .article h3 {
  color: var(--navy) !important;
  font-size: 1.05rem !important;
  margin: 0 0 .4rem !important;
}

.article-list-wrapper .article-content {
  position: static !important;
  background: transparent !important;
  padding: 0 !important;
  color: var(--muted) !important;
}

.article-list-wrapper .tag-list {
  position: static !important;
  background: transparent !important;
  padding: .6rem 0 0 !important;
}

.article-list-wrapper .tag {
  background: transparent !important;
  color: var(--navy-mid) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  margin: 0 .35rem .35rem 0 !important;
  padding: 0 0 1px !important;
}

/* ---------- Motion ---------- */
@keyframes ffRise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes ffFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes ffKenBurns {
  from { transform: scale(1.04) translate3d(0,0,0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

.ff-reveal {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .ff-nav,
  .ff-header__actions .ff-social { display: none; }
  .ff-burger { display: inline-flex; }
  .ff-posts { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
  .ff-post,
  .ff-post--overlay { grid-column: span 3 !important; min-height: 300px !important; }
  .ff-post--half { grid-column: span 3 !important; }
  .ff-post--fill,
  .ff-post--feature { grid-column: 1 / -1 !important; min-height: 340px !important; }
  .article-list-wrapper .row { grid-template-columns: repeat(2, 1fr) !important; }
  .col-sm-4-grid { width: 100% !important; }
  .ff-article,
  .ff-contact { grid-template-columns: 1fr; }
  .ff-footer__grid { grid-template-columns: 1fr 1fr; }
  .ff-footer__brand-col { grid-column: 1 / -1; }
  .ff-hero__veil {
    background:
      linear-gradient(180deg, rgba(6,18,34,.2) 0%, rgba(6,18,34,.55) 55%, rgba(6,18,34,.78) 100%) !important;
  }
  .ff-post-hero { min-height: 46vh; }
  .ff-article--single { grid-template-columns: 1fr; }
  .ff-article .postBody { padding: 1.25rem 1.1rem; }
  .ff-hero__content {
    max-width: none;
    margin-inline: auto !important;
    padding: 6.5rem 0 3.2rem;
  }
  .ff-footer__links { justify-content: flex-start !important; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .ff-posts { grid-template-columns: 1fr !important; }
  .ff-post,
  .ff-post--feature,
  .ff-post--overlay { grid-column: 1 / -1 !important; min-height: 280px !important; }
  .article-list-wrapper .row { grid-template-columns: 1fr !important; }
  .ff-hero { min-height: 86vh; }
  .ff-hero__brand { font-size: 2.4rem; }
  .ff-hero__actions { flex-direction: column; }
  .ff-cta, .ff-cta--ghost { width: 100%; justify-content: center; margin: 0 !important; }
  .ff-section { padding: 3rem 0; }
}
