/* siaxleebi.css — სიახლეების სია და ერთი სიახლის გვერდი. პალიტრა = xelovneba. */

.nw { max-width: 1120px; margin: 0 auto; padding: 60px 22px 96px; }

.nw-head { text-align: center; margin-bottom: 40px; }
.nw-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(124, 58, 237, .08); border: 1px solid rgba(124, 58, 237, .16);
    color: #7c3aed; font-size: .76rem; font-weight: 700;
    padding: 5px 15px; border-radius: 20px; margin-bottom: 16px;
    text-transform: uppercase; letter-spacing: .07em;
}
.nw-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; color: #1a0a2e; letter-spacing: -.02em; margin-bottom: 10px; }
.nw-sub { color: #6b5b8a; font-size: 1rem; line-height: 1.7; }

/* ── ბადე ── */
.nw-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.nw-card { flex: 1 1 100%; max-width: 380px; }
@media (min-width: 640px) { .nw-card { flex-basis: 300px; } }
@media (min-width: 980px) { .nw-card { flex-basis: 320px; } }

.nw-card {
    display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 1px solid #ece6f6; border-radius: 16px;
    text-decoration: none; box-shadow: 0 2px 10px rgba(26, 10, 46, .04);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.nw-card:hover { border-color: #7c3aed; box-shadow: 0 14px 34px rgba(124, 58, 237, .14); transform: translateY(-3px); }
.nw-img { display: block; aspect-ratio: 16/10; background-size: cover; background-position: center; background-color: #f4f0fc; }
.nw-img-ph { display: flex; align-items: center; justify-content: center; color: #c9b8e8; font-size: 2rem; }
.nw-body { display: flex; flex-direction: column; gap: 7px; padding: 16px 18px 18px; flex: 1; }
.nw-date { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: #8b7aa8; }
.nw-title { font-size: 1rem; font-weight: 800; color: #1a0a2e; line-height: 1.4; letter-spacing: -.015em;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nw-ex { font-size: .85rem; color: #6b5b8a; line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nw-more { margin-top: auto; padding-top: 6px; font-size: .85rem; font-weight: 700; color: #7c3aed; display: inline-flex; align-items: center; gap: 7px; }
.nw-card:hover .nw-more i { transform: translateX(3px); }
.nw-more i { transition: transform .18s; }

/* ── გვერდები ── */
.nw-pg { display: flex; gap: 7px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.nw-pg a {
    min-width: 42px; min-height: 42px; padding: 0 12px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid #ece6f6; border-radius: 11px; background: #fff;
    color: #6b5b8a; text-decoration: none; font-weight: 700; font-size: .9rem;
    transition: border-color .18s, color .18s;
}
.nw-pg a:hover { border-color: #7c3aed; color: #7c3aed; }
.nw-pg a.is-now { background: linear-gradient(135deg, #7c3aed, #5b21b6); border-color: transparent; color: #fff; }

/* ── ცარიელი ── */
.nw-empty { text-align: center; background: #fff; border: 1px solid #ece6f6; border-radius: 18px; padding: 56px 24px; color: #8b7aa8; }
.nw-empty i { font-size: 2.6rem; color: #d9cdf0; display: block; margin-bottom: 14px; }
.nw-empty p { margin: 0 0 18px; font-size: 1rem; }

/* ── ერთი სიახლე ── */
.nw-back {
    display: inline-flex; align-items: center; gap: 8px;
    color: #7c3aed; text-decoration: none; font-weight: 700; font-size: .9rem;
    margin-bottom: 18px; padding: 8px 14px 8px 10px; border-radius: 10px; min-height: 40px;
    transition: background .18s;
}
.nw-back:hover { background: rgba(124, 58, 237, .08); }

.nw-one { background: #fff; border: 1px solid #ece6f6; border-radius: 20px; padding: clamp(22px, 3.4vw, 44px); box-shadow: 0 2px 10px rgba(26, 10, 46, .04); }
.nw-one-date { display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; font-weight: 600; color: #8b7aa8; margin-bottom: 12px; }
.nw-one h1 { font-size: clamp(1.45rem, 3vw, 2.05rem); font-weight: 800; color: #1a0a2e; letter-spacing: -.02em; line-height: 1.25; margin: 0 0 14px; }
.nw-one-ex { font-size: 1.05rem; color: #4a3a6b; line-height: 1.75; font-weight: 500; margin: 0 0 20px; }
.nw-one-img { width: 100%; border-radius: 14px; margin-bottom: 22px; display: block; overflow: hidden; }
.nw-one-img img { width: 100%; height: auto; display: block; border-radius: 14px; }
.nw-one-txt { font-size: 1rem; color: #3d2b5c; line-height: 1.85; }

.nw-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 30px; padding-top: 20px; border-top: 1px solid #f2edfa; }
.nw-share span { font-size: .85rem; font-weight: 700; color: #8b7aa8; }
.nw-share a {
    width: 42px; height: 42px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: #f6f3fc; color: #5b21b6; text-decoration: none;
    transition: background .18s, color .18s, transform .18s;
}
.nw-share a:hover { background: linear-gradient(135deg, #7c3aed, #5b21b6); color: #fff; transform: translateY(-2px); }

.nw-more-h { font-size: 1.25rem; font-weight: 800; color: #1a0a2e; letter-spacing: -.015em; margin: 46px 0 20px; }

.nw-btn {
    display: inline-flex; align-items: center; gap: 9px;
    background: linear-gradient(135deg, #7c3aed, #5b21b6); color: #fff;
    text-decoration: none; font-weight: 700; font-size: .92rem;
    padding: 13px 26px; min-height: 48px; border-radius: 12px;
    box-shadow: 0 8px 24px rgba(124, 58, 237, .3);
}

@media (max-width: 560px) { .nw { padding: 42px 16px 72px; } }

/* ── სიახლის ფოტოგალერეა (ყდის შემდეგ დარჩენილი ფოტოები) ── */
.nw-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 26px; }
.nw-gal-i { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 4px 18px rgba(26, 10, 46, .1); }
.nw-gal-i img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.nw-gal-i:hover img { transform: scale(1.06); }
@media (max-width: 560px) { .nw-gal { grid-template-columns: repeat(2, 1fr); gap: 9px; } }

/* ── ფოტოს სლაიდერი (lightbox) ── */
.nw-gal-i { border: 0; padding: 0; background: none; cursor: zoom-in; font: inherit; }
.nw-lb {
    position: fixed; inset: 0; z-index: 900; display: flex; align-items: center; justify-content: center;
    gap: clamp(4px, 2vw, 18px); padding: clamp(10px, 3vw, 30px);
    background: rgba(8, 2, 20, .93); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.nw-lb[hidden] { display: none; }
.nw-lb-fig { margin: 0; flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; justify-content: center; }
.nw-lb-fig img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; display: block; }
.nw-lb-nav, .nw-lb-x {
    flex-shrink: 0; border: 1px solid rgba(255, 255, 255, .18); cursor: pointer;
    background: rgba(255, 255, 255, .1); color: #fff; border-radius: 50%;
    width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
    font-size: 1rem; transition: background .18s;
}
.nw-lb-nav:hover, .nw-lb-x:hover { background: rgba(196, 181, 253, .3); }
.nw-lb-x { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; }
.nw-lb-count {
    position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
    color: rgba(255, 255, 255, .8); font-size: .84rem; font-weight: 700;
    background: rgba(255, 255, 255, .1); border-radius: 999px; padding: 5px 14px;
}
@media (max-width: 560px) {
    /* ვიწრო ეკრანზე ისრები სურათზეა — თორემ ფოტოს ადგილი აღარ რჩება */
    .nw-lb { padding: 8px; gap: 0; }
    .nw-lb-fig { width: 100%; }
    .nw-lb-nav {
        position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
        width: 42px; height: 42px; font-size: .9rem; background: rgba(15, 5, 35, .6);
    }
    .nw-lb-prev { inset-inline-start: 8px; }
    .nw-lb-next { inset-inline-end: 8px; }
    .nw-lb-fig img { border-radius: 9px; }
    .nw-lb-count { bottom: 10px; }
}
