
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');
html,body,button,input,textarea,select,.ms-header,.ms-blog-hero,.ms-featured,.ms-knowledge{
 font-family:'Cairo',Arial,sans-serif!important;
}
/*
Theme Name: MODSERV Blog Child
Theme URI: https://www.modserv.com/blog/
Description: MODSERV visual refresh child theme for Mharty.
Author: MODSERV
Template: mharty
Version: 21.0.0
Text Domain: modserv-blog
*/

:root{
 --ms-navy:#020c24;--ms-navy2:#061735;--ms-blue:#087cff;--ms-blue2:#164dff;
 --ms-purple:#7629ed;--ms-white:#fff;--ms-text:#07152f;--ms-muted:#6a7891;--ms-line:#dfe8f5;
}
body{background:#f7faff;color:var(--ms-text)}
.ms-header{height:78px;background:rgba(2,12,36,.97);position:sticky;top:0;z-index:9999;border-bottom:1px solid rgba(255,255,255,.08);direction:rtl}
.ms-header-inner{width:min(1180px,92%);height:100%;margin:auto;display:flex;align-items:center;gap:28px}
.ms-logo{display:flex;align-items:center;margin-left:auto;color:#fff;font-size:25px;font-weight:900;letter-spacing:.5px}
.ms-logo img{max-height:58px;width:auto;display:block}
.ms-nav{display:flex;align-items:center;gap:22px}
.ms-nav a{color:#fff;font-size:14px;font-weight:700;transition:.2s}
.ms-nav a:hover{color:#66aaff}
.ms-header-actions{display:flex;align-items:center;gap:10px}
.ms-search-toggle{width:42px;height:42px;border:1px solid #25456f;border-radius:10px;background:#071936;color:#fff;cursor:pointer;font-size:16px}
.ms-services-btn{display:inline-flex;align-items:center;background:linear-gradient(135deg,var(--ms-blue),var(--ms-blue2));color:#fff!important;padding:10px 18px;border-radius:10px;font-weight:800}
.ms-menu-toggle{display:none;width:42px;height:42px;border:1px solid #25456f;border-radius:10px;background:#071936;color:#fff;font-size:21px}
.ms-search-panel{display:none;position:absolute;top:78px;left:0;right:0;background:#06152f;padding:18px;border-top:1px solid #18345d}
.ms-search-panel.is-open{display:block}
.ms-search-panel form{width:min(760px,92%);margin:auto;display:flex}
.ms-search-panel input{flex:1;border:0;border-radius:0 10px 10px 0;padding:14px 16px;font-family:inherit}
.ms-search-panel button{border:0;background:var(--ms-blue);color:#fff;padding:0 22px;border-radius:10px 0 0 10px;font-family:inherit;font-weight:800}

.ms-blog-hero{background:radial-gradient(circle at 18% 30%,rgba(32,110,255,.25),transparent 32%),radial-gradient(circle at 80% 20%,rgba(118,41,237,.16),transparent 28%),linear-gradient(125deg,#02091b,#061735);color:#fff;padding:78px 0 70px;text-align:center;position:relative;overflow:hidden}
.ms-wrap{width:min(1180px,92%);margin:auto}
.ms-eyebrow{display:inline-block;color:#72adff;font-size:13px;font-weight:900;letter-spacing:1.5px;margin-bottom:10px}
.ms-blog-hero h1{color:#fff;font-size:44px;line-height:1.35;margin:0 0 12px;font-weight:900}
.ms-blog-hero h1 span{color:#4b96ff}
.ms-blog-hero p{max-width:800px;margin:0 auto 26px;color:#cad8ed;font-size:17px}
.ms-hero-search{max-width:760px;margin:0 auto;display:flex;background:#fff;border-radius:14px;padding:6px;box-shadow:0 16px 45px rgba(0,0,0,.25)}
.ms-hero-search input{flex:1;border:0!important;box-shadow:none!important;padding:12px 15px!important;font-family:inherit;font-size:15px;color:#15243e;background:transparent!important}
.ms-hero-search button{border:0;border-radius:10px;background:linear-gradient(135deg,var(--ms-blue),var(--ms-blue2));color:#fff;padding:0 23px;font-family:inherit;font-weight:800;cursor:pointer}
.ms-topics{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;margin-top:20px}
.ms-topics strong{font-size:13px;color:#aebfda}.ms-topics a{font-size:12px;color:#e7effb;border:1px solid #284c7c;background:rgba(9,31,65,.65);padding:6px 11px;border-radius:30px}
.ms-trust{margin-top:22px;color:#91a8c8;font-size:12px}

.ms-featured{padding:68px 0;background:#f7faff}
.ms-section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:24px}
.ms-section-head h2{font-size:30px;margin:0;color:var(--ms-text);font-weight:900}
.ms-section-head p{margin:4px 0 0;color:var(--ms-muted)}
.ms-featured-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:20px}
.ms-feature-main,.ms-feature-small{background:#fff;border:1px solid var(--ms-line);border-radius:18px;overflow:hidden;box-shadow:0 8px 30px rgba(20,52,96,.06)}
.ms-feature-main .ms-thumb{height:330px}.ms-thumb{display:block;background:linear-gradient(135deg,#0b2857,#126fe0);overflow:hidden}
.ms-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:.3s}.ms-feature-main:hover img,.ms-feature-small:hover img{transform:scale(1.025)}
.ms-feature-body{padding:22px}.ms-cat{display:inline-block;color:var(--ms-blue);font-size:12px;font-weight:900;margin-bottom:7px}
.ms-feature-body h3{margin:0 0 9px;font-size:24px;line-height:1.45}.ms-feature-body h3 a{color:var(--ms-text)}
.ms-feature-body p{color:var(--ms-muted);font-size:14px;margin:0}.ms-meta{color:#8996aa;font-size:12px;margin-top:12px}
.ms-feature-side{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ms-feature-small .ms-thumb{height:125px}.ms-feature-small .ms-feature-body{padding:14px}.ms-feature-small h3{font-size:15px;margin:0;line-height:1.55}
.ms-next-placeholder{padding:30px 0 70px;text-align:center;color:#7a879b;font-size:13px}
#main-footer{margin-top:0}

@media(max-width:980px){
 .ms-nav{display:none;position:absolute;top:78px;right:0;left:0;background:#020c24;padding:20px 4%;flex-direction:column;align-items:stretch;border-top:1px solid #19375f}
 .ms-nav.is-open{display:flex}.ms-menu-toggle{display:block}.ms-services-btn{display:none}
 .ms-featured-grid{grid-template-columns:1fr}.ms-feature-main .ms-thumb{height:280px}
}
@media(max-width:600px){
 .ms-header{height:68px}.ms-search-panel,.ms-nav{top:68px}.ms-logo img{max-height:48px}
 .ms-blog-hero{padding:58px 0}.ms-blog-hero h1{font-size:31px}.ms-blog-hero p{font-size:14px}
 .ms-featured{padding:48px 0}.ms-section-head h2{font-size:25px}.ms-feature-side{grid-template-columns:1fr}
 .ms-feature-small{display:grid;grid-template-columns:115px 1fr}.ms-feature-small .ms-thumb{height:100%}
}


/* Knowledge Center */
.ms-knowledge{padding:72px 0;background:#fff}
.ms-knowledge .ms-section-head{display:block;text-align:center;margin-bottom:34px}
.ms-knowledge .ms-section-head p{max-width:720px;margin:8px auto 0}
.ms-knowledge-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.ms-knowledge-card{display:block;background:#f9fbff;border:1px solid var(--ms-line);border-radius:18px;padding:25px;transition:.25s;position:relative;overflow:hidden;min-height:215px}
.ms-knowledge-card:before{content:"";position:absolute;width:95px;height:95px;border-radius:50%;background:rgba(8,124,255,.07);left:-30px;top:-30px}
.ms-knowledge-card:hover{transform:translateY(-5px);border-color:#9bc5ff;box-shadow:0 14px 35px rgba(20,74,145,.10)}
.ms-knowledge-icon{width:50px;height:50px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#087cff,#7629ed);color:#fff;font-size:23px;margin-bottom:16px}
.ms-knowledge-card h3{margin:0 0 7px;color:var(--ms-text);font-size:19px;font-weight:900}
.ms-knowledge-card p{margin:0 0 16px;color:var(--ms-muted);font-size:13px;line-height:1.9}
.ms-knowledge-link{color:var(--ms-blue);font-size:12px;font-weight:900}
.ms-knowledge-count{display:inline-block;margin-right:7px;color:#8795aa;font-size:11px;font-weight:600}
@media(max-width:900px){.ms-knowledge-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.ms-knowledge{padding:50px 0}.ms-knowledge-grid{grid-template-columns:1fr}}


/* Approved MODSERV header logo */
.ms-logo{
    width:150px;
    height:62px;
    flex:0 0 150px;
    overflow:hidden;
    border-radius:10px;
    background:transparent;
}
.ms-logo img,
.ms-logo .custom-logo{
    width:100%!important;
    height:100%!important;
    max-height:none!important;
    object-fit:contain!important;
    display:block;
    background:transparent;
    mix-blend-mode:screen;
}
/* The approved image has a light background; screen blending visually removes it
   against the dark MODSERV header without altering the source asset. */
@media(max-width:600px){
    .ms-logo{width:120px;height:54px;flex-basis:120px}
}


/* =========================================================
   v4 FIX — legacy Mharty icon entities showing as red pills
   ========================================================= */

/* Mharty/old icon-font pseudo elements can print strings such as &#xe607;
   when their old icon font is not loaded. We remove only generated content. */
#sidebar .widgettitle:before,
#sidebar .widget-title:before,
#sidebar h4.title:before,
#sidebar h4.widgettitle:before,
#left-area .mh-blog-list .entry-title:before,
#left-area .mh-blog-list article:before,
.mh-blog-list .entry-title:before,
.mh-blog-list article:before,
.mh-blog-list .post-meta:before,
.widgettitle:before,
.widget-title:before,
.et_pb_widget .widgettitle:before,
.et_pb_widget .widget-title:before{
    content:none!important;
    display:none!important;
}

/* Also neutralize legacy icon spans if Mharty outputs them as elements. */
.mh-icon,
.mh-icon-before,
.mh-icon-after,
.mh-widget-icon,
.mh-title-icon{
    font-family:inherit!important;
}

/* Keep archive/sidebar headings clean and aligned with the MODSERV identity. */
#sidebar .widgettitle,
#sidebar .widget-title,
#sidebar h4.title,
.et_pb_widget .widgettitle,
.et_pb_widget .widget-title{
    font-family:'Cairo',Arial,sans-serif!important;
    color:#07152f!important;
    border-color:#087cff!important;
}

/* Hide literal broken icon-entity badges used by some older Mharty builds,
   while leaving ordinary widget/category text untouched. */
.ms-legacy-icon-fix{
    display:none!important;
}


/* =========================================================
   LATEST ARTICLES
   ========================================================= */
.ms-latest{padding:72px 0;background:#f7faff}
.ms-latest-head{align-items:center}
.ms-section-kicker{display:block;color:#087cff;font-size:12px;font-weight:900;margin-bottom:5px}
.ms-view-all{display:inline-flex;align-items:center;justify-content:center;border:1px solid #b9d3f5;background:#fff;color:#087cff;padding:10px 16px;border-radius:10px;font-size:12px;font-weight:900;transition:.2s}
.ms-view-all:hover{background:#087cff;color:#fff;border-color:#087cff}
.ms-latest-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.ms-article-card{background:#fff;border:1px solid #dfe8f5;border-radius:18px;overflow:hidden;box-shadow:0 8px 28px rgba(20,52,96,.06);transition:.25s;display:flex;flex-direction:column}
.ms-article-card:hover{transform:translateY(-5px);box-shadow:0 16px 38px rgba(20,52,96,.11);border-color:#b8d5fb}
.ms-article-image{height:205px;display:block;overflow:hidden;background:linear-gradient(135deg,#061735,#087cff)}
.ms-article-image img{width:100%;height:100%;object-fit:cover;display:block;transition:.35s}
.ms-article-card:hover .ms-article-image img{transform:scale(1.035)}
.ms-no-image{height:100%;display:grid;place-items:center;color:#fff;font-size:24px;font-weight:900}
.ms-article-content{padding:20px;display:flex;flex-direction:column;flex:1}
.ms-article-cat{align-self:flex-start;color:#087cff;background:#edf5ff;border-radius:20px;padding:4px 10px;font-size:11px;font-weight:900;margin-bottom:10px}
.ms-article-content h3{font-size:18px;line-height:1.65;margin:0 0 9px;font-weight:900}
.ms-article-content h3 a{color:#07152f}
.ms-article-content p{font-size:13px;line-height:1.9;color:#6a7891;margin:0 0 16px}
.ms-article-footer{border-top:1px solid #edf1f7;padding-top:13px;margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;color:#8a97aa}
.ms-article-footer a{color:#087cff;font-weight:900}
@media(max-width:900px){.ms-latest-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){
 .ms-latest{padding:50px 0}
 .ms-latest-head{display:block}
 .ms-view-all{margin-top:15px}
 .ms-latest-grid{grid-template-columns:1fr}
 .ms-article-image{height:220px}
}

/* MOST READ */
.ms-popular{padding:72px 0;background:#fff}
.ms-popular-head{display:block;text-align:center;margin-bottom:30px}
.ms-popular-head p{max-width:720px;margin:7px auto 0}
.ms-popular-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:18px}
.ms-popular-card{position:relative;background:#f9fbff;border:1px solid #dfe8f5;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;min-width:0;transition:.25s}
.ms-popular-card:hover{transform:translateY(-4px);box-shadow:0 14px 35px rgba(20,52,96,.10)}
.ms-popular-main{grid-row:span 2}
.ms-popular-rank{position:absolute;z-index:3;top:12px;right:12px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#087cff;color:#fff;font-weight:900;box-shadow:0 5px 15px rgba(8,124,255,.3)}
.ms-popular-image{height:150px;background:linear-gradient(135deg,#061735,#087cff);overflow:hidden;display:block}
.ms-popular-main .ms-popular-image{height:300px}
.ms-popular-image img{width:100%;height:100%;object-fit:cover;display:block;transition:.3s}
.ms-popular-card:hover img{transform:scale(1.03)}
.ms-popular-content{padding:17px}
.ms-popular-content h3{font-size:16px;line-height:1.65;margin:3px 0 10px;font-weight:900}
.ms-popular-main .ms-popular-content h3{font-size:22px}
.ms-popular-content h3 a{color:#07152f}
.ms-popular-content p{color:#6a7891;font-size:13px;line-height:1.9}
.ms-popular-meta{border-top:1px solid #e8eef7;padding-top:11px;margin-top:12px;display:flex;justify-content:space-between;gap:10px;color:#8a97aa;font-size:11px}
.ms-popular-meta a{color:#087cff;font-weight:900}
@media(max-width:900px){.ms-popular-grid{grid-template-columns:1fr 1fr}.ms-popular-main{grid-column:1/-1;grid-row:auto}}
@media(max-width:600px){.ms-popular{padding:50px 0}.ms-popular-grid{grid-template-columns:1fr}.ms-popular-main{grid-column:auto}.ms-popular-main .ms-popular-image,.ms-popular-image{height:220px}}

/* CTA */
.ms-cta{padding:65px 0;background:#f7faff}
.ms-cta-box{background:radial-gradient(circle at 15% 20%,rgba(118,41,237,.24),transparent 30%),linear-gradient(120deg,#061735,#0a3b8e);border-radius:22px;padding:38px 42px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:35px;box-shadow:0 18px 45px rgba(4,32,78,.18)}
.ms-cta-copy>span{color:#73b1ff;font-size:12px;font-weight:900}
.ms-cta-copy h2{color:#fff;font-size:29px;margin:5px 0 7px;font-weight:900}
.ms-cta-copy p{color:#d0ddf1;margin:0;max-width:680px;font-size:14px}
.ms-cta-prices{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.ms-cta-prices strong{border:1px solid #3769aa;background:rgba(2,15,39,.35);padding:8px 12px;border-radius:9px;font-size:12px}
.ms-cta-prices b{color:#75b2ff;font-size:15px;margin-right:4px}
.ms-cta-actions{min-width:225px;display:flex;flex-direction:column;gap:9px}
.ms-cta-actions a{display:block;text-align:center;padding:11px 16px;border-radius:10px;font-size:12px;font-weight:900}
.ms-cta-primary{background:#087cff;color:#fff!important}
.ms-cta-secondary{border:1px solid #5b7fac;color:#fff!important}

/* MODSERV Footer */
.ms-footer{background:#020d24;color:#fff;padding:52px 0 18px}
.ms-footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:42px}
.ms-footer-logo{display:block;width:145px;height:70px;overflow:hidden}
.ms-footer-logo img{width:100%;height:100%;object-fit:contain;mix-blend-mode:screen}
.ms-footer-brand p{color:#aebdd3;font-size:12px;line-height:1.9;max-width:310px}
.ms-footer h4{color:#fff;font-size:15px;margin:0 0 14px;font-weight:900}
.ms-footer ul{list-style:none!important;padding:0!important;margin:0!important}
.ms-footer li{margin:0 0 8px;color:#aebdd3;font-size:12px}
.ms-footer a{color:#aebdd3}
.ms-footer a:hover{color:#68a9ff}
.ms-social{display:flex;gap:8px;direction:ltr;margin-top:14px}
.ms-social a{width:36px;height:36px;border:1px solid #24446f;border-radius:9px;background:#071936;color:#fff;display:grid;place-items:center;font-family:Arial,sans-serif;font-weight:bold}
.ms-social a:hover{background:#087cff;border-color:#087cff;color:#fff}
.ms-footer-bottom{border-top:1px solid #152641;text-align:center;color:#71829d;font-size:11px;padding-top:17px;margin-top:34px}
.ms-whatsapp{position:fixed;right:22px;bottom:22px;width:58px;height:58px;border-radius:50%;background:#20c45a;color:#fff!important;display:grid;place-items:center;font-size:26px;font-weight:bold;z-index:9998;border:4px solid #fff;box-shadow:0 8px 24px rgba(32,196,90,.35)}
@media(max-width:900px){.ms-cta-box{flex-direction:column;align-items:stretch}.ms-cta-actions{min-width:0}.ms-footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.ms-cta{padding:45px 0}.ms-cta-box{padding:28px 22px}.ms-cta-copy h2{font-size:24px}.ms-footer-grid{grid-template-columns:1fr;gap:28px}}

/* v8 — guaranteed Server Management CTA */
#server-management-cta{display:block!important;visibility:visible!important;opacity:1!important;padding:68px 0;background:#f7faff;clear:both}
#server-management-cta .ms-cta-box{background:radial-gradient(circle at 12% 15%,rgba(118,41,237,.28),transparent 32%),linear-gradient(120deg,#020c24,#083b88);border:1px solid #164f99;border-radius:24px;padding:40px 44px;color:#fff;display:flex!important;align-items:center;justify-content:space-between;gap:35px;box-shadow:0 18px 45px rgba(4,32,78,.18)}
.ms-cta-label{display:inline-block;color:#7eb8ff;font-size:13px;font-weight:900;margin-bottom:5px}
#server-management-cta h2{color:#fff!important;font-size:30px!important;line-height:1.5!important;margin:0 0 8px!important}
#server-management-cta p{color:#d1def1!important;font-size:14px!important;margin:0!important}
#server-management-cta .ms-cta-prices{display:flex;gap:10px;flex-wrap:wrap;margin-top:19px}
#server-management-cta .ms-cta-price{display:flex;align-items:center;gap:8px;background:rgba(2,12,36,.48);border:1px solid #376aa8;border-radius:11px;padding:9px 13px}
#server-management-cta .ms-cta-price b{font-size:21px;color:#7db9ff;direction:ltr}
#server-management-cta .ms-cta-price span{font-size:12px;color:#fff;font-weight:700}
#server-management-cta .ms-cta-actions{min-width:225px;display:flex;flex-direction:column;gap:10px}
#server-management-cta .ms-cta-actions a{display:block;text-align:center;padding:12px 18px;border-radius:10px;font-size:12px;font-weight:900}
#server-management-cta .ms-cta-primary{background:#087cff;color:#fff!important}
#server-management-cta .ms-cta-secondary{border:1px solid #6488b8;color:#fff!important}
@media(max-width:800px){#server-management-cta .ms-cta-box{flex-direction:column;align-items:stretch;padding:30px 25px}#server-management-cta .ms-cta-actions{min-width:0}}

/* =========================================================
   v9 — SINGLE ARTICLE / TYPOGRAPHY
   ========================================================= */
.ms-single{background:#f7faff;padding:34px 0 70px;font-family:'Cairo',Arial,sans-serif}
.ms-breadcrumb{display:flex;align-items:center;gap:7px;flex-wrap:wrap;color:#8794a8;font-size:12px;margin-bottom:25px}
.ms-breadcrumb a{color:#087cff}.ms-breadcrumb .current{max-width:480px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ms-article-header{max-width:900px;margin:0 auto 28px;text-align:center}
.ms-single-cat{display:inline-block;background:#eaf4ff;color:#087cff;border-radius:30px;padding:6px 13px;font-size:12px;font-weight:900;margin-bottom:12px}
.ms-article-header h1{font-family:'Cairo',Arial,sans-serif!important;color:#07152f!important;font-size:40px!important;line-height:1.55!important;font-weight:900!important;margin:0 0 14px!important}
.ms-single-meta{display:flex;justify-content:center;gap:15px;flex-wrap:wrap;color:#8491a5;font-size:12px}
.ms-single-cover{max-width:1000px;height:480px;margin:0 auto 38px;border-radius:20px;overflow:hidden;background:#e8eef7}
.ms-single-cover img{width:100%;height:100%;object-fit:cover;display:block}
.ms-single-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:34px;align-items:start;direction:rtl}
.ms-article-content-body{background:#fff;border:1px solid #e0e8f3;border-radius:20px;padding:38px 42px;box-shadow:0 8px 28px rgba(20,52,96,.045);min-width:0}
.ms-article-content-body,
.ms-article-content-body p,
.ms-article-content-body li{font-family:'Cairo',Arial,sans-serif!important;font-size:18px!important;line-height:2.05!important;color:#27364c!important}
.ms-article-content-body p{margin:0 0 22px!important}
.ms-article-content-body h2{font-family:'Cairo',Arial,sans-serif!important;font-size:28px!important;line-height:1.6!important;font-weight:900!important;color:#07152f!important;margin:42px 0 16px!important;padding-right:14px;border-right:4px solid #087cff}
.ms-article-content-body h3{font-family:'Cairo',Arial,sans-serif!important;font-size:23px!important;line-height:1.7!important;font-weight:900!important;color:#10213d!important;margin:34px 0 14px!important}
.ms-article-content-body h4{font-family:'Cairo',Arial,sans-serif!important;font-size:19px!important;line-height:1.8!important;font-weight:800!important;color:#173055!important;margin:28px 0 12px!important}
.ms-article-content-body ul,.ms-article-content-body ol{margin:0 0 24px!important;padding-right:28px!important}
.ms-article-content-body li{margin-bottom:8px!important}
.ms-article-content-body a{color:#087cff!important;text-decoration:underline;text-underline-offset:3px}
.ms-article-content-body img{max-width:100%;height:auto;border-radius:12px}
.ms-article-content-body figure{max-width:100%!important;margin:28px auto!important}
.ms-article-content-body blockquote{margin:28px 0!important;padding:20px 22px!important;background:#f2f7ff;border-right:4px solid #7629ed!important;border-left:0!important;border-radius:10px;color:#40516b}
.ms-article-content-body blockquote p{margin:0!important}
.ms-article-content-body table{width:100%!important;border-collapse:collapse;margin:28px 0;font-size:15px}
.ms-article-content-body th,.ms-article-content-body td{border:1px solid #dce6f2;padding:11px 13px;text-align:right}
.ms-article-content-body th{background:#071735;color:#fff}
.ms-article-content-body pre{direction:ltr;text-align:left;background:#07152f;color:#e7eef9;padding:18px;border-radius:12px;overflow:auto;font-family:Consolas,monospace;font-size:14px;line-height:1.7}
.ms-article-content-body code{direction:ltr;font-family:Consolas,monospace}
.ms-tags{border-top:1px solid #e5ebf4;margin-top:35px;padding-top:20px;font-size:13px!important}
.ms-tags a{display:inline-block;background:#edf5ff;padding:4px 9px;border-radius:20px;margin:3px;text-decoration:none!important;font-size:12px}

/* Sidebar */
.ms-single-sidebar{position:sticky;top:98px}
.ms-side-box{background:#fff;border:1px solid #dfe8f5;border-radius:16px;padding:19px;margin-bottom:17px}
.ms-side-box h3{font-size:16px!important;font-weight:900!important;color:#07152f!important;margin:0 0 13px!important;border-right:3px solid #087cff;padding-right:9px}
.ms-side-search{display:flex}.ms-side-search input{min-width:0;flex:1;border:1px solid #dbe5f1;padding:9px;border-radius:0 8px 8px 0;font-family:'Cairo'}
.ms-side-search button{border:0;background:#087cff;color:#fff;padding:0 11px;border-radius:8px 0 0 8px;font-family:'Cairo';font-weight:800}
.ms-side-links{list-style:none!important;padding:0!important;margin:0!important}
.ms-side-links li{border-bottom:1px solid #edf1f6;padding:8px 0;font-size:12px}.ms-side-links li:last-child{border:0}
.ms-side-links a{color:#34445c}
.ms-side-post{display:flex;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid #edf1f6;color:#27364c}
.ms-side-post:last-child{border:0}.ms-side-post span{width:60px;height:48px;flex:0 0 60px;border-radius:7px;overflow:hidden;background:#e8eef7}
.ms-side-post img{width:100%;height:100%;object-fit:cover}.ms-side-post b{font-size:11px;line-height:1.6}

/* Related */
.ms-related{padding-top:55px}.ms-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.ms-related-card{background:#fff;border:1px solid #dfe8f5;border-radius:16px;overflow:hidden}
.ms-related-image{display:grid;place-items:center;height:175px;background:linear-gradient(135deg,#061735,#087cff);color:#fff;font-weight:900}
.ms-related-image img{width:100%;height:100%;object-fit:cover}.ms-related-card>div{padding:15px}
.ms-related-card h3{font-size:15px;line-height:1.65;margin:0 0 7px}.ms-related-card h3 a{color:#07152f}.ms-related-card small{color:#8996aa}

@media(max-width:900px){
 .ms-single-layout{grid-template-columns:1fr}.ms-single-sidebar{position:static}
 .ms-single-cover{height:380px}.ms-related-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
 .ms-single{padding-top:22px}.ms-article-header h1{font-size:29px!important;line-height:1.55!important}
 .ms-single-cover{height:240px;margin-bottom:22px}.ms-article-content-body{padding:25px 20px}
 .ms-article-content-body,.ms-article-content-body p,.ms-article-content-body li{font-size:17px!important;line-height:2!important}
 .ms-article-content-body h2{font-size:24px!important}.ms-article-content-body h3{font-size:21px!important}.ms-article-content-body h4{font-size:18px!important}
 .ms-related-grid{grid-template-columns:1fr}
}

/* =========================================================
   v10 — Article spacing + sidebar typography refinement
   ========================================================= */

/* Keep article font size, reduce excessive vertical spacing */
.ms-article-content-body,
.ms-article-content-body p,
.ms-article-content-body li{
    font-size:18px!important;
    line-height:1.78!important;
}

.ms-article-content-body p{
    margin:0 0 16px!important;
}

.ms-article-content-body ul,
.ms-article-content-body ol{
    margin-top:8px!important;
    margin-bottom:18px!important;
}

.ms-article-content-body li{
    margin-bottom:4px!important;
}

/* Headings retain breathing room and hierarchy */
.ms-article-content-body h2{
    margin:36px 0 14px!important;
    line-height:1.55!important;
}
.ms-article-content-body h3{
    margin:29px 0 12px!important;
    line-height:1.6!important;
}
.ms-article-content-body h4{
    margin:24px 0 10px!important;
    line-height:1.65!important;
}

/* Sidebar: larger and easier to scan */
.ms-side-box{
    padding:22px;
}
.ms-side-box h3{
    font-size:18px!important;
    line-height:1.5!important;
    margin-bottom:16px!important;
}
.ms-side-links li{
    padding:10px 0!important;
    font-size:14px!important;
    line-height:1.7!important;
}
.ms-side-links a{
    font-size:14px!important;
    font-weight:600;
}

/* Sidebar search */
.ms-side-search input{
    font-size:13px!important;
    padding:11px 10px!important;
}
.ms-side-search button{
    font-size:13px!important;
    padding:0 14px!important;
}

/* Selected articles in sidebar */
.ms-side-post{
    gap:11px;
    padding:11px 0;
}
.ms-side-post span{
    width:68px;
    height:55px;
    flex-basis:68px;
}
.ms-side-post b{
    font-size:13px!important;
    line-height:1.65!important;
    font-weight:700!important;
}

/* Tags remain secondary, but no longer tiny */
.ms-tags,
.ms-tags strong{
    font-size:14px!important;
}
.ms-tags a{
    font-size:12.5px!important;
}

@media(max-width:600px){
    .ms-article-content-body,
    .ms-article-content-body p,
    .ms-article-content-body li{
        font-size:17px!important;
        line-height:1.8!important;
    }
    .ms-article-content-body p{margin-bottom:14px!important}
    .ms-side-box h3{font-size:17px!important}
    .ms-side-links li,.ms-side-links a{font-size:14px!important}
}

/* =========================================================
   v11 — WhatsApp icon + related articles readability
   ========================================================= */

/* Correct WhatsApp floating icon */
.ms-whatsapp{
    width:58px!important;
    height:58px!important;
    background:#25D366!important;
    color:#fff!important;
    border:3px solid #fff!important;
    border-radius:50%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0!important;
    line-height:1!important;
    text-decoration:none!important;
}
.ms-whatsapp svg{
    width:34px!important;
    height:34px!important;
    display:block!important;
    color:#fff!important;
}

/* Related article cards: prevent titles from sitting over images */
.ms-related-card{
    display:flex!important;
    flex-direction:column!important;
    background:#fff!important;
}
.ms-related-image{
    position:relative!important;
    display:block!important;
    height:210px!important;
    overflow:hidden!important;
    flex:none!important;
}
.ms-related-image img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    display:block!important;
}
.ms-related-card>div{
    position:relative!important;
    z-index:2!important;
    background:#fff!important;
    padding:18px 17px 16px!important;
    min-height:115px;
}
.ms-related-card h3{
    margin:0 0 10px!important;
    font-family:'Cairo',Arial,sans-serif!important;
    font-size:17px!important;
    line-height:1.75!important;
    font-weight:800!important;
}
.ms-related-card h3 a{
    color:#10213d!important;
    font-size:17px!important;
    font-weight:800!important;
    text-decoration:none!important;
}
.ms-related-card h3 a:hover{
    color:#087cff!important;
}
.ms-related-card small{
    display:block!important;
    color:#7e8ca2!important;
    font-family:'Cairo',Arial,sans-serif!important;
    font-size:12px!important;
    line-height:1.6!important;
}
.ms-related .ms-section-head h2{
    font-family:'Cairo',Arial,sans-serif!important;
    font-size:30px!important;
    font-weight:900!important;
    color:#07152f!important;
}

@media(max-width:600px){
    .ms-related-image{height:220px!important}
    .ms-related-card h3,
    .ms-related-card h3 a{font-size:16px!important}
    .ms-whatsapp{width:54px!important;height:54px!important;right:16px!important;bottom:16px!important}
    .ms-whatsapp svg{width:31px!important;height:31px!important}
}

/* =========================================================
   v12 — Automatic Table of Contents
   ========================================================= */
.ms-toc{
    margin:0 0 34px!important;
    border:1px solid #cfe0f6;
    border-radius:15px;
    background:#f7faff;
    overflow:hidden;
}
.ms-toc[hidden]{display:none!important}
.ms-toc-head{
    width:100%;
    border:0;
    background:linear-gradient(135deg,#edf5ff,#f8f4ff);
    padding:15px 18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    text-align:right;
    cursor:pointer;
    font-family:'Cairo',Arial,sans-serif!important;
}
.ms-toc-head span{display:flex;flex-direction:column;gap:1px}
.ms-toc-head small{
    color:#087cff;
    font-size:11px;
    font-weight:800;
}
.ms-toc-head strong{
    color:#07152f;
    font-size:18px;
    font-weight:900;
}
.ms-toc-toggle{
    width:30px;
    height:30px;
    display:grid;
    place-items:center;
    border-radius:8px;
    background:#087cff;
    color:#fff;
    font-family:Arial,sans-serif;
    font-size:20px;
}
.ms-toc-list{
    display:flex;
    flex-direction:column;
    padding:13px 18px 16px;
}
.ms-toc-list a{
    position:relative;
    color:#263a58!important;
    text-decoration:none!important;
    font-size:14px!important;
    line-height:1.75!important;
    font-weight:700;
    padding:7px 17px 7px 0;
    border-bottom:1px solid #e5edf7;
}
.ms-toc-list a:last-child{border-bottom:0}
.ms-toc-list a:before{
    content:"";
    position:absolute;
    right:0;
    top:17px;
    width:6px;
    height:6px;
    border-radius:50%;
    background:#087cff;
}
.ms-toc-list a.is-h3{
    padding-right:34px;
    color:#60708a!important;
    font-size:13px!important;
    font-weight:600;
}
.ms-toc-list a.is-h3:before{
    right:18px;
    width:5px;
    height:5px;
    background:#7629ed;
}
.ms-toc-list a:hover{color:#087cff!important}
.ms-toc.is-collapsed .ms-toc-list{display:none}
.ms-article-content-body h2,
.ms-article-content-body h3{
    scroll-margin-top:110px;
}
@media(max-width:600px){
    .ms-toc{margin-bottom:26px!important}
    .ms-toc-head{padding:13px 14px}
    .ms-toc-head strong{font-size:17px}
    .ms-toc-list{padding:10px 14px 13px}
    .ms-toc-list a{font-size:13px!important}
    .ms-toc-list a.is-h3{font-size:12.5px!important}
}

/* =========================================================
   v13 — Category / Tag / Search pages
   ========================================================= */
.ms-archive{background:#f7faff;min-height:70vh}
.ms-archive-hero{background:linear-gradient(125deg,#020c24,#082451);color:#fff;padding:46px 0 48px}
.ms-archive-hero .ms-breadcrumb{margin-bottom:18px;color:#9db0cd}
.ms-archive-hero .ms-breadcrumb a{color:#78b4ff}
.ms-archive-hero h1{font-family:'Cairo',Arial,sans-serif!important;color:#fff!important;font-size:36px!important;line-height:1.5!important;font-weight:900!important;margin:4px 0 8px!important}
.ms-archive-desc{max-width:760px;color:#c6d5e9;font-size:14px;line-height:1.9}
.ms-archive-desc p{margin:0}
.ms-archive-search{max-width:650px;margin-top:20px;display:flex;background:#fff;padding:5px;border-radius:11px}
.ms-archive-search input{flex:1;min-width:0;border:0!important;background:transparent!important;box-shadow:none!important;padding:11px 13px!important;font-family:'Cairo';font-size:14px}
.ms-archive-search button{border:0;background:#087cff;color:#fff;border-radius:8px;padding:0 22px;font-family:'Cairo';font-weight:900}
.ms-archive-content{padding:58px 0 70px}
.ms-archive-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}
.ms-archive-top h2{font-size:26px!important;font-weight:900!important;color:#07152f!important;margin:0!important}
.ms-archive-top span{font-size:12px;color:#8795a9;background:#fff;border:1px solid #dfe8f5;border-radius:20px;padding:5px 11px}
.ms-archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.ms-archive-card{background:#fff;border:1px solid #dfe8f5;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;transition:.25s;box-shadow:0 8px 25px rgba(20,52,96,.05)}
.ms-archive-card:hover{transform:translateY(-4px);border-color:#b6d4fa;box-shadow:0 15px 35px rgba(20,52,96,.10)}
.ms-archive-image{height:210px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,#061735,#087cff);color:#fff;font-weight:900}
.ms-archive-image img{width:100%;height:100%;object-fit:cover;display:block;transition:.3s}
.ms-archive-card:hover .ms-archive-image img{transform:scale(1.03)}
.ms-archive-card-body{padding:19px;display:flex;flex-direction:column;flex:1}
.ms-archive-card-body h2{font-family:'Cairo',Arial,sans-serif!important;font-size:18px!important;line-height:1.7!important;font-weight:900!important;margin:2px 0 9px!important}
.ms-archive-card-body h2 a{color:#07152f!important}
.ms-archive-card-body p{font-family:'Cairo',Arial,sans-serif!important;font-size:13px!important;line-height:1.9!important;color:#6a7891!important;margin:0 0 15px!important}
.ms-archive-meta{margin-top:auto;padding-top:12px;border-top:1px solid #edf1f7;display:flex;justify-content:space-between;gap:10px;color:#8a97aa;font-size:11px}
.ms-archive-meta a{color:#087cff;font-weight:900}
.ms-pagination{margin-top:38px}
.ms-pagination ul{display:flex!important;justify-content:center;gap:7px;list-style:none!important;padding:0!important}
.ms-pagination a,.ms-pagination span{min-width:38px;height:38px;display:grid;place-items:center;padding:0 10px;border:1px solid #d8e4f3;border-radius:9px;background:#fff;color:#32445f;font-size:12px}
.ms-pagination .current{background:#087cff;color:#fff;border-color:#087cff}
.ms-no-results{max-width:700px;margin:auto;text-align:center;background:#fff;border:1px solid #dfe8f5;border-radius:18px;padding:45px}
.ms-no-results h2{font-size:25px!important;color:#07152f!important}.ms-no-results p{color:#6a7891}.ms-no-results .ms-archive-search{margin:20px auto 0}
@media(max-width:900px){.ms-archive-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){
 .ms-archive-hero{padding:35px 0}.ms-archive-hero h1{font-size:29px!important}
 .ms-archive-content{padding:42px 0}.ms-archive-grid{grid-template-columns:1fr}
 .ms-archive-image{height:225px}.ms-archive-top h2{font-size:23px!important}
}


/* =========================================================
   v14 — Footer refinement
   ========================================================= */
.ms-footer-grid{
    grid-template-columns:1.45fr 1fr 1fr!important;
    gap:70px!important;
}
.ms-footer-logo{
    margin-bottom:18px!important;
}
.ms-footer-brand p{
    margin-top:0!important;
    line-height:2!important;
}
@media(max-width:900px){
    .ms-footer-grid{
        grid-template-columns:1.3fr 1fr!important;
        gap:38px!important;
    }
}
@media(max-width:560px){
    .ms-footer-grid{
        grid-template-columns:1fr!important;
        gap:30px!important;
    }
    .ms-footer-logo{
        margin-bottom:15px!important;
    }
}


/* v15 — rendering/performance safeguards */
img{
    max-width:100%;
}
.ms-article-content-body img,
.ms-archive-image img,
.ms-article-image img,
.ms-related-image img,
.ms-popular-image img{
    content-visibility:auto;
}


/* =========================================================
   v20 — Header navigation: force all 5 approved links visible
   ========================================================= */
@media (min-width: 901px){
  .ms-header .ms-nav{
    display:flex !important;
    align-items:center !important;
    gap:22px !important;
    flex-wrap:nowrap !important;
  }
  .ms-header .ms-nav > a{
    display:inline-flex !important;
    visibility:visible !important;
    opacity:1 !important;
    white-space:nowrap !important;
  }
}
