/**
 * Prestige News — Bootstrap lite (subset do visitante).
 * Substitui bootstrap.min.css no front; não renomeia classes PHP.
 * Breakpoints BS5: sm 576 / md 768 / lg 992 / xl 1200 / xxl 1400.
 */

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

body {
	margin: 0;
}

img,
svg {
	vertical-align: middle;
}

img {
	max-width: 100%;
	height: auto;
}

button {
	cursor: pointer;
}

/* ---- Containers ---- */
.container-fluid {
	width: 100%;
	padding-right: .75rem;
	padding-left: .75rem;
	margin-right: auto;
	margin-left: auto;
}

.container {
	width: 100%;
	padding-right: .75rem;
	padding-left: .75rem;
	margin-right: auto;
	margin-left: auto;
}

@media (min-width: 576px) {
	.container { max-width: 540px; }
}
@media (min-width: 768px) {
	.container { max-width: 720px; }
}
@media (min-width: 992px) {
	.container { max-width: 960px; }
}
@media (min-width: 1200px) {
	.container { max-width: 1140px; }
}
@media (min-width: 1400px) {
	.container { max-width: 1320px; }
}

/* ---- Grid ---- */
.row {
	display: flex;
	flex-wrap: wrap;
	margin-right: -.75rem;
	margin-left: -.75rem;
}

.row > * {
	flex-shrink: 0;
	width: 100%;
	max-width: 100%;
	padding-right: .75rem;
	padding-left: .75rem;
}

.g-0,
.gx-0 {
	--bs-gutter-x: 0;
	margin-right: 0;
	margin-left: 0;
}
.g-0 > *,
.gx-0 > * {
	padding-right: 0;
	padding-left: 0;
}

.col {
	flex: 1 0 0%;
}

.col-2 { flex: 0 0 auto; width: 16.66666667%; }
.col-3 { flex: 0 0 auto; width: 25%; }
.col-4 { flex: 0 0 auto; width: 33.33333333%; }
.col-6 { flex: 0 0 auto; width: 50%; }
.col-9 { flex: 0 0 auto; width: 75%; }
.col-10 { flex: 0 0 auto; width: 83.33333333%; }
.col-12,
.col-xs-12 { flex: 0 0 auto; width: 100%; }

@media (min-width: 576px) {
	.col-sm-6 { flex: 0 0 auto; width: 50%; }
	.col-sm-12 { flex: 0 0 auto; width: 100%; }
}

@media (min-width: 768px) {
	.col-md-3 { flex: 0 0 auto; width: 25%; }
	.col-md-4 { flex: 0 0 auto; width: 33.33333333%; }
	.col-md-6 { flex: 0 0 auto; width: 50%; }
	.col-md-8 { flex: 0 0 auto; width: 66.66666667%; }
	.col-md-12 { flex: 0 0 auto; width: 100%; }
}

@media (min-width: 992px) {
	.col-lg-3 { flex: 0 0 auto; width: 25%; }
	.col-lg-4 { flex: 0 0 auto; width: 33.33333333%; }
	.col-lg-6 { flex: 0 0 auto; width: 50%; }
	.col-lg-9 { flex: 0 0 auto; width: 75%; }
	.col-lg-12 { flex: 0 0 auto; width: 100%; }
}

@media (min-width: 1200px) {
	.col-xl-3 { flex: 0 0 auto; width: 25%; }
	.col-xl-6 { flex: 0 0 auto; width: 50%; }
	.col-xl-12 { flex: 0 0 auto; width: 100%; }
}

/* ---- Display / flex ---- */
.d-flex { display: flex !important; }
.d-none { display: none !important; }
.flex-column { flex-direction: column !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-end { justify-content: flex-end !important; }
.align-items-center { align-items: center !important; }
.gap-2 { gap: .5rem !important; }
.h-100 { height: 100% !important; }
.w-100 { width: 100% !important; }

/* ---- Spacing ---- */
.m-0 { margin: 0 !important; }
.mt-2 { margin-top: .5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.ms-1, .ml-1 { margin-left: .25rem !important; }
.ms-2 { margin-left: .5rem !important; }
.me-2 { margin-right: .5rem !important; }
.me-3 { margin-right: 1rem !important; }
.p-0 { padding: 0 !important; }
.pe-2 { padding-right: .5rem !important; }

/* ---- Text ---- */
.text-center { text-align: center !important; }
.text-decoration-none { text-decoration: none !important; }
.text-body-secondary { color: #6c757d !important; }
.text-bg-light {
	color: #000 !important;
	background-color: #f8f9fa !important;
}

/* ---- Images ---- */
.img-fluid {
	max-width: 100%;
	height: auto;
}

/* ---- Borders ---- */
.border-0 { border: 0 !important; }
.rounded-start {
	border-bottom-left-radius: .375rem !important;
	border-top-left-radius: .375rem !important;
}

.overflow-hidden { overflow: hidden !important; }

.sr-only,
.visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* ---- Buttons ---- */
.btn {
	display: inline-block;
	font-weight: 400;
	line-height: 1.5;
	color: #212529;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	cursor: pointer;
	user-select: none;
	background-color: transparent;
	border: 1px solid transparent;
	padding: .375rem .75rem;
	font-size: 1rem;
	border-radius: .375rem;
	transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.btn-primary {
	color: #fff;
	background-color: #0d6efd;
	border-color: #0d6efd;
}

.btn-primary:hover {
	color: #fff;
	background-color: #0b5ed7;
	border-color: #0a58ca;
}

.btn-link {
	font-weight: 400;
	color: #0d6efd;
	text-decoration: underline;
	background: none;
	border: 0;
	padding: 0;
}

.btn-close {
	box-sizing: content-box;
	width: 1em;
	height: 1em;
	padding: .25em;
	color: #000;
	background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center / 1em auto no-repeat;
	border: 0;
	border-radius: .375rem;
	opacity: .5;
}

.btn-close:hover { opacity: .75; }

.btn-close-black {
	filter: none;
}

/* ---- Navbar / nav ---- */
.navbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	padding: .5rem 0;
}

.navbar-nav {
	display: flex;
	flex-direction: column;
	padding-left: 0;
	margin-bottom: 0;
	list-style: none;
}

.navbar-nav .nav-link {
	padding-right: 0;
	padding-left: 0;
}

.navbar-collapse {
	flex-basis: 100%;
	flex-grow: 1;
	align-items: center;
}

.navbar-toggler {
	padding: .25rem .75rem;
	font-size: 1.25rem;
	line-height: 1;
	background-color: transparent;
	border: 1px solid transparent;
	border-radius: .375rem;
}

.navbar-brand {
	padding-top: .3125rem;
	padding-bottom: .3125rem;
	margin-right: 1rem;
	font-size: 1.25rem;
	text-decoration: none;
	white-space: nowrap;
}

.nav {
	display: flex;
	flex-wrap: wrap;
	padding-left: 0;
	margin-bottom: 0;
	list-style: none;
}

.nav-link {
	display: block;
	padding: .5rem 1rem;
	color: #0d6efd;
	text-decoration: none;
	transition: color .15s ease-in-out;
}

.nav-item {
	list-style: none;
}

.collapse:not(.show) {
	/* navbar-collapse kept visible by theme CSS on desktop */
}

/* ---- Dropdown ---- */
.dropdown {
	position: relative;
}

.dropdown-toggle {
	white-space: nowrap;
}

.dropdown-toggle::after {
	display: inline-block;
	margin-left: .255em;
	vertical-align: .255em;
	content: "";
	border-top: .3em solid;
	border-right: .3em solid transparent;
	border-bottom: 0;
	border-left: .3em solid transparent;
}

.dropdown-menu {
	position: absolute;
	z-index: 1000;
	display: none;
	min-width: 10rem;
	padding: .5rem 0;
	margin: 0;
	font-size: 1rem;
	color: #212529;
	text-align: left;
	list-style: none;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: .375rem;
}

.dropdown-menu.show {
	display: block;
}

.dropdown-item {
	display: block;
	width: 100%;
	padding: .25rem 1rem;
	clear: both;
	font-weight: 400;
	color: #212529;
	text-align: inherit;
	text-decoration: none;
	white-space: nowrap;
	background-color: transparent;
	border: 0;
}

.dropdown-item:hover,
.dropdown-item:focus {
	color: #1e2125;
	background-color: #e9ecef;
}

.dropdown-divider {
	height: 0;
	margin: .5rem 0;
	overflow: hidden;
	border-top: 1px solid rgba(0, 0, 0, .15);
}

.dropdown-header {
	display: block;
	padding: .5rem 1rem;
	margin-bottom: 0;
	font-size: .875rem;
	color: #6c757d;
	white-space: nowrap;
}

.dropdown-item-text {
	display: block;
	padding: .25rem 1rem;
	color: #212529;
}

/* ---- Offcanvas ---- */
.offcanvas {
	position: fixed;
	bottom: 0;
	z-index: 1045;
	display: flex;
	flex-direction: column;
	max-width: 100%;
	visibility: hidden;
	background-color: #fff;
	background-clip: padding-box;
	outline: 0;
	transition: transform .3s ease-in-out;
}

.offcanvas-start {
	top: 0;
	left: 0;
	width: 400px;
	border-right: 1px solid rgba(0, 0, 0, .2);
	transform: translateX(-100%);
}

.offcanvas.show {
	visibility: visible;
	transform: none;
}

.offcanvas-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem;
}

.offcanvas-body {
	flex-grow: 1;
	padding: 1rem;
	overflow-y: auto;
}

.offcanvas-backdrop {
	position: fixed;
	inset: 0;
	z-index: 1040;
	background-color: rgba(0, 0, 0, .5);
}

.offcanvas-backdrop.fade { opacity: 0; }
.offcanvas-backdrop.show { opacity: 1; }

/* ---- Forms ---- */
.form-control {
	display: block;
	width: 100%;
	padding: .375rem .75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #212529;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	border-radius: .375rem;
	transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control:focus {
	color: #212529;
	background-color: #fff;
	border-color: #86b7fe;
	outline: 0;
	box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

.form-floating {
	position: relative;
}

.form-floating > .form-control {
	height: calc(3.5rem + 2px);
	padding: 1rem .75rem;
}

.form-floating > label {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	padding: 1rem .75rem;
	pointer-events: none;
	border: 1px solid transparent;
	transform-origin: 0 0;
	transition: opacity .1s ease-in-out, transform .1s ease-in-out;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
	opacity: .65;
	transform: scale(.85) translateY(-.5rem) translateX(.15rem);
}

.input-group {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	width: 100%;
}

.input-group > .form-control {
	position: relative;
	flex: 1 1 auto;
	width: 1%;
	min-width: 0;
}

.input-group-text {
	display: flex;
	align-items: center;
	padding: .375rem .75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #212529;
	text-align: center;
	white-space: nowrap;
	background-color: #e9ecef;
	border: 1px solid #ced4da;
	border-radius: .375rem;
}

/* ---- Alerts ---- */
.alert {
	position: relative;
	padding: 1rem;
	margin-bottom: 1rem;
	border: 1px solid transparent;
	border-radius: .375rem;
}

.alert-dismissible {
	padding-right: 3rem;
}

.alert-dismissible .btn-close {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	padding: 1.25rem 1rem;
}

.alert-danger {
	color: #842029;
	background-color: #f8d7da;
	border-color: #f5c2c7;
}

.alert-success {
	color: #0f5132;
	background-color: #d1e7dd;
	border-color: #badbcc;
}

.fade {
	transition: opacity .15s linear;
}

.fade:not(.show) {
	opacity: 0;
}

.show {
	/* paired with fade / dropdown / offcanvas */
}

/* ---- Card (estrutura básica; visual no tema) ---- */
.card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	word-wrap: break-word;
	background-color: #fff;
	background-clip: border-box;
	border: 1px solid rgba(0, 0, 0, .125);
	border-radius: .375rem;
}

.card-body {
	flex: 1 1 auto;
	padding: 1rem;
}

.card-title {
	margin-bottom: .5rem;
}

.card-text:last-child {
	margin-bottom: 0;
}

.card-img-top {
	width: 100%;
	border-top-left-radius: calc(.375rem - 1px);
	border-top-right-radius: calc(.375rem - 1px);
}

/* ---- List inline ---- */
.list-inline {
	padding-left: 0;
	list-style: none;
}

.list-inline-item {
	display: inline-block;
}

.list-inline-item:not(:last-child) {
	margin-right: .5rem;
}

/* ---- Pagination ---- */
.pagination {
	display: flex;
	padding-left: 0;
	list-style: none;
}

.page-item {
	list-style: none;
}

.page-link {
	position: relative;
	display: block;
	padding: .375rem .75rem;
	color: #0d6efd;
	text-decoration: none;
	background-color: #fff;
	border: 1px solid #dee2e6;
}
