/**
 * archive-guides.css
 * ──────────────────
 * Styles specific to archive-sk_ai_article.php  (/guides/).
 * Depends on archive-shared.css being loaded first.
 *
 * This archive uses a cyan/purple accent palette instead of amber/gold.
 * Light-mode overrides use html.sk-light (set by header toggle).
 */

/* ═══════════════════════════════════════════════════════════
   1. GUIDES TOKEN OVERRIDES
═══════════════════════════════════════════════════════════ */

.sk-guides-wrap {
    /* Accent colours */
    --sk-accent:  #00c8ff;
    --sk-accent2: #7b5fff;

    /* Hero orbs */
    --guides-orb1: radial-gradient(circle, #00c8ff33, transparent 70%);
    --guides-orb2: radial-gradient(circle, #7b5fff33, transparent 70%);
}

html.sk-light .sk-guides-wrap {
    --sk-accent:  #0284c7;   /* darker cyan for contrast on light bg */
    --sk-accent2: #6d28d9;
}


/* ═══════════════════════════════════════════════════════════
   2. HERO
═══════════════════════════════════════════════════════════ */

.sk-guides-hero {
    position: relative; overflow: hidden;
    padding: 88px 24px 60px;
    text-align: center;
}
.sk-guides-hero-bg { position: absolute; inset: 0; z-index: 0; }

.sk-guides-hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(0,200,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,200,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
}
html.sk-light .sk-guides-hero-grid {
    background-image:
        linear-gradient(rgba(2,132,199,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(2,132,199,0.06) 1px, transparent 1px);
}

.sk-guides-hero-orb {
    position: absolute; border-radius: 50%;
    filter: blur(80px); opacity: .35;
}
.sk-guides-hero-orb--1 {
    width: 500px; height: 500px;
    background: var(--guides-orb1);
    top: -120px; left: 50%; transform: translateX(-60%);
}
.sk-guides-hero-orb--2 {
    width: 400px; height: 400px;
    background: var(--guides-orb2);
    bottom: -80px; right: 5%;
}

.sk-guides-hero-inner {
    position: relative; z-index: 1;
    max-width: 700px; margin: 0 auto;
}
.sk-guides-hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,200,255,0.08);
    border: 1px solid rgba(0,200,255,0.2);
    border-radius: 100px; padding: 6px 16px;
    font-size: 12px; font-weight: 600; letter-spacing: .5px;
    color: var(--sk-accent); margin-bottom: 24px;
}
html.sk-light .sk-guides-hero-eyebrow {
    background: rgba(2,132,199,0.08);
    border-color: rgba(2,132,199,0.25);
}

.sk-guides-hero-flag { font-size: 16px; }

.sk-guides-hero-title {
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 800; line-height: 1.12; letter-spacing: -1.5px;
    color: #fff; margin: 0 0 16px;
    transition: color .25s;
}
html.sk-light .sk-guides-hero-title { color: #1a1612; }

.sk-guides-hero-title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--sk-accent), var(--sk-accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.sk-guides-hero-sub {
    font-size: 16px; color: var(--sk-muted);
    margin: 0 0 32px; line-height: 1.6;
}


/* ═══════════════════════════════════════════════════════════
   3. FILTER TABS
═══════════════════════════════════════════════════════════ */

.sk-guides-filters {
    background: var(--sk-bg);
    border-bottom: 1px solid var(--sk-border);
    padding: 0 24px; overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    transition: background .25s;
}
.sk-guides-filters-inner {
    max-width: var(--sk-max); margin: 0 auto;
    display: flex; gap: 8px; padding: 14px 0;
    flex-wrap: nowrap; justify-content: center;
}
.sk-guides-filter-pill {
    display: inline-block; padding: 6px 14px;
    background: var(--sk-chip-bg);
    border: 1px solid var(--sk-border);
    border-radius: 100px;
    font-size: 12px; font-weight: 600; color: var(--sk-muted);
    text-decoration: none; white-space: nowrap;
    transition: all .15s;
}
.sk-guides-filter-pill:hover,
.sk-guides-filter-pill.is-active {
    background: rgba(0,200,255,0.1);
    border-color: rgba(0,200,255,0.3);
    color: var(--sk-accent);
}
html.sk-light .sk-guides-filter-pill:hover,
html.sk-light .sk-guides-filter-pill.is-active {
    background: rgba(2,132,199,0.08);
    border-color: rgba(2,132,199,0.3);
}

.sk-guides-filter-pill--city { border-color: rgba(123,95,255,0.2); }
.sk-guides-filter-pill--city:hover,
.sk-guides-filter-pill--city.is-active {
    background: rgba(123,95,255,0.1);
    border-color: rgba(123,95,255,0.4);
    color: #a78bfa;
}


/* ═══════════════════════════════════════════════════════════
   4. LAYOUT
═══════════════════════════════════════════════════════════ */

.sk-guides-layout {
    max-width: var(--sk-max); margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px; padding: 36px 24px 60px;
    align-items: start;
}
.sk-guides-main { min-width: 0; }


/* ═══════════════════════════════════════════════════════════
   5. ARTICLE GRID + CARDS
═══════════════════════════════════════════════════════════ */

.sk-guides-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Featured card */
.sk-gcard--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
}
.sk-gcard--featured .sk-gcard-thumb-wrap { aspect-ratio: unset; min-height: 280px; }
.sk-gcard--featured .sk-gcard-title      { font-size: 22px; }
.sk-gcard--featured .sk-gcard-excerpt    { -webkit-line-clamp: 4; }

.sk-gcard {
    background: var(--sk-bg2);
    border: 1px solid var(--sk-border);
    border-radius: var(--sk-radius);
    overflow: hidden;
    transition: border-color .2s, transform .2s, box-shadow .2s;
    display: flex; flex-direction: column;
}
.sk-gcard:hover {
    border-color: rgba(0,200,255,0.25);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
html.sk-light .sk-gcard:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    border-color: rgba(2,132,199,0.3);
}

.sk-gcard-thumb-wrap {
    display: block; overflow: hidden; position: relative;
    aspect-ratio: 16/9;
}
.sk-gcard-thumb {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
.sk-gcard:hover .sk-gcard-thumb { transform: scale(1.04); }

.sk-gcard-thumb-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(8,14,26,0.7) 100%);
}
html.sk-light .sk-gcard-thumb-overlay {
    background: linear-gradient(180deg, transparent 40%, rgba(250,248,244,0.5) 100%);
}

.sk-gcard-thumb-placeholder {
    background: linear-gradient(135deg, #0d1a2e, #0a1020);
    aspect-ratio: 16/9;
    display: flex; align-items: center; justify-content: center;
    font-size: 48px; color: rgba(255,255,255,0.08);
}
html.sk-light .sk-gcard-thumb-placeholder {
    background: linear-gradient(135deg, #e8e2d8, #f3efe8);
    color: rgba(0,0,0,0.10);
}

.sk-gcard-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }

.sk-gcard-meta {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 10px; flex-wrap: wrap;
}
.sk-gcard-type {
    font-size: 10px; font-weight: 700; letter-spacing: .8px;
    text-transform: uppercase; color: var(--sk-accent);
    background: rgba(0,200,255,0.1); border-radius: 4px; padding: 3px 7px;
}
html.sk-light .sk-gcard-type { background: rgba(2,132,199,0.08); }
.sk-gcard-city { font-size: 11px; color: var(--sk-muted); }

.sk-gcard-title {
    font-size: 16px; font-weight: 700; line-height: 1.35;
    margin: 0 0 10px; color: var(--sk-text);
}
.sk-gcard-title a { text-decoration: none; color: inherit; }
.sk-gcard-title a:hover { color: var(--sk-accent); }

.sk-gcard-excerpt {
    font-size: 13px; line-height: 1.6; color: var(--sk-muted);
    margin: 0 0 12px; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 3;
    -webkit-box-orient: vertical; overflow: hidden;
}

.sk-gcard-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.sk-gcard-tag {
    font-size: 10px; font-weight: 600; padding: 3px 8px;
    background: var(--sk-chip-bg);
    border: 1px solid var(--sk-border);
    border-radius: 4px; color: var(--sk-muted); text-decoration: none;
}
.sk-gcard-tag:hover { color: var(--sk-accent); border-color: rgba(0,200,255,0.3); }
html.sk-light .sk-gcard-tag:hover { border-color: rgba(2,132,199,0.3); }

.sk-gcard-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 12px; border-top: 1px solid var(--sk-border);
    margin-top: auto;
}
.sk-gcard-date { font-size: 11px; color: var(--sk-muted); }
.sk-gcard-read {
    font-size: 12px; font-weight: 700; color: var(--sk-accent);
    text-decoration: none; transition: opacity .15s;
}
.sk-gcard-read:hover { opacity: .8; }


/* ═══════════════════════════════════════════════════════════
   6. SIDEBAR — guides-specific overrides
   (Base sidebar styles come from archive-shared.css)
═══════════════════════════════════════════════════════════ */

/* Hover accent for guides CTAs */
.sk-sb-cta--guides:hover { border-color: rgba(0,200,255,.35); }

/* Newsletter input focus for guides (cyan) */
.sk-guides-wrap .sk-sb-nl-input:focus { border-color: rgba(0,200,255,.4); }
html.sk-light .sk-guides-wrap .sk-sb-nl-input:focus { border-color: rgba(2,132,199,.4); }

/* Currency row */
.sk-sb-curr-row { background: var(--sk-chip-bg); }


/* ═══════════════════════════════════════════════════════════
   7. RESPONSIVE
═══════════════════════════════════════════════════════════ */

@media (max-width: 960px) {
    .sk-guides-layout              { grid-template-columns: 1fr; }
    .sk-guides-sidebar             { display: none; }
}
@media (max-width: 680px) {
    .sk-guides-hero                { padding: 52px 16px 48px; }
    .sk-guides-grid                { grid-template-columns: 1fr; }
    .sk-gcard--featured            { grid-template-columns: 1fr; }
    .sk-gcard--featured .sk-gcard-thumb-wrap { min-height: 200px; aspect-ratio: 16/9; }
    .sk-guides-layout              { padding: 20px 16px 40px; }
}