/* ============================================================
   BYTF Review Slider — Frontend Styles
   ============================================================ */

.bytf-review-section { width: 100%; }

/* ── Header ── */
.bytf-rs-header { text-align: center; padding: 0 24px; margin-bottom: 72px; }
.bytf-rs-heading {
	font-size: 50px; font-weight: 600; color: #12303a;
	line-height: 1.1; letter-spacing: -0.5px; margin: 0 0 44px;
}
.bytf-rs-subheading {
	font-size: 15px; color: #3f5359; line-height: 1.6;
	max-width: 620px; margin: 0 auto;
}

/* ── Slider ── */
.bytf-rs-swiper-wrap { width: 100%; overflow: hidden; }
.bytf-rs-swiper { width: 100%; }

/* Equal-height cards */
.bytf-rs-swiper .swiper-wrapper { align-items: stretch; }
.bytf-rs-slide { height: auto; display: flex; }

/* ── Card ── */
.bytf-rs-card {
	width: 100%;
	display: flex; flex-direction: column;
	background: #e6eaeb;
	border-radius: 20px;
	padding: 60px 30px 40px;
	min-height: 400px;
	box-sizing: border-box;
}

/* ── Stars ── */
.bytf-rs-stars { display: flex; gap: 6px; margin-bottom: 30px; }
.bytf-rs-star {
	position: relative; display: inline-block;
	width: 20px; height: 20px; flex: 0 0 auto;
	color: #b9c4c7; /* empty star */
}
.bytf-rs-star svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.bytf-rs-star-fill {
	position: absolute; top: 0; left: 0; height: 100%;
	overflow: hidden; color: #12303a;
}
.bytf-rs-star-fill svg { width: auto; max-width: none; height: 100%; aspect-ratio: 1 / 1; }

/* ── Review text ── */
.bytf-rs-text {
	flex: 1 1 auto;
	font-size: 17px; line-height: 1.65; color: #12303a;
	margin-bottom: 28px;
	white-space: pre-line;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 6;
	line-clamp: 6;
	overflow: hidden;
}

/* ── Author (pinned to card bottom) ── */
.bytf-rs-author {
	margin-top: auto;
	display: flex; align-items: center; gap: 28px;
}
.bytf-rs-avatar {
	width: 58px; height: 58px; flex: 0 0 58px;
	border-radius: 50%;
	border: 2px solid #ffffff;
	object-fit: cover;
	box-sizing: border-box;
	display: block;
}
.bytf-rs-avatar-initial {
	display: flex; align-items: center; justify-content: center;
	background: #12303a; color: #fff;
	font-size: 22px; font-weight: 600; line-height: 1;
}
.bytf-rs-name { font-size: 19px; font-weight: 500; color: #12303a; line-height: 1.3; margin-bottom: 6px; }
.bytf-rs-name a { color: inherit; text-decoration: none; }
.bytf-rs-name a:hover { text-decoration: underline; }
.bytf-rs-role { font-size: 15px; color: #12303a; line-height: 1.4; }

/* ── Pagination (bars) ── */
.bytf-rs-pagination {
	text-align: center;
	padding-top: 70px;
	line-height: 0;
}
.bytf-rs-pagination .swiper-pagination-bullet {
	display: inline-block;
	width: 40px; height: 4px;
	border-radius: 2px;
	background: #cfd6d8; opacity: 1;
	margin: 0 6px;
	cursor: pointer;
	transition: background 0.3s ease;
}
.bytf-rs-pagination .swiper-pagination-bullet-active { background: #12303a; }
.bytf-rs-pagination.swiper-pagination-lock,
.bytf-rs-pagination--none { display: none; }

/* Progress line (used automatically when there are many reviews) */
.bytf-rs-pagination--progressbar {
	position: relative !important;
	width: 240px !important; max-width: 60%;
	height: 4px !important;
	margin: 70px auto 0;
	padding: 0 !important;
	border-radius: 2px;
	background: #cfd6d8;
	overflow: hidden;
	top: auto !important; left: auto !important;
}
.bytf-rs-pagination--progressbar .swiper-pagination-progressbar-fill {
	position: absolute; left: 0; top: 0;
	width: 100%; height: 100%;
	background: #12303a;
	border-radius: 2px;
	transform-origin: left top;
}

/* Numbers: "3 / 40" */
.bytf-rs-pagination--fraction { font-size: 15px; line-height: 1.4; color: #12303a; letter-spacing: 1px; }

/* ── Google attribution ── */
.bytf-rs-attribution { text-align: center; margin-top: 18px; font-size: 12px; color: #6b7a7e; }
.bytf-rs-attribution a { color: inherit; }

/* ── Editor-only notice ── */
.bytf-rs-notice {
	padding: 12px 16px; margin-bottom: 16px;
	background: #fff8e5; border-left: 4px solid #dba617;
	font-size: 13px; color: #3c434a;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
	.bytf-rs-heading { font-size: 40px; margin-bottom: 28px; }
	.bytf-rs-header  { margin-bottom: 48px; }
	.bytf-rs-card    { padding: 44px 26px 32px; min-height: 360px; }
}
@media (max-width: 768px) {
	.bytf-rs-heading     { font-size: 34px; margin-bottom: 18px; }
	.bytf-rs-text        { font-size: 16px; }
	.bytf-rs-pagination  { padding-top: 40px; }
}
@media (max-width: 480px) {
	.bytf-rs-heading { font-size: 28px; }
	.bytf-rs-header  { margin-bottom: 32px; }
	.bytf-rs-card    { padding: 32px 22px 26px; min-height: 0; }
	.bytf-rs-author  { gap: 16px; }
}
