/* ROOT STYLES */
body {
	/*font-family: Arial, Helvetica, sans-serif;*/
	font-family: "Inter", Arial, Helvetica, sans-serif;
}

h2,
.h2 {
	font-size: 1.5rem;
}

i.social {
	font-size: 1.5em;
	border-radius: 50%;
	background-color: white;
	line-height: 1.5em;
	width: 1.5em;
	height: 1.5em;
	text-align: center;
	display: inline-block;
	transition: 0.5s;
}

i.socialContact {
	font-size: 1.5em;
	border-radius: 50%;
	background-color: #31006f;
	line-height: 1.5em;
	width: 1.5em;
	height: 1.5em;
	text-align: center;
	display: inline-block;
	transition: 0.5s;
}

.collabBadges {
	width: 145px;
	height: 145px;
	box-shadow: 0px 0px 0px 10px rgb(49 0 111 / 62%);
}

/* SWEET ALERT 2 */
.swal2-icon.swal2-error {
	border-color: #7758b8 !important;
	color: #7758b8 !important;
	font-weight: bold !important;
}

.swal2-icon.swal2-warning {
	border-color: #7758b8 !important;
	color: #7758b8 !important;
	font-weight: bold !important;
}

.swal2-icon.swal2-info {
	border-color: #7758b8 !important;
	color: #7758b8 !important;
	font-weight: bold !important;
}

.swal2-icon.swal2-success {
	border-color: #7758b8 !important;
	color: #7758b8 !important;
	font-weight: bold !important;
}

.has-search .form-control {
	padding-left: 2.375rem;
}

.has-search .form-control-feedback {
	position: absolute;
	z-index: 2;
	display: block;
	width: 2.375rem;
	height: 2.375rem;
	line-height: 2.375rem;
	text-align: center;
	pointer-events: none;
	color: #aaa;
}

i.social {
	font-size: 1.5em;
	border-radius: 50%;
	background-color: white;
	line-height: 1.5em;
	width: 1.5em;
	height: 1.5em;
	text-align: center;
	display: inline-block;
	transition: 0.5s;
}

.fa-google {
	background: conic-gradient(from -45deg, #ea4335 110deg, #4285f4 90deg 180deg, #34a853 180deg 270deg, #fbbc05 270deg) 73% 55%/150% 150% no-repeat;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

.hrText {
	display: flex;
	align-items: center;
	text-align: center;
	color: #7f7f7f;

	&::before,
	&::after {
		content: "";
		flex: 1;
		border-bottom: 2px solid #7f7f7f;
	}

	&::before {
		margin-right: 0.25em;
	}

	&::after {
		margin-left: 0.25em;
	}
}

.password-strength-meter {
	padding-top: 5px;
	padding-bottom: 10px;
}

.password-strength-meter>div {
	height: 5px;
	border-radius: 5px;
}

.nav-topic .nav-link {
	border-bottom: 3px solid transparent;
}

.nav-topic .nav-link:hover,
.nav-topic .nav-link:focus {
	border-bottom-color: #31006F;
}

.nav-topic .nav-link.active,
.nav-topic .show>.nav-link {
	border-bottom-color: #31006F;
}

.nav-link.admin {
	background-color: #fff;
	color: #000;
}

.dropdown-toggle.dropdown-arrow::after {
	vertical-align: 0;
	margin: -1px;
	padding: 0;
	content: "\f107";
	border: none;
	font-family: "Font Awesome 6 Pro";
	color: #31006F;
	font-weight: 700;
	padding-left: 2px;
}

.checkbox-xl .form-check-input {
	top: 1.2rem;
	scale: 1.7;
	margin-right: 0.8rem;
}

/* TEXT & LINKS COLORS */
.text-purple-1 {
	color: #31006F !important;
}

.text-purple-2 {
	color: #654093 !important;
}

.text-purple-3 {
	color: #CBC3E3 !important;
}

.bg-purpDark {
	background-color: #241636;
}

.bg-purpLight {
	background-color: #654093;
}

.bg-purpLighter {
	background-color: #F6F4FB;
}

a.link-purple,
a.link-purple:hover,
a.link-purple:active,
a.link-purple:focus,
a.link-purple.active {
	color: #31006f;
}

/** BOOTSTRAP OVERRIDES **/
.btn-outline-primary {
	--bs-btn-color: #31006f;
	--bs-btn-border-color: #31006f;
	--bs-btn-hover-bg: #31006f;
	--bs-btn-hover-border-color: #31006f;
	--bs-btn-active-bg: #31006f;
	--bs-btn-active-border-color: #31006f;
	--bs-btn-disabled-color: #31006f;
	--bs-btn-disabled-border-color: #31006f;
}

.btn-primary {
	--bs-btn-bg: #31006f;
	--bs-btn-border-color: #31006f;
	--bs-btn-hover-bg: #170133;
	--bs-btn-hover-border-color: #170133;
	--bs-btn-active-bg: #170133;
	--bs-btn-active-border-color: #170133;
	--bs-btn-disabled-bg: #31006f;
	--bs-btn-disabled-border-color: #31006f;
}

.page-item.active .page-link {
	background-color: rgb(101, 64, 147, 0.25);
	border-color: #7b6eb2 !important;
	color: #000 !important;
}

.page-link:hover {
	background-color: #6c63a8;
	color: #000;
}

.form-control:focus {
	border: var(--bs-border-width) solid var(--bs-border-color);
	outline: 0;
	box-shadow: none;
}

.fa-star,
.fa-star-half-stroke,
.fa-circle-check {
	color: #31006f;
}

.form-check-input:checked {
	background-color: var(--bs-primary-hex);
	border-color: var(--bs-primary-hex);
}

.form-range::-webkit-slider-thumb {
	background-color: var(--bs-primary-hex);
}

:root,
[data-bs-theme=light] {
	--bs-primary-hex: #31006f;
	--bs-primary-rgb: 49, 0, 111;
	--bs-primary: #31006f;
	--bs-secondary: #6c757d;
	--bs-secondary-rgb: 108, 117, 125;
	--bs-link-color: #31006f;
	--bs-link-color-rgb: 49, 0, 111;
	--bs-link-hover-color: #31006f;
	--bs-link-hover-color-rgb: 49, 0, 111;
	--bs-code-color: #654093;
	--bs-light-rgb: 246, 244, 251;
}

.dropdown-menu {
	--bs-dropdown-link-active-bg: #654093;
}

.list-group-item.active {
	--bs-list-group-active-color: #000;
	--bs-list-group-active-bg: #fcb137;
	--bs-list-group-active-border-color: #f47922;
}

.list-group-item {
	--bs-list-group-item-padding-y: .2rem;
	--bs-list-group-item-padding-x: 1rem;
	--bs-list-group-color: #212529;
	--bs-list-group-bg: #fff;
	--bs-list-group-border-width: 1px;
	--bs-list-group-border-color: #dee2e6;
}

.btn {
	--bs-btn-disabled-opacity: .5;
}

.nav-pills {
	--bs-nav-pills-link-active-color: #000;
	--bs-nav-pills-link-active-bg: rgb(101, 64, 147, 0.25);
	/*--bs-nav-pills-link-active-bg: #654093;    */
}

.rounded-circle {
	border-radius: 50% !important;
}

.bg-label-success {
	background-color: #e8fadf !important;
	color: #71dd37 !important;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

.avatar-initials {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	vertical-align: middle;
	border-radius: 50%;
	border: solid thin grey;
	background: grey;
	color: white;
}

.avatar-initials-lg {
	width: 100px;
	height: 100px;
	font-size: 45px;
}

.avatar-initials-md {
	width: 50px;
	height: 50px;
	font-size: 23px;
}

.avatar-initials-sm {
	width: 28px;
	height: 28px;
	font-size: 16px;
}

.avatar-sm {
	width: 100%;
	max-width: 30px;
	aspect-ratio: 1 / 1;
	border-radius: 100%;
	margin: auto;
	display: block;
	object-fit: cover;
}

.avatar-md {
	width: 100%;
	max-width: 50px;
	aspect-ratio: 1 / 1;
	border-radius: 100%;
	margin: auto;
	display: block;
	object-fit: cover;
}

.avatar-lg {
	width: 100%;
	max-width: 100px;
	aspect-ratio: 1 / 1;
	border-radius: 100%;
	margin: auto;
	display: block;
	object-fit: cover;
}

.avatar-circle {
	width: 90px;
	height: 90px;
	transition: all 0.2s;
}

.avatar-option .btn {
	border-radius: 0.5rem;
	transition: all 0.2s;
}

.avatar-option .btn:hover,
.btn-check:checked+.btn {
	background-color: rgba(101, 64, 147, 0.125);
}

.btn-dashed-outline {
	border: 2px dashed grey;
	color: #000;
	/* Text color */
	background-color: transparent;
	/* Transparent background */
}

.btn-dashed-outline:hover {
	background-color: grey;
	/* Optional: change background on hover */
	color: white;
	/* Optional: change text color on hover */
}

.breadcrumb-item+.breadcrumb-item::before {
	content: "\f0da";
	font-family: 'Font Awesome 6 Pro';
	font-weight: 900;
	color: #6c757d;
	/* Bootstrap's default text color for breadcrumbs */
}

.accordion {
	--bs-accordion-active-bg: rgb(101, 64, 147, 0.25);
}

.dropdown-menu-search::before {
	content: "";
	position: absolute;
	top: -10px;
	left: 20px;
	width: 0;
	height: 0;
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-bottom: 20px solid white;
	z-index: 1000;
}

.mt-n5 {
	margin-top: -3rem !important;
}

.modal-share-content {
	border-radius: 1rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.toast.text-bg-success {
	background-color: #d1e7dd !important;
	border-color: #badbcc !important;
	color: #0f5132 !important;
	font-weight: bold !important;
}

.toast.text-bg-danger {
	color: #842029 !important;
	background-color: #f8d7da !important;
	border-color: #f5c2c7 !important;
	font-weight: bold !important;
}

.toast.text-bg-info {
	color: #055160 !important;
	background-color: #cff4fc !important;
	border-color: #b6effb !important;
	font-weight: bold !important;
}

.toast.text-bg-warning {
	color: #664d03 !important;
	background-color: #fff3cd !important;
	border-color: #ffecb5 !important;
	font-weight: bold !important;
}




/** HEX STYLES OVERRIDES **/
.hexGrid {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin: 0 auto;
	list-style-type: none;
}

.hex {
	width: 80%;
	margin: 10px;
	position: relative;
}

.hexLink {
	display: block;
	width: 100%;
	height: 0;
	padding-bottom: 115%;
	background-color: #31006f;
	clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
	text-decoration: none;
	color: white;
	position: relative;
}

.hexLink:hover {
	background-color: #4a1b8f;
	font-weight: bold;
}

.hexContent {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	width: 100%;
}

.hexCircle {
	height: 180px;
	background: #533688;
	-moz-border-radius: 90px;
	-webkit-border-radius: 90px;
	border-radius: 90px;
	padding: 30px;
}

/*** HEXAGON SIZING AND EVEN ROW INDENTATION *****************************************************************/
@media (min-width:993px) {
	.hexGrid {
		padding-bottom: 10%
	}

	.hex {
		width: 18%;
		margin-bottom: -4.5%;
	}

	.hex:nth-child(8n+5) {
		margin-left: 20%;
	}
}

@media (max-width:992px) and (min-width:769px) {
	.hexGrid {
		padding-bottom: 10%;
		font-size: 13px;
	}

	.hex {
		width: 30%;
		margin-bottom: -7%;
	}

	.hex:nth-child(5n+4) {
		margin-left: 3%;
	}
}

@media (max-width:768px) {
	.hexGrid {
		padding-bottom: 10%;
		font-size: 13px;
	}

	.hex {
		width: 30%;
		margin-bottom: -8%;
	}

	.hex:nth-child(5n+4) {
		margin-left: 0%;
	}
}

@media (max-width:576px) {
	.hexGrid {
		padding-bottom: 10%;
		font-size: 14px;
	}

	.hex {
		width: 35%;
		margin-bottom: 0%;
	}
}

@media (max-width: 400px) {
	.hexGrid {
		font-size: 12px;
	}
}


.article-content {
    max-width: 800px;
    margin: auto;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Blurred preview section */
.blurred-zone {
    position: relative;
    overflow: hidden;
    height: 6rem; /* roughly 2–3 lines */
    margin-bottom: 2rem;
}

.blur-text {
    filter: blur(5px);
    opacity: 0.6;
}

/* Fade effect like Medium */
.fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4rem;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 100%);
}

/* CTA styling */
.signup-overlay {
    border-top: 1px solid #ddd;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.05);
}

.signup-overlay h5 {
    font-size: 1.25rem;
}


