/**
* 2007-2026 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2026 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

/*blog (liste)*/
.blog-list-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.blog-list-hero {
  text-align: center;
  margin-bottom: 36px;
}

.blog-list-hero h1 {
  margin: 0 0 12px;
  font-size: 2.2rem;
  line-height: 1.2;
  font-weight: 700;
  color: #1f2937;
}

.blog-list-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.7;
}

.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.blog-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.10);
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f3f4f6;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}

.blog-card-content {
  padding: 24px;
}

.blog-card-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  background: #f3f4f6;
  color: #374151;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.blog-card-title {
  margin: 0 0 14px;
  font-size: 1.3rem;
  line-height: 1.4;
  font-weight: 700;
}

.blog-card-title a {
  color: #111827;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: #0f766e;
}

.blog-card-excerpt {
  margin: 0 0 20px;
  color: #6b7280;
  font-size: 0.96rem;
  line-height: 1.7;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0f766e;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.blog-card-link:hover {
  gap: 12px;
  color: #115e59;
}

.blog-empty-state {
  text-align: center;
  padding: 40px 20px;
  border: 1px dashed #d1d5db;
  border-radius: 18px;
  background: #f9fafb;
  color: #6b7280;
}

@media (max-width: 767px) {
  .blog-list-page {
    padding: 28px 16px 44px;
  }

  .blog-list-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-list-hero h1 {
    font-size: 1.8rem;
  }

  .blog-card-content {
    padding: 20px;
  }

  .blog-card-title {
    font-size: 1.15rem;
  }
}

/*articles*/
.oa-blog-article {
  background: #f6f7fb;
  padding-bottom: 60px;
}

/* Hero */
.oa-blog-hero {
  position: relative;
  width: 100%;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: #111;
}

.oa-blog-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oa-blog-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.68) 0%,
    rgba(0, 0, 0, 0.28) 45%,
    rgba(0, 0, 0, 0.10) 100%
  );
}

.oa-blog-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  padding: 48px 24px 56px;
  text-align: center;
  color: #fff;
}

.oa-blog-hero__badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.oa-blog-hero__title {
  margin: 0;
  font-size: 42px;
  line-height: 1.15;
  font-weight: 700;
  color: #fff;
}

/* Wrapper */
.oa-blog-wrapper {
  max-width: 980px;
  margin: -50px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 3;
}

/* Card */
.oa-blog-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(20, 24, 40, 0.10);
  overflow: hidden;
}

.oa-blog-card__content {
  padding: 40px 36px;
}

.oa-blog-card__intro {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.oa-blog-card__line {
  display: inline-block;
  width: 42px;
  height: 3px;
  border-radius: 10px;
  background: #111827;
}

.oa-blog-card__subtitle {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.oa-blog-card__text {
  color: #2b2f38;
  font-size: 17px;
  line-height: 1.8;
}

.oa-blog-card__text p {
  margin: 0 0 18px;
}

.oa-blog-card__text h2,
.oa-blog-card__text h3,
.oa-blog-card__text h4 {
  margin: 32px 0 16px;
  color: #111827;
  line-height: 1.3;
}

.oa-blog-card__text h2 {
  font-size: 30px;
}

.oa-blog-card__text h3 {
  font-size: 24px;
}

.oa-blog-card__text h4 {
  font-size: 20px;
}

.oa-blog-card__text ul,
.oa-blog-card__text ol {
  margin: 0 0 22px 22px;
  padding: 0;
}

.oa-blog-card__text li {
  margin-bottom: 8px;
}

.oa-blog-card__text a {
  color: #0f62fe;
  text-decoration: none;
}

.oa-blog-card__text a:hover {
  text-decoration: underline;
}

.oa-blog-card__text img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 24px 0;
}

.oa-blog-card__text blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 4px solid #111827;
  background: #f9fafb;
  border-radius: 12px;
  color: #374151;
  font-style: italic;
}

/* Responsive */
@media (max-width: 991px) {
  .oa-blog-hero {
    min-height: 360px;
  }

  .oa-blog-hero__title {
    font-size: 34px;
  }

  .oa-blog-card__content {
    padding: 30px 24px;
  }
}

@media (max-width: 767px) {
  .oa-blog-hero {
    min-height: 300px;
  }

  .oa-blog-hero__content {
    padding: 32px 18px 40px;
  }

  .oa-blog-hero__title {
    font-size: 28px;
  }

  .oa-blog-wrapper {
    margin-top: -30px;
    padding: 0 14px;
  }

  .oa-blog-card {
    border-radius: 18px;
  }

  .oa-blog-card__content {
    padding: 24px 18px;
  }

  .oa-blog-card__text {
    font-size: 16px;
    line-height: 1.75;
  }

  .oa-blog-card__text h2 {
    font-size: 24px;
  }

  .oa-blog-card__text h3 {
    font-size: 21px;
  }
}