/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
.header {
    background-color: #1a1a1a;
    color: #fff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    flex: 0 0 auto;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
    background: linear-gradient(45deg, #007bff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo p {
    font-size: 0.9rem;
    color: #ccc;
}

.main-nav {
    flex: 1;
    margin-left: 2rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.5rem 0.8rem;
    border-radius: 5px;
    font-size: 0.9rem;
    white-space: nowrap;
    display: block;
}

.main-nav a:hover {
    color: #007bff;
    background: rgba(255,255,255,0.1);
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.hero-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #ccc;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.feature-icon {
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    margin: 0.5rem;
}

.btn.primary {
    background-color: #007bff;
    color: #fff;
}

.btn.secondary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Services section */
.services {
    padding: 5rem 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

/* About section */
.about {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.feature {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature p {
    color: #666;
    font-size: 0.95rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.about-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.about-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #007bff;
}

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.about-card p {
    color: #666;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-features li {
    color: #666;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.about-features li:before {
    content: "•";
    color: #007bff;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    font-weight: bold;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-card {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .features {
        grid-template-columns: 1fr;
    }
    
    .about-description {
        font-size: 1rem;
    }
}

/* Contact section */
.contact {
    padding: 5rem 0;
    background-color: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

/* Responsive design */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    .header {
        padding: 0.8rem 0;
    }

    .header .container {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        margin-bottom: 0.5rem;
    }

    .main-nav {
        margin: 0.5rem 0 0;
        width: 100%;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.3rem;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 8px;
        padding: 0.5rem;
    }

    .main-nav a {
        text-align: center;
        padding: 0.8rem;
        font-size: 0.95rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin: 0.2rem 0;
        background: rgba(255, 255, 255, 0.05);
    }

    .main-nav a:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(5px);
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-image {
        max-width: 80%;
        margin: 0 auto;
    }

    .hero-features {
        justify-content: center;
    }

    .cta-buttons {
        justify-content: center;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 15px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card,
    .advantage-card,
    .process-card {
        padding: 20px;
    }

    .about-card {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }

    .header {
        padding: 0.6rem 0;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .logo p {
        font-size: 0.8rem;
    }

    .main-nav ul {
        padding: 0.3rem;
    }

    .main-nav a {
        padding: 0.7rem;
        font-size: 0.9rem;
    }

    .hero {
        padding: 5rem 0 2rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-feature {
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    .btn {
        width: 100%;
        margin: 0.5rem 0;
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }

    .service-grid,
    .advantages-grid,
    .process-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .service-card h3,
    .advantage-card h3,
    .process-card h3 {
        font-size: 1.1rem;
    }

    .service-card p,
    .advantage-card p,
    .process-card p {
        font-size: 0.9rem;
    }

    .about-description {
        font-size: 0.95rem;
    }

    .contact-form {
        padding: 20px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.7rem;
        font-size: 0.95rem;
    }

    .footer {
        padding: 1.5rem 0;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
    }

    .copyright {
        font-size: 0.9rem;
    }
}

/* Fix for very small screens */
@media (max-width: 360px) {
    .logo h1 {
        font-size: 1.3rem;
    }

    .main-nav a {
        padding: 0.6rem;
        font-size: 0.85rem;
    }

    .hero-content h2 {
        font-size: 1.6rem;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
    }

    .service-icon,
    .advantage-icon,
    .process-icon {
        font-size: 2rem;
    }
}

.advantages {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.advantage-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #007bff;
}

.advantage-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.advantage-card p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.advantage-features {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: auto;
}

.advantage-features li {
    color: #666;
    font-size: 0.9rem;
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.advantage-features li:before {
    content: "✓";
    color: #28a745;
    position: absolute;
    left: 0;
    font-weight: bold;
}

@media (max-width: 992px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .advantage-card {
        padding: 20px;
    }
}

.process {
    padding: 60px 0;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    position: relative;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.process-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.process-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #007bff;
}

.process-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #007bff;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.process-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.process-card p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.process-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.process-features li {
    color: #666;
    font-size: 0.9rem;
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.process-features li:before {
    content: "→";
    color: #007bff;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px auto;
    max-width: 80%;
    position: relative;
    z-index: 1;
}

.timeline-item {
    display: flex;
    align-items: center;
    flex: 1;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background: #007bff;
    border-radius: 50%;
    margin: 0 auto;
}

.timeline-line {
    height: 2px;
    background: #007bff;
    flex: 1;
    margin: 0 10px;
}

@media (max-width: 992px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline {
        display: none;
    }
}

@media (max-width: 576px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .process-card {
        padding: 20px;
    }
}

/* Add at the beginning of the file */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Adjust based on your header height */
}

/* Update section styles to ensure proper spacing */
section {
    scroll-margin-top: 80px; /* Same as scroll-padding-top */
}

.friend-links {
    margin-top: 2rem;
    text-align: center;
}

.friend-links h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.friend-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.friend-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.friend-links a:hover {
    color: #007bff;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.footer-bottom a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: #007bff;
}

@media (max-width: 768px) {
    .friend-links ul {
        gap: 0.8rem;
    }

    .friend-links a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .friend-links ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    .friend-links a {
        display: block;
        padding: 0.5rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 4px;
    }
}

/* ===== List & Article Pages ===== */
.logo h1 a {
    color: inherit;
    text-decoration: none;
    background: linear-gradient(45deg, #007bff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 7rem 0 2.5rem;
    margin-top: 0;
}

.page-banner h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #fff, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.breadcrumb {
    color: #ccc;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #ccc;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #007bff;
}

.main-wrapper {
    padding: 3rem 0 4rem;
    background: #f8f9fa;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    align-items: start;
}

.main-content {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    padding: 30px;
    min-width: 0;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 90px;
}

.sidebar-block {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    overflow: hidden;
}

.sidebar-title {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    margin: 0;
    padding: 12px 16px;
    font-size: 1rem;
}

.sidebar-title a {
    color: #fff;
    text-decoration: none;
}

.sidebar-title a:hover {
    color: #007bff;
}

.sidebar-list {
    list-style: none;
    padding: 10px;
    margin: 0;
}

.sidebar-item {
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-item:last-child {
    border-bottom: none;
}

.sidebar-item-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 4px;
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.sidebar-item-link:hover {
    color: #007bff;
}

.sidebar-thumb {
    flex: 0 0 80px;
    width: 80px;
    height: 60px;
    overflow: hidden;
    border-radius: 4px;
    background: #eee;
}

.sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sidebar-item-text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Article List */
.article-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-list-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.article-list-item:last-child {
    border-bottom: none;
}

.article-list-thumb {
    flex: 0 0 220px;
    width: 220px;
    height: 160px;
    overflow: hidden;
    border-radius: 8px;
    background: #eee;
}

.article-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.article-list-thumb:hover img {
    transform: scale(1.05);
}

.article-list-body {
    flex: 1;
    min-width: 0;
}

.article-list-title {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.article-list-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.article-list-title a:hover {
    color: #007bff;
}

.article-list-meta {
    display: block;
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.article-list-meta a {
    color: #007bff;
    text-decoration: none;
    margin-right: 12px;
}

.article-list-meta small {
    color: #bbb;
    margin-right: 4px;
}

.article-list-intro {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Pagination */
.pagebar {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.zzpages.zfa119pages {
    width: 100%;
}

.pagelist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.pagelist li,
.pagelist a,
.pagelist span {
    display: inline-block;
}

.pagelist a,
.pagelist span {
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.pagelist a:hover {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.pagelist .thisclass a,
.pagelist .thisclass span {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* Article Detail */
.article-detail {
    max-width: 100%;
}

.article-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.article-title {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: #999;
    font-size: 0.9rem;
}

.article-meta a {
    color: #007bff;
    text-decoration: none;
}

.article-litpic {
    margin-bottom: 25px;
    text-align: center;
}

.article-litpic img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.article-body {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.article-body p {
    margin-bottom: 1em;
}

.zfa119diyfield {
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.article-images {
    margin-bottom: 25px;
}

.article-image-item {
    margin-bottom: 15px;
}

.article-image-item img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.article-image-item span {
    display: block;
    color: #999;
    font-size: 0.85rem;
    margin-top: 5px;
}

.zfa119meta-tags {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.zfa119tagitem a {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0f0;
    border-radius: 15px;
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.zfa119tagitem a:hover {
    background: #007bff;
    color: #fff;
}

.clear {
    clear: both;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.article-nav-prev,
.article-nav-next {
    flex: 1;
    min-width: 0;
}

.article-nav-next {
    text-align: right;
}

.article-nav a {
    color: #007bff;
    text-decoration: none;
}

.article-nav a:hover {
    text-decoration: underline;
}

.related-articles {
    margin-top: 10px;
}

.related-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #1a1a1a;
    padding-left: 12px;
    border-left: 4px solid #007bff;
}

.related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.related-item:last-child {
    border-bottom: none;
}

.related-thumb {
    flex: 0 0 120px;
    width: 120px;
    height: 90px;
    overflow: hidden;
    border-radius: 6px;
    background: #eee;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-info {
    flex: 1;
    min-width: 0;
}

.related-info a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin-bottom: 6px;
}

.related-info a:hover {
    color: #007bff;
}

.related-info p {
    color: #999;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

/* Homepage Article Section */
.articles-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-top: -2rem;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.article-grid-home {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.article-item-home {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-item-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.article-thumb-wrap {
    display: block;
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #eee;
}

.article-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.article-item-home:hover .article-thumb-wrap img {
    transform: scale(1.05);
}

.article-item-title {
    padding: 12px 12px 6px;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.article-item-title a {
    color: #1a1a1a;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-item-title a:hover {
    color: #007bff;
}

.article-item-date {
    padding: 0 12px 12px;
    color: #999;
    font-size: 0.8rem;
    margin: 0;
}

.zfa119this a,
li.zfa119this a {
    color: #007bff !important;
    background: rgba(0, 123, 255, 0.15);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    text-align: left;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #007bff;
}

/* Responsive: List & Article */
@media (max-width: 1200px) {
    .article-grid-home {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .content-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .article-grid-home {
        grid-template-columns: repeat(3, 1fr);
    }

    .page-banner {
        padding: 6rem 0 2rem;
    }

    .page-banner h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 20px 15px;
    }

    .article-list-item {
        flex-direction: column;
        gap: 12px;
    }

    .article-list-thumb {
        flex: none;
        width: 100%;
        height: 200px;
    }

    .article-title {
        font-size: 1.4rem;
    }

    .article-nav {
        flex-direction: column;
        gap: 12px;
    }

    .article-nav-next {
        text-align: left;
    }

    .related-item {
        flex-direction: column;
    }

    .related-thumb {
        width: 100%;
        height: 180px;
    }

    .article-grid-home {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .article-thumb-wrap {
        height: 140px;
    }
}

@media (max-width: 576px) {
    .article-grid-home {
        grid-template-columns: 1fr;
    }

    .article-thumb-wrap {
        height: 180px;
    }

    .sidebar-thumb {
        flex: 0 0 60px;
        width: 60px;
        height: 45px;
    }

    .sidebar-item-text {
        font-size: 0.85rem;
    }
} 