/*
Theme Name: Follicle Facts
Theme URI: https://dermhair.123456.wang
Author: Dr. Elena Torres, M.D.
Author URI: https://dermhair.123456.wang
Description: A calm, clinical theme for medical and health education publications, pairing deep teal and ivory with serif headlines and chart-like bordered panels.
Version: 1.4.0
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: follicle-facts
Tags: blog, news, two-columns, right-sidebar, custom-menu, featured-images, threaded-comments
*/

/* ---------- Design tokens ---------- */
:root {
  --ffx-teal-deep: #0e4a4d;
  --ffx-teal: #146d70;
  --ffx-teal-soft: #e3efee;
  --ffx-ivory: #faf7f0;
  --ffx-paper: #ffffff;
  --ffx-amber: #c9891f;
  --ffx-amber-soft: #f7ecd8;
  --ffx-ink: #223334;
  --ffx-ink-soft: #5b6f70;
  --ffx-hairline: #d8e0dd;
  --ffx-radius: 10px;
  --ffx-serif: Georgia, "Times New Roman", serif;
  --ffx-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ffx-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ffx-ink);
  background: var(--ffx-ivory);
}
img { max-width: 100%; height: auto; }
a { color: var(--ffx-teal); }
a:hover, a:focus { color: var(--ffx-amber); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ffx-serif);
  color: var(--ffx-teal-deep);
  line-height: 1.25;
  margin: 1.4em 0 .5em;
  overflow-wrap: break-word;
}
body, .ffx-prose { overflow-wrap: break-word; }
h1 { font-size: 2rem; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.25rem; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  overflow: hidden;
  word-wrap: normal !important;
}
.ffx-skiplink:focus {
  position: fixed; left: 1rem; top: 1rem; z-index: 999;
  width: auto; height: auto; clip: auto; clip-path: none;
  background: var(--ffx-teal-deep); color: #fff;
  padding: .6rem 1rem; border-radius: var(--ffx-radius);
}

/* ---------- Shell ---------- */
.ffx-shell { max-width: 1160px; margin: 0 auto; padding: 0 1rem; }

/* ---------- Masthead ---------- */
.ffx-masthead {
  background: var(--ffx-paper);
  border-bottom: 1px solid var(--ffx-hairline);
  position: relative;
  z-index: 50;
}
.ffx-masthead-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}
.ffx-brandmark {
  font-family: var(--ffx-serif);
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ffx-teal-deep);
  letter-spacing: .01em;
}
.ffx-brandmark:hover { color: var(--ffx-teal); }
.ffx-brandmark img { display: block; max-height: 48px; width: auto; }

/* ---------- Primary nav ---------- */
.ffx-navtoggle {
  display: none;
  background: none;
  border: 1px solid var(--ffx-hairline);
  border-radius: var(--ffx-radius);
  padding: .5rem .6rem;
  cursor: pointer;
  color: var(--ffx-teal-deep);
  line-height: 0;
}
.ffx-navtoggle svg { width: 20px; height: 20px; }

/* Drawer chrome (mask, panel head, in-drawer search) is mobile-only. */
.ffx-veil {
  position: fixed; inset: 0;
  background: rgba(14, 74, 77, .45);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  z-index: 80;
}
.ffx-veil.ffx-on { opacity: 1; pointer-events: auto; }
.ffx-drawer-top, .ffx-drawer-search { display: none; }
.ffx-drawer-close {
  background: var(--ffx-teal-soft);
  border: none;
  border-radius: var(--ffx-radius);
  color: var(--ffx-teal-deep);
  padding: .45rem .7rem;
  font: inherit;
  cursor: pointer;
}
.ffx-primary-nav ul { list-style: none; margin: 0; padding: 0; }
.ffx-primary-nav > ul { display: flex; align-items: center; gap: .25rem; }
.ffx-primary-nav a {
  display: block;
  padding: .55rem .75rem;
  text-decoration: none;
  color: var(--ffx-ink);
  font-size: .95rem;
  border-radius: var(--ffx-radius);
}
.ffx-primary-nav a:hover, .ffx-primary-nav a:focus { background: var(--ffx-teal-soft); color: var(--ffx-teal-deep); }
.ffx-primary-nav .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  margin-left: .4em;
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(2px);
}
.ffx-primary-nav .sub-menu {
  position: absolute;
  min-width: 240px;
  background: var(--ffx-paper);
  border: 1px solid var(--ffx-hairline);
  border-radius: var(--ffx-radius);
  padding: .4rem;
  box-shadow: none;
  display: none;
  z-index: 60;
}
.ffx-primary-nav .sub-menu a { font-size: .9rem; }
.ffx-primary-nav li { position: relative; }
@media (min-width: 901px) {
  .ffx-primary-nav li:hover > .sub-menu,
  .ffx-primary-nav li:focus-within > .sub-menu { display: block; }
}

/* ---------- Search ---------- */
.ffx-search-toggle {
  background: none;
  border: 1px solid var(--ffx-hairline);
  border-radius: var(--ffx-radius);
  padding: .45rem .6rem;
  cursor: pointer;
  color: var(--ffx-teal-deep);
  line-height: 0;
}
.ffx-search-toggle svg { width: 18px; height: 18px; }
.ffx-search-drop {
  display: none;
  position: absolute;
  right: 1rem;
  top: 100%;
  width: min(360px, calc(100vw - 2rem));
  background: var(--ffx-paper);
  border: 1px solid var(--ffx-hairline);
  border-radius: var(--ffx-radius);
  padding: .75rem;
  z-index: 70;
}
.ffx-search-drop.ffx-open { display: block; }
.ffx-searchform { display: flex; gap: .5rem; }
.ffx-searchform input[type="search"] {
  flex: 1;
  padding: .55rem .75rem;
  border: 1px solid var(--ffx-hairline);
  border-radius: var(--ffx-radius);
  font: inherit;
  background: var(--ffx-ivory);
}
.ffx-searchform button {
  padding: .55rem .9rem;
  border: none;
  border-radius: var(--ffx-radius);
  background: var(--ffx-teal-deep);
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.ffx-searchform button:hover { background: var(--ffx-teal); }

/* ---------- Breadcrumb ---------- */
.ffx-crumbtrail {
  font-size: .85rem;
  color: var(--ffx-ink-soft);
  padding: .8rem 0;
}
.ffx-crumbtrail ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.ffx-crumbtrail li:not(:first-child)::before { content: "›"; margin: 0 .35rem; color: var(--ffx-hairline); }
.ffx-crumbtrail a { color: var(--ffx-teal); text-decoration: none; }

/* ---------- Layout grid ---------- */
.ffx-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}
@media (min-width: 901px) {
  .ffx-columns { grid-template-columns: minmax(0, 1fr) 320px; }
}

/* ---------- Hero ---------- */
.ffx-hero {
  background: var(--ffx-teal-deep);
  color: #f2f6f4;
  border-radius: var(--ffx-radius);
  padding: 2.5rem 2rem;
  margin-top: 1.5rem;
}
.ffx-hero h1 { color: #fff; margin: 0 0 .5rem; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.ffx-hero p { max-width: 46em; margin: 0 0 1.25rem; color: #d7e4e0; }
.ffx-hero-cta {
  display: inline-block;
  background: var(--ffx-amber);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: .7rem 1.3rem;
  border-radius: var(--ffx-radius);
}
.ffx-hero-cta:hover, .ffx-hero-cta:focus { background: #b2760f; color: #fff; }

/* ---------- Post list (magazine hybrid) ---------- */
.ffx-leadstory {
  border: 1px solid var(--ffx-hairline);
  border-radius: var(--ffx-radius);
  background: var(--ffx-paper);
  overflow: clip;
  margin-bottom: 1.5rem;
}
.ffx-leadstory-figure { margin: 0; }
.ffx-leadstory-figure img { display: block; width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.ffx-leadstory-body { padding: 1.5rem; }
.ffx-leadstory-body h2 { margin: .25rem 0 .5rem; font-size: 1.7rem; }
.ffx-leadstory-body h2 a, .ffx-storyrow h2 a { color: inherit; text-decoration: none; }
.ffx-leadstory-body h2 a:hover, .ffx-storyrow h2 a:hover { color: var(--ffx-teal); }

.ffx-storyrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  border: 1px solid var(--ffx-hairline);
  border-radius: var(--ffx-radius);
  background: var(--ffx-paper);
  padding: 1.1rem;
  margin-bottom: 1rem;
}
@media (min-width: 641px) {
  .ffx-storyrow.ffx-has-thumb { grid-template-columns: 220px minmax(0, 1fr); }
}
.ffx-storyrow-figure { margin: 0; }
.ffx-storyrow-figure img {
  display: block; width: 100%; aspect-ratio: 4/3;
  object-fit: cover; border-radius: calc(var(--ffx-radius) - 3px);
}
.ffx-storyrow h2 { margin: 0 0 .35rem; font-size: 1.25rem; }
.ffx-storyrow p { margin: .25rem 0 0; color: var(--ffx-ink-soft); font-size: .95rem; }

.ffx-dateline {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ffx-amber);
  font-weight: 600;
}
.ffx-dateline a { color: inherit; text-decoration: none; }

/* ---------- Pagination ---------- */
.ffx-pagerail { margin: 2rem 0 0; }
.ffx-pagerail .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; }
.ffx-pagerail .page-numbers {
  display: inline-block;
  padding: .45rem .85rem;
  border: 1px solid var(--ffx-hairline);
  border-radius: var(--ffx-radius);
  background: var(--ffx-paper);
  text-decoration: none;
  color: var(--ffx-ink);
}
.ffx-pagerail .page-numbers.current { background: var(--ffx-teal-deep); border-color: var(--ffx-teal-deep); color: #fff; }
.ffx-pagerail a.page-numbers:hover { border-color: var(--ffx-teal); color: var(--ffx-teal); }

/* ---------- Archive header ---------- */
.ffx-archive-intro {
  border-left: 4px solid var(--ffx-amber);
  background: var(--ffx-paper);
  border-radius: 0 var(--ffx-radius) var(--ffx-radius) 0;
  padding: 1.2rem 1.4rem;
  margin: 0 0 1.5rem;
}
.ffx-archive-intro h1 { margin: 0 0 .3rem; font-size: 1.5rem; }
.ffx-archive-intro p { margin: 0; color: var(--ffx-ink-soft); }

/* ---------- Sidebar ---------- */
.ffx-siderail { min-width: 0; }
.ffx-sidepanel {
  border: 1px solid var(--ffx-hairline);
  border-radius: var(--ffx-radius);
  background: var(--ffx-paper);
  padding: 1.2rem 1.3rem;
  margin-bottom: 1.25rem;
}
.ffx-sidepanel-title {
  font-size: 1.05rem;
  margin: 0 0 .8rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--ffx-teal-soft);
}
.ffx-sidepanel ul { list-style: none; margin: 0; padding: 0; }
.ffx-sidepanel li { padding: .35rem 0; border-bottom: 1px dashed var(--ffx-hairline); }
.ffx-sidepanel li:last-child { border-bottom: 0; }
.ffx-sidepanel a { text-decoration: none; }

/* ---------- Single article ---------- */
.ffx-dossier {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding: 1rem 0 3rem;
}
@media (min-width: 981px) {
  .ffx-dossier { grid-template-columns: 260px minmax(0, 1fr); }
  .ffx-tocrail { position: sticky; top: 1.5rem; align-self: start; }
}
.ffx-tocpanel {
  border: 1px solid var(--ffx-hairline);
  border-radius: var(--ffx-radius);
  background: var(--ffx-paper);
  padding: 1.1rem 1.2rem;
  font-size: .9rem;
}
.ffx-tocpanel h2 { margin: 0 0 .6rem; font-size: 1rem; }
.ffx-tocpanel ol { margin: 0; padding-left: 1.2rem; }
.ffx-tocpanel li { margin: .3rem 0; }
.ffx-tocpanel a { text-decoration: none; color: var(--ffx-ink); }
.ffx-tocpanel a:hover { color: var(--ffx-teal); }
.ffx-tocpanel .ffx-toc-sub { list-style: circle; padding-left: 1.1rem; }

.ffx-dossier-article {
  background: var(--ffx-paper);
  border: 1px solid var(--ffx-hairline);
  border-radius: var(--ffx-radius);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  min-width: 0;
}
.ffx-dossier-article h1 { margin-top: 0; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.ffx-bylinebar {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem;
  font-size: .88rem; color: var(--ffx-ink-soft);
  padding-bottom: 1.2rem; margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--ffx-hairline);
}
.ffx-heroimage { margin: 0 0 1.5rem; }
.ffx-heroimage img { display: block; width: 100%; height: auto; border-radius: var(--ffx-radius); }

.ffx-prose { font-size: 1.05rem; }
.ffx-prose > * { max-width: 44em; }
.ffx-prose img { border-radius: var(--ffx-radius); }
.ffx-prose blockquote {
  margin: 1.5em 0;
  padding: .8em 1.2em;
  border-left: 4px solid var(--ffx-amber);
  background: var(--ffx-amber-soft);
  border-radius: 0 var(--ffx-radius) var(--ffx-radius) 0;
  font-style: italic;
}
.ffx-prose table { border-collapse: collapse; width: 100%; }
.ffx-prose th, .ffx-prose td { border: 1px solid var(--ffx-hairline); padding: .5em .75em; text-align: left; }
.ffx-prose th { background: var(--ffx-teal-soft); }
.ffx-prose pre { background: var(--ffx-teal-deep); color: #e8f1ee; padding: 1em; border-radius: var(--ffx-radius); overflow-x: auto; }

.ffx-taglist { margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.ffx-taglist a {
  display: inline-block;
  font-size: .82rem;
  padding: .3rem .8rem;
  border: 1px solid var(--ffx-hairline);
  border-radius: var(--ffx-radius);
  text-decoration: none;
  color: var(--ffx-ink-soft);
  background: var(--ffx-ivory);
}
.ffx-taglist a:hover { border-color: var(--ffx-teal); color: var(--ffx-teal); }

/* ---------- Author bio ---------- */
.ffx-clinician-card {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-top: 2.5rem;
  padding: 1.3rem;
  border: 1px solid var(--ffx-hairline);
  border-radius: var(--ffx-radius);
  background: var(--ffx-teal-soft);
}
.ffx-clinician-card img { border-radius: 50%; flex-shrink: 0; }
.ffx-clinician-card h2 { margin: 0 0 .2rem; font-size: 1.1rem; }
.ffx-clinician-role { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ffx-amber); font-weight: 700; }
.ffx-clinician-card p { margin: .4rem 0 0; font-size: .95rem; }

/* ---------- Related posts ---------- */
.ffx-furtherreading { margin-top: 2.5rem; }
.ffx-furtherreading h2 { font-size: 1.3rem; }
.ffx-furtherreading-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  list-style: none; margin: 0; padding: 0;
}
.ffx-furtherreading-grid article {
  border: 1px solid var(--ffx-hairline);
  border-radius: var(--ffx-radius);
  background: var(--ffx-ivory);
  padding: 1rem;
  height: 100%;
}
.ffx-furtherreading-grid h3 { margin: .3rem 0 0; font-size: 1rem; }
.ffx-furtherreading-grid h3 a { text-decoration: none; color: inherit; }
.ffx-furtherreading-grid h3 a:hover { color: var(--ffx-teal); }

/* ---------- Comments ---------- */
.ffx-consultroom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--ffx-hairline); }
.ffx-consultroom-title { font-size: 1.3rem; }
.ffx-remarklist, .ffx-remarklist .children { list-style: none; margin: 0; padding: 0; }
.ffx-remarklist .children { margin-left: 1.5rem; }
.ffx-remark {
  border: 1px solid var(--ffx-hairline);
  border-radius: var(--ffx-radius);
  background: var(--ffx-paper);
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
}
.ffx-remark-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .5rem; }
.ffx-remark-head img { border-radius: 50%; }
.ffx-remark-who { font-weight: 600; color: var(--ffx-teal-deep); }
.ffx-remark-when { font-size: .8rem; color: var(--ffx-ink-soft); text-decoration: none; }
.ffx-remark-body { font-size: .95rem; }
.ffx-remark-body p:last-child { margin-bottom: 0; }
.ffx-remark-reply a {
  display: inline-block; margin-top: .5rem;
  font-size: .82rem; font-weight: 600;
  color: var(--ffx-amber); text-decoration: none;
}
.ffx-remark-pending { font-style: italic; color: var(--ffx-ink-soft); font-size: .85rem; }
.ffx-remark-nav { display: flex; justify-content: space-between; margin: 1rem 0; }
.ffx-consultform label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .25rem; }
.ffx-consultform p { margin: 0 0 1rem; }
.ffx-consultform input[type="text"],
.ffx-consultform input[type="email"],
.ffx-consultform input[type="url"],
.ffx-consultform textarea {
  width: 100%;
  padding: .6rem .8rem;
  border: 1px solid var(--ffx-hairline);
  border-radius: var(--ffx-radius);
  font: inherit;
  background: var(--ffx-ivory);
}
.ffx-consultform textarea { min-height: 140px; }
.ffx-consultform input:focus, .ffx-consultform textarea:focus {
  outline: 2px solid var(--ffx-teal);
  outline-offset: 1px;
}
.ffx-consultform .submit, .ffx-consultform input[type="submit"] {
  background: var(--ffx-teal-deep);
  color: #fff; border: none; cursor: pointer;
  padding: .7rem 1.4rem; border-radius: var(--ffx-radius);
  font: inherit; font-weight: 600;
}
.ffx-consultform input[type="submit"]:hover { background: var(--ffx-teal); }

/* ---------- Pages / 404 / search ---------- */
.ffx-plainpage {
  background: var(--ffx-paper);
  border: 1px solid var(--ffx-hairline);
  border-radius: var(--ffx-radius);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  margin: 1.5rem 0 3rem;
}
.ffx-plainpage h1 { margin-top: 0; }
.ffx-notfound { text-align: center; padding: 3rem 1rem; }
.ffx-notfound-code { font-family: var(--ffx-serif); font-size: 5rem; color: var(--ffx-amber); margin: 0; line-height: 1; }

/* ---------- Footer ---------- */
.ffx-basement {
  background: var(--ffx-teal-deep);
  color: #cfe0dc;
  margin-top: auto;
}
.ffx-basement-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  padding-top: 2.2rem;
  padding-bottom: 2.2rem;
}
@media (min-width: 721px) {
  .ffx-basement-row { grid-template-columns: 1fr 1fr; align-items: center; }
}
.ffx-basement-brand { font-family: var(--ffx-serif); font-size: 1.2rem; color: #fff; text-decoration: none; }
.ffx-basement-copy { margin: .5rem 0 0; font-size: .85rem; }
.ffx-basement-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .25rem 1.4rem;
}
@media (min-width: 721px) { .ffx-basement-nav ul { justify-content: flex-end; } }
.ffx-basement-nav a { color: #cfe0dc; text-decoration: none; font-size: .9rem; }
.ffx-basement-nav a:hover { color: var(--ffx-amber); }

/* Sub-menu toggle buttons are injected server-side; desktop uses hover/focus, so hide them there. */
.ffx-subtoggle { display: none; }

/* ---------- Mobile navigation: right slide-in drawer ---------- */
@media (max-width: 900px) {
  .ffx-navtoggle { display: inline-block; }
  .ffx-search-toggle { display: none; }

  .ffx-drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 84%;
    max-width: 340px;
    background: var(--ffx-paper);
    transform: translateX(105%);
    transition: transform .28s ease;
    z-index: 90;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: -10px 0 28px rgba(14, 74, 77, .18);
  }
  .ffx-drawer.ffx-open { transform: translateX(0); }

  .ffx-drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .85rem 1rem;
    border-bottom: 1px solid var(--ffx-hairline);
  }
  .ffx-drawer-label {
    font-family: var(--ffx-serif);
    font-weight: 700;
    color: var(--ffx-teal-deep);
  }
  .ffx-drawer-search {
    display: block;
    padding: 1rem 1rem 0;
  }

  .ffx-primary-nav { padding: .5rem 1rem 1.5rem; }
  .ffx-primary-nav > ul { display: block; }
  .ffx-primary-nav a {
    padding: .75rem .5rem;
    border-bottom: 1px solid var(--ffx-hairline);
    border-radius: 0;
  }
  .ffx-primary-nav > ul > li:last-child > a { border-bottom: 0; }
  .ffx-primary-nav .sub-menu {
    position: static;
    border: none;
    border-left: 2px solid var(--ffx-teal-soft);
    border-radius: 0;
    padding: 0 0 0 .8rem;
    margin-left: .75rem;
  }
  .ffx-primary-nav .sub-menu a { border-bottom: 0; color: var(--ffx-ink-soft); }
  .ffx-primary-nav li.ffx-subopen > .sub-menu { display: block; }
  .ffx-primary-nav .menu-item-has-children > a::after { content: none; }
  .ffx-subtoggle {
    display: block;
    position: absolute; right: 0; top: 0;
    width: 44px; height: 44px;
    background: none; border: none; cursor: pointer;
    color: var(--ffx-teal-deep); font-size: 1.1rem;
  }
  .ffx-subtoggle::before { content: "+"; }
  li.ffx-subopen > .ffx-subtoggle::before { content: "−"; }
  .ffx-primary-nav .menu-item-has-children > a { padding-right: 48px; }
}

/* ---------- WP core alignment classes ---------- */
.alignleft { float: left; margin: .4em 1.2em .8em 0; }
.alignright { float: right; margin: .4em 0 .8em 1.2em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .85rem; color: var(--ffx-ink-soft); text-align: center; margin: .4em 0; }
.sticky { outline: 2px solid var(--ffx-amber); }
.bypostauthor .ffx-remark-who::after {
  content: "Author";
  margin-left: .5em;
  font-size: .7rem;
  background: var(--ffx-amber);
  color: #fff;
  border-radius: 6px;
  padding: .1em .5em;
  vertical-align: middle;
}
