
.wmf-cms {
  --wmf-teal: #0b6f73;
  --wmf-teal-2: #0fa3a6;
  --wmf-teal-10: #e7f6f6;
  --wmf-teal-30: #aacfcf;
  --wmf-text: #000;
  --wmf-text-2: #444;
  --wmf-line: #ddd;
  --wmf-surface: #fff;
  --wmf-page: #f2f3f5;

  --wmf-radius-card: 20px;
  --wmf-radius-sm: 8px;
  --wmf-radius-pill: 30px;

  --wmf-space-1: 10px;
  --wmf-space-2: 15px;
  --wmf-space-3: 20px;
  --wmf-space-4: 30px;
  --wmf-space-5: 40px;
  --wmf-space-6: 50px;

  --wmf-container: 1360px;
  --wmf-col: 660px;

  color: var(--wmf-text);
  background: var(--wmf-page);
}

.wmf-cms *,
.wmf-cms *::before,
.wmf-cms *::after {
  box-sizing: border-box;
}

.wmf-cms a {
  color: var(--wmf-teal);
  text-decoration: none;
}

.wmf-cms p {
  margin: 0;
}

.wmf-cms ul {
  margin: 0;
  padding-left: 20px;
}

.wmf-cms li {
  margin: 0;
}

.wmf-cms-container {
  width: 100%;
  max-width: var(--wmf-container);
  margin: 0 auto;
 
}

.wmf-cms-section-icon span{ 
    font-size:20px;
    color: var(--wmf-teal);
}
.icon-client-list:before {
    color: var(--wmf-teal);
}
 .icon-bookmark-02:before {
    color: var(--wmf-teal);
}
.icon-3:before {
   
     color: var(--wmf-teal);
}
.wmf-cms-info-item span{
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    font-size: 26px;
    color: var(--wmf-teal);
}
.icon-icon-date:before {
   color: var(--wmf-teal);
}
.icon-icon-marker:before {
   color: var(--wmf-teal);
}


.wmf-cms-tile-cta span{
font-size: 25px;
    position: relative;
    top: 5px;
    left: 5px;

}

.wmf-cms-mini-head span{
    font-size:18px;
}
/* Page title */
.wmf-cms-page-title {
  padding-top: var(--wmf-space-1);
  display: grid;
  gap: var(--wmf-space-2);
  place-items: center;
  text-align: center;
}

.wmf-cms-h1 {
  margin: 0;
  font-size: 36px;
  line-height: 44px;
  font-weight: 700;
  color: var(--wmf-teal);
}

.wmf-cms-subtitle {
 
  font-size: 18px;
  line-height: 27px;
  font-weight: 400;
  color: var(--wmf-text);
}

/* Rows / grids */
.wmf-cms-row {
  padding-top: var(--wmf-space-6);
  padding-bottom: var(--wmf-space-6);
}

.wmf-cms-grid-2 {
  display: grid;
  grid-template-columns: var(--wmf-col) var(--wmf-col);
  gap: 40px;
  align-items: stretch;
}

/* 左欄卡片 + 右欄圖磚：維持依內容高度頂對齊，避免右欄被強制拉高 */
.wmf-cms-grid-2--align-start {
  align-items: start;
}

/* Card */
.wmf-cms-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--wmf-surface);
  border-radius: var(--wmf-radius-card);
  padding: var(--wmf-space-5);
}

.wmf-cms-card--tall {
  min-height: 430px;
}


/* Section header */
.wmf-cms-section-header {
  display: flex;
  align-items: center;
  gap: var(--wmf-space-1);
  border-bottom: 1px solid var(--wmf-line);
  padding-bottom: var(--wmf-space-3);
}

.wmf-cms-section-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--wmf-teal-10);
  border: 1px solid var(--wmf-teal-30);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.wmf-cms-section-icon img {
  width: 20px;
  height: 20px;
  display: block;
}

.wmf-cms-section-title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  color: var(--wmf-teal);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
}

/* Info list */
.wmf-cms-block {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-top: var(--wmf-space-4);
}

.wmf-cms-block .wmf-cms-actions {
  margin-top: auto;
}

.wmf-cms-info-list {
  display: grid;
  gap: var(--wmf-space-2);
}

.wmf-cms-info-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: var(--wmf-space-2);
  align-items: center;
  width: min(520px, 100%);
}

.wmf-cms-info-item img {
  width: 26px;
  height: 26px;
  display: block;
}

.wmf-cms-info-text {
  font-size: 18px;
  line-height: 26px;
  color: var(--wmf-text-2);
}

.wmf-cms-lead {
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  color: var(--wmf-text);
}

.wmf-cms-bullets {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.wmf-cms-bullets li {
  font-size: 18px;
  line-height: 26px;
  color: var(--wmf-text);
}

/* Buttons */
.wmf-cms-actions {
  padding-top: var(--wmf-space-4);
}

.wmf-cms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 30px;
  border-radius: var(--wmf-radius-pill);
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  user-select: none;
  border: 1px solid transparent;
  background: transparent;
}

.wmf-cms-btn-outline {
  border-color: var(--wmf-teal);
  color: var(--wmf-teal);
}

.wmf-cms-btn-outline:hover {
  background:var(--wmf-teal);
    color:var(--wmf-surface);
}

/* Hero tiles (right column) */
.wmf-cms-tile-stack {
  display: grid;
  gap: 40px;
}

.wmf-cms-tile {
  position: relative;
  height: 195px;
  border-radius: var(--wmf-radius-card);
  overflow: hidden;
}

.wmf-cms-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wmf-cms-tile-title {
  position: absolute;
  left: 52px;
  top: 48px;
  font-size: 25px;
  line-height: 48px;
  font-weight: 700;
  color: #fff;
}

.wmf-cms-tile-cta {
  position: absolute;
  left: 52px;
  top: 90px;
  font-size: 18px;
  line-height: 48px;
  font-weight: 500;
  color: #fbfbfb;
}

.wmf-cms-tile-title--lower {
  top: 68px;
}

/* Activity list */
.wmf-cms-activity-list {
  display: grid;
  gap: 20px;
}

.wmf-cms-activity-item {
  border-radius: var(--wmf-radius-sm);
  background: #f2f3f5;
  padding: 20px;
  
  border-left: 4px solid var(--wmf-teal-2);
}

.wmf-cms-activity-name {
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
  color: var(--wmf-text-2);
}

.wmf-cms-activity-meta {
  margin-top: 10px;
  font-size: 16px;
  line-height: 26px;
  color: var(--wmf-text-2);
}

/* Two-column info cards in last section */
.wmf-cms-card > .wmf-cms-grid-2-equal {
  flex: 1 1 auto;
}

.wmf-cms-card > .wmf-cms-actions {
  margin-top: auto;
}

.wmf-cms-grid-2-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-top: var(--wmf-space-4);
}

.wmf-cms-mini-card {
  background: #f2f3f5;
  border-radius: var(--wmf-radius-sm);
  padding: 20px;
}

.wmf-cms-mini-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  line-height: 26px;
  color: var(--wmf-text-2);
}

.wmf-cms-mini-head img {
  width: 18px;
  height: 18px;
  display: block;
}

.wmf-cms-mini-body {
  margin-top: 16px;
  font-size: 16px;
  line-height: 36px;
  color: var(--wmf-text-2);
}
.wmf-cms-lead{
    padding-bottom: var(--wmf-space-2);
}

  .wmf-cms-sublend{  padding-bottom: var(--wmf-space-3) !important;}
    .more-lg-block{ display:block;}
    .more-sm-block{ display:none;}
    .wmf-cms-featured{     
    padding-top: var(--wmf-space-5) !important;
    padding-bottom: var(--wmf-space-5)!important;
    }
.wmf-cms-activity-name span{ padding-right:10px;}
    .wmf-download-item{ display: flex; justify-content: space-between;}
    .wmf-download-item .wmf-cms-activity-meta{ margin-top:0px;}
    .wmf-cms-featured {
        background: #f3fafa;
    }
   

    .wmf-cms-featured .wmf-cms-card {
        background: transparent;
        padding: 0;
    }

    .wmf-cms-featured-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding-bottom: 30px;
        margin:0 20px;
    }

    .wmf-cms-featured .wmf-cms-section-header {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .wmf-cms-featured .wmf-cms-section-title {
        font-size: 22px;
        line-height: 52px;
        font-weight: 700;
        flex: 0 0 auto;
    }

    .wmf-cms-featured .wmf-cms-block {
        padding-top: 0;
    }

    .wmf-cms-featured .wmf-cms-actions {
        padding-top: 0;
        margin-top: 0;
        flex: 0 0 auto;
    }

    .wmf-cms-featured .wmf-cms-btn {
        font-size: 18px;
        line-height: 24px;
        border-radius: 50px;
        padding: 10px 30px;
    }

    .wmf-cms-featured .wmf-cms-btn-outline {
        background: #0b6f73;
        border-color: #0b6f73;
        color: #fff;
    }

    .wmf-cms-featured .wmf-cms-btn-outline:hover {
        background: #095b5f;
        border-color: #095b5f;
        color: #fff;
    }

    .wmf-cms-featured .wmf-cms-activity-list {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
       margin: 0 20px;
    }

    .wmf-cms-featured .wmf-cms-activity-item {
        display: flex;
        flex-direction: column;
        background: #fff;
        border-radius: 20px;
        border-left: 0;
        overflow: hidden;
        padding: 0;
    }

    .wmf-cms-featured .wmf-cms-activity-item img {
        width: 100%;
        aspect-ratio: 399 / 266;
        object-fit: cover;
        display: block;
    }

    .wmf-cms-featured .wmf-cms-activity-content {
        padding: 15px;
    }

    .wmf-cms-featured .wmf-cms-activity-name {
        font-size: 18px;
        color: #000;
        font-weight: 700;
        margin: 0;
    }

    .wmf-cms-featured .wmf-cms-activity-meta {
        margin-top: 6px;
        color: #444;
        font-size: 16px;
        line-height: 1.45;
        white-space: nowrap;
        -webkit-line-clamp: 2; 
        overflow: hidden;
        text-overflow: ellipsis;
    }


/* Responsive */


@media (max-width: 1249px) {
    .wmf-cms-container {
    
}
    .wmf-cms-section-header{
            padding-bottom: var(--wmf-space-2);
    }
    .wmf-cms-block {
            padding-top: var(--wmf-space-3);
    }
    .wmf-cms-info-item span{
        font-size:20px;
    }
    .wmf-cms-info-list {
    gap: var(--wmf-space-1);
}
    .wmf-cms-info-item{
            gap: var(--wmf-space-1);
    }
    .wmf-cms-section-icon{
        width:30px;
        height:30px;
    }
    .wmf-cms-section-icon span {
    font-size: 16px;
   
}
    .wmf-cms-info-item{
        grid-template-columns: 20px 1fr;
    }
    .wmf-cms-actions {
    padding-top: var(--wmf-space-3);
}
    .wmf-cms-btn{
        padding:5px 20px;
    }
   .wmf-cms-grid-2{
      gap: 30px;
    }
    .wmf-cms-grid-2-equal{
            padding-top: var(--wmf-space-3);
    }
    .wmf-cms-tile-stack {
   
    gap: 30px;
}
    .wmf-cms-mini-head span {
    font-size: 18px;
}
    .wmf-cms-mini-card{
        padding:10px;
    }
    .wmf-cms-activity-name{
        font-size:18px;
    }
    .wmf-cms-activity-item{
        padding:10px;
    }
    .wmf-cms-grid-2-equal{
        gap:20px;
    }
    .wmf-cms-tile{ height:auto;}
    .wmf-cms-row {
    padding-top: var(--wmf-space-4);
    padding-bottom: var(--wmf-space-4);
}
    
    .wmf-cms-page-title {
   
    gap: 0;
   
}
  .wmf-cms-grid-2 {
    grid-template-columns: 1fr;
  }

  .wmf-cms-grid-2-equal {
    grid-template-columns: 1fr;
  }

  .wmf-cms-card {
    padding: 20px;
  }


    
    .wmf-cms-h1 {
    font-size: 25px;
    line-height: 34px;
  }

  .wmf-cms-subtitle {
    font-size: 16px;
    line-height: 22px;
  }

  .wmf-cms-section-title {
    font-size: 18px;
  }

  .wmf-cms-info-text,
  .wmf-cms-lead,
  .wmf-cms-bullets li {
    font-size: 16px;
  } 
    .wmf-cms-featured .wmf-cms-activity-list {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 20px;
        }

        .wmf-cms-featured .wmf-cms-section-title {
            font-size: 18px;
            line-height: 1.4;
        }

        .wmf-cms-featured .wmf-cms-activity-name {
            font-size: 16px;
        }
          
    
    
    
}

@media (max-width: 991px) {
    .wmf-cms-tile {height:auto;}
      .wmf-cms-tile-title {
           left: 24px;
        font-size: 20px;
        top: 30px;
  }
    .wmf-cms-tile-cta {
           left: 24px;
        font-size: 18px;
        top:70px;
  }
    
}

@media (max-width: 768px) {
        .more-sm-block .wmf-cms-actions{ 
        
    padding-top: 20px;
}
    .wmf-cms-featured-head{ margin：0px;}
    .wmf-cms-featured .wmf-cms-activity-list{ margin：0px;}
        .wmf-cms-featured {
    padding-top: var(--wmf-space-4) !important;
    padding-bottom: var(--wmf-space-4) !important;
}
         .more-lg-block{ display:none;}
    .more-sm-block{ display:block;}
        
        .wmf-cms-featured-head {
            margin:0px;
        }

        .wmf-cms-featured .wmf-cms-activity-list {
           margin:0px;
        }
    .wmf-cms-featured .wmf-cms-btn-outline {
        background: transparent;
            border-color: var(--wmf-teal);
                padding: 5px 20px;
            color: var(--wmf-teal);
}
    
    }

@media (max-width: 478px) {
    .wmf-cms-tile {height:auto;}
      .wmf-cms-tile-title {
           left: 24px;
        font-size: 20px;
        top: 10px;
  }
    .wmf-cms-tile-cta {
           left: 24px;
        font-size: 16px;
        top: 40px;
  }
    
}






















