/*
Theme Name: Baluch Modern
Author: Moeed Rais
Version: 2.3.24
Description: Responsive multilingual publishing theme.
License: GNU General Public License v2 or later
Text Domain: baluch
*/

*{box-sizing:border-box}body{margin:0;background:#f5f6f8;color:#202632;font-family:Arial,Tahoma,sans-serif;line-height:1.7}a{color:#142e61;text-decoration:none}a:hover{text-decoration:underline}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #d89b38;outline-offset:3px}img{max-width:100%;height:auto}iframe,video{max-width:100%}.wrap{width:min(1240px,calc(100% - 40px));margin:auto}.masthead{background:white;padding:25px 0}.site-name{font-size:36px;font-weight:800}.masthead p{margin:0;color:#667085}.banner{display:block;width:100%;height:auto}.custom-logo{max-height:100px;width:auto}.main-nav{background:#102c57;color:white}.main-nav ul{display:flex;flex-wrap:wrap;gap:8px 26px;list-style:none;margin:0;padding:14px 0}.main-nav a{color:white}.main-nav ul ul{display:block;padding:0 0 0 14px}.tools{display:flex;justify-content:space-between;gap:20px;padding:20px 0;align-items:flex-start}.tools details{max-width:50%}.tools details ul{background:white;padding:20px 35px}.tools input{max-width:100%}input,textarea,button{font:inherit;padding:8px;border:1px solid #aab3c2}input[type=submit],button{background:#142e61;color:white;cursor:pointer}.section-heading{border-block-end:3px solid #102c57;margin-bottom:24px}.section-heading h1{font-size:32px;margin:0 0 15px}.eyebrow{font-size:12px;font-weight:bold;letter-spacing:2px;color:#8c5d20}.category-strip{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}.category-strip a{border:1px solid #d5dae3;background:white;padding:6px 12px;border-radius:4px}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.card{background:white;border:1px solid #e0e4eb;overflow:hidden;border-radius:8px}.picture{display:block}.picture img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain;display:block}.card-body{padding:22px}.card h2{font-size:22px;line-height:1.5;margin:8px 0 12px;overflow-wrap:anywhere}.meta{font-size:13px;color:#616b7b}.excerpt{font-size:16px}.read{font-size:14px;font-weight:bold}.pagination{padding:30px 0}.page-numbers{display:inline-block;padding:8px 14px;background:white;margin:4px}.reading-panel{max-width:none;margin:24px auto;background:white;padding:38px;border:1px solid #e0e4eb}.reading-panel h1{font-size:36px;line-height:1.5;overflow-wrap:anywhere}.entry-content{font-size:19px;overflow-wrap:anywhere}.entry-content img{height:auto}.entry-content table{max-width:100%;display:block;overflow:auto}.featured img{display:block;margin:20px auto}.post-navigation{max-width:none;margin:25px auto}.footer{background:#102c57;color:white;margin-top:50px;padding:30px 0;text-align:center}.footer a{color:#f0c477}.screen-reader-text,.skip-link{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip-link:focus{position:fixed;top:10px;left:10px;width:auto;height:auto;clip-path:none;z-index:100;background:white;padding:12px}blockquote{border-inline-start:4px solid #b48d4e;margin-inline:0;padding-inline-start:20px}[dir=rtl]{font-family:Tahoma,Arial,sans-serif}[dir=rtl] .card-body{line-height:1.9}@media(max-width:900px){.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.wrap{width:calc(100% - 24px)}.post-grid{grid-template-columns:1fr}.tools{flex-direction:column}.tools details{max-width:100%}.reading-panel{padding:20px}.reading-panel h1{font-size:27px}.site-name{font-size:27px}.main-nav ul{gap:8px 16px}.entry-content{font-size:18px}}

.primary-category{margin:15px 0 50px}.primary-category-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;border-block-end:4px solid #102c57;margin-bottom:24px;padding-bottom:18px}.primary-category-heading h1{font-size:34px;margin:0;line-height:1.6}.category-archive{white-space:nowrap;font-weight:bold}.section-heading h2{font-size:28px;margin:0 0 15px}@media(max-width:600px){.primary-category-heading{align-items:flex-start;flex-direction:column}.primary-category-heading h1{font-size:26px}}

/* Four editorial sections: desktop order matches the reference. */
.homepage-date{text-align:center;background:#d2d5d9;padding:9px;color:#5e6979;margin:4px 0 28px;font-weight:bold}
.editorial-columns{display:grid;grid-template-columns:1fr 1.65fr 1fr 1.85fr;gap:22px;direction:ltr;align-items:start}
.editorial-heading{border-block-end:3px solid #102c57;background:#e8ecf2;padding:12px 10px;margin-bottom:16px;text-align:center;min-height:75px;display:flex;align-items:center;justify-content:center}
.editorial-heading h2{font-size:21px;margin:0;line-height:1.6}
.editorial-section.primary .editorial-heading{background:#102c57;color:white}
.editorial-section .card{margin-bottom:20px}.editorial-section .card-body{padding:16px}.editorial-section .card h2{font-size:21px}.headline{padding:10px 0;border-block-end:1px dotted #a8b0bd}.headline h3{margin:0;font-size:16px;line-height:1.7;overflow-wrap:anywhere}.headline time{font-size:11px;color:#667085}.section-more{display:block;padding:12px 0;font-weight:bold}.other-categories{margin-top:38px}
@media(max-width:1000px){.editorial-columns{grid-template-columns:1fr 1.6fr;gap:24px}}
@media(max-width:600px){.editorial-columns{grid-template-columns:1fr}.editorial-heading{min-height:0}.editorial-section .card-body{padding:18px}}


/* 2025 header: centre emblem and six editable text lines. */
.banner-2025{background:#e9fcfc;border:8px solid #183654;color:#092856}
.banner-2025 .banner-inner{max-width:1500px;margin:auto;padding:30px 45px;display:grid;grid-template-columns:minmax(0,1fr) 245px minmax(0,1.25fr);align-items:center;gap:25px;direction:ltr}
.banner-text-panel{background:#f4fbfd;padding:22px 16px;text-align:center;min-width:0}.banner-text-panel p{margin:12px 0;line-height:1.6;font-weight:700;overflow-wrap:anywhere}.left_balochi{font-size:32px}.left_farsi{font-size:25px}.left_english{font-size:25px;line-height:1.4!important;max-width:350px;margin:20px auto 0!important}.right_balochi{font-size:36px;color:#101010}.right_farsi{font-size:30px;color:#075aa1;font-weight:400!important}.right_english{font-size:27px}.banner-logo{position:relative;z-index:2;display:block}.reference-crop{display:block;position:relative;overflow:hidden}.reference-crop img{position:absolute;height:auto;max-width:none;display:block}.logo-2025-crop{aspect-ratio:244/252;background:#f3ffff}.logo-2025-crop img{width:614.754%;left:-262.295%;top:-17.857%}.separate-logo{display:block;width:100%;height:auto;max-height:270px;object-fit:contain}
@media(max-width:1000px){.banner-2025 .banner-inner{padding:20px;grid-template-columns:minmax(0,1fr) 170px minmax(0,1.1fr);gap:15px}.banner-text-panel{padding:12px 8px}.left_balochi,.right_balochi{font-size:24px}.left_farsi,.right_farsi{font-size:21px}.left_english,.right_english{font-size:19px}}
@media(max-width:650px){.banner-2025 .banner-inner{grid-template-columns:1fr;padding:18px 12px;gap:14px}.banner-logo{grid-row:1;width:150px;margin:auto}.right-panel{grid-row:2}.left-panel{grid-row:3}.banner-text-panel{width:100%}.banner-text-panel p{margin:8px 0}.right_balochi,.left_balochi{font-size:26px}}

/* Larger News & Views section title. */
.editorial-heading #section-news-english{font-size:30px;font-weight:800;line-height:1.3}@media(max-width:1000px){.editorial-heading #section-news-english{font-size:27px}}

/* Centre the header and content at 75% of the viewport. */
.wrap{width:75%;max-width:none;margin-inline:auto}
.banner-2025{width:75%;margin-inline:auto}
.banner-2025 .banner-inner{max-width:none;width:100%}
.main-nav{width:75%;margin-inline:auto}
.main-nav .wrap{width:100%;padding-inline:20px}
@media(max-width:600px){.wrap{width:75%}.main-nav .wrap{width:100%;padding-inline:12px}}

/* Centre primary navigation links. */
.main-nav .wrap{text-align:center}.main-nav .wrap > ul,.main-nav .wrap > div > ul{justify-content:center}.main-nav .sub-menu,.main-nav .children{text-align:start}

/* Compact banner: approximately 80% of the previous height. */
.banner-2025{border-width:6px}
.banner-2025 .banner-inner{padding:24px 36px;grid-template-columns:minmax(0,1fr) 196px minmax(0,1.25fr);gap:20px}
.banner-text-panel{padding:18px 13px}.banner-text-panel p{margin:10px 0}
.left_balochi{font-size:26px}.left_farsi{font-size:20px}.left_english{font-size:20px;margin:16px auto 0!important;max-width:280px}
.right_balochi{font-size:29px}.right_farsi{font-size:24px}.right_english{font-size:22px}.banner-2025 .separate-logo{max-height:216px}
@media(max-width:1000px){.banner-2025 .banner-inner{padding:16px;grid-template-columns:minmax(0,1fr) 136px minmax(0,1.1fr);gap:12px}.banner-text-panel{padding:10px 6px}.left_balochi,.right_balochi{font-size:20px}.left_farsi,.right_farsi{font-size:17px}.left_english,.right_english{font-size:16px}}
@media(max-width:650px){.banner-2025 .banner-inner{grid-template-columns:1fr;padding:14px 10px;gap:11px}.banner-2025 .banner-logo{width:120px}.banner-text-panel p{margin:6px 0}.right_balochi,.left_balochi{font-size:21px}}

/* Uniform darker-grey section headings and equal left pair. */
.editorial-heading,.editorial-section.primary .editorial-heading{background:#b8bdc4;color:#202632;border-block-end:3px solid #858b93}
.editorial-columns{grid-template-columns:1.325fr 1.325fr 1fr 1.85fr}
@media(max-width:1000px){.editorial-columns{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.editorial-columns{grid-template-columns:1fr}}

/* Full-width article container and 45/55 split of the left pair. */
.reading-panel{width:100%;max-width:none;margin-inline:0}
.post-navigation{width:100%;max-width:none;margin-inline:0}
.editorial-columns{grid-template-columns:1.1925fr 1.4575fr 1fr 1.85fr}
@media(max-width:1000px){.editorial-columns{grid-template-columns:0.9fr 1.1fr}}
@media(max-width:600px){.editorial-columns{grid-template-columns:1fr}}

/* Shared outer width; post and page panels fill it completely. */
body > header.banner-2025,body > nav.main-nav,body > main#content{width:75%!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}
body > main#content > article.reading-panel,body > main#content > section.reading-panel{display:block;width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box}

/* Shorter banner with larger wording and less empty space. */
.banner-2025 .banner-inner{padding:10px 12px;grid-template-columns:minmax(0,1fr) 150px minmax(0,1fr);gap:16px}
.banner-text-panel{padding:8px 10px}.banner-text-panel p{margin:7px 0;line-height:1.3}
.left_balochi{font-size:32px}.right_balochi{font-size:34px}.left_farsi,.right_farsi{font-size:26px}
.left_english,.right_english{font-size:25px;line-height:1.3!important}.left_english{max-width:none;margin:10px 0 0!important}
.banner-2025 .separate-logo{max-height:155px}
@media(max-width:1100px){.banner-2025 .banner-inner{grid-template-columns:minmax(0,1fr) 125px minmax(0,1fr);gap:10px;padding:8px}.left_balochi,.right_balochi{font-size:25px}.left_farsi,.right_farsi{font-size:21px}.left_english,.right_english{font-size:20px}.banner-text-panel{padding:6px}}
@media(max-width:650px){.banner-2025 .banner-inner{grid-template-columns:1fr;gap:8px;padding:10px}.banner-2025 .banner-logo{width:105px}.banner-text-panel p{margin:5px 0}.left_balochi,.right_balochi{font-size:24px}.left_farsi,.right_farsi{font-size:20px}.left_english,.right_english{font-size:19px}}

/* Smaller section label, larger post titles and reference menu order. */
.editorial-heading #section-news-english{font-size:22px;line-height:1.5}
.headline h3{font-size:21px;line-height:1.65;font-weight:700}
.editorial-section .card h2,.card h2{font-size:25px;line-height:1.55}
.main-nav .reference-menu{justify-content:center;gap:8px 22px}
@media(max-width:1000px){.editorial-heading #section-news-english{font-size:22px}.headline h3{font-size:20px}.editorial-section .card h2,.card h2{font-size:23px}.main-nav .reference-menu{gap:8px 16px}}

/* News & Views: small label, prominent post headlines. */
#content .editorial-heading #section-news-english{font-size:18px!important;font-weight:700;line-height:1.4}
#content .editorial-section[aria-labelledby="section-news-english"] .headline h3{font-size:25px!important;font-weight:700;line-height:1.5}
@media(max-width:600px){#content .editorial-section[aria-labelledby="section-news-english"] .headline h3{font-size:23px!important}}

.card-body .picture{margin:0 0 16px}

#content .editorial-section[aria-labelledby="section-article-balochi"] .card-body{font-family:Arial,Tahoma,sans-serif}

#content .card .picture{height:auto!important;max-height:none!important;overflow:visible!important}
#content .card .picture img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;position:static!important;clip-path:none!important}

#content .editorial-heading #section-news-balochi{font-size:15.75px}
#content .editorial-section[aria-labelledby="section-article-english"] .card h2{font-size:20px}
@media(max-width:1000px){#content .editorial-section[aria-labelledby="section-article-english"] .card h2{font-size:18.4px}}

.post-grid{align-items:start}
#content .card .picture{margin:0 0 16px!important;padding:0!important;min-height:0!important;aspect-ratio:auto!important}
#content .card .picture img{width:auto!important;height:auto!important;max-width:100%!important;max-height:320px!important;margin:0 auto!important}

/* Hide the retired category and additional-post blocks in cached homepage markup. */
body.home #content > section.other-categories,body.home #content > .editorial-columns ~ section,body.front-page #content > section.other-categories,body.front-page #content > .editorial-columns ~ section{display:none!important}
