@charset "UTF-8";

.content-wrapper {
	padding-bottom: 70px;
}

.page-title {
	margin-top: 30px;
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	align-items: center;
	font-size: 24px;
	color: #333;
}

.page-sub {
	max-width: 1100px;
	margin: 15px auto 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 15px;
	color: #555;
}

.page-sub .count-num {
	color: #99c8fd;
	font-weight: bold;
}

.page-sub .filter-area {
	display: flex;
	align-items: center;
	gap: 15px;
}

.page-sub .categories a {
	margin: 0 5px;
	text-decoration: none;
	color: #666;
	transition: color 0.2s;
}

.page-sub .categories a:hover {
	color: #333;
}

.page-sub .categories a.active {
	font-weight: bold;
	color: #333;
}

.search-box {
	display: flex;
	align-items: center;
	border: 1px solid #666;
	border-radius: 6px;
	background: #fff;
	overflow: hidden;
}

.search-box form {
	display: flex;
	align-items: center;
	width: 100%;
}

.search-box input {
	border: none;
	padding: 6px 10px;
	outline: none;
	width: 160px;
	font-size: 14px;
	color: #333;
}

.search-box input::placeholder {
	color: #999;
}

.search-box .search-btn {
	background: url('../images/search.png') no-repeat center;
	background-size: 20px;
	border: none;
	width: 32px;
	height: 32px;
	cursor: pointer;
}

.grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	max-width: 1100px;
	margin: 0 auto;
	padding: 30px;
	background: rgba(255, 255, 255, 0.85);
	border-radius: 20px;
	backdrop-filter: blur(10px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.card {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	cursor: pointer;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
}

.card img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	display: block;
}

.card .info-box {
	position: absolute;
	bottom: 0;
	width: 100%;
	padding: 12px;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(6px);
}

.info-box .title {
	font-size: 15px;
	font-weight: 700;
	color: #333;
	margin-bottom: 2px;
}

.info-box .location {
	font-size: 13px;
	color: #666;
	margin-bottom: 2px;
}

.info-box .desc {
	font-size: 12px;
	color: #555;
}

.info-box .category {
	position: absolute;
	top: 8px;
	right: 30px;
	background: #99c8fd;
	color: #fff;
	padding: 3px 8px;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 600;
}

.pagination {
	display: flex;
	justify-content: center;
	margin-top: 60px;
	gap: 8px;
}

.pagination a {
	padding: 8px 14px;
	border-radius: 8px;
	background: #fff;
	color: #555;
	border: 1px solid #ddd;
	text-decoration: none;
	font-size: 14px;
	transition: 0.2s;
}

.pagination a:hover {
	background: #f5f5f5;
}

.pagination a.active {
	background: #99c8fd;
	color: #fff;
	border: 1px solid #99c8fd;
	font-weight: bold;
}


@media (max-width: 1024px) {

    .page-title,
    .page-sub,
    .grid {
        max-width: 90%;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 24px;
    }

    .card img {
        height: 240px;
    }

}

@media (max-width: 768px) {

    .page-title {
        font-size: 20px;
        margin-top: 20px;
        padding: 0 16px;
    }

    .page-sub {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 0 16px;
    }

    .page-sub .filter-area {
        width: 100%;
        justify-content: space-between;
    }

	.count {
		margin: 0 5px;
	}

    .categories {
        font-size: 14px;
        flex-wrap: wrap;
    }

    .search-box {
        width: 160px;
    }

    .search-box input {
        width: 100%;
        font-size: 13px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .card img {
        height: 220px;
    }

    .info-box .title {
        font-size: 14px;
    }

    .info-box .desc {
        font-size: 11px;
    }

}

@media (max-width: 480px) {

    .page-title {
        font-size: 18px;
    }

    .page-sub {
        font-size: 13px;
    }

	.page-sub .filter-area {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
    }

    .categories {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        font-size: 13px;
    }

    .categories a {
        margin: 0;
    }

    .search-box {
        width: 100%;
		margin-top: 5px;
    }

    .search-box input {
        width: 100%;
    }

    .card img {
        height: 180px;
    }

    .info-box {
        padding: 10px;
    }

    .info-box .title {
        font-size: 13px;
    }

    .info-box .location {
        font-size: 12px;
    }

    .info-box .desc {
        font-size: 11px;
    }

    .info-box .category {
        font-size: 10px;
        padding: 2px 6px;
    }

    .pagination {
        margin-top: 40px;
        gap: 6px;
    }

    .pagination a {
        padding: 6px 10px;
        font-size: 12px;
    }

}

