/**
 * AroundManchester.com - Free Listings Page Stylesheet
 * Page-specific styles for for-businesses/free-listings/index.html
 *
 * @charset UTF-8
 * @author AroundManchester.com Development Team
 * @version 1.0
 */

/* == AROUNDMANCHESTER.COM MODULE == STATIC | NO COOKIES | XML DATA | VS PROJECT == */

@charset "UTF-8";

/* ===== COMPACT HEADER DESCRIPTION ===== */
.site-header__description {
  line-height: 1.3;
  padding: 4px 12px;
  margin: 4px auto 0;
}

.site-header__description > p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.25;
}

/* ===== FREE LISTINGS PAGE ===== */
.free-listings-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #f5f5f5;
}

/* ===== HERO ===== */
.free-listings-page__hero {
  background: linear-gradient(135deg, #0c5460, #17a2b8);
  color: #fff;
  text-align: center;
  padding: 50px 30px 40px;
  border-radius: 10px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.free-listings-page__hero::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.free-listings-page__badge {
  display: inline-block;
  background: #dc3545;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.free-listings-page__hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.15;
}

.free-listings-page__hero-subtitle {
  font-size: 1.15rem;
  opacity: 0.92;
  margin: 0 0 24px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.free-listings-page__hero-cta {
  display: inline-block;
  background: #fff;
  color: #0c5460;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 6px;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}

.free-listings-page__hero-cta:hover,
.free-listings-page__hero-cta:focus {
  background: #e8f4f8;
  transform: translateY(-2px);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.free-listings-page__spots-label {
  display: block;
  margin-top: 16px;
  font-size: 0.8rem;
  opacity: 0.95;
  letter-spacing: 0.04em;
}

/* ===== SECTIONS ===== */
.free-listings-page__section {
  background: #fff;
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  border-top: 4px solid #17a2b8;
}

.free-listings-page__section--accent {
  border-top: 4px solid #17a2b8;
}

.free-listings-page__section--warning {
  border-top: 4px solid #ffc107;
  background: #fffdf0;
}

.free-listings-page__section--green {
  border-top: 4px solid #28a745;
}

.free-listings-page__section h2 {
  color: #0b6d82;
  font-size: 1.5rem;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0e0e0;
}

.free-listings-page__section--warning h2 {
  color: #6f5600;
}

.free-listings-page__section--green h2 {
  color: #1f6f3a;
}

.free-listings-page__section h3 {
  color: #0a5a6b;
  font-size: 1.15rem;
  margin: 20px 0 8px;
}

.free-listings-page__section p {
  color: #333;
  line-height: 1.7;
  margin: 0 0 14px;
}

.free-listings-page__section p:last-child {
  margin-bottom: 0;
}

.free-listings-page__section ul,
.free-listings-page__section ol {
  margin-left: 22px;
  margin-bottom: 14px;
  color: #333;
}

.free-listings-page__section li {
  margin-bottom: 9px;
  line-height: 1.6;
}

/* ===== HIGHLIGHT BOX ===== */
.free-listings-page__highlight {
  background: #e8f4f8;
  border-left: 4px solid #17a2b8;
  padding: 18px 20px;
  margin: 18px 0;
  border-radius: 0 8px 8px 0;
}

.free-listings-page__highlight h3 {
  color: #0b6d82;
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.free-listings-page__highlight p {
  margin: 0 0 8px;
  color: #333;
}

.free-listings-page__highlight p:last-child {
  margin-bottom: 0;
}

/* ===== VALUE GRID ===== */
.free-listings-page__value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin: 20px 0;
}

.free-listings-page__value-item {
  background: #f0faf9;
  border: 1px solid #b2dfdb;
  border-top: 3px solid #17a2b8;
  border-radius: 8px;
  padding: 20px;
}

.free-listings-page__value-item h3 {
  color: #0b6d82;
  font-size: 1rem;
  margin: 0 0 8px;
}

.free-listings-page__value-item p {
  color: #444;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

/* ===== COMPARISON TABLE ===== */
.free-listings-page__table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.free-listings-page__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.free-listings-page__table thead tr {
  background: #f0f0f0;
}

.free-listings-page__table th {
  padding: 12px 10px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  border-bottom: 2px solid #ddd;
  white-space: nowrap;
}

.free-listings-page__table th:first-child {
  text-align: left;
  min-width: 150px;
}

.free-listings-page__table th small {
  display: block;
  font-weight: 600;
  font-size: 0.75rem;
  opacity: 1;
  margin-top: 2px;
}

.free-listings-page__table-col--free {
  color: #0a4150;
  background: #f4fbfc;
}

.free-listings-page__table-col--paid {
  color: #1b4f2d;
  background: #f5fff7;
}

.free-listings-page__table-col--silver {
  color: #43206f;
  background: #f8f5ff;
}

.free-listings-page__table-col--gold {
  color: #5a4300;
  background: #fffdf0;
}

.free-listings-page__table thead .free-listings-page__table-col--free {
  border-top: 4px solid #17a2b8;
}

.free-listings-page__table thead .free-listings-page__table-col--paid {
  border-top: 4px solid #28a745;
}

.free-listings-page__table thead .free-listings-page__table-col--silver {
  border-top: 4px solid #6f42c1;
}

.free-listings-page__table thead .free-listings-page__table-col--gold {
  border-top: 4px solid #c9a227;
}

.free-listings-page__table tbody tr {
  border-bottom: 1px solid #ebebeb;
}

.free-listings-page__table tbody tr:last-child {
  border-bottom: none;
}

.free-listings-page__table tbody tr:nth-child(even) td:first-child {
  background: #fafafa;
}

.free-listings-page__table td {
  padding: 9px 10px;
  text-align: center;
  color: #2f2f2f;
  vertical-align: middle;
}

.free-listings-page__table td:first-child {
  text-align: left;
  font-weight: 500;
  color: #333;
  padding-left: 14px;
}

.free-listings-page__table td small {
  font-size: 0.8rem;
  font-weight: 600;
  color: inherit;
}

.free-listings-page__table .tick {
  font-size: 1.05rem;
  font-weight: 700;
}

.free-listings-page__table td.tick.free-listings-page__table-col--free { color: #0a4150; }
.free-listings-page__table td.tick.free-listings-page__table-col--paid { color: #1b4f2d; }
.free-listings-page__table td.tick.free-listings-page__table-col--silver { color: #43206f; }
.free-listings-page__table td.tick.free-listings-page__table-col--gold { color: #5a4300; }

.free-listings-page__table .cross {
  color: #4f4f4f;
  font-size: 1.05rem;
}

.free-listings-page__table-cost-row td {
  padding-top: 13px;
  padding-bottom: 13px;
  border-bottom: 2px solid #ddd;
}

.free-listings-page__table-cost-row td:first-child {
  font-weight: 700;
}

/* ===== FAQ ===== */
.free-listings-page__faq {
  margin: 18px 0 0;
}

.free-listings-page__faq-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 16px 0;
}

.free-listings-page__faq-item:last-child {
  border-bottom: none;
}

.free-listings-page__faq-q {
  font-weight: 700;
  color: #0b6d82;
  font-size: 0.97rem;
  margin: 0 0 6px;
}

.free-listings-page__faq-a {
  color: #444;
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.free-listings-page__cta-section {
  background: linear-gradient(135deg, #0c5460, #17a2b8);
  color: #fff;
  text-align: center;
  padding: 40px 30px;
  border-radius: 10px;
  margin: 24px 0 0;
}

.free-listings-page__cta-section h2 {
  color: #fff;
  font-size: 1.6rem;
  margin: 0 0 12px;
  border: none;
}

.free-listings-page__cta-section p {
  color: rgba(255,255,255,0.92);
  margin: 0 0 22px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.free-listings-page__cta-btn {
  display: inline-block;
  background: #fff;
  color: #0c5460;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  padding: 15px 36px;
  border-radius: 6px;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.03em;
}

.free-listings-page__cta-btn:hover,
.free-listings-page__cta-btn:focus {
  background: #e8f4f8;
  transform: translateY(-2px);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.free-listings-page__cta-note {
  display: block;
  margin-top: 14px;
  font-size: 0.78rem;
  opacity: 0.92;
  letter-spacing: 0.03em;
}

.free-listings-page__back-link {
  text-align: center;
  margin-top: 30px;
}

/* ===== FOCUS INDICATORS ===== */
.free-listings-page :focus {
  outline: 3px solid #0b6d82;
  outline-offset: 2px;
}

.free-listings-page :focus:not(:focus-visible) {
  outline: none;
}

.free-listings-page :focus-visible {
  outline: 3px solid #0b6d82;
  outline-offset: 2px;
}

/* ===== TABLE OF CONTENTS ===== */
.free-listings-page__toc {
  background: #fff;
  border-left: 4px solid #17a2b8;
  border-radius: 6px;
  padding: 18px 22px;
  margin-bottom: 28px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.free-listings-page__toc-heading {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b6d82;
  margin: 0 0 10px;
}

.free-listings-page__toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.free-listings-page__toc li {
  font-size: 0.875rem;
}

.free-listings-page__toc a {
  color: #0c5460;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}

.free-listings-page__toc a:hover,
.free-listings-page__toc a:focus {
  color: #0b6d82;
  border-bottom-color: #0b6d82;
}

.high-contrast .free-listings-page__toc {
  background: #fff;
  border-left-color: #000;
}

.high-contrast .free-listings-page__toc a {
  color: #000;
}

.high-contrast .free-listings-page__toc a:hover,
.high-contrast .free-listings-page__toc a:focus {
  color: #000;
  border-bottom-color: #000;
}

/* ===== ACCORDION (details/summary) ===== */
details.free-listings-page__section {
  list-style: none;
}

details.free-listings-page__section > summary {
  list-style: none;
}

details.free-listings-page__section > summary::-webkit-details-marker {
  display: none;
}

.free-listings-page__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 2px 0 10px;
  border-bottom: 2px solid #e0e0e0;
  user-select: none;
}

.free-listings-page__summary h2 {
  color: #0b6d82;
  font-size: 1.5rem;
  margin: 0;
  padding: 0;
  border: none;
}

.free-listings-page__summary--warning h2 {
  color: #6f5600;
}

.free-listings-page__summary--green h2 {
  color: #1f6f3a;
}

.free-listings-page__summary::after {
  content: "\002B";
  font-size: 1.5rem;
  font-weight: 300;
  color: #0b6d82;
  line-height: 1;
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform 0.2s;
}

.free-listings-page__summary--warning::after {
  color: #6f5600;
}

.free-listings-page__summary--green::after {
  color: #1f6f3a;
}

details[open] > .free-listings-page__summary::after {
  content: "\2212";
}

.free-listings-page__summary:hover h2,
.free-listings-page__summary:focus h2 {
  color: #085a6c;
}

.free-listings-page__summary--warning:hover h2,
.free-listings-page__summary--warning:focus h2 {
  color: #5f4a00;
}

.free-listings-page__summary--green:hover h2,
.free-listings-page__summary--green:focus h2 {
  color: #195c30;
}

.free-listings-page__summary:focus {
  outline: 3px solid #0b6d82;
  outline-offset: 2px;
  border-radius: 2px;
}

.free-listings-page__section-body {
  padding-top: 18px;
}

/* ===== HIGH CONTRAST ACCORDION ===== */
.high-contrast .free-listings-page__summary h2 {
  color: #000000;
}

.high-contrast .free-listings-page__summary::after {
  color: #000000;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .free-listings-page__summary::after {
    transition: none;
  }
}

.free-listings-page__hero :focus-visible,
.free-listings-page__cta-section :focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .free-listings-page__hero-title {
    font-size: 1.85rem;
  }

  .free-listings-page__value-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .free-listings-page {
    padding: 20px 10px;
  }

  .free-listings-page__hero {
    padding: 36px 18px 30px;
  }

  .free-listings-page__hero-title {
    font-size: 1.5rem;
  }

  .free-listings-page__section {
    padding: 20px;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .free-listings-page,
  .free-listings-page * {
    animation: none !important;
    transition: none !important;
  }
}

/* ===== HIGH CONTRAST MODE ===== */
.high-contrast .free-listings-page {
  background: #ffffff;
}

.high-contrast .free-listings-page__hero {
  background: #000000;
  color: #ffffff;
  border: 3px solid #000000;
}

.high-contrast .free-listings-page__hero-title {
  color: #ffffff;
}

.high-contrast .free-listings-page__hero-subtitle {
  color: #ffffff;
  opacity: 1;
}

.high-contrast .free-listings-page__badge {
  background: #000000;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.high-contrast .free-listings-page__hero-cta {
  background: #ffffff;
  color: #000000;
  border: 2px solid #ffffff;
}

.high-contrast .free-listings-page__hero-cta:hover,
.high-contrast .free-listings-page__hero-cta:focus {
  background: #eeeeee;
  outline: 2px solid #ffffff;
}

.high-contrast .free-listings-page__section {
  background: #ffffff;
  border: 2px solid #000000;
  box-shadow: none;
}

.high-contrast .free-listings-page__section h2 {
  color: #000000;
  border-bottom-color: #000000;
}

.high-contrast .free-listings-page__section h3 {
  color: #000000;
}

.high-contrast .free-listings-page__section p,
.high-contrast .free-listings-page__section li {
  color: #000000;
}

.high-contrast .free-listings-page__highlight {
  background: #ffffff;
  border: 2px solid #000000;
  border-left-width: 4px;
}

.high-contrast .free-listings-page__highlight h3,
.high-contrast .free-listings-page__highlight p {
  color: #000000;
}

.high-contrast .free-listings-page__value-item {
  background: #ffffff;
  border: 2px solid #000000;
  border-top-width: 3px;
}

.high-contrast .free-listings-page__value-item h3,
.high-contrast .free-listings-page__value-item p {
  color: #000000;
}

.high-contrast .free-listings-page__table-wrap {
  border-color: #000000;
}

.high-contrast .free-listings-page__table th,
.high-contrast .free-listings-page__table td {
  color: #000000;
  background: #ffffff;
  border-color: #000000;
}

.high-contrast .free-listings-page__table thead .free-listings-page__table-col--free,
.high-contrast .free-listings-page__table thead .free-listings-page__table-col--paid,
.high-contrast .free-listings-page__table thead .free-listings-page__table-col--silver,
.high-contrast .free-listings-page__table thead .free-listings-page__table-col--gold {
  border-top-color: #000000;
}

.high-contrast .free-listings-page__table .tick,
.high-contrast .free-listings-page__table .cross {
  color: #000000;
}

.high-contrast .free-listings-page__faq-q {
  color: #000000;
}

.high-contrast .free-listings-page__faq-a {
  color: #000000;
}

.high-contrast .free-listings-page__cta-section {
  background: #000000;
  color: #ffffff;
  border: 3px solid #000000;
}

.high-contrast .free-listings-page__cta-section h2 {
  color: #ffffff;
}

.high-contrast .free-listings-page__cta-section p {
  color: #ffffff;
  opacity: 1;
}

.high-contrast .free-listings-page__cta-btn {
  background: #ffffff;
  color: #000000;
  border: 2px solid #ffffff;
}

.high-contrast .free-listings-page__cta-btn:hover,
.high-contrast .free-listings-page__cta-btn:focus {
  background: #eeeeee;
  outline: 2px solid #ffffff;
}

.high-contrast .free-listings-page :focus-visible {
  outline: 3px solid #000000 !important;
  outline-offset: 2px !important;
}

.high-contrast .free-listings-page__hero :focus-visible,
.high-contrast .free-listings-page__cta-section :focus-visible {
  outline: 3px solid #ffffff !important;
  outline-offset: 2px !important;
}
