/* =========================================================
   米国防総省 UAP公開映像アーカイブ（/uap_archive/）
   一覧・詳細で共用。枠組みは .wn-*（ダークテーマ）を流用し、
   映像カード・プレイヤー・スペック表だけ .ua-* を新設する。
   ========================================================= */

/* ---------- ヒーロー ---------- */
.ua-hero {
    margin: 0 -20px 22px;
    padding: 52px 20px 46px;
    background:
        radial-gradient(120% 140% at 50% 0%, rgba(29, 82, 228, .28) 0%, rgba(6, 9, 17, 0) 62%),
        linear-gradient(180deg, #080d18 0%, #060911 100%);
    border-bottom: 1px solid #16202f;
}
.ua-hero__inner { max-width: 1200px; margin: 0 auto; }
.ua-hero__eyebrow {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
    color: #7f93b3;
}
.ua-hero__title {
    margin: 0 0 14px;
    font-size: 40px;
    line-height: 1.16;
    font-weight: 900;
    color: #f2f5f9;
    letter-spacing: .02em;
}
.ua-hero__lead {
    max-width: 760px;
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
    color: #b3c0d4;
}
.ua-hero__lead b { color: #ff8a1e; }
.ua-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
    color: #7f93b3;
}
.ua-hero__stats span {
    margin-right: 6px;
    font-size: 22px;
    font-weight: 900;
    color: #f2f5f9;
}

.ua-pan { margin-top: 18px; }

/* ---------- 地域フィルタ ---------- */
.ua-count {
    padding: 3px 10px;
    border: 1px solid #24324a;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #9fb0c8;
    text-decoration: none;
}
a.ua-count:hover { border-color: #ff8a1e; color: #ff8a1e; }
.ua-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 14px;
}
.ua-filter a {
    --ua-chip: #ff8a1e;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border: 1px solid #1c2738;
    border-radius: 999px;
    background: #0a0e16;
    font-size: 13px;
    font-weight: 700;
    color: #b3c0d4;
    text-decoration: none;
    transition: border-color .15s, color .15s;
}
.ua-filter a b {
    font-size: 11px;
    font-weight: 700;
    color: #6f819c;
}
.ua-filter a:hover { border-color: var(--ua-chip); color: #f2f5f9; }
.ua-filter a.is-active {
    border-color: var(--ua-chip);
    background: rgba(255, 138, 30, .14);
    color: #fff;
}
.ua-filter a.is-active b { color: #d8e2f0; }

/* ---------- 注記 ---------- */
.ua-note {
    display: flex;
    gap: 10px;
    margin: 0 0 20px;
    padding: 13px 16px;
    border: 1px solid #1c2738;
    border-left: 3px solid #2f6ae5;
    border-radius: 6px;
    background: #080d17;
    font-size: 12px;
    line-height: 1.85;
    color: #93a4bd;
}
.ua-note i { margin-top: 3px; color: #2f6ae5; }

/* ---------- 映像カード ---------- */
.ua-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
    gap: 18px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}
.ua-card {
    border: 1px solid #16202f;
    border-radius: 9px;
    background: #0a0e16;
    overflow: hidden;
    transition: border-color .15s, transform .15s;
}
.ua-card:hover { border-color: #2f6ae5; transform: translateY(-2px); }
.ua-card__link { display: block; text-decoration: none; }
.ua-card__thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: #05070d;
    overflow: hidden;
}
.ua-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ua-card__play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(6, 9, 17, .62);
    border: 1px solid rgba(255, 255, 255, .34);
    color: #fff;
    font-size: 15px;
    transition: background .15s;
}
.ua-card:hover .ua-card__play { background: rgba(47, 106, 229, .82); }
.ua-card__time {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 2px 7px;
    border-radius: 3px;
    background: rgba(6, 9, 17, .82);
    font-size: 11px;
    font-weight: 700;
    color: #e4ebf5;
}
.ua-card__status {
    position: absolute;
    left: 8px;
    top: 8px;
    padding: 2px 8px;
    border-radius: 3px;
    background: rgba(228, 50, 42, .9);
    font-size: 10px;
    font-weight: 700;
    color: #fff;
}
.ua-card__status.is-resolved { background: rgba(56, 142, 96, .92); }
.ua-card__body { display: block; padding: 13px 14px 16px; }
.ua-badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .04em;
}
.ua-card__title {
    display: block;
    margin: 9px 0 8px;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 700;
    color: #eef2f8;
}
.ua-card:hover .ua-card__title { color: #ffb063; }
.ua-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    font-size: 11px;
    color: #7f93b3;
}
.ua-card__meta i { margin-right: 5px; color: #566b8b; }
.ua-card__text {
    display: block;
    margin-top: 9px;
    font-size: 12px;
    line-height: 1.8;
    color: #93a4bd;
}
.ua-grid--related { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }

.ua-credit {
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid #16202f;
    font-size: 11px;
    line-height: 1.9;
    color: #6f819c;
}
.ua-credit a { color: #9fb0c8; }
.ua-credit a i { margin-left: 4px; font-size: 10px; }

/* ---------- サイド：地域から探す ---------- */
.ua-side-region { list-style: none; margin: 0; padding: 8px 10px; }
.ua-side-region a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 8px;
    border-radius: 5px;
    font-size: 13px;
    color: #c2ccdb;
    text-decoration: none;
}
.ua-side-region a:hover { background: #101725; color: #fff; }
.ua-side-region a.is-active { background: #101725; color: #ffb063; }
.ua-side-region__dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.ua-side-region__label { flex: 1 1 auto; }
.ua-side-region b { font-size: 11px; color: #6f819c; }

/* ---------- 詳細 ---------- */
.ua-detail {
    margin-top: 18px;
    border: 1px solid #16202f;
    border-radius: 10px;
    background: #0a0e16;
    overflow: hidden;
}
.ua-detail__head { padding: 22px 24px 18px; border-bottom: 1px solid #16202f; }
.ua-badge--status {
    margin-left: 6px;
    background: #e4322a;
}
.ua-badge--status.is-resolved { background: #388e60; }
.ua-detail__title {
    margin: 12px 0 10px;
    font-size: 25px;
    line-height: 1.5;
    font-weight: 900;
    color: #f2f5f9;
}
.ua-detail__lead {
    margin: 0;
    font-size: 14px;
    line-height: 1.95;
    color: #b3c0d4;
}
.ua-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #05070d;
}
.ua-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ua-player__note {
    margin: 0;
    padding: 11px 24px 14px;
    border-bottom: 1px solid #16202f;
    font-size: 11px;
    line-height: 1.8;
    color: #6f819c;
}
.ua-player__note a { color: #9fb0c8; }
.ua-player__note a i { margin-left: 4px; font-size: 10px; }

.ua-spec {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1px;
    margin: 0;
    padding: 0;
    background: #16202f;
    border-bottom: 1px solid #16202f;
}
.ua-spec > div { padding: 13px 18px; background: #0c111b; }
.ua-spec dt {
    margin: 0 0 5px;
    font-size: 11px;
    font-weight: 700;
    color: #6f819c;
    letter-spacing: .06em;
}
.ua-spec dd { margin: 0; font-size: 13px; font-weight: 700; color: #e4ebf5; line-height: 1.6; }

.ua-body { padding: 24px 24px 8px; }
.ua-body p {
    margin: 0 0 18px;
    font-size: 14.5px;
    line-height: 2.05;
    color: #c8d3e2;
}
.ua-h2 {
    margin: 26px 0 14px;
    padding-left: 12px;
    border-left: 4px solid #ff8a1e;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.6;
    color: #f2f5f9;
}
.ua-source {
    margin: 0;
    padding: 16px 24px 22px;
    border-top: 1px solid #16202f;
    font-size: 11.5px;
    line-height: 1.9;
    color: #7f93b3;
}
.ua-source a { color: #9fb0c8; }
.ua-source a i { margin-left: 4px; font-size: 10px; }

.ua-related { margin-top: 34px; }
.ua-related .wn-sectbar { margin-bottom: 14px; }

@media screen and (max-width: 900px) {
    .ua-hero { padding: 40px 20px 34px; }
    .ua-hero__title { font-size: 30px; }
    .ua-detail__title { font-size: 21px; }
    .ua-body { padding: 20px 18px 6px; }
    .ua-detail__head { padding: 18px 18px 16px; }
    .ua-player__note, .ua-source { padding-left: 18px; padding-right: 18px; }
}

/* 記事本文から関連ページへの導線（世界のUFOニュース詳細） */
.wnd-related { margin: 18px 0 0; }
.wnd-related a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border: 1px solid #24324a;
    border-left: 4px solid #ff8a1e;
    border-radius: 6px;
    background: #0c111b;
    font-size: 14px;
    font-weight: 700;
    color: #e4ebf5;
    text-decoration: none;
}
.wnd-related a:hover { border-color: #ff8a1e; color: #ffb063; }
.wnd-related a .fa-angle-right { margin-left: auto; color: #ff8a1e; }
.wnd-related a .fa-folder-open { color: #ff8a1e; }

/* サイド：米国防総省の公開映像（世界のUFOニュース 一覧・詳細） */
ul.wn-vid { list-style: none; margin: 0; padding: 10px 12px; }
.wn-vid--flush { padding: 4px 0; }
.wn-vid li + li { margin-top: 4px; }
.wn-vid a {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 10px;
    padding: 7px 8px;
    border-radius: 5px;
    text-decoration: none;
}
.wn-vid a:hover { background: #101725; }
.wn-vid__thumb {
    position: relative;
    display: block;
    width: 86px;
    height: 48px;
    border-radius: 4px;
    overflow: hidden;
    background: #05070d;
}
.wn-vid__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wn-vid__play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(6, 9, 17, .6);
    border: 1px solid rgba(255, 255, 255, .32);
    color: #fff;
    font-size: 8px;
}
.wn-vid a:hover .wn-vid__play { background: rgba(47, 106, 229, .85); }
.wn-vid__time {
    position: absolute;
    right: 3px;
    bottom: 3px;
    padding: 1px 4px;
    border-radius: 2px;
    background: rgba(6, 9, 17, .82);
    font-size: 9px;
    font-weight: 700;
    color: #e4ebf5;
}
.wn-vid__body { display: block; min-width: 0; }
.wn-vid__title {
    display: block;
    font-size: 12.5px;
    line-height: 1.55;
    font-weight: 700;
    color: #dfe7f2;
}
.wn-vid a:hover .wn-vid__title { color: #ffb063; }
.wn-vid__meta { display: block; margin-top: 4px; font-size: 10.5px; color: #6f819c; }

