/* v53 – ryddig vær-rubrik, samme stil som øvrige rammer, og fungerende klokker */
.v49-clock-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:start!important;gap:clamp(10px,2.4vw,34px)!important;width:100%!important;max-width:760px!important;margin:0 auto!important;padding:6px 0 14px!important;justify-items:center!important;order:-1!important}
.v49-clock-card{min-width:0;width:100%;display:flex;flex-direction:column;align-items:center;gap:4px;color:var(--text,#173749)}
.v49-clock-title{font-weight:700;font-size:14px;color:inherit}
.v49-clock{width:min(100%,126px);height:auto;aspect-ratio:1;display:block;overflow:visible}
.v49-clock .v49-face{fill:#fff;stroke:#3a7880;stroke-width:4}
.v49-clock text{fill:#173749;font-size:15px}
.v49-hand-hour{stroke:#173749}.v49-hand-minute{stroke:#23596b}.v49-hand-second{stroke:#b83b3b}.v49-pin{fill:#173749}
.v49-digital{font-size:14px;font-variant-numeric:tabular-nums;color:inherit}
@media(prefers-color-scheme:dark){.v49-clock-card{color:var(--text,#edf6ff)}.v49-clock .v49-face{fill:#142735;stroke:#a7dfcf}.v49-clock text{fill:#fff}.v49-hand-hour{stroke:#fff}.v49-hand-minute{stroke:#c5e8dc}.v49-hand-second{stroke:#d86c6c}.v49-pin{fill:#fff}}
@media(max-width:550px){.v49-clock{width:min(100%,96px)}.v49-clock-title{font-size:12px}.v49-digital{font-size:12px}.v49-clock-row{gap:10px!important}}

/* Sju værkort på én rad med horisontal scrolling ved behov */
.v16-top .v27-main-weather .v5-forecast,.v16-top .v5-forecast{display:grid!important;grid-template-columns:repeat(7,minmax(138px,1fr))!important;grid-auto-flow:column!important;gap:8px!important;overflow-x:auto!important;overscroll-behavior-x:contain!important;-webkit-overflow-scrolling:touch!important;width:100%!important;padding-bottom:6px}
.v16-top .v5-forecast-day{min-width:138px!important;max-width:none!important}

/* Værseksjon som matcher reiser/nyheter bedre */
.v53-weather-collapse{display:block;width:100%;margin-top:10px}
.v53-weather-toggle{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;border:1px solid #92aebb;border-radius:18px;background:rgba(255,255,255,.78);color:#213f52;font-weight:800}
.v53-weather-toggle::-webkit-details-marker{display:none}
.v53-weather-toggle::marker{content:""}
.v53-weather-toggle:focus-visible{outline:3px solid #67b4d6;outline-offset:3px}
.v53-weather-action .v53-open{display:none}
.v53-weather-collapse[open] .v53-weather-action .v53-open{display:inline}
.v53-weather-collapse[open] .v53-weather-action .v53-closed{display:none}
.v53-weather-collapse[open]>.v53-weather-toggle{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-color:transparent}
.v53-weather-collapse>.v12-weather{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}
@media(prefers-color-scheme:dark){.v53-weather-toggle{background:#172838;border-color:#51677b;color:#f3f8fd}}

/* Opprydding av unødvendig tekst */
.v12-footnote,.v7-source-note,.footer>span:nth-child(2){display:none!important}

/* v54: mer spesifikt enn de gamle v16/v17-reglene som tvinger klokkene i en kolonne */
.v16-top .v16-top-layout > .v16-clock-column.v17-clock-column.v49-clock-row{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 flex-direction:row!important;align-items:start!important;justify-items:center!important;
 align-self:center!important;position:static!important;order:-1!important;
 width:100%!important;max-width:760px!important;min-width:0!important;
 gap:clamp(10px,3vw,38px)!important;padding:8px 0 16px!important;
}
.v16-top .v16-clock-column.v17-clock-column.v49-clock-row > .v49-clock-card{
 display:flex!important;flex-direction:column!important;position:static!important;
 width:100%!important;min-width:0!important;align-items:center!important;
}
.v16-top .v49-clock-card > svg.v49-clock{display:block!important;width:min(100%,126px)!important;height:auto!important;aspect-ratio:1!important;flex-shrink:0!important}
@media(max-width:550px){.v16-top .v49-clock-card > svg.v49-clock{width:min(100%,96px)!important}}
