/* ============================================================
   PrizeWish Academy — Additional Styles
   ============================================================ */

/* ── Header (fixed, white, always visible) ── */

#masthead {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 97;
	height: 80px;
	display: flex;
	align-items: stretch;
	background: #fff;
	border-bottom: 1px solid #e8ecf4;
	box-shadow: 0 2px 12px rgba(16, 27, 54, 0.07);
}

#masthead .container {
	min-height: 80px;
	align-items: center;
}

.site-content {
	padding-top: 80px;
}

header .container {
	display: flex;
	width: 100%;
	max-width: 1170px;
	margin-left: auto;
	margin-right: auto;
	justify-content: space-between;
}

.container,
.main-container {
	max-width: 1170px;
}

/* Brand / Logo */

.kt-header__brand {
	display: flex;
	align-items: center;
}

.kt-header__brand-logo {
	display: flex;
	align-items: flex-end;
	max-width: 150px;
}

.kt-header__brand-logo img {
	max-height: 34px;
	width: auto;
}

/* Always show the dark logo */
.kt-header__brand-logo-default { display: none; }
.kt-header__brand-logo-sticky  { display: inline-block; }

/* Nav button (pill style) */

.kt-header__topbar {
	display: flex;
	align-items: stretch;
	align-content: flex-end;
}

.kt-header__topbar .kt-header__topbar-icon {
	display: flex;
	align-items: center;
	align-self: center;
	justify-content: center;
	height: 40px;
	min-width: 96px;
	padding: 0 16px;
	cursor: pointer;
	border-radius: 50px;
	background: #fff;
	border: 1px solid #086dd6;
	font-size: 14px;
	font-weight: 600;
	color: #086dd6;
	box-shadow: none;
	transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.kt-header__topbar .kt-header__topbar-icon:hover {
	background: #086dd6;
	border-color: #086dd6;
	color: #fff;
	box-shadow: 0 4px 14px rgba(8, 109, 214, 0.35);
	transform: translateY(-1px);
}

/* ── Visibility utilities ── */

.hidden-xs { display: block !important; }
.hidden-lg { display: none !important; }

/* ── Gift Card Page ── */

.gift-card .single_post {
	background: transparent;
	padding: 0;
	margin: 0;
}

.gift-card #content_box {
	float: none;
	margin-top: 50px;
	width: 100%;
}

.gift-card .entry-header .entry-title {
	text-align: center;
	font-size: 30px;
	font-weight: bold;
	margin-bottom: 20px;
}

.gift-card article {
	background: #fff;
	box-shadow: 0 0 13px 0 rgba(82, 63, 105, 0.05);
	padding: 60px 0;
	margin-bottom: 0;
	border-bottom: 1px solid #e7e7e7;
}

.gift-card_signup {
	text-align: center;
	padding: 60px 0;
}

.gift-card_signup h1 {
	color: #ffffff;
	font-family: Roboto, sans-serif;
	font-size: 44px;
	font-weight: bold;
	margin-bottom: 30px;
}

.gift-card_email {
	background: #ffffff !important;
	border-radius: 6px;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	width: 80%;
	height: 40px;
	padding-left: 15px !important;
}

.gift-card_form {
	display: flex;
	width: 50%;
	margin: auto;
	background: #ffffff;
	padding: 12px;
	border-radius: 6px;
}

.gift-card_button {
	font-size: 15px !important;
	background: #5867dd !important;
	border: 0;
	color: #ffffff !important;
	border-radius: 6px;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.gift-card_button:hover {
	background: #2a38a2 !important;
}

.gift-card_image {
	float: right;
	width: 300px;
	margin: 15px 0 0 30px;
}

.gift-card_article h2,
.gift-card_article h3 {
	display: inline-block;
	font-size: 20px;
	margin-top: 10px;
	margin-bottom: 4px;
}

/* Available cards */

.kt-available__card {
	background: #ffffff;
	padding: 60px 0;
}

.kt-available__card .kt-portlet__body {
	display: flex;
	justify-content: space-between;
	margin-top: 25px;
}

.kt-available__card .kt-portlet__head-title {
	text-align: center;
	font-size: 30px;
	font-weight: bold;
}

/* Earn points */

.kt-earn__points {
	margin-top: 80px;
	margin-bottom: 60px;
}

.kt-earn__points .kt-portlet .kt-portlet__head {
	display: block;
}

.kt-earn__points .kt-portlet {
	display: flex;
	flex-grow: 1;
	flex-direction: column;
	background-color: #fff;
	border-radius: 4px;
	margin-bottom: 20px;
	box-shadow: 0 0 13px 0 rgba(82, 63, 105, 0.05);
}

/* Portlet components */

.kt-portlet .kt-portlet__head {
	display: block;
	position: relative;
	padding: 0 25px;
	border-bottom: 1px solid #ebedf2;
	min-height: 60px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}

.kt-portlet .kt-portlet__body {
	display: flex;
	flex-direction: column;
	padding: 25px 25px 0;
	border-radius: 4px;
}

/* Timeline notes */

.kt-notes .kt-notes__items .kt-notes__item {
	position: relative;
	left: 8px;
	padding: 0 0 50px 45px;
	margin: 0 5px 0 17px;
	border-left: 2px solid #ebedf2;
}

.kt-notes .kt-notes__items .kt-notes__item:last-child {
	border-left: 0;
}

.kt-notes .kt-notes__items .kt-notes__item .kt-notes__content {
	position: relative;
	background-color: #f7f8fc;
	padding: 0.5rem 1rem 1rem 1.5rem;
	border-radius: 4px;
}

.kt-notes .kt-notes__items .kt-notes__item .kt-notes__content:after {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	top: 10px;
	right: 100%;
	border-right: solid 10px #f7f8fc;
	border-bottom: solid 17px transparent;
	border-left: solid 17px transparent;
	border-top: solid 17px transparent;
}

.kt-notes .kt-notes__items .kt-notes__item .kt-notes__content .kt-notes__section {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.kt-notes .kt-notes__items .kt-notes__item .kt-notes__content .kt-notes__section .kt-notes__info .kt-notes__title {
	font-size: 1rem;
	font-weight: bold;
	color: #595d6e;
	padding-right: 0.5rem;
}

.kt-notes .kt-notes__items .kt-notes__item .kt-notes__content .kt-notes__body {
	display: block;
	color: #74788d;
	font-weight: 400;
	padding-top: 0.5rem;
	padding-right: 3rem;
}

.kt-notes .kt-notes__items .kt-notes__item .kt-notes__media {
	position: absolute;
	top: 0;
	left: -25.5px;
}

.kt-notes .kt-notes__items .kt-notes__item .kt-notes__media .kt-notes__icon {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 50px;
	background-color: #fff;
	border: 2px solid #ebedf2;
	border-radius: 50%;
}

.kt-notes__icon img {
	width: 35px;
}

/* ── Blog Single Page ── */

.single .single_post {
	padding: 50px 0 25px;
	margin-bottom: 0;
}

.single .sidebar.c-4-12 {
	background-color: #ffffff;
}

.single .kt-available__card {
	clear: both;
	border-top: 1px solid #e7e7e7;
}

body.single:not(.gift-card) {
	background-image: none;
	background-color: #f3f5fb;
}

body.single:not(.gift-card) .single_post {
	background: transparent;
	padding: 60px 0 70px;
	margin: 0;
	box-shadow: none;
}

body.single:not(.gift-card) .single_post .main-container {
	display: grid;
	grid-template-columns: minmax(0, 2.4fr) minmax(290px, 1fr);
	gap: 24px;
	align-items: start;
}

body.single:not(.gift-card) #content_box,
body.single:not(.gift-card) .sidebar.c-4-12 {
	float: none;
	width: auto;
	max-width: none;
	margin: 0;
}

body.single:not(.gift-card) .site-single > article.post {
	background: #ffffff;
	border: 1px solid #e2e7f1;
	border-radius: 12px;
	padding: 34px 38px;
	box-shadow: 0 12px 30px rgba(18, 28, 45, 0.06);
	margin-bottom: 16px;
}

/* Entry header */

body.single:not(.gift-card) .entry-header {
	padding-bottom: 20px;
	margin-bottom: 0;
}

body.single:not(.gift-card) .single .entry-header > h1,
body.single:not(.gift-card) .entry-header .entry-title {
	font-size: clamp(1.65rem, 2.4vw, 2.45rem);
	line-height: 1.24;
	letter-spacing: -0.03em;
	font-weight: 700;
	color: #1a2a4a;
	margin-bottom: 14px;
	padding-bottom: 20px;
	border-bottom: 1px solid #c9c9c9;
}

body.single:not(.gift-card) .entry-meta,
body.single:not(.gift-card) .post-info,
body.single:not(.gift-card) .single_post .post-info a {
	color: #6d7b95;
	font-size: 14px;
	font-weight: 500;
}

/* Featured image */

body.single:not(.gift-card) .entry-thumbnail {
	margin: 0 -38px;
	overflow: hidden;
}

body.single:not(.gift-card) .entry-thumbnail__img {
	display: block;
	width: 100%;
	height: 420px;
	object-fit: cover;
	object-position: center;
}

/* Entry content — typography & CSS variables */

body.single:not(.gift-card) .entry-content {
	margin-top: 38px;
	--pw-blue: #003E8D;
	--pw-neutral: #F0F4F8;
	--pw-green: #00B67A;
	--pw-white: #FFFFFF;
	--pw-text: #1A1A1A;
	--pw-muted: #555555;
}

body.single:not(.gift-card) .entry-content h2 {
	font-size: clamp(1.45rem, 2.2vw, 1.9rem);
	font-weight: 800;
	color: #0d1f40;
	line-height: 1.25;
	letter-spacing: -0.03em;
	margin: 2.6em 0 0.7em;
	padding-bottom: 0.5em;
	border-bottom: 2px solid #e2e8f4;
}

body.single:not(.gift-card) .entry-content h3 {
	font-size: clamp(1.1rem, 1.5vw, 1.3rem);
	font-weight: 700;
	color: #1c3460;
	line-height: 1.35;
	letter-spacing: -0.015em;
	margin: 1.8em 0 0.4em;
	padding-left: 12px;
	border-left: 3px solid #086dd6;
}

body.single:not(.gift-card) .entry-content h4 {
	font-size: clamp(1rem, 1.2vw, 1.1rem);
	font-weight: 700;
	color: #2a3f6e;
	line-height: 1.4;
	margin: 1.4em 0 0.35em;
}

body.single:not(.gift-card) .entry-content p {
	color: #3d4f6e;
	font-size: 1.03rem;
	line-height: 1.82;
	margin-bottom: 1.15em;
}

body.single:not(.gift-card) .entry-content ul,
body.single:not(.gift-card) .entry-content ol {
	padding-left: 1.4em;
	margin: 0.6em 0 1.3em;
}

body.single:not(.gift-card) .entry-content li {
	color: #3d4f6e;
	font-size: 1.03rem;
	line-height: 1.75;
	margin-bottom: 0.45em;
}

body.single:not(.gift-card) .entry-content ul li {
	list-style: none;
	padding-left: 1.2em;
	position: relative;
}

body.single:not(.gift-card) .entry-content ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #086dd6;
}

body.single:not(.gift-card) .entry-content blockquote {
	margin: 1.8em 0;
	padding: 18px 22px;
	border-radius: 12px;
	border-left: 4px solid #366cf3;
	background: #f4f8ff;
	color: #2d3f66;
	font-size: 1.08rem;
}

body.single:not(.gift-card) .entry-content a {
	color: #366cf3;
	text-decoration: none;
	font-weight: 600;
}

body.single:not(.gift-card) .entry-content a:hover {
	color: #274fbe;
}

body.single:not(.gift-card) .entry-content hr {
	border: 0;
	height: 1px;
	background: #dde5f2;
	margin: 2.8em 0;
}

/* Tables */

body.single:not(.gift-card) .entry-content .wp-block-table,
body.single:not(.gift-card) .entry-content table {
	width: 100%;
	max-width: 100%;
	margin: 1.2rem 0 1.8rem;
	border-spacing: 0;
	border-collapse: separate;
	background: var(--pw-white);
	color: var(--pw-text);
	border: 1px solid #d6e0eb;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 22px rgba(0, 62, 141, 0.08);
}

/* Nested table inside wp-block-table resets the wrapper styles */
body.single:not(.gift-card) .entry-content .wp-block-table table {
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

body.single:not(.gift-card) .entry-content table th {
	background: var(--pw-blue);
	color: var(--pw-white);
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.4;
	padding: 12px 16px;
	border: 0 !important;
	text-align: left;
	vertical-align: middle;
}

body.single:not(.gift-card) .entry-content table th + th {
	border-left: 1px solid rgba(255, 255, 255, 0.2) !important;
}

body.single:not(.gift-card) .entry-content table th:first-child {
	border-top-left-radius: 12px;
}

body.single:not(.gift-card) .entry-content table th:last-child {
	border-top-right-radius: 12px;
}

body.single:not(.gift-card) .entry-content table td {
	padding: 13px 16px;
	border: 0 !important;
	color: var(--pw-muted);
	font-size: 1rem;
	line-height: 1.55;
	vertical-align: top;
	background-clip: padding-box;
}

body.single:not(.gift-card) .entry-content table td + td {
	border-left: 1px solid #dde6f0 !important;
}

body.single:not(.gift-card) .entry-content table tr + tr td {
	border-top: 1px solid #dde6f0 !important;
}

body.single:not(.gift-card) .entry-content table tr:first-child td {
	border-top: 1px solid #dde6f0 !important;
}

body.single:not(.gift-card) .entry-content table tr:nth-child(even) td {
	background: var(--pw-neutral);
}

body.single:not(.gift-card) .entry-content table td:first-child {
	color: var(--pw-text);
	font-weight: 700;
}

body.single:not(.gift-card) .entry-content table tr:last-child td:first-child {
	border-bottom-left-radius: 12px;
}

body.single:not(.gift-card) .entry-content table tr:last-child td:last-child {
	border-bottom-right-radius: 12px;
}

body.single:not(.gift-card) .entry-content table a       { color: var(--pw-blue); }
body.single:not(.gift-card) .entry-content table a:hover { color: var(--pw-green); }

/* Tags */

body.single:not(.gift-card) .post-tags {
	margin: 0 0 16px;
	padding: 0;
}

body.single:not(.gift-card) .post-tags a {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	margin: 0 8px 8px 0;
	border-radius: 999px;
	background: #eef3ff;
	border: 1px solid #dce5ff;
	color: #3657a8;
	font-size: 13px;
	font-weight: 600;
}

body.single:not(.gift-card) .post-tags a:hover {
	background: #366cf3;
	border-color: #366cf3;
	color: #ffffff;
}

/* Related posts */

body.single:not(.gift-card) .related-posts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	background: #ffffff;
	border: 1px solid #e2e7f1;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 12px 30px rgba(18, 28, 45, 0.06);
}

body.single:not(.gift-card) .related-posts h4 {
	grid-column: 1 / -1;
	margin: 0 0 4px;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.25;
	color: #1f2f52;
}

body.single:not(.gift-card) .related-posts article.post {
	float: none;
	width: auto;
	margin: 0;
	border: 1px solid #e6ecf7;
	border-radius: 14px;
	overflow: hidden;
	background: #ffffff;
	box-shadow: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.single:not(.gift-card) .related-posts article.post:hover {
	transform: translateY(-2px);
	border-color: #cdd8f5;
	box-shadow: 0 12px 24px rgba(31, 41, 55, 0.1);
}

body.single:not(.gift-card) .related-posts article.post header {
	min-height: 0;
	border: 0;
	padding: 12px 14px 14px;
}

body.single:not(.gift-card) .related-posts .entry-title {
	font-size: 1.05rem;
	line-height: 1.45;
	font-weight: 600;
	margin: 0;
}

body.single:not(.gift-card) .related-posts .entry-title a       { color: #1f2f52; }
body.single:not(.gift-card) .related-posts .entry-title a:hover { color: #366cf3; }

/* Sidebar */

body.single:not(.gift-card) .sidebar.c-4-12 {
	background: transparent;
	padding: 0;
}

body.single:not(.gift-card) .sidebar .widget {
	background: #ffffff;
	border: 1px solid #e2e7f1;
	border-radius: 12px;
	padding: 18px;
	margin-bottom: 18px;
	box-shadow: 0 10px 24px rgba(18, 28, 45, 0.05);
}

body.single:not(.gift-card) .sidebar .widget > h3,
body.single:not(.gift-card) .sidebar .widget .widget-title {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
	text-transform: none;
	margin: 0 0 12px;
	color: #1f2f52;
}

body.single:not(.gift-card) .sidebar #s,
body.single:not(.gift-card) .sidebar input[type="search"],
body.single:not(.gift-card) .sidebar input[type="text"] {
	height: 44px;
	border-radius: 10px;
	border: 1px solid #d3dbeb;
	background: #f8faff;
}

body.single:not(.gift-card) .sidebar #searchform #searchsubmit,
body.single:not(.gift-card) .sidebar #searchform .sbutton,
body.single:not(.gift-card) .sidebar #searchform .icon-search {
	height: 44px;
	width: 44px;
	border-radius: 0 10px 10px 0;
	background: #366cf3;
}

body.single:not(.gift-card) .sidebar a       { color: #3d4f7a; }
body.single:not(.gift-card) .sidebar a:hover { color: #366cf3; }

/* Strip widget chrome when it wraps the CTA */
body.single:not(.gift-card) .sidebar .widget:has(.pw-cta) {
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	overflow: hidden;
}

.sidebar .pw-cta {
	max-width: 100%;
	margin: 0;
}

/* ── CTA Block ── */

.pw-cta {
	position: relative;
	overflow: hidden;
	border: 0;
	border-radius: 12px;
	padding: 32px 28px 28px;
	max-width: 460px;
	margin: 18px auto;
	background: linear-gradient(135deg, #003E8D 0%, #002F6C 100%);
	box-shadow: 0 20px 50px rgba(0, 47, 108, 0.45);
}

/* Green glow — bottom right */
.pw-cta::before {
	content: "";
	position: absolute;
	width: 300px;
	height: 300px;
	right: -80px;
	bottom: -110px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 182, 122, 0.38) 0%, rgba(0, 182, 122, 0) 70%);
	pointer-events: none;
}

/* Decorative ring — top left */
.pw-cta::after {
	content: "";
	position: absolute;
	width: 180px;
	height: 180px;
	left: -55px;
	top: -55px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.07);
	pointer-events: none;
}

.pw-cta__title {
	position: relative;
	z-index: 1;
	color: #ffffff;
	font-size: clamp(1.45rem, 2.2vw, 1.85rem);
	font-weight: 800;
	line-height: 1.22;
	letter-spacing: -0.025em;
	margin: 0 0 10px;
}

.pw-cta__text {
	position: relative;
	z-index: 1;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.96rem;
	line-height: 1.62;
	margin: 0 0 24px;
}

.pw-cta__actions {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
}

.pw-cta__btn,
.pw-cta__btn:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	min-width: 170px;
	padding: 13px 26px;
	border-radius: 999px;
	border: 0;
	background: #00B67A;
	color: #ffffff !important;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1;
	text-align: center;
	text-decoration: none !important;
	box-shadow: 0 8px 24px rgba(0, 182, 122, 0.48);
	transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.pw-cta__btn:hover {
	background: #009B66;
	color: #ffffff !important;
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(0, 155, 102, 0.55);
}

.pw-cta__btn:focus { outline: 0; }

.pw-cta__btn:focus-visible {
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4), 0 14px 30px rgba(0, 155, 102, 0.55);
}

.pw-cta__link {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.2s ease;
}

.pw-cta__link:hover {
	color: #ffffff;
	text-decoration: underline;
}

/* CTA embedded inline within post content — horizontal layout */

body.single:not(.gift-card) .entry-content .pw-cta {
	max-width: 100%;
	margin: 2.6em 0;
	padding: 36px 44px;
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto auto;
	column-gap: 44px;
	align-items: center;
}

body.single:not(.gift-card) .entry-content .pw-cta__title {
	grid-column: 1;
	grid-row: 1;
	text-align: left;
	margin-bottom: 8px;
}

body.single:not(.gift-card) .entry-content .pw-cta__text {
	grid-column: 1;
	grid-row: 2;
	text-align: left;
	margin-bottom: 0;
}

body.single:not(.gift-card) .entry-content .pw-cta__actions {
	grid-column: 2;
	grid-row: 1 / span 2;
	justify-content: center;
}

/* Fix entry-content link color cascade inside the CTA */
body.single:not(.gift-card) .entry-content .pw-cta .pw-cta__link {
	color: rgba(255, 255, 255, 0.7);
}

body.single:not(.gift-card) .entry-content .pw-cta .pw-cta__link:hover {
	color: #ffffff;
}

body.single:not(.gift-card) .entry-content #ez-toc-container ul li {
	position: static;
	padding-left: 0;
	margin-bottom: 0;
	color: inherit;
	font-size: inherit;
	line-height: inherit;
}

body.single:not(.gift-card) .entry-content #ez-toc-container ul li::before {
	position: static;
	background: none;
	width: auto;
	height: auto;
	top: auto;
	left: auto;
	border-radius: 0;
	color: #8898b8;
}

body.single:not(.gift-card) .entry-content #ez-toc-container {
	background: #f8faff !important;
	border: 1px solid #dce5f5 !important;
	border-radius: 12px;
	padding: 0 !important;
	margin: 1.8em 0 2.2em !important;
	box-shadow: 0 4px 18px rgba(18, 28, 80, 0.06);
	overflow: hidden;
	float: none !important;
}

body.single:not(.gift-card) .entry-content #ez-toc-container .ez-toc-title-container {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	padding: 6px 20px !important;
	background: #eef3ff !important;
	border-bottom: 1px solid #dce5f5;
	margin: 0 !important;
}

body.single:not(.gift-card) .entry-content #ez-toc-container .ez-toc-title {
	font-size: 0.75rem !important;
	font-weight: 700 !important;
	color: #1f2f52 !important;
	margin: 0 !important;
	padding: 0 !important;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	line-height: 1;
	border: 0 !important;
}

/* Toggle button */
body.single:not(.gift-card) .entry-content #ez-toc-container .ez-toc-btn {
	background: transparent !important;
	border: none !important;
	padding: 2px !important;
	box-shadow: none !important;
	opacity: 0.5;
	transition: opacity 0.15s ease;
}

body.single:not(.gift-card) .entry-content #ez-toc-container .ez-toc-btn:hover {
	opacity: 1;
	background: transparent !important;
}

/* Nav */
body.single:not(.gift-card) .entry-content #ez-toc-container nav {
	padding: 6px 20px 12px;
}

/* List */
body.single:not(.gift-card) .entry-content #ez-toc-container .ez-toc-list {
	margin: 0 !important;
	padding: 0 !important;
}

body.single:not(.gift-card) .entry-content #ez-toc-container .ez-toc-list > li {
	padding: 5px 0 !important;
	border-bottom: 1px solid #e8eeff;
}

body.single:not(.gift-card) .entry-content #ez-toc-container .ez-toc-list > li:last-child {
	border-bottom: 0 !important;
	padding-bottom: 0 !important;
}

/* Links */
body.single:not(.gift-card) .entry-content #ez-toc-container .ez-toc-link {
	color: #3657a8 !important;
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none !important;
	line-height: 1.5;
	transition: color 0.15s ease;
}

body.single:not(.gift-card) .entry-content #ez-toc-container .ez-toc-link:hover {
	color: #086dd6 !important;
	text-decoration: underline !important;
}

/* ── FAQ Accordion ── */

.pw-faq-title { margin-bottom: 0 !important; }

.pw-faq__item {
	border-bottom: 1px solid #d6dde8;
}

.pw-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 0;
	font-size: 1rem;
	font-weight: 700;
	color: #1a2a4a;
	line-height: 1.45;
	cursor: pointer;
	list-style: none;
	user-select: none;
}

.pw-faq__question::-webkit-details-marker { display: none; }

.pw-faq__question::after {
	content: "";
	flex-shrink: 0;
	width: 12px;
	height: 12px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M1 1l7 7 7-7' stroke='%236d7b95' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.3s ease;
}

.pw-faq__item[open] .pw-faq__question::after {
	transform: rotate(180deg);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M1 1l7 7 7-7' stroke='%231a2a4a' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.pw-faq__answer {
	padding: 0 0 20px 10px;
	color: #3d4f6e;
	font-size: 1rem;
	line-height: 1.78;
}

.pw-faq__answer p:last-child { margin-bottom: 0; }

/* Reset entry-content overrides inside FAQ */
body.single:not(.gift-card) .entry-content .pw-faq__question {
	margin: 0;
	padding-left: 0;
	border: 0;
}

body.single:not(.gift-card) .entry-content .pw-faq__question::before { display: none; }

body.single:not(.gift-card) .entry-content .pw-faq__answer p {
	margin-bottom: 0;
}

/* ── Blog Homepage ── */

body.home,
body.blog {
	background-color: #F0F4F8;
}

/* Hide redundant nav (already have fixed header) */
body.home #navigation.primary-navigation,
body.blog #navigation.primary-navigation,
body.home #pull,
body.blog #pull {
	display: none !important;
}

body.home #primary,
body.blog #primary {
	float: none;
	width: 100%;
	max-width: 1170px;
	margin: 0 auto;
	padding: 0 20px 60px;
	box-sizing: border-box;
}

/* Remove default theme container side padding conflict */
body.home .container,
body.blog .container {
	padding: 0 20px;
	box-sizing: border-box;
}

/* ── Post grid layout ── */

body.home #main,
body.blog #main {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	align-items: start;
}

/* ── Base card ── */

body.home article.latestpost,
body.blog article.latestpost {
	background: #ffffff;
	border: 1px solid #E1E6EB;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0, 62, 141, 0.06);
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
	margin: 0;
	float: none;
	width: auto;
}

body.home article.latestpost:hover,
body.blog article.latestpost:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(0, 62, 141, 0.12);
	border-color: #c5d2e8;
}

/* ── Featured (first) post — spans full width ── */

body.home article.latestpost.featuredpost,
body.blog article.latestpost.featuredpost {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	min-height: 340px;
}

body.home article.latestpost.featuredpost #featured-thumbnail,
body.blog article.latestpost.featuredpost #featured-thumbnail {
	display: block;
	overflow: hidden;
	height: 100%;
}

body.home article.latestpost.featuredpost .featured-thumbnail,
body.blog article.latestpost.featuredpost .featured-thumbnail {
	height: 100%;
}

body.home article.latestpost.featuredpost .featured-thumbnail img,
body.blog article.latestpost.featuredpost .featured-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

body.home article.latestpost.featuredpost .entry-header,
body.blog article.latestpost.featuredpost .entry-header {
	padding: 32px 30px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

body.home article.latestpost.featuredpost .entry-title,
body.blog article.latestpost.featuredpost .entry-title {
	font-size: clamp(1.3rem, 2vw, 1.7rem) !important;
	line-height: 1.3;
}

/* ── Regular card thumbnail ── */

body.home article.latestpost:not(.featuredpost) #featured-thumbnail,
body.blog article.latestpost:not(.featuredpost) #featured-thumbnail {
	display: block;
	overflow: hidden;
	height: 200px;
}

body.home article.latestpost:not(.featuredpost) .featured-thumbnail,
body.blog article.latestpost:not(.featuredpost) .featured-thumbnail {
	height: 200px;
	overflow: hidden;
}

body.home article.latestpost:not(.featuredpost) .featured-thumbnail img,
body.blog article.latestpost:not(.featuredpost) .featured-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.4s ease;
}

body.home article.latestpost:not(.featuredpost):hover .featured-thumbnail img,
body.blog article.latestpost:not(.featuredpost):hover .featured-thumbnail img {
	transform: scale(1.04);
}

/* ── Entry header (regular cards) ── */

body.home article.latestpost:not(.featuredpost) .entry-header,
body.blog article.latestpost:not(.featuredpost) .entry-header {
	padding: 18px 20px 20px;
}

/* ── Entry title ── */

body.home .entry-title,
body.blog .entry-title {
	font-size: 1.08rem !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	margin: 0 0 10px !important;
	padding: 0 !important;
	border: 0 !important;
}

body.home .entry-title a,
body.blog .entry-title a {
	color: #1A1A1A;
	text-decoration: none;
	transition: color 0.2s ease;
}

body.home .entry-title a:hover,
body.blog .entry-title a:hover {
	color: #003E8D;
}

/* ── Entry meta ── */

body.home .entry-meta.post-info,
body.blog .entry-meta.post-info {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 0.82rem;
	color: #555555;
	margin: 0;
}

body.home .entry-meta.post-info a,
body.blog .entry-meta.post-info a {
	color: #555555;
	text-decoration: none;
	transition: color 0.2s ease;
}

body.home .entry-meta.post-info a:hover,
body.blog .entry-meta.post-info a:hover {
	color: #003E8D;
}

body.home .entry-meta .thecategory a,
body.blog .entry-meta .thecategory a {
	display: inline-block;
	background: #EBF2FF;
	color: #003E8D;
	border-radius: 999px;
	padding: 2px 10px;
	font-weight: 600;
	font-size: 0.78rem;
}

body.home .entry-meta .thecategory a:hover,
body.blog .entry-meta .thecategory a:hover {
	background: #003E8D;
	color: #ffffff;
}

/* ── "Featured" badge on first post ── */

body.home .post-label,
body.blog .post-label {
	position: absolute;
	top: 16px;
	left: 16px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #00B67A;
	color: #ffffff;
	font-size: 0.78rem;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 50px 0 0 50px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

body.home #featured-thumbnail,
body.blog #featured-thumbnail {
	position: relative;
}

/* ── Pagination ── */

body.home .page-navigation,
body.blog .page-navigation {
	grid-column: 1 / -1;
	display: flex;
	justify-content: center;
	gap: 8px;
	padding: 16px 0;
}

body.home .page-navigation a,
body.home .page-navigation span,
body.blog .page-navigation a,
body.blog .page-navigation span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	border-radius: 8px;
	border: 1px solid #E1E6EB;
	background: #ffffff;
	color: #003E8D;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.home .page-navigation a:hover,
body.blog .page-navigation a:hover {
	background: #003E8D;
	border-color: #003E8D;
	color: #ffffff;
}

body.home .page-navigation .current,
body.blog .page-navigation .current {
	background: #003E8D;
	border-color: #003E8D;
	color: #ffffff;
}

/* ── Blog Archive / Category Pages ── */

body.archive,
body.category,
body.tag,
body.search {
	background-color: #F0F4F8;
}

body.archive #primary.content-archive,
body.category #primary.content-archive,
body.tag #primary.content-archive,
body.search #primary.content-archive {
	float: none;
	width: 100%;
	max-width: 1170px;
	margin: 0 auto;
	padding: 0 20px 60px;
	box-sizing: border-box;
}

/* ── Page header (category title banner) ── */

body.archive .page-header,
body.category .page-header,
body.tag .page-header,
body.search .page-header {
	background: linear-gradient(135deg, #003E8D 0%, #002F6C 100%);
	border-radius: 14px;
	padding: 36px 36px;
	margin-bottom: 28px;
}

body.archive .page-header .page-title,
body.category .page-header .page-title,
body.tag .page-header .page-title,
body.search .page-header .page-title {
	color: #ffffff;
	font-size: clamp(1.4rem, 2.5vw, 2rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0 0 6px;
}

body.archive .page-header .taxonomy-description,
body.category .page-header .taxonomy-description,
body.tag .page-header .taxonomy-description {
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.95rem;
	line-height: 1.6;
	margin: 0;
}

/* ── Post grid ── */

body.archive #main,
body.category #main,
body.tag #main,
body.search #main {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	align-items: start;
}

/* ── Cards (reuse same style as homepage) ── */

body.archive article.latestpost,
body.category article.latestpost,
body.tag article.latestpost,
body.search article.latestpost {
	background: #ffffff;
	border: 1px solid #E1E6EB;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0, 62, 141, 0.06);
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
	margin: 0;
	float: none;
	width: auto;
}

body.archive article.latestpost:hover,
body.category article.latestpost:hover,
body.tag article.latestpost:hover,
body.search article.latestpost:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(0, 62, 141, 0.12);
	border-color: #c5d2e8;
}

/* Thumbnail */

body.archive article.latestpost #featured-thumbnail,
body.category article.latestpost #featured-thumbnail,
body.tag article.latestpost #featured-thumbnail,
body.search article.latestpost #featured-thumbnail {
	display: block;
	overflow: hidden;
	height: 200px;
	position: relative;
}

body.archive article.latestpost .featured-thumbnail,
body.category article.latestpost .featured-thumbnail,
body.tag article.latestpost .featured-thumbnail,
body.search article.latestpost .featured-thumbnail {
	height: 200px;
	overflow: hidden;
}

body.archive article.latestpost .featured-thumbnail img,
body.category article.latestpost .featured-thumbnail img,
body.tag article.latestpost .featured-thumbnail img,
body.search article.latestpost .featured-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.4s ease;
}

body.archive article.latestpost:hover .featured-thumbnail img,
body.category article.latestpost:hover .featured-thumbnail img,
body.tag article.latestpost:hover .featured-thumbnail img,
body.search article.latestpost:hover .featured-thumbnail img {
	transform: scale(1.04);
}

/* Entry header */

body.archive article.latestpost .entry-header,
body.category article.latestpost .entry-header,
body.tag article.latestpost .entry-header,
body.search article.latestpost .entry-header {
	padding: 18px 20px 20px;
}

/* Title */

body.archive .entry-title,
body.category .entry-title,
body.tag .entry-title,
body.search .entry-title {
	font-size: 1.08rem !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	margin: 0 0 10px !important;
	padding: 0 !important;
	border: 0 !important;
}

body.archive .entry-title a,
body.category .entry-title a,
body.tag .entry-title a,
body.search .entry-title a {
	color: #1A1A1A;
	text-decoration: none;
	transition: color 0.2s ease;
}

body.archive .entry-title a:hover,
body.category .entry-title a:hover,
body.tag .entry-title a:hover,
body.search .entry-title a:hover {
	color: #003E8D;
}

/* Meta */

body.archive .entry-meta.post-info,
body.category .entry-meta.post-info,
body.tag .entry-meta.post-info,
body.search .entry-meta.post-info {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 0.82rem;
	color: #555555;
	margin: 0;
}

body.archive .entry-meta.post-info a,
body.category .entry-meta.post-info a,
body.tag .entry-meta.post-info a,
body.search .entry-meta.post-info a {
	color: #555555;
	text-decoration: none;
	transition: color 0.2s ease;
}

body.archive .entry-meta.post-info a:hover,
body.category .entry-meta.post-info a:hover,
body.tag .entry-meta.post-info a:hover,
body.search .entry-meta.post-info a:hover {
	color: #003E8D;
}

body.archive .entry-meta .thecategory a,
body.category .entry-meta .thecategory a,
body.tag .entry-meta .thecategory a,
body.search .entry-meta .thecategory a {
	display: inline-block;
	background: #EBF2FF;
	color: #003E8D;
	border-radius: 999px;
	padding: 2px 10px;
	font-weight: 600;
	font-size: 0.78rem;
}

body.archive .entry-meta .thecategory a:hover,
body.category .entry-meta .thecategory a:hover,
body.tag .entry-meta .thecategory a:hover,
body.search .entry-meta .thecategory a:hover {
	background: #003E8D;
	color: #ffffff;
}

/* Pagination */

body.archive .page-navigation,
body.category .page-navigation,
body.tag .page-navigation,
body.search .page-navigation {
	grid-column: 1 / -1;
	display: flex;
	justify-content: center;
	gap: 8px;
	padding: 16px 0;
}

body.archive .page-navigation a,
body.archive .page-navigation span,
body.category .page-navigation a,
body.category .page-navigation span,
body.tag .page-navigation a,
body.tag .page-navigation span,
body.search .page-navigation a,
body.search .page-navigation span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	border-radius: 8px;
	border: 1px solid #E1E6EB;
	background: #ffffff;
	color: #003E8D;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.archive .page-navigation a:hover,
body.category .page-navigation a:hover,
body.tag .page-navigation a:hover,
body.search .page-navigation a:hover {
	background: #003E8D;
	border-color: #003E8D;
	color: #ffffff;
}

body.archive .page-navigation .current,
body.category .page-navigation .current,
body.tag .page-navigation .current,
body.search .page-navigation .current {
	background: #003E8D;
	border-color: #003E8D;
	color: #ffffff;
}

/* ── Media Queries ── */

@media screen and (max-width: 1100px) {
	body.single:not(.gift-card) .single_post .main-container {
		grid-template-columns: 1fr;
	}

	body.single:not(.gift-card) .sidebar.c-4-12 {
		order: 2;
	}

	body.home #main,
	body.blog #main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.home article.latestpost.featuredpost,
	body.blog article.latestpost.featuredpost {
		grid-column: 1 / -1;
		grid-template-columns: 1fr;
	}

	body.home article.latestpost.featuredpost #featured-thumbnail,
	body.blog article.latestpost.featuredpost #featured-thumbnail {
		height: 260px;
	}

	body.home article.latestpost.featuredpost .featured-thumbnail,
	body.blog article.latestpost.featuredpost .featured-thumbnail {
		height: 260px;
	}

	body.archive #main,
	body.category #main,
	body.tag #main,
	body.search #main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 1024px) {
	/* Prevent theme mobile menu behaviour on gift-card page */
	.gift-card .kt-header__topbar {
		position: static !important;
		margin-top: 0 !important;
		height: auto !important;
		padding: 0 !important;
		background: transparent !important;
		border-top: 0 !important;
		width: auto !important;
		left: auto !important;
		right: auto !important;
	}
}

@media screen and (max-width: 782px) {

	header .container {
		padding: 0 14px;
	}

	.hidden-xs { display: none !important; }
	.hidden-lg { display: block !important; }

	body.home #main,
	body.blog #main {
		grid-template-columns: 1fr;
	}

	body.home article.latestpost.featuredpost,
	body.blog article.latestpost.featuredpost {
		grid-template-columns: 1fr;
	}

	body.home article.latestpost.featuredpost .entry-header,
	body.blog article.latestpost.featuredpost .entry-header {
		padding: 20px 18px;
	}

	body.home #primary,
	body.blog #primary {
		padding: 0;
	}

	body.archive #main,
	body.category #main,
	body.tag #main,
	body.search #main {
		grid-template-columns: 1fr;
	}

	body.archive #primary.content-archive,
	body.category #primary.content-archive,
	body.tag #primary.content-archive,
	body.search #primary.content-archive {
		padding: 0 14px 40px;
	}

	body.archive .page-header,
	body.category .page-header,
	body.tag .page-header,
	body.search .page-header {
		padding: 24px 20px;
		border-radius: 10px;
	}

	/* Gift card */
	.gift-card_form { width: 95%; }
	.gift-card_signup h1 { font-size: 37px; }
	.gift-card_button { font-size: 13px !important; }
	.gift-card_article { display: block; }

	.gift-card #content_box {
		padding: 0 10px;
		display: block;
	}

	.gift-card_image {
		width: 70%;
		margin: 5px auto 20px;
		float: none;
		display: block;
	}

	.gift-card article { padding: 40px 0 30px; }

	.kt-earn__points {
		margin-top: 20px;
		margin-bottom: 40px;
	}

	.kt-available__card .kt-portlet__body {
		justify-content: space-between;
		flex-wrap: wrap;
	}

	.kt-notes .kt-notes__items .kt-notes__item .kt-notes__content .kt-notes__body {
		padding-right: 0;
	}

	/* CTA block — sidebar */
	.pw-cta {
		padding: 24px 20px;
		margin: 16px auto;
	}

	.pw-cta__title { font-size: 1.45rem; }
	.pw-cta__text  { font-size: 0.94rem; }
	.pw-cta__actions { display: block; }

	.pw-cta__btn {
		width: 100%;
		min-width: 0;
	}

	/* CTA block — inline content, collapse to vertical */
	body.single:not(.gift-card) .entry-content .pw-cta {
		grid-template-columns: 1fr;
		padding: 28px 22px;
		margin: 1.8em 0;
		text-align: center;
	}

	body.single:not(.gift-card) .entry-content .pw-cta__title,
	body.single:not(.gift-card) .entry-content .pw-cta__text {
		grid-column: 1;
		grid-row: auto;
		text-align: center;
	}

	body.single:not(.gift-card) .entry-content .pw-cta__title { margin-bottom: 8px; }
	body.single:not(.gift-card) .entry-content .pw-cta__text  { margin-bottom: 20px; }

	body.single:not(.gift-card) .entry-content .pw-cta__actions {
		grid-column: 1;
		grid-row: auto;
	}

	body.single:not(.gift-card) .entry-content .pw-cta .pw-cta__btn {
		width: 100%;
	}

	/* Blog single */
	body.single:not(.gift-card) .single_post {
		padding: 30px 0 34px;
	}

	body.single:not(.gift-card) .site-single > article.post {
		padding: 22px 18px;
		border-radius: 14px;
	}

	body.single:not(.gift-card) .entry-thumbnail {
		margin: 0 -18px;
	}

	body.single:not(.gift-card) .entry-thumbnail__img {
		height: 220px;
	}

	body.single:not(.gift-card) .entry-header .entry-title {
		font-size: 1.6rem;
	}

	body.single:not(.gift-card) .entry-content h2 {
		font-size: 1.35rem;
		margin-top: 2em;
	}

	body.single:not(.gift-card) .entry-content h3 {
		font-size: 1.08rem;
	}

	body.single:not(.gift-card) .entry-content p,
	body.single:not(.gift-card) .entry-content li {
		font-size: 1rem;
		line-height: 1.75;
	}

	body.single:not(.gift-card) .related-posts {
		grid-template-columns: 1fr;
		padding: 18px;
		border-radius: 14px;
	}

	body.single:not(.gift-card) .entry-content .wp-block-table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	body.single:not(.gift-card) .entry-content .wp-block-table table,
	body.single:not(.gift-card) .entry-content table {
		min-width: 860px;
	}
}

@media screen and (max-width: 360px) {
	.kt-available__card .kt-portlet__body > div {
		width: 48%;
	}
}

/* ── Author Bio Box ── */

.pw-author-box {
	background: #ffffff;
	border: 1px solid #e2e7f1;
	border-radius: 12px;
	padding: 28px;
	margin-top: 36px;
	box-shadow: 0 4px 18px rgba(18, 28, 45, 0.05);
}

.pw-author-box__inner {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.pw-author-box__avatar {
	flex-shrink: 0;
}

.pw-author-box__avatar-img {
	width: 80px !important;
	height: 80px !important;
	border-radius: 50% !important;
	object-fit: cover;
	display: block;
	border: 2px solid #e2e7f1;
}

.pw-author-box__content {
	flex: 1;
	min-width: 0;
}

.pw-author-box__name {
	display: inline-block;
	font-size: 1.1rem;
	font-weight: 700;
	color: #1a2a4a;
	text-decoration: none;
	margin-bottom: 2px;
	transition: color 0.2s ease;
}

.pw-author-box__name:hover {
	color: #086dd6;
}

.pw-author-box__role {
	font-size: 0.82rem;
	font-weight: 500;
	color: #6d7b95;
	margin: 0 0 10px;
}

.pw-author-box__bio {
	font-size: 0.9rem;
	color: #4a5568;
	line-height: 1.72;
	margin: 0 0 10px;
}

.pw-author-box__social {
	margin-top: 10px;
}

.pw-author-box__social-link,
.pw-author-hero__social-link {
	--pw-linkedin-accent-rgb: 8, 109, 214;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	border: 1px solid rgba(var(--pw-linkedin-accent-rgb), 0.24);
	background: linear-gradient(180deg, rgba(var(--pw-linkedin-accent-rgb), 0.12) 0%, rgba(var(--pw-linkedin-accent-rgb), 0.06) 100%);
	color: #086dd6;
	text-decoration: none;
	box-shadow: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pw-author-box__social-link svg,
.pw-author-hero__social-link svg {
	display: block;
	width: 15px;
	height: 15px;
}

.pw-author-box__social-link:hover,
.pw-author-box__social-link:focus-visible,
.pw-author-hero__social-link:hover,
.pw-author-hero__social-link:focus-visible {
	background: rgba(var(--pw-linkedin-accent-rgb), 0.16);
	border-color: rgba(var(--pw-linkedin-accent-rgb), 0.34);
	color: #0656ab;
	box-shadow: none;
	opacity: 1;
}

.pw-author-box__social-link:focus-visible,
.pw-author-hero__social-link:focus-visible {
	outline: 2px solid rgba(var(--pw-linkedin-accent-rgb), 0.28);
	outline-offset: 2px;
}

@media screen and (max-width: 600px) {
	.pw-author-box {
		padding: 22px 20px;
	}

	.pw-author-box__inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 14px;
	}
}

/* ── Author Archive Page ── */

body.author {
	background-color: #f3f5fb;
	background-image: none;
}

.pw-author-page {
	padding: 60px 0 70px;
}

.pw-author-page .main-container {
	max-width: 1170px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 20px;
}

/* Hero block */

.pw-author-hero {
	display: flex;
	align-items: flex-start;
	gap: 32px;
	background: #ffffff;
	border: 1px solid #e2e7f1;
	border-radius: 14px;
	padding: 36px 40px;
	box-shadow: 0 12px 30px rgba(18, 28, 45, 0.06);
	margin-bottom: 48px;
}

.pw-author-hero__avatar {
	flex-shrink: 0;
}

.pw-author-hero__img {
	width: 120px !important;
	height: 120px !important;
	border-radius: 50% !important;
	object-fit: cover;
	display: block;
	border: 3px solid #e2e7f1;
}

.pw-author-hero__info {
	flex: 1;
	min-width: 0;
}

.pw-author-hero__name {
	font-size: clamp(1.5rem, 2.2vw, 2rem);
	font-weight: 800;
	color: #1a2a4a;
	margin: 0 0 4px;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.pw-author-hero__role {
	font-size: 0.875rem;
	font-weight: 500;
	color: #086dd6;
	margin: 0 0 14px;
}

.pw-author-hero__bio {
	font-size: 0.95rem;
	color: #4a5568;
	line-height: 1.75;
	margin: 0 0 20px;
}

.pw-author-hero__section-label {
	font-size: 0.82rem;
	font-weight: 700;
	color: #1a2a4a;
	margin: 0 0 10px;
}

/* Expert-in tags */

.pw-author-hero__expertise {
	margin-bottom: 20px;
}

.pw-author-hero__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pw-author-hero__tag {
	display: inline-block;
	padding: 5px 13px;
	border: 1px solid #c8d5ea;
	border-radius: 50px;
	font-size: 0.82rem;
	font-weight: 500;
	color: #3a4f72;
	background: transparent;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.pw-author-hero__tag:hover {
	background: #086dd6;
	border-color: #086dd6;
	color: #ffffff;
}

/* Social links */

/* shared social icon styles are defined with .pw-author-box__social-link above */

/* Recent posts grid */

.pw-author-posts__title {
	font-size: 1.35rem;
	font-weight: 800;
	color: #1a2a4a;
	margin: 0 0 24px;
	letter-spacing: -0.02em;
}

.pw-author-posts__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

/* Post card */

.pw-post-card {
	background: #ffffff;
	border: 1px solid #e2e7f1;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(18, 28, 45, 0.05);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
	display: flex;
	flex-direction: column;
}

.pw-post-card:hover {
	box-shadow: 0 10px 28px rgba(18, 28, 45, 0.1);
	transform: translateY(-3px);
}

.pw-post-card__thumb-link {
	display: block;
	overflow: hidden;
}

.pw-post-card__thumb {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.pw-post-card:hover .pw-post-card__thumb {
	transform: scale(1.04);
}

.pw-post-card__body {
	padding: 20px 22px 22px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.pw-post-card__cat {
	display: inline-block;
	padding: 3px 11px;
	border: 1px solid #c8d5ea;
	border-radius: 50px;
	font-size: 0.75rem;
	font-weight: 600;
	color: #3a4f72;
	text-decoration: none;
	margin-bottom: 12px;
	transition: background 0.2s, color 0.2s;
}

.pw-post-card__cat:hover {
	background: #086dd6;
	border-color: #086dd6;
	color: #fff;
}

.pw-post-card__title {
	font-size: 1rem;
	font-weight: 700;
	color: #1a2a4a;
	line-height: 1.45;
	margin: 0 0 auto;
	padding-bottom: 18px;
}

.pw-post-card__title a {
	color: inherit;
	text-decoration: none;
}

.pw-post-card__title a:hover {
	color: #086dd6;
}

.pw-post-card__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-top: 16px;
	border-top: 1px solid #eef1f8;
	margin-top: auto;
}

.pw-post-card__meta-avatar {
	width: 28px !important;
	height: 28px !important;
	border-radius: 50% !important;
	flex-shrink: 0;
}

.pw-post-card__meta-text {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.pw-post-card__meta-name {
	font-size: 0.78rem;
	font-weight: 600;
	color: #1a2a4a;
}

.pw-post-card__meta-date {
	font-size: 0.75rem;
	color: #6d7b95;
}

/* Responsive */

@media screen and (max-width: 900px) {
	.pw-author-posts__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 640px) {
	.pw-author-hero {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 28px 22px;
		gap: 20px;
	}

	.pw-author-hero__tags {
		justify-content: center;
	}

	.pw-author-hero__social {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.pw-author-posts__grid {
		grid-template-columns: 1fr;
	}
}
