/*
 Theme Name:   Understrap Child
 Theme URI:    https://understrap.com
 Description:  Understrap Child Theme
 Author:       the Understrap Contributors
 Author URI:   https://github.com/understrap/understrap-child/graphs/contributors
 Template:     understrap
 Version:      1.2.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  understrap-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
 GitHub Theme URI: understrap/understrap-child
*/
.ci-flipbook-single {
  padding: 60px 0;
  background: #f5f5f5;
}

.ci-flipbook-header {
  text-align: center;
  margin-bottom: 30px;
}

.ci-flipbook-header h1 {
  font-size: 42px;
  margin: 0;
}

.ci-flipbook-content {
  max-width: 1200px;
  margin: 0 auto;
}
/* Florence Focus site polish */
:root {
  --ff-purple: #5b2495;
  --ff-purple-dark: #351060;
  --ff-purple-soft: #f3ebfb;
  --ff-lavender: #ead8fb;
  --ff-ink: #15121a;
  --ff-muted: #67616f;
  --ff-line: #e8e2ee;
  --ff-bg: #ffffff;
  --ff-card: #ffffff;
  --ff-radius: 18px;
  --ff-shadow: 0 18px 45px rgba(31, 14, 55, 0.1);
}

body.ff-site {
  background: #fff;
  color: var(--ff-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ff-site a {
  color: inherit;
  text-decoration: none;
}

.ff-container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.ff-topbar {
  background: linear-gradient(90deg, var(--ff-purple-dark), var(--ff-purple));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.ff-topbar-inner,
.ff-header-inner,
.ff-footer-bottom .ff-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ff-topbar-inner {
  min-height: 36px;
}

.ff-social-mini,
.ff-social-large {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ff-social-mini a {
  color: #fff;
  font-weight: 900;
  opacity: 0.92;
}

.ff-header {
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--ff-line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
}

.admin-bar .ff-header {
  top: 32px;
}

.ff-header-inner {
  min-height: 110px;
}

.ff-logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.ff-logo-main {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 900;
  letter-spacing: -0.045em;
  color: #050505;
}

.ff-logo-main strong {
  color: var(--ff-purple);
  font-weight: inherit;
}

.ff-logo-sub {
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #58515f;
  font-weight: 700;
}

.ff-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ff-nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ff-nav-list a {
  color: var(--ff-ink);
  font-size: 14px;
  font-weight: 800;
  padding: 12px 0;
  position: relative;
}

.ff-nav-list a:hover,
.ff-nav-list .current-menu-item > a {
  color: var(--ff-purple);
}

.ff-nav-list .current-menu-item > a::after,
.ff-nav-list a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 3px;
  border-radius: 3px;
  background: var(--ff-purple);
}

.ff-search-link {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--ff-purple-soft);
  color: var(--ff-purple);
  border-radius: 12px;
  font-size: 28px;
  font-weight: 900;
  padding-bottom: 8px;
}

.ff-menu-toggle {
  display: none;
  border: 0;
  background: var(--ff-purple);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
}

.ff-main {
  background: linear-gradient(180deg, #fff 0%, #fbf9fd 58%, #fff 100%);
}

.ff-hero {
  padding-top: 30px;
}

.ff-hero-card {
  min-height: 390px;
  border-radius: 12px;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0.68) 34%, rgba(0,0,0,0.1) 66%),
    var(--ff-hero-image);
  background-size: cover;
  background-position: center;
  box-shadow: var(--ff-shadow);
  display: flex;
  align-items: center;
}

.ff-hero-copy {
  width: min(520px, 92%);
  padding: clamp(32px, 5vw, 58px);
  color: #fff;
}

.ff-eyebrow {
  display: inline-flex;
  align-items: center;
  background: var(--ff-purple);
  color: #fff;
  padding: 8px 16px;
  border-radius: 7px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 900;
}

.ff-hero h1,
.ff-page-hero h1 {
  margin: 20px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.ff-hero p,
.ff-page-hero p {
  color: rgba(255,255,255,0.88);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.ff-btn,
.ff-newsletter-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ff-purple);
  color: #fff !important;
  border-radius: 8px;
  padding: 13px 22px;
  border: 0;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(91, 36, 149, 0.22);
}

.ff-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  padding-block: 28px 20px;
}

.ff-section-heading,
.ff-card-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin: 0 0 20px;
}

.ff-section-heading h2,
.ff-card-heading h2,
.ff-newsletter-card h2,
.ff-highlight-card h2,
.ff-map-intro h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 900;
}

.ff-section-heading h2::after,
.ff-map-intro h2::after,
.ff-highlight-card h2::after,
.ff-card-heading h2::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  border-radius: 99px;
  margin-top: 10px;
  background: var(--ff-purple);
}

.ff-section-heading a,
.ff-card-heading a,
.ff-highlight-card a {
  color: #000;
  font-size: 13px;
  font-weight: 600;
}

.ff-story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ff-story-card,
.ff-newsletter-card,
.ff-events-card,
.ff-map-intro,
.ff-highlight-card,
.ff-event-card,
.ff-empty-state {
  background: var(--ff-card);
  border: 1px solid var(--ff-line);
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(31,14,55,0.055);
}

.ff-story-card {
  overflow: hidden;
}

.ff-card-image {
  display: block;
  min-height: 162px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.ff-card-image span {
  position: absolute;
  left: 12px;
  top: 12px;
  background: var(--ff-purple);
  color: #fff;
  border-radius: 5px;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.ff-card-body {
  padding: 18px;
}

.ff-card-body h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

.ff-card-body p {
  margin: 0 0 14px;
  color: #403a49;
  line-height: 1.48;
  font-size: 14px;
}

.ff-card-body time {
  color: #887f92;
  font-size: 12px;
  font-weight: 700;
}

.ff-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ff-newsletter-card,
.ff-events-card {
  padding: 24px;
  background: linear-gradient(180deg, #fff, #fbf7ff);
}

.ff-icon-badge {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--ff-purple);
  color: #fff;
  border-radius: 50%;
  font-size: 24px;
  margin-bottom: 16px;
}

.ff-newsletter-card p {
  color: var(--ff-muted);
  font-size: 14px;
  line-height: 1.55;
}

.ff-newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 16px;
}

.ff-newsletter-form input {
  min-width: 0;
  border: 1px solid var(--ff-line);
  border-radius: 7px;
  padding: 11px 12px;
}

.ff-newsletter-form button {
  padding: 11px 15px;
  box-shadow: none;
}

.ff-newsletter-card small {
  display: block;
  color: #8a8293;
  margin-top: 10px;
  text-align: center;
}

.ff-event-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.ff-event-item,
.ff-event-card {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 14px;
  align-items: start;
}

.ff-event-date {
  background: var(--ff-lavender);
  color: var(--ff-purple-dark);
  border-radius: 8px;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ff-event-date em {
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.ff-event-date strong {
  font-size: 24px;
  font-weight: 950;
}

.ff-event-item strong {
  display: block;
  font-size: 14px;
  line-height: 1.25;
}

.ff-event-item small {
  display: block;
  color: var(--ff-muted);
  margin-top: 4px;
  line-height: 1.35;
}

.ff-issues-heading {
  margin-top: 28px;
}

.ff-issue-row,
.ff-archive-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.ff-issue-card a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: var(--ff-purple-dark);
  box-shadow: 0 12px 26px rgba(31,14,55,0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ff-issue-card a:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(31,14,55,0.18);
}

.ff-issue-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4.15;
  object-fit: cover;
  background: #eee;
}

.ff-issue-card span {
  display: block;
  color: #fff;
  background: linear-gradient(90deg, var(--ff-purple-dark), var(--ff-purple));
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.03em;
  padding: 9px 6px;
}

.ff-map-section {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: stretch;
  padding-block: 22px 48px;
}

.ff-map-intro,
.ff-highlight-card {
  padding: 26px;
  background: linear-gradient(180deg, #fff, var(--ff-purple-soft));
}

.ff-map-intro p,
.ff-highlight-card p {
  color: var(--ff-muted);
  line-height: 1.58;
  font-size: 14px;
}

.ff-map-frame {
  background: #fff;
  border: 1px solid var(--ff-line);
  border-radius: 12px;
  padding: 10px;
  box-shadow: var(--ff-shadow);
  display: flex;
  align-items: center;
}

.ff-map-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.ff-highlight-card {
  display: grid;
  gap: 18px;
}

.ff-highlight-card article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
}

.ff-highlight-card article > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--ff-purple);
  color: #fff;
  border-radius: 50%;
  font-size: 18px;
}

.ff-highlight-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 900;
}

.ff-highlight-card p {
  margin: 0 0 4px;
}

.ff-footer {
  background: #fbf7ff;
  border-top: 1px solid var(--ff-line);
}

.ff-footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  padding-block: 34px;
}

.ff-footer-logo .ff-logo-main {
  font-size: 30px;
}

.ff-footer-logo .ff-logo-sub {
  font-size: 9px;
}

.ff-footer p {
  color: var(--ff-muted);
  line-height: 1.55;
  max-width: 300px;
    padding-left: 10px;
}

.ff-footer h3 {
  font-size: 14px;
  margin: 0 0 12px;
  font-weight: 900;
}

.ff-footer a:not(.ff-logo):not(.ff-outline-btn) {
  display: block;
  color: #332b3d;
  font-size: 14px;
  margin-bottom: 7px;
}

.ff-social-large a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid !important;
  place-items: center;
  background: var(--ff-purple);
  color: #fff !important;
  font-weight: 900;
}

.ff-outline-btn {
  display: inline-flex;
  margin-top: 16px;
  border: 1px solid var(--ff-purple);
  color: var(--ff-purple) !important;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 900;
}

.ff-footer-bottom {
  background: linear-gradient(90deg, var(--ff-purple-dark), var(--ff-purple));
  color: #fff;
  font-size: 12px;
  padding: 10px 0;
}

.ff-page-hero {
  padding: 54px 0 24px;
}

.ff-page-hero h1 {
  color: var(--ff-ink);
  margin-bottom: 12px;
}

.ff-page-hero p {
  color: var(--ff-muted);
  max-width: 720px;
}

.ff-archive-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-bottom: 58px;
}

.ff-issue-card-large img {
  aspect-ratio: 3 / 4.05;
}

.ff-flipbook-wrap {
  padding-bottom: 56px;
}

.ff-flipbook-titlebar {
  text-align: center;
}

.ff-back-link {
  color: var(--ff-purple);
  font-weight: 900;
}

.ff-events-grid {
  display: grid;
  gap: 18px;
  padding-bottom: 60px;
}

.ff-event-card {
  padding: 22px;
  grid-template-columns: 74px 1fr;
}

.ff-event-card h2 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.ff-event-card p {
  margin: 0 0 8px;
  color: var(--ff-purple);
  font-weight: 900;
}

.ff-event-excerpt p {
  color: var(--ff-muted);
  font-weight: 400;
  margin: 0;
}

.ff-empty-state {
  padding: 36px;
  grid-column: 1 / -1;
  text-align: center;
}

@media (max-width: 1100px) {
  .ff-content-layout,
  .ff-map-section {
    grid-template-columns: 1fr;
  }

  .ff-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ff-issue-row,
  .ff-archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ff-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .admin-bar .ff-header {
    top: 0;
  }

  .ff-header-inner {
    min-height: 86px;
    flex-wrap: wrap;
  }

  .ff-logo-main {
    font-size: 36px;
  }

  .ff-logo-sub {
    font-size: 10px;
  }

  .ff-menu-toggle {
    display: inline-flex;
  }

  .ff-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 18px;
  }

  .ff-nav.is-open {
    display: flex;
  }

  .ff-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .ff-nav-list a {
    display: block;
    padding: 12px 0;
  }

  .ff-search-link {
    width: 100%;
    height: 42px;
  }

  .ff-hero-card {
    min-height: 430px;
    background-image:
      linear-gradient(180deg, rgba(0,0,0,0.83) 0%, rgba(0,0,0,0.68) 58%, rgba(0,0,0,0.35) 100%),
      var(--ff-hero-image);
  }

  .ff-content-layout {
    gap: 24px;
  }

  .ff-sidebar,
  .ff-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ff-container {
    width: min(100% - 28px, 1180px);
  }

  .ff-topbar-inner {
    justify-content: center;
    text-align: center;
  }

  .ff-social-mini {
    display: none;
  }

  .ff-story-grid,
  .ff-issue-row,
  .ff-archive-grid {
    grid-template-columns: 1fr;
  }

  .ff-card-image {
    min-height: 210px;
  }

  .ff-newsletter-form {
    grid-template-columns: 1fr;
  }

  .ff-footer-bottom .ff-container {
    flex-direction: column;
    text-align: center;
  }
}

/* Dynamic homepage helpers */
.ff-hero-card-no-image {
  background-image: linear-gradient(135deg, var(--ff-purple-dark), var(--ff-purple));
}

.ff-card-image-empty {
  background: linear-gradient(135deg, var(--ff-purple-soft), #fff);
}

.ff-issue-placeholder {
  aspect-ratio: 3 / 4.15;
  display: grid;
  place-items: center;
  padding: 18px;
  background: linear-gradient(150deg, #2b103f, var(--ff-purple));
  color: #fff;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 3vw, 30px);
  line-height: 1.1;
}

.ff-dynamic-widget .ff-widget + .ff-widget {
  margin-top: 22px;
}

.ff-dynamic-widget .ff-widget-title,
.ff-dynamic-widget h2,
.ff-dynamic-widget h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.ff-empty-state-small {
  padding: 22px;
  text-align: left;
}

.ff-empty-state-small h3 {
  margin-top: 0;
}

/* Florence Focus global header/footer fallback menu cleanup */
.ff-page-menu-fallback,
.ff-page-menu-fallback ul,
.ff-footer-menu,
.ff-footer-menu ul,
.ff-social-menu,
.ff-social-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ff-page-menu-fallback ul,
.ff-footer-menu,
.ff-footer-menu ul,
.ff-social-menu,
.ff-social-menu ul {
  display: contents;
}

.ff-nav .ff-page-menu-fallback > ul,
.ff-nav .ff-page-menu-fallback ul,
.ff-nav-list {
  list-style: none;
}

.ff-footer-menu a,
.ff-footer .ff-page-menu-fallback a {
  display: block;
  color: inherit;
  text-decoration: none;
  margin: 0 0 8px;
}

.ff-footer-menu a:hover,
.ff-footer .ff-page-menu-fallback a:hover {
  color: var(--ff-purple);
}

.ff-social-mini .ff-social-menu,
.ff-social-large .ff-social-menu {
  display: flex;
  gap: 10px;
  align-items: center;
}

body.ff-site .site-main,
body.ff-site #main {
  min-height: 40vh;
}

/* Florence Focus blog archive + single post polish */
.ff-blog-hero {
  padding-bottom: 10px;
}

.ff-blog-layout {
  padding-bottom: 62px;
}

.ff-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ff-post-card {
  background: #fff;
  border: 1px solid var(--ff-line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(31,14,55,0.055);
  transition: transform .2s ease, box-shadow .2s ease;
}

.ff-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(31,14,55,0.12);
}

.ff-post-thumb {
  min-height: 220px;
  display: block;
  position: relative;
  background-image: var(--ff-post-image), linear-gradient(135deg, var(--ff-purple-soft), #fff);
  background-size: cover;
  background-position: center;
}

.ff-post-thumb-empty {
  background-image: linear-gradient(135deg, #2b103f, var(--ff-purple));
}

.ff-post-thumb span {
  position: absolute;
  left: 14px;
  top: 14px;
  background: var(--ff-purple);
  color: #fff;
  border-radius: 6px;
  padding: 6px 9px;
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 900;
}

.ff-post-card-body {
  padding: 22px;
}

.ff-post-card-body time,
.ff-post-meta {
  color: #82778e;
  font-size: 13px;
  font-weight: 800;
}

.ff-post-card-body h2 {
  margin: 9px 0 11px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 900;
}

.ff-post-card-body h2 a,
.ff-single-header h1 a {
  color: var(--ff-ink);
  text-decoration: none;
}

.ff-post-card-body p {
  margin: 0 0 14px;
  color: var(--ff-muted);
  line-height: 1.58;
}

.ff-read-more,
.ff-event-more {
  color: var(--ff-purple);
  font-weight: 900;
  text-decoration: none;
}

.ff-pagination {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.ff-pagination .page-numbers {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--ff-line);
  background: #fff;
  color: var(--ff-ink);
  font-weight: 900;
  text-decoration: none;
}

.ff-pagination .page-numbers.current,
.ff-pagination .page-numbers:hover {
  background: var(--ff-purple);
  border-color: var(--ff-purple);
  color: #fff;
}

.ff-single-header {
  max-width: 880px;
  padding-top: 58px;
  text-align: center;
}

.ff-single-header h1 {
  margin: 18px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 6vw, 72px);
  line-height: .98;
  letter-spacing: -.06em;
  font-weight: 900;
  color: var(--ff-ink);
}

.ff-post-meta {
  display: inline-flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.ff-post-meta span::before {
  content: "•";
  margin-right: 12px;
  color: var(--ff-purple);
}

.ff-single-featured {
  max-width: 1200px;
  margin-top: 34px;
}

.ff-single-featured img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: var(--ff-shadow);
}

.ff-single-body {
  max-width: 820px;
  padding-block: 38px 72px;
}

.ff-entry-content {
  background: #fff;
  border: 1px solid var(--ff-line);
  border-radius: 12px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 12px 35px rgba(31,14,55,0.055);
}

.ff-entry-content p,
.ff-event-content-card p {
  color: #332b3d;
  font-size: 18px;
  line-height: 1.78;
}

.ff-entry-content h2,
.ff-entry-content h3,
.ff-event-content-card h2,
.ff-event-content-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--ff-ink);
}

/* Florence Focus event single */
.ff-single-event-page .ff-page-hero p {
  color: var(--ff-muted);
}

.ff-event-single-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 70px;
}

.ff-event-details-card,
.ff-event-content-card {
  background: #fff;
  border: 1px solid var(--ff-line);
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(31,14,55,0.055);
}

.ff-event-details-card {
  padding: 26px;
  position: sticky;
  top: 120px;
}

.ff-event-details-card h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  letter-spacing: -.04em;
  font-weight: 900;
}

.ff-event-details-card div {
  padding: 14px 0;
  border-top: 1px solid var(--ff-line);
}

.ff-event-details-card strong,
.ff-event-details-card span {
  display: block;
}

.ff-event-details-card strong {
  color: var(--ff-purple);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}

.ff-event-details-card span {
  color: var(--ff-ink);
  font-weight: 800;
}

.ff-event-link-btn {
  margin-top: 18px;
  width: 100%;
}

.ff-event-content-card {
  padding: clamp(28px, 5vw, 52px);
}

@media (max-width: 1100px) {
  .ff-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ff-event-single-layout {
    grid-template-columns: 1fr;
  }

  .ff-event-details-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .ff-post-grid {
    grid-template-columns: 1fr;
  }

  .ff-post-thumb {
    min-height: 210px;
  }

  .ff-single-header {
    text-align: left;
  }

  .ff-post-meta {
    justify-content: flex-start;
  }

  .ff-post-meta span::before {
    display: none;
  }
}

/* Event content visibility polish */
.ff-event-item-card {
  text-decoration: none;
  color: inherit;
}

.ff-event-item-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.ff-event-item-card h3 a,
.ff-event-card h2 a,
.ff-event-date {
  color: inherit;
  text-decoration: none;
}

.ff-event-item-excerpt {
  margin: 8px 0 0;
  color: var(--ff-muted);
  font-size: 13px;
  line-height: 1.45;
}

.ff-event-meta-line {
  margin: 0 0 8px;
  color: var(--ff-purple);
  font-weight: 900;
}

.ff-event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.ff-event-external {
  color: var(--ff-purple);
  font-weight: 900;
  text-decoration: none;
}

.ff-event-external:hover,
.ff-event-card h2 a:hover,
.ff-event-item-card h3 a:hover {
  color: var(--ff-purple-dark);
}


/* Homepage Facebook follow card */
.ff-facebook-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  padding: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f3ecfb 100%);
  border: 1px solid var(--ff-line);
  border-radius: 14px;
  box-shadow: 0 16px 38px rgba(31,14,55,0.08);
  color: var(--ff-ink);
  text-decoration: none;
}

.ff-facebook-card:hover {
  color: var(--ff-ink);
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(31,14,55,0.12);
}

.ff-facebook-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--ff-purple);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  flex: 0 0 auto;
}

.ff-facebook-card span:nth-child(2) {
  min-width: 0;
  flex: 1 1 auto;
}

.ff-facebook-card strong,
.ff-facebook-card em,
.ff-facebook-card b {
  display: block;
}

.ff-facebook-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.ff-facebook-card em {
  margin-top: 4px;
  color: var(--ff-muted);
  font-style: normal;
  font-size: 13px;
  line-height: 1.35;
}

.ff-facebook-card b {
  color: var(--ff-purple);
  font-size: 13px;
  white-space: nowrap;
}

/* Search dropdown / overlay */
.ff-search-link {
  border: 0;
  cursor: pointer;
  line-height: 1;
}

.ff-search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 70;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid var(--ff-line);
  box-shadow: 0 22px 50px rgba(31,14,55,0.14);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  backdrop-filter: blur(16px);
}

.ff-search-open .ff-search-panel {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ff-search-panel-inner {
  padding: 22px 0;
}

.ff-search-form,
.ff-search-page-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--ff-line);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(31,14,55,0.08);
}

.ff-search-form input,
.ff-search-page-form input {
  min-width: 0;
  flex: 1 1 auto;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 18px;
  padding: 14px 14px;
  color: var(--ff-ink);
}

.ff-search-form button[type="submit"],
.ff-search-page-form button {
  border: 0;
  background: var(--ff-purple);
  color: #fff;
  border-radius: 12px;
  padding: 14px 22px;
  font-weight: 900;
  cursor: pointer;
}

.ff-search-close {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: var(--ff-purple-soft);
  color: var(--ff-purple);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

/* Search results page */
.ff-search-page {
  padding-bottom: 70px;
}

.ff-page-hero {
  padding: 54px 0 28px;
}

.ff-page-hero h1 {
  margin: 16px 0 10px;
  max-width: 900px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 62px);
  line-height: .95;
  letter-spacing: -0.055em;
  color: var(--ff-ink);
}

.ff-page-hero p {
  max-width: 680px;
  margin: 0 0 24px;
  color: var(--ff-muted);
  font-size: 18px;
  line-height: 1.65;
}

.ff-search-page-form {
  max-width: 760px;
}

.ff-search-results-wrap {
  padding: 10px 0 30px;
}

.ff-search-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ff-search-result-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ff-line);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(31,14,55,0.08);
}

.ff-search-result-image {
  position: relative;
  display: block;
  min-height: 190px;
  background-size: cover;
  background-position: center;
  background-color: var(--ff-purple-soft);
}

.ff-search-result-image-empty::after {
  content: "Florence Focus";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--ff-purple);
}

.ff-search-result-image span {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 7px;
  background: var(--ff-purple);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.ff-search-result-body {
  padding: 22px;
}

.ff-search-result-body small {
  display: block;
  margin-bottom: 8px;
  color: var(--ff-purple);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.ff-search-result-body h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.ff-search-result-body p {
  margin: 0 0 14px;
  color: var(--ff-muted);
  line-height: 1.6;
}

.ff-text-link {
  color: var(--ff-purple);
  font-weight: 900;
}

.ff-pagination {
  margin-top: 34px;
}

.ff-pagination .nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ff-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--ff-line);
  color: var(--ff-purple);
  font-weight: 900;
}

.ff-pagination .page-numbers.current {
  background: var(--ff-purple);
  color: #fff;
}

@media (max-width: 900px) {
  .ff-search-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ff-search-panel-inner {
    padding: 14px 0;
  }

  .ff-search-form,
  .ff-search-page-form {
    align-items: stretch;
    flex-direction: column;
  }

  .ff-search-close {
    width: 100%;
  }

  .ff-search-results-grid {
    grid-template-columns: 1fr;
  }
}

/* Patch v9: social links, search, and highlight image polish */
.ff-social-link {
  text-decoration: none !important;
}

.ff-highlight-thumb {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-color: var(--ff-purple-soft);
  box-shadow: 0 8px 18px rgba(31,14,55,0.10);
  overflow: hidden;
}

.ff-highlight-thumb-empty {
  background: var(--ff-purple);
  color: #fff !important;
  font-weight: 900;
}

.ff-highlight-thumb-empty span {
  display: block;
  color: #fff;
}

.ff-highlight-card article > .ff-highlight-thumb + div {
  min-width: 0;
}

.ff-highlight-card article > span {
  display: none;
}


/* Patch v10: real Facebook Page plugin card */
.ff-facebook-page-card {
  margin: 0 0 22px;
  padding: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f5effc 100%);
  border: 1px solid var(--ff-line);
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(31,14,55,0.08);
  overflow: hidden;
}

.ff-facebook-page-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.ff-facebook-page-card-head h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.ff-facebook-page-card-head p {
  margin: 4px 0 0;
  color: var(--ff-muted);
  font-size: 13px;
  line-height: 1.35;
}

.ff-facebook-page-plugin {
  width: 100%;
  min-height: 130px;
  overflow: hidden;
  border-radius: 12px;
}

.ff-facebook-page-plugin .fb-page,
.ff-facebook-page-plugin .fb-page span,
.ff-facebook-page-plugin .fb-page iframe {
  max-width: 100% !important;
}

/* Single post related stories polish */
.ff-related-posts {
  padding-bottom: 76px;
}

.ff-related-heading {
  margin-bottom: 22px;
}

.ff-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ff-related-card .ff-post-thumb {
  min-height: 190px;
}

.ff-related-card .ff-post-card-body h2 {
  font-size: 23px;
}

@media (max-width: 900px) {
  .ff-related-grid {
    grid-template-columns: 1fr;
  }
}


/* Patch v12: wider single body, simpler highlights */
.ff-single-body {
  max-width: none;
}

.ff-highlight-head h2 {
  margin-bottom: 0;
}

.ff-highlight-list {
  display: grid;
  gap: 14px;
}

.ff-highlight-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(91, 36, 149, 0.12);
}

.ff-highlight-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ff-highlight-item h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 900;
}

.ff-highlight-card .ff-see-all-link,
.ff-events-card .ff-see-all-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 20px;
  padding: 11px 14px;
  border: 1px solid rgba(91, 36, 149, 0.22);
  border-radius: 999px;
  color: var(--ff-purple);
  font-weight: 900;
  background: #fff;
}

.ff-highlight-card .ff-see-all-link:hover,
.ff-events-card .ff-see-all-link:hover {
  background: var(--ff-purple-soft);
}

.ff-highlight-card article > div,
.ff-highlight-card article p,
.ff-highlight-card article > div > a:not(.ff-highlight-thumb) {
  display: none !important;
}

/* Patch v13: header topic menu, separate mobile menu, footer credit */
.ff-header-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.ff-mobile-search-toggle {
  display: none;
}

.ff-secondary-nav {
  border-top: 1px solid rgba(91, 36, 149, 0.1);
  background: linear-gradient(90deg, #fbf8ff, #ffffff);
}

.ff-secondary-inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: none;
}

.ff-secondary-inner::-webkit-scrollbar {
  display: none;
}

.ff-secondary-label {
  flex: 0 0 auto;
  color: var(--ff-purple);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ff-secondary-menu,
.ff-secondary-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ff-secondary-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.ff-secondary-menu li {
  flex: 0 0 auto;
}

.ff-secondary-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 13px;
  border-radius: 999px;
  color: #342842;
  background: rgba(91, 36, 149, 0.065);
  border: 1px solid rgba(91, 36, 149, 0.08);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.ff-secondary-menu a:hover,
.ff-secondary-menu .current-menu-item > a,
.ff-secondary-menu .current-cat > a {
  color: #fff;
  background: var(--ff-purple);
  border-color: var(--ff-purple);
}

.ff-mobile-panel {
  display: none;
}

.ff-mobile-panel-inner {
  padding: 18px 0 24px;
}

.ff-mobile-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--ff-line);
  color: var(--ff-purple-dark);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

.ff-mobile-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--ff-purple-soft);
  color: var(--ff-purple);
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
}

.ff-mobile-menu,
.ff-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ff-mobile-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(91, 36, 149, 0.1);
  color: var(--ff-ink);
  font-size: 17px;
  font-weight: 850;
}

.ff-mobile-menu .sub-menu a {
  padding-left: 18px;
  color: var(--ff-muted);
  font-size: 15px;
}

.ff-footer-bottom a {
  color: inherit;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ff-footer-bottom a:hover {
  color: var(--ff-lavender);
}

@media (min-width: 861px) {
  .ff-desktop-nav {
    display: flex !important;
  }
}

@media (max-width: 860px) {
  .ff-header-inner {
    flex-wrap: nowrap;
  }

  .ff-desktop-nav {
    display: none !important;
  }

  .ff-header-actions {
    display: flex;
  }

  .ff-header-actions .ff-search-link,
  .ff-mobile-search-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    font-size: 32px;
  }

  .ff-search-link {
    padding-bottom: 0;
  }

  .ff-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }

  .ff-mobile-panel {
    display: none;
    border-top: 1px solid var(--ff-line);
    background: rgba(255,255,255,0.98);
    box-shadow: 0 20px 40px rgba(31, 14, 55, 0.1);
  }

  body.ff-mobile-open .ff-mobile-panel {
    display: block;
  }

  .ff-secondary-inner {
    width: min(100%, calc(100% - 28px));
    min-height: 44px;
    gap: 10px;
  }

  .ff-secondary-label {
    display: none;
  }

  .ff-secondary-menu a {
    font-size: 12px;
    padding: 6px 11px;
  }
}


/* Custom logo support */
.ff-brand,
.ff-footer-brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.ff-logo-custom .custom-logo-link,
.ff-logo-custom .custom-logo-link img,
.ff-footer-logo-custom .custom-logo-link
{
  display: block;
    height: 100px;
  width: auto;
}

.ff-footer-logo-custom .custom-logo-link img {
    width: 165px;
    height: auto;
}

.ff-logo-custom img.custom-logo {
  width: auto;
  max-width: min(360px, 52vw);
  max-height: 82px;
  object-fit: contain;
}

.ff-footer-logo-custom img.custom-logo {
  width: auto;
  max-width: 240px;
  max-height: 64px;
  object-fit: contain;
}

@media (max-width: 767px) {
  .ff-logo-custom img.custom-logo {
    max-width: 235px;
    max-height: 58px;
  }

  .ff-logo-custom .custom-logo-link,
.ff-logo-custom .custom-logo-link img,
.ff-footer-logo-custom .custom-logo-link
{
    height: auto;
    width: 120px;
}
}

/* Florence Focus contact page */
.ff-contact-page {
  background:
    radial-gradient(circle at 10% 0%, rgba(91, 36, 149, 0.08), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fbf8ff 100%);
}

.ff-contact-hero {
  padding-bottom: 28px;
}

.ff-contact-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 80px;
}

.ff-contact-info,
.ff-contact-form-card {
  min-width: 0;
}

.ff-contact-info {
  display: grid;
  gap: 14px;
}

.ff-contact-info-card,
.ff-contact-mini-card,
.ff-contact-form-card {
  background: #fff;
  border: 1px solid var(--ff-line);
  border-radius: 16px;
  box-shadow: 0 14px 35px rgba(31, 14, 55, 0.07);
}

.ff-contact-info-card {
  padding: 28px;
}

.ff-contact-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: var(--ff-purple-soft);
  color: var(--ff-purple);
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 18px;
}

.ff-contact-info-card h2,
.ff-contact-form-head h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.03;
  letter-spacing: -0.05em;
  color: var(--ff-ink);
}

.ff-contact-info-card p,
.ff-contact-form-head p,
.ff-contact-mini-card span {
  margin: 0;
  color: var(--ff-muted);
  line-height: 1.65;
}

.ff-contact-mini-card {
  padding: 18px 20px;
}

.ff-contact-mini-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ff-purple-dark);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ff-contact-form-card {
  overflow: hidden;
}

.ff-contact-form-head {
  padding: clamp(26px, 4vw, 42px) clamp(26px, 5vw, 52px) 0;
}

.ff-contact-form-wrap {
  padding: clamp(24px, 5vw, 52px);
}

.ff-contact-form-wrap .wpcf7-form {
  display: grid;
  gap: 18px;
}

.ff-contact-form-wrap .ff-cf7-row,
.ff-contact-form-wrap .ff-cf7-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ff-contact-form-wrap .ff-cf7-full {
  grid-column: 1 / -1;
}

.ff-contact-form-wrap label {
  display: grid;
  gap: 8px;
  color: var(--ff-ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.055em;
}

.ff-contact-form-wrap input[type="text"],
.ff-contact-form-wrap input[type="email"],
.ff-contact-form-wrap input[type="tel"],
.ff-contact-form-wrap select,
.ff-contact-form-wrap textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(91, 36, 149, 0.16);
  border-radius: 12px;
  background: #fff;
  color: var(--ff-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.ff-contact-form-wrap textarea {
  min-height: 160px;
  resize: vertical;
}

.ff-contact-form-wrap input:focus,
.ff-contact-form-wrap select:focus,
.ff-contact-form-wrap textarea:focus {
  border-color: var(--ff-purple);
  box-shadow: 0 0 0 4px rgba(91, 36, 149, 0.11);
}

.ff-contact-form-wrap input[type="submit"],
.ff-contact-form-wrap .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ff-purple), var(--ff-purple-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  padding: 0 26px;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(91, 36, 149, 0.22);
}

.ff-contact-form-wrap .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #b42318;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.ff-contact-form-wrap .wpcf7-response-output {
  margin: 6px 0 0 !important;
  border-radius: 12px;
  padding: 13px 16px !important;
  font-weight: 700;
}

@media (max-width: 960px) {
  .ff-contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ff-contact-form-wrap .ff-cf7-row,
  .ff-contact-form-wrap .ff-cf7-grid {
    grid-template-columns: 1fr;
  }

  .ff-contact-layout {
    width: min(100%, calc(100% - 28px));
  }
}

.ff-newsletter-strip {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 56px 0;
  background:
    linear-gradient(135deg, rgba(30, 10, 48, 0.92) 0%, rgba(88, 28, 135, 0.82) 48%, rgba(111, 45, 189, 0.76) 100%),
    url("/wp-content/uploads/2026/07/img-2.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ff-newsletter-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: .28;
  pointer-events: none;
}

.ff-newsletter-strip::after {
  content: "FF";
  position: absolute;
  right: 7%;
  top: 50%;
  transform: translateY(-50%);
  font-family: Georgia, serif;
  font-size: 180px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.ff-newsletter-strip-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr .9fr;
  gap: 34px;
  align-items: center;
}

.ff-newsletter-strip-text {
  max-width: 680px;
}

.ff-newsletter-strip-text span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #f1ddff;
  margin-bottom: 10px;
}

.ff-newsletter-strip-text span::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: #d8b4ff;
}

.ff-newsletter-strip-text h2 {
  color: #fff;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.02;
  margin: 0 0 12px;
}

.ff-newsletter-strip-text p {
  color: rgba(255, 255, 255, .82);
  margin: 0;
  max-width: 560px;
  font-size: 16px;
}

.ff-newsletter-strip-form {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
    padding-bottom: 30px;

}

.ff-newsletter-form {
  display: flex;
  gap: 10px;
}

.ff-newsletter-form p {
  display: contents;
}

.ff-newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 52px;
  border: 0;
  border-radius: 14px;
  padding: 0 16px;
  background: #fff;
  color: #1d102b;
  box-shadow: inset 0 0 0 1px rgba(75, 20, 140, .08);
}

.ff-newsletter-form input[type="submit"] {
  height: 52px;
  border: 0;
  border-radius: 14px;
  background: #1d102b;
  color: #fff;
  font-weight: 800;
  padding: 0 24px;
  transition: transform .18s ease, background .18s ease;
}

.ff-newsletter-form input[type="submit"]:hover {
  background: #000;
  transform: translateY(-1px);
}

.ff-newsletter-form .wpcf7-spinner {
  display: none;
}

.ff-newsletter-form .wpcf7-response-output {
  grid-column: 1 / -1;
  margin: 12px 0 0 !important;
  color: #fff;
  border-color: rgba(255,255,255,.35) !important;
}

@media (max-width: 768px) {
  .ff-newsletter-strip {
    padding: 42px 0;
  }

  .ff-newsletter-strip-inner {
    grid-template-columns: 1fr;
  }

  .ff-newsletter-form {
    flex-direction: column;
  }

  .ff-newsletter-form input[type="submit"] {
    width: 100%;
  }

  .ff-newsletter-strip::after {
    font-size: 120px;
    right: -20px;
    top: 25%;
  }
}

.ff-site-credit,
.ff-site-credit a,
.ff-footer-credit,
.ff-footer-credit a {
  color: #fff !important;
}

.ff-site-credit a,
.ff-footer-credit a {
  font-weight: 700;
  text-decoration: none;
}

.ff-site-credit a:hover,
.ff-footer-credit a:hover {
  color: rgba(255, 255, 255, .82) !important;
}

@media (max-width: 768px) {
  .ff-newsletter-strip-inner {
    grid-template-columns: 1fr;
  }

  .ff-newsletter-form {
    flex-direction: column;
  }

  .ff-newsletter-form input[type="submit"] {
    width: 100%;
  }
}

.ff-site-credit {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  color: #fff;
  white-space: nowrap;
}

.ff-site-credit a {
  display: inline !important;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  line-height: inherit;
}

.ff-site-credit a:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

@media (max-width: 768px) {
  .ff-site-credit {
    justify-content: center;
    white-space: normal;
  }
}

/* Florence Focus v17 merged additions: print archives + contact polish */
.ff-footer .ff-outline-btn {
  display: none !important;
}

.ff-footer-bottom .ff-container > span:last-child,
.ff-footer-bottom .ff-container > span:last-child a,
.ff-site-credit,
.ff-site-credit a {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  color: #fff !important;
  white-space: nowrap;
  line-height: 1.2;
}

.ff-footer-bottom .ff-container > span:last-child a,
.ff-site-credit a {
  font-weight: 800;
  text-decoration: none;
}

.ff-print-archives-page {
  background:
    radial-gradient(circle at 12% 0%, rgba(91, 36, 149, .09), transparent 32%),
    linear-gradient(180deg, #fff 0%, #fbf8ff 100%);
}

.ff-print-hero {
  padding: 62px 0 36px;
  border-bottom: 1px solid rgba(91, 36, 149, .09);
}

.ff-print-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 42px;
  align-items: center;
}

.ff-print-hero-copy h1 {
  margin: 10px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 6vw, 78px);
  line-height: .95;
  letter-spacing: -.06em;
  color: var(--ff-ink);
}

.ff-print-hero-copy p {
  max-width: 690px;
  color: var(--ff-muted);
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 24px;
}

.ff-print-featured-issue {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--ff-line);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(31, 14, 55, .13);
  transform: rotate(1.5deg);
}

.ff-print-featured-issue span {
  justify-self: start;
  background: var(--ff-purple-soft);
  color: var(--ff-purple-dark);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.ff-print-featured-issue img,
.ff-print-featured-issue .ff-issue-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4.05;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.ff-print-featured-issue strong {
  color: var(--ff-ink);
  font-size: 16px;
}

.ff-print-intro-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  padding: 44px 0 20px;
}

.ff-print-intro-row h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.02;
  letter-spacing: -.05em;
  margin: 6px 0 0;
}

.ff-print-intro-row p {
  max-width: 380px;
  color: var(--ff-muted);
  line-height: 1.55;
  margin: 0;
}

.ff-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ff-purple-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.ff-section-kicker::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--ff-purple);
}

.ff-print-issue-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding-bottom: 72px;
}

.ff-print-issue-card a {
  display: block;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(91, 36, 149, .12);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(31, 14, 55, .08);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.ff-print-issue-card a:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(31, 14, 55, .15);
  border-color: rgba(91, 36, 149, .28);
}

.ff-print-issue-cover {
  background: linear-gradient(180deg, #fff, #f8f1ff);
}

.ff-print-issue-cover img,
.ff-print-issue-cover .ff-issue-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4.05;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(31, 14, 55, .14);
}

.ff-print-issue-meta {
  padding: 17px 18px 19px;
}

.ff-print-issue-meta span {
  display: block;
  color: var(--ff-purple);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}

.ff-print-issue-meta h3 {
  font-size: 20px;
  line-height: 1.12;
  margin: 0 0 10px;
  color: var(--ff-ink);
}

.ff-print-issue-meta em {
  font-style: normal;
  color: var(--ff-purple-dark);
  font-size: 13px;
  font-weight: 900;
}

.ff-contact-page-v2 {
  background:
    radial-gradient(circle at 85% 8%, rgba(91, 36, 149, .10), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fbf8ff 100%);
}

.ff-contact-hero-v2 {
  padding: 58px 0 28px;
}

.ff-contact-hero-v2-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  align-items: end;
}

.ff-contact-hero-v2 h1 {
  margin: 10px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6vw, 84px);
  line-height: .92;
  letter-spacing: -.065em;
  color: var(--ff-ink);
}

.ff-contact-hero-v2 p {
  max-width: 690px;
  color: var(--ff-muted);
  font-size: 18px;
  line-height: 1.65;
  margin: 0;
}

.ff-contact-hero-note {
  background: #fff;
  border: 1px solid rgba(91, 36, 149, .12);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 16px 42px rgba(31, 14, 55, .08);
}

.ff-contact-hero-note strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.1;
  color: var(--ff-ink);
  margin-bottom: 8px;
}

.ff-contact-hero-note span {
  display: block;
  color: var(--ff-muted);
  line-height: 1.55;
  font-size: 14px;
}

.ff-contact-layout-v2 {
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 28px;
  padding-bottom: 82px;
}

.ff-contact-info-v2 {
  position: sticky;
  top: 172px;
}

.ff-contact-mini-grid {
  display: grid;
  gap: 12px;
}

.ff-contact-page-v2 .ff-contact-info-card,
.ff-contact-page-v2 .ff-contact-mini-card,
.ff-contact-page-v2 .ff-contact-form-card {
  border-radius: 22px;
  border: 1px solid rgba(91, 36, 149, .12);
  box-shadow: 0 16px 42px rgba(31, 14, 55, .07);
}

.ff-contact-page-v2 .ff-contact-info-card {
  background:
    linear-gradient(180deg, #fff, #fbf8ff);
}

.ff-contact-page-v2 .ff-contact-mini-card {
  padding: 18px 20px;
}

.ff-contact-page-v2 .ff-contact-form-card-v2 {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.ff-contact-page-v2 .ff-contact-form-card-v2::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--ff-purple-dark), var(--ff-purple), #b680e6);
}

.ff-contact-page-v2 .ff-contact-form-head {
  padding: clamp(30px, 4vw, 46px) clamp(28px, 5vw, 58px) 0;
}

.ff-contact-page-v2 .ff-contact-form-head h2 {
  font-size: clamp(34px, 4vw, 52px);
  margin-top: 8px;
}

.ff-contact-page-v2 .ff-contact-form-wrap {
  padding: clamp(28px, 5vw, 58px);
}

.ff-contact-page-v2 .ff-contact-form-wrap .ff-cf7-grid,
.ff-contact-page-v2 .ff-contact-form-wrap .wpcf7-form > .ff-cf7-grid {
  gap: 20px;
}

.ff-contact-page-v2 .ff-contact-form-wrap label:has(textarea),
.ff-contact-page-v2 .ff-contact-form-wrap label:has(.wpcf7-textarea),
.ff-contact-page-v2 .ff-contact-form-wrap .ff-cf7-full {
  grid-column: 1 / -1 !important;
}

.ff-contact-page-v2 .ff-contact-form-wrap textarea {
  min-height: 190px;
}

.ff-contact-page-v2 .ff-contact-form-wrap input[type="text"],
.ff-contact-page-v2 .ff-contact-form-wrap input[type="email"],
.ff-contact-page-v2 .ff-contact-form-wrap input[type="tel"],
.ff-contact-page-v2 .ff-contact-form-wrap select,
.ff-contact-page-v2 .ff-contact-form-wrap textarea {
  border-radius: 14px;
  background: #fdfbff;
}

.ff-contact-page-v2 .ff-contact-form-wrap input[type="submit"],
.ff-contact-page-v2 .ff-contact-form-wrap .wpcf7-submit {
  width: 100%;
  margin-top: 8px;
  min-height: 56px;
  border-radius: 14px;
}

@media (max-width: 980px) {
  .ff-print-hero-inner,
  .ff-contact-hero-v2-inner,
  .ff-contact-layout-v2 {
    grid-template-columns: 1fr;
  }

  .ff-contact-info-v2 {
    position: static;
  }

  .ff-print-featured-issue {
    max-width: 260px;
    transform: none;
  }

  .ff-print-issue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ff-print-intro-row {
    display: block;
  }

  .ff-print-issue-grid {
    grid-template-columns: 1fr;
  }

  .ff-contact-hero-v2,
  .ff-print-hero {
    padding-top: 42px;
  }

  .ff-footer-bottom .ff-container {
    flex-direction: column;
    text-align: center;
  }
}

/* Patch v18: single post share buttons + Font Awesome social icons */
.ff-social-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--ff-purple), var(--ff-purple-dark));
  font-size: 14px;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: 0 10px 22px rgba(80, 28, 140, 0.18);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.ff-social-mini .ff-social-link {
  width: 24px;
  height: 24px;
  background: transparent;
  box-shadow: none;
  color: #fff !important;
  font-size: 13px;
}

.ff-social-large .ff-social-link:hover,
.ff-footer .ff-social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(80, 28, 140, 0.24);
}

.ff-social-mini .ff-social-link:hover {
  transform: translateY(-1px);
  opacity: .78;
}

.ff-social-link i {
  display: block;
  line-height: 1;
}

.ff-single-share {
  max-width: 1040px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 16px 0 0;
}

.ff-single-share > span {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ff-muted);
}

.ff-single-share-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ff-single-share-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(91, 39, 160, .14);
  border-radius: 999px;
  color: var(--ff-purple) !important;
  background: #fff;
  text-decoration: none !important;
  box-shadow: 0 12px 26px rgba(31, 14, 55, .07);
  transition: transform .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease;
}

.ff-single-share-links a:hover {
  color: #fff !important;
  background: var(--ff-purple);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(91, 39, 160, .22);
}

.ff-single-share + .ff-single-body {
  padding-top: 26px;
}

@media (max-width: 640px) {
  .ff-single-share {
    align-items: flex-start;
    flex-direction: column;
  }
  .ff-print-featured-issue {
    display: none;
  }
}

/* iPad/tablet breakpoint: show mobile menu earlier */
@media (min-width: 1101px) {
  .ff-desktop-nav {
    display: flex !important;
  }

  .ff-menu-toggle {
    display: none !important;
  }

  .ff-mobile-panel {
    display: none !important;
  }
}

@media (max-width: 1100px) {
  .ff-header-inner {
    flex-wrap: nowrap;
  }

  .ff-desktop-nav {
    display: none !important;
  }

  .ff-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .ff-header-actions .ff-search-link,
  .ff-mobile-search-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    font-size: 24px;
  }

  .ff-menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }

  .ff-mobile-panel {
    display: none;
    border-top: 1px solid var(--ff-line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 40px rgba(31, 14, 55, 0.1);
  }

  body.ff-mobile-open .ff-mobile-panel {
    display: block;
  }

  .ff-secondary-inner {
    width: min(100%, calc(100% - 28px));
    min-height: 44px;
    gap: 10px;
  }

  .ff-secondary-label {
    display: none;
  }

  .ff-secondary-menu {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .ff-secondary-menu a {
    font-size: 12px;
    padding: 6px 11px;
  }
}

/* Tablet/iPad sidebar fix */
@media (max-width: 1100px) {
  .ff-home-grid,
  .ff-home-main-grid,
  .ff-content-sidebar,
  .ff-main-with-sidebar {
    grid-template-columns: 1fr !important;
  }

  .ff-home-sidebar,
  .ff-sidebar {
    width: 100% !important;
    max-width: none !important;
  }

  .ff-home-sidebar > *,
  .ff-sidebar > * {
    width: 100%;
  }

  .ff-facebook-widget,
  .ff-events-card,
  .ff-upcoming-events,
  .ff-newsletter-card,
  .ff-community-highlights {
    max-width: none !important;
  }
}

@media (max-width: 1100px) {
  .ff-events-card {
    padding: 28px !important;
  }

  .ff-event-mini {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 16px;
    align-items: center;
  }

  .ff-event-date {
    width: 72px;
    height: 72px;
  }
}