/*
Theme Name: Taxi 007 AEO
Theme URI: https://taxi-007.co.il
Author: Taxi 007
Description: Lightweight AEO theme for taxi service pages.
Version: 1.0.3
Text Domain: taxi007-aeo
*/

:root {
  --t007-bg: #0c090a;
  --t007-bg-black: #000000;
  --t007-bg-soft: #0d031b;
  --t007-card: #120d12;
  --t007-card-strong: #160a18;

  --t007-text: #f0f8ff;
  --t007-muted: #d7d9e0;
  --t007-muted-2: #aeb0b8;

  --t007-accent: #9f000f;
  --t007-accent-hover: #f75d59;
  --t007-accent-soft: rgba(159, 0, 15, .18);
  --t007-accent-strong: rgba(159, 0, 15, .42);

  --t007-indigo: #4b0082;
  --t007-purple-deep: #0d031b;

  --t007-border: rgba(240, 248, 255, .12);
  --t007-border-strong: rgba(159, 0, 15, .38);

  --t007-dark-text: #090506;
  --t007-shadow: 0 18px 52px rgba(0, 0, 0, .42);

  --t007-wrap: 1160px;
  --t007-content: 960px;

  --t007-radius-sm: 12px;
  --t007-radius-md: 18px;
  --t007-radius-lg: 24px;

  --t007-space-xs: .5rem;
  --t007-space-sm: .85rem;
  --t007-space-md: 1.25rem;
  --t007-space-lg: 1.75rem;
  --t007-space-xl: 2.75rem;
  --t007-space-xxl: 4rem;

  --t007-font: Assistant, Heebo, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  max-width: 100%;
  overflow-x: hidden;
  direction: rtl;
  font-family: var(--t007-font);
  font-size: clamp(1.28rem, 1.12rem + .42vw, 1.45rem);
  line-height: 1.72;
  color: var(--t007-text);
  background:
    radial-gradient(circle at 50% 0, rgba(75, 0, 130, .18), transparent 32rem),
    var(--t007-bg);
}

body.admin-bar .t007-site-header {
  top: 32px;
}

img,
svg,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

img {
  border-radius: var(--t007-radius-md);
}

a {
  color: var(--t007-accent-hover);
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
  overflow-wrap: anywhere;
}

a:hover,
a:focus {
  color: var(--t007-text);
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid var(--t007-accent-hover);
  outline-offset: 4px;
  border-radius: .25rem;
}

.t007-skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: .75rem;
  z-index: 1000;
  padding: .7rem 1rem;
  color: var(--t007-text);
  background: var(--t007-accent);
  border-radius: 999px;
  transform: translateY(-160%);
}

.t007-skip-link:focus {
  transform: translateY(0);
}

.t007-wrap,
.t007-content-wrap {
  width: 100%;
  max-width: var(--t007-wrap);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
  min-width: 0;
}

.t007-content-wrap {
  max-width: var(--t007-content);
}

.t007-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, .94);
  border-bottom: 1px solid var(--t007-border);
  backdrop-filter: blur(14px);
}

.t007-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--t007-space-md);
  min-width: 0;
}

.t007-brand {
  min-width: 0;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--t007-text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -.02em;
}

.t007-brand:hover,
.t007-brand:focus {
  color: var(--t007-text);
}

.t007-brand-mark {
  flex: 0 0 auto;
  inline-size: 44px;
  block-size: 44px;
  display: grid;
  place-items: center;
  color: var(--t007-text);
  background: linear-gradient(135deg, var(--t007-accent), #800080);
  border: 1px solid rgba(240, 248, 255, .18);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 0 26px rgba(159, 0, 15, .28);
}

.t007-brand-text {
  min-width: 0;
  max-inline-size: min(54vw, 460px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(1.12rem, 1rem + .48vw, 1.35rem);
  font-weight: 700;
}

.t007-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.t007-menu {
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .35rem;
  flex-wrap: wrap;
}

.t007-menu a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: .38rem .72rem;
  color: var(--t007-muted);
  text-decoration: none;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
}

.t007-menu a:hover,
.t007-menu a:focus {
  color: var(--t007-text);
  background: var(--t007-accent);
}

.t007-main {
  min-height: 70vh;
  min-width: 0;
}

.t007-page {
  padding-block: var(--t007-space-xl);
  min-width: 0;
}

.t007-breadcrumbs {
  margin-block: 0 var(--t007-space-md);
  font-size: clamp(1.05rem, .98rem + .18vw, 1.14rem);
  color: var(--t007-muted-2);
}

.t007-breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
}

.t007-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.t007-breadcrumbs li:not(:last-child)::after {
  content: '/';
  color: var(--t007-muted-2);
}

.t007-breadcrumbs a {
  color: var(--t007-muted);
  text-decoration: none;
}

.t007-breadcrumbs a:hover,
.t007-breadcrumbs a:focus {
  color: var(--t007-accent-hover);
}

.t007-entry {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: grid;
  gap: var(--t007-space-lg);
  text-align: right;
}

.t007-entry > * {
  margin-block-start: 0;
  min-width: 0;
  max-width: 100%;
}

.t007-entry > *:last-child {
  margin-block-end: 0;
}

.t007-entry h1,
.t007-entry h2,
.t007-entry h3,
.t007-entry h4 {
  overflow-wrap: break-word;
  line-height: 1.22;
  letter-spacing: -.025em;
  margin-block: var(--t007-space-xl) var(--t007-space-md);
}

.t007-entry h1:first-child,
.t007-entry h2:first-child,
.t007-entry h3:first-child {
  margin-block-start: 0;
}

.t007-entry h1 {
  max-width: 920px;
  color: var(--t007-text);
  font-size: clamp(2.1rem, 1.65rem + 2vw, 3.15rem);
  font-weight: 700;
}

.t007-entry h2 {
  color: var(--t007-text);
  font-size: clamp(1.65rem, 1.25rem + 1.15vw, 2.25rem);
  font-weight: 700;
}

.t007-entry h3 {
  color: var(--t007-muted);
  font-size: clamp(1.4rem, 1.14rem + .78vw, 1.78rem);
  font-weight: 700;
}

.t007-entry p {
  margin-block: 0 var(--t007-space-md);
  color: var(--t007-muted);
  font-weight: 400;
}

.t007-entry p:first-of-type {
  max-width: 860px;
  font-size: clamp(1.3rem, 1.12rem + .42vw, 1.5rem);
  line-height: 1.7;
  color: var(--t007-text);
  font-weight: 400;
}

.t007-entry ul,
.t007-entry ol {
  margin-block: 0 var(--t007-space-md);
  padding-inline-start: 1.35em;
  color: var(--t007-muted);
}

.t007-entry li + li {
  margin-block-start: .35rem;
}

.t007-entry strong {
  color: var(--t007-text);
  font-weight: 700;
}

.t007-hero {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: clamp(1.1rem, 3.5vw, 2.2rem);
  background:
    linear-gradient(135deg, rgba(13, 3, 27, .88), rgba(12, 9, 10, .96)),
    var(--t007-card);
  border: 1px solid var(--t007-border-strong);
  border-radius: var(--t007-radius-lg);
  box-shadow: var(--t007-shadow);
  text-align: right;
}

.t007-hero h1 {
  margin-block-start: 0;
}

.t007-hero p {
  max-width: 830px;
}

.t007-hero-media {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-block-start: var(--t007-space-lg);
  background:
    linear-gradient(135deg, rgba(75, 0, 130, .22), rgba(159, 0, 15, .12)),
    #000000;
  border: 1px solid var(--t007-border);
  border-radius: var(--t007-radius-lg);
}

.t007-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t007-hero-media.is-placeholder {
  display: grid;
  place-items: center;
  min-height: 220px;
}

.t007-hero-media.is-placeholder::before {
  content: 'תמונת Hero תתווסף כאן';
  padding: .55rem .9rem;
  color: var(--t007-muted);
  background: rgba(0, 0, 0, .38);
  border: 1px solid var(--t007-border);
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
}

.t007-kicker {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .35rem .9rem;
  margin-block-end: var(--t007-space-md);
  color: var(--t007-text);
  background: linear-gradient(135deg, var(--t007-accent), #800080);
  border: 1px solid rgba(240, 248, 255, .16);
  border-radius: 999px;
  font-size: clamp(1.1rem, 1rem + .32vw, 1.22rem);
  font-weight: 700;
  box-shadow: 0 0 24px rgba(159, 0, 15, .24);
}

.t007-answer {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: clamp(1rem, 3vw, 1.75rem);
  color: var(--t007-text);
  background: var(--t007-card-strong);
  border: 1px solid var(--t007-border-strong);
  border-radius: var(--t007-radius-lg);
}

.t007-answer p:last-child {
  margin-block-end: 0;
}

.t007-grid {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: grid;
  gap: var(--t007-space-md);
}

.t007-grid-2,
.t007-grid-3 {
  grid-template-columns: minmax(0, 1fr);
}

.t007-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: clamp(1rem, 3vw, 1.65rem);
  background: var(--t007-card);
  border: 1px solid var(--t007-border);
  border-radius: var(--t007-radius-lg);
}

.t007-card h2,
.t007-card h3 {
  margin-block-start: 0;
}

.t007-card p:last-child,
.t007-card ul:last-child,
.t007-card ol:last-child {
  margin-block-end: 0;
}

.t007-note {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: var(--t007-space-md);
  color: var(--t007-muted);
  background: var(--t007-accent-soft);
  border: 1px solid var(--t007-accent-strong);
  border-radius: var(--t007-radius-md);
}

.t007-table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  border: 1px solid var(--t007-border);
  border-radius: var(--t007-radius-lg);
  background: var(--t007-bg-soft);
  -webkit-overflow-scrolling: touch;
}

.t007-entry table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  color: var(--t007-muted);
  background: var(--t007-bg-soft);
}

.t007-entry th,
.t007-entry td {
  padding: .9rem;
  text-align: right;
  vertical-align: top;
  border-bottom: 1px solid var(--t007-border);
}

.t007-entry th {
  color: var(--t007-text);
  background: var(--t007-card-strong);
  font-weight: 700;
}

.t007-entry tr:last-child td {
  border-bottom: 0;
}

.t007-cta {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: grid;
  gap: var(--t007-space-sm);
  padding: clamp(1rem, 3vw, 1.65rem);
  background: rgba(0, 0, 0, .58);
  border: 1px solid var(--t007-border-strong);
  border-radius: var(--t007-radius-lg);
}

.t007-btn-row {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.t007-btn {
  min-height: 54px;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .68rem 1.12rem;
  color: var(--t007-text);
  background: var(--t007-accent);
  border: 1px solid rgba(240, 248, 255, .16);
  border-radius: 999px;
  text-decoration: none;
  font-size: clamp(1.16rem, 1.04rem + .32vw, 1.32rem);
  font-weight: 700;
  box-shadow: 0 0 22px rgba(159, 0, 15, .24);
}

.t007-btn:hover,
.t007-btn:focus {
  color: var(--t007-text);
  background: var(--t007-accent-hover);
}

.t007-btn-secondary {
  color: var(--t007-text);
  background: transparent;
  border-color: var(--t007-border-strong);
  box-shadow: none;
}

.t007-btn-secondary:hover,
.t007-btn-secondary:focus {
  color: var(--t007-text);
  background: var(--t007-accent);
  border-color: var(--t007-accent);
}

.t007-site-footer {
  margin-block-start: var(--t007-space-xxl);
  padding-block: var(--t007-space-xl);
  color: var(--t007-muted);
  background: var(--t007-bg-black);
  border-top: 1px solid var(--t007-border);
}

.t007-footer-inner {
  display: grid;
  gap: var(--t007-space-md);
}

.t007-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
}

.t007-footer-menu a {
  color: var(--t007-muted);
  text-decoration: none;
}

.t007-footer-menu a:hover,
.t007-footer-menu a:focus {
  color: var(--t007-accent-hover);
}

.t007-copyright {
  margin: 0;
  font-size: clamp(1.05rem, .98rem + .18vw, 1.14rem);
  color: var(--t007-muted-2);
}

.screen-reader-text {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .t007-page {
    padding-block: var(--t007-space-xxl);
  }

  .t007-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .t007-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .t007-footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (max-width: 782px) {
  body.admin-bar .t007-site-header {
    top: 46px;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 1.2rem;
    line-height: 1.68;
  }

  .t007-wrap,
  .t007-content-wrap {
    padding-inline: 1rem;
  }

  .t007-header-inner {
    min-height: 64px;
    gap: .75rem;
  }

  .t007-brand {
    gap: .5rem;
  }

  .t007-brand-mark {
    inline-size: 38px;
    block-size: 38px;
    font-size: .88rem;
  }

  .t007-brand-text {
    max-inline-size: calc(100vw - 165px);
    font-size: 1.12rem;
  }

  .t007-menu {
    gap: .15rem;
  }

  .t007-menu a {
    min-height: 42px;
    padding: .3rem .58rem;
    font-size: 1.08rem;
  }

  .t007-page {
    padding-block: 1.45rem;
  }

  .t007-entry {
    gap: 1.2rem;
  }

  .t007-entry h1 {
    font-size: clamp(2rem, 8.8vw, 2.42rem);
    line-height: 1.2;
    letter-spacing: -.025em;
  }

  .t007-entry h2 {
    font-size: clamp(1.62rem, 6vw, 1.95rem);
  }

  .t007-entry h3 {
    font-size: clamp(1.34rem, 5vw, 1.55rem);
  }

  .t007-entry p:first-of-type {
    font-size: 1.22rem;
    line-height: 1.68;
  }

  .t007-hero,
  .t007-answer,
  .t007-card,
  .t007-cta {
    padding: 1rem;
    border-radius: 18px;
  }

  .t007-kicker {
    min-height: 42px;
    font-size: 1.08rem;
    padding-inline: .78rem;
  }

  .t007-hero-media.is-placeholder {
    min-height: 185px;
  }

  .t007-btn {
    width: 100%;
    min-height: 54px;
  }
}

@media (max-width: 390px) {
  .t007-wrap,
  .t007-content-wrap {
    padding-inline: .85rem;
  }

  .t007-brand-text {
    max-inline-size: calc(100vw - 145px);
  }

  .t007-entry h1 {
    font-size: clamp(1.9rem, 8.4vw, 2.22rem);
  }

  .t007-entry p:first-of-type {
    font-size: 1.16rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}