
.community-zone{margin:22px 0 8px;padding:18px;border:1px solid #d9e5f5;border-radius:22px;background:linear-gradient(180deg,#f9fcff 0%,#eef7fb 100%);box-shadow:0 10px 30px rgba(28,63,104,.08)}
.community-head{text-align:center;margin-bottom:16px}.community-head h3{margin:0;color:#153a73;font-size:25px}.community-head p{margin:7px 0 0;color:#667b96;font-size:13px}
.community-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:15px}.community-tab{border:1px solid #bdd1ec;background:#fff;color:#31557f;border-radius:12px;padding:12px;font-weight:800;cursor:pointer}.community-tab.active{background:#2f6ef4;color:#fff;border-color:#2f6ef4}
.community-panel{display:none}.community-panel.active{display:block}
.gallery-layout{display:grid;grid-template-columns:1.05fr 1.95fr;gap:14px}.cat-card,.gallery-card,.board-compose,.board-list-wrap{background:#fff;border:1px solid #d8e5f3;border-radius:18px;padding:14px}
.cat-photo{position:relative;min-height:250px;border-radius:15px;overflow:hidden;background:linear-gradient(145deg,#111,#4b4b4b);display:flex;align-items:center;justify-content:center;color:#fff;text-align:center}.cat-photo .cat-icon{font-size:82px;filter:grayscale(1)}.cat-photo .cat-top,.cat-photo .cat-bottom{position:absolute;left:12px;right:12px;font-weight:900;text-shadow:0 2px 5px #000}.cat-photo .cat-top{top:14px;font-size:18px}.cat-photo .cat-bottom{bottom:14px;font-size:12px;line-height:1.5}.cat-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:grayscale(1)}
.small-upload{display:block;width:100%;margin-top:9px;padding:10px;border:0;border-radius:10px;background:#eaf2ff;color:#1d56ad;font-weight:800;cursor:pointer}
.status-chips{display:flex;gap:7px;margin:12px 0}.status-chip{padding:7px 11px;border-radius:999px;font-weight:900;font-size:12px}.status-chip.build{background:#fff1e6;color:#d8651a}.status-chip.think{background:#eaf4ff;color:#2869bb}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.gallery-card{padding:0;overflow:hidden}.gallery-thumb{height:125px;background:#edf3fa;display:flex;align-items:center;justify-content:center;color:#8192aa;font-size:12px}.gallery-thumb img{width:100%;height:100%;object-fit:cover}.gallery-meta{padding:10px}.gallery-meta b{display:block;color:#173d70}.gallery-meta span{font-size:11px;color:#7b8ba1}
.gallery-actions{display:flex;gap:8px;margin-top:12px}.gallery-actions button{flex:1;padding:10px;border:0;border-radius:10px;font-weight:800;cursor:pointer}.gallery-actions .primary{background:#2f6ef4;color:#fff}.gallery-actions .soft{background:#eaf4ff;color:#245d9f}
.board-grid{display:grid;grid-template-columns:.9fr 1.6fr;gap:14px}.board-compose label{display:block;margin-bottom:9px;font-size:12px;font-weight:800;color:#34516f}.board-compose select,.board-compose input,.board-compose textarea{width:100%;box-sizing:border-box;border:1px solid #cbd9e8;border-radius:10px;padding:10px;background:#fff}.board-compose textarea{min-height:120px;resize:vertical}.board-submit{width:100%;border:0;border-radius:11px;background:#ff8a4c;color:#fff;font-weight:900;padding:12px;cursor:pointer}.board-guide{margin-top:10px;padding:10px;border-radius:10px;background:#fff8ef;color:#81542f;font-size:11px;line-height:1.55}
.board-list{display:flex;flex-direction:column;gap:8px}.board-item{display:grid;grid-template-columns:86px 1fr auto;gap:10px;align-items:center;border:1px solid #dce7f2;border-radius:12px;padding:11px;background:#fff}.board-badge{display:inline-flex;justify-content:center;padding:6px 8px;border-radius:999px;background:#eaf2ff;color:#275faa;font-size:11px;font-weight:900}.board-item b{display:block;color:#173b6c}.board-item p{margin:4px 0 0;color:#6f8197;font-size:11px}.board-count{font-size:11px;color:#65768a;text-align:right}.community-linkbar{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.community-linkbar button{border:0;border-radius:11px;padding:11px;font-weight:900;cursor:pointer}.community-linkbar .gallery-go{background:#2f6ef4;color:#fff}.community-linkbar .board-go{background:#62c5ca;color:#083e47}
@media(max-width:760px){.gallery-layout,.board-grid{grid-template-columns:1fr}.gallery-grid{grid-template-columns:repeat(2,1fr)}.community-zone{padding:12px}.community-head h3{font-size:21px}.cat-photo{min-height:220px}.board-item{grid-template-columns:74px 1fr}.board-count{grid-column:2;text-align:left}}
/* =========================================
   게시판 ENERGY 상세 운영정책
========================================= */
.nf-energy-policy-board{
  margin:0 0 16px;
  padding:18px;
  border:1px solid #cfdff1;
  border-radius:20px;
  background:linear-gradient(145deg,#f7fbff,#ffffff);
  box-shadow:0 10px 28px rgba(25,63,112,.08);
}

.nf-energy-policy-head{
  text-align:center;
}

.nf-energy-policy-head>span{
  display:inline-flex;
  padding:5px 10px;
  border-radius:999px;
  background:#eaf3ff;
  color:#2562c7;
  font-size:10px;
  font-weight:900;
  letter-spacing:.6px;
}

.nf-energy-policy-head h3{
  margin:9px 0 6px;
  color:#15386d;
  font-size:24px;
  line-height:1.3;
}

.nf-energy-policy-head p{
  max-width:760px;
  margin:0 auto;
  color:#5c708b;
  font-size:13px;
  line-height:1.65;
  font-weight:700;
}

.nf-energy-policy-alert{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:10px;
  align-items:start;
  margin:15px 0;
  padding:12px 13px;
  border:1px solid #ffd08e;
  border-radius:13px;
  background:#fff8ea;
  color:#714900;
  font-size:12px;
  line-height:1.55;
}

.nf-energy-policy-alert b{
  white-space:nowrap;
  color:#d16a00;
}

.nf-energy-policy-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.nf-energy-policy-grid article{
  padding:13px;
  border:1px solid #dbe6f2;
  border-radius:14px;
  background:#fff;
}

.nf-energy-policy-grid article>b{
  display:block;
  margin-bottom:6px;
  color:#174b90;
  font-size:13px;
}

.nf-energy-policy-grid article p{
  margin:0;
  color:#586d86;
  font-size:12px;
  line-height:1.62;
}

.nf-energy-policy-grid article strong{
  color:#f07816;
}

.nf-energy-policy-example{
  margin-top:12px;
  padding:11px 12px;
  border:1px solid #d6e4f2;
  border-radius:12px;
  background:#f6faff;
}

.nf-energy-policy-example summary{
  cursor:pointer;
  color:#1d5fbd;
  font-size:12px;
  font-weight:900;
}

.nf-energy-policy-example div{
  margin-top:8px;
  padding-top:8px;
  border-top:1px dashed #c7d7e8;
}

.nf-energy-policy-example p{
  margin:4px 0;
  color:#5b6e85;
  font-size:11px;
  line-height:1.5;
}

.nf-energy-policy-foot{
  margin:12px 0 0;
  color:#7a899c;
  font-size:10px;
  line-height:1.5;
  text-align:center;
}

@media(max-width:700px){
  .nf-energy-policy-board{
    padding:13px;
    border-radius:16px;
  }

  .nf-energy-policy-head h3{
    font-size:20px;
  }

  .nf-energy-policy-head p{
    font-size:11px;
  }

  .nf-energy-policy-alert{
    grid-template-columns:1fr;
    gap:4px;
  }

  .nf-energy-policy-grid{
    grid-template-columns:1fr;
  }
}


/* 게시판 공식 답변 및 추가 문의 */
.board-thread{margin-top:18px;padding-top:16px;border-top:1px solid #dce6f2}
.board-thread h4,.board-thread-form h4{margin:0 0 10px;color:#123f79;font-size:16px}
.board-thread-list{display:grid;gap:9px}
.board-thread-empty{padding:16px;border-radius:13px;background:#f4f7fb;color:#74849a;text-align:center;font-size:13px}
.board-thread-message{padding:13px 14px;border:1px solid #dce6f2;border-radius:15px;background:#fff}
.board-thread-message.admin{border-color:#bfd4ff;background:#f4f8ff}
.board-thread-message.user{border-color:#ffd7bd;background:#fff8f3}
.board-thread-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}
.board-thread-head b{color:#173f8f;font-size:14px}
.board-thread-message.user .board-thread-head b{color:#b45518}
.board-thread-head span{color:#8190a2;font-size:11px}
.board-thread-text{white-space:pre-wrap;word-break:break-word;color:#344a62;font-size:14px;line-height:1.65}
.board-thread-form{margin-top:14px;padding:14px;border:1px solid #dce6f2;border-radius:15px;background:#f8fbff}
.board-thread-form textarea{width:100%;min-height:105px;resize:vertical;box-sizing:border-box;border:1px solid #cbd9e8;border-radius:12px;padding:11px;font:inherit}
.board-thread-form button{width:100%;min-height:44px;margin-top:9px;border:0;border-radius:12px;background:#2d67f4;color:#fff;font-weight:900;cursor:pointer}
.board-thread-form button:disabled{opacity:.55;cursor:wait}
.board-thread-form p{margin:7px 0 0;color:#728198;font-size:11px;text-align:center}
@media(max-width:640px){.board-thread-head{align-items:flex-start;flex-direction:column;gap:3px}}


/* Gallery like */
.gallery-card-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top:9px;
}
.gallery-like-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-width:58px;
  height:34px;
  padding:0 10px;
  border:1px solid #d9e4f1;
  border-radius:999px;
  background:#fff;
  color:#66798f;
  font-size:16px;
  font-weight:900;
  cursor:pointer;
  transition:.18s ease;
}
.gallery-like-button b{
  color:inherit;
  font-size:12px;
}
.gallery-like-button:hover{
  border-color:#f0a2aa;
  background:#fff7f8;
  color:#df4252;
}
.gallery-like-button.liked{
  border-color:#f3a8af;
  background:#fff0f2;
  color:#df3347;
}
.gallery-like-button:disabled{
  opacity:.55;
  cursor:wait;
}
.community-detail-like{
  display:flex;
  justify-content:flex-end;
  margin:-2px 0 10px;
}
.gallery-like-button.detail-like{
  height:39px;
  min-width:70px;
  font-size:19px;
}
