.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.footer-link {
    color: #f1f1f1;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #f39c12;
}
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    min-height: 100vh;
    position: relative;
    padding-bottom: 80px; /* Height of the footer */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #333;
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    text-align: left;
}

.navbar .nav-links li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar .nav-links li a:hover {
    color: #f39c12;
}

.nav-toggle {
    display: none;
}

@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
        flex-direction: column;
        gap: 1rem;
        background-color: #333;
        position: fixed;
        top: 60px;
        right: 0;
        width: 70%;
        max-width: 200px;
        text-align: left;
        padding: 1rem;
        z-index: 1000;
        transition: transform 0.3s ease;
    }

    .navbar .nav-links.active {
        display: flex;
        transform: translateY(0);
    }

    .navbar .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        background: transparent;
        border: none;
        cursor: pointer;
        position: relative;
        z-index: 1100;
        font-size: 1.5rem;
        color: #f39c12;
        transition: color 0.3s ease;
    }

    .navbar .nav-toggle:hover {
        color: #e67e22;
    }
}

.hero {
    text-align: center;
    padding: 0rem 2rem;
    background: linear-gradient(to right, #f39c12, #e67e22);
    color: #fff;
}

.hero .container {
    padding: 4rem 0 0;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero .btn-primary {
    padding: 0.75rem 1.5rem;
    background-color: #fff;
    border: none;
    color: #f39c12;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero .btn-primary:hover {
    background-color: #f1c40f;
}

/* List Hero */
.list-hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(to right, #34495e, #2c3e50);
    color: #fff;
}

.content-list {
    padding: 1rem 0;
    background-color: #f9f9f9;
}

.content-card {
    border-bottom: 2px solid var(--border_color);
    display: flex;
    height: 120px;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.content-card:hover {
    background-color: #f1f1f1;
}

.content-card .card-icon {
    align-items: center;
    border-radius: 5px;
    display: flex;
    overflow: hidden;
    width: 150px;
}

.content-card .card-icon img {
    border: none;
    width: 100%;
}

.content-card .card-main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-left: 12px;
    width: calc(100% - 150px);
}

.card-title {
    color: var(--card_title_text_color);
    font-size: 14px;
    font-weight: 600;
    height: 60px;
    line-height: 20px;
    overflow: hidden;
}

.card-info {
    color: var(--timeline_color);
    font-size: 14px;
    font-weight: 400;
    height: 20px;
    line-height: 20px;
}

.card-info .ads-flag {
    color: #999;
    font-size: 12px;
}
/* Article Detail Section */
.article-detail {
    padding: 4rem 0;
    background-color: #fff;
}

.article-detail .container {
    padding: 2rem 1rem;
}

.article-detail h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.article-detail .publish-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.article-detail p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1rem;
}

/* Image in Detail */
.article-detail img {
    max-width: 100%;
    height: auto;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.footer-fixed {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    text-align: center;
}

.footer-content {
    padding: 1rem 0;
}

.footer-content .container {
    font-size: 1rem;
}

.loading-spinner {
    display: none;
    text-align: center;
    padding: 1rem;
    font-size: 2rem;
    color: #f39c12;
}

img {
    overflow-clip-margin: content-box;
    overflow: clip;
}


/* Form */
form {
    background-color: #fff;
    padding: 100px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Form Labels */
form .form-label {
    font-weight: bold;
    color: #333;
}

/* Form Inputs */
form .form-control {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Submit Button */
form .btn-theme {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

form .btn-theme:hover {
    background-color: #0056b3;
}

/* Sign Up Link */
.text-muted {
    color: #6c757d !important;
}

.text-current {
    color: #007bff !important;
}

.text-current:hover {
    color: #0056b3 !important;
}

.page-main {
    padding: 80px 20px;
    background-color: #fff;
}

.page-header {
    text-align: center;
    margin-bottom: 30px;
}

#pageTitle {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

#pageDesc {
    font-size: 1.2rem;
    color: #666;
}

.page-content {
    line-height: 1.8;
    font-size: 1rem;
    color: #444;
}

.page-content p {
    margin-bottom: 20px;
}

.page-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
}

.anchor-ad {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #f8f9fa; /* 更加接近 Google 常见广告的颜色 */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    text-align: center;
    line-height: 100px;
    font-size: 16px;
    color: #333;
    z-index: 1000;
    transition: transform 0.5s ease;
    transform: translateY(0);
}

.anchor-ad.ad-hidden {
    transform: translateY(100%);
}

.drawer-handle {
    position: absolute;
    top: -15px;
    left: 10px;
    width: 40px;
    height: 15px;
    background-color: #4285f4; /* Google 蓝色 */
    color: #fff;
    text-align: center;
    line-height: 15px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 10px 10px 0 0;
}

.top-anchor-ad {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #f8f9fa; /* 更加接近 Google 常见广告的颜色 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-align: center;
    line-height: 100px;
    font-size: 16px;
    color: #333;
    z-index: 1000;
    transition: transform 0.5s ease;
    transform: translateY(0);
}

.top-anchor-ad.ad-hidden {
    transform: translateY(-100%);
}

.top-drawer-handle {
    position: absolute;
    bottom: -15px;
    left: 10px;
    width: 40px;
    height: 15px;
    background-color: #4285f4; /* Google 蓝色 */
    color: #fff;
    text-align: center;
    line-height: 15px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 0 0 10px 10px;
}
