/* Shared by the homepage and generated articles. */
html { scroll-padding-top: 110px; }
:focus-visible { outline: 3px solid #2563eb; outline-offset: 4px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 12px 16px; background: white; color: #111827; border: 2px solid #2563eb; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
#sidebar-left-container:empty, #sidebar-right-container:empty { display: none; }
@media (min-width: 1280px) and (max-width: 1599px) {
    #sidebar-left-container, #sidebar-right-container { display: none; }
}
header nav { scrollbar-width: thin !important; scrollbar-color: #cbd5e1 transparent; }
header nav a { padding-top: 8px; padding-bottom: 8px; }
.news-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.news-search { display: flex; align-items: center; gap: 8px; width: min(100%, 380px); }
.news-search input { width: 100%; min-width: 0; border: 1px solid #cbd5e1; border-radius: 12px; padding: 11px 14px; background: white; font-size: 16px; }
.news-search button { min-height: 46px; padding: 10px 14px; background: #111827; color: white; border-radius: 12px; font-weight: 700; }
.news-status { color: #475569; font-size: 14px; margin-bottom: 16px; }
.municipality-filter { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-bottom:18px; font-size:14px; }
.municipality-filter label { font-weight:700; }
.municipality-filter select { padding:10px 12px; border:1px solid #cbd5e1; background:white; border-radius:10px; max-width:100%; }
.municipality-filter span { color:#64748b; font-size:12px; }
.municipality-filter .remember-municipality { display:flex;align-items:center;gap:7px;font-size:12px;font-weight:400;color:#475569;cursor:pointer; }
.news-card img { aspect-ratio: 16 / 10; background: #e2e8f0; }
.news-card h3 { overflow-wrap: anywhere; }
.featured-small h3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.featured-small > img { height: 100%; }
.featured-main h3 { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
#bento-grid:has(> a:only-child) { grid-template-columns:minmax(0,1fr); }
#bento-grid:has(> a:only-child)>a { grid-column:1/-1; }
.marquee-container:focus-within .marquee-content { animation-play-state: paused; }
.ticker-pause { min-width: 44px; min-height: 44px; padding: 8px; color: #475569; background: white; font-size: 12px; font-weight: 700; }
.article-source { border-top: 1px solid #e5e7eb; padding-top: 20px; margin-top: 28px; font-size: 14px; line-height: 1.7; color: #475569; }
.article-source a { text-decoration: underline; font-weight: 600; }
.permbajtja { max-width: 72ch; margin-inline: auto; overflow-wrap: anywhere; }
.permbajtja p { line-height: 1.85; }
.vote-error { color: #b91c1c; font-size: 14px; margin-top: 12px; }
@media (max-width: 767px) {
    header .overflow-x-auto::-webkit-scrollbar { display: block !important; height: 3px; }
    header .overflow-x-auto { scrollbar-width: thin !important; }
    header > div { padding-top: 10px !important; padding-bottom: 8px !important; }
    header a.flex-shrink-0 { margin-bottom: 6px !important; }
    header a.flex-shrink-0 img { height: 40px !important; }
    #bento-grid { gap: 12px; }
    .featured-main { min-height: 280px; }
    .featured-small { display: grid; grid-template-columns: 112px minmax(0, 1fr); min-height: 112px; height: auto !important; border: 1px solid #e5e7eb; }
    .featured-small > img { width: 112px !important; height: 100% !important; min-height: 112px; }
    .featured-small > .absolute.inset-0 { display: none; }
    .featured-small > .absolute.bottom-0 { position: static; padding: 12px; }
    .featured-small h3 { color: #111827 !important; font-size: 14px; line-height: 1.4; margin-top: 8px; }
    .featured-small .source-count { color: #475569 !important; }
    #te-fundit-grid { gap: 16px; }
    .news-card { display: grid !important; grid-template-columns: 112px minmax(0, 1fr); }
    .news-card > img { width: 112px; height: 100%; min-height: 132px; object-fit: cover; }
    .news-card > div { padding: 12px; }
    .news-card h3 { font-size: 15px; line-height: 1.4; }
    .news-card p { margin-top: 10px; }
    main { padding-top: 24px !important; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .marquee-content { padding-left: 0 !important; }
    .marquee-container { overflow-x: auto; }
}
/* Daily public services */
.services-heading { margin-bottom:20px; }
.services-heading h2 { font-size:1.45rem;font-weight:900;letter-spacing:-.035em; }
.services-heading>p { font-size:.9rem;color:#64748b;margin-top:6px; }
.services-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start; }
.service-card { display:flex;flex-direction:column;position:relative;min-width:0;padding:28px;border:1px solid #e2e8f0;border-radius:22px;background:#fff;box-shadow:0 5px 22px -16px #33415535; }
.weather-card { background:linear-gradient(145deg,#edf5ff 0%,#f8fbff 55%,#fff 100%);border-color:#d6e6fa; }
.service-card-head { display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px; }
.service-label { display:block;font-size:.66rem;letter-spacing:.12em;text-transform:uppercase;color:#64748b;font-weight:800; }
.service-card h3 { font-size:1.45rem;line-height:1.2;font-weight:900;letter-spacing:-.035em;margin-top:7px; }
.service-icon { display:grid;place-items:center;flex:0 0 52px;height:52px;border-radius:16px; }
.service-icon svg { width:32px;height:32px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round; }
.weather-icon { color:#2563eb;background:#dcecff; }
.energy-icon { color:#b97708;background:#fff4d6; }
.service-card h4 { font-size:1.12rem;line-height:1.5;font-weight:800;letter-spacing:-.02em;margin:12px 0; }
.weather-date { display:inline-block;padding:5px 11px;background:#e0edff;border-radius:7px;color:#1d4ed8;font-size:.73rem;font-weight:700; }
.weather-excerpt { line-height:1.85;color:#475569;font-size:.92rem; }
#weather-content { flex:1;padding-bottom:22px; }
.service-intro { font-size:.86rem;line-height:1.7;color:#64748b;margin:0 0 18px; }
.service-status { font-size:.8rem;color:#64748b;margin:0 0 12px; }
.service-status[hidden],.service-filters[hidden] { display:none; }
.service-source { display:flex;align-items:center;justify-content:center;min-height:46px;margin-top:auto;padding:12px 16px;border:1px solid #e2e8f0;border-radius:11px;background:#f8fafc;color:#334155;font-size:.8rem;font-weight:750;text-align:center;text-decoration:none;transition:background .15s,border-color .15s; }
.weather-card .service-source { background:#2563eb;color:white;border-color:#2563eb; }
.service-source:hover { background:#eef2f6;border-color:#cbd5e1; }
.weather-card .service-source:hover { background:#1d4ed8;border-color:#1d4ed8; }
.service-filters { display:flex;gap:12px;margin:0 0 18px; }
.service-filters label { display:flex;flex:1;min-width:0;flex-direction:column;font-size:.72rem;font-weight:700;gap:7px;color:#475569; }
.service-filters select { width:100%;min-width:0;min-height:46px;background:#fff;border:1px solid #dce2ea;border-radius:10px;padding:10px 9px;color:#0f172a;font:inherit;font-size:.82rem; }
#keds-content { flex:1;padding-bottom:22px; }
#keds-content>p { font-size:.85rem;line-height:1.75;color:#64748b; }
.keds-details { border:1px solid #e2e8f0;background:#f8fafc;border-radius:10px;overflow:hidden; }
.keds-details summary { cursor:pointer;font-size:.82rem;line-height:1.6;font-weight:700;padding:13px 15px;color:#334155; }
.keds-details[open] summary { border-bottom:1px solid #e2e8f0; }
.keds-notice { white-space:pre-line;font-size:.85rem;line-height:1.9;overflow-wrap:anywhere;max-height:380px;overflow-y:auto;padding:16px;background:#fff; }
#keds-content .service-note { font-size:.73rem;margin-top:10px; }
.keds-state { display:inline-block;padding:6px 10px;margin-bottom:12px;border-radius:7px;background:#fff4d6;color:#92400e;font-size:.73rem;font-weight:750; }
.keds-state-clear { background:#eef5f1;color:#285c42; }
.keds-outages { display:grid;gap:10px;max-height:330px;overflow-y:auto;margin-bottom:12px; }
.keds-outage { padding:14px;border:1px solid #e2e8f0;border-left:3px solid #e7b14b;background:#fafbfc;border-radius:9px; }
.outage-time { font-size:1rem;font-weight:850;color:#0f172a; }
.outage-places { margin-top:7px;font-size:.8rem;line-height:1.75;color:#475569; }
.outage-reason { margin-top:6px;font-size:.72rem;line-height:1.65;color:#64748b; }
@media(max-width:700px) {
 .services-grid { grid-template-columns:1fr;gap:14px; }
 .service-card { padding:22px;border-radius:18px; }
 .services-heading h2 { font-size:1.25rem; }
 .services-heading>p { font-size:.8rem; }
 .service-card h3 { font-size:1.3rem; }
 .service-icon { flex-basis:46px;height:46px;border-radius:13px; }
}
