.hero-background {
  position: relative;
}
.hero-background img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}
.hero-background .hero-content h1 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 10px;
  opacity: 0.9;
}
.hero-background .hero-content h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0;
}
.hero-background .banner-title {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}

.all-news-container {
  margin-bottom: 128px;
}
.all-news-container .page-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #2d2d2d;
}

.hero-section {
  margin-top: 82px;
  margin-bottom: 84px;
}

.content-wrapper {
  display: flex;
  gap: 24px;
}
@media (max-width: 1024px) {
  .content-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.main-article {
  background: #fff;
  overflow: hidden;
  width: 60%;
  text-decoration: none;
}
.main-article .main-article-link {
  text-decoration: none;
}
.main-article .article-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
}
.main-article .article-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease;
}
.main-article .article-image img:hover {
  transform: scale(1.05);
}
.main-article .article-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  margin: 30px 0;
  color: #292929;
}
.main-article .article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.main-article .article-meta .author,
.main-article .article-meta .date {
  color: #636363;
  font-size: 14px;
}
.main-article .article-meta .share-label {
  margin-left: auto;
  color: #636363;
  font-size: 14px;
}
@media (max-width: 768px) {
  .main-article .article-meta .share-label {
    margin-left: 0;
    width: 100%;
  }
}
.main-article .article-meta .social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.main-article .article-meta .social-icons .social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  text-decoration: none;
}
.main-article .article-meta .social-icons .social-icon:hover {
  transform: translateY(-2px);
}
.main-article .article-meta .social-icons .social-icon.facebook {
  background-color: #1877f2;
}
.main-article .article-meta .social-icons .social-icon.linkedin {
  background-color: #0077b5;
}
.main-article .article-meta .social-icons .social-icon.twitter {
  background-color: #1da1f2;
}
.main-article .article-meta .social-icons .social-icon.youtube {
  background-color: #ff0000;
}
.main-article .article-meta .social-icons .social-icon.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.main-article .article-excerpt {
  padding: 30px 0;
  font-size: 16px;
  line-height: 1.8;
  color: #363637;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 40%;
}
.sidebar .sidebar-article {
  display: flex;
  background: #fff;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}
.sidebar .sidebar-article .sidebar-image {
  width: 50%;
  height: auto;
  position: relative;
  overflow: hidden;
}
.sidebar .sidebar-article .sidebar-image img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 42/21;
  transition: transform 0.3s ease;
}
.sidebar .sidebar-article .sidebar-image .badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #ffa500;
  color: #fff;
  padding: 5px 15px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.sidebar .sidebar-article .sidebar-content {
  padding-left: 20px;
  width: 50%;
}
.sidebar .sidebar-article .sidebar-content .sidebar-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  color: #292929;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar .sidebar-article .sidebar-content .sidebar-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.sidebar .sidebar-article .sidebar-content .sidebar-meta .author,
.sidebar .sidebar-article .sidebar-content .sidebar-meta .date {
  font-size: 13px;
  color: #636363;
}
.sidebar .sidebar-article .sidebar-content .sidebar-excerpt {
  font-size: 14px;
  line-height: 1.2;
  color: #3f3f3f;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
}

.product-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 2px solid #007bff;
}
.product-section .section-header .section-title-wrapper {
  width: -moz-fit-content;
  width: fit-content;
  height: -moz-fit-content;
  height: fit-content;
  position: relative;
  border-top: 2px #007bff solid;
  padding-top: 5px;
}
.product-section .section-header .section-title-wrapper::after {
  content: "";
  display: block;
  width: 2px;
  height: calc(100% + 6px);
  top: 50%;
  right: -12px;
  transform: translate(-50%, -50%) rotate(-25deg);
  position: absolute;
  background-color: #007bff;
}
.product-section .section-header .section-title {
  background-color: #007bff;
  color: white;
  padding: 10px 30px 10px 20px;
  margin: 0;
  font-size: 18px;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 100%, 0 100%);
}
.product-section .section-header .section-title::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 30px solid #007bff;
  border-left: 20px solid #007bff;
}
.product-section .section-header .view-all {
  color: #007bff;
  text-decoration: none;
  font-size: 14px;
  font-style: italic;
}
.product-section .section-header .view-all:hover {
  text-decoration: underline;
}
.product-section .product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-section .product-grid .product-card {
  background-color: white;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}
.product-section .product-grid .product-card a {
  text-decoration: none;
}
.product-section .product-grid .product-card .product-image {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.product-section .product-grid .product-card .product-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 42/21;
}
.product-section .product-grid .product-card .product-content {
  padding: 15px;
}
.product-section .product-grid .product-card .product-content .product-title {
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 10px;
  color: #363637;
  font-size: 20.83px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  height: 60px;
  line-height: 28px;
}
.product-section .product-grid .product-card .product-content .product-meta {
  font-size: 13px;
  color: #7b7a7a;
  margin-bottom: 10px;
  font-style: italic;
}
.product-section .product-grid .product-card .product-content .product-meta span {
  margin-left: 5px;
}
.product-section .product-grid .product-card .product-content .product-description {
  color: #363637;
  line-height: 1.5;
  font-size: 16px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  height: 72px;
  line-height: 24px;
}

.newsletter-section {
  margin: 50px 0;
  width: 100%;
  background-color: #1a73e8;
  color: white;
  padding: 70px 100px;
  border-radius: 15px;
}
.newsletter-section .newsletter-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.newsletter-section .newsletter-container .newsletter-info h2 {
  font-size: 30px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 15px;
  line-height: 1.4;
}
.newsletter-section .newsletter-container .newsletter-info p {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
}
.newsletter-section .newsletter-container .newsletter-form .form-group {
  display: flex;
  border: 2px solid white;
  border-radius: 0px;
  overflow: hidden;
  margin-bottom: 15px;
}
.newsletter-section .newsletter-container .newsletter-form .form-group input[type=email] {
  flex-grow: 1;
  border: none;
  padding: 15px;
  font-size: 16px;
  background-color: #2b84f5;
  color: white;
}
.newsletter-section .newsletter-container .newsletter-form .form-group input[type=email]::-moz-placeholder {
  color: rgba(255, 255, 255, 0.7);
}
.newsletter-section .newsletter-container .newsletter-form .form-group input[type=email]::placeholder {
  color: rgba(255, 255, 255, 0.7);
}
.newsletter-section .newsletter-container .newsletter-form .form-group input[type=email]:focus {
  outline: none;
  background-color: rgb(21.2202380952, 103.3333333333, 211.2797619048);
}
.newsletter-section .newsletter-container .newsletter-form .form-group button {
  border: none;
  background-color: #6ea9ff;
  color: white;
  padding: 15px 30px;
  font-size: 16px;
  cursor: pointer;
  border-left: 1px solid white;
  transition: background-color 0.3s ease;
}
.newsletter-section .newsletter-container .newsletter-form .form-group button:hover {
  background-color: rgb(59, 138.7517241379, 255);
}
.newsletter-section .newsletter-container .newsletter-form .consent-group {
  display: flex;
  align-items: flex-start;
}
.newsletter-section .newsletter-container .newsletter-form .consent-group input[type=checkbox] {
  margin-top: 4px;
  margin-right: 10px;
  flex-shrink: 0;
}
.newsletter-section .newsletter-container .newsletter-form .consent-group label {
  font-size: 14px;
  line-height: 1.5;
  color: #cfe6f7;
  font-style: italic;
  font-weight: lighter;
}

.article-preview-section {
  display: flex;
  margin: 80px auto;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  gap: 42px;
}
.article-preview-section .article-preview__image-container {
  width: 60%;
}
.article-preview-section .article-preview__image-container img {
  max-width: 100%;
  height: auto;
  aspect-ratio: 20/10;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.article-preview-section .article-preview__content {
  width: 40%;
  font-weight: bold;
  color: #4c4d4d;
  margin-bottom: 10px;
  line-height: 1.3;
}
.article-preview-section .article-preview__content .article-preview__title {
  font-size: 28px;
  font-weight: bold;
  color: #4c4d4d;
  line-height: 42px;
}
.article-preview-section .article-preview__content .article-preview__meta {
  font-size: 14px;
  color: #6f6f6f;
  margin-bottom: 10px;
  font-weight: 300;
  font-style: italic;
}
.article-preview-section .article-preview__content .article-preview__excerpt {
  font-size: 16px;
  font-weight: normal;
  line-height: 28px;
}
.article-preview-section .article-preview__content .article-preview__read-more {
  display: inline-block;
  margin-top: 20px;
  font-size: 16px;
  color: #1ba4f2;
  text-decoration: none;
  transition: border-color 0.3s ease;
}
.article-preview-section .article-preview__content .article-preview__read-more:hover {
  border-color: #007bff;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 60px 0 40px;
}
.pagination .pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  color: #636363;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  background-color: #fff;
  transition: all 0.3s ease;
}
.pagination .pagination-link:hover:not(.active) {
  background-color: #f5f5f5;
  border-color: #d0d0d0;
}
.pagination .pagination-link.active {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
  font-weight: 600;
}
.pagination .pagination-dots {
  color: #636363;
  padding: 0 4px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .container {
    padding: 20px 15px;
  }
  .container .page-title {
    font-size: 24px;
    margin-bottom: 25px;
  }
  .main-article .article-image {
    height: 250px;
  }
  .main-article .article-title {
    font-size: 22px;
    margin: 20px 20px 15px;
  }
  .main-article .article-meta {
    padding: 0 20px 15px;
    gap: 10px;
  }
  .main-article .article-excerpt {
    padding: 20px;
    font-size: 15px;
  }
  .sidebar .sidebar-article .sidebar-image {
    height: 180px;
  }
  .sidebar .sidebar-article .sidebar-content {
    padding: 15px;
  }
  .sidebar .sidebar-article .sidebar-content .sidebar-title {
    font-size: 15px;
  }
}
@media screen and (max-width: 768px) {
  .container {
    padding: 20px 12px;
  }
  .container .hero-section .page-title {
    font-size: 24px;
    margin-bottom: 24px;
  }
  .container .hero-section .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .container .hero-section .content-wrapper .main-article {
    width: 100%;
  }
  .container .hero-section .content-wrapper .main-article .article-image {
    height: 220px;
  }
  .container .hero-section .content-wrapper .main-article .article-image img {
    -o-object-fit: cover;
       object-fit: cover;
  }
  .container .hero-section .content-wrapper .main-article .article-title {
    font-size: 20px;
    margin: 16px 16px 12px;
    line-height: 1.3;
  }
  .container .hero-section .content-wrapper .main-article .article-meta {
    padding: 0 16px 12px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .container .hero-section .content-wrapper .main-article .article-meta .author {
    font-size: 13px;
  }
  .container .hero-section .content-wrapper .main-article .article-meta .date {
    font-size: 13px;
  }
  .container .hero-section .content-wrapper .main-article .article-meta .share-label {
    margin-left: 0;
    width: 100%;
    margin-top: 8px;
  }
  .container .hero-section .content-wrapper .main-article .article-meta .social-icons {
    width: 100%;
    justify-content: flex-start;
  }
  .container .hero-section .content-wrapper .main-article .article-meta .social-icons .social-icon {
    width: 28px;
    height: 28px;
  }
  .container .hero-section .content-wrapper .main-article .article-excerpt {
    padding: 16px;
    font-size: 15px;
    line-height: 1.6;
  }
  .container .hero-section .content-wrapper .sidebar {
    width: 100%;
    gap: 16px;
  }
  .container .hero-section .content-wrapper .sidebar .sidebar-article {
    flex-direction: column;
  }
  .container .hero-section .content-wrapper .sidebar .sidebar-article .sidebar-image {
    width: 100%;
    height: 200px;
  }
  .container .hero-section .content-wrapper .sidebar .sidebar-article .sidebar-image img {
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .container .hero-section .content-wrapper .sidebar .sidebar-article .sidebar-image .badge {
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    font-size: 11px;
  }
  .container .hero-section .content-wrapper .sidebar .sidebar-article .sidebar-content {
    width: 100%;
    padding: 16px;
  }
  .container .hero-section .content-wrapper .sidebar .sidebar-article .sidebar-content .sidebar-title {
    font-size: 16px;
    margin-bottom: 10px;
    -webkit-line-clamp: 2;
  }
  .container .hero-section .content-wrapper .sidebar .sidebar-article .sidebar-content .sidebar-meta {
    margin-bottom: 8px;
  }
  .container .hero-section .content-wrapper .sidebar .sidebar-article .sidebar-content .sidebar-meta .author {
    font-size: 12px;
  }
  .container .hero-section .content-wrapper .sidebar .sidebar-article .sidebar-content .sidebar-meta .date {
    font-size: 12px;
  }
  .container .hero-section .content-wrapper .sidebar .sidebar-article .sidebar-content .sidebar-excerpt {
    font-size: 14px;
    -webkit-line-clamp: 2;
  }
  .container .product-section {
    margin: 40px 0;
  }
  .container .product-section .section-header {
    margin-bottom: 16px;
  }
  .container .product-section .section-header .section-title {
    font-size: 16px;
    padding: 8px 16px;
  }
  .container .product-section .section-header .view-all {
    font-size: 13px;
    padding-right: 8px;
  }
  .container .product-section .product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .container .product-section .product-grid .product-card .product-image img {
    aspect-ratio: 16/9;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .container .product-section .product-grid .product-card .product-content {
    padding: 12px;
  }
  .container .product-section .product-grid .product-card .product-content .product-title {
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.4;
  }
  .container .product-section .product-grid .product-card .product-content .product-meta {
    font-size: 11px;
    margin-bottom: 8px;
  }
  .container .product-section .product-grid .product-card .product-content .product-meta span {
    margin-left: 4px;
  }
  .container .product-section .product-grid .product-card .product-content .product-description {
    font-size: 13px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .container .newsletter-section {
    margin: 40px 0;
    padding: 40px 20px;
    border-radius: 10px;
  }
  .container .newsletter-section .newsletter-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .container .newsletter-section .newsletter-container .newsletter-info h2 {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.3;
  }
  .container .newsletter-section .newsletter-container .newsletter-info p {
    font-size: 14px;
    line-height: 1.5;
  }
  .container .newsletter-section .newsletter-container .newsletter-form form .form-group {
    flex-direction: column;
  }
  .container .newsletter-section .newsletter-container .newsletter-form form .form-group input[type=email] {
    padding: 12px;
    font-size: 14px;
    width: 100%;
  }
  .container .newsletter-section .newsletter-container .newsletter-form form .form-group button[type=submit] {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
    border-left: none;
    border-top: 1px solid white;
  }
  .container .newsletter-section .newsletter-container .newsletter-form form .consent-group {
    align-items: flex-start;
  }
  .container .newsletter-section .newsletter-container .newsletter-form form .consent-group input[type=checkbox] {
    margin-top: 3px;
  }
  .container .newsletter-section .newsletter-container .newsletter-form form .consent-group label {
    font-size: 12px;
    line-height: 1.4;
  }
  .container .article-preview-section {
    flex-direction: column;
    margin: 40px auto;
    gap: 0;
  }
  .container .article-preview-section .article-preview__image-container {
    width: 100%;
  }
  .container .article-preview-section .article-preview__image-container .article-preview__image img {
    aspect-ratio: 16/9;
    border-radius: 8px 8px 0 0;
  }
  .container .article-preview-section .article-preview__content {
    width: 100%;
    padding: 20px 16px;
  }
  .container .article-preview-section .article-preview__content .article-preview__title {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 10px;
  }
  .container .article-preview-section .article-preview__content .article-preview__meta {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .container .article-preview-section .article-preview__content .article-preview__excerpt {
    font-size: 14px;
    line-height: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .container .article-preview-section .article-preview__content .article-preview__read-more {
    margin-top: 16px;
    font-size: 14px;
  }
}
