/* Broken-image fallback: show JanBask logo instead of a missing-file icon */
body.blog-front img.jt-img-fallback {
  object-fit: contain !important;
  object-position: center !important;
  background: #f4f7fb;
  transform: none !important;
}
.article-card-media img.jt-img-fallback,
.blogArticle-cover img.jt-img-fallback,
.blogArticle-body img.jt-img-fallback,
.careerCard-media img.jt-img-fallback,
.courseCard-media img.jt-img-fallback,
.wqqes img.jt-img-fallback {
  width: 100%;
  height: 100%;
  min-height: 140px;
  padding: 28px 24px;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
}
.blogArticle-writer img.jt-img-fallback,
.blogAuthorCard img.jt-img-fallback,
.blogHero-avatar.jt-img-fallback,
.careerCard-logo img.jt-img-fallback {
  padding: 8px;
  background: #fff;
}

/* JanBask blog front theme — matches studyportal live2023 (Roboto, navy, gold) */
body.blog-front {
  font-family: 'Roboto', sans-serif;
  background: #f6f8fb;
  color: #1a1a1a;
}
/* Main site uses a PNG arrow on .dropdown-indicator; hide the Bootstrap Icon glyph so they don't stack. */
body.blog-front i.bi.dropdown-indicator::before,
body.blog-front .mobile-nav-toggle.bi::before,
body.blog-front .scroll-top i.bi::before {
  content: none !important;
  display: none !important;
}
body.blog-front header#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  margin: 0;
}
body.blog-front header#header .topstrip,
body.blog-front header#header #indepe,
body.blog-front header#header #mydivoff {
  position: relative !important;
  top: auto !important;
  width: 100%;
  z-index: 1;
}
.blogTopstrip-cta {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 12px;
  border: 1px dashed #f8c944;
  color: #f8c944;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  white-space: nowrap;
}
body.blog-front header#header #demo3 font,
body.blog-front header#header #demo3 a {
  color: #ffc107 !important;
}
.blog-page {
  min-height: 40vh;
}

/* Hero — Lifebulb-style: no side image, content centered */
section.blogHero,
.blogHero {
  position: relative;
  background: linear-gradient(180deg, #06243d 0%, #0a3a5c 100%);
  padding: 52px 16px 48px !important;
  margin: 0;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.blogHero-breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 0 0 18px;
  font-size: .9rem;
}
.blogHero-breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  opacity: .6;
}
.blogHero-breadcrumb a,
.blogHero-breadcrumb span {
  color: #fff;
}
.blogHero-breadcrumb a {
  opacity: .85;
}
.blogHero-breadcrumb a:hover {
  opacity: 1;
  text-decoration: underline;
}
.blogHero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}
.blogHero-copy { min-width: 0; }
.blogHero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 14px;
}
.blogHero-sub {
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .9);
  margin: 0 auto 22px;
  max-width: 640px;
}
.blogHero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  padding: 0;
  margin: 8px 0 0;
  font-size: .9rem;
  color: #fff;
  opacity: .92;
}
.blogHero-meta a {
  color: #fff;
  text-decoration: none;
}
.blogHero-meta a:hover { text-decoration: underline; }
.blogHero-meta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.blogHero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.blogHero-article {
  text-align: center;
  padding: 36px 16px 32px !important;
}
.blogHero-article .blogHero-content {
  display: block;
  max-width: 860px;
  margin: 0 auto;
}
.blogHero-article .blogHero-copy { max-width: 100%; }
.blogHero-article .blogHero-breadcrumb,
.blogHero-article .blogHero-meta {
  justify-content: center;
}
.blogHero-kicker {
  margin: 0 0 10px;
  color: #F8BD00;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .04em;
  font-size: .92rem;
}
.blogHero-article h1 {
  font-size: 1.85rem;
  margin: 8px 0 16px;
  line-height: 1.3;
}
.blogHero-article .blogHero-meta {
  margin-top: 4px;
  opacity: 1;
}
.blogHero-thumb {
  display: none;
}
.blogHero-search {
  margin: 8px auto 0;
  max-width: 560px;
}
.blogHero-search form {
  display: flex;
  background: #fff;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}
.blogHero-search input {
  flex: 1;
  border: 0;
  padding: 14px 20px;
  font-size: .98rem;
  outline: none;
}
.blogHero-search button {
  border: 0;
  background: #F8BD00;
  color: #092032;
  font-weight: 700;
  padding: 0 26px;
}
.blogHero-img { display: none !important; }
.blogHero-compact {
  padding: 10px 16px !important;
  text-align: left;
}
.blogHero-compact .blogHero-content {
  max-width: 100%;
  margin: 0;
}
.blogHero-compact h1,
.blogHero-compact .blogHero-sub,
.blogHero-compact .blogHero-img,
.blogHero-compact .blogHero-search,
.blogHero-compact .blogHero-meta {
  display: none;
}
.blogHero-compact .blogHero-breadcrumb {
  margin: 0;
  justify-content: flex-start;
}
@media (max-width: 991px) {
  .blogHero-content { max-width: 100%; }
  .blogHero h1 { font-size: 2rem; }
}

/* Section headings
   main.css sets section{overflow:hidden} which kills position:sticky.
   Keep this section visible so the right sidebar can pin on scroll. */
section.blogSection,
.blogSection,
section.blogAfter,
section.blogCareer,
section.blogClose,
section.blogCloseCta {
  overflow: visible !important;
}
section.blogSection,
.blogSection {
  padding: 48px 0 60px;
}
.blogSection-article {
  padding: 16px 0 40px !important;
}
.blogLayout {
  align-items: stretch;
}
.blogSection .container {
  overflow: visible;
}
.blogSection-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.blogSection-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: #0E3560;
  margin: 0;
}
.blogSection-more {
  color: #0E3560;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: underline;
}
.blogAfter-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 28px;
}
.blogAfter-head .blogSection-head {
  display: block;
  margin-bottom: 0;
}
.blogAfter-head .blogSection-title {
  font-size: 1.85rem;
  line-height: 1.3;
}
.blogAfter-head .blogSection-more {
  display: inline-block;
  margin-top: 8px;
}
.blogSection-kicker {
  margin: 0 0 6px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #086e8f;
}
.blogSection-lead {
  margin: 8px auto 0;
  color: #4a5a68;
  font-size: .98rem;
  line-height: 1.55;
  max-width: 680px;
}

/* Homepage career programs — same 8 courses as the main site */
body.blog-front section.blogCareer,
.blogCareer {
  padding: 28px 0 56px !important;
  overflow: visible !important;
  background: #fff;
  position: relative;
  z-index: 1;
}
.blogCareer .row,
.blogCareer [class*="col-"] {
  overflow: visible !important;
}
.blogCareer-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px;
}
.blogCareer-head h2 {
  font-size: 1.85rem;
  font-weight: 700;
  color: #0E3560;
  margin: 0 0 10px;
}
.blogCareer-head p {
  color: #4a5a68;
  font-size: 1.02rem;
  line-height: 1.55;
  margin: 0;
}
.careerCard {
  display: block;
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(14, 53, 96, .1);
  margin-bottom: 24px;
  text-decoration: none;
  color: inherit;
  height: calc(100% - 24px);
}
.careerCard-media {
  height: 140px;
  overflow: hidden;
  background: #eef3f7;
}
.careerCard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.careerCard-body {
  text-align: center;
  padding: 0 14px 18px;
}
.careerCard-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin: -34px auto 10px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
  overflow: hidden;
  padding: 8px;
}
.careerCard-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.careerCard-body h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: #0E3560;
  margin: 0 0 8px;
  line-height: 1.35;
}
.careerCard-meta {
  margin: 0;
  color: #055EA1;
  font-size: .86rem;
  font-weight: 600;
}
.careerCard-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 0 8px;
  font-size: .78rem;
  color: #3a4652;
}
.careerCard-stars {
  display: inline-flex;
  gap: 1px;
}
.careerCard-hov {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 14px;
  background: linear-gradient(135deg, #136AAB, #624399);
  color: #fff;
  text-decoration: none;
  opacity: 0;
  transition: opacity .35s ease;
  overflow: hidden;
  text-align: left;
}
.careerCard:hover .careerCard-hov,
.careerCard:focus-within .careerCard-hov {
  opacity: 1;
}
.careerCard-hov-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  flex-shrink: 0;
}
.careerCard-hov-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: #F8BD00;
}
.careerCard-hov-top p {
  margin: 2px 0 0;
  color: #fff;
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.3;
}
.careerCard-hov-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  padding: 7px;
  object-fit: contain;
  flex-shrink: 0;
}
.careerCard-hov-feat {
  color: #fff;
  font-size: .78rem;
  line-height: 1.35;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
.careerCard-hov-feat ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.careerCard-hov-feat li {
  position: relative;
  padding: 2px 0 2px 14px;
  color: #fff;
}
.careerCard-hov-feat li:nth-child(n+5) {
  display: none;
}
.careerCard-hov-feat li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #F8BD00;
  font-weight: 700;
}
.careerCard-hov-btn {
  display: block;
  margin-top: 8px;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 24px;
  padding: 5px 12px;
  flex-shrink: 0;
}
.careerCard-hov:hover {
  color: #fff;
}

/* Post cards */
.article-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(14, 53, 96, 0.08);
  transition: transform .35s, box-shadow .35s;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(14, 53, 96, 0.06);
  margin-bottom: 0;
}
.blogLayout .row,
.blogSection .row {
  row-gap: 28px;
}
.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(14, 53, 96, 0.16);
}
.article-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  background: #eef2f6;
}
.article-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.article-card-body {
  padding: 20px 18px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: #0E3560;
  margin: 0 0 16px;
}
.article-card-title-link:hover .article-card-title {
  color: #055EA1;
}
.article-card-meta {
  margin-top: auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px 12px;
  font-size: .78rem;
  color: #5a6a7a;
  white-space: nowrap;
  overflow: hidden;
}
.article-card-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  white-space: nowrap;
}
.article-card-meta svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* Reading progress — thin bar under the fixed header, fills as you read */
.readingProgress {
  position: fixed;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(14, 53, 96, 0.08);
  z-index: 1001;
  pointer-events: none;
}
.readingProgress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #0E3560, #F8BD00);
}

/* Article TOC sidebar (detail page) */
.blogTocCol {
  margin-bottom: 32px;
}
.blogToc-sticky {
  position: sticky;
  top: calc(var(--blog-header-h, 110px) + 16px);
  height: calc(100vh - var(--blog-header-h, 110px) - 24px);
  height: calc(100dvh - var(--blog-header-h, 110px) - 24px);
  max-height: calc(100vh - var(--blog-header-h, 110px) - 24px);
  max-height: calc(100dvh - var(--blog-header-h, 110px) - 24px);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.blogToc-card {
  background: #f4f7fb;
  border: 1px solid #e4ebf3;
  border-radius: 20px;
  padding: 6px 8px 12px;
  box-shadow: 0 10px 28px rgba(14, 53, 96, .08);
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.blogToc-card.is-collapsed {
  flex: 0 0 auto;
}
.blogToc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 10px 8px 12px;
  color: #0E3560;
  cursor: pointer;
  text-align: left;
  flex-shrink: 0;
}
.blogToc-head-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e7eef6;
  color: #0E3560;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.blogToc-head-title {
  font-size: .98rem;
  font-weight: 700;
  flex: 1;
}
.blogToc-chevron {
  color: #0E3560;
  display: inline-flex;
  transition: transform .2s;
}
.blogToc-card.is-collapsed .blogToc-chevron {
  transform: rotate(180deg);
}
.blogToc-card.is-collapsed .blogToc-body {
  display: none;
}
.blogToc-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0 6px 6px;
  -webkit-overflow-scrolling: touch;
}
.blogToc-tree {
  list-style: none;
  margin: 0;
  padding: 0;
}
.blogToc-section {
  margin: 0 0 6px;
}
.blogToc-parent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-decoration: none;
  color: #0E3560;
  padding: 6px 4px;
}
.blogToc-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e7eef6;
  color: #0E3560;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.blogToc-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  padding-top: 4px;
}
.blogToc-parent.is-active .blogToc-title,
.blogToc-parent:hover .blogToc-title {
  color: #0E3560;
}
.blogToc-parent.is-active .blogToc-num {
  background: #0E3560;
  color: #fff;
}
.blogToc-kids {
  list-style: none;
  margin: 0 0 4px 14px;
  padding: 2px 0 8px 20px;
  border-left: 2px solid #d5e0ec;
}
.blogToc-kids a {
  position: relative;
  display: block;
  padding: 5px 0 5px 6px;
  font-size: 12.5px;
  line-height: 1.4;
  font-weight: 400;
  color: #5a6a78;
  text-decoration: none;
}
.blogToc-kids a::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c5d0dc;
  box-shadow: 0 0 0 3px #f4f7fb;
}
.blogToc-kids a:hover {
  color: #0E3560;
}
.blogToc-kids a.is-active {
  color: #0E3560;
  font-weight: 600;
}
.blogToc-kids a.is-active::before {
  background: #0E3560;
}
.blogEnroll {
  margin-top: 14px;
  flex-shrink: 0;
}
.blogEnroll-btn {
  display: block;
  text-align: center;
  background: #0E3560;
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  border-radius: 6px;
  padding: 8px 12px;
  text-decoration: none;
}
.blogEnroll-btn:hover {
  background: #055EA1;
  color: #fff;
}
.blogBatches {
  margin-top: 16px;
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 10px;
  padding: 12px;
  flex-shrink: 0;
}
.blogBatches-title {
  margin: 0 0 10px;
  font-size: .88rem;
  font-weight: 700;
  color: #0E3560;
}
.blogBatches-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px dashed #e6eaf0;
}
.blogBatches-date {
  width: 42px;
  text-align: center;
  color: #0E3560;
}
.blogBatches-date strong { display: block; font-size: 1.05rem; line-height: 1; }
.blogBatches-date span { font-size: .72rem; text-transform: uppercase; }
.blogBatches-row > div:last-child strong { display: block; font-size: .82rem; color: #0E3560; }
.blogBatches-row > div:last-child span { font-size: .75rem; color: #6a7682; }
.blogBatches-link {
  display: block;
  margin-top: 8px;
  text-align: center;
  font-size: .82rem;
  font-weight: 700;
  color: #055EA1;
}
.blogToc-link {
  text-decoration: none;
}
html {
  scroll-behavior: smooth;
}
html, body.blog-front {
  scroll-padding-top: calc(var(--blog-header-h, 110px) + 16px);
}
#comments,
#comment,
.blogComments {
  scroll-margin-top: calc(var(--blog-header-h, 110px) + 16px);
}
.blogHero-commentLink {
  cursor: pointer;
}
.blogContent-block {
  scroll-margin-top: calc(var(--blog-header-h, 110px) + 16px);
  padding: 0 !important;
  overflow: visible !important;
  margin: 0;
}
.blogArticle-body section {
  padding: 0 !important;
  overflow: visible !important;
}
.blogContent-block > h2:first-child,
.blogContent-block > h3:first-child,
.blogContent-block > h4:first-child {
  margin-top: 1.1em;
}
.blogContent-block:first-child > h2:first-child,
.blogContent-block:first-child > h3:first-child,
.blogContent-block:first-child > h4:first-child {
  margin-top: 0.2em;
}
.blogArticle-body p:empty {
  display: none;
}

/* After-article: related posts → category career programs → browse categories */
.blogAfter {
  padding: 10px 0 24px;
  overflow: visible !important;
}
.blogAfter-block {
  margin-bottom: 8px;
}
.blogAfter-career {
  padding: 36px 0 48px !important;
  background: #fff;
}
.blogAfter-career-more {
  text-align: center;
  margin: 4px 0 0;
}
.blogAfter-cats {
  padding: 28px 0 48px !important;
}
.blogAfter .row {
  row-gap: 28px;
}
.blogRelated .article-card-title {
  font-size: .95rem;
}
.blogRelated .article-card-body {
  padding: 16px 14px 18px;
}
.blogRelated .article-card-meta {
  font-size: .72rem;
  gap: 6px 8px;
}
.courseCard {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(14, 53, 96, 0.08);
  border-radius: 14px;
  padding: 16px 16px 22px;
  height: 100%;
  margin-bottom: 0;
  box-shadow: 0 8px 22px rgba(14, 53, 96, 0.06);
  text-decoration: none;
}
.courseCard:hover {
  box-shadow: 0 14px 30px rgba(14, 53, 96, 0.12);
}
.courseCard-media {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f6f9;
}
.courseCard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.courseCard-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0E3560;
  margin: 0 0 6px;
  line-height: 1.35;
}
.courseCard-body span {
  font-size: .82rem;
  color: #6a7682;
}
.browseCats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.browseCats a {
  display: inline-block;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #e0e6ed;
  border-radius: 24px;
  color: #0E3560;
  font-size: .9rem;
  font-weight: 600;
}
.browseCats a:hover {
  background: #0E3560;
  color: #fff;
  border-color: #0E3560;
}

.blogClose {
  padding: 8px 0 36px !important;
  overflow: visible !important;
  background: #f6f8fb;
}
.blogCloseCta {
  padding: 0 0 56px !important;
  overflow: visible !important;
  background: #f6f8fb;
}
.blogCloseCta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(120deg, #0E3560 0%, #086e8f 100%);
  color: #fff;
  border-radius: 16px;
  padding: 32px 36px;
}
.blogCloseCta-inner h2 {
  font-size: 1.55rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
}
.blogCloseCta-inner p {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  max-width: 560px;
  line-height: 1.55;
}
.blogCloseCta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}
.blogCloseCta-phone {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.blogCloseCta-phone:hover { color: #F8BD00; }
@media (max-width: 767px) {
  .blogCloseCta-inner {
    flex-direction: column;
    text-align: center;
    padding: 26px 20px;
  }
  .blogCloseCta-actions { align-items: center; }
}

/* Sidebar — column stretches with the post list; inner box sticks under the header */
.blogSidebar {
  margin-bottom: 32px;
}
.trendingBlogs-sticky {
  position: sticky;
  top: calc(var(--blog-header-h, 110px) + 16px);
  z-index: 2;
}
.relatedCard {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #eef2f6;
  text-decoration: none;
}
.relatedCard:last-child { border-bottom: 0; }
.relatedCard img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.relatedCard strong {
  display: block;
  font-size: 13px;
  line-height: 1.35;
  color: #092032;
  font-weight: 600;
}
.relatedCard span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #7a8794;
}
.relatedCard:hover strong { color: #055EA1; }
.batchRow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eef2f6;
}
.batchDate {
  width: 46px;
  text-align: center;
  border: 1px solid #e6eaf0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.batchDate strong {
  display: block;
  background: #0E3560;
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
}
.batchDate span {
  display: block;
  font-size: 11px;
  color: #0E3560;
  font-weight: 600;
  padding: 2px 0;
}
.batchMeta strong { display: block; font-size: 13px; color: #092032; }
.batchMeta span { font-size: 12px; color: #7a8794; }
.batchCta {
  display: block;
  margin-top: 14px;
  text-align: center;
  background: #F8BD00;
  color: #092032;
  font-weight: 700;
  border-radius: 24px;
  padding: 8px 14px;
  font-size: 13px;
}
.trendingBlogs {
  background: #fff;
  border: .8px solid rgba(9, 32, 50, .08);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}
.trendingBlogs-title {
  font-size: 17px;
  font-weight: 700;
  color: #092032;
  margin-bottom: 8px;
}
.trendingBlogs-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 6px;
  border-radius: 10px;
  text-decoration: none;
}
.trendingBlogs-item:hover { background: #f7f9fb; }
.trendingBlogs-item svg {
  flex-shrink: 0;
  color: #F8BD00;
  margin-top: 3px;
}
.trendingBlogs-item span {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #092032;
}
.trendingBlogs-cta {
  background: linear-gradient(120deg, #0c3150, #086e8f);
  border-radius: 16px;
  padding: 26px 22px;
  color: #fff;
  margin-bottom: 20px;
}
.trendingBlogs-cta h4 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.trendingBlogs-cta p {
  font-size: 14px;
  color: rgba(255,255,255,.8);
  margin-bottom: 16px;
}
.trendingBlogs-cta-btn {
  display: inline-block;
  padding: 6px 24px;
  border: 1.6px solid #F8BD00;
  border-radius: 48px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.trendingBlogs-cta-btn:hover {
  background: #F8BD00;
  color: #092032;
}
.trendingBlogs-cta-divider {
  border-color: rgba(255,255,255,.2);
  margin: 18px 0;
}
.trendingBlogs-cta-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
}

/* Article */
.blogArticle {
  background: #fff;
  border-radius: 16px;
  padding: 28px 28px 36px;
  box-shadow: 0 10px 30px rgba(14, 53, 96, 0.06);
  margin-bottom: 28px;
}
.blogArticle-head h1 {
  font-size: 2rem;
  line-height: 1.3;
  font-weight: 800;
  color: #0E3560;
  margin: 8px 0 12px;
}
.blogArticle-kicker {
  display: inline-block;
  color: #086e8f;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.blogArticle-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: #6a7682;
  font-size: .9rem;
  margin-bottom: 16px;
}
.blogArticle-byline a { color: #055EA1; }
.blogArticle-writer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 20px;
  text-decoration: none;
  color: inherit;
  width: fit-content;
}
a.blogArticle-writer:hover strong { color: #055EA1; }
.blogArticle-writer img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.blogArticle-writer strong {
  display: block;
  color: #0E3560;
  font-size: .95rem;
}
.blogArticle-writer span {
  font-size: .8rem;
  color: #7a8794;
}
.blogArticle-cover {
  margin: 0 0 24px;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  background: #f4f7fb;
}
.blogAuthorCard {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(14, 53, 96, 0.06);
  margin-bottom: 28px;
}
.blogAuthorCard-avatar {
  width: 84px;
  height: 84px;
  flex: 0 0 84px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eef2f6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blogAuthorCard-avatar img,
.blogAuthorCard img {
  width: 84px !important;
  height: 84px !important;
  max-width: 84px !important;
  max-height: 84px !important;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0 !important;
  flex-shrink: 0;
}
.blogAuthorCard img.jt-img-fallback {
  object-fit: contain !important;
  padding: 14px;
  box-sizing: border-box;
  background: #fff;
}
.blogAuthorCard-label {
  margin: 0 0 4px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #7a8794;
}
.blogAuthorCard h3 {
  color: #0E3560;
  font-weight: 700;
  margin: 0 0 8px;
}
.blogNextPrev {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin: 8px 0 32px;
  padding-top: 8px;
  border-top: 1px solid #e6eaf0;
}
.blogNextPrev-item {
  display: block;
  max-width: 46%;
  text-decoration: none;
  color: #055EA1;
  font-weight: 700;
  font-size: .92rem;
  background: none;
  box-shadow: none;
  padding: 12px 0 0;
  min-height: 0;
}
.blogNextPrev-item.is-next { text-align: right; margin-left: auto; }
.blogNextPrev-item em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-weight: 500;
  color: #0E3560;
  line-height: 1.4;
}
.blogNextPrev-item:hover,
.blogNextPrev-item:hover em { color: #0E3560; }
@media (max-width: 767px) {
  .blogNextPrev { flex-direction: column; }
  .blogNextPrev-item,
  .blogNextPrev-item.is-next {
    max-width: 100%;
    text-align: left;
    margin-left: 0;
  }
}
.blogAuthorCard p {
  margin: 0 0 12px;
  color: #444;
  line-height: 1.55;
}
.blogAuthorCard h3 a {
  color: #0E3560;
  text-decoration: none;
}
.blogAuthorCard h3 a:hover { color: #055EA1; }
.blogArticle-cover img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}
.blogArticle-body {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #222;
}
.blogArticle-body p {
  margin: 0 0 1.05em;
}
.blogArticle-body ul,
.blogArticle-body ol {
  padding-left: 1.2em;
  margin: 0 0 1.1em;
}
.blogArticle-body li {
  margin-bottom: .4em;
}
.blogArticle-body h2,
.blogArticle-body h3,
.blogArticle-body h4 {
  color: #0E3560;
  font-weight: 700;
  margin: 1.4em 0 .6em;
}
.blogArticle-body img,
.blogArticle-body img.img-responsive,
.blogArticle-body img.img-fluid {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block;
  margin: 0 auto 1em;
}
.blogArticle-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: .95rem;
}
.blogArticle-body table td,
.blogArticle-body table th {
  border: 1px solid #e6eaf0;
  padding: 8px 10px;
}
.blogArticle-body table tr:nth-child(odd) { background: #f7f9fb; }
.blogArticle-body table tbody tr:first-child td {
  background: #0E3560;
  color: #fff;
}
.blogContent-index {
  background: #f7f9fb;
  border: 1px solid #e6eaf0;
  border-radius: 12px;
  padding: 18px 22px;
  margin: 20px 0 28px;
}

/* Mid-article CTAs: Flat 20% / self-learning / demo banners */
.blogArticle-body [class*="cta-inln"] {
  display: flex !important;
  align-items: center;
  width: 100% !important;
  max-width: 100%;
  float: none !important;
  margin: 16px 0;
  padding: 18px 10px 18px 8px;
  border-radius: 6px;
  overflow: hidden;
  color: #fff;
  box-sizing: border-box;
}
.blogArticle-body .cta-inln,
.blogArticle-body .cta-inln1,
.blogArticle-body .cta-inln2,
.blogArticle-body .cta-inln3 {
  background: linear-gradient(120deg, #0E3560 0%, #086e8f 100%) !important;
}
.blogArticle-body [class*="cta-inln"] > [class*="col-"] {
  float: none !important;
  padding: 0 12px;
  margin: 0;
}
.blogArticle-body [class*="cta-inln"] > .col-lg-8,
.blogArticle-body [class*="cta-inln"] > .col-md-8 {
  flex: 1 1 62%;
  max-width: 62%;
  width: auto;
}
.blogArticle-body [class*="cta-inln"] > .col-lg-4,
.blogArticle-body [class*="cta-inln"] > .col-md-4 {
  flex: 0 0 38%;
  max-width: 38%;
  width: auto;
}
.blogArticle-body .text-areas1 {
  padding: 8px 8px 4px 16px;
  color: #fff;
  width: 100%;
  float: none;
}
.blogArticle-body .text-areas1 p {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 10px;
}
.blogArticle-body ul.te-innmd {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 0;
  width: 100%;
  padding: 0;
  margin: 0 0 10px;
}
.blogArticle-body ul.te-innmd li {
  width: 50%;
  float: none;
  list-style: none;
  padding: 4px 8px 4px 22px;
  margin: 0;
  color: #fff;
  font-size: .88rem;
  line-height: 1.35;
  position: relative;
}
.blogArticle-body ul.te-innmd li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 4px;
  color: #FFCC00;
  font-weight: 700;
}
.blogArticle-body a.btnw1 {
  display: inline-block;
  color: #092032 !important;
  background: #ffcc00;
  font-weight: 700;
  margin: 8px 0 6px;
  padding: 8px 18px !important;
  border: 0;
  font-size: .88rem !important;
  line-height: 1.3;
  border-radius: 28px;
  text-decoration: none;
  float: none;
}
.blogArticle-body a.btnw1:hover {
  background: #F8BD00;
  color: #092032 !important;
}
.blogArticle-body .wqqes {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.blogArticle-body .wqqes img {
  width: 86%;
  max-width: 220px;
  height: auto;
  float: none;
}
@media (max-width: 767px) {
  .blogArticle-body [class*="cta-inln"] {
    flex-direction: column;
    padding: 16px 12px;
  }
  .blogArticle-body [class*="cta-inln"] > .col-lg-8,
  .blogArticle-body [class*="cta-inln"] > .col-md-8,
  .blogArticle-body [class*="cta-inln"] > .col-lg-4,
  .blogArticle-body [class*="cta-inln"] > .col-md-4 {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .blogArticle-body ul.te-innmd li { width: 100%; }
  .blogArticle-body .wqqes { justify-content: center; margin-top: 8px; }
  .blogArticle-body .wqqes img { width: 70%; }
}
.blogContent-index h4 {
  text-align: center;
  font-weight: 700;
  color: #0E3560;
  margin-bottom: 10px;
}
.blogShare {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 8px;
}
.blogShare a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #f0f4f8;
  color: #0E3560;
  font-weight: 600;
  font-size: .9rem;
}
.blogShare a:hover { background: #F8BD00; }

/* Comments — simple composer, like a chat box */
.blogComments {
  background: #fff;
  border: 1px solid rgba(14, 53, 96, 0.08);
  border-radius: 16px;
  padding: 22px 22px 18px;
  box-shadow: 0 10px 30px rgba(14, 53, 96, 0.06);
  margin: 8px 0 28px;
}
.blogComments-head h3 {
  color: #0E3560;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 0 16px;
}
.blogComments-write-label {
  margin: 0 0 10px;
  font-size: .92rem;
  font-weight: 700;
  color: #0E3560;
}
.blogComposer {
  margin: 0;
}
.blogComposer-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.blogComposer-input {
  flex: 1;
  width: 100%;
  min-height: 46px;
  max-height: 180px;
  padding: 12px 14px;
  border: 1px solid #d7dee6;
  border-radius: 24px;
  background: #f7f9fb;
  font-size: .95rem;
  line-height: 1.45;
  resize: none;
  outline: none;
}
.blogComposer-input:focus {
  background: #fff;
  border-color: #0E3560;
  box-shadow: 0 0 0 3px rgba(14, 53, 96, .1);
}
.blogComposer.is-open .blogComposer-input {
  border-radius: 12px;
  min-height: 72px;
}
.blogComposer-more {
  display: none;
  padding: 12px 0 0 56px;
}
.blogComposer.is-open .blogComposer-more { display: block; }
.blogComposer-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.blogComposer-fields .form-control {
  border: 1px solid #d7dee6;
  border-radius: 8px;
  margin: 0;
  font-size: .9rem;
  background: #fff;
}
.blogComposer-fields .form-control:focus {
  border-color: #0E3560;
  box-shadow: 0 0 0 3px rgba(14, 53, 96, .1);
}
.blogComposer-as {
  margin: 0 0 10px;
  font-size: .85rem;
  color: #6a7682;
}
.blogComposer-captcha { min-height: 0; margin: 0 0 8px; }
.blogComposer-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}
.blogComposer-cancel {
  border: 0;
  background: none;
  color: #5a6a78;
  font-weight: 600;
  font-size: .88rem;
  padding: 0;
}
.blogComments .btn-comment {
  background: #F8BD00;
  color: #092032;
  border: 0;
  border-radius: 24px;
  padding: 8px 18px;
  font-weight: 700;
  font-size: .9rem;
}
.blogComments .btn-comment:hover { background: #e0aa00; color: #092032; }
.blogComments .btn-comment:disabled { opacity: .7; }
.blogComment-msg {
  margin-top: 8px;
  font-size: .86rem;
  font-weight: 600;
}
.blogComment-msg.is-ok { color: #0a7a3e; }
.blogComment-msg.is-err { color: #b42318; }
.blogComments span.blogComment-error {
  display: block;
  color: #b42318;
  font-size: .75rem;
  font-weight: 600;
  margin-top: 3px;
}
.blogComments .form-control.blogComment-error,
.blogComposer-input.blogComment-error { border-color: #b42318; }
.blogComment-list {
  margin: 0 0 20px;
}
.comment-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #eef2f6;
}
.comment-item:last-child { border-bottom: 0; }
.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0E3560, #086e8f);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: .95rem;
}
.comment-body { min-width: 0; flex: 1; }
.comment-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin-bottom: 2px;
}
.comment-item h4 {
  font-size: .95rem;
  margin: 0;
  color: #0E3560;
}
.comment-top time { font-size: .76rem; color: #7a8794; }
.comment-item p {
  margin: 0 0 6px;
  color: #3a4652;
  line-height: 1.55;
}
.rplybtn {
  display: inline-block;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: .8rem;
  color: #055EA1;
  font-weight: 700;
}
.rplybtn:hover { text-decoration: underline; }
.blogReply-slot { margin-top: 10px; }
.comment-children {
  margin: 8px 0 0;
  padding-left: 12px;
  border-left: 2px solid #F8BD00;
}
.comment-children .comment-item { padding: 10px 0; }
.comment-children .comment-avatar { width: 32px; height: 32px; font-size: .82rem; }
@media (max-width: 767px) {
  .blogComments { padding: 16px 14px 12px; }
  .blogComposer-more { padding-left: 0; }
  .blogComposer-fields { grid-template-columns: 1fr; }
}

/* Empty / 404 */
.blogEmpty {
  text-align: center;
  padding: 60px 16px;
}
.blogEmpty h1,
.blogEmpty h2 {
  color: #0E3560;
  font-weight: 700;
}
.btn-gold {
  display: inline-block;
  background: #F8BD00;
  color: #092032;
  font-weight: 700;
  border-radius: 28px;
  padding: 10px 24px;
}
.btn-gold:hover { color: #092032; }

/* Auth / contact cards */
.blogFormCard {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(14, 53, 96, 0.06);
  max-width: 640px;
  margin: 0 auto 40px;
}
.blogFormCard .form-control {
  border: 1px solid #e0e6ed;
  border-radius: 8px;
  margin-bottom: 12px;
}
.blogFormCard .btn-gold { border: 0; }

.infiniteScroll-sentinel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 0 4px;
}
.infiniteScroll-btn {
  border: 0;
  min-width: 180px;
}
.infiniteScroll-btn:disabled {
  opacity: .7;
  cursor: wait;
}
.infiniteScroll-spinner {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid rgba(14, 53, 96, 0.15);
  border-top-color: #0E3560;
  animation: infiniteScrollSpin .8s linear infinite;
  visibility: hidden;
}
.infiniteScroll-sentinel.is-loading .infiniteScroll-spinner { visibility: visible; }
@keyframes infiniteScrollSpin { to { transform: rotate(360deg); } }

@media (max-width: 991px) {
  .blogToc-sticky {
    position: static;
    height: auto;
    max-height: none;
  }
  .blogToc-card {
    flex: none;
    max-height: min(70vh, 560px);
  }
}
@media (max-width: 767px) {
  .blogArticle { padding: 18px 16px 24px; }
  .blogArticle-head h1 { font-size: 1.45rem; }
  .blogAuthorCard { flex-direction: column; }
  .blogSection { padding: 32px 0 80px; }
  .trendingBlogs-sticky { position: static; }
  body.blog-front { padding-bottom: 72px; }
}

/* Author hero (profile page) — left-aligned next to avatar, not centered */
section.blogHero.blogHero-hasAuthor,
.blogHero-hasAuthor {
  text-align: left;
}
section.blogHero.blogHero-hasAuthor .blogHero-content,
.blogHero-hasAuthor .blogHero-content {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 100%;
  margin: 0;
  text-align: left;
}
section.blogHero.blogHero-hasAuthor .blogHero-copy,
.blogHero-hasAuthor .blogHero-copy {
  flex: 1;
  min-width: 0;
  text-align: left;
}
section.blogHero.blogHero-hasAuthor .blogHero-breadcrumb,
.blogHero-hasAuthor .blogHero-breadcrumb {
  justify-content: flex-start;
  margin-bottom: 10px;
}
section.blogHero.blogHero-hasAuthor h1,
.blogHero-hasAuthor h1 {
  text-align: left;
}
section.blogHero.blogHero-hasAuthor .blogHero-social,
.blogHero-hasAuthor .blogHero-social {
  justify-content: flex-start;
}
section.blogHero.blogHero-hasAuthor .blogHero-sub,
.blogHero-hasAuthor .blogHero-sub {
  margin: 0 0 16px;
  max-width: 42rem;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blogHero-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
  background: #fff;
  padding: 0;
}
.blogHero-avatar.jt-img-fallback {
  object-fit: contain;
  padding: 14px;
  background: #fff;
}
}
.blogHero-social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.blogHero-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.blogHero-social a:hover {
  background: #F8BD00;
  color: #092032;
}

/* Profile */
.profileCard-count {
  color: #5b6b7c;
  font-size: .92rem;
  font-weight: 600;
}

/* Pagination */
.blogPager,
.blogPager .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  list-style: none;
  padding: 28px 0 8px;
  margin: 0;
}
.blogPager li { list-style: none; }
.blogPager a,
.blogPager span,
.blogPager .active a,
.blogPager .disabled a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #dce3eb;
  background: #fff;
  color: #0E3560;
  font-weight: 600;
  text-decoration: none;
}
.blogPager .active a,
.blogPager a.current,
.blogPager li.active a {
  background: #0E3560;
  border-color: #0E3560;
  color: #fff;
}
.blogPager a:hover {
  background: #F8BD00;
  border-color: #F8BD00;
  color: #092032;
}

/* Settings */
.settingsLayout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
}
.settingsNav {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(14, 53, 96, 0.06);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.settingsNav a {
  padding: 10px 14px;
  border-radius: 10px;
  color: #0E3560;
  font-weight: 600;
  text-decoration: none;
}
.settingsNav a.is-active,
.settingsNav a:hover {
  background: #0E3560;
  color: #fff;
}
.settingsCard { max-width: none; margin: 0; }
.settingsCard label {
  display: block;
  font-weight: 600;
  color: #0E3560;
  margin: 8px 0 4px;
}
.settingsCard label small { font-weight: 400; color: #7a8794; }
.settingsAvatar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.settingsAvatar img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
}
.settingsUpload { position: relative; overflow: hidden; cursor: pointer; margin: 0; }
.settingsUpload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.settingsHint { width: 100%; color: #c0392b; font-size: .85rem; margin: 0; }

/* Gallery / RSS */
.galleryFilters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.galleryFilters button {
  border: 1px solid #dce3eb;
  background: #fff;
  color: #0E3560;
  border-radius: 20px;
  padding: 6px 14px;
  font-weight: 600;
}
.galleryFilters button.is-active,
.galleryFilters button:hover {
  background: #0E3560;
  color: #fff;
  border-color: #0E3560;
}
.galleryGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.galleryItem img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}
.rssList { display: flex; flex-direction: column; gap: 12px; }
.rssItem {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f6;
}
.rssItem a { font-weight: 700; color: #0E3560; }
.rssItem span { color: #7a8794; font-size: .9rem; }

.error-message,
.success-message {
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
}
.error-message { background: #fdecea; color: #c0392b; }
.success-message { background: #e8f7ee; color: #1e7e34; }

@media (max-width: 991px) {
  section.blogHero.blogHero-hasAuthor .blogHero-content,
  .blogHero-hasAuthor .blogHero-content { max-width: 100%; }
  .settingsLayout { grid-template-columns: 1fr; }
  .galleryGrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  section.blogHero.blogHero-hasAuthor,
  .blogHero-hasAuthor { text-align: center; }
  section.blogHero.blogHero-hasAuthor .blogHero-content,
  .blogHero-hasAuthor .blogHero-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  section.blogHero.blogHero-hasAuthor .blogHero-copy,
  .blogHero-hasAuthor .blogHero-copy,
  section.blogHero.blogHero-hasAuthor h1,
  .blogHero-hasAuthor h1,
  section.blogHero.blogHero-hasAuthor .blogHero-sub,
  .blogHero-hasAuthor .blogHero-sub { text-align: center; }
  section.blogHero.blogHero-hasAuthor .blogHero-breadcrumb,
  .blogHero-hasAuthor .blogHero-breadcrumb,
  section.blogHero.blogHero-hasAuthor .blogHero-social,
  .blogHero-hasAuthor .blogHero-social,
  .blogHero-social { justify-content: center; }
  .galleryGrid { grid-template-columns: 1fr; }
  .rssItem { flex-direction: column; }
}

/* Mobile: hide header phone (main site does the same). Number stays in bottom Call Us strip. */
@media (max-width: 1279px) {
  body.blog-front header#header .container-fluid {
    position: relative;
    min-height: 56px;
  }
  body.blog-front header#header .mobile-nav-toggle.mobile-nav-show {
    position: absolute !important;
    right: 8px !important;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 !important;
    z-index: 6;
  }
  body.blog-front header#header .callTxt,
  body.blog-front header#header .insert-menu,
  body.blog-front header#header .loginBx .userProfile {
    display: none !important;
  }
}
