@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700;900&family=ZCOOL+XiaoWei&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --china-red: #c62828;
    --china-red-dark: #a31f1f;
    --gold: #ffd700;
    --gold-dark: #e6c200;
    --cream: #fff8e7;
    --text-dark: #1a1a1a;
    --text-light: #555;
    --white: #ffffff;
    --shadow: rgba(198, 40, 40, 0.15);
}

body {
    font-family: 'Noto Serif SC', 'Songti SC', serif;
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.8;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== Header ========== */
.site-header {
    background: linear-gradient(135deg, var(--china-red) 0%, var(--china-red-dark) 100%);
    color: var(--white);
    padding: 15px 0;
    box-shadow: 0 4px 20px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--white);
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 22px;
    color: var(--china-red);
    font-weight: 900;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.logo-text {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-text span {
    color: var(--gold);
}

/* ========== Navigation ========== */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.main-nav a {
    display: block;
    padding: 10px 18px;
    color: var(--white);
    text-decoration: none;
    font-family: 'Noto Serif SC', serif;
    font-weight: 600;
    font-size: 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--gold);
    color: var(--china-red);
    box-shadow: 0 4px 12px rgba(255,215,0,0.4);
}

/* ========== Hero / Search Section ========== */
.hero {
    background: linear-gradient(180deg, var(--china-red) 0%, var(--china-red-dark) 50%, var(--cream) 100%);
    padding: 60px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,215,0,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero h1 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 48px;
    color: var(--white);
    margin-bottom: 12px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.hero h1 span {
    color: var(--gold);
}

.hero .subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.search-box {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.search-form {
    display: flex;
    background: var(--white);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    border: 3px solid var(--gold);
}

.search-input {
    flex: 1;
    padding: 16px 28px;
    border: none;
    font-size: 17px;
    font-family: 'Noto Serif SC', serif;
    outline: none;
    background: var(--white);
    color: var(--text-dark);
}

.search-btn {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--china-red);
    border: none;
    padding: 0 40px;
    font-size: 17px;
    font-weight: 700;
    font-family: 'Noto Serif SC', serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
    transform: scale(1.02);
}

.hot-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
    position: relative;
    z-index: 1;
}

.hot-tags a {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,0.2);
    color: var(--white);
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid rgba(255,215,0,0.4);
    transition: all 0.3s ease;
}

.hot-tags a:hover {
    background: var(--gold);
    color: var(--china-red);
}

/* ========== Section Titles ========== */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
    position: relative;
}

.section-title h2 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 36px;
    color: var(--china-red);
    display: inline-block;
    padding: 0 30px;
    position: relative;
}

.section-title h2::before,
.section-title h2::after {
    content: '❋';
    color: var(--gold);
    font-size: 24px;
    margin: 0 15px;
}

.section-title .subtitle {
    display: block;
    color: var(--text-light);
    font-size: 15px;
    margin-top: 8px;
}

/* ========== Card Grid ========== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
    transition: all 0.35s ease;
    border: 1px solid rgba(198,40,40,0.08);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(198,40,40,0.2);
    border-color: var(--gold);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, var(--china-red) 0%, var(--gold) 100%);
}

.card-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--china-red);
    color: var(--white);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    width: fit-content;
}

.card-tag.gold {
    background: var(--gold);
    color: var(--china-red);
}

.card-tag.blue {
    background: #1565c0;
}

.card-tag.green {
    background: #2e7d32;
}

.card h3 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    flex: 1;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: var(--text-light);
}

.card-meta .date {
    color: var(--china-red);
    font-weight: 600;
}

.card-link {
    display: inline-block;
    color: var(--china-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

.card-link:hover {
    color: var(--gold-dark);
}

/* ========== Hot Search List ========== */
.hot-list {
    background: var(--white);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
    border: 1px solid rgba(198,40,40,0.08);
}

.hot-list h3 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 22px;
    color: var(--china-red);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hot-list ol {
    list-style: none;
    counter-reset: hot-counter;
}

.hot-list ol li {
    counter-increment: hot-counter;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
    cursor: pointer;
}

.hot-list ol li:last-child {
    border-bottom: none;
}

.hot-list ol li:hover {
    padding-left: 5px;
}

.hot-list ol li::before {
    content: counter(hot-counter);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #ccc;
    color: var(--white);
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.hot-list ol li:nth-child(1)::before {
    background: var(--china-red);
}

.hot-list ol li:nth-child(2)::before {
    background: #e65100;
}

.hot-list ol li:nth-child(3)::before {
    background: var(--gold-dark);
}

.hot-list ol li a {
    flex: 1;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.hot-list ol li a:hover {
    color: var(--china-red);
}

.hot-list .heat {
    color: var(--china-red);
    font-weight: 700;
    font-size: 13px;
}

/* ========== Two Column Layout ========== */
.two-col {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* ========== Event Detail Page ========== */
.page-banner {
    background: linear-gradient(135deg, var(--china-red) 0%, var(--china-red-dark) 100%);
    color: var(--white);
    padding: 50px 0;
    text-align: center;
}

.page-banner h1 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 40px;
    margin-bottom: 10px;
}

.page-banner p {
    font-size: 16px;
    opacity: 0.9;
}

.breadcrumb {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 14px;
}

.breadcrumb ol li a {
    color: var(--china-red);
    text-decoration: none;
}

.breadcrumb ol li a:hover {
    text-decoration: underline;
}

.breadcrumb ol li::after {
    content: '›';
    margin-left: 8px;
    color: #999;
}

.breadcrumb ol li:last-child::after {
    display: none;
}

/* ========== News List ========== */
.news-list {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 22px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s;
    align-items: flex-start;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background: var(--cream);
}

.news-thumb {
    width: 160px;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.news-content {
    flex: 1;
    min-width: 0;
}

.news-content h3 {
    font-family: 'Noto Serif SC', serif;
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.5;
}

.news-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.news-content h3 a:hover {
    color: var(--china-red);
}

.news-content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.news-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-light);
    align-items: center;
}

.news-meta .cat {
    background: var(--china-red);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 600;
}

/* ========== Contest Calendar ========== */
.calendar {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.calendar-header h3 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 24px;
    color: var(--china-red);
}

.calendar-nav {
    display: flex;
    gap: 10px;
}

.calendar-nav button {
    width: 40px;
    height: 40px;
    border: 2px solid var(--china-red);
    background: var(--white);
    color: var(--china-red);
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s;
}

.calendar-nav button:hover {
    background: var(--china-red);
    color: var(--white);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-weekday {
    text-align: center;
    font-weight: 700;
    color: var(--china-red);
    padding: 10px 0;
    font-size: 14px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s;
    position: relative;
    border: 1px solid #eee;
    background: var(--white);
}

.calendar-day:hover {
    border-color: var(--china-red);
}

.calendar-day.today {
    background: var(--china-red);
    color: var(--white);
    font-weight: 700;
}

.calendar-day.has-contest::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: var(--gold);
    border-radius: 50%;
}

.contest-highlight {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, var(--china-red) 0%, var(--china-red-dark) 100%);
    border-radius: 16px;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contest-highlight .info h4 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 22px;
    margin-bottom: 8px;
}

.contest-highlight .info p {
    opacity: 0.9;
}

.contest-highlight .btn-signup {
    background: var(--gold);
    color: var(--china-red);
    padding: 14px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.contest-highlight .btn-signup:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* ========== Tag Cloud ========== */
.tag-cloud {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
}

.tag-cloud h3 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 22px;
    color: var(--china-red);
    margin-bottom: 20px;
}

.tag-cloud .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-cloud .tags a {
    display: inline-block;
    padding: 8px 18px;
    background: var(--cream);
    color: var(--china-red);
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid rgba(198,40,40,0.2);
    transition: all 0.3s;
}

.tag-cloud .tags a:hover {
    background: var(--china-red);
    color: var(--white);
    transform: translateY(-2px);
}

.tag-cloud .tags a:nth-child(3n) {
    font-size: 16px;
    background: var(--gold);
    color: var(--china-red);
    border-color: var(--gold);
}

.tag-cloud .tags a:nth-child(3n):hover {
    background: var(--china-red);
    color: var(--gold);
}

/* ========== About Page ========== */
.about-content {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
}

.about-content h2 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 28px;
    color: var(--china-red);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--gold);
}

.about-content h3 {
    font-family: 'Noto Serif SC', serif;
    font-size: 20px;
    color: var(--text-dark);
    margin: 25px 0 12px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.9;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--cream);
    border-radius: 16px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature-item:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(198,40,40,0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--china-red) 0%, var(--gold) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.feature-item h4 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 18px;
    color: var(--china-red);
    margin-bottom: 8px;
}

.feature-item p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

/* ========== Contact Page ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-info {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
}

.contact-info h2 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 26px;
    color: var(--china-red);
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid #f0f0f0;
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--cream);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.contact-form {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
}

.contact-form h2 {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 26px;
    color: var(--china-red);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
    background: var(--cream);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--china-red);
    outline: none;
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--china-red) 0%, var(--china-red-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    box-shadow: 0 4px 15px rgba(198,40,40,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198,40,40,0.4);
}

/* ========== Footer ========== */
.site-footer {
    background: var(--text-dark);
    color: #ccc;
    padding: 60px 0 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    font-family: 'ZCOOL XiaoWei', serif;
    color: var(--gold);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--china-red);
    border-radius: 2px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 16px;
}

.social-links a:hover {
    background: var(--china-red);
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #999;
}

.footer-bottom a {
    color: var(--gold);
    text-decoration: none;
}

/* ========== Filter Tabs ========== */
.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    justify-content: center;
}

.filter-tabs button {
    padding: 10px 24px;
    border: 2px solid var(--china-red);
    background: var(--white);
    color: var(--china-red);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s;
}

.filter-tabs button.active,
.filter-tabs button:hover {
    background: var(--china-red);
    color: var(--white);
}

/* ========== Image in Content ========== */
.content-image {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
    margin: 20px 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
    .two-col {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        text-align: center;
    }

    .main-nav ul {
        justify-content: center;
    }

    .hero {
        padding: 40px 0 60px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero .subtitle {
        font-size: 15px;
    }

    .search-form {
        flex-direction: column;
        border-radius: 20px;
    }

    .search-input {
        padding: 14px 20px;
    }

    .search-btn {
        padding: 14px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .card-image {
        height: 180px;
    }

    .news-item {
        flex-direction: column;
    }

    .news-thumb {
        width: 100%;
        height: 180px;
    }

    .calendar-grid {
        gap: 4px;
    }

    .calendar-day {
        font-size: 13px;
    }

    .contest-highlight {
        flex-direction: column;
        text-align: center;
    }

    .page-banner h1 {
        font-size: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .calendar-weekday {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo-text {
        font-size: 18px;
    }

    .main-nav a {
        padding: 8px 12px;
        font-size: 13px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .card {
        margin: 0 5px;
    }
}