/*
Theme Name: DW Stack
Theme URI: https://dwstack.com
Author: DW McEwing
Author URI: https://dwstack.com
Description: DW Stack - dynamic WordPress theme inspired by northwestcentralpulse.com/clone
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: dw-stack
*/

/* Root variables */
:root {
  --dw-primary: #0b66a3;
  --dw-dark: #111111;
  --dw-muted: #6b6b6b;
  --dw-bg: #ffffff;
  --dw-accent: #f3f7fb;
  --dw-container: 1100px;
  --dw-gap: 16px;
  --dw-radius: 6px;
  --dw-font-sans: "Helvetica Neue", Arial, sans-serif;
}

/* Base */

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--dw-bg);
  color: var(--dw-dark);
  font-family: var(--dw-font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  font-size: 16px;
}

/* Containers */

.dw-container {
  max-width: var(--dw-container);
  margin: 0 auto;
  padding: 0 var(--dw-gap);
  box-sizing: border-box;
}

/* Header */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.site-logo-wrap img {
  display: block;
  max-height: 52px;
  width: auto;
}

.site-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-title a {
  text-decoration: none;
  color: var(--dw-dark, #111111);
}

.site-title a:hover {
  color: var(--dw-primary, #0b66a3);
}

.site-tagline {
  margin: 0;
  font-size: 0.9rem;
  color: var(--dw-muted, #6b6b6b);
}

/* Primary nav */

.primary-nav {
  flex: 1;
}

.primary-nav ul,
.primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}

.primary-nav li {
  margin: 0;
}

.primary-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--dw-dark, #111111);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.primary-nav a:hover,
.primary-nav a:focus {
  border-bottom-color: var(--dw-primary, #0b66a3);
}

/* Content */

.site-content {
  padding: 28px 0;
}

/* Footer */

.site-footer {
  margin-top: 48px;
  background: #101218;
  color: #f3f3f3;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-meta {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(243, 243, 243, 0.7);
}

/* Footer menu */

.footer-menu-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.9rem;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
}

.footer-menu li {
  margin: 0;
}

.footer-menu a {
  color: rgba(243, 243, 243, 0.9);
  text-decoration: none;
}

.footer-menu a:hover {
  text-decoration: underline;
}

/* Legal styles */

.nts-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  line-height: 1.6;
  font-size: 17px;
}

.nts-page h1 {
  font-size: 2rem;
  margin-bottom: 0.7rem;
}

.nts-page h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.3rem;
}

.nts-page h3 {
  font-size: 1.15rem;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
}

.nts-page p {
  margin-bottom: 1rem;
}

.nts-page ul,
.nts-page ol {
  margin-left: 1.2rem;
  margin-bottom: 1.2rem;
}

.nts-notice {
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 4px;
}

.nts-notice-warning {
  background: #fff5d6;
  border: 1px solid #f0c776;
}

.nts-section {
  margin-top: 2rem;
}

.nts-legal-links {
  margin: 2rem 0;
  text-align: center;
}

.nts-legal-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nts-legal-links li {
  display: inline-block;
  margin: 0 10px;
}

.nts-legal-links a {
  text-decoration: none;
  color: #555;
  font-size: 15px;
}

.nts-legal-links a:hover {
  text-decoration: underline;
  color: #000;
}

/* Responsive tweaks */

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .primary-nav {
    order: 3;
    width: 100%;
  }

  .primary-nav ul,
  .primary-menu {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .footer-menu-wrap {
    justify-content: flex-start;
    margin-top: 8px;
  }
}

@media (max-width: 600px) {
  .header-inner {
    align-items: flex-start;
  }

  .site-title {
    font-size: 1.15rem;
  }
}

/* Hide auto page and post titles printed above the content */

.page article > h1:first-of-type,
.single article > h1:first-of-type {
  display: none !important;
}

/* === FiskMo page frame (green TOS-style layout) === */

.fm-page-tos {
  --fm-bg: #f3faf5;
  --fm-bg-alt: #ffffff;
  --fm-accent: #2f7b4b;
  --fm-accent-soft: #d7f0df;
  --fm-text-main: #12261b;
  --fm-text-muted: #5b6b60;
  --fm-border-soft: #d4e5d8;
  --fm-shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
  --fm-radius-lg: 14px;
  --fm-radius-pill: 999px;
  --fm-max-width: 1120px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--fm-text-main);
  /* background removed so pages inherit the site background */
}

.fm-page-tos a {
  color: inherit;
  text-decoration: none;
}

.fm-page-tos .fm-shell {
  width: 100%;
  max-width: var(--fm-max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.fm-page-tos .fm-hero-spacer {
  padding-top: 2.2rem;
}

.fm-page-tos .fm-tos-hero {
  background: linear-gradient(145deg, #ffffff, #f1fbf5);
  border-radius: 20px;
  padding: 1.6rem 1.6rem 1.4rem;
  border: 1px solid rgba(212, 229, 216, 0.9);
  box-shadow: var(--fm-shadow-soft);
  margin-bottom: 2.2rem;
}

.fm-page-tos .fm-tos-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: var(--fm-radius-pill);
  padding: 0.3rem 0.85rem 0.3rem 0.4rem;
  background: #ffffff;
  border: 1px solid var(--fm-border-soft);
  box-shadow: 0 8px 20px rgba(148, 163, 184, 0.24);
  font-size: 0.7rem;
  margin-bottom: 0.6rem;
}

.fm-page-tos .fm-tos-pill-dot {
  height: 18px;
  width: 18px;
  border-radius: 999px;
  background: var(--fm-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--fm-accent);
}

.fm-page-tos .fm-tos-hero-title {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 0.45rem;
  letter-spacing: -0.03em;
}

.fm-page-tos .fm-tos-hero-title span {
  color: var(--fm-accent);
}

.fm-page-tos .fm-tos-hero-text {
  font-size: 0.96rem;
  color: var(--fm-text-muted);
  max-width: 40rem;
  margin-bottom: 0.7rem;
}

.fm-page-tos .fm-tos-note {
  font-size: 0.85rem;
  color: var(--fm-text-muted);
}

.fm-page-tos .fm-tos-tags {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fm-page-tos .fm-tos-tag {
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--fm-radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: #ffffff;
  color: var(--fm-text-muted);
}

.fm-page-tos .fm-tos-section {
  margin-top: 2rem;
  margin-bottom: 2rem;
  background: #ffffff;
  border-radius: var(--fm-radius-lg);
  border: 1px solid var(--fm-border-soft);
  padding: 1.25rem 1.3rem;
  box-shadow: 0 6px 18px rgba(148, 163, 184, 0.18);
}

.fm-page-tos .fm-tos-section h2 {
  margin-top: 0;
  margin-bottom: 0.55rem;
  font-size: 1.1rem;
  color: var(--fm-accent);
}

.fm-page-tos .fm-tos-section h3 {
  margin-top: 0.9rem;
  margin-bottom: 0.35rem;
  font-size: 0.98rem;
  color: var(--fm-text-main);
}

.fm-page-tos .fm-tos-section p,
.fm-page-tos .fm-tos-section li {
  font-size: 0.94rem;
  color: var(--fm-text-muted);
}

.fm-page-tos .fm-tos-section ul {
  padding-left: 1.2rem;
  margin-bottom: 0.3rem;
}

.fm-page-tos .fm-tos-section strong {
  color: var(--fm-text-main);
}

.fm-page-tos .fm-tos-footnote {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: var(--fm-text-muted);
}

@media (max-width: 640px) {
  .fm-page-tos .fm-shell {
    padding: 1.25rem 1rem 2.2rem;
  }
  .fm-page-tos .fm-tos-hero {
    padding: 1.3rem 1.1rem 1.1rem;
  }
}
/* FiskMO contact form styling */

.fm-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.fm-contact-form label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fm-text-main);
  margin-bottom: 0.2rem;
  display: block;
}

.fm-contact-form input,
.fm-contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--fm-border-soft);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--fm-text-main);
  background: #ffffff;
  box-sizing: border-box;
}

.fm-contact-form textarea {
  resize: vertical;
}

.fm-contact-form input:focus,
.fm-contact-form textarea:focus {
  outline: none;
  border-color: var(--fm-accent);
  box-shadow: 0 0 0 3px rgba(47, 123, 75, 0.15);
}

.fm-form-submit {
  display: inline-block;
  background: var(--fm-accent);
  border: none;
  color: #ffffff;
  padding: 0.7rem 1.3rem;
  border-radius: 12px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: 0.15s ease-in-out;
}

.fm-form-submit:hover {
  background: #23613c;
}
/* Home layout: grid and cards */

.fm-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.6fr);
  gap: 1.6rem;
  align-items: flex-start;
  margin-top: 0.75rem;
}

.fm-home-column h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.02rem;
  color: var(--fm-text-main);
}

.fm-home-list {
  list-style: none;
  margin: 0.4rem 0 0.6rem;
  padding: 0;
}

.fm-home-list li {
  font-size: 0.94rem;
  color: var(--fm-text-muted);
}

.fm-home-linkrow {
  font-size: 0.9rem;
  margin: 0;
}

.fm-home-linkrow a {
  text-decoration: none;
}

.fm-home-linkrow a:hover {
  text-decoration: underline;
}

.fm-home-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 0.8rem;
}

.fm-home-card {
  display: block;
  padding: 1rem 1rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--fm-border-soft);
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(148, 163, 184, 0.18);
  text-decoration: none;
  color: var(--fm-text-main);
  transition: transform 0.1s ease, box-shadow 0.1s ease, border-color 0.1s ease;
}

.fm-home-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.03rem;
}

.fm-home-card p {
  margin: 0 0 0.5rem;
  font-size: 0.94rem;
  color: var(--fm-text-muted);
}

.fm-home-card-meta {
  display: inline-block;
  font-size: 0.83rem;
  color: var(--fm-text-muted);
}

.fm-home-card:hover {
  transform: translateY(-1px);
  border-color: var(--fm-accent-soft);
  box-shadow: 0 10px 22px rgba(148, 163, 184, 0.26);
}

.fm-home-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1rem;
}

.fm-home-button {
  text-decoration: none;
  text-align: center;
}

/* Responsive tweaks for home layout */

@media (max-width: 900px) {
  .fm-home-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fm-home-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* =========================
   FiskMO Home layout
   ========================= */

.fm-home {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dw-dark);
}

.fm-home-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  box-sizing: border-box;
}

/* Hero strip */

.fm-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 1.8rem;
  padding: 1.6rem 1.4rem;
  border-radius: 16px;
  border: 1px solid #d4e5d8;
  background: linear-gradient(135deg, #ffffff, #f1fbf5);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  margin-bottom: 2.2rem;
}

.fm-home-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5b6b60;
  margin: 0 0 0.35rem;
}

.fm-home-hero-main h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.fm-home-hero-main h1 span {
  color: #2f7b4b;
}

.fm-home-hero-text {
  margin: 0 0 0.8rem;
  font-size: 0.98rem;
  color: #5b6b60;
}

.fm-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.fm-home-hero-side h2 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.fm-home-hero-side p {
  margin: 0 0 0.5rem;
  font-size: 0.94rem;
  color: #5b6b60;
}

.fm-home-hero-note {
  font-size: 0.82rem;
  color: #5b6b60;
}

/* Main two-column layout */

.fm-home-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.5fr);
  gap: 1.8rem;
}

.fm-home-main,
.fm-home-side {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

/* Blocks */

.fm-home-block {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #d4e5d8;
  padding: 1.1rem 1.2rem 1rem;
  box-shadow: 0 6px 18px rgba(148, 163, 184, 0.18);
}

.fm-home-block h2 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  color: #2f7b4b;
}

.fm-home-block-intro {
  margin: 0 0 0.6rem;
  font-size: 0.94rem;
  color: #5b6b60;
}

/* Lists & links */

.fm-home-list {
  list-style: none;
  margin: 0 0 0.6rem;
  padding: 0;
}

.fm-home-list li {
  font-size: 0.94rem;
  color: #12261b;
}

.fm-home-linkrow {
  margin: 0;
  font-size: 0.9rem;
}

.fm-home-linkrow a {
  text-decoration: none;
}

.fm-home-linkrow a:hover {
  text-decoration: underline;
}

/* Buttons */

.fm-home-button {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.fm-home-button-primary {
  background: #2f7b4b;
  border-color: #2f7b4b;
  color: #ffffff;
}

.fm-home-button-primary:hover {
  background: #23613c;
  border-color: #23613c;
}

.fm-home-button-ghost {
  background: #ffffff;
  border-color: #d4e5d8;
  color: #12261b;
}

.fm-home-button-ghost:hover {
  border-color: #2f7b4b;
}

.fm-home-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.fm-home-button-small {
  padding: 0.45rem 0.85rem;
  font-size: 0.86rem;
}

/* Rules block tweak */

.fm-home-rules {
  background: #f3faf5;
}

/* Responsive */

@media (max-width: 900px) {
  .fm-home-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .fm-home-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .fm-home-shell {
    padding: 1.25rem 1rem 2.2rem;
  }

  .fm-home-hero {
    padding: 1.3rem 1.1rem;
  }
}
/* =========================
   FiskMO Home layout
   ========================= */

.fm-home {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dw-dark);
}

.fm-home-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  box-sizing: border-box;
}

/* Hero strip */

.fm-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 1.8rem;
  padding: 1.6rem 1.4rem;
  border-radius: 16px;
  border: 1px solid #d4e5d8;
  background: linear-gradient(135deg, #ffffff, #f1fbf5);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  margin-bottom: 2.2rem;
}

.fm-home-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5b6b60;
  margin: 0 0 0.35rem;
}

.fm-home-hero-main h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.fm-home-hero-main h1 span {
  color: #2f7b4b;
}

.fm-home-hero-text {
  margin: 0 0 0.8rem;
  font-size: 0.98rem;
  color: #5b6b60;
}

.fm-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.fm-home-hero-side h2 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.fm-home-hero-side p {
  margin: 0 0 0.5rem;
  font-size: 0.94rem;
  color: #5b6b60;
}

.fm-home-hero-note {
  font-size: 0.82rem;
  color: #5b6b60;
}

/* Main two-column layout */

.fm-home-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.5fr);
  gap: 1.8rem;
}

.fm-home-main,
.fm-home-side {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

/* Blocks */

.fm-home-block {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #d4e5d8;
  padding: 1.1rem 1.2rem 1rem;
  box-shadow: 0 6px 18px rgba(148, 163, 184, 0.18);
}

.fm-home-block h2 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  color: #2f7b4b;
}

.fm-home-block-intro {
  margin: 0 0 0.6rem;
  font-size: 0.94rem;
  color: #5b6b60;
}

/* Lists & links */

.fm-home-list {
  list-style: none;
  margin: 0 0 0.6rem;
  padding: 0;
}

.fm-home-list li {
  font-size: 0.94rem;
  color: #12261b;
}

.fm-home-linkrow {
  margin: 0;
  font-size: 0.9rem;
}

.fm-home-linkrow a {
  text-decoration: none;
}

.fm-home-linkrow a:hover {
  text-decoration: underline;
}

/* Buttons */

.fm-home-button {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.fm-home-button-primary {
  background: #2f7b4b;
  border-color: #2f7b4b;
  color: #ffffff;
}

.fm-home-button-primary:hover {
  background: #23613c;
  border-color: #23613c;
}

.fm-home-button-ghost {
  background: #ffffff;
  border-color: #d4e5d8;
  color: #12261b;
}

.fm-home-button-ghost:hover {
  border-color: #2f7b4b;
}

.fm-home-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.fm-home-button-small {
  padding: 0.45rem 0.85rem;
  font-size: 0.86rem;
}

/* Rules block tweak */

.fm-home-rules {
  background: #f3faf5;
}

/* Responsive */

@media (max-width: 900px) {
  .fm-home-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .fm-home-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .fm-home-shell {
    padding: 1.25rem 1rem 2.2rem;
  }

  .fm-home-hero {
    padding: 1.3rem 1.1rem;
  }
}
/* =========================
   Classifieds page styling
   ========================= */

.fm-page-classifieds .fm-tos-hero-title span {
  color: var(--fm-accent);
}

.fm-classifieds-list {
  margin-top: 0.8rem;
}

/* Generic styling for LetItGo output inside our wrapper */
.fm-classifieds-list h2 {
  font-size: 1rem;
  margin: 0 0 0.2rem;
}

.fm-classifieds-list h2 a {
  text-decoration: none;
  color: var(--fm-text-main);
}

.fm-classifieds-list h2 a:hover {
  text-decoration: underline;
  color: var(--fm-accent);
}

.fm-classifieds-list p {
  margin: 0 0 0.4rem;
  font-size: 0.94rem;
  color: var(--fm-text-muted);
}

/* If LetItGo wraps items in article or div elements, give them some separation */
.fm-classifieds-list article,
.fm-classifieds-list .letitgo-listing,
.fm-classifieds-list > div {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--fm-border-soft);
}

/* Last item without a hard border */
.fm-classifieds-list article:last-child,
.fm-classifieds-list .letitgo-listing:last-child,
.fm-classifieds-list > div:last-child {
  border-bottom: none;
}

/* Submit form area */

.fm-classifieds-form {
  margin-top: 0.8rem;
}

/* Light touch form styling so it does not look broken
   Works with basic LetItGo form markup without knowing exact fields. */

.fm-classifieds-form form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fm-classifieds-form input[type="text"],
.fm-classifieds-form input[type="email"],
.fm-classifieds-form input[type="number"],
.fm-classifieds-form textarea,
.fm-classifieds-form select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--fm-border-soft);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  box-sizing: border-box;
}

.fm-classifieds-form textarea {
  min-height: 120px;
  resize: vertical;
}

.fm-classifieds-form input[type="submit"],
.fm-classifieds-form button[type="submit"] {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: none;
  background: var(--fm-accent);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.fm-classifieds-form input[type="submit"]:hover,
.fm-classifieds-form button[type="submit"]:hover {
  background: #23613c;
}
