/* ========================================================== */
/* _tpl\target.css  - page-specific styles, extracted from templates          */
/* ========================================================== */


/* ==================== target.tpl (block 1 of 1) - extracted from templates/target.tpl ==================== */

  /* === TARGET PAGE: STYLES (header.tpl DESIGN SYSTEM) === */
  .atyt-target-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px 48px;
    font-family: 'Open Sans', sans-serif;
  }

  /* --- Breadcrumbs --- */
  .atyt-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
    color: #a0aec0;
    list-style: none;
    padding: 0;
  }
  .atyt-breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .atyt-breadcrumbs li + li::before {
    content: '/';
    color: #a0aec0;
    font-size: 12px;
    margin: 0 4px;
  }
  .atyt-breadcrumbs a {
    color: #57a3dc;
    text-decoration: none;
    transition: color .18s;
  }
  .atyt-breadcrumbs a:hover {
    color: #288ede;
  }
  .atyt-breadcrumbs [aria-current="page"] {
    color: #288ede;
    font-weight: 600;
  }

  /* --- Compact Hero --- */
  .atyt-hero--compact {
    /* padding: 10px 35px 35px; */
    margin-bottom: 28px;
    text-align: left;
    border-radius: 12px;
    /* background: linear-gradient(135deg, rgba(87,163,220,0.06) 0%, rgba(40,142,222,0.04) 50%, rgba(229,62,62,0.02) 100%); */
    /* border: 1px solid rgba(87,163,220,0.12); */
    position: relative;
    overflow: hidden;
  }
  .atyt-hero--compact::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(87,163,220,0.08) 0%, transparent 70%);
    pointer-events: none;
  }
  .atyt-hero--compact .atyt-hero__title {
    font-size: clamp(20px, 4vw, 34px);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    color: #1a2744;
    font-weight: 600;
  }
  .atyt-hero--compact .atyt-hero__title span {
    color: #57a3dc;
  }
  .atyt-hero--compact .atyt-hero__subtitle {
    margin: 0;
    text-align: left;
    max-width: 100%;
    position: relative;
    z-index: 1;
    font-size: 14px;
    color: #2d3748;
    line-height: 1.6;
  }
  .atyt-hero--compact .atyt-hero__subtitle a {
    color: #57a3dc;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .atyt-hero--compact .atyt-hero__subtitle a:hover {
    color: #288ede;
  }

  /* --- Quick Links Bar --- */
  .atyt-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
  }
  .atyt-quick-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color .18s, background .18s;
  }
  .atyt-quick-link--primary {
    background: rgba(87,163,220,0.08);
    color: #57a3dc;
    border: 1px solid rgba(87,163,220,0.15);
  }
  .atyt-quick-link--primary:hover {
    background: rgba(87,163,220,0.14);
    border-color: rgba(87,163,220,0.3);
  }
  .atyt-quick-link--outline {
    background: transparent;
    color: #2d3748;
    border: 1px solid #e2e8f0;
  }
  .atyt-quick-link--outline:hover {
    border-color: #57a3dc;
    color: #57a3dc;
  }
  .atyt-quick-link__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  /* --- Divider --- */
  .atyt-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    margin: 24px 0;
  }

  /* --- Search Box --- */
  .atyt-search-box {
    position: relative;
    margin-bottom: 10px;
  }
  .atyt-search-box__icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #a0aec0;
    pointer-events: none;
    transition: color .18s;
  }
  .atyt-search-box__input {
    width: 100%;
    padding: 16px 20px 16px 52px;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: #2d3748;
    background: #f7f9fc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
  }
  .atyt-search-box__input::placeholder {
    color: #a0aec0;
  }
  .atyt-search-box__input:focus {
    border-color: #57a3dc;
    box-shadow: 0 0 0 3px rgba(87,163,220,0.15);
    background: #fff;
  }
  .atyt-search-box__input:focus ~ .atyt-search-box__icon {
    color: #57a3dc;
  }
  .atyt-search-box__shortcut {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 600;
    color: #a0aec0;
    background: #e2e8f0;
    padding: 4px 10px;
    border-radius: 6px;
    pointer-events: none;
  }

  /* --- Alphabet Nav --- */
  .atyt-alphabet {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 14px;
    padding: 4px;
  }
  .atyt-alphabet__letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 6px;
    font-size: 13px;
    font-weight: 700;
    color: #2d3748;
    text-decoration: none;
    border-radius: 6px;
    transition: color .18s, background .18s;
    background: transparent;
  }
  .atyt-alphabet__letter:hover {
    background: rgba(87,163,220,0.08);
    color: #57a3dc;
  }
  .atyt-alphabet__letter--active {
    background: #57a3dc;
    color: #fff;
  }

  /* --- City Grid (with section letters) --- */
  .atyt-city-section {
    margin-bottom: 32px;
  }
  .atyt-city-section__letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    background: #57a3dc;
    margin-bottom: 14px;
	margin-left: 15px;
  }
  .atyt-city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
  }
  .atyt-city-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 6px;
    color: #2d3748;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    background: rgba(87,163,220,0.03);
    border: 1px solid transparent;
    transition: color .18s, background .18s, transform .18s;
  }
  .atyt-city-link:hover {
    background: rgba(87,163,220,0.08);
    border-color: rgba(87,163,220,0.12);
    color: #57a3dc;
    transform: translateX(4px);
  }
  .atyt-city-link__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #57a3dc;
    opacity: 0.4;
    flex-shrink: 0;
  }

  /* --- Regions List (no region selected) --- */
  .atyt-regions-card {
    padding: 28px 24px;
    border-radius: 12px;
    margin-top: 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
  }
  .atyt-regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
  }
  .atyt-region-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 6px;
    color: #2d3748;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    background: rgba(87,163,220,0.03);
    border: 1px solid rgba(87,163,220,0.08);
    transition: color .18s, background .18s, transform .18s;
  }
  .atyt-region-link:hover {
    background: rgba(87,163,220,0.08);
    border-color: rgba(87,163,220,0.18);
    color: #57a3dc;
    transform: translateY(-3px);
  }
  .atyt-region-link__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    background: #57a3dc;
    color: #fff;
    font-weight: 700;
  }

  /* --- Empty / Error State --- */
  .atyt-empty-state {
    text-align: center;
    padding: 48px 24px;
    border-radius: 12px;
    background: #f7f9fc;
    border: 1px solid #e2e8f0;
  }
  .atyt-empty-state__icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.6;
  }
  .atyt-empty-state__text {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
  }

  /* --- Responsive --- */
  @media (max-width: 768px) {
    .atyt-target-page {
      padding: 20px 12px 36px;
    }
    .atyt-hero--compact {
      /* padding: 28px 20px 24px; */
    }
    .atyt-city-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .atyt-regions-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .atyt-search-box__shortcut {
      display: none;
    }
  }
  @media (max-width: 480px) {
    .atyt-city-grid {
      grid-template-columns: 1fr;
    }
    .atyt-regions-grid {
      grid-template-columns: 1fr;
    }
    .atyt-alphabet {
      gap: 2px;
    }
    .atyt-alphabet__letter {
      min-width: 30px;
      height: 30px;
      font-size: 12px;
      border-radius: 6px;
    }
  }
