




/* cass */



/* =========================================================
   Number Directory – Home v2 | Bootstrap 5
   Glassmorphism hero + flat clean content
   Colors: #0c51ac (primary)  #373436 (dark)
   ========================================================= */
:root {
  --nd-primary: #0c51ac;
  --nd-primary-dark: #093f87;
  --nd-primary-soft: #e8f0fb;
  --nd-dark: #373436;
  --nd-text: #4a4749;
  --nd-muted: #7a777a;
  --nd-line: #e5e8ee;
  --nd-bg: #ffffff;
  --nd-bg-soft: #f5f7fb;
  --nd-radius: 14px;
}

body { color: var(--nd-text); background: var(--nd-bg); }
a { color: var(--nd-primary); text-decoration: none; }
a:hover { color: var(--nd-primary-dark); }

/* ---------- Glass utility ---------- */
.nd-glass {
  background: rgba(255, 255, 255, .13);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 10px 40px rgba(5, 25, 60, .22), inset 0 1px 0 rgba(255, 255, 255, .25);
}

/* ---------- Buttons ---------- */
.nd-btn {
  background: var(--nd-primary); color: #fff; border: 2px solid var(--nd-primary);
  font-weight: 600; padding: .7rem 1.4rem; border-radius: 10px; transition: .2s;
}
.nd-btn:hover { background: var(--nd-primary-dark); border-color: var(--nd-primary-dark); color: #fff; }
.nd-btn--outline { background: transparent; color: var(--nd-primary); }
.nd-btn--outline:hover { background: var(--nd-primary); color: #fff; }
.nd-btn--light { background: #fff; border-color: #fff; color: var(--nd-primary); }
.nd-btn--light:hover { background: var(--nd-primary-soft); border-color: var(--nd-primary-soft); color: var(--nd-primary-dark); }

/* ---------- Hero ---------- */
.nd-hero {
  position: relative; overflow: hidden; color: #fff; padding: 90px 0 160px;
  background: linear-gradient(135deg, #0c51ac 0%, #0a3f86 50%, #373436 120%);
}
.nd-hero__grid {
  position: absolute; inset: 0; opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.nd-orb { position: absolute; border-radius: 50%; filter: blur(60px); transition: transform .3s ease-out; pointer-events: none; }
.nd-orb--1 { width: 420px; height: 420px; background: #3b82f6; opacity: .55; top: -140px; left: -120px; animation: nd-float 14s ease-in-out infinite; }
.nd-orb--2 { width: 360px; height: 360px; background: #7db4ff; opacity: .40; bottom: -140px; right: 8%; animation: nd-float 17s ease-in-out infinite reverse; }
.nd-orb--3 { width: 260px; height: 260px; background: #373436; opacity: .65; top: 30%; right: -80px; animation: nd-float 12s ease-in-out infinite; }
.nd-orb--4 { width: 340px; height: 340px; background: #3b82f6; opacity: .5; top: -120px; right: 10%; }
@keyframes nd-float { 0%,100% { translate: 0 0; } 50% { translate: 24px -30px; } }

.nd-eyebrow {
  display: inline-flex; gap: .5rem; align-items: center; padding: .45rem 1.05rem;
  border-radius: 50px; font-size: .85rem; font-weight: 600; margin-bottom: 1.25rem;
}
.nd-hero__title { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.12; margin-bottom: 1rem; color: #fff; }
.nd-hero__title span {
  background: linear-gradient(90deg, #fff, #a9cbff); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nd-hero__lead { font-size: 1.1rem; opacity: .9; max-width: 560px; margin-bottom: 2rem; }

/* Search (glass) */
.nd-search { display: flex; flex-wrap: wrap; gap: .5rem; padding: .55rem; border-radius: 18px; max-width: 700px; }
.nd-search__field { position: relative; flex: 1 1 260px; }
.nd-search__field i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,.8); }
.nd-search .form-control, .nd-search .form-select {
  height: 52px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.14);
  color: #fff; border-radius: 12px; box-shadow: none;
}
.nd-search .form-control { padding-left: 44px; }
.nd-search .form-control::placeholder { color: rgba(255,255,255,.72); }
/*.nd-search .form-select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat: no-repeat;*/
/*    background-position: right; }*/

.nd-search__select {
    position: relative;
    width: 100%;
}

.nd-search__select select.form-select {
    width: 100%;
    padding: 12px 40px 12px 15px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    cursor: pointer;
    outline: none;
    box-shadow: none;
}

/* Custom Dropdown Arrow */
.nd-search__select::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 9px;
    height: 9px;
    border-right: 2px solid #555;
    border-bottom: 2px solid #555;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.nd-search__select select.form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.12);
}
.nd-search .form-select option { background: var(--nd-dark); color: #fff; }
.nd-search .form-control:focus, .nd-search .form-select:focus { background: rgba(255,255,255,.24); border-color: #fff; color: #fff; }
.nd-search__select { flex: 0 1 165px; }
.nd-search .btn { height: 52px; padding: 0 1.9rem; border-radius: 12px; }

.nd-popular { margin-top: 1.25rem; display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; font-size: .9rem; }
.nd-popular > span { opacity: .8; }
.nd-chip {
  background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.3);
  padding: .25rem .9rem; border-radius: 50px; font-size: .85rem; transition: .2s;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.nd-chip:hover { background: #fff; color: var(--nd-primary); }

/* Hero visual */
.nd-hero__visual { position: relative; padding: 24px 0 40px; }
.nd-panel { border-radius: 22px; padding: 1.25rem 1.25rem .75rem; }
.nd-panel__head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; margin-bottom: .75rem; }
.nd-panel__head a { color: #cfe1ff; font-size: .85rem; font-weight: 600; }
.nd-panel__head a:hover { color: #fff; }
.nd-panel__item {
  display: flex; align-items: center; gap: .75rem; color: #fff; padding: .8rem .9rem; margin-bottom: .55rem;
  border-radius: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  font-size: .92rem; transition: .2s;
}
.nd-panel__item span:nth-child(2) { flex: 1; }
.nd-panel__item:hover { background: rgba(255,255,255,.22); color: #fff; transform: translateX(4px); }
.nd-panel__dot { width: 9px; height: 9px; border-radius: 50%; background: #7db4ff; box-shadow: 0 0 0 4px rgba(125,180,255,.25); flex: 0 0 auto; }
.nd-stat { position: absolute; border-radius: 16px; padding: .8rem 1.2rem; display: flex; flex-direction: column; line-height: 1.2; animation: nd-float 9s ease-in-out infinite; }
.nd-stat strong { font-size: 1.5rem; font-weight: 800; }
.nd-stat span { font-size: .78rem; opacity: .85; }
.nd-stat--a { left: -26px; bottom: 0; }
.nd-stat--b { right: -14px; top: -6px; animation-delay: -4s; }
@media (max-width: 991px) { .nd-stat--a { left: 0; } .nd-stat--b { right: 0; } }

/* ---------- Category tiles ---------- */
.nd-cats { margin-top: -75px; position: relative; z-index: 2; }
.nd-cat {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .25rem;
  background: #fff; border: 1px solid var(--nd-line); border-radius: var(--nd-radius);
  padding: 1.25rem .75rem; transition: .2s; height: 100%;
}
.nd-cat:hover { border-color: var(--nd-primary); transform: translateY(-4px); }
.nd-cat__icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--nd-primary-soft); color: var(--nd-primary);
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: .4rem; transition: .2s;
}
.nd-cat:hover .nd-cat__icon { background: var(--nd-primary); color: #fff; }
.nd-cat__name { font-weight: 700; color: var(--nd-dark); }
.nd-cat__count { font-size: .8rem; color: var(--nd-muted); }

/* ---------- Sections ---------- */
.nd-section { padding: 70px 0; }
.nd-section--soft { background: var(--nd-bg-soft); }
.nd-heading { margin-bottom: 2rem; }
.nd-heading--row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.nd-heading__kicker { display: inline-block; color: var(--nd-primary); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .3rem; }
.nd-heading h2 { color: var(--nd-dark); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; }
.nd-heading:not(.nd-heading--row) h2::after { content: ""; display: block; width: 48px; height: 4px; background: var(--nd-primary); border-radius: 4px; margin-top: .6rem; }
.nd-heading__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--nd-primary); color: #fff; display: grid; place-items: center; font-size: 1.5rem; flex: 0 0 auto; }

/* ---------- Images: always full size, never cropped ---------- */
.nd-img { display: block; width: 100%; height: auto; max-width: 100%; }
.nd-noimg { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 10; color: var(--nd-primary); font-size: 2.5rem; opacity: .5; background: var(--nd-primary-soft); }

/* ---------- Blog card ---------- */
.nd-card {
  position: relative; height: 100%; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--nd-line); border-radius: var(--nd-radius); overflow: hidden; transition: .25s;
}
.nd-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--nd-primary); z-index: 3; transition: width .35s; }
.nd-card:hover { border-color: var(--nd-primary); transform: translateY(-5px); }
.nd-card:hover::before { width: 100%; }
.nd-card__media { position: relative; display: block; background: var(--nd-primary-soft); }
.nd-card__body { padding: 1.25rem 1.25rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.nd-tag {
  align-self: flex-start; background: var(--nd-primary-soft); color: var(--nd-primary); font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 6px; margin-bottom: .75rem; transition: .2s;
}
.nd-tag:hover { background: var(--nd-primary); color: #fff; }
.nd-card__title { font-size: 1.1rem; font-weight: 700; line-height: 1.4; margin-bottom: .6rem; }
.nd-card__title a { color: var(--nd-dark); }
.nd-card__title a:hover { color: var(--nd-primary); }
.nd-card__excerpt { font-size: .92rem; color: var(--nd-muted); margin-bottom: 1rem; }
.nd-card__foot { margin-top: auto; padding-top: .9rem; border-top: 1px dashed var(--nd-line); display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.nd-meta { display: flex; flex-wrap: wrap; gap: .2rem .9rem; font-size: .78rem; color: var(--nd-muted); }
.nd-meta i { color: var(--nd-primary); margin-right: .2rem; }
.nd-arrow { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--nd-bg-soft); color: var(--nd-dark); transition: .2s; }
.nd-card:hover .nd-arrow { background: var(--nd-primary); color: #fff; }

/* Large + feature */
.nd-card--lg .nd-card__body, .nd-card--feature .nd-card__body { padding: 1.6rem; }
.nd-card--lg .nd-card__title { font-size: 1.35rem; }
.nd-card--feature .nd-card__title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; }
.nd-ribbon {
  position: absolute; left: 14px; top: 14px; z-index: 2; background: var(--nd-primary); color: #fff;
  font-size: .75rem; font-weight: 700; padding: .35rem .8rem; border-radius: 50px;
}

/* Horizontal */
.nd-card--h { flex-direction: row; height: auto; }
.nd-card--h .nd-card__media { flex: 0 0 42%; align-self: flex-start; }
.nd-card--h .nd-card__body { padding: 1.1rem 1.2rem; }
.nd-card--h .nd-card__title { font-size: 1.02rem; }
.nd-card--h .nd-card__excerpt { display: none; }
@media (max-width: 575px) {
  .nd-card--h { flex-direction: column; }
  .nd-card--h .nd-card__media { flex: none; max-width: 100%; }
}

/* ---------- Side box / mini list ---------- */
.nd-sidebox { background: #fff; border: 1px solid var(--nd-line); border-radius: var(--nd-radius); padding: 1.4rem; height: 100%; }
.nd-sidebox__title { font-size: 1.1rem; font-weight: 800; color: var(--nd-dark); margin-bottom: 1.1rem; padding-bottom: .9rem; border-bottom: 2px solid var(--nd-primary-soft); }
.nd-sidebox__title i { color: var(--nd-primary); margin-right: .4rem; }
.nd-mini { display: flex; gap: .9rem; align-items: flex-start; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px dashed var(--nd-line); }
.nd-mini:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.nd-mini__media { flex: 0 0 104px; max-width: 104px; border-radius: 10px; overflow: hidden; background: var(--nd-primary-soft); }
.nd-mini__cat { display: inline-block; font-size: .7rem; font-weight: 700; color: var(--nd-primary); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.nd-mini h4 { font-size: .95rem; font-weight: 700; line-height: 1.4; margin: 0 0 .35rem; }
.nd-mini h4 a { color: var(--nd-dark); }
.nd-mini h4 a:hover { color: var(--nd-primary); }

/* ---------- Ranked list ---------- */
.nd-ranklist { display: grid; gap: 1rem; }
.nd-rank { display: flex; align-items: flex-start; gap: 1.1rem; background: #fff; border: 1px solid var(--nd-line); border-radius: var(--nd-radius); padding: 1.1rem; transition: .2s; }
.nd-rank:hover { border-color: var(--nd-primary); }
.nd-rank__num { flex: 0 0 auto; font-size: 2rem; font-weight: 800; line-height: 1; color: var(--nd-primary-soft); -webkit-text-stroke: 1.5px var(--nd-primary); min-width: 54px; }
.nd-rank__body { flex: 1; min-width: 0; }
.nd-rank h4 { font-size: 1.05rem; font-weight: 700; line-height: 1.4; margin: 0 0 .4rem; }
.nd-rank h4 a { color: var(--nd-dark); }
.nd-rank h4 a:hover { color: var(--nd-primary); }
.nd-rank__thumb { flex: 0 0 140px; max-width: 140px; border-radius: 10px; overflow: hidden; background: var(--nd-primary-soft); }
@media (max-width: 575px) { .nd-rank__thumb { display: none; } .nd-rank__num { min-width: 40px; font-size: 1.6rem; } }

/* ---------- Browse topics (blue box) ---------- */
.nd-sidebox--blue { background: var(--nd-primary); border-color: var(--nd-primary); }
.nd-sidebox--blue .nd-sidebox__title { color: #fff; border-color: rgba(255,255,255,.25); }
.nd-sidebox--blue .nd-sidebox__title i { color: #cfe1ff; }
.nd-topics { list-style: none; margin: 0; padding: 0; }
.nd-topics li + li { margin-top: .55rem; }
.nd-topics a { display: flex; justify-content: space-between; align-items: center; color: #fff; padding: .8rem 1rem; border-radius: 10px; background: rgba(255,255,255,.1); transition: .2s; font-weight: 600; }
.nd-topics a i { margin-right: .5rem; }
.nd-topics a:hover { background: #fff; color: var(--nd-primary); }
.nd-topics em { font-style: normal; font-size: .78rem; background: rgba(255,255,255,.2); padding: .1rem .6rem; border-radius: 50px; }
.nd-topics a:hover em { background: var(--nd-primary-soft); }

/* ---------- CTA band ---------- */
.nd-cta { position: relative; overflow: hidden; padding: 70px 0; background: linear-gradient(135deg, #0c51ac, #373436); }
.nd-cta__box { border-radius: 24px; padding: 2.2rem; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.nd-cta__box h2 { font-size: 1.7rem; font-weight: 800; margin: 0 0 .3rem; color: #fff; }
.nd-cta__box p { margin: 0; opacity: .85; }
.nd-cta__form { display: flex; gap: .5rem; flex: 1 1 360px; max-width: 520px; }
.nd-cta__form .form-control { height: 52px; border-radius: 12px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.15); color: #fff; box-shadow: none; }
.nd-cta__form .form-control::placeholder { color: rgba(255,255,255,.75); }
.nd-cta__form .form-control:focus { background: rgba(255,255,255,.25); border-color: #fff; color: #fff; }
.nd-cta__form .btn { height: 52px; border-radius: 12px; padding: 0 1.6rem; }

/* ---------- Disclaimer ---------- */
.nd-disclaimer { background: var(--nd-dark); padding: 60px 0; }
.nd-disclaimer__box { background: #413e40; border-left: 5px solid var(--nd-primary); border-radius: var(--nd-radius); padding: 2rem; color: #d9d7d8; }
.nd-disclaimer__head { display: flex; align-items: center; gap: 1rem; }
.nd-disclaimer__head h2 { color: #fff; font-size: 1.5rem; font-weight: 800; margin: 0; }
.nd-disclaimer__head p { font-size: .9rem; color: #b5b2b4; }
.nd-disclaimer__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--nd-primary); color: #fff; display: grid; place-items: center; font-size: 1.5rem; flex: 0 0 auto; }
.nd-disclaimer h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.nd-disclaimer h3 i { color: #6fa3ec; margin-right: .4rem; }
.nd-disclaimer p { font-size: .9rem; line-height: 1.7; margin: 0; }

/* ---------- Reveal on scroll ---------- */
.nd-reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.nd-reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 575px) {
  .nd-hero { padding: 60px 0 130px; }
  .nd-search__select, .nd-search .btn { flex: 1 1 100%; }
  .nd-section { padding: 50px 0; }
  .nd-cta__form { flex-direction: column; max-width: 100%; }
  .nd-stat--a, .nd-stat--b { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nd-orb, .nd-stat { animation: none; }
  .nd-reveal { opacity: 1; transform: none; transition: none; }
}



/* blog css */

/* =========================================================
   Number Directory – Blog page (STANDALONE)
   Only this file is needed for the Blog template.
   Colors: #0c51ac (primary)  #373436 (dark)
   Requires Bootstrap 5 (already on your site) + Bootstrap Icons (loaded by blog.php)
   ========================================================= */

.nd-blog a { text-decoration: none; }

/* ---------- Glass ---------- */
.nd-glass {
  background: rgba(255, 255, 255, .13);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 10px 40px rgba(5, 25, 60, .22), inset 0 1px 0 rgba(255, 255, 255, .25);
}

/* ---------- Hero / breadcrumb header ---------- */
.nd-hero {
  position: relative; overflow: hidden; color: #fff; padding: 70px 0 80px;
  background: linear-gradient(135deg, #0c51ac 0%, #0a3f86 50%, #373436 120%);
}
.nd-hero__grid {
  position: absolute; inset: 0; opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.nd-orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.nd-orb--1 { width: 420px; height: 420px; background: #3b82f6; opacity: .55; top: -160px; left: -120px; animation: nd-float 14s ease-in-out infinite; }
.nd-orb--2 { width: 340px; height: 340px; background: #7db4ff; opacity: .40; bottom: -160px; right: 8%; animation: nd-float 17s ease-in-out infinite reverse; }
@keyframes nd-float { 0%,100% { translate: 0 0; } 50% { translate: 24px -30px; } }

.nd-hero__title { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 800; line-height: 1.15; margin: 0 0 1rem; color: #fff; }
.nd-hero__title span {
  background: linear-gradient(90deg, #fff, #a9cbff); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nd-hero__lead { font-size: 1.05rem; opacity: .9; max-width: 560px; margin: 0 auto 1.5rem; }

.nd-crumb {
  display: inline-flex; margin: 0 0 1.4rem; padding: .55rem 1.3rem; border-radius: 50px;
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, .6);
}
.nd-crumb a { color: #fff; font-weight: 600; }
.nd-crumb a:hover { color: #cfe1ff; }
.nd-crumb .breadcrumb-item.active { color: #cfe1ff; font-weight: 600; }
.nd-crumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .6); }

.nd-hero-stats { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.nd-hero-stats span { padding: .4rem 1rem; border-radius: 50px; font-size: .85rem; font-weight: 600; }
.nd-hero-stats i { margin-right: .3rem; color: #cfe1ff; }

/* ---------- Sections ---------- */
.nd-section { padding: 70px 0; }
.nd-section--soft { background: var(--nd-bg-soft); }
.nd-heading { margin-bottom: 2rem; }
.nd-heading__kicker { display: inline-block; color: var(--nd-primary); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .3rem; }
.nd-heading h2 { color: var(--nd-dark); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; }
.nd-heading h2::after { content: ""; display: block; width: 48px; height: 4px; background: var(--nd-primary); border-radius: 4px; margin-top: .6rem; }

/* ---------- Images: full size, never cropped ---------- */
.nd-img { display: block; width: 100%; height: auto; max-width: 100%; }
.nd-noimg { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 10; color: var(--nd-primary); font-size: 2.5rem; opacity: .5; background: var(--nd-primary-soft); }

/* ---------- Blog card ---------- */
.nd-card {
  position: relative; height: 100%; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--nd-line); border-radius: var(--nd-radius); overflow: hidden; transition: .25s;
}
.nd-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--nd-primary); z-index: 3; transition: width .35s; }
.nd-card:hover { border-color: var(--nd-primary); transform: translateY(-5px); }
.nd-card:hover::before { width: 100%; }
.nd-card__media { position: relative; display: block; background: var(--nd-primary-soft); }
.nd-card__body { padding: 1.25rem 1.25rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.nd-tag {
  align-self: flex-start; background: var(--nd-primary-soft); color: var(--nd-primary); font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 6px; margin-bottom: .75rem; transition: .2s;
}
.nd-tag:hover { background: var(--nd-primary); color: #fff; }
.nd-card__title { font-size: 1.1rem; font-weight: 700; line-height: 1.4; margin: 0 0 .6rem; }
.nd-card__title a { color: var(--nd-dark); }
.nd-card__title a:hover { color: var(--nd-primary); }
.nd-card__excerpt { font-size: .92rem; color: var(--nd-muted); margin-bottom: 1rem; }
.nd-card__foot { margin-top: auto; padding-top: .9rem; border-top: 1px dashed var(--nd-line); display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.nd-meta { display: flex; flex-wrap: wrap; gap: .2rem .9rem; font-size: .78rem; color: var(--nd-muted); }
.nd-meta i { color: var(--nd-primary); margin-right: .2rem; }
.nd-arrow { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--nd-bg-soft); color: var(--nd-dark); transition: .2s; }
.nd-card:hover .nd-arrow { background: var(--nd-primary); color: #fff; }

/* Feature card */
.nd-card--feature .nd-card__body { padding: 1.6rem; }
.nd-card--feature .nd-card__title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; }
.nd-ribbon { position: absolute; left: 14px; top: 14px; z-index: 2; background: var(--nd-primary); color: #fff; font-size: .75rem; font-weight: 700; padding: .35rem .8rem; border-radius: 50px; }

/* ---------- Side box / mini list ---------- */
.nd-sidebox { background: #fff; border: 1px solid var(--nd-line); border-radius: var(--nd-radius); padding: 1.4rem; height: 100%; }
.nd-sidebox__title { font-size: 1.1rem; font-weight: 800; color: var(--nd-dark); margin: 0 0 1.1rem; padding-bottom: .9rem; border-bottom: 2px solid var(--nd-primary-soft); }
.nd-sidebox__title i { color: var(--nd-primary); margin-right: .4rem; }
.nd-mini { display: flex; gap: .9rem; align-items: flex-start; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px dashed var(--nd-line); }
.nd-mini:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.nd-mini__media { flex: 0 0 104px; max-width: 104px; border-radius: 10px; overflow: hidden; background: var(--nd-primary-soft); }
.nd-mini__cat { display: inline-block; font-size: .7rem; font-weight: 700; color: var(--nd-primary); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.nd-mini h4 { font-size: .95rem; font-weight: 700; line-height: 1.4; margin: 0 0 .35rem; }
.nd-mini h4 a { color: var(--nd-dark); }
.nd-mini h4 a:hover { color: var(--nd-primary); }

/* ---------- Toolbar: filter pills + search ---------- */
.nd-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.nd-tabs { gap: .5rem; flex: 1 1 auto; flex-wrap: nowrap; overflow-x: auto; padding: 0 0 .25rem; margin: 0; list-style: none; scrollbar-width: none; }
.nd-tabs::-webkit-scrollbar { display: none; }
.nd-tabs .nav-link {
  white-space: nowrap; color: var(--nd-dark); background: #fff; border: 1px solid var(--nd-line);
  border-radius: 50px; font-weight: 600; padding: .55rem 1.15rem; transition: .2s;
}
.nd-tabs .nav-link:hover { border-color: var(--nd-primary); color: var(--nd-primary); }
.nd-tabs .nav-link.active { background: var(--nd-primary); border-color: var(--nd-primary); color: #fff; }

.nd-searchbar {
  display: flex; width: 100%; max-width: 360px; background: #fff; overflow: hidden;
  border: 1px solid var(--nd-line); border-radius: 12px; transition: .2s;
}
.nd-searchbar:focus-within { border-color: var(--nd-primary); }
.nd-searchbar .form-control { border: 0; box-shadow: none; height: 48px; }
.nd-searchbar button { border: 0; background: var(--nd-primary); color: #fff; padding: 0 1.2rem; font-weight: 600; white-space: nowrap; transition: .2s; }
.nd-searchbar button:hover { background: var(--nd-primary-dark); }

/* ---------- Pagination ---------- */
.nd-pagination { gap: .4rem; justify-content: center; margin: 3rem 0 0; flex-wrap: wrap; }
.nd-pagination .page-link {
  display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .8rem; font-weight: 600;
  color: var(--nd-dark); border: 1px solid var(--nd-line); border-radius: 10px !important; background: #fff; transition: .2s;
}
.nd-pagination .page-link:hover { color: var(--nd-primary); border-color: var(--nd-primary); background: var(--nd-primary-soft); }
.nd-pagination .active .page-link { background: var(--nd-primary); border-color: var(--nd-primary); color: #fff; }
.nd-pagination .disabled .page-link { background: transparent; border-color: transparent; }

/* ---------- Empty state ---------- */
.nd-empty { text-align: center; padding: 4rem 1rem; background: #fff; border: 1px dashed var(--nd-line); border-radius: var(--nd-radius); }
.nd-empty i { font-size: 2.5rem; color: var(--nd-primary); opacity: .6; }
.nd-empty h3 { color: var(--nd-dark); font-weight: 800; margin: .75rem 0 1.25rem; }
.nd-btn { display: inline-block; background: var(--nd-primary); color: #fff; border: 2px solid var(--nd-primary); font-weight: 600; padding: .7rem 1.4rem; border-radius: 10px; transition: .2s; }
.nd-btn:hover { background: var(--nd-primary-dark); border-color: var(--nd-primary-dark); color: #fff; }

/* ---------- Responsive / motion ---------- */
@media (max-width: 575px) {
  .nd-hero { padding: 50px 0 60px; }
  .nd-section { padding: 50px 0; }
  .nd-searchbar { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .nd-orb { animation: none; }
  .nd-card, .nd-card:hover { transition: none; transform: none; }
}


/* category page */

/* =========================================================
   Number Directory – Blog page (STANDALONE)
   Only this file is needed for the Blog template.
   Colors: #0c51ac (primary)  #373436 (dark)
   Requires Bootstrap 5 (already on your site) + Bootstrap Icons (loaded by blog.php)
   ========================================================= */


/* ---------- Glass ---------- */
.nd-glass {
  background: rgba(255, 255, 255, .13);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 10px 40px rgba(5, 25, 60, .22), inset 0 1px 0 rgba(255, 255, 255, .25);
}

/* ---------- Hero / breadcrumb header ---------- */
.nd-hero {
  position: relative; overflow: hidden; color: #fff; padding: 70px 0 80px;
  background: linear-gradient(135deg, #0c51ac 0%, #0a3f86 50%, #373436 120%);
}
.nd-hero__grid {
  position: absolute; inset: 0; opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.nd-orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.nd-orb--1 { width: 420px; height: 420px; background: #3b82f6; opacity: .55; top: -160px; left: -120px; animation: nd-float 14s ease-in-out infinite; }
.nd-orb--2 { width: 340px; height: 340px; background: #7db4ff; opacity: .40; bottom: -160px; right: 8%; animation: nd-float 17s ease-in-out infinite reverse; }
@keyframes nd-float { 0%,100% { translate: 0 0; } 50% { translate: 24px -30px; } }

.nd-hero__title { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 800; line-height: 1.15; margin: 0 0 1rem; color: #fff; }
.nd-hero__title span {
  background: linear-gradient(90deg, #fff, #a9cbff); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nd-hero__lead { font-size: 1.05rem; opacity: .9; max-width: 560px; margin: 0 auto 1.5rem; }

.nd-crumb {
  display: inline-flex; margin: 0 0 1.4rem; padding: .55rem 1.3rem; border-radius: 50px;
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, .6);
}
.nd-crumb a { color: #fff; font-weight: 600; }
.nd-crumb a:hover { color: #cfe1ff; }
.nd-crumb .breadcrumb-item.active { color: #cfe1ff; font-weight: 600; }
.nd-crumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .6); }

.nd-hero-stats { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.nd-hero-stats span { padding: .4rem 1rem; border-radius: 50px; font-size: .85rem; font-weight: 600; }
.nd-hero-stats i { margin-right: .3rem; color: #cfe1ff; }

/* ---------- Sections ---------- */
.nd-section { padding: 70px 0; }
.nd-section--soft { background: var(--nd-bg-soft); }
.nd-heading { margin-bottom: 2rem; }
.nd-heading__kicker { display: inline-block; color: var(--nd-primary); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .3rem; }
.nd-heading h2 { color: var(--nd-dark); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; }
.nd-heading h2::after { content: ""; display: block; width: 48px; height: 4px; background: var(--nd-primary); border-radius: 4px; margin-top: .6rem; }

/* ---------- Images: full size, never cropped ---------- */
.nd-img { display: block; width: 100%; height: auto; max-width: 100%; }
.nd-noimg { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 10; color: var(--nd-primary); font-size: 2.5rem; opacity: .5; background: var(--nd-primary-soft); }

/* ---------- Blog card ---------- */
.nd-card {
  position: relative; height: 100%; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--nd-line); border-radius: var(--nd-radius); overflow: hidden; transition: .25s;
}
.nd-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--nd-primary); z-index: 3; transition: width .35s; }
.nd-card:hover { border-color: var(--nd-primary); transform: translateY(-5px); }
.nd-card:hover::before { width: 100%; }
.nd-card__media { position: relative; display: block; background: var(--nd-primary-soft); }
.nd-card__body { padding: 1.25rem 1.25rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.nd-tag {
  align-self: flex-start; background: var(--nd-primary-soft); color: var(--nd-primary); font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 6px; margin-bottom: .75rem; transition: .2s;
}
.nd-tag:hover { background: var(--nd-primary); color: #fff; }
.nd-card__title { font-size: 1.1rem; font-weight: 700; line-height: 1.4; margin: 0 0 .6rem; }
.nd-card__title a { color: var(--nd-dark); }
.nd-card__title a:hover { color: var(--nd-primary); }
.nd-card__excerpt { font-size: .92rem; color: var(--nd-muted); margin-bottom: 1rem; }
.nd-card__foot { margin-top: auto; padding-top: .9rem; border-top: 1px dashed var(--nd-line); display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.nd-meta { display: flex; flex-wrap: wrap; gap: .2rem .9rem; font-size: .78rem; color: var(--nd-muted); }
.nd-meta i { color: var(--nd-primary); margin-right: .2rem; }
.nd-arrow { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--nd-bg-soft); color: var(--nd-dark); transition: .2s; }
.nd-card:hover .nd-arrow { background: var(--nd-primary); color: #fff; }

/* Feature card */
.nd-card--feature .nd-card__body { padding: 1.6rem; }
.nd-card--feature .nd-card__title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; }
.nd-ribbon { position: absolute; left: 14px; top: 14px; z-index: 2; background: var(--nd-primary); color: #fff; font-size: .75rem; font-weight: 700; padding: .35rem .8rem; border-radius: 50px; }

/* ---------- Side box / mini list ---------- */
.nd-sidebox { background: #fff; border: 1px solid var(--nd-line); border-radius: var(--nd-radius); padding: 1.4rem; height: 100%; }
.nd-sidebox__title { font-size: 1.1rem; font-weight: 800; color: var(--nd-dark); margin: 0 0 1.1rem; padding-bottom: .9rem; border-bottom: 2px solid var(--nd-primary-soft); }
.nd-sidebox__title i { color: var(--nd-primary); margin-right: .4rem; }
.nd-mini { display: flex; gap: .9rem; align-items: flex-start; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px dashed var(--nd-line); }
.nd-mini:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.nd-mini__media { flex: 0 0 104px; max-width: 104px; border-radius: 10px; overflow: hidden; background: var(--nd-primary-soft); }
.nd-mini__cat { display: inline-block; font-size: .7rem; font-weight: 700; color: var(--nd-primary); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.nd-mini h4 { font-size: .95rem; font-weight: 700; line-height: 1.4; margin: 0 0 .35rem; }
.nd-mini h4 a { color: var(--nd-dark); }
.nd-mini h4 a:hover { color: var(--nd-primary); }

/* ---------- Toolbar: filter pills + search ---------- */
.nd-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.nd-tabs { gap: .5rem; flex: 1 1 auto; flex-wrap: nowrap; overflow-x: auto; padding: 0 0 .25rem; margin: 0; list-style: none; scrollbar-width: none; }
.nd-tabs::-webkit-scrollbar { display: none; }
.nd-tabs .nav-link {
  white-space: nowrap; color: var(--nd-dark); background: #fff; border: 1px solid var(--nd-line);
  border-radius: 50px; font-weight: 600; padding: .55rem 1.15rem; transition: .2s;
}
.nd-tabs .nav-link:hover { border-color: var(--nd-primary); color: var(--nd-primary); }
.nd-tabs .nav-link.active { background: var(--nd-primary); border-color: var(--nd-primary); color: #fff; }

.nd-searchbar {
  display: flex; width: 100%; max-width: 360px; background: #fff; overflow: hidden;
  border: 1px solid var(--nd-line); border-radius: 12px; transition: .2s;
}
.nd-searchbar:focus-within { border-color: var(--nd-primary); }
.nd-searchbar .form-control { border: 0; box-shadow: none; height: 48px; }
.nd-searchbar button { border: 0; background: var(--nd-primary); color: #fff; padding: 0 1.2rem; font-weight: 600; white-space: nowrap; transition: .2s; }
.nd-searchbar button:hover { background: var(--nd-primary-dark); }

/* ---------- Pagination ---------- */
.nd-pagination { gap: .4rem; justify-content: center; margin: 3rem 0 0; flex-wrap: wrap; }
.nd-pagination .page-link {
  display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .8rem; font-weight: 600;
  color: var(--nd-dark); border: 1px solid var(--nd-line); border-radius: 10px !important; background: #fff; transition: .2s;
}
.nd-pagination .page-link:hover { color: var(--nd-primary); border-color: var(--nd-primary); background: var(--nd-primary-soft); }
.nd-pagination .active .page-link { background: var(--nd-primary); border-color: var(--nd-primary); color: #fff; }
.nd-pagination .disabled .page-link { background: transparent; border-color: transparent; }

/* ---------- Empty state ---------- */
.nd-empty { text-align: center; padding: 4rem 1rem; background: #fff; border: 1px dashed var(--nd-line); border-radius: var(--nd-radius); }
.nd-empty i { font-size: 2.5rem; color: var(--nd-primary); opacity: .6; }
.nd-empty h3 { color: var(--nd-dark); font-weight: 800; margin: .75rem 0 1.25rem; }
.nd-btn { display: inline-block; background: var(--nd-primary); color: #fff; border: 2px solid var(--nd-primary); font-weight: 600; padding: .7rem 1.4rem; border-radius: 10px; transition: .2s; }
.nd-btn:hover { background: var(--nd-primary-dark); border-color: var(--nd-primary-dark); color: #fff; }

/* =========================================================
   NEW – Category page + sidebar (only rules not already above)
   ========================================================= */
.nd-resultbar {
  display: flex; justify-content: space-between; align-items: center; gap: .5rem 1rem; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--nd-line); border-radius: 12px; padding: .85rem 1.2rem;
  margin-bottom: 1.5rem; font-size: .9rem; color: var(--nd-muted);
}
.nd-resultbar strong { color: var(--nd-dark); }

.nd-sidebar { display: grid; gap: 1.5rem; position: sticky; top: 90px; align-self: start; }
.nd-sidebar .nd-sidebox { height: auto; }
.nd-sidebar .nd-searchbar { max-width: 100%; background: var(--nd-bg-soft); }
.nd-sidebar .nd-searchbar button { padding: 0 1.1rem; }

/* Category list */
.nd-catlist { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.nd-catlist a {
  display: flex; justify-content: space-between; align-items: center; padding: .75rem 1rem;
  background: var(--nd-bg-soft); border-radius: 10px; color: var(--nd-dark); font-weight: 600; transition: .2s;
}
.nd-catlist a i { margin-right: .55rem; color: var(--nd-primary); transition: .2s; }
.nd-catlist em {
  font-style: normal; font-size: .75rem; min-width: 28px; text-align: center; padding: .1rem .55rem;
  border-radius: 50px; background: #fff; color: var(--nd-primary); transition: .2s;
}
.nd-catlist a:hover, .nd-catlist a.is-active { background: var(--nd-primary); color: #fff; transform: translateX(4px); }
.nd-catlist a:hover i, .nd-catlist a.is-active i { color: #fff; }
.nd-catlist a:hover em, .nd-catlist a.is-active em { background: rgba(255, 255, 255, .22); color: #fff; }

/* Tag cloud */
.nd-tagcloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.nd-tagcloud a {
  font-size: .82rem; font-weight: 600; color: var(--nd-primary); background: var(--nd-primary-soft);
  padding: .35rem .8rem; border-radius: 50px; transition: .2s;
}
.nd-tagcloud a:hover { background: var(--nd-primary); color: #fff; }

@media (max-width: 991px) { .nd-sidebar { position: static; } }

/* ---------- Responsive / motion ---------- */
@media (max-width: 575px) {
  .nd-hero { padding: 50px 0 60px; }
  .nd-section { padding: 50px 0; }
  .nd-searchbar { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .nd-orb { animation: none; }
  .nd-card, .nd-card:hover { transition: none; transform: none; }
}



/* blog single page  */

/* =========================================================
   Number Directory – Blog page (STANDALONE)
   Only this file is needed for the Blog template.
   Colors: #0c51ac (primary)  #373436 (dark)
   Requires Bootstrap 5 (already on your site) + Bootstrap Icons (loaded by blog.php)
   ========================================================= */


/* ---------- Glass ---------- */
.nd-glass {
  background: rgba(255, 255, 255, .13);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 10px 40px rgba(5, 25, 60, .22), inset 0 1px 0 rgba(255, 255, 255, .25);
}

/* ---------- Hero / breadcrumb header ---------- */
.nd-hero {
  position: relative; overflow: hidden; color: #fff; padding: 70px 0 80px;
  background: linear-gradient(135deg, #0c51ac 0%, #0a3f86 50%, #373436 120%);
}
.nd-hero__grid {
  position: absolute; inset: 0; opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.nd-orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.nd-orb--1 { width: 420px; height: 420px; background: #3b82f6; opacity: .55; top: -160px; left: -120px; animation: nd-float 14s ease-in-out infinite; }
.nd-orb--2 { width: 340px; height: 340px; background: #7db4ff; opacity: .40; bottom: -160px; right: 8%; animation: nd-float 17s ease-in-out infinite reverse; }
@keyframes nd-float { 0%,100% { translate: 0 0; } 50% { translate: 24px -30px; } }

.nd-hero__title { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 800; line-height: 1.15; margin: 0 0 1rem; color: #fff; }
.nd-hero__title span {
  background: linear-gradient(90deg, #fff, #a9cbff); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nd-hero__lead { font-size: 1.05rem; opacity: .9; max-width: 560px; margin: 0 auto 1.5rem; }

.nd-crumb {
  display: inline-flex; margin: 0 0 1.4rem; padding: .55rem 1.3rem; border-radius: 50px;
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, .6);
}
.nd-crumb a { color: #fff; font-weight: 600; }
.nd-crumb a:hover { color: #cfe1ff; }
.nd-crumb .breadcrumb-item.active { color: #cfe1ff; font-weight: 600; }
.nd-crumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .6); }

.nd-hero-stats { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.nd-hero-stats span { padding: .4rem 1rem; border-radius: 50px; font-size: .85rem; font-weight: 600; }
.nd-hero-stats i { margin-right: .3rem; color: #cfe1ff; }

/* ---------- Sections ---------- */
.nd-section { padding: 70px 0; }
.nd-section--soft { background: var(--nd-bg-soft); }
.nd-heading { margin-bottom: 2rem; }
.nd-heading__kicker { display: inline-block; color: var(--nd-primary); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .3rem; }
.nd-heading h2 { color: var(--nd-dark); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; }
.nd-heading h2::after { content: ""; display: block; width: 48px; height: 4px; background: var(--nd-primary); border-radius: 4px; margin-top: .6rem; }

/* ---------- Images: full size, never cropped ---------- */
.nd-img { display: block; width: 100%; height: auto; max-width: 100%; }
.nd-noimg { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 10; color: var(--nd-primary); font-size: 2.5rem; opacity: .5; background: var(--nd-primary-soft); }

/* ---------- Blog card ---------- */
.nd-card {
  position: relative; height: 100%; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--nd-line); border-radius: var(--nd-radius); overflow: hidden; transition: .25s;
}
.nd-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--nd-primary); z-index: 3; transition: width .35s; }
.nd-card:hover { border-color: var(--nd-primary); transform: translateY(-5px); }
.nd-card:hover::before { width: 100%; }
.nd-card__media { position: relative; display: block; background: var(--nd-primary-soft); }
.nd-card__body { padding: 1.25rem 1.25rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.nd-tag {
  align-self: flex-start; background: var(--nd-primary-soft); color: var(--nd-primary); font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 6px; margin-bottom: .75rem; transition: .2s;
}
.nd-tag:hover { background: var(--nd-primary); color: #fff; }
.nd-card__title { font-size: 1.1rem; font-weight: 700; line-height: 1.4; margin: 0 0 .6rem; }
.nd-card__title a { color: var(--nd-dark); }
.nd-card__title a:hover { color: var(--nd-primary); }
.nd-card__excerpt { font-size: .92rem; color: var(--nd-muted); margin-bottom: 1rem; }
.nd-card__foot { margin-top: auto; padding-top: .9rem; border-top: 1px dashed var(--nd-line); display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.nd-meta { display: flex; flex-wrap: wrap; gap: .2rem .9rem; font-size: .78rem; color: var(--nd-muted); }
.nd-meta i { color: var(--nd-primary); margin-right: .2rem; }
.nd-arrow { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--nd-bg-soft); color: var(--nd-dark); transition: .2s; }
.nd-card:hover .nd-arrow { background: var(--nd-primary); color: #fff; }

/* Feature card */
.nd-card--feature .nd-card__body { padding: 1.6rem; }
.nd-card--feature .nd-card__title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; }
.nd-ribbon { position: absolute; left: 14px; top: 14px; z-index: 2; background: var(--nd-primary); color: #fff; font-size: .75rem; font-weight: 700; padding: .35rem .8rem; border-radius: 50px; }

/* ---------- Side box / mini list ---------- */
.nd-sidebox { background: #fff; border: 1px solid var(--nd-line); border-radius: var(--nd-radius); padding: 1.4rem; height: 100%; }
.nd-sidebox__title { font-size: 1.1rem; font-weight: 800; color: var(--nd-dark); margin: 0 0 1.1rem; padding-bottom: .9rem; border-bottom: 2px solid var(--nd-primary-soft); }
.nd-sidebox__title i { color: var(--nd-primary); margin-right: .4rem; }
.nd-mini { display: flex; gap: .9rem; align-items: flex-start; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px dashed var(--nd-line); }
.nd-mini:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.nd-mini__media { flex: 0 0 104px; max-width: 104px; border-radius: 10px; overflow: hidden; background: var(--nd-primary-soft); }
.nd-mini__cat { display: inline-block; font-size: .7rem; font-weight: 700; color: var(--nd-primary); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.nd-mini h4 { font-size: .95rem; font-weight: 700; line-height: 1.4; margin: 0 0 .35rem; }
.nd-mini h4 a { color: var(--nd-dark); }
.nd-mini h4 a:hover { color: var(--nd-primary); }

/* ---------- Toolbar: filter pills + search ---------- */
.nd-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.nd-tabs { gap: .5rem; flex: 1 1 auto; flex-wrap: nowrap; overflow-x: auto; padding: 0 0 .25rem; margin: 0; list-style: none; scrollbar-width: none; }
.nd-tabs::-webkit-scrollbar { display: none; }
.nd-tabs .nav-link {
  white-space: nowrap; color: var(--nd-dark); background: #fff; border: 1px solid var(--nd-line);
  border-radius: 50px; font-weight: 600; padding: .55rem 1.15rem; transition: .2s;
}
.nd-tabs .nav-link:hover { border-color: var(--nd-primary); color: var(--nd-primary); }
.nd-tabs .nav-link.active { background: var(--nd-primary); border-color: var(--nd-primary); color: #fff; }

.nd-searchbar {
  display: flex; width: 100%; max-width: 360px; background: #fff; overflow: hidden;
  border: 1px solid var(--nd-line); border-radius: 12px; transition: .2s;
}
.nd-searchbar:focus-within { border-color: var(--nd-primary); }
.nd-searchbar .form-control { border: 0; box-shadow: none; height: 48px; }
.nd-searchbar button { border: 0; background: var(--nd-primary); color: #fff; padding: 0 1.2rem; font-weight: 600; white-space: nowrap; transition: .2s; }
.nd-searchbar button:hover { background: var(--nd-primary-dark); }

/* ---------- Pagination ---------- */
.nd-pagination { gap: .4rem; justify-content: center; margin: 3rem 0 0; flex-wrap: wrap; }
.nd-pagination .page-link {
  display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .8rem; font-weight: 600;
  color: var(--nd-dark); border: 1px solid var(--nd-line); border-radius: 10px !important; background: #fff; transition: .2s;
}
.nd-pagination .page-link:hover { color: var(--nd-primary); border-color: var(--nd-primary); background: var(--nd-primary-soft); }
.nd-pagination .active .page-link { background: var(--nd-primary); border-color: var(--nd-primary); color: #fff; }
.nd-pagination .disabled .page-link { background: transparent; border-color: transparent; }

/* ---------- Empty state ---------- */
.nd-empty { text-align: center; padding: 4rem 1rem; background: #fff; border: 1px dashed var(--nd-line); border-radius: var(--nd-radius); }
.nd-empty i { font-size: 2.5rem; color: var(--nd-primary); opacity: .6; }
.nd-empty h3 { color: var(--nd-dark); font-weight: 800; margin: .75rem 0 1.25rem; }
.nd-btn { display: inline-block; background: var(--nd-primary); color: #fff; border: 2px solid var(--nd-primary); font-weight: 600; padding: .7rem 1.4rem; border-radius: 10px; transition: .2s; }
.nd-btn:hover { background: var(--nd-primary-dark); border-color: var(--nd-primary-dark); color: #fff; }

/* =========================================================
   NEW – Category page + sidebar (only rules not already above)
   ========================================================= */
.nd-resultbar {
  display: flex; justify-content: space-between; align-items: center; gap: .5rem 1rem; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--nd-line); border-radius: 12px; padding: .85rem 1.2rem;
  margin-bottom: 1.5rem; font-size: .9rem; color: var(--nd-muted);
}
.nd-resultbar strong { color: var(--nd-dark); }

.nd-sidebar { display: grid; gap: 1.5rem; position: sticky; top: 90px; align-self: start; }
.nd-sidebar .nd-sidebox { height: auto; }
.nd-sidebar .nd-searchbar { max-width: 100%; background: var(--nd-bg-soft); }
.nd-sidebar .nd-searchbar button { padding: 0 1.1rem; }

/* Category list */
.nd-catlist { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.nd-catlist a {
  display: flex; justify-content: space-between; align-items: center; padding: .75rem 1rem;
  background: var(--nd-bg-soft); border-radius: 10px; color: var(--nd-dark); font-weight: 600; transition: .2s;
}
.nd-catlist a i { margin-right: .55rem; color: var(--nd-primary); transition: .2s; }
.nd-catlist em {
  font-style: normal; font-size: .75rem; min-width: 28px; text-align: center; padding: .1rem .55rem;
  border-radius: 50px; background: #fff; color: var(--nd-primary); transition: .2s;
}
.nd-catlist a:hover, .nd-catlist a.is-active { background: var(--nd-primary); color: #fff; transform: translateX(4px); }
.nd-catlist a:hover i, .nd-catlist a.is-active i { color: #fff; }
.nd-catlist a:hover em, .nd-catlist a.is-active em { background: rgba(255, 255, 255, .22); color: #fff; }

/* Tag cloud */
.nd-tagcloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.nd-tagcloud a {
  font-size: .82rem; font-weight: 600; color: var(--nd-primary); background: var(--nd-primary-soft);
  padding: .35rem .8rem; border-radius: 50px; transition: .2s;
}
.nd-tagcloud a:hover { background: var(--nd-primary); color: #fff; }

@media (max-width: 991px) { .nd-sidebar { position: static; } }

/* =========================================================
   NEW – Single post (blog detail): only rules not already above
   ========================================================= */
.nd-progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; background: var(--nd-primary); z-index: 99999; transition: width .1s linear; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Post header */
.nd-hero--post { padding: 60px 0 80px; }
.nd-hero--post .nd-hero__title { max-width: 900px; margin: 0 auto 1.4rem; font-size: clamp(1.7rem, 3.8vw, 2.7rem); }
.nd-crumb { flex-wrap: wrap; justify-content: center; }
.nd-crumb .breadcrumb-item.active { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nd-hero-tag {
  display: inline-block; color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: .4rem 1rem; border-radius: 50px; margin-bottom: 1rem; transition: .2s;
}
.nd-hero-tag:hover { background: #fff; color: var(--nd-primary); }
.nd-postmeta {
  display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem 1.4rem;
  padding: .7rem 1.4rem; border-radius: 50px; font-size: .88rem; font-weight: 600;
}
.nd-postmeta i { color: #cfe1ff; margin-right: .35rem; }
.nd-postmeta__author { display: inline-flex; align-items: center; gap: .6rem; }
.nd-postmeta__author img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .6); }

/* Article card */
.nd-article { background: #fff; border: 1px solid var(--nd-line); border-radius: var(--nd-radius); overflow: hidden; }
.nd-article__cover { background: var(--nd-primary-soft); }
.nd-article__body { padding: 2rem 2.2rem; }
@media (max-width: 575px) { .nd-article__body { padding: 1.25rem; } }

/* Share */
.nd-share { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.nd-share__label { font-weight: 700; color: var(--nd-dark); margin-right: .3rem; }
.nd-share__label i { color: var(--nd-primary); margin-right: .3rem; }
.nd-share__btn {
  width: 40px; height: 40px; padding: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--nd-line); background: #fff; color: var(--nd-dark); transition: .2s;
}
.nd-share__btn:hover { color: #fff; transform: translateY(-3px); border-color: transparent; background: var(--nd-primary); }
.nd-share--facebook:hover { background: #1877f2; }
.nd-share--x:hover { background: #000; }
.nd-share--linkedin:hover { background: #0a66c2; }
.nd-share--whatsapp:hover { background: #25d366; }
.nd-share__btn.is-copied { background: #198754; color: #fff; border-color: transparent; }
.nd-sharebar { padding: 0 0 1.2rem; margin-bottom: 1.5rem; border-bottom: 1px dashed var(--nd-line); }
.nd-sharebar--end { margin: 2rem 0 0; padding: 1.2rem 0 0; border-bottom: 0; border-top: 1px dashed var(--nd-line); }

/* Table of contents */
.nd-toc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.nd-toc__list a {
  display: block; padding: .5rem .8rem; border-left: 3px solid var(--nd-line); border-radius: 0 8px 8px 0;
  color: var(--nd-text); font-size: .92rem; line-height: 1.4; transition: .2s;
}
.nd-toc__list .lvl-3 a { margin-left: 1rem; font-size: .85rem; }
.nd-toc__list a:hover, .nd-toc__list a.is-active { border-left-color: var(--nd-primary); background: var(--nd-primary-soft); color: var(--nd-primary); font-weight: 600; }
.nd-toc-sticky { position: sticky;  height:auto; }
.nd-toc-inline { background: var(--nd-bg-soft); border: 1px solid var(--nd-line); border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 1.5rem; }
.nd-toc-inline summary { cursor: pointer; font-weight: 800; color: var(--nd-dark); list-style: none; display: flex; align-items: center; justify-content: space-between; }
.nd-toc-inline summary::-webkit-details-marker { display: none; }
.nd-toc-inline summary i { color: var(--nd-primary); }
.nd-toc-inline[open] summary { margin-bottom: .8rem; }

/* Sidebar variant for the post page (TOC sticks below the widgets) */
.nd-sidebar--flow { display: block; position: static; }
.nd-sidebar--flow > * + * { margin-top: 1.5rem; }

/* Post content typography */
.nd-content { font-size: 1.04rem; line-height: 1.85; color: var(--nd-text); overflow-wrap: anywhere; }
.nd-content h2, .nd-content h3, .nd-content h4 { color: var(--nd-dark); font-weight: 800; line-height: 1.35; scroll-margin-top: 90px; margin: 2rem 0 .9rem; }
.nd-content h2 { font-size: 1.6rem; padding-left: .9rem; border-left: 5px solid var(--nd-primary); }
.nd-content h3 { font-size: 1.25rem; }
.nd-content p { margin-bottom: 1.15rem; }
.nd-content a { color: var(--nd-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.nd-content img { max-width: 100%; height: auto; border-radius: 12px; margin: .5rem 0; }
.nd-content ul, .nd-content ol { padding-left: 1.4rem; margin-bottom: 1.2rem; }
.nd-content li { margin-bottom: .4rem; }
.nd-content li::marker { color: var(--nd-primary); font-weight: 700; }
.nd-content blockquote { background: var(--nd-primary-soft); border-left: 5px solid var(--nd-primary); border-radius: 0 12px 12px 0; padding: 1.1rem 1.4rem; margin: 1.5rem 0; color: var(--nd-dark); font-style: italic; }
.nd-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; display: block; overflow-x: auto; }
.nd-content th, .nd-content td { border: 1px solid var(--nd-line); padding: .65rem .9rem; }
.nd-content th { background: var(--nd-primary); color: #fff; }
.nd-content code { background: var(--nd-bg-soft); color: var(--nd-primary); padding: .15rem .45rem; border-radius: 6px; font-size: .9em; }
.nd-content pre { background: var(--nd-dark); color: #f1f1f1; padding: 1rem 1.2rem; border-radius: 12px; overflow-x: auto; }
.nd-content pre code { background: none; color: inherit; padding: 0; }
.nd-content hr { border-color: var(--nd-line); margin: 2rem 0; }

/* Post footer: categories + tags */
.nd-article__foot { display: grid; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px dashed var(--nd-line); }
.nd-foot-row { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; }
.nd-foot-row strong { color: var(--nd-dark); }
.nd-foot-row strong i { color: var(--nd-primary); margin-right: .25rem; }
.nd-foot-row .nd-tag { margin: 0; align-self: auto; }

/* Author box */
.nd-author {
  display: flex; gap: 1.4rem; align-items: center; background: #fff; border: 1px solid var(--nd-line);
  border-left: 5px solid var(--nd-primary); border-radius: var(--nd-radius); padding: 1.6rem; margin-top: 1.5rem;
}
.nd-author img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; border: 4px solid var(--nd-primary-soft); }
.nd-author__role { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--nd-primary); }
.nd-author h3 { font-size: 1.2rem; font-weight: 800; color: var(--nd-dark); margin: .15rem 0 .5rem; }
.nd-author p { margin: 0; font-size: .92rem; line-height: 1.7; color: var(--nd-muted); }
@media (max-width: 575px) { .nd-author { flex-direction: column; text-align: center; } }

/* Prev / next */
.nd-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.nd-postnav a { display: flex; flex-direction: column; gap: .3rem; height: 100%; background: #fff; border: 1px solid var(--nd-line); border-radius: var(--nd-radius); padding: 1.1rem 1.3rem; transition: .2s; }
.nd-postnav a:hover { border-color: var(--nd-primary); transform: translateY(-3px); }
.nd-postnav small { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nd-primary); }
.nd-postnav span { color: var(--nd-dark); font-weight: 700; line-height: 1.4; }
.nd-postnav .next { grid-column: 2; text-align: right; }
@media (max-width: 575px) { .nd-postnav { grid-template-columns: 1fr; } .nd-postnav .next { grid-column: auto; text-align: left; } }

/* ---------- Responsive / motion ---------- */
@media (max-width: 575px) {
  .nd-hero { padding: 50px 0 60px; }
  .nd-section { padding: 50px 0; }
  .nd-searchbar { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .nd-orb { animation: none; }
  .nd-card, .nd-card:hover { transition: none; transform: none; }
}



/*  search cs */

/* =========================================================
   Number Directory – Blog page (STANDALONE)
   Only this file is needed for the Blog template.
   Colors: #0c51ac (primary)  #373436 (dark)
   Requires Bootstrap 5 (already on your site) + Bootstrap Icons (loaded by blog.php)
   ========================================================= */


/* ---------- Glass ---------- */
.nd-glass {
  background: rgba(255, 255, 255, .13);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 10px 40px rgba(5, 25, 60, .22), inset 0 1px 0 rgba(255, 255, 255, .25);
}

/* ---------- Hero / breadcrumb header ---------- */
.nd-hero {
  position: relative; overflow: hidden; color: #fff; padding: 70px 0 80px;
  background: linear-gradient(135deg, #0c51ac 0%, #0a3f86 50%, #373436 120%);
}
.nd-hero__grid {
  position: absolute; inset: 0; opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.nd-orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.nd-orb--1 { width: 420px; height: 420px; background: #3b82f6; opacity: .55; top: -160px; left: -120px; animation: nd-float 14s ease-in-out infinite; }
.nd-orb--2 { width: 340px; height: 340px; background: #7db4ff; opacity: .40; bottom: -160px; right: 8%; animation: nd-float 17s ease-in-out infinite reverse; }
@keyframes nd-float { 0%,100% { translate: 0 0; } 50% { translate: 24px -30px; } }

.nd-hero__title { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 800; line-height: 1.15; margin: 0 0 1rem; color: #fff; }
.nd-hero__title span {
  background: linear-gradient(90deg, #fff, #a9cbff); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nd-hero__lead { font-size: 1.05rem; opacity: .9; max-width: 560px; margin: 0 auto 1.5rem; }

.nd-crumb {
  display: inline-flex; margin: 0 0 1.4rem; padding: .55rem 1.3rem; border-radius: 50px;
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, .6);
}
.nd-crumb a { color: #fff; font-weight: 600; }
.nd-crumb a:hover { color: #cfe1ff; }
.nd-crumb .breadcrumb-item.active { color: #cfe1ff; font-weight: 600; }
.nd-crumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .6); }

.nd-hero-stats { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.nd-hero-stats span { padding: .4rem 1rem; border-radius: 50px; font-size: .85rem; font-weight: 600; }
.nd-hero-stats i { margin-right: .3rem; color: #cfe1ff; }

/* ---------- Sections ---------- */
.nd-section { padding: 70px 0; }
.nd-section--soft { background: var(--nd-bg-soft); }
.nd-heading { margin-bottom: 2rem; }
.nd-heading__kicker { display: inline-block; color: var(--nd-primary); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .3rem; }
.nd-heading h2 { color: var(--nd-dark); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; }
.nd-heading h2::after { content: ""; display: block; width: 48px; height: 4px; background: var(--nd-primary); border-radius: 4px; margin-top: .6rem; }

/* ---------- Images: full size, never cropped ---------- */
.nd-img { display: block; width: 100%; height: auto; max-width: 100%; }
.nd-noimg { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 10; color: var(--nd-primary); font-size: 2.5rem; opacity: .5; background: var(--nd-primary-soft); }

/* ---------- Blog card ---------- */
.nd-card {
  position: relative; height: 100%; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--nd-line); border-radius: var(--nd-radius); overflow: hidden; transition: .25s;
}
.nd-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--nd-primary); z-index: 3; transition: width .35s; }
.nd-card:hover { border-color: var(--nd-primary); transform: translateY(-5px); }
.nd-card:hover::before { width: 100%; }
.nd-card__media { position: relative; display: block; background: var(--nd-primary-soft); }
.nd-card__body { padding: 1.25rem 1.25rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.nd-tag {
  align-self: flex-start; background: var(--nd-primary-soft); color: var(--nd-primary); font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 6px; margin-bottom: .75rem; transition: .2s;
}
.nd-tag:hover { background: var(--nd-primary); color: #fff; }
.nd-card__title { font-size: 1.1rem; font-weight: 700; line-height: 1.4; margin: 0 0 .6rem; }
.nd-card__title a { color: var(--nd-dark); }
.nd-card__title a:hover { color: var(--nd-primary); }
.nd-card__excerpt { font-size: .92rem; color: var(--nd-muted); margin-bottom: 1rem; }
.nd-card__foot { margin-top: auto; padding-top: .9rem; border-top: 1px dashed var(--nd-line); display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.nd-meta { display: flex; flex-wrap: wrap; gap: .2rem .9rem; font-size: .78rem; color: var(--nd-muted); }
.nd-meta i { color: var(--nd-primary); margin-right: .2rem; }
.nd-arrow { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--nd-bg-soft); color: var(--nd-dark); transition: .2s; }
.nd-card:hover .nd-arrow { background: var(--nd-primary); color: #fff; }

/* Feature card */
.nd-card--feature .nd-card__body { padding: 1.6rem; }
.nd-card--feature .nd-card__title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; }
.nd-ribbon { position: absolute; left: 14px; top: 14px; z-index: 2; background: var(--nd-primary); color: #fff; font-size: .75rem; font-weight: 700; padding: .35rem .8rem; border-radius: 50px; }

/* ---------- Side box / mini list ---------- */
.nd-sidebox.nd-sidebox--blue { background: #0c51ac!important; border: 1px solid var(--nd-line); border-radius: var(--nd-radius); padding: 1.4rem; height: auto; }
.nd-sidebox__title { font-size: 1.1rem; font-weight: 800; color: var(--nd-dark); margin: 0 0 1.1rem; padding-bottom: .9rem; border-bottom: 2px solid var(--nd-primary-soft); }
.nd-sidebox__title i { color: var(--nd-primary); margin-right: .4rem; }
.nd-mini { display: flex; gap: .9rem; align-items: flex-start; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px dashed var(--nd-line); }
.nd-mini:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.nd-mini__media { flex: 0 0 104px; max-width: 104px; border-radius: 10px; overflow: hidden; background: var(--nd-primary-soft); }
.nd-mini__cat { display: inline-block; font-size: .7rem; font-weight: 700; color: var(--nd-primary); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.nd-mini h4 { font-size: .95rem; font-weight: 700; line-height: 1.4; margin: 0 0 .35rem; }
.nd-mini h4 a { color: var(--nd-dark); }
.nd-mini h4 a:hover { color: var(--nd-primary); }

/* ---------- Toolbar: filter pills + search ---------- */
.nd-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.nd-tabs { gap: .5rem; flex: 1 1 auto; flex-wrap: nowrap; overflow-x: auto; padding: 0 0 .25rem; margin: 0; list-style: none; scrollbar-width: none; }
.nd-tabs::-webkit-scrollbar { display: none; }
.nd-tabs .nav-link {
  white-space: nowrap; color: var(--nd-dark); background: #fff; border: 1px solid var(--nd-line);
  border-radius: 50px; font-weight: 600; padding: .55rem 1.15rem; transition: .2s;
}
.nd-tabs .nav-link:hover { border-color: var(--nd-primary); color: var(--nd-primary); }
.nd-tabs .nav-link.active { background: var(--nd-primary); border-color: var(--nd-primary); color: #fff; }

.nd-searchbar {
  display: flex; width: 100%; max-width: 360px; background: #fff; overflow: hidden;
  border: 1px solid var(--nd-line); border-radius: 12px; transition: .2s;
}
.nd-searchbar:focus-within { border-color: var(--nd-primary); }
.nd-searchbar .form-control { border: 0; box-shadow: none; height: 48px; }
.nd-searchbar button { border: 0; background: var(--nd-primary); color: #fff; padding: 0 1.2rem; font-weight: 600; white-space: nowrap; transition: .2s; }
.nd-searchbar button:hover { background: var(--nd-primary-dark); }

/* ---------- Pagination ---------- */
.nd-pagination { gap: .4rem; justify-content: center; margin: 3rem 0 0; flex-wrap: wrap; }
.nd-pagination .page-link {
  display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .8rem; font-weight: 600;
  color: var(--nd-dark); border: 1px solid var(--nd-line); border-radius: 10px !important; background: #fff; transition: .2s;
}
.nd-pagination .page-link:hover { color: var(--nd-primary); border-color: var(--nd-primary); background: var(--nd-primary-soft); }
.nd-pagination .active .page-link { background: var(--nd-primary); border-color: var(--nd-primary); color: #fff; }
.nd-pagination .disabled .page-link { background: transparent; border-color: transparent; }

/* ---------- Empty state ---------- */
.nd-empty { text-align: center; padding: 4rem 1rem; background: #fff; border: 1px dashed var(--nd-line); border-radius: var(--nd-radius); }
.nd-empty i { font-size: 2.5rem; color: var(--nd-primary); opacity: .6; }
.nd-empty h3 { color: var(--nd-dark); font-weight: 800; margin: .75rem 0 1.25rem; }
.nd-btn { display: inline-block; background: var(--nd-primary); color: #fff; border: 2px solid var(--nd-primary); font-weight: 600; padding: .7rem 1.4rem; border-radius: 10px; transition: .2s; }
.nd-btn:hover { background: var(--nd-primary-dark); border-color: var(--nd-primary-dark); color: #fff; }

/* =========================================================
   NEW – Category page + sidebar (only rules not already above)
   ========================================================= */
.nd-resultbar {
  display: flex; justify-content: space-between; align-items: center; gap: .5rem 1rem; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--nd-line); border-radius: 12px; padding: .85rem 1.2rem;
  margin-bottom: 1.5rem; font-size: .9rem; color: var(--nd-muted);
}
.nd-resultbar strong { color: var(--nd-dark); }

.nd-sidebar { display: grid; gap: 1.5rem; position: sticky; top: 90px; align-self: start; }
.nd-sidebar .nd-sidebox { height: auto; }
.nd-sidebar .nd-searchbar { max-width: 100%; background: var(--nd-bg-soft); }
.nd-sidebar .nd-searchbar button { padding: 0 1.1rem; }

/* Category list */
.nd-catlist { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.nd-catlist a {
  display: flex; justify-content: space-between; align-items: center; padding: .75rem 1rem;
  background: var(--nd-bg-soft); border-radius: 10px; color: var(--nd-dark); font-weight: 600; transition: .2s;
}
.nd-catlist a i { margin-right: .55rem; color: var(--nd-primary); transition: .2s; }
.nd-catlist em {
  font-style: normal; font-size: .75rem; min-width: 28px; text-align: center; padding: .1rem .55rem;
  border-radius: 50px; background: #fff; color: var(--nd-primary); transition: .2s;
}
.nd-catlist a:hover, .nd-catlist a.is-active { background: var(--nd-primary); color: #fff; transform: translateX(4px); }
.nd-catlist a:hover i, .nd-catlist a.is-active i { color: #fff; }
.nd-catlist a:hover em, .nd-catlist a.is-active em { background: rgba(255, 255, 255, .22); color: #fff; }

/* Tag cloud */
.nd-tagcloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.nd-tagcloud a {
  font-size: .82rem; font-weight: 600; color: var(--nd-primary); background: var(--nd-primary-soft);
  padding: .35rem .8rem; border-radius: 50px; transition: .2s;
}
.nd-tagcloud a:hover { background: var(--nd-primary); color: #fff; }

@media (max-width: 991px) { .nd-sidebar { position: static; } }

/* =========================================================
   NEW – Single post (blog detail): only rules not already above
   ========================================================= */
.nd-progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; background: var(--nd-primary); z-index: 99999; transition: width .1s linear; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Post header */
.nd-hero--post { padding: 60px 0 80px; }
.nd-hero--post .nd-hero__title { max-width: 900px; margin: 0 auto 1.4rem; font-size: clamp(1.7rem, 3.8vw, 2.7rem); }
.nd-crumb { flex-wrap: wrap; justify-content: center; }
.nd-crumb .breadcrumb-item.active { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nd-hero-tag {
  display: inline-block; color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: .4rem 1rem; border-radius: 50px; margin-bottom: 1rem; transition: .2s;
}
.nd-hero-tag:hover { background: #fff; color: var(--nd-primary); }
.nd-postmeta {
  display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem 1.4rem;
  padding: .7rem 1.4rem; border-radius: 50px; font-size: .88rem; font-weight: 600;
}
.nd-postmeta i { color: #cfe1ff; margin-right: .35rem; }
.nd-postmeta__author { display: inline-flex; align-items: center; gap: .6rem; }
.nd-postmeta__author img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .6); }

/* Article card */
.nd-article { background: #fff; border: 1px solid var(--nd-line); border-radius: var(--nd-radius); overflow: hidden; }
.nd-article__cover { background: var(--nd-primary-soft); }
.nd-article__body { padding: 2rem 2.2rem; }
@media (max-width: 575px) { .nd-article__body { padding: 1.25rem; } }

/* Share */
.nd-share { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.nd-share__label { font-weight: 700; color: var(--nd-dark); margin-right: .3rem; }
.nd-share__label i { color: var(--nd-primary); margin-right: .3rem; }
.nd-share__btn {
  width: 40px; height: 40px; padding: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--nd-line); background: #fff; color: var(--nd-dark); transition: .2s;
}
.nd-share__btn:hover { color: #fff; transform: translateY(-3px); border-color: transparent; background: var(--nd-primary); }
.nd-share--facebook:hover { background: #1877f2; }
.nd-share--x:hover { background: #000; }
.nd-share--linkedin:hover { background: #0a66c2; }
.nd-share--whatsapp:hover { background: #25d366; }
.nd-share__btn.is-copied { background: #198754; color: #fff; border-color: transparent; }
.nd-sharebar { padding: 0 0 1.2rem; margin-bottom: 1.5rem; border-bottom: 1px dashed var(--nd-line); }
.nd-sharebar--end { margin: 2rem 0 0; padding: 1.2rem 0 0; border-bottom: 0; border-top: 1px dashed var(--nd-line); }

/* Table of contents */
.nd-toc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.nd-toc__list a {
  display: block; padding: .5rem .8rem; border-left: 3px solid var(--nd-line); border-radius: 0 8px 8px 0;
  color: var(--nd-text); font-size: .92rem; line-height: 1.4; transition: .2s;
}
.nd-toc__list .lvl-3 a { margin-left: 1rem; font-size: .85rem; }
.nd-toc__list a:hover, .nd-toc__list a.is-active { border-left-color: var(--nd-primary); background: var(--nd-primary-soft); color: var(--nd-primary); font-weight: 600; }
.nd-toc-sticky { position: sticky; top: 90px; margin-top: 1.5rem; }
.nd-toc-inline { background: var(--nd-bg-soft); border: 1px solid var(--nd-line); border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 1.5rem; }
.nd-toc-inline summary { cursor: pointer; font-weight: 800; color: var(--nd-dark); list-style: none; display: flex; align-items: center; justify-content: space-between; }
.nd-toc-inline summary::-webkit-details-marker { display: none; }
.nd-toc-inline summary i { color: var(--nd-primary); }
.nd-toc-inline[open] summary { margin-bottom: .8rem; }

/* Sidebar variant for the post page (TOC sticks below the widgets) */
.nd-sidebar--flow { display: block; position: static; }
.nd-sidebar--flow > * + * { margin-top: 1.5rem; }

/* Post content typography */
.nd-content { font-size: 1.04rem; line-height: 1.85; color: var(--nd-text); overflow-wrap: anywhere; }
.nd-content h2, .nd-content h3, .nd-content h4 { color: var(--nd-dark); font-weight: 800; line-height: 1.35; scroll-margin-top: 90px; margin: 2rem 0 .9rem; }
.nd-content h2 { font-size: 1.6rem; padding-left: .9rem; border-left: 5px solid var(--nd-primary); }
.nd-content h3 { font-size: 1.25rem; }
.nd-content p { margin-bottom: 1.15rem; }
.nd-content a { color: var(--nd-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.nd-content img { max-width: 100%; height: auto; border-radius: 12px; margin: .5rem 0; }
.nd-content ul, .nd-content ol { padding-left: 1.4rem; margin-bottom: 1.2rem; }
.nd-content li { margin-bottom: .4rem; }
.nd-content li::marker { color: var(--nd-primary); font-weight: 700; }
.nd-content blockquote { background: var(--nd-primary-soft); border-left: 5px solid var(--nd-primary); border-radius: 0 12px 12px 0; padding: 1.1rem 1.4rem; margin: 1.5rem 0; color: var(--nd-dark); font-style: italic; }
.nd-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; display: block; overflow-x: auto; }
.nd-content th, .nd-content td { border: 1px solid var(--nd-line); padding: .65rem .9rem; }
.nd-content th { background: var(--nd-primary); color: #fff; }
.nd-content code { background: var(--nd-bg-soft); color: var(--nd-primary); padding: .15rem .45rem; border-radius: 6px; font-size: .9em; }
.nd-content pre { background: var(--nd-dark); color: #f1f1f1; padding: 1rem 1.2rem; border-radius: 12px; overflow-x: auto; }
.nd-content pre code { background: none; color: inherit; padding: 0; }
.nd-content hr { border-color: var(--nd-line); margin: 2rem 0; }

/* Post footer: categories + tags */
.nd-article__foot { display: grid; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px dashed var(--nd-line); }
.nd-foot-row { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; }
.nd-foot-row strong { color: var(--nd-dark); }
.nd-foot-row strong i { color: var(--nd-primary); margin-right: .25rem; }
.nd-foot-row .nd-tag { margin: 0; align-self: auto; }

/* Author box */
.nd-author {
  display: flex; gap: 1.4rem; align-items: center; background: #fff; border: 1px solid var(--nd-line);
  border-left: 5px solid var(--nd-primary); border-radius: var(--nd-radius); padding: 1.6rem; margin-top: 1.5rem;
}
.nd-author img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; border: 4px solid var(--nd-primary-soft); }
.nd-author__role { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--nd-primary); }
.nd-author h3 { font-size: 1.2rem; font-weight: 800; color: var(--nd-dark); margin: .15rem 0 .5rem; }
.nd-author p { margin: 0; font-size: .92rem; line-height: 1.7; color: var(--nd-muted); }
@media (max-width: 575px) { .nd-author { flex-direction: column; text-align: center; } }

/* Prev / next */
.nd-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.nd-postnav a { display: flex; flex-direction: column; gap: .3rem; height: 100%; background: #fff; border: 1px solid var(--nd-line); border-radius: var(--nd-radius); padding: 1.1rem 1.3rem; transition: .2s; }
.nd-postnav a:hover { border-color: var(--nd-primary); transform: translateY(-3px); }
.nd-postnav small { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nd-primary); }
.nd-postnav span { color: var(--nd-dark); font-weight: 700; line-height: 1.4; }
.nd-postnav .next { grid-column: 2; text-align: right; }
@media (max-width: 575px) { .nd-postnav { grid-template-columns: 1fr; } .nd-postnav .next { grid-column: auto; text-align: left; } }

/* =========================================================
   NEW – Search page (only rules not already above)
   ========================================================= */
.nd-hero--search { padding: 60px 0 80px; }
.nd-hero--search .nd-hero__title { max-width: 900px; margin: 0 auto 1.6rem; font-size: clamp(1.7rem, 3.8vw, 2.7rem); overflow-wrap: anywhere; }

.nd-hero-search { display: flex; gap: .5rem; max-width: 680px; margin: 0 auto 1.2rem; padding: .5rem; border-radius: 18px; }
.nd-hero-search__field { position: relative; flex: 1 1 auto; min-width: 0; }
.nd-hero-search__field i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: rgba(255, 255, 255, .8); }
.nd-hero-search .form-control {
  height: 52px; padding-left: 44px; color: #fff; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .14); border-radius: 12px; box-shadow: none;
}
.nd-hero-search .form-control::placeholder { color: rgba(255, 255, 255, .72); }
.nd-hero-search .form-control:focus { background: rgba(255, 255, 255, .24); border-color: #fff; color: #fff; }
.nd-hero-search .nd-btn--light { height: 52px; padding: 0 1.8rem; border-radius: 12px; background: #fff; border-color: #fff; color: var(--nd-primary); cursor: pointer; }
.nd-hero-search .nd-btn--light:hover { background: var(--nd-primary-soft); border-color: var(--nd-primary-soft); color: var(--nd-primary-dark); }

.nd-hero-chips { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem; font-size: .85rem; }
.nd-hero-chips span { opacity: .8; }
.nd-hero-chips a {
  color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .35);
  padding: .25rem .9rem; border-radius: 50px; transition: .2s;
}
.nd-hero-chips a:hover { background: #fff; color: var(--nd-primary); }

/* Nothing found */
.nd-empty p { color: var(--nd-muted); margin-bottom: 1rem; }
.nd-empty__tips { list-style: none; display: inline-grid; gap: .45rem; margin: 0 0 1.5rem; padding: 0; text-align: left; font-size: .92rem; }
.nd-empty__tips i { color: var(--nd-primary); font-size: 1rem; margin-right: .4rem; opacity: 1; }
.nd-empty .nd-tagcloud { justify-content: center; margin-bottom: 1.5rem; }

@media (max-width: 575px) { .nd-hero-search { flex-direction: column; } .nd-hero-search .nd-btn--light { width: 100%; } }

/* ---------- Responsive / motion ---------- */
@media (max-width: 575px) {
  .nd-hero { padding: 50px 0 60px; }
  .nd-section { padding: 50px 0; }
  .nd-searchbar { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .nd-orb { animation: none; }
  .nd-card, .nd-card:hover { transition: none; transform: none; }
}



/* 404 error */


/* 404 Error Page */
.nd-404 {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 15px;
    background: var(--nd-bg-soft, #f5f7fb);
    text-align: center;
}

.nd-404__content {
    max-width: 620px;
    width: 100%;
    margin: auto;
    background: #054dbb24;
    padding: 40px 0px;
}

.nd-404__icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    margin: 0 auto 22px;
    border-radius: 22px;
    background: var(--nd-primary-soft, #e8f0fb);
    color: var(--nd-primary, #0c51ac);
    font-size: 34px;
}

.nd-404__label {
    color: var(--nd-primary, #0c51ac);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.nd-404 h1 {
    margin: 12px 0;
    color: var(--nd-dark, #373436);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: -1.5px;
}

.nd-404__content > p {
    max-width: 480px;
    margin: 0 auto 28px;
    color: var(--nd-muted, #7a777a);
    font-size: 16px;
    line-height: 1.7;
}

.nd-404__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.nd-404__home,
.nd-404__back {
    padding: 12px 21px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.nd-404__home {
    background: var(--nd-primary, #0c51ac);
    color: #fff;
    border: 1px solid var(--nd-primary, #0c51ac);
}

.nd-404__home:hover {
    background: var(--nd-primary-dark, #093f87);
    border-color: var(--nd-primary-dark, #093f87);
    color: #fff;
}

.nd-404__back {
    border: 1px solid var(--nd-line, #e5e8ee);
    background: #fff;
    color: var(--nd-text, #4a4749);
}

.nd-404__back:hover {
    background: var(--nd-primary-soft, #e8f0fb);
    color: var(--nd-primary, #0c51ac);
}

.nd-404__search {
    display: flex;
    max-width: 460px;
    margin: 30px auto 0;
    padding: 5px;
    border: 1px solid var(--nd-line, #e5e8ee);
    border-radius: 10px;
    background: #fff;
}

.nd-404__search input {
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--nd-text, #4a4749);
    font-size: 14px;
}

.nd-404__search input::placeholder {
    color: var(--nd-muted, #7a777a);
}

.nd-404__search button {
    width: 42px;
    flex-shrink: 0;
    border: 0;
    border-radius: 7px;
    background: var(--nd-primary, #0c51ac);
    color: #fff;
}

.nd-404__search button:hover {
    background: var(--nd-primary-dark, #093f87);
}

.nd-404__bottom {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 25px;
    color: var(--nd-muted, #7a777a);
    font-size: 13px;
}

.nd-404__bottom a {
    color: var(--nd-primary, #0c51ac);
    font-weight: 600;
    text-decoration: none;
}

.nd-404__bottom a:hover {
    color: var(--nd-primary-dark, #093f87);
}

@media (max-width: 575px) {
    .nd-404 {
        min-height: 65vh;
        padding: 50px 15px;
    }

    .nd-404__actions {
        flex-direction: column;
    }

    .nd-404__actions .btn {
        width: 100%;
    }
}


/* css */


/* Contact Page */
.nd-contact-page {
    background: #fff;
}

.nd-contact-hero {
    padding: 65px 0 85px;
    background: linear-gradient(120deg, var(--nd-primary-dark, #093f87), var(--nd-primary, #0c51ac));
    color: #fff;
    text-align: center;
}

.nd-contact-hero__inner {
    max-width: 680px;
    margin: auto;
}

.nd-contact-hero__eyebrow,
.nd-contact-form-heading > span,
.nd-contact-visual__content > span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.nd-contact-hero h1 {
    margin: 12px 0;
    color: #fff;
    font-size: clamp(34px, 5vw, 48px);
    font-weight: 800;
}

.nd-contact-hero p {
    margin: 0;
    color: rgba(255,255,255,.85);
    font-size: 16px;
}

.nd-contact-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    font-size: 14px;
}

.nd-contact-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.nd-contact-breadcrumb span,
.nd-contact-breadcrumb i {
    color: rgba(255,255,255,.7);
}

.nd-contact-section {
    padding: 0 0 75px;
    background: var(--nd-bg-soft, #f5f7fb);
}

.nd-contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 38px auto 45px;
    position: relative;
}

.nd-contact-info__card {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 24px;
    border: 1px solid var(--nd-line, #e5e8ee);
    border-radius: var(--nd-radius, 14px);
    background: #fff;
}

.nd-contact-info__icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--nd-primary-soft, #e8f0fb);
    color: var(--nd-primary, #0c51ac);
    font-size: 23px;
}

.nd-contact-info__card h3 {
    margin: 0 0 5px;
    color: var(--nd-dark, #373436);
    font-size: 17px;
    font-weight: 700;
}

.nd-contact-info__card p {
    margin: 0 0 5px;
    color: var(--nd-muted, #7a777a);
    font-size: 13px;
    line-height: 1.6;
}

.nd-contact-info__card a,
.nd-contact-info__card span {
    color: var(--nd-primary, #0c51ac);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.nd-contact-panel {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    overflow: hidden;
    border: 1px solid var(--nd-line, #e5e8ee);
    border-radius: var(--nd-radius, 14px);
    background: #fff;
}

.nd-contact-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 550px;
    padding: 35px;
    overflow: hidden;
    background: var(--nd-primary-soft, #e8f0fb);
}

.nd-contact-visual img {
    display: block;
    width: 100%;
    max-height: 270px;
    margin: 0 auto 20px;
    object-fit: contain;
}

.nd-contact-visual__content {
    max-width: 380px;
    margin: 0 auto;
}

.nd-contact-visual__content > span {
    color: var(--nd-primary, #0c51ac);
}

.nd-contact-visual__content h2 {
    margin: 10px 0;
    color: var(--nd-dark, #373436);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
}

.nd-contact-visual__content p {
    margin: 0;
    color: var(--nd-muted, #7a777a);
    font-size: 14px;
    line-height: 1.8;
}

.nd-contact-form-wrap {
    padding: 42px;
}

.nd-contact-form-heading {
    margin-bottom: 28px;
}

.nd-contact-form-heading > span {
    color: var(--nd-primary, #0c51ac);
}

.nd-contact-form-heading h2 {
    margin: 8px 0;
    color: var(--nd-dark, #373436);
    font-size: 27px;
    font-weight: 800;
}

.nd-contact-form-heading p {
    margin: 0;
    color: var(--nd-muted, #7a777a);
    font-size: 14px;
}

.nd-contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--nd-dark, #373436);
    font-size: 13px;
    font-weight: 600;
}

.nd-contact-form .form-control {
    min-height: 48px;
    margin-bottom: 20px;
    padding: 12px 14px;
    border: 1px solid var(--nd-line, #e5e8ee);
    border-radius: 8px;
    background: #fff;
    color: var(--nd-text, #4a4749);
    font-size: 14px;
    box-shadow: none;
}

.nd-contact-form textarea.form-control {
    min-height: 135px;
    resize: vertical;
}

.nd-contact-form .form-control:focus {
    border-color: var(--nd-primary, #0c51ac);
    box-shadow: 0 0 0 3px rgba(12,81,172,.09);
}

.nd-contact-form .form-control::placeholder {
    color: #a2a0a3;
}

.nd-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 25px;
    border: 0;
    border-radius: 8px;
    background: var(--nd-primary, #0c51ac);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: background .2s ease;
}

.nd-contact-submit:hover {
    background: var(--nd-primary-dark, #093f87);
}

@media (max-width: 991px) {
    .nd-contact-panel {
        grid-template-columns: 1fr;
    }

    .nd-contact-visual {
        min-height: auto;
        padding: 30px;
    }

    .nd-contact-visual img {
        max-height: 220px;
    }
}

@media (max-width: 575px) {
    .nd-contact-hero {
        padding: 50px 0 70px;
    }

    .nd-contact-info {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 30px;
    }

    .nd-contact-info__card {
        padding: 18px;
    }

    .nd-contact-form-wrap {
        padding: 25px 18px;
    }

    .nd-contact-visual {
        padding: 25px 20px;
    }

    .nd-contact-visual__content h2 {
        font-size: 24px;
    }

    .nd-contact-submit {
        width: 100%;
    }
}

/* header*/


/* Main Header */
.nd-site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--nd-line, #e5e8ee);
    box-shadow: 0 4px 18px rgba(30, 55, 90, .04);
}

.nd-header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.nd-site-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.nd-site-logo img {
    display: block;
    width: 190px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Desktop Navigation */
.nd-primary-nav {
    margin-left: auto;
}

.nd-nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nd-nav-list li {
    margin: 0;
    padding: 0;
}

.nd-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--nd-text, #4a4749);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease, background .2s ease;
}

.nd-nav-link:hover,
.nd-nav-link.is-active {
    color: var(--nd-primary, #0c51ac);
    background: var(--nd-primary-soft, #e8f0fb);
}

.nd-nav-contact {
    margin-left: 8px;
    padding: 12px 20px;
    border: 1px solid var(--nd-primary, #0c51ac);
    background: var(--nd-primary, #0c51ac);
    color: #fff;
}

.nd-nav-contact:hover,
.nd-nav-contact.is-active {
    border-color: var(--nd-primary-dark, #093f87);
    background: var(--nd-primary-dark, #093f87);
    color: #fff;
}

/* Mobile Menu Button */
.nd-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    border: 1px solid var(--nd-line, #e5e8ee);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.nd-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--nd-dark, #373436);
    transition: transform .2s ease, opacity .2s ease;
}

.nd-menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.nd-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nd-menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .nd-header-inner {
        min-height: 70px;
    }

    .nd-site-logo img {
        width: 165px;
    }

    .nd-menu-toggle {
        display: flex;
    }

    .nd-primary-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        margin: 0;
        padding: 12px 20px 20px;
        border-top: 1px solid var(--nd-line, #e5e8ee);
        border-bottom: 1px solid var(--nd-line, #e5e8ee);
        background: #fff;
        box-shadow: 0 12px 22px rgba(30, 55, 90, .08);
    }

    .nd-primary-nav.is-open {
        display: block;
    }

    .nd-nav-list {
        align-items: stretch;
        flex-direction: column;
        gap: 5px;
    }

    .nd-nav-link {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 13px 14px;
    }

    .nd-nav-contact {
        margin: 7px 0 0;
    }
}

@media (max-width: 575px) {
    .nd-header-inner {
        min-height: 64px;
    }

    .nd-site-logo img {
        width: 145px;
    }

    .nd-primary-nav {
        padding: 10px 15px 17px;
    }
}

/* Keyboard Focus */
.nd-site-header a:focus-visible,
.nd-menu-toggle:focus-visible {
    outline: 3px solid rgba(12, 81, 172, .35);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .nd-site-header *,
    .nd-site-header *::before,
    .nd-site-header *::after {
        transition-duration: .01ms !important;
    }
}


/* footer*/


/* Modern Website Footer */
.nd-site-footer {
    background: #101d32;
    color: #c1cada;
}

.nd-footer-main {
    padding: 65px 0 50px;
}

.nd-footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.nd-footer-logo img {
    display: block;
    width: 190px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.nd-footer-brand p {
    max-width: 340px;
    margin: 0 0 18px;
    color: #aebbd0;
    font-size: 14px;
    line-height: 1.8;
}

.nd-footer-about {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.nd-footer-about:hover {
    color: #8db9ff;
}

.nd-footer-widget h3 {
    position: relative;
    margin: 4px 0 25px;
    padding-bottom: 13px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.nd-footer-widget h3::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: #4b91ed;
    content: "";
}

.nd-footer-links,
.nd-footer-posts {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nd-footer-links li,
.nd-footer-posts li {
    margin: 0 0 13px;
    padding: 0;
}

.nd-footer-links a,
.nd-footer-posts a {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #b9c5d7;
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.nd-footer-links a:hover,
.nd-footer-posts a:hover {
    color: #fff;
    transform: translateX(3px);
}

.nd-footer-links a i {
    margin-top: 4px;
    color: #6ca6f5;
    font-size: 11px;
}

.nd-footer-posts a i {
    margin-top: 4px;
    color: #6ca6f5;
    font-size: 13px;
}

.nd-footer-no-posts {
    color: #b9c5d7;
    font-size: 14px;
}

.nd-footer-contact > p {
    margin: 0 0 20px;
    color: #aebbd0;
    font-size: 14px;
    line-height: 1.8;
}

.nd-footer-email {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.nd-footer-email:hover {
    color: #8db9ff;
}

.nd-footer-contact-icon {
    display: grid;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    place-items: center;
    border-radius: 10px;
    background: rgba(75, 145, 237, .15);
    color: #8db9ff;
    font-size: 19px;
}

.nd-footer-email small {
    display: block;
    margin-bottom: 4px;
    color: #94a6bf;
    font-size: 11px;
    font-weight: 500;
}

.nd-footer-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    border: 1px solid #397acb;
    border-radius: 7px;
    background: #0c51ac;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease;
}

.nd-footer-contact-btn:hover {
    background: #093f87;
    color: #fff;
}

/* Footer Bottom */
.nd-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    background: #0c1729;
}

.nd-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 68px;
}

.nd-footer-bottom p {
    margin: 0;
    color: #aebbd0;
    font-size: 13px;
}

.nd-footer-bottom a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.nd-footer-bottom a:hover {
    color: #8db9ff;
}

.nd-footer-bottom-inner > a {
    font-size: 13px;
}

@media (max-width: 767px) {
    .nd-footer-main {
        padding: 45px 0 30px;
    }

    .nd-footer-widget {
        margin-top: 12px;
    }

    .nd-footer-bottom-inner {
        flex-direction: column;
        justify-content: center;
        padding: 18px 0;
        text-align: center;
    }
}



/* author page */


/* =========================================
   AUTHOR PROFILE PAGE
========================================= */

.nd-author-page {
    background: #fff;
}

/* Author Hero */

.nd-author-hero {
    padding: 65px 0;
    background: var(--nd-bg-soft, #f5f7fb);
    border-bottom: 1px solid var(--nd-line, #e5e8ee);
}

.nd-author-profile {
    display: flex;
    align-items: center;
    gap: 38px;
    max-width: 950px;
    margin: 0 auto;
}

.nd-author-avatar {
    flex: 0 0 180px;
}

.nd-author-avatar img {
    display: block;
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid #fff;
    box-shadow: 0 8px 28px rgba(20, 40, 70, 0.12);
}

.nd-author-info {
    flex: 1;
}

.nd-author-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--nd-primary, #0c51ac);
    background: var(--nd-primary-soft, #e8f0fb);
    padding: 7px 13px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 13px;
}

.nd-author-info h1 {
    color: var(--nd-dark, #373436);
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 750;
    line-height: 1.2;
    margin: 0 0 8px;
}

.nd-author-designation {
    color: var(--nd-primary, #0c51ac);
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 13px;
}

.nd-author-topics {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--nd-muted, #7a777a);
    font-size: 14px;
    margin-bottom: 13px;
}

.nd-author-topics i {
    color: var(--nd-primary, #0c51ac);
    font-size: 16px;
}

.nd-author-bio {
    color: var(--nd-text, #4a4749);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.nd-author-bio p:last-child {
    margin-bottom: 0;
}

/* Social Links */

.nd-author-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nd-author-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--nd-line, #e5e8ee);
    border-radius: 50%;
    color: var(--nd-primary, #0c51ac);
    font-size: 16px;
    text-decoration: none;
    transition: all .25s ease;
}

.nd-author-social a:hover {
    color: #fff;
    background: var(--nd-primary, #0c51ac);
    border-color: var(--nd-primary, #0c51ac);
    transform: translateY(-3px);
}

/* Author Posts Section */

.nd-author-posts {
    padding: 65px 0;
}

.nd-author-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.nd-section-eyebrow {
    display: block;
    color: var(--nd-primary, #0c51ac);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.nd-author-section-heading h2 {
    color: var(--nd-dark, #373436);
    font-size: clamp(25px, 3vw, 32px);
    font-weight: 750;
    margin: 0 0 8px;
}

.nd-author-section-heading p {
    color: var(--nd-muted, #7a777a);
    font-size: 15px;
    margin: 0;
}

.nd-author-post-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 10px 15px;
    border: 1px solid var(--nd-line, #e5e8ee);
    border-radius: 8px;
    color: var(--nd-primary, #0c51ac);
    font-size: 14px;
    font-weight: 600;
}

/* Post Card */

.nd-author-post-card {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--nd-line, #e5e8ee);
    border-radius: var(--nd-radius, 14px);
    transition: transform .25s ease, box-shadow .25s ease;
}

.nd-author-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(20, 40, 70, .09);
}

.nd-author-post-image {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--nd-bg-soft, #f5f7fb);
}

.nd-author-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.nd-author-post-card:hover .nd-author-post-image img {
    transform: scale(1.05);
}

.nd-author-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #9ba8ba;
    font-size: 42px;
}

.nd-author-post-content {
    padding: 21px;
}

.nd-author-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    color: var(--nd-muted, #7a777a);
    font-size: 12px;
    margin-bottom: 12px;
}

.nd-author-post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nd-author-post-meta i {
    color: var(--nd-primary, #0c51ac);
}

.nd-author-post-content h3 {
    font-size: 19px;
    line-height: 1.45;
    font-weight: 700;
    margin: 0 0 11px;
}

.nd-author-post-content h3 a {
    color: var(--nd-dark, #373436);
    text-decoration: none;
    transition: color .2s ease;
}

.nd-author-post-content h3 a:hover {
    color: var(--nd-primary, #0c51ac);
}

.nd-author-post-content p {
    color: var(--nd-muted, #7a777a);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 17px;
}

.nd-author-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--nd-primary, #0c51ac);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.nd-author-read-more:hover {
    color: var(--nd-primary-dark, #093f87);
}

/* Pagination */

.nd-author-pagination {
    margin-top: 45px;
}

.nd-author-pagination ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nd-author-pagination li {
    margin: 0;
}

.nd-author-pagination a,
.nd-author-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 8px 13px;
    border: 1px solid var(--nd-line, #e5e8ee);
    border-radius: 8px;
    color: var(--nd-dark, #373436);
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}

.nd-author-pagination a:hover,
.nd-author-pagination .current {
    color: #fff;
    background: var(--nd-primary, #0c51ac);
    border-color: var(--nd-primary, #0c51ac);
}

/* Empty State */

.nd-author-empty {
    text-align: center;
    padding: 65px 20px;
    border: 1px dashed var(--nd-line, #e5e8ee);
    border-radius: var(--nd-radius, 14px);
    background: var(--nd-bg-soft, #f5f7fb);
}

.nd-author-empty > i {
    display: block;
    color: var(--nd-primary, #0c51ac);
    font-size: 42px;
    margin-bottom: 15px;
}

.nd-author-empty h3 {
    color: var(--nd-dark, #373436);
    font-size: 22px;
    font-weight: 700;
}

.nd-author-empty p {
    color: var(--nd-muted, #7a777a);
    margin: 0;
}

/* Responsive */

@media (max-width: 767px) {

    .nd-author-hero {
        padding: 42px 0;
    }

    .nd-author-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 22px;
    }

    .nd-author-avatar {
        flex-basis: auto;
    }

    .nd-author-avatar img {
        width: 145px;
        height: 145px;
    }

    .nd-author-info h1 {
        font-size: 30px;
    }

    .nd-author-social {
        justify-content: center;
    }

    .nd-author-topics {
        justify-content: center;
    }

    .nd-author-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .nd-author-posts {
        padding: 45px 0;
    }
}

@media (max-width: 480px) {

    .nd-author-post-content {
        padding: 17px;
    }

    .nd-author-post-content h3 {
        font-size: 18px;
    }

    .nd-author-pagination a,
    .nd-author-pagination span {
        min-width: 36px;
        min-height: 36px;
        padding: 7px 10px;
    }
}

