/* =========================================================================
 * WCR County-Hub Network -- Styles
 * -------------------------------------------------------------------------
 * Civic reference publication register: gray-blue page, white reference
 * panels, navy-black ink. Gold contained to logo medallion (header) and
 * tagline (footer). Visually distinct from the distressed network's
 * gold-on-black register.
 *
 * Deployed at: /var/www/walnutcreekrealtyohio.com/_shared/county-hub/styles.css
 * Loaded by:   /_shared/county-hub/head-extras.php
 * Shared by:   /geauga-county-ohio/, future /{county}-county-ohio/,
 *              /correction-received/
 *
 * Created May 15, 2026.
 * ========================================================================= */

/* -------------------------------------------------------------------------
 * Design tokens
 * ------------------------------------------------------------------------- */

:root {
  /* Surfaces -- soft slate dark register */
  --hub-page-bg:        #2C3540;
  --hub-panel-bg:       #3A4452;
  --hub-panel-bg-alt:   #424D5C;

  /* Ink -- warm cream tones for warmth against slate */
  --hub-ink-primary:    #F2EDDF;
  --hub-ink-body:       #E8E2D3;
  --hub-ink-secondary:  #A8A296;
  --hub-ink-tertiary:   #9F9A8E;

  /* Links -- warm gold ties to brand without being primary brand gold */
  --hub-link:           #D4B870;
  --hub-link-hover:     #E8C940;
  --hub-link-underline: #5A5448;

  /* Lines -- subtle dividers on slate surfaces */
  --hub-hairline:       #4A5462;
  --hub-hairline-soft:  #404956;
  --hub-eyebrow-rule:   #F2EDDF;

  /* Cross-county chip */
  --hub-chip-bg:        #5A4818;
  --hub-chip-text:      #F0D580;

  /* Brand (used only in header medallion and footer tagline) */
  --brand-gold-primary: #CAA628;
  --brand-gold-deep:    #6D5700;
  --brand-black:        #0A0A0A;

  /* Typography families */
  --hub-font-display: "Cormorant Garamond", "Source Serif Pro", Georgia, serif;
  --hub-font-body:    "DM Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Structure */
  --hub-panel-radius:      3px;
  --hub-grid-gap:          10px;
  --hub-section-spacing:   40px;
  --hub-page-padding-x:    32px;
  --hub-page-max-width:    1180px;
}

/* -------------------------------------------------------------------------
 * Base -- scoped to .hub-page so this file does not leak into other networks
 * ------------------------------------------------------------------------- */

.hub-page,
.hub-page * {
  box-sizing: border-box;
}

.hub-page {
  margin: 0;
  padding: 0;
  background: var(--hub-page-bg);
  color: var(--hub-ink-primary);
  font-family: var(--hub-font-body);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hub-page a {
  color: var(--hub-link);
  text-decoration: underline;
  text-decoration-color: var(--hub-link-underline);
  text-underline-offset: 3px;
  transition: color 120ms ease, text-decoration-color 120ms ease;
}

.hub-page a:hover {
  color: var(--hub-link-hover);
  text-decoration-color: var(--hub-link-hover);
}

.hub-page h1,
.hub-page h2,
.hub-page h3,
.hub-page h4 {
  font-family: var(--hub-font-display);
  color: var(--hub-ink-primary);
  margin: 0;
}

.hub-page p {
  margin: 0 0 1em;
  color: var(--hub-ink-body);
}

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

/* -------------------------------------------------------------------------
 * Page wrapper and panel primitive
 * ------------------------------------------------------------------------- */

.hub-container {
  max-width: var(--hub-page-max-width);
  margin: 0 auto;
  padding: 0 16px;
}

.hub-panel {
  background: var(--hub-panel-bg);
  border: 1px solid var(--hub-hairline);
  border-radius: var(--hub-panel-radius);
  padding: 28px 24px;
}

/* -------------------------------------------------------------------------
 * Section eyebrow -- the publication-register signature element
 * ------------------------------------------------------------------------- */

.hub-section-eyebrow {
  font-family: var(--hub-font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hub-ink-primary);
  border-bottom: 2px solid var(--hub-eyebrow-rule);
  padding-bottom: 10px;
  margin: 0 0 24px;
  display: block;
}

/* Sub-section eyebrow -- used for Sec 3a, Sec Xa, etc. Slightly smaller and
   visually less dominant than the primary eyebrow, but unmistakably part of
   the same register. */
.hub-section-eyebrow--sub {
  margin-top: 32px;
  font-size: 11px;
  letter-spacing: 0.20em;
  border-bottom-width: 1px;
}

/* -------------------------------------------------------------------------
 * Header -- logo medallion + brokerage name + direct phone
 * ------------------------------------------------------------------------- */

.hub-header {
  background: var(--hub-panel-bg);
  border-bottom: 1px solid var(--hub-hairline);
}

.hub-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.hub-header__lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.hub-header__medallion {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--brand-black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-header__medallion img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hub-header__brokerage {
  font-family: var(--hub-font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--hub-ink-primary);
}

.hub-header__phone {
  font-family: var(--hub-font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--hub-ink-primary);
  text-decoration: none;
  white-space: nowrap;
}

.hub-header__phone:hover {
  color: var(--hub-link-hover);
}

/* -------------------------------------------------------------------------
 * Title block -- breadcrumb, classification, H1, sub-line, metadata
 * ------------------------------------------------------------------------- */

.hub-title-block {
  padding: 40px 0 28px;
  border-bottom: 1px solid var(--hub-hairline-soft);
  margin-bottom: var(--hub-section-spacing);
  text-align: center;
}

.hub-breadcrumb {
  font-size: 12px;
  color: var(--hub-ink-tertiary);
  margin-bottom: 18px;
}

.hub-breadcrumb a {
  color: var(--hub-ink-secondary);
}

.hub-classification {
  font-family: var(--hub-font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--hub-ink-primary);
  margin-bottom: 22px;
}

.hub-page h1.hub-title {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--hub-ink-primary);
  margin-bottom: 16px;
}

.hub-page .hub-title-block__sub {
  font-size: 15px;
  line-height: 1.55;
  color: var(--hub-ink-secondary);
  text-align: center;
  max-width: 64ch;
  margin: 0 auto 24px !important;
}

.hub-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--hub-ink-tertiary);
}

.hub-meta__item strong {
  font-weight: 600;
  color: var(--hub-ink-secondary);
}

/* -------------------------------------------------------------------------
 * County overview -- editorial prose anchor
 * ------------------------------------------------------------------------- */

.hub-overview {
  margin-bottom: var(--hub-section-spacing);
}

.hub-overview p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--hub-ink-primary);
  max-width: 70ch;
}

/* -------------------------------------------------------------------------
 * Sec 1 Municipalities -- 21-tile grid
 * ------------------------------------------------------------------------- */

.hub-section {
  margin-bottom: var(--hub-section-spacing);
}

.hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--hub-grid-gap);
}

.hub-tile {
  background: var(--hub-panel-bg);
  border: 1px solid var(--hub-hairline);
  border-radius: var(--hub-panel-radius);
  padding: 22px 22px 20px;
  transition: border-color 140ms ease;
}

.hub-tile:hover {
  border-color: var(--hub-ink-secondary);
}

.hub-tile__name {
  font-family: var(--hub-font-display);
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--hub-ink-primary);
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hub-hairline-soft);
}

.hub-tile__rows {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 7px 12px;
  font-size: 14px;
  line-height: 1.5;
}

.hub-tile__label {
  font-weight: 600;
  color: var(--hub-ink-secondary);
  letter-spacing: 0.04em;
}

.hub-tile__value {
  color: var(--hub-ink-primary);
  word-break: break-word;
}

.hub-tile__value a {
  color: var(--hub-link);
}

/* -------------------------------------------------------------------------
 * Sec 2 Schools panel and Sec 3 Government panel -- shared row pattern
 * ------------------------------------------------------------------------- */

.hub-ref-panel {
  background: var(--hub-panel-bg);
  border: 1px solid var(--hub-hairline);
  border-radius: var(--hub-panel-radius);
  overflow: hidden;
}

.hub-ref-panel__intro {
  padding: 24px 26px 22px;
  border-bottom: 1px solid var(--hub-hairline-soft);
}

.hub-ref-panel__intro p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--hub-ink-primary);
  margin: 0 0 10px;
}

.hub-ref-panel__intro p:last-child {
  margin-bottom: 0;
}

.hub-ref-panel__intro strong {
  font-weight: 600;
  color: var(--hub-ink-primary);
}

.hub-ref-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 28px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--hub-hairline-soft);
}

.hub-ref-row:last-child {
  border-bottom: 0;
}

.hub-ref-row--alt {
  background: var(--hub-panel-bg-alt);
}

.hub-ref-row__name {
  font-family: var(--hub-font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--hub-ink-primary);
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hub-hairline-soft);
}

.hub-ref-row__name--external {
  font-style: italic;
}

.hub-ref-row__hq {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hub-ink-tertiary);
  margin-bottom: 8px;
}

.hub-ref-row__body {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px 14px;
  font-size: 14px;
  line-height: 1.6;
  align-items: baseline;
}

.hub-ref-row__body-label {
  font-weight: 600;
  color: var(--hub-ink-secondary);
  letter-spacing: 0.04em;
}

.hub-ref-row__body-value {
  color: var(--hub-ink-primary);
  word-break: break-word;
}

.hub-ref-row__body-value a {
  color: var(--hub-link);
}

.hub-ref-row__body-note {
  grid-column: 1 / -1;
  font-style: italic;
  font-size: 13px;
  color: var(--hub-ink-secondary);
  margin-top: 4px;
}

.hub-ref-row__body-description {
  grid-column: 1 / -1;
  color: var(--hub-ink-primary);
  margin-bottom: 4px;
}

.hub-ref-row__external-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hub-ink-tertiary);
  margin-bottom: 10px;
}

/* Real-estate callout inside a county-government ref row. Visually inset
   from the standard row body via a hairline rule, italic, secondary ink.
   Spans the full body grid width. */
.hub-ref-row__re-note {
  grid-column: 1 / -1;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--hub-hairline-soft);
  font-size: 13px;
  line-height: 1.6;
  font-style: italic;
  color: var(--hub-ink-secondary);
}

.hub-ref-row__re-label {
  display: inline;
  font-style: normal;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hub-ink-tertiary);
  margin-right: 7px;
}

/* -------------------------------------------------------------------------
 * Cross-county chip -- used in schools panel and any future flag
 * ------------------------------------------------------------------------- */

.hub-chip {
  display: inline-block;
  background: var(--hub-chip-bg);
  color: var(--hub-chip-text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 2px;
  margin-top: 8px;
}

/* -------------------------------------------------------------------------
 * Sec 4 About panel -- agent card + corrections form
 * ------------------------------------------------------------------------- */

.hub-about-panel {
  background: var(--hub-panel-bg);
  border: 1px solid var(--hub-hairline);
  border-radius: var(--hub-panel-radius);
  padding: 28px 24px;
}

.hub-agent-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--hub-hairline-soft);
}

.hub-agent-card__headshot {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.hub-agent-card__body {
  display: flex;
  flex-direction: column;
}

.hub-agent-card__name {
  font-family: var(--hub-font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--hub-ink-primary);
  margin: 0 0 4px;
}

.hub-agent-card__role {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--hub-ink-tertiary);
  margin-bottom: 14px;
}

.hub-agent-card__authorship {
  font-size: 14px;
  line-height: 1.65;
  color: var(--hub-ink-primary);
  margin-bottom: 14px;
  max-width: 64ch;
}

.hub-agent-card__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--hub-ink-primary);
}

.hub-agent-card__contact strong {
  font-weight: 600;
  color: var(--hub-ink-secondary);
}

/* -------------------------------------------------------------------------
 * Corrections form -- editorial submission register
 * ------------------------------------------------------------------------- */

.hub-corrections-form__heading {
  font-family: var(--hub-font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--hub-ink-primary);
  margin: 0 0 8px;
}

.hub-corrections-form__intro {
  font-size: 14px;
  line-height: 1.65;
  color: var(--hub-ink-secondary);
  margin-bottom: 22px;
  max-width: 64ch;
}

.hub-corrections-form__field {
  margin-bottom: 16px;
}

.hub-corrections-form__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--hub-ink-tertiary);
  margin-bottom: 6px;
}

.hub-corrections-form__input,
.hub-corrections-form__textarea {
  width: 100%;
  font-family: var(--hub-font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--hub-ink-primary);
  background: var(--hub-page-bg);
  border: 1px solid var(--hub-hairline);
  border-radius: 2px;
  padding: 10px 13px;
  transition: border-color 120ms ease;
}

.hub-corrections-form__input:focus,
.hub-corrections-form__textarea:focus {
  outline: none;
  border-color: var(--hub-link);
}

.hub-corrections-form__textarea {
  min-height: 120px;
  resize: vertical;
}

/* Honeypot -- visible to bots, invisible and unfocusable for humans */
.hub-corrections-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.hub-corrections-form__submit {
  display: inline-block;
  font-family: var(--hub-font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hub-ink-primary);
  background: var(--hub-panel-bg);
  border: 1.5px solid var(--hub-ink-primary);
  border-radius: 2px;
  padding: 12px 26px;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}

.hub-corrections-form__submit:hover {
  background: var(--hub-ink-primary);
  color: var(--hub-panel-bg);
}

/* -------------------------------------------------------------------------
 * Footer -- brokerage line, gold tagline, citation band
 * ------------------------------------------------------------------------- */

.hub-footer {
  background: var(--hub-panel-bg);
  border-top: 1px solid var(--hub-hairline);
  margin-top: var(--hub-section-spacing);
  padding: 32px 0 28px;
}

.hub-footer__lockup {
  font-family: var(--hub-font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--hub-ink-primary);
  margin-bottom: 4px;
}

.hub-footer__phone {
  font-size: 13px;
  color: var(--hub-ink-secondary);
  margin-bottom: 18px;
}

.hub-footer__tagline {
  font-family: var(--hub-font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--brand-gold-deep);
  margin-bottom: 22px;
}

.hub-footer__citations {
  padding-top: 16px;
  border-top: 1px solid var(--hub-hairline-soft);
  font-size: 11px;
  line-height: 1.65;
  color: var(--hub-ink-tertiary);
}

.hub-footer__citations p {
  margin: 0 0 6px;
  color: var(--hub-ink-tertiary);
}

.hub-footer__citations p:last-child {
  margin-bottom: 0;
}

/* -------------------------------------------------------------------------
 * Responsive breakpoints -- mobile-first
 * ------------------------------------------------------------------------- */

@media (min-width: 600px) {
  .hub-container {
    padding: 0 24px;
  }

  .hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hub-agent-card {
    grid-template-columns: 72px 1fr;
    align-items: start;
  }
}

@media (min-width: 900px) {
  .hub-container {
    padding: 0 var(--hub-page-padding-x);
  }

  .hub-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hub-ref-row {
    grid-template-columns: 240px 1fr;
    gap: 0 32px;
  }
}

@media (min-width: 1100px) {
  .hub-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
