:root {
  --primary-color: #0f65d4;
  --primary-color-light: #e7f0fd;
  --primary-color-dark: #0c50a9;
  --background-color: #f9fafb;
  --card-background: white;
  --text-color: #1a202c;
  --text-color-light: #4a5568;
  --text-color-white: #ffffff;
  --border-color-light: #f3f4f6;
  --border-color: #e2e8f0;
  --border-color-medium: #cbd5e1;
  --shadow-color: rgba(0, 0, 0, 0.05);
  --shadow-color-hover: rgba(0, 0, 0, 0.08);
  --tag-background: #edf2f7;
  --tag-text: #2d3748;
  --icon-color: #28a745;
  --star-color: #f59e0b;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --base-font-size: 16px;
  --line-height: 1.6;
  --spacing-unit: 0.25rem;
  --card-border-radius: 1rem;
  --button-border-radius: 0.5rem;
  --tag-border-radius: 0.375rem;
  --input-border-radius: 0.5rem;
  --label-border-radius: 1rem;
  --container-max-width: 1140px;
  --content-max-width: 750px;
  --sidebar-width: 280px;
  --sticky-top-offset: 20px;
  --main-content-gap: calc(var(--spacing-unit) * 8);
  --mobile-menu-breakpoint: 768px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-sans); font-size: var(--base-font-size); line-height: var(--line-height); background-color: white; color: var(--text-color); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin-top: 0; margin-bottom: calc(var(--spacing-unit) * 4); }
h1 { font-size: 2.5rem; line-height: 1.2; font-weight: 700; }
h2 { font-size: 1.3rem; margin-bottom: 0; font-weight: 600; }
h3 { font-size: 1.1rem; font-weight: 600; }
.card-section-heading { font-size: 0.95rem; font-weight: 600; color: var(--text-color); margin-bottom: calc(var(--spacing-unit) * 2.5); padding-bottom: calc(var(--spacing-unit) * 1.5); border-bottom: 1px solid var(--border-color-light); }
a { color: var(--primary-color); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-color-dark); text-decoration: underline; }
.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; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, details > summary:focus-visible { outline: 3px solid var(--primary-color); outline-offset: 2px; box-shadow: 0 0 0 4px rgba(15,101,212,.3); border-radius: var(--button-border-radius); }
input:focus-visible, select:focus-visible { border-color: var(--primary-color); }

.top-navigation { border-bottom: 1px solid var(--border-color); background-color: white; padding: calc(var(--spacing-unit) * 3) calc(var(--spacing-unit) * 4); position: relative; z-index: 100; }
.nav-content { max-width: var(--container-max-width); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.logo { display: inline-flex; align-items: center; gap: calc(var(--spacing-unit) * 2.5); text-decoration: none; color: var(--text-color); }
.logo-image { width: 32px; height: 32px; flex-shrink: 0; }
.logo-text-stack { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.logo-text-stack span { font-size: 1.1rem; font-weight: 700; color: var(--text-color); }
.logo-text-stack span:last-child { font-size: 1rem; font-weight: 500; opacity: .9; color: var(--text-color-light); }
.logo:hover { opacity: .8; }
.hamburger-button { display: none; background: none; border: none; padding: calc(var(--spacing-unit) * 2); margin: calc(var(--spacing-unit) * -2); cursor: pointer; font-size: 1.4rem; color: var(--text-color); }
.hamburger-button:hover { color: var(--primary-color); }
.top-menu { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: calc(var(--spacing-unit) * 6); position: static; background-color: transparent; flex-direction: row; border-bottom: none; box-shadow: none; visibility: visible; opacity: 1; transform: none; }
.top-menu li { margin: 0; }
.top-menu a { text-decoration: none; color: var(--text-color); font-weight: 500; font-size: 0.95rem; transition: color 0.2s ease; padding: calc(var(--spacing-unit) * 2) 0; }
.top-menu a:hover, .top-menu a:focus-visible { color: var(--primary-color); text-decoration: none; }

.hero-section{ background-color: white; padding: calc(var(--spacing-unit)*10) calc(var(--spacing-unit)*4) calc(var(--spacing-unit)*10); }
.hero-content{ max-width: var(--container-max-width); margin-left: auto; margin-right: auto; display: flex; align-items: flex-start; gap: calc(var(--spacing-unit) * 10); position: relative; }
.hero-main-content { flex: 2; min-width: 0; }
.hero-verifier { flex: 1; padding-top: calc(var(--spacing-unit) * 2); text-align: left; border-left: 1px solid var(--border-color); padding-left: calc(var(--spacing-unit) * 10); min-width: 200px; }
.verifier-text { font-size: 0.9rem; font-weight: 500; color: var(--text-color-light); margin-bottom: calc(var(--spacing-unit) * 3); }
.verifier-avatars { display: flex; margin-bottom: calc(var(--spacing-unit) * 3); }
.verifier-avatars a { margin-right: calc(var(--spacing-unit) * -2); display: block; border: 2px solid white; border-radius: 50%; overflow: hidden; transition: transform 0.2s ease; }
.verifier-avatars a:hover { transform: translateY(-2px); z-index: 1; }
.verifier-avatars img { display: block; width: 40px; height: 40px; border-radius: 50%; }
.last-updated { font-size: 0.8rem; color: var(--text-color-light); margin-top: calc(var(--spacing-unit) * 2); margin-bottom: 0; opacity: 0.8; }
.hero-section h1{margin-bottom:calc(var(--spacing-unit)*3); color: var(--text-color);}
.hero-section p{font-size:1.15rem;max-width:640px; margin:0 0 calc(var(--spacing-unit)*6) 0; opacity:.9; color: var(--text-color-light);}
.hero-search{max-width: 520px; margin: 0; position: relative;}
.hero-search .search-icon {position: absolute; left: calc(var(--spacing-unit) * 4); top: 50%; transform: translateY(-50%); color: var(--text-color-light); opacity: .6; pointer-events: none;}
.hero-search input[type="search"]{width:100%;padding: calc(var(--spacing-unit)*3) calc(var(--spacing-unit)*4) calc(var(--spacing-unit)*3) calc(var(--spacing-unit)*10); font-size:1rem;border: 1px solid var(--border-color-medium);border-radius:var(--input-border-radius);box-shadow:0 1px 2px rgba(0,0,0,.05);transition: border-color .2s ease, box-shadow .2s ease;}
.hero-search input[type="search"]::placeholder{color:var(--text-color-light);}
.hero-search input[type="search"]:focus {border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(15,101,212,.2); outline: none;}
.hero-search input[type="search"]:focus + .search-icon {color: var(--primary-color); opacity: 1;}

main { padding: calc(var(--spacing-unit) * 8) calc(var(--spacing-unit) * 4); }
main.page-main { padding-top: calc(var(--spacing-unit) * 10); padding-bottom: calc(var(--spacing-unit) * 10); }
.content-container { max-width: var(--content-max-width); margin-left: auto; margin-right: auto; }
.content-container h1 { margin-bottom: calc(var(--spacing-unit) * 3); border-bottom: 1px solid var(--border-color); padding-bottom: calc(var(--spacing-unit) * 3); }
.content-container p { margin-bottom: calc(var(--spacing-unit) * 6); line-height: 1.7; color: var(--text-color-light); }
.form-embed-container { margin-top: calc(var(--spacing-unit) * 8); border: 1px solid var(--border-color); border-radius: var(--button-border-radius); overflow: hidden; }
.form-embed-container iframe { display: block; width: 100%; }

.main-content-area { display: flex; align-items: flex-start; gap: var(--main-content-gap); max-width: var(--container-max-width); margin: 0 auto; }
.filter-sidebar { width: var(--sidebar-width); flex-shrink: 0; position: sticky; top: var(--sticky-top-offset); height: calc(100vh - var(--sticky-top-offset) - 20px); overflow-y: auto; padding-right: calc(var(--spacing-unit) * 4); scrollbar-width: thin; scrollbar-color: var(--border-color-medium) transparent; }
.filter-sidebar::-webkit-scrollbar { width: 6px; }
.filter-sidebar::-webkit-scrollbar-track { background: transparent; }
.filter-sidebar::-webkit-scrollbar-thumb { background-color: transparent; border-radius: 10px; border: 1px solid transparent; background-clip: content-box; transition: background-color 0.2s ease-out; }
.filter-sidebar:hover::-webkit-scrollbar-thumb { background-color: var(--border-color-medium); }
.filter-sidebar::-webkit-scrollbar-thumb:hover { background-color: var(--text-color-light); }
.sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: calc(var(--spacing-unit) * 5); border-bottom: 1px solid var(--border-color); padding-bottom: calc(var(--spacing-unit) * 3); }
.sidebar-header h2 { margin-bottom: 0; border-bottom: none; padding-bottom: 0; font-size: 1.25rem; color: var(--text-color); }
.close-filters-button { display: none; font-size: 1.8rem; background: none; border: none; color: var(--text-color-light); cursor: pointer; padding: 0; line-height: 1; }
.close-filters-button:hover { color: var(--text-color); }
details.filter-group { margin-bottom: calc(var(--spacing-unit) * 1); border-bottom: 1px solid var(--border-color-light); }
details.filter-group:last-of-type { margin-bottom: calc(var(--spacing-unit) * 6); border-bottom: none; }
.filter-group:not(details) { margin-bottom: calc(var(--spacing-unit) * 6); }
summary.filter-group-title, .filter-group > label:not(.filter-toggle-label) { display: block; font-weight: 600; font-size: .95rem; color: var(--text-color); margin-bottom: calc(var(--spacing-unit)*3); }
summary.filter-group-title { padding: calc(var(--spacing-unit)*3) 0; cursor: pointer; list-style: none; position: relative; transition: margin-bottom .2s ease-out; margin-bottom: 0; display: flex; align-items: center; }
summary.filter-group-title::-webkit-details-marker { display: none; }
summary.filter-group-title::marker { display: none; }
summary.filter-group-title::before { content: ''; display: inline-block; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 6px solid var(--text-color-light); margin-right: calc(var(--spacing-unit) * 2.5); transition: transform .2s ease-out; flex-shrink: 0; }
details[open] > summary.filter-group-title::before { transform: rotate(90deg); }
details[open] > summary.filter-group-title { margin-bottom: calc(var(--spacing-unit) * 3); }
.filter-options { display: flex; flex-direction: column; gap: calc(var(--spacing-unit) * 2.5); }
.filter-options-padding { padding-bottom: calc(var(--spacing-unit) * 4); padding-left: calc(var(--spacing-unit) * 2); }
.filter-options label { display: flex; align-items: center; gap: calc(var(--spacing-unit) * 2.5); font-size: .9rem; color: var(--text-color-light); cursor: pointer; line-height: 1.3; }
.filter-options label span { flex-grow: 1; }
.filter-options label:hover span { color: var(--primary-color); }
.filter-options input[type="checkbox"], .filter-options input[type="radio"] { appearance: none; -webkit-appearance: none; -moz-appearance: none; margin: 0; padding: 0; background: none; border: none; width: 16px; height: 16px; border: 2px solid var(--border-color-medium); border-radius: 4px; cursor: pointer; position: relative; flex-shrink: 0; outline-offset: 3px; }
.filter-options input[type="radio"] { border-radius: 50%; }
.filter-options input[type="checkbox"]::before { content: ''; display: block; width: 8px; height: 8px; background-color: var(--primary-color); border-radius: 2px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); transition: transform .1s ease-in-out; }
.filter-options input[type="radio"]::before { content: ''; display: block; width: 8px; height: 8px; background-color: var(--primary-color); border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); transition: transform .1s ease-in-out; }
.filter-options input[type="checkbox"]:checked { border-color: var(--primary-color); }
.filter-options input[type="radio"]:checked { border-color: var(--primary-color); }
.filter-options input[type="checkbox"]:checked::before { transform: translate(-50%, -50%) scale(1); }
.filter-options input[type="radio"]:checked::before { transform: translate(-50%, -50%) scale(1); }
.filter-options input[type="checkbox"]:checked + span, .filter-options input[type="radio"]:checked + span { color: var(--text-color); font-weight: 500; }
.filter-toggle-label { display: flex; align-items: center; justify-content: space-between; font-size: .95rem; font-weight: 500; padding: calc(var(--spacing-unit) * 1) 0; }
.filter-toggle-label--disabled { opacity: 0.7; cursor: not-allowed; }
.toggle-switch { position: relative; display: inline-block; width: 40px; height: 22px; }
.toggle-switch-checkbox { opacity: 0; width: 0; height: 0; }
.toggle-switch-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 22px; }
.toggle-switch-slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
.toggle-switch-checkbox:checked + .toggle-switch-slider { background-color: var(--primary-color); }
.toggle-switch-checkbox:focus-visible + .toggle-switch-slider { box-shadow: 0 0 1px var(--primary-color); outline: 2px solid var(--primary-color); outline-offset: 2px; }
.toggle-switch-checkbox:checked + .toggle-switch-slider:before { transform: translateX(18px); }
.filter-options--scrollable { max-height: 160px; overflow-y: auto; border: 1px solid var(--border-color); padding: calc(var(--spacing-unit) * 3); border-radius: var(--button-border-radius); margin-bottom: 0; }
.filter-options--scrollable.expanded { max-height: 300px; }
.filter-placeholder { font-style: italic; color: var(--text-color-light); font-size: .9rem; margin: 0; }
.features-toggle-button { background: none; border: none; color: var(--primary-color); cursor: pointer; padding: calc(var(--spacing-unit) * 1) 0; font-size: .85rem; text-decoration: underline; display: inline-block; margin-top: calc(var(--spacing-unit) * 2); }
.features-toggle-button:hover { color: var(--primary-color-dark); }
.feature-label-hidden { display: none; }
.features-list-expanded .feature-label-hidden { display: flex; }
.clear-filters-button { width: 100%; padding: calc(var(--spacing-unit) * 2.5) calc(var(--spacing-unit) * 4); font-size: .95rem; font-weight: 500; background-color: var(--text-color-light); color: var(--text-color-white); border: none; border-radius: var(--button-border-radius); cursor: pointer; transition: background-color .2s ease; white-space: nowrap; margin-top: calc(var(--spacing-unit) * 6); }
.clear-filters-button:hover, .clear-filters-button:focus-visible { background-color: var(--text-color); text-decoration: none; }

.results-content { flex-grow: 1; min-width: 0; }
.results-header { margin-bottom: calc(var(--spacing-unit) * 4); display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: calc(var(--spacing-unit)*4); }
.results-summary { font-size: 1.1rem; font-weight: 500; margin-bottom: 0; color: var(--text-color); order: 2; }
.active-filters-area { display: flex; flex-wrap: wrap; gap: calc(var(--spacing-unit) * 2); align-items: center; margin-bottom: calc(var(--spacing-unit) * 2); order: 3; width: 100%; }
.show-filters-button { order: 1; display: none; background-color: var(--primary-color-light); color: var(--primary-color-dark); border: 1px solid var(--primary-color-light); padding: calc(var(--spacing-unit)*2) calc(var(--spacing-unit)*4); border-radius: var(--button-border-radius); font-weight: 500; cursor: pointer; transition: background-color 0.2s, color 0.2s;}
.show-filters-button i { margin-right: calc(var(--spacing-unit)*1.5); }
.show-filters-button:hover { background-color: var(--primary-color); color: white; }
.active-filter-pill { display: inline-flex; align-items: center; gap: calc(var(--spacing-unit) * 1.5); background-color: var(--primary-color-light); color: var(--primary-color-dark); padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 3); border-radius: var(--label-border-radius); font-size: .85rem; font-weight: 500; border: 1px solid transparent; cursor: pointer; transition: background-color .2s, color .2s; }
.active-filter-pill span { font-size: 1.2em; line-height: 1; opacity: .7; }
.active-filter-pill:hover, .active-filter-pill:focus-visible { background-color: var(--primary-color); color: var(--text-color-white); border-color: var(--primary-color-dark); }
.active-filter-pill:hover span, .active-filter-pill:focus-visible span { opacity: 1; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: calc(var(--spacing-unit) * 7); align-items: start; }
.status-message, .error-message { grid-column: 1 / -1; text-align: center; padding: calc(var(--spacing-unit) * 8) 0; font-size: 1.1rem; color: var(--text-color-light); }
.status-message--full-width { grid-column: auto; }
.error-message { color: #9b2c2c; background-color: #fed7d7; border: 1px solid #f56565; padding: calc(var(--spacing-unit) * 4); border-radius: var(--button-border-radius); }
.card { position: relative; background: var(--card-background); border: 1px solid var(--border-color); border-radius: var(--card-border-radius); padding: calc(var(--spacing-unit) * 6); box-shadow: 0 4px 8px var(--shadow-color); transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; overflow: hidden; }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 16px var(--shadow-color-hover); }
.card-label { position: absolute; top: calc(var(--spacing-unit) * 3); right: calc(var(--spacing-unit) * 4); font-size: .7rem; font-weight: 600; padding: calc(var(--spacing-unit) * .5) calc(var(--spacing-unit) * 2.5); border-radius: var(--label-border-radius); line-height: 1.4; white-space: nowrap; z-index: 1; background-color: var(--label-bg, #e5e7eb); color: var(--label-text, #4b5563); }
.card-header { display: flex; align-items: flex-start; gap: calc(var(--spacing-unit) * 5); margin-bottom: calc(var(--spacing-unit) * 4); position: relative; }
.card-header img { width: 60px; height: 60px; object-fit: contain; flex-shrink: 0; background-color: #f9fafb; border-radius: 8px; margin-top: calc(var(--spacing-unit) * 1); }
.logo-placeholder { width: 60px; height: 60px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background-color: var(--border-color); border-radius: 8px; margin-top: calc(var(--spacing-unit) * 1); }
.logo-placeholder svg { width: 75%; height: 75%; }
.card-title-area { display: flex; flex-direction: column; gap: calc(var(--spacing-unit) * .5); flex-grow: 1; padding-right: calc(var(--spacing-unit) * 16); }
.card-header h2 { line-height: 1.3; margin-bottom: 0; }
.card-rating { font-size: 1rem; line-height: 1; color: var(--text-color-light); display: flex; align-items: center; gap: calc(var(--spacing-unit) * 1.5); }
.card-rating .stars { color: var(--star-color); font-size: 1.2em; letter-spacing: 1px; }
.card-rating .rating-value { font-size: .9em; font-weight: 600; }
.rating-info-icon { display: inline-flex; align-items: center; justify-content: center; font-size: .7em; color: var(--text-color-light); margin-left: calc(var(--spacing-unit) * 1); cursor: help; border: 1px solid var(--text-color-light); border-radius: 50%; width: 1.3em; height: 1.3em; text-align: center; font-style: normal; font-weight: bold; transition: color .2s, border-color .2s; }
.rating-info-icon:hover { color: var(--primary-color); border-color: var(--primary-color); }
.description { font-size: .9rem; color: var(--text-color-light); margin-bottom: calc(var(--spacing-unit) * 4); flex-grow: 1; }
.integrations { margin-bottom: calc(var(--spacing-unit) * 4); }
.integrations .card-section-heading { margin-bottom: calc(var(--spacing-unit) * 2.5); border-bottom: none; padding-bottom: 0;}
.integrations-list { display: flex; flex-wrap: wrap; gap: calc(var(--spacing-unit) * 3); align-items: center; }
.integration-item { display: inline-flex; cursor: help; }
.integration-icon { display: inline-flex; align-items: center; justify-content: center; }
.integration-icon i { font-size: 24px; color: var(--text-color-light); opacity: .8; vertical-align: middle; transition: color .2s, opacity .2s; }
.integration-item:hover .integration-icon i { opacity: 1; color: var(--text-color); }
.features { margin-bottom: calc(var(--spacing-unit) * 4); }
.features .card-section-heading { margin-bottom: calc(var(--spacing-unit) * 2.5); border-bottom: none; padding-bottom: 0;}
.features .tags-container { display: flex; flex-wrap: wrap; gap: calc(var(--spacing-unit) * 2); }
.features span { background: var(--tag-background); color: var(--tag-text); font-size: .75rem; padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 2); border-radius: var(--tag-border-radius); white-space: nowrap; }
.benefits-details { margin-bottom: calc(var(--spacing-unit) * 4); }
.benefits-summary { font-weight: 600; cursor: pointer; padding: 0; list-style: none; position: relative; display: flex; align-items: baseline; gap: calc(var(--spacing-unit) * 2.5); margin-bottom: calc(var(--spacing-unit) * 2.5); }
.benefits-summary::-webkit-details-marker { display: none; }
.benefits-summary::marker { display: none; }
.benefits-summary::before { content: '►'; display: inline-block; font-size: .8em; color: var(--text-color-light); transition: transform .2s ease-out; flex-shrink: 0; transform-origin: center center; margin-top: calc(var(--spacing-unit)*1); }
.benefits-details[open] > .benefits-summary::before { transform: rotate(90deg); }
.benefits-summary .card-section-heading { margin-bottom: 0; border-bottom: none; padding-bottom: 0; }
.benefits-list.icon-list { margin: 0; padding-left: calc(var(--spacing-unit)*5); list-style: none; font-size: .85rem; color: var(--text-color-light); }
.benefits-list.icon-list li { position: relative; padding-left: calc(var(--spacing-unit) * 6); margin-bottom: calc(var(--spacing-unit) * 1.5); }
.benefits-list.icon-list li::before { content: '✓'; position: absolute; left: calc(var(--spacing-unit) * 1); top: 1px; color: var(--icon-color); font-weight: bold; font-size: 1.1em; }
.meta, .extra { font-size: .85rem; color: var(--text-color-light); border-top: 1px solid var(--border-color); padding-top: calc(var(--spacing-unit) * 3); margin-top: calc(var(--spacing-unit) * 3); line-height: 1.5; }
.meta div, .extra div { margin-bottom: calc(var(--spacing-unit) * .5); }
.meta div:last-child, .extra div:last-child { margin-bottom: 0; }
.meta strong, .extra strong { color: var(--text-color); font-weight: 600; min-width: 80px; display: inline-block; }
.meta .price-value { font-weight: 600; font-size: 1.05em; color: var(--text-color); }
.extra { display: flex; flex-direction: column; gap: calc(var(--spacing-unit) * 1); }
.visit { font-weight: 600; margin-top: calc(var(--spacing-unit) * 2); display: inline-block; }
.visit:hover { text-decoration: underline; }

.listings-container { display: flex; flex-direction: column; gap: calc(var(--spacing-unit) * 6); }
.crm-listing { background: var(--card-background); border: 1px solid var(--border-color); border-radius: var(--card-border-radius); padding: calc(var(--spacing-unit) * 6); box-shadow: 0 4px 8px var(--shadow-color); transition: box-shadow 0.2s ease; position: relative; overflow: hidden; }
.crm-listing:hover { box-shadow: 0 8px 16px var(--shadow-color-hover); }
.listing-label { top: calc(var(--spacing-unit) * 3); right: calc(var(--spacing-unit) * 4); }
.listing-header { display: flex; flex-wrap: wrap; gap: calc(var(--spacing-unit) * 4); align-items: flex-start; margin-bottom: calc(var(--spacing-unit) * 4); }
.listing-logo-area { flex-shrink: 0; }
.listing-title-area { flex-grow: 1; display: flex; flex-direction: column; gap: calc(var(--spacing-unit) * 1); min-width: 0; }
.listing-cta-area { margin-left: auto; flex-shrink: 0; padding-top: calc(var(--spacing-unit) * 1); }
.visit--listing { display: inline-block; background-color: var(--primary-color); color: white; padding: calc(var(--spacing-unit) * 2.5) calc(var(--spacing-unit) * 5); border-radius: var(--button-border-radius); font-weight: 600; text-decoration: none; transition: background-color 0.2s ease; }
.visit--listing:hover { background-color: var(--primary-color-dark); color: white; text-decoration: none; }
.free-plan-limits { background-color: var(--primary-color-light); border-radius: var(--tag-border-radius); padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 3); margin-bottom: calc(var(--spacing-unit) * 4); font-size: 0.9rem; border: 1px solid var(--primary-color); border-left: 4px solid var(--primary-color-dark);}
.free-plan-limits__title { color: var(--primary-color-dark); font-weight: 600; margin-right: calc(var(--spacing-unit) * 1.5); }
.free-plan-limits__text { color: var(--text-color); }
.listing-details-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: calc(var(--spacing-unit) * 6); margin-bottom: calc(var(--spacing-unit) * 4); }
.listing-screenshots { margin-bottom: calc(var(--spacing-unit) * 4); }
.listing-screenshots .card-section-heading { margin-bottom: calc(var(--spacing-unit) * 2.5); border-bottom: none; padding-bottom: 0;}
.screenshot-list { display: flex; gap: calc(var(--spacing-unit) * 3); overflow-x: auto; padding-bottom: calc(var(--spacing-unit) * 2); }
.screenshot-link { display: block; flex-shrink: 0; }
.screenshot-link img { width: 150px; height: auto; max-height: 100px; border-radius: var(--button-border-radius); border: 1px solid var(--border-color); object-fit: cover; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.screenshot-link:hover img { transform: scale(1.03); box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
.listing-meta { border-top: 1px solid var(--border-color); padding-top: calc(var(--spacing-unit) * 3); margin-top: calc(var(--spacing-unit) * 3); font-size: .85rem; color: var(--text-color-light); display: flex; flex-wrap: wrap; gap: calc(var(--spacing-unit) * 4); }
.listing-meta div { margin-bottom: 0; }
.listing-meta strong { min-width: auto; }

.external-reviews { font-size: 0.85rem; color: var(--text-color-light); border-top: 1px solid var(--border-color); padding-top: calc(var(--spacing-unit) * 3); margin-top: calc(var(--spacing-unit) * 3); }
.external-reviews strong { color: var(--text-color); font-weight: 600; display: inline-block; margin-right: calc(var(--spacing-unit) * 2); margin-bottom: calc(var(--spacing-unit) * 1); }
.review-links-container { display: inline-flex; flex-wrap: wrap; gap: calc(var(--spacing-unit) * 3); align-items: center; }
.review-link { display: inline-block; color: var(--primary-color); padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 2.5); border-radius: var(--tag-border-radius); font-weight: 500; font-size: 0.8rem; border: 1px solid var(--border-color-medium); text-decoration: none; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.review-link:hover { background-color: var(--primary-color-light); border-color: var(--primary-color); color: var(--primary-color-dark); text-decoration: none; }

footer { padding: calc(var(--spacing-unit) * 6) calc(var(--spacing-unit) * 4); margin-top: calc(var(--spacing-unit) * 12); border-top: 1px solid var(--border-color); font-size: .85rem; color: var(--text-color-light); }
footer .footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: calc(var(--spacing-unit) * 4); max-width: var(--container-max-width); margin: 0 auto; }
footer .footer-left { flex-grow: 1; text-align: left; } /* Ensure left align by default */
footer .footer-left p { margin-bottom: calc(var(--spacing-unit) * 1); }
footer .footer-left p:last-child { margin-bottom: 0; }
footer .attribution { font-size: .8rem; color: var(--text-color-light); }
footer .attribution a { color: var(--text-color-light); text-decoration: underline; }
footer .attribution a:hover { color: var(--primary-color); }
.footer-menu { list-style: none; padding: 0; margin: 0; display: flex; gap: calc(var(--spacing-unit) * 6); flex-shrink: 0; }
.footer-menu li { margin: 0; }
.footer-menu a { color: var(--text-color-light); font-weight: 500; font-size: 0.9rem; }
.footer-menu a:hover, .footer-menu a:focus-visible { color: var(--primary-color); text-decoration: none; }

/* --- GLOSSARY PAGE STYLES --- */

/* A-Z Navigation */
.glossary-az-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3);
  margin-bottom: calc(var(--spacing-unit) * 10);
  padding-bottom: calc(var(--spacing-unit) * 4);
  border-bottom: 1px solid var(--border-color);
}
.glossary-az-nav a {
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  padding: var(--spacing-unit) calc(var(--spacing-unit) * 1.5);
  min-width: 30px;
  text-align: center;
}
.glossary-az-nav a:hover {
  text-decoration: underline;
  color: var(--primary-color-dark);
}

/* Glossary Section (A, B, C...) */
.glossary-section {
  margin-bottom: calc(var(--spacing-unit) * 8);
}
.glossary-letter {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color-light);
  padding-bottom: calc(var(--spacing-unit) * 2);
  margin-bottom: calc(var(--spacing-unit) * 5);
}

/* Term List on Index Page */
.glossary-term-list dt {
  font-weight: 600;
  margin-bottom: calc(var(--spacing-unit) * 1);
}
.glossary-term-list dt a {
  color: var(--text-color); /* Make term less like a standard link */
  text-decoration: none;
}
.glossary-term-list dt a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}
.glossary-term-list dd {
  margin-left: 0; /* Remove default indentation */
  margin-bottom: calc(var(--spacing-unit) * 4); /* Space between definitions */
  color: var(--text-color-light);
  font-size: 0.95rem;
}

/* Term Definition Page Styles */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-color-light);
  margin-bottom: calc(var(--spacing-unit) * 4);
}
.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

.term-definition {
  margin-bottom: calc(var(--spacing-unit) * 6);
}
.term-definition p {
  margin-bottom: calc(var(--spacing-unit) * 4);
  line-height: 1.7;
}
.term-definition ul {
  margin-left: calc(var(--spacing-unit) * 5);
  margin-bottom: calc(var(--spacing-unit) * 4);
  padding-left: calc(var(--spacing-unit) * 2);
}
.term-definition li {
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.related-links {
  margin-top: calc(var(--spacing-unit) * 8);
  padding-top: calc(var(--spacing-unit) * 4);
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
}
.related-links strong {
  font-weight: 600;
  color: var(--text-color);
  margin-right: var(--spacing-unit);
}
.related-links a {
  margin-right: calc(var(--spacing-unit) * 2);
}

@media (max-width: 1139px) { .hero-content { flex-direction: column; align-items: center; text-align: center; gap: calc(var(--spacing-unit) * 6); } .hero-main-content { flex-basis: auto; } .hero-verifier { border-left: none; padding-left: 0; text-align: center; border-top: 1px solid var(--border-color); padding-top: calc(var(--spacing-unit) * 6); width: 100%; max-width: 300px; } .verifier-avatars { justify-content: center; } .hero-search { margin-left: auto; margin-right: auto; } }
@media (max-width: 992px) { .main-content-area { flex-direction: column; gap: calc(var(--spacing-unit) * 0); } .filter-sidebar { display: none; position: fixed; z-index: 1000; top: 0; left: 0; width: 300px; height: 100%; background: white; box-shadow: 2px 0 10px rgba(0,0,0,0.1); padding: calc(var(--spacing-unit) * 6); transform: translateX(-100%); transition: transform 0.3s ease-in-out; } .filter-sidebar.is-visible { display: block; transform: translateX(0); } .sidebar-header { display: flex; } .close-filters-button { display: block; } .results-header { flex-wrap: nowrap; justify-content: space-between; align-items: center; } .results-summary { order: 1; margin-bottom: 0; } .show-filters-button { display: inline-flex; order: 2; margin-bottom: 0; } .active-filters-area { order: 3; margin-top: calc(var(--spacing-unit) * 4); } .hero-content { text-align: center; } .hero-search { margin-left: auto; margin-right: auto; } .card-title-area { padding-right: calc(var(--spacing-unit) * 12); } .card-header h2 { font-size: 1.2rem; } .card-header img, .logo-placeholder { width: 50px; height: 50px; } .logo-placeholder svg { width: 70%; height: 70%; } .card-rating { font-size: .85rem; } .card-rating .stars { font-size: 1em; } .integration-icon i { font-size: 22px; } }

@media (max-width: 768px) {
  /* --- CORRECTED Mobile Footer Styles --- */
  footer .footer-content {
    flex-direction: column;
    align-items: flex-start; /* Align items to start (left) */
    text-align: left;      /* Ensure text within blocks aligns left */
  }
  footer .footer-left {
    text-align: left;      /* Ensure left alignment */
    margin-bottom: calc(var(--spacing-unit)*3);
    width: 100%; /* Allow it to take width */
  }
  .footer-menu {
    align-self: flex-start; /* Align menu itself to the left */
  }
  /* --- END CORRECTED Mobile Footer --- */

  .listing-header { flex-direction: column; align-items: flex-start; }
  .listing-cta-area { margin-left: 0; margin-top: calc(var(--spacing-unit) * 3); }
  .top-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background-color: white; flex-direction: column; padding: calc(var(--spacing-unit) * 4); border-bottom: 1px solid var(--border-color); box-shadow: 0 4px 6px rgba(0,0,0,0.05); align-items: flex-start; gap: 0; z-index: 99; }
  .top-menu.is-active { display: flex; }
  .top-menu li { width: 100%; }
  .top-menu a { color: var(--text-color); display: block; padding: calc(var(--spacing-unit) * 3) 0; border-bottom: 1px solid var(--border-color-light); }
  .top-menu li:last-child a { border-bottom: none; }
  .hamburger-button { display: block; }
}

@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; gap: calc(var(--spacing-unit) * 5); }
  .filter-item { min-width: 100%; }
  .top-navigation { padding-top: calc(var(--spacing-unit)*2); padding-bottom: calc(var(--spacing-unit)*2); }
  .nav-content { flex-direction: row; gap: var(--spacing-unit)*4; align-items: center; } /* Keep side-by-side on smallest */
  .logo { position: static; justify-content: flex-start; margin-bottom: 0; }
  .hamburger-button { margin-left: auto; } /* Push hamburger right */
  .hero-section { padding-top: calc(var(--spacing-unit)*6); padding-bottom: calc(var(--spacing-unit)*6); }
  .hero-content { gap: calc(var(--spacing-unit)*4); align-items: flex-start; text-align: left; }
  .hero-main-content { width: 100%; }
  .hero-verifier { display: none; }
  .hero-section h1 { font-size: 1.8rem; }
  .hero-section p { font-size: 1rem; }
  .hero-search { max-width: 100%; margin-left: 0; }
  .card-label { top: calc(var(--spacing-unit) * 2); right: calc(var(--spacing-unit) * 2.5); padding: calc(var(--spacing-unit) * .5) calc(var(--spacing-unit) * 2); }
  .card-header { gap: calc(var(--spacing-unit) * 3); align-items: center; }
  .card-title-area { padding-right: calc(var(--spacing-unit) * 10); }
  .card-header h2 { font-size: 1.15rem; }
  .card-header img, .logo-placeholder { width: 50px; height: 50px; margin-top: 0; }
  .logo-placeholder svg { width: 75%; height: 75%; }
  .card-rating { font-size: .8rem; }
  .integration-icon i { font-size: 20px; }
  .filter-sidebar { width: 85%; }
  .listing-details-grid { grid-template-columns: 1fr; }
  .footer-content { align-items: flex-start; /* Align left */ text-align: left; }
  .footer-left { text-align: left; } /* Ensure left align */
  .footer-menu { flex-direction: column; gap: calc(var(--spacing-unit) * 2); align-items: flex-start; }
}