@media (max-width: 768px) {
    .logo div {
		font-size: 1.4em;
	}
    .article-hero h1 {
    font-size: 36px;
    }
    .breadcrumb{
        font-size:.8em;
    }
    .breadcrumb i{
        font-size:.8em;
    }
  .article-content h2 {
    font-size: 28px;
  }
  .article-content h3 {
    font-size: 24px;
  }
  .article-intro {
    font-size: 18px;
    padding: 25px 20px;
  }
  .article-meta {
	  gap:0.5em;
  }
  .toc {
	  padding: 1em;
  }
  .tip-item {
	  display:grid;
  }
  .tip-icon {
	  margin:0 auto;
  }
  .tip-text h4 {
	  text-align:center;
  }
  
  /*brand comparison table styles*/
   .brand-headers {
		grid-template-columns: 1fr 1fr;
		gap: 10px;
		margin-bottom: 30px;
	}

	.spacer {
		display: none;
	}

	.brand-header {
		background: #1a202c;
		padding: 20px 15px;
	}

	.brand-header h3 {
		font-size: 18px;
		margin:0;
		color:#fff;
	}

	.brand-header .tagline {
		font-size: 12px;
	}

	.comparison-row {
		grid-template-columns: 1fr;
		gap: 0;
		margin-bottom: 30px;
		background: white;
		border-radius: 12px;
		overflow: hidden;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	}

	.feature-label {
		background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
		color: white;
		font-size: 18px;
		padding: 20px;
		text-align: center;
		justify-content: center;
		border-radius: 0;
		box-shadow: none;
		margin-bottom: 0;
	}

	.brand-cell::before {
		display: none;
	}

	.brand-cell {
		padding: 20px;
		border-radius: 0;
		box-shadow: none;
		border-left: 5px solid #667eea;
		position: relative;
	}

	.brand-cell:hover {
		transform: none;
	}

	.brand-cell:first-of-type {
		border-top: 2px solid #f7fafc;
	}

	.brand-cell:nth-of-type(2) {
		border-left-color: #667eea;
	}

	.brand-cell:nth-of-type(3) {
		border-left-color: #764ba2;
	}

	.brand-cell .brand-name {
		display: inline-block;
		font-weight: 700;
		color: #1a202c;
		margin-bottom: 8px;
		font-size: 14px;
		text-transform: uppercase;
		letter-spacing: 0.5px;
		margin-right: 5px;
	}

	.brand-cell:nth-of-type(2) .brand-name {
		color: #667eea;
	}

	.brand-cell:nth-of-type(2) .brand-name::before {
		content: '🔵 ';
	}

	.brand-cell:nth-of-type(3) .brand-name {
		color: #764ba2;
	}

	.brand-cell:nth-of-type(3) .brand-name::before {
		content: '🟣 ';
	}

	.comparison-header h2 {
		font-size: 24px;
	}

	.comparison-header p {
		font-size: 16px;
	}
	
	/*General table comparison*/
	    .table-wrapper {
        position: relative;
        margin: 20px 0;
    }
    
    /* Scroll Indicator */
    .table-wrapper::after {
        content: "→ Swipe to see more";
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 5px 10px;
        border-radius: 4px;
        font-size: 12px;
        pointer-events: none;
        opacity: 1;
        transition: opacity 0.3s;
    }
    
    .table-wrapper.scrolled::after {
        opacity: 0;
    }
    
    .comparison-table {
        margin: 0;
        min-width: 600px; /* Minimum width to ensure readability */
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 12px;
        font-size: 14px;
        white-space: nowrap;
    }
  
}

@media (max-width: 768px) {
  .top-bar-right {
    display: none;
  }
  .header-content {
    padding: 15px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
  }
  .logo {
    flex: 0 1 auto;
    order: 1;
  }
  .mobile-menu-toggle {
    order: 2;
    margin-left: auto;
    flex: 0 0 auto;
  }
  .search-bar {
    flex: 1 1 100%;
    order: 3;
    width: 100%;
    max-width: 100%;
    margin-top: 15px;
  }
  .logo h1 {
    font-size: 20px;
  }
  .hero-section {
    padding: 40px 0;
  }
  .hero-text h2 {
    font-size: 28px;
  }
  .hero-stats {
    gap: 25px;
  }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .stat-item {
    padding: 15px;
  }
  .stat-item i {
    font-size: 24px;
  }
  .stat-number {
    font-size: 28px;
  }
  .stat-label {
    font-size: 12px;
  }
  .deals-main-header h2 {
    font-size: 24px;
  }
  .last-update {
    font-size: 14px;
    width: 100%;
  }
  .click-here-link{
	  padding: 8px 16px;
	  margin:0;
  }
  .deal-content-section {
    padding: 20px;
  }
  .deal-story h2 {
    font-size: 22px;
  }
  .cta-section {
    flex-direction: column;
    align-items: stretch;
  }
  .shop-link {
    text-align: center;
  }
  .newsletter-content {
    flex-direction: column;
    text-align: center;
  }
  .newsletter-form {
    flex-direction: column;
    max-width: 100%;
  }
  .newsletter-form button,
  .newsletter-form input {
    width: 100%;
  }
  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 768px) {
  .intro-section {
    padding: 50px 0;
  }
  .intro-header h2 {
    font-size: 28px;
  }
  .intro-content {
    padding: 30px 25px;
  }
  .intro-content p {
    font-size: 16px;
    line-height: 1.7;
  }
  .intro-cta p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .about-tory-section,
  .categories-section,
  .faq-section,
  .how-it-works-section,
  .other-programs-section {
    padding: 50px 0;
  }
  .section-header h2 {
    font-size: 28px;
  }
  .section-header p {
    font-size: 16px;
  }
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .categories-cta {
    padding: 25px 30px;
  }
  .categories-cta p {
    font-size: 16px;
  }
  .faq-question {
    font-size: 16px;
    padding: 20px 25px;
  }
  .faq-answer p {
    padding: 0 25px 20px;
    font-size: 15px;
  }
  .about-tory-text h2 {
    font-size: 32px;
  }
  .about-tory-text p {
    font-size: 16px;
  }
  .tory-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .programs-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}


@media (max-width: 768px) {
  .article-content .container {    
      padding:0;
  }
  .deals-section .container{
      padding:0;
  }
  .deals-section {
    margin: 2em 20px;
    }
  .header h1 {
    font-size: 2em;
  }
  .brand-name-link {
    font-size: 1.5em;
  }
  .brand-banner {
    height: 250px;
  }
  .brand-logo {
    width: 100px;
    height: 80px;
  }
  .intro-text {
    font-size: 1.1em;
  }
  .category-stats {
	  gap:30px;
  }
  .post-content{
	  grid-template-columns: 1fr;
  }
 
}

@media (max-width: 400px) {
   .category-stats {
      font-size: 0.8em;
   }

}

@media (max-width: 480px) {
  .logo div {
	font-size: 1.1em;
  }
  .intro-section {
    padding: 40px 0;
  }
  .hero-text h1 {
      font-size:2em;
  }
  .category-stats {
      gap:25px !important;
  }
  .category-stat-number {
      font-size:1.6em;
  }  
  .intro-header h2 {
    font-size: 24px;
  }
  .intro-label {
    font-size: 12px;
    padding: 6px 16px;
  }
  .intro-content {
    padding: 25px 20px;
  }
  .intro-content p {
    font-size: 15px;
    margin-bottom: 18px;
  }
  .intro-cta {
    padding: 18px 20px;
  }
  .intro-cta p {
    font-size: 15px;
  }
  .trust-badge {
    padding: 20px 15px;
  }
	.post-meta {
		display: block;
		gap: 0em;
	}
	.brand-cell {
		padding: 15px;
	}
	
	.comparison-table {
	min-width: 550px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 8px 10px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
  .section-header h2 {
    font-size: 24px;
  }
  .section-header p {
    font-size: 15px;
  }
  .category-card {
    padding: 25px 20px;
  }
  .category-card h3 {
    font-size: 20px;
  }
  .categories-cta {
    padding: 20px 25px;
  }
  .about-tory-text h2 {
    font-size: 28px;
  }
  .program-content {
    padding: 20px;
  }
  .program-content h3 a {
    font-size: 20px;
  }
}

@media (max-width: 364px) {
  .header-content {
    padding: 12px 0;
    gap: 0;
  }
  .logo h1 {
    font-size: 16px;
    line-height: 1.2;
  }
  .mobile-menu-toggle {
    font-size: 20px;
    padding: 8px;
  }
  .search-bar {
    margin-top: 12px;
  }
  .search-bar input {
    padding: 10px 12px;
    font-size: 13px;
  }
  .search-bar button {
    padding: 10px 16px;
  }
}

@media (max-width: 992px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .programs-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .about-tory-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-tory-image {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .deal-story {
    grid-template-columns: 1fr;
  }
  .deal-image {
    height: 350px;
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 0px;
  }
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 1200px) {
  .about-tory-content {
    grid-template-columns: 350px 1fr;
    gap: 40px;
  }
}
