/* 
 * Shared Layout Styles
 * Used across FAQ, Article, and Glossary pages for consistent two-column layout
 */

/* ==========================================================================
   MAIN CONTAINER & LAYOUT
   ========================================================================== */

.faq-detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

/* ==========================================================================
   MAIN CONTENT AREA
   ========================================================================== */

.faq-main {
  background: #fff;
  border-radius: 8px;
  padding: 0;
}

/* Regular H1 styling for detail pages */
.faq-main h1 {
  margin: 0 0 30px 0;
  padding: 0;
  font-size: 2.3rem;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
}

/* Article/FAQ Content */
.faq-card-content {
  padding: 0;
  background: none;
  box-shadow: none;
  font-size: 1.08rem;
  color: #333;
  line-height: 1.7;
}

/* Enhanced article content formatting */
.faq-card-content h1,
.faq-card-content h2,
.faq-card-content h3,
.faq-card-content h4,
.faq-card-content h5,
.faq-card-content h6 {
  margin-top: 1.8em;
  margin-bottom: 0.8em;
  color: #2c5aa0;
  font-weight: 600;
  line-height: 1.3;
}

.faq-card-content h1 {
  font-size: 1.8em;
  border-bottom: 3px solid #2c5aa0;
  padding-bottom: 0.3em;
}

.faq-card-content h2 {
  font-size: 1.5em;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 0.2em;
}

.faq-card-content h3 {
  font-size: 1.3em;
}

.faq-card-content h4 {
  font-size: 1.1em;
  color: #186396;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 0.15em;
}

.faq-card-content p {
  margin-bottom: 1.2em;
  line-height: 1.7;
}

.faq-card-content ul,
.faq-card-content ol {
  margin: 1.2em 0;
  padding-left: 1.8em;
}

.faq-card-content li {
  margin-bottom: 0.6em;
  line-height: 1.6;
}

.faq-card-content strong {
  color: #2c5aa0;
  font-weight: 600;
}

.faq-card-content a {
  color: #186396;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.faq-card-content a:hover {
  color: #2c5aa0;
  text-decoration-thickness: 2px;
}

/* Content sub-headings (converted from bold text) */
.content-subheading {
  font-size: 1.1em;
  font-weight: 600;
  color: #2c5aa0;
  margin: 1.8em 0 0.8em 0;
  padding-bottom: 0.25em;
  border-bottom: 2px solid #e0e0e0;
  background: linear-gradient(90deg, #f8f9fa 0%, transparent 100%);
  padding: 0.5em 0.8em;
  border-radius: 4px;
  margin-left: -0.8em;
  margin-right: -0.8em;
}

/* Article body content formatting */
.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
  margin-top: 1.8em;
  margin-bottom: 0.8em;
  color: #333;
  font-weight: 600;
  line-height: 1.3;
}

.article-body h1 {
  font-size: 1.8em;
  border-bottom: 3px solid #333;
  padding-bottom: 0.3em;
}

.article-body h2 {
  font-size: 1.5em;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 0.2em;
}

.article-body h3 {
  font-size: 1.3em;
}

.article-body h4 {
  font-size: 1.1em;
  color: #333;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 0.15em;
}

.article-body p {
  margin-bottom: 1.2em;
  line-height: 1.7;
}

.article-body ul,
.article-body ol {
  margin: 1.2em 0;
  padding-left: 1.8em;
}

.article-body ul {
  list-style-type: disc;
}

.article-body ol {
  list-style-type: decimal;
}

.article-body li {
  margin-bottom: 0.6em;
  line-height: 1.6;
  list-style-position: outside;
  list-style-type: disc !important;
}

.article-body strong {
  color: #333;
  font-weight: 600;
}

.article-body a {
  color: #186396;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.article-body a:hover {
  color: #2c5aa0;
  text-decoration-thickness: 2px;
}

/* ==========================================================================
   FULL WIDTH SECTIONS
   ========================================================================== */

/* Full width sections that break out of the grid layout */
.full-width-section {
  grid-column: 1 / -1; /* Span all columns */
  width: 100%;
  margin: 30px 0;
  padding: 0;
  background: none;
}

.full-width-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Related Products and Parts sections */
.related-products-section,
.related-parts-section {
  background: none;
}

.related-products-section .section-header,
.related-parts-section .section-header {
  text-align: left;
  margin-bottom: 20px;
}

.related-products-section .section-header h2,
.related-parts-section .section-header h2 {
  color: #333 !important; /* Normal color, not blue */
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 10px 0;
  padding: 0;
  border: none;
  background: none;
}

.related-products-section .section-header p,
.related-parts-section .section-header p {
  color: #666;
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.5;
}

/* Carousel container styling */
.related-products-section .swiper-container,
.related-parts-section .swiper-container {
  margin: 0;
  padding: 0;
}

/* Navigation buttons - limit width to 33% max */
.related-products-section .swiper-button-next,
.related-products-section .swiper-button-prev,
.related-parts-section .swiper-button-next,
.related-parts-section .swiper-button-prev {
  max-width: 33%;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.related-products-section .swiper-button-next:after,
.related-products-section .swiper-button-prev:after,
.related-parts-section .swiper-button-next:after,
.related-parts-section .swiper-button-prev:after {
  font-size: 18px;
  color: #333;
  font-weight: bold;
}

/* ==========================================================================
   ARTICLE META & AUTHOR STYLING
   ========================================================================== */

.article-meta {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}

.article-meta-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.article-date {
  color: #666;
  font-size: 0.9rem;
}

.article-topics {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 15px;
  width: 100%;
}

.article-author {
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.author-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-placeholder i {
  color: #666;
}

.author-label {
  display: block;
  font-size: 0.8rem;
  color: #666;
}

.author-name {
  color: #186396;
  text-decoration: none;
  font-weight: 500;
}

/* ==========================================================================
   FEATURED IMAGES & MEDIA
   ========================================================================== */

.article-featured-image {
  margin-bottom: 30px;
}

.article-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.blog-detail-image {
  margin-bottom: 30px;
}

/* ==========================================================================
   BLOG POST STYLING
   ========================================================================== */

.blog-data {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}

.blog-author {
  margin-top: 10px;
}

.blog-author .author-img img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.blog-author .details {
  margin-left: 12px;
}

.blog-author .h3 {
  font-size: 0.9rem;
  color: #666;
}

/* ==========================================================================
   FAQ CARD GRID & CARDS (FAQ Landing Page)
   ========================================================================== */

.faq-card-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}

.faq-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(24,99,150,0.07);
  padding: 24px 28px;
  text-decoration: none;
  color: inherit;
  min-height: 140px;
  gap: 32px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
  margin-bottom: 28px;
  border: 1px solid #e0e0e0;
}

.faq-card:last-child {
  margin-bottom: 0;
}

.faq-card:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transform: translateY(-3px);
  z-index: 2;
}

.faq-card-image {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  background-color: #f7fafd;
  flex-shrink: 0;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #186396;
  margin: 0 0 2px 0;
  line-height: 1.3;
}

.faq-card-title a {
  color: #186396;
  text-decoration: none;
  transition: text-decoration 0.18s;
}

.faq-card-title a:hover, 
.faq-card-title a:focus {
  color: #186396;
  text-decoration: underline;
  outline: none;
}

.faq-card-excerpt {
  font-size: 1.02rem;
  color: #444;
  opacity: 0.92;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
   SIDEBAR STYLING
   ========================================================================== */

.faq-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.other-faqs {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sidebar-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 35px 0;
  padding-bottom: 15px;
  border-bottom: 2px solid #186396;
}

.other-faqs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.other-faq-item {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5e5e5;
}

.other-faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.other-faq-item a {
  text-decoration: none;
  color: #186396;
  font-weight: 500 !important;
  transition: text-decoration 0.18s;
}

.other-faq-item a:hover, 
.other-faq-item a:focus {
  color: #186396;
  text-decoration: underline;
  outline: none;
}

.faq-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
}

.view-all-faq-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #fff;
  color: #186396;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  border: 2px solid #186396;
  transition: all 0.3s ease;
}

.view-all-faq-btn:hover {
  background: #186396;
  color: #fff;
  transform: translateY(-1px);
}

.related-article-date {
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-top: 4px;
}

/* ==========================================================================
   NAVIGATION BUTTONS
   ========================================================================== */

.article-navigation {
  display: flex;
  gap: 15px;
}

.nav-previous,
.nav-next {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  flex: 1;
}

.nav-previous:hover,
.nav-next:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.nav-previous a,
.nav-next a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  height: 100%;
}

.nav-previous a {
  flex-direction: row;
}

.nav-next a {
  flex-direction: row;
  justify-content: space-between;
}

.nav-arrow {
  font-size: 1.2rem;
  color: #186396;
}

.nav-texts {
  flex: 1;
}

.nav-subtitle {
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-title {
  display: block;
  font-weight: 600;
  color: #186396;
  font-size: 1rem;
  line-height: 1.3;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.other-faqs-margin-top {
  margin-top: 32px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
  .faq-detail-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .faq-sidebar {
    order: -1;
  }
  
  .faq-list {
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .faq-card-title {
    font-size: 1.05rem;
  }
  
  .faq-card-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
  }
  
  .other-faqs {
    padding: 20px;
  }

  .faq-detail-layout {
      display: flex;
      flex-direction: column;
  }
  
  .faq-main {
      order: 1;
  }
  
  .related-products-section,
  .related-parts-section {
      order: 2;
  }
  
  .faq-sidebar {
      order: 3;
  }
  
  .article-footer {
      order: 4;
  }

}

@media (max-width: 600px) {
  .faq-card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 10px 2px;
  }
  
  .faq-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 6px;
    border: 1px solid #e0e0e0;
  }
  
  .faq-card-image {
    width: 56px;
    height: 56px;
    border-radius: 6px;
  }
}

/* ==========================================================================
   LAW PAGE SPECIFIC STYLES
   ========================================================================== */

.laws-by-region {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.region-section {
  margin-bottom: 30px;
}

.region-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 20px 0;
}

.laws-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.law-item {
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.law-item:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #111;
  font-weight: bold;
  font-size: 1.2rem;
}

.law-item:last-child {
  margin-bottom: 0;
}

.law-item a {
  color: #186396;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500 !important;
  line-height: 1.4;
  transition: text-decoration 0.18s;
}

.law-item a:hover,
.law-item a:focus {
  color: #186396;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .region-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  .law-item a {
    font-size: 1rem;
  }
}

/* Law Region Tag */
.law-region-tag {
  margin-bottom: 25px;
}

.region-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 15px;
  color: #666;
  font-size: 0.9rem;
  font-weight: normal;
}

/* ==========================================================================
   PRODUCT AND SOLUTION SPECIFIC STYLES
   ========================================================================== */

.product-featured-image,
.solution-featured-image {
  margin-bottom: 2em;
}

.product-featured-image figure,
.solution-featured-image figure {
  margin: 0;
}

.product-featured-image img,
.solution-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-object-image,
.solution-schematic,
.solution-icon,
.solution-thumbnail {
  margin: 2em 0;
}

.product-object-image h3,
.solution-schematic h3,
.solution-icon h3,
.solution-thumbnail h3 {
  margin-bottom: 1em;
  color: #333;
  font-size: 1.3em;
}

.product-object-image figure,
.solution-schematic figure,
.solution-icon figure,
.solution-thumbnail figure {
  margin: 0;
  text-align: center;
}

.product-object-image img,
.solution-schematic img,
.solution-icon img,
.solution-thumbnail img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-description,
.solution-description {
  margin: 2em 0;
}

.product-excerpt,
.solution-excerpt {
  margin: 1.5em 0;
  padding: 1em;
  background: #f8f9fa;
  border-left: 4px solid #2c5aa0;
  border-radius: 4px;
}

.product-resources,
.solution-resources {
  margin: 2em 0;
}

.resource-item {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 1.5em;
  margin-bottom: 1em;
}

.resource-item h4 {
  margin: 0 0 0.5em 0;
  color: #2c5aa0;
  font-size: 1.1em;
}

.resource-item p {
  margin: 0 0 1em 0;
  color: #666;
  line-height: 1.6;
}

.resource-link {
  display: inline-block;
  padding: 0.5em 1em;
  background: #2c5aa0;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.resource-link:hover {
  background: #1e4a7a;
  color: white;
  text-decoration: none;
}

.related-products,
.related-parts-products {
  margin: 2em 0;
}

.related-products h3,
.related-parts-products h3 {
  margin-bottom: 1em;
  color: #333;
  font-size: 1.3em;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5em;
  margin-top: 1em;
}

.related-product-item {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-product-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.related-product-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.related-product-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.related-product-item h4 {
  padding: 1em;
  margin: 0;
  font-size: 1em;
  color: #333;
}

.related-item {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 1.5em;
  margin-bottom: 1em;
}

.related-item h4 {
  margin: 0 0 0.5em 0;
  color: #2c5aa0;
  font-size: 1.1em;
}

.related-item p {
  margin: 0 0 1em 0;
  color: #666;
  line-height: 1.6;
}

.related-link {
  display: inline-block;
  padding: 0.5em 1em;
  background: #2c5aa0;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.related-link:hover {
  background: #1e4a7a;
  color: white;
  text-decoration: none;
}

@media (max-width: 768px) {
  .related-products-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 480px) {
  .related-products-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PRODUCT DETAIL PAGE STYLES
   ========================================================================== */

/* Product Detail Page Layout */
.product-detail-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}

/* Product Sidebar */
.product-sidebar {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
  position: sticky;
  top: 2rem;
}

.product-categories h3 {
  color: #333;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #0073aa;
}

.category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-item {
  margin-bottom: 0.5rem;
}

.category-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-weight: 500;
}

.category-link:hover,
.category-link.active {
  background: #0073aa;
  color: white;
}

.category-arrow {
  font-size: 0.8rem;
  opacity: 0.7;
}

.subcategory-list {
  list-style: none;
  margin: 0.5rem 0 0 1rem;
  padding: 0;
}

.subcategory-item {
  margin-bottom: 0.25rem;
}

.subcategory-link {
  display: block;
  padding: 0.5rem 1rem;
  color: #666;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.subcategory-link:hover,
.subcategory-link.active {
  background: #e3f2fd;
  color: #0073aa;
}

/* Product Main Content */
.product-main {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f0f0f0;
}

.product-title {
  color: #333;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.product-summary {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-top: 1rem;
}

.product-content {
  margin-bottom: 2rem;
  line-height: 1.6;
  color: #333;
}

.product-object-image {
  margin: 2rem 0;
  text-align: center;
}

.product-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-description,
.product-specs,
.product-features {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #0073aa;
}

.product-description h3,
.product-specs h3,
.product-features h3 {
  color: #333;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.description-content {
  line-height: 1.6;
  color: #333;
}

.specs-list,
.features-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.specs-list li,
.features-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e0e0e0;
  color: #333;
}

.specs-list li:last-child,
.features-list li:last-child {
  border-bottom: none;
}

/* Product Resources */
.product-resources {
  margin: 2rem 0;
}

.product-resources h3 {
  color: #333;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 1.5rem 0;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.resource-item {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.2s ease;
}

.resource-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.resource-title {
  color: #333;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.resource-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #0073aa;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.resource-link:hover {
  background: #005a87;
  color: white;
}

.resource-icon {
  font-size: 1.1rem;
}

/* Call to Action */
.product-cta {
  margin: 3rem 0;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
  border-radius: 8px;
  color: white;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: white;
  color: #0073aa;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.cta-button:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  color: #0073aa;
}

/* ===== GALLERY SYSTEM ===== */
/* Gallery styles are now unified in gallery-shared.css */
/* This ensures consistent behavior across all page types */

/* Responsive Design for Product Detail */
@media (max-width: 768px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .product-sidebar {
    position: static;
    order: 2;
  }
  
  .product-main {
    order: 1;
  }
  
  .product-title {
    font-size: 2rem;
  }
  
  .resources-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* Responsive Design for Full Width Sections */
@media (max-width: 768px) {
  .full-width-section {
    margin: 20px 0;
    padding: 0;
  }
  
  .full-width-section .container {
    padding: 0 15px;
  }
  
  .related-products-section .section-header h2,
  .related-parts-section .section-header h2 {
    font-size: 1.8rem;
  }
  
  .related-products-section .section-header p,
  .related-parts-section .section-header p {
    font-size: 1rem;
  }
  
  /* Navigation buttons on mobile */
  .related-products-section .swiper-button-next,
  .related-products-section .swiper-button-prev,
  .related-parts-section .swiper-button-next,
  .related-parts-section .swiper-button-prev {
    width: 50px;
    height: 50px;
  }
  
  .related-products-section .swiper-button-next:after,
  .related-products-section .swiper-button-prev:after,
  .related-parts-section .swiper-button-next:after,
  .related-parts-section .swiper-button-prev:after {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .full-width-section {
    margin: 15px 0;
    padding: 0;
  }
  
  .full-width-section .container {
    padding: 0 10px;
  }
  
  .related-products-section .section-header h2,
  .related-parts-section .section-header h2 {
    font-size: 1.6rem;
  }
}


