/*
Theme Name: ECMI Kosovo
Theme URI: https://ecmikosova.org/
Author: ECMI Kosovo / Root Studio
Description: ECMI Kosovo's editorial website, with editable WordPress pages and the existing news archive.
Version: 1.1.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: ecmi-kosovo
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
[hidden]{display:none!important}.header nav ul{display:flex;align-items:center;gap:24px;list-style:none;margin:0;padding:0}.header nav li{list-style:none;position:relative}.header nav li a{display:block;padding:13px 0}.header nav .sub-menu{display:none;position:absolute;background:var(--paper);padding:10px 18px;min-width:210px;box-shadow:0 5px 18px #0002}.header nav li:hover>.sub-menu,.header nav li:focus-within>.sub-menu{display:block}.header nav .current-menu-item>a,.header nav .current-page-ancestor>a{text-decoration:underline;text-underline-offset:8px}.news-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.news-card{border-top:1px solid var(--line);padding-top:22px;min-width:0}.news-card img{width:100%;height:210px;object-fit:cover;margin-bottom:20px}.news-card h2,.news-card h3{font-family:var(--serif);font-size:29px}.news-card .news-meta{font-size:12px;color:var(--muted);margin-bottom:13px}.news-card p{font-size:15px}.news-pagination{display:flex;justify-content:center;gap:16px;margin:45px 0}.news-pagination .page-numbers{border:1px solid var(--line);padding:7px 13px}.news-pagination .current{background:var(--navy);color:white}.wordpress-article{max-width:900px;padding-bottom:70px}.wordpress-article .entry-content{font-size:17px;line-height:1.85}.wordpress-article img{max-width:100%;height:auto}.wordpress-article .entry-content a{text-decoration:underline;text-underline-offset:3px}.wordpress-article .entry-content h2{font-size:36px;margin-top:1.4em}.wordpress-article .entry-content h3{font-size:28px}.wordpress-article table{max-width:100%;border-collapse:collapse;display:block;overflow-x:auto}.wordpress-article td,.wordpress-article th{padding:8px;border:1px solid var(--line)}.news-search{display:flex;gap:10px;max-width:650px;margin:28px 0}.news-search input{flex:1;min-width:0;padding:13px;border:1px solid var(--line);background:var(--white)}.wp-caption{max-width:100%}.wp-caption-text,.entry-content figcaption{font-size:13px;color:var(--muted)}.alignleft{float:left;margin:0 25px 20px 0}.alignright{float:right;margin:0 0 20px 25px}.aligncenter{margin-left:auto;margin-right:auto}.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}.screen-reader-text:focus{clip:auto;width:auto;height:auto;background:white;padding:10px;z-index:1000}.entry-footer{border-top:1px solid var(--line);margin-top:30px;padding-top:20px;font-size:13px}.post-navigation{margin-top:30px}.post-navigation .nav-links{display:flex;justify-content:space-between;gap:30px}.comments-area{margin-top:40px}.comments-area textarea{max-width:100%;width:100%;padding:12px}.comments-area input{padding:10px;max-width:100%}@media(max-width:850px){.news-list{grid-template-columns:repeat(2,minmax(0,1fr))}.header nav ul{gap:16px}}@media(max-width:680px){.header nav ul{display:block;width:100%}.header nav li a{border-top:1px solid var(--line);padding:11px 0}.header nav .sub-menu{position:static;box-shadow:none;display:block;padding:0 0 0 16px}.news-list{grid-template-columns:1fr}.news-card img{height:auto}.alignleft,.alignright{float:none;margin:0 0 20px}.wordpress-article .entry-content{font-size:15px}.news-search{flex-wrap:wrap}.news-search .button{width:100%}}

/* Native latest posts stay a compact editorial list on the home page. */
.homepage-news-item{display:grid;grid-template-columns:130px minmax(0,1fr) 25px;gap:25px;align-items:baseline;padding:22px 0;border-top:1px solid var(--line)}.homepage-news-item time{font-size:12px;color:var(--muted)}.homepage-news-item h3{margin:0;font:400 25px/1.35 var(--serif)}.homepage-news-item h3 a:hover{text-decoration:underline;text-underline-offset:5px}.homepage-news-item>span{font-size:20px;color:var(--navy)}@media(max-width:680px){.homepage-news-item{grid-template-columns:minmax(0,1fr) 20px;gap:8px 15px}.homepage-news-item time{grid-column:1/-1}.homepage-news-item h3{font-size:23px}}

.homepage-research .publication-copy{grid-column:2}

@media(max-width:1050px){.header nav ul{display:block!important;width:100%}.header nav .sub-menu{position:static;box-shadow:none;display:block;padding:0 0 0 16px}.header nav li a{border-top:1px solid var(--line)}}

/* The native archive retains every Post and supplied thumbnail in readable rows. */
.news-list{display:block}.news-list .news-card{display:grid;grid-template-columns:135px minmax(0,1fr);gap:36px;padding:28px 0;border-top:1px solid var(--line)}.news-list .news-card .news-meta{display:flex;flex-direction:column;align-items:flex-start;margin:4px 0 0;font-size:12px;color:var(--muted)}.news-list .news-card h2{font:400 28px/1.3 var(--serif);margin:0 0 12px}.news-list .news-card p{margin:0;font-size:15px;line-height:1.8;color:var(--muted)}.news-row-content{min-width:0}.news-row-content.has-news-image{display:grid;grid-template-columns:140px minmax(0,1fr);gap:24px}.news-row-image{margin:0}.news-row-image img{display:block;width:140px;height:auto;max-height:150px;object-fit:contain;margin:0}.news-list .news-card h2 a:hover{text-decoration:underline;text-underline-offset:5px}@media(max-width:680px){.news-list .news-card{grid-template-columns:1fr;gap:10px}.news-list .news-card h2{font-size:25px}.news-row-content.has-news-image{grid-template-columns:88px minmax(0,1fr);gap:16px}.news-row-image img{width:88px;max-height:120px}}
