/* ============================= */
/* 3C EXPRESS - BLOG.CSS */
/* Page blog + futurs articles */
/* ============================= */

:root {
  --blog-blue-dark: #0f2548;
  --blog-blue: #183b70;
  --blog-blue-light: #1e4a87;
  --blog-orange: #E6891b;
  --blog-green: #1b6b5a;
  --blog-light: #f6f8fb;
  --blog-text: #52647a;
  --blog-white: #ffffff;
}

/* PAGE BLOG */

.blog-page {
  background: var(--blog-light);
  color: var(--blog-blue-dark);
}

.blog-hero {
  min-height: 430px;
  padding: 140px 20px 90px;
  background:
    linear-gradient(rgba(15, 37, 72, 0.84), rgba(15, 37, 72, 0.84)),
    url("images.3blog/blog-hero.jpg") center/cover no-repeat;
  color: var(--blog-white);
  display: flex;
  align-items: center;
}

.blog-hero-content {
  max-width: 1150px;
  width: 100%;
  margin: 0 auto;
}

.blog-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(230, 137, 27, 0.16);
  color: var(--blog-orange);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-hero h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1.05;
}

.blog-hero p {
  max-width: 680px;
  font-size: 1.13rem;
  line-height: 1.7;
  color: #e6edf7;
}

.blog-section {
  padding: 90px 20px;
}

.blog-container {
  max-width: 1180px;
  margin: 0 auto;
}

.blog-intro {
  margin-bottom: 42px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
}

.blog-intro h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--blog-blue-dark);
}

.blog-intro p {
  max-width: 520px;
  color: var(--blog-text);
  line-height: 1.7;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 38px;
}

.blog-filter {
  border: 1px solid rgba(24, 59, 112, 0.14);
  background: var(--blog-white);
  color: var(--blog-blue);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: default;
}

.blog-filter.active {
  background: var(--blog-blue);
  color: var(--blog-white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--blog-white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 37, 72, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 65px rgba(15, 37, 72, 0.16);
}

.blog-card-image {
  height: 220px;
  overflow: hidden;
  background: #dfe7f1;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.06);
}

.blog-card-content {
  padding: 28px;
}

.blog-category {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blog-orange);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog-card h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
  line-height: 1.32;
  color: var(--blog-blue-dark);
}

.blog-card p {
  margin-bottom: 22px;
  color: var(--blog-text);
  line-height: 1.65;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  font-size: 0.9rem;
  color: #6a7c92;
}

.blog-card a {
  color: var(--blog-blue);
  font-weight: 800;
  text-decoration: none;
}

.blog-card a:hover {
  color: var(--blog-orange);
}

/* CTA BLOG */

.blog-cta {
  margin-top: 80px;
  padding: 55px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(15, 37, 72, 0.96), rgba(24, 59, 112, 0.96));
  color: var(--blog-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.blog-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  margin-bottom: 12px;
}

.blog-cta p {
  color: #dbe7f5;
  line-height: 1.7;
  max-width: 620px;
}

.blog-cta a {
  display: inline-block;
  white-space: nowrap;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--blog-orange);
  color: white;
  font-weight: 800;
  text-decoration: none;
}

/* ARTICLE TEMPLATE */

.article-page {
  background: var(--blog-light);
  color: var(--blog-blue-dark);
}

.article-hero {
  padding: 140px 20px 80px;
  background:
    linear-gradient(rgba(15, 37, 72, 0.82), rgba(15, 37, 72, 0.82)),
    url("images.blog/article-hero.jpg") center/cover no-repeat;
  color: white;
}

.article-hero-inner {
  max-width: 950px;
  margin: 0 auto;
}

.article-category {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(230, 137, 27, 0.18);
  color: var(--blog-orange);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.08;
  margin-bottom: 20px;
}

.article-meta {
  color: #dbe7f5;
  font-weight: 600;
}

.article-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 20px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 45px;
}

.article-toc {
  position: sticky;
  top: 110px;
  align-self: start;
  background: white;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 14px 35px rgba(15, 37, 72, 0.08);
}

.article-toc h3 {
  margin-bottom: 16px;
  color: var(--blog-blue-dark);
}

.article-toc a {
  display: block;
  margin: 12px 0;
  color: var(--blog-text);
  text-decoration: none;
  font-weight: 600;
}

.article-toc a:hover {
  color: var(--blog-orange);
}

.article-content {
  background: white;
  border-radius: 28px;
  padding: 55px;
  box-shadow: 0 18px 45px rgba(15, 37, 72, 0.08);
}

.article-content h2 {
  margin-top: 42px;
  margin-bottom: 18px;
  font-size: 2rem;
  color: var(--blog-blue-dark);
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content p {
  margin-bottom: 20px;
  color: var(--blog-text);
  font-size: 1.05rem;
  line-height: 1.85;
}

.article-content ul,
.article-content ol {
  margin: 18px 0 26px 22px;
  color: var(--blog-text);
  line-height: 1.8;
}

.article-content li {
  margin-bottom: 10px;
}

.article-image {
  margin: 34px 0;
  border-radius: 22px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  display: block;
}

.expert-tip,
.key-takeaways {
  margin: 34px 0;
  padding: 28px;
  border-radius: 22px;
  background: #f6f8fb;
  border-left: 5px solid var(--blog-orange);
}

.expert-tip h3,
.key-takeaways h3 {
  margin-bottom: 12px;
  color: var(--blog-blue-dark);
}

.article-final-cta {
  margin-top: 45px;
  padding: 36px;
  border-radius: 24px;
  background: var(--blog-blue-dark);
  color: white;
}

.article-final-cta p {
  color: #dbe7f5;
}

.article-final-cta a {
  display: inline-block;
  margin-top: 12px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--blog-orange);
  color: white;
  font-weight: 800;
  text-decoration: none;
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .blog-intro {
    display: block;
  }

  .blog-intro p {
    margin-top: 16px;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-cta {
    display: block;
  }

  .blog-cta a {
    margin-top: 24px;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-toc {
    position: static;
  }
}

@media (max-width: 650px) {
  .blog-hero,
  .article-hero {
    padding: 120px 20px 70px;
  }

  .blog-section {
    padding: 65px 20px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card-image {
    height: 205px;
  }

  .blog-cta {
    padding: 34px 26px;
  }

  .article-content {
    padding: 32px 24px;
  }

  .article-layout {
    padding: 45px 20px;
  }
}

/* KNOWLEDGE CENTER SEARCH */

.knowledge-search {
  margin-bottom: 26px;
}

.knowledge-search input {
  width: 100%;
  padding: 18px 22px;
  border: 1px solid rgba(24, 59, 112, 0.15);
  border-radius: 999px;
  font-size: 1rem;
  outline: none;
  box-shadow: 0 12px 30px rgba(15, 37, 72, 0.08);
}

.knowledge-search input:focus {
  border-color: var(--blog-orange);
}

.blog-filter {
  border: none;
}

.knowledge-category {
  margin-top: 60px;
}

.knowledge-category h2 {
  margin-bottom: 24px;
  font-size: 2rem;
  color: var(--blog-blue-dark);
}

.no-results {
  display: none;
  margin-top: 40px;
  padding: 30px;
  text-align: center;
  background: white;
  border-radius: 20px;
  color: var(--blog-text);
  font-weight: 700;
}

/* KNOWLEDGE CENTER CATEGORY CARDS */

.knowledge-categories {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}

.knowledge-category-card {
  display: block;
  padding: 26px 20px;
  border-radius: 24px;
  background: white;
  text-decoration: none;
  color: var(--blog-blue-dark);
  box-shadow: 0 14px 35px rgba(15, 37, 72, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.knowledge-category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(15, 37, 72, 0.14);
}


.knowledge-category-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.knowledge-category-card p {
  color: var(--blog-orange);
  font-weight: 800;
}

/* smooth scroll */
html {
  scroll-behavior: smooth;
}

@media (max-width: 1050px) {
  .knowledge-categories {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 650px) {
  .knowledge-categories {
    grid-template-columns: 1fr;
  }
}

/* IMAGELESS KNOWLEDGE CARDS */

.knowledge-category .blog-card {
  border: 1px solid rgba(24, 59, 112, 0.10);
  box-shadow: none;
  border-radius: 18px;
}

.knowledge-category .blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 37, 72, 0.10);
}

.knowledge-category .blog-card-content {
  padding: 26px;
}

.knowledge-category .blog-card-image {
  display: none;
}

.knowledge-category .blog-card h3 {
  font-size: 1.18rem;
}

.knowledge-category .blog-card p {
  font-size: 0.95rem;
}

.knowledge-title{
    display:flex;
    align-items:center;
    gap:18px;

    margin-bottom:35px;

    font-size:2rem;
    font-weight:700;

    color:#183b70;
}

.knowledge-icon{
    width:64px;
    height:64px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#f8f2e8;
    border-radius:18px;
}

.knowledge-icon svg{
    width:34px;
    height:34px;

    color:#C68A2D;
    stroke-width:2;
}

/* ===== CATEGORY CARDS ICONS ===== */

.knowledge-card-icon{
    width:64px;
    height:64px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#f8f2e8;

    border-radius:18px;

    margin-bottom:20px;
}

.knowledge-card-icon svg{
    width:32px;
    height:32px;

    color:#C68A2D;
    stroke-width:2;
}

.knowledge-category-card{
    display:flex;
    flex-direction:column;

    padding:26px;

    background:white;

    border-radius:24px;

    box-shadow:0 14px 35px rgba(15,37,72,.08);

    text-decoration:none;

    color:#183b70;

    transition:.25s;

    min-height:220px;
}

.knowledge-category-card h3{
    margin-top:20px;

    font-size:1.35rem;

    line-height:1.3;

    min-height:72px;   /* <-- toutes les cartes auront la même hauteur de titre */
}

.knowledge-category-card p{
    margin-top:auto;

    color:#E6891B;

    font-weight:700;
}

.knowledge-card-icon{
    width:62px;
    height:62px;

    display:flex;
    justify-content:center;
    align-items:center;

    background:#f8f2e8;
    border-radius:18px;

    flex-shrink:0;
}

.knowledge-card-icon svg{
    width:30px;
    height:30px;

    stroke-width:2;

    color:#C68A2D;

    display:block;
}

.knowledge-category-card > span:not(.knowledge-card-icon){
    display:block;
}

/* FIX ICON CENTERING */

.knowledge-category-card .knowledge-card-icon,
.knowledge-title .knowledge-icon {
  width: 64px;
  height: 64px;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: #f8f2e8;
  border-radius: 18px;

  padding: 0 !important;
  margin: 0 0 20px 0 !important;

  line-height: 0 !important;
}

.knowledge-title .knowledge-icon {
  margin: 0 !important;
}

.knowledge-card-icon svg,
.knowledge-icon svg {
  width: 32px;
  height: 32px;

  display: block;

  color: #C68A2D;
  stroke-width: 2;
}

.knowledge-card-footer{
    margin-top:auto;

    display:flex;
    justify-content:space-between;
    align-items:center;

    color:#E6891B;

    font-weight:700;
    font-size:0.95rem;
}

.arrow{
    font-size:1.3rem;
    color:#183b70;
    transition:.25s;
}

.knowledge-category-card:hover .arrow{
    transform:translateX(6px);
}

.article-breadcrumb {
  display: inline-block;
  margin-bottom: 24px;
  color: #e6edf7;
  text-decoration: none;
  font-weight: 700;
}

.article-breadcrumb:hover {
  color: #E6891B;
}

.article-hero-text {
  max-width: 760px;
  margin-bottom: 22px;
  color: #e6edf7;
  font-size: 1.15rem;
  line-height: 1.7;
}

.article-hero-air {
  background:
    linear-gradient(rgba(15, 37, 72, 0.82), rgba(15, 37, 72, 0.82)),
    url("../images.blog/air-vs-sea-cover.jpg") center/cover no-repeat;
}

.related-articles {
  margin-top: 55px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.related-card {
  display: block;
  padding: 24px;
  border-radius: 18px;
  background: #f6f8fb;
  text-decoration: none;
  border: 1px solid rgba(24, 59, 112, 0.10);
}

.related-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: #E6891B;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.related-card h3 {
  color: #0f2548;
  font-size: 1.05rem;
  line-height: 1.35;
}

.related-card:hover {
  border-color: rgba(230, 137, 27, 0.45);
}

@media (max-width: 750px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

.article-hero-transit-times {
  background:
    linear-gradient(rgba(15, 37, 72, 0.82), rgba(15, 37, 72, 0.82)),
    url("../images.blog/articles/air-freight-transit-times.jpg") center/cover no-repeat;
}

.article-hero-documentation{
background:
linear-gradient(rgba(15,37,72,.82),rgba(15,37,72,.82)),
url("../images.blog/articles/air-cargo-documentation.jpg")
center/cover no-repeat;
}

.article-hero-dangerous{
background:
linear-gradient(rgba(15,37,72,.82),rgba(15,37,72,.82)),
url("../images.blog/articles/dangerous-goods-by-air.jpg")
center/cover no-repeat;
}

.article-hero-pricing{
background:
linear-gradient(rgba(15,37,72,.82),rgba(15,37,72,.82)),
url("../images.blog/articles/air-freight-pricing-explained.jpg")
center/cover no-repeat;
}

.article-hero-reduce-costs{
background:
linear-gradient(rgba(15,37,72,.82),rgba(15,37,72,.82)),
url("../images.blog/articles/reducing-air-freight-costs.jpg")
center/cover no-repeat;
}

.article-hero-sea-process{
background:
linear-gradient(rgba(15,37,72,.82),rgba(15,37,72,.82)),
url("../images.blog/articles/how-sea-freight-works.jpg")
center/cover no-repeat;
}

.article-hero-sea-process{
background:
linear-gradient(rgba(15,37,72,.82),rgba(15,37,72,.82)),
url("../images.blog/articles/how-sea-freight-works.jpg")
center/cover no-repeat;
}

.article-hero-bol{
background:
linear-gradient(rgba(15,37,72,.82),rgba(15,37,72,.82)),
url("../images.blog/articles/bill-of-lading-explained.jpg")
center/cover no-repeat;
}

.article-hero-china-france {
  background:
    linear-gradient(rgba(15,37,72,.82),rgba(15,37,72,.82)),
    url("../images.blog/articles/shipping-from-china-to-france.jpg")
    center/cover no-repeat;
}

.article-hero-sea-transit{
background:
linear-gradient(rgba(15,37,72,.82),rgba(15,37,72,.82)),
url("../images.blog/articles/sea-freight-transit-times.jpg")
center/cover no-repeat;
}

.article-hero-road-europe{
background:
linear-gradient(rgba(15,37,72,.82),rgba(15,37,72,.82)),
url("../images.blog/articles/european-road-transport.jpg")
center/cover no-repeat;
}

.article-hero-ftl-groupage{
background:
linear-gradient(rgba(15,37,72,.82),rgba(15,37,72,.82)),
url("../images.blog/articles/full-truck-load-vs-groupage.jpg")
center/cover no-repeat;
}

.article-hero-express-road{
background:
linear-gradient(rgba(15,37,72,.82),rgba(15,37,72,.82)),
url("../images.blog/articles/express-road-freight.jpg")
center/cover no-repeat;
}

.article-hero-refrigerated-road{
background:
linear-gradient(rgba(15,37,72,.82),rgba(15,37,72,.82)),
url("../images.blog/articles/refrigerated-road-transport.jpg")
center/cover no-repeat;
}

.article-hero-road-documents{
background:
linear-gradient(rgba(15,37,72,.82),rgba(15,37,72,.82)),
url("../images.blog/articles/road-freight-documentation.jpg")
center/cover no-repeat;
}

.article-hero-cross-border-road{
background:
linear-gradient(rgba(15,37,72,.82),rgba(15,37,72,.82)),
url("../images.blog/articles/cross-border-road-transport-europe.jpg")
center/cover no-repeat;
}

.article-hero-customs{
background:
linear-gradient(rgba(15,37,72,.82),rgba(15,37,72,.82)),
url("../images.blog/articles/customs-clearance-explained.jpg")
center/cover no-repeat;
}

.article-hero-incoterms{
background:
linear-gradient(rgba(15,37,72,.82),rgba(15,37,72,.82)),
url("../images.blog/articles/incoterms-2020-explained.jpg")
center/cover no-repeat;
}

.article-hero-commercial-invoice{
background:
linear-gradient(rgba(15,37,72,.82),rgba(15,37,72,.82)),
url("../images.blog/articles/commercial-invoice-guide.jpg")
center/cover no-repeat;
}

.article-hero-packing-list{
background:
linear-gradient(rgba(15,37,72,.82),rgba(15,37,72,.82)),
url("../images.blog/articles/packing-list-guide.jpg")
center/cover no-repeat;
}

.article-hero-import-duties{
background:
linear-gradient(rgba(15,37,72,.82),rgba(15,37,72,.82)),
url("../images.blog/articles/import-duties-and-taxes.jpg")
center/cover no-repeat;
}

.article-hero-customs-mistakes{
background:
linear-gradient(rgba(15,37,72,.82),rgba(15,37,72,.82)),
url("../images.blog/articles/common-customs-mistakes.jpg")
center/cover no-repeat;
}

.article-hero-warehouse{
background:
linear-gradient(rgba(15,37,72,.82),rgba(15,37,72,.82)),
url("../images.blog/articles/warehousing-storage-explained.jpg")
center/cover no-repeat;
}

.article-hero-inventory{
background:
linear-gradient(rgba(15,37,72,.82),rgba(15,37,72,.82)),
url("../images.blog/articles/inventory-management.jpg")
center/cover no-repeat;
}

.article-hero-order-fulfillment{
background:
linear-gradient(rgba(15,37,72,.82),rgba(15,37,72,.82)),
url("../images.blog/articles/order-fulfillment-services.jpg")
center/cover no-repeat;
}

.article-hero-cross-docking{
background:
linear-gradient(rgba(15,37,72,.82),rgba(15,37,72,.82)),
url("../images.blog/articles/cross-docking-explained.jpg")
center/cover no-repeat;
}

.article-hero-pick-pack{
background:
linear-gradient(rgba(15,37,72,.82),rgba(15,37,72,.82)),
url("../images.blog/articles/pick-and-pack-services.jpg")
center/cover no-repeat;
}

.article-hero-warehouse-safety{
background:
linear-gradient(rgba(15,37,72,.82),rgba(15,37,72,.82)),
url("../images.blog/articles/warehouse-safety-best-practices.jpg")
center/cover no-repeat;
}