/*
Theme Name: Easyhost Blog
Theme URI: https://blog.easyhost.pk
Author: Easyhost
Author URI: https://www.easyhost.pk
Description: The blog.easyhost.pk theme, built on BlankSlate. The header, footer, menus, notification bar and tracking code come live from www.easyhost.pk (/api/whmcs-chrome.json), so the blog always matches the main site; posts, archives, search, comments and the sidebar are styled to the same design.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: easyhost-blog
Tags: blog, two-columns, right-sidebar, threaded-comments, translation-ready
*/

/* ═══ Fonts: self-hosted, same files and weights as www.easyhost.pk ═══ */
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/inter-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/inter-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/inter-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/inter-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:"Bricolage Grotesque";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:"Bricolage Grotesque";font-style:normal;font-weight:800;font-display:swap;src:url("assets/fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2")}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2")}
/* metric-matched local fallbacks, as on the main site: no layout shift when the web font arrives */
@font-face{font-family:"Inter Fallback";src:local("Arial"),local("ArialMT");ascent-override:90.4365%;descent-override:22.518%;line-gap-override:0%;size-adjust:107.1194%}
@font-face{font-family:"Bricolage Grotesque Fallback";src:local("Arial"),local("ArialMT");ascent-override:88.2116%;descent-override:25.6098%;line-gap-override:0%;size-adjust:105.4283%}

/* ═══ Design tokens (identical to the main site's theme) ═══ */
:root{
  --eh-ink:#111C2E;--eh-ink-700:#1E2E49;--eh-ink-500:#42536E;--eh-ink-300:#8695AC;
  --eh-paper:#FDFBF7;--eh-paper-100:#F6F2EA;--eh-paper-200:#EDE7DB;
  --eh-brand:#F0761A;--eh-brand-600:#DC5F0A;--eh-brand-700:#B34A05;--eh-brand-100:#FDEDDD;
  --eh-pine:#0B6E4F;--eh-pine-100:#DCF2E8;
  --eh-sans:"Inter","Inter Fallback",Arial,system-ui,sans-serif;
  --eh-display:"Bricolage Grotesque","Bricolage Grotesque Fallback",Arial,sans-serif;
  --eh-mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --eh-ring:0 0 0 1px var(--eh-paper-200);
  --eh-card:0 0 0 1px var(--eh-paper-200),0 1px 2px rgba(17,28,46,.04),0 12px 32px -12px rgba(17,28,46,.14);
  --eh-lift:0 0 0 1px var(--eh-paper-200),0 2px 4px rgba(17,28,46,.05),0 28px 60px -20px rgba(17,28,46,.25);
  --eh-field:0 0 0 2px var(--eh-paper-200);
}

/* ═══ Base reset — the shared header/footer are written against Tailwind's preflight ═══ */
*,::before,::after,::backdrop{box-sizing:border-box;margin:0;padding:0;border:0 solid}
html{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:var(--eh-sans);-webkit-tap-highlight-color:transparent}
body{min-height:100vh;background:var(--eh-paper);color:var(--eh-ink);font-family:var(--eh-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:clip}
hr{height:0;color:inherit;border-top-width:1px}
h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}
a{color:inherit;text-decoration:inherit}
b,strong{font-weight:bolder}
code,kbd,samp,pre{font-family:var(--eh-mono);font-size:1em}
small{font-size:80%}
sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}
table{text-indent:0;border-color:inherit;border-collapse:collapse}
ol,ul,menu{list-style:none}
img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}
img,video{max-width:100%;height:auto}
button,input,select,optgroup,textarea{font:inherit;letter-spacing:inherit;color:inherit;border-radius:0;background-color:transparent;opacity:1}
button,[role="button"]{cursor:pointer}
::placeholder{opacity:1;color:var(--eh-ink-300)}
textarea{resize:vertical}
summary{display:list-item}
[hidden]:where(:not([hidden="until-found"])){display:none!important}
:focus-visible{outline:2px solid var(--eh-brand);outline-offset:2px}

/* WordPress required classes */
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.screen-reader-text:focus{background:#fff;clip:auto!important;clip-path:none;color:var(--eh-ink);display:block;font-size:14px;font-weight:600;height:auto;left:8px;padding:12px 18px;top:8px;width:auto;z-index:100000;border-radius:12px;box-shadow:var(--eh-lift)}
.alignleft{float:left;margin:.3em 1.5em 1em 0}
.alignright{float:right;margin:.3em 0 1em 1.5em}
.aligncenter{display:block;margin-left:auto;margin-right:auto;text-align:center}
.alignwide,.alignfull{clear:both}
.wp-caption{max-width:100%}
.wp-caption-text,.gallery-caption{font-size:13px;color:var(--eh-ink-300);text-align:center;margin-top:10px}
.sticky,.bypostauthor{}

/* Logged-in admin bar: keep the shared sticky header below it */
.admin-bar header.sticky{top:32px!important}
@media (max-width:782px){.admin-bar header.sticky{top:46px!important}}
@media (max-width:600px){.admin-bar header.sticky{top:0!important}}

/* ═══ Layout ═══ */
.ehb-wrap{width:100%;max-width:1200px;margin-inline:auto;padding-inline:16px}
@media (min-width:640px){.ehb-wrap{padding-inline:28px}}
.ehb-main{padding-block:36px 56px}
@media (min-width:1024px){.ehb-main{padding-block:48px 72px}}
.ehb-layout{display:grid;gap:40px;align-items:start}
@media (min-width:1024px){.ehb-layout{grid-template-columns:minmax(0,1fr) 340px;gap:48px}}
.ehb-narrow{max-width:800px;margin-inline:auto}
.ehb-icon{width:18px;height:18px;flex-shrink:0}
.ehb-icon--sm{width:15px;height:15px}

/* ═══ Page header band (grid-paper backdrop like the main site) ═══ */
.ehb-hero{position:relative;overflow:hidden;border-bottom:1px solid var(--eh-paper-200)}
.ehb-hero::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(to right,rgba(17,28,46,.045) 1px,transparent 1px),linear-gradient(to bottom,rgba(17,28,46,.045) 1px,transparent 1px);background-size:56px 56px;-webkit-mask-image:linear-gradient(to bottom,#000 60%,transparent);mask-image:linear-gradient(to bottom,#000 60%,transparent)}
.ehb-hero::after{content:"";position:absolute;right:-160px;top:-200px;width:520px;height:520px;border-radius:50%;background:radial-gradient(closest-side,rgba(240,118,26,.13),transparent);pointer-events:none}
.ehb-hero-in{position:relative;z-index:1;padding-block:28px 34px}
@media (min-width:1024px){.ehb-hero-in{padding-block:40px 46px}}
.ehb-hero--home .ehb-hero-in{padding-block:36px 40px}
@media (min-width:1024px){.ehb-hero--home .ehb-hero-in{padding-block:56px 56px}}
.ehb-hero-grid{display:grid;gap:28px;align-items:end}
@media (min-width:1024px){.ehb-hero-grid{grid-template-columns:minmax(0,1fr) 400px;gap:48px}}
.ehb-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;font-size:13px;color:var(--eh-ink-300)}
.ehb-crumbs a:hover{color:var(--eh-brand-600)}
.ehb-crumbs [aria-current]{color:var(--eh-ink-500)}
.ehb-eyebrow{display:inline-flex;align-items:center;gap:8px;margin-top:18px;border-radius:999px;background:#fff;box-shadow:var(--eh-ring);padding:5px 12px 5px 10px;font-size:11.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--eh-ink-500)}
.ehb-eyebrow .ehb-icon{width:14px;height:14px;color:var(--eh-brand)}
.ehb-h1{margin-top:16px;max-width:56rem;font-family:var(--eh-display);font-weight:800;font-size:32px;line-height:1.08;letter-spacing:-.03em;color:var(--eh-ink);overflow-wrap:break-word}
@media (min-width:640px){.ehb-h1{font-size:40px}}
@media (min-width:1024px){.ehb-h1{font-size:46px}}
.ehb-hero--post .ehb-h1{font-size:30px;line-height:1.1}
@media (min-width:640px){.ehb-hero--post .ehb-h1{font-size:38px}}
@media (min-width:1024px){.ehb-hero--post .ehb-h1{font-size:44px}}
.ehb-h1 .ehb-accent{color:var(--eh-brand)}
.ehb-lead{margin-top:14px;max-width:42rem;font-size:16.5px;line-height:1.65;color:var(--eh-ink-500)}
.ehb-lead p+p{margin-top:.6em}
.ehb-count{margin-top:10px;font-size:13px;color:var(--eh-ink-300)}

/* category chips */
.ehb-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
.ehb-chip{display:inline-flex;align-items:center;gap:7px;border-radius:12px;padding:7px 14px;font-size:13.5px;font-weight:600;background:#fff;box-shadow:inset 0 0 0 1px var(--eh-paper-200);color:var(--eh-ink);transition:background-color .15s,color .15s}
.ehb-chip:hover{background:var(--eh-paper-100)}
.ehb-chip span{font-weight:500;color:var(--eh-ink-300)}
.ehb-chip.is-active{background:var(--eh-ink);color:#fff;box-shadow:none}
.ehb-chip.is-active span{color:var(--eh-ink-300)}

/* ═══ Search form ═══ */
.ehb-search{display:flex;align-items:center;gap:6px;border-radius:18px;background:#fff;box-shadow:var(--eh-card);padding:6px}
.ehb-search .ehb-icon{margin-left:10px;color:var(--eh-ink-300)}
.ehb-search input[type="search"]{flex:1;min-width:0;padding:11px 6px;font-size:15px;background:transparent;outline:none;-webkit-appearance:none;appearance:none}
.ehb-search input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}
.ehb-search button{flex-shrink:0;border-radius:13px;background:var(--eh-ink);color:#fff;padding:10px 18px;font-size:14px;font-weight:600;transition:background-color .15s}
.ehb-search button:hover{background:var(--eh-ink-700)}
.ehb-search:focus-within{box-shadow:0 0 0 2px var(--eh-brand),0 12px 32px -12px rgba(17,28,46,.14)}
.ehb-search--lg{border-radius:22px;padding:8px}
.ehb-search--lg input[type="search"]{font-size:16px;padding-block:13px}
.ehb-search--lg button{padding:12px 22px;border-radius:15px;background:var(--eh-brand)}
.ehb-search--lg button:hover{background:var(--eh-brand-600)}

/* ═══ Post cards ═══ */
.ehb-list{display:grid;gap:20px}
.ehb-card{position:relative;display:flex;flex-direction:column;overflow:hidden;border-radius:24px;background:#fff;box-shadow:var(--eh-card);transition:transform .18s ease,box-shadow .18s ease}
.ehb-card:hover{transform:translateY(-2px);box-shadow:var(--eh-lift)}
.ehb-card-img{display:block;aspect-ratio:16/8;overflow:hidden;background:var(--eh-paper-100)}
.ehb-card-img img{width:100%;height:100%;object-fit:cover}
.ehb-card-body{display:flex;flex-direction:column;flex:1;padding:22px}
@media (min-width:640px){.ehb-card-body{padding:28px}}
.ehb-card-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;font-size:12.5px;color:var(--eh-ink-300)}
.ehb-pill{position:relative;z-index:2;display:inline-flex;align-items:center;border-radius:999px;background:var(--eh-brand-100);color:var(--eh-brand-700);padding:4px 10px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;transition:background-color .15s}
a.ehb-pill:hover{background:#fbd9bb}
.ehb-card-title{margin-top:14px;font-family:var(--eh-display);font-weight:800;font-size:21px;line-height:1.22;letter-spacing:-.02em;color:var(--eh-ink)}
@media (min-width:640px){.ehb-card-title{font-size:24px}}
.ehb-card-title a::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit}
.ehb-card:hover .ehb-card-title a{color:var(--eh-brand-600)}
.ehb-card-excerpt{margin-top:10px;font-size:15px;line-height:1.65;color:var(--eh-ink-500);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ehb-card-excerpt p{display:inline}
.ehb-card-foot{margin-top:auto;padding-top:18px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;font-size:13px;color:var(--eh-ink-300)}
.ehb-card-stats{display:flex;flex-wrap:wrap;gap:14px}
.ehb-card-stats span{display:inline-flex;align-items:center;gap:6px}
.ehb-more{display:inline-flex;align-items:center;gap:6px;font-weight:600;color:var(--eh-brand-600)}
.ehb-more .ehb-icon{transition:transform .18s ease}
.ehb-card:hover .ehb-more .ehb-icon{transform:translateX(3px)}

/* first post on the blog home: dark feature card */
.ehb-card--feature{background:var(--eh-ink);color:var(--eh-paper);box-shadow:0 2px 4px rgba(17,28,46,.08),0 28px 60px -24px rgba(17,28,46,.45)}
.ehb-card--feature::before{content:"";position:absolute;right:-90px;top:-110px;width:320px;height:320px;border-radius:50%;background:radial-gradient(closest-side,rgba(240,118,26,.35),transparent);pointer-events:none}
.ehb-card--feature:hover{box-shadow:0 2px 4px rgba(17,28,46,.1),0 34px 70px -24px rgba(17,28,46,.55)}
.ehb-card--feature .ehb-card-body{position:relative;padding:26px}
@media (min-width:640px){.ehb-card--feature .ehb-card-body{padding:36px}}
.ehb-card--feature .ehb-card-title{font-size:26px;color:#fff}
@media (min-width:640px){.ehb-card--feature .ehb-card-title{font-size:32px;line-height:1.12}}
.ehb-card--feature:hover .ehb-card-title a{color:#fff}
.ehb-card--feature .ehb-card-excerpt{color:var(--eh-ink-300);font-size:15.5px}
.ehb-card--feature .ehb-pill{background:rgba(240,118,26,.2);color:#FDBA8C}
.ehb-card--feature a.ehb-pill:hover{background:rgba(240,118,26,.32)}
.ehb-card--feature .ehb-card-meta,.ehb-card--feature .ehb-card-foot{color:var(--eh-ink-300)}
.ehb-card--feature .ehb-more{color:var(--eh-brand)}
.ehb-new{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;letter-spacing:.12em;color:#fff}
.ehb-new::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--eh-brand);box-shadow:0 0 0 4px rgba(240,118,26,.25)}

/* ═══ Pagination ═══ */
.ehb-pager{margin-top:36px}
.ehb-pager .nav-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px}
.ehb-pager .page-numbers{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:42px;height:42px;padding:0 14px;border-radius:12px;background:#fff;box-shadow:inset 0 0 0 1px var(--eh-paper-200);font-size:14px;font-weight:600;color:var(--eh-ink);transition:background-color .15s}
.ehb-pager a.page-numbers:hover{background:var(--eh-paper-100)}
.ehb-pager .page-numbers.current{background:var(--eh-ink);color:#fff;box-shadow:none}
.ehb-pager .page-numbers.dots{background:none;box-shadow:none;min-width:24px;padding:0;color:var(--eh-ink-300)}

/* ═══ Single post ═══ */
.ehb-meta{margin-top:18px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;font-size:13.5px;color:var(--eh-ink-500)}
.ehb-meta>span,.ehb-meta>a{display:inline-flex;align-items:center;gap:7px}
.ehb-meta .ehb-icon{width:16px;height:16px;color:var(--eh-ink-300)}
.ehb-meta a:hover{color:var(--eh-brand-600)}
.ehb-article{border-radius:24px;background:#fff;box-shadow:var(--eh-card);padding:22px}
@media (min-width:640px){.ehb-article{padding:36px}}
@media (min-width:1024px){.ehb-article{padding:44px 48px}}
.ehb-article-thumb{margin:-22px -22px 28px;overflow:hidden;border-radius:24px 24px 0 0}
@media (min-width:640px){.ehb-article-thumb{margin:-36px -36px 32px}}
@media (min-width:1024px){.ehb-article-thumb{margin:-44px -48px 36px}}
.ehb-article-thumb img{width:100%;height:auto}
.ehb-edit{display:inline-flex;margin-top:22px;font-size:13px;font-weight:600;color:var(--eh-ink-300)}
.ehb-edit a{display:inline-flex;align-items:center;gap:6px;border-radius:10px;padding:6px 12px;box-shadow:inset 0 0 0 1px var(--eh-paper-200)}
.ehb-edit a:hover{color:var(--eh-ink);background:var(--eh-paper-100)}

/* article typography */
.ehb-prose{font-size:16.5px;line-height:1.78;color:var(--eh-ink-700);overflow-wrap:break-word}
.ehb-prose>*+*{margin-top:1.05em}
.ehb-prose>:first-child{margin-top:0}
.ehb-prose h2{margin-top:1.75em;font-family:var(--eh-display);font-weight:800;font-size:25px;line-height:1.22;letter-spacing:-.02em;color:var(--eh-ink)}
@media (min-width:640px){.ehb-prose h2{font-size:28px}}
.ehb-prose h3{margin-top:1.55em;font-family:var(--eh-display);font-weight:700;font-size:20px;line-height:1.3;letter-spacing:-.01em;color:var(--eh-ink)}
.ehb-prose h4,.ehb-prose h5,.ehb-prose h6{margin-top:1.4em;font-weight:700;font-size:17px;color:var(--eh-ink)}
.ehb-prose h2+*,.ehb-prose h3+*,.ehb-prose h4+*{margin-top:.6em}
.ehb-prose a{color:var(--eh-brand-600);font-weight:600;text-decoration:underline;text-decoration-color:rgba(220,95,10,.35);text-decoration-thickness:1.5px;text-underline-offset:3px;transition:text-decoration-color .15s}
.ehb-prose a:hover{text-decoration-color:var(--eh-brand-600)}
.ehb-prose strong,.ehb-prose b{font-weight:700;color:var(--eh-ink)}
.ehb-prose ul{list-style:disc;padding-left:1.35em}
.ehb-prose ol{list-style:decimal;padding-left:1.45em}
.ehb-prose li{padding-left:.25em}
.ehb-prose li+li{margin-top:.4em}
.ehb-prose li>ul,.ehb-prose li>ol{margin-top:.4em}
.ehb-prose li::marker{color:var(--eh-brand)}
.ehb-prose ol>li::marker{font-weight:700}
.ehb-prose blockquote,.ehb-prose .wp-block-quote{border-left:3px solid var(--eh-brand);background:var(--eh-brand-100);padding:16px 22px;border-radius:0 16px 16px 0;color:#7A3E10}
.ehb-prose blockquote>*+*{margin-top:.6em}
.ehb-prose blockquote strong{color:#5c2d08}
.ehb-prose blockquote cite,.ehb-prose .wp-block-quote cite{display:block;margin-top:.6em;font-size:13.5px;font-style:normal;color:var(--eh-brand-700)}
.ehb-prose .wp-block-pullquote{padding:26px 0;border-top:2px solid var(--eh-paper-200);border-bottom:2px solid var(--eh-paper-200);text-align:center}
.ehb-prose .wp-block-pullquote blockquote{background:none;border:0;padding:0;font-family:var(--eh-display);font-weight:700;font-size:22px;line-height:1.35;color:var(--eh-ink)}
.ehb-prose :not(pre)>code{background:var(--eh-paper-100);border-radius:6px;padding:2px 6px;font-size:.86em;color:var(--eh-ink)}
.ehb-prose pre{background:var(--eh-ink);color:var(--eh-paper);padding:16px 20px;border-radius:16px;overflow-x:auto;font-size:13.5px;line-height:1.65}
.ehb-prose figure{margin-block:1.6em}
.ehb-prose img{border-radius:16px;box-shadow:var(--eh-card)}
.ehb-prose .wp-block-image img,.ehb-prose figure img{margin-inline:auto}
.ehb-prose figcaption{margin-top:10px;font-size:13px;line-height:1.5;color:var(--eh-ink-300);text-align:center}
.ehb-prose .wp-block-table{overflow-x:auto}
.ehb-prose>table{display:block;max-width:100%;overflow-x:auto}
.ehb-prose table{width:100%;font-size:14.5px;line-height:1.55}
.ehb-prose th,.ehb-prose td{border:1px solid var(--eh-paper-200);padding:10px 14px;text-align:left;vertical-align:top}
.ehb-prose thead th,.ehb-prose th{background:var(--eh-paper-100);font-weight:700;color:var(--eh-ink)}
.ehb-prose tbody tr:nth-child(even) td{background:#fcfaf6}
.ehb-prose hr,.ehb-prose .wp-block-separator{border:0;border-top:1px solid var(--eh-paper-200);margin-block:2.2em}
.ehb-prose iframe,.ehb-prose embed,.ehb-prose video{max-width:100%}
.ehb-prose .wp-block-embed__wrapper iframe{width:100%;border-radius:16px}
.ehb-prose .wp-block-button__link,.ehb-prose .wp-element-button{display:inline-flex;align-items:center;border-radius:14px;background:var(--eh-brand);color:#fff;padding:12px 22px;font-weight:600;text-decoration:none}
.ehb-prose .wp-block-button__link:hover{background:var(--eh-brand-600)}
.ehb-prose::after{content:"";display:table;clear:both}
.ehb-pages{margin-top:28px;display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:14px;font-weight:600}
.ehb-pages a,.ehb-pages>span>span{display:inline-grid;place-items:center;min-width:36px;height:36px;border-radius:10px;box-shadow:inset 0 0 0 1px var(--eh-paper-200)}

/* tags + share */
.ehb-after{margin-top:32px;padding-top:24px;border-top:1px solid var(--eh-paper-200);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.ehb-tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.ehb-tags a{border-radius:10px;background:var(--eh-paper-100);padding:5px 11px;font-size:13px;font-weight:600;color:var(--eh-ink-500);transition:background-color .15s}
.ehb-tags a:hover{background:var(--eh-paper-200);color:var(--eh-ink)}
.ehb-share{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;color:var(--eh-ink-300)}
.ehb-share>span{margin-right:4px;letter-spacing:.06em;text-transform:uppercase;font-size:11px;font-weight:700}
.ehb-share a,.ehb-share button{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:12px;box-shadow:inset 0 0 0 1px var(--eh-paper-200);color:var(--eh-ink-500);transition:background-color .15s,color .15s}
.ehb-share a:hover,.ehb-share button:hover{background:var(--eh-ink);color:#fff;box-shadow:none}
.ehb-share button.is-copied{background:var(--eh-pine);color:#fff;box-shadow:none}

/* previous / next */
.ehb-postnav{margin-top:20px;display:grid;gap:14px}
@media (min-width:640px){.ehb-postnav{grid-template-columns:1fr 1fr}}
.ehb-postnav a{display:flex;flex-direction:column;gap:6px;height:100%;border-radius:20px;background:#fff;box-shadow:var(--eh-card);padding:18px 20px;transition:transform .18s ease,box-shadow .18s ease}
.ehb-postnav a:hover{transform:translateY(-2px);box-shadow:var(--eh-lift)}
.ehb-postnav small{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--eh-ink-300)}
.ehb-postnav strong{font-family:var(--eh-display);font-weight:700;font-size:17px;line-height:1.3;color:var(--eh-ink)}
.ehb-postnav a:hover strong{color:var(--eh-brand-600)}
.ehb-postnav .is-next{text-align:right;align-items:flex-end}
@media (min-width:640px){.ehb-postnav .is-next:only-child{grid-column:2}}

/* ═══ Comments ═══ */
.ehb-comments{margin-top:24px;border-radius:24px;background:#fff;box-shadow:var(--eh-card);padding:22px}
@media (min-width:640px){.ehb-comments{padding:32px 36px}}
.ehb-comments-title,.ehb-comments .comment-reply-title{font-family:var(--eh-display);font-weight:800;font-size:22px;letter-spacing:-.02em;color:var(--eh-ink)}
.ehb-comment-list{margin-top:8px}
.ehb-comment-list .children{margin-left:20px;padding-left:18px;border-left:2px solid var(--eh-paper-200)}
@media (min-width:640px){.ehb-comment-list .children{margin-left:28px}}
.ehb-c{display:grid;grid-template-columns:40px minmax(0,1fr);gap:14px;padding-block:20px;border-top:1px solid var(--eh-paper-200)}
.ehb-comment-list>li:first-child>.ehb-c{border-top:0}
.ehb-c-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--eh-ink);color:#fff;font-weight:700;font-size:14px;text-transform:uppercase}
.bypostauthor>.ehb-c .ehb-c-avatar{background:var(--eh-brand)}
.ehb-c-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}
.ehb-c-name{font-weight:700;font-size:15px;color:var(--eh-ink)}
.ehb-c-badge{border-radius:999px;background:var(--eh-brand-100);color:var(--eh-brand-700);padding:2px 8px;font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.ehb-c-date{font-size:12.5px;color:var(--eh-ink-300)}
.ehb-c-body{margin-top:6px;font-size:15px;line-height:1.7;color:var(--eh-ink-700)}
.ehb-c-body>*+*{margin-top:.7em}
.ehb-c-body a{color:var(--eh-brand-600);text-decoration:underline;text-underline-offset:3px}
.ehb-c-pending{margin-top:6px;font-size:13px;font-style:italic;color:var(--eh-brand-700)}
.ehb-c-actions{margin-top:8px;display:flex;gap:14px;font-size:13px;font-weight:600}
.ehb-c-actions a{color:var(--eh-brand-600)}
.ehb-c-actions a:hover{color:var(--eh-brand-700)}
.ehb-comments .comments-nav{margin-block:12px;display:flex;justify-content:space-between;font-size:14px;font-weight:600;color:var(--eh-brand-600)}
.ehb-comments .comment-respond{margin-top:28px;padding-top:26px;border-top:1px solid var(--eh-paper-200)}
.ehb-comments .ehb-comment-list:empty+.comment-respond,.ehb-comments>.comment-respond:first-child{margin-top:0;padding-top:0;border-top:0}
.ehb-comments .comment-reply-title small{margin-left:10px;font-family:var(--eh-sans);font-size:13px;font-weight:600;letter-spacing:0}
.ehb-comments .comment-reply-title small a{color:var(--eh-brand-600)}
.ehb-comments .comment-notes,.ehb-comments .logged-in-as{margin-top:6px;font-size:13.5px;color:var(--eh-ink-500)}
.ehb-comments .logged-in-as a{color:var(--eh-brand-600);font-weight:600}
.ehb-comments .comment-form{display:grid;gap:16px;margin-top:18px}
@media (min-width:640px){.ehb-comments .comment-form{grid-template-columns:1fr 1fr}.ehb-comments .comment-form>p:not(.comment-form-author):not(.comment-form-email){grid-column:1/-1}}
.ehb-comments .comment-form label{display:block;margin-bottom:6px;font-size:13.5px;font-weight:600;color:var(--eh-ink)}
.ehb-comments .comment-form .required{color:var(--eh-brand-600)}
.ehb-comments .comment-form input[type="text"],.ehb-comments .comment-form input[type="email"],.ehb-comments .comment-form input[type="url"],.ehb-comments .comment-form textarea{display:block;width:100%;border-radius:14px;background:#fff;box-shadow:var(--eh-field);padding:12px 14px;font-size:15px;line-height:1.5;outline:none;transition:box-shadow .15s}
.ehb-comments .comment-form textarea{min-height:140px}
.ehb-comments .comment-form input:focus,.ehb-comments .comment-form textarea:focus{box-shadow:0 0 0 2px var(--eh-brand)}
.ehb-comments .comment-form-cookies-consent{display:flex;align-items:flex-start;gap:10px;font-size:13.5px;color:var(--eh-ink-500)}
.ehb-comments .comment-form-cookies-consent input{margin-top:3px;accent-color:var(--eh-brand)}
.ehb-comments .comment-form-cookies-consent label{margin:0;font-weight:500;color:var(--eh-ink-500)}
.ehb-btn,.ehb-comments .form-submit .submit{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:14px;background:var(--eh-brand);color:#fff;padding:12px 22px;font-size:15px;font-weight:600;transition:background-color .15s,transform .15s}
.ehb-btn:hover,.ehb-comments .form-submit .submit:hover{background:var(--eh-brand-600)}
.ehb-btn--ink{background:var(--eh-ink)}
.ehb-btn--ink:hover{background:var(--eh-ink-700)}
.ehb-btn--ghost{background:#fff;color:var(--eh-ink);box-shadow:inset 0 0 0 1px var(--eh-paper-200)}
.ehb-btn--ghost:hover{background:var(--eh-paper-100)}
.ehb-comments .comments-closed{margin-top:16px;font-size:14px;color:var(--eh-ink-500)}

/* ═══ Sidebar ═══ */
.ehb-aside{display:grid;gap:20px;min-width:0}
.ehb-box,.ehb-aside .widget{border-radius:20px;background:#fff;box-shadow:var(--eh-ring);padding:20px}
.ehb-box-title,.ehb-aside .widget-title,.ehb-aside .widget h2,.ehb-aside .widget .wp-block-heading{font-family:var(--eh-sans);font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--eh-ink-300)}
.ehb-box ul,.ehb-aside .widget ul{margin-top:10px;display:grid;gap:2px}
.ehb-cats a,.ehb-aside .widget_categories a,.ehb-aside .wp-block-categories a,.ehb-aside .widget_archive a,.ehb-aside .wp-block-archives a,.ehb-aside .widget_pages a,.ehb-aside .widget_nav_menu a,.ehb-aside .widget_meta a{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-inline:-10px;border-radius:12px;padding:8px 10px;font-size:14.5px;color:var(--eh-ink);transition:background-color .15s}
.ehb-aside .widget_categories li,.ehb-aside .wp-block-categories li,.ehb-aside .widget_archive li,.ehb-aside .wp-block-archives li{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--eh-ink-300)}
.ehb-aside .widget_categories li a,.ehb-aside .wp-block-categories li a,.ehb-aside .widget_archive li a,.ehb-aside .wp-block-archives li a{flex:1}
.ehb-cats a:hover,.ehb-aside .widget a:hover{background:var(--eh-paper-100)}
.ehb-cats a.is-active{background:var(--eh-ink);color:#fff;font-weight:600}
.ehb-cats a span{font-size:13px;color:var(--eh-ink-300)}
.ehb-recent a,.ehb-aside .widget_recent_entries a,.ehb-aside .wp-block-latest-posts a{display:block;margin-inline:-10px;border-radius:12px;padding:9px 10px;transition:background-color .15s}
.ehb-recent strong,.ehb-aside .widget_recent_entries a,.ehb-aside .wp-block-latest-posts a{font-size:14px;font-weight:600;line-height:1.38;color:var(--eh-ink)}
.ehb-recent small{display:block;margin-top:3px;font-size:12px;font-weight:500;color:var(--eh-ink-300)}
.ehb-recent a:hover{background:var(--eh-paper-100)}
.ehb-recent a:hover strong{color:var(--eh-brand-600)}
.ehb-aside .widget p,.ehb-aside .widget .textwidget{margin-top:10px;font-size:14px;line-height:1.6;color:var(--eh-ink-500)}
.ehb-aside .widget select{width:100%;margin-top:10px;border-radius:12px;box-shadow:var(--eh-field);padding:10px 12px;font-size:14px;background:#fff}
.ehb-aside .widget_search .ehb-search,.ehb-aside .wp-block-search{box-shadow:none;padding:0}
.ehb-aside .wp-block-search__inside-wrapper{display:flex;gap:6px;margin-top:10px;border-radius:14px;box-shadow:var(--eh-field);padding:5px}
.ehb-aside .wp-block-search__input{flex:1;min-width:0;border:0;padding:8px 10px;font-size:14.5px;outline:none}
.ehb-aside .wp-block-search__button{border-radius:10px;background:var(--eh-ink);color:#fff;padding:8px 14px;font-size:13.5px;font-weight:600;border:0;margin:0}
.ehb-aside .widget.widget_search{padding:0;box-shadow:none;background:none}
.ehb-aside .wp-block-search__label{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}
.ehb-aside .widget_search .wp-block-search__inside-wrapper{margin-top:0;border-radius:18px;background:#fff;box-shadow:var(--eh-card);padding:6px;border:0}
.ehb-aside .widget_search .wp-block-search__input{background:transparent;padding:10px 12px;font-size:15px}
.ehb-aside .widget_search .wp-block-search__button{border-radius:13px;padding:10px 16px;font-size:14px}
.ehb-aside .wp-block-latest-comments{margin-top:10px;padding:0;display:grid;gap:12px;font-size:13.5px;line-height:1.5;color:var(--eh-ink-500)}
.ehb-aside .wp-block-latest-comments a{font-weight:600;color:var(--eh-ink)}
.ehb-aside .wp-block-latest-comments a:hover{color:var(--eh-brand-600)}
.ehb-aside .widget .wp-block-group>*+*{margin-top:0}
.ehb-aside .widget_recent_entries .post-date,.ehb-aside .wp-block-latest-posts__post-date{display:block;margin-top:2px;font-size:12px;font-weight:500;color:var(--eh-ink-300)}

.ehb-promo{position:relative;overflow:hidden;border-radius:20px;background:var(--eh-ink);color:var(--eh-paper);padding:24px}
.ehb-promo::before{content:"";position:absolute;right:-80px;top:-90px;width:240px;height:240px;border-radius:50%;background:radial-gradient(closest-side,rgba(240,118,26,.4),transparent);pointer-events:none}
.ehb-promo>*{position:relative}
.ehb-promo .ehb-box-title{color:#FDBA8C}
.ehb-promo .ehb-promo-title{margin-top:10px;font-family:var(--eh-display);font-weight:800;font-size:22px;line-height:1.15;letter-spacing:-.02em;color:#fff}
.ehb-promo .ehb-promo-text{margin-top:8px;font-size:14px;line-height:1.6;color:var(--eh-ink-300)}
.ehb-promo ul{margin-top:14px;display:grid;gap:7px;font-size:13.5px;color:var(--eh-paper-100)}
.ehb-promo li{display:flex;align-items:center;gap:8px}
.ehb-promo li .ehb-icon{width:16px;height:16px;color:var(--eh-brand)}
.ehb-promo .ehb-btn{margin-top:18px;width:100%}
.ehb-wa{display:flex;align-items:center;gap:14px;border-radius:20px;background:var(--eh-pine-100);padding:18px 20px;color:var(--eh-ink);transition:transform .18s ease}
.ehb-wa:hover{transform:translateY(-2px)}
.ehb-wa-icon{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:14px;background:var(--eh-pine);color:#fff}
.ehb-wa-icon .ehb-icon{width:22px;height:22px}
.ehb-wa strong{display:block;font-size:15px;font-weight:700}
.ehb-wa small{display:block;margin-top:2px;font-size:13px;color:var(--eh-ink-500)}

/* ═══ Empty / 404 ═══ */
.ehb-empty{max-width:640px;margin-inline:auto;border-radius:28px;background:#fff;box-shadow:var(--eh-card);padding:40px 24px;text-align:center}
@media (min-width:640px){.ehb-empty{padding:48px 40px}}
.ehb-empty-icon{display:inline-grid;place-items:center;width:56px;height:56px;border-radius:18px;background:var(--eh-paper-100);color:var(--eh-ink-300)}
.ehb-empty-icon .ehb-icon{width:28px;height:28px}
.ehb-empty h2{margin-top:18px;font-family:var(--eh-display);font-weight:800;font-size:24px;letter-spacing:-.02em}
.ehb-empty p{margin-top:8px;font-size:15px;line-height:1.65;color:var(--eh-ink-500)}
.ehb-empty .ehb-search{margin-top:22px;text-align:left}
.ehb-empty-links{margin-top:22px;display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.ehb-empty .ehb-404{margin-top:0;font-family:var(--eh-display);font-weight:800;font-size:88px;line-height:1;letter-spacing:-.05em;color:var(--eh-brand)}
@media (min-width:640px){.ehb-empty .ehb-404{font-size:120px}}
.ehb-section-title{margin-top:44px;margin-bottom:18px;font-family:var(--eh-display);font-weight:800;font-size:22px;letter-spacing:-.02em}
.ehb-grid-3{display:grid;gap:20px}
@media (min-width:768px){.ehb-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}}
.ehb-grid-3 .ehb-card-title{font-size:19px}

/* ═══ Newsletter band (above the shared footer) ═══ */
.ehb-news{padding-bottom:56px}
.ehb-news-card{position:relative;overflow:hidden;display:grid;gap:22px;align-items:center;border-radius:28px;background:var(--eh-brand);color:#fff;padding:28px 24px}
@media (min-width:640px){.ehb-news-card{padding:36px 40px}}
@media (min-width:1024px){.ehb-news-card{grid-template-columns:minmax(0,1fr) 460px;gap:40px;padding:40px 48px}}
.ehb-news-card::before{content:"";position:absolute;left:-120px;bottom:-200px;width:420px;height:420px;border-radius:50%;background:radial-gradient(closest-side,rgba(255,255,255,.16),transparent);pointer-events:none}
.ehb-news-card>*{position:relative}
.ehb-news .ehb-news-eyebrow{margin-top:0;font-size:11.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.8)}
.ehb-news h2{margin-top:8px;font-family:var(--eh-display);font-weight:800;font-size:26px;line-height:1.12;letter-spacing:-.03em}
@media (min-width:640px){.ehb-news h2{font-size:32px}}
.ehb-news .ehb-news-text{margin-top:8px;font-size:15px;line-height:1.6;color:rgba(255,255,255,.88)}
.ehb-news-form{display:flex;flex-direction:column;gap:8px;border-radius:20px;background:#fff;padding:8px;box-shadow:0 18px 40px -18px rgba(17,28,46,.35)}
@media (min-width:480px){.ehb-news-form{flex-direction:row;align-items:center}}
.ehb-news-form input[type="email"]{flex:1;min-width:0;padding:12px 12px;font-size:15.5px;color:var(--eh-ink);outline:none;background:transparent}
.ehb-news-form button{border-radius:14px;background:var(--eh-ink);color:#fff;padding:12px 22px;font-size:15px;font-weight:600;transition:background-color .15s}
.ehb-news-form button:hover{background:var(--eh-ink-700)}
.ehb-news .ehb-news-note{margin-top:10px;font-size:12.5px;color:rgba(255,255,255,.78)}
.ehb-hp{position:absolute!important;left:-5000px!important}

/* ═══ Fallback header/footer (only when www.easyhost.pk cannot be reached) ═══ */
.ehb-fb-head{position:sticky;top:0;z-index:50;background:rgba(253,251,247,.92);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid var(--eh-paper-200)}
.admin-bar .ehb-fb-head{top:32px}
@media (max-width:782px){.admin-bar .ehb-fb-head{top:46px}}
@media (max-width:600px){.admin-bar .ehb-fb-head{top:0}}
.ehb-fb-head .ehb-wrap{display:flex;align-items:center;gap:24px;height:72px}
.ehb-fb-head img{height:30px;width:auto}
.ehb-fb-nav{display:none;gap:22px;font-size:14.5px;font-weight:600;color:var(--eh-ink-500)}
.ehb-fb-nav a:hover{color:var(--eh-ink)}
@media (min-width:900px){.ehb-fb-nav{display:flex}}
.ehb-fb-cta{margin-left:auto;display:flex;align-items:center;gap:10px}
.ehb-fb-cta .ehb-btn{padding:10px 18px;font-size:14px}
.ehb-fb-foot{background:var(--eh-ink);color:var(--eh-ink-300);padding-block:36px;font-size:14px}
.ehb-fb-foot .ehb-wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.ehb-fb-foot nav{display:flex;flex-wrap:wrap;gap:18px}
.ehb-fb-foot a:hover{color:#fff}

@media (prefers-reduced-motion:reduce){*,::before,::after{transition:none!important;animation:none!important}}
@media print{.ehb-aside,.ehb-news,.ehb-share,.ehb-postnav,.ehb-comments,header.sticky,#support,footer{display:none!important}.ehb-layout{display:block}.ehb-article{box-shadow:none;padding:0}}
