/* ========================================= */
/* BLOG HERO SECTION */
/* ========================================= */

.blog-hero-section {
  width: 100%;
  min-height: 964px;
  background: #191916;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 140px; 
  padding-bottom: 80px;
}

/* Background Grid */
.blog-hero-bg-grid {
  position: absolute;
  width: 490px;
  height: 490px;
  right: 10%;
  top: -71px;
  opacity: 0.1;
}

.blog-grid-line {
  position: absolute;
  width: 490px;
  height: 0px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-line-78 {
  left: 120px;
  top: 0px;
  transform: rotate(90deg);
}

.blog-line-79 {
  left: 240px;
  top: 0px;
  transform: rotate(90deg);
}

.blog-line-89 {
  left: 0px;
  top: 120px;
}

.blog-line-91 {
  left: 0px;
  top: 360px;
}

.blog-line-90 {
  left: 0px;
  top: 240px;
}

.blog-line-80 {
  left: 360px;
  top: 0px;
  transform: rotate(90deg);
}

/* Background Orbs */
.blog-hero-orb {
  position: absolute;
  width: 182px;
  height: 182px;
  background: #8CA340;
  filter: blur(135px);
  opacity: 0.6;
}

.blog-orb-1 {
  left: calc(50% - 182px/2 - 216px);
  top: 111px;
}

.blog-orb-2 {
  left: calc(50% - 182px/2 - 1113px);
  top: 595px;
}

/* Main Container */
.blog-hero-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}


.blog-hero-header {
  text-align: center;
  margin-bottom: 80px;
}

.blog-hero-title {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 72px;
  line-height: 130%;
  text-align: center;
  letter-spacing: -0.02em;
  color: #808C4A;
  margin: 0 0 24px 0;
}

.blog-hero-subtitle {
  font-family: 'Mulish', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  text-align: center;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================= */
/* BLOG CAROUSEL STYLES  */
/* ========================================= */

/* Carousel Container */
.blog-carousel {
  position: relative;
  width: 1136px;
  height: 520px;
  margin: 0 auto 60px;
}

/* Carousel Inner */
.carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  margin-bottom: 60px; 
}

/* Carousel Item */
.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: none;
}

.carousel-item.active {
  opacity: 1;
  display: block;
}

/* Carousel Content Wrapper */
.carousel-content-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  padding: 23px;
  gap: 58px;
  width: 100%;
  height: 100%;
}

/* Main Feature Card */
.main-feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 20px;
  gap: 10px;
  width: 679px;
  height: 474px;
  background: #404625;
  border-radius: 24px;
  justify-content: space-between;
}

.feature-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  gap: 24px;
  width: 100%;
  height: 119px;
}

.tags-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0px;
  gap: 372px;
  width: 100%;
  height: 41px;
}

.feature-tag {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: -0.02em;
  color: #808C4A;
  white-space: nowrap;
  height: 41px;
}

.feature-tag:first-child {
  width: 104px;
}

.feature-tag:last-child {
  width: 160px;
  padding: 10px 20px;
}

.feature-title {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 54px;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0;
  width: 100%;
}

.feature-meta {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0px;
  gap: 373px;
  width: 100%;
  height: 36px;
}

.author-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
  gap: 12px;
  width: 148px;
  height: 36px;
}

.author-avatar {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
}

.author-info span,
.date-info {
  font-family: 'Mulish', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.date-info {
  width: 109px;
  text-align: right;
}

/* Secondary Feature Card */
.secondary-feature-card {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 374px;
  flex-shrink: 0;
}

.secondary-card {
  width: 374px;
  height: 490px;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

.secondary-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  gap: 10px;
  width: 233px;
  height: 132px;
  position: relative;
  z-index: 2;
}

.secondary-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  width: 185px;
  height: 108px;
}

.text-line-1,
.text-line-2 {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 54px;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  width: 185px;
  height: 54px;
}

/* Carousel Controls */
.carousel-controls-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin-top: 20px;
}

.carousel-control-prev,
.carousel-control-next {
  position: static;
  transform: none;
  width: 44px;
  height: 44px;
  border: 1px solid #7B8950;
  border-radius: 100px;
  background: transparent;
  color: #7B8950;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  margin: 0;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: #7B8950;
  color: #FFFFFF;
}

.carousel-control-prev:disabled,
.carousel-control-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.carousel-control-prev:disabled:hover,
.carousel-control-next:disabled:hover {
  background: transparent;
  color: #7B8950;
}

.carousel-control-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Carousel Indicators */
.carousel-indicators {
  position: static;
  transform: none;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.carousel-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background: #7B8950;
  transform: scale(1.2);
}

.carousel-indicator:hover {
  background: #7B8950;
  transform: scale(1.1);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* Tablet Breakpoint (1024px) */
@media (max-width: 1200px) {
  .blog-hero-section {
    padding-top: 120px;
    min-height: 600px;
  }

  .blog-hero-title {
    font-size: 60px;
    line-height: 72px;
  }

  .blog-hero-subtitle {
    font-size: 17px;
  }

  .blog-carousel {
    width: 95%;
    max-width: 1136px;
  }
  
  .carousel-content-wrapper {
    gap: 20px;
    padding: 20px;
  }
  
  .main-feature-card {
    width: 60%;
    height: 100%;
  }
  
  .secondary-feature-card {
    width: 35%;
  }
  
  .secondary-card {
    width: 100%;
    height: auto;
    min-height: 470px;
  }
  
  .tags-container {
    gap: 20px;
    justify-content: flex-start;
  }
  
  .feature-meta {
    gap: 20px;
    justify-content: space-between;
  }
}

/* Tablet and Mobile Breakpoint (768px and below) */
@media (max-width: 768px) {
  .blog-hero-section {
    padding-top: 100px;
    min-height: 530px;
  }

  .blog-hero-title {
    font-size: 48px;
    line-height: 60px;
  }

  .blog-hero-subtitle {
    font-size: 16px;
  }

  .blog-hero-header {
    margin-bottom: 60px;
  }

  .blog-carousel {
    min-height: 500px;
  }
  .carousel-inner{
    height: 75%;
  }
  .carousel-content-wrapper {
    flex-direction: column;
    gap: 0;
    padding: 20px;
  }

  .main-feature-card {
    width: 100%;
    height: 350px;
    padding: 20px;
  }

  /* Hide secondary feature card on mobile */
  .secondary-feature-card {
    display: none !important;
  }

  .feature-title {
    font-size: 28px;
    line-height: 42px;
  }

  .tags-container {
    flex-wrap: wrap;
    gap: 12px;
    height: auto;
  }

  .feature-tag {
    flex: 0 0 auto;
  }

  .feature-meta {
    flex-direction: column;
    gap: 12px;
    height: auto;
    align-items: flex-start;
  }

  .carousel-controls-wrapper {
    margin-top: 30px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }
}

/* Small Mobile Breakpoint (420px and below) */
@media (max-width: 420px) {
  .blog-hero-section {
    padding-top: 80px;
    min-height: 600px;
  }

  .blog-hero-title {
    font-size: 36px;
    line-height: 48px;
  }

  .blog-hero-subtitle {
    font-size: 14px;
  }

  .blog-hero-container {
    padding: 0 15px;
  }

  .blog-hero-header {
    margin-bottom: 40px;
  }

  .main-feature-card {
    min-height: 350px;
    padding: 16px;
    height: auto;
  }

  .feature-title {
    font-size: 24px;
    line-height: 36px;
  }

  .tags-container {
    gap: 8px;
  }

  .feature-tag {
    padding: 8px 16px;
    font-size: 12px;
    height: 36px;
  }

  .feature-tag:first-child {
    width: auto;
  }

  .feature-tag:last-child {
    width: auto;
  }

  .feature-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .carousel-controls-wrapper {
    margin-top: 25px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 36px;
    height: 36px;
  }

  .blog-hero-orb {
    display: none;
  }
}



/* Articles Section Container */
.blog-articles-section {
  max-width: 1280px;
  margin: 10px auto;
  display: flex;
  flex-direction: column;
  gap: 42px;
}

/* Section Title */
.articles-title {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 130%;
  letter-spacing: -0.02em;
  color: #7B8950;
  width: 100%;
  padding-bottom: 30px;
  padding-left: 30px;
  padding-top: 50px;
}

/* Main Content Container */
.articles-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  width: 100%;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-tab {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px;
  gap: 10px;
  background: rgba(123, 137, 80, 0.1);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.filter-tab.active {
  background: rgba(123, 137, 80, 0.39);
}

.filter-tab:hover {
  background: rgba(123, 137, 80, 0.25);
  transform: translateY(-2px);
}

.filter-tab-text {
  font-family: 'Mulish', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: -0.02em;
  color: #808C4A;
}

.filter-tab.active .filter-tab-text {
  font-weight: 600;
}

/* Articles Grid */

/* Articles Grid */
.articles-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  gap: 62px;
  width: 100%;
}

.articles-grid-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 48px 20px; 
  width: 100%;
  padding: 0 20px;
}

/* Article Card */
.article-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc(33.333% - 14px); 
  max-width: 390px;
  min-width: 300px;
  background: rgba(123, 137, 80, 0.09);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}



.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(123, 137, 80, 0.2);
}

.article-image {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0; 
  gap: 10px;
  width: 100%;
  height: 213px;
  border-radius: 20px 20px 0 0; 
  position: relative;
  overflow: hidden; 
}

.article-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  border-radius: 20px 20px 0 0; 
}

.article-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 15px;
  gap: 20px;
  width: 100%;
  flex-grow: 1;
  justify-content: space-between; 
}

.article-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 10px;
  width: 100%;
}

.article-category {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 4px 10px;
  gap: 10px;
  background: rgba(123, 137, 80, 0.1);
  border-radius: 100px;
  width: fit-content;
}

.category-text {
  font-family: 'Mulish', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 10px;
  line-height: 15px;
  letter-spacing: -0.02em;
  color: #808C4A;
}

.article-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 14px;
  width: 100%;
}

.article-title {
  font-family: 'Mulish', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  width: 100%;
}

.article-excerpt {
  font-family: 'Mulish', sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 10px;
  line-height: 15px;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  width: 100%;
  opacity: 0.8;
}

.article-meta {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  width: 100%;
}

.author-date {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  gap: 13px;
}

.author-info, .date-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  gap: 4px;
}

.icon {
  width: 10px;
  height: 10px;
  background: #FAFAFB;
  border-radius: 50%;
  opacity: 0.7;
}

.author-name, .article-date {
  font-family: 'Mulish', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 10px;
  line-height: 15px;
  letter-spacing: -0.02em;
  color: #FAFAFB;
  opacity: 0.7;
}

.read-time {
  font-family: 'Mulish', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 10px;
  line-height: 15px;
  text-align: right;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  opacity: 0.7;
}

/* Pagination */
.pagination {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  width: 100%;
  max-width: 1283px;
}

.pagination-button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px;
  gap: 10px;
  width: 44px;
  height: 44px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-prev {
  border: 1px solid #7B8950;
  transform: rotate(180deg);
}

.pagination-next {
  background: #7B8950;
}

.pagination-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(123, 137, 80, 0.3);
}

.pagination-prev:hover {
  transform: rotate(180deg) translateY(-2px);
  background: rgba(123, 137, 80, 0.1);
}

.pagination-next:hover {
  background: #6a7840;
  transform: translateY(-2px);
}

.arrow-icon {
  width: 24px;
  height: 24px;
  position: relative;
}

.arrow-icon::before {
  content: '';
  position: absolute;
  left: 12.5%;
  right: 13.93%;
  top: 22.21%;
  bottom: 22.31%;
  background: #7B8950;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.pagination-next .arrow-icon::before {
  background: #FFFFFF;
}

/* Responsive Design */
@media (min-width: 768px) {
  .articles-grid-container {
    justify-content: center;
    gap: 40px 20px;
  }
  
  .article-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .filter-tabs {
    gap: 10px;
  }
  
  .filter-tab {
    padding: 8px 12px;
  }
  
  .filter-tab-text {
    font-size: 12px;
  }
  
  .articles-grid-container {
    gap: 30px 20px; 
    justify-content: center;
  }
  
  .article-card {
    flex: 0 0 calc(50% - 10px); 
    max-width: calc(50% - 10px);
  }
  
  .pagination {
    justify-content: center;
    gap: 20px;
  }
}

/* For larger screens (1024px and above) - 3 columns */
@media (min-width: 1024px) {
  .articles-grid-container {
    gap: 48px 20px;
  }
  
  .article-card {
    flex: 0 0 calc(33.333% - 14px); 
    max-width: calc(33.333% - 14px);
  }
}

@media (max-width: 767px) {
  .articles-grid-container {
    gap: 30px;
    justify-content: center;
  }
  
  .article-card {
    flex: 0 0 100%; 
    max-width: 390px; 
  }
}

@media (max-width: 480px) {
  
  .blog-articles-section {
    gap: 30px;
  }
  
  .articles-content {
    gap: 40px;
  }
  
  .articles-grid {
    gap: 40px;
  }
  
  .article-card {
    max-width: 100%;
  }
  
  .article-image {
    height: 180px;
    padding: 20px 24px;
  }
  
  .article-content {
    padding: 12px;
  }
  .article-meta{
    flex-direction: column;
    align-items: flex-start;
  }
}













/* Company News Section Container */
.company-news-section {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 80px;
  width: 100%;
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Section Title */
.news-title {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 130%;
  text-align: center;
  letter-spacing: -0.02em;
  color: #7B8950;
  width: 100%;
}

/* News Container */
.news-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; 
  width: 90%;
  padding: 0 20px;
  margin: 0 auto;
}

/* News Card */
.news-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc(33.333% - 14px); 
  max-width: 419px;
  min-width: 300px;
  background: rgba(123, 137, 80, 0.09);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}



.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(123, 137, 80, 0.2);
  background: rgba(123, 137, 80, 0.12);
}


.news-image {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0; 
  gap: 10px;
  width: 100%;
  height: 213px;
  border-radius: 20px 20px 0 0; 
  position: relative;
  overflow: hidden; 
  background: transparent; 
}

.news-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  border-radius: 20px 20px 0 0; 
}



.news-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 15px;
  gap: 20px;
  width: 100%;
  flex-grow: 1;
  justify-content: space-between; 
}

.news-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 10px;
  width: 100%;
  height: 54px;
}

.news-category {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 4px 10px;
  gap: 10px;
  background: rgba(123, 137, 80, 0.1);
  border-radius: 100px;
  width: fit-content;
}

.category-text {
  font-family: 'Mulish', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 10px;
  line-height: 15px;
  letter-spacing: -0.02em;
  color: #808C4A;
  white-space: nowrap;
}

.news-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 14px;
  width: 100%;
  height: 21px;
}

.news-headline {
  font-family: 'Mulish', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-meta {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  width: 100%;
  height: 15px;
}

.date-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  gap: 4px;
}

.icon {
  width: 10px;
  height: 10px;
  background: #FAFAFB;
  border-radius: 50%;
  opacity: 0.7;
}

.news-date {
  font-family: 'Mulish', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 10px;
  line-height: 15px;
  letter-spacing: -0.02em;
  color: #FAFAFB;
  opacity: 0.7;
}

.read-time {
  font-family: 'Mulish', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 10px;
  line-height: 15px;
  text-align: right;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  opacity: 0.7;
}

/* Responsive Design */
@media (min-width: 1024px) {
  .news-container {
    gap: 13px;
    justify-content: space-between;
  }
  
  .news-card {
    max-width: 419px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .news-container {
    gap: 20px;
  }
  
  .news-card {
    max-width: calc(50% - 10px);
  }
}

@media (max-width: 767px) {
  .company-news-section {
    gap: 60px;
  }
  
  .news-container {
    gap: 30px;
    flex-direction: column;
    align-items: stretch;
  }
  
  .news-card {
    max-width: 100%;
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .company-news-section {
    gap: 40px;
  }
  
  .news-image {
    height: 180px;
    padding: 0; 
  }
  
  .news-content {
    padding: 12px;
    height: auto;
    min-height: 119px;
  }
  
  .news-headline {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    height: auto;
    min-height: 21px;
  }
}

/* Animation for card entrance */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.news-card {
  animation: fadeInUp 0.6s ease-out;
}

.news-card:nth-child(2) {
  animation-delay: 0.1s;
}

.news-card:nth-child(3) {
  animation-delay: 0.2s;
}


/* ========================================= */
/* NEWSLETTER SUBSCRIPTION SECTION */
/* ========================================= */

.newsletter-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 70px 80px;
  gap: 10px;
  width: 100%;
  background: rgba(123, 137, 80, 0.1);
  margin: 0 auto;
}

.newsletter-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px;
  gap: 70px;
  width: 100%;
  max-width: 1283px;
  margin: 0 auto;
}

.newsletter-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px;
  gap: 70px;
  width: 100%;
}

.newsletter-title {
  font-family: 'Mulish', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(2.5rem, 4vw, 3.375rem);
  line-height: 130%;
  text-align: center;
  letter-spacing: -0.02em;
  color: #7B8950;
  width: 100%;
  margin: 0;
}

.newsletter-form {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 8px 24px;
  gap: 20px;
  width: 100%;
  max-width: 694px;
  height: 66px;
  background: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  transition: all 0.3s ease;
}

.newsletter-form:focus-within {
  box-shadow: 0 0 0 2px rgba(123, 137, 80, 0.3);
  border-color: #7B8950;
}

.newsletter-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Mulish', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: rgba(1, 1, 1, 0.84);
  min-width: 0;
}

.newsletter-input::placeholder {
  color: rgba(1, 1, 1, 0.6);
}

.newsletter-button {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 13.5px 24px;
  gap: 10px;
  min-width: 145px;
  height: 50px;
  background: #FCB117;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Mulish', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  border: none;
}

.newsletter-button:hover {
  background: #E6AA28;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(252, 177, 23, 0.3);
}

.newsletter-button:active {
  transform: translateY(0);
}

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

/* Tablet Breakpoint (1024px) */
@media (max-width: 1024px) {
  .newsletter-section {
    padding: 60px 40px;
  }
  
  .newsletter-container {
    gap: 60px;
  }
  
  .newsletter-content {
    gap: 60px;
  }
  
  .newsletter-form {
    max-width: 600px;
    height: 60px;
  }
  
  .newsletter-button {
    min-width: 130px;
    height: 48px;
    padding: 12px 20px;
  }
}

/* Tablet Breakpoint (768px) */
@media (max-width: 768px) {
  .newsletter-section {
    padding: 50px 30px;
  }
  
  .newsletter-container {
    gap: 50px;
  }
  
  .newsletter-content {
    gap: 50px;
  }
  
  .newsletter-form {
    max-width: 100%;
    height: 56px;
    padding: 8px 20px;
  }
  
  .newsletter-input {
    font-size: 16px;
  }
  
  .newsletter-button {
    min-width: 120px;
    height: 44px;
    padding: 10px 18px;
    font-size: 16px;
  }
}

/* Mobile Breakpoint (480px) */
@media (max-width: 480px) {
  .newsletter-section {
    padding: 40px 20px;
  }
  
  .newsletter-container {
    gap: 40px;
  }
  
  .newsletter-content {
    gap: 40px;
  }
  
  .newsletter-form {
    flex-direction: column;
    height: auto;
    padding: 20px;
    gap: 16px;
    border-radius: 24px;
  }
  
  .newsletter-input {
    width: 100%;
    text-align: center;
    font-size: 16px;
    padding: 12px 0;
  }
  
  .newsletter-button {
    width: 100%;
    height: 48px;
    border-radius: 20px;
  }
  
  .newsletter-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }
}

/* Small Mobile Breakpoint (360px) */
@media (max-width: 360px) {
  .newsletter-section {
    padding: 30px 16px;
  }
  
  .newsletter-container {
    gap: 30px;
  }
  
  .newsletter-content {
    gap: 30px;
  }
  
  .newsletter-form {
    padding: 16px;
  }
}


/* ========================================= */
/* BLOG DETAIL VIEW STYLES */
/* ========================================= */

.blog-detail-view {
  display: none;
  width: 100%;
  min-height: 100vh;
  background: #191916;
  position: relative;
  overflow-x: hidden;
}

.blog-detail-container {
  width: 100%;
  max-width: 1209px;
  margin: 0 auto;
  padding: 140px 20px 80px;
  position: relative;
  z-index: 2;
}

/* Back Button */
.blog-detail-back {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  cursor: pointer;
  width: fit-content;
  padding: 10px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.blog-detail-back:hover {
  background: rgba(255, 255, 255, 0.1);
}

.blog-detail-back i {
  font-size: 16px;
  color: #7B8950;
}

.blog-detail-back span {
  font-family: 'Mulish', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.02em;
  color: #7B8950;
}

/* Header Section */
.blog-detail-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 60px;
  text-align: center;
}

.blog-detail-category {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: -0.02em;
  color: #808C4A;
  order: 2;
}

.blog-detail-main-title {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 130%;
  letter-spacing: -0.02em;
  color: #808C4A;
  max-width: 900px;
  margin: 0;
  order: 1;
}

.blog-detail-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 60px;
  text-align: center;
}

.blog-detail-author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Mulish', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.8);
}

.blog-detail-author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(123, 137, 80, 0.3);
  background: rgba(255, 255, 255, 0.1); 
}

.blog-detail-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#detailDate,
#detailReadTime {
  display: none !important;
}
/* Blog Detail Hero Image Frames */
.blog-detail-hero-outer-frame {
  width: 100%;
  max-width: 900px;
  height: 600px;
  margin: 0 auto 40px;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.blog-detail-frame-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  filter: brightness(0.5) contrast(2.1);
}

.blog-detail-hero-outer-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.253) 100%,    
    rgba(0, 0, 0, 0.15) 100%,   
    rgb(0, 0, 0) 100%      
  );
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.blog-detail-hero-inner-frame {
  width: 95%;
  height: 95%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 16px;
  overflow: hidden;
  z-index: 2;
  background-size: cover;
  background-position: center;
}
/*  */


/* Content Section */
.blog-detail-content {
  max-width: 800px;
  margin: 0 auto 60px;
}

.blog-detail-paragraph {
  font-family: 'Mulish', sans-serif;
  font-weight: 400;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 160%;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 32px;
}

.blog-detail-content-image {
  width: 100%;
  height: 400px;
  margin: 40px 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.blog-detail-content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* Share Section */
.blog-detail-share {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin: 60px 0;
}

.blog-detail-share-title {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.6);
}

.blog-detail-share-buttons {
  display: flex;
  gap: 16px;
}

.share-button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  background: rgba(252, 177, 23, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.share-button:hover {
  background: rgba(252, 177, 23, 0.1);
}

.share-button.copy-link {
  min-width: 140px;
}

.share-button i {
  font-size: 18px;
  color: #FFFFFF;
}

.copy-link-text {
  font-family: 'Mulish', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-right: 8px;
}

/* Related Articles in Detail View */
.blog-detail-related {
  margin-top: 80px;
}

.blog-detail-related-title {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 130%;
  letter-spacing: -0.02em;
  color: #7B8950;
  margin-bottom: 40px;
  text-align: center;
}

/* Animation for smooth transitions */
.blog-content-transition {
  transition: opacity 0.3s ease-in-out;
}

.blog-content-hidden {
  opacity: 0;
  pointer-events: none;
  display: none;
}

.blog-content-visible {
  opacity: 1;
  pointer-events: all;
  display: block;
}

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

@media (max-width: 768px) {
  .blog-detail-container {
    padding: 120px 20px 60px;
  }

  .blog-detail-hero-image {
    height: 400px;
  }

  .blog-detail-content-image {
    height: 250px;
  }

  .blog-detail-share {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .blog-detail-share-buttons {
    flex-wrap: wrap;
    justify-content: center;
  }

  .blog-detail-meta {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .blog-detail-hero-image {
    height: 200px;
  }

  .blog-detail-content-image {
    height: 200px;
  }

  .share-button.copy-link {
    min-width: 120px;
  }
}

/* Blog View Transitions */
.blog-content-transition {
  transition: opacity 0.3s ease-in-out;
}

.blog-content-hidden {
  opacity: 0;
  pointer-events: none;
  display: none !important;
}

.blog-content-visible {
  opacity: 1;
  pointer-events: all;
  display: block;
}

/* Ensure the detail view is properly hidden initially */
.blog-detail-view {
  display: none;
}

.blog-detail-view.blog-content-visible {
  display: block;
}