/* AM Blog and News - Frontend Styles */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
	--wbm-navy: #0a2a63;
	--wbm-navy-dark: #071c45;
	--wbm-gold: #f0952b;
	--wbm-gold-light: #f6ab52;
	--wbm-brown: #402002;
}

/* Premium typography pass - titles/badges thoda aur polished/branded lagein */
.wbm-card-title, .wbm-single-title, .wbm-archive-header h1, .wbm-featured-body h2, .wbm-featured-small-item h4 {
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	letter-spacing: -.01em;
}
.wbm-badge, .wbm-badge-news {
	background: linear-gradient(135deg, var(--wbm-gold) 0%, var(--wbm-gold-light) 100%);
	box-shadow: 0 3px 10px rgba(240,149,43,.35);
}

.wbm-grid {
	display: grid;
	grid-template-columns: repeat(var(--wbm-columns, 3), 1fr);
	gap: 28px;
	margin: 30px 0;
}
@media (max-width: 900px) { .wbm-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .wbm-grid { grid-template-columns: 1fr; } }

.wbm-card {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 14px rgba(15, 30, 60, 0.08);
	transition: transform .25s ease, box-shadow .25s ease;
	display: flex;
	flex-direction: column;
}
.wbm-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 28px rgba(15, 30, 60, 0.15);
}

.wbm-card-thumb { position: relative; display: block; overflow: hidden; aspect-ratio: 16/10; }
.wbm-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.wbm-card:hover .wbm-card-thumb img { transform: scale(1.06); }
.wbm-card-thumb-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg,#0a2a63,#123a86); }

.wbm-badge {
	position: absolute;
	top: 14px; left: 14px;
	background: #f0952b;
	color: #0a2a63;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 20px;
}

.wbm-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.wbm-meta { font-size: 13px; color: #7a8496; margin-bottom: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.wbm-card-title { margin: 0 0 10px; font-size: 20px; line-height: 1.35; }
.wbm-card-title a { color: #0a2a63; text-decoration: none; }
.wbm-card-title a:hover { color: #f0952b; }
.wbm-card-excerpt { color: #555; font-size: 14.5px; line-height: 1.6; flex: 1; margin: 0 0 16px; }
.wbm-readmore { color: #0a2a63; font-weight: 600; font-size: 14px; text-decoration: none; border-bottom: 2px solid #f0952b; align-self: flex-start; padding-bottom: 2px; }
.wbm-readmore:hover { color: #f0952b; }

.wbm-empty { text-align: center; padding: 60px 0; color: #888; }

/* Archive page */
.wbm-archive-wrapper { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }
.wbm-archive-header { text-align: center; margin-bottom: 24px; }
.wbm-archive-header h1 { font-size: 38px; color: #0a2a63; margin-bottom: 8px; }
.wbm-archive-header p { color: #7a8496; font-size: 16px; }
.wbm-pagination { text-align: center; margin-top: 30px; }

.wbm-cat-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	border-bottom: 1px solid #eee;
	padding-bottom: 16px;
	margin-bottom: 34px;
}
.wbm-cat-tabs a {
	padding: 8px 18px;
	border-radius: 24px;
	font-size: 14px;
	font-weight: 600;
	color: #0a2a63;
	text-decoration: none;
	background: #f4f5f7;
	transition: all .2s ease;
}
.wbm-cat-tabs a:hover { background: #e9ebef; }
.wbm-cat-tabs a.active { background: #0a2a63; color: #fff; }

/* Single post page */
.wbm-single-wrapper { max-width: 1200px; margin: 0 auto; padding: 30px 20px 60px; }

.wbm-breadcrumb { font-size: 13px; color: #7a8496; margin-bottom: 18px; }
.wbm-breadcrumb a { color: #7a8496; text-decoration: none; }
.wbm-breadcrumb a:hover { color: #0a2a63; }

.wbm-single-title { font-size: 34px; color: #0a2a63; line-height: 1.3; margin: 0 0 12px; max-width: 900px; }
.wbm-single-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13.5px; color: #7a8496; padding-bottom: 18px; border-bottom: 1px solid #eee; margin-bottom: 26px; }

.wbm-single-layout { display: flex; gap: 40px; align-items: flex-start; }
.wbm-single-main { flex: 1; min-width: 0; }
.wbm-single-body { display: flex; gap: 20px; }

.wbm-share-icons { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.wbm-share-icons a {
	width: 38px; height: 38px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: #f4f5f7;
	color: #0a2a63;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
}
.wbm-share-icons a:hover { background: #0a2a63; color: #fff; }

.wbm-single-content-col { flex: 1; min-width: 0; }
.wbm-single-featured-img { border-radius: 12px; overflow: hidden; margin-bottom: 26px; }
.wbm-single-featured-img img { width: 100%; height: auto; display: block; }

.wbm-single-content { font-size: 17px; line-height: 1.85; color: #2c2c2c; }
.wbm-single-content h2, .wbm-single-content h3 { color: #0a2a63; margin-top: 34px; }
.wbm-single-content img { border-radius: 10px; max-width: 100%; height: auto; }
.wbm-single-content blockquote { border-left: 4px solid #f0952b; margin: 24px 0; padding: 10px 20px; background: #f7f5ef; font-style: italic; }

.wbm-single-nav { display: flex; justify-content: space-between; border-top: 1px solid #eee; border-bottom: 1px solid #eee; padding: 20px 0; margin: 30px 0 0; font-weight: 600; }
.wbm-single-nav a { color: #0a2a63; text-decoration: none; }
.wbm-single-nav a:hover { color: #f0952b; }

.wbm-cta-btn {
	display: inline-block;
	background: #f0952b;
	color: #0a2a63;
	font-weight: 700;
	padding: 10px 24px;
	border-radius: 6px;
	text-decoration: none;
	font-size: 14px;
}
.wbm-cta-btn:hover { background: #f6ab52; }

/* Sidebar (shared - archive + single) */
.wbm-sidebar { width: 300px; flex-shrink: 0; display: flex; flex-direction: column; gap: 20px; }
.wbm-sidebar-box { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 22px; }
.wbm-sidebar-box h3 { margin: 0 0 14px; font-size: 16px; color: #0a2a63; }
.wbm-sidebar-list { list-style: none; margin: 0; padding: 0; }
.wbm-sidebar-list li { padding: 10px 0; border-bottom: 1px solid #f2f2f2; }
.wbm-sidebar-list li:last-child { border-bottom: none; }
.wbm-sidebar-list a { color: #2c2c2c; text-decoration: none; font-size: 14px; line-height: 1.5; }
.wbm-sidebar-list a:hover { color: #f0952b; }

.wbm-sidebar-newsletter { background: #0a2a63; color: #fff; }
.wbm-sidebar-newsletter h3 { color: #fff; }
.wbm-sidebar-newsletter p { font-size: 13px; color: #cbd3e0; margin: 0 0 16px; line-height: 1.6; }
.wbm-sidebar-newsletter form { display: flex; flex-direction: column; gap: 10px; }
.wbm-sidebar-newsletter input[type="email"] { padding: 10px 12px; border-radius: 6px; border: none; font-size: 13.5px; }
.wbm-sidebar-newsletter button { background: #f0952b; color: #0a2a63; border: none; padding: 10px; border-radius: 6px; font-weight: 700; cursor: pointer; }
.wbm-sidebar-newsletter button:hover { background: #f6ab52; }
.wbm-sub-msg { font-size: 12.5px; color: #9be6ab; margin: 8px 0 0; }
.wbm-sub-msg.wbm-sub-error { color: #f2a1a1; }

.wbm-sidebar-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.wbm-sidebar-cats a { background: #f4f5f7; color: #0a2a63; font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 18px; text-decoration: none; }
.wbm-sidebar-cats a:hover { background: #0a2a63; color: #fff; }

.wbm-sidebar-social { display: flex; gap: 10px; }
.wbm-sidebar-social a { width: 36px; height: 36px; border-radius: 50%; background: #f4f5f7; color: #0a2a63; display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; font-size: 13px; }
.wbm-sidebar-social a:hover { background: #0a2a63; color: #fff; }

@media (max-width: 900px) {
	.wbm-single-layout, .wbm-archive-layout { flex-direction: column; }
	.wbm-sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; }
	.wbm-sidebar > div { flex: 1; min-width: 260px; }
	.wbm-single-body { flex-direction: column; }
	.wbm-share-icons { flex-direction: row; }
}

.wbm-related { margin-top: 50px; }
.wbm-related h2 { font-size: 26px; color: #0a2a63; margin-bottom: 10px; }

/* Archive layout with sidebar */
.wbm-archive-layout { display: flex; gap: 40px; align-items: flex-start; margin-top: 20px; }
.wbm-archive-main { flex: 1; min-width: 0; }

/* Search & filter bar */
.wbm-search-filter-bar { display: flex; gap: 10px; max-width: 640px; margin: 0 auto 30px; flex-wrap: wrap; }
.wbm-search-filter-bar input[type="text"] { flex: 1; min-width: 200px; padding: 11px 16px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; }
.wbm-search-filter-bar select { padding: 11px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; }
.wbm-search-filter-bar button { background: #0a2a63; color: #fff; border: none; padding: 11px 22px; border-radius: 8px; font-weight: 600; cursor: pointer; }
.wbm-search-filter-bar button:hover { background: #123a86; }

/* Card footer (author) */
.wbm-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.wbm-card-author { font-size: 12.5px; color: #999; }

/* Featured section */
.wbm-featured-section { display: flex; gap: 30px; margin-bottom: 40px; align-items: stretch; }
.wbm-featured-main { flex: 1.4; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 20px rgba(15,30,60,.08); }
.wbm-featured-thumb { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; }
.wbm-featured-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wbm-featured-body { padding: 24px; }
.wbm-featured-body h2 { margin: 0 0 12px; font-size: 24px; line-height: 1.3; }
.wbm-featured-body h2 a { color: #0a2a63; text-decoration: none; }
.wbm-featured-body h2 a:hover { color: #f0952b; }
.wbm-featured-body p { color: #555; font-size: 15px; line-height: 1.6; }

.wbm-featured-small-list { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.wbm-featured-small-item { display: flex; gap: 12px; background: #fff; border-radius: 10px; padding: 10px; text-decoration: none; box-shadow: 0 1px 8px rgba(15,30,60,.06); align-items: center; }
.wbm-featured-small-item:hover { box-shadow: 0 4px 16px rgba(15,30,60,.14); }
.wbm-featured-small-thumb { width: 70px; height: 70px; flex-shrink: 0; border-radius: 8px; overflow: hidden; background: #f0f0f0; }
.wbm-featured-small-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wbm-featured-small-cat { font-size: 10.5px; font-weight: 700; text-transform: uppercase; color: #f0952b; }
.wbm-featured-small-item h4 { margin: 3px 0; font-size: 13.5px; line-height: 1.35; color: #0a2a63; }
.wbm-featured-small-date { font-size: 11px; color: #999; }

@media (max-width: 900px) { .wbm-featured-section { flex-direction: column; } }

/* Content callout blocks (in article body) */
.wbm-callout { border-radius: 10px; padding: 16px 20px; margin: 22px 0; font-size: 15.5px; line-height: 1.7; }
.wbm-callout-info { background: #eef4fb; border-left: 4px solid #2b6cb0; }
.wbm-callout-warning { background: #fdf3e0; border-left: 4px solid #b3821f; }
.wbm-callout-cta { background: #0a2a63; color: #fff; text-align: center; }
.wbm-callout-cta .wbm-cta-btn { display: inline-block; margin-top: 10px; }
.wbm-proscons { display: flex; gap: 20px; margin: 22px 0; flex-wrap: wrap; }
.wbm-proscons > div { flex: 1; min-width: 220px; border-radius: 10px; padding: 16px 20px; }
.wbm-pros { background: #eaf7ee; }
.wbm-cons { background: #fdeceb; }
.wbm-faq { background: #f7f5ef; border-radius: 10px; padding: 16px 20px; margin: 16px 0; }
.wbm-single-content table { width: 100%; border-collapse: collapse; margin: 22px 0; }
.wbm-single-content table th, .wbm-single-content table td { border: 1px solid #eee; padding: 10px 14px; text-align: left; font-size: 14.5px; }
.wbm-single-content table th { background: #f4f5f7; color: #0a2a63; }

/* Engagement bar (like / bookmark) */
.wbm-engagement-bar { display: flex; gap: 14px; margin: 30px 0; }
.wbm-like-btn, .wbm-bookmark-btn, .wbm-copy-link-btn {
	background: #f4f5f7; border: 1px solid #e0e2e6; color: #0a2a63;
	padding: 9px 18px; border-radius: 24px; font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.wbm-like-btn:hover, .wbm-bookmark-btn:hover { background: #0a2a63; color: #fff; }
.wbm-like-btn.wbm-liked { background: #0a2a63; color: #fff; }
.wbm-bookmark-btn.wbm-bookmarked { background: #f0952b; color: #0a2a63; border-color: #f0952b; }
.wbm-copy-link-btn { width: 38px; height: 38px; border-radius: 50%; padding: 0; }
.wbm-copy-link-btn:hover { background: #0a2a63; color: #fff; }

/* Author box */
.wbm-author-box { display: flex; align-items: center; gap: 16px; background: #f9f9fb; border-radius: 12px; padding: 18px 22px; margin: 30px 0; }
.wbm-author-box img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.wbm-author-box h4 { margin: 0; font-size: 15.5px; color: #0a2a63; }
.wbm-author-box p { margin: 2px 0 0; font-size: 13px; color: #888; }

/* WP native comments styling */
.wbm-comments-section { margin-top: 40px; }
.wbm-comments-section .comment-form input, .wbm-comments-section .comment-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 6px; margin-bottom: 12px; }
.wbm-comments-section .comment-form button, .wbm-comments-section .comment-form input[type="submit"] { background: #0a2a63; color: #fff; border: none; padding: 10px 24px; border-radius: 6px; font-weight: 600; cursor: pointer; }

/* Load More (AJAX pagination for Blog + News grids) */
.wbm-load-more-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 36px 0 10px; }
.wbm-load-more-btn {
	background: var(--wbm-navy);
	color: #fff;
	border: none;
	padding: 13px 40px;
	border-radius: 30px;
	font-size: 14.5px;
	font-weight: 700;
	letter-spacing: .02em;
	cursor: pointer;
	transition: background .2s ease, transform .15s ease;
}
.wbm-load-more-btn:hover:not(:disabled) { background: var(--wbm-gold); color: var(--wbm-navy); transform: translateY(-2px); }
.wbm-load-more-btn:disabled { opacity: .7; cursor: default; }
.wbm-load-more-btn.wbm-loading { background: var(--wbm-navy-dark); }
.wbm-load-more-note { font-size: 13px; color: #7a8496; }

/* News badge - thoda alag color taaki Blog aur News cards me visually farq pata chale */
.wbm-badge-news { background: var(--wbm-gold); color: var(--wbm-navy); }
.wbm-card-news .wbm-card-title a:hover { color: var(--wbm-gold); }


/* =========================================================================
   PREMIUM FRONTEND MANAGER — Add/Edit/List dashboard for Blog & News
   (shortcodes: [wealth_blog_manager] / [wealth_news_manager] /
   [wbm_frontend_manager type="wealth_blog|wealth_news"])
   ========================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

.wbm-fm-wrap { max-width: 980px; margin: 0 auto; padding: 10px 0 50px; font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }

.wbm-fm-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.wbm-fm-header h2 { margin: 0 0 4px; font-size: 26px; color: var(--wbm-navy); font-weight: 800; letter-spacing: -.01em; }
.wbm-fm-sub { margin: 0; color: #7a8496; font-size: 14px; }

.wbm-btn-premium {
	display: inline-flex; align-items: center; gap: 8px;
	background: linear-gradient(135deg, var(--wbm-navy) 0%, var(--wbm-navy-dark) 100%);
	color: #fff; font-weight: 700; font-size: 14.5px;
	padding: 12px 26px; border: none; border-radius: 30px;
	text-decoration: none; cursor: pointer;
	box-shadow: 0 8px 20px rgba(10, 42, 99, .25);
	transition: transform .2s ease, box-shadow .2s ease, background .25s ease;
}
.wbm-btn-premium:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(10, 42, 99, .32); background: linear-gradient(135deg, var(--wbm-gold) 0%, var(--wbm-gold-light) 100%); color: var(--wbm-navy); }
.wbm-btn-premium.wbm-btn-large { padding: 14px 34px; font-size: 15.5px; }

.wbm-btn-ghost {
	display: inline-flex; align-items: center; gap: 6px;
	background: #fff; color: var(--wbm-navy); font-weight: 600; font-size: 14px;
	padding: 10px 20px; border: 1.5px solid #e3e6ed; border-radius: 26px;
	text-decoration: none; cursor: pointer; transition: all .2s ease;
}
.wbm-btn-ghost:hover { border-color: var(--wbm-navy); background: #f4f6fb; }

/* Notices */
.wbm-fm-notice { padding: 13px 20px; border-radius: 10px; font-size: 14px; font-weight: 600; margin-bottom: 22px; }
.wbm-fm-notice-ok { background: #eaf7ee; color: #1c7a3c; border: 1px solid #c9ecd3; }
.wbm-fm-notice-err { background: #fdeceb; color: #b3251f; border: 1px solid #f6c9c6; }

/* Locked / login prompt */
.wbm-fm-locked { text-align: center; max-width: 460px; margin: 30px auto; padding: 46px 30px; background: #fff; border-radius: 18px; box-shadow: 0 10px 40px rgba(15,30,60,.1); }
.wbm-fm-locked-icon { font-size: 38px; margin-bottom: 14px; }
.wbm-fm-locked h3 { margin: 0 0 10px; color: var(--wbm-navy); font-size: 21px; }
.wbm-fm-locked p { color: #7a8496; font-size: 14.5px; line-height: 1.6; margin-bottom: 22px; }

/* Dashboard table */
.wbm-fm-table-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 28px rgba(15,30,60,.08); border: 1px solid #f0f1f4; }
.wbm-fm-table { width: 100%; border-collapse: collapse; }
.wbm-fm-table thead th { background: #f7f8fb; color: #5a6478; text-transform: uppercase; font-size: 11.5px; letter-spacing: .05em; font-weight: 700; text-align: left; padding: 14px 18px; border-bottom: 1px solid #eef0f4; }
.wbm-fm-table tbody td { padding: 14px 18px; border-bottom: 1px solid #f4f5f8; font-size: 14px; color: #2c2c2c; vertical-align: middle; }
.wbm-fm-table tbody tr:last-child td { border-bottom: none; }
.wbm-fm-table tbody tr:hover { background: #fafbfd; }
.wbm-fm-table img { border-radius: 8px; object-fit: cover; width: 56px; height: 56px; }
.wbm-fm-thumb-ph { width: 56px; height: 56px; border-radius: 8px; background: linear-gradient(135deg,#0a2a63,#123a86); }
.wbm-fm-empty { text-align: center; padding: 40px 0 !important; color: #9aa2b1; }

.wbm-fm-status { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 11.5px; font-weight: 700; text-transform: capitalize; }
.wbm-fm-status-publish { background: #eaf7ee; color: #1c7a3c; }
.wbm-fm-status-draft { background: #f1f2f5; color: #5a6478; }
.wbm-fm-status-pending { background: #fdf3e0; color: #a8760f; }

.wbm-fm-actions { display: flex; gap: 14px; white-space: nowrap; }
.wbm-fm-link { color: var(--wbm-navy); font-weight: 600; font-size: 13.5px; text-decoration: none; }
.wbm-fm-link:hover { color: var(--wbm-gold); }
.wbm-fm-link-danger { color: #c0392b; }
.wbm-fm-link-danger:hover { color: #e74c3c; }

/* Add/Edit form */
.wbm-fm-form { background: #fff; border-radius: 18px; padding: 32px 34px; box-shadow: 0 6px 28px rgba(15,30,60,.08); border: 1px solid #f0f1f4; }
.wbm-fm-field { margin-bottom: 22px; }
.wbm-fm-field-row { display: flex; gap: 22px; }
.wbm-fm-field-row .wbm-fm-field { flex: 1; }
.wbm-fm-field label { display: block; font-weight: 700; font-size: 13.5px; color: var(--wbm-navy); margin-bottom: 8px; }
.wbm-fm-field label span { font-weight: 400; color: #9aa2b1; font-size: 12.5px; }
.wbm-fm-field input[type="text"],
.wbm-fm-field input[type="email"],
.wbm-fm-field textarea,
.wbm-fm-field select {
	width: 100%; padding: 12px 15px; border: 1.5px solid #e3e6ed; border-radius: 10px;
	font-size: 14.5px; font-family: inherit; color: #2c2c2c; transition: border-color .2s ease, box-shadow .2s ease;
	box-sizing: border-box; background: #fcfcfd;
}
.wbm-fm-field input:focus, .wbm-fm-field textarea:focus, .wbm-fm-field select:focus {
	outline: none; border-color: var(--wbm-gold); box-shadow: 0 0 0 4px rgba(240,149,43,.14); background: #fff;
}
.wbm-fm-field textarea { resize: vertical; }
.wbm-fm-hint { background: #fdf3e0; color: #8a611a; border-radius: 10px; padding: 12px 16px; font-size: 13.5px; margin-bottom: 20px; }

.wbm-fm-image-uploader { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.wbm-fm-image-uploader img { width: 110px; height: 78px; object-fit: cover; border-radius: 10px; box-shadow: 0 3px 12px rgba(15,30,60,.15); }

.wbm-fm-form .wp-editor-container { border-radius: 10px; overflow: hidden; border: 1.5px solid #e3e6ed; }

@media (max-width: 640px) {
	.wbm-fm-field-row { flex-direction: column; gap: 0; }
	.wbm-fm-form { padding: 22px 18px; }
	.wbm-fm-table thead { display: none; }
	.wbm-fm-table, .wbm-fm-table tbody, .wbm-fm-table tr, .wbm-fm-table td { display: block; width: 100%; }
	.wbm-fm-table tr { padding: 14px 16px; border-bottom: 8px solid #f7f8fb; }
	.wbm-fm-table td { border: none; padding: 4px 0; }
}

/* =========================================================================
   TEMPLATE DESIGNS — 3 selectable frontend looks for Blog & News
   Theme 1 "Classic"   = default look above, kept as-is (no extra rules needed)
   Theme 2 "Modern"    = bold rounded cards, stronger shadows, pill accents
   Theme 3 "Editorial" = magazine-style list, serif headlines
   Applied via .wbm-theme-1 / .wbm-theme-2 / .wbm-theme-3 wrapper class
   (archive wrapper, single wrapper, or the [wealth_blog_grid]/[wealth_news_grid]
   grid itself when a shortcode "template" attribute overrides the default).
   ========================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* -------------------- THEME 2 : MODERN -------------------- */
.wbm-theme-2 .wbm-card {
	border-radius: 20px;
	border: 1px solid #eef0f5;
	box-shadow: 0 4px 22px rgba(15,30,60,.09);
}
.wbm-theme-2 .wbm-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 22px 44px rgba(15,30,60,.18);
	border-color: transparent;
}
.wbm-theme-2 .wbm-card-thumb { aspect-ratio: 4/3; }
.wbm-theme-2 .wbm-badge {
	top: 16px; left: 16px;
	border-radius: 8px;
	background: var(--wbm-navy);
	color: #fff;
	box-shadow: 0 6px 16px rgba(10,42,99,.35);
}
.wbm-theme-2 .wbm-badge-news { background: var(--wbm-gold); color: var(--wbm-navy); box-shadow: 0 6px 16px rgba(240,149,43,.35); }
.wbm-theme-2 .wbm-card-body { padding: 24px 26px 28px; }
.wbm-theme-2 .wbm-card-title { font-size: 21px; }
.wbm-theme-2 .wbm-card-title a:hover { color: var(--wbm-navy); }
.wbm-theme-2 .wbm-readmore {
	border-bottom: none;
	background: var(--wbm-navy);
	color: #fff;
	padding: 9px 20px;
	border-radius: 24px;
	font-size: 13px;
}
.wbm-theme-2 .wbm-readmore:hover { background: var(--wbm-gold); color: var(--wbm-navy); }
.wbm-theme-2 .wbm-card-footer { align-items: center; }

.wbm-theme-2.wbm-archive-wrapper .wbm-archive-header,
.wbm-theme-2 .wbm-archive-header {
	background: linear-gradient(135deg, var(--wbm-navy) 0%, var(--wbm-navy-dark) 100%);
	color: #fff;
	border-radius: 24px;
	padding: 50px 30px;
	margin-bottom: 34px;
}
.wbm-theme-2 .wbm-archive-header h1 { color: #fff; }
.wbm-theme-2 .wbm-archive-header p { color: #cbd3e0; }
.wbm-theme-2 .wbm-cat-tabs a.active { background: var(--wbm-gold); color: var(--wbm-navy); }
.wbm-theme-2 .wbm-featured-main { border-radius: 22px; }
.wbm-theme-2 .wbm-featured-small-item { border-radius: 16px; }

.wbm-theme-2 .wbm-single-title { font-size: 40px; }
.wbm-theme-2 .wbm-single-meta {
	border: none;
	background: #f7f8fb;
	padding: 16px 22px;
	border-radius: 14px;
}
.wbm-theme-2 .wbm-single-featured-img { border-radius: 20px; }
.wbm-theme-2 .wbm-author-box { border-radius: 18px; background: linear-gradient(135deg,#f7f8fb 0%,#eef1f8 100%); }
.wbm-theme-2 .wbm-cta-btn, .wbm-theme-2 .wbm-load-more-btn { border-radius: 30px; }

/* -------------------- THEME 3 : EDITORIAL -------------------- */
.wbm-theme-3 .wbm-card-title,
.wbm-theme-3 .wbm-single-title,
.wbm-theme-3 .wbm-archive-header h1,
.wbm-theme-3 .wbm-featured-body h2 {
	font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
	letter-spacing: 0;
}

.wbm-theme-3 .wbm-grid {
	display: block !important;
}
.wbm-theme-3 .wbm-card {
	flex-direction: row;
	border-radius: 0;
	box-shadow: none;
	border-bottom: 1px solid #e8e9ee;
	margin-bottom: 26px;
	padding-bottom: 26px;
}
.wbm-theme-3 .wbm-card:hover { transform: none; box-shadow: none; }
.wbm-theme-3 .wbm-card:hover .wbm-card-title a { color: var(--wbm-gold); }
.wbm-theme-3 .wbm-card-thumb { width: 300px; flex-shrink: 0; aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; }
.wbm-theme-3 .wbm-card-thumb img { border-radius: 8px; }
.wbm-theme-3 .wbm-card-thumb-placeholder { border-radius: 8px; }
.wbm-theme-3 .wbm-badge {
	position: static;
	display: inline-block;
	background: none;
	box-shadow: none;
	color: var(--wbm-gold);
	padding: 0;
	margin-bottom: 8px;
	border-radius: 0;
	font-size: 11.5px;
}
.wbm-theme-3 .wbm-card-body { padding: 0 0 0 28px; }
.wbm-theme-3 .wbm-card-title { font-size: 24px; margin-bottom: 12px; }
.wbm-theme-3 .wbm-card-excerpt { font-size: 15.5px; }
.wbm-theme-3 .wbm-readmore { border-bottom: 1px solid var(--wbm-navy); }

@media (max-width: 700px) {
	.wbm-theme-3 .wbm-card { flex-direction: column; }
	.wbm-theme-3 .wbm-card-thumb { width: 100%; }
	.wbm-theme-3 .wbm-card-body { padding: 16px 0 0; }
}

.wbm-theme-3 .wbm-archive-header { text-align: left; border-bottom: 3px solid var(--wbm-navy); padding-bottom: 24px; }
.wbm-theme-3 .wbm-archive-header h1 { font-size: 46px; }
.wbm-theme-3 .wbm-cat-tabs { justify-content: flex-start; border-bottom: 1px solid #222; }
.wbm-theme-3 .wbm-cat-tabs a { border-radius: 0; background: none; padding: 8px 0; margin-right: 22px; }
.wbm-theme-3 .wbm-cat-tabs a.active { background: none; color: var(--wbm-gold); border-bottom: 2px solid var(--wbm-gold); }
.wbm-theme-3 .wbm-featured-body h2 { font-size: 30px; }
.wbm-theme-3 .wbm-featured-main { border-radius: 4px; box-shadow: none; border: 1px solid #eee; }
.wbm-theme-3 .wbm-featured-small-item h4 { font-family: 'Playfair Display', Georgia, serif; font-size: 14.5px; }

.wbm-theme-3 .wbm-single-title { font-size: 46px; line-height: 1.2; }
.wbm-theme-3 .wbm-single-meta { border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.wbm-theme-3 .wbm-single-content { font-family: Georgia, 'Times New Roman', serif; font-size: 18px; }
.wbm-theme-3 .wbm-single-featured-img { border-radius: 4px; }
.wbm-theme-3 .wbm-author-box { border-radius: 4px; background: #f7f5ef; }

/* =========================================================================
   THEME 4 "Premium" — navy + gold luxury finish, glass-effect cards,
   elegant serif headlines. Best-suited for wealth/investment brands.
   ========================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&display=swap');

.wbm-theme-4 { background: #f8f7f3; }
.wbm-theme-4 .wbm-card-title,
.wbm-theme-4 .wbm-single-title,
.wbm-theme-4 .wbm-archive-header h1,
.wbm-theme-4 .wbm-featured-body h2 {
	font-family: 'Playfair Display', Georgia, serif;
	letter-spacing: 0;
}

.wbm-theme-4 .wbm-grid { gap: 32px; }
.wbm-theme-4 .wbm-card {
	background: rgba(255,255,255,.7);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(10,42,99,.08);
	border-radius: 4px 4px 20px 4px;
	box-shadow: 0 10px 30px rgba(10,42,99,.1);
}
.wbm-theme-4 .wbm-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(10,42,99,.18);
	border-color: var(--wbm-gold);
}
.wbm-theme-4 .wbm-card-thumb-placeholder { background: linear-gradient(135deg,var(--wbm-navy-dark),var(--wbm-navy)); }
.wbm-theme-4 .wbm-badge {
	background: linear-gradient(135deg, var(--wbm-gold) 0%, #d9a441 100%);
	color: #1a1400;
	border-radius: 3px;
	letter-spacing: .08em;
}
.wbm-theme-4 .wbm-badge-news { background: var(--wbm-navy); color: var(--wbm-gold-light); border-radius: 3px; }
.wbm-theme-4 .wbm-card-body { padding: 26px 28px 30px; }
.wbm-theme-4 .wbm-card-title { font-size: 22px; }
.wbm-theme-4 .wbm-card-title a:hover { color: var(--wbm-gold); }
.wbm-theme-4 .wbm-readmore {
	color: var(--wbm-navy);
	font-weight: 700;
	border-bottom: 1.5px solid var(--wbm-gold);
	padding-bottom: 2px;
}
.wbm-theme-4 .wbm-card-footer { border-top: 1px solid rgba(10,42,99,.08); padding-top: 14px; margin-top: 6px; }

.wbm-theme-4 .wbm-archive-header { text-align: center; padding: 40px 0 30px; }
.wbm-theme-4 .wbm-archive-header h1 { font-size: 48px; color: var(--wbm-navy); }
.wbm-theme-4 .wbm-archive-header p { color: #8a7f66; font-style: italic; }
.wbm-theme-4 .wbm-cat-tabs a.active { background: var(--wbm-navy); color: var(--wbm-gold-light); }
.wbm-theme-4 .wbm-search-filter-bar { border: 1px solid rgba(10,42,99,.12); }

.wbm-theme-4 .wbm-featured-main {
	border-radius: 4px 4px 28px 4px;
	background: linear-gradient(135deg, var(--wbm-navy-dark) 0%, var(--wbm-navy) 100%);
	box-shadow: 0 18px 40px rgba(10,42,99,.22);
}
.wbm-theme-4 .wbm-featured-body h2 a { color: #fff; }
.wbm-theme-4 .wbm-featured-body p { color: #cbd3e0; }
.wbm-theme-4 .wbm-featured-main .wbm-meta span { color: var(--wbm-gold-light); }
.wbm-theme-4 .wbm-featured-small-item { border-radius: 4px 4px 14px 4px; border: 1px solid rgba(10,42,99,.08); }
.wbm-theme-4 .wbm-featured-small-cat { color: var(--wbm-gold); }

.wbm-theme-4 .wbm-single-title { font-size: 44px; color: var(--wbm-navy); }
.wbm-theme-4 .wbm-single-meta { color: #8a7f66; border-top: 1px solid rgba(10,42,99,.1); border-bottom: 1px solid rgba(10,42,99,.1); }
.wbm-theme-4 .wbm-single-content { font-size: 17.5px; line-height: 1.85; }
.wbm-theme-4 .wbm-single-featured-img { border-radius: 4px 4px 28px 4px; }
.wbm-theme-4 .wbm-author-box {
	border-radius: 4px 4px 18px 4px;
	background: linear-gradient(135deg,#fff 0%,#f3efe3 100%);
	border: 1px solid rgba(10,42,99,.08);
}
.wbm-theme-4 .wbm-author-box h4 { color: var(--wbm-navy); }
.wbm-theme-4 .wbm-cta-btn, .wbm-theme-4 .wbm-load-more-btn {
	background: var(--wbm-navy);
	color: var(--wbm-gold-light);
	border-radius: 3px;
}
.wbm-theme-4 .wbm-cta-btn:hover, .wbm-theme-4 .wbm-load-more-btn:hover { background: var(--wbm-gold); color: var(--wbm-navy); }
