/* ==========================================================================
   VarAtlas - Üniversite Okunur Mu / İnceleme Sayfası Özel CSS
   Bütünleşik & Sade Tasarım (Az Kutu, Beyaz Arka Plan)
   ========================================================================== */

@font-face {
	font-family: 'SF Pro Display';
	src: url('./fonts/SFProDisplay-Medium.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: 'SF Pro Display';
	src: url('./fonts/SFProDisplay-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: 'SF Pro Display';
	src: url('./fonts/SFProDisplay-Black.woff2') format('woff2');
	font-weight: 900;
	font-style: normal;
}

@font-face {
	font-family: 'SF Pro Display';
	src: url('./fonts/SFProDisplay-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'SF Pro Rounded';
	src: url('./fonts/SFProRounded-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
}

/* Set Body Background to White */
.uni-review-body {
	--body-bg: #ffffff !important;
}

html.dark-theme .uni-review-body {
	--body-bg: #121212 !important;
}

/* Main Container and Page Layout */
.uni-review-page {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0px 15px 60px;
	font-family: var(--font-stack);
}

/* Breadcrumb Styling */
.uni-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	margin-top: 2px;
	margin-bottom: 10px;
	color: var(--text-muted);
}

.uni-breadcrumb a {
	color: var(--primary-color);
	transition: color 0.2s;
}

.uni-breadcrumb a:hover {
	color: var(--primary-hover);
	text-decoration: underline;
}

.uni-breadcrumb-sep {
	font-size: 10px;
	color: var(--text-muted);
	opacity: 0.7;
}

/* Page Header (Twitter Profile Style Cover & Info) */
.uni-cover-container {
	position: relative;
	width: 100%;
	height: 250px;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--border-color);
	margin-bottom: 0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.uni-cover-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

@media (max-width: 768px) {
	.uni-cover-container {
		height: 150px;
		border-radius: 8px;
	}
}

.uni-profile-header {
	display: flex;
	flex-direction: column;
	/* margin-bottom: 30px; */
	position: relative;
	/* border-bottom: 1px solid var(--border-color); */
	padding-bottom: 25px;
}

@media (min-width: 768px) {
	.uni-profile-header {
		flex-direction: row;
		align-items: flex-start;
		gap: 24px;
	}
}

.uni-logo-wrapper {
	width: 100px;
	height: 100px;
	border-radius: 12px;
	border: 4px solid var(--white);
	background: var(--white);
	padding: 6px;
	margin-top: -50px;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
	flex-shrink: 0;
	position: relative;
	z-index: 10;
	margin-left: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
}

html.dark-theme .uni-logo-wrapper {
	border-color: #1e1e1e;
	background: #1e1e1e;
}

.uni-logo-wrapper img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.uni-header-info {
	flex: 1;
	margin-top: 12px;
}

@media (min-width: 768px) {
	.uni-header-info {
		margin-top: 12px;
		padding-bottom: 0;
	}
}

.uni-header-title-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 6px;
}

.uni-header-info h1 {
	font-size: 26px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--text-dark);
	/* margin: 0; */
	margin-bottom: 5px;
}

.uni-website-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 600;
	color: var(--primary-color);
	/* background: rgba(37, 99, 235, 0.08); */
	border-radius: 20px;
	text-decoration: none;
	transition: all 0.2s ease;
	border: 1px solid rgba(37, 99, 235, 0.2);
}

.uni-website-btn:hover {
	background: var(--primary-color);
	color: #ffffff;
	transform: translateY(-1px);
}

.uni-header-info p {
	font-size: 14.5px;
	color: var(--text-secondary);
	line-height: 1.5;
	margin-bottom: 10px;
}

.uni-header-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

/* Sections & Typography (Clean Card/Grid Accent) */
.uni-section {
	margin-bottom: 36px;
}

.uni-section h2 {
	font-size: 19px;
	font-weight: 700;
	color: var(--text-dark);
	margin-bottom: 5px;
	/* padding-bottom: 8px; */
	/* border-bottom: 2px solid var(--border-color); */
	display: flex;
	align-items: center;
	gap: 10px;
}

.uni-section h2 i {
	color: var(--primary-color);
	font-size: 17px;
}

.uni-section p {
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--text-secondary);
	margin-bottom: 14px;
}

/* Clean Key Metrics & City Scores (Row-by-Row List) */
.uni-metrics-list,
.uni-city-scores-list {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 16px 0 24px;
	border-top: 1px solid var(--border-color);
	border-bottom: 1px solid var(--border-color);
}

.uni-metric-row,
.uni-city-score-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 4px;
	border-bottom: 1px dashed var(--border-color);
	font-size: 14px;
}

.uni-metric-row:last-child,
.uni-city-score-row:last-child {
	border-bottom: none;
}

.uni-metric-label,
.uni-city-score-label {
	font-weight: 600;
	color: var(--text-dark);
	display: flex;
	align-items: center;
	gap: 8px;
}

.uni-metric-label small {
	font-weight: 400;
	color: var(--text-muted);
	font-size: 12.5px;
}

.uni-metric-val,
.uni-city-score-val {
	font-weight: 700;
	color: var(--primary-color);
	font-size: 14px;
}

/* Minimal Full-Width Action Buttons */
.uni-action-btns-block {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 20px 0 10px;
}

.uni-action-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 12px 16px;
	background: var(--body-bg);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	color: var(--text-dark);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
}

html.dark-theme .uni-action-btn {
	background: rgba(255, 255, 255, 0.03);
}

.uni-action-btn:hover {
	border-color: var(--primary-color);
	color: var(--primary-color);
	background: rgba(48, 116, 174, 0.04);
}

.uni-action-btn-text {
	display: flex;
	align-items: center;
	gap: 10px;
}

.uni-action-btn i.arrow-icon {
	font-size: 12px;
	color: var(--text-muted);
	transition: transform 0.2s ease;
}

.uni-action-btn:hover i.arrow-icon {
	color: var(--primary-color);
	transform: translateX(4px);
}

/* Feature Pills Layout */
.uni-features-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0;
}

.uni-feature-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: #f1f5f9;
	border: 1px solid var(--border-color);
	border-radius: 20px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--text-dark);
	transition: all 0.2s ease;
}

html.dark-theme .uni-feature-pill {
	background: #1e293b;
}

.uni-feature-pill i {
	color: var(--primary-color);
	font-size: 13px;
}

.uni-feature-pill:hover {
	border-color: var(--primary-color);
	transform: translateY(-1px);
}

/* Minimal Table Styles */
.uni-table {
	width: 100%;
	max-width: 100%;
	margin-bottom: 0;
	border-collapse: collapse;
	font-size: 13.5px;
}

.uni-table th,
.uni-table td {
	padding: 9px 10px;
	line-height: 1.45;
	vertical-align: middle;
	border-bottom: 1px solid var(--border-color);
	text-align: left;
}

.uni-table th {
	font-weight: 700;
	background-color: transparent;
	color: var(--text-dark);
	border-bottom: 2px solid var(--border-color);
}

/* Badges */
.uni-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: .35em .65em .4em;
	font-size: 75%;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: 4px;
}

.uni-badge-default {
	background-color: #64748b;
}

.uni-badge-primary {
	background-color: var(--primary-color);
}

.uni-badge-success {
	background-color: #10b981;
}

.uni-badge-info {
	background-color: #06b6d4;
}

.uni-badge-warning {
	background-color: #f59e0b;
}

.uni-badge-danger {
	background-color: #ef4444;
}

/* Grid Layout (Two Column Layout for main sections) */
.uni-row {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.uni-main-content,
.uni-sidebar,
.uni-bottom-content,
.uni-col-8,
.uni-col-4 {
	position: relative;
	width: 100%;
}

@media (min-width: 992px) {
	.uni-row {
		display: grid;
		grid-template-columns: 1fr 340px;
		grid-template-areas:
			"main sidebar"
			"bottom sidebar";
		column-gap: 30px;
		row-gap: 0px;
		align-items: start;
	}

	.uni-main-content {
		grid-area: main;
	}

	.uni-sidebar {
		grid-area: sidebar;
		border-left: 1px solid var(--border-color);
		padding-left: 25px;
	}

	.uni-bottom-content {
		grid-area: bottom;
	}

	.uni-col-8 {
		flex: 0 0 66.666667%;
		max-width: 66.666667%;
	}

	.uni-col-4 {
		flex: 0 0 33.333333%;
		max-width: 33.333333%;
		border-left: 1px solid var(--border-color);
		padding-left: 25px;
	}
}

/* Pros and Cons Split List (No Panels, Simple Minimal Cards) */
.uni-pro-con-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	margin: 20px 0;
}

@media (min-width: 768px) {
	.uni-pro-con-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.uni-pro-list,
.uni-con-list {
	background: transparent;
}

.uni-pro-list h3,
.uni-con-list h3 {
	font-size: 15.5px;
	font-weight: 700;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.uni-pro-list h3 {
	color: #10b981;
}

.uni-con-list h3 {
	color: #ef4444;
}

.uni-list-group {
	list-style: none;
	padding: 0;
	margin: 0;
}

.uni-list-item {
	padding: 9px 0;
	border-bottom: 1px dashed var(--border-color);
	font-size: 14px;
	color: var(--text-dark);
	display: flex;
	align-items: flex-start;
	gap: 10px;
	line-height: 1.5;
}

.uni-list-item:last-child {
	border-bottom: none;
}

.uni-list-item i {
	margin-top: 3px;
	font-size: 13px;
	flex-shrink: 0;
}

.uni-pro-list .uni-list-item i {
	color: #10b981;
}

.uni-con-list .uni-list-item i {
	color: #ef4444;
}

/* Image Gallery & Lightbox Style */
.uni-gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin: 16px 0;
}

@media (min-width: 768px) {
	.uni-gallery {
		grid-template-columns: repeat(3, 1fr);
	}
}

.uni-gallery-img-wrapper {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border: 1px solid var(--border-color);
	cursor: pointer;
}

.uni-gallery-img-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease, filter 0.3s ease;
}

.uni-gallery-img-wrapper::after {
	content: '\f00e';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	color: #ffffff;
	font-size: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.25s ease;
	pointer-events: none;
}

.uni-gallery-img-wrapper:hover img {
	transform: scale(1.06);
}

.uni-gallery-img-wrapper:hover::after {
	opacity: 1;
}

/* Lightbox Modal */
.uni-lightbox-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: rgba(0, 0, 0, 0.88);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease-in-out;
}

.uni-lightbox-modal.active {
	opacity: 1;
	pointer-events: auto;
}

.uni-lightbox-modal img {
	max-width: 92vw;
	max-height: 80vh;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	transform: scale(0.95);
	transition: transform 0.25s ease;
}

.uni-lightbox-modal.active img {
	transform: scale(1);
}

.uni-lightbox-caption {
	margin-top: 14px;
	color: #ffffff;
	font-size: 14px;
	font-weight: 500;
	text-align: center;
}

.uni-lightbox-close {
	position: absolute;
	top: 20px;
	right: 25px;
	background: none;
	border: none;
	color: #ffffff;
	font-size: 32px;
	cursor: pointer;
	z-index: 10002;
	opacity: 0.8;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.uni-lightbox-close:hover {
	opacity: 1;
	transform: scale(1.1);
}

.uni-lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #ffffff;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	cursor: pointer;
	z-index: 10001;
	transition: background-color 0.2s ease, transform 0.2s ease;
	backdrop-filter: blur(4px);
}

.uni-lightbox-nav:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: translateY(-50%) scale(1.08);
}

.uni-lightbox-nav.prev {
	left: 20px;
}

.uni-lightbox-nav.next {
	right: 20px;
}

@media (max-width: 768px) {
	.uni-lightbox-nav.prev {
		left: 10px;
	}

	.uni-lightbox-nav.next {
		right: 10px;
	}

	.uni-lightbox-nav {
		width: 38px;
		height: 38px;
		font-size: 15px;
	}
}

.uni-lightbox-close {
	position: absolute;
	top: 20px;
	right: 25px;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.15);
	color: #ffffff;
	border: none;
	border-radius: 50%;
	font-size: 20px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}

.uni-lightbox-close:hover {
	background: rgba(255, 255, 255, 0.3);
}

/* Minimal SSS / FAQ */
.uni-faq {
	margin-top: 20px;
}

.uni-faq details {
	border-bottom: 1px solid var(--border-color);
	margin-bottom: 4px;
}

.uni-faq summary {
	padding: 12px 0;
	font-weight: 700;
	cursor: pointer;
	font-size: 15px;
	color: var(--text-dark);
	outline: none;
	list-style: none;
}

.uni-faq summary::-webkit-details-marker {
	display: none;
}

.uni-faq summary::after {
	content: '\f078';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	float: right;
	font-size: 12px;
	color: var(--text-muted);
	transition: transform 0.2s;
}

.uni-faq details[open] summary::after {
	transform: rotate(180deg);
}

.uni-faq p {
	padding: 0 0 12px 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--text-secondary);
}


/* Google Reviews Styling */
.uni-reviews-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-top: 15px;
}

.uni-review-item {
	padding: 15px 0;
	border-bottom: 1px solid var(--border-color);
}

.uni-review-item:last-child {
	border-bottom: none;
}

.uni-review-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: var(--text-muted);
	margin-bottom: 8px;
}

.uni-review-author {
	color: var(--text-dark);
}

.uni-review-rating {
	background: rgba(245, 158, 11, 0.1);
	color: #d97706;
	padding: 2px 6px;
	border-radius: 4px;
	font-weight: 700;
	font-size: 12px;
}

.uni-review-rating i {
	margin-right: 3px;
}

.uni-review-text {
	font-size: 14.2px;
	line-height: 1.6;
	color: var(--text-secondary);
	margin: 0;
}