
/* WealthSure centralized author pages and global font enforcement */
html, body, body * {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, Helvetica, sans-serif !important;
}
.ws-article-system,
.ws-article-system * {
  box-sizing: border-box;
}
.ws-author-system {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 42%, #f8fafc 100%);
  color: #0f172a;
}
.ws-author-system .ws-article-breadcrumb-wrap {
  max-width: 1380px;
  margin: 0 auto;
  padding: 24px 20px 0;
}
.ws-author-system .ws-article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #64748b;
  font-size: 14px;
}
.ws-author-system .ws-article-breadcrumb a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}
.ws-author-index-hero,
.ws-author-system .ws-author-profile-hero {
  max-width: 1380px;
  margin: 24px auto 32px;
  padding: 42px;
  border: 1px solid rgba(11, 59, 117, 0.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(11, 99, 206, 0.18), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f2f7ff 52%, #f8fafc 100%);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
  position: relative;
  overflow: hidden;
}
.ws-author-index-hero::after,
.ws-author-system .ws-author-profile-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: rgba(11, 59, 117, 0.10);
}
.ws-author-index-hero .ws-article-tag,
.ws-author-system .ws-author-profile-hero .ws-article-tag,
.ws-author-card .ws-article-tag,
.ws-author-article-count {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 8px 14px;
  background: #e8f3ff;
  color: #0b3b75;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ws-author-index-hero h1,
.ws-author-system .ws-author-profile-hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: #0f172a;
}
.ws-author-index-hero p,
.ws-author-system .ws-author-profile-hero p {
  max-width: 820px;
  color: #475569;
  font-size: 18px;
  line-height: 1.72;
  margin: 0;
}
.ws-author-card-list {
  max-width: 1380px;
  margin: 0 auto 70px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.ws-author-card {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ws-author-card:hover {
  transform: translateY(-3px);
  border-color: rgba(11, 59, 117, 0.24);
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.12);
}
.ws-author-photo-link,
.ws-author-profile-hero > img,
.ws-author-photo {
  display: block;
}
.ws-author-card .ws-author-photo,
.ws-author-system .ws-author-profile-hero .ws-author-photo {
  width: 104px;
  height: 104px;
  border-radius: 24px;
  object-fit: cover;
  background: #e2e8f0;
  border: 4px solid #ffffff;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16);
}
.ws-author-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 6px;
}
.ws-author-card h2,
.ws-author-profile-hero h1 {
  margin-top: 0;
}
.ws-author-card h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.ws-author-card h2 a,
.ws-author-profile-hero a,
.ws-author-card a {
  color: #0f172a;
  text-decoration: none;
}
.ws-author-card h2 a:hover,
.ws-author-profile-hero a:hover {
  color: #0b3b75;
}
.ws-author-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 12px;
  color: #0b3b75;
  background: #f2f7ff;
  border: 1px solid rgba(11, 59, 117, 0.16);
}
.ws-author-linkedin svg {
  width: 22px !important;
  height: 22px !important;
}
.ws-author-title {
  margin: 0 0 10px;
  color: #0b3b75 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}
.ws-author-description {
  margin: 0 0 18px;
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
}
.ws-author-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.ws-author-article-count {
  text-decoration: none;
  letter-spacing: 0;
  text-transform: none;
  font-size: 13px;
}
.ws-author-system .ws-author-profile-hero {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 34px;
}
.ws-author-system .ws-author-profile-hero .ws-author-photo {
  width: 180px;
  height: 180px;
  border-radius: 34px;
}
.ws-author-system .ws-author-profile-hero .ws-author-title {
  font-size: 18px !important;
  margin-bottom: 14px;
}
.ws-author-system .ws-article-grid {
  max-width: 1380px;
  margin: 0 auto 70px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.ws-author-system .ws-article-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}
.ws-author-system .ws-article-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  background: #e2e8f0;
}
.ws-author-system .ws-article-card-body {
  padding: 22px;
}
.ws-author-system .ws-article-card-body h2 {
  margin: 10px 0;
  font-size: 21px;
  line-height: 1.28;
  letter-spacing: -0.02em;
}
.ws-author-system .ws-article-card-body p {
  color: #475569;
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 900px) {
  .ws-author-card-list,
  .ws-author-system .ws-article-grid {
    grid-template-columns: 1fr;
  }
  .ws-author-index-hero,
  .ws-author-system .ws-author-profile-hero {
    margin: 18px 16px 28px;
    padding: 28px;
  }
  .ws-author-system .ws-author-profile-hero {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .ws-author-card {
    grid-template-columns: 1fr;
  }
  .ws-author-card .ws-author-photo {
    width: 92px;
    height: 92px;
  }
  .ws-author-name-row {
    align-items: flex-start;
  }
}


/* Font Awesome fix: global Inter font must not override icon font glyphs. */
.fa, .fas, .far, .fab,
i.fa, i.fas, i.far, i.fab,
i[class^="fa-"], i[class*=" fa-"],
.fa-solid, .fa-regular, .fa-brands {
  font-style: normal !important;
  line-height: 1 !important;
  speak: never;
}
.fa, .fas, .fa-solid,
i.fa, i.fas, i.fa-solid,
i[class^="fa-solid"], i[class*=" fa-solid"] {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}
.far, .fa-regular,
i.far, i.fa-regular,
i[class^="fa-regular"], i[class*=" fa-regular"] {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 400 !important;
}
.fab, .fa-brands,
i.fab, i.fa-brands,
i[class^="fa-brands"], i[class*=" fa-brands"] {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}


.ws-author-system .ws-author-article-card-no-image {
  overflow: visible;
}
.ws-author-system .ws-author-article-card-no-image .ws-article-card-body {
  padding: 26px;
}
.ws-author-system .ws-author-article-card-no-image h2 {
  margin: 12px 0 8px;
}
.ws-author-article-date {
  margin: 0 0 12px !important;
  color: #64748b !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
}


/* Index/category article cards: no images, no underlined titles, date, hover */
.ws-article-system .ws-article-grid .ws-article-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.ws-article-system .ws-article-grid .ws-article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 59, 117, 0.22);
  box-shadow: 0 24px 62px rgba(15, 23, 42, 0.14);
}
.ws-article-system .ws-article-grid .ws-article-card h2 a,
.ws-article-system .ws-article-grid .ws-article-card a {
  text-decoration: none !important;
}
.ws-article-system .ws-article-grid .ws-article-card h2 a:hover {
  text-decoration: none !important;
  color: #0b3b75 !important;
}
.ws-index-article-card-no-image .ws-article-card-body {
  padding: 26px !important;
}
.ws-article-date {
  margin: 0 0 12px !important;
  color: #64748b !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
}
.ws-author-system .ws-author-profile-hero {
  padding-top: 36px !important;
  padding-bottom: 36px !important;
}
.ws-author-system .ws-author-profile-hero p,
.ws-author-system .ws-author-profile-hero li,
.ws-article-index-hero p,
.ws-article-index-hero li {
  padding-top: 0 !important;
}
/* Force main article content featured images to 700px x 700px across all sections. */
.ws-article-content .ws-feature-image img,
.ws-article-content .ws-image-section img,
.ws-article-content img[fetchpriority="high"],
#wsgdp-2026-page-root .ws-feature-image img,
#wsgdp-2026-page-root .ws-image-section img,
#wsgdp-2026-page-root img[fetchpriority="high"] {
  width: 700px !important;
  height: 700px !important;
  max-width: 100% !important;
  object-fit: cover !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
@media (max-width: 760px) {
  .ws-article-content .ws-feature-image img,
  .ws-article-content .ws-image-section img,
  .ws-article-content img[fetchpriority="high"],
  #wsgdp-2026-page-root .ws-feature-image img,
  #wsgdp-2026-page-root .ws-image-section img,
  #wsgdp-2026-page-root img[fetchpriority="high"] {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }
}


/* Index hero card styling for article hub and category pages. */
.ws-article-system > .ws-article-index-hero {
  max-width: 1380px;
  margin: 24px auto 32px;
  padding: 42px;
  border: 1px solid rgba(11, 59, 117, 0.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(11, 99, 206, 0.18), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #e8f3ff 52%, #f8fafc 100%);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
  position: relative;
  overflow: hidden;
}
.ws-article-system > .ws-article-index-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: rgba(11, 59, 117, 0.10);
}
.ws-article-system > .ws-article-index-hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: #0f172a;
}
.ws-article-system > .ws-article-index-hero p {
  max-width: 820px;
  color: #475569;
  font-size: 18px;
  line-height: 1.72;
  margin: 0 0 12px;
}
.ws-article-system > .ws-article-index-hero a {
  color: #0b3b75 !important;
  text-decoration: none !important;
  font-weight: 800 !important;
}
/* Apply tax-page visual styling to centralized GST, stock-market, mutual-funds and new content pages. */
.ws-article-main .ws-article-content,
.ws-article-main .ws-article-content .ws-article-page,
.ws-article-main .ws-article-content article,
.ws-article-main .ws-article-content .ws-article-body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, Helvetica, sans-serif !important;
}
.ws-article-main .ws-article-content h1,
.ws-article-main .ws-article-content h2,
.ws-article-main .ws-article-content h3 {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, Helvetica, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}
#wsgdp-2026-page-root p,
#wsgdp-2026-page-root li {
  color: #ffffff !important;
}
/* 700px x 700px main content image sizing across all article sections. */
.ws-article-content > img,
.ws-article-content article > img,
.ws-article-content .ws-article-body > img,
.ws-article-content .ws-feature-image img,
.ws-article-content .ws-image-section img,
.ws-article-content img[fetchpriority="high"],
#wsgdp-2026-page-root .ws-feature-image img,
#wsgdp-2026-page-root .ws-image-section img,
#wsgdp-2026-page-root img[fetchpriority="high"] {
  width: 700px !important;
  height: 700px !important;
  max-width: 100% !important;
  object-fit: cover !important;
  display: block !important;
  margin: 24px auto !important;
}
/* Standardized bottom author card for non-tax content. */
.ws-central-author-card,
.ws-author-box,
.ws-article-content .ws-author-box {
  display: grid !important;
  grid-template-columns: 170px 1fr !important;
  gap: 28px !important;
  align-items: center !important;
  margin: 42px 0 8px !important;
  padding: 28px !important;
  border-radius: 28px !important;
  border: 1px solid rgba(11, 59, 117, 0.14) !important;
  background: linear-gradient(135deg, #ffffff 0%, #e8f3ff 100%) !important;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.10) !important;
  color: #0f172a !important;
}
.ws-central-author-card .wsgdp-author-photo,
.ws-article-content .ws-author-box .ws-author-photo {
  width: 150px !important;
  height: 150px !important;
  border-radius: 28px !important;
  object-fit: cover !important;
  margin: 0 !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16) !important;
}
.ws-central-author-card p,
.ws-central-author-card li,
.ws-article-content .ws-author-box p,
.ws-article-content .ws-author-box li {
  color: #334155 !important;
  padding-top: 0 !important;
}
.ws-central-author-card h2,
.ws-central-author-card a,
.ws-article-content .ws-author-box h2,
.ws-article-content .ws-author-box a {
  color: #0b3b75 !important;
  text-decoration: none !important;
}
@media (max-width: 760px) {
  .ws-central-author-card,
  .ws-author-box,
  .ws-article-content .ws-author-box {
    grid-template-columns: 1fr !important;
  }
  .ws-article-content > img,
  .ws-article-content article > img,
  .ws-article-content .ws-article-body > img,
  .ws-article-content .ws-feature-image img,
  .ws-article-content .ws-image-section img,
  .ws-article-content img[fetchpriority="high"],
  #wsgdp-2026-page-root .ws-feature-image img,
  #wsgdp-2026-page-root .ws-image-section img,
  #wsgdp-2026-page-root img[fetchpriority="high"] {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }
}


/* Hide legacy in-content author boxes when centralized post.php appends the standard author card. */
.ws-article-content #author-box,
.ws-article-content .ws-card#author-box,
.ws-article-content section.ws-author-box,
.ws-article-content .ws-author-box,
.ws-article-content .ws-author-card:not(.ws-central-author-card):not(.ws-author-profile-hero):not(.ws-author-card-list .ws-author-card) {
  display: none !important;
}


.ws-article-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin: 6px 0 14px !important;
  padding: 8px 14px;
  border-radius: 999px;
  background: #e8f3ff;
  color: #0b3b75 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
}
.ws-article-count-badge strong {
  color: #0b3b75 !important;
  font-weight: 900 !important;
}
