/*
Theme Name: TVNEWS Zug Style
Description: Standalone TVNEWS.mn news layout using existing posts, categories and menus.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: tvnews-zug-style
*/
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/manrope-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/manrope-500.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/manrope-600.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/manrope-700.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/fonts/manrope-800.ttf) format('truetype');
}

:root{--accent:#EE0114;--ink:#001635;--muted:#626974;--paper:#FFFFFF;--line:#e8e9ed;--nav:#001635}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Manrope,Arial,"Helvetica Neue",sans-serif;font-size:16px;line-height:1.5}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}button,input,textarea,select{font:inherit}button,a,input,textarea{touch-action:manipulation}button{cursor:pointer}img{max-width:100%;height:auto;display:block}h1,h2,h3,p{margin-top:0}a:focus-visible,button:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.container{width:100%;padding-inline:12px;margin-inline:auto}.screen-reader-text,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link:focus{position:fixed;top:10px;left:10px;background:white;z-index:99999;padding:12px}
.top-bar{border-bottom:1px solid #eee;font-size:13px;padding:8px 0}.top-inner{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:20px}.top-inner time{font-weight:600}.menu{list-style:none;padding:0;margin:0}.utility-nav .menu{display:flex;flex-wrap:wrap}.utility-nav li+li{border-left:1px solid #ddd}.utility-nav a{padding:0 13px}.brand-bar{padding:20px 0;background:repeating-linear-gradient(135deg,rgba(0,0,0,.015) 0,rgba(0,0,0,.015) 1px,transparent 1px,transparent 14px),#fff}.brand-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:64px}.brand img{height:64px;width:auto;max-width:100%;object-fit:contain}.header-tools{display:flex;align-items:center;gap:8px;width:480px;max-width:55%}.search-form{position:relative;width:100%;max-width:460px}.search-form label{display:block}.search-form input{width:100%;min-width:0;height:44px;background:#f0f1f4;border:0;border-radius:11px;padding:0 44px 0 18px;font-size:14px}.search-form button{position:absolute;right:5px;top:4px;width:36px;height:36px;border:0;background:transparent;color:#696d75;display:grid;place-items:center}.brand-name{white-space:nowrap;padding:11px 18px;background:#111;color:#ddd;border-radius:13px;font-weight:600;font-size:13px}.main-nav{background:var(--nav);color:#e6e6e6;position:sticky;top:0;z-index:100;box-shadow:0 2px 8px #0000001f}.main-nav .menu{display:flex;flex-wrap:wrap;align-items:center;padding:8px 0}.main-nav li{position:relative}.main-nav .menu>li+li:before{content:"";position:absolute;left:0;top:50%;height:16px;width:1px;transform:translateY(-50%);background:#ffffff24}.main-nav a{display:block;padding:10px 20px;font-size:13.6px;font-weight:600;text-transform:uppercase;letter-spacing:.03em}.main-nav .current-menu-item>a{color:var(--accent)}.main-nav .sub-menu{display:none;list-style:none;margin:0;padding:6px 0;position:absolute;top:100%;left:0;min-width:220px;background:#fff;color:var(--ink);border-radius:8px;box-shadow:0 6px 24px #0002}.main-nav li:hover>.sub-menu,.main-nav li:focus-within>.sub-menu{display:block}.main-nav .sub-menu .sub-menu{left:100%;top:0}.menu-toggle{display:none}.admin-bar .main-nav{top:32px}
.page-layout{display:grid;grid-template-columns:minmax(0,calc(66.666667% - 8px)) minmax(0,1fr);gap:24px;margin-top:24px}.main-column,.sidebar{min-width:0}.hero{height:460px;border-radius:8px;overflow:hidden;position:relative;margin-bottom:48px;background:#001635}.hero>a{display:block;height:100%;color:#fff}.hero img,.hero .image-placeholder{width:100%;height:100%;object-fit:cover}.hero>a:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,#000000d9,rgba(0,0,0,.25) 55%,transparent)}.hero-body{position:absolute;bottom:0;left:0;right:0;padding:24px;z-index:1}.hero-categories{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.hero-categories span{background:var(--accent);font-size:12.8px;font-weight:600;border-radius:40px;padding:4px 12px}.hero h2{font-size:25.6px;font-weight:800;line-height:1.25;margin-bottom:8px}.hero time{font-size:13px;color:#d2d2d2}.category-section{margin-bottom:48px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.section-heading h2,.section-heading h1{padding-left:14px;position:relative;font-size:24px;font-weight:700;line-height:1.25;margin:0}.section-heading h2:before,.section-heading h1:before{position:absolute;content:"";left:0;top:3px;bottom:3px;width:4px;background:var(--accent);border-radius:10px}.all-link{color:var(--accent);background:#fff0f1;padding:5px 13px;border-radius:40px;font-size:14px;font-weight:700;white-space:nowrap}.all-link:hover{color:white;background:var(--accent)}.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.card-image{height:180px;overflow:hidden;border-radius:8px;background:#e5e7eb}.card-image img{width:100%;height:100%;object-fit:cover}.image-placeholder{display:grid;place-items:center;height:100%;width:100%;background:#e5e7eb;color:#626974;font-weight:700;letter-spacing:.04em}.news-card h3{font-size:14.4px;font-weight:600;line-height:1.35;margin:9px 0 5px;min-height:2.7em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.news-card time,.side-item time{font-size:12.5px;color:var(--muted)}.sidebar-inner{position:sticky;top:80px}.calendar{padding:18px;background:#fff;border-radius:13px;border-bottom:1px solid var(--line);margin-bottom:20px}.calendar h2{font-size:17px;margin-bottom:16px;text-align:center}.calendar-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px}.calendar-day{display:flex;align-items:center;flex-direction:column;gap:8px;font-size:12px;font-weight:700;padding:6px 0}.calendar-day strong{border-radius:50%;width:30px;height:30px;display:grid;place-items:center;background:#f0f0f3;font-size:13px}.calendar-day.today{background:#001635;color:white;border-radius:40px;max-width:36px;width:100%;justify-self:center}.calendar-day.today strong{background:#EE0114;color:#fff;width:34px;height:34px;margin-bottom:-7px}.side-news{background:white;border:1px solid var(--line);border-radius:8px;overflow:hidden}.side-news>h2{font-size:14px;font-weight:700;padding:17px 20px;margin:0;border-bottom:2px solid var(--accent);color:var(--accent)}.side-scroll{max-height:800px;overflow-y:auto;overscroll-behavior:contain}.side-item{border-bottom:1px solid #f0f0f0;padding:14px 16px}.side-item:last-child{border:0}.side-item>a{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px}.side-image{height:68px;overflow:hidden;border-radius:6px}.side-image img{width:100%;height:100%;object-fit:cover}.side-image .image-placeholder{font-size:10px}.side-item h3{font-size:13px;font-weight:600;line-height:1.4;margin:0 0 6px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.site-footer{margin-top:48px;background:#001635;color:#adb5bd;font-size:14px}.footer-main{padding:28px 0;border-bottom:1px solid #ffffff14}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:24px;align-items:start}.footer-brand{background:#fff;display:block;padding:12px;border-radius:6px;max-width:260px}.footer-brand img{width:100%;height:auto}.footer-grid li{margin-bottom:8px}.footer-grid .sub-menu{list-style:none;padding-left:14px}.footer-bottom{display:flex;justify-content:space-between;padding-top:18px;padding-bottom:24px;font-size:13px}.archive-grid{row-gap:30px}.archive-description{margin-bottom:24px}.pagination,.post-navigation{margin:32px 0}.nav-links{display:flex;gap:14px;justify-content:space-between;flex-wrap:wrap}.page-numbers{padding:8px 12px;background:white;border-radius:5px}.page-numbers.current{background:var(--accent);color:white}.article{background:#fff;border:1px solid var(--line);border-radius:8px;padding:28px}.article h1{font-size:32px;line-height:1.3;margin:12px 0}.article time{font-size:13px;color:var(--muted)}.article-categories{font-size:13px;color:var(--accent);font-weight:700}.article-image{margin:24px -28px}.article-image img{width:100%;height:auto}.entry-content{margin-top:24px;line-height:1.8;overflow-wrap:anywhere}.entry-content img{height:auto;max-width:100%}.entry-content iframe,.entry-content video{max-width:100%}.entry-content iframe{width:100%;aspect-ratio:16/9;height:auto}.entry-content a,.comment-content a{color:#EE0114;text-decoration:underline}.entry-content blockquote{border-left:4px solid var(--accent);padding:16px 20px;background:#fff7f8;margin:24px 0}.entry-content table{display:block;overflow-x:auto;max-width:100%;border-collapse:collapse}.entry-content td,.entry-content th{padding:8px;border:1px solid var(--line)}.entry-content pre{overflow:auto}.entry-content:after{content:"";display:table;clear:both}.alignleft{float:left;margin:0 20px 16px 0}.alignright{float:right;margin:0 0 16px 20px}.aligncenter{margin-inline:auto}.wp-caption{max-width:100%}.wp-caption-text,.gallery-caption{font-size:13px;color:var(--muted)}.bypostauthor{border-left:2px solid var(--accent)}.comments-area{margin-top:32px}.comments-area textarea,.comments-area input:not([type=checkbox]):not([type=submit]){max-width:100%;padding:10px;border:1px solid #ccc;border-radius:5px}.comments-area label{display:block}.comments-area .comment-form-cookies-consent label{display:inline}.comment-list{padding-left:22px}.comment-body{margin-bottom:24px}.comment-list .children{padding-left:18px}.submit{background:var(--nav);color:white;padding:10px 18px;border:0;border-radius:5px}.empty-page{min-height:45vh;padding-top:48px}
@media(min-width:576px){.container{max-width:540px}}@media(min-width:768px){.container{max-width:720px}}@media(min-width:992px){.container{max-width:960px}}@media(min-width:1200px){.container{max-width:1140px}}@media(min-width:1400px){.container{max-width:1320px}}
@media(max-width:1199px){.main-nav a{padding-inline:14px}.side-item>a{grid-template-columns:72px minmax(0,1fr)}.side-image{height:62px}.header-tools{width:420px}.brand-name{display:none}}
@media(max-width:991px){.page-layout{grid-template-columns:minmax(0,1fr)}.sidebar-inner{position:static}.utility-nav{display:none}.main-nav .menu{display:block}.main-nav .menu>li+li:before{display:none}.main-nav .sub-menu,.main-nav .sub-menu .sub-menu{display:block;position:static;box-shadow:none;background:transparent;color:inherit;margin-left:18px;min-width:0}.has-js .menu-toggle{display:flex;align-items:center;gap:10px;background:#f8f9fa;color:#222;border:1px solid #ccc;border-radius:5px;padding:5px 12px;margin:8px 0}.has-js #primary-menu{display:none;max-height:70vh;overflow:auto}.has-js #primary-menu.is-open{display:block}.main-nav .container{display:flow-root}.side-scroll{max-height:650px}.sidebar{margin-top:8px}.footer-grid{grid-template-columns:2fr 1fr 1fr}}
@media(max-width:767px){.brand-inner{flex-wrap:wrap;gap:16px}.brand img{height:52px}.header-tools{max-width:100%;width:100%}.search-form{max-width:none}.brand-bar{padding:16px 0}.news-grid{grid-template-columns:minmax(0,1fr)}.card-image{height:180px}.hero{height:380px;margin-bottom:32px}.hero-body{padding:20px}.hero h2{font-size:23px}.category-section{margin-bottom:32px}.section-heading h1,.section-heading h2{font-size:21px}.news-card h3{font-size:16px}.footer-grid{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}.article{padding:20px}.article h1{font-size:26px}.article-image{margin-inline:-20px}.admin-bar .main-nav{top:46px}.page-layout{margin-top:20px}.alignleft,.alignright{float:none;margin-inline:0}}
@media(max-width:400px){.hero{height:340px}.hero h2{font-size:21px}.hero-body{padding:16px}.footer-grid{grid-template-columns:1fr}.footer-bottom{gap:12px;flex-wrap:wrap}}
@media(prefers-reduced-motion:no-preference){a{transition:color .15s ease,background-color .15s ease}}

/* Keep reference proportions on small screens as well. */
@media(max-width:767px){.brand-bar{padding:20px 0}.brand img{height:64px}.header-tools{width:238px}.hero{height:460px;margin-bottom:48px}.hero-body{padding:24px}.hero h2{font-size:25.6px}.category-section{margin-bottom:48px}.news-card h3{font-size:14.4px}.page-layout{margin-top:24px}.section-heading h2{font-size:24px}}

/* TVNEWS brand palette and the new article controls. */
[hidden]{display:none!important}
.brand-bar{background:#001635}.brand{background:#fff;border-radius:6px;padding:8px 12px}.brand-name{background:#EE0114;color:#fff}.main-nav{background:#001635}.main-nav a{color:#fff}.main-nav .current-menu-item>a,.main-nav a:hover,.main-nav a:focus-visible{background:#EE0114;color:#fff}.main-nav .sub-menu a{color:#001635}.main-nav .sub-menu a:hover,.main-nav .sub-menu a:focus-visible{color:#fff}.main-nav .menu>li+li:before{background:#ffffff50}
h1,h2,h3{color:#001635}.hero h2{color:#fff}.hero time{color:#fff}.hero-categories span{background:#EE0114;color:#fff}.article-categories{display:flex;gap:6px;flex-wrap:wrap}.article-categories a{display:inline-block;background:#EE0114;color:#fff;border-radius:20px;padding:4px 12px}.article-categories a:hover{background:#001635;color:#fff}.calendar-day.today strong{background:#EE0114}.image-placeholder{color:#626974}.site-footer{color:#e1e5eb}.site-footer a:hover{color:#fff;text-decoration:underline;text-decoration-color:#EE0114;text-decoration-thickness:3px}.footer-brand:hover{background:#fff}.entry-content a:hover{color:#001635}.all-link{background:#fff;color:#EE0114;border:1px solid #EE0114}.all-link:hover{background:#EE0114;color:#fff}.submit{background:#EE0114;color:#fff}.submit:hover{background:#001635}.news-tabs{display:flex;gap:0;border-bottom:1px solid var(--line)}.news-tabs button{flex:1;min-height:48px;border:0;border-bottom:3px solid transparent;background:#fff;color:#001635;font-size:14px;font-weight:700;padding:12px 8px}.news-tabs button[aria-selected=true]{color:#EE0114;border-bottom-color:#EE0114}.news-tabs button:hover{background:#EE0114;color:#fff}.view-count{display:block;color:#626974;font-size:12px;margin-top:3px}.share-section,.comments-area{background:#fff;border:1px solid var(--line);border-radius:8px;padding:24px;margin-top:24px}.share-section h2,.comments-area h2{font-size:23px}.share-buttons{display:flex;flex-wrap:wrap;gap:10px}.share-buttons a,.share-buttons button{border:1px solid #EE0114;border-radius:6px;background:#EE0114;color:#fff;padding:10px 14px;font-size:14px;font-weight:600;min-height:44px}.share-buttons a:hover,.share-buttons button:hover{background:#001635;border-color:#001635;color:#fff}.share-feedback{color:#001635;margin:12px 0 0;overflow-wrap:anywhere}.comment-list{list-style:none;padding:0}.comment-body{padding:16px 0;border-bottom:1px solid var(--line)}.comment-meta{display:flex;flex-wrap:wrap;gap:6px 12px}.comment-meta time{color:#626974;font-size:13px}.comment-content{overflow-wrap:anywhere}.comment-list .children{list-style:none;padding-left:20px}.reply a,#cancel-comment-reply-link{color:#EE0114}.comment-form textarea,.comment-form input:not([type=checkbox]):not([type=submit]){width:100%;background:#fff;color:#001635}.comment-form-cookies-consent{display:flex;align-items:flex-start;gap:8px}.comment-form-cookies-consent input{margin-top:6px}.comment-form label{font-weight:600}.comment-form .submit{min-height:44px}.comment-notes,.comment-awaiting-moderation{color:#626974}.comment-form a{color:#EE0114}.page-numbers.current{background:#EE0114;color:#fff}.page-numbers:hover{background:#EE0114;color:#fff}
@media(max-width:991px){.main-nav .sub-menu a{color:#fff}.has-js .menu-toggle{background:#EE0114;color:#fff;border-color:#EE0114}}
@media(max-width:767px){.share-section,.comments-area{padding:18px}.share-buttons>*{flex:1 1 140px;text-align:center}.comment-list .children{padding-left:12px}.brand img{height:56px}.hero h2{font-size:24px}}
.news-card a:hover h3,.news-card a:focus-visible h3,.side-item a:hover h3,.side-item a:focus-visible h3{color:#EE0114}
