/*
Theme Name: TV Wien Newsroom 2.16.08.14 - SVE KATEGORIJE PREVIEW
Theme URI: https://www.tvbec.at/
Author: TV Wien / TV Beč
Author URI: https://www.tvbec.at/
Description: IZOLIRANI TEST. Instalacija ne aktivira automatski temu; ne mjeriti javni PageSpeed prije aktivacije. Test IMAGE + ASSET OPTIMIZATION optimizacije; aktivacija samo uz izricitu potvrdu.
Version: 2.16.08.51
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: tvw-newsroom
*/


/* TVW 2.15.99 HOMEPAGE TEST ONLY — extra cards and mobile improvements. */
#tvw-associations{--tvw-local-accent:#ba173c;margin-block:20px 28px}
#tvw-associations .tvw-story-block__head{border-top:4px solid var(--tvw-local-accent);padding-top:12px}
#tvw-associations .tvw-story-block__head>div>span{color:#ad1738}
#tvw-associations .tvw-story-block__grid article{min-width:0}
#tvw-associations .tvw-story-block__grid img{object-fit:cover}
#tvw-events{scroll-margin-top:90px}
#tvw-events .tvw-home-events__inner{border-top:4px solid #d9143c;border-radius:16px;box-shadow:0 8px 28px rgba(3,19,34,.06)}
#tvw-events .tvw-events-panel-link{font-weight:800;text-decoration-thickness:2px;text-underline-offset:3px}
.tvw-putujmo-spotlight{margin:24px 0 32px}
.tvw-putujmo-spotlight__inner{border-radius:18px;background:#fff;padding:20px;border-top:4px solid #137c81;box-shadow:0 8px 28px rgba(3,19,34,.06)}
.tvw-putujmo-spotlight__head{display:flex;gap:16px;align-items:flex-end;justify-content:space-between;margin:0 0 17px}
.tvw-putujmo-spotlight__head span{font-size:11px;letter-spacing:.09em;font-weight:800;color:#126a71}
.tvw-putujmo-spotlight__head h2{font-size:clamp(24px,2.8vw,34px);line-height:1.12;margin:5px 0}
.tvw-putujmo-spotlight__head p{margin:0;color:#536477}
.tvw-putujmo-spotlight__head>a{color:#0c4654;font-weight:800;white-space:nowrap}
.tvw-putujmo-spotlight__grid{display:grid;grid-template-columns:1.65fr 1fr 1fr;gap:12px}
.tvw-putujmo-spotlight__grid article{min-width:0;overflow:hidden;border-radius:14px;background:#f6f8fa}
.tvw-putujmo-spotlight__grid article a{display:flex;flex-direction:column;height:100%;color:#122235;text-decoration:none}
.tvw-putujmo-spotlight__grid article img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.tvw-putujmo-spotlight__grid article div{padding:13px 15px}
.tvw-putujmo-spotlight__grid article h3{font-size:clamp(15px,1.3vw,19px);line-height:1.28;margin:0 0 12px;overflow-wrap:anywhere}
.tvw-putujmo-spotlight__grid article time{font-size:12px;color:#677787}
@media(max-width:800px){.tvw-putujmo-spotlight__grid{grid-template-columns:1fr 1fr}.tvw-putujmo-spotlight__grid .is-lead{grid-column:1/-1}}
@media(max-width:600px){#tvw-associations .tvw-story-block__grid,.tvw-putujmo-spotlight__grid{display:grid;grid-template-columns:1fr;gap:12px}.tvw-putujmo-spotlight__grid .is-lead{grid-column:auto}.tvw-putujmo-spotlight__inner{padding:14px}.tvw-putujmo-spotlight__head{align-items:flex-start;flex-direction:column;gap:8px}.tvw-putujmo-spotlight__grid article img{aspect-ratio:16/9}.tvw-putujmo-spotlight__grid article h3{font-size:18px}#tvw-associations .tvw-story-block__grid article{width:100%}#tvw-events .tvw-home-events__inner{min-width:0}}

/* v2.16.08.34.12: Mobile-only simple events entry; desktop accordion unchanged. */
#tvw-events .tvw-mobile-events-link{display:none}
@media(max-width:767px){
  #tvw-events{margin:18px auto 24px!important;overflow:visible!important;background:transparent!important}
  #tvw-events .tvw-container{width:auto;min-width:0}
  #tvw-events .tvw-puls-events__heading,
  #tvw-events .tvw-puls-events__track,
  #tvw-events .tvw-puls-events__controls{display:none!important}
  #tvw-events .tvw-mobile-events-link{display:flex!important;align-items:center;gap:16px;min-height:142px;padding:22px 18px;border-radius:16px;border:1px solid #d6dfe5;border-top:4px solid #d9143c;background:#fff!important;color:#142d40!important;text-decoration:none!important;box-shadow:0 6px 22px rgba(10,29,43,.10);position:relative;z-index:2}
  #tvw-events .tvw-mobile-events-icon{display:grid;place-items:center;flex:0 0 60px;height:60px;border-radius:14px;background:#f9e9ed;font-size:30px}
  #tvw-events .tvw-mobile-events-copy{display:flex;flex-direction:column;gap:7px;min-width:0}
  #tvw-events .tvw-mobile-events-copy strong{font-size:21px;line-height:1.12;font-weight:900;color:#122b3e}
  #tvw-events .tvw-mobile-events-copy small{font-size:13px;line-height:1.4;color:#526475}
  #tvw-events .tvw-mobile-events-copy>span{font-size:13px;font-weight:800;color:#c80a35}
}
