/* ==========================================================================
   Infuse News theme — page content styles
   Header/footer chrome comes from Laravel public/css/common.css
   ========================================================================== */

:root {
	--color-orange: #FF8D1C;
	--color-dark: #232323;
	--color-white: #ffffff;
	--font-base: 'Open Sans', Arial, Helvetica, sans-serif;
	--container-width: 1380px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.infuse-page {
	font-family: var(--font-base);
	margin: 0;
	-webkit-font-smoothing: antialiased;
}

/* ---------------------------------------------------------------------- */
/* Chrome color lock — match Infuse header/footer reference               */
/* ---------------------------------------------------------------------- */
.site-navbar .navbar-nav .nav-link,
.site-navbar .nav-link--browse {
	color: #ffffff !important;
	opacity: 1;
}

.site-navbar .nav-link.active,
.site-navbar .nav-item:hover .nav-link {
	color: #ffffff !important;
}

.site-navbar .nav-browse-caret {
	border-top-color: #ffffff !important;
}

.site-navbar .navbar-toggler-custom,
.site-navbar .search-trigger {
	border-color: var(--infuse-muted, #d8d1c2e1) !important;
	color: var(--infuse-muted, #d8d1c2e1) !important;
}

.site-navbar .navbar-toggler-custom>span::before {
	background-color: var(--infuse-muted, #d8d1c2e1) !important;
}

.site-navbar .search-trigger>i,
.site-navbar .search-trigger__icon i {
	color: inherit !important;
}

.site-navbar .navbar-toggler-custom:hover,
.site-navbar .search-trigger:hover,
.site-navbar .search-trigger.is-active {
	border-color: rgba(255, 255, 255, 0.75) !important;
	color: #ffffff !important;
}

.site-footer {
	color: #ffffff;
}

.site-footer .footer-links a {
	color: #ffffff !important;
	text-decoration: none;
}

.site-footer .footer-links a:hover {
	color: var(--infuse-muted, #d8d1c2e1) !important;
}

.site-footer .footer-copy {
	color: var(--infuse-muted, #d8d1c2e1) !important;
}

.site-footer .footer-social__link {
	color: #ffffff;
}

.site-footer .footer-divider {
	background: linear-gradient(90deg, #ff8d1c 0%, rgba(255, 141, 28, .88) 65%, rgba(255, 141, 28, .2) 100%);
}

#scrollTopBtn {
	color: #ffffff;
}

/* Infuse scrollbar (Chrome / Edge / Safari) — orange thumb on dark track */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
	background: var(--infuse-scrollbar-track, var(--infuse-bg, #232323));
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
	background: var(--infuse-scrollbar-thumb, #ff8d1c);
	border-radius: 999px;
	border: 2px solid var(--infuse-scrollbar-track, var(--infuse-bg, #232323));
	background-clip: padding-box;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
	background: #ff9d3a;
	border: 2px solid var(--infuse-scrollbar-track, var(--infuse-bg, #232323));
	background-clip: padding-box;
}

html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner,
*::-webkit-scrollbar-corner {
	background: var(--infuse-scrollbar-track, var(--infuse-bg, #232323));
}

/* Clear the fixed Infuse navbar */
body.infuse-page>main,
body.infuse-page>.news-page,
body.infuse-page .news-page,
body.infuse-page .single-post,
body.infuse-page .basic-page {
	margin-top: 0;
}

body.infuse-page>main,
.news-page,
.basic-page {
	padding-top: calc(var(--navbar-h, 80px) + 24px);
}

img {
	max-width: 100%;
	display: block;
}

ul {
	margin: 0;
	padding: 0;
}

/* ---------------------------------------------------------------------- */
/* Hero (News & Announcement)                                             */
/* ---------------------------------------------------------------------- */
.news-hero {
	position: relative;
	background: var(--color-dark) url('https://dev-rightscms.mvfilmsinc.com/rightscms/static/website-setup/infuse_bg-1775210444-5151.jpg') center / cover no-repeat;
	padding: calc(var(--navbar-h, 80px) + 40px) 24px 100px;
	text-align: center;
	margin-top: calc(var(--navbar-h, 80px) * -1);
}

.news-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(35, 35, 35, 0.55);
}

.news-hero__inner {
	position: relative;
	max-width: 760px;
	margin: 0 auto;
}

.news-hero__title {
	color: #fff;
	font-size: 52px;
	font-weight: 800;
	margin: 0 0 20px;
	line-height: 1.2;
	text-align: center;
}

.news-hero__intro {
	color: #fff;
	font-size: 17px;
	line-height: 1.7;
}

.news-hero__intro p {
	margin: 0 0 12px;
}

/* ---------------------------------------------------------------------- */
/* News grid                                                               */
/* ---------------------------------------------------------------------- */
.news-page {
	background-color: var(--color-dark);
	min-height: 50vh;
}

.news-grid-section {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 40px 24px 80px;
}

.news-page .news-hero+.news-grid-section {
	padding-top: 64px;
}

/* When hero is present, don't double-pad the page */
.news-page:has(.news-hero) {
	padding-top: 0;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

@media (max-width: 980px) {
	.news-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.news-grid {
		grid-template-columns: 1fr;
	}
}

.news-grid__empty {
	color: #fff;
	text-align: center;
	grid-column: 1 / -1;
}

.news-card {
	background: var(--color-white);
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.news-card__thumb-link {
	display: block;
}

.news-card__thumb {
	aspect-ratio: 16 / 9;
	background-size: cover;
	background-position: center;
	background-color: #d9d9d9;
}

.news-card__body {
	padding: 20px 22px 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.news-card__title {
	margin: 0 0 10px;
	font-size: 18px;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.news-card__title a {
	color: var(--color-orange);
	font-weight: 800;
	text-decoration: none;
}

.news-card__excerpt {
	color: var(--color-dark);
	font-size: 14px;
	line-height: 1.6;
	margin: 0 0 12px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-card__readmore {
	color: var(--color-orange);
	font-weight: 700;
	font-size: 14px;
	display: inline-block;
	margin-bottom: 14px;
	text-decoration: none;
}

.news-card__readmore:hover {
	text-decoration: underline;
}

.news-card__divider {
	border: none;
	border-top: 2px dashed var(--color-orange);
	margin: 0 0 12px;
}

.news-card__date {
	color: #888888;
	font-size: 13px;
	font-weight: 400;
	margin-top: auto;
}

.news-grid__load-more-wrap {
	text-align: center;
	margin-top: 48px;
}

.news-load-more {
	background: var(--color-orange);
	color: #000;
	border: none;
	border-radius: 8px;
	padding: 8px 20px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
	transition: opacity 0.15s ease;
}

.news-load-more:hover {
	opacity: 0.9;
}

.news-load-more[disabled] {
	opacity: 0.5;
	cursor: default;
}

/* ---------------------------------------------------------------------- */
/* Single post — dark body, white text                                    */
/* ---------------------------------------------------------------------- */
.single-post {
	background-color: var(--color-dark);
	color: #fff;
}

.single-post__inner {
	max-width: 820px;
	margin: 0 auto;
}

.single-post__title {
	font-size: 34px;
	font-weight: 800;
	margin: 0 0 12px;
	color: #fff;
}

.single-post__meta {
	font-size: 14px;
	opacity: 0.7;
	margin-bottom: 32px;
}

.single-post__thumb {
	margin-bottom: 32px;
	border-radius: 12px;
	overflow: hidden;
}

.single-post__thumb img {
	width: 100%;
	height: auto;
	display: block;
}

.single-post__content {
	font-size: 16px;
	line-height: 1.8;
	color: #fff;
}

.single-post__content a {
	color: var(--color-orange);
	text-decoration: underline;
}

.single-post__content h1,
.single-post__content h2,
.single-post__content h3,
.single-post__content h4 {
	color: #fff;
}

.single-post__content img {
	border-radius: 8px;
	margin: 24px 0;
}

.single-post__back {
	max-width: 820px;
	margin: 40px auto 0;
}

.single-post__back a {
	color: var(--color-orange);
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
}

/* ---------------------------------------------------------------------- */
/* Generic page fallback                                                   */
/* ---------------------------------------------------------------------- */
.basic-page {
	background-color: var(--color-dark);
	color: #fff;
	padding: calc(var(--navbar-h, 80px) + 40px) 24px 64px;
}

.basic-page__inner {
	max-width: 820px;
	margin: 0 auto;
}

.basic-page__title {
	font-size: 32px;
	font-weight: 800;
	margin: 0 0 24px;
	color: #fff;
}

.basic-page__content {
	font-size: 16px;
	line-height: 1.8;
}

.basic-page__content a {
	color: var(--color-orange);
}

/* WP admin bar + fixed Infuse navbar */
body.admin-bar .site-navbar {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .site-navbar {
		top: 46px;
	}
}