/* V2.29：指定專區直接顯示完整核可內容，不再要求先點「查看內容」。 */
.full-content-feed{display:grid;gap:22px}
.full-content-item{background:#fff;border:1px solid #eadff1;border-radius:18px;padding:24px;box-shadow:0 8px 26px rgba(62,28,85,.06)}
.full-content-head{padding-bottom:16px;border-bottom:1px solid #eee4f3}
.full-content-head h3{margin:9px 0 0;color:#34104f;font-size:1.4rem;line-height:1.45}
.full-content-meta{display:flex;flex-wrap:wrap;gap:8px 12px;color:#755f7e;font-size:.92rem}
.full-content-meta span{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;background:#f6effa}
.full-content-summary,.full-content-body{margin-top:18px}
.full-content-summary>strong,.full-content-body>strong{display:block;color:#51247a;margin-bottom:8px;font-size:.95rem}
.full-content-summary p{margin:0;padding:14px 16px;border-left:4px solid #9b6db9;border-radius:0 12px 12px 0;background:#faf6fc;line-height:1.8;color:#4f4155}
.full-content-body>div{line-height:1.95;color:#2d2631;white-space:normal}
.full-content-images{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:20px}
.full-content-image{margin:0;border:1px solid #eadff1;border-radius:14px;overflow:hidden;background:#f8f3fa}
.full-content-image img{display:block;width:100%;height:auto;max-height:520px;object-fit:contain;background:#f8f3fa}
.full-content-image figcaption{padding:8px 11px;color:#755f7e;font-size:.86rem}
.full-content-attachments{margin-top:20px;padding-top:18px;border-top:1px solid #eee4f3}
.full-content-attachments h4{margin:0 0 12px;color:#35104f}
.full-content-attachment{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;margin-top:9px;border:1px solid #eadff1;border-radius:12px;background:#fcf9fd}
.full-content-attachment>div:first-child{min-width:0}
.full-content-attachment strong{display:block;overflow-wrap:anywhere;color:#2f2434}
.full-content-attachment small{display:block;margin-top:4px;color:#8a758f}
.full-content-actions{display:flex;gap:8px;flex:0 0 auto}
.full-content-actions .btn-v214{padding:9px 13px;font-size:.9rem}
.full-content-actions .secondary{background:#f1e8f8;color:#51247a;border:1px solid #e1d1eb}
.full-home-sections{align-items:start}
.full-home-sections .full-content-item{padding:20px}
.full-home-sections .full-content-head h3{font-size:1.18rem}

/* V2.30：摘要置左、完整內容置右；窄螢幕自動改為上下排列。 */
.full-content-text-grid{display:grid;grid-template-columns:minmax(220px,.85fr) minmax(0,1.65fr);gap:22px;align-items:start;margin-top:18px}
.full-content-text-grid .full-content-summary,.full-content-text-grid .full-content-body{margin-top:0;min-width:0}
.full-content-text-grid .full-content-summary{height:100%}
.full-content-text-grid .full-content-summary p{height:100%;box-sizing:border-box}
.full-content-text-grid .full-content-body{padding-left:22px;border-left:1px solid #eadff1}

@media(max-width:760px){.full-content-text-grid{grid-template-columns:1fr;gap:16px}.full-content-text-grid .full-content-body{padding-left:0;border-left:0;border-top:1px solid #eadff1;padding-top:16px}.full-content-item{padding:18px}.full-content-attachment{align-items:flex-start;flex-direction:column}.full-content-actions{width:100%;flex-wrap:wrap}.full-content-actions .btn-v214{flex:1;text-align:center}.full-content-meta{gap:6px}.full-home-sections{display:block}.full-home-sections>div+div{margin-top:28px}}

/* =========================================================
   V2.34：每筆已核可／上傳資料的視覺區隔與卡片美化
   適用所有使用 PublicFullFeed() 的前台頁面。
   ========================================================= */

.full-content-feed{
  counter-reset:published-item;
  gap:26px;
}

.full-content-feed > .full-content-item{
  counter-increment:published-item;
  position:relative;
  overflow:hidden;
  border:1px solid #dfd2e7;
  border-left:7px solid #8f61b2;
  border-radius:20px;
  padding:26px 26px 24px;
  background:linear-gradient(135deg,#fff 0%,#fbf7fd 100%);
  box-shadow:0 9px 26px rgba(54,28,74,.075);
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.full-content-feed > .full-content-item:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 34px rgba(54,28,74,.11);
}

/* 每筆資料右上角自動編號，讓多筆資料更容易辨識 */
.full-content-feed > .full-content-item::before{
  content:"資料 " counter(published-item, decimal-leading-zero);
  position:absolute;
  top:0;
  right:0;
  padding:7px 14px 8px 16px;
  border-radius:0 18px 0 16px;
  background:#6f3796;
  color:#fff;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.06em;
  box-shadow:0 4px 12px rgba(67,34,89,.16);
}

/* 同一專區內，多筆資料以不同極淺色調輪替 */
.full-content-feed > .full-content-item:nth-child(4n+1){
  background:linear-gradient(135deg,#fff 0%,#faf4ff 100%);
  border-color:#dac8e6;
  border-left-color:#9462b7;
}
.full-content-feed > .full-content-item:nth-child(4n+2){
  background:linear-gradient(135deg,#fff 0%,#f3fbf7 100%);
  border-color:#cfe4d8;
  border-left-color:#65a47f;
}
.full-content-feed > .full-content-item:nth-child(4n+3){
  background:linear-gradient(135deg,#fff 0%,#fff7f1 100%);
  border-color:#ead7c8;
  border-left-color:#c98c5c;
}
.full-content-feed > .full-content-item:nth-child(4n){
  background:linear-gradient(135deg,#fff 0%,#f3f8ff 100%);
  border-color:#cfdff0;
  border-left-color:#6d98c5;
}

.full-content-item .full-content-head{
  margin:-2px 0 19px;
  padding:0 92px 17px 0;
  border-bottom:1px solid rgba(82,49,99,.13);
}

.full-content-item .full-content-head h3{
  margin-top:11px;
  color:#35104f;
  font-size:1.46rem;
  font-weight:800;
  letter-spacing:.01em;
}

.full-content-item .full-content-meta{
  gap:7px;
}
.full-content-item .full-content-meta span{
  border:1px solid rgba(100,60,121,.09);
  background:rgba(255,255,255,.78);
  color:#70587b;
  box-shadow:0 2px 6px rgba(67,37,83,.035);
}

/* 摘要與完整內容各自成為清楚的子卡片 */
.full-content-item .full-content-text-grid{
  gap:20px;
  align-items:stretch;
}
.full-content-item .full-content-summary,
.full-content-item .full-content-body{
  min-width:0;
}
.full-content-item .full-content-summary > strong,
.full-content-item .full-content-body > strong{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin:0 0 9px;
  padding:5px 10px;
  border-radius:999px;
  background:#efe2f7;
  color:#572778;
  font-size:.88rem;
  font-weight:800;
}
.full-content-item .full-content-summary > strong::before{content:"摘要";font-size:0}
.full-content-item .full-content-body > strong::before{content:"內容";font-size:0}

.full-content-item .full-content-summary p{
  margin:0;
  min-height:78px;
  padding:17px 18px;
  border:1px solid #e7d9ee;
  border-left:5px solid #9b6db9;
  border-radius:14px;
  background:rgba(255,255,255,.74);
  color:#493c50;
  line-height:1.85;
}
.full-content-item .full-content-body{
  padding-left:20px;
  border-left:1px dashed rgba(101,64,121,.22);
}
.full-content-item .full-content-body > div{
  min-height:78px;
  padding:17px 18px;
  border:1px solid #e7e0ea;
  border-radius:14px;
  background:rgba(255,255,255,.88);
  color:#2d2631;
  line-height:1.92;
}

/* 跟隨每張資料卡的色系 */
.full-content-feed > .full-content-item:nth-child(4n+2) .full-content-summary > strong,
.full-content-feed > .full-content-item:nth-child(4n+2) .full-content-body > strong{background:#def1e5;color:#2e704d}
.full-content-feed > .full-content-item:nth-child(4n+2) .full-content-summary p{border-left-color:#65a47f}
.full-content-feed > .full-content-item:nth-child(4n+2)::before{background:#4f8e69}

.full-content-feed > .full-content-item:nth-child(4n+3) .full-content-summary > strong,
.full-content-feed > .full-content-item:nth-child(4n+3) .full-content-body > strong{background:#f7e5d7;color:#865129}
.full-content-feed > .full-content-item:nth-child(4n+3) .full-content-summary p{border-left-color:#c98c5c}
.full-content-feed > .full-content-item:nth-child(4n+3)::before{background:#b67647}

.full-content-feed > .full-content-item:nth-child(4n) .full-content-summary > strong,
.full-content-feed > .full-content-item:nth-child(4n) .full-content-body > strong{background:#dfebf8;color:#345f87}
.full-content-feed > .full-content-item:nth-child(4n) .full-content-summary p{border-left-color:#6d98c5}
.full-content-feed > .full-content-item:nth-child(4n)::before{background:#567fa9}

/* 圖片區與附件區再切出一層，避免和文字混在一起 */
.full-content-item .full-content-images{
  margin-top:22px;
  padding:16px;
  border:1px solid rgba(106,72,125,.13);
  border-radius:16px;
  background:rgba(255,255,255,.60);
}
.full-content-item .full-content-image{
  border-color:#dfd4e5;
  box-shadow:0 4px 14px rgba(62,34,77,.045);
}

.full-content-item .full-content-attachments{
  margin:22px -4px -3px;
  padding:18px 4px 0;
  border-top:1px dashed rgba(89,57,107,.25);
  background:transparent;
}
.full-content-item .full-content-attachments h4{
  display:inline-block;
  margin:0 0 12px;
  padding:5px 10px;
  border-radius:999px;
  background:#f0e6f6;
  color:#51247a;
  font-size:.9rem;
}
.full-content-item .full-content-attachment{
  border:1px solid #e1d5e7;
  background:rgba(255,255,255,.9);
  box-shadow:0 3px 10px rgba(54,29,70,.035);
}
.full-content-item .full-content-attachment + .full-content-attachment{
  margin-top:10px;
}

/* 同一資料內部的區段導引更明顯 */
.full-content-item .full-content-head + .full-content-text-grid{
  position:relative;
}

@media(max-width:760px){
  .full-content-feed{gap:20px}
  .full-content-feed > .full-content-item{
    padding:22px 17px 18px;
    border-left-width:5px;
    border-radius:17px;
  }
  .full-content-feed > .full-content-item::before{
    position:static;
    display:inline-flex;
    width:max-content;
    margin:-4px 0 12px auto;
    border-radius:999px;
    padding:5px 10px;
    font-size:.72rem;
  }
  .full-content-item .full-content-head{
    padding-right:0;
    margin-top:0;
  }
  .full-content-item .full-content-head h3{font-size:1.25rem}
  .full-content-item .full-content-body{
    padding-left:0;
    border-left:0;
    border-top:1px dashed rgba(101,64,121,.2);
    padding-top:15px;
  }
  .full-content-item .full-content-summary p,
  .full-content-item .full-content-body > div{
    min-height:0;
    padding:15px;
  }
  .full-content-item .full-content-images{padding:10px}
}
