/**
 * ThoughtsWorld — Homepage Stylesheet (assets/css/home.css)
 *
 * Contained Hero Showcase Banner + Logo-Matched Cyan-Blue-Indigo-Violet Palette
 *
 * @package Thoughts_World
 */

/* Prevent horizontal viewport overflow on all screens */
.site-main {
	overflow-x: clip;
	width: 100%;
}

.tw-container {
	width: 100%;
	box-sizing: border-box;
}

/* ==========================================================================
   1. FULL-WIDTH MOUNTAIN SUNRISE HERO BANNER (TRANSPARENT HEADER + SCROLL INDICATOR)
   ========================================================================== */
.tw-hero-section {
	position: relative;
	width: 100%;
	min-height: clamp(660px, 90vh, 830px);
	padding: 132px 0 88px;
	background-color: #071430;
	border-bottom: 1px solid var(--tw-border);
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: visible;
}

body.tw-header-solid-always .tw-hero-section {
	padding-top: 64px;
	min-height: clamp(580px, 80vh, 760px);
}

.tw-hero-content-container {
	position: relative;
	z-index: 30;
	width: 100%;
}

/* Full-Width Mountain Sunrise Background Layer */
.tw-hero-box__bg {
    position: absolute;
    inset: 0;
    border-radius: 0;
    overflow: hidden;
    z-index: 0;
    background-color: #000000;
    background-image: linear-gradient(180deg, rgb(0 0 0 / 56%) 0%, rgb(0 0 0 / 8%) 24%, rgba(4, 12, 32, 0.04) 76%, rgb(0 0 0 / 44%) 100%), linear-gradient(90deg, rgb(0 0 0 / 68%) 0%, rgb(0 0 0 / 48%) 46%, rgba(10, 28, 64, 0.08) 76%, rgb(24 55 116 / 0%) 100%), url(../images/hero-banner.jpg);
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    pointer-events: none;
}

.tw-hero-box__grid {
	position: relative;
	z-index: 30;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	max-width: 880px;
	margin: 0 auto;
	width: 100%;
}

.tw-hero__content {
	position: relative;
	z-index: 40;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

/* 1. Top Trust & Feature Badges Row */
.tw-hero-badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 22px;
}

.tw-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 15px;
	border-radius: 999px;
	background: rgba(9, 22, 48, 0.56);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: rgba(255, 255, 255, 0.95);
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.2;
	box-shadow: 0 6px 18px rgba(4, 12, 32, 0.25);
}

.tw-hero-badge--gold {
	border: 1px solid rgba(251, 191, 36, 0.48);
}

.tw-hero-badge--gold i {
	color: #FBBF24;
	font-size: 0.8rem;
}

.tw-hero-badge--meta {
	border: 1px solid rgba(148, 163, 184, 0.34);
	gap: 12px;
}

.tw-hero-badge__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.tw-hero-badge__item i {
	color: #60A5FA;
	font-size: 0.78rem;
}

.tw-hero-badge__sep {
	width: 1px;
	height: 13px;
	background: rgba(255, 255, 255, 0.24);
}

/* 2. Main Hero Serif Headline */
.tw-hero__title {
	font-family: var(--tw-font-serif);
	font-size: clamp(2.8rem, 5vw, 4.35rem) !important;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.015em;
	color: #FFFFFF !important;
	margin: 0 0 18px;
	text-shadow: 0 4px 22px rgba(4, 12, 32, 0.45);
}

.tw-hero__title-accent {
	background: linear-gradient(135deg, #60A5FA 0%, #A78BFA 50%, #F472B6 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	color: transparent;
	display: inline;
	filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
}

/* 3. Subtitle */
.tw-hero__subtitle,
.tw-hero__description {
	font-size: clamp(0.98rem, 1.22vw, 1.1rem);
	line-height: 1.62;
	color: rgba(241, 245, 249, 0.92) !important;
	font-weight: 400;
	max-width: 600px;
	margin: 0 0 26px;
	text-shadow: 0 2px 10px rgba(4, 12, 32, 0.4);
}

/* 4. Hero Search Bar */
.tw-hero-search-wrap {
	position: relative;
	width: 100%;
	max-width: 660px;
	margin: 0 auto 20px;
	z-index: 60;
}

.tw-hero-search-wrap .tw-search-suggest-panel {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	margin-top: 10px;
	border: 1px solid var(--tw-border, #E2E8F0);
	border-radius: 18px;
	background: #FFFFFF;
	box-shadow: 0 20px 48px -6px rgba(15, 23, 42, 0.28);
	padding: 16px;
	max-height: 380px;
	overflow-y: auto;
	z-index: 100;
	text-align: left;
}

.tw-hero-search-wrap .tw-search-suggest-panel::-webkit-scrollbar {
	width: 6px;
}

.tw-hero-search-wrap .tw-search-suggest-panel::-webkit-scrollbar-thumb {
	background: #CBD5E1;
	border-radius: 999px;
}

.tw-hero-search {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 6px 6px 6px 20px;
	background: #FFFFFF;
	border: 1.5px solid rgba(255, 255, 255, 0.92);
	border-radius: 999px;
	box-shadow: 0 18px 42px -10px rgba(4, 12, 32, 0.42);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tw-hero-search:focus-within {
	border-color: var(--tw-primary);
	box-shadow: var(--tw-shadow-btn), 0 20px 44px -10px rgba(4, 12, 32, 0.5);
}

.tw-hero-search__field {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
	min-width: 0;
}

.tw-hero-search__lead-icon {
	color: var(--tw-primary);
	font-size: 1rem;
	flex-shrink: 0;
}

.tw-hero-search__input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	font-family: var(--tw-font-sans);
	font-size: 0.95rem;
	color: var(--tw-text);
	padding: 10px 4px;
}

.tw-hero-search__input::placeholder {
	color: var(--tw-muted);
}

.tw-hero-search__input:focus {
	outline: none;
}

.tw-hero-search__clear {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 0;
	background: var(--tw-accent-soft);
	color: var(--tw-primary);
	cursor: pointer;
	font-size: 0.78rem;
}

.tw-hero-search__clear[hidden] {
	display: none !important;
}

.tw-hero-search__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 26px;
	border-radius: 999px;
	border: 0;
	background: var(--tw-gradient-primary);
	color: #FFFFFF;
	font-family: var(--tw-font-sans);
	font-size: 0.92rem;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	box-shadow: var(--tw-shadow-btn);
	transition: all 0.2s ease;
}

.tw-hero-search__btn:hover {
	background: var(--tw-gradient-primary-hover);
	transform: translateY(-1px);
	box-shadow: var(--tw-shadow-lg);
}

/* Executive Hero CTA Action Buttons */
.tw-hero-cta-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0 0 24px;
}

/* Responsive visibility: Desktop Search Bar vs. Mobile Explore Quotes CTA Button */
@media (min-width: 769px) {
	.tw-hero-search-wrap--desktop {
		display: block !important;
	}
	.tw-hero-cta-actions--mobile {
		display: none !important;
	}
}

@media (max-width: 768px) {
	.tw-hero-search-wrap--desktop {
		display: none !important;
	}
	.tw-hero-cta-actions--mobile {
		display: flex !important;
	}
}

.tw-hero-explore-btn {
	padding: 11px 26px !important;
	font-size: 0.94rem !important;
	font-weight: 700 !important;
	border-radius: 999px !important;
	box-shadow: 0 6px 20px -2px rgba(9, 104, 229, 0.42) !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	text-decoration: none !important;
	transition: all 0.25s ease !important;
}

.tw-hero-explore-btn:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 10px 26px -2px rgba(9, 104, 229, 0.58) !important;
}

.tw-hero-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 12px 24px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.94rem;
	transition: all 0.22s ease;
	cursor: pointer;
	text-decoration: none;
}

.tw-hero-cta-btn--glass {
	background: rgba(255, 255, 255, 0.12) !important;
	border: 1px solid rgba(255, 255, 255, 0.28) !important;
	color: #FFFFFF !important;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.tw-hero-cta-btn--glass:hover {
	background: rgba(255, 255, 255, 0.22) !important;
	border-color: rgba(255, 255, 255, 0.5) !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	color: #FFFFFF !important;
}

/* 5. Quick Filter / Scope Pills (Dark Frosted Glass Over Mountain Backdrop) */
.tw-hero-pills,
.tw-hero__scopes {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
}

.tw-hero-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: rgba(15, 23, 42, 0.52);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: rgba(255, 255, 255, 0.92);
	font-family: var(--tw-font-sans);
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(4, 12, 32, 0.22);
	transition: all 0.2s ease;
}

.tw-hero-pill i {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.85);
}

.tw-hero-pill:hover {
	border-color: var(--tw-border-hover);
	color: #FFFFFF;
	background: var(--tw-gradient-primary);
	transform: translateY(-1px);
}

.tw-hero-pill.is-active {
	background: var(--tw-gradient-primary);
	border-color: transparent;
	color: #FFFFFF;
	box-shadow: var(--tw-shadow-btn);
}

.tw-hero-pill.is-active i {
	color: #FFFFFF;
}

/* 6. Trending Topics Row */
.tw-hero-trending {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.tw-hero-trending__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.84rem;
	font-weight: 700;
	color: #FFFFFF;
	margin-right: 2px;
}

.tw-hero-trending__label i {
	color: #ffa200;
}

.tw-hero-trending__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
}

.tw-hero-trending__tag {
	display: inline-flex;
	align-items: center;
	padding: 5px 13px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.48);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.16);
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.78rem;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.18s ease;
}

.tw-hero-trending__tag:hover {
	background: var(--tw-gradient-primary);
	border-color: var(--tw-border-hover);
	color: #FFFFFF;
	transform: translateY(-1px);
}

/* Right Column: Floating Quote Card + Poetic Motto Watermark */
.tw-hero__aside {
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
	padding-top: 22px;
}

.tw-hero-showcase {
	position: relative;
	display: flex;
	align-items: center;
	gap: 24px;
}

.tw-hero-quote-card {
	position: relative;
	width: 268px;
	transform: rotate(-1.5deg);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.tw-hero-quote-card:hover {
	transform: rotate(0deg) translateY(-4px);
}

.tw-hero-quote-card__orbit {
	position: absolute;
	inset: -18px -14px -22px -14px;
	border-radius: 50%;
	border: 1.2px solid rgba(96, 165, 250, 0.46);
	transform: rotate(-22deg);
	pointer-events: none;
}

.tw-hero-quote-card__inner {
    position: relative;
    z-index: 2;
    backdrop-filter: blur(16px);
    box-shadow: rgba(4, 12, 32, 0.22) 0px 24px 50px -14px;
    padding: 22px 22px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.18);
    border-width: 1px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.35);
    border-image: none;
}
.tw-hero-quote-card__mark {
	display: block;
	font-family: Georgia, serif;
	font-size: 2.6rem;
	line-height: 0.75;
	font-weight: 700;
	color: var(--tw-primary);
	margin-bottom: 8px;
}

.tw-hero-quote-card__text {
	font-family: var(--tw-font-serif);
	font-size: 1.02rem;
	font-weight: 500;
	line-height: 1.42;
	color: #0F172A !important;
	margin: 0 0 10px;
}

.tw-hero-quote-card__author {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	color: #475569;
	margin-bottom: 14px;
}

.tw-hero-quote-card__footer {
	display: flex;
	align-items: center;
	gap: 10px;
}

.tw-hero-quote-card__avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid var(--tw-border-hover);
	flex-shrink: 0;
	display: block;
}

.tw-hero-quote-card__avatar img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center top !important;
	display: block !important;
}

.tw-hero-quote-card__verified {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--tw-accent-soft);
	border: 1px solid var(--tw-border-hover);
	color: var(--tw-primary);
	font-size: 0.72rem;
	font-weight: 700;
}

.tw-hero-quote-card__verified i {
	color: var(--tw-primary);
	font-size: 0.76rem;
}

.tw-hero-motto {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	font-family: var(--tw-font-serif);
	font-style: italic;
	font-size: 0.88rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.76);
	text-shadow: 0 2px 8px rgba(4, 12, 32, 0.45);
	user-select: none;
}

.tw-hero-motto__line {
	display: block;
	width: 28px;
	height: 1px;
	background: rgba(255, 255, 255, 0.48);
	margin-top: 8px;
}

/* Bottom Center Scroll To Explore Indicator */
.tw-hero-scroll {
	position: absolute;
	left: 50%;
	bottom: 14px;
	transform: translateX(-50%);
	z-index: 29;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	text-decoration: none;
	color: rgba(255, 255, 255, 0.9);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.tw-hero-scroll:hover {
	color: #FFFFFF;
	transform: translateX(-50%) translateY(-2px);
}

.tw-hero-scroll__mouse {
	width: 18px;
	height: 28px;
	border-radius: 999px;
	border: 1.6px solid rgba(255, 255, 255, 0.82);
	display: inline-flex;
	justify-content: center;
	padding-top: 5px;
	box-shadow: 0 2px 10px rgba(4, 12, 32, 0.35);
}

.tw-hero-scroll__wheel {
	width: 2.5px;
	height: 6px;
	border-radius: 999px;
	background: #FFFFFF;
	animation: twHeroScrollWheel 1.7s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes twHeroScrollWheel {
	0% {
		opacity: 1;
		transform: translateY(0);
	}
	70% {
		opacity: 0.25;
		transform: translateY(8px);
	}
	100% {
		opacity: 0;
		transform: translateY(10px);
	}
}

.tw-hero-scroll__text {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.92);
	text-shadow: 0 2px 8px rgba(4, 12, 32, 0.6);
}

.tw-hero-scroll__line {
	width: 1px;
	height: 20px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0) 100%);
}

/* 3 Counter Cards Strip at Bottom of Hero Box */
.tw-hero-stats {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid rgba(199, 216, 255, 0.75);
}

.tw-hero-stat-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 15px 18px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid #DCE5F2;
	box-shadow: 0 8px 22px -10px rgba(9, 104, 229, 0.14);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tw-hero-stat-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 28px -10px rgba(79, 70, 229, 0.22);
}

.tw-hero-stat-card__icon {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	flex-shrink: 0;
}

.tw-hero-stat-card--blue .tw-hero-stat-card__icon {
	background: #EAF2FF;
	color: #0968E5;
}
.tw-hero-stat-card--indigo .tw-hero-stat-card__icon,
.tw-hero-stat-card--purple .tw-hero-stat-card__icon {
	background: #EEF2FF;
	color: #4F46E5;
}
.tw-hero-stat-card--violet .tw-hero-stat-card__icon,
.tw-hero-stat-card--pink .tw-hero-stat-card__icon {
	background: #F3E8FF;
	color: #9333EA;
}
.tw-hero-stat-card--emerald .tw-hero-stat-card__icon,
.tw-hero-stat-card--green .tw-hero-stat-card__icon {
	background: #ECFDF5;
	color: #10B981;
}

.tw-hero-stat-card__info,
.tw-hero-stat-card__content {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.tw-hero-stat-card__number {
	font-size: 1.32rem;
	font-weight: 800;
	line-height: 1.15;
	color: #0F172A;
	letter-spacing: -0.02em;
}

.tw-hero-stat-card__label {
	font-size: 0.78rem;
	font-weight: 600;
	color: #475569;
	margin-top: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Live Search Suggestion Panel & Shimmering Skeleton Loader */
.tw-search-suggest-panel {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	right: 0;
	background: #FFFFFF;
	border: 1.5px solid #C7D8FF;
	border-radius: 18px;
	box-shadow: 0 26px 56px -12px rgba(15, 23, 42, 0.24), 0 8px 20px -6px rgba(9, 104, 229, 0.12);
	padding: 16px;
	z-index: 120;
	max-height: 430px;
	overflow-y: auto;
	text-align: left;
}

.tw-search-suggest-panel[hidden] {
	display: none !important;
}

.tw-suggest-group + .tw-suggest-group {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #E2E8F0;
}

.tw-suggest-group__title {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #0968E5;
	margin: 0 0 8px 4px;
}

.tw-suggest-authors {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 8px !important;
}

.tw-suggest-quotes {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.tw-suggest-author {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 10px !important;
	padding: 9px 11px;
	border-radius: 12px;
	background: #F8FAFF;
	border: 1px solid #E2E8F0;
	text-decoration: none;
	color: #0F172A;
	min-width: 0;
	transition: all 0.16s ease;
}

.tw-suggest-author__arrow {
	margin-left: auto;
	color: #94A3B8;
	font-size: 0.72rem;
	flex-shrink: 0;
	transition: transform 0.16s ease, color 0.16s ease;
}

.tw-suggest-author:hover .tw-suggest-author__arrow {
	color: #0968E5;
	transform: translateX(2px);
}

.tw-suggest-quote {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	gap: 4px !important;
	padding: 10px 12px;
	border-radius: 12px;
	background: #F8FAFF;
	border: 1px solid #E2E8F0;
	text-decoration: none;
	color: #0F172A;
	transition: all 0.16s ease;
}

.tw-suggest-author:hover,
.tw-suggest-quote:hover {
	background: #EAF2FF;
	border-color: #93C5FD;
	transform: translateX(2px);
}

.tw-suggest-author__avatar-wrap {
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	max-width: 40px !important;
	flex: 0 0 40px !important;
	border-radius: 50% !important;
	overflow: hidden !important;
	border: 2px solid #C7D8FF;
	background: #EAF2FF;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.tw-suggest-author__avatar {
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	max-width: 40px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	object-position: center top !important;
	flex-shrink: 0 !important;
	display: block !important;
}

.tw-suggest-author__avatar--fallback {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #0968E5 0%, #6D28D9 100%);
	color: #FFFFFF;
	font-size: 0.78rem;
	font-weight: 800;
}

.tw-suggest-author__info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
	min-width: 0;
}

.tw-suggest-author__info strong {
	font-size: 0.9rem;
	font-weight: 800;
	color: #0F172A;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tw-suggest-author__info span,
.tw-suggest-quote__meta {
	font-size: 0.76rem;
	font-weight: 600;
	color: #475569;
}

.tw-suggest-quote__text {
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.45;
	color: #0F172A;
}

.tw-suggest-topics {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.tw-suggest-highlight {
	background: #DBEAFE;
	color: #0968E5;
	font-weight: 800;
	padding: 0 3px;
	border-radius: 4px;
}

/* Search Suggestion Skeleton Loader */
@keyframes twSkeletonShimmer {
	0% {
		background-position: -200% 0;
	}
	100% {
		background-position: 200% 0;
	}
}

.tw-suggest-skeleton {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 4px 2px;
}

.tw-suggest-skeleton__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.tw-suggest-skeleton__typing {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.75rem;
	font-weight: 700;
	color: #0968E5;
}

.tw-suggest-skeleton__row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 10px;
	border-radius: 12px;
	background: #F8FAFF;
	border: 1px solid #E2E8F0;
}

.tw-suggest-skeleton__lines {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.tw-suggest-skeleton__quotes {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.tw-suggest-skeleton__quote-item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 10px 12px;
	border-radius: 12px;
	background: #F8FAFF;
	border: 1px solid #E2E8F0;
}

.tw-suggest-skeleton__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tw-skel-circle,
.tw-skel-line,
.tw-skel-pill {
	background: linear-gradient(90deg, #E2E8F0 25%, #F1F5F9 50%, #E2E8F0 75%);
	background-size: 200% 100%;
	animation: twSkeletonShimmer 1.35s infinite linear;
}

.tw-skel-circle {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	flex-shrink: 0;
}

.tw-skel-line {
	height: 11px;
	border-radius: 999px;
}

.tw-skel-line--label {
	width: 110px;
	height: 10px;
}

.tw-skel-line--title {
	width: 58%;
	height: 12px;
}

.tw-skel-line--sub {
	width: 38%;
	height: 10px;
}

.tw-skel-line--quote {
	width: 88%;
	height: 12px;
}

.tw-skel-pill {
	width: 82px;
	height: 28px;
	border-radius: 999px;
}

/* ==========================================================================
   2. QUOTE OF THE DAY (HORIZONTAL SPLIT CARD) & TODAY IN HISTORY (BOTTOM WIDE CARD)
   ========================================================================== */
.tw-section--qotd-hero {
	background: linear-gradient(180deg, #F6F9FF 0%, #FFFFFF 100%);
	border-bottom: 1px solid #E2E8F0;
}

/* QOTD Slider: one stable outer shell (border/shadow/radius) + layered slides that crossfade
   smoothly inside it, so the card never "breaks", doubles borders, or jumps during a change. */
.tw-qotd-split-slider {
	display: grid;
	grid-template-areas: "qotd-slide";
	position: relative;
	margin-bottom: 26px;
	background: #FFFFFF;
	border: 1px solid #DCE5F2;
	border-radius: 24px;
	overflow: hidden;
	isolation: isolate;
	box-shadow: 0 20px 46px -18px rgba(15, 23, 42, 0.12), 0 6px 18px -8px rgba(9, 104, 229, 0.08);
}

.tw-qotd-split-card {
	grid-area: qotd-slide;
	display: grid !important;
	grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
	gap: 0;
	padding: 0 !important;
	background: #FFFFFF;
	border: 0 !important;
	border-radius: 0 !important;
	overflow: hidden;
	box-shadow: none !important;
	height: auto;
	transform: none !important;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	z-index: 1;
	/* Leaving slide: stays fully visible underneath, then fades out after the new slide has faded in. */
	transition: opacity 0.6s ease 0.75s, visibility 0s linear 1.35s !important;
}

.tw-qotd-split-card.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 2;
	/* Entering slide: fades in on top of the previous one. */
	transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1) 0s, visibility 0s linear 0s !important;
}

.tw-qotd-split-card:hover {
	transform: none !important;
	box-shadow: none !important;
}

/* Gentle staggered entrance for the active slide content */
@keyframes twQotdImageSettle {
	from {
		transform: scale(1.07);
	}
	to {
		transform: scale(1);
	}
}

@keyframes twQotdContentRise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.tw-qotd-split-card.is-active .tw-qotd-split-card__img {
	animation: twQotdImageSettle 1.6s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.tw-qotd-split-card.is-active .tw-qotd-split-card__body > * {
	animation: twQotdContentRise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tw-qotd-split-card.is-active .tw-qotd-split-card__body > *:nth-child(1) { animation-delay: 0.1s; }
.tw-qotd-split-card.is-active .tw-qotd-split-card__body > *:nth-child(2) { animation-delay: 0.18s; }
.tw-qotd-split-card.is-active .tw-qotd-split-card__body > *:nth-child(3) { animation-delay: 0.26s; }
.tw-qotd-split-card.is-active .tw-qotd-split-card__body > *:nth-child(4) { animation-delay: 0.34s; }
.tw-qotd-split-card.is-active .tw-qotd-split-card__body > *:nth-child(5) { animation-delay: 0.42s; }

@media (prefers-reduced-motion: reduce) {
	.tw-qotd-split-card,
	.tw-qotd-split-card.is-active {
		transition: none !important;
	}
	.tw-qotd-split-card.is-active .tw-qotd-split-card__img,
	.tw-qotd-split-card.is-active .tw-qotd-split-card__body > * {
		animation: none !important;
	}
}

.tw-qotd-split-card__media {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 410px;
	overflow: hidden;
	background: #EAF2FF;
}

.tw-qotd-split-card__media-link {
	display: block;
	width: 100%;
	height: 100%;
	position: relative;
}

.tw-qotd-split-card__img {
	width: 100% !important;
	height: 100% !important;
	min-height: 410px;
	object-fit: cover !important;
	object-position: center !important;
	display: block !important;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.tw-qotd-split-card:hover .tw-qotd-split-card__img {
	transform: scale(1.035);
}

.tw-qotd-split-card__media-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.22) 0%, rgba(15, 23, 42, 0) 35%, rgba(15, 23, 42, 0) 68%, rgba(15, 23, 42, 0.52) 100%);
	pointer-events: none;
}

.tw-qotd-split-card__cat-badge {
	position: absolute;
	top: 18px;
	left: 18px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.68);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.28);
	color: #FFFFFF !important;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
	transition: all 0.2s ease;
}

a.tw-qotd-split-card__cat-badge:hover {
	background: var(--tw-gradient-primary);
	border-color: rgba(255, 255, 255, 0.5);
	transform: translateY(-1px);
}

.tw-qotd-split-card__media-dots {
	position: absolute;
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%);
	z-index: 4;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.58);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.26);
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.28);
}

.tw-qotd-split-card__dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	border: 0;
	padding: 0;
	background: rgba(255, 255, 255, 0.55);
	cursor: pointer;
	transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease, transform 0.25s ease;
}

.tw-qotd-split-card__dot:hover {
	background: rgba(255, 255, 255, 0.9);
}

.tw-qotd-split-card__dot.is-active {
	width: 24px;
	background: linear-gradient(90deg, #38BDF8 0%, #A855F7 100%);
	box-shadow: 0 0 10px rgba(168, 85, 247, 0.65);
}

.tw-qotd-split-card__body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 32px 36px;
	background: #FFFFFF;
	min-width: 0;
}

.tw-qotd-split-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.tw-qotd-split-card__date-pill {
	margin-bottom: 0 !important;
}

.tw-qotd-date-short {
	display: none;
}

.tw-qotd-split-card__nav {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.tw-qotd-split-card__counter {
	font-size: 0.76rem;
	font-weight: 700;
	color: #64748B;
	padding: 4px 10px;
	border-radius: 999px;
	background: #F8FAFC;
	border: 1px solid #E2E8F0;
	margin-right: 2px;
}

.tw-slider-circle-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid #DCE5F2;
	background: #F8FAFF;
	color: #334155;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.78rem;
	cursor: pointer;
	transition: all 0.18s ease;
}

.tw-slider-circle-btn:hover {
	background: var(--tw-gradient-primary);
	border-color: transparent;
	color: #FFFFFF;
	box-shadow: 0 6px 14px -4px rgba(79, 70, 229, 0.36);
}

.tw-qotd-split-card__title-wrap {
	margin-bottom: 18px;
}

.tw-qotd-split-card__heading {
	font-size: clamp(1.85rem, 2.6vw, 2.35rem);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 10px !important;
	color: #0F172A;
}

.tw-qotd-split-card__accent-bar {
	display: block;
	width: 48px;
	height: 4px;
	border-radius: 999px;
	background: var(--tw-gradient-primary, linear-gradient(90deg, #0968E5 0%, #9333EA 100%));
}

.tw-qotd-split-card__quote-row {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 22px;
}

.tw-qotd-split-card__mark {
	font-family: Georgia, serif;
	font-size: 4.2rem;
	line-height: 0.78;
	font-weight: 700;
	color: #DDD6FE;
	user-select: none;
	flex-shrink: 0;
	margin-top: 4px;
}

.tw-qotd-split-card__blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	flex: 1;
	min-width: 0;
}

.tw-qotd-split-card__quote-text {
	font-family: var(--tw-font-sans);
	font-size: clamp(1.22rem, 1.75vw, 1.52rem);
	font-weight: 500;
	line-height: 1.48;
	color: #0F172A !important;
	text-decoration: none;
	display: block;
	transition: color 0.16s ease;
}

.tw-qotd-split-card__quote-text:hover {
	color: #0968E5 !important;
}

/* QOTD Author Row (Left 54x54 Circular Portrait | Right 2-Line Stacked Name+BlueTick & Lifespan Div) */
.tw-qotd-split-card__author-row {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 24px;
}

.tw-qotd-split-card__avatar {
	width: 54px !important;
	height: 54px !important;
	min-width: 54px !important;
	max-width: 54px !important;
	flex: 0 0 54px !important;
	border-radius: 50% !important;
	overflow: hidden !important;
	border: 2.5px solid #C7D8FF;
	background: var(--tw-gradient-primary);
	color: #FFFFFF;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.92rem;
	font-weight: 800;
	box-shadow: 0 4px 12px rgba(9, 104, 229, 0.16);
}

.tw-qotd-split-card__avatar img {
	width: 100% !important;
	height: 100% !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	object-position: center top !important;
	display: block !important;
}

.tw-qotd-split-card__author-info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 3px;
	min-width: 0;
}

.tw-qotd-split-card__author-top {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 5px;
	line-height: 1.25;
}

.tw-qotd-split-card__author-name {
	font-size: 1.02rem;
	font-weight: 800;
	color: #0F172A;
	text-decoration: none;
}

.tw-qotd-split-card__author-name:hover {
	color: #0968E5;
}

.tw-qotd-split-card__lifespan {
	display: block;
	font-size: 0.84rem;
	font-weight: 600;
	color: #64748B;
	line-height: 1.25;
}

/* QOTD Bottom Actions Bar — Uniform 38px Height Across Like, Copy, Share, Download & Visit */
.tw-qotd-split-card__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 18px;
	border-top: 1px solid #E2E8F0;
}

.tw-qotd-split-card__actions-left {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 8px;
}

.tw-qotd-split-card__actions-right {
	display: flex;
	align-items: center;
	gap: 8px;
}

.tw-qotd-split-card__divider {
	width: 1px;
	height: 22px;
	background: #CBD5E1;
	margin: 0 2px;
}

.tw-qotd-split-card__actions .tw-action-btn,
.tw-qotd-split-card__download {
	height: 38px !important;
	min-height: 38px !important;
	padding: 0 15px !important;
	border-radius: 999px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 7px !important;
	font-size: 0.84rem !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	background: #F8FAFF !important;
	border: 1px solid #DCE5F2 !important;
	color: #334155 !important;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: all 0.2s ease !important;
}

.tw-qotd-split-card__actions .tw-action-btn:hover,
.tw-qotd-split-card__download:hover {
	background: #EAF2FF !important;
	border-color: #93C5FD !important;
	color: #0968E5 !important;
	transform: translateY(-1px);
}

.tw-qotd-split-card__actions .tw-like-btn.is-liked {
	background: #FFF1F2 !important;
	border-color: #FECDD3 !important;
	color: #E11D48 !important;
}

.tw-qotd-split-card__visit {
	height: 38px !important;
	min-height: 38px !important;
	padding: 0 20px !important;
	border-radius: 999px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 7px !important;
	font-size: 0.84rem !important;
	font-weight: 700 !important;
	line-height: 1 !important;
}

/* Bottom Full-Width Card: Today in History (Born on this Day & Died on this Day) */
.tw-history-wide-card {
	background: #FFFFFF;
	border: 1px solid #DCE5F2;
	border-radius: 24px;
	padding: 24px 28px;
	box-shadow: 0 16px 38px -18px rgba(15, 23, 42, 0.1);
}

.tw-history-wide-card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.tw-history-wide-card__head-left {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.tw-history-wide-card__book-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #EAF2FF;
	border: 1px solid #BFDBFE;
	color: #0968E5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.15rem;
	flex-shrink: 0;
}

.tw-history-wide-card__title {
	font-size: 1.25rem;
	font-weight: 800;
	color: #0F172A;
	margin: 0 0 2px;
	line-height: 1.25;
}

.tw-history-wide-card__subtitle {
	font-size: 0.88rem;
	font-weight: 500;
	color: #64748B !important;
	margin: 0;
	line-height: 1.45;
}

.tw-history-wide-card__date-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 15px;
	border-radius: 999px;
	background: #F8FAFF;
	border: 1px solid #C7D8FF;
	color: #0968E5;
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: all 0.18s ease;
}

.tw-history-wide-card__date-pill:hover {
	background: #EAF2FF;
	border-color: #93C5FD;
}

.tw-history-wide-card__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.tw-history-panel {
	border-radius: 18px;
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tw-history-panel--birth {
	background: #F2FBF7;
	border: 1px solid #D1FAE5;
}

.tw-history-panel--death {
	background: #FFF6F7;
	border: 1px solid #FFE4E6;
}

.tw-history-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.tw-history-panel__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.92rem;
	font-weight: 800;
}

.tw-history-panel__label--birth {
	color: #059669;
}

.tw-history-panel__label--death {
	color: #E11D48;
}

.tw-history-panel__icon {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
}

.tw-history-panel__label--birth .tw-history-panel__icon {
	background: #D1FAE5;
	color: #059669;
}

.tw-history-panel__label--death .tw-history-panel__icon {
	background: #FFE4E6;
	color: #E11D48;
}

.tw-history-panel__link {
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.tw-history-panel__link--birth {
	color: #059669;
}

.tw-history-panel__link--death {
	color: #E11D48;
}

.tw-history-panel__link:hover {
	text-decoration: underline;
}

.tw-almanac-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tw-almanac-list__li {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.tw-almanac-list__item {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 12px 16px;
	border-radius: 14px;
	background: #FFFFFF;
	border: 1px solid rgba(226, 232, 240, 0.9);
	box-shadow: 0 4px 12px -6px rgba(15, 23, 42, 0.05);
	text-decoration: none;
	transition: all 0.2s ease;
}

.tw-almanac-list__item:hover {
	border-color: #93C5FD;
	transform: translateY(-2px);
	box-shadow: 0 10px 22px -10px rgba(9, 104, 229, 0.16);
}

.tw-almanac-list__avatar-wrap {
	width: 50px !important;
	height: 50px !important;
	min-width: 50px !important;
	max-width: 50px !important;
	flex: 0 0 50px !important;
	border-radius: 50% !important;
	overflow: hidden !important;
	border: 2px solid #E2E8F0;
	background: #EAF2FF;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.tw-almanac-list__avatar {
	width: 50px !important;
	height: 50px !important;
	min-width: 50px !important;
	max-width: 50px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	object-position: center top !important;
	display: block !important;
}

.tw-almanac-list__avatar-fallback {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #EAF2FF;
	color: #0968E5;
	font-size: 0.9rem;
}

.tw-almanac-list__text {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 3px;
}

.tw-almanac-list__name-row {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	max-width: 100%;
	min-width: 0;
	line-height: 1.25;
}

.tw-almanac-list__name-row strong {
	font-size: 0.96rem;
	font-weight: 800;
	color: #0F172A;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tw-almanac-list__years {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	color: #64748B;
	line-height: 1.25;
	white-space: nowrap;
}

.tw-almanac-list__arrow-btn {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #F4F7FC;
	border: 1px solid #DCE5F2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: all 0.18s ease;
}

.tw-almanac-list__arrow {
	color: #0968E5;
	font-size: 0.72rem;
	transition: transform 0.18s ease, color 0.18s ease;
}

.tw-almanac-list__item:hover .tw-almanac-list__arrow-btn {
	background: var(--tw-gradient-primary);
	border-color: transparent;
}

.tw-almanac-list__item:hover .tw-almanac-list__arrow {
	color: #FFFFFF;
	transform: translateX(1px);
}

.tw-almanac-empty-box {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border-radius: 14px;
	background: #FFFFFF;
	border: 1px dashed #CBD5E1;
}

.tw-almanac-empty-box__icon {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: #F8FAFC;
	color: #4F46E5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.9rem;
	flex-shrink: 0;
	border: 1px solid #DCE5F2;
}

.tw-almanac-empty-box__text {
	flex: 1;
	min-width: 0;
}

.tw-almanac-empty-box__text strong {
	display: block;
	font-size: 0.86rem;
	font-weight: 700;
	color: #0F172A;
}

.tw-almanac-empty-box__text p {
	margin: 2px 0 0;
	font-size: 0.78rem;
	color: #475569 !important;
}

.tw-almanac-empty-link {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #F8FAFF;
	border: 1px solid #C7D8FF;
	color: #0968E5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	flex-shrink: 0;
	text-decoration: none;
	transition: all 0.18s ease;
}

.tw-almanac-empty-link:hover {
	background: var(--tw-gradient-primary);
	border-color: transparent;
	color: #FFFFFF;
}

/* ==========================================================================
   3. BROWSE POPULAR TOPICS — FEATURED TOPIC SLIDER + 2X5 RICH GRID + MORE TOPICS CAROUSEL
   ========================================================================== */
.tw-section--topics-bg {
	background: linear-gradient(135deg, #EFF6FF 0%, #F4F2FF 55%, #F0F9FF 100%);
	border-top: 1px solid #DCE5F2;
	border-bottom: 1px solid #DCE5F2;
}

.tw-topics-showcase-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
	gap: 22px;
	align-items: stretch;
	margin-bottom: 24px;
}

/* Left Column: Featured Topic Hero Slider (Increased Width + Smooth Grid Crossfade + Dots Only) */
.tw-topic-featured-slider {
	position: relative;
	display: grid;
	grid-template-areas: "featured-topic";
	border-radius: 24px;
	overflow: hidden;
	min-height: 460px;
	background: #0F172A;
	box-shadow: 0 20px 44px -16px rgba(15, 23, 42, 0.24);
	border: 1px solid rgba(255, 255, 255, 0.25);
}

.tw-topic-featured-slide {
	grid-area: featured-topic;
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 460px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 28px 30px;
	z-index: 1;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	/* Leaving slide stays visible underneath, then fades after the new slide is fully in. */
	transition: opacity 0.7s ease 0.9s, visibility 0s linear 1.6s;
}

.tw-topic-featured-slide.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 2;
	transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1) 0s, visibility 0s linear 0s;
}

@keyframes twTopicKenBurns {
	from {
		transform: scale(1.1);
	}
	to {
		transform: scale(1);
	}
}

@keyframes twTopicContentRise {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.tw-topic-featured-slide.is-active .tw-topic-featured-slide__bg {
	animation: twTopicKenBurns 2.2s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.tw-topic-featured-slide.is-active .tw-topic-featured-slide__top {
	animation: twTopicContentRise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.tw-topic-featured-slide.is-active .tw-topic-featured-slide__content > * {
	animation: twTopicContentRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tw-topic-featured-slide.is-active .tw-topic-featured-slide__content > *:nth-child(1) { animation-delay: 0.25s; }
.tw-topic-featured-slide.is-active .tw-topic-featured-slide__content > *:nth-child(2) { animation-delay: 0.35s; }
.tw-topic-featured-slide.is-active .tw-topic-featured-slide__content > *:nth-child(3) { animation-delay: 0.45s; }
.tw-topic-featured-slide.is-active .tw-topic-featured-slide__content > *:nth-child(4) { animation-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
	.tw-topic-featured-slide,
	.tw-topic-featured-slide.is-active {
		transition: none;
	}
	.tw-topic-featured-slide.is-active .tw-topic-featured-slide__bg,
	.tw-topic-featured-slide.is-active .tw-topic-featured-slide__top,
	.tw-topic-featured-slide.is-active .tw-topic-featured-slide__content > * {
		animation: none;
	}
}

.tw-topic-featured-slide__bg {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center !important;
	z-index: -2;
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.tw-topic-featured-slider:hover .tw-topic-featured-slide.is-active .tw-topic-featured-slide__bg {
	transform: scale(1.045);
}
.tw-topic-featured-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(0 0 0 / 16%) 0%, rgb(0 0 0 / 42%) 45%, rgb(0 0 0 / 88%) 100%);
    z-index: -1;
}

.tw-topic-featured-slide__top {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.tw-topic-featured-slide__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 999px;
	background: linear-gradient(90deg, #6366F1 0%, #8B5CF6 100%);
	color: #FFFFFF;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border: 1px solid rgba(255, 255, 255, 0.35);
	box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

.tw-topic-featured-slide__content {
	margin-top: auto;
	padding-top: 40px;
	max-width: 480px;
}

.tw-topic-featured-slide__pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	color: #FFFFFF;
	font-size: 0.9rem;
	font-weight: 700;
}

.tw-topic-featured-slide__pill-icon {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #FFFFFF;
	color: #059669;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.82rem;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.tw-topic-featured-slide__title {
	font-family: var(--tw-font-serif);
	font-size: clamp(1.85rem, 2.6vw, 2.35rem);
	font-weight: 700;
	line-height: 1.16;
	color: #FFFFFF !important;
	margin: 0 0 10px;
	text-shadow: 0 2px 12px rgba(15, 23, 42, 0.35);
}

.tw-topic-featured-slide__desc {
	font-size: 0.94rem;
	line-height: 1.56;
	color: rgba(255, 255, 255, 0.92) !important;
	margin: 0 0 22px;
	max-width: 420px;
}

.tw-topic-featured-slide__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 22px;
	border-radius: 999px;
	background: #FFFFFF;
	color: #0F172A !important;
	font-size: 0.88rem;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.35);
	transition: all 0.2s ease;
}

.tw-topic-featured-slide__btn:hover {
	background: var(--tw-gradient-primary);
	color: #FFFFFF !important;
	transform: translateY(-2px);
}

.tw-topic-featured-slider__controls {
	position: absolute;
	right: 24px;
	bottom: 26px;
	z-index: 5;
	display: flex;
	align-items: center;
}

.tw-topic-featured-slider__dots {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 13px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.52);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.25);
}

.tw-topic-featured-slider__dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	border: 0;
	padding: 0;
	background: rgba(255, 255, 255, 0.58);
	cursor: pointer;
	transition: width 0.32s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease;
}

.tw-topic-featured-slider__dot:hover {
	background: rgba(255, 255, 255, 0.92);
}

.tw-topic-featured-slider__dot.is-active {
	width: 24px;
	background: linear-gradient(90deg, #60A5FA 0%, #A855F7 100%);
}

/* Right Column: 2x5 Topic Cards Grid — Larger Image, Taller Cards, Tighter Gap, Smooth Hover */
.tw-topics-rich-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-rows: minmax(84px, 1fr);
	gap: 8px;
	align-content: stretch;
}

.tw-topic-rich-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 8px 14px 8px 8px;
	min-height: 84px;
	height: 100%;
	border-radius: 16px;
	background: #FFFFFF;
	border: 1px solid #DCE5F2;
	text-decoration: none;
	box-shadow: 0 6px 16px -10px rgba(15, 23, 42, 0.08);
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, background-color 0.35s ease;
	min-width: 0;
	will-change: transform;
}

.tw-topic-rich-card:hover {
	transform: translateY(-3px);
	border-color: #A5C8FF;
	background: #FBFCFF;
	box-shadow: 0 16px 30px -14px rgba(9, 104, 229, 0.22);
}

.tw-topic-rich-card__media {
	width: 86px !important;
	min-width: 86px !important;
	max-width: 86px !important;
	flex: 0 0 86px !important;
	height: auto !important;
	min-height: 66px;
	align-self: stretch;
	border-radius: 12px;
	overflow: hidden;
	background: #EAF2FF;
	display: block;
}

.tw-topic-rich-card__img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center !important;
	display: block !important;
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.tw-topic-rich-card:hover .tw-topic-rich-card__img {
	transform: scale(1.07);
}

.tw-topic-rich-card__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.tw-topic-rich-card__name {
	font-size: 0.98rem;
	font-weight: 800;
	color: #0F172A;
	line-height: 1.24;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color 0.35s ease;
}

.tw-topic-rich-card:hover .tw-topic-rich-card__name {
	color: #0968E5;
}

.tw-topic-rich-card__count {
	font-size: 0.78rem;
	font-weight: 600;
	color: #64748B;
	line-height: 1.24;
}

.tw-topic-rich-card__arrow {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #F4F7FC;
	color: #64748B;
	font-size: 0.7rem;
	flex-shrink: 0;
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), color 0.35s ease, background-color 0.35s ease;
}

.tw-topic-rich-card:hover .tw-topic-rich-card__arrow {
	color: #FFFFFF;
	background: var(--tw-gradient-primary);
	transform: translateX(3px);
}

/* Bottom Full-Width Horizontal Carousel Card: "More Topics To Explore" */
.tw-more-topics-box {
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid #DCE5F2;
	border-radius: 24px;
	padding: 22px 26px;
	box-shadow: 0 14px 34px -16px rgba(15, 23, 42, 0.08);
}

.tw-more-topics-box__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.tw-more-topics-box__head-left {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.tw-more-topics-box__star {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: linear-gradient(135deg, #EEF2FF 0%, #F3E8FF 100%);
	border: 1px solid #DDD6FE;
	color: #7C3AED;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.05rem;
	flex-shrink: 0;
}

.tw-more-topics-box__title {
	font-size: 1.22rem;
	font-weight: 800;
	color: #0F172A;
	margin: 0 0 2px;
	line-height: 1.25;
}

.tw-more-topics-box__subtitle {
	font-size: 0.86rem;
	font-weight: 500;
	color: #64748B !important;
	margin: 0;
}

.tw-more-topics-box__nav {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.tw-more-topics-slider-wrap {
	position: relative;
	overflow: hidden;
}

.tw-more-topics-track {
	display: flex;
	align-items: stretch;
	gap: 14px;
	overflow-x: auto;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 4px 2px 6px;
}

.tw-more-topics-track::-webkit-scrollbar {
	display: none;
}

.tw-more-topic-card {
	flex: 0 0 148px;
	width: 148px;
	border-radius: 16px;
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	overflow: hidden;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	box-shadow: 0 6px 16px -10px rgba(15, 23, 42, 0.08);
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease;
}

.tw-more-topic-card:hover {
	transform: translateY(-4px);
	border-color: #93C5FD;
	box-shadow: 0 14px 26px -10px rgba(9, 104, 229, 0.2);
}

.tw-more-topic-card__media {
	width: 100%;
	height: 86px;
	overflow: hidden;
	background: #EAF2FF;
	display: block;
}

.tw-more-topic-card__img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center !important;
	display: block !important;
	transition: transform 0.35s ease;
}

.tw-more-topic-card:hover .tw-more-topic-card__img {
	transform: scale(1.08);
}

.tw-more-topic-card__body {
	padding: 10px 10px 12px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
}

.tw-more-topic-card__name {
	font-size: 0.88rem;
	font-weight: 800;
	color: #0F172A;
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

.tw-more-topic-card__count {
	font-size: 0.75rem;
	font-weight: 600;
	color: #64748B;
}

.tw-more-topics-edge-btn {
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid #C7D8FF;
	background: #FFFFFF;
	color: #0968E5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.78rem;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
	z-index: 4;
	transition: all 0.18s ease;
}

.tw-more-topics-edge-btn:hover {
	background: var(--tw-gradient-primary);
	border-color: transparent;
	color: #FFFFFF;
}

/* ==========================================================================
   4. BROWSE POPULAR CATEGORIES — 2-COLUMN HORIZONTAL SPLIT CARDS WITH IMAGE
   ========================================================================== */
.tw-category-split-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.tw-cat-split-card {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 18px 22px;
	border-radius: 18px;
	background: #FFFFFF;
	border: 1px solid #DCE5F2;
	text-decoration: none;
	box-shadow: 0 10px 28px -14px rgba(15, 23, 42, 0.08);
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
	position: relative;
	overflow: hidden;
}

.tw-cat-split-card::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 5px;
	background: var(--tw-gradient-primary);
}

.tw-cat-split-card:hover {
	transform: translateY(-4px);
	border-color: #93C5FD;
	box-shadow: 0 18px 36px -14px rgba(9, 104, 229, 0.18);
}

.tw-cat-split-card__media {
	position: relative;
	width: 100px !important;
	height: 100px !important;
	min-width: 100px !important;
	max-width: 100px !important;
	flex: 0 0 100px !important;
	border-radius: 16px;
	overflow: hidden;
	border: 1.5px solid #C7D8FF;
	background: #EAF2FF;
	box-shadow: 0 8px 20px -8px rgba(9, 104, 229, 0.22);
	display: block;
}

.tw-cat-split-card__img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center !important;
	display: block !important;
	transition: transform 0.35s ease;
}

.tw-cat-split-card:hover .tw-cat-split-card__img {
	transform: scale(1.08);
}

.tw-cat-split-card__medallion {
	width: 54px;
	height: 54px;
	border-radius: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	flex-shrink: 0;
	background: linear-gradient(135deg, #EAF2FF 0%, #F3EEFF 100%);
	color: #0968E5;
	border: 1px solid #C7D8FF;
	transition: transform 0.22s ease;
}

.tw-cat-split-card__media .tw-cat-split-card__medallion {
	position: absolute;
	right: 6px;
	bottom: 6px;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	font-size: 0.78rem;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 4px 10px rgba(15, 23, 42, 0.18);
	z-index: 2;
}

.tw-cat-split-card--purple .tw-cat-split-card__medallion {
	color: #6D28D9;
}
.tw-cat-split-card--cyan .tw-cat-split-card__medallion {
	color: #0284C7;
}
.tw-cat-split-card--green .tw-cat-split-card__medallion {
	color: #059669;
}
.tw-cat-split-card--amber .tw-cat-split-card__medallion {
	color: #D97706;
}

.tw-cat-split-card:hover .tw-cat-split-card__medallion {
	transform: scale(1.06);
}

.tw-cat-split-card__content {
	flex: 1;
	min-width: 0;
}

.tw-cat-split-card__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 6px;
}

.tw-cat-split-card__title {
	font-size: 1.16rem;
	font-weight: 800;
	color: #0F172A;
	margin: 0;
}

.tw-cat-split-card__title a {
	color: #0F172A;
	text-decoration: none;
}

.tw-cat-split-card__title a:hover {
	color: #0968E5;
}

.tw-cat-split-card__badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 0.74rem;
	font-weight: 700;
	background: #EAF2FF;
	color: #0968E5;
	border: 1px solid #BFDBFE;
}

.tw-cat-split-card__desc {
	font-size: 0.92rem;
	color: #334155 !important;
	line-height: 1.58;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.tw-cat-split-card__cta {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #EAF2FF;
	border: 1px solid #C7D8FF;
	color: #0968E5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.85rem;
	flex-shrink: 0;
	text-decoration: none;
	transition: all 0.2s ease;
}

.tw-cat-split-card:hover .tw-cat-split-card__cta {
	background: var(--tw-gradient-primary);
	border-color: transparent;
	color: #FFFFFF;
	transform: translateX(3px);
}

/* ==========================================================================
   6. FEATURED AUTHORS & THINKERS — 6-COLUMN EDITORIAL CARDS + A-Z RIBBON
   ========================================================================== */
.tw-section--featured-authors {
	position: relative;
	background: #FFFFFF;
}

.tw-eyebrow--purple {
	background: #F3EEFF !important;
	border: 1px solid #DDD6FE !important;
	color: #7C3AED !important;
	font-weight: 800;
	letter-spacing: 0.06em;
	padding: 5px 14px !important;
	border-radius: 999px !important;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	box-shadow: 0 2px 8px rgba(124, 58, 237, 0.08);
}

.tw-home-az-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 10px 18px;
	margin-bottom: 28px;
	border-radius: 16px;
	background: #F8F9FE;
	border: 1px solid #E2E8F0;
	box-shadow: 0 4px 16px -6px rgba(15, 23, 42, 0.04);
}

.tw-home-az-bar__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #4F46E5;
	white-space: nowrap;
}

.tw-home-az-bar__badge {
	width: 24px;
	height: 24px;
	border-radius: 6px;
	background: #EEF2FF;
	border: 1px solid #C7D2FE;
	color: #4F46E5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1;
}

.tw-home-az-bar__letters {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	flex: 1;
	justify-content: flex-start;
}

.tw-home-az-bar__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 7px;
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	color: #334155;
	font-size: 0.76rem;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
	box-shadow: 0 2px 4px rgba(15, 23, 42, 0.02);
}

.tw-home-az-bar__link:hover {
	background: var(--tw-gradient-primary);
	border-color: transparent;
	color: #FFFFFF;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* 5-Column Editorial Thinkers Grid (10 Cards Total) */
.tw-authors-thinkers-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
	align-items: stretch;
}

.tw-thinker-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	height: 100%;
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 20px;
	padding: 24px 16px 16px;
	box-shadow: 0 4px 18px -6px rgba(15, 23, 42, 0.05);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
	min-width: 0;
	position: relative;
	overflow: hidden;
}

.tw-thinker-card:hover {
	transform: translateY(-5px);
	border-color: #C4B5FD;
	box-shadow: 0 16px 36px -10px rgba(99, 102, 241, 0.16);
}

.tw-thinker-card__avatar-wrap {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto 14px;
	border: 3px solid #F1F5F9;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
	flex-shrink: 0;
	background: #F8FAFC;
	display: block;
	position: relative;
}

.tw-thinker-card__avatar {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center top !important;
	display: block !important;
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.tw-thinker-card:hover .tw-thinker-card__avatar {
	transform: scale(1.07);
}

.tw-thinker-card__avatar-placeholder {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #EEF2FF 0%, #F5F3FF 100%);
	color: #6366F1;
	font-weight: 800;
	font-size: 1.25rem;
}

.tw-thinker-card__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	flex: 1;
}

.tw-thinker-card__name {
	font-family: var(--tw-font-sans);
	font-size: 1.02rem;
	font-weight: 800;
	color: #0F172A;
	margin: 0 0 4px;
	line-height: 1.28;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	flex-wrap: wrap;
}

.tw-thinker-card__name a {
	color: #0F172A;
	text-decoration: none;
	transition: color 0.2s ease;
}

.tw-thinker-card:hover .tw-thinker-card__name a {
	color: #4F46E5;
}

.tw-thinker-card__lifespan {
	font-size: 0.8rem;
	font-weight: 500;
	color: #64748B;
	margin: 0 0 10px;
	line-height: 1.3;
}

.tw-thinker-card__bio {
	font-size: 0.82rem;
	line-height: 1.5;
	color: #475569;
	margin: 0 0 16px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 54px;
}

.tw-thinker-card__footer {
	margin-top: auto;
	width: 100%;
	padding-top: 12px;
	border-top: 1px solid #F1F5F9;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.tw-thinker-card__count {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.78rem;
	font-weight: 700;
	color: #0F172A;
}

.tw-thinker-card__count i {
	color: #94A3B8;
	font-size: 0.7rem;
}

.tw-thinker-card__arrow-btn {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #F3EEFF;
	color: #7C3AED;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.72rem;
	text-decoration: none;
	transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.tw-thinker-card:hover .tw-thinker-card__arrow-btn,
.tw-thinker-card__arrow-btn:hover {
	background: var(--tw-gradient-primary);
	color: #FFFFFF;
	transform: translateX(2px);
	box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
}

/* ==========================================================================
   9. LATEST ARTICLES — MAGAZINE ESSAY CARDS WITH FLOATING DATE BADGE
   ========================================================================== */
.tw-blog-card__thumb {
	position: relative;
}

.tw-blog-card__floating-date {
	position: absolute;
	top: 14px;
	right: 14px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.82);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: #FFFFFF;
	font-size: 0.74rem;
	font-weight: 700;
	border: 1px solid rgba(255, 255, 255, 0.22);
}

.tw-blog-card__footer {
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid #E2E8F0;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

/* ==========================================================================
   10. RESPONSIVE BREAKPOINTS FOR HOMEPAGE SECTIONS
   ========================================================================== */
@media (max-width: 1080px) {
	.tw-hero-section {
		min-height: 620px;
		padding: 118px 0 84px;
	}

	.tw-hero-box__grid {
		grid-template-columns: 1fr;
	}

	.tw-hero__aside {
		display: none;
	}

	.tw-hero-stats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.tw-qotd-split-card {
		grid-template-columns: 1fr !important;
	}

	.tw-qotd-split-card__media,
	.tw-qotd-split-card__img {
		min-height: 290px;
		max-height: 340px;
	}

	.tw-topics-showcase-grid {
		grid-template-columns: 1fr;
	}

	.tw-topic-featured-slider,
	.tw-topic-featured-slide {
		min-height: 360px;
	}
}

@media (max-width: 768px) {
	.tw-hero-section {
		min-height: clamp(520px, 80vh, 700px) !important;
		display: flex !important;
		flex-direction: column !important;
		justify-content: center !important;
		padding: 96px 0 52px !important;
	}

	.tw-hero__title {
		font-size: clamp(2.15rem, 7.8vw, 3.2rem) !important;
		line-height: 1.15 !important;
		margin-bottom: 14px !important;
	}

	.tw-hero__subtitle {
		font-size: 0.95rem;
		line-height: 1.55;
		margin-bottom: 20px;
	}

	.tw-hero-badges {
		gap: 8px;
		margin-bottom: 16px;
	}

	.tw-hero-badge {
		font-size: 0.74rem;
		padding: 5px 12px;
	}

	.tw-hero-scroll {
		display: none;
	}

	.tw-hero-stats {
		grid-template-columns: 1fr;
	}

	.tw-qotd-split-card__body {
		padding: 24px 22px;
	}

	.tw-history-wide-card {
		padding: 20px;
	}

	.tw-history-wide-card__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.tw-category-split-grid {
		grid-template-columns: 1fr;
	}

	.tw-home-az-bar {
		flex-direction: column;
		align-items: flex-start;
	}

	.tw-home-az-bar__letters {
		justify-content: flex-start;
	}
}

@media (max-width: 560px) {
	.tw-hero-section {
		padding: 86px 0 52px;
	}

	.tw-hero-search-wrap {
		margin-bottom: 14px;
	}

	.tw-hero-search {
		flex-direction: column;
		align-items: stretch;
		border-radius: 20px;
		padding: 8px 10px;
		gap: 8px;
	}

	.tw-hero-search__field {
		width: 100%;
		padding: 4px 6px;
	}

	.tw-hero-search__btn {
		width: 100%;
		justify-content: center;
		padding: 11px 20px;
		border-radius: 12px;
		font-size: 0.88rem;
	}

	.tw-hero-pills {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		width: 100%;
		margin-bottom: 14px;
	}

	.tw-hero-pill {
		width: 100%;
		justify-content: center;
		padding: 7px 10px;
		font-size: 0.76rem;
		text-align: center;
	}

	.tw-hero-trending {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.tw-hero-trending__tags {
		gap: 5px;
	}

	.tw-hero-trending__tag {
		padding: 4px 10px;
		font-size: 0.74rem;
	}

	.tw-suggest-authors {
		grid-template-columns: 1fr !important;
	}

	.tw-topics-rich-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.tw-topic-rich-card {
		padding: 10px 14px 10px 10px !important;
		min-height: 82px !important;
		gap: 14px !important;
	}

	.tw-topic-rich-card__media {
		width: 90px !important;
		min-width: 90px !important;
		max-width: 90px !important;
		flex: 0 0 90px !important;
		height: 72px !important;
		min-height: 72px !important;
		border-radius: 14px !important;
	}

	/* QOTD Date & Action Bar Symmetric Grid on Mobile */
	.tw-qotd-date-full {
		display: none !important;
	}
	.tw-qotd-date-short {
		display: inline !important;
	}
	.tw-qotd-split-card__counter {
		display: none !important;
	}
	.tw-qotd-split-card__actions {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 12px !important;
		width: 100% !important;
	}
	.tw-qotd-split-card__actions-left {
		display: flex !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		gap: 6px !important;
		width: 100% !important;
	}
	.tw-qotd-split-card__divider {
		display: none !important;
	}
	.tw-qotd-split-card__actions-left .tw-action-btn,
	.tw-qotd-split-card__actions-left .tw-share-hover-wrap,
	.tw-qotd-split-card__download {
		flex: 1 1 0 !important;
		width: auto !important;
		min-width: 0 !important;
		height: 38px !important;
		min-height: 38px !important;
		padding: 0 6px !important;
		justify-content: center !important;
		box-sizing: border-box !important;
		font-size: 0.78rem !important;
		white-space: nowrap !important;
	}
	.tw-qotd-split-card__actions-left .tw-share-hover-wrap {
		position: relative !important;
		display: inline-flex !important;
	}
	.tw-qotd-split-card__actions-left .tw-share-hover-wrap .tw-share-trigger {
		width: 100% !important;
		padding: 0 6px !important;
		height: 38px !important;
		min-height: 38px !important;
		justify-content: center !important;
	}
	.tw-qotd-split-card__actions-left .tw-like-btn {
		min-width: 0 !important;
		padding: 0 6px !important;
	}
	@media (max-width: 520px) {
		.tw-qotd-split-card__actions-left .tw-action-btn--copy span,
		.tw-qotd-split-card__actions-left .tw-share-trigger span,
		.tw-qotd-split-card__download span {
			display: none !important;
		}
		.tw-qotd-split-card__actions-left .tw-action-btn,
		.tw-qotd-split-card__actions-left .tw-share-hover-wrap,
		.tw-qotd-split-card__download {
			padding: 0 4px !important;
			min-width: 0 !important;
		}
		.tw-qotd-split-card__actions-left .tw-action-btn i,
		.tw-qotd-split-card__download i {
			font-size: 0.95rem !important;
			margin: 0 !important;
		}
	}
	.tw-qotd-split-card__actions-right,
	.tw-qotd-split-card__visit {
		width: 100% !important;
		height: 42px !important;
		min-height: 42px !important;
		justify-content: center !important;
	}

	/* Born & Died on this Day Cards: Mobile Polish */
	.tw-history-wide-card {
		padding: 20px 16px !important;
		border-radius: 20px !important;
	}
	.tw-history-wide-card__header {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 12px !important;
	}
	.tw-history-wide-card__date-pill {
		align-self: flex-start !important;
	}
	.tw-history-panel {
		padding: 14px 12px !important;
		border-radius: 16px !important;
	}
	.tw-history-panel__head {
		margin-bottom: 12px !important;
	}
	.tw-almanac-list__item {
		padding: 10px 12px !important;
		gap: 10px !important;
		border-radius: 12px !important;
	}
	.tw-almanac-list__avatar-wrap,
	.tw-almanac-list__avatar {
		width: 44px !important;
		height: 44px !important;
		min-width: 44px !important;
		max-width: 44px !important;
		flex-shrink: 0 !important;
	}
	.tw-almanac-list__text {
		flex: 1 1 auto !important;
		min-width: 0 !important;
	}
	.tw-almanac-list__name-row strong {
		font-size: 0.92rem !important;
		max-width: 160px !important;
	}
	.tw-almanac-list__years {
		font-size: 0.76rem !important;
	}
	.tw-almanac-list__arrow-btn {
		width: 28px !important;
		height: 28px !important;
		flex-shrink: 0 !important;
	}

	.tw-history-wide-card__header {
		flex-direction: column;
		align-items: flex-start;
	}

	.tw-more-topics-box {
		padding: 16px 14px 18px !important;
	}

	.tw-more-topics-box__header {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 8px !important;
		width: 100% !important;
		margin-bottom: 14px !important;
	}

	.tw-more-topics-box__head-left {
		gap: 8px !important;
		flex: 1 !important;
		min-width: 0 !important;
	}

	.tw-more-topics-box__star {
		width: 34px !important;
		height: 34px !important;
		font-size: 0.9rem !important;
		border-radius: 10px !important;
		flex-shrink: 0 !important;
	}

	.tw-more-topics-box__title {
		font-size: 1.05rem !important;
		margin: 0 !important;
		white-space: nowrap !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
	}

	.tw-more-topics-box__subtitle {
		display: none !important;
	}

	.tw-more-topics-box__nav {
		display: inline-flex !important;
		align-items: center !important;
		gap: 6px !important;
		flex-shrink: 0 !important;
		margin-left: auto !important;
	}

	.tw-more-topics-box__nav .tw-slider-circle-btn {
		width: 32px !important;
		height: 32px !important;
		font-size: 0.78rem !important;
	}

	.tw-cat-split-card {
		gap: 14px;
		padding: 15px 16px;
	}

	.tw-cat-split-card__media {
		width: 82px !important;
		height: 82px !important;
		min-width: 82px !important;
		max-width: 82px !important;
		flex: 0 0 82px !important;
	}

	.tw-cat-split-card__cta {
		display: none;
	}
}

@media (max-width: 1240px) {
	.tw-authors-thinkers-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 14px;
	}
}

@media (max-width: 920px) {
	.tw-authors-thinkers-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 14px;
	}
}

@media (max-width: 640px) {
	.tw-authors-thinkers-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.tw-thinker-card {
		padding: 18px 10px 12px;
	}

	.tw-thinker-card__avatar-wrap {
		width: 78px;
		height: 78px;
		margin-bottom: 10px;
	}

	.tw-thinker-card__name {
		font-size: 0.95rem;
	}

	.tw-thinker-card__lifespan {
		font-size: 0.74rem;
	}

	.tw-thinker-card__bio {
		font-size: 0.77rem;
		min-height: 48px;
	}
}

@media (max-width: 420px) {
	.tw-authors-thinkers-grid {
		grid-template-columns: 1fr;
	}
}
