/* --- RESET & GLOBALS --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #f5f3f0;
  color: #333;
  line-height: 1.6;
}

/* --- HEADER & NAVIGATION --- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #f5f3f0;
  border-bottom: 1px solid #e0e0e0;
}

.logo {
  font-size: 18px;
  font-weight: 400;
  color: #000;
  text-decoration: none;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-size: 22px;
  transition: opacity 0.3s;
}

nav a:hover,
nav a.active-nav-link {
  opacity: 0.7;
  font-weight: 500;
}

/* --- HERO SECTION --- */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 80px;
  gap: 60px;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  font-size: 72px;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 30px;
  letter-spacing: -2px;
}

.hero-image {
  flex: 1;
  max-width: 600px;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background-color: transparent;
  border: 1px solid #000;
  color: #000;
  text-decoration: none;
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.3s;
  cursor: pointer;
}

.btn:hover {
  background-color: #000;
  color: #fff;
}

/* --- GENERAL SECTIONS --- */
.section {
  padding: 80px 80px;
  text-align: center;
}

.section-title {
  font-size: 48px;
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.section-subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- FEATURE CARDS (HOME) --- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.feature-card {
  text-align: left;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: #000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 15px;
}

.feature-card p {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
}

.feature-card a {
  color: #000;
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* --- ABOUT SECTION (HOME) --- */
.about {
  background: #fff;
  padding: 80px;
  margin: 80px;
  border-radius: 8px;
  text-align: center;
}

.about h2 {
  font-size: 56px;
  font-weight: 400;
  margin-bottom: 30px;
}

.about p {
  font-size: 16px;
  color: #666;
  max-width: 800px;
  margin: 0 auto 20px;
}

.about .btn {
  margin-top: 30px;
}

/* --- BLOG PAGE --- */
.blog-header {
  text-align: center;
  padding: 80px 80px 40px;
}

.blog-header h1 {
  font-size: 56px;
  font-weight: 400;
  margin-bottom: 20px;
}

.search-box {
  max-width: 400px;
  margin: 40px auto;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 12px 40px 12px 40px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 40px 80px 80px;
}

.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background-color: #eee;
}

.blog-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  gap: 15px;
  font-size: 12px;
  color: #999;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.blog-card h3 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 15px;
  line-height: 1.4;
}

.blog-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-card a {
  color: #000;
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

/* --- RESOURCES PAGE --- */
.resources-header {
  text-align: center;
  padding: 80px 80px 40px;
}

.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px 0;
}

.filter-bar input {
  flex: 1;
  min-width: 200px;
  max-width: 400px;
  padding: 12px 40px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.filter-bar select {
  padding: 12px 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  background: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 40px 80px 80px;
}

.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: #eee;
}

.product-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 10px;
  gap: 10px;
}

.product-card h3 {
  font-size: 16px;
  font-weight: 400;
  flex: 1;
}

.product-tag {
  background: #f0f0f0;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  color: #666;
  white-space: nowrap;
}

.product-author {
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
}

.product-card p {
  font-size: 13px;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
  flex-grow: 1;
}

.product-btn {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  background: transparent;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: #000;
  margin-top: auto;
}

.product-btn:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

/* --- CONTACT PAGE --- */
.contact-hero {
  text-align: center;
  padding: 80px 80px 60px;
}

.contact-hero h1 {
  font-size: 56px;
  font-weight: 400;
  margin-bottom: 20px;
}

.contact-hero p {
  font-size: 16px;
  color: #666;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 40px 80px 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-form-section h2,
.contact-methods h2 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 15px;
}

.contact-form-section p,
.contact-methods p {
  color: #666;
  margin-bottom: 30px;
}

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
}

.contact-form h3 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 10px;
}

.contact-form > p {
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  background-color: #fff;
  -webkit-appearance: none;
  appearance: none;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.submit-btn:hover {
  opacity: 0.8;
}

.submit-btn.loading {
  opacity: 0.7;
  cursor: wait;
}

.contact-method {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.method-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.method-icon {
  width: 40px;
  height: 40px;
  background: #000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.contact-method h3 {
  font-size: 20px;
  font-weight: 400;
}

.contact-method p {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.contact-method a {
  color: #000;
  text-decoration: none;
  font-size: 14px;
  word-break: break-all;
}

/* --- FOOTER --- */
footer {
  background: #000;
  color: #fff;
  padding: 60px 80px 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 15px;
}

.footer-section p {
  font-size: 14px;
  color: #999;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section a {
  color: #999;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #333;
  font-size: 13px;
  color: #666;
}

.wix-badge {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 100;
}

/* --- ADMIN PAGE STYLES --- */
.admin-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 80px 80px;
}

.admin-header {
  text-align: center;
  padding: 60px 80px 40px;
}

.admin-header h1 {
  font-size: 48px;
  font-weight: 400;
  margin-bottom: 15px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.stat-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 48px;
  font-weight: 400;
  margin-bottom: 10px;
  color: #000;
}

.stat-label {
  font-size: 14px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.auth-notice {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 50px;
  border: 2px solid #f0f0f0;
}

.auth-icon {
  width: 60px;
  height: 60px;
  background: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
  flex-shrink: 0;
}

.auth-notice h3 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 15px;
}

.auth-notice p {
  font-size: 14px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.admin-section {
  margin-bottom: 60px;
}

.admin-section-title {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #ddd;
}

.admin-form {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.admin-form h3 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.form-section {
  margin-bottom: 35px;
  padding-bottom: 35px;
  border-bottom: 1px solid #f0f0f0;
}

.form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.form-section-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.items-list {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  min-height: 100px;
}

.items-list h3 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  transition: all 0.3s;
  background: #fafafa;
}

.item-row:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transform: translateX(5px);
}

.item-info {
  flex: 1;
  margin-right: 20px;
}

.item-info h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #000;
}

.item-info p {
  font-size: 13px;
  color: #999;
  margin: 0;
}

.item-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

.edit-btn, 
.delete-btn {
  padding: 10px 20px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 4px;
  font-size: 13px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s;
  display: inline-block;
  cursor: pointer;
}

.edit-btn:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

.delete-btn {
  border-color: #ff4444;
  color: #ff4444;
}

.delete-btn:hover {
  background: #ff4444;
  color: #fff;
}

/* --- BLOG POST PAGE (post.html) --- */
.blog-post-container {
  max-width: 800px; /* Centered content area */
  margin: 40px auto;
  padding: 20px 40px; /* Added horizontal padding for mobile */
}
.post-title {
  font-size: 2.8rem; /* 44px */
  font-weight: 700;
  color: #333;
  line-height: 1.2;
  margin-bottom: 15px;
}
.post-meta {
  font-size: 0.9rem; /* 14px */
  color: #777;
  margin-bottom: 30px;
}
.post-meta span {
  margin-right: 15px;
}
.post-header-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
  object-fit: cover;
  max-height: 450px;
  background-color: #eee;
}
.post-content {
  font-size: 1.1rem; /* 18px */
  line-height: 1.7;
  color: #444;
}
.post-content h2 {
  font-size: 1.8rem; /* 28px */
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 15px;
}
.post-content h3 {
  font-size: 1.4rem; /* 22px */
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 10px;
}
.post-content p {
  margin-bottom: 20px;
}
.post-content ul, .post-content ol {
  margin-left: 20px;
  margin-bottom: 20px;
  padding-left: 1.2em;
}
 .post-content li {
  margin-bottom: 10px;
}
.post-content a {
  color: #000;
  text-decoration: underline;
}
.post-content blockquote {
  border-left: 4px solid #ddd;
  padding-left: 20px;
  margin: 20px 0;
  font-style: italic;
  color: #666;
}
.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: #555;
  text-decoration: none;
  font-weight: 500;
}
.back-link:hover {
  color: #000;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .blog-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .admin-container {
    padding: 40px 40px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .item-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .item-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  header {
    padding: 20px 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  nav ul {
    gap: 20px;
    flex-direction: column;
    width: 100%;
  }
  
  /* Mobile nav toggling */
  nav {
    display: none;
    width: 100%;
  }
  nav.nav-active {
    display: block;
  }
  .mobile-menu-btn {
    display: block;
    position: absolute;
    top: 25px;
    right: 40px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
  }

  .hero {
    flex-direction: column;
    padding: 40px 40px;
  }
  
  .hero h1 {
    font-size: 48px;
  }
  
  .section, .about {
    padding: 60px 40px;
    margin: 40px 0;
  }
  
  .blog-grid,
  .product-grid,
  .features {
    grid-template-columns: 1fr;
    padding: 40px 40px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    margin-bottom: 0;
  }
  
  footer {
    padding: 40px 40px 20px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .admin-header {
    padding: 40px 40px 30px;
  }
  
  .admin-header h1 {
    font-size: 36px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .admin-form,
  .items-list {
    padding: 30px 20px;
  }
  
  .admin-section-title {
    font-size: 24px;
  }
  
  .blog-post-container {
    padding: 20px 20px; /* Tighter padding on mobile */
  }
  .post-title {
    font-size: 2.2rem; /* Smaller title */
  }
  .post-content {
    font-size: 1rem; /* Smaller text */
  }
}

/* --- NEW HELPER CLASSES (Notifications, Modals, Skeletons) --- */

/* Notifications */
.notification {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 100px);
  background-color: #333;
  color: #fff;
  padding: 14px 24px;
  border-radius: 4px;
  font-size: 14px;
  z-index: 1001;
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.notification.show {
  transform: translate(-50%, 0);
}
.notification.notification-success {
  background-color: #4CAF50;
}
.notification.notification-error {
  background-color: #ff4444;
}

/* Success Message (Contact) */
.success-message {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.success-message.show {
  opacity: 1;
  visibility: visible;
}
.success-content {
  background: #fff;
  padding: 40px 50px;
  border-radius: 8px;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s;
}
.success-message.show .success-content {
  transform: scale(1);
}
.success-icon {
  width: 60px;
  height: 60px;
  background: #4CAF50;
  color: #fff;
  font-size: 36px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.success-content h3 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 10px;
}
.success-content p {
  font-size: 14px;
  color: #666;
}

/* Form Errors */
.form-group input.error,
.form-group textarea.error {
  border-color: #ff4444;
}
.error-message {
  font-size: 12px;
  color: #ff4444;
  margin-top: 5px;
}
.char-count {
  font-size: 12px;
  color: #999;
  text-align: right;
  margin-top: 5px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  opacity: 0.8;
}
/* Move wix badge */
.wix-badge {
  right: 70px;
}

/* Login Modal */
.login-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.login-modal.show {
  opacity: 1;
  visibility: visible;
}
.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
}
.modal-content {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  width: 90%;
  max-width: 450px;
  position: relative;
  z-index: 1001;
  transform: scale(0.95);
  transition: transform 0.3s;
}
.login-modal.show .modal-content {
  transform: scale(1);
}
.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}
.modal-body h2 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 10px;
  text-align: center;
}
.modal-body p {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
}

/* --- LOADING SKELETONS --- */
@keyframes skeleton-pulse {
  0% { background-color: #eee; }
  50% { background-color: #e0e0e0; }
  100% { background-color: #eee; }
}

.loading-container {
  display: contents; /* Allows grid layout to apply to children */
}

/* Common Skeleton Card */
.skeleton-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.skeleton-image {
  width: 100%;
  height: 250px;
  animation: skeleton-pulse 1.5s infinite ease-in-out;
}
.skeleton-content {
  padding: 25px;
}
.skeleton-meta {
  width: 60%;
  height: 12px;
  margin-bottom: 15px;
  animation: skeleton-pulse 1.5s infinite ease-in-out;
}
.skeleton-title {
  width: 80%;
  height: 20px;
  margin-bottom: 15px;
  animation: skeleton-pulse 1.5s infinite ease-in-out;
}
.skeleton-text {
  width: 100%;
  height: 14px;
  margin-bottom: 10px;
  animation: skeleton-pulse 1.5s infinite ease-in-out;
}
.skeleton-text.short {
  width: 70%;
}
.skeleton-link {
  width: 30%;
  height: 16px;
  margin-top: 20px;
  animation: skeleton-pulse 1.5s infinite ease-in-out;
}

/* Product Skeleton Adjustments */
.skeleton-card.product .skeleton-image {
  height: 200px;
}
.skeleton-card.product .skeleton-title.short {
  width: 70%;
  height: 16px;
}
.skeleton-card.product .skeleton-text.short {
  width: 40%;
  height: 12px;
}
.skeleton-card.product .skeleton-link.product-btn {
  width: 100%;
  height: 40px;
  margin-top: 15px;
  border-radius: 4px;
}

/* Blog Post Skeleton (post.html) */
.post-loading-skeleton .skeleton-title {
  height: 40px;
  width: 70%;
  margin-bottom: 20px;
}
.post-loading-skeleton .skeleton-meta {
  height: 14px;
  width: 40%;
  margin-bottom: 30px;
}
.post-loading-skeleton .skeleton-image {
  height: 400px;
  margin-bottom: 30px;
  border-radius: 8px;
}
.post-loading-skeleton .skeleton-text {
  margin-bottom: 15px;
}

.no-results-message {
  padding: 40px;
  text-align: center;
  color: #666;
  font-size: 16px;
  grid-column: 1 / -1; /* Span full grid width */
}

/* =========================================
   Legal & Content Page Styles
   ========================================= */

.content-page {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px 40px 40px 40px; /* More padding on bottom */
  background-color: #fff;
  border-radius: 8px;
  line-height: 1.7;
  border: 1px solid #eee;
}
.content-page h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #000;
}
.content-page h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #000;
}
.content-page p, .content-page ul {
  margin-bottom: 20px;
  color: #444;
  font-size: 1.05rem;
}
.content-page ul {
  list-style-position: outside;
  margin-left: 20px;
}
.content-page em {
  color: #777;
  font-style: italic;
}
.content-page a {
  color: #000;
  font-weight: 500;
  text-decoration: underline;
}

/* =========================================
   Affiliate Disclaimer Box
   ========================================= */

.affiliate-disclaimer-box {
  max-width: 90%;
  margin: 20px auto 40px auto;
  padding: 20px;
  background-color: #fdfdfd;
  border: 1px solid #eee;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}
.affiliate-disclaimer-box strong {
  color: #333;
}
.disclaimer-link {
  font-weight: 600;
  color: #000;
  text-decoration: underline;
  white-space: nowrap; /* Prevents link from breaking awkwardly */
}

/* =========================================
   Footer Link Styles
   ========================================= */
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-section ul li {
  margin-bottom: 12px;
}
.footer-section ul li:last-child {
  margin-bottom: 0;
}

/* =========================================
   Logo Styling
   ========================================= */
.logo {
  font-size: 0; /* Removes any text-related styling */
}

.logo img {
  height: 100px; /* You can change this number to make your logo bigger or smaller */
  width: auto;
  display: block;
}