/* =============================================
   community.css | 커뮤니티 페이지 전용 스타일
   ============================================= */

/* ── 캘린더 레이아웃 */
.cal-wrap {
  display: grid; grid-template-columns: 1fr 320px;
  gap: 24px; align-items: start;
}

/* 캘린더 네비 */
.cal-main-nav {
  background: var(--green-dark); color: #fff; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.cal-main-nav h2 {
  font-size: var(--text-xl);
  font-weight: 700;
}
.cal-main-nav button {
  background: rgba(255,255,255,.2); border: none; color: #fff;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: var(--text-lg);
  cursor: pointer; transition: var(--trans);
  display: flex; align-items: center; justify-content: center;
}
.cal-main-nav button:hover { background: rgba(255,255,255,.35); }

/* 캘린더 그리드 */
.full-cal-grid {
  display: grid; grid-template-columns: repeat(7,1fr);
  border-left: 1px solid var(--gray-light);
  border-top: 1px solid var(--gray-light);
}
.full-day-header {
  text-align: center; padding: 10px;
  font-size: var(--text-md);
  font-weight: 700; background: var(--gray-bg);
  border-right: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
}
.full-day-header.sun { color: var(--danger); }
.full-day-header.sat { color: var(--info); }
.full-cell {
  min-height: 100px; padding: 6px;
  border-right: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
  background: var(--white); transition: background .15s;
}
.full-cell:hover { background: #f9fbf9; }
.full-cell.today { background: #f0faf5; }
.full-cell.other-month { background: #f9f9f9; }
.cell-date {
  font-size: var(--text-md);
  font-weight: 700; margin-bottom: 4px;
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.cell-date.today-num { background: var(--green-main); color: #fff; }
.cell-date.sun { color: var(--danger); }
.cell-date.sat { color: var(--info); }

/* 이벤트 태그 */
.event-tag {
  font-size: var(--text-xs);
  padding: 2px 6px; border-radius: 3px; margin-bottom: 2px;
  cursor: pointer; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; display: block; transition: opacity .2s;
}
.event-tag:hover { opacity: .8; }
.evt-edu      { background: #d8f3dc; color: #1b4332; }
.evt-activity { background: #fff3e0; color: #e65100; }
.evt-meeting  { background: #e3f2fd; color: #1565c0; }
.evt-club     { background: #f3e5f5; color: #6a1b9a; }

/* 사이드 카드 */
.side-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 20px; box-shadow: var(--shadow); margin-bottom: 16px;
}
.filter-item {
  display: flex; align-items: center; gap: 8px; padding: 6px 0;
  font-size: var(--text-md);
  cursor: pointer;
}
.filter-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }

/* ── 공지사항 테이블 */
.notice-table {
  width: 100%; border-collapse: collapse;
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  font-size: var(--text-md);
}
.notice-table thead tr { background: var(--green-dark); color: var(--white); }
.notice-table th {
  padding: 12px 16px; font-weight: 600;
  text-align: center; font-size: var(--text-md);
}
.notice-table th.col-title { text-align: left; }
.notice-table td {
  padding: 13px 16px; border-bottom: 1px solid var(--gray-light);
  vertical-align: middle;
}
.notice-table tr:last-child td { border-bottom: none; }
.notice-table tr:hover td { background: var(--gray-bg); }
.notice-table tr.pinned td       { background: #f0faf4; }
.notice-table tr.pinned:hover td { background: #e4f5eb; }
/* board-table 공통 핀(고정) 행 스타일 */
.board-table tr.pinned td       { background: #f0faf4; }
.board-table tr.pinned:hover td { background: #e4f5eb; }
.col-num {
  width: 60px; text-align: center;
  color: var(--gray-mid); font-size: var(--text-md);
}
.col-title { cursor: pointer; }
.col-title:hover { color: var(--green-main); text-decoration: underline; }
.col-author {
  width: 90px; text-align: center;
  color: var(--gray-mid); font-size: var(--text-md);
}
.col-date {
  width: 110px; text-align: center;
  color: var(--gray-mid); font-size: var(--text-md);
}
.col-views {
  width: 70px; text-align: center;
  color: var(--gray-mid); font-size: var(--text-md);
}

/* ── 게시물 상세 */
.post-wrap {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.post-head {
  padding: 24px 28px;
  border-bottom: 2px solid var(--green-pale);
}
.post-head h2 {
  font-size: var(--text-xl);
  font-weight: 700; color: var(--green-dark);
  margin-bottom: 14px; line-height: 1.4;
}
.post-meta {
  display: flex; gap: 20px; flex-wrap: wrap;
  font-size: var(--text-md); color: var(--gray-mid);
}
.post-meta span strong { color: var(--gray-dark); margin-left: 4px; }
.post-body {
  padding: 32px 28px;
  font-size: var(--text-base);
  line-height: 1.9; color: var(--gray-dark);
  min-height: 240px;
  border-bottom: 1px solid var(--gray-light);
}
.post-body p { margin-bottom: 14px; }
.post-body strong { color: var(--green-dark); }
.post-attach {
  padding: 16px 28px; border-bottom: 1px solid var(--gray-light);
  display: flex; align-items: center; gap: 12px;
  font-size: var(--text-md); flex-wrap: wrap;
}
.post-attach .attach-label { font-weight: 700; color: var(--gray-dark); flex-shrink: 0; }
.attach-file {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; background: var(--gray-bg);
  border: 1px solid var(--gray-light); border-radius: var(--radius);
  color: var(--green-dark); font-size: var(--text-md);
  cursor: pointer; transition: var(--trans); text-decoration: none;
}
.attach-file:hover { background: var(--green-pale); border-color: var(--green-main); }
.post-nav-item {
  display: flex; align-items: center; gap: 16px;
  padding: 13px 28px; border-bottom: 1px solid var(--gray-light);
  cursor: pointer; transition: var(--trans); font-size: var(--text-md);
}
.post-nav-item:last-child { border-bottom: none; }
.post-nav-item:hover { background: var(--gray-bg); }
.post-nav-label {
  width: 48px; flex-shrink: 0;
  font-size: var(--text-sm); font-weight: 700; color: var(--gray-mid);
}
.post-nav-title { flex: 1; color: var(--gray-dark); }
.post-nav-date  { font-size: var(--text-sm); color: var(--gray-mid); white-space: nowrap; }
.post-actions { display: flex; justify-content: center; gap: 10px; margin: 24px; }


/* ════════════════════════════════════════
   archive.html | 자료실
   ════════════════════════════════════════ */

/* ── 접근 제한 배너 */
.access-banner {
  background: linear-gradient(135deg, #fff8e1, #fff3cd);
  border: 1.5px solid #f9a825;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 32px;
}
.access-banner-icon {
  font-size: var(--text-2xl);
  flex-shrink: 0; margin-top: 2px;
}
.access-banner-body h4 {
  font-size: var(--text-base);
  font-weight: 700; color: #e65100; margin-bottom: 6px;
}
.access-banner-body p {
  font-size: var(--text-md);
  color: #795548; line-height: 1.7;
}
.access-banner-body a {
  color: var(--green-main); font-weight: 700; text-decoration: underline;
}

/* ── 카테고리 사이드바 */
.archive-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px; align-items: start;
}
.archive-sidebar {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
  position: sticky; top: calc(var(--header-h) + 16px);
}
.archive-sidebar-head {
  background: var(--green-dark); color: #fff;
  padding: 14px 18px;
  font-size: var(--text-md);
  font-weight: 700;
}
.archive-cat-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px;
  font-size: var(--text-md);
  color: var(--gray-dark); cursor: pointer;
  transition: var(--trans); border-bottom: 1px solid var(--gray-light);
}
.archive-cat-item:last-child { border-bottom: none; }
.archive-cat-item:hover { background: var(--green-pale); color: var(--green-dark); }
.archive-cat-item.active {
  background: var(--green-pale); color: var(--green-dark); font-weight: 700;
}
.cat-count {
  background: var(--green-pale); color: var(--green-dark);
  font-size: var(--text-xs);
  font-weight: 700; padding: 2px 8px;
  border-radius: 20px; min-width: 24px; text-align: center;
}
.archive-cat-item.active .cat-count {
  background: var(--green-dark); color: #fff;
}

/* ── 파일 타입 아이콘 */
.file-type-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius);
  font-size: var(--text-xs);
  font-weight: 800; flex-shrink: 0; letter-spacing: 0.5px;
}
.file-type-pdf  { background: #fce4ec; color: #c62828; }
.file-type-hwp  { background: #e3f2fd; color: #1565c0; }
.file-type-docx { background: #e8f5e9; color: #2e7d32; }
.file-type-xlsx { background: #f3e5f5; color: #6a1b9a; }
.file-type-zip  { background: #fff3e0; color: #e65100; }
.file-type-img  { background: #fff3e0; color: #e65100; }
.file-type-etc  { background: var(--gray-light); color: var(--gray-mid); }

/* ── 첨부파일 섹션 (자료실·소식지 상세 공통) */
.attach-section {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--gray-bg);
  border-radius: var(--radius);
  border: 1px solid var(--gray-light);
}
.attach-title {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 12px;
}
.attach-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.attach-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
}
.attach-name {
  flex: 1;
  font-size: var(--text-md);
  color: var(--gray-dark);
  word-break: break-all;
}
.attach-size {
  font-size: var(--text-sm);
  color: var(--gray-mid);
  white-space: nowrap;
}
.attach-notice {
  margin-top: 10px;
  font-size: var(--text-sm);
  color: var(--gray-mid);
}
.attach-notice a {
  color: var(--green-main);
  text-decoration: underline;
}

/* ── 자료 목록 행 (카드형) */
.archive-item-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow);
  margin-bottom: 10px; transition: var(--trans); cursor: pointer;
}
.archive-item-row:hover {
  box-shadow: var(--shadow-md);
  border-left: 3px solid var(--green-main);
  padding-left: 17px;
}
.archive-item-body { flex: 1; min-width: 0; }
.archive-item-title {
  font-size: var(--text-base);
  font-weight: 600; color: var(--gray-dark); margin-bottom: 5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.archive-item-row:hover .archive-item-title { color: var(--green-main); }
.archive-item-meta {
  display: flex; gap: 14px;
  font-size: var(--text-sm);
  color: var(--gray-mid); flex-wrap: wrap;
}
.archive-item-meta span { display: flex; align-items: center; gap: 4px; }
.archive-item-actions {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}

/* ── 로그인 유도 오버레이 */
.lock-overlay { position: relative; }
.lock-overlay-mask {
  position: absolute; inset: 0;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(4px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border-radius: var(--radius-lg); z-index: 10; gap: 12px;
}
.lock-overlay-mask .lock-icon { font-size: var(--text-2xl); }
.lock-overlay-mask p {
  font-size: var(--text-base);
  font-weight: 700; color: var(--gray-dark); text-align: center;
}
.lock-overlay-mask small {
  font-size: var(--text-md);
  color: var(--gray-mid); text-align: center;
}

/* ── 통계 카드 */
.archive-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-bottom: 28px;
}
.archive-stat-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px; text-align: center;
  border-top: 3px solid var(--green-main);
}
.archive-stat-num {
  font-size: var(--text-xl);
  font-weight: 700; color: var(--green-dark); margin-bottom: 4px;
}
.archive-stat-label {
  font-size: var(--text-sm);
  color: var(--gray-mid);
}


/* ════════════════════════════════════════
   job.html | 일자리 및 교육정보
   ════════════════════════════════════════ */

/* ── D-day 배지 */
.dday-badge {
  display: inline-block; padding: 2px 8px;
  border-radius: 4px;
  font-size: var(--text-xs);
  font-weight: 700;
}
.dday-hot  { background: #fce4ec; color: #c62828; }
.dday-soon { background: #fff3e0; color: #e65100; }
.dday-safe { background: var(--green-pale); color: var(--green-dark); }
.dday-end  { background: var(--gray-light); color: var(--gray-mid); }


/* ════════════════════════════════════════
   newsletter.html | 협회소식지
   ════════════════════════════════════════ */

/* ── 소식지 카드 그리드 */
.newsletter-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}

/* ── 소식지 카드 */
.nl-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
  transition: var(--trans); cursor: pointer; border: 2px solid transparent;
}
.nl-card:hover {
  border-color: var(--green-main);
  transform: translateY(-4px); box-shadow: var(--shadow-md);
}

/* ── 카드 커버 */
.nl-cover {
  width: 100%; aspect-ratio: 4/4;
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green-main) 60%, var(--green-light) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 24px; position: relative; overflow: hidden;
}
.nl-cover::before {
  content: ''; position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%; background: rgba(255,255,255,.07);
}
.nl-cover::after {
  content: ''; position: absolute;
  bottom: -30px; left: -30px;
  width: 120px; height: 120px;
  border-radius: 50%; background: rgba(255,255,255,.05);
}
.nl-cover-icon {
  font-size: var(--text-2xl);
  margin-bottom: 16px; position: relative; z-index: 1;
}
.nl-cover-year {
  font-size: var(--text-md);
  color: rgba(255,255,255,.75); font-weight: 600;
  letter-spacing: 1px; position: relative; z-index: 1; margin-bottom: 6px;
}
.nl-cover-title {
  font-size: var(--text-lg);
  font-weight: 800; color: #fff; text-align: center;
  line-height: 1.4; position: relative; z-index: 1; word-break: keep-all;
}
.nl-cover-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--accent); color: #fff;
  font-size: var(--text-xs);
  font-weight: 700; padding: 3px 10px; border-radius: 20px; z-index: 2;
}

/* ── 카드 하단 정보 */
.nl-info { padding: 16px 18px; }
.nl-info-title {
  font-size: var(--text-md);
  font-weight: 700; color: var(--gray-dark); margin-bottom: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nl-info-desc {
  font-size: var(--text-sm);
  color: var(--gray-mid); line-height: 1.6; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.nl-info-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: var(--text-sm);
  color: var(--gray-mid);
}
.nl-download-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; background: var(--green-pale);
  color: var(--green-dark); border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 700; border: 1px solid var(--green-light);
  cursor: pointer; transition: var(--trans);
}
.nl-download-btn:hover {
  background: var(--green-main); color: #fff; border-color: var(--green-main);
}

/* ── 최신호 하이라이트 배너 */
.nl-latest-banner {
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  border-radius: var(--radius-lg); padding: 32px 40px;
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 32px; align-items: center; margin-bottom: 40px; color: #fff;
}
.nl-latest-cover {
  width: 100px; height: 134px;
  background: rgba(255,255,255,.15); border-radius: var(--radius);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px; flex-shrink: 0; border: 2px solid rgba(255,255,255,.3);
}
.nl-latest-cover span:first-child { font-size: var(--text-2xl); }
.nl-latest-cover span:last-child  {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.8); font-weight: 700;
}
.nl-latest-info h3 {
  font-size: var(--text-xl);
  font-weight: 800; margin-bottom: 8px; line-height: 1.4;
}
.nl-latest-info p {
  font-size: var(--text-md);
  opacity: .85; line-height: 1.7; word-break: keep-all; margin-bottom: 16px;
}
.nl-latest-info .nl-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.nl-tag {
  background: rgba(255,255,255,.2); color: rgba(255,255,255,.9);
  font-size: var(--text-xs);
  padding: 3px 10px; border-radius: 20px; font-weight: 600;
}
.nl-latest-actions {
  display: flex; flex-direction: column; gap: 10px; flex-shrink: 0;
}

/* ── 연도 필터 탭 */
.year-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.year-tab {
  padding: 7px 18px; border-radius: 20px;
  font-size: var(--text-md);
  font-weight: 600; border: 1.5px solid var(--gray-light);
  background: #fff; color: var(--gray-mid);
  cursor: pointer; transition: var(--trans);
}
.year-tab:hover { border-color: var(--green-main); color: var(--green-main); }
.year-tab.active {
  background: var(--green-dark); border-color: var(--green-dark); color: #fff;
}

/* ── 뷰 전환 버튼 */
.view-toggle { display: flex; gap: 4px; }
.view-btn {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--gray-light); border-radius: var(--radius);
  background: #fff;
  font-size: var(--text-lg);
  cursor: pointer; transition: var(--trans); color: var(--gray-mid);
}
.view-btn.active {
  background: var(--green-dark); border-color: var(--green-dark); color: #fff;
}

/* ── 빈 상태 */
.empty-state { text-align: center; padding: 60px 24px; color: var(--gray-mid); }
.empty-state .empty-icon {
  font-size: var(--text-2xl);
  margin-bottom: 16px;
}
.empty-state p { font-size: var(--text-base); }


/* =============================================
   텍스트 정렬 오버라이드 – 커뮤니티 전용
   ============================================= */
.page-header,
.page-header h1,
.page-header h2,
.page-header p,
.page-header .breadcrumb    { text-align: left !important; }

.board-table .td-title,
.board-table .td-title a,
.notice-table .col-title,
.notice-table .col-title a  { text-align: left !important; }

.section-title,
.section-header h2,
.section-header h3          { text-align: left !important; }

.nl-card .nl-title,
.nl-card .nl-desc,
.nl-card .nl-meta           { text-align: left !important; }

.archive-card .arc-title,
.archive-card .arc-desc,
.archive-card .arc-meta     { text-align: left !important; }

.post-head h2,
.post-head h3               { text-align: left !important; }


/* =============================================
   반응형
   ============================================= */
@media (max-width: 900px) {
  .cal-wrap        { grid-template-columns: 1fr; }
  .archive-layout  { grid-template-columns: 1fr; }
  .archive-sidebar {
    position: static;
    display: grid;
    grid-template-columns: auto repeat(5, 1fr);
  }
  .archive-sidebar-head { display: none; }
  .archive-cat-item {
    flex-direction: column; gap: 4px; text-align: center;
    font-size: var(--text-sm);
    padding: 10px 8px; border-bottom: none;
    border-right: 1px solid var(--gray-light);
  }
  .archive-cat-item:last-child { border-right: none; }
  .newsletter-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nl-latest-banner {
    grid-template-columns: 1fr; padding: 24px 20px; gap: 20px;
  }
  .nl-latest-cover  { display: none; }
  .nl-latest-actions { flex-direction: row; }
}
@media (max-width: 600px) {
  .full-cell        { min-height: 60px; padding: 3px; }
  .event-tag        { display: none; }
  .post-head        { padding: 18px 16px; }
  .post-body        { padding: 20px 16px; }
  .post-nav-item    { padding: 12px 16px; }
  .archive-stats    { grid-template-columns: repeat(2, 1fr); }
  .archive-sidebar  { grid-template-columns: repeat(3, 1fr); }
  .archive-item-row { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .newsletter-grid  { grid-template-columns: 1fr; }
  .nl-latest-actions { flex-direction: column; }
}


/* ════════════════════════════════════════
   gallery.html | 갤러리
   ════════════════════════════════════════ */

/* ── 갤러리 그리드 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

/* ── 갤러리 카드 */
.gallery-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--trans);
  cursor: pointer;
  border: 2px solid transparent;
}
.gallery-card:hover {
  border-color: var(--green-main);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ── 썸네일 이미지 영역 */
.gallery-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--green-pale);
}

/* ── 이미지 없을 때 플레이스홀더 */
.gallery-thumb-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green-main) 60%, var(--green-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-thumb-placeholder::after {
  content: '🌿';
  font-size: var(--text-2xl);
  opacity: 0.6;
}

/* ── 카드 하단 정보 */
.gallery-info {
  padding: 14px 16px;
}
.gallery-title {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gallery-card:hover .gallery-title {
  color: var(--green-main);
}
.gallery-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: var(--text-sm);
  color: var(--gray-mid);
}

/* ── 반응형 */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-info { padding: 10px 12px; }
}