/* ==========================================================================
   Reporter Oliveira Xavier - Custom Theme CSS
   Built on top of Bootstrap 5.3.8 (grid + utilities). Plain CSS, no Sass.
   ========================================================================== */

:root {
	--ox-red: #e2081b;
	--ox-red-dark: #b3050f;
	--ox-black: #1a1a1a;
	--ox-black-2: #111111;
	--ox-gray-text: #4a4a4a;
	--ox-gray-light: #e9e9e9;
	--ox-gray-bg: #f2f2f2;
	--ox-white: #ffffff;
	--ox-font-heading: 'Poppins', 'Segoe UI', sans-serif;
	--ox-font-body: 'Roboto', 'Segoe UI', sans-serif;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--ox-font-body);
	color: var(--ox-gray-text);
	background-color: var(--ox-white);
}

a {
	color: inherit;
}

a:hover {
	color: var(--ox-red);
}

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

/* ---------------- Top bar ---------------- */
.ox-topbar {
	background: var(--ox-black-2);
	color: #cfcfcf;
	font-size: 0.85rem;
	padding: 6px 0;
}

.ox-topbar-date {
	text-transform: capitalize;
}

.ox-topbar-social a {
	color: #cfcfcf;
	margin-left: 14px;
	text-decoration: none;
	transition: color 0.2s ease;
}

.ox-topbar-social a:hover {
	color: var(--ox-red);
}

/* ---------------- Branding / logo / header ad ---------------- */
.ox-branding {
	background: var(--ox-white);
	border-bottom: 1px solid var(--ox-gray-light);
}

.ox-logo-text {
	display: flex;
	flex-direction: column;
	line-height: 1;
	font-family: var(--ox-font-heading);
	color: var(--ox-black);
}

.ox-logo-line1 {
	font-size: 0.85rem;
	letter-spacing: 6px;
	font-weight: 600;
	color: var(--ox-black);
}

.ox-logo-line2 {
	font-size: 1.9rem;
	font-weight: 800;
	letter-spacing: 0.5px;
}

.ox-logo-oliveira {
	color: var(--ox-black);
}

.ox-logo-xavier {
	background: var(--ox-red);
	color: var(--ox-white);
	padding: 0 8px;
	margin-left: 4px;
}

.custom-logo {
	max-height: 60px;
	width: auto;
}

.ox-header-ad {
	min-width: 728px;
}

/* ---------------- Ads ---------------- */

/* Gray "PUBLICIDADE" box shown while a position has no active ad. */
.ox-ad-placeholder {
	background: var(--ox-gray-bg);
	border: 1px dashed #cfcfcf;
	color: #9a9a9a;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 90px;
	padding: 1rem;
	width: 100%;
}

.ox-ad-placeholder .ox-ad-label {
	font-weight: 700;
	letter-spacing: 1px;
	font-size: 0.95rem;
}

.ox-ad-placeholder .ox-ad-size {
	font-size: 0.85rem;
}

/* Real ad: no chrome at all, just the creative. */
.ox-ad-wrapper {
	width: 100%;
	text-align: center;
	line-height: 0;
}

.ox-ad-wrapper img {
	max-width: 100%;
	height: auto;
	display: inline-block;
}

.ox-ad-code {
	line-height: normal;
}

.ox-ad-728 {
	min-height: 90px;
}

.ox-ad-300 {
	min-height: 250px;
}

/* Sidebar ad stack: every ad set to the "Barra lateral" position. */
.ox-sidebar-ads .ox-ad-wrapper,
.ox-sidebar-ads .ox-ad-placeholder {
	margin-bottom: 1.5rem;
}

.ox-sidebar-ads .ox-ad-wrapper:last-child,
.ox-sidebar-ads .ox-ad-placeholder:last-child {
	margin-bottom: 0;
}

/* ---------------- Primary nav ---------------- */
.ox-navbar {
	background: var(--ox-black);
}

.ox-nav-menu {
	gap: 4px;
}

.ox-nav-menu .nav-link,
.ox-nav-menu li > a {
	color: var(--ox-white);
	font-family: var(--ox-font-heading);
	font-weight: 600;
	font-size: 0.9rem;
	letter-spacing: 0.5px;
	padding: 0.95rem 1.1rem;
	text-decoration: none;
	display: inline-block;
	transition: background 0.2s ease, color 0.2s ease;
}

.ox-nav-menu li:first-child > a,
.ox-nav-menu .menu-item-first > a {
	background: var(--ox-red);
}

.ox-nav-menu .nav-link:hover,
.ox-nav-menu .current-menu-item > a,
.ox-nav-menu li > a:hover {
	background: var(--ox-red);
	color: var(--ox-white);
}

.navbar-toggler {
	border: none;
	color: var(--ox-white);
}

.navbar-toggler-icon {
	filter: invert(1);
}

.ox-search-toggle {
	background: transparent;
	border: none;
	color: var(--ox-white);
	font-size: 1.1rem;
	padding: 0 1rem;
}

.ox-search-toggle:hover {
	color: var(--ox-red);
}

.ox-search-box {
	background: var(--ox-black);
}

.ox-search-form .form-control {
	border-radius: 0;
	border: none;
}

.ox-btn-search {
	background: var(--ox-red);
	color: var(--ox-white);
	border-radius: 0;
	border: none;
}

.ox-btn-search:hover {
	background: var(--ox-red-dark);
	color: var(--ox-white);
}

/* ---------------- Breaking news ticker ---------------- */
.ox-ticker {
	background: var(--ox-white);
	border-bottom: 3px solid var(--ox-red);
	padding: 10px 0;
}

.ox-ticker-label {
	background: var(--ox-red);
	color: var(--ox-white);
	font-family: var(--ox-font-heading);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 1px;
	padding: 8px 14px;
	margin-right: 14px;
	white-space: nowrap;
}

.ox-ticker-link {
	color: var(--ox-black);
	font-weight: 500;
	text-decoration: none;
}

.ox-ticker-link:hover {
	color: var(--ox-red);
}

.ox-ticker-arrow {
	background: transparent;
	border: 1px solid var(--ox-gray-light);
	color: var(--ox-black);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	margin-left: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ox-ticker-arrow:hover {
	background: var(--ox-red);
	border-color: var(--ox-red);
	color: var(--ox-white);
}

/* ---------------- Section titles ---------------- */
.ox-section-title {
	font-family: var(--ox-font-heading);
	font-weight: 800;
	font-size: 1.25rem;
	color: var(--ox-black);
	border-left: 6px solid var(--ox-red);
	padding-left: 12px;
	margin-bottom: 1.25rem;
	text-transform: uppercase;
}

/* ---------------- Category badge ---------------- */
.ox-badge {
	display: inline-block;
	background: var(--ox-red);
	color: var(--ox-white) !important;
	font-family: var(--ox-font-heading);
	font-weight: 700;
	font-size: 0.75rem;
	letter-spacing: 0.5px;
	padding: 5px 12px;
	text-decoration: none !important;
	margin-bottom: 0.75rem;
}

.ox-badge-overlay {
	position: absolute;
	left: 10px;
	bottom: 10px;
}

.ox-badge-overlay .ox-badge {
	margin-bottom: 0;
}

/* ---------------- Post meta ---------------- */
.ox-meta {
	font-size: 0.85rem;
	color: #8a8a8a;
	margin-bottom: 0.75rem;
}

.ox-meta .ox-meta-sep {
	margin: 0 6px;
}

.ox-meta .ox-views {
	white-space: nowrap;
}

.ox-meta .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	line-height: 1.1;
	vertical-align: -3px;
}

.ox-btn-leia-mais,
.ox-btn-ver-mais {
	background: var(--ox-red);
	color: var(--ox-white) !important;
	font-family: var(--ox-font-heading);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 1px;
	padding: 10px 22px;
	border-radius: 2px;
	text-decoration: none;
	display: inline-block;
	border: none;
}

.ox-btn-leia-mais:hover,
.ox-btn-ver-mais:hover {
	background: var(--ox-red-dark);
	color: var(--ox-white);
}

/* ---------------- News listing (home, archive, search) ---------------- */
.ox-list-group {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
}

.ox-list-item {
	display: flex;
	gap: 1.25rem;
	padding-bottom: 1.75rem;
	border-bottom: 1px solid var(--ox-gray-light);
}

.ox-list-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.ox-list-thumb {
	display: block;
	overflow: hidden;
	width: 240px;
	max-width: 40%;
}

.ox-list-thumb img {
	width: 100%;
	height: 165px;
	object-fit: cover;
	display: block;
	background: var(--ox-gray-bg);
	transition: transform 0.35s ease;
}

.ox-list-item:hover .ox-list-thumb img {
	transform: scale(1.05);
}

.ox-list-body {
	flex: 1;
	min-width: 0;
}

.ox-list-body .ox-badge {
	margin-bottom: 0.5rem;
}

.ox-list-title {
	font-family: var(--ox-font-heading);
	font-weight: 700;
	font-size: 1.25rem;
	line-height: 1.3;
	margin-bottom: 0.35rem;
}

.ox-list-title a {
	text-decoration: none;
	color: var(--ox-black);
}

.ox-list-title a:hover {
	color: var(--ox-red);
}

.ox-list-excerpt {
	font-size: 0.95rem;
	line-height: 1.6;
}

.ox-list-excerpt p {
	margin-bottom: 0.5rem;
}

.ox-list-more {
	font-family: var(--ox-font-heading);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--ox-red);
	text-decoration: none;
}

.ox-list-more:hover {
	text-decoration: underline;
}

/* ---------------- Sidebar ---------------- */

/* Big Instagram call to action, pinned to the top of the sidebar. */
.ox-instagram-cta {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 20px 18px;
	margin-bottom: 1.5rem;
	color: var(--ox-white) !important;
	text-decoration: none !important;
	background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
	transition: filter 0.2s ease, transform 0.2s ease;
}

.ox-instagram-cta:hover {
	filter: brightness(1.08);
	transform: translateY(-2px);
}

.ox-instagram-icon {
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.18);
	display: flex;
	align-items: center;
	justify-content: center;
}

.ox-instagram-icon .dashicons {
	font-size: 32px;
	width: 32px;
	height: 32px;
	line-height: 32px;
}

.ox-instagram-text {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.ox-instagram-title {
	font-family: var(--ox-font-heading);
	font-weight: 800;
	font-size: 0.95rem;
	letter-spacing: 0.5px;
}

.ox-instagram-handle {
	font-size: 0.85rem;
	opacity: 0.9;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ox-instagram-cta-btn {
	flex-shrink: 0;
	background: var(--ox-white);
	color: #cc2366;
	font-family: var(--ox-font-heading);
	font-weight: 700;
	font-size: 0.78rem;
	letter-spacing: 0.5px;
	padding: 8px 14px;
	border-radius: 3px;
}

/* ---------------- Single post ---------------- */
.ox-single-title {
	font-family: var(--ox-font-heading);
	font-weight: 800;
	font-size: 1.9rem;
	color: var(--ox-black);
	margin: 0.75rem 0;
}

.ox-single-thumb {
	margin-bottom: 1.25rem;
}

.ox-single-thumb img {
	width: 100%;
}

.ox-single-content {
	font-size: 1.05rem;
	line-height: 1.75;
}

.ox-single-content p {
	margin-bottom: 1.25rem;
}

.ox-single-tags a {
	display: inline-block;
	background: var(--ox-gray-bg);
	padding: 4px 12px;
	margin: 0 6px 6px 0;
	font-size: 0.8rem;
	text-decoration: none;
	color: var(--ox-gray-text);
}

/* ---------------- 404 ---------------- */
.ox-404-code {
	font-family: var(--ox-font-heading);
	font-weight: 800;
	font-size: 5rem;
	color: var(--ox-red);
}

/* ---------------- Pagination ---------------- */
.ox-pagination .page-link {
	color: var(--ox-black);
	border-radius: 0;
}

.ox-pagination .page-item.active .page-link {
	background: var(--ox-red);
	border-color: var(--ox-red);
}

/* ---------------- Footer ---------------- */
.ox-footer {
	background: var(--ox-black-2);
	color: #b8b8b8;
}

.ox-logo-footer .ox-logo-line1 {
	color: var(--ox-white);
}

.ox-footer-title {
	color: var(--ox-white);
	font-family: var(--ox-font-heading);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 1px;
	margin-bottom: 1rem;
}

.ox-footer-menu li {
	margin-bottom: 8px;
}

.ox-footer-menu a {
	color: #b8b8b8;
	text-decoration: none;
}

.ox-footer-menu a:hover {
	color: var(--ox-red);
}

.ox-footer-contact li {
	margin-bottom: 10px;
}

.ox-footer-contact .dashicons {
	color: var(--ox-red);
	margin-right: 8px;
}

.ox-footer-tagline {
	font-size: 0.9rem;
	line-height: 1.6;
}

.ox-footer-bottom {
	background: #000000;
	font-size: 0.85rem;
}

/* ---------------- Responsive tweaks ---------------- */
@media (max-width: 991.98px) {
	.ox-nav-menu .nav-link,
	.ox-nav-menu li > a {
		padding: 0.75rem 1rem;
	}

	/* The sidebar drops below the content, so cap the ad width. */
	.ox-sidebar {
		max-width: 420px;
		margin: 2rem auto 0;
	}
}

@media (max-width: 767.98px) {
	.ox-topbar-date {
		font-size: 0.75rem;
	}

	.ox-logo-line2 {
		font-size: 1.4rem;
	}

	.ox-section-title {
		font-size: 1.05rem;
	}

	/* Stack thumb over text on phones. */
	.ox-list-item {
		flex-direction: column;
		gap: 0.85rem;
	}

	.ox-list-thumb {
		width: 100%;
		max-width: 100%;
	}

	.ox-list-thumb img {
		height: 200px;
	}

	.ox-list-title {
		font-size: 1.1rem;
	}
}

@media (max-width: 575.98px) {
	.ox-instagram-cta {
		flex-wrap: wrap;
		justify-content: center;
		text-align: center;
	}

	.ox-instagram-text {
		align-items: center;
	}
}
