/* Trades Ireland — minimal directory UI */
:root {
  --bg: #f7f8f7;
  --surface: #ffffff;
  --text: #1a1f1c;
  --muted: #5c6560;
  --accent: #0d5c45;
  --accent-hover: #0a4836;
  --border: #e2e6e3;
  --featured: #fff8e6;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus {
  left: 1rem;
}

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo:hover {
  color: var(--accent);
}
.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  max-width: min(100%, 280px);
}
.site-logo-img {
  display: block;
  max-height: 42px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.footer-brand-block .footer-logo-wrap {
  margin: 0 0 0.5rem;
}
.footer-logo-img {
  display: block;
  max-height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.site-nav a:hover {
  color: var(--accent);
}
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}
.nav-cta:hover {
  background: var(--accent-hover);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 0.5rem;
  }
  .site-nav.is-open {
    display: flex;
  }
}

.main {
  min-height: 60vh;
  padding-bottom: 3rem;
}

.hero {
  background: linear-gradient(135deg, #0f3d2e 0%, #0d5c45 55%, #127a5c 100%);
  color: #f4f7f5;
  padding: 2.75rem 0 3.25rem;
  margin-bottom: 0;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}
.hero-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-copy {
  max-width: 52rem;
}
.hero-heading {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.hero-heading--compact {
  margin-bottom: 1.25rem;
  font-size: clamp(1.125rem, 2.4vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero p.lead {
  margin: 0 0 1.5rem;
  opacity: 0.95;
  max-width: 42ch;
  font-size: 1.05rem;
}

.search-panel {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  align-items: end;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  width: 100%;
  box-sizing: border-box;
}
.search-panel--full {
  align-self: stretch;
  max-width: none;
}
@media (min-width: 640px) {
  .search-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 1rem;
  }
  .search-panel-field--submit {
    min-width: 9.5rem;
  }
}
.search-panel-field label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
  opacity: 0.92;
  font-weight: 600;
}
.search-panel select,
.search-panel button {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 8px;
  border: none;
  font: inherit;
}
.search-panel select {
  background: #fff;
  color: var(--text);
}
.search-panel select:focus {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}
.search-panel button {
  background: #fff;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  min-height: 2.75rem;
}
.search-panel button:hover {
  filter: brightness(0.97);
}
.search-panel button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.mb-0 {
  margin-bottom: 0 !important;
}

.section {
  padding: 2.5rem 0;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.section-head h2 {
  margin: 0;
  font-size: 1.35rem;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.85rem;
}

.list-services {
  margin: 0.35rem 0 0;
  padding-left: 1.25rem;
}
.list-services li {
  margin-bottom: 0.25rem;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

/* County page: browse by trade — fixed 3 columns on wide screens */
.grid-cards--browse-trades {
  grid-template-columns: 1fr;
}
@media (min-width: 520px) {
  .grid-cards--browse-trades {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .grid-cards--browse-trades {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.card h3 {
  margin: 0;
  font-size: 1.05rem;
}
.card a {
  color: inherit;
  text-decoration: none;
}
.card a:hover {
  color: var(--accent);
}
.card.featured {
  border-color: #e6c96a;
  background: var(--featured);
}

.grid-cards > .listing-featured-row {
  grid-column: 1 / -1;
}
.card.listing-featured-row {
  padding: 0;
  overflow: hidden;
}
.listing-featured-row__inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 5.75rem;
}
.listing-featured-row__logo {
  flex: 0 0 7.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem 1rem 0.85rem;
  background: rgba(255, 255, 255, 0.55);
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  text-decoration: none;
  align-self: stretch;
}
.listing-featured-row__logo:hover {
  background: rgba(255, 255, 255, 0.85);
}
.listing-featured-row__logo-img {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 0.35rem;
}
.listing-featured-row__logo-empty {
  display: block;
  width: 5.5rem;
  height: 5.5rem;
  border: 1px dashed var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
}
.listing-featured-row__main {
  flex: 1 1 auto;
  min-width: 0;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  justify-content: center;
}
.listing-featured-row__title {
  margin: 0;
  font-size: 1.05rem;
}
.listing-featured-row__services {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}
.listing-featured-row__services li {
  margin: 0;
  display: inline-flex;
  align-items: center;
}
.listing-featured-row__services li:not(:last-child)::after {
  content: '·';
  margin: 0 0.45rem;
  color: var(--muted);
  opacity: 0.65;
  font-weight: 600;
}
.listing-featured-row__ribbon {
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
}
.listing-featured-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.5rem 0.4rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-orientation: mixed;
  line-height: 1.2;
}
@media (max-width: 639px) {
  .listing-featured-row__inner {
    flex-wrap: wrap;
  }
  .listing-featured-row__logo {
    flex: 0 0 100%;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.75rem 1rem;
    justify-content: flex-start;
  }
  .listing-featured-row__main {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 0.5rem;
  }
  .listing-featured-row__ribbon {
    flex: 0 0 auto;
    align-self: stretch;
  }
  .listing-featured-ribbon {
    writing-mode: horizontal-tb;
    transform: none;
    padding: 0.35rem 0.65rem;
    align-self: flex-start;
    margin: 0.75rem 0.75rem 0.75rem 0;
  }
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--accent);
  color: #fff;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  width: fit-content;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-block {
  width: 100%;
}

.cta-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.breadcrumbs {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 1rem 0 0;
}
.breadcrumbs a {
  color: var(--accent);
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}

.page-title {
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.page-title-with-icon {
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
  margin: 0.5rem 0 0.75rem;
}
.page-title-with-icon .page-title {
  margin: 0;
  flex: 1 1 12rem;
}
.page-title-county-icon {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  flex-shrink: 0;
}

.card-county-icon {
  margin: 0 0 0.5rem;
}
.card-county-icon img {
  display: block;
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
}

.prose {
  max-width: 68ch;
}
.prose p {
  margin: 0 0 1rem;
}
.prose a {
  color: var(--accent);
}

.blog-content {
  line-height: 1.65;
}
.blog-content p {
  margin: 0 0 1rem;
}
.blog-content a {
  color: var(--accent);
}
.blog-content h2 {
  font-size: 1.25rem;
  margin: 1.5rem 0 0.75rem;
}

.seo-block {
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--muted);
}

/* Advertise — pricing grid (similar structure to industry rate cards) */
.advertise-page .advertise-intro {
  max-width: 68ch;
  margin-bottom: 2rem;
}
.advertise-page .lead-text {
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.55;
}
.advertise-section {
  margin-bottom: 2.5rem;
}
.advertise-section__title {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.advertise-section__sub {
  margin: 0 0 1.25rem;
}
.advertise-page .price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .advertise-page .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.advertise-page .price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.advertise-page .price-card__name {
  margin: 0;
  font-size: 1.05rem;
  color: var(--accent);
}
.advertise-page .price-card__price {
  margin: 0;
  line-height: 1.2;
}
.advertise-page .price-card__amount {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.advertise-page .price-card__period {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 0.2rem;
}
.advertise-page .price-card__summary {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.advertise-page .price-card__list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.45;
}
.advertise-page .price-card__list li {
  margin-bottom: 0.35rem;
}
.sponsorship-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  max-width: 36rem;
}
.sponsorship-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.sponsorship-table th,
.sponsorship-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.sponsorship-table th {
  background: rgba(13, 92, 69, 0.06);
  font-weight: 600;
}
.sponsorship-table tbody tr:last-child td {
  border-bottom: none;
}
.advertise-sponsor-intro {
  margin: 0 0 1rem;
  max-width: 68ch;
  font-size: 0.95rem;
}
.advertise-spec-list {
  margin: 0;
  padding-left: 1.25rem;
  max-width: 68ch;
  font-size: 0.95rem;
  line-height: 1.5;
}
.advertise-notes {
  margin: 0 0 2rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px dashed var(--border);
  font-size: 0.88rem;
  color: var(--muted);
}
.advertise-notes__item {
  margin: 0 0 0.5rem;
}
.advertise-notes__item:last-child {
  margin-bottom: 0;
}
.advertise-enquiry .advertise-form {
  max-width: 520px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
  margin: 1rem 0 1.5rem;
}
.filters label {
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.filters input,
.filters select {
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  font: inherit;
}

.pagination {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.pagination a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.pagination a:hover {
  text-decoration: underline;
}

.listing-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 800px) {
  .listing-hero {
    /* Fixed logo column + text column that always gets remaining width (minmax(0,1fr) avoids squashing) */
    grid-template-columns: minmax(132px, 168px) minmax(0, 1fr);
    gap: 1.5rem 2rem;
  }
}
.listing-hero > .listing-hero-body:only-child {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
}
.listing-hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 800px) {
  .listing-hero-split {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
  }
}
.listing-hero-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}
/* Split hero: no logo — body is the only block in the left column, span full width of that column */
.listing-hero-left > .listing-hero-body:only-child {
  width: 100%;
  max-width: 100%;
  align-self: stretch;
}
.listing-hero-featured {
  min-width: 0;
}
.listing-featured-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.listing-hero-body {
  min-width: 0;
  max-width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1px solid #c9c9c9;
  border-radius: 10px;
  padding: 10px;
  background: #f7f7f7;
}
.listing-logo {
  width: 100%;
  max-width: 148px;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  justify-self: start;
}
.listing-location .listing-address {
  margin: 0 0 0.75rem;
  line-height: 1.5;
}
.listing-map {
  height: 280px;
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-top: 0.25rem;
  z-index: 1;
}
.listing-map .leaflet-container {
  font-family: var(--font);
}

/* Listing detail: main + aside (location, quote) from About downward */
.listing-detail-layout {
  display: grid;
  gap: 1.75rem 2rem;
  align-items: start;
}
@media (min-width: 900px) {
  .listing-detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 32%);
  }
  .listing-detail-layout__aside {
    position: sticky;
    top: 1rem;
  }
}
.listing-detail-layout__main > * + * {
  margin-top: 2rem;
}
.listing-main-block h2 {
  margin-top: 0;
  font-size: 1.25rem;
}
.listing-detail-layout--solo-aside {
  max-width: 28rem;
  margin-inline: 0;
}
@media (min-width: 900px) {
  .listing-detail-layout--solo-aside {
    margin-inline: 0;
  }
}
.listing-aside-stack > * + * {
  margin-top: 1.25rem;
}
.listing-aside-block {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.listing-aside-block__title {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  color: var(--text);
}
.listing-aside-block .listing-address {
  margin: 0 0 0.65rem;
}
.listing-detail-layout__aside .listing-map {
  height: 240px;
  margin-top: 0;
}
.listing-quote__intro {
  margin: 0 0 0.75rem;
}
.listing-quote-form textarea {
  min-height: 6rem;
  resize: vertical;
}
.listing-related {
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
  margin-top: 0.5rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.gallery img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.ad-slot {
  margin: 1.25rem 0;
  padding: 1rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  text-align: center;
  background: #fafbfa;
}
.ad-slot a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.ad-slot img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Main + fixed 300px promo column (stacked below 800px) */
.page-with-sidebar--has-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: stretch;
  width: 100%;
}
.page-with-sidebar__main {
  flex: 1 1 auto;
  min-width: 0;
}
.page-with-sidebar__aside {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.page-with-sidebar__aside .ad-slot--sidebar {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 0;
  max-width: 300px;
  margin-inline: auto;
}
@media (min-width: 800px) {
  .page-with-sidebar--has-aside {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }
  .page-with-sidebar__main {
    flex: 1 1 0;
    min-width: 0;
  }
  .page-with-sidebar__aside {
    flex: 0 0 300px;
    width: 300px;
    max-width: 300px;
    margin-inline: 0;
    position: sticky;
    top: 1rem;
    margin-top: 40px;
  }
  .page-with-sidebar__aside .ad-slot--sidebar {
    margin-inline: 0;
    max-width: none;
    width: 100%;
  }
}

.site-footer {
  background: #1a211d;
  color: #c8d0cc;
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
}
.site-footer a {
  color: #e8f0ec;
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}
.footer-links li {
  margin-bottom: 0.35rem;
}
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #2a332e;
}

.form-stack label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.form-stack input,
.form-stack textarea,
.form-stack select {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  margin-bottom: 1rem;
}
.form-stack textarea {
  min-height: 140px;
  resize: vertical;
}
.alert {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.alert-error {
  background: #fdeeee;
  color: #7a1e1e;
  border: 1px solid #f0c4c4;
}
.alert-success {
  background: #e8f5ef;
  color: #1e5a3a;
  border: 1px solid #b8e0cc;
}
.alert-warning {
  background: #fff8e6;
  color: #6a5200;
  border: 1px solid #e6d49a;
}

.empty {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.site-header-account {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}
.site-header-account a {
  color: var(--accent);
  font-weight: 600;
}

.business-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.business-form .form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.business-form input[type="text"],
.business-form input[type="email"],
.business-form input[type="url"],
.business-form input[type="number"],
.business-form select,
.business-form textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  margin-bottom: 1rem;
}
.business-form textarea {
  min-height: 6rem;
  resize: vertical;
}
.business-form textarea.large {
  min-height: 12rem;
}
.business-form .form-actions {
  margin-top: 1rem;
}

.badge-draft {
  background: #eee;
  color: #444;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.75rem;
}
.badge-active {
  background: #e8f5ef;
  color: #1e5a3a;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.75rem;
}
