/*
Theme Name: ARC Raiders Guide
Theme URI: https://example.com/
Author: Codex
Description: Быстрая русская тема для сайта с ключами ARC Raiders: изображения, маршруты и удобная навигация на первом плане.
Version: 1.0.0
Text Domain: arc-raiders-guide
*/

:root {
    --arg-bg: #f4f1eb;
    --arg-surface: #ffffff;
    --arg-ink: #182023;
    --arg-muted: #667174;
    --arg-line: rgba(24, 32, 35, 0.15);
    --arg-accent: #b6402d;
    --arg-accent-2: #1f7a73;
    --arg-warn: #f0b84e;
    --arg-shadow: 0 18px 44px rgba(24, 32, 35, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--arg-bg);
    color: var(--arg-ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

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

a {
    color: inherit;
}

.arg-site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--arg-line);
    background: rgba(244, 241, 235, 0.94);
    backdrop-filter: blur(12px);
}

.arg-site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 10px clamp(14px, 3vw, 30px);
}

.arg-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    color: var(--arg-ink);
    font-weight: 900;
    text-decoration: none;
}

.arg-brand-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--arg-ink);
    color: #fff;
    font-weight: 900;
}

.arg-site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.arg-site-nav a,
.arg-button,
.arg-map-pill {
    border: 1px solid var(--arg-line);
    border-radius: 999px;
    background: var(--arg-surface);
    color: var(--arg-ink);
    font-weight: 800;
    line-height: 1;
    padding: 10px 14px;
    text-decoration: none;
}

.arg-site-nav a:first-child,
.arg-button-primary {
    background: var(--arg-accent);
    border-color: var(--arg-accent);
    color: #fff;
}

.arg-main {
    max-width: 1240px;
    margin: 0 auto;
    padding: clamp(14px, 3vw, 30px);
}

.arg-home-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.arg-home-head h1,
.arg-archive-title,
.arg-entry-title {
    margin: 0;
    font-size: clamp(30px, 5vw, 58px);
    line-height: 1.02;
}

.arg-home-head p {
    max-width: 700px;
    margin: 8px 0 0;
    color: var(--arg-muted);
    font-size: 1.05rem;
}

.arg-spotlight {
    display: grid;
    grid-template-columns: minmax(340px, 1.18fr) minmax(280px, 0.82fr);
    gap: 18px;
    align-items: stretch;
    margin-bottom: 18px;
}

.arg-spotlight-image,
.arg-card-image {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid var(--arg-line);
    border-radius: 8px;
    background: #d9d5cc;
}

.arg-spotlight-image img,
.arg-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.arg-spotlight-image {
    min-height: clamp(320px, 48vw, 600px);
    box-shadow: var(--arg-shadow);
}

.arg-spotlight-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    border: 1px solid var(--arg-line);
    border-radius: 8px;
    background: var(--arg-surface);
    padding: clamp(18px, 3vw, 30px);
}

.arg-kicker,
.arg-card-map {
    color: var(--arg-accent-2);
    font-weight: 900;
    margin: 0;
}

.arg-spotlight-copy h2 {
    margin: 0;
    font-size: clamp(26px, 4vw, 44px);
    line-height: 1.06;
}

.arg-spotlight-copy p {
    margin: 0;
    color: var(--arg-muted);
    font-size: 1.05rem;
}

.arg-controls {
    display: grid;
    gap: 12px;
    margin: 18px 0;
}

.arg-search {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--arg-line);
    border-radius: 8px;
    background: var(--arg-surface);
    color: var(--arg-ink);
    font: inherit;
    font-size: 1rem;
    padding: 0 16px;
}

.arg-map-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.arg-map-pill {
    color: var(--arg-muted);
}

.arg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 18px;
}

.arg-key-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid var(--arg-line);
    border-radius: 8px;
    background: var(--arg-surface);
}

.arg-card-image {
    border-width: 0 0 1px;
    border-radius: 0;
    aspect-ratio: 16 / 11;
}

.arg-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
}

.arg-card-body h2 {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.22;
}

.arg-card-body h2 a {
    text-decoration: none;
}

.arg-card-location,
.arg-card-quick {
    margin: 0;
    color: var(--arg-muted);
}

.arg-card-location strong {
    color: var(--arg-ink);
}

.arg-card-link {
    align-self: flex-start;
    margin-top: auto;
    color: var(--arg-accent);
    font-weight: 900;
    text-decoration: none;
}

.arg-empty {
    border: 1px solid var(--arg-line);
    border-radius: 8px;
    background: var(--arg-surface);
    padding: 22px;
}

.arg-entry {
    max-width: 860px;
    margin: 0 auto;
    border: 1px solid var(--arg-line);
    border-radius: 8px;
    background: var(--arg-surface);
    padding: clamp(18px, 3vw, 34px);
}

.arg-entry-content {
    margin-top: 18px;
}

.arg-pagination {
    margin-top: 24px;
}

.arg-site-footer {
    border-top: 1px solid var(--arg-line);
    color: var(--arg-muted);
    margin-top: 36px;
}

.arg-site-footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px clamp(14px, 3vw, 30px);
}

@media (max-width: 880px) {
    .arg-site-header-inner,
    .arg-home-head {
        align-items: stretch;
        flex-direction: column;
    }

    .arg-site-nav {
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .arg-site-nav a {
        white-space: nowrap;
    }

    .arg-spotlight {
        grid-template-columns: 1fr;
    }

    .arg-spotlight-image {
        min-height: 300px;
    }
}

@media (max-width: 560px) {
    .arg-main {
        padding: 12px;
    }

    .arg-home-head h1,
    .arg-archive-title,
    .arg-entry-title {
        font-size: 32px;
    }

    .arg-spotlight-image {
        min-height: 260px;
    }
}
