/* Podpogledi (Zrak: Postaje, Cvetni prah; Vreme: Napoved, Modeli, Radar; Okolje: Reke, Morje, UV; Kraj): glava in stari kosi v slogu nadzornih plošč. */
header.subhead { --sh1: #143c8c; --sh2: #38a8e8; position: relative; overflow: hidden; display: grid; gap: .55rem; margin: 0 0 .85rem; padding: .8rem .9rem .75rem; border-radius: 20px; color: #fff; box-shadow: var(--shadow);
  background: radial-gradient(500px 220px at 100% 0%, rgba(255,255,255,.22), transparent 60%), linear-gradient(135deg, var(--sh1), var(--sh2)); animation: subin .4s both; }
header.subhead[data-kind="air"] { --sh1: #0f5f57; --sh2: #2fbf9c; } header.subhead[data-kind="env"] { --sh1: #0a4f7a; --sh2: #12b5c8; }
.shtop { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; } .subhead .pbtitle { margin: 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.shback { border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.16); color: #fff; font: inherit; font-size: .76rem; font-weight: 700; padding: .25rem .65rem; min-height: 30px; border-radius: 999px; cursor: pointer; }
.subhead .pbtabs button { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); min-height: 34px; padding: .25rem .8rem; font-size: .8rem; transition: background .15s, transform .15s; } .subhead .pbtabs button:active { transform: scale(.96); }
.subhead .pbtabs button.on { background: #fff; color: #0b2a3c; }

.subview { display: grid; gap: .8rem; min-width: 0; }
.subview > * { animation: subin .45s both; } .subview > :nth-child(2) { animation-delay: .06s; } .subview > :nth-child(3) { animation-delay: .12s; } .subview > :nth-child(4) { animation-delay: .18s; } .subview > :nth-child(n+5) { animation-delay: .22s; }
@keyframes subin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .subview > *, header.subhead { animation: none; } }
.subview .card, .subview .tile, .subview section.card { border-radius: 20px; padding: 1rem; box-shadow: var(--shadow); background: var(--card); border: 1px solid var(--line); }
.subview .card > h2, .subview .card > .cardhead > h2, .subview section.card > h2 { display: flex; align-items: center; gap: .5rem; margin: 0 0 .6rem; font-size: 1.05rem; font-weight: 800; }
.subview .card > h2::before, .subview .card > .cardhead > h2::before { content: ""; width: 5px; height: 1.05em; border-radius: 3px; background: linear-gradient(180deg, #14b8a6, #0ea5e9); flex: none; }
.subview .card h3 { font-size: .95rem; font-weight: 800; margin: .9rem 0 .4rem; }
.subview .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.subview .tile { position: relative; overflow: hidden; padding: .75rem .85rem; border-radius: 18px; background: var(--card2); box-shadow: none; }
.subview .tile::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #14b8a6, #0ea5e9); opacity: .8; }
.subview .tile > b { font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; }
.subview .seg { border-radius: 999px; padding: 3px; background: var(--card2); } .subview .seg button { border-radius: 999px; min-height: 34px; padding: .3rem .85rem; transition: background .15s, color .15s; }
.subview .seg button.on { background: linear-gradient(135deg, #0e7490, #14b8a6); color: #fff; }
.subview table.simple { border-collapse: separate; border-spacing: 0; } .subview table.simple th { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; } .subview table.simple tr:hover td, .subview table.simple tr:hover th { background: color-mix(in srgb, #14b8a6 6%, transparent); }
.subview .explain, .subview .guidebox { padding: .6rem .8rem; border-radius: 14px; border-left: 4px solid #14b8a6; background: color-mix(in srgb, #14b8a6 8%, transparent); font-size: .88rem; }
.subview .btn, .subview a.btn { border-radius: 14px; min-height: 40px; }
.subview .btn:not(.ghost):not(.small) { background: linear-gradient(135deg, #0e7490, #14b8a6); color: #fff; border: 0; }
.subview details { border: 1px solid var(--line); border-radius: 14px; padding: .4rem .8rem; background: var(--card2); } .subview details summary { font-weight: 700; cursor: pointer; }
@media (min-width: 761px) { .subview .tiles { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); } }
