/* World time pages */
.time-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 16px 48px;
}
.time-breadcrumb {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
}
.time-breadcrumb a { color: #374151; text-decoration: none; }
.time-breadcrumb a:hover { color: #1e90ff; }

.time-hero {
    background: linear-gradient(145deg, #0f172a 0%, #1e3a5f 55%, #0ea5e9 140%);
    color: #fff;
    border-radius: 16px;
    padding: 28px 24px 24px;
    margin-bottom: 24px;
    text-align: center;
}
.time-hero h1 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 600;
}
.time-hero .time-sub {
    margin: 0 0 16px;
    opacity: .85;
    font-size: 14px;
}
.time-hero .big-clock {
    font-variant-numeric: tabular-nums;
    font-family: "Segoe UI", Consolas, Menlo, monospace;
    font-size: clamp(36px, 8vw, 56px);
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.15;
}
.time-hero .big-ms {
    font-size: .45em;
    opacity: .75;
    margin-left: 4px;
}
.time-hero .big-date {
    margin-top: 10px;
    font-size: 15px;
    opacity: .9;
}
.time-hero .hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    margin-top: 16px;
    font-size: 13px;
    opacity: .9;
}
.time-hero .hero-diff {
    margin-top: 12px;
    font-size: 13px;
    background: rgba(255,255,255,.12);
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
}

.time-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    align-items: center;
}
.time-filters a,
.time-filters button {
    border: 1px solid rgba(0,0,0,.08);
    background: #fff;
    color: #374151;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
}
.time-filters a:hover,
.time-filters a.active,
.time-filters button.active {
    background: #1e90ff;
    border-color: #1e90ff;
    color: #fff;
}
.time-search {
    flex: 1;
    min-width: 160px;
    max-width: 280px;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 14px;
}

.tz-group {
    margin-bottom: 22px;
}
.tz-group-title {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(0,0,0,.06);
}
.tz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}
.tz-card {
    display: block;
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 12px;
    padding: 12px 14px;
    text-decoration: none;
    color: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.tz-card:hover {
    border-color: rgba(30,144,255,.4);
    box-shadow: 0 6px 18px rgba(30,144,255,.08);
}
.tz-card .city-name {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}
.tz-card .city-en {
    font-size: 12px;
    color: #9ca3af;
    margin-left: 4px;
    font-weight: 400;
}
.tz-card .city-clock {
    font-variant-numeric: tabular-nums;
    font-family: Consolas, Menlo, monospace;
    font-size: 20px;
    color: #1e90ff;
    margin: 6px 0 4px;
}
.tz-card .city-meta {
    font-size: 12px;
    color: #6b7280;
}
.tz-card .dst-tag {
    color: #ea580c;
    font-size: 11px;
    margin-left: 4px;
}

.time-panel {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 20px;
}
.time-panel h2 {
    margin: 0 0 12px;
    font-size: 18px;
}
.time-facts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.time-fact {
    background: #f8fafc;
    border-radius: 10px;
    padding: 12px 14px;
}
.time-fact b {
    display: block;
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 4px;
}
.time-fact span {
    font-size: 15px;
    color: #111827;
}
.time-related {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.time-related a {
    font-size: 13px;
    padding: 6px 12px;
    background: #f3f4f6;
    border-radius: 8px;
    color: #374151;
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}
.time-related a:empty { display: none; }
.time-related a:hover { background: #e0f2fe; color: #0369a1; }

.time-note {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
    margin-top: 8px;
}
.time-note a { color: #0284c7; text-decoration: none; }
.time-note a:hover { text-decoration: underline; }
.time-desc {
    margin: 14px 0 0;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,.06);
    font-size: 14px;
    line-height: 1.7;
    color: #374151;
}

@media (max-width: 640px) {
    .time-hero { padding: 22px 16px; }
    .tz-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .tz-card .city-clock { font-size: 16px; }
}
