
.atis-sync-tabs {
    display: inline-flex;
    gap: 8px;
    padding: 4px;
    border-radius: 999px;
    background: #f3f4f6;
    margin-bottom: 16px;
}

.atis-tab-btn {
    border: none;
    background: transparent;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    cursor: pointer;
    color: #374151;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.atis-tab-btn:hover {
    background: #e5e7eb;
}

.atis-tab-btn:focus-visible {
    outline: 2px solid #005496;
    outline-offset: 2px;
}

.atis-tab-btn.active {
    background: #005496;
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.atis-tab-content {
    display: none;
    margin-top: 10px;
}

.atis-tab-content.active {
    display: block;
}

.atis-search-wrap {
    position: relative;
    max-width: 480px;
    margin-bottom: 6px;
}

.atis-search {
    width: 100%;
    padding: 8px 36px 8px 12px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    font-size: 0.95rem;
    margin-bottom: 1.5em;
}

.atis-search:focus {
    outline: none;
    border-color: #005496;
    box-shadow: 0 0 0 2px rgba(0,84,150,0.2);
}

.atis-search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: #e5e7eb;
    color: #374151;
    font-size: 1.25rem;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease;
}

.atis-search-clear:hover {
    background: #d1d5db;
    color: #111;
}

.atis-search-clear:focus-visible {
    outline: 2px solid #005496;
    outline-offset: 1px;
}

.atis-search-result-count {
    margin: 0 0 12px;
    font-size: 0.9rem;
    color: #6b7280;
}

.atis-post-list article {
    margin-bottom: 22px;
}

.atis-post-list h3 {
    margin: 0 0 2px;
    font-size: 1rem;
}

.atis-post-list h3 a {
    text-decoration: none;
    color: inherit;
}

.atis-post-list h3 a:hover {
    text-decoration: underline;
}

.atis-source {
    font-style: italic;
    color: #6b7280;
    margin-bottom: 2px;
}

.atis-post-list time {
    display: block;
    font-size: 0.85rem;
    color: #6b7280;
}

.atis-load-more {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid #004578;
    background: #005496;
    color: #ffffff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.atis-load-more:hover {
    background: #004578;
    border-color: #003a66;
    color: #ffffff;
}

.atis-load-more:focus-visible {
    outline: 2px solid #005496;
    outline-offset: 2px;
}

.atis-load-more:disabled {
    opacity: 0.7;
    cursor: wait;
}

.atis-list-end {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #6b7280;
}

.atis-sync-teaser .atis-post-list--teaser article:last-child {
    margin-bottom: 0;
}

.atis-teaser-link {
    margin-top: 1rem;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.atis-teaser-link a {
    color: #005496;
    text-decoration: none;
}

.atis-teaser-link a:hover {
    text-decoration: underline;
}

.atis-sync-error {
    padding: 10px 12px;
    border-radius: 4px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 0.9rem;
    max-width: 640px;
}

.atis-search-loading,
.atis-search-empty {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 12px 0;
}