/* =========================================================
   HUBY MIAST – inc/city-hub.php
   Strona miasta (karta planu dnia), artykuł „w 1 dzień”
   (ramka z atrakcjami i planerem), obiekt (linki do miasta).
========================================================= */

/* --- Strona miasta: karta „Plan na 1 dzień” ------------------------- */

.zwp-city-hub-card {
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.16), transparent 38%),
        linear-gradient(145deg, #8a6a2f, #5c4033);
}

.zwp-city-hub-card .zwp-city-side-card__icon {
    color: #5c4033;
    background: #f3e7c6;
}

.zwp-city-hub-card__eyebrow {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.zwp-city-side-card a.zwp-city-hub-card__secondary {
    display: block;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    background: none;
    padding: 0;
    box-shadow: none;
}

/* --- Artykuł „w 1 dzień”: ramka planu -------------------------------- */

.zwp-city-hub-box {
    margin-top: 46px;
    padding: 28px;
    background: #f7f3eb;
    border: 1px solid #e8dfcc;
    border-radius: 22px;
}

.zwp-city-hub-box__head {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 20px;
}

.zwp-city-hub-box__icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: #fff;
    background: #2d5a3d;
    border-radius: 14px;
}

.zwp-city-hub-box__eyebrow {
    display: block;
    color: #66746c;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.zwp-city-hub-box h2 {
    margin: 2px 0 0;
    color: #173228;
    font-size: 1.4rem;
    line-height: 1.3;
}

.zwp-city-hub-box__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.zwp-city-hub-box__list li {
    margin: 0;
    padding: 0;
}

.zwp-city-hub-box__list li::before {
    content: none;
}

.zwp-city-hub-box__list a {
    display: flex;
    align-items: center;
    gap: 11px;
    height: 100%;
    padding: 9px 12px 9px 9px;
    color: #173228;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e5ebe6;
    border-radius: 14px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.zwp-city-hub-box__list a:hover,
.zwp-city-hub-box__list a:focus-visible {
    border-color: #4a7c59;
    transform: translateY(-1px);
}

.zwp-city-hub-box__num {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    background: #4a7c59;
    border-radius: 50%;
}

.zwp-city-hub-box__thumb {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 10px;
}

.zwp-city-hub-box__thumb--empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4a7c59;
    background: #eef3ef;
}

.zwp-city-hub-box__name {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
}

.zwp-city-hub-box__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.zwp-city-hub-box__btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 18px;
    color: #2d5a3d;
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
    background: #fff;
    border: 1px solid #cfdcd3;
    border-radius: 999px;
}

.zwp-city-hub-box__btn--primary {
    color: #fff;
    background: #2d5a3d;
    border-color: #2d5a3d;
}

.zwp-city-hub-box__btn:hover,
.zwp-city-hub-box__btn:focus-visible {
    filter: brightness(1.06);
    text-decoration: none;
}

.zwp-city-hub-box__btn--primary:hover,
.zwp-city-hub-box__btn--primary:focus-visible {
    color: #fff;
}

@media (max-width: 640px) {
    .zwp-city-hub-box {
        padding: 20px 16px;
    }

    .zwp-city-hub-box__list {
        grid-template-columns: 1fr;
    }

    .zwp-city-hub-box__btn {
        justify-content: center;
        width: 100%;
    }
}

/* --- Obiekt: linki do miasta w ramce „Lokalizacja” ------------------- */

.zwp-city-hub-links {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e5ebe6;
}

.zwp-city-hub-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: #2d5a3d;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    background: #f3f7f4;
    border-radius: 12px;
}

.zwp-city-hub-links a:hover,
.zwp-city-hub-links a:focus-visible {
    background: #e7f0ea;
}

.zwp-city-hub-links i {
    flex: 0 0 auto;
    width: 18px;
    text-align: center;
}
