/* NFT Pro proportions, adapted for PNMD's identity and bilingual content. */
body.pnmd-nft{--nft-custom-color-1:#003375;--nft-custom-color-2:#c5ddf0;--metro-blue:#003375;background:#fff;color:#101820}
body.pnmd-nft .td-theme-wrap{background:#fff}
.pnmd-nft .td-header-template-wrap .tdc-row,.pnmd-nft .td-footer-template-wrap .tdc-row{max-width:none}
.pnmd-nft .td-header-template-wrap .td-pb-span12,.pnmd-nft .td-footer-template-wrap .td-pb-span12{padding:0}
.nft-header{display:flex;align-items:center;justify-content:space-between;gap:28px;max-width:1400px;margin:auto;padding:22px 24px;min-height:118px;position:relative;background:#fff;z-index:20;border-bottom:1px solid #eef0f2}
.nft-brand{display:block;flex:0 0 220px}.nft-brand img{display:block;width:220px;height:78px;object-fit:contain}
.nft-nav,.nft-main-links,.nft-header-actions{display:flex;align-items:center;gap:24px}.nft-nav{flex:1;justify-content:center}.nft-main-links{gap:22px}
.nft-header a,.nft-header summary{color:#101820;font-size:14px;font-weight:800;white-space:nowrap;text-transform:none;letter-spacing:0}
.nft-header a:hover,.nft-header summary:hover{color:#003375}.nft-header-actions{gap:20px}.nft-header .nft-join,.nft-link-button{background:#003375;color:#fff;padding:12px 20px;display:inline-block}.nft-header .nft-join:hover{background:#001a3d;color:#fff}
.nft-header summary{display:flex;align-items:center;gap:9px;cursor:pointer;list-style:none}.nft-header summary::-webkit-details-marker{display:none}.nft-header summary::marker{content:''}
.nft-menu-panel{position:absolute;inset-inline:24px;top:100%;background:#001a3d;color:#fff;padding:30px;box-shadow:0 14px 30px #001a3d26;z-index:100}
.nft-menu-panel ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 25px;margin:0;list-style:none}.nft-menu-panel li{margin:0;list-style:none}.nft-menu-panel a{color:#fff;display:block;padding:9px 0;white-space:normal}.nft-menu-panel a:hover{color:#b7d5f1}
.nft-search form{position:absolute;inset-inline-end:24px;top:100%;width:min(460px,calc(100% - 48px));padding:24px;background:#fff;box-shadow:0 12px 30px #001a3d24;display:block;z-index:101;box-sizing:border-box;margin:0}
.nft-search:not([open]) form{display:none}
.nft-search label{display:block;font-size:14px;margin:0 0 12px;text-align:start}
.nft-header .nft-search-fields{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:0}
.nft-header .nft-search input{box-sizing:border-box;min-width:0;width:100%;max-width:none;height:48px;margin:0;padding:10px 12px;border:1px solid #b6c5d5;border-radius:0;font-size:16px;line-height:1.5;position:static;float:none;text-align:start}
.nft-header .nft-search button{box-sizing:border-box;position:static;inset:auto;transform:none;float:none;width:auto;min-width:70px;height:48px;margin:0;padding:0 18px;border:0;border-radius:0;background:#003375;color:#fff;font-size:15px;line-height:1.5}
.pnmd-nft :is(a,button,summary,input):focus-visible{outline:3px solid #5b9bd5;outline-offset:4px}
body.pnmd-nft .td-module-title,body.pnmd-nft .tdm-title,body.pnmd-nft .tdb-title-text{font-family:'Cairo',sans-serif!important;letter-spacing:0!important;text-transform:none!important}
body.pnmd-nft.rtl .td-module-title,body.pnmd-nft.rtl .td-module-title a{line-height:1.55!important}
body.pnmd-nft .td-post-category{background:#003375!important;color:#fff!important;font-family:'Cairo',sans-serif!important;letter-spacing:0!important;line-height:1.5!important;padding:4px 9px!important;margin-inline-end:8px!important}
body.pnmd-nft .td-post-date,body.pnmd-nft .entry-date{color:#526379!important}
body.pnmd-nft .td-header-template-wrap .vc_row{margin-left:0!important;margin-right:0!important}
body.pnmd-nft .td-header-template-wrap .tdc-row{width:100%!important;left:0!important}
body.pnmd-nft.rtl .td-main-content-wrap .vc_row>.vc_column{float:right}
body.pnmd-nft .td-footer-template-wrap .vc_row{margin-left:0!important;margin-right:0!important}
body.pnmd-nft .td-footer-template-wrap .tdc-row{width:100%!important;left:0!important}
body.pnmd-nft .td-module-thumb a{min-block-size:0}
body.pnmd-nft .nft-home-hero .td-module-title{font-size:32px!important;font-weight:900!important}
body.pnmd-nft .nft-home-hero .td-module-meta-info{padding-inline-start:28px!important;padding-inline-end:0!important}
body.pnmd-nft .nft-home-hero .td-image-container{width:47%!important}
body.pnmd-nft.rtl .nft-home-hero .td-module-container{direction:rtl}
body.pnmd-nft .nft-home-hero .entry-thumb{background-position:center!important}
body.pnmd-nft .nft-home-small .td-module-title{font-size:21px!important}
body.pnmd-nft .nft-home-strip .td-module-title{font-size:19px!important}
body.pnmd-nft .nft-home-strip .td-image-wrap{padding-bottom:56.25%!important}
body.pnmd-nft .nft-partnership-section{background:#001a3d!important}
body.pnmd-nft .nft-partnerships .td-module-title{font-size:21px!important;line-height:1.6!important}
body.pnmd-nft .nft-partnerships .td-image-container{width:100%!important}
body.pnmd-nft .nft-partnerships .td-module-meta-info{padding:20px 0 0!important;width:100%!important}
body.pnmd-nft .nft-partnerships .td-module-container{display:block!important}
body.pnmd-nft .nft-mission{background:#e8f0fa!important;padding:60px 30px!important}
body.pnmd-nft .nft-mission .tdm-title,body.pnmd-nft .nft-mission .tdm-descr,body.pnmd-nft .nft-mission .tds-title,body.pnmd-nft .nft-mission i{color:#003375!important}
body.pnmd-nft .nft-mission .tdm_block_inline_text .tdm-descr{color:#42536b!important}
body.pnmd-nft .tdm-title{line-height:1.5!important}
body.pnmd-nft.single .tdb-single-title .tdb-title-text{font-size:40px!important;line-height:1.5!important}
body.pnmd-nft .tdb_single_content{font-size:18px;line-height:1.9}
.pnmd-nft .td-footer-template-wrap{background:#001a3d}.nft-footer{background:#001a3d;color:#d6e3ef;padding:60px 24px 22px;margin-top:50px;font-size:14px;line-height:1.9}
.nft-footer-inner{max-width:1352px;margin:auto}.nft-footer-intro{display:flex;align-items:center;gap:48px;margin-bottom:42px}.nft-footer-logo{background:#fff;padding:10px 18px;display:inline-block;flex:0 0 250px}.nft-footer-logo img{width:220px;height:80px;object-fit:contain;display:block}.nft-footer-intro p{max-width:650px;font-size:17px;margin:0}
.nft-footer-cols{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:60px}.nft-footer h2{font-size:20px;font-weight:800;color:#fff;margin:0 0 20px;line-height:1.6}.nft-footer a{color:#fff;display:block;margin-bottom:8px}.nft-footer a:hover{color:#c5ddf0!important}.nft-footer ul{padding:0;margin:0;list-style:none;columns:2}.nft-footer li{list-style:none;margin:0;break-inside:avoid}.nft-footer .nft-social{display:flex;gap:16px;flex-wrap:wrap;margin-top:20px}.nft-footer p{color:#d6e3ef}
.nft-footer-bottom{display:flex;gap:24px;align-items:center;justify-content:space-between;border-top:1px solid #ffffff30;padding-top:22px;margin-top:35px;font-size:12px}.nft-footer-bottom nav{display:flex;gap:20px;flex-wrap:wrap}.nft-footer-bottom a{margin:0}
.nft-newsletter{border-top:1px solid #ffffff30;margin-top:35px;padding-top:30px;display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center}.nft-newsletter h2{margin-bottom:4px}.nft-newsletter p{margin:0}.nft-newsletter .fluentform{min-width:0}.nft-newsletter fieldset{min-inline-size:0!important}.nft-newsletter input{color:#101820}.nft-newsletter .ff-el-input--label label{color:#fff}.nft-newsletter .ff-btn-submit{background:#fff!important;color:#003375!important;font-weight:800}
.nft-en-home{max-width:1400px;margin:auto;padding:55px 24px}.nft-en-hero{display:grid;grid-template-columns:30% 35% 1fr;gap:30px;align-items:center}.nft-en-hero>img{width:100%;height:420px;object-fit:cover}.nft-en-hero h1{font-size:44px;font-weight:900;line-height:1.2;margin:20px 0}.nft-en-hero p{font-size:17px;line-height:1.8}.nft-label{background:#003375;color:#fff;padding:5px 10px;font-size:12px;font-weight:700;display:inline-block}.nft-en-side article{padding:15px 0 20px;border-bottom:1px solid #dce4ee}.nft-en-side h2{font-size:25px;font-weight:800}.nft-en-side a{font-weight:800}.nft-en-news{margin-top:65px}.nft-en-news>h2{font-weight:900;font-size:30px}.nft-en-news>p{color:#42536b}.nft-en-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px;margin-top:30px}.nft-en-grid img{width:100%;height:210px;object-fit:cover}.nft-en-grid h3{font-weight:800;font-size:19px;line-height:1.65;color:#101820}.nft-en-grid span{color:#526379;font-size:12px}
@media(min-width:768px) and (max-width:1150px){.nft-main-links{gap:12px}.nft-header{gap:16px;padding:18px}.nft-brand{flex-basis:170px}.nft-brand img{width:170px;height:65px}.nft-header a,.nft-header summary{font-size:12px}.nft-header-actions{gap:12px}.nft-nav{gap:15px}.nft-header .nft-join{padding:10px 12px}.nft-en-hero h1{font-size:34px}body.pnmd-nft .nft-home-hero .td-module-title{font-size:25px!important}}
@media(max-width:767px){.nft-header{padding:12px 16px;gap:14px;min-height:87px;flex-wrap:wrap}.nft-brand{flex:1}.nft-brand img{width:165px;height:60px}.nft-nav{order:3;flex-basis:100%;justify-content:space-between;border-top:1px solid #e8edf3;padding-top:12px;gap:15px}.nft-main-links{gap:15px;overflow:auto}.nft-main-links a{font-size:11px}.nft-main-links a:last-child{display:none}.nft-header a,.nft-header summary{font-size:12px}.nft-header-actions{gap:12px}.nft-header .nft-join{padding:9px 12px}.nft-menu summary>span:first-child{display:none}.nft-menu-panel{inset-inline:0;padding:22px}.nft-menu-panel ul{grid-template-columns:1fr 1fr;gap:7px 16px}.nft-menu-panel a{font-size:14px}.nft-header .pnmd-lang{font-size:12px}.nft-footer{padding:35px 20px 20px;margin-top:30px}.nft-footer-intro{display:block;margin-bottom:30px}.nft-footer-logo{margin-bottom:22px;max-width:230px}.nft-footer-intro p{font-size:15px}.nft-footer-cols{grid-template-columns:1fr;gap:25px}.nft-footer h2{font-size:19px}.nft-footer-bottom{display:block}.nft-footer-bottom nav{gap:12px;margin-top:12px}.nft-newsletter{grid-template-columns:1fr;gap:20px}.nft-footer-cols>div{border-top:1px solid #ffffff20;padding-top:20px}body.pnmd-nft .nft-home-hero .td-image-container{width:100%!important}body.pnmd-nft .nft-home-hero .td-module-meta-info{padding:20px 0 0!important}body.pnmd-nft .nft-home-hero .td-module-title{font-size:27px!important}body.pnmd-nft .nft-home-small .td-module-title{font-size:22px!important}body.pnmd-nft .nft-home-strip .td-module-title{font-size:21px!important}body.pnmd-nft .tdb_single_title .tdb-title-text{font-size:28px!important}.nft-en-home{padding:30px 20px}.nft-en-hero{grid-template-columns:1fr;gap:22px}.nft-en-hero>img{height:260px}.nft-en-hero h1{font-size:36px}.nft-en-side{display:grid;grid-template-columns:1fr 1fr;gap:20px}.nft-en-side h2{font-size:21px}.nft-en-side p{font-size:14px}.nft-en-grid{grid-template-columns:1fr 1fr;gap:20px 15px}.nft-en-grid img{height:150px}.nft-en-grid h3{font-size:16px}.nft-en-news>h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){.pnmd-nft *{scroll-behavior:auto!important;transition:none!important}}
body.pnmd-nft .nft-mission .vc_column:not(:has(.tdm_block_icon_box)){display:none!important}
body.pnmd-nft .nft-mission .vc_column:has(.tdm_block_icon_box){width:100%!important}
body.pnmd-nft .nft-mission .wpb_wrapper{text-align:start!important}
body.pnmd-nft .nft-mission .tdm_block_column_title,body.pnmd-nft .nft-mission .tdm_block_inline_text{max-width:900px;margin-inline:0 auto!important;text-align:start!important}
body.pnmd-nft .nft-mission .tdm_block_icon_box{display:inline-block!important;vertical-align:top;float:none!important;width:calc(25% - 24px)!important;margin:12px!important;padding:28px 12px!important;background:#003375!important}
body.pnmd-nft .nft-mission .tdm_block_icon_box .tdm-title{color:#fff!important;font-size:18px!important}
body.pnmd-nft .nft-mission .tdm_block_icon_box .tds-icon{display:none!important}
body.pnmd-nft .nft-mission .tdm_block_icon_box .tdm-descr{display:none!important}
body.pnmd-nft .nft-mission .tdm_block_icon_box .td-element-style{background:#003375!important}
body.pnmd-nft .nft-partnership-section>.td-element-style{background:#001a3d!important}
body.pnmd-nft .tdb-search-form-btn{background:#c5ddf0!important;color:#001a3d!important}
body.pnmd-nft .tdb-search-form-msg{color:#c5ddf0!important}
body.pnmd-nft .tdb-author-by{color:#526379!important}
@media(max-width:767px){
 body.pnmd-nft .nft-mission .tdm_block_icon_box{width:calc(50% - 16px)!important;margin:8px!important;padding:23px 8px!important}
 body.pnmd-nft.single .tdb-single-title .tdb-title-text{font-size:28px!important}
 .nft-main-links{overflow:visible;gap:12px}.nft-main-links a{font-size:10.5px}
 body.pnmd-nft .nft-home-hero .td-module-title a,body.pnmd-nft .nft-home-small .td-module-title a,body.pnmd-nft .nft-home-strip .td-module-title a{font-size:inherit!important;line-height:inherit!important}
 body.pnmd-nft .nft-mission{padding:35px 16px!important}
 body.pnmd-nft .nft-mission .tdm-title{font-size:28px!important}
 body.pnmd-nft .nft-mission .tdm_block_icon_box .tdm-title{font-size:19px!important}
}

/* Arabic editorial alignment; do not leak RTL overrides into English pages. */
body.pnmd-nft.home.rtl .td-main-content-wrap :is(.tdm_block_column_title,.tdm_block_inline_text,.tdm-title,.tdm-descr,.td-module-title,.td-module-meta-info){direction:rtl;text-align:right!important}
body.pnmd-nft.home.rtl .td-main-content-wrap .tdm_block_column_title .td-block-span12{float:none}
body.pnmd-nft.home.rtl .td-main-content-wrap .td-module-title a{direction:rtl}
body.pnmd-nft.home.rtl .nft-mission .tdm_block_icon_box .tdm-title{text-align:center!important}

/* Latest stories: two columns; each story keeps its image beside the Arabic title. */
body.pnmd-nft.home .tdb_loop .tdb-block-inner{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 28px;margin:0!important}
body.pnmd-nft.home .tdb_loop .tdb-block-inner::before,body.pnmd-nft.home .tdb_loop .tdb-block-inner::after{display:none!important}
body.pnmd-nft.home .tdb_loop .tdb_module_loop{width:100%!important;max-width:100%;padding:0!important;margin:0!important;float:none!important;min-width:0}
body.pnmd-nft.home .tdb_loop .td-module-container{display:flex!important;flex-direction:row!important;align-items:stretch;width:100%;height:100%!important;padding:0 0 24px!important;border-bottom:1px solid #e5e9ee;direction:rtl}
body.pnmd-nft.home .tdb_loop .td-module-container::before{display:none!important}
body.pnmd-nft.home .tdb_loop .td-image-container{width:48%!important;height:auto!important;max-width:48%;flex:0 0 48%!important;float:none!important;margin:0!important}
body.pnmd-nft.home .tdb_loop .td-image-wrap{display:block!important;padding-bottom:56.25%!important;height:0!important}
body.pnmd-nft.home .tdb_loop .td-module-meta-info{display:flex!important;width:52%!important;height:auto!important;min-width:0;flex:1 1 52%!important;justify-content:center;align-items:flex-start;box-sizing:border-box;overflow:hidden;padding:0 22px 0 0!important;margin:0!important}
body.pnmd-nft.home .tdb_loop .td-module-title{width:100%;font-size:20px!important;line-height:1.55!important;margin:10px 0 0!important;word-break:normal;overflow-wrap:break-word}
body.pnmd-nft.home .tdb_loop .td-module-title a{display:-webkit-box;max-block-size:3.1em;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;font-size:inherit!important;line-height:inherit!important}
body.pnmd-nft.home .tdb_loop .td-post-category{margin:0!important;font-size:12px!important}
body.pnmd-nft.home .tdb_loop .page-nav{margin-top:30px!important}
@media(min-width:768px) and (max-width:1150px){
 body.pnmd-nft.home .tdb_loop .td-module-meta-info{padding-inline-start:15px!important}
 body.pnmd-nft.home .tdb_loop .td-module-title{font-size:17px!important;line-height:1.5!important}
 body.pnmd-nft.home .tdb_loop .td-module-title a{max-block-size:3em}
}

/* NFT Pro footer structure: brand + subscription, four link columns, small note. */
body.pnmd-nft .td-footer-template-wrap{background:#001a3d}
body.pnmd-nft .nft-footer--demo{background:#001a3d;color:#fff;margin:0;padding:48px 24px 24px;line-height:1.6;text-align:start}
.nft-footer--demo .nft-footer-inner{max-width:1352px;margin:auto}
.nft-footer--demo .nft-footer-top{display:grid;grid-template-columns:250px minmax(0,1fr);align-items:center;gap:50px;padding-bottom:38px;border-bottom:1px solid #ffffff30}
.nft-footer--demo .nft-footer-mark{margin:0;display:block}
.nft-footer--demo .nft-footer-mark img{display:block;width:240px;height:88px;object-fit:contain;filter:grayscale(1) invert(1);mix-blend-mode:screen}
.nft-footer--demo .nft-footer-subscribe{min-width:0}
.nft-footer--demo .fluentform fieldset{min-inline-size:0!important;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0;align-items:start}
.nft-footer--demo .fluentform .ff-el-input--label{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.nft-footer--demo .fluentform .ff-el-group{margin:0!important}
.nft-footer--demo .fluentform input[type=email]{height:54px!important;background:#003375!important;color:#fff!important;border:0!important;border-radius:0!important;padding:0 18px!important;font-size:15px!important;box-shadow:none!important;text-align:start}
.nft-footer--demo .fluentform input[type=email]::placeholder{color:#c5ddf0;opacity:1}
.nft-footer--demo .fluentform .ff-btn-submit{height:54px!important;background:#c5ddf0!important;color:#001a3d!important;border:0!important;border-radius:0!important;padding:0 25px!important;font-size:15px!important;font-weight:800!important;white-space:nowrap;box-shadow:none!important}
.nft-footer--demo .fluentform .error,.nft-footer--demo .fluentform .ff-el-error{color:#ffb5b5!important}
.nft-footer--demo .nft-footer-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:35px;padding:46px 0;border-bottom:1px solid #ffffff30}
.nft-footer--demo .nft-footer-links h2{font-size:18px;font-weight:500;color:#9fc4e8;line-height:1.6;margin:0 0 22px;text-align:start}
.nft-footer--demo .nft-footer-links a{display:block;color:#fff;font-size:21px;font-weight:800;line-height:1.65;margin:0 0 8px;text-align:start}
.nft-footer--demo .nft-footer-links a:hover{color:#c5ddf0!important}
.nft-footer--demo .nft-footer-follow a{display:flex;align-items:center;gap:17px}
.nft-footer--demo .nft-footer-follow svg,.nft-footer--demo .nft-social-symbol{width:21px;height:22px;flex:0 0 21px}
.nft-footer--demo .nft-social-symbol{font:900 25px/22px Arial,sans-serif;text-align:center}
.nft-footer--demo .nft-footer-note{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 18px;padding-top:25px;color:#b9cce2;font-size:12px}
.nft-footer--demo .nft-footer-note a{display:inline;margin:0;color:#fff;font-size:12px}
@media(max-width:1018px){
 .nft-footer--demo .nft-footer-top{grid-template-columns:190px minmax(0,1fr);gap:25px}
 .nft-footer--demo .nft-footer-mark img{width:180px}
 .nft-footer--demo .nft-footer-links{gap:20px}
 .nft-footer--demo .nft-footer-links a{font-size:17px}
 .nft-footer--demo .fluentform .ff-btn-submit{padding:0 16px!important;font-size:13px!important}
}
@media(max-width:767px){
 body.pnmd-nft.home .tdb_loop .tdb-block-inner{gap:28px 20px}
 body.pnmd-nft.home .tdb_loop .td-module-container{flex-direction:column!important;height:auto!important}
 body.pnmd-nft.home .tdb_loop .td-image-container{width:100%!important;max-width:100%;flex:0 0 100%!important}
 body.pnmd-nft.home .tdb_loop .td-module-meta-info{width:100%!important;flex:1 1 auto!important;padding:18px 0 0!important}
 body.pnmd-nft.home .tdb_loop .td-module-title{font-size:20px!important}
 body.pnmd-nft .nft-footer--demo{padding:32px 20px 20px}
 .nft-footer--demo .nft-footer-top{grid-template-columns:1fr;gap:25px;padding-bottom:30px}
 .nft-footer--demo .nft-footer-mark img{width:200px;height:72px}
 .nft-footer--demo .nft-footer-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 20px;padding:30px 0}
 .nft-footer--demo .nft-footer-links h2{font-size:16px;margin-bottom:15px}
 .nft-footer--demo .nft-footer-links a{font-size:17px}
 .nft-footer--demo .nft-footer-note{justify-content:flex-start;font-size:11px}
}
@media(max-width:540px){
 body.pnmd-nft.home .tdb_loop .tdb-block-inner{grid-template-columns:minmax(0,1fr)}
 .nft-footer--demo .fluentform fieldset{grid-template-columns:1fr;gap:10px}
 .nft-footer--demo .fluentform .ff-btn-submit{width:100%}
}

/* Arabic category cards: contain the text column and keep its gutter beside the image. */
body.pnmd-nft.archive.rtl .tdb-category-loop-posts .td-module-meta-info{
 width:50%!important;
 flex:1 1 50%;
 min-width:0;
 box-sizing:border-box;
 overflow:hidden;
 padding:0 24px 0 0!important;
 direction:rtl;
 text-align:right!important;
 align-items:flex-start;
}
body.pnmd-nft.archive.rtl .tdb-category-loop-posts .entry-title{
 width:100%;
 font-size:23px!important;
 line-height:1.45!important;
 text-align:right!important;
}
body.pnmd-nft.archive.rtl .tdb-category-loop-posts .td-module-title a{
 display:-webkit-box;
 max-block-size:2.9em;
 overflow:hidden;
 -webkit-box-orient:vertical;
 -webkit-line-clamp:2;
 line-clamp:2;
}
@media(min-width:768px) and (max-width:1018px){
 body.pnmd-nft.archive.rtl .tdb-category-loop-posts .td-module-meta-info{padding-inline-start:16px!important}
 body.pnmd-nft.archive.rtl .tdb-category-loop-posts .entry-title{font-size:18px!important;line-height:1.4!important}
}
@media(max-width:767px){
 body.pnmd-nft.archive.rtl .tdb-category-loop-posts .td-module-meta-info{width:100%!important;flex:1 1 auto;padding:22px 0 0!important}
 body.pnmd-nft.archive.rtl .tdb-category-loop-posts .entry-title{font-size:20px!important;line-height:1.55!important}
 body.pnmd-nft.archive.rtl .tdb-category-loop-posts .td-module-title a{max-block-size:3.1em;-webkit-line-clamp:2;line-clamp:2}
}

/* Institutional inner pages — aligned with the NFT Pro editorial language. */
body:is(.about,.join,.contact,.support,.platforms) .td-main-content-wrap{padding-top:0!important;background:#fff}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-about-wrap{font-family:'Cairo',sans-serif}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-about-wrap>.vc_column{padding-inline:28px}
body:is(.about,.join,.contact,.support,.platforms) :is(.pnmd-about-hero-row,.pnmd-join-hero-row,.pnmd-contact-hero-row,.pnmd-support-hero-row,.pnmd-platforms-hero-row){padding-block:78px 72px!important}
body:is(.about,.join,.contact,.support,.platforms) :is(.pnmd-about-hero-row,.pnmd-join-hero-row,.pnmd-contact-hero-row,.pnmd-support-hero-row,.pnmd-platforms-hero-row)>.td-element-style{background:#003375!important}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-about-hero{max-inline-size:1080px;margin-inline:0 auto;text-align:start!important;padding-inline-start:26px;border-inline-start:4px solid #9fc4e8}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-about-hero .kicker{display:block;width:max-content;border:0;border-radius:0;padding:0;margin:0 0 14px;color:#9fc4e8;font-size:14px;font-weight:700;letter-spacing:0}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-about-hero h1{max-inline-size:900px;margin:0 0 16px;color:#fff!important;font-size:clamp(34px,4.7vw,58px);font-weight:900;line-height:1.35;text-align:start!important}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-about-hero .lede{max-inline-size:800px;margin:0;color:#dce7f4;font-size:18px;line-height:2;text-align:start!important}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-about-stats{justify-content:flex-start;margin-top:34px}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-about-stats .stat{border-radius:0;border-color:#5b9bd577;border-block-start:3px solid #9fc4e8;background:#001a3d;padding:16px 26px;text-align:start}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-about-sec{max-inline-size:1200px;padding-block:70px!important}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-about-sec .sec-head{text-align:start!important;margin-block-end:38px}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-about-sec .sec-head .eyebrow{color:#0b4ea2;font-size:14px;font-weight:700;letter-spacing:0;margin-bottom:7px}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-about-sec .sec-head h2{display:inline-block;color:#001a3d!important;font-size:clamp(27px,3.4vw,40px);font-weight:900;line-height:1.4;padding-bottom:15px;text-align:start!important}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-about-sec .sec-head h2::after{inset-inline-start:0;transform:none;width:72px;height:4px;border-radius:0;background:#003375}
body:is(.about,.join,.contact,.support,.platforms) :is(.pnmd-vm .card,.pnmd-goals .goal,.pnmd-tracks .track,.pnmd-portals .portal,.pnmd-contact-cards .cc,.pnmd-contact-form,.pnmd-contact-aside,.pnmd-contact-aside .person,.pnmd-platform-grid .pf,.pnmd-spend .sp,.pnmd-bank,.pnmd-places .place){border-radius:0!important;box-shadow:none!important}
body:is(.about,.join,.contact,.support,.platforms) :is(.pnmd-vm .card,.pnmd-goals .goal,.pnmd-portals .portal,.pnmd-contact-cards .cc,.pnmd-platform-grid .pf,.pnmd-spend .sp,.pnmd-places .place){border:1px solid #dce4ee;border-block-start:4px solid #003375;background:#fff;padding:30px 27px}
body:is(.about,.join,.contact,.support,.platforms) :is(.pnmd-vm .ic,.pnmd-portals .ic,.pnmd-contact-cards .ic,.pnmd-platform-grid .ic,.pnmd-places .pin,.pnmd-spend .sp::before){border-radius:0!important;background:#e8f0fa;color:#003375}
body:is(.about,.join,.contact,.support,.platforms) :is(.pnmd-vm .card,.pnmd-goals .goal,.pnmd-portals .portal,.pnmd-contact-cards a.cc,.pnmd-platform-grid .pf):hover{transform:none;box-shadow:none;border-color:#5b9bd5;border-block-start-color:#003375}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-tracks .track{background:#e8f0fa;border-inline-start:5px solid #003375;padding:28px}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-goals .goal::before{border-radius:0;background:#003375}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-about-cta{text-align:start!important;max-inline-size:1000px;margin-inline:0 auto;padding-inline-start:26px;border-inline-start:4px solid #9fc4e8}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-about-cta h2{text-align:start!important;font-size:clamp(28px,3.5vw,42px);font-weight:900}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-about-cta p{max-inline-size:720px;text-align:start!important}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-about-cta .btns{justify-content:flex-start}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-about-cta a.b{border-radius:0;padding:13px 30px}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-steps{gap:30px}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-steps .step{text-align:start;border-block-start:1px solid #5b9bd570;padding-block-start:24px}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-steps .step::before{margin:0 0 16px;border:0;border-radius:0;background:#9fc4e8;color:#001a3d}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-steps :is(h3,p){text-align:start!important}

/* Join page rhythm: reserve dark fields for the opening hero and site footer. */
body.join .pnmd-join-steps-row{padding-block:58px!important}
body.join .pnmd-join-steps-row>.td-element-style{background:#f0f5fb!important}
body.join .pnmd-steps .step{border-block-start:3px solid #b7cce2;padding:25px 24px 0}
body.join .pnmd-steps .step::before{background:#003375;color:#fff}
body.join .pnmd-steps h3{color:#001a3d!important}
body.join .pnmd-steps p{color:#42536b!important}
body.join .pnmd-join-cta-row{padding-block:54px!important}
body.join .pnmd-join-cta-row>.td-element-style{background:#fff!important}
body.join .pnmd-join-cta-row .pnmd-about-cta{max-inline-size:1040px;background:#e8f0fa;border-inline-start:5px solid #003375;padding:34px 38px}
body.join .pnmd-join-cta-row .pnmd-about-cta h2{color:#001a3d!important}
body.join .pnmd-join-cta-row .pnmd-about-cta p{color:#42536b!important}
body.join .pnmd-join-cta-row .pnmd-about-cta a.b1{background:#003375;color:#fff!important}
body.join .pnmd-join-cta-row .pnmd-about-cta a.b1:hover{background:#001a3d;color:#fff!important}
body.join .pnmd-join-cta-row .pnmd-about-cta a.b2{background:transparent;color:#003375!important;border-color:#5b9bd5}
body.join .pnmd-join-cta-row .pnmd-about-cta a.b2:hover{background:#fff;color:#001a3d!important;border-color:#003375}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-contact-cards .cc{text-align:start}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-contact-cards .ic{margin-inline:0 auto}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-contact-form{padding:36px 32px}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-contact-form .ff-el-form-control{border-radius:0}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-contact-form .ff-btn.ff-btn-submit{border-radius:0}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-contact-aside{background:#e8f0fa;padding:36px 30px;border-block-start:5px solid #003375}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-contact-social a{border-radius:0}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-bank .bh{background:#003375;padding:21px 26px}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-bank .row{padding-block:18px}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-agency{text-align:start;max-inline-size:1000px;margin-inline:0 auto;padding-inline-start:26px;border-inline-start:4px solid #9fc4e8}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-agency .badge{border:0;border-radius:0;padding:0;letter-spacing:0;text-align:start}
body:is(.about,.join,.contact,.support,.platforms) .pnmd-agency :is(h2,p,.lic){text-align:start!important}

/* Existing English pages use the standard WordPress editor; give them the same shell. */
body:is(.about-en,.join-en,.contact-en,.support-en,.platforms-en) .td-main-content-wrap{padding:0!important;background:#f5f8fc}
body:is(.about-en,.join-en,.contact-en,.support-en,.platforms-en) .td-main-content-wrap .td-container{width:100%!important;max-width:none!important;padding:0!important}
body:is(.about-en,.join-en,.contact-en,.support-en,.platforms-en) .td-main-content-wrap .td-pb-row{width:100%!important;max-width:none!important;margin:0!important}
body:is(.about-en,.join-en,.contact-en,.support-en,.platforms-en) :is(.td-pb-span8,.td-main-content){width:100%!important;float:none!important}
body:is(.about-en,.join-en,.contact-en,.support-en,.platforms-en) :is(.td-pb-span4,.td-ss-main-sidebar,.td-sidebar){display:none!important}
body:is(.about-en,.join-en,.contact-en,.support-en,.platforms-en) .td-crumb-container{display:none!important}
body:is(.about-en,.join-en,.contact-en,.support-en,.platforms-en) .td-page-header{margin:0;background:#003375;padding:78px max(24px,calc((100vw - 1200px)/2)) 72px;border:0}
body:is(.about-en,.join-en,.contact-en,.support-en,.platforms-en) .td-page-title{max-width:1200px;margin:0 auto!important;color:#fff!important;font-size:clamp(40px,5vw,62px)!important;font-weight:900!important;line-height:1.2!important}
body:is(.about-en,.join-en,.contact-en,.support-en,.platforms-en) .td-page-content{max-width:1200px;margin:auto;padding:68px 24px 90px;color:#42536b;font-size:17px;line-height:1.9}
body:is(.about-en,.join-en,.contact-en,.support-en,.platforms-en) .td-page-content>p:first-child{max-width:850px;margin:0 0 45px;color:#001a3d;font-size:22px;line-height:1.75}
body:is(.about-en,.join-en,.contact-en,.support-en,.platforms-en) .td-page-content h2{margin:55px 0 24px;color:#001a3d!important;font-size:30px!important;font-weight:900!important;line-height:1.35!important;border-block-end:4px solid #003375;padding-block-end:13px}
body:is(.about-en,.join-en,.contact-en,.support-en,.platforms-en) .td-page-content ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:0;padding:0;list-style:none}
body:is(.about-en,.join-en,.contact-en,.support-en,.platforms-en) .td-page-content li{min-width:0;margin:0!important;background:#fff;border:1px solid #dce4ee;border-block-start:4px solid #003375;padding:26px 24px;color:#42536b;font-size:16px;line-height:1.75}
body:is(.about-en,.join-en,.contact-en,.support-en,.platforms-en) .td-page-content li strong{display:block;margin-bottom:6px;color:#003375;font-size:18px}
body:is(.about-en,.join-en,.contact-en,.support-en,.platforms-en) .td-page-content bdi{direction:ltr;unicode-bidi:isolate;overflow-wrap:anywhere}
@media(max-width:767px){
 body:is(.about,.join,.contact,.support,.platforms) .pnmd-about-wrap>.vc_column{padding-inline:20px}
 body:is(.about,.join,.contact,.support,.platforms) :is(.pnmd-about-hero-row,.pnmd-join-hero-row,.pnmd-contact-hero-row,.pnmd-support-hero-row,.pnmd-platforms-hero-row){padding-block:50px 46px!important}
 body:is(.about,.join,.contact,.support,.platforms) .pnmd-about-hero{padding-inline-start:18px}
 body:is(.about,.join,.contact,.support,.platforms) .pnmd-about-hero h1{font-size:34px}
 body:is(.about,.join,.contact,.support,.platforms) .pnmd-about-hero .lede{font-size:16px}
 body:is(.about,.join,.contact,.support,.platforms) .pnmd-about-sec{padding-block:48px!important}
 body:is(.about,.join,.contact,.support,.platforms) :is(.pnmd-vm .card,.pnmd-goals .goal,.pnmd-portals .portal,.pnmd-contact-cards .cc,.pnmd-platform-grid .pf,.pnmd-spend .sp,.pnmd-places .place){padding:24px 20px}
 body:is(.about,.join,.contact,.support,.platforms) .pnmd-about-cta{padding-inline-start:18px}
 body.join .pnmd-join-steps-row{padding-block:42px!important}
 body.join .pnmd-steps .step{padding:20px 18px 0}
 body.join .pnmd-join-cta-row{padding-block:38px!important}
 body.join .pnmd-join-cta-row .pnmd-about-cta{padding:26px 22px}
 body:is(.about-en,.join-en,.contact-en,.support-en,.platforms-en) .td-page-header{padding:50px 20px 46px}
 body:is(.about-en,.join-en,.contact-en,.support-en,.platforms-en) .td-page-title{font-size:38px!important}
 body:is(.about-en,.join-en,.contact-en,.support-en,.platforms-en) .td-page-content{padding:44px 20px 65px}
 body:is(.about-en,.join-en,.contact-en,.support-en,.platforms-en) .td-page-content>p:first-child{font-size:19px;margin-bottom:32px}
 body:is(.about-en,.join-en,.contact-en,.support-en,.platforms-en) .td-page-content ul{grid-template-columns:1fr;gap:16px}
}

/* Card headlines are capped at two lines so the news grids stay even.
   Applies to every listing - home, archives, search, related - because the
   archive blocks render as plain td_flex_block, not .tdb-category-loop-posts.
   The homepage hero keeps a third line because it carries the lead story. */
body.pnmd-nft .td_block_wrap .td-module-title a,
body.pnmd-nft [class*="td_module_"] .entry-title a{
 display:-webkit-box;
 max-block-size:3.1em;
 overflow:hidden;
 -webkit-box-orient:vertical;
 -webkit-line-clamp:2;
 line-clamp:2;
}
body.pnmd-nft.home .nft-home-hero .td-module-title a{
 max-block-size:4.65em;
 -webkit-line-clamp:3;
 line-clamp:3;
}

/* The institution's social template is a 2048x1717 square whose top ~24% is a
   white partner-logo band. Cards show a 16:9 window centred on that artwork so
   the band falls outside the frame. Display-only: the source files keep the
   logos, and og:image still points at the uncropped square, which is what
   social platforms render when an article is shared. */
body.pnmd-nft .td-image-wrap{
 padding-bottom:56.25%!important;
}
body.pnmd-nft .entry-thumb{
 background-position:center center!important;
 background-size:cover!important;
}

/* Section heading sits at the start of its row, so its action belongs at the
   far end - logical, so it follows the text direction instead of hard-coding. */
body.pnmd-nft .nft-partnership-section .tdm_block_button,
body.pnmd-nft .nft-partnership-section .tdm_block_button > div{
 text-align:end!important;
}

/* Load-more inherited the theme's grey default; align it with the primary
   button, and flip the chevron, which points the wrong way under RTL. */
/* tagDiv emits a per-block `.tdi_NN .td-load-more-wrap a` rule, so the override
   has to out-specify that, not just carry !important. */
body.pnmd-nft .td-load-more-wrap a.td_ajax_load_more{
 display:inline-flex!important;
 align-items:center;
 gap:8px;
 background:#003375!important;
 color:#fff!important;
 border:0!important;
 border-radius:0!important;
 padding:13px 26px!important;
 font-size:14px!important;
 font-weight:800!important;
 line-height:1.4!important;
}
body.pnmd-nft .td-load-more-wrap a.td_ajax_load_more:hover,
body.pnmd-nft .td-load-more-wrap a.td_ajax_load_more:focus-visible{
 background:#001a3d!important;
 color:#fff!important;
}
body.pnmd-nft .td_ajax_load_more .td-load-more-icon{
 margin:0!important;
}
body.pnmd-nft.rtl .td_ajax_load_more .td-load-more-icon{
 transform:scaleX(-1);
}

/* Direct navigation remains visible at every width, without an Explore menu. */
.nft-header .nft-main-links{gap:18px;flex-wrap:wrap;justify-content:center;min-width:0}
.nft-header .nft-nav{min-width:0;gap:18px}
.nft-header .nft-search{flex:0 0 auto}
.nft-header .nft-search summary{padding:8px}
@media(max-width:1179px){
 .nft-header{flex-wrap:wrap}
 .nft-header .nft-brand{flex:1}
 .nft-header .nft-nav{order:3;flex-basis:100%;border-top:1px solid #e8edf3;padding-top:12px}
}
@media(max-width:767px){
 .nft-header .nft-nav{align-items:flex-start;gap:8px}
 .nft-header .nft-main-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));flex:1;gap:5px 8px;overflow:visible}
 .nft-header .nft-main-links a,.nft-header .nft-main-links a:last-child{display:block;font-size:11px;line-height:1.7;padding:7px 0;white-space:normal;text-align:start}
 .nft-header .nft-search form{inset-inline:16px;width:auto;padding:18px}
}

/* Phone header: the logo and a menu button. The menu opens under them with the search, the direct
   links, the language switch and the join button. From 768px the button is hidden and nothing changes. */
.nft-menu-toggle{display:none}
@media(max-width:767px){
 .nft-header{align-items:center;gap:0 12px;padding:10px 16px;min-height:0}
 .nft-header .nft-brand{flex:1 1 auto;min-width:0}
 .nft-header .nft-brand img{width:170px;height:60px}
 .nft-header .nft-menu-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:0;margin:0;border:1px solid #d5dde6;border-radius:0;background:#fff;color:#101820;cursor:pointer}
 .nft-header .nft-menu-toggle:focus-visible{outline:2px solid #003375;outline-offset:2px}
 .nft-header .nft-menu-toggle .nft-icon-close,.nft-header.is-open .nft-menu-toggle .nft-icon-open{display:none}
 .nft-header.is-open .nft-menu-toggle .nft-icon-close{display:block}
 .nft-header:not(.is-open) .nft-nav,.nft-header:not(.is-open) .nft-header-actions{display:none}
 .nft-header .nft-nav{order:3;flex:0 0 100%;display:flex;flex-direction:column;align-items:stretch;gap:0;margin-top:10px;padding-top:0;border-top:1px solid #e8edf3}
 .nft-header .nft-search{order:-1;flex:none}
 .nft-header.has-menu-js .nft-search summary{display:none}
 .nft-header .nft-search form{position:static;inset:auto;width:auto;margin:0;padding:12px 0 4px;box-shadow:none;background:none}
 .nft-header.has-menu-js .nft-search label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .nft-header .nft-main-links{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;overflow:visible}
 .nft-header .nft-main-links a,.nft-header .nft-main-links a:last-child{display:block;font-size:16px;line-height:1.5;padding:12px 0;white-space:normal;text-align:start;border-bottom:1px solid #eef0f2}
 .nft-header .nft-header-actions{order:4;flex:0 0 100%;display:flex;gap:10px;padding:14px 0 6px}
 .nft-header .nft-header-actions>*{flex:1 1 0;min-width:0}
 .nft-header .pnmd-lang a,.nft-header .nft-join,.nft-header .nft-donate{display:flex;align-items:center;justify-content:center;min-height:46px;padding:0 12px;font-size:15px}
 .nft-header .pnmd-lang a{border:1px solid #b6c5d5}
}

/* Partners page (/partners/, /en/partners-en/): a card per partner with its logo and name, linking to
   its website. Built by _pnmd-scripts/build-partners.php. */
.pnmd-about-wrap .pnmd-partner-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px}
.pnmd-about-wrap .pnmd-partner-grid li{margin:0;padding:0;min-width:0;list-style:none}
.pnmd-partner-grid .pt{display:flex;flex-direction:column;align-items:center;gap:12px;height:100%;box-sizing:border-box;padding:18px 14px 16px;background:#fff;border:1px solid var(--pnmd-rule);border-radius:12px;text-decoration:none;transition:box-shadow .2s ease,transform .2s ease,border-color .2s ease}
.pnmd-partner-grid a.pt:hover{box-shadow:0 12px 28px rgba(0,26,61,.11);transform:translateY(-2px);border-color:var(--pnmd-sky)}
.pnmd-partner-grid a.pt:focus-visible{outline:2px solid var(--pnmd-navy);outline-offset:3px}
.pnmd-partner-grid .lg{display:flex;align-items:center;justify-content:center;width:100%;height:92px}
.pnmd-partner-grid .lg img{display:block;max-width:100%;max-height:92px;width:auto;height:auto;object-fit:contain}
/* Two logos are drawn in white for a dark background: they sit on a navy plate. */
.pnmd-partner-grid .lg.dark{background:var(--pnmd-deep);border-radius:8px;padding:8px 10px;box-sizing:border-box}
.pnmd-partner-grid .nm{font-size:13.5px;font-weight:700;line-height:1.6;color:var(--pnmd-ink);text-align:center;overflow-wrap:anywhere}
.pnmd-partner-grid .nm bdi{white-space:nowrap}
@media(max-width:767px){
 .pnmd-about-wrap .pnmd-partner-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .pnmd-partner-grid .pt{padding:14px 10px 12px;gap:10px}
 .pnmd-partner-grid .lg{height:70px}
 .pnmd-partner-grid .lg img{max-height:70px}
 .pnmd-partner-grid .nm{font-size:12.5px}
}
@media(prefers-reduced-motion:reduce){.pnmd-partner-grid .pt{transition:none}.pnmd-partner-grid a.pt:hover{transform:none}}

/* Header submenus (الشراكات > شركاؤنا, من نحن > كلمة رئيس مجلس الإدارة). Hover and keyboard focus open
   them; the chevron opens them on touch screens. On phones they sit open inside the menu. */
.nft-header .nft-menu-item{position:relative;display:flex;align-items:center;gap:2px}
.nft-header .nft-sub-toggle{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;margin:0;border:0;border-radius:0;background:none;color:#526379;cursor:pointer}
.nft-header .nft-sub-toggle svg{transition:transform .2s ease}
.nft-header .nft-menu-item:is(:hover,:focus-within,.is-open) .nft-sub-toggle svg{transform:rotate(180deg)}
.nft-header .nft-sub{position:absolute;inset-block-start:calc(100% + 12px);inset-inline-start:-16px;z-index:120;min-width:220px;padding:8px 0;background:#fff;border-block-start:3px solid #003375;box-shadow:0 14px 30px #001a3d1f;display:none}
.nft-header .nft-sub::before{content:"";position:absolute;inset-inline:0;inset-block-end:100%;height:15px}
.nft-header .nft-menu-item:is(:hover,:focus-within,.is-open) .nft-sub{display:block}
.nft-header .nft-sub a{display:block;padding:10px 18px;font-size:14px;font-weight:700;white-space:nowrap;color:#101820}
.nft-header .nft-sub a:hover{background:#e8f0fa;color:#003375}
/* «ادعمنا» is red so a visitor sees at once that the organisation takes donations; it opens the bank table. */
.nft-header .nft-donate{display:inline-flex;align-items:center;gap:8px;background:#c8102e;color:#fff;padding:12px 18px}
.nft-header .nft-donate:hover{background:#9e0c24;color:#fff}
.nft-header .nft-donate svg{flex:0 0 auto}
@media(min-width:768px) and (max-width:1150px){.nft-header .nft-donate{padding:10px 12px}}
@media(max-width:767px){
 .nft-header .nft-menu-item{display:block}
 .nft-header .nft-sub-toggle{display:none}
 .nft-header .nft-sub{position:static;display:block;min-width:0;padding:0;border:0;box-shadow:none;background:none}
 .nft-header .nft-sub::before{content:none}
 /* The first child repeats its parent link, which sits right above it. */
 .nft-header .nft-sub a:first-child{display:none}
 .nft-header .nft-main-links .nft-sub a{padding-inline-start:18px;font-size:15px;font-weight:700;color:#42536b}
}

/* Filled buttons keep a white label on hover. style.css turns every link #0B4EA2 on hover with !important
   (.td-theme-wrap a:hover): right for text links, but on these it left blue on navy or red. */
.td-theme-wrap .nft-header .nft-donate:hover,
.td-theme-wrap .nft-header .nft-join:hover,
.td-theme-wrap .pnmd-chair .pnmd-chair-more:hover,
.td-theme-wrap .pnmd-contact-social a:hover{color:#fff!important}
/* Category labels: some blocks («آخر الأخبار», search) set a transparent hover background, so the white
   label vanished under the pointer. Hover is the darker blue style.css means it to be. */
body.pnmd-nft .td-theme-wrap .td-post-category:hover{background-color:var(--pnmd-hover)!important;color:#fff!important}
/* Post tags were white on pale blue (1.4:1): navy on the chip, white on navy under the pointer. */
.td-theme-wrap .tdb_single_tags .tdb-tags a{color:#001a3d!important}
.td-theme-wrap .tdb_single_tags .tdb-tags a:hover{background-color:#003375!important;color:#fff!important}

/* Story images zoom in a little under the pointer or keyboard focus, on every story card. */
body.pnmd-nft .td-module-thumb{overflow:hidden}
body.pnmd-nft .td-module-thumb .entry-thumb{transition:transform .6s cubic-bezier(.2,.7,.2,1)}
body.pnmd-nft .td-module-container:is(:hover,:focus-within) .td-module-thumb .entry-thumb{transform:scale(1.06)}
.pa-photo{overflow:hidden}
.pa-photo img{transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.pa-story:is(:hover,:focus-within) .pa-photo img{transform:scale(1.06)}

/* WhatsApp button (nft-layout.php). The ring repeats so the button reads as live; back-to-top moves to
   the other corner. Green #189d4a keeps 3.5:1 against both the white glyph and the page. */
.pnmd-wa{position:fixed;inset-block-end:20px;inset-inline-start:20px;z-index:9998;display:flex;align-items:center;justify-content:center;width:58px;height:58px;border-radius:50%;background:#189d4a;color:#fff;box-shadow:0 8px 22px #0b3d2140}
.pnmd-wa::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:#189d4a;animation:pnmd-wa-ring 2.4s cubic-bezier(.2,.7,.2,1) infinite}
.pnmd-wa svg{animation:pnmd-wa-nudge 4.8s ease-in-out infinite}
.pnmd-wa:hover{background:#148a40;color:#fff}
.pnmd-wa:focus-visible{outline:3px solid #003375;outline-offset:3px}
@keyframes pnmd-wa-ring{0%{transform:scale(1);opacity:.5}80%,100%{transform:scale(1.65);opacity:0}}
@keyframes pnmd-wa-nudge{0%,84%,100%{transform:none}88%{transform:rotate(-12deg)}92%{transform:rotate(10deg)}96%{transform:rotate(-6deg)}}
body.pnmd-nft .td-scroll-up{inset-inline-start:auto!important;inset-inline-end:5px!important}
@media(max-width:767px){.pnmd-wa{width:52px;height:52px;inset-block-end:16px;inset-inline-start:16px}.pnmd-wa svg{width:27px;height:27px}}
@media print{.pnmd-wa{display:none}}

/* Support pages: a copy button beside the account number and each IBAN; the row lifts under the pointer. */
.pnmd-bank{scroll-margin-block-start:24px}
.pnmd-bank .row:has(.has-copy){transition:background-color .15s ease}
.pnmd-bank .row:has(.has-copy):hover{background:#f3f7fc}
.pnmd-bank .row:has(.has-copy):hover bdi{color:#003375;font-weight:700}
.pnmd-bank .has-copy{display:inline-flex;align-items:center;gap:10px}
.pnmd-bank .pnmd-copy{display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:34px;padding:0;margin:0;border:1px solid #c9d6e4;border-radius:0;background:#fff;color:#003375;cursor:pointer;transition:background-color .15s ease,border-color .15s ease}
.pnmd-bank .pnmd-copy:hover{background:#e8f0fa;border-color:#5b9bd5}
.pnmd-bank .pnmd-copy .ic-done{display:none}
.pnmd-bank .pnmd-copy.is-done{background:#e6f4ea;border-color:#2e7d4f;color:#1e6b3c}
.pnmd-bank .pnmd-copy.is-done .ic-copy{display:none}
.pnmd-bank .pnmd-copy.is-done .ic-done{display:block}
@media(max-width:767px){.pnmd-bank .pnmd-copy{flex-basis:40px;width:40px;height:40px}}
/* The organisation's QR beside the bank table (_pnmd-scripts/add-support-qr.php). Phones get it under the
   table, smaller, with the link that matters on the same device. */
.pnmd-bank-wrap{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:28px;align-items:start;max-inline-size:1180px;margin-inline:auto}
.pnmd-bank-wrap .pnmd-bank{max-inline-size:none;margin:0}
.pnmd-qr{box-sizing:border-box;padding:26px 24px;background:#fff;border:1px solid var(--pnmd-rule);border-block-start:4px solid #003375;text-align:center}
.pnmd-qr svg{display:block;width:100%;max-inline-size:230px;height:auto;margin:0 auto 18px}
.pnmd-qr h3{margin:0 0 8px;color:#001a3d;font-size:18px;font-weight:900;line-height:1.5;text-align:center!important}
.pnmd-qr p{margin:0 0 14px;color:#42536b;font-size:14px;line-height:1.85;text-align:center!important}
.pnmd-qr a{display:inline-block;padding:9px 16px;background:#003375;color:#fff!important;font-size:14px;font-weight:800}
.td-theme-wrap .pnmd-qr a:hover{background:#001a3d;color:#fff!important}
@media(max-width:900px){.pnmd-bank-wrap{grid-template-columns:1fr}.pnmd-qr{max-inline-size:420px;margin-inline:auto;inline-size:100%}}
@media(max-width:767px){.pnmd-qr svg{max-inline-size:170px}}

/* Partner strip ([pnmd_partner_strip], partners.php): every logo in one moving row. RTL runs it the other
   way, since the row overflows to the left there. */
.pnmd-pstrip{max-width:1352px;margin:0 auto;padding:10px 0}
.pnmd-pstrip-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px 24px;margin-bottom:26px}
.pnmd-pstrip-head h2{margin:0;padding:6px 26px;background:#003375;color:#fff;font-size:26px;font-weight:900;line-height:1.6}
.pnmd-pstrip-head a{color:#003375;font-size:15px;font-weight:800}
.pnmd-pstrip-head a:hover{color:#001a3d;text-decoration:underline}
.pnmd-pstrip-view{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
.pnmd-pstrip-track{display:flex;width:max-content;animation:pnmd-marquee 150s linear infinite}
.rtl .pnmd-pstrip-track{animation-name:pnmd-marquee-rtl}
.pnmd-pstrip-view:hover .pnmd-pstrip-track,.pnmd-pstrip:focus-within .pnmd-pstrip-track{animation-play-state:paused}
.pnmd-pstrip-track ul{display:flex;margin:0;padding:0;list-style:none}
.pnmd-pstrip-track li{flex:0 0 auto;display:flex;align-items:center;justify-content:center;width:190px;height:104px;padding:0 24px;margin:0;box-sizing:border-box;list-style:none}
.pnmd-pstrip-track img{display:block;max-width:100%;max-height:76px;width:auto;height:auto;object-fit:contain;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.pnmd-pstrip-track li.dark img{background:#001a3d;padding:6px 10px;border-radius:6px}
.pnmd-pstrip-track li:hover img{transform:scale(1.12)}
@keyframes pnmd-marquee{to{transform:translateX(-50%)}}
@keyframes pnmd-marquee-rtl{to{transform:translateX(50%)}}
@media(max-width:767px){
 .pnmd-pstrip-head h2{font-size:22px;padding:5px 18px}
 .pnmd-pstrip-track li{width:150px;height:86px;padding:0 18px}
 .pnmd-pstrip-track img{max-height:60px}
}
/* Reduced motion: the row stands still and scrolls by hand, without the duplicate run. */
@media(prefers-reduced-motion:reduce){
 .pnmd-pstrip .pnmd-pstrip-track{animation:none}
 .pnmd-pstrip-view{overflow-x:auto;-webkit-mask-image:none;mask-image:none}
 .pnmd-pstrip-track ul[aria-hidden]{display:none}
}

/* Partners page: logos zoom under the pointer; cards rise in as they scroll into view (script in partners.php). */
.pnmd-partner-grid .lg img{transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.pnmd-partner-grid a.pt:is(:hover,:focus-visible) .lg img{transform:scale(1.08)}
.pnmd-partner-grid.is-reveal li{opacity:0;transform:translateY(18px)}
.pnmd-partner-grid.is-reveal li.is-in{opacity:1;transform:none;transition:opacity .6s ease var(--pnmd-delay,0ms),transform .6s cubic-bezier(.2,.7,.2,1) var(--pnmd-delay,0ms)}

/* Homepage lead (el_class nft-home-lead, set by _pnmd-scripts/home-lead.php): the lead story stacks its
   image over the headline, beside four smaller stories in two rows. */
body.pnmd-nft .nft-home-lead .td-image-container{width:100%!important}
body.pnmd-nft .nft-home-lead .td-module-meta-info{padding:22px 0 0!important}
body.pnmd-nft .nft-home-lead .td-module-title{font-size:34px!important}
body.pnmd-nft .nft-home-small .td_module_wrap{padding-bottom:34px!important}
@media(min-width:768px) and (max-width:1150px){body.pnmd-nft .nft-home-lead .td-module-title{font-size:26px!important}}
@media(max-width:767px){body.pnmd-nft .nft-home-lead .td-module-title{font-size:27px!important}}

/* Homepage background: the mark (pnmd-icon-512) behind the opening stories, at 4.5% so it never competes
   with them, drifting over 28s. It sits under the content in its own stacking context, and the wrap clips
   it sideways without becoming a scroll container. */
body.pnmd-nft.home .tdc-content-wrap{position:relative;isolation:isolate;overflow-x:clip}
.pnmd-home-mark{position:absolute;z-index:-1;inset-block-start:-60px;inset-inline-end:-170px;width:min(780px,72vw);aspect-ratio:1;background:url(/wp-content/uploads/2026/08/pnmd-icon-512.png) center/contain no-repeat;opacity:.045;pointer-events:none;animation:pnmd-mark-drift 28s ease-in-out infinite alternate}
@keyframes pnmd-mark-drift{from{transform:translate3d(0,0,0) rotate(0)}to{transform:translate3d(24px,46px,0) rotate(-7deg)}}
@media(max-width:767px){.pnmd-home-mark{inset-block-start:-20px;inset-inline-end:-120px;width:420px;opacity:.035}}
/* The press helmet and vest (press-gear.png, from the client, white keyed out) stand beside the mark,
   a little stronger so the shape reads, swaying on its own slower beat. */
.pnmd-home-gear{position:absolute;z-index:-1;inset-block-start:250px;inset-inline-end:16%;width:215px;aspect-ratio:164/439;background:url(press-gear.png?v=1) center/contain no-repeat;opacity:.11;pointer-events:none;animation:pnmd-gear-sway 34s ease-in-out infinite alternate}
@keyframes pnmd-gear-sway{from{transform:translate3d(0,0,0) rotate(-3deg)}to{transform:translate3d(0,38px,0) rotate(3deg)}}
@media(max-width:767px){.pnmd-home-gear{width:130px;inset-inline-end:2%;opacity:.07}}

/* Chairman's word (.pnmd-chair): opens the About page, and carries the whole message on its own page
   (_pnmd-scripts/build-chairman.php). Photo on the start side, the words beside it. */
.pnmd-about-wrap .pnmd-chair{display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:56px;align-items:center;max-inline-size:1120px}
.pnmd-chair-photo{margin:0;position:relative}
.pnmd-chair-photo img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
.pnmd-chair-photo::after{content:"";position:absolute;inset-block-end:-14px;inset-inline-end:-14px;width:56%;height:56%;border-block-end:4px solid #003375;border-inline-end:4px solid #003375;pointer-events:none}
.pnmd-chair .sec-head{margin-block-end:22px!important}
.pnmd-chair blockquote{position:relative;margin:0;padding:0;border:0;background:none;color:#001a3d;font-size:clamp(21px,2.3vw,28px);font-weight:700;line-height:1.85;text-align:start}
.pnmd-chair blockquote::before{content:"\201C";display:block;height:42px;color:#5b9bd5;font:700 82px/1 Georgia,serif}
.pnmd-chair .pnmd-chair-body p{margin:0 0 18px;color:#24364d;font-size:19px;line-height:2;text-align:start}
.pnmd-chair .pnmd-chair-sign{margin:26px 0 0;padding-block-start:18px;border-block-start:1px solid #dce4ee;text-align:start}
.pnmd-chair .pnmd-chair-sign b{display:block;color:#001a3d;font-size:18px;font-weight:900}
.pnmd-chair .pnmd-chair-sign span{color:#526379;font-size:15px}
.pnmd-chair .pnmd-chair-more{display:inline-block;margin-block-start:22px;padding:12px 26px;background:#003375;color:#fff!important;font-weight:800}
.pnmd-chair .pnmd-chair-more:hover{background:#001a3d}
@media(max-width:900px){
 .pnmd-about-wrap .pnmd-chair{grid-template-columns:1fr;gap:34px}
 .pnmd-chair-photo{max-inline-size:320px}
}
@media(max-width:767px){.pnmd-chair .pnmd-chair-body p{font-size:17px}.pnmd-chair-photo{max-inline-size:260px}}

/* About page map ([pnmd_presence_map], pnmd-map.php): drawing on one side, the governorates on the other. */
.pnmd-map{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:44px;align-items:start;margin-block-start:40px}
.pnmd-map-figure{margin:0;padding:20px;background:#fff;border:1px solid #dce4ee}
.pnmd-map svg{display:block;width:100%;height:auto;direction:ltr}
.pnmd-map .govs path{fill:#dbe7f5;stroke:#fff;stroke-width:1.3;stroke-linejoin:round;transition:fill .2s ease}
.pnmd-map .govs path.is-lit,.pnmd-map .govs path:hover{fill:#9fc4e8}
.pnmd-map .reps circle{fill:#003375;stroke:#fff;stroke-width:2}
.pnmd-map :is(.hq,.branch) .core{stroke:#fff;stroke-width:3}
.pnmd-map .hq .core{fill:#c8102e}
.pnmd-map .branch .core{fill:#003375}
.pnmd-map .ring{fill:none;stroke-width:2;transform-box:fill-box;transform-origin:center;animation:pnmd-map-ring 2.8s cubic-bezier(.2,.7,.2,1) infinite}
.pnmd-map .hq .ring{stroke:#c8102e}
.pnmd-map .branch .ring{stroke:#003375;animation-delay:1.4s}
.pnmd-map svg text{font:800 15px Cairo,sans-serif;fill:#001a3d;paint-order:stroke;stroke:#fff;stroke-width:5px;stroke-linejoin:round}
@keyframes pnmd-map-ring{0%{transform:scale(1);opacity:.85}100%{transform:scale(2.6);opacity:0}}
.pnmd-map figcaption{margin-block-start:10px;color:#526379;font-size:12px;text-align:start}
.pnmd-map-lede{margin:0 0 18px;color:#24364d;font-size:18px;line-height:1.9;text-align:start}
.pnmd-map-legend{display:flex;flex-wrap:wrap;gap:8px 24px;margin:0 0 30px;padding:0;list-style:none}
.pnmd-map-legend li,.pnmd-map-list li{display:flex;align-items:center;gap:10px;margin:0;list-style:none}
.pnmd-map-legend li{color:#42536b;font-size:14px;font-weight:700}
.pnmd-map .dot{flex:0 0 auto;width:11px;height:11px;border-radius:50%;background:#003375;box-shadow:0 0 0 2px #fff,0 0 0 3px #003375}
.pnmd-map .is-hq .dot{background:#c8102e;box-shadow:0 0 0 2px #fff,0 0 0 3px #c8102e}
.pnmd-map .is-branch .dot{width:13px;height:13px}
.pnmd-map-side h3{margin:0 0 12px;color:#001a3d;font-size:20px;font-weight:900;text-align:start}
.pnmd-map-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px;margin:0;padding:0}
.pnmd-map-list li{min-width:0;padding:9px 6px;border-block-end:1px solid #dfe7f0;color:#101820;font-size:15px;font-weight:700;transition:background-color .15s ease}
.pnmd-map-list li.is-lit{background:#e8f0fa;color:#003375}
.pnmd-map-list .tag{margin-inline-start:auto;color:#526379;font-size:12px;font-weight:700;white-space:nowrap}
@media(max-width:900px){.pnmd-map{grid-template-columns:1fr;gap:28px}.pnmd-map-figure{max-inline-size:480px}}
@media(max-width:767px){.pnmd-map-figure{padding:12px}.pnmd-map-list{gap:0 14px}.pnmd-map-list li{font-size:14px;padding:8px 2px}.pnmd-map-lede{font-size:16px}}

@media(prefers-reduced-motion:reduce){
 .pnmd-map .ring{animation:none;opacity:0}
 .pnmd-home-mark,.pnmd-home-gear{animation:none}
 body.pnmd-nft .td-module-container:is(:hover,:focus-within) .td-module-thumb .entry-thumb,.pa-story:is(:hover,:focus-within) .pa-photo img,.pnmd-pstrip-track li:hover img,.pnmd-partner-grid a.pt:is(:hover,:focus-visible) .lg img{transform:none}
 .pnmd-wa::before,.pnmd-wa svg{animation:none}
}

/* Footer: the organisation's QR (nft-layout.php, the old site's image), its own item after the follow column: a fifth column on
   wide screens, a centred row under the columns below 1200px. */
.nft-footer--demo .nft-footer-follow a span{white-space:nowrap}
.nft-footer--demo .nft-footer-links a.nft-footer-qr{align-self:start;display:flex;flex-direction:column;gap:8px;width:120px;margin:0;padding:8px;box-sizing:border-box;background:#fff;color:#001a3d;font-size:12px;font-weight:800;line-height:1.5;text-align:center}
.nft-footer--demo .nft-footer-qr img{display:block;width:100%;height:auto}
.nft-footer--demo .nft-footer-qr span{white-space:normal}
.td-theme-wrap .nft-footer--demo a.nft-footer-qr:hover{color:#003375!important;outline:2px solid #c5ddf0}
@media(min-width:1200px){.nft-footer--demo .nft-footer-links{grid-template-columns:repeat(4,minmax(0,1fr)) 120px}}
@media(max-width:1199px){.nft-footer--demo .nft-footer-links a.nft-footer-qr{grid-column:1/-1;justify-self:center}}

/* News agency page (/ngo-news/, _pnmd-scripts/build-agency.php): its accounts beside its logo and QR. */
.pnmd-about-hero .pnmd-ngo-lic{margin:16px 0 0;color:#9fc4e8;font-size:15px;font-weight:700;text-align:start}
.pnmd-about-wrap .pnmd-ngo{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:32px;align-items:start;max-inline-size:1180px}
.pnmd-ngo-links{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;margin:0;padding:0;list-style:none}
.pnmd-ngo-links li{margin:0;padding:0;list-style:none;min-width:0}
.pnmd-ngo-links a{display:grid;grid-template-columns:44px minmax(0,1fr);grid-template-rows:auto auto;column-gap:14px;align-items:center;padding:14px 16px;background:#fff;border:1px solid var(--pnmd-rule);color:#101820;transition:border-color .15s ease}
.pnmd-ngo-links svg{grid-row:1/3;width:44px;height:44px;padding:11px;box-sizing:border-box;background:#e8f0fa;color:#003375}
.pnmd-ngo-links b{font-size:16px;font-weight:800;text-align:start}
.pnmd-ngo-links span{min-width:0;color:#526379;font-size:13px;overflow-wrap:anywhere;text-align:start}
.pnmd-ngo-links a:hover{border-color:#003375}
.pnmd-ngo-side{display:grid;gap:18px}
.pnmd-ngo-logo{margin:0;padding:20px;background:#fff;border:1px solid var(--pnmd-rule);text-align:center}
.pnmd-ngo-logo img{display:block;max-width:100%;height:auto;margin:auto}
@media(max-width:900px){.pnmd-about-wrap .pnmd-ngo{grid-template-columns:1fr}.pnmd-ngo-side{max-inline-size:420px;inline-size:100%}}

/* Accessibility panel (pnmd-a11y.php): a button level with WhatsApp in the other corner, a small dialog of display choices. */
.pnmd-a11y-btn{position:fixed;inset-block-end:27px;inset-inline-end:12px;z-index:9998;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;margin:0;border:2px solid #fff;border-radius:50%;background:#003375;color:#fff;cursor:pointer;box-shadow:0 6px 18px #001a3d40}
.pnmd-a11y-btn:hover{background:#001a3d}
.pnmd-a11y-btn:focus-visible,.pnmd-a11y-panel button:focus-visible{outline:3px solid #5b9bd5;outline-offset:2px}
.pnmd-a11y-panel{position:fixed;inset-block-end:82px;inset-inline-end:12px;z-index:10000;box-sizing:border-box;width:min(320px,calc(100vw - 20px));max-height:calc(100vh - 130px);overflow:auto;padding:18px;background:#fff;color:#101820;border-block-start:4px solid #003375;box-shadow:0 18px 40px #001a3d40;font-size:15px;text-align:start}
.pnmd-a11y-panel[hidden]{display:none}
.pnmd-a11y-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.pnmd-a11y-head h2{margin:0;color:#001a3d;font-size:18px;font-weight:900;line-height:1.4}
.pnmd-a11y-panel button{font:inherit;cursor:pointer}
.pnmd-a11y-close{display:flex;padding:6px;margin:0;border:0;background:none;color:#42536b}
.pnmd-a11y-size{display:grid;grid-template-columns:1fr 44px 56px 44px;align-items:center;gap:6px;margin-bottom:12px}
.pnmd-a11y-size span{font-weight:800}
.pnmd-a11y-size button{height:40px;padding:0;margin:0;border:1px solid #b6c5d5;background:#fff;color:#001a3d;font-weight:900;direction:ltr}
.pnmd-a11y-size button:disabled{opacity:.4;cursor:default}
.pnmd-a11y-size output{text-align:center;font-weight:800;direction:ltr}
.pnmd-a11y-modes{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}
.pnmd-a11y-modes button{min-height:44px;padding:8px;margin:0;border:1px solid #b6c5d5;background:#fff;color:#101820;font-size:14px;font-weight:700;line-height:1.4}
.pnmd-a11y-modes button[aria-pressed=true]{background:#003375;border-color:#003375;color:#fff}
.pnmd-a11y-reset{width:100%;min-height:42px;margin:0;border:0;background:#e8f0fa;color:#001a3d;font-weight:800}
/* Level with the WhatsApp button (centres on one line: 20+58/2 = 27+44/2), with back-to-top above it. */
body.pnmd-nft .td-scroll-up{inset-block-end:82px!important}
/* tagDiv hides it by sliding it 70px down, which used to take it off screen; from up here that would park it
   over the accessibility button, so the hidden state also goes invisible and lets clicks through. */
body.pnmd-nft .td-scroll-up:not(.td-scroll-up-visible){visibility:hidden;pointer-events:none}
@media(max-width:767px){.pnmd-a11y-btn{inset-block-end:20px}.pnmd-a11y-panel{inset-block-end:76px}body.pnmd-nft .td-scroll-up{inset-block-end:76px!important}}
@media print{.pnmd-a11y{display:none}}

/* Modes. Text keeps its size here; the script scales it. Every selector carries an id inside :is() (it
   never matches; :is() just takes its specificity), so the modes out-rank the site's own !important colours. Contrast modes repaint every surface but leave
   photos, logos and the QR codes as they are; transparent logos get a white ground on black. */
html:is(.a11y-contrast,#a11y-x) body,html:is(.a11y-contrast,#a11y-x) body *:not(svg):not(svg *):not(img):not(video):not(iframe):not(.pnmd-a11y *){background-color:#fff!important;color:#000!important;border-color:#000!important;text-shadow:none!important;box-shadow:none!important}
html:is(.a11y-contrast,#a11y-x) a:not(.pnmd-a11y *){color:#00188f!important;text-decoration:underline!important}
html:is(.a11y-dark,#a11y-x) body,html:is(.a11y-dark,#a11y-x) body *:not(svg):not(svg *):not(img):not(video):not(iframe):not(.pnmd-a11y *){background-color:#000!important;color:#fff!important;border-color:#fff!important;text-shadow:none!important;box-shadow:none!important}
html:is(.a11y-dark,#a11y-x) a:not(.pnmd-a11y *){color:#ffe14d!important;text-decoration:underline!important}
html:is(.a11y-dark,#a11y-x) img{background-color:#fff}
html:is(.a11y-contrast,.a11y-dark,#a11y-x) :is(button:not(.nft-sub-toggle),.tdm_block_icon_box,.nft-join,.nft-donate,.td-post-category,.tdm-btn,.pnmd-chair-more,.pnmd-qr a,.pnmd-wa,.nft-search-fields button):not(.pnmd-a11y *){border:2px solid currentColor!important}
html:is(.a11y-contrast,.a11y-dark,#a11y-x) :is(.pnmd-home-mark,.pnmd-home-gear){display:none}
/* Click layers stretched over a whole card (tagDiv's icon boxes) carry no text: painting them would hide the card. */
html:is(.a11y-contrast,.a11y-dark,#a11y-x) body :is(a.icon_box_url_wrap,a:empty):not(#a11y-y){background-color:transparent!important}
/* tagDiv paints row backgrounds on .td-element-style and its pseudo-elements. */
html:is(.a11y-dark,#a11y-x) .td-element-style,html:is(.a11y-dark,#a11y-x) .td-element-style::before,html:is(.a11y-dark,#a11y-x) .td-element-style::after{background:#000!important}
html:is(.a11y-contrast,#a11y-x) .td-element-style,html:is(.a11y-contrast,#a11y-x) .td-element-style::before,html:is(.a11y-contrast,#a11y-x) .td-element-style::after{background:#fff!important}
html:is(.a11y-contrast,#a11y-x) .nft-footer-mark img{filter:none!important;mix-blend-mode:normal!important}
html.a11y-gray{filter:grayscale(1)}
html.a11y-links a:not(.pnmd-a11y *){text-decoration:underline!important;text-underline-offset:3px}
html.a11y-links a:not(.pnmd-a11y *):hover{background-color:#ffe14d!important;color:#000!important}
html.a11y-spacing body :is(p,li,blockquote,.td-module-title,.lede,.entry-title,td){line-height:2.1!important;word-spacing:.14em}
html.a11y-still *,html.a11y-still *::before,html.a11y-still *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}

/* One-row desktop header with «منصاتنا الإعلامية» added (2026-10-31): a slightly tighter fit from 1180px,
   tightest below 1280px, and up to 1480px of width on large screens. Measured: one line of links in
   Arabic and English at 1180, 1280, 1366, 1440 and 1600. */
@media(min-width:1180px){
 .nft-header{gap:14px;padding-inline:16px;max-width:1480px}
 .nft-header .nft-brand{flex-basis:170px}
 .nft-header .nft-brand img{width:170px;height:60px}
 .nft-header .nft-main-links{gap:12px}
 .nft-header .nft-nav{gap:8px}
 .nft-header .nft-header-actions{gap:10px}
 .nft-header .nft-search summary{padding:6px}
 .nft-header .nft-join,.nft-header .nft-donate{padding:10px 13px}
 .nft-header .nft-sub-toggle{width:20px}
}
@media(min-width:1180px) and (max-width:1279px){
 .nft-header{gap:12px;padding-inline:14px}
 .nft-header .nft-brand{flex-basis:160px}
 .nft-header .nft-brand img{width:160px;height:57px}
 .nft-header .nft-main-links{gap:10px}
 .nft-header .nft-nav{gap:6px}
 .nft-header .nft-header-actions{gap:8px}
 .nft-header .nft-join,.nft-header .nft-donate{padding:10px 12px}
 .nft-header .nft-sub-toggle{width:18px}
 .nft-header a,.nft-header summary{font-size:13.5px}
}
