/**
 * 部落格頁面樣式 (page-blogger.php)
 *
 * 此檔案包含部落格頁面的特定樣式
 *
 * 引入順序：依賴於 global.css
 *
 * @package 起吉科技
 */
/* hero section */
.blogger-hero {
  padding: 0;
}

.hero-image {
  width: 100%;
}

/* ============================================
   2. 外稿寫手 Section (Copywriter)
   ============================================ */
.blogger-copywriter .container {
  position: static;
}

.blogger-copywriter {
  padding: 0 0 210px;
  position: relative;
  margin-top: 16px;
}

.print-line-img {
  position: absolute;
  right: 0;
  top: 210px;
}

.print-line-rwd-img {
  display: none;
}

.notebook-img {
  position: absolute;
  left: 0;
  top: -50px;
  z-index: -1;
}

.service-intro {
  max-width: 705px;
  width: 100%;
}

/* 服務列表 */
.service-list {
  list-style: none;
  padding: 0;
  margin: 34px 0 70px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  position: relative;
}

.service-label-wrapper {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  width: 100%;
  max-width: 190px;
  position: relative;
}

.service-icon {
  position: absolute;
  left: -11px;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  object-fit: contain;
}

.service-label {
  white-space: nowrap;
  border-radius: 24px;
  color: #000;
  border: 2px solid var(--main-001, #20285e);
  background: #fff;
  max-width: 190px;
  width: 100%;
  height: 48px;
  font-size: 20px;
  align-content: center;
  text-align: center;
}

.service-colon {
  display: none;
}

.service-items {
  white-space: nowrap;
}

/* ============================================
   3. 寫手平台 Section (Writer Platform)
   ============================================ */
.blogger-platform {
  position: relative;
  padding: 0 0 210px;
}

.platform-img {
  position: absolute;
  top: -16rem;
  z-index: -5;
  width: 100%;
}

.platform-categories-wrapper {
  display: flex;
  flex-direction: column;
  gap: 65px;
  margin: 60px 0;
  width: 100%;
  align-items: center;
}

.platform-category {
  display: flex;
  flex-direction: row;
  max-width: 1055px;
  width: 100%;
  gap: 56px;
  align-items: center;
}

.platform-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.platform-list li {
  display: flex;
  align-items: flex-start;
}

.platform-list li.separator-line {
  justify-content: center;
  align-items: center;
  min-height: 3px;
  padding: 0;
}

.dashed-line-separator {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.platform-item-wrapper {
  display: flex;
  flex-direction: row;
  gap: 8px;
  width: 100%;
  align-items: center;
}

.platform-item-title {
  color: #ffcc00;
  margin: 0;
  white-space: nowrap;
  max-width: 175px;
  width: 100%;
}

.platform-item-description {
  margin: 0;
}

.platform-title-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 262px;
  width: 100%;
}

.platform-title-bg {
  position: relative;
  height: auto;
  width: 220px;
  z-index: 1;
}

.platform-category-title {
  position: absolute;
  z-index: 2;
  margin: 0;
  font-weight: bold;
}

.ai-writer-img {
  position: absolute;
  top: 72rem;
  z-index: -1;
  left: 0;
}

/* ============================================
   4. SEO文章寫手 Section (SEO Writer)
   ============================================ */

.blogger-seo {
  position: relative;
  padding-bottom: 150px;
}

.blogger-seo .container {
  position: static;
}

.big-seo-img {
  position: absolute;
  right: 0;
  top: 45.5rem;
  z-index: -1;
}

.seo-grid {
  margin: 100px 0 180px;
  display: flex;
  flex-wrap: wrap;
  max-width: 1430px;
  width: 100%;
  justify-content: center;
  gap: 90px 95px;
}

.seo-item {
  position: relative;
  border: 1px solid #fff;
  width: 300px;
  height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(
    3deg,
    rgba(13, 19, 64, 0.25) 2.25%,
    rgba(255, 255, 255, 0.25) 97.96%
  );
  box-shadow:
    0 0 7.8px 0 rgba(255, 255, 255, 0.6),
    4px 7px 8.9px 0 rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

.seo-item-title {
  position: absolute;
  left: -27px;
  top: -30px;
  border-radius: 0 30px 0 0;
  background: var(--main-001, #20285e);
  width: 235px;
  height: 60px;
  text-align: center;
  align-content: center;
}

/* SEO內容優化 - 黃色 */
.seo-grid > .seo-item:nth-child(2) .seo-item-title {
  background: #fc0;
  color: #000;
}

/* 成效追蹤 - 橘色 */
.seo-grid > .seo-item:nth-child(3) .seo-item-title {
  background: #d95431;
}

/* 必備能力 - 黃色 */
.seo-grid > .seo-item:nth-child(4) .seo-item-title {
  background: #fc0;
  color: #000;
}

.seo-item-content {
  max-width: 250px;
  width: 100%;
  justify-self: center;
}

/* 說明 */
.blogger-bottom-img {
  position: absolute;
  left: 0;
  top: 68.6rem;
  z-index: -1;
  width: 100%;
}

.seo-decs-container {
  position: relative;
  max-width: 505px;
  width: 100%;
}

.left-c-img {
  position: absolute;
  left: -185px;
  top: 5px;
  z-index: -1;
}

.right-c-img {
  position: absolute;
  top: -105px;
  right: -355px;
  z-index: -1;
}

.seo-decs {
  text-align: center;
  margin-bottom: 40px;
}

.seo-rwd-img {
  display: none;
}

/* ============================================
   響應式設計 (RWD)
   ============================================ */

@media (max-width: 1440px) {
  .notebook-img {
    width: 21vw;
  }
  .print-line-img {
    width: 27vw;
  }

  .platform-img {
    top: -11rem;
  }
}

/* 平板尺寸 (768px - 1024px) */
@media (max-width: 1024px) {
  /* 日後補充 */
}

/* 手機尺寸 (小於 768px) */
@media (max-width: 480px) {
  .blogger-copywriter {
    padding: 0 0 92px;
  }

  .notebook-img {
    display: none;
  }

  .print-line-img {
    max-width: 145px;
    bottom: 60px;
    top: auto;
  }

  .print-line-rwd-img {
    display: block;
    position: absolute;
    width: auto;
    right: 0;
    top: 51rem;
    z-index: -1;
  }

  .service-list {
    margin: 48px 0 80px;
  }

  .service-list li {
    flex-direction: column;
    font-size: 0.9rem;
    align-items: flex-start;
    gap: 20px;
  }

  .service-icon {
    width: 21px;
    height: 21px;
    left: -7px;
  }

  .service-label-wrapper {
    width: 100%;
    max-width: 133px;
    align-self: center;
  }

  .service-label {
    font-size: 0.875rem;
    width: 100%;
    height: 33px;
    align-content: center;
  }

  .service-items {
    font-size: 0.85rem;
    white-space: wrap;
  }

  /* 寫手平台 */
  .blogger-platform {
    padding: 0 0 92px;
  }

  .blogger-platform .section-dec {
    font-size: 14.89px !important;
  }

  .platform-item-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .platform-categories-wrapper {
    gap: 50px;
    margin: 32px 0 50px;
  }

  .platform-category {
    flex-direction: column;
    max-width: 100%;
    gap: 1rem;
  }

  .blogger-bottom-img {
    display: none;
  }

  .platform-img {
    display: none;
  }

  .ai-writer-img {
    display: none;
  }

  .platform-title-bg {
    width: 120px;
    height: 120px;
  }

  .platform-category-title {
    font-size: 1.1rem;
  }

  .platform-list {
    font-size: 16px;
    gap: 16px;
  }

  .platform-item-title {
    font-size: 1rem;
  }

  .platform-item-description {
    font-size: 0.85rem;
  }

  /* SEO文章寫手 */

  .blogger-seo {
    padding: 0 0 20px;
  }

  .seo-grid {
    margin: 56px 0 37.6px;
    gap: 50px;
  }

  .seo-item {
    display: flex;
    height: 155px;
    max-width: 155px;
    width: 100%;
    padding: 30.397px 13.556px;
    justify-content: center;
    align-items: center;
    gap: 4.108px;
    align-self: stretch;
  }

  .seo-item-title {
    left: -1px;
    top: -33px;
    width: 116.25px;
    height: 32.041px;
    border-radius: 0 12.323px 0 0;
    background: var(--main-001, #20285e);
  }

  .seo-item-content {
    font-size: 13px !important;
    line-height: 18.074px;
  }

  .seo-decs {
    text-align: left;
    margin-bottom: 0;
  }

  .seo-rwd-img {
    display: block;
    margin-bottom: 28px;
  }

  .big-seo-img {
    top: 8.4rem;
    height: 77px;
  }

  .left-c-img {
    display: none;
  }

  .right-c-img {
    display: none;
  }
}
