/**
 * Rajasthan Notification Toolkit — Module C: Social Community & Student Join System CSS
 *
 * Recognizable Platform Brand Colors:
 * - WhatsApp: #16A34A / #25D366 (WCAG-compliant dark green button #15803D)
 * - Telegram: #0284C7 / #0088CC
 * - Facebook: #1877F2
 * - Instagram: #C13584 / #E1306C
 *
 * Clean, lightweight, mobile-first layout with zero fake follower metrics and
 * zero heavy animations.
 */

/* Dedicated Community Page Hero */
.rnt-community-page-hero {
	background-color: #f8fafc;
	border: 1px solid #e2e8f0;
	border-left: 5px solid #1b365d;
	border-radius: 8px;
	padding: 24px;
	margin-bottom: 26px;
}

.rnt-community-page-hero__badge {
	display: inline-block;
	padding: 3px 10px;
	margin-bottom: 10px;
	font-size: 0.76rem;
	font-weight: 700;
	text-transform: uppercase;
	background-color: #fff7ed;
	color: #ea580c;
	border: 1px solid #ffedd5;
	border-radius: 999px;
}

.rnt-community-page-hero__title {
	margin: 0 0 10px;
	font-size: 1.7rem;
	font-weight: 800;
	color: #0f2537;
	line-height: 1.28;
}

.rnt-community-page-hero__desc {
	margin: 0 0 8px;
	font-size: 0.96rem;
	color: #334155;
	line-height: 1.6;
}

.rnt-community-page-hero__desc-hi {
	margin: 0;
	font-size: 0.94rem;
	color: #475569;
	line-height: 1.65;
}

/* Section Headers */
.rnt-community-section {
	margin-bottom: 28px;
}

.rnt-community-header {
	margin-bottom: 18px;
}

.rnt-community-header__title {
	margin: 0 0 6px;
	font-size: 1.4rem;
	font-weight: 700;
	color: #0f2537;
}

.rnt-community-header__subtitle {
	margin: 0;
	font-size: 0.94rem;
	color: #475569;
	line-height: 1.55;
}

/* 4-Platform Cards Grid (Dedicated Page & Homepage) */
.rnt-community-cards-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
}

.rnt-community-card {
	background-color: #ffffff;
	border: 1px solid #e2e8f0;
	border-top: 4px solid #1b365d;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(15, 37, 55, 0.06);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.rnt-community-card--whatsapp {
	border-top-color: #16a34a;
}

.rnt-community-card--telegram {
	border-top-color: #0284c7;
}

.rnt-community-card--facebook {
	border-top-color: #1877f2;
}

.rnt-community-card--instagram {
	border-top-color: #c13584;
}

.rnt-community-card__top {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}

.rnt-community-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 8px;
	flex-shrink: 0;
}

.rnt-community-card--whatsapp .rnt-community-card__icon {
	background-color: #dcfce7;
	color: #15803d;
}

.rnt-community-card--telegram .rnt-community-card__icon {
	background-color: #e0f2fe;
	color: #0284c7;
}

.rnt-community-card--facebook .rnt-community-card__icon {
	background-color: #dbeafe;
	color: #1877f2;
}

.rnt-community-card--instagram .rnt-community-card__icon {
	background-color: #fce7f3;
	color: #c13584;
}

.rnt-community-card__name {
	margin: 0;
	font-size: 1.12rem;
	font-weight: 700;
	color: #0f2537;
	line-height: 1.25;
}

.rnt-community-card__tag {
	display: inline-block;
	font-size: 0.74rem;
	font-weight: 600;
	color: #64748b;
	margin-top: 2px;
}

.rnt-community-card__body {
	margin-bottom: 16px;
}

.rnt-community-card__desc-en {
	margin: 0 0 8px;
	font-size: 0.92rem;
	font-weight: 600;
	color: #1e293b;
	line-height: 1.5;
}

.rnt-community-card__desc-hi {
	margin: 0;
	font-size: 0.86rem;
	color: #475569;
	line-height: 1.6;
}

/* Platform Action Buttons */
.rnt-community-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 10px 16px;
	border-radius: 6px;
	font-size: 0.9rem;
	font-weight: 700;
	color: #ffffff !important;
	text-decoration: none !important;
	box-sizing: border-box;
	border: 1px solid transparent;
}

.rnt-community-btn__icon {
	display: inline-flex;
	align-items: center;
}

.rnt-community-btn--whatsapp {
	background-color: #15803d;
	border-color: #15803d;
}

.rnt-community-btn--whatsapp:hover,
.rnt-community-btn--whatsapp:focus {
	background-color: #166534;
}

.rnt-community-btn--telegram {
	background-color: #0284c7;
	border-color: #0284c7;
}

.rnt-community-btn--telegram:hover,
.rnt-community-btn--telegram:focus {
	background-color: #0369a1;
}

.rnt-community-btn--facebook {
	background-color: #1877f2;
	border-color: #1877f2;
}

.rnt-community-btn--facebook:hover,
.rnt-community-btn--facebook:focus {
	background-color: #1d4ed8;
}

.rnt-community-btn--instagram {
	background-color: #c13584;
	border-color: #c13584;
}

.rnt-community-btn--instagram:hover,
.rnt-community-btn--instagram:focus {
	background-color: #9d174d;
}

/* Homepage Community Banner */
.rnt-community-home-banner {
	background-color: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 22px;
}

.rnt-community-home-banner__intro {
	margin-bottom: 18px;
}

.rnt-community-home-banner__title {
	margin: 0 0 6px;
	font-size: 1.35rem;
	font-weight: 700;
	color: #0f2537;
}

.rnt-community-home-banner__sub {
	margin: 0 0 6px;
	font-size: 0.92rem;
	color: #475569;
}

.rnt-community-home-banner__page-link {
	margin: 0;
	font-size: 0.88rem;
}

.rnt-community-home-banner__page-link a {
	color: #ea580c;
	font-weight: 700;
	text-decoration: none;
}

.rnt-community-home-banner__page-link a:hover {
	text-decoration: underline;
}

/* Compact Non-Intrusive Follow/Join Box (Job Detail, Results & Updates Pages) */
.rnt-community-compact-box {
	background-color: #f8fafc;
	border: 1px solid #cbd5e1;
	border-left: 4px solid #ea580c;
	border-radius: 6px;
	padding: 16px 18px;
	margin: 20px 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.rnt-community-compact-box__title {
	margin: 0 0 4px;
	font-size: 1.02rem;
	font-weight: 700;
	color: #0f2537;
}

.rnt-community-compact-box__sub {
	margin: 0;
	font-size: 0.85rem;
	color: #475569;
}

.rnt-community-compact-box__buttons {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}

.rnt-community-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 0.84rem;
	font-weight: 700;
	color: #ffffff !important;
	text-decoration: none !important;
}

.rnt-community-pill__icon {
	display: inline-flex;
	align-items: center;
}

.rnt-community-pill__icon svg {
	width: 18px;
	height: 18px;
}

.rnt-community-pill--whatsapp {
	background-color: #15803d;
}

.rnt-community-pill--telegram {
	background-color: #0284c7;
}

.rnt-community-pill--facebook {
	background-color: #1877f2;
}

.rnt-community-pill--instagram {
	background-color: #c13584;
}

.rnt-community-pill:hover,
.rnt-community-pill:focus {
	opacity: 0.92;
}

/* Website Footer Compact Social Strip */
.rnt-footer-social-strip {
	background-color: #0f2537;
	color: #ffffff;
	border-top: 3px solid #ea580c;
	padding: 14px 0;
	font-size: 0.88rem;
}

.rnt-footer-social-strip__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.rnt-footer-social-strip__label {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.rnt-footer-community-page-link {
	color: #fdba74;
	font-weight: 600;
	text-decoration: none;
}

.rnt-footer-community-page-link:hover {
	color: #ffffff;
	text-decoration: underline;
}

.rnt-footer-social-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.rnt-footer-social-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background-color: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #ffffff !important;
	font-weight: 600;
	font-size: 0.82rem;
	text-decoration: none !important;
}

.rnt-footer-social-link__icon {
	display: inline-flex;
	align-items: center;
}

.rnt-footer-social-link__icon svg {
	width: 16px;
	height: 16px;
}

.rnt-footer-social-link--whatsapp:hover {
	background-color: #15803d;
	border-color: #15803d;
}

.rnt-footer-social-link--telegram:hover {
	background-color: #0284c7;
	border-color: #0284c7;
}

.rnt-footer-social-link--facebook:hover {
	background-color: #1877f2;
	border-color: #1877f2;
}

.rnt-footer-social-link--instagram:hover {
	background-color: #c13584;
	border-color: #c13584;
}

/* Responsive Breakpoints */
@media (min-width: 768px) {
	.rnt-community-cards-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.rnt-community-compact-box {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.rnt-community-compact-box__buttons {
		display: flex;
		flex-wrap: wrap;
	}
}

@media (min-width: 1024px) {
	.rnt-community-cards-grid--home {
		grid-template-columns: repeat(4, 1fr);
	}
}
