/* ======================================================
   BLOG ARTICLE PAGE STYLESHEET
   Jahongir Travel
   Purpose: Styling for blog article pages
   Extends: tour-details.css design tokens
   ====================================================== */

/* This file uses CSS variables from tour-details.css:
   - Colors: --brand-blue, --brand-yellow
   - Shadows: --shadow-light, --shadow-medium
   - Spacing: --space-section, --space-card
   - Typography: --line-height-relaxed, --max-line-width
   - Border Radius: --radius-card, --radius-button
*/

/* ======================================================
   TABLE OF CONTENTS
   ======================================================
   0. Header Fix (Sticky Navigation Override)
   1. Article Hero Section
   2. Breadcrumb Navigation
   3. Article Meta
   4. Two-Column Layout
   5. Article Content Typography
   6. Sidebar Widgets
   7. Related Articles
   8. Comments Section
   9. Responsive Breakpoints
   ====================================================== */

/* ======================================================
   0. HEADER FIX - STICKY NAVIGATION OVERRIDE
   ====================================================== */

/* Override the default absolute positioning from style.css
   On blog pages, the header should be sticky from the start */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000; /* Higher than default 100 to ensure it stays on top */
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.nav {
  position: relative !important; /* Override absolute positioning */
  background: transparent;
}

/* Fix text colors to be visible on white background */
.nav .nav__logo-text {
  color: var(--color-primary, #0D4C92) !important;
  text-shadow: none;
}

.nav .nav__menu a {
  color: var(--color-text, #1E1E1E) !important;
  text-shadow: none;
}

.nav .nav__menu a:hover,
.nav .nav__menu a:focus {
  color: var(--color-primary, #0D4C92) !important;
}

.nav .nav__menu a.active {
  color: var(--color-primary, #0D4C92) !important;
}

/* ======================================================
   1. ARTICLE HERO SECTION
   ====================================================== */

.article-hero {
  padding: 2rem 0 3rem;
  background: #FAFAFA;
}

.article-hero .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.article-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #1E1E1E;
  margin: 1.5rem 0 2rem 0;
  max-width: 900px;
}

.article-featured-image {
  margin-top: 2rem;
  border-radius: var(--radius-card, 12px);
  overflow: hidden;
  box-shadow: var(--shadow-medium, 0 2px 12px rgba(0, 0, 0, 0.05));
}

.article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ======================================================
   2. BREADCRUMB NAVIGATION
   ====================================================== */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--brand-blue, #1C54B2);
}

.breadcrumb-separator {
  color: #999;
  user-select: none;
}

.breadcrumb-current {
  color: #1E1E1E;
  font-weight: 500;
}

/* ======================================================
   3. ARTICLE META
   ====================================================== */

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 1rem;
}

.article-category {
  background: #EAF2FF;
  color: var(--brand-blue, #1C54B2);
  padding: 0.375rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8125rem;
}

.article-author,
.article-date,
.article-reading-time {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

/* ======================================================
   4. TWO-COLUMN LAYOUT
   ====================================================== */

.article-layout {
  padding: 3rem 0;
}

.article-layout .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.article-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 3rem;
  align-items: start;
}

.article-main {
  max-width: 800px;
  width: 100%;
}

/* ======================================================
   5. ARTICLE CONTENT TYPOGRAPHY
   ====================================================== */

.article-content {
  font-size: 1.0625rem;
  line-height: var(--line-height-relaxed, 1.7);
  color: #2C2C2C;
}

.article-content p {
  margin-bottom: 1.5rem;
  max-width: var(--max-line-width, 65ch);
}

.article-intro {
  font-size: 1.125rem;
  font-weight: 500;
  color: #1E1E1E;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Headings in Content */
.article-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1E1E1E;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.article-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1E1E1E;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.article-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1E1E1E;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

/* Links in Content */
.article-content a {
  color: var(--brand-blue, #1C54B2);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.article-content a:hover {
  color: var(--brand-blue-dark, #143d85);
}

/* Lists */
.article-list {
  margin: 1.5rem 0 1.5rem 1.5rem;
  padding: 0;
  list-style-type: disc;
}

.article-list li {
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
  line-height: var(--line-height-relaxed, 1.7);
}

.article-list li::marker {
  color: var(--brand-blue, #1C54B2);
}

/* Blockquotes */
.article-blockquote {
  border-left: 4px solid var(--brand-blue, #1C54B2);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #555;
  font-size: 1.125rem;
  background: #F9FAFB;
  padding: 1.25rem 1.5rem;
  border-radius: 0 8px 8px 0;
}

.article-blockquote p {
  margin: 0;
}

/* Images in Content */
.article-image {
  margin: 2rem 0;
  border-radius: var(--radius-card, 12px);
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-card, 12px);
  box-shadow: var(--shadow-light, 0 2px 6px rgba(0, 0, 0, 0.04));
}

.article-image figcaption {
  font-size: 0.875rem;
  color: #666;
  text-align: center;
  margin-top: 0.75rem;
  font-style: italic;
}

/* ======================================================
   6. SIDEBAR WIDGETS
   ====================================================== */

.article-sidebar {
  position: sticky;
  top: calc(var(--sticky-offset, 88px) + 1rem);
  align-self: flex-start;
  /* Removed max-height and overflow-y for full height display */
}

.sidebar-widget {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius-card, 12px);
  border: 1px solid #E8E8E8;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-light, 0 2px 6px rgba(0, 0, 0, 0.04));
}

.widget-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1E1E1E;
  margin: 0 0 1.25rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--brand-blue, #1C54B2);
}

/* Search Widget */
.search-form {
  display: flex;
  gap: 0.5rem;
}

.search-form input[type="search"] {
  flex: 1;
  padding: 0.875rem 1rem;
  border: 1px solid #E3E3E3;
  border-radius: var(--radius-button, 8px);
  font-size: 0.9375rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.search-form input[type="search"]:focus {
  outline: none;
  border-color: var(--brand-blue, #1C54B2);
  box-shadow: 0 0 0 3px rgba(28, 84, 178, 0.1);
}

.search-form button {
  padding: 0.875rem 1rem;
  background: var(--brand-blue, #1C54B2);
  color: white;
  border: none;
  border-radius: var(--radius-button, 8px);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-form button:hover {
  background: var(--brand-blue-dark, #143d85);
  transform: translateY(-2px);
}

.search-form button svg {
  width: 18px;
  height: 18px;
}

/* Recent Posts Widget */
.recent-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-post-item {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #F0F0F0;
}

.recent-post-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.recent-post-item a {
  text-decoration: none;
  display: block;
}

.recent-post-item h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1E1E1E;
  margin: 0 0 0.375rem 0;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.recent-post-item a:hover h4 {
  color: var(--brand-blue, #1C54B2);
}

.recent-post-item time {
  font-size: 0.8125rem;
  color: #999;
}

/* Recent Comments Widget */
.recent-comments-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-comment-item {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #F0F0F0;
}

.recent-comment-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.recent-comment-item a {
  font-size: 0.9375rem;
  color: #555;
  text-decoration: none;
  line-height: 1.5;
  display: block;
  transition: color 0.2s ease;
}

.recent-comment-item a:hover {
  color: var(--brand-blue, #1C54B2);
}

.recent-comment-item strong {
  color: #1E1E1E;
  font-weight: 600;
}

/* ======================================================
   7. RELATED ARTICLES
   ====================================================== */

.related-articles {
  padding: 3rem 0;
  background: #FAFAFA;
}

.related-articles .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1E1E1E;
  margin: 0 0 2rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--brand-blue, #1C54B2);
  display: inline-block;
}

.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.related-article-card {
  background: #fff;
  border-radius: var(--radius-card, 12px);
  border: 1px solid #E8E8E8;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-light, 0 2px 6px rgba(0, 0, 0, 0.04));
}

.related-article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium, 0 2px 12px rgba(0, 0, 0, 0.05));
  border-color: #D0D0D0;
}

.card-image-link {
  display: block;
  overflow: hidden;
  position: relative;
}

.card-image-link img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.related-article-card:hover .card-image-link img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
  line-height: 1.4;
}

.card-title a {
  color: #1E1E1E;
  text-decoration: none;
  transition: color 0.2s ease;
}

.card-title a:hover {
  color: var(--brand-blue, #1C54B2);
}

.card-excerpt {
  font-size: 0.9375rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.card-read-more {
  color: var(--brand-blue, #1C54B2);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.2s ease;
}

.card-read-more:hover {
  color: var(--brand-blue-dark, #143d85);
  gap: 0.5rem;
}

/* ======================================================
   8. COMMENTS SECTION
   ====================================================== */

.article-comments {
  padding: 3rem 0;
}

.article-comments .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.comments-note {
  font-size: 0.9375rem;
  color: #666;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.comment-form {
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1E1E1E;
  font-size: 0.9375rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #E3E3E3;
  border-radius: var(--radius-button, 8px);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-blue, #1C54B2);
  box-shadow: 0 0 0 3px rgba(28, 84, 178, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.form-checkbox input[type="checkbox"] {
  width: auto;
  margin: 0;
  margin-top: 0.25rem;
  cursor: pointer;
  flex-shrink: 0;
}

.form-checkbox label {
  margin: 0;
  font-weight: 400;
  font-size: 0.9375rem;
  cursor: pointer;
  line-height: 1.5;
}

.form-error {
  display: block;
  color: #DC2626;
  font-size: 0.8125rem;
  margin-top: 0.375rem;
  min-height: 1.25rem;
}

.btn--primary {
  background: var(--brand-blue, #1C54B2);
  color: white;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: var(--radius-button, 8px);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-light, 0 2px 6px rgba(0, 0, 0, 0.04));
}

.btn--primary:hover {
  background: var(--brand-blue-dark, #143d85);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium, 0 2px 12px rgba(0, 0, 0, 0.05));
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background: transparent;
  color: var(--brand-blue, #1C54B2);
  padding: 0.875rem 2rem;
  border: 1px solid var(--brand-blue, #1C54B2);
  border-radius: var(--radius-button, 8px);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn--secondary:hover {
  background: var(--brand-blue, #1C54B2);
  color: white;
}

/* Comments Section Header */
.blog-comments {
  padding: 3rem 0;
}

.blog-comments .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.comments-header {
  text-align: center;
  margin-bottom: 3rem;
}

.comments-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1E1E1E;
  margin: 0 0 0.5rem 0;
}

.comments-subtitle {
  font-size: 1.125rem;
  color: #666;
  margin: 0;
}

/* Comment Form Wrapper */
.comment-form-wrapper {
  background: #F9FAFB;
  border-radius: var(--radius-card, 12px);
  padding: 2rem;
  margin-bottom: 3rem;
  border: 1px solid #E5E7EB;
}

.comment-form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1E1E1E;
  margin: 0 0 1.5rem 0;
}

.required {
  color: #DC2626;
}

.error-message {
  display: block;
  color: #DC2626;
  font-size: 0.875rem;
  margin-top: 0.375rem;
  min-height: 1.25rem;
}

.char-count {
  display: block;
  text-align: right;
  font-size: 0.875rem;
  color: #9CA3AF;
  margin-top: 0.375rem;
}

.form-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-loader {
  display: none;
}

.form-message {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-button, 8px);
  font-size: 0.9375rem;
  font-weight: 500;
}

.form-message.success {
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form-message.error {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* Comments List */
.comments-list {
  margin-top: 3rem;
}

.comment-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
}

.comment-reply {
  margin-left: 3.5rem;
  margin-top: 1.5rem;
}

.comment-avatar {
  flex-shrink: 0;
}

.comment-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #E5E7EB;
}

.comment-body {
  flex: 1;
  min-width: 0;
}

.comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.comment-author .author-name {
  font-weight: 600;
  font-size: 1rem;
  color: #1E1E1E;
  text-decoration: none;
}

.comment-author a.author-name:hover {
  color: var(--brand-blue, #1C54B2);
}

.comment-meta {
  font-size: 0.875rem;
  color: #9CA3AF;
}

.comment-content {
  margin-bottom: 0.75rem;
}

.comment-content p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
  word-wrap: break-word;
}

.comment-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.comment-action-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.875rem;
  color: #6B7280;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: color 0.2s ease;
  font-weight: 500;
}

.comment-action-btn:hover {
  color: var(--brand-blue, #1C54B2);
}

.comment-action-btn i {
  font-size: 0.875rem;
}

.reply-form-container {
  margin-top: 1rem;
}

.comment-replies {
  margin-top: 1rem;
}

/* Comments Empty State */
.comments-empty {
  text-align: center;
  padding: 3rem 2rem;
  background: #F9FAFB;
  border-radius: var(--radius-card, 12px);
  border: 1px dashed #D1D5DB;
}

.comments-empty i {
  font-size: 3rem;
  color: #D1D5DB;
  margin-bottom: 1rem;
  display: block;
}

.comments-empty p {
  font-size: 1.125rem;
  color: #6B7280;
  margin: 0;
}

/* ======================================================
   9. RESPONSIVE BREAKPOINTS
   ====================================================== */

/* Tablet (1024px - 1199px) */
@media (max-width: 1199px) {
  .article-layout-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2rem;
  }

  .article-title {
    font-size: 2.25rem;
  }
}

/* Tablet & Mobile (<1024px) */
@media (max-width: 1023px) {
  .article-layout-grid {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
    order: 2;
  }

  .article-title {
    font-size: 2rem;
  }

  .related-articles-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
}

/* Mobile (<768px) */
@media (max-width: 767px) {
  .article-hero {
    padding: 1.5rem 0 2rem;
  }

  .article-title {
    font-size: 1.75rem;
    margin: 1rem 0 1.5rem 0;
  }

  .article-meta {
    font-size: 0.8125rem;
    gap: 0.75rem;
  }

  .article-content {
    font-size: 1rem;
  }

  .article-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
  }

  .article-content h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
  }

  .article-intro {
    font-size: 1.0625rem;
  }

  .article-layout {
    padding: 2rem 0;
  }

  .related-articles {
    padding: 2rem 0;
  }

  .related-articles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .sidebar-widget {
    padding: 1.25rem;
  }
}

/* Small Mobile (<480px) */
@media (max-width: 479px) {
  .article-hero .container,
  .article-layout .container,
  .related-articles .container,
  .article-comments .container {
    padding: 0 1rem;
  }

  .article-title {
    font-size: 1.5rem;
  }

  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .btn--primary {
    width: 100%;
  }
}

/* ======================================================
   10. RELATED TOURS SECTION
   ====================================================== */

.related-tours {
  padding: 4rem 0;
  background: #F9FAFB;
  border-top: 1px solid var(--stroke-1, #E8E8E8);
  margin-top: 4rem;
}

.related-tours .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1E1E1E;
  margin: 0 0 0.75rem 0;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #666;
  margin: 0;
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.tour-card {
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #E8E8E8;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: #D0D0D0;
}

.tour-card__image-link {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.tour-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tour-card:hover .tour-card__image {
  transform: scale(1.08);
}

.tour-card__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.tour-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: #1E1E1E;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.tour-card__content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.tour-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.tour-card__title a {
  color: #1E1E1E;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tour-card__title a:hover {
  color: var(--brand-blue, #1C54B2);
}

.tour-card__description {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

.tour-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #F0F0F0;
  font-size: 0.875rem;
}

.tour-card__rating {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: #1E1E1E;
  font-weight: 600;
}

.tour-card__rating i {
  color: #FFB703;
  font-size: 1rem;
}

.tour-card__reviews {
  color: #999;
  font-weight: 400;
}

.tour-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  font-weight: 600;
}

.price-label {
  font-size: 0.75rem;
  color: #999;
  font-weight: 400;
}

.price-amount {
  font-size: 1.25rem;
  color: var(--brand-blue, #1C54B2);
}

.price-unit {
  font-size: 0.75rem;
  color: #999;
  font-weight: 400;
}

.tour-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: var(--brand-blue, #1C54B2);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: center;
}

.tour-card__cta:hover {
  background: var(--brand-blue-dark, #143d85);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(28, 84, 178, 0.25);
}

.tour-card__cta i {
  font-size: 0.875rem;
  transition: transform 0.2s ease;
}

.tour-card:hover .tour-card__cta i {
  transform: translateX(3px);
}

.related-tours__footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #E8E8E8;
}

.btn--ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--brand-blue, #1C54B2);
  border: 2px solid var(--brand-blue, #1C54B2);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn--ghost:hover {
  background: var(--brand-blue, #1C54B2);
  color: white;
}

/* Responsive */
@media (max-width: 1024px) {
  .tour-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .related-tours {
    padding: 3rem 0;
    margin-top: 3rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .tour-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tour-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ======================================================
   TAG STYLES
   ====================================================== */

/* Tags in hero section */
.article-tags {
  margin: 1.5rem 0 2rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #0D4C92 0%, #1565C0 100%);
  color: #FFFFFF !important;
  border-radius: 50px;
  text-decoration: none !important;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(13, 76, 146, 0.2);
}

.tag-badge:hover {
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(13, 76, 146, 0.3);
  background: linear-gradient(135deg, #1565C0 0%, #0D4C92 100%);
  text-decoration: none !important;
}

.tag-badge i {
  font-size: 0.75rem;
  opacity: 0.9;
}

/* Override article-content link styles for tag badges */
.article-content .tag-badge,
.article-content .tag-badge:hover {
  color: #FFFFFF;
  text-decoration: none;
}

/* Tags in article footer */
.article-footer-tags {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #E8E8E8;
}

.tags-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1E1E1E;
  margin-bottom: 1rem;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Tags cloud in sidebar */
.sidebar-tags {
  margin-bottom: 2rem;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-cloud-item {
  display: inline-block;
  padding: 0.4rem 0.875rem;
  background: #F5F5F5;
  color: #1E1E1E;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid #E8E8E8;
}

.tag-cloud-item:hover {
  background: #0D4C92;
  color: white;
  border-color: #0D4C92;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(13, 76, 146, 0.2);
}

.tag-count {
  font-size: 0.75rem;
  opacity: 0.7;
  font-weight: 400;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .article-tags {
    gap: 0.5rem;
  }
  
  .tag-badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.813rem;
  }
  
  .article-footer-tags {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
  
  .tags-title {
    font-size: 1rem;
  }
}
