/* News Cards */
.news-card-athletic {
	background: var(--white);
	border: none;
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
	box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.news-card-athletic::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--gradient-primary);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}

.news-card-athletic:hover::after {
	transform: scaleX(1);
}

.news-card-athletic:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* News Image Styling */
.news-image-container {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	height: 200px;
}

.news-thumbnail {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.news-card-athletic:hover .news-thumbnail {
	transform: scale(1.05);
}

/* News Content */
.news-content {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.news-title {
	font-size: 1.4rem;
	color: var(--charcoal);
	line-height: 1.3;
	margin-bottom: 1rem;
	font-weight: 600;
}

.news-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.news-meta i {
	color: var(--woodley-blue);
}

.news-summary {
	flex: 1;
}

.news-summary p {
	line-height: 1.6;
	color: #666;
}

/* News Tags */
.news-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.news-tags .badge {
	font-size: 0.75rem;
	padding: 0.4rem 0.8rem;
	border-radius: 20px;
	font-weight: 500;
	background: var(--woodley-blue) !important;
}

/* Expand/Collapse Buttons */
.news-expand-btn,
.news-collapse-btn {
	border: 1px solid var(--woodley-blue);
	color: var(--woodley-blue);
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0.3px;
	padding: 0.4rem 1rem;
	border-radius: 20px;
	font-size: 0.9rem;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.news-expand-btn::before,
.news-collapse-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: var(--woodley-blue);
	transition: left 0.3s ease;
	z-index: -1;
}

.news-expand-btn:hover::before,
.news-collapse-btn:hover::before {
	left: 0;
}

.news-expand-btn:hover,
.news-collapse-btn:hover {
	color: var(--white);
	border-color: var(--woodley-blue);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

/* Expandable Content */
.news-full-content {
	background: linear-gradient(145deg, #f8f9fa, #ffffff);
	border-radius: 12px;
	padding: 2rem;
	border: 1px solid rgba(0, 102, 204, 0.1);
}

.news-article-meta {
	background: var(--white);
	border-radius: 8px;
	padding: 1.5rem;
	border-left: 4px solid var(--woodley-blue);
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.news-article-meta small {
	font-size: 0.9rem;
}

.news-article-meta strong {
	color: var(--charcoal);
	font-weight: 600;
}

.news-article-meta i {
	color: var(--basketball-orange);
	font-size: 1rem;
}

/* Article Content Body */
.news-content-body {
	line-height: 1.8;
	color: var(--charcoal);
	font-size: 1.05rem;
}

.news-content-body h2 {
	color: var(--woodley-blue);
	font-size: 1.8rem;
	border-bottom: 2px solid var(--basketball-orange);
	padding-bottom: 0.5rem;
	margin-top: 2rem;
	margin-bottom: 1.5rem;
}

.news-content-body h3 {
	color: var(--charcoal);
	font-size: 1.5rem;
	margin-top: 1.5rem;
	margin-bottom: 1rem;
}

.news-content-body h4 {
	color: var(--charcoal);
	font-size: 1.3rem;
	margin-top: 1rem;
	margin-bottom: 0.8rem;
}

.news-content-body p {
	margin-bottom: 1.2rem;
}

.news-content-body blockquote {
	background: linear-gradient(135deg, var(--woodley-blue), var(--woodley-green));
	color: var(--white);
	border-radius: 12px;
	padding: 2rem;
	margin: 2rem 0;
	position: relative;
}

.news-content-body blockquote::before {
	content: '"';
	font-size: 4rem;
	position: absolute;
	top: -10px;
	left: 20px;
	color: rgba(255, 255, 255, 0.3);
	font-family: serif;
}

.news-content-body strong {
	color: var(--woodley-blue);
	font-weight: 700;
}

.news-content-body em {
	color: var(--basketball-orange);
	font-style: italic;
}

/* Discrete Bottom Meta Information */
.news-article-meta-bottom {
	border-top: 1px solid #e9ecef;
	font-size: 0.8rem;
	color: #6c757d;
}

.news-article-meta-bottom i {
	color: #adb5bd;
	font-size: 0.8rem;
}

.news-article-meta-bottom small {
	display: flex;
	align-items: center;
	opacity: 0.8;
}

/* News Images Gallery */
.news-images-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1rem;
}

.news-gallery-image {
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.1);
	transition: all 0.3s ease;
	cursor: pointer;
}

.news-gallery-image:hover {
	transform: scale(1.02);
	box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Pagination Styling */
#news-pagination {
	margin-top: 3rem;
	margin-bottom: 2rem;
}

.pagination {
	--bs-pagination-border-radius: 25px;
	gap: 0.5rem;
}

.page-link {
	border: 2px solid var(--woodley-blue);
	color: var(--woodley-blue);
	background: var(--white);
	font-weight: 600;
	padding: 0.6rem 1rem;
	border-radius: 25px !important;
	margin: 0;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	text-decoration: none;
}

.page-link::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: var(--woodley-blue);
	transition: left 0.3s ease;
	z-index: -1;
}

.page-link:hover::before {
	left: 0;
}

.page-link:hover {
	color: var(--white);
	border-color: var(--woodley-blue);
	transform: translateY(-2px);
	box-shadow: 0 6px 15px rgba(0, 102, 204, 0.3);
}

.page-item.active .page-link {
	background: var(--gradient-primary);
	border-color: var(--woodley-blue);
	color: var(--white);
	box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
}

.page-item.disabled .page-link {
	color: #ccc;
	border-color: #e9ecef;
	background: #f8f9fa;
	cursor: not-allowed;
}

.page-item.disabled .page-link:hover {
	transform: none;
	box-shadow: none;
}

/* Loading and Error States */
.news-loading,
.news-error,
.news-no-data {
	padding: 4rem 2rem;
	text-align: center;
}

.news-loading .spinner-border {
	width: 3rem;
	height: 3rem;
	border-width: 0.3rem;
}

.news-error {
	color: var(--danger, #dc3545);
}

.news-no-data {
	color: var(--info, #0dcaf0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.news-card-athletic {
		clip-path: none;
		border-radius: 12px;
		margin-bottom: 1.5rem;
	}

	.news-image-container {
		height: 180px;
		margin-bottom: 1rem;
	}

	.news-title {
		font-size: 1.2rem;
	}

	.news-meta {
		font-size: 0.85rem;
	}

	.news-full-content {
		padding: 1.5rem;
		margin-top: 1rem;
	}

	.news-article-meta {
		padding: 1rem;
	}

	.news-content-body {
		font-size: 1rem;
	}

	.news-content-body h2 {
		font-size: 1.5rem;
	}

	.news-content-body h3 {
		font-size: 1.3rem;
	}

	.news-content-body blockquote {
		padding: 1.5rem;
		margin: 1.5rem 0;
	}

	.news-images-gallery {
		grid-template-columns: 1fr;
	}

	.pagination {
		flex-wrap: wrap;
		justify-content: center;
		gap: 0.25rem;
	}

	.page-link {
		font-size: 0.9rem;
		padding: 0.5rem 0.8rem;
	}
}

/* Extra Small Devices */
@media (max-width: 576px) {
	.news-title {
		font-size: 1.1rem;
	}

	.news-expand-btn,
	.news-collapse-btn {
		font-size: 0.85rem;
		padding: 0.5rem 1rem;
	}

	.news-full-content {
		padding: 1rem;
	}

	.news-content-body blockquote {
		padding: 1rem;
		font-size: 0.95rem;
	}

	#news-pagination {
		margin-top: 2rem;
	}

	.page-link {
		font-size: 0.8rem;
		padding: 0.4rem 0.6rem;
	}
}

/* Animation for Collapse/Expand */
.collapsing {
	transition: height 0.35s ease;
}

.collapse.show {
	animation: fadeInContent 0.5s ease-in-out;
}

@keyframes fadeInContent {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Focus States for Accessibility */
.news-expand-btn:focus,
.news-collapse-btn:focus,
.page-link:focus {
	outline: 3px solid var(--basketball-orange);
	outline-offset: 2px;
	box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
	.news-card-athletic {
		border: 2px solid var(--charcoal);
	}

	.news-expand-btn,
	.news-collapse-btn {
		border-width: 3px;
	}

	.page-link {
		border-width: 3px;
	}
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
	.news-card-athletic,
	.news-thumbnail,
	.news-expand-btn,
	.news-collapse-btn,
	.page-link,
	.news-gallery-image {
		transition: none;
	}

	.news-card-athletic:hover {
		transform: none;
	}

	.news-gallery-image:hover {
		transform: none;
	}
}