@import url("https://fonts.googleapis.com/css2?family=Beiruti:wght@200..900&family=Bellefair&display=swap");

/*
Theme Name: Futuer Calls
Theme URI: https://futurecalls.com
Author: Abdallah Abbasi
Author URI: https://kudzu.ai/
Description: Official theme for Future Calls – AI-powered accountability calls.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: futuer-calls
Tags: custom-logo, full-width-template
*/

/* ============================================================
   FUTURE CALLS — BUTTON SYSTEM
   Usage:
     Primary  →  <a class="fc-btn fc-btn--primary">…</a>
     Outline  →  <a class="fc-btn fc-btn--outline">…</a>
   ============================================================ */

/* ── Base ─────────────────────────────────────────────────── */
.fc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 28px;
  border-radius: 8px;
  border: 2px solid transparent;
  font-family: "Beiruti", sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
  outline-offset: 3px;
}

.fc-btn:active {
  transform: scale(0.97);
}

/* ── Primary (filled red) ─────────────────────────────────── */
.fc-btn--primary {
  background-color: #ed2f54;
  border-color: #ed2f54;
  color: #ffffff;
}

.fc-btn--primary:hover,
.fc-btn--primary:focus-visible {
  background-color: #d4203f;
  border-color: #d4203f;
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(237, 47, 84, 0.35);
}

/* ── Outline (transparent bg, red border) ─────────────────── */
.fc-btn--outline {
  background-color: transparent;
  border-color: #ed2f54;
  color: #ed2f54;
}

.fc-btn--outline:hover,
.fc-btn--outline:focus-visible {
  opacity: 0.6;
  box-shadow: 0 4px 18px rgba(237, 47, 84, 0.25);
}

/* ── Outline on dark backgrounds ──────────────────────────── */
.fc-btn--outline-white {
  background-color: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

.fc-btn--outline-white:hover,
.fc-btn--outline-white:focus-visible {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #ed2f54;
}

/* ── Size modifiers ───────────────────────────────────────── */
.fc-btn--sm {
  padding: 10px 20px;
  font-size: 16px;
}

.fc-btn--lg {
  padding: 22px 36px;
  font-size: 24px;
}

/* ── Full-width helper ────────────────────────────────────── */
.fc-btn--full {
  width: 100%;
}

/* ============================================================
   GLOBAL BASE
   ============================================================ */

body {
  font-family: "Beiruti", sans-serif;
  margin: 0;
  background-color: #ffffff;
}

#page {
  margin: 0;
  padding: 0;
}

/* Hide default Underscores site header (replaced by fc-navbar) */
.site-header {
  display: none !important;
}

/* ── Logo inside navbar ─────────────────────────────────── */
.fc-logo-wrap img,
.fc-logo-wrap .custom-logo {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ── Footer gradient background ────────────────────────── */
.fc-footer-bg {
  background: linear-gradient(180deg, #001e35 55%, #000000 100%);
}

/* Footer primary nav: avoid horizontal overflow on narrow viewports */
.fc-footer-menu {
  min-width: 0;
  box-sizing: border-box;
}

.fc-footer-menu a {
  overflow-wrap: anywhere;
}

.site-main {
  /* Headings & Text style */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: "Beiruti", "Noto Sans Arabic", sans-serif;
    color: #e63946; /* fc-red */
    margin: 0 0 1rem;
  }
  h1 {
    font-weight: 700;
    font-size: 70px;
    line-height: 100%;
  }
  h2 {
    font-weight: 700;
    font-size: 64px;
    line-height: 100%;
  }
  h3 {
    font-weight: 400;
    font-size: 40px;
    line-height: 1.1;
  }
  p {
    max-width: 80%;
    font-size: 24px;
    line-height: 1.35;
    margin: 1rem auto 2rem;
    a {
      color: #e63946;
    }
  }
}

/* BLOG POSTS */
.blog-hero .post-thumbnail {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  object-fit: cover;
  margin: 2rem 0;
  img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
    object-fit: cover;
  }
}

.blog-content {
  h2,
  h3,
  h4,
  h5,
  h6 {
    color: #001e35; /* dark gray for post content headings */
  }
}

/* Filter Section */
.fc-archive-search #ajaxsearchlite1 .probox,
.fc-archive-search div.asl_w .probox {
  align-items: center;
}
.fc-archive-search div.asl_w .probox .promagnifier {
  height: 100%;
  width: 30px;
  padding: 0 0.5rem;
  .innericon svg {
    display: block;
    width: 100%;
  }
}

.fc-archive-search .probox {
  height: 44px !important;
}
.fc-archive-search #ajaxsearchlite1 .probox .proinput input,
.fc-archive-search div.asl_w .probox .proinput input {
  font-family: "Beiruti", sans-serif !important;
  font-size: 16px !important;
  color: #ed2f54 !important;
  background: transparent !important;
  height: 44px !important;
}
.fc-archive-search #ajaxsearchlite1 .probox .proinput input::placeholder,
.fc-archive-search div.asl_w .probox .proinput input::placeholder {
  color: #ed2f54 !important;
  opacity: 0.7 !important;
}

/* Responsive Style */
@media (max-width: 768px) {
  .site-main h1 {
    font-size: 48px;
  }
  .site-main h2 {
    font-size: 40px;
  }
  .site-main h3 {
    font-size: 32px;
  }
  .site-main p {
    max-width: 100%;
    font-size: 20px;
  }
  .fc-btn {
    font-size: 16px;
    padding: 10px 16px;
  }
  .fc-logo-wrap .custom-logo {
    height: 40px;
  }
}

/* ============================================================
   WPFORMS — CONTACT US FORM  (.contact-us-form)
   Classes set in WPForms → Settings → Advanced:
     Form CSS Class    : contact-us-form
     Submit Button CSS : btn btn-main
   ============================================================ */

/* Strip WPForms default chrome */
.contact-us-form .wpforms-form {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  max-width: 600px;
  width: 100%;
  margin: 4rem auto;
}

/* Field wrapper spacing */
.contact-us-form .wpforms-field {
  padding: 0;
  margin-bottom: 28px;
}

/* Labels */
.contact-us-form .wpforms-field .wpforms-field-label {
  color: #ed2f54;
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  margin-bottom: 0;
}

/* Text inputs & textarea — underline style */
.contact-us-form .wpforms-field-container .wpforms-field input,
.contact-us-form .wpforms-field-container .wpforms-field textarea {
  font-size: 18px;
  color: #111111;
  background: transparent;
  border: none !important;
  border-bottom: 1.5px solid #ed2f54 !important;
  border-radius: 0;
  padding: 10px 0;
  width: 100%;
  outline: none;
  box-shadow: none !important;
  transition: border-color 0.2s ease;
  resize: none;
}

/* Focus — highlight bottom border in red */
.contact-us-form .wpforms-field-container .wpforms-field input:focus,
.contact-us-form .wpforms-field-container .wpforms-field textarea:focus {
  border-bottom-color: #ed2f54 !important;
  box-shadow: none !important;
  outline: none;
}

/* Helper / description text under fields */
.contact-us-form .wpforms-field-description {
  font-family: "Beiruti", sans-serif;
  font-size: 14px;
  color: #888888;
  margin-top: 4px;
  line-height: 1.4;
}

/* Submit container */
.contact-us-form .wpforms-submit-container {
  margin-top: 8px;
  text-align: left;
}

/* Submit button */
.contact-us-form .wpforms-submit,
.contact-us-form .wpforms-submit-container .btn.btn-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background-color: #ed2f54 !important;
  border: none;
  border-radius: 8px;
  color: #ffffff !important;
  font-family: "Beiruti", sans-serif;
  font-size: 22px;
  font-weight: 700;
  padding: 1.5rem !important;
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

/* Circled arrow icon on the right */
.contact-us-form .wpforms-submit-container .wpforms-submit::after,
.contact-us-form .wpforms-submit-container .btn.btn-main::after {
  content: "→";
  display: inline-flex;
  align-items: end;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  font-size: 16px;
  flex-shrink: 0;
}

/* Hover state */
.contact-us-form .wpforms-submit-container .wpforms-submit:hover,
.contact-us-form .wpforms-submit-container .btn.btn-main:hover {
  background-color: #d4203f;
  box-shadow: 0 4px 18px rgba(237, 47, 84, 0.35);
  color: #ffffff;
}


/* ============================================================
   CASES — Archive & Single
   ============================================================ */

/* ── Archive hero ─────────────────────────────────────────── */


/* ── Case cards ───────────────────────────────────────────── */
.fc-case-card {
  background: #fff;
}

/* ── Pagination ───────────────────────────────────────────── */
.fc-cases-pagination .page-numbers {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
}

.fc-cases-pagination .page-numbers li a,
.fc-cases-pagination .page-numbers li span {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 8px;
  font-family: "Beiruti", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid #e63946;
  color: #e63946;
  transition: background-color 0.2s, color 0.2s;
}

.fc-cases-pagination .page-numbers li a:hover,
.fc-cases-pagination .page-numbers li span.current {
  background-color: #e63946;
  color: #fff;
}

/* ── Single hero ──────────────────────────────────────────── */
.fc-case-hero {
  min-height: 420px;
  background-color: #001e35;
  background-size: cover;
  background-position: center;
}

/* ── Single story content ─────────────────────────────────── */
.fc-case-body {
  font-family: "Beiruti", "Noto Sans Arabic", sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.75;
  color: #1a1a2e;
}

.fc-case-body h2,
.fc-case-body h3,
.fc-case-body h4 {
  font-family: "Beiruti", sans-serif;
  font-weight: 800;
  color: #001e35;
  margin: 2rem 0 0.75rem;
}

.fc-case-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.fc-case-body h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }

.fc-case-body p  { margin: 0 0 1rem; }

.fc-case-body ul,
.fc-case-body ol {
  margin: 0 0 1rem;
  padding-inline-start: 1.75rem;
}

.fc-case-body li { margin-bottom: 0.35rem; }

.fc-case-body blockquote {
  border-left: 4px solid #e63946;
  margin: 1.5rem 0;
  padding: 0.75rem 1.5rem;
  font-style: italic;
  color: #555;
  background: #fdf2f4;
  border-radius: 0 8px 8px 0;
}

.fc-case-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0;
}

/* ============================================================
   404 PAGE
   ============================================================ */

.fc-404-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 120px);
  padding: 4rem 1.5rem;
  background: #ffffff;
  text-align: center;
}

.fc-404-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
}

.fc-404-section .fc-404-title {
  font-family: "Beiruti", sans-serif;
  font-size: clamp(28px, 5vw, 60px);
  font-weight: 700;
  margin: 0;
}

.fc-404-section .fc-404-message {
  font-family: "Beiruti", sans-serif;
  font-size: clamp(16px, 2.5vw, 22px);
  color: #555;
  line-height: 1.5;
  margin: 0 0 2rem;
  max-width: 420px;
}

@media (max-width: 480px) {
  .fc-404-code {
    letter-spacing: -2px;
  }
}

/* ============================================================
   SEARCH PAGE
   ============================================================ */

/* ── Search header ─────────────────────────────────────────── */
.fc-search-header {
  padding: 4rem 1.5rem 2.5rem;
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
}

.fc-search-header-inner {
  max-width: 860px;
  margin: 0 auto;
}

.fc-search-label {
  font-family: "Beiruti", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e63946;
  margin: 0 0 0.5rem;
}

.fc-search-query {
  font-family: "Beiruti", sans-serif;
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  color: #001e35;
  line-height: 1.1;
  margin: 0 0 0.75rem;
}

.fc-search-count {
  font-family: "Beiruti", sans-serif;
  font-size: 18px;
  color: #888;
  margin: 0;
}

/* ── Results list ──────────────────────────────────────────── */
.fc-search-results {
  padding: 2.5rem 1.5rem 4rem;
  background: #ffffff;
}

.fc-search-results-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ── Search card ───────────────────────────────────────────── */
.fc-search-card {
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 2rem 2.5rem;
  background: #ffffff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.fc-search-card:hover {
  border-color: #e63946;
  box-shadow: 0 4px 24px rgba(230, 57, 70, 0.08);
}

.fc-search-card-date {
  display: block;
  font-family: "Beiruti", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e63946;
  margin-bottom: 0.5rem;
}

.fc-search-card-title {
  font-family: "Beiruti", sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.fc-search-card-title a {
  color: #001e35;
  text-decoration: none;
  transition: color 0.2s ease;
}

.fc-search-card-title a:hover {
  color: #e63946;
}

.fc-search-card-excerpt {
  font-family: "Beiruti", sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: #555;
  margin-bottom: 1.25rem;
}

.fc-search-card-excerpt p {
  margin: 0;
}

.fc-search-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Beiruti", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #e63946;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.fc-search-card-link:hover {
  gap: 10px;
  color: #d4203f;
}

/* ── Pagination ────────────────────────────────────────────── */
.fc-search-pagination {
  max-width: 860px;
  margin: 2.5rem auto 0;
}

.fc-search-pagination .nav-links {
  display: flex;
  gap: 1rem;
  font-family: "Beiruti", sans-serif;
  font-size: 18px;
}

.fc-search-pagination .nav-links a {
  color: #e63946;
  text-decoration: none;
  font-weight: 700;
}

.fc-search-pagination .nav-links a:hover {
  color: #d4203f;
}

/* ── Empty / no-results state ──────────────────────────────── */
.fc-search-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  background: #ffffff;
}

.fc-search-empty-inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.fc-search-empty-icon {
  display: block;
  margin-bottom: 1.5rem;
}

.fc-search-empty-title {
  font-family: "Beiruti", sans-serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: #001e35;
  margin: 0 0 1rem;
}

.fc-search-empty-msg {
  font-family: "Beiruti", sans-serif;
  font-size: clamp(16px, 2.5vw, 20px);
  color: #555;
  line-height: 1.55;
  margin: 0 0 2rem;
  max-width: 440px;
}

.fc-search-empty .search-form {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.fc-search-empty .search-form .search-field {
  font-family: "Beiruti", sans-serif;
  font-size: 22px;
  padding: 26px 28px;
  border: 2px solid #e63946;
  border-radius: 8px;
  outline: none;
  color: #001e35;
  min-width: 320px;
  transition: box-shadow 0.2s ease;
}

.fc-search-empty .search-form .search-field:focus {
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2);
}

.fc-search-empty .search-form .search-submit {
  font-family: "Beiruti", sans-serif;
  font-size: 22px;
  font-weight: 700;
  padding: 16px 28px;
  background: #e63946;
  color: #ffffff;
  border: 2px solid #e63946;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.fc-search-empty .search-form .search-submit:hover {
  background: #d4203f;
  border-color: #d4203f;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 640px) {
  .fc-search-card {
    padding: 1.5rem;
  }

  .fc-search-header {
    padding: 3rem 1.25rem 2rem;
  }
}

/* ── Cases single page: hide footer wave pattern ─────────── */
.single-fc_cases .fc-footer-pattern {
  display: none;
}

.single-fc_cases .fc-navbar {
  position: fixed;
  width: 100%;
}

/* ── Case single: prev / next + home ───────────────────────── */
.fc-case-nav {
  background: #001E35;
  color: #e0e0e0;
}

.fc-case-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2rem;
  box-sizing: border-box;
}

.fc-case-nav__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem 1.5rem;
}

.fc-case-nav__prev-wrap {
  justify-self: start;
  min-width: 0;
}

.fc-case-nav__next-wrap {
  justify-self: end;
  min-width: 0;
}

.fc-case-nav__title {
  margin: 0;
  font-family: "Beiruti", "Noto Sans Arabic", sans-serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.15;
  color: #e0e0e0;
  text-align: center;
}

.fc-case-nav__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  background: #e63946;
  color: #fff;
  font-family: "Beiruti", "Noto Sans Arabic", sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
  max-width: 100%;
}

.fc-case-nav__pill:hover {
  background: #c72030;
  color: #fff;
}

.fc-case-nav__pill:active {
  transform: scale(0.98);
}

.fc-case-nav__pill--next {
  flex-direction: row;
}

.fc-case-nav__pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fc-case-nav__pill-icon svg {
  display: block;
}

.fc-case-nav__pill--disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.fc-case-nav__rule {
  height: 0;
  margin: 1.75rem 0 1.5rem;
  border: none;
  border-top: 2px solid #e63946;
}

.fc-case-nav__bottom {
  display: flex;
  justify-content: center;
  text-align: center;
}

.fc-case-nav__home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Beiruti", "Noto Sans Arabic", sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: #e63946;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.fc-case-nav__home:hover {
  opacity: 0.85;
}

.fc-case-nav__home-icon {
  display: flex;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .fc-case-nav__top {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.25rem 0.75rem;
  }

  .fc-case-nav__title {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .fc-case-nav__prev-wrap {
    grid-column: 1;
    grid-row: 2;
    justify-self: stretch;
  }

  .fc-case-nav__next-wrap {
    grid-column: 2;
    grid-row: 2;
    justify-self: stretch;
  }

  .fc-case-nav__pill {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .fc-case-nav__pill--next {
    flex-direction: row;
  }
}
