/* TPK resort calendar (PortAventura World): today strip, shared weather, segmented park control. Loaded only with [tpk_resort_calendar]. */
.tpkr{font-family:'Bricolage Grotesque',system-ui,sans-serif;color:#1B1B16}
.tpkr *{box-sizing:border-box}
.tpkr :focus-visible{outline:3px solid #1B3CFF;outline-offset:3px}
.tpkr .tpkr-h2{margin:0 0 6px;font:800 24px/1.15 'Bricolage Grotesque',system-ui,sans-serif;letter-spacing:-.3px}
.tpkr-date{margin:0 0 12px;font-size:15px;color:#5E5E56}
.tpkr-today{margin:0 0 28px}
.tpkr-today-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);border:2px solid #1B1B16;border-radius:8px;overflow:hidden;background:#fff}
.tpkr-st+.tpkr-st{border-left:2px solid #1B1B16}
.tpkr .tpkr-st a{display:flex;flex-direction:column;gap:2px;padding:14px 16px;text-decoration:none;color:#1B1B16;min-height:44px;height:100%}
.tpkr .tpkr-st a:hover{background:#FFF6E9}
.tpkr-st-name{font-weight:800;font-size:17px}
.tpkr-st-badge{font-weight:700;font-size:14px;display:inline-flex;align-items:center;gap:6px}
.tpkr-st-badge::before{content:"";width:9px;height:9px;border-radius:50%;background:#5E5E56;flex:0 0 auto}
.tpkr-st--open .tpkr-st-badge::before{background:#1B3CFF}
.tpkr-st--closed .tpkr-st-badge::before,.tpkr-st--season .tpkr-st-badge::before{background:#1B1B16}
.tpkr-st--unknown .tpkr-st-badge::before{background:#FFC94A;border:1.5px solid #1B1B16}
.tpkr-st-hours{font:800 22px/1.1 'Bricolage Grotesque',system-ui,sans-serif;color:#1B3CFF}
.tpkr-st-note{font-size:13px;color:#5E5E56}
.tpkr-wx{margin:0 0 28px}
.tpkr-wx-list{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:repeat(7,1fr);gap:0;border:1px solid rgba(27,27,22,.18);border-radius:8px;background:#fff;overflow:hidden}
.tpkr-wx-list li{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 4px;text-align:center;min-width:0}
.tpkr-wx-list li+li{border-left:1px solid rgba(27,27,22,.12)}
.tpkr-wx-d{font-size:13px;font-weight:800}
.tpkr-wx-i{font-size:22px;line-height:1.2}
.tpkr-wx-t{font-weight:800;font-size:15px;color:#1B3CFF}
.tpkr-wx-c{font-size:12px;color:#5E5E56;line-height:1.2}
.tpkr-tabs{display:flex;flex-wrap:wrap;border:2px solid #1B1B16;border-radius:8px;overflow:hidden;margin:0 0 18px;background:#fff}
.tpkr .tpkr-tab{flex:1 1 180px;display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:8px 14px;color:#1B1B16;background:#fff;font-weight:800;font-size:16px;text-decoration:none;border-left:2px solid #1B1B16;text-align:center;cursor:pointer}
.tpkr .tpkr-tab:first-child{border-left:0}
.tpkr .tpkr-tab:hover{background:#FFC94A}
.tpkr .tpkr-tab[aria-selected="true"]{background:#1B1B16;color:#fff}
.tpkr-tab-s{font-size:12px;font-weight:700;color:#5E5E56}
.tpkr .tpkr-tab[aria-selected="true"] .tpkr-tab-s{color:#FFC94A}
.tpkr-panel{margin:0 0 36px;scroll-margin-top:96px}
.tpkr-panel[hidden]{display:none}
.tpkr.is-tabs .tpkr-panel-h{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(max-width:767px){
	.tpkr-today-list{grid-template-columns:1fr}
	.tpkr-st+.tpkr-st{border-left:0;border-top:2px solid #1B1B16}
	.tpkr .tpkr-st a{flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:2px 12px}
	.tpkr-st-hours{font-size:18px;margin-left:auto}
	.tpkr-wx-list{grid-template-columns:repeat(4,1fr)}
	.tpkr-wx-list li:nth-child(n+5){border-top:1px solid rgba(27,27,22,.12)}
	.tpkr-wx-list li:nth-child(5){border-left:0}
	.tpkr .tpkr-tab{flex:1 1 100%;border-left:0;border-top:2px solid #1B1B16}
	.tpkr .tpkr-tab:first-child{border-top:0}
}
@media(prefers-reduced-motion:reduce){.tpkr *{transition:none!important;scroll-behavior:auto!important}}
