/*
Theme Name: Family Office Real Estate 365
Theme URI: https://fore.institute/
Author: Family Office Real Estate Institute
Author URI: https://fore.institute/
Description: Sharp-edged daily desk for the Family Office Real Estate Institute. Community, education, and legacy. Pairs with the FORE 365 News Aggregator plugin.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fore-365
Tags: news, blog, custom-menu, featured-images
*/

:root {
  --burgundy: #a41034;
  --navy: #0a1a2f;
  --gold: #c7a76c;
  --ink: #161616;
  --paper: #f4f1eb;
  --rule: #ddd6cb;
  --night: #07090c;
  --muted: #3e3a34;
  --white: #ffffff;
  --max: 1400px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-radius: 0 !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Lato, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--burgundy);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--burgundy);
  color: var(--white);
  padding: 8px 12px;
  z-index: 100;
}

.skip-link:focus {
  top: 16px;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.display {
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.serif {
  font-family: "Roboto Slab", Georgia, serif;
  font-weight: 400;
}

.plex {
  font-family: "IBM Plex Sans", Lato, sans-serif;
}

.util-bar {
  background: var(--navy);
  color: var(--white);
}

.util-bar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  font-size: 11px;
}

.util-bar a {
  color: var(--white);
  margin-right: 16px;
}

.util-bar a.gold,
.gold-link {
  color: var(--gold);
}

.masthead {
  background: var(--white);
  border-bottom: 1px solid var(--ink);
}

.masthead-grid {
  display: grid;
  gap: 24px;
  padding: 28px 0 20px;
}

.kicker {
  color: var(--burgundy);
  font-size: 11px;
  margin: 0;
}

.mark {
  display: inline-block;
  border: 1px solid var(--burgundy);
  color: var(--burgundy);
  padding: 2px 8px;
  font-size: 11px;
  margin-top: 8px;
}

.wordmark {
  display: block;
  margin: 8px 0 0;
  color: var(--navy);
  font-size: 2rem;
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.wordmark:hover {
  text-decoration: none;
  color: var(--navy);
}

.wordmark > span {
  display: block;
}

.tagline {
  color: var(--burgundy);
  font-size: 14px;
  margin: 12px 0 0;
}

.gold-rule {
  display: block;
  width: 64px;
  height: 4px;
  background: var(--gold);
  margin-top: 12px;
}

.dateline {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 8px 0 0;
}

.search-form label {
  display: block;
  font-size: 11px;
  color: var(--navy);
  margin-bottom: 4px;
}

.search-row {
  display: flex;
  border: 1px solid var(--ink);
  background: var(--white);
}

.search-row input[type="search"] {
  flex: 1;
  border: 0;
  padding: 12px;
  font-family: "IBM Plex Sans", Lato, sans-serif;
  font-size: 14px;
  background: transparent;
}

.search-row button {
  border: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0 14px;
  cursor: pointer;
}

.cat-nav {
  border-top: 1px solid var(--ink);
  background: var(--white);
}

.cat-nav .wrap {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 8px 0;
}

.cat-nav a {
  color: var(--ink);
  padding: 8px 12px;
  font-size: 11px;
  white-space: nowrap;
}

.cat-nav a.is-active,
.cat-nav a[aria-current="page"] {
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}

.desks {
  background: var(--white);
  border-bottom: 1px solid var(--ink);
}

.desk-grid {
  display: flex;
  overflow-x: auto;
}

.desk-grid a {
  min-width: 180px;
  flex: 1;
  border-right: 1px solid var(--ink);
  padding: 12px 16px;
  color: inherit;
  text-decoration: none;
}

.desk-grid a:hover {
  background: var(--paper);
}

.desk-grid a.is-active {
  background: var(--navy);
  color: var(--white);
}

.desk-grid .kicker {
  display: block;
  font-size: 10px;
}

.desk-grid strong {
  display: block;
  font-family: "Roboto Slab", Georgia, serif;
  font-weight: 400;
  margin-top: 4px;
}

.desk-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.desk-grid a.is-active span,
.desk-grid a.is-active .kicker {
  color: var(--gold);
}

.wire-note {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  padding: 16px 0 0;
}

.home-grid,
.split {
  display: grid;
  gap: 0;
}

.panel {
  background: var(--white);
}

.story {
  padding: 20px 0 28px;
}

.story h2,
.story h3,
.page-hero h1,
.entry-title {
  font-family: "Roboto Slab", Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  margin: 8px 0;
  color: var(--ink);
}

.story h2 a,
.story h3 a,
.entry-title a {
  color: var(--ink);
}

.story h2 a:hover,
.story h3 a:hover,
.entry-title a:hover {
  color: var(--burgundy);
}

.lead h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.meta {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 12px 0 0;
}

.source-label {
  color: var(--burgundy);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0;
}

.miss {
  border-top: 1px solid var(--ink);
}

.miss h2,
.section-label {
  font-size: 13px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink);
}

.miss ol {
  list-style: none;
  margin: 0;
  padding: 0 0 12px;
}

.miss li {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--rule);
  padding: 12px 0;
}

.miss .num {
  color: var(--burgundy);
  font-size: 12px;
}

.tile-grid,
.pick-grid,
.strip-grid,
.card-grid {
  display: grid;
  gap: 16px;
}

.tile,
.pick,
.card,
.sample-card {
  background: var(--white);
  border: 1px solid var(--ink);
  padding: 16px;
  height: 100%;
}

.band-navy {
  background: var(--navy);
  color: var(--white);
  padding: 48px 0;
}

.band-night {
  background: var(--night);
  color: var(--white);
  padding: 48px 0;
}

.band-burgundy {
  background: var(--burgundy);
  color: var(--white);
  padding: 40px 0;
}

.band-white {
  background: var(--white);
  border-top: 8px solid var(--burgundy);
  border-bottom: 8px solid var(--burgundy);
  padding: 48px 0;
}

.band-navy h2,
.band-night h2,
.band-burgundy h2,
.band-white h2 {
  font-family: "Roboto Slab", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  margin: 8px 0 12px;
}

.band-navy a,
.band-night a {
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--burgundy);
  color: var(--white);
  font-family: Oswald, sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
  background: var(--navy);
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: var(--white);
  color: var(--navy);
}

.page-hero {
  background: var(--white);
  border-bottom: 1px solid var(--ink);
  padding: 32px 0;
}

.crumbs {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 8px 0;
}

.lede {
  max-width: 46rem;
  font-size: 1.05rem;
}

.content {
  padding: 32px 0 48px;
}

.badge {
  display: inline-block;
  border: 1px solid var(--gold);
  background: var(--white);
  color: var(--navy);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 2px 6px;
}

.institute-badge {
  display: inline-block;
  border: 1px solid var(--burgundy);
  color: var(--burgundy);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 2px 6px;
}

.notice {
  border: 1px solid var(--gold);
  background: #fbf8f1;
  color: var(--navy);
  padding: 12px 16px;
  font-size: 14px;
}

.list-reset {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stack > * + * {
  margin-top: 16px;
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  font-family: "Roboto Slab", Georgia, serif;
  font-weight: 400;
}

details {
  border-bottom: 1px solid var(--rule);
  padding: 12px 0;
}

summary {
  cursor: pointer;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.25rem;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-grid label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: inherit;
}

.form-grid input,
.form-grid textarea,
.form-grid select,
.filters input,
.filters select {
  width: 100%;
  margin-top: 4px;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  padding: 10px 12px;
  font-family: Lato, sans-serif;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}

.band-night .form-grid input,
.band-night .form-grid textarea,
.footer .form-grid input,
.footer .form-grid textarea {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.footer {
  background: var(--night);
  color: var(--white);
  padding: 48px 0 0;
}

.footer a {
  color: var(--white);
}

.footer a:hover {
  color: var(--gold);
}

.footer-grid {
  display: grid;
  gap: 32px;
}

.footer h2 {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}

.footer .wordmark-foot {
  font-size: 1.4rem;
  line-height: 1.1;
  color: var(--white);
  margin: 4px 0 8px;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li + li {
  margin-top: 8px;
}

.disclosure {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 32px;
  padding: 24px 0 32px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.empty {
  border: 1px solid var(--ink);
  background: var(--white);
  padding: 24px;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.4rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.chip {
  border: 1px solid var(--ink);
  background: var(--white);
  padding: 6px 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.chip.is-active {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}

@media (min-width: 800px) {
  .masthead-grid,
  .cta-grid,
  .two {
    grid-template-columns: 1.4fr 0.8fr;
    align-items: end;
  }

  .home-top {
    grid-template-columns: 2fr 1fr;
  }

  .home-top .rail {
    border-left: 1px solid var(--ink);
    padding-left: 24px;
  }

  .pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--ink);
  }

  .pair .story + .story {
    border-left: 1px solid var(--ink);
    padding-left: 24px;
  }

  .tile-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .pick-grid,
  .strip-grid,
  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .pick-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .desk-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .wordmark {
    font-size: 3.5rem;
  }
}

@media (max-width: 799px) {
  .pick-grid,
  .tile-grid,
  .strip-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }
}
