/**
 * ThoughtsWorld — Modern Executive Editorial Theme-Matched Footer (assets/css/footer.css)
 *
 * Theme-Harmonized Light Editorial Aesthetic with Soft Slate Background (#F8FAFD),
 * Floating White Card Newsletter Digest, 5-Column Navigation Grid, Touch-Friendly Authors A-Z Grid Strip,
 * Modern Floating Cookie Consent Card, and Toast Notifications.
 *
 * Structure:
 * 1. FOOTER SHELL & AMBIENT PASTEL WAVES (Theme-Matched Colors)
 * 2. TIER 1: FLOATING DAILY WISDOM DIGEST NEWSLETTER BANNER
 * 3. TIER 2: 5-COLUMN DIRECTORY GRID
 * 4. TIER 3: AUTHORS A–Z REFERENCE STRIP
 * 5. TIER 4: COPYRIGHT, LEGAL LINKS & BACK TO TOP BUTTON
 * 6. MODERN FLOATING COOKIE CONSENT CARD & TOAST NOTIFICATION
 *
 * @package Thoughts_World
 */

/* ==========================================================================
   1. FOOTER SHELL & AMBIENT PASTEL WAVES (Theme-Matched Colors)
   ========================================================================== */
.tw-footer {
	position: relative;
	background-image:
		
		var(--tw-footer-bg, url('../images/Pastel-Study-Background-with-Open-Book.png'));
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: cover;
	background-attachment: scroll;
	color: #334155;
	padding: 64px 0 36px;
	margin-top: 0 !important;
	border-top: 1px solid #E2E8F0;
	overflow: hidden;
}

.tw-footer__container {
	position: relative;
	z-index: 2;
}

.tw-footer__ambient-waves {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	overflow: hidden;
	opacity: 0.35;
}

.tw-footer__wave--left {
	position: absolute;
	left: -140px;
	bottom: -80px;
	width: 580px;
	height: 440px;
	border-radius: 48% 52% 60% 40% / 50% 40% 60% 50%;
	background: radial-gradient(circle, rgba(219, 234, 254, 0.7) 0%, rgba(238, 242, 255, 0.4) 50%, transparent 75%);
	transform: rotate(-12deg);
}

.tw-footer__wave--right {
	position: absolute;
	right: -120px;
	bottom: -100px;
	width: 620px;
	height: 460px;
	border-radius: 60% 40% 50% 50% / 40% 55% 45% 60%;
	background: radial-gradient(circle, rgba(237, 233, 254, 0.7) 0%, rgba(224, 231, 255, 0.4) 50%, transparent 75%);
	transform: rotate(15deg);
}

/* ==========================================================================
   2. TIER 1: FLOATING DAILY WISDOM DIGEST NEWSLETTER BANNER
   ========================================================================== */
.tw-footer__digest {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 36px;
	padding: 34px 44px;
	margin-bottom: 56px;
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 26px;
	box-shadow: 0 16px 42px -12px rgba(15, 23, 42, 0.08);
}

.tw-footer__digest-media {
	display: flex;
	align-items: center;
	gap: 28px;
	flex: 1;
	min-width: 0;
}

.tw-footer__digest-graphic {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tw-footer__digest-vector-svg {
	display: block;
	filter: drop-shadow(0 8px 18px rgba(9, 104, 229, 0.12));
}

.tw-footer__digest-copy {
	max-width: 540px;
}

.tw-footer__digest-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: #EEF2FF;
	color: #4F46E5;
	border: 1px solid #C7D2FE;
	margin-bottom: 10px;
}

.tw-footer__digest-badge i {
	font-size: 0.76rem;
	color: #6366F1;
}

.tw-footer__digest-title {
	font-family: var(--tw-font-sans);
	font-size: clamp(1.4rem, 2.2vw, 1.76rem);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.015em;
	color: #0F172A !important;
	margin: 0 0 8px;
}

.tw-footer__digest-title-accent {
	background: linear-gradient(90deg, #0968E5 0%, #7C3AED 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	display: inline;
}

.tw-footer__digest-desc {
	font-size: 0.92rem;
	line-height: 1.6;
	color: #475569 !important;
	margin: 0;
}

/* Newsletter Input & Submit Action Container */
.tw-footer__digest-action {
	flex: 0 0 auto;
	width: min(470px, 100%);
}

.tw-footer__digest-action .wpcf7 {
	width: 100%;
	margin: 0;
	padding: 0;
}

.tw-footer__digest-action .wpcf7-form {
	margin: 0;
	padding: 0;
	position: relative;
}

/* Strip any paragraph or line-break wrappers introduced by wpcf7_autop */
.tw-footer__digest-action .wpcf7-form p,
.tw-footer__digest-action form p {
	display: contents !important;
	margin: 0 !important;
	padding: 0 !important;
}

.tw-footer__digest-action .wpcf7-form br,
.tw-footer__digest-action form br,
.tw-footer__digest-action br {
	display: none !important;
}

.tw-footer__digest-action .wpcf7-form-control-wrap {
	display: flex !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
	position: relative !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Newsletter Form Pill Structure */
.tw-footer__newsletter-form {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 8px !important;
	background: #FFFFFF !important;
	border: 1.5px solid #CBD5E1 !important;
	border-radius: 999px !important;
	padding: 5px 5px 5px 18px !important;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04) !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
	position: relative !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

/* On focus: subtle glowing border and no heavy shadow */
.tw-footer__newsletter-form:focus-within,
.tw-footer__newsletter-form:focus {
	border-color: #0968E5 !important;
	box-shadow: 0 0 0 3px rgba(9, 104, 229, 0.15) !important;
	outline: none !important;
}

.tw-footer__newsletter-input-wrap {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
	border: 0 !important;
	outline: none !important;
	box-shadow: none !important;
}

.tw-footer__newsletter-input-wrap i {
	color: #0968E5 !important;
	font-size: 0.95rem !important;
	flex-shrink: 0 !important;
}

/* Input element: border removed completely, on focus removed shadow and border */
.tw-footer__newsletter-input,
.tw-footer__digest-action input[type="email"],
.tw-footer__digest-action .wpcf7-email {
	flex: 1 1 auto !important;
	width: 100% !important;
	min-width: 0 !important;
	border: 0 !important;
	border-color: transparent !important;
	background: transparent !important;
	color: #0F172A !important;
	font-family: var(--tw-font-sans) !important;
	font-size: 0.92rem !important;
	padding: 9px 4px !important;
	outline: none !important;
	box-shadow: none !important;
	-webkit-box-shadow: none !important;
}

.tw-footer__newsletter-input::placeholder,
.tw-footer__digest-action input[type="email"]::placeholder {
	color: #94A3B8 !important;
	opacity: 1 !important;
}

.tw-footer__newsletter-input:focus,
.tw-footer__digest-action input[type="email"]:focus,
.tw-footer__digest-action .wpcf7-email:focus {
	border: 0 !important;
	border-color: transparent !important;
	outline: none !important;
	box-shadow: none !important;
	-webkit-box-shadow: none !important;
}

.tw-footer__newsletter-btn,
.tw-footer__digest-action button.tw-footer__newsletter-btn,
.tw-footer__digest-action input[type="submit"].tw-footer__newsletter-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	padding: 11px 24px !important;
	border-radius: 999px !important;
	border: 0 !important;
	background: linear-gradient(90deg, #0968E5 0%, #4F46E5 100%) !important;
	color: #FFFFFF !important;
	font-family: var(--tw-font-sans) !important;
	font-size: 0.88rem !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	white-space: nowrap !important;
	box-shadow: 0 4px 14px rgba(9, 104, 229, 0.35) !important;
	transition: all 0.2s ease !important;
	line-height: 1.4 !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	flex-shrink: 0 !important;
	text-decoration: none !important;
}

.tw-footer__newsletter-btn:hover,
.tw-footer__digest-action button.tw-footer__newsletter-btn:hover,
.tw-footer__digest-action input[type="submit"].tw-footer__newsletter-btn:hover {
	background: linear-gradient(90deg, #0256c7 0%, #4338ca 100%) !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 6px 18px rgba(9, 104, 229, 0.45) !important;
}

.tw-footer__newsletter-btn i,
.tw-footer__digest-action button.tw-footer__newsletter-btn i {
	font-size: 0.82rem !important;
	color: #FFFFFF !important;
	line-height: 1 !important;
	display: inline-block !important;
	transition: transform 0.2s ease !important;
	margin-left: 2px !important;
}

.tw-footer__newsletter-btn:hover i,
.tw-footer__digest-action button.tw-footer__newsletter-btn:hover i {
	transform: translateX(3px) !important;
}

/* CF7 Spinner */
.tw-footer__digest-action .wpcf7-spinner {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
	background-color: #0968E5;
}

/* CF7 Validation Error Tip */
.tw-footer__digest-action .wpcf7-not-valid-tip {
	position: absolute;
	top: calc(100% + 6px);
	left: 14px;
	z-index: 10;
	background: #FEF2F2;
	color: #DC2626;
	border: 1px solid #FECACA;
	border-radius: 6px;
	padding: 4px 10px;
	font-size: 0.75rem;
	font-weight: 600;
	box-shadow: 0 4px 12px rgba(220, 38, 38, 0.08);
}

/* CF7 Output Response Message */
.tw-footer__digest-action .wpcf7-response-output {
	margin: 12px 0 0 !important;
	padding: 9px 16px !important;
	border-radius: 12px !important;
	font-size: 0.82rem !important;
	line-height: 1.45 !important;
	text-align: left;
}

.tw-footer__digest-action form.sent .wpcf7-response-output {
	background: #ECFDF5 !important;
	border: 1px solid #A7F3D0 !important;
	color: #065F46 !important;
}

.tw-footer__digest-action form.failed .wpcf7-response-output,
.tw-footer__digest-action form.invalid .wpcf7-response-output {
	background: #FEF2F2 !important;
	border: 1px solid #FECACA !important;
	color: #991B1B !important;
}

.tw-footer__newsletter-note {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 0.78rem;
	color: #64748B !important;
	margin-top: 10px;
	padding-left: 12px;
}

.tw-footer__note-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.tw-footer__note-item i {
	color: #0968E5;
	font-size: 0.78rem;
}

.tw-footer__note-sep {
	color: #CBD5E1;
}

/* ==========================================================================
   3. TIER 2: 5-COLUMN DIRECTORY GRID
   ========================================================================== */
.tw-footer__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(240px, 1.4fr) repeat(4, minmax(170px, 1fr));
	gap: 36px;
	padding-bottom: 44px;
	border-bottom: 1px solid #E2E8F0;
}

.tw-footer__logo-img {
	height: 48px;
	width: auto;
	max-width: 220px;
	object-fit: contain;
	margin-bottom: 14px;
}

.tw-footer__desc {
	font-size: 0.88rem;
	line-height: 1.64;
	color: #475569 !important;
	margin-bottom: 18px;
}

/* Verification Badge in Column 1 */
.tw-footer__trust-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px;
	border-radius: 12px;
	background: #EFF6FF;
	border: 1px solid #DBEAFE;
	margin-bottom: 20px;
}

.tw-footer__trust-copy {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.tw-footer__trust-copy strong {
	font-size: 0.8rem;
	font-weight: 700;
	color: #0F172A;
}

.tw-footer__trust-copy span {
	font-size: 0.74rem;
	color: #64748B;
}

/* Social Media Buttons (Circular Brand Buttons) */
.tw-social-menu {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tw-social-btn {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #FFFFFF !important;
	font-size: 0.88rem;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.tw-social-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(15, 23, 42, 0.2);
}

.tw-social-btn--facebook { background: #1877F2; }
.tw-social-btn--x { background: #000000; }
.tw-social-btn--instagram { background: linear-gradient(45deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%); }
.tw-social-btn--youtube { background: #FF0000; }
.tw-social-btn--pinterest { background: #E60023; }
.tw-social-btn--linkedin { background: #0A66C2; }

/* Column Headings with Matching Icons */
.tw-footer__heading {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 0.96rem;
	font-weight: 800;
	color: #0F172A !important;
	margin: 0 0 18px;
	letter-spacing: -0.01em;
}

.tw-footer__heading-icon {
	font-size: 0.95rem;
}

.tw-footer__heading-icon--blue { color: #0968E5; }
.tw-footer__heading-icon--indigo { color: #6366F1; }
.tw-footer__heading-icon--pink { color: #EC4899; }
.tw-footer__heading-icon--amber { color: #F59E0B; }

/* Links List with Blue Chevron > Before */
.tw-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tw-footer__links li {
	margin-bottom: 11px;
}

.tw-footer__links a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: #475569 !important;
	font-size: 0.88rem;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.18s ease;
}

.tw-footer__links a::before {
	content: "\f105";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 0.74rem;
	color: #0968E5;
	display: inline-block;
	transition: transform 0.18s ease;
}

.tw-footer__links a:hover {
	color: #0968E5 !important;
	transform: translateX(3px);
}

.tw-footer__links a:hover::before {
	transform: translateX(2px);
}

/* ==========================================================================
   4. TIER 3: AUTHORS A–Z REFERENCE STRIP
   ========================================================================== */
.tw-footer__az-bar {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: 24px 0;
	border-bottom: 1px solid #E2E8F0;
}

.tw-footer__az-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.78rem;
	font-weight: 800;
	color: #0F172A;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	white-space: nowrap;
}

.tw-footer__az-label i {
	color: #4F46E5;
	font-size: 0.88rem;
}

.tw-footer__az-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	flex: 1;
}

.tw-footer__az-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 6px;
	font-size: 0.76rem;
	font-weight: 700;
	color: #334155;
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
	text-decoration: none;
	transition: all 0.18s ease;
}

.tw-footer__az-link:hover {
	background: #0968E5;
	border-color: #0968E5;
	color: #FFFFFF;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(9, 104, 229, 0.35);
}

/* ==========================================================================
   5. TIER 4: COPYRIGHT, LEGAL LINKS & BACK TO TOP BUTTON
   ========================================================================== */
.tw-footer__bottom {
	position: relative;
	z-index: 1;
	border-top: 1px solid #E2E8F0;
	padding-top: 24px;
	padding-bottom: 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
	font-size: 0.86rem;
	color: #64748B;
}

.tw-footer__bottom-left {
	flex: 1 1 360px;
	min-width: 280px;
}

.tw-footer__bottom-left p {
	margin: 0;
	color: #64748B !important;
	font-size: 0.85rem;
	line-height: 1.6;
}

.tw-footer__bottom-left strong {
	color: #0F172A;
	font-weight: 700;
}

.tw-footer__bottom-right {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 16px 24px;
	flex: 1 1 auto;
}

.tw-footer__bottom-nav {
	display: flex;
	align-items: center;
}

.tw-footer__legal-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 18px;
	margin: 0;
	padding: 0;
	list-style: none !important;
}

.tw-footer__legal-list li {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none !important;
}

.tw-footer__legal-list a {
	color: #475569 !important;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.18s ease;
}

.tw-footer__legal-list a:hover {
	color: #0968E5 !important;
}

/* Back to Top Button */
.tw-back-to-top {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 18px;
	border-radius: 999px;
	border: 0;
	background: linear-gradient(90deg, #0968E5 0%, #4F46E5 100%);
	color: #FFFFFF !important;
	font-family: var(--tw-font-sans);
	font-size: 0.82rem;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(9, 104, 229, 0.35);
	transition: all 0.2s ease;
}

.tw-back-to-top:hover {
	background: linear-gradient(90deg, #0256c7 0%, #4338ca 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(9, 104, 229, 0.45);
}

/* ==========================================================================
   6. MODERN FLOATING COOKIE CONSENT CARD & TOAST NOTIFICATION
   ========================================================================== */
.tw-cookie-banner {
	position: fixed;
	bottom: 24px;
	left: 24px;
	z-index: 9950;
	max-width: 440px;
	width: calc(100% - 48px);
	border-radius: 22px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease, visibility 0.28s ease;
}

.tw-cookie-banner.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.tw-cookie-banner.is-hidden {
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	pointer-events: none;
}

.tw-cookie-backdrop {
	display: none;
}

.tw-cookie-card__desc-mobile {
	display: none;
}

.tw-cookie-card {
	background: #FFFFFF;
	border: 1.5px solid #E2E8F0;
	border-radius: 22px;
	box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.18), 0 8px 24px -4px rgba(15, 23, 42, 0.08);
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	overflow: hidden;
}

.tw-cookie-card__header {
	display: flex;
	align-items: center;
	gap: 12px;
	position: relative;
}

.tw-cookie-card__icon-badge {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
	color: #0968E5;
	border: 1px solid #BFDBFE;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	flex-shrink: 0;
	box-shadow: 0 4px 14px rgba(9, 104, 229, 0.16);
}

.tw-cookie-card__header-text {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
}

.tw-cookie-card__title {
	font-size: 1rem;
	font-weight: 800;
	color: #0F172A;
	margin: 0;
	line-height: 1.2;
}

.tw-cookie-card__subtitle {
	font-size: 0.74rem;
	color: #64748B;
	font-weight: 500;
}

.tw-cookie-card__close {
	position: absolute;
	top: -4px;
	right: -4px;
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #94A3B8;
	font-size: 1.2rem;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.15s ease;
}

.tw-cookie-card__close:hover {
	background: #F1F5F9;
	color: #0F172A;
}

.tw-cookie-card__desc {
	font-size: 0.86rem;
	line-height: 1.55;
	color: #475569;
	margin: 0;
}

.tw-cookie-card__desc a {
	color: #0968E5;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.tw-cookie-card__desc a:hover {
	color: #4F46E5;
}

.tw-cookie-card__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 2px;
}

.tw-cookie-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 9px 18px;
	border-radius: 999px;
	font-family: var(--tw-font-sans);
	font-size: 0.84rem;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.2s ease;
	flex: 1;
}

.tw-cookie-card__btn--decline {
	background: #F8FAFC;
	border: 1.5px solid #CBD5E1;
	color: #334155;
}

.tw-cookie-card__btn--decline:hover {
	background: #F1F5F9;
	border-color: #94A3B8;
	color: #0F172A;
}

.tw-cookie-card__btn--accept {
	background: linear-gradient(90deg, #0968E5 0%, #4F46E5 100%);
	border: 1.5px solid transparent;
	color: #FFFFFF;
	box-shadow: 0 4px 14px rgba(9, 104, 229, 0.35);
}

.tw-cookie-card__btn--accept:hover {
	background: linear-gradient(90deg, #0256c7 0%, #4338ca 100%);
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(9, 104, 229, 0.45);
}

/* Global Accessible Toast Notification (Compact, Non-Wrapping Pill) */
.tw-toast {
	position: fixed;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%) translateY(20px);
	background: rgba(15, 23, 42, 0.95);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: #FFFFFF;
	font-family: var(--tw-font-sans);
	font-size: 0.84rem;
	font-weight: 600;
	padding: 10px 22px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.35);
	z-index: 999999;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	white-space: nowrap;
	width: max-content;
	max-width: min(440px, calc(100vw - 32px));
	text-align: center;
	opacity: 0;
	visibility: hidden;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	pointer-events: none;
}

.tw-toast.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   7. RESPONSIVE BREAKPOINTS (Desktop, Tablet, Mobile)
   ========================================================================== */

/* Tablet & Smaller Desktops */
@media (max-width: 1080px) {
	.tw-footer__digest {
		flex-direction: column;
		align-items: flex-start;
		padding: 28px 24px;
	}

	.tw-footer__digest-action {
		width: 100%;
		max-width: 100%;
	}

	.tw-footer__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 28px;
	}

	.tw-footer__col--brand {
		grid-column: span 3;
	}
}

/* Tablet & Medium Screens (Max Width 1024px) */
@media (max-width: 1024px) {
	.tw-footer {
		padding: 32px 0 20px !important;
	}

	.tw-footer__digest {
		padding: 22px 20px !important;
		margin-bottom: 28px !important;
		border-radius: 20px !important;
	}

	.tw-footer__az-bar {
		padding: 16px 0 !important;
		margin-bottom: 20px !important;
	}

	.tw-footer__bottom {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 12px !important;
		padding: 16px 0 8px !important;
		min-height: auto !important;
		height: auto !important;
	}

	.tw-footer__bottom-left {
		order: 1 !important;
		width: 100% !important;
		text-align: center !important;
		flex: none !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		border: none !important;
	}

	.tw-footer__bottom-left p {
		text-align: center !important;
		font-size: 0.82rem !important;
		line-height: 1.55 !important;
		margin: 0 !important;
	}

	.tw-footer__bottom-right {
		order: 2 !important;
		width: 100% !important;
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 10px !important;
		margin: 0 !important;
		padding-top: 12px !important;
		border-top: 1px solid #E2E8F0 !important;
		flex: none !important;
	}

	.tw-footer__bottom-nav {
		width: 100% !important;
		display: flex !important;
		justify-content: center !important;
	}

	.tw-footer__legal-list {
		justify-content: center !important;
		gap: 8px 14px !important;
		text-align: center !important;
		font-size: 0.82rem !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.tw-back-to-top {
		align-self: center !important;
		margin: 2px auto 0 !important;
		padding: 8px 16px !important;
		font-size: 0.8rem !important;
	}
	/* Tablet & Mobile Cookie Backdrop Blur Overlay */
	.tw-cookie-backdrop {
		display: block !important;
		position: fixed;
		inset: 0;
		width: 100vw;
		height: 100vh;
		background: rgba(15, 23, 42, 0.46);
		backdrop-filter: blur(8px);
		-webkit-backdrop-filter: blur(8px);
		z-index: 99990;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity 0.3s ease, visibility 0.3s ease;
	}

	.tw-cookie-backdrop.is-visible {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.tw-cookie-banner {
		z-index: 99999;
		bottom: 16px;
		left: 14px;
		width: calc(100% - 28px);
		max-width: 420px;
		border-radius: 22px;
	}

	.tw-cookie-card {
		border-radius: 22px !important;
		padding: 18px 18px 16px !important;
		box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.3) !important;
	}
}

/* Mobile Devices (Max Width 680px) */
@media (max-width: 680px) {
	.tw-footer {
		padding: 24px 0 16px !important;
	}

	.tw-footer__digest {
		padding: 18px 14px !important;
		margin-bottom: 22px !important;
		border-radius: 18px !important;
	}

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

	.tw-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}

	.tw-footer__col--brand {
		grid-column: span 2;
	}

	/* Authors A-Z Mobile Grid Fix: Touch-Friendly 7-per-row grid */
	.tw-footer__az-bar {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding: 16px 0 !important;
		margin-bottom: 18px !important;
	}

	.tw-footer__az-label {
		width: 100%;
	}

	.tw-footer__az-list {
		width: 100% !important;
		display: grid !important;
		grid-template-columns: repeat(7, 1fr) !important;
		gap: 5px !important;
	}

	.tw-footer__az-link {
		width: 100% !important;
		height: 34px !important;
		border-radius: 8px !important;
		font-size: 0.8rem !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
	}

	.tw-footer__bottom {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 10px !important;
		padding: 14px 0 6px !important;
		min-height: auto !important;
		height: auto !important;
	}

	.tw-footer__bottom-left {
		order: 1 !important;
		width: 100% !important;
		border: none !important;
		padding: 0 !important;
		margin: 0 !important;
		text-align: center !important;
	}

	.tw-footer__bottom-left p {
		text-align: center !important;
		font-size: 0.8rem !important;
		line-height: 1.5 !important;
		margin: 0 !important;
	}

	.tw-footer__bottom-right {
		order: 2 !important;
		width: 100% !important;
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		gap: 10px !important;
		margin: 0 !important;
		padding-top: 10px !important;
		border-top: 1px solid #E2E8F0 !important;
	}

	.tw-footer__bottom-nav {
		width: 100% !important;
		display: flex !important;
		justify-content: center !important;
	}

	.tw-footer__legal-list {
		justify-content: center !important;
		gap: 6px 12px !important;
		text-align: center !important;
		font-size: 0.8rem !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.tw-back-to-top {
		align-self: center !important;
		margin: 2px auto 0 !important;
		padding: 7px 14px !important;
		font-size: 0.78rem !important;
	}

	.tw-cookie-banner {
		left: 12px;
		right: 12px;
		bottom: 12px;
		width: calc(100% - 24px);
		max-width: 100%;
	}

	.tw-cookie-card__desc-full {
		display: none !important;
	}

	.tw-cookie-card__desc-mobile {
		display: inline !important;
	}

	.tw-cookie-card__desc {
		font-size: 0.82rem !important;
		line-height: 1.45 !important;
	}
}

/* Small Mobile Form Stacking (Max Width 520px) */
@media (max-width: 520px) {
	.tw-footer__newsletter-form {
		flex-direction: column !important;
		border-radius: 20px !important;
		padding: 8px 10px !important;
		gap: 10px !important;
	}

	.tw-footer__newsletter-input-wrap {
		width: 100% !important;
		padding: 4px 6px !important;
	}

	.tw-footer__newsletter-btn,
	.tw-footer__digest-action button.tw-footer__newsletter-btn {
		width: 100% !important;
		justify-content: center !important;
		padding: 11px 20px !important;
	}

	/* Cookie Banner Action Stacking on Small Phones */
	.tw-cookie-card {
		padding: 16px !important;
		gap: 12px !important;
	}

	.tw-cookie-card__actions {
		flex-direction: column !important;
		width: 100% !important;
		gap: 8px !important;
	}

	.tw-cookie-card__btn {
		width: 100% !important;
		min-height: 42px !important;
	}
}

/* Extra Small Phones (Max Width 480px) */
@media (max-width: 480px) {
	.tw-footer__grid {
		grid-template-columns: 1fr;
	}

	.tw-footer__col--brand {
		grid-column: span 1;
	}
}

/* Compact Mobile A-Z Grid (Max Width 420px): 6 equal columns */
@media (max-width: 420px) {
	.tw-footer__az-list {
		grid-template-columns: repeat(6, 1fr) !important;
		gap: 5px !important;
	}

	.tw-footer__az-link {
		height: 34px !important;
		font-size: 0.78rem !important;
	}
}
