/* Light brand touches on single articles (theme keeps its own layout) */
.single-post .entry-content, .single-post article { --www-gold: #d19a32; --www-peacock: #0f6e68; }
.single-post .entry-content h2 { color: #10272e; margin-top: 1.6em; }
.single-post .entry-content strong { color: #0f6e68; }
.single-post .entry-content hr { border: 0; border-top: 1px solid #d5dfdb; margin: 2em 0 1em; }
.single-post .entry-content em { color: #5a6b70; font-size: .92em; }
.single-post .entry-content a { color: #0f6e68; text-underline-offset: 3px; }

/* Author box */
.www-author { display: flex; gap: 18px; align-items: center; margin: 40px 0 8px; padding: 20px; border: 1px solid #e3eae7; border-radius: 14px; background: #f6f9f8; }
.www-author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 2px solid #d19a32; flex: none; margin: 0; }
.www-author p { margin: 0 0 4px; }
.www-author__name { font-weight: 700; font-size: 17px; color: #10272e; }
.www-author__role { font-size: 14px; color: #5a6b70; }
.www-author a { font-weight: 600; color: #0f6e68; }

/* Ads inside articles */
.www-ad { margin: 28px auto; text-align: center; min-height: 90px; clear: both; }
.www-ad__label { display: block; font-size: 11px; color: #5a6b70; margin-bottom: 6px; letter-spacing: .04em; }
.www-ad--preview div { border: 1.5px dashed #d5dfdb; border-radius: 12px; padding: 24px 16px; font-size: 13px; color: #5a6b70; }

.www-readtime { font-size: 14px; color: #5a6b70; font-weight: 600; margin-bottom: 18px; }
.www-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 32px 0 8px; padding-top: 20px; border-top: 1px solid #e3eae7; }
.www-share span { font-weight: 700; margin-right: 4px; }
.www-share a { padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none !important; color: #fff !important; }
.www-share .is-wa { background: #25d366; } .www-share .is-li { background: #0a66c2; } .www-share .is-fb { background: #1877f2; } .www-share .is-tips { background: #10272e; }

/* v3.5: tables, notes and FAQs inside articles */
.single-post .entry-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95em; }
.single-post .entry-content th, .single-post .entry-content td { border-bottom: 1px solid #e3eae7; padding: 9px 10px; text-align: left; vertical-align: top; }
.single-post .entry-content thead th { background: #f6f9f8; color: #10272e; font-weight: 700; border-bottom: 2px solid #d19a32; }
.single-post .entry-content tbody tr:nth-child(even) td { background: #fbfcfc; }
.single-post .entry-content h3 { color: #10272e; margin-top: 1.4em; font-size: 1.1em; }
.single-post .entry-content .www-small { font-size: .85em; color: #5a6b70; }
@media (max-width: 640px) {
	.single-post .entry-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: .88em; }
	.single-post .entry-content th, .single-post .entry-content td { padding: 7px 8px; min-width: 88px; }
}

/* v3.6: charts, contents box, related articles */
.single-post .entry-content .www-fig { margin: 1.8em auto; max-width: 680px; }
.single-post .entry-content .www-fig img { width: 100%; height: auto; border-radius: 12px; border: 1px solid #e3eae7; display: block; }
.single-post .entry-content .www-fig figcaption { font-size: .86em; color: #5a6b70; margin-top: .6em; line-height: 1.5; }
.www-toc { border: 1px solid #e3eae7; background: #f6f9f8; border-radius: 14px; padding: 16px 20px; margin: 0 0 1.8em; }
.www-toc__h { font-weight: 700; color: #10272e; margin: 0 0 6px !important; font-size: .95em; letter-spacing: .02em; }
.www-toc ol { margin: 0; padding-left: 1.3em; display: grid; gap: 4px; }
.www-toc a { color: #0f6e68; text-decoration: none; }
.www-toc a:hover { text-decoration: underline; }
.single-post .entry-content h2[id] { scroll-margin-top: 90px; }
.www-related { margin: 2.4em 0 1em; padding-top: 1.4em; border-top: 1px solid #e3eae7; }
.www-related__h { font-weight: 700; font-size: 1.15em; color: #10272e; margin: 0 0 .8em !important; }
.www-related ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.www-related li { margin: 0; }
.www-related a { display: grid; gap: 8px; text-decoration: none !important; color: #10272e !important; font-weight: 600; line-height: 1.35; }
.www-related img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin: 0; }
.www-related__all { margin: 1em 0 0 !important; font-size: .95em; }
@media (max-width: 640px) { .www-related ul { grid-template-columns: 1fr; } .www-related a { grid-template-columns: 120px 1fr; align-items: center; } }

/* ===== v3.7: articles, pages, article lists, search and 404 in the WishWiseWealth layout ===== */
.www-wrapped .www-main { display: block; min-height: 50vh; }
.www-wrap.www-article__col { width: min(760px, 100% - 40px); }
.www-article__head { background: var(--www-mist); border-bottom: 1px solid var(--www-line); padding: 34px 0 30px; }
.www-crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; color: var(--www-muted); margin-bottom: 14px; }
.www-crumbs a { color: var(--www-peacock); text-decoration: none; font-weight: 600; }
.www-crumbs a:hover { text-decoration: underline; }
.www .www-article__title { font-size: clamp(32px, 4.6vw, 48px); line-height: 1.12; margin: 0 0 14px; color: var(--www-ink); }
.www .www-article__dek { font-size: 19px; line-height: 1.55; color: var(--www-muted); margin: 0 0 18px; }
.www-article__byline { display: flex; gap: 12px; align-items: center; }
.www .www-article__byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 2px solid var(--www-gold); flex: none; }
.www .www-article__byline p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--www-text); }
.www-article__byline a { font-weight: 700; color: var(--www-ink); }
.www-article__byline span { color: var(--www-muted); font-size: 14px; }
.www-article__cover { margin: 28px auto 0; }
.www .www-article__cover img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--www-line); }
.www-article .www-entry { padding: 28px 0 56px; }
.www-pagebody .www-entry { padding: 40px 0 64px; }

/* Readable text for articles and ordinary pages */
.www .www-entry { font-size: 18px; line-height: 1.72; color: var(--www-text); }
.www .www-entry > p, .www .www-entry li { font-size: 18px; line-height: 1.72; }
.www .www-entry h2 { font-size: clamp(25px, 2.8vw, 31px); line-height: 1.22; color: var(--www-ink); margin: 1.7em 0 .55em; scroll-margin-top: 90px; }
.www .www-entry h3 { font-size: 21px; line-height: 1.3; color: var(--www-ink); margin: 1.4em 0 .45em; }
.www .www-entry ul, .www .www-entry ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.www .www-entry li { margin: 0 0 .45em; }
.www .www-entry a { color: var(--www-peacock); text-decoration: underline; text-underline-offset: 3px; }
.www .www-entry strong { color: var(--www-ink); }
.www .www-entry hr { border: 0; border-top: 1px solid var(--www-line); margin: 2em 0 1em; }
.www .www-entry em { color: var(--www-muted); }
.www .www-entry blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--www-gold); color: var(--www-ink); font-family: var(--www-serif); font-size: 21px; }
.www .www-entry table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 16px; line-height: 1.5; }
.www .www-entry th, .www .www-entry td { border-bottom: 1px solid #e3eae7; padding: 9px 10px; text-align: left; vertical-align: top; }
.www .www-entry thead th { background: #f6f9f8; color: var(--www-ink); font-weight: 700; border-bottom: 2px solid var(--www-gold); }
.www .www-entry tbody tr:nth-child(even) td { background: #fbfcfc; }
.www .www-entry .www-small { font-size: 15px; color: var(--www-muted); }
.www .www-entry img { max-width: 100%; height: auto; }
.www .www-entry .www-fig { margin: 1.8em auto; max-width: 680px; }
.www .www-entry .www-fig img { width: 100%; border-radius: 12px; border: 1px solid #e3eae7; }
.www .www-entry .www-fig figcaption { font-size: 15px; color: var(--www-muted); margin-top: .6em; line-height: 1.5; }
.www .www-entry .www-toc p, .www .www-entry .www-toc li { font-size: 16px; }
.www .www-entry .www-author p { font-size: 15px; line-height: 1.5; }
.www .www-entry .www-author .www-author__name { font-size: 17px; }
.www .www-entry .www-share a { text-decoration: none; }
.www .www-entry .www-related a { text-decoration: none; }
.www .www-entry .www-related p, .www .www-entry .www-related li { font-size: 16px; }
.www .www-entry .www-taxnote { background: #fff8ea; border: 1px solid #f0dfb8; border-radius: 12px; padding: 12px 16px; font-size: 15px; line-height: 1.55; color: var(--www-text); }
@media (max-width: 640px) {
	.www .www-entry table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: 14px; }
	.www .www-entry th, .www .www-entry td { padding: 7px 8px; min-width: 88px; }
	.www .www-entry, .www .www-entry > p, .www .www-entry li { font-size: 17px; }
	.www-article__head { padding: 24px 0 22px; }
	.www .www-article__dek { font-size: 17px; }
}

/* Article lists */
.www-list { padding: 40px 0 72px; }
.www .www-list__h { font-size: clamp(26px, 3vw, 34px); margin-bottom: 18px; }
.www-pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.www-pcard { background: #fff; border: 1px solid var(--www-line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.www-pcard:hover { box-shadow: 0 10px 28px rgba(16, 39, 46, .1); transform: translateY(-2px); }
.www-pcard__img { display: block; aspect-ratio: 16 / 9; background: var(--www-ink); }
.www .www-pcard__img img { width: 100%; height: 100%; object-fit: cover; }
.www-pcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.www-pcard__cat { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--www-peacock); text-decoration: none; }
.www .www-pcard__title { font-size: 22px; line-height: 1.25; margin: 0; color: var(--www-ink); }
.www .www-pcard__title a { text-decoration: none; }
.www .www-pcard__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.www .www-pcard__ex { font-size: 15px; line-height: 1.55; color: var(--www-muted); margin: 0; flex: 1; }
.www .www-pcard__meta { font-size: 13px; color: var(--www-muted); margin: 0; }
.www-topics { margin-top: 20px; }
.www-chiplink.is-on { background: var(--www-ink); color: #fff; border-color: var(--www-ink); }
.www-chiplink span { font-size: 12px; opacity: .7; margin-left: 2px; }
.www-pager { margin-top: 36px; }
.www-pager ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; justify-content: center; }
.www-pager a, .www-pager span { display: inline-block; padding: 8px 14px; border: 1px solid var(--www-line); border-radius: 999px; text-decoration: none; font-size: 15px; background: #fff; }
.www-pager .current { background: var(--www-ink); color: #fff; border-color: var(--www-ink); }
.www-search { display: flex; gap: 10px; max-width: 620px; margin-top: 18px; }
.www-search input { flex: 1; min-width: 0; padding: 12px 16px; border: 1.5px solid var(--www-line); border-radius: 999px; font-size: 16px; background: #fff; }
.www-search input:focus { border-color: var(--www-peacock); outline: none; }
.www .www-404links { margin-top: 18px; }
.www-empty { font-size: 18px; }
@media (max-width: 960px) { .www-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .www-pgrid { grid-template-columns: 1fr; gap: 18px; } .www-search { flex-direction: column; } }

/* v3.7.1: readable share buttons */
.www-share .is-wa { background: #25d366; color: #10272e !important; }
.www-share .is-fb { background: #1459c7; }
