/**
 * GEO是什麼頁面樣式
 * page-what-is-geo.php
 *
 * @package mytheme
 */

/* Optimize section */
.optimize-section {
  padding-top: 115px;
}

.what-geo-items {
  display: flex;
  flex-direction: column;
  gap: 56px;
  max-width: 876px;
  width: 100%;
  margin-top: 76px;
}

.what-geo-item {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.what-geo-item p {
  font-size: 1.75rem;
}

.what-item-title {
  font-size: 1.75rem;
  margin-bottom: 18px;
  padding: 10px 52px;
  color: #000;
  background: #F2F2F2;
  border-radius: 3rem;
  border: 2px solid #000;
}

.seo-geo-difference-items {
  display: flex;
  gap: 32px;
  flex-direction: column;
}

.difference-item {
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
}

.seo-title {
  color: #000;
  background: #ffd036;
  border-radius: 50%;
  max-width: 85px;
  width: 100%;
  height: 85px;
  text-align: center;
  align-content: center;
}

.geo-title {
  color: #FFF;
  background: #960000;
  border-radius: 50%;
  max-width: 85px;
  width: 100%;
  height: 85px;
  text-align: center;
  align-content: center;
}

.why-container {
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 1rem;
  width: 100%;
  margin-top: 80px;
}

.why-container::before,
.why-container::after {
  content: "";
  flex: 1;
  height: 4px;
  background-image: repeating-linear-gradient(to right,
      #000 0,
      #000 10px,
      transparent 10px,
      transparent 22px);
}

.optimize-section .seo-red-title {
  margin-top: 0;
}

.yellow-bg {
  display: flex;
  flex-direction: column;
  position: relative;
  background: #FFFcd7;
  border-radius: 27px;
  margin-top: 36px;
  max-width: 876px;
  width: 100%;
  padding: 57px 41px 20px;
  gap: 32px;
}

.yellow-bg p {
  font-size: 1.5rem;
  z-index: 2;
}

.yellow-bg-img {
  position: absolute;
  right: 1rem;
  bottom: 0;
}

.yellow-bg .page-cta-wrapper {
  margin-top: 0;
}

/* GEO是什麼 */
.what-is-geo-section {
  padding-top: 120px;
}

.geo-description-items {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 24px;
  max-width: 732px;
  margin-top: 82px;
}

.geo-description-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.green-check-mark {
  width: 36px;
  height: 36px;
}

.orange-text {
  color: #FFAB36;
}

.geo-present {
  margin-top: 108px;
  width: 100%;
  max-width: 732px;
}

.difference-color-title {
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 6px;
  width: 100%;
}

.orange-tithe {
  display: inline-block;
  font-size: 2.25rem;
  color: #FFF;
  background: #FFAB36;
  border-radius: 50%;
  border: 3px solid #000;
  max-width: 72px;
  width: 100%;
  height: 72px;
  align-content: center;
}

.yellow-title {
  display: inline-block;
  font-size: 2.25rem;
  color: #595757;
  background: #ffd036;
  border-radius: 50%;
  border: 3px solid #000;
  max-width: 72px;
  width: 100%;
  height: 72px;
  align-content: center;
}

.strategy-items {
  display: flex;
  flex-direction: column;
  margin-top: 33px;
  margin-bottom: 45px;
  gap: 45px;
}

.strategy-item {
  position: relative;
  padding-left: 1.84375rem;
}

.strategy-item::before {
  content: '';
  position: absolute;
  width: 0.8125rem;
  height: 0.8125rem;
  background-color: #960000;
  border-radius: 50%;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 1.03125rem;
}

/* 行銷策略 */
.geo-benefit {
  max-width: 840px;
  width: 100%;
  margin-bottom: 72px;
}

.geo-benefit-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 66px 54px 45px;
  border: 3px solid #000;
  margin-top: -36px;
}

.geo-benefit-item {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}

.geo-advantage {
  display: flex;
  max-width: 1500px;
  width: 100%;
  align-items: center;
  flex-direction: column;
}

.advantage-items {
  display: grid;
  width: 106%;
  grid-template-columns: repeat(2, 1fr);
  gap: 55px 50px;
  margin-top: 48px;
}

.advantage-item {
  display: flex;
  width: 100%;
  max-width: 726px;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.advantage-title {
  font-size: 2rem;
  text-align: center;
  padding: 20px 60px;
  border: 3px solid #000;
  border-radius: 3rem;
  width: 100%;
  max-width: 318px;
  margin-bottom: 30px;
  z-index: 5;
  white-space: nowrap;
}

.advantage-item-img {
  position: absolute;
  right: 11rem;
  top: 2rem;
  z-index: 1;
}

.advantage-text {
  font-size: 1.875rem;
}

.geo-red-text {
  color: #960000;
  background: linear-gradient(to right,
      #FFFFFF 0%,
      #FFFCD7 50%,
      #FFFFFF 100%);
  padding: 30px 51px;
  max-width: 825px;
  width: 100%;
  text-align: center;
}

.geo-red-text-container {
  margin-top: 104px;
  display: flex;
  flex-direction: column;
}

.geo-red-text-container::before {
  content: '';
  height: 3px;
  background-image: repeating-linear-gradient(to right, #000 0, #000 10px, transparent 0px, transparent 15px);
}

.geo-red-text-container::after {
  content: '';
  height: 3px;
  background-image: repeating-linear-gradient(to right, #000 0, #000 10px, transparent 0px, transparent 15px);
}

/* GEO SEO section */
.geo-seo-section {
  padding-top: 182px;
}

.geo-seo-section .section-description {
  margin: 1.375rem 0;
}

.compare-container {
  display: flex;
  flex-direction: row;
  gap: 40px;
  max-width: 1480px;
  width: 100%;
  position: relative;
  justify-content: center;
  margin-top: 76px;
}

.VS-img {
  position: absolute;
  max-width: 192px;
  width: 100%;
  height: auto;
  top: 38%;
}

.compare-seo {
  display: flex;
  flex-direction: column;
  max-width: 720px;
  width: 100%;
  align-items: center;
  border: 3px solid #000;
}

.compare-geo {
  display: flex;
  flex-direction: column;
  max-width: 720px;
  width: 100%;
  align-items: center;
  border: 3px solid #000;
  padding-bottom: 40px;
}

.compare-items {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  gap: 80px;
}

.compare-item {
  display: flex;
  flex-direction: column;
}

.compare-title {
  font-size: 2rem;
  padding: 30px 0 18px;
  width: 100%;
  text-align: center;
  background: #FFFcd7;
  white-space: nowrap;
  border-bottom: 18px solid #ffd036;
}

.item-red-title {
  font-size: 1.875rem;
  color: #960000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.item-red-title::before,
.item-red-title::after {
  content: "";
  flex: 1;
  /* 兩邊線會自動延伸，不會換行 */
  height: 1.5px;
  /* 線的粗度 */
  background-color: #960000;
  /* 線的顏色 */
  max-width: 60px;
  /* 線不要太長 */
}

.seo-compare-item-text {
  text-align: center;
  max-width: 534px;
  width: 100%;
}

.geo-compare-item-text {
  text-align: left;
  max-width: 534px;
  width: 100%;
}

/* GEO優化 */
.geo-enhanced-section {
  padding-top: 182px;
  padding-bottom: 8.125rem;
}

.enhanced-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 155px;
  margin-top: 120px;
}

.enhanced-item {
  position: relative;
  max-width: 836px;
  width: 100%;
}

.gray-title-circle {
  position: absolute;
  font-size: 2.25rem;
  background: #D9D9D9;
  border-radius: 50%;
  max-width: 180px;
  width: 100%;
  height: 180px;
  text-align: center;
  align-content: center;
  transform: translate(-95%, -5%);
}

.enhanced-title,
.enhanced-title-sec {
  font-size: 2.25rem;
  border-bottom: 3px solid #000;
  border-bottom: 3px solid #000;
  padding-left: 40px;
  padding-bottom: 20px;
  max-width: 836px;
}

.enhanced-description-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 50px 0;
}

.enhanced-text {
  display: flex;
  position: relative;
  margin-left: 70px;
}

.enhanced-text::before {
  content: '';
  position: absolute;
  width: 0.8125rem;
  height: 0.8125rem;
  background-color: #ffd036;
  border-radius: 50%;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
}

.wagi-improving {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 855px;
  width: 100%;
  margin-left: 6.25rem;
  margin-top: 15rem;
}

.geo-enhanced-img {
  position: absolute;
}

.data-illustration-img {
  position: absolute;
  max-width: 456px;
  top: -15.3rem;
  left: -3rem;
  z-index: 5;
}

.wagi-improving p {
  font-size: 1.875rem;
  max-width: 580px;
  z-index: 5;
  margin-bottom: 26px;
  margin-left: 4.688rem;
}

.wagi-improving .page-cta-wrapper {
  z-index: 5;
  margin-bottom: -30px;
  margin-top: 1.375rem;
}

@media (max-width: 1440px) {
  .compare-container {
    gap: 65px;
  }

  .VS-img {
    max-width: 155px;
    height: 155px;
    top: 40%;
  }
}

@media (max-width: 1024px) {

  /* GEO是什麼 */
  .advantage-item-img {
    right: 3rem;
    top: 3rem;
  }

  /* GEO SEO */
  .compare-container {
    margin-top: 12px;
    flex-direction: column;
    gap: 145px;
    align-items: center;
  }

  .compare-seo {
    padding-bottom: 60px;
  }

  .VS-img {
    top: 41.4%;
  }

  /* GEO優化 */
  .enhanced-items {
    align-items: flex-end;
    gap: 85px;
  }

  .enhanced-item {
    display: flex;
    flex-direction: row;
    gap: 44px;
  }

  .enhanced-title {
    font-size: 1.75rem;
  }

  .enhanced-title-sec {
    font-size: 1.75rem;
    padding-left: 90px;
  }

  .enhanced-description {
    width: 100%;
  }

  .gray-title-circle {
    transform: translate(-50%, -20%);
    left: 50%;
    width: 155px;
    height: 155px;
    font-size: 1.75rem;
  }

  .wagi-improving {
    margin-left: 0;
  }

  .wagi-improving p {
    font-size: 1.7rem;
    max-width: 460px;
    margin-bottom: 0;
  }

  .data-illustration-img {
    max-width: 350px;
    top: -10.3rem;
    left: -2rem;
  }

  .geo-enhanced-img {
    max-width: 730px;
  }
}

@media (max-width: 768px) {
  .advantage-item-img {
    right: -1rem;
    top: 3rem;
  }
}

@media (max-width: 480px) {

  /* GEO是什麼? 1 */
  .optimize-section {
    padding-top: 20px;
  }

  .what-geo-items {
    margin-top: 20px;
    gap: 28px;
  }

  .what-item-title {
    margin-bottom: 9px;
    padding: 6px 16px;
    border: 1px solid #000;
  }

  .difference-item {
    gap: 13px;
    width: 100%;
    max-width: 239px;
    padding-left: 8px;
  }

  .seo-title,
  .geo-title {
    font-size: 0.75rem !important;
    max-width: 42px;
    height: 42px;
  }

  .why-container {
    margin-top: 34px;
    width: 300px;
    max-width: 300px;
  }

  .why-container::before,
  .why-container::after {
    height: 1px;
    background-image: repeating-linear-gradient(to right, #000 0, #000 5px, transparent 0px, transparent 7px);
  }

  .yellow-bg {
    padding: 12px 16px;
    width: 300px;
    border-radius: 9px;
    margin-top: 12px;
  }

  .yellow-bg p {
    font-size: 0.75rem !important;
    z-index: 5;
    width: 100%;
    max-width: 264px;
  }

  .yellow-bg-img {
    width: 100%;
    max-width: 82px;
    right: 5px;
    bottom: 7px;
  }

  .yellow-bg .page-cta-wrapper {
    position: absolute;
    justify-self: anchor-center;
    bottom: -48px;
  }

  /* GEO是什麼? 2 */
  .what-is-geo-section {
    padding-top: 100px;
  }

  .geo-description-items {
    gap: 8px;
    margin-top: 26px;
  }

  .geo-description-items::after {
    margin-top: 7px;
    content: '';
    height: 1px;
    background-image: repeating-linear-gradient(to right, #000 0, #000 5px, transparent 0px, transparent 7px);
  }

  .geo-description-item {
    gap: 4px;
  }

  .geo-description-item p {
    font-size: 0.75rem !important;
  }

  .green-check-mark {
    width: 14px;
    height: 14px;
  }

  .geo-present {
    margin-top: 18px;
  }

  /* 行銷策略 */
  .geo-present {
    justify-items: anchor-center;
  }

  .difference-color-title {
    gap: 2px;
  }

  .orange-tithe {
    font-size: 0.938rem;
    width: 30px;
    height: 30px;
    border: 1px solid #000;
  }

  .yellow-title {
    font-size: 0.938rem;
    width: 30px;
    height: 30px;
    border: 1px solid #000;
  }

  .strategy-items {
    margin-top: 12px;
    margin-bottom: 15px;
    gap: 15px;
  }

  .strategy-item {
    padding-left: 9px;
  }

  .strategy-item::before {
    width: 4px;
    height: 4px;
  }

  /* 效益 */
  .geo-benefit {
    margin-bottom: 24px;
  }

  .geo-benefit-items {
    padding: 22px 10px 12px;
    border: 1px solid #000;
    margin-top: -12px;
    gap: 8px;
  }

  .geo-benefit-item p {
    font-size: 0.875rem !important;
  }

  /* 行銷優勢 */
  .advantage-items {
    grid-template-columns: repeat(1, 1fr);
    margin-top: 16px;
    gap: 18px;
  }

  .advantage-title {
    margin-bottom: 10px;
    padding: 8px 0;
    border: 1px solid #000;
    width: 100%;
    max-width: 125px;
  }

  .advantage-text {
    width: 100%;
    max-width: 242px;
  }

  .advantage-item-img {
    width: 20px;
    height: auto;
    right: 85px;
    bottom: 56px;
    top: auto;
  }

  .geo-red-text {
    margin-top: 0;
    padding: 10px 17px;
    width: 270px;
  }

  .geo-red-text-container {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
  }

  .geo-red-text-container::before {
    content: '';
    height: 1px;
    background-image: repeating-linear-gradient(to right, #000 0, #000 5px, transparent 0px, transparent 7px);
  }

  .geo-red-text-container::after {
    content: '';
    height: 1px;
    background-image: repeating-linear-gradient(to right, #000 0, #000 5px, transparent 0px, transparent 7px);
  }

  /* GEO SEO */
  .geo-seo-section {
    padding-top: 64px;
  }

  .geo-seo-section .section-description {
    margin: 0;
    margin-bottom: 1rem;
  }

  .compare-items {
    gap: 18px;
    margin-top: 12px;
  }

  .item-red-title {
    gap: 4px;
  }

  .item-red-title::before,
  .item-red-title::after {
    height: 0.5px;
    max-width: 18px;
  }

  .compare-container {
    margin-top: 12px;
    flex-direction: column;
    gap: 36px;
    align-items: center;
  }

  .compare-title {
    padding: 10px 6px;
    width: 100%;
    text-align: center;
    border-bottom: 6px solid #ffd036;
  }

  .seo-compare-item-text {
    text-align: center;
  }

  .geo-compare-item-text {
    max-width: 220px;
    text-align: left;
  }

  .compare-seo {
    padding-bottom: 24px;
    border: 1px solid #000;
  }

  .compare-geo {
    padding-bottom: 15px;
    border: 1px solid #000;
  }

  .VS-img {
    max-width: 48px;
    height: auto;
    top: 42.7%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  /* GEO優化 */
  .geo-enhanced-section {
    padding: 64px 0;
  }

  .enhanced-items {
    gap: 50px;
    margin-top: 34px;
  }

  .enhanced-item {
    display: flex;
    flex-direction: row;
    gap: 55px;
    max-width: 330px;
    width: 100%;
  }

  .enhanced-title {
    border-bottom: 1px solid #000;
    padding-left: 11px;
    padding-bottom: 5px;
  }

  .enhanced-title-sec {
    border-bottom: 1px solid #000;
    padding-left: 24px;
    padding-bottom: 5px;
  }

  .enhanced-description-container {
    margin: 0;
    margin-top: 12px;
    gap: 8px;
  }

  .enhanced-description {
    max-width: 122PX;
  }

  .enhanced-text {
    margin-left: 11px;
  }

  .enhanced-text::before {
    width: 4px;
    height: 4px;
    left: -8px;
    top: 25%;
  }

  .gray-title-circle {
    left: 50%;
    transform: translate(-50%, -20%);
    max-width: 75px;
    height: 75px;
  }

  /* 瓦吉GEO說明 */

  .wagi-improving {
    margin-top: 101px;
    margin-left: 0;
  }

  .wagi-improving p {
    margin-bottom: -20px;
    margin-left: 20px;
    max-width: 267px;
  }

  .data-illustration-img {
    max-width: 152px;
    top: -4.98rem;
    left: -1.2rem;
  }

  .geo-enhanced-img {
    max-width: 330px;
  }

  .wagi-improving .page-cta-wrapper {
    margin-bottom: 0;
    margin-top: 0;

  }
}