@charset "utf-8";
/* PC 농장사진(/community/3) — views/community/gallery.php. 모바일 농장사진 화면과 같은 구성 (사이트 초록 #427736) */
.content_main{position:relative; width: 100%; margin: 0 auto;}
.pg_page{width: 1200px; margin: 0 auto; padding-bottom: 40px; color: #222; letter-spacing: -0.3px;}
.pg_page h2, .pg_page p, .pg_page ul{margin: 0; padding: 0;}
.pg_sec{margin-top: 30px;}
.pg_tit{font-size: 22px; font-weight: 800; letter-spacing: -0.6px;}
.pg_sub{margin-top: 6px !important; font-size: 15px; color: #777;}

/* 농장 소식 사진 (사진이 있는 게시글) */
.pg_posts{display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 20px; margin-top: 16px !important; list-style: none;}
.pg_posts li{min-width: 0; list-style: none;}
.pp_item{display: block; color: #222 !important; text-decoration: none;}
.pp_img{display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 14px; background: #f1f4ee;}
.pp_img img{display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s;}
.pp_item:hover .pp_img img{transform: scale(1.04);}
.pp_title{display: block; margin-top: 10px; font-size: 16px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.pp_item:hover .pp_title{color: #427736;}
.pp_date{display: block; margin-top: 3px; font-size: 14px; color: #999;}
.pg_paging{margin-top: 20px;}

/* 농장 둘러보기 (사진 15장) */
.pg_grid{display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 16px !important; list-style: none;}
.pg_grid li{min-width: 0; list-style: none;}
.pg_item{display: block; overflow: hidden; border-radius: 10px; background: #f1f4ee;}
.pg_item img{display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .25s;}
.pg_item:hover img{transform: scale(1.04);}

