/* Start custom CSS for text-editor, class: .elementor-element-e346c80 *//* ====== 澳洲葡萄酒專題（藍灰白主題） ====== */
.wine-article {
  font-family: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
  line-height: 1.85;
  color: #333;
  padding: 20px 30px;
  background-color: #ffffff;
  max-width: 1100px;
  margin: 0 auto;
}

/* 小標題層次感 */
.wine-article h3 {
  color: #1e3a8a;
  border-left: 5px solid #3b82f6;
  padding-left: 10px;
  margin-top: 35px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.highlight {
  color: #2563eb;
  font-weight: bold;
}

/* ===== 圖片 Banner ===== */
.banner img {
  display: block;
  margin: 0 auto 25px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

/* ===== 表格樣式 ===== */
.table-container {
  overflow-x: auto;
  margin: 25px 0;
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  background-color: #fff;
  border-radius: 6px;
  overflow: hidden;
}

.styled-table thead {
  background-color: #1e3a8a;
  color: #fff;
}

.styled-table th,
.styled-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.styled-table tbody tr:nth-child(even) {
  background-color: #f3f4f6;
}

.styled-table tbody tr:hover {
  background-color: #e0f2fe;
  transition: 0.2s;
}

/* ===== CTA 區（新版：文字上行、按鈕自動換行） ===== */
.cta-block {
  text-align: center;
  background-color: #f1f5f9;
  border: 2px solid #3b82f6;
  border-radius: 12px;
  padding: 40px 30px;
  margin: 55px auto;
  max-width: 900px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-block h3 {
  color: #1e3a8a;
  font-weight: 700;
  margin: 0;
}

.cta-block p {
  margin: 0;
  font-size: 1.05em;
  color: #374151;
  max-width: 700px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.cta-block .btn {
  display: inline-block;
  padding: 10px 26px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  color: #fff;
  transition: 0.3s;
  font-size: 1em;
}

.btn.whatsapp {
  background-color: #16a34a;
}

.btn.call {
  background-color: #2563eb;
}

.cta-block .btn:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

/* ===== FAQ 區 ===== */
.faq {
  background-color: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 30px 22px;
  margin-top: 60px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

.faq h3 {
  color: #1e3a8a;
  margin-bottom: 18px;
}

.faq details {
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 12px 14px;
  transition: background 0.3s ease;
}

.faq details:hover {
  background-color: #f3f4f6;
}

.faq summary {
  cursor: pointer;
  font-weight: bold;
  color: #1e3a8a;
}

.faq summary::after {
  content: " ▶";
  font-size: 0.9em;
}

.faq details[open] summary::after {
  content: " ▼";
}

/* ===== 重溫區（PC 圖片保持大圖，上圖下字置中） ===== */
.rewind {
  background-color: #f1f5f9;
  border-left: 5px solid #3b82f6;
  padding: 30px 20px;
  border-radius: 10px;
  margin-top: 70px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.rewind h3 {
  margin-top: 0;
  color: #1e3a8a;
  font-weight: 700;
}

/* 🔹 使用 grid：大圖 + 自動自適應排列 */
.rewind-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* PC大圖 */
  gap: 25px;
  margin-top: 25px;
  align-items: start;
}

/* 每個項目：上圖下字 */
.rewind-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0,0,0,0.08);
  text-decoration: none;
  color: #1e3a8a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rewind-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-bottom: 1px solid #e5e7eb;
  display: block;
}

.rewind-item p {
  padding: 14px 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

.rewind-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* 聯絡資訊 */
.contact-info {
  margin-top: 28px;
  text-align: center;
  font-size: 0.95em;
  color: #1e3a8a;
  line-height: 1.6;
}

/* ===== 響應式調整 ===== */
@media (max-width: 1024px) {
  .rewind-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 平板稍小 */
    gap: 20px;
  }

  .rewind-item p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .rewind {
    padding: 22px 14px;
  }

  .rewind-grid {
    grid-template-columns: 1fr; /* 手機單欄顯示 */
    gap: 18px;
  }

  .rewind-item p {
    font-size: 14px;
  }
}/* End custom CSS */