/*
Theme Name: listy
Theme URI: https://listy.co.il/
Author: Listy Editorial & Family Media
Author URI: https://dlions.co.il/
Description: תבנית וורדפרס יוקרתית ומודרנית לפורטל הורים, הריון, לידה, פעוטות ומשפחה. כוללת מבנה מגזין עיתונאי, אזור נותני שירות מומלצים לבריתות ומשפחה, סרגל נגישות צף מלא, ועמידה מלאה בכל דרישות הקישורים ותוכן הפוסט.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: listy
Domain Path: /languages
Tags: parenting, family, pregnancy, kids, magazine, rtl, accessibility, two-columns, featured-services
*/

:root {
  /* Warm Parenting & Family Palette */
  --listy-coral: #E05D5D;
  --listy-coral-dark: #C94A4A;
  --listy-coral-light: #FFF0F0;
  --listy-sage: #2C4C4C;
  --listy-sage-dark: #1A3636;
  --listy-teal-light: #EBF4F4;
  --listy-gold: #F59E0B;
  --listy-gold-light: #FEF3C7;
  --listy-bg-warm: #FAF8F5;
  --listy-bg-white: #FFFFFF;
  --listy-text-main: #222222;
  --listy-text-muted: #555555;
  --listy-text-light: #78716C;
  --listy-border: #E7E3DC;
  --listy-border-light: #F2EFEA;

  /* Mandatory Single Post Content Link Color */
  --content-link-blue: #0066cc;
  --content-link-hover: #004c99;

  /* Typography */
  --font-main: "Assistant", "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --max-w: 1240px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(44,76,76,0.08);
  --shadow-lg: 0 10px 25px rgba(44,76,76,0.12);
}

/* Reset & Box Model */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  direction: rtl;
}

body {
  font-family: var(--font-main);
  background-color: var(--listy-bg-warm);
  color: var(--listy-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}

/* ========================================================
   1. PORTAL HEADER (Warm Coral & Sage Family Palette)
   ======================================================== */
.listy-site-header {
  background: var(--listy-bg-white);
  border-bottom: 1px solid var(--listy-border);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

/* Top Parenting Utility Strip */
.listy-top-strip {
  background: linear-gradient(90deg, var(--listy-coral), #E87A7A);
  color: #ffffff;
  padding: 5px 0;
  font-size: 0.84rem;
  font-weight: 700;
}

.listy-top-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.listy-ticker-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  white-space: nowrap;
}

.listy-ticker-badge {
  background: #ffffff;
  color: var(--listy-coral);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.listy-ticker-text {
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
  font-weight: 500;
}

.listy-ticker-text a:hover {
  text-decoration: underline;
}

.listy-strip-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffe4e6;
  white-space: nowrap;
  font-size: 0.8rem;
}

/* Main Header */
.listy-main-header {
  padding: 14px 0;
}

.listy-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.listy-brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Listy Logo Box */
.listy-logo-badge {
  background: var(--listy-coral);
  color: #ffffff;
  width: 54px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(224, 93, 93, 0.3);
  transition: transform 0.2s ease;
  line-height: 1;
}

.listy-logo-badge:hover {
  transform: scale(1.05);
}

.listy-logo-badge .badge-icon {
  font-size: 0.95rem;
}

.listy-logo-badge .badge-text {
  font-size: 1.05rem;
  font-weight: 900;
  margin-top: 1px;
}

.listy-brand-titles {
  display: flex;
  flex-direction: column;
}

.listy-site-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--listy-sage-dark);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.listy-site-tagline {
  font-size: 0.88rem;
  color: var(--listy-text-light);
  font-weight: 500;
}

/* Header CTAs */
.listy-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.listy-services-btn {
  background: var(--listy-sage);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 8px 18px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease, transform 0.15s ease;
  box-shadow: 0 2px 6px rgba(44, 76, 76, 0.2);
}

.listy-services-btn:hover {
  background: var(--listy-coral);
  transform: translateY(-1px);
}

.listy-search-form {
  position: relative;
}

.listy-search-input {
  background: #f4f1ea;
  border: 1px solid var(--listy-border);
  border-radius: 20px;
  padding: 7px 36px 7px 14px;
  font-size: 0.85rem;
  width: 190px;
  font-family: inherit;
  transition: width 0.25s ease, background 0.2s ease;
}

.listy-search-input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--listy-coral);
  width: 230px;
}

.listy-search-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #78716c;
  cursor: pointer;
  display: flex;
}

/* Navigation Bar */
.listy-nav-bar {
  background: #ffffff;
  border-top: 1px solid var(--listy-border-light);
  border-bottom: 3px solid var(--listy-coral);
  overflow-x: auto;
}

.listy-nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.listy-nav-list li a {
  display: block;
  padding: 11px 18px;
  font-weight: 800;
  font-size: 0.94rem;
  color: var(--listy-sage-dark);
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.listy-nav-list li a:hover,
.listy-nav-list li.current-menu-item a {
  color: var(--listy-coral);
  border-bottom-color: var(--listy-coral);
}

.listy-nav-list li.featured-tab a {
  color: var(--listy-coral);
  background: var(--listy-coral-light);
}

/* ========================================================
   2. HOMEPAGE PORTAL HERO SECTION (High-End Family Magazine)
   ======================================================== */
.listy-hero-section {
  padding-top: 24px;
  padding-bottom: 28px;
}

.listy-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 24px;
}

/* Lead Magazine Story */
.listy-lead-card {
  background: var(--listy-bg-white);
  border: 1px solid var(--listy-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.listy-lead-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: #e7e3dc;
  overflow: hidden;
}

.listy-lead-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.listy-lead-card:hover .listy-lead-img-wrap img {
  transform: scale(1.03);
}

.listy-lead-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--listy-coral);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.listy-lead-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.listy-lead-title {
  font-size: 1.95rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--listy-sage-dark);
  margin-bottom: 12px;
}

.listy-lead-title a:hover {
  color: var(--listy-coral);
}

.listy-lead-excerpt {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #44403c;
  margin-bottom: 18px;
  flex: 1;
}

.listy-lead-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--listy-border-light);
  padding-top: 14px;
  font-size: 0.85rem;
  color: var(--listy-text-light);
  font-weight: 600;
}

/* Side Stacked Stories */
.listy-side-stories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.listy-side-card {
  background: var(--listy-bg-white);
  border: 1px solid var(--listy-border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  gap: 14px;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.listy-side-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.listy-side-thumb {
  width: 110px;
  height: 85px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background: #e7e3dc;
}

.listy-side-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.listy-side-tag {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--listy-coral);
}

.listy-side-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--listy-sage-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listy-side-title a:hover {
  color: var(--listy-coral);
}

.listy-side-time {
  font-size: 0.76rem;
  color: var(--listy-text-light);
  font-weight: 600;
}

/* ========================================================
   3. SPECIAL MANDATORY SECTION: RECOMMENDED SERVICE PROVIDERS
   ======================================================== */
.listy-services-section {
  background: #ffffff;
  border: 2px solid var(--listy-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 38px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.listy-services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--listy-coral), var(--listy-gold), var(--listy-sage));
}

.listy-services-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--listy-coral);
  padding-bottom: 12px;
  margin-bottom: 26px;
}

.listy-services-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--listy-sage-dark);
}

.listy-services-badge {
  background: var(--listy-coral);
  color: #fff;
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 800;
}

.listy-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Service Card Box */
.service-provider-card {
  background: var(--listy-bg-warm);
  border: 1px solid var(--listy-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  border-top: 4px solid var(--listy-coral);
}

.service-provider-card:hover {
  transform: translateY(-4px);
  border-color: var(--listy-coral);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.service-top-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.service-tag {
  background: var(--listy-coral-light);
  color: var(--listy-coral);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 4px;
}

.service-verified {
  color: #15803d;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.service-name {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--listy-sage-dark);
  line-height: 1.3;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--listy-text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}

.service-perks-list {
  list-style: none;
  margin: 0 0 18px 0;
  padding: 0;
  font-size: 0.84rem;
  color: #44403c;
  border-top: 1px dashed var(--listy-border);
  padding-top: 12px;
}

.service-perks-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.service-perks-list li::before {
  content: "✦";
  color: var(--listy-coral);
  font-weight: bold;
}

.service-action-btn {
  display: block;
  text-align: center;
  background: var(--listy-sage);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 12px 16px;
  border-radius: 6px;
  transition: background 0.2s ease;
  text-decoration: none !important;
}

.service-provider-card:hover .service-action-btn {
  background: var(--listy-coral);
}

/* ========================================================
   4. PARENTING ARTICLES & FAMILY TIPS GRID
   ======================================================== */
.listy-content-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 25px;
  margin-bottom: 40px;
}

.listy-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--listy-coral);
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.listy-section-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--listy-sage-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.listy-articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.listy-article-card {
  background: var(--listy-bg-white);
  border: 1px solid var(--listy-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.listy-article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.listy-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #e7e3dc;
  overflow: hidden;
}

.listy-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.listy-article-card:hover .listy-card-thumb img {
  transform: scale(1.04);
}

.listy-card-cat {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--listy-coral);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}

.listy-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.listy-card-title {
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--listy-sage-dark);
  margin-bottom: 8px;
}

.listy-card-title a:hover {
  color: var(--listy-coral);
}

.listy-card-excerpt {
  font-size: 0.92rem;
  color: var(--listy-text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
  flex: 1;
}

.listy-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--listy-border-light);
  padding-top: 10px;
  font-size: 0.8rem;
  color: var(--listy-text-light);
  font-weight: 600;
}

/* Sidebar Advice Feed */
.listy-sidebar-box {
  background: var(--listy-bg-white);
  border: 1px solid var(--listy-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 95px;
}

.listy-sidebar-head {
  background: var(--listy-sage);
  color: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--listy-coral);
}

.listy-sidebar-head h3 {
  font-size: 1.15rem;
  font-weight: 900;
}

.listy-sidebar-feed {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.listy-feed-item {
  border-bottom: 1px solid var(--listy-border-light);
  padding-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.listy-feed-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.listy-feed-tag {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--listy-coral);
}

.listy-feed-title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--listy-sage-dark);
}

.listy-feed-title a:hover {
  color: var(--listy-coral);
}

/* ========================================================
   5. SINGLE POST PAGE (Mandatory #0066cc Links Rule)
   ======================================================== */
.listy-single-wrap {
  padding-top: 25px;
  padding-bottom: 50px;
}

.listy-single-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
}

.listy-article-paper {
  background: var(--listy-bg-white);
  border: 1px solid var(--listy-border);
  border-radius: var(--radius-md);
  padding: 35px;
  box-shadow: var(--shadow-sm);
}

.listy-breadcrumbs {
  font-size: 0.85rem;
  color: var(--listy-text-light);
  margin-bottom: 15px;
}

.listy-breadcrumbs a {
  color: var(--content-link-blue);
}

.listy-breadcrumbs a:hover {
  text-decoration: underline;
}

.listy-post-cat-badge {
  display: inline-block;
  background: var(--listy-coral);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.listy-post-title {
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--listy-sage-dark);
  margin-bottom: 16px;
}

.listy-post-lead {
  font-size: 1.2rem;
  line-height: 1.65;
  color: #44403c;
  margin-bottom: 22px;
  font-weight: 500;
}

.listy-author-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--listy-border);
  border-bottom: 1px solid var(--listy-border);
  padding: 12px 0;
  margin-bottom: 25px;
  font-size: 0.9rem;
  color: var(--listy-text-muted);
}

.listy-featured-media {
  margin-bottom: 25px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #f4f1ea;
}

.listy-featured-media img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

/* ========================================================
   CRITICAL MANDATORY SINGLE POST CONTENT LINK STYLING
   ======================================================== */
.entry-content,
.listy-post-content {
  font-size: 1.15rem;
  line-height: 1.85;
  color: #292524;
}

.entry-content p,
.listy-post-content p {
  margin-bottom: 1.45em;
}

/* ALL ANCHORS IN POST CONTENT MUST BE BLUE (#0066cc) AND UNDERLINED */
.entry-content a,
.listy-post-content a,
.single-post-content a,
.article-content a {
  color: var(--content-link-blue) !important;
  text-decoration: underline !important;
  font-weight: 700 !important;
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

.entry-content a:hover,
.listy-post-content a:hover,
.single-post-content a:hover,
.article-content a:hover {
  color: var(--content-link-hover) !important;
  text-decoration: underline !important;
  background-color: #ebf5ff;
}

.entry-content h2,
.listy-post-content h2 {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--listy-sage-dark);
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  border-right: 4px solid var(--listy-coral);
  padding-right: 12px;
}

.entry-content h3,
.listy-post-content h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--listy-sage-dark);
  margin-top: 1.4em;
  margin-bottom: 0.5em;
}

.entry-content ul,
.entry-content ol,
.listy-post-content ul,
.listy-post-content ol {
  margin-bottom: 1.45em;
  padding-right: 25px;
}

.entry-content li,
.listy-post-content li {
  margin-bottom: 0.4em;
}

/* ========================================================
   6. FOOTER (Exact 3 Upper Columns + 6 Mandatory Bottom Links)
   ======================================================== */
.listy-footer {
  background: var(--listy-sage-dark);
  color: #d6d3d1;
  border-top: 4px solid var(--listy-coral);
  margin-top: 50px;
}

.listy-footer-top {
  padding: 45px 0 35px 0;
  border-bottom: 1px solid #294242;
}

/* STRICTLY 3 UPPER COLUMNS */
.listy-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 35px;
}

.listy-footer-col h4 {
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.listy-footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 2px;
  background-color: var(--listy-coral);
}

.listy-footer-about {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #a8a29e;
  margin-bottom: 15px;
}

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

.listy-footer-links li {
  margin-bottom: 9px;
}

.listy-footer-links li a {
  color: #a8a29e;
  font-size: 0.92rem;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

.listy-footer-links li a:hover {
  color: #ffffff;
  transform: translateX(-4px);
}

/* Footer Bottom Bar */
.listy-footer-bottom {
  background: #112222;
  padding: 20px 0;
  font-size: 0.85rem;
}

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

.listy-copyright {
  color: #78716c;
}

.listy-copyright strong {
  color: #d6d3d1;
}

.listy-mandatory-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #78716c;
}

.listy-mandatory-links a {
  color: #d6d3d1;
  transition: color 0.15s ease;
  font-weight: 600;
}

.listy-mandatory-links a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

/* ========================================================
   7. ACCESSIBILITY FLOATING TOOLBAR
   ======================================================== */
.a11y-floating-trigger {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 52px;
  height: 52px;
  background: var(--listy-coral);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(224, 93, 93, 0.4);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.a11y-floating-trigger:hover {
  transform: scale(1.08);
  background: var(--listy-sage);
}

.a11y-floating-trigger svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.a11y-drawer-modal {
  position: fixed;
  top: 0;
  left: -340px;
  width: 320px;
  height: 100vh;
  background: #ffffff;
  box-shadow: 4px 0 25px rgba(0,0,0,0.25);
  z-index: 10000;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.a11y-drawer-modal.open {
  left: 0;
}

.a11y-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
}

.a11y-overlay.open {
  display: block;
}

.a11y-head {
  background: var(--listy-sage);
  border-bottom: 3px solid var(--listy-coral);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.a11y-head h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.a11y-close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

.a11y-content {
  padding: 20px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1;
}

.a11y-action-btn {
  background: #f5f5f4;
  border: 1px solid #d6d3d1;
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #292524;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  transition: all 0.15s ease;
  font-family: inherit;
}

.a11y-action-btn:hover {
  background: #e7e5e4;
}

.a11y-action-btn.active {
  background: var(--listy-coral);
  color: #fff;
  border-color: var(--listy-coral);
}

.a11y-foot {
  padding: 15px 20px;
  background: #fafaf9;
  border-top: 1px solid var(--listy-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.a11y-reset-all {
  background: #ef4444;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
}

/* Accessibility States */
body.a11y-high-contrast {
  background: #000000 !important;
  color: #ffffff !important;
}

body.a11y-high-contrast * {
  background-color: #000000 !important;
  color: #ffff00 !important;
  border-color: #ffff00 !important;
}

body.a11y-grayscale {
  filter: grayscale(100%) !important;
}

body.a11y-invert {
  filter: invert(100%) !important;
}

body.a11y-highlight-links a {
  background-color: #ffff00 !important;
  color: #000000 !important;
  text-decoration: underline !important;
}

body.a11y-stop-anim * {
  animation: none !important;
  transition: none !important;
}

body.a11y-readable-font * {
  font-family: Arial, Helvetica, sans-serif !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .listy-hero-grid,
  .listy-content-layout,
  .listy-single-grid {
    grid-template-columns: 1fr;
  }
  .listy-services-grid {
    grid-template-columns: 1fr;
  }
  .listy-sidebar-box {
    position: static;
  }
  .listy-footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

@media (max-width: 640px) {
  .listy-articles-grid {
    grid-template-columns: 1fr;
  }
  .listy-search-form {
    display: none;
  }
  .listy-site-title {
    font-size: 1.45rem;
  }
  .listy-lead-title {
    font-size: 1.5rem;
  }
  .listy-footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}
