/* ==================== 3. 品牌理念區域 ==================== */
.section-brandStory {
  background: transparent;
  position: relative;
  overflow: hidden;
}

.section-brandStory .container {
  max-width: 100%;
  padding: 0;
}

.brand-story-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 0;
  align-items: stretch;
  min-height: 600px;
}

.brand-story-image {
  position: relative;
  width: 100%;
  padding-bottom: 56.66%;
  overflow: hidden;
  height: 0;
}

.brand-story-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-story-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-story-title {
  font-size: 2rem;
  font-weight: 400;
  color: #333;
  margin: 0px;
}

.brand-story-subtitle {
  font-size: 2rem;
  font-weight: 400;
  color: #333;
  margin: 0px;
  margin-bottom: 30px;
}

.brand-story-text {
  margin-bottom: 30px;
}

.brand-story-text p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.brand-story-btn {
  max-width: 250px;
}

/* ==================== 4. 知識專欄區域 ==================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 20px;
}

.blog-card {
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card a {
  text-decoration: none;
}

.blog-image {
  position: relative;
  width: 100%;
  padding-bottom: 66.57%; /* 237 ÷ 356 × 100% = 66.57% */
  height: 0;
  overflow: hidden;
  background: #f5f5f5;
}

.blog-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.blog-content {
  background-color: transparent;
  padding: 0 5px;
}

.blog-title {
  font-size: 1rem;
  margin-bottom: 15px;
  line-height: 1.4;
  color: #333;
}

/* ==================== Brand Story RWD ==================== */

/* Laptop: 1024px */
@media (max-width: 1024px) {
  .brand-story-grid {
    grid-template-columns: 50% 50%;
    min-height: 550px;
  }

  .brand-story-content {
    padding: 35px;
  }

  .brand-story-title {
    font-size: 1.85rem;
  }

  .brand-story-subtitle {
    font-size: 1.85rem;
    margin-bottom: 25px;
  }

  .brand-story-text {
    margin-bottom: 25px;
  }

  .brand-story-text p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .brand-story-btn {
    max-width: 230px;
  }
}

/* Tablet: 768px */
@media (max-width: 768px) {
  .brand-story-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .brand-story-image {
    padding-bottom: 60%;
  }

  .brand-story-content {
    padding: 40px 30px;
  }

  .brand-story-title {
    font-size: 1.65rem;
  }

  .brand-story-subtitle {
    font-size: 1.65rem;
    margin-bottom: 20px;
  }

  .brand-story-text {
    margin-bottom: 25px;
  }

  .brand-story-text p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
  }

  .brand-story-btn {
    max-width: 100%;
  }
}

/* Mobile: 480px */
@media (max-width: 480px) {
  .brand-story-image {
    padding-bottom: 75%;
  }

  .brand-story-content {
    padding: 30px 20px;
  }

  .brand-story-title {
    font-size: 1.5rem;
  }

  .brand-story-subtitle {
    font-size: 1.5rem;
    margin-bottom: 18px;
  }

  .brand-story-text {
    margin-bottom: 20px;
  }

  .brand-story-text p {
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 14px;
  }
}

/* ==================== Blog Grid RWD ==================== */

/* Laptop: 1024px */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }

  .blog-title {
    font-size: 0.95rem;
  }
}

/* Tablet: 768px */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
  }

  .blog-image {
    padding-bottom: 70%;
  }

  .blog-content {
    padding: 0 3px;
  }

  .blog-title {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }
}

/* Mobile: 480px */
@media (max-width: 480px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 25px;
  }

  .blog-image {
    padding-bottom: 66.57%;
  }

  .blog-content {
    padding: 0;
  }

  .blog-title {
    font-size: 1rem;
    margin-bottom: 10px;
  }
}
