/* ============================================================
   BAJO RENTAL TRIP & TOURS - BLOG & ARTICLE DESIGN SYSTEM
   Theme: Luxury Dark + Gold Accent
   Optimized for SEO, Core Web Vitals, and Readability
============================================================ */

/* Reading Progress Bar */
.reading-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 1010;
}
.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #D4A017, #F5C842, #FFE17D);
  box-shadow: 0 0 10px rgba(245, 200, 66, 0.8);
  transition: width 0.1s ease;
}

/* Blog Layout Header & Breadcrumbs */
.blog-header-section {
  padding: 130px 0 40px;
  background: radial-gradient(circle at 50% 20%, rgba(212,160,23,0.12) 0%, rgba(10,10,10,0.95) 70%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--white-60);
  margin-bottom: 24px;
}
.breadcrumbs a {
  color: var(--white-80);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumbs a:hover {
  color: var(--gold-light);
}
.breadcrumbs span.separator {
  color: var(--gold);
  font-size: 0.75rem;
}
.breadcrumbs span.current {
  color: var(--gold-light);
  font-weight: 500;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Category Badge */
.article-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212,160,23,0.15);
  color: var(--gold-light);
  border: 1px solid rgba(212,160,23,0.4);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.article-title-main {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: 800;
}
.article-title-main .keyword-highlight {
  background: linear-gradient(135deg, #F5C842, #D4A017);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 30px;
}

.article-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  background: #1A1A1A;
}
.author-details .author-name {
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
}
.author-details .publish-date {
  font-size: 0.8rem;
  color: var(--white-60);
}

.article-quick-stats {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.85rem;
  color: var(--white-60);
}
.article-quick-stats span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Share Buttons */
.share-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white-80);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  cursor: pointer;
}
.share-btn:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
  border-color: var(--gold);
}

/* Article Featured Image */
.article-featured-hero {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
  border: 1px solid rgba(212,160,23,0.25);
}
.article-featured-hero img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.article-featured-hero:hover img {
  transform: scale(1.02);
}
.featured-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 20px;
  background: linear-gradient(0deg, rgba(0,0,0,0.85), transparent);
  font-size: 0.85rem;
  color: var(--white-80);
  font-style: italic;
}

/* Article Main Grid Layout */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  margin-bottom: 70px;
}

@media (max-width: 991px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
}

/* Article Content Body */
.article-content {
  font-size: 1.08rem;
  line-height: 1.85;
  color: #E2E8F0;
}
.article-content p {
  margin-bottom: 22px;
}
.article-content h2 {
  font-size: 1.65rem;
  color: #FFFFFF;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(212,160,23,0.3);
  position: relative;
}
.article-content h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--gold-light);
}
.article-content h3 {
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-top: 30px;
  margin-bottom: 14px;
}
.article-content ul, .article-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}
.article-content li {
  margin-bottom: 10px;
}
.article-content strong {
  color: #FFFFFF;
  font-weight: 700;
}

/* Highlight & Tip Boxes */
.content-box-highlight {
  background: rgba(212,160,23,0.07);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 30px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.content-box-highlight h4 {
  color: var(--gold-light);
  font-size: 1.1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.content-box-highlight p:last-child {
  margin-bottom: 0;
}

.content-box-tip {
  background: rgba(16, 185, 129, 0.08);
  border-left: 4px solid #10B981;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 30px 0;
}
.content-box-tip h4 {
  color: #34D399;
  font-size: 1.1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.content-box-tip p:last-child {
  margin-bottom: 0;
}

/* Styled Table for Pricing & Comparison */
.table-responsive-wrapper {
  overflow-x: auto;
  margin: 30px 0;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.table-styled {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}
.table-styled th {
  background: #1E1E1E;
  color: var(--gold-light);
  padding: 14px 18px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--gold);
}
.table-styled td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--white-80);
}
.table-styled tr:nth-child(even) td {
  background: rgba(255,255,255,0.02);
}
.table-styled tr:hover td {
  background: rgba(212,160,23,0.08);
  color: #FFFFFF;
}
.table-price-tag {
  display: inline-block;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(212,160,23,0.15);
  padding: 4px 10px;
  border-radius: 4px;
}

/* Armada Feature Box Inside Article */
.inline-armada-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, #181818, #121212);
  border: 1px solid rgba(212,160,23,0.3);
  border-radius: var(--radius);
  padding: 20px;
  margin: 36px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
@media (max-width: 600px) {
  .inline-armada-card {
    flex-direction: column;
    text-align: center;
  }
}
.inline-armada-card img {
  width: 160px;
  height: 110px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.1);
}
.inline-armada-info {
  flex: 1;
}
.inline-armada-info h4 {
  font-size: 1.2rem;
  color: #FFFFFF;
  margin-bottom: 6px;
}
.inline-armada-info p {
  font-size: 0.9rem;
  color: var(--white-60);
  margin-bottom: 12px;
}
.inline-armada-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* In-Article CTA Banner */
.article-cta-box {
  background: linear-gradient(135deg, #1C1917, #0F0F0F);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
  margin: 50px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(212,160,23,0.25);
}
.article-cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212,160,23,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.article-cta-box h3 {
  font-size: 1.6rem;
  color: #FFFFFF;
  margin-bottom: 12px;
}
.article-cta-box p {
  color: var(--white-80);
  max-width: 580px;
  margin: 0 auto 24px;
}

/* FAQ Accordion */
.article-faq-section {
  margin: 50px 0;
}
.article-faq-section h3 {
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-accordion-item {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-accordion-item:hover {
  border-color: rgba(212,160,23,0.4);
}
.faq-accordion-item.active {
  border-color: var(--gold);
  background: #191919;
}
.faq-header {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}
.faq-header h4 {
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 600;
  margin: 0;
}
.faq-accordion-item.active .faq-header h4 {
  color: var(--gold-light);
}
.faq-toggle-icon {
  font-size: 1.2rem;
  color: var(--gold);
  transition: transform 0.3s ease;
}
.faq-accordion-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px;
  color: var(--white-80);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-accordion-item.active .faq-body {
  max-height: 400px;
  padding: 0 22px 20px;
}

/* Author Box */
.author-bio-card {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 24px;
  margin: 40px 0;
}
@media (max-width: 500px) {
  .author-bio-card {
    flex-direction: column;
    text-align: center;
  }
}
.author-bio-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
}
.author-bio-text h4 {
  color: #FFFFFF;
  margin-bottom: 6px;
  font-size: 1.1rem;
}
.author-bio-text p {
  color: var(--white-60);
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Sidebar Styles */
.article-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}
.sidebar-widget {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.sidebar-widget h4 {
  font-size: 1.1rem;
  color: #FFFFFF;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Table of Contents */
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.toc-list li {
  margin-bottom: 10px;
}
.toc-list a {
  color: var(--white-60);
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  padding: 4px 8px;
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
  line-height: 1.4;
}
.toc-list a:hover, .toc-list a.active {
  color: var(--gold-light);
  border-left-color: var(--gold);
  padding-left: 12px;
  background: rgba(212,160,23,0.05);
}

/* Sidebar Quick Booking Form/Card */
.sidebar-booking-card {
  background: linear-gradient(145deg, #1C1A16, #12110E);
  border: 1px solid rgba(212,160,23,0.4);
  text-align: center;
}
.sidebar-booking-card .price-promo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-light);
  margin: 12px 0 6px;
}

/* Related Articles Grid */
.related-articles-section {
  padding: 60px 0 80px;
  background: #0E0E0E;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 36px;
}
.blog-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,160,23,0.5);
  box-shadow: 0 14px 40px rgba(0,0,0,0.6), 0 0 20px rgba(212,160,23,0.15);
}
.blog-card-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.blog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img-wrap img {
  transform: scale(1.05);
}
.blog-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212,160,23,0.4);
  color: var(--gold-light);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.blog-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-meta {
  font-size: 0.8rem;
  color: var(--white-60);
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
}
.blog-card-title {
  font-size: 1.18rem;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.35;
  transition: color 0.2s;
}
.blog-card:hover .blog-card-title {
  color: var(--gold-light);
}
.blog-card-excerpt {
  color: var(--white-60);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.blog-read-more {
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}
.blog-card:hover .blog-read-more {
  gap: 10px;
}

/* Blog Hub Filter and Search */
.blog-hub-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px 0 20px;
  padding: 20px;
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
}
.category-filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-chip {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white-80);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-chip:hover, .filter-chip.active {
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
  border-color: var(--gold);
}
.blog-search-box {
  display: flex;
  align-items: center;
  background: #111;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 6px 16px;
  width: 280px;
}
.blog-search-box input {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  width: 100%;
}
.blog-search-box input::placeholder {
  color: var(--white-60);
}
