/* Baby Names — reuses the shared .urd-table / .urd-letters / .urd-search-input
   styles from frontend.css (loaded site-wide); this file only adds what's
   unique to this content type. */

.urdn-gender-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 18px;
}

.urdn-gender-tab {
	flex: 1;
	padding: 12px 0;
	font-size: 15px;
	font-weight: 700;
	border: 1px solid #E4DFD0;
	border-radius: 10px;
	background: #fff;
	color: var(--urd-primary-dark, #073930);
	cursor: pointer;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.urdn-gender-tab:hover { border-color: var(--urd-primary, #0B4F45); }

.urdn-gender-tab.is-active {
	background: var(--urd-primary, #0B4F45);
	border-color: var(--urd-primary, #0B4F45);
	color: #fff;
}

/* ---------- Single name page ---------- */

.urdn-meaning-line,
.urdn-origin-line {
	font-size: 16px;
	color: var(--urd-text, #1F2A24);
	margin: 0 0 8px;
}

.urdn-gender-badge { margin: 6px 0 22px; }

.urdn-urdu-meaning-line .urd-font-urdu { margin-left: 8px; font-size: 1.15em; }

.urdn-lang-card { margin-top: 6px; }

.urdn-lang-table .urdn-lang-label { font-weight: 600; width: 30%; }
.urdn-lang-table td { font-size: 18px; }

@media (max-width: 640px) {
	.urdn-gender-tabs { gap: 6px; }
	.urdn-gender-tab { font-size: 13px; padding: 10px 0; }
}

.urdn-table .urd-col-en { width: 26%; }

/* Force a clean, balanced 2-row A-Z grid (13 letters per row) specific
   to the Baby Names browser — the Word engine's .urd-letters keeps its
   own default flex-wrap layout untouched. */
.urdn-wrap .urd-letters {
	display: grid;
	grid-template-columns: repeat(13, 1fr);
	gap: 4px;
}

.urdn-wrap .urd-letter-btn { width: 100%; min-width: 0; }

@media (max-width: 640px) {
	.urdn-wrap .urd-letters { grid-template-columns: repeat(7, 1fr); }
}
