/*
 * Bam Custom Sections
 * Styles for: Trending Videos widget, Category Columns widget, Footer Bar.
 */

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.bam-breadcrumbs {
	padding: 14px 0;
	font-size: 13px;
}

.bam-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bam-breadcrumbs li {
	display: flex;
	align-items: center;
	color: #767676;
}

.bam-breadcrumbs li:not(:last-child)::after {
	content: "\203A"; /* › */
	margin: 0 8px;
	color: #b5b5b5;
}

.bam-breadcrumbs a {
	color: #767676;
	text-decoration: none;
}

.bam-breadcrumbs a:hover {
	color: #e5262c;
	text-decoration: underline;
}

.bam-breadcrumbs li.is-current span {
	color: #1a1a1a;
	font-weight: 600;
}

/* ==========================================================================
   Trending Videos widget
   ========================================================================== */

.bam-trending-videos {
	display: flex;
	flex-direction: column;
}

.bam-trending-videos .btv-post {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #e5e5e5;
}

.bam-trending-videos .btv-post:last-child {
	border-bottom: none;
}

.bam-trending-videos .btv-details {
	flex: 1 1 auto;
	min-width: 0;
}

.bam-trending-videos .btv-title {
	margin: 0;
	font-size: 15px;
	line-height: 1.4;
	font-weight: 600;
}

.bam-trending-videos .btv-title a {
	color: inherit;
	text-decoration: none;
}

.bam-trending-videos .btv-title a:hover {
	color: #e5262c;
}

.bam-trending-videos .btv-thumb {
	flex: 0 0 96px;
	width: 96px;
	height: 64px;
	position: relative;
	border-radius: 4px;
	overflow: hidden;
}

.bam-trending-videos .btv-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ==========================================================================
   Featured + List Block widget
   ========================================================================== */

.bam-featured-list-block {
	width: 100%;
}

.bflb-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	border-bottom: 1px solid #e5e5e5;
	padding-bottom: 8px;
	margin-bottom: 14px;
}

.bflb-header .widget-title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
}

.bflb-header .widget-title a {
	color: inherit;
	text-decoration: none;
}

.bflb-view-all {
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 600;
	color: #e5262c;
	text-decoration: none;
	white-space: nowrap;
}

.bflb-view-all:hover {
	text-decoration: underline;
}

/* 1. Featured post */
.bflb-featured-post {
	margin-bottom: 16px;
}

.bflb-featured-thumb {
	overflow: hidden;
	border-radius: 4px;
	margin-bottom: 10px;
	position: relative;
}

.bflb-featured-thumb img {
	width: 100%;
	height: auto;
	display: block;
}

.bflb-featured-title {
	margin: 0;
	font-size: 21px;
	line-height: 1.35;
	font-weight: 700;
}

.bflb-featured-title a {
	color: inherit;
	text-decoration: none;
}

.bflb-featured-title a:hover {
	color: #e5262c;
}

/* 2. Medium 2-column grid row */
.bflb-grid-row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-bottom: 16px;
}

.bflb-grid-row.bflb-grid-cols-1 {
	grid-template-columns: 1fr;
}

.bflb-grid-row.bflb-grid-cols-3 {
	grid-template-columns: repeat(3, 1fr);
}

.bflb-grid-row.bflb-grid-cols-4 {
	grid-template-columns: repeat(4, 1fr);
}

.bflb-grid-thumb {
	overflow: hidden;
	border-radius: 4px;
	margin-bottom: 8px;
	position: relative;
}

.bflb-grid-thumb img {
	width: 100%;
	height: auto;
	display: block;
}

.bflb-grid-title {
	margin: 0;
	font-size: 15px;
	line-height: 1.4;
	font-weight: 600;
}

.bflb-grid-title a {
	color: inherit;
	text-decoration: none;
}

.bflb-grid-title a:hover {
	color: #e5262c;
}

/* 3. Plain text-only list */
.bflb-plain-list {
	display: flex;
	flex-direction: column;
}

.bflb-plain-post {
	padding: 10px 0;
	border-bottom: 1px solid #e5e5e5;
}

.bflb-plain-post:last-child {
	border-bottom: none;
}

.bflb-plain-title {
	margin: 0;
	font-size: 15px;
	line-height: 1.4;
	font-weight: 600;
}

.bflb-plain-title a {
	color: inherit;
	text-decoration: none;
}

.bflb-plain-title a:hover {
	color: #e5262c;
}

@media (max-width: 782px) {
	.bflb-grid-row,
	.bflb-grid-row.bflb-grid-cols-3,
	.bflb-grid-row.bflb-grid-cols-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ==========================================================================
   Category Columns widget
   ========================================================================== */

.bam-category-columns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	width: 100%;
}

.bam-category-columns.cols-2 {
	grid-template-columns: repeat(2, 1fr);
}

.bam-category-columns.cols-1 {
	grid-template-columns: 1fr;
}

.bcc-column {
	min-width: 0;
}

.bcc-column-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	border-bottom: 2px solid #e5262c;
	padding-bottom: 8px;
	margin-bottom: 14px;
	gap: 10px;
}

.bcc-heading {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
}

.bcc-heading a {
	color: inherit;
	text-decoration: none;
}

.bcc-view-more {
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 600;
	color: #e5262c;
	text-decoration: none;
	white-space: nowrap;
}

.bcc-view-more:hover {
	text-decoration: underline;
}

.bcc-featured-post {
	margin-bottom: 14px;
}

.bcc-thumb {
	position: relative;
	overflow: hidden;
	border-radius: 4px;
	margin-bottom: 10px;
}

.bcc-thumb img {
	width: 100%;
	height: auto;
	display: block;
}

.bcc-title {
	margin: 0;
	font-size: 17px;
	line-height: 1.35;
	font-weight: 700;
}

.bcc-title a {
	color: inherit;
	text-decoration: none;
}

.bcc-title a:hover {
	color: #e5262c;
}

.bcc-small-posts {
	display: flex;
	flex-direction: column;
}

.bcc-small-post {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid #e5e5e5;
}

.bcc-small-post:last-child {
	border-bottom: none;
}

.bcc-small-thumb {
	flex: 0 0 70px;
	width: 70px;
	height: 50px;
	position: relative;
	border-radius: 4px;
	overflow: hidden;
}

.bcc-small-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bcc-small-title {
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	font-weight: 600;
}

.bcc-small-title a {
	color: inherit;
	text-decoration: none;
}

.bcc-small-title a:hover {
	color: #e5262c;
}

@media (max-width: 782px) {
	.bam-category-columns,
	.bam-category-columns.cols-2,
	.bam-category-columns.cols-1 {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Footer Bar
   ========================================================================== */

.bam-footer-bar {
	background: #fff;
	border-bottom: 1px solid #e5e5e5;
	padding: 18px 0;
}

.bam-footer-bar-inner {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 24px;
	justify-content: space-between;
}

.bfb-col {
	display: flex;
	align-items: center;
	gap: 12px;
}

.bfb-logo img {
	max-height: 46px;
	width: auto;
}

.bfb-site-title {
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
	color: inherit;
}

.bfb-social-label {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

.bfb-links ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bfb-links li {
	margin: 0;
}

.bfb-links a {
	text-decoration: none;
	color: inherit;
	font-size: 14px;
}

.bfb-links a:hover {
	color: #e5262c;
}

.bfb-app {
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
}

.bfb-app-label {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.03em;
}

.bfb-app-buttons {
	display: flex;
	gap: 10px;
}

.bfb-app-badge {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #000;
	color: #fff;
	border-radius: 6px;
	padding: 6px 12px;
	text-decoration: none;
}

.bfb-app-badge-icon {
	font-size: 20px;
	line-height: 1;
}

.bfb-app-badge-text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.bfb-app-badge-text small {
	font-size: 9px;
	opacity: 0.85;
}

.bfb-app-badge-text strong {
	font-size: 13px;
}

@media (max-width: 782px) {
	.bam-footer-bar-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.bfb-app {
		align-items: flex-start;
	}
}
