/*
 * Floorinsite 2027 — site-wide restyle of Jannah + GeoDirectory.
 * Palette: near-black chrome (#0B0B0C), light reading surfaces (#F5F5F7), Floorinsite red used sparingly.
 * Type: Space Grotesk (headlines) + Geist (UI and body), self-hosted (SIL Open Font Licence, see assets/fonts/OFL.txt).
 * Selectors start with #tie-body so they win over Jannah's theme-options CSS without !important where possible.
 */

/* ——— Fonts ——— */
@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-Variable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ——— Tokens ——— */
:root {
  --fi-bg: #0b0b0c;
  --fi-bg-2: #121214;
  --fi-bg-3: #19191c;
  --fi-elev: #1c1c20;
  --fi-paper: #f5f5f7;
  --fi-paper-2: #ececef;
  --fi-ink: #0b0b0c;
  --fi-ink-body: #1d1d22;
  --fi-ink-soft: #5c5c66;
  --fi-muted: #8e8e96;
  --fi-white: #f5f5f7;
  --fi-line: rgba(255, 255, 255, 0.1);
  --fi-line-dark: rgba(11, 11, 12, 0.08);
  --fi-red: #e10600;
  --fi-red-hot: #ff2a22;
  --fi-radius: 20px;
  --fi-radius-sm: 14px;
  --fi-max: 1240px;
  --fi-display: "Space Grotesk", "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fi-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Jannah's own colour variables, re-pointed at the new palette. */
:root:root:root {
  --brand-color: #e10600;
  --dark-brand-color: #b30500;
  --bright-color: #ffffff;
  --base-color: #1d1d22;
  --main-nav-background: rgba(11, 11, 12, 0.72);
  --main-nav-secondry-background: rgba(255, 255, 255, 0.05);
  --main-nav-primary-color: #e10600;
  --main-nav-contrast-primary-color: #ffffff;
  --main-nav-text-color: rgba(245, 245, 247, 0.82);
  --main-nav-secondry-text-color: rgba(245, 245, 247, 0.55);
  --main-nav-main-border-color: rgba(255, 255, 255, 0.1);
  --main-nav-secondry-border-color: rgba(255, 255, 255, 0.08);
}

/* ——— Base ——— */
#tie-body {
  background-color: var(--fi-bg);
  color: var(--fi-ink-body);
  font-family: var(--fi-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
#tie-body #tie-container #tie-wrapper,
#tie-body.post-layout-8 #content {
  background-color: var(--fi-paper);
}
#tie-body h1, #tie-body h2, #tie-body h3, #tie-body h4, #tie-body h5, #tie-body h6,
#tie-body .the-subtitle, #tie-body .logo-text,
.wf-active #tie-body h1, .wf-active #tie-body h2, .wf-active #tie-body h3 {
  font-family: var(--fi-display);
  letter-spacing: -0.035em;
  font-weight: 600;
}
#tie-body a { transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease; }
#tie-body a:hover { color: var(--fi-red); }
#tie-body #content a:hover { text-decoration: none !important; }
#tie-body ::selection { background: var(--fi-red); color: #fff; }
#tie-body :focus-visible { outline: 2px solid var(--fi-red); outline-offset: 2px; }

/* ——— Header: dark frosted glass ——— */
#tie-body #theme-header,
#tie-body #theme-header.has-shadow {
  background: var(--fi-bg);
  box-shadow: none;
  border-bottom: 1px solid var(--fi-line);
}
#tie-body #top-nav,
#tie-body #top-nav .sub-menu,
#tie-body #top-nav .comp-sub-menu,
#tie-body .top-nav-boxed #top-nav .topbar-wrapper {
  background-color: var(--fi-bg);
  border-color: var(--fi-line);
  color: rgba(245, 245, 247, 0.6);
}
#tie-body #top-nav { border-bottom: 1px solid var(--fi-line); }
#tie-body #top-nav * { border-color: var(--fi-line); }
#tie-body #top-nav a,
#tie-body #top-nav .topbar-today-date,
#tie-body #top-nav .components > li > a,
#tie-body #top-nav .social-icons-item .social-link span {
  color: rgba(245, 245, 247, 0.62);
  font-family: var(--fi-sans);
  font-size: 12.5px;
  font-weight: 500;
}
#tie-body #top-nav a:hover { color: #fff; }
#tie-body #top-nav .top-menu > ul > li > a { font-size: 12.5px; }
#tie-body #top-nav .topbar-today-date { background: transparent; }
#tie-body #top-nav #search-input,
#tie-body #top-nav .search-bar input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--fi-line);
  border-radius: 999px;
  color: #fff;
  padding: 0 14px;
  height: 28px;
  margin-top: 4px;
  font-family: var(--fi-sans);
}
#tie-body #top-nav #search-input::placeholder { color: rgba(245, 245, 247, 0.45); }
#tie-body #top-nav #search-submit { color: rgba(245, 245, 247, 0.7); background: transparent; }

#tie-body .main-nav-wrapper,
#tie-body #main-nav,
#tie-body #main-nav.fixed-nav,
#tie-body #theme-header:not(.main-nav-boxed) #main-nav,
#tie-body .main-nav-boxed .main-menu-wrapper {
  background: rgba(11, 11, 12, 0.72);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid var(--fi-line) !important;
  box-shadow: none;
}
#tie-body #main-nav { line-height: 64px !important; }
#tie-body #main-nav .main-menu > ul > li > a,
.wf-active #tie-body #main-nav .main-menu > ul > li > a {
  font-family: var(--fi-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: rgba(245, 245, 247, 0.82);
  padding: 0 12px;
  text-transform: none;
}
#tie-body #main-nav .main-menu > ul > li > a::before,
#tie-body #main-nav .main-menu > ul > li > a::after { display: none; }
#tie-body #main-nav .main-menu > ul > li:hover > a,
#tie-body #main-nav .main-menu > ul > li.tie-current-menu > a,
#tie-body #main-nav .main-menu > ul > li.current-menu-item > a,
#tie-body #main-nav .main-menu > ul > li.current-menu-parent > a {
  color: #fff;
  background: transparent;
  box-shadow: inset 0 -2px 0 var(--fi-red);
}
#tie-body #main-nav .menu-sub-content,
#tie-body #main-nav .mega-menu-block,
#tie-body #main-nav .sub-menu,
#tie-body #main-nav .mega-menu-content {
  background: rgba(18, 18, 20, 0.96);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: 1px solid var(--fi-line);
  border-radius: 0 0 var(--fi-radius-sm) var(--fi-radius-sm);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
#tie-body #main-nav .main-menu > ul ul li a,
#tie-body #main-nav .mega-menu-content a,
#tie-body #main-nav .mega-links-head,
#tie-body #main-nav .menu-sub-content a {
  color: rgba(245, 245, 247, 0.82);
  font-family: var(--fi-sans);
  font-size: 14px;
  line-height: 1.45;
}
#tie-body #main-nav .main-menu > ul ul li a:hover,
#tie-body #main-nav .mega-menu-content a:hover,
#tie-body #main-nav .menu-sub-content a:hover { color: #fff; }
#tie-body #main-nav .mega-links-head { color: #fff; font-weight: 600; border-color: var(--fi-line); }
#tie-body #main-nav .mega-menu-content .post-meta,
#tie-body #main-nav .mega-menu-content .post-date { color: var(--fi-muted); }
#tie-body #main-nav .components > li > a,
#tie-body #main-nav .components .tie-icon-search { color: rgba(245, 245, 247, 0.82); }
#tie-body #main-nav .components > li > a:hover { color: #fff; }
#tie-body #logo { margin-top: 12px !important; }
#tie-body #logo img,
#tie-body #sticky-logo img { max-height: 32px !important; width: auto; }
#tie-body #logo a,
#tie-body #sticky-logo a { min-height: 32px; min-width: 168px; }

/* Mobile header + off-canvas menu (Jannah's own markup and script are kept). */
#tie-body #mobile-menu-icon .tie-mobile-menu-icon,
#tie-body #mobile-menu-icon .tie-mobile-menu-icon::before,
#tie-body #mobile-menu-icon .tie-mobile-menu-icon::after,
#tie-body .nav-icon,
#tie-body .nav-icon::before,
#tie-body .nav-icon::after { background-color: #fff; }
#tie-body .mobile-header-components .components > li > a,
#tie-body .mobile-header-components .tie-icon-search { color: #fff; }
#tie-body #mobile-container {
  background: var(--fi-bg);
  color: var(--fi-white);
}
#tie-body #mobile-menu li a,
#tie-body #mobile-menu .menu > li > a {
  color: rgba(245, 245, 247, 0.88);
  font-family: var(--fi-display);
  font-size: 18px;
  letter-spacing: -0.03em;
  border-color: var(--fi-line);
}
#tie-body #mobile-menu li a:hover { color: #fff; }
#tie-body #mobile-menu .mobile-arrows { color: rgba(245, 245, 247, 0.6); }
#tie-body #mobile-search input {
  background: var(--fi-bg-3);
  border: 1px solid var(--fi-line);
  border-radius: 12px;
  color: #fff;
}
#tie-body #mobile-social-icons .social-link span { color: rgba(245, 245, 247, 0.7); }

/* ——— Breaking news ticker ——— */
#tie-body .breaking {
  background: var(--fi-bg-2);
  border-radius: var(--fi-radius-sm);
  border: 1px solid var(--fi-line);
}
#tie-body .breaking-title { background: var(--fi-red); font-family: var(--fi-sans); font-weight: 600; }
#tie-body .breaking-title::before { background: var(--fi-red); }
#tie-body .breaking-news a { color: rgba(245, 245, 247, 0.85); font-family: var(--fi-sans); }

/* ——— Content containers: white 20px cards on a light page ——— */
#tie-body #content.site-content { padding-top: 32px; padding-bottom: 48px; }
#tie-body .container-wrapper,
#tie-body .mag-box .container-wrapper,
#tie-body .widget.container-wrapper,
#tie-body .about-author,
#tie-body .post-components > div,
#tie-body #comments,
#tie-body #related-posts,
#tie-body .prev-next-post-nav,
#tie-body .entry-header-outer.container-wrapper {
  background: #fff;
  border: 1px solid var(--fi-line-dark);
  border-radius: var(--fi-radius);
  box-shadow: none;
}
#tie-body .container-wrapper { padding: 28px; }
#tie-body .stream-item .container-wrapper,
#tie-body .stream-item-mag .container-wrapper { background: transparent; border: 0; padding: 0; }
#tie-body .mag-box-title,
#tie-body .widget-title,
#tie-body .the-global-title,
#tie-body .block-head-1 .the-global-title,
#tie-body .block-head-1 .mag-box-title {
  border: 0;
  padding: 0 0 14px;
  margin-bottom: 18px;
}
#tie-body .mag-box-title h3,
#tie-body .widget-title .the-subtitle,
#tie-body .the-global-title,
#tie-body .block-head-1 .the-global-title::after,
#tie-body .block-head-1 .mag-box-title h3::after {
  font-family: var(--fi-display);
  font-size: 1.35rem;
  letter-spacing: -0.045em;
  color: var(--fi-ink);
  background: none;
  border: 0;
}
#tie-body .block-head-1 .the-global-title::before,
#tie-body .block-head-1 .mag-box-title::before,
#tie-body .block-head-1 .the-global-title::after,
#tie-body .block-head-1 .mag-box-title h3::after { display: none; }
#tie-body .mag-box-title,
#tie-body .the-global-title { border-bottom: 1px solid var(--fi-line-dark); }

/* Category pills — small, red text on a faint red wash. */
#tie-body .post-cat,
#tie-body .post-cat-wrap .post-cat,
#tie-body a.post-cat {
  background: rgba(225, 6, 0, 0.08);
  color: var(--fi-red);
  border-radius: 999px;
  font-family: var(--fi-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  padding: 4px 10px;
  line-height: 1.3;
}
#tie-body a.post-cat:hover { background: var(--fi-red); color: #fff; }
#tie-body .post-meta,
#tie-body .post-meta a,
#tie-body .single-post-meta,
#tie-body .meta-item { color: var(--fi-ink-soft); font-family: var(--fi-sans); font-size: 12.5px; }

/* Breadcrumbs */
#tie-body #breadcrumb,
#tie-body #breadcrumb a { color: var(--fi-ink-soft); font-family: var(--fi-sans); font-size: 12.5px; }
#tie-body #breadcrumb a:hover { color: var(--fi-red); }
#tie-body #breadcrumb .delimiter { color: rgba(11, 11, 12, 0.25); }

/* ——— Single article ——— */
#tie-body #the-post.container-wrapper { padding: 36px 40px 40px; }
#tie-body .entry-header .post-title,
#tie-body .entry-header .entry-title,
#tie-body h1.post-title {
  font-family: var(--fi-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 600;
  color: var(--fi-ink);
  text-wrap: balance;
  margin: 14px 0 12px;
}
#tie-body .entry-header .entry-sub-title { color: var(--fi-ink-soft); font-family: var(--fi-sans); font-size: 1.15rem; }
#tie-body .featured-area,
#tie-body .single-featured-image,
#tie-body .featured-area img,
#tie-body .single-featured-image img { border-radius: var(--fi-radius-sm); overflow: hidden; }
#tie-body .entry-content,
#tie-body .entry {
  font-family: var(--fi-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--fi-ink-body);
}
#tie-body .entry-content p { margin-bottom: 1.15em; }
#tie-body .entry-content h2 { font-size: 1.75rem; line-height: 1.15; margin: 1.6em 0 0.6em; color: var(--fi-ink); }
#tie-body .entry-content h3 { font-size: 1.35rem; line-height: 1.2; margin: 1.4em 0 0.5em; color: var(--fi-ink); }
#tie-body:not(.geodir-page) #the-post .entry-content :is(p, li, td, blockquote, figcaption) a:not(.shortc-button):not(.button):not(.wp-block-button__link) {
  color: var(--fi-ink);
  text-decoration: underline;
  text-decoration-color: rgba(225, 6, 0, 0.45);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
#tie-body:not(.geodir-page) #the-post .entry-content :is(p, li, td, blockquote, figcaption) a:not(.shortc-button):not(.button):not(.wp-block-button__link):hover { color: var(--fi-red) !important; text-decoration-color: var(--fi-red); }
#tie-body .entry-content blockquote,
#tie-body .entry-content blockquote.quote-simple {
  border: 0;
  border-left: 3px solid var(--fi-red);
  background: var(--fi-paper);
  border-radius: 0 var(--fi-radius-sm) var(--fi-radius-sm) 0;
  font-family: var(--fi-display);
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: var(--fi-ink);
  padding: 20px 24px;
}
#tie-body .entry-content img,
#tie-body .entry-content figure img,
#tie-body .wp-block-image img { border-radius: 12px; }
#tie-body .entry-content figcaption,
#tie-body .wp-caption-text { color: var(--fi-ink-soft); font-size: 13px; }
#tie-body .entry-content table { border-radius: 12px; overflow: hidden; }
#tie-body .post-bottom-meta .post-bottom-meta-title,
#tie-body .post-tags-modern a,
#tie-body .tagcloud a {
  background: var(--fi-paper);
  border: 1px solid var(--fi-line-dark);
  color: var(--fi-ink-soft);
  border-radius: 999px;
  font-family: var(--fi-sans);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 11px;
}
#tie-body .post-tags-modern a:hover,
#tie-body .tagcloud a:hover { background: var(--fi-ink); color: #fff; border-color: var(--fi-ink); }
#tie-body .share-buttons .share-links a { border-radius: 999px; }
#tie-body .prev-next-post-nav .post-thumb,
#tie-body .related-item .post-thumb,
#tie-body .related-item img { border-radius: 12px; overflow: hidden; }
#tie-body .related-item .post-title,
#tie-body .prev-next-post-nav .post-title { font-family: var(--fi-display); letter-spacing: -0.03em; }
#tie-body .about-author .author-name a { font-family: var(--fi-display); color: var(--fi-ink); }

/* In-post newsletter box (Jannah) — dark panel with a red action. */
#tie-body .post-newsletter,
#tie-body .subscribe-widget {
  background: var(--fi-bg);
  color: var(--fi-white);
  border-radius: var(--fi-radius);
}
#tie-body .post-newsletter .subscribe-widget-content h3,
#tie-body .subscribe-widget .subscribe-widget-content h3 { color: #fff; }
#tie-body .subscribe-widget .subscribe-subtitle,
#tie-body .post-newsletter p { color: rgba(245, 245, 247, 0.7); }
#tie-body .subscribe-input,
#tie-body .subscribe-widget input[type="email"] {
  background: var(--fi-bg-3);
  border: 1px solid var(--fi-line);
  color: #fff;
  border-radius: 999px;
}

/* ——— Archives, categories and search ——— */
#tie-body #category-title-section,
#tie-body .archive-title-wrapper,
#tie-body #search-title-section {
  background: var(--fi-bg);
  color: var(--fi-white);
  border: 0;
  border-radius: var(--fi-radius);
  padding: 32px 36px;
  background-image: radial-gradient(700px 240px at 85% 0%, rgba(225, 6, 0, 0.18), transparent 60%);
}
#tie-body #category-title-section .page-title,
#tie-body .archive-title-wrapper .page-title,
#tie-body #search-title-section .page-title {
  color: #fff;
  font-family: var(--fi-display);
  font-size: clamp(2rem, 4.2vw, 3rem);
  letter-spacing: -0.055em;
  line-height: 1;
}
#tie-body .archive-title-wrapper #breadcrumb,
#tie-body .archive-title-wrapper #breadcrumb a { color: rgba(245, 245, 247, 0.6); }
#tie-body .archive-title-wrapper #breadcrumb .delimiter { color: rgba(245, 245, 247, 0.3); }
#tie-body .archive-title-wrapper .taxonomy-description,
#tie-body .archive-title-wrapper .taxonomy-description p { color: rgba(245, 245, 247, 0.72); font-size: 15px; }
#tie-body .archive-title-wrapper .taxonomy-description a { color: #fff; }

#tie-body .posts-items .post-item,
#tie-body .wide-post-box .posts-items > li {
  border-bottom: 1px solid var(--fi-line-dark);
  padding-bottom: 24px;
  margin-bottom: 24px;
}
#tie-body .posts-items .post-item:last-child { border-bottom: 0; margin-bottom: 0; }
#tie-body .post-item .post-thumb,
#tie-body .posts-items .post-thumb,
#tie-body .post-thumb img,
#tie-body .wide-post-box .post-thumb {
  border-radius: var(--fi-radius-sm);
  overflow: hidden;
}
#tie-body .post-thumb img { transition: transform 0.45s ease; }
#tie-body .post-item:hover .post-thumb img { transform: scale(1.035); }
#tie-body .post-item .post-title,
#tie-body .posts-items .post-title,
#tie-body .post-widget-body .post-title,
#tie-body .mag-box .post-title {
  font-family: var(--fi-display);
  letter-spacing: -0.035em;
  line-height: 1.18;
  font-weight: 600;
}
#tie-body .post-item .post-title a,
#tie-body .mag-box .post-title a,
#tie-body .post-widget-body .post-title a { color: var(--fi-ink); }
#tie-body .post-item .post-title a:hover,
#tie-body .mag-box .post-title a:hover,
#tie-body .post-widget-body .post-title a:hover { color: var(--fi-red); }
#tie-body .post-excerpt { color: var(--fi-ink-soft); font-size: 15px; line-height: 1.55; }
#tie-body .post-thumb-overlay,
#tie-body .media-overlay .post-thumb-overlay { background: rgba(11, 11, 12, 0.45); }

/* Buttons and pagination */
#tie-body .button,
#tie-body a.button,
#tie-body .more-link,
#tie-body input[type="submit"],
#tie-body button[type="submit"]:not(.icon-btn):not(#search-submit),
#tie-body .comment-form .submit,
#tie-body .wp-block-button__link,
#tie-body .slider-link,
#tie-body .pages-nav .pages-numbers a,
#tie-body .show-more-button {
  background: var(--fi-ink);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-family: var(--fi-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.01em;
  padding: 10px 18px;
  text-transform: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
#tie-body .button:hover,
#tie-body a.button:hover,
#tie-body .more-link:hover,
#tie-body input[type="submit"]:hover,
#tie-body .wp-block-button__link:hover,
#tie-body .pages-nav .pages-numbers a:hover,
#tie-body .show-more-button:hover {
  background: var(--fi-red);
  color: #fff;
  transform: translateY(-1px);
}
#tie-body .pages-nav .pages-numbers li span,
#tie-body .pages-nav .pages-numbers .current,
#tie-body .pages-numbers .current {
  background: var(--fi-red);
  color: #fff;
  border: 0;
  border-radius: 999px;
}
#tie-body .pages-nav .pages-numbers a,
#tie-body .pages-nav .pages-numbers li span { min-width: 40px; text-align: center; }
#tie-body .pages-nav .pages-numbers .first-last-pages a,
#tie-body .pages-nav .pages-numbers a:not(:hover) { background: #fff; color: var(--fi-ink); border: 1px solid var(--fi-line-dark); }

/* Forms */
#tie-body input[type="text"],
#tie-body input[type="email"],
#tie-body input[type="search"],
#tie-body input[type="url"],
#tie-body input[type="tel"],
#tie-body input[type="password"],
#tie-body input[type="number"],
#tie-body textarea,
#tie-body select {
  border-radius: 12px;
  border: 1px solid rgba(11, 11, 12, 0.14);
  font-family: var(--fi-sans);
}
#tie-body #content input:focus,
#tie-body #content textarea:focus,
#tie-body #content select:focus {
  border-color: var(--fi-ink);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.12);
  outline: 0;
}

/* Sidebar widgets */
#tie-body .sidebar .widget.container-wrapper { padding: 22px; }
#tie-body .sidebar .widget_media_image img,
#tie-body .sidebar .wp-block-image img { border-radius: 12px; }
#tie-body .widget_search .search-field,
#tie-body .search-form .search-field { border-radius: 999px; padding-left: 16px; }
#tie-body .widget_search .search-submit,
#tie-body .search-form .search-submit { border-radius: 999px; background: var(--fi-ink); color: #fff; }
#tie-body .social-icons-widget .social-icons-item .social-link {
  border-radius: 999px;
  background: var(--fi-paper);
  color: var(--fi-ink);
}
#tie-body .social-icons-widget .social-icons-item .social-link:hover { background: var(--fi-ink); color: #fff; }
#tie-body .widget-post-list .post-widget-thumbnail img { border-radius: 10px; }

/* ——— Footer ——— */
#tie-body #footer,
#tie-body #footer.dark-skin {
  background: var(--fi-bg);
  color: rgba(245, 245, 247, 0.7);
  border-top: 1px solid var(--fi-line);
  margin-top: 0;
}
#tie-body #footer .widget-title .the-subtitle,
#tie-body #footer .widget-title {
  color: rgba(245, 245, 247, 0.42);
  font-family: var(--fi-sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 0;
}
#tie-body #footer .container-wrapper { background: transparent; border: 0; padding: 0; }
#tie-body #footer a { color: #fff; }
#tie-body #footer a:hover { color: #fff; opacity: 0.75; }
#tie-body #footer-widgets-container:empty,
#tie-body #footer-widgets-container .container:empty { display: none; }
#tie-body #site-info {
  background: var(--fi-bg);
  border-top: 1px solid var(--fi-line);
  color: rgba(245, 245, 247, 0.45);
  font-family: var(--fi-sans);
  font-size: 12.5px;
  padding: 18px 0;
}
#tie-body #site-info a { color: rgba(245, 245, 247, 0.72); }
#tie-body #site-info a:hover { color: #fff; opacity: 1; }
#tie-body #site-info .footer-menu a { font-weight: 500; }
#tie-body #go-to-top {
  background: var(--fi-red);
  color: #fff;
  border-radius: 999px;
}

/* ——— GeoDirectory (Places listings, search, details) ——— */
#tie-body .geodir-search-container,
#tie-body .geodir-listing-search {
  background: var(--fi-bg);
  border-radius: var(--fi-radius);
  padding: 16px;
  border: 0;
}
#tie-body .geodir-listing-search .geodir-loc-bar,
#tie-body .geodir-listing-search .geodir-loc-bar-in { background: transparent; border: 0; padding: 0; }
#tie-body .geodir-listing-search .geodir-search { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; }
#tie-body .geodir-listing-search .gd-search-input-wrapper { flex: 1 1 220px; margin: 0; position: relative; }
#tie-body .geodir-listing-search input[type="text"],
#tie-body .geodir-listing-search .search_text,
#tie-body .geodir-listing-search .snear {
  width: 100%;
  background: var(--fi-bg-3);
  border: 1px solid var(--fi-line);
  color: #fff;
  border-radius: 999px;
  padding: 11px 16px 11px 38px;
  height: auto;
}
#tie-body .geodir-listing-search input::placeholder { color: rgba(245, 245, 247, 0.5); }
#tie-body .geodir-listing-search .geodir-search-input-label { color: rgba(245, 245, 247, 0.55); left: 14px; }
#tie-body .geodir_submit_search,
#tie-body .geodir-listing-search button {
  background: var(--fi-red);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 11px 22px;
  font-family: var(--fi-sans);
  font-weight: 600;
  font-size: 14px;
  float: none;
  width: auto;
  height: auto;
}
#tie-body .geodir_submit_search:hover { background: var(--fi-red-hot); }
#tie-body .geodir-loop-actions-container { margin: 18px 0; }
#tie-body .geodir-loop-actions-container select,
#tie-body .geodir-select { border-radius: 999px !important; padding: 6px 12px; }

#tie-body .geodir-category-list-view { margin: 0; padding: 0; }
#tie-body .geodir-category-list-view > li.geodir-post {
  background: #fff;
  border: 1px solid var(--fi-line-dark);
  border-radius: var(--fi-radius);
  overflow: hidden;
  padding: 0;
  box-shadow: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#tie-body .geodir-category-list-view > li.geodir-post:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(11, 11, 12, 0.08);
}
#tie-body .geodir-category-list-view .gd-list-item-left { background: var(--fi-paper-2); }
#tie-body .geodir-category-list-view .gd-list-item-right { padding: 14px 18px 18px; }
#tie-body .geodir-category-list-view .geodir-image-container img { object-fit: contain; background: #fff; }
#tie-body .geodir-entry-title,
#tie-body .geodir-entry-title a {
  font-family: var(--fi-display);
  font-size: 1.15rem;
  letter-spacing: -0.035em;
  line-height: 1.2;
  color: var(--fi-ink);
}
#tie-body .geodir-entry-title a:hover { color: var(--fi-red); }
#tie-body .gd-badge { border-radius: 999px !important; font-family: var(--fi-sans); font-size: 11px; font-weight: 600; }
#tie-body .gd-badge-meta-featured .gd-badge { background-color: var(--fi-red) !important; }
#tie-body .geodir_post_meta,
#tie-body .geodir-post-meta-container { font-family: var(--fi-sans); font-size: 14px; color: var(--fi-ink-body); }
#tie-body .geodir_post_meta a { color: var(--fi-ink); }
#tie-body .geodir_post_meta a:hover { color: var(--fi-red); }
#tie-body .geodir_post_meta .geodir_post_meta_icon i,
#tie-body .geodir_post_meta i { color: var(--fi-red); }
#tie-body .geodir-single-taxonomies-container .geodir-category a,
#tie-body .geodir-single-taxonomies-container .geodir-tags a,
#tie-body .geodir_post_taxomomies a {
  display: inline-block;
  background: rgba(225, 6, 0, 0.08);
  color: var(--fi-red);
  border-radius: 999px;
  padding: 3px 10px;
  margin: 2px;
  font-size: 12px;
  font-weight: 600;
}
#tie-body .geodir-tabs,
#tie-body .geodir-tab-head { border: 0; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
#tie-body .geodir-tab-head > dd,
#tie-body .geodir-tab-head > li { margin: 0; border: 0; background: none; }
#tie-body .geodir-tab-head a {
  display: inline-block;
  border-radius: 999px;
  background: var(--fi-paper);
  border: 1px solid var(--fi-line-dark);
  color: var(--fi-ink);
  padding: 7px 14px;
  font-family: var(--fi-sans);
  font-size: 13px;
  font-weight: 600;
}
#tie-body .geodir-tab-head .geodir-tab-active a,
#tie-body .geodir-tab-head a:hover,
#tie-body #the-post .entry-content .geodir-tab-head .geodir-tab-active a,
#tie-body #the-post .entry-content .geodir-tab-head a:hover { background: var(--fi-ink); color: #fff !important; border-color: var(--fi-ink); text-decoration: none; }
#tie-body .geodir-tab-head a i { margin-right: 6px; }
#tie-body .geodir-tabs-content { border: 0; padding: 0; }
#tie-body .geodir_flex-container,
#tie-body .geodir-image-container,
#tie-body .geodir-map-wrap,
#tie-body .geodir-map-canvas,
#tie-body .main_map_wrapper { border-radius: var(--fi-radius-sm); overflow: hidden; }
#tie-body .gd-get-directions,
#tie-body .geodir-map-directions-wrap input { border-radius: 999px; }
#tie-body .geodir-pagination .page-numbers,
#tie-body .geodir-loop-paging-container .page-numbers {
  border-radius: 999px;
  min-width: 38px;
  text-align: center;
  border: 1px solid var(--fi-line-dark);
  background: #fff;
  color: var(--fi-ink);
}
#tie-body .geodir-pagination .page-numbers.current,
#tie-body .geodir-loop-paging-container .page-numbers.current { background: var(--fi-red); border-color: var(--fi-red); color: #fff; }

/* ——— Full-width views (new homepage, Places Map): release Jannah's content container ——— */
#tie-body.fi-home #content.site-content,
#tie-body.fi-places-map #content.site-content {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}
#tie-body.fi-home #main-content-row,
#tie-body.fi-places-map #main-content-row {
  display: block;
  margin: 0;
  padding: 0;
}
#tie-body.fi-home #tie-container #tie-wrapper,
#tie-body.fi-places-map #tie-container #tie-wrapper { background-color: var(--fi-bg); }
#tie-body.fi-home #footer-widgets-container { display: none; }

/* Editor-only hints on the homepage */
.fi-editor-note {
  max-width: var(--fi-max);
  margin: 12px auto;
  padding: 10px 16px;
  border: 1px dashed rgba(225, 6, 0, 0.5);
  border-radius: 12px;
  background: rgba(225, 6, 0, 0.06);
  color: #ffb3ae;
  font: 500 13px/1.4 var(--fi-sans);
}
.fi-editor-note a { color: #fff; text-decoration: underline; }

/* ——— Responsive ——— */
@media (max-width: 991px) {
  #tie-body #the-post.container-wrapper { padding: 24px 20px 28px; }
  #tie-body .container-wrapper { padding: 20px; }
  #tie-body #category-title-section,
  #tie-body .archive-title-wrapper,
  #tie-body #search-title-section { padding: 24px 22px; }
  #tie-body #theme-header .main-nav-wrapper,
  #tie-body #theme-header #main-nav { line-height: 56px !important; }
  #tie-body #logo { margin-top: 12px !important; }
  #tie-body #logo a { min-width: 148px; }
}
@media (max-width: 600px) {
  #tie-body .entry-content,
  #tie-body .entry { font-size: 16px; }
  #tie-body .container-wrapper,
  #tie-body .mag-box .container-wrapper { border-radius: var(--fi-radius-sm); }
  #tie-body #content.site-content { padding-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  #tie-body *, .fi2027 * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* GeoDirectory search button: its "Search" label is followed by a .visually-hidden copy for
   screen readers. GeoDirectory's legacy CSS never hides that class outside .bsui, so it read
   "SearchSearch". Hide it accessibly (still announced by screen readers). */
#tie-body .geodir_submit_search .visually-hidden,
#tie-body .geodir-listing-search .visually-hidden,
#tie-body .geodir-search .visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
#tie-body .geodir_submit_search { position: relative; }
