/* ===================================================================
   XyBricks Education — Global Custom Styles
   =================================================================== */

/* ---------- CSS Variables / Design Tokens ---------- */
:root {
  --xy-primary:      #FF6B35;
  --xy-primary-dark:  #E55A2B;
  --xy-primary-light: #FF8F66;
  --xy-secondary:     #1B2A4A;
  --xy-accent:        #FFD23F;
  --xy-teal:          #0ABAB5;
  --xy-cream:         #FFF8F0;
  --xy-dark:          #0D1117;
  --xy-dark-lighter:  #161B22;
  --xy-gray-100:      #F8F9FA;
  --xy-gray-200:      #E9ECEF;
  --xy-gray-300:      #DEE2E6;
  --xy-gray-500:      #6C757D;
  --xy-gray-700:      #495057;
  --xy-body:          #1E293B;
  --xy-white:         #FFFFFF;
  --xy-radius:        0.75rem;
  --xy-radius-lg:     1rem;
  --xy-shadow-sm:     0 1px 3px rgba(0,0,0,.08);
  --xy-shadow:        0 4px 16px rgba(0,0,0,.08);
  --xy-shadow-lg:     0 12px 40px rgba(0,0,0,.12);
  --xy-transition:    all .25s ease;
  --font-heading:     'DM Serif Display', serif;
  --font-body:        'Plus Jakarta Sans', sans-serif;
}

/* ---------- Base / Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--xy-body);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--xy-dark);
  line-height: 1.25;
}

a {
  color: var(--xy-primary);
  text-decoration: none;
  transition: var(--xy-transition);
}
a:hover { color: var(--xy-primary-dark); }

img { max-width: 100%; height: auto; }

/* ---------- Utility Classes ---------- */
.section-padding { padding: 5rem 0; }
.section-padding-sm { padding: 3.5rem 0; }
.bg-light-custom { background-color: var(--xy-gray-100); }
.bg-dark-custom { background-color: var(--xy-dark); }
.text-primary-custom { color: var(--xy-primary) !important; }
.text-secondary-custom { color: var(--xy-secondary) !important; }
.text-accent { color: var(--xy-accent) !important; }

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.125rem;
  color: var(--xy-gray-500);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

@media (max-width: 767.98px) {
  .section-title { font-size: 1.875rem; }
  .section-padding { padding: 3.5rem 0; }
}

/* ---------- Buttons ---------- */
.btn-xy {
  background: var(--xy-primary);
  color: var(--xy-white);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--xy-transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-xy:hover, .btn-xy:focus {
  background: var(--xy-primary-dark);
  color: var(--xy-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,53,.35);
}

.btn-xy-outline {
  background: transparent;
  color: var(--xy-primary);
  border: 2px solid var(--xy-primary);
  padding: 0.65rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--xy-transition);
}
.btn-xy-outline:hover {
  background: var(--xy-primary);
  color: var(--xy-white);
  transform: translateY(-2px);
}

.btn-xy-secondary {
  background: var(--xy-secondary);
  color: var(--xy-white);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--xy-transition);
}
.btn-xy-secondary:hover {
  background: #141F36;
  color: var(--xy-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27,42,74,.35);
}

.btn-xy-white {
  background: var(--xy-white);
  color: var(--xy-primary);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--xy-transition);
}
.btn-xy-white:hover {
  background: var(--xy-gray-100);
  color: var(--xy-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}

/* ---------- Navbar ---------- */
.navbar-xy {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  padding: 0.75rem 0;
  transition: var(--xy-transition);
  z-index: 1050;
}
.navbar-xy .navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--xy-dark);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.navbar-xy .navbar-brand .brand-icon {
  width: 36px;
  height: 36px;
  background: var(--xy-primary);
  color: var(--xy-white);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-body);
}
.navbar-xy .nav-link {
  color: var(--xy-gray-700);
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  font-size: 0.95rem;
  transition: var(--xy-transition);
}
.navbar-xy .nav-link:hover,
.navbar-xy .nav-link.active {
  color: var(--xy-primary);
}
.navbar-xy .btn-login {
  color: var(--xy-primary);
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  transition: var(--xy-transition);
}
.navbar-xy .btn-login:hover {
  background: rgba(255,107,53,.08);
}
.navbar-xy .btn-signup {
  background: var(--xy-primary);
  color: var(--xy-white);
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  border: none;
  transition: var(--xy-transition);
}
.navbar-xy .btn-signup:hover {
  background: var(--xy-primary-dark);
  transform: translateY(-1px);
}

/* ---------- Footer ---------- */
.footer-xy {
  background: var(--xy-dark);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 2rem;
}
.footer-xy h5 {
  color: var(--xy-white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.footer-xy a {
  color: rgba(255,255,255,.6);
  font-size: 0.9rem;
  transition: var(--xy-transition);
}
.footer-xy a:hover {
  color: var(--xy-white);
  padding-left: 4px;
}
.footer-xy .footer-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--xy-white);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.footer-xy .footer-brand .brand-icon {
  width: 32px;
  height: 32px;
  background: var(--xy-primary);
  color: var(--xy-white);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-body);
}
.footer-xy .social-icons a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  margin-right: 0.5rem;
  font-size: 1rem;
  transition: var(--xy-transition);
}
.footer-xy .social-icons a:hover {
  background: var(--xy-primary);
  color: var(--xy-white);
  padding-left: 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,.4);
}

/* ---------- Hero Sections ---------- */
.hero-tutor {
  background: linear-gradient(135deg, #FF6B35 0%, #E55A2B 50%, #1B2A4A 100%);
  color: var(--xy-white);
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero-tutor::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.hero-tutor::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.hero-tutor h1 {
  color: var(--xy-white);
  font-size: 3.25rem;
  max-width: 700px;
}
.hero-tutor p.lead {
  font-size: 1.2rem;
  opacity: .9;
  max-width: 580px;
}
@media (max-width: 767.98px) {
  .hero-tutor { padding: 5rem 0 3.5rem; }
  .hero-tutor h1 { font-size: 2.25rem; }
}

.hero-blog {
  background: linear-gradient(135deg, #0D1117 0%, #1E293B 100%);
  color: var(--xy-white);
  padding: 6rem 0 3.5rem;
  text-align: center;
}
.hero-blog h1 { color: var(--xy-white); font-size: 3rem; }
.hero-blog p { opacity: .8; font-size: 1.15rem; }

/* ---------- Cards ---------- */
.xy-card {
  background: var(--xy-white);
  border-radius: var(--xy-radius-lg);
  border: 1px solid var(--xy-gray-200);
  padding: 2rem;
  transition: var(--xy-transition);
  height: 100%;
}
.xy-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--xy-shadow-lg);
  border-color: transparent;
}
.xy-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.xy-card .card-icon.icon-primary { background: rgba(255,107,53,.1); color: var(--xy-primary); }
.xy-card .card-icon.icon-secondary { background: rgba(27,42,74,.1); color: var(--xy-secondary); }
.xy-card .card-icon.icon-accent { background: rgba(255,210,63,.1); color: var(--xy-accent); }
.xy-card .card-icon.icon-info { background: rgba(59,130,246,.1); color: #3B82F6; }
.xy-card .card-icon.icon-purple { background: rgba(10,186,181,.1); color: #0ABAB5; }
.xy-card .card-icon.icon-rose { background: rgba(244,63,94,.1); color: #F43F5E; }

.xy-card h5 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

/* ---------- Steps / How It Works ---------- */
.step-item {
  text-align: center;
  position: relative;
}
.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--xy-primary);
  color: var(--xy-white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
}
.step-connector {
  position: absolute;
  top: 32px;
  left: 55%;
  width: 90%;
  height: 2px;
  background: var(--xy-gray-300);
  z-index: 1;
}
@media (max-width: 767.98px) {
  .step-connector { display: none; }
}

/* ---------- Stats ---------- */
.stats-section {
  background: var(--xy-primary);
  color: var(--xy-white);
  padding: 3.5rem 0;
}
.stat-item {
  text-align: center;
  padding: 1rem;
}
.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  display: block;
  line-height: 1.2;
}
.stat-item .stat-label {
  font-size: 0.95rem;
  opacity: .85;
  margin-top: 0.25rem;
}

/* ---------- Earnings Calculator ---------- */
.earnings-calc {
  background: linear-gradient(135deg, #FFF8F0 0%, #FFF3E8 100%);
  border-radius: var(--xy-radius-lg);
  padding: 3rem;
  position: relative;
}
.earnings-calc .calc-value {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--xy-secondary);
}
.earnings-badge {
  display: inline-block;
  background: var(--xy-white);
  border-radius: var(--xy-radius);
  padding: 1rem 1.5rem;
  box-shadow: var(--xy-shadow);
  text-align: center;
  min-width: 150px;
}
.earnings-badge .badge-label {
  display: block;
  font-size: 0.8rem;
  color: var(--xy-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}
.earnings-badge .badge-value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--xy-dark);
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--xy-white);
  border-radius: var(--xy-radius-lg);
  padding: 2rem;
  border: 1px solid var(--xy-gray-200);
  height: 100%;
}
.testimonial-card .stars {
  color: var(--xy-accent);
  margin-bottom: 1rem;
}
.testimonial-card blockquote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--xy-gray-700);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-card .author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--xy-primary), var(--xy-primary-light));
  color: var(--xy-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-card .author-name {
  font-weight: 700;
  color: var(--xy-dark);
  font-size: 0.95rem;
}
.testimonial-card .author-role {
  font-size: 0.85rem;
  color: var(--xy-gray-500);
}

/* ---------- FAQ Accordion ---------- */
.faq-section .accordion-item {
  border: 1px solid var(--xy-gray-200);
  border-radius: var(--xy-radius) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-section .accordion-button {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--xy-dark);
  padding: 1.25rem 1.5rem;
  background: var(--xy-white);
  box-shadow: none !important;
}
.faq-section .accordion-button:not(.collapsed) {
  color: var(--xy-primary);
  background: rgba(255,107,53,.03);
}
.faq-section .accordion-button::after {
  background-size: 1.1rem;
}
.faq-section .accordion-body {
  padding: 0 1.5rem 1.25rem;
  color: var(--xy-gray-700);
  line-height: 1.7;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, #FF6B35 0%, #1B2A4A 100%);
  color: var(--xy-white);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section h2 { color: var(--xy-white); font-size: 2.5rem; }
.cta-section p { opacity: .9; font-size: 1.15rem; max-width: 560px; margin: 0 auto 2rem; }

/* ---------- Blog Cards ---------- */
.blog-card {
  background: var(--xy-white);
  border-radius: var(--xy-radius-lg);
  border: 1px solid var(--xy-gray-200);
  overflow: hidden;
  transition: var(--xy-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--xy-shadow-lg);
  border-color: transparent;
}
.blog-card .card-img-top {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--xy-gray-200);
  position: relative;
}
.blog-card .card-img-top .category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
}
.blog-card .card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card .card-body h5 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.blog-card .card-body h5 a {
  color: var(--xy-dark);
}
.blog-card .card-body h5 a:hover {
  color: var(--xy-primary);
}
.blog-card .card-body p {
  color: var(--xy-gray-500);
  font-size: 0.9rem;
  flex: 1;
}
.blog-card .card-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--xy-gray-500);
  padding-top: 1rem;
  border-top: 1px solid var(--xy-gray-200);
  margin-top: auto;
}

.category-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.category-badge.badge-study { background: rgba(255,107,53,.1); color: var(--xy-primary); }
.category-badge.badge-teaching { background: rgba(27,42,74,.1); color: var(--xy-secondary); }
.category-badge.badge-subject { background: rgba(255,210,63,.1); color: var(--xy-accent); }
.category-badge.badge-news { background: rgba(59,130,246,.1); color: #3B82F6; }

/* Featured blog card */
.blog-featured {
  border-radius: var(--xy-radius-lg);
  overflow: hidden;
  background: var(--xy-white);
  border: 1px solid var(--xy-gray-200);
  transition: var(--xy-transition);
}
.blog-featured:hover {
  box-shadow: var(--xy-shadow-lg);
  border-color: transparent;
}
.blog-featured .featured-img {
  height: 320px;
  background: linear-gradient(135deg, #FF6B35 0%, #1B2A4A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--xy-white);
  font-size: 4rem;
}
.blog-featured .featured-body {
  padding: 2rem;
}
.blog-featured .featured-body h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.blog-featured .featured-body h3 a {
  color: var(--xy-dark);
}
.blog-featured .featured-body h3 a:hover {
  color: var(--xy-primary);
}

/* Blog sidebar */
.blog-sidebar .sidebar-widget {
  background: var(--xy-white);
  border: 1px solid var(--xy-gray-200);
  border-radius: var(--xy-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.blog-sidebar .sidebar-widget h5 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--xy-primary);
  display: inline-block;
}
.blog-sidebar .popular-post {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--xy-gray-200);
}
.blog-sidebar .popular-post:last-child { border-bottom: none; }
.blog-sidebar .popular-post .post-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--xy-radius);
  background: var(--xy-gray-200);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--xy-gray-500);
}
.blog-sidebar .popular-post .post-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--xy-dark);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}
.blog-sidebar .popular-post .post-title:hover { color: var(--xy-primary); }
.blog-sidebar .popular-post .post-date {
  font-size: 0.8rem;
  color: var(--xy-gray-500);
}
.blog-sidebar .category-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--xy-gray-200);
  font-size: 0.9rem;
}
.blog-sidebar .category-list li:last-child { border-bottom: none; }
.blog-sidebar .category-list li a { color: var(--xy-gray-700); }
.blog-sidebar .category-list li a:hover { color: var(--xy-primary); }
.blog-sidebar .category-list li .count {
  background: var(--xy-gray-100);
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--xy-gray-500);
}

/* Blog filter tabs */
.blog-filter-tabs .nav-link {
  color: var(--xy-gray-700);
  border: 1px solid var(--xy-gray-300);
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  margin: 0 0.25rem 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--xy-transition);
}
.blog-filter-tabs .nav-link:hover {
  border-color: var(--xy-primary);
  color: var(--xy-primary);
}
.blog-filter-tabs .nav-link.active {
  background: var(--xy-primary);
  border-color: var(--xy-primary);
  color: var(--xy-white);
}

/* Newsletter */
.newsletter-box {
  background: linear-gradient(135deg, var(--xy-primary) 0%, var(--xy-secondary) 100%);
  border-radius: var(--xy-radius-lg);
  padding: 2rem;
  color: var(--xy-white);
}
.newsletter-box h5 {
  color: var(--xy-white);
  font-family: var(--font-body);
  font-weight: 700;
}
.newsletter-box .form-control {
  border-radius: 50px;
  border: none;
  padding: 0.75rem 1.25rem;
}
.newsletter-box .btn {
  border-radius: 50px;
}

/* ---------- Blog Post / Article ---------- */
.article-header {
  padding: 5rem 0 2rem;
  background: var(--xy-gray-100);
}
.article-header h1 {
  font-size: 2.75rem;
  max-width: 800px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  color: var(--xy-gray-500);
  font-size: 0.9rem;
}
.article-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.article-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.85;
}
.article-content h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
}
.article-content h3 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}
.article-content p { margin-bottom: 1.25rem; }
.article-content blockquote {
  border-left: 4px solid var(--xy-primary);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  background: rgba(255,107,53,.04);
  border-radius: 0 var(--xy-radius) var(--xy-radius) 0;
  font-style: italic;
  color: var(--xy-gray-700);
  font-size: 1.15rem;
}
.article-content ul, .article-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}
.article-content li { margin-bottom: 0.5rem; }

/* Author bio box */
.author-bio-box {
  background: var(--xy-gray-100);
  border-radius: var(--xy-radius-lg);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.author-bio-box .author-avatar-lg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--xy-primary), var(--xy-primary-light));
  color: var(--xy-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  flex-shrink: 0;
}
@media (max-width: 575.98px) {
  .author-bio-box { flex-direction: column; text-align: center; align-items: center; }
  .article-header h1 { font-size: 2rem; }
}

/* Share buttons */
.share-buttons a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--xy-gray-300);
  color: var(--xy-gray-700);
  margin-right: 0.5rem;
  transition: var(--xy-transition);
}
.share-buttons a:hover {
  background: var(--xy-primary);
  border-color: var(--xy-primary);
  color: var(--xy-white);
}

/* Comments placeholder */
.comments-section .comment-placeholder {
  background: var(--xy-gray-100);
  border-radius: var(--xy-radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--xy-gray-500);
}

/* ---------- Breadcrumbs ---------- */
.breadcrumb-xy {
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
}
.breadcrumb-xy .breadcrumb-item a { color: var(--xy-gray-500); }
.breadcrumb-xy .breadcrumb-item a:hover { color: var(--xy-primary); }
.breadcrumb-xy .breadcrumb-item.active { color: var(--xy-primary); }
.breadcrumb-xy .breadcrumb-item + .breadcrumb-item::before {
  content: '\F285';
  font-family: 'bootstrap-icons';
  font-size: 0.7rem;
  color: var(--xy-gray-500);
}

/* ---------- Pagination ---------- */
.pagination-xy .page-link {
  border: 1px solid var(--xy-gray-300);
  color: var(--xy-gray-700);
  border-radius: var(--xy-radius) !important;
  margin: 0 0.2rem;
  padding: 0.5rem 0.85rem;
  font-weight: 500;
  transition: var(--xy-transition);
}
.pagination-xy .page-link:hover {
  background: var(--xy-primary);
  border-color: var(--xy-primary);
  color: var(--xy-white);
}
.pagination-xy .page-item.active .page-link {
  background: var(--xy-primary);
  border-color: var(--xy-primary);
  color: var(--xy-white);
}

/* ---------- Scroll-to-top ---------- */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--xy-primary);
  color: var(--xy-white);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(255,107,53,.3);
  z-index: 999;
  transition: var(--xy-transition);
  border: none;
  cursor: pointer;
}
.scroll-top:hover {
  background: var(--xy-primary-dark);
  transform: translateY(-3px);
}
.scroll-top.show { display: flex; }
