/* All CSS remains exactly the same as in the dog food blog post */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

:root {
  --primary: #27ae60; /* Natural green */
  --secondary: #2c3e50; /* Keep dark blue */
  --accent: #e67e22; /* Warm accent */
  --pet-primary: #27ae60;
  --pet-secondary: #219653;
  --deal-color: #e74c3c;
  --bestseller-color: #f39c12;
  --light: #ecf0f1;
  --dark: #171a1d;
  --success: #27ae60;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* All existing CSS styles from dog-food.html remain identical */
/* Breadcrumb Styles */
.breadcrumb-section {
  background-color: #f8f9fa;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  display: inline-block;
  padding: 0 0.5rem;
  color: #6c757d;
}

.breadcrumb-item a {
  color: var(--pet-primary);
  text-decoration: none;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.breadcrumb-item a:hover {
  color: var(--pet-secondary);
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #6c757d;
}

/* Header Styles */
header {
  background: #1a252f;
  color: white;
  padding: 1rem 0;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  cursor: pointer;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo:hover i {
  transform: rotate(15deg);
  color: var(--primary);
}

.logo i {
  font-size: 2rem;
  color: white;
  transition: all 0.3s ease;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.logo span {
  color: var(--primary);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 5px;
}

nav a:hover {
  color: var(--primary);
}

.mobile-menu {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://images.unsplash.com/photo-1630359649585-bdaa7433d10f?q=80&w=869&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 5rem 0;
  text-align: center;
  position: relative;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  background-color: var(--pet-primary);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background-color: var(--pet-secondary);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Main Content Layout with Sidebar */
.main-content {
  display: flex;
  gap: 30px;
  margin: 3rem auto;
  position: relative;
}

.content-area {
  flex: 1;
}

.sidebar {
  width: 350px;
  flex-shrink: 0;
}

.sticky-recent-posts {
  position: sticky;
  top: 70px;
  transition: all 0.3s ease;
}

/* Blog Post Content */
.blog-post-container {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.blog-post-header {
  padding: 2rem;
  border-bottom: 1px solid #eee;
}

.blog-post-category {
  display: inline-block;
  background-color: var(--pet-primary);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.blog-post-title {
  font-size: 2.2rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-post-meta {
  display: flex;
  gap: 20px;
  color: #888;
  font-size: 0.9rem;
}

.blog-post-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-post-content {
  padding: 2rem;
}

/* Collapsible Table of Contents Styles */
.toc-container {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 0;
  margin: 2rem 0;
  border-left: 4px solid var(--pet-primary);
  overflow: hidden;
  transition: all 0.3s ease;
}

.toc-header {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8f9fa;
  transition: background-color 0.3s;
}

.toc-header:hover {
  background-color: #e9ecef;
}

.toc-title {
  font-size: 1.3rem;
  color: var(--secondary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toc-title i {
  color: var(--pet-primary);
}

.toc-toggle {
  color: var(--pet-primary);
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.toc-container.active .toc-toggle {
  transform: rotate(180deg);
}

.toc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 25px;
}

.toc-container.active .toc-content {
  max-height: 1000px;
  padding: 0 25px 25px;
}

.toc-list {
  list-style-type: none;
  padding-left: 0;
}

.toc-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.toc-list li:before {
  content: "•";
  color: var(--pet-primary);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.toc-list a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.toc-list a:hover {
  color: var(--pet-primary);
  text-decoration: underline;
}

.toc-list a.active {
  color: var(--pet-primary);
  font-weight: bold;
}

.toc-sublist {
  list-style-type: none;
  padding-left: 20px;
  margin-top: 8px;
}

.toc-sublist li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.toc-sublist li:before {
  content: "-";
  color: var(--pet-primary);
}

.blog-post-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin: 2rem 0;
}

.blog-post-content h2 {
  font-size: 1.8rem;
  color: var(--secondary);
  margin: 2rem 0 1rem;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
}

.blog-post-content h3 {
  font-size: 1.4rem;
  color: var(--secondary);
  margin: 1.5rem 0 0.8rem;
}

.blog-post-content p {
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.blog-post-content ul,
.blog-post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.blog-post-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Product Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  box-shadow: var(--shadow);
  border-radius: 8px;
  overflow: hidden;
}

.comparison-table th {
  background-color: var(--pet-primary);
  color: white;
  padding: 15px;
  text-align: left;
  font-weight: 600;
}

.comparison-table td {
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.comparison-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.comparison-table tr:hover {
  background-color: #f0f7f4;
}

.rating-stars {
  color: #ffc107;
  margin-right: 5px;
}

.best-choice {
  background-color: #fff3cd !important;
  border-left: 4px solid #ffc107;
}

/* New styles for travel guide */
.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin: 2rem 0;
}

.ingredient-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  border: 1px solid #eee;
  padding: 20px;
}

.ingredient-card.good {
  border-top: 4px solid var(--pet-primary);
}

.ingredient-card.bad {
  border-top: 4px solid #e74c3c;
}

.ingredient-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.ingredient-header i.good {
  color: var(--pet-primary);
  font-size: 1.5rem;
}

.ingredient-header i.bad {
  color: #e74c3c;
  font-size: 1.5rem;
}

.ingredient-header h4 {
  font-size: 1.2rem;
  color: var(--secondary);
  margin: 0;
}

.tip-box {
  background-color: #f8f9fa;
  border-left: 4px solid var(--pet-primary);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
}

.tip-box h4 {
  color: var(--pet-primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.warning-box {
  background-color: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
}

.warning-box h4 {
  color: #856404;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-post-footer {
  padding: 2rem;
  border-top: 1px solid #eee;
  background-color: #f8f9fa;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.tag {
  background-color: #e9ecef;
  color: #495057;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
}

.author-bio {
  display: flex;
  gap: 15px;
  align-items: center;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--pet-primary);
}

.author-info h4 {
  margin-bottom: 5px;
  color: var(--secondary);
}

.author-info p {
  color: #666;
  font-size: 0.9rem;
}

/* Sidebar Styles */
.sidebar-widget {
  background: white;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}

.widget-title {
  font-size: 1.3rem;
  color: var(--secondary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
  display: flex;
  align-items: center;
  gap: 10px;
}

.widget-title i {
  color: var(--pet-primary);
}

/* Search Widget */
.search-form {
  display: flex;
  margin-bottom: 0;
}

.search-input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 30px 0 0 30px;
  font-size: 1rem;
  outline: none;
}

.search-input:focus {
  border-color: var(--pet-primary);
}

.search-button {
  background: var(--pet-primary);
  color: white;
  border: none;
  padding: 0 20px;
  border-radius: 0 30px 30px 0;
  cursor: pointer;
  transition: background 0.3s;
}

.search-button:hover {
  background: var(--pet-secondary);
}

/* About Widget */
.about-widget img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
  height: 200px;
  object-fit: cover;
}

img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.about-widget p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.about-read-more {
  display: inline-block;
  color: var(--pet-primary);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.about-read-more:hover {
  text-decoration: underline;
  transform: translateX(5px);
}

/* Recent Posts Widget */
.recent-posts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.recent-post-item {
  display: flex;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.recent-post-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.recent-post-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.recent-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.recent-post-item:hover .recent-post-img img {
  transform: scale(1.1);
}

.recent-post-content {
  flex: 1;
}

.recent-post-title {
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.recent-post-title a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.recent-post-title a:hover {
  color: var(--pet-primary);
}

.recent-post-date {
  font-size: 0.85rem;
  color: #888;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Google AdSense Ad Container */
.ad-container {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin: 25px 0;
  text-align: center;
  border: 1px dashed #ddd;
}

.ad-label {
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.ad-placeholder {
  background: #e9ecef;
  padding: 40px 20px;
  border-radius: 5px;
  color: #6c757d;
  font-size: 0.9rem;
}

a {
  color: #27ae60;
  text-decoration: none;
  transition: color 0.3s;
}

/* FAQ Section */
.faq-section {
  margin: 4rem 0;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.faq-title {
  font-size: 1.8rem;
  color: var(--secondary);
  margin-bottom: 2rem;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-title i {
  color: var(--pet-primary);
}

.faq-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.faq-item {
  background: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid #eee;
}

.faq-item.active {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-color: var(--pet-primary);
}

.faq-question {
  padding: 18px 20px;
  background: #f0f7f4;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  font-size: 1.1rem;
  color: var(--secondary);
  margin: 0;
  flex: 1;
}

.faq-toggle {
  color: var(--pet-primary);
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #fff;
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 500px;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.faq-answer a {
  color: var(--pet-primary);
  text-decoration: none;
  font-weight: 500;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* Recommended Products Section */
.products-section {
  margin: 4rem 0;
  width: 100%;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
  width: 100%;
}

.section-title {
  font-size: 1.8rem;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title i {
  color: var(--pet-primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 2rem;
}

.product-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-img img {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--pet-primary);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.product-info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-info h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--secondary);
  line-height: 1.4;
  flex-grow: 0;
}

.product-description {
  margin-bottom: 20px;
  color: #666;
  line-height: 1.6;
  flex-grow: 1;
  font-size: 0.9rem;
}

.product-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  color: var(--pet-primary);
  font-weight: 700;
  margin-bottom: 15px;
  flex-grow: 0;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #ffc107;
  margin-bottom: 15px;
}

.product-rating span {
  color: #666;
  font-size: 0.85rem;
}

.product-link {
  background-color: var(--pet-primary);
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 15px;
  border-radius: 5px;
  text-align: center;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.product-link:hover {
  background-color: var(--pet-secondary);
  transform: translateY(-2px);
}

/* IN-ARTICLE PRODUCT CARDS - UPDATED FOR 50% EACH */
.in-article-product {
  margin: 2.5rem 0;
  border-left: 4px solid var(--pet-primary);
  background: linear-gradient(135deg, #f8fff9 0%, #f0f7f4 100%);
  border-radius: 0 10px 10px 0;
  padding: 1.5rem;
}

.in-article-product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.in-article-product-title {
  font-size: 1.2rem;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.in-article-product-title i {
  color: var(--pet-primary);
}

.in-article-product-badge {
  background-color: var(--pet-primary);
  color: white;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* CHANGED: 50% image and 50% details */
.in-article-product-content {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 50% each */
  gap: 1.5rem;
  align-items: center;
}

.in-article-product-img {
  width: 100%;
  height: 250px; /* Increased height for better proportion */
  border-radius: 8px;
  overflow: hidden;
}

.in-article-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.in-article-product-img:hover img {
  transform: scale(1.1);
}

.in-article-product-details h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--secondary);
}

.in-article-product-rating {
  color: #ffc107;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.in-article-product-price {
  font-size: 1.2rem;
  color: var(--pet-primary);
  font-weight: 700;
  margin-bottom: 12px;
}

.in-article-product-link {
  display: inline-block;
  background-color: var(--pet-primary);
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.in-article-product-link:hover {
  background-color: var(--pet-secondary);
  transform: translateY(-2px);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 2rem;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
  text-align: center;
}

.footer-column h3:after {
  content: "";
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: var(--pet-primary);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
  text-align: center;
}

.footer-column a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: var(--pet-primary);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  justify-content: center;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s;
}

.social-links a:hover {
  background-color: white;
  transform: translateY(-5px);
}

.social-links a:hover i {
  color: #27ae60;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #bbb;
  font-size: 0.9rem;
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--pet-primary);
  color: white;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  z-index: 1000;
}

.scroll-to-top:hover {
  background-color: var(--pet-secondary);
  transform: translateY(-3px);
}

/* Image credit styles */
.image-credit {
  text-align: right;
  font-size: 0.8rem;
  color: #888;
  margin-top: -1.5rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.hero-credit {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  background-color: rgba(0, 0, 0, 0.3);
  padding: 3px 8px;
  border-radius: 3px;
  z-index: 1;
}

.product-image-credit {
  position: absolute;
  bottom: 5px;
  right: 5px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2px 5px;
  border-radius: 3px;
}

.author-credit {
  text-align: center;
  font-size: 0.7rem;
  color: #888;
  margin-top: 5px;
}

/* Transition travel section */
.transition-timeline {
  position: relative;
  padding-left: 30px;
  margin: 2rem 0;
}

.transition-timeline:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--pet-primary);
}

.timeline-step {
  position: relative;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
}

.timeline-step:before {
  content: "";
  position: absolute;
  left: -36px;
  top: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--pet-primary);
}

.timeline-step:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.timeline-day {
  display: inline-block;
  background: var(--pet-primary);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Responsive Design - IMPROVED */
@media (max-width: 1100px) {
  .main-content {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .sticky-recent-posts {
    position: relative;
    top: 0;
  }
}

@media (max-width: 992px) {
  .hero h2 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
    padding: 0 15px;
  }

  .blog-post-title {
    font-size: 2rem;
  }

  .faq-container {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #1a252f;
    padding: 1rem;
    box-shadow: var(--shadow);
    z-index: 100;
  }

  nav ul.show {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero h2 {
    font-size: 1.8rem;
    padding: 0 15px;
  }

  .hero p {
    font-size: 1rem;
  }

  .blog-post-title {
    font-size: 1.6rem;
  }

  .blog-post-content {
    padding: 1.5rem;
  }

  .blog-post-image {
    height: 250px;
    margin: 1.5rem 0;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
    font-size: 0.9rem;
  }

  .ingredient-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* IN-ARTICLE PRODUCT RESPONSIVE - UPDATED */
  .in-article-product-content {
    grid-template-columns: 1fr; /* Stack on mobile */
    gap: 1rem;
  }

  .in-article-product-img {
    height: 200px;
    width: 100%;
  }

  .in-article-product {
    padding: 1.2rem;
    margin: 2rem 0;
  }

  .faq-section {
    padding: 1.5rem;
    margin: 3rem 0;
  }

  .faq-title {
    font-size: 1.5rem;
  }

  .transition-timeline {
    padding-left: 20px;
    margin: 1.5rem 0;
  }

  .timeline-step:before {
    left: -26px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 10px;
  }

  .hero {
    padding: 2.5rem 0;
  }

  .hero h2 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }

  .blog-post-header {
    padding: 1.5rem;
  }

  .blog-post-title {
    font-size: 1.4rem;
  }

  .blog-post-category {
    font-size: 0.75rem;
  }

  .blog-post-meta {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .product-card {
    margin-bottom: 0;
  }

  .faq-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .faq-question h3 {
    font-size: 1rem;
  }

  .comparison-table {
    font-size: 0.85rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 8px;
  }

  .in-article-product {
    padding: 1rem;
    margin: 1.5rem 0;
  }

  .in-article-product-title {
    font-size: 1.1rem;
  }

  .in-article-product-img {
    height: 180px;
  }

  .sidebar-widget {
    padding: 20px;
  }

  .widget-title {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .scroll-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
    font-size: 1rem;
  }

  .toc-header {
    padding: 15px 20px;
  }

  .toc-title {
    font-size: 1.1rem;
  }

  .tip-box,
  .warning-box {
    padding: 1.2rem;
    margin: 1.2rem 0;
  }
}

@media (max-width: 400px) {
  .logo h1 {
    font-size: 1.3rem;
  }

  .hero h2 {
    font-size: 1.4rem;
  }

  .blog-post-title {
    font-size: 1.3rem;
  }

  .blog-post-content h2 {
    font-size: 1.4rem;
  }

  .blog-post-content h3 {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .in-article-product-title {
    font-size: 1rem;
  }

  .in-article-product-details h4 {
    font-size: 1rem;
  }

  .author-bio {
    flex-direction: column;
    text-align: center;
  }

  .author-avatar {
    width: 70px;
    height: 70px;
  }
}
