:root {
    --primary-color: #667eea;
    --primary-dark: #5a6fd6;
    --secondary-color: #764ba2;
    --accent-color: #f092b0;
    --text-dark: #333;
    --text-light: #666;
    --text-muted: #999;
    --bg-light: #f8f9fa;
    --bg-white: #fff;
    --border-color: #eaeaea;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.1);
    --radius-small: 8px;
    --radius-medium: 12px;
    --radius-large: 16px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-full {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    padding: 40px 0;
}

.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-dark);
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: var(--bg-white);
    z-index: 1001;
    padding: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: none;
}

.mobile-nav.active {
    transform: translateX(0);
    display: block;
}

.mobile-nav-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav-menu {
    list-style: none;
    margin-top: 50px;
}

.mobile-nav-menu li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-menu a {
    font-size: 16px;
    font-weight: 500;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.footer {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    color: #fff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .logo {
    color: #fff;
    margin-bottom: 20px;
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #fff;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    color: rgba(255,255,255,0.6);
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}

.main-content-area {
    min-width: 0;
}

.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--bg-white);
    border-radius: var(--radius-medium);
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-light);
}

.sidebar-widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-widget-title i {
    color: var(--primary-color);
}

.widget-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-light);
    transition: var(--transition);
}

.tag-item:hover {
    background: var(--primary-color);
    color: #fff;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: var(--bg-light);
    border-radius: var(--radius-small);
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.category-list a:hover {
    background: var(--primary-color);
    color: #fff;
}

.category-list .count {
    background: rgba(0,0,0,0.1);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
}

.category-list a:hover .count {
    background: rgba(255,255,255,0.2);
}

.article-card {
    background: var(--bg-white);
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.article-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-card-image img {
    transform: scale(1.05);
}

.article-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    background: var(--primary-color);
    color: #fff;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 500;
}

.article-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-title a:hover {
    color: var(--primary-color);
}

.article-card-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.article-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    font-size: 13px;
    color: var(--text-muted);
}

.article-card-meta i {
    margin-right: 5px;
}

.pet-card {
    background: var(--bg-white);
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.pet-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.pet-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.pet-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pet-card:hover .pet-card-image img {
    transform: scale(1.05);
}

.pet-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    background: var(--accent-color);
    color: #fff;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 500;
}

.pet-card-content {
    padding: 20px;
}

.pet-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.pet-card-title a:hover {
    color: var(--primary-color);
}

.pet-card-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.pet-card-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pet-card-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pet-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.pet-card-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.pet-card-btn {
    padding: 8px 20px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.pet-card-btn:hover {
    background: var(--primary-dark);
    color: #fff;
}

.topic-card {
    background: var(--bg-white);
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.topic-card-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.topic-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.topic-card:hover .topic-card-image img {
    transform: scale(1.05);
}

.topic-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}

.topic-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.topic-card-count {
    font-size: 13px;
    opacity: 0.8;
}

.topic-card-content {
    padding: 20px;
}

.topic-card-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--bg-white);
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-align: center;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.category-card-icon {
    width: 80px;
    height: 80px;
    margin: 30px auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
}

.category-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.category-card-count {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.category-card-link {
    display: inline-block;
    padding: 10px 25px;
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.category-card-link:hover {
    background: var(--primary-color);
    color: #fff;
}

.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.list-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.list-card:hover {
    box-shadow: var(--shadow-medium);
}

.list-card-image {
    width: 200px;
    height: 150px;
    border-radius: var(--radius-small);
    overflow: hidden;
    flex-shrink: 0;
}

.list-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.list-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.list-card-title a:hover {
    color: var(--primary-color);
}

.list-card-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-card-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
    font-size: 13px;
    color: var(--text-muted);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background: var(--bg-white);
    border-radius: var(--radius-small);
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.pagination a:hover {
    background: var(--primary-color);
    color: #fff;
}

.pagination .active {
    background: var(--primary-color);
    color: #fff;
}

.pagination .disabled {
    opacity: 0.5;
    pointer-events: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 30px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.search-box {
    background: var(--bg-white);
    border-radius: var(--radius-medium);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-light);
}

.search-box-form {
    display: flex;
    gap: 15px;
}

.search-box-form input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-small);
    font-size: 16px;
    outline: none;
    transition: var(--transition);
}

.search-box-form input:focus {
    border-color: var(--primary-color);
}

.search-box-form button {
    padding: 15px 35px;
}

.search-results-info {
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--radius-medium);
    margin-bottom: 25px;
}

.search-results-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.search-results-info p {
    color: var(--text-muted);
    font-size: 14px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-white);
    border-radius: var(--radius-medium);
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.empty-state-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.empty-state-text {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.detail-header {
    background: var(--bg-white);
    border-radius: var(--radius-medium);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-light);
}

.detail-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.detail-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.detail-featured-image {
    width: 100%;
    height: 450px;
    border-radius: var(--radius-medium);
    overflow: hidden;
    margin-bottom: 30px;
}

.detail-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-content {
    background: var(--bg-white);
    border-radius: var(--radius-medium);
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-light);
}

.detail-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-light);
}

.detail-content h2,
.detail-content h3 {
    margin: 30px 0 15px;
    color: var(--text-dark);
}

.detail-content img {
    border-radius: var(--radius-small);
    margin: 20px 0;
}

.related-articles {
    margin-top: 50px;
}

.related-articles h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
}

.hot-article-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.hot-article-item:last-child {
    border-bottom: none;
}

.hot-article-item-image {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-small);
    overflow: hidden;
    flex-shrink: 0;
}

.hot-article-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hot-article-item-content {
    flex: 1;
}

.hot-article-item-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hot-article-item-title a:hover {
    color: var(--primary-color);
}

.hot-article-item-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 5px;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-search {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    background: #fff;
    border-radius: 50px;
    padding: 8px;
}

.hero-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 15px 25px;
    font-size: 16px;
    border-radius: 50px;
}

.hero-search button {
    padding: 15px 40px;
    border-radius: 50px;
}

.features-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-text {
    font-size: 14px;
    color: var(--text-light);
}

.banner-section {
    padding: 60px 0;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.banner-card {
    position: relative;
    height: 300px;
    border-radius: var(--radius-large);
    overflow: hidden;
}

.banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.banner-card:hover img {
    transform: scale(1.05);
}

.banner-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}

.banner-card-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.banner-card-text {
    font-size: 14px;
    opacity: 0.9;
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .content-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .content-layout {
        grid-template-columns: 1fr;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .list-card {
        flex-direction: column;
    }

    .list-card-image {
        width: 100%;
        height: 200px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .banner-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-search {
        flex-direction: column;
        border-radius: var(--radius-medium);
        padding: 10px;
    }

    .hero-search input {
        border-radius: var(--radius-small);
        padding: 12px 15px;
    }

    .hero-search button {
        border-radius: var(--radius-small);
        margin-top: 10px;
    }

    .detail-title {
        font-size: 24px;
    }

    .detail-content {
        padding: 20px;
    }

    .detail-featured-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }

    .pet-card-image {
        height: 180px;
    }

    .article-card-image {
        height: 160px;
    }

    .topic-card-image {
        height: 150px;
    }

    .banner-card {
        height: 200px;
    }
}