diff --git a/index.php b/index.php
index dfd27ed..658fcdd 100644
--- a/index.php
+++ b/index.php
@@ -99,7 +99,16 @@ if ($selectedCategory !== null && $selectedCategory !== '' && !isset($categories
$images): ?>
+
+
+
+
= htmlspecialchars($categoryName, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8') ?>
= count($images) ?> фото
diff --git a/style.css b/style.css
index 0b33355..d9859cb 100644
--- a/style.css
+++ b/style.css
@@ -88,12 +88,22 @@ h2 {
background: var(--surface-soft);
border: 1px solid var(--border);
border-radius: 12px;
- padding: 16px;
+ padding: 12px;
text-decoration: none;
color: var(--text);
transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
+.category-cover {
+ width: 100%;
+ aspect-ratio: 16 / 9;
+ object-fit: cover;
+ border-radius: 10px;
+ border: 1px solid var(--border);
+ display: block;
+ margin-bottom: 10px;
+}
+
.category-card:hover {
transform: translateY(-2px);
box-shadow: 0 10px 22px rgba(31, 111, 235, 0.12);