/*
Theme Name: Rede Baixo Sul Theme
Theme URI: https://example.com/
Author: Rede Baixo Sul
Description: Tema básico para o portal regional Rede Baixo Sul.
Version: 0.2.0
Text Domain: guia-baixo-sul-theme
*/

:root {
	--gbs-bg: #ffffff;
	--gbs-surface: #ffffff;
	--gbs-text: #17231f;
	--gbs-muted: #65736d;
	--gbs-line: #e5e7eb;
	--gbs-primary: #fea500;
	--gbs-primary-dark: #d98c00;
	--gbs-accent: #fea500;
	--gbs-soft: #fff3d6;
	--gbs-primary-border: #ffd27a;
	--gbs-primary-muted: #fff7e6;
	--gbs-primary-text: #5c3b00;
	--gbs-primary-contrast: #1f1600;
}

body {
	background: var(--gbs-bg);
	color: var(--gbs-text);
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
	color: var(--gbs-primary);
}

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

.gbs-site-header {
	border-bottom: 1px solid var(--gbs-primary-border);
}

.gbs-brand-mark {
	align-items: center;
	background: var(--gbs-primary);
	border-radius: 12px;
	color: #fff;
	display: inline-flex;
	height: 38px;
	justify-content: center;
	width: 38px;
}

.navbar .nav-link {
	color: var(--gbs-text);
	font-weight: 600;
}

.navbar .nav-link:hover {
	color: var(--gbs-primary);
}

.btn-success {
	background-color: var(--gbs-primary);
	border-color: var(--gbs-primary);
}

.btn-success:hover,
.btn-success:focus {
	background-color: var(--gbs-primary-dark);
	border-color: var(--gbs-primary-dark);
}

.btn-outline-success {
	border-color: var(--gbs-primary);
	color: var(--gbs-primary);
}

.btn-outline-success:hover,
.btn-outline-success:focus {
	background-color: var(--gbs-primary);
	border-color: var(--gbs-primary);
}

.text-success,
.text-success-emphasis {
	color: var(--gbs-primary) !important;
}

.text-bg-success,
.bg-success {
	background-color: var(--gbs-primary) !important;
	color: var(--gbs-primary-contrast) !important;
}

.text-bg-success-subtle,
.bg-success-subtle {
	background-color: var(--gbs-soft) !important;
	color: var(--gbs-primary-text) !important;
}

.border-success,
.border-success-subtle {
	border-color: var(--gbs-primary-border) !important;
}

.gbs-hero {
	background:
		radial-gradient(circle at 20% 20%, var(--gbs-primary-muted), transparent 28%),
		linear-gradient(135deg, #ffffff 0%, var(--gbs-soft) 100%);
	padding: 76px 0 92px;
}

.gbs-page-hero {
	background: linear-gradient(135deg, #ffffff 0%, var(--gbs-soft) 100%);
	border-bottom: 1px solid var(--gbs-line);
	padding: 48px 0;
}

.gbs-hero-search {
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid var(--gbs-primary-border);
	border-radius: 24px;
	padding: 28px;
}

.gbs-home-search-bar {
	margin-top: -58px;
	position: relative;
	z-index: 2;
}

.gbs-home-search-bar .gbs-hero-search {
	background: #ffffff;
	border-color: var(--gbs-line);
	border-radius: 18px;
	padding: 22px;
}

.gbs-hero-icon,
.gbs-account-icon {
	align-items: center;
	background: var(--gbs-soft);
	border-radius: 18px;
	color: var(--gbs-primary);
	display: inline-flex;
	font-size: 1.4rem;
	height: 54px;
	justify-content: center;
	width: 54px;
}

.gbs-box {
	background: var(--gbs-surface);
	border: 1px solid var(--gbs-line);
	border-radius: 18px;
}

.gbs-dashboard-page {
	padding: 0;
	width: 100%;
}

.rounded-4 {
	border-radius: 18px !important;
}

.gbs-category-card {
	align-items: center;
	color: var(--gbs-text);
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 154px;
	padding: 20px 16px;
	text-align: center;
	transition: transform 0.16s ease, border-color 0.16s ease;
}

.gbs-category-card:hover {
	color: var(--gbs-text);
	border-color: var(--gbs-primary-border);
	text-decoration: none;
	transform: translateY(-2px);
}

.gbs-category-icon {
	align-items: center;
	background: var(--gbs-soft);
	border-radius: 16px;
	color: var(--gbs-primary);
	display: inline-flex;
	height: 58px;
	justify-content: center;
	margin-bottom: 14px;
	width: 58px;
}

.gbs-category-icon svg {
	height: 27px;
	stroke-width: 2.25;
	width: 27px;
}

.gbs-category-title {
	color: #07111f;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.22;
	margin: 0;
}

.gbs-category-card[data-gbs-tone="1"] .gbs-category-icon {
	background: #f9edff;
	color: #9333ea;
}

.gbs-category-card[data-gbs-tone="2"] .gbs-category-icon {
	background: #f1f5f9;
	color: #475569;
}

.gbs-category-card[data-gbs-tone="3"] .gbs-category-icon {
	background: #eaf2ff;
	color: #2563eb;
}

.gbs-category-card[data-gbs-tone="4"] .gbs-category-icon {
	background: #fff3e8;
	color: #c2410c;
}

.gbs-category-card[data-gbs-tone="5"] .gbs-category-icon {
	background: #eef2ff;
	color: #4f46e5;
}

.gbs-category-card[data-gbs-tone="6"] .gbs-category-icon {
	background: #ecfdf5;
	color: #16a34a;
}

.gbs-category-card[data-gbs-tone="7"] .gbs-category-icon {
	background: #eff6ff;
	color: #0284c7;
}

.gbs-provider-card {
	overflow: hidden;
	transition: transform 0.16s ease, border-color 0.16s ease;
}

.gbs-provider-card:hover {
	border-color: var(--gbs-primary-border);
	transform: translateY(-2px);
}

.gbs-provider-card-image {
	aspect-ratio: 4 / 3;
	background: var(--gbs-soft);
	display: block;
	overflow: hidden;
	text-decoration: none;
}

.gbs-provider-card-image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.gbs-card-placeholder,
.gbs-single-placeholder,
.gbs-photo-placeholder {
	background: var(--gbs-soft);
	color: var(--gbs-primary);
	font-size: 2rem;
	min-height: 220px;
}

.gbs-single-media {
	min-height: 360px;
}

.gbs-info-tile {
	align-items: center;
	background: var(--gbs-soft);
	border-radius: 16px;
	display: flex;
	gap: 10px;
	min-height: 48px;
	padding: 12px 14px;
}

.gbs-site-footer {
	background: #15231f;
	color: #fff;
}

.gbs-stars {
	display: inline-flex;
	gap: 3px;
	vertical-align: middle;
}

.gbs-star {
	color: #d0d5d2;
	font-size: 0.95em;
	line-height: 1;
}

.gbs-star.is-filled {
	color: var(--gbs-accent);
}

@media (max-width: 991.98px) {
	.gbs-hero {
		padding: 52px 0 76px;
	}

	.gbs-home-search-bar {
		margin-top: -42px;
	}

	.gbs-single-media {
		min-height: 260px;
	}
}
