/* 사진자료 페이지 전용 스타일 */
.photo-title-row{align-items:center;gap:18px;}
.photo-write-btn{display:inline-flex;align-items:center;justify-content:center;padding:11px 18px;border-radius:999px;background:#4a3932;color:#fff;font-weight:800;border:0;cursor:pointer;white-space:nowrap;}
.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
.photo-card{overflow:hidden;border:1px solid #eee3dc;border-radius:22px;background:#fff;box-shadow:0 12px 28px rgba(55,40,25,.08);transition:transform .2s ease,box-shadow .2s ease;}
.photo-card:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(55,40,25,.13);}
.photo-thumb{height:190px;background:#f6f1ed;overflow:hidden;}
.photo-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.photo-card-body{padding:20px 20px 22px;}
.photo-card-body h3{margin:0 0 10px;color:#222;font-size:20px;font-weight:800;line-height:1.35;letter-spacing:-.03em;}
.photo-card-body p{margin:0 0 16px;color:#666;font-size:15px;line-height:1.65;min-height:48px;}
.photo-meta{display:flex;justify-content:space-between;gap:12px;color:#888;font-size:14px;border-top:1px solid #f0ebe7;padding-top:14px;}
.photo-view-head{padding-bottom:24px;border-bottom:1px solid #eee;}
.photo-view-head h2{margin:0 0 14px;font-size:30px;letter-spacing:-.04em;line-height:1.35;}
.photo-view-meta{display:flex;flex-wrap:wrap;gap:8px 18px;color:#777;font-size:15px;}
.photo-view-gallery{display:grid;grid-template-columns:1fr;gap:18px;margin:28px 0;}
.photo-view-image{margin:0;border-radius:20px;overflow:hidden;background:#f6f1ed;border:1px solid #eee3dc;}
.photo-view-image img{display:block;width:100%;height:auto;max-height:720px;object-fit:contain;background:#faf7f5;}
.photo-view-body{padding:24px 0 8px;color:#555;font-size:17px;line-height:1.9;border-top:1px solid #eee;}
.photo-form{display:grid;gap:18px;}
.photo-form label{display:grid;gap:8px;color:#333;font-weight:800;}
.photo-form input[type="text"],.photo-form input[type="file"],.photo-form textarea{width:100%;border:1px solid #ddd;border-radius:14px;padding:13px 14px;font:inherit;font-weight:400;background:#fff;}
.photo-form textarea{resize:vertical;}
.photo-help{margin:0;color:#777;font-size:14px;}
.photo-form-actions{display:flex;gap:10px;align-items:center;margin-top:8px;}
@media (max-width:980px){.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.photo-content-box{padding:30px 24px !important;}}
@media (max-width:620px){.photo-title-row{align-items:flex-start;}.photo-write-btn{width:100%;}.photo-grid{grid-template-columns:1fr;}.photo-thumb{height:210px;}.photo-content-box{padding:26px 18px !important;}.photo-view-head h2{font-size:24px;}.photo-form-actions{flex-direction:column;align-items:stretch;}.photo-meta{flex-direction:column;gap:4px;}}
