/* ==========================================================================
   Persian & Indian Elementor Widgets — Front-end styles
   ========================================================================== */

.pew-date-display-widget,
.pew-world-clock-widget,
.pew-persian-events-widget,
.pew-indian-events-widget,
.pew-upcoming-indian-widget,
.pew-bollywood-birthdays-widget,
.pew-indian-quote-widget,
.pew-gita-verse-widget {
	direction: rtl;
	font-family: inherit;
	box-sizing: border-box;
}

.pew-date-display-widget *,
.pew-world-clock-widget *,
.pew-persian-events-widget *,
.pew-indian-events-widget *,
.pew-upcoming-indian-widget *,
.pew-bollywood-birthdays-widget *,
.pew-indian-quote-widget *,
.pew-gita-verse-widget * {
	box-sizing: border-box;
}

.pew-error {
	color: #b00020;
	background: #fdecea;
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 14px;
}

.pew-events-empty {
	padding: 16px;
	text-align: center;
	color: #888;
	font-size: 14px;
}

/* ---------- Widget 1: Date Display ---------- */
.pew-date-items {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.pew-layout-column .pew-date-items {
	flex-direction: column;
}

.pew-layout-row .pew-date-items {
	flex-direction: row;
}

.pew-date-item {
	flex: 1 1 0;
	min-width: 140px;
	background: #f7f7f7;
	border-radius: 10px;
	padding: 18px;
	text-align: center;
}

.pew-date-label {
	font-size: 13px;
	color: #888;
	margin-bottom: 6px;
}

.pew-date-value {
	font-size: 18px;
	font-weight: 600;
	color: #222;
}

/* ---------- Widget 2: World Clock ---------- */
.pew-clock-items {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.pew-clock-card {
	background: #ffffff;
	border: 1px solid #eee;
	border-radius: 12px;
	padding: 20px;
	text-align: center;
}

.pew-clock-city {
	font-size: 14px;
	color: #666;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.pew-clock-flag {
	font-size: 18px;
}

.pew-clock-time {
	font-size: 32px;
	font-weight: 700;
	color: #1a1a1a;
	direction: ltr;
	font-variant-numeric: tabular-nums;
}

.pew-clock-date {
	font-size: 13px;
	color: #999;
	margin-top: 6px;
}

/* ---------- Widgets 3 & 4: Events Lists ---------- */
.pew-events-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}

.pew-event-card {
	background: #ffffff;
	border: 1px solid #eee;
	border-radius: 10px;
	padding: 16px;
	position: relative;
}

.pew-event-date {
	font-size: 13px;
	font-weight: 600;
	color: #0073aa;
	margin-bottom: 4px;
}

.pew-event-title {
	font-size: 17px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 6px;
}

.pew-event-holiday-icon {
	color: #e67e22;
	margin-right: 4px;
	font-size: 13px;
}

.pew-event-badge {
	display: inline-block;
	background: #e8f4fb;
	color: #0073aa;
	font-size: 12px;
	padding: 3px 10px;
	border-radius: 20px;
	margin-bottom: 8px;
}

.pew-event-desc {
	font-size: 14px;
	color: #666;
	line-height: 1.7;
	margin-top: 6px;
}

/* ---------- Widget 5: Upcoming Indian Events ---------- */
.pew-upcoming-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.pew-upcoming-item {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #ffffff;
	border: 1px solid #eee;
	border-radius: 10px;
	padding: 14px;
}

.pew-upcoming-countdown {
	flex-shrink: 0;
	background: #e67e22;
	color: #fff;
	border-radius: 10px;
	min-width: 64px;
	padding: 10px 8px;
	text-align: center;
	line-height: 1.2;
}

.pew-upcoming-countdown-num {
	display: block;
	font-size: 22px;
	font-weight: 800;
}

.pew-upcoming-countdown-label {
	display: block;
	font-size: 11px;
	opacity: 0.9;
}

.pew-upcoming-body {
	flex: 1;
}

.pew-upcoming-title {
	font-size: 16px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 3px;
}

.pew-upcoming-date {
	font-size: 13px;
	color: #888;
}

/* ---------- Widget 6: Bollywood Birthdays ---------- */
.pew-birthday-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.pew-birthday-card {
	background: #ffffff;
	border: 1px solid #eee;
	border-radius: 12px;
	padding: 18px;
	text-align: center;
}

.pew-birthday-photo {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	object-fit: cover;
	margin: 0 auto 12px;
	display: block;
}

.pew-birthday-photo-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #eee;
	color: #999;
	font-size: 32px;
	font-weight: 700;
}

.pew-birthday-name {
	font-size: 16px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 4px;
}

.pew-birthday-name-en {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: #aaa;
	direction: ltr;
}

.pew-birthday-meta {
	font-size: 13px;
	color: #888;
}

/* ---------- Widget 7: Indian Quotes ---------- */
.pew-quote-box {
	background: #fdf6ec;
	border-radius: 14px;
	padding: 30px;
	text-align: center;
}

.pew-quote-icon {
	font-size: 36px;
	color: #e67e22;
	line-height: 1;
	margin-bottom: 8px;
	font-family: Georgia, serif;
}

.pew-quote-text {
	font-size: 22px;
	font-weight: 600;
	color: #2c2c2c;
	line-height: 1.8;
	margin-bottom: 14px;
}

.pew-quote-author {
	font-size: 15px;
	font-weight: 600;
	color: #e67e22;
}

.pew-quote-author-en {
	font-weight: 400;
	color: #aaa;
	direction: ltr;
	display: inline-block;
}

/* ---------- Widget 8: Gita Verses ---------- */
.pew-gita-box {
	background: #fff6f5;
	border-radius: 14px;
	padding: 30px;
	text-align: center;
}

.pew-gita-sanskrit {
	font-size: 20px;
	font-weight: 600;
	color: #c0392b;
	margin-bottom: 10px;
	line-height: 1.8;
}

.pew-gita-transliteration {
	font-size: 14px;
	color: #999;
	font-style: italic;
	margin-bottom: 10px;
}

.pew-gita-translation {
	font-size: 22px;
	font-weight: 600;
	color: #2c2c2c;
	line-height: 1.8;
	margin-bottom: 14px;
}

.pew-gita-meta {
	font-size: 14px;
	font-weight: 600;
	color: #e67e22;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
	.pew-clock-items,
	.pew-birthday-list,
	.pew-events-list {
		grid-template-columns: 1fr !important;
	}

	.pew-date-items {
		flex-direction: column;
	}
}
