body {
  font-family: 'Outfit', sans-serif;
}

h1,
h2,
h3,
h4,
.font-montserrat {
  font-family: 'Montserrat', sans-serif;
}

.hero-gradient {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 50%, rgba(15, 23, 42, 0.5) 100%),
    url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center;
  background-size: cover;
}

.service-pattern {
  background-color: #f8fafc;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54 48c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm-6-6c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm-6-6c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm-6-6c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm-6-6c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4z' fill='%23e2e8f0' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.custom-shadow {
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
}

.gradient-text {
  background-image: linear-gradient(90deg, #60a5fa 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.reibel-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
  z-index: 55;
}

.reibel-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(100%, 24rem);
  height: 100vh;
  background: #fff;
  z-index: 60;
  box-shadow: -18px 0 50px rgba(15, 23, 42, 0.16);
}

.reibel-menu-open {
  overflow: hidden;
}

.reibel-rich-content > * + *,
.reibel-content > * + * {
  margin-top: 1.2rem;
}

.reibel-rich-content h2,
.reibel-rich-content h3,
.reibel-rich-content h4,
.reibel-content h2,
.reibel-content h3,
.reibel-content h4 {
  color: #0f172a;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.reibel-rich-content h2,
.reibel-content h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e2e8f0;
}

.reibel-rich-content h3,
.reibel-content h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.reibel-rich-content p,
.reibel-rich-content li,
.reibel-content p,
.reibel-content li {
  color: #475569;
  font-size: 1rem;
  line-height: 1.9;
}

.reibel-rich-content ul,
.reibel-rich-content ol,
.reibel-content ul,
.reibel-content ol {
  padding-left: 1.25rem;
}

.reibel-rich-content blockquote,
.reibel-content blockquote {
  border-left: 4px solid #2563eb;
  padding: 1.25rem 1.5rem;
  background: #f8fafc;
  border-radius: 0 1rem 1rem 0;
  color: #0f172a;
  font-weight: 600;
  font-style: italic;
  margin: 1.5rem 0;
}

.reibel-rich-content img {
  border-radius: 1.5rem;
  height: auto;
}

.reibel-rich-content a {
  color: #2563eb;
  text-decoration: underline;
}

/* ======= SEO PREMIUM SINGLE POST STYLES ======= */

/* BREADCRUMB NAVIGATION */
.seo-breadcrumb {
  padding: 1rem 0;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 1.5rem;
}

.seo-breadcrumb .breadcrumb-item a {
  color: #0d6efd;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.seo-breadcrumb .breadcrumb-item a:hover {
  color: #0b5ed7;
  text-decoration: underline;
}

.seo-breadcrumb .breadcrumb-separator {
  opacity: 0.5;
}

.seo-breadcrumb .breadcrumb-item.active {
  color: #6b7280;
  font-weight: 600;
}

/* ARTICLE CONTAINER */
.seo-article-wrapper {
  background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
}

.seo-article-container {
  transition: all 0.3s ease;
}

.seo-article-container:hover {
  box-shadow: 0 10px 40px rgba(13, 110, 253, 0.1) !important;
}

/* ARTICLE TITLE */
.seo-article-title {
  background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  word-break: break-word;
}

/* ARTICLE META */
.seo-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.seo-article-meta a {
  color: #0d6efd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.seo-article-meta a:hover {
  color: #0b5ed7;
  text-decoration: underline;
}

/* FEATURED IMAGE */
.seo-featured-image {
  display: block;
  margin: 2rem 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  animation: fadeInUp 0.6s ease;
}

.seo-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.seo-featured-image:hover img {
  transform: scale(1.02);
}

.seo-featured-image figcaption {
  background: #f3f4f6;
  color: #374151;
  font-size: 0.85rem;
  padding: 0.75rem;
  text-align: center;
}

/* ARTICLE CONTENT */
.seo-article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #374151;
}

.seo-article-content p {
  margin-bottom: 1.5rem;
}

.seo-article-content h2,
.seo-article-content h3,
.seo-article-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #1f2937;
}

.seo-article-content h2 {
  font-size: 1.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #dbeafe;
}

.seo-article-content h3 {
  font-size: 1.35rem;
}

.seo-article-content ul,
.seo-article-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.seo-article-content li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

.seo-article-content blockquote {
  border-left: 4px solid #0d6efd;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: #f0f7ff;
  border-radius: 0 0.5rem 0.5rem 0;
  color: #1f2937;
  font-style: italic;
}

.seo-article-content a {
  color: #0d6efd;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.seo-article-content a:hover {
  color: #0b5ed7;
  border-bottom-color: #0d6efd;
}

.seo-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  margin: 1.5rem 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* ARTICLE FOOTER */
.seo-article-footer {
  margin-top: 3rem;
}

/* SIDEBAR CARDS */
.seo-sidebar-card {
  transition: all 0.3s ease;
  border-top: 4px solid #0d6efd;
}

.seo-sidebar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(13, 110, 253, 0.15) !important;
}

.seo-sidebar-card .card-body {
  padding: 1.5rem;
}

.seo-sidebar-card h3 {
  color: #1f2937;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

/* GALLERY ITEMS */
.gallery-item {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.gallery-item:hover {
  border-color: #0d6efd;
  transform: scale(1.03);
}

/* AUTHOR BOX */
.seo-author-box {
  animation: fadeInUp 0.8s ease;
}

.seo-author-box h3 {
  color: #1f2937;
}

.seo-author-box a {
  transition: all 0.3s ease;
}

.seo-author-box a:hover {
  background-color: #0d6efd !important;
  color: white !important;
}

/* TABLE OF CONTENTS */
.table-of-contents {
  list-style: none;
  padding: 0;
  margin: 0;
}

.table-of-contents li {
  margin-bottom: 0.5rem;
}

.table-of-contents a {
  color: #0d6efd;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 0.25rem 0.5rem;
  display: block;
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
}

.table-of-contents a:hover {
  color: #0b5ed7;
  border-left-color: #0d6efd;
  background: #f0f7ff;
}

/* RELATED ARTICLES SECTION */
.seo-related-section {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.seo-related-card {
  transition: all 0.4s ease;
}

.seo-related-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

.seo-related-card .card-img-top {
  background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 100%);
}

.seo-related-card .card-title a {
  transition: all 0.3s ease;
  color: #1f2937 !important;
}

.seo-related-card .card-title a:hover {
  color: #0d6efd !important;
}

/* UTILITIES */
.transition {
  transition: all 0.3s ease;
}

.w-fit {
  width: fit-content;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%) !important;
}

.bg-opacity-5 {
  --bs-bg-opacity: 0.05;
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
  .seo-article-title {
    font-size: 1.75rem !important;
  }
  
  .seo-article-meta {
    gap: 0.5rem;
  }
  
  .seo-featured-image {
    margin: 1rem 0;
  }
  
  .seo-article-content {
    font-size: 1rem;
  }
  
  .table-of-contents a {
    font-size: 0.9rem;
  }
}

/* PRINT STYLES */
@media print {
  .seo-breadcrumb,
  .seo-sidebar-card,
  .seo-related-section {
    display: none;
  }
  
  .seo-article-content {
    color: #000;
  }
}

.reibel-archive-card img,
.reibel-single-thumb img,
.reibel-page-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1024px) {
  .hero-gradient {
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .hero-gradient {
    background-position: 62% center;
  }
}
