/* --- Reset & Base (Scoped) --- */
:root {
    --c-red: #9a2b1f;       /* Cinnabar Red */
    --c-dark: #2c2420;      /* Ink Black */
    --c-gray: #665c54;      /* Stone Gray */
    --c-gold: #b8986c;      /* Bronze Gold */
    --c-bg-warm: #fcf9f2;   /* Rice Paper White */
    --c-bg-pure: #ffffff;
    --font-serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.zhengning-memory-page {
    font-family: var(--font-sans);
    color: var(--c-dark);
    background-color: var(--c-bg-warm);
    background-image: 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='%23d8c2a3' fill-opacity='0.1'%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"); /* Subtle pattern */
    line-height: 1.6;
}

.zhengning-memory-page a { 
    text-decoration: none; 
    color: inherit; 
}

.zhengning-memory-page ul { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

/* --- Layout Utilities --- */
.zhengning-memory-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Hero Section (Carousel Style) --- */
.zhengning-memory-page .hero-section {
    position: relative;
    padding: 40px 0 60px; /* Reduced padding */
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 460px; /* Slightly reduced min-height */
}

/* Abstract Mountain Background */
.zhengning-memory-page .hero-bg-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 0;
    opacity: 0.6;
    pointer-events: none;
}

/* Slider Wrapper */
.zhengning-memory-page .hero-slider {
    position: relative;
    width: 100%;
    z-index: 1;
}

.zhengning-memory-page .hero-slides-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.zhengning-memory-page .hero-slide {
    flex: 0 0 100%;
    width: 100%;
}

.zhengning-memory-page .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.zhengning-memory-page .hero-text {
    padding-right: 20px;
}

.zhengning-memory-page .hero-label {
    display: inline-block;
    font-family: var(--font-serif);
    color: var(--c-gold);
    border-bottom: 1px solid var(--c-gold);
    margin-bottom: 24px;
    font-size: 16px;
    letter-spacing: 2px;
}

.zhengning-memory-page .hero-title {
    font-family: var(--font-serif);
    font-size: 56px;
    line-height: 1.1;
    color: var(--c-dark);
    margin-bottom: 24px;
    font-weight: 800;
}

.zhengning-memory-page .hero-title span {
    color: var(--c-red);
    position: relative;
}

/* Red stamp effect removed */

.zhengning-memory-page .hero-desc {
    font-size: 18px;
    color: var(--c-gray);
    margin-bottom: 40px;
    max-width: 90%;
    text-align: justify;
}

.zhengning-memory-page .hero-actions {
    display: flex;
    gap: 20px;
}

.zhengning-memory-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 4px; /* Slight round */
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.zhengning-memory-page .btn-primary {
    background-color: var(--c-red);
    color: #fff;
    border: 1px solid var(--c-red);
}

.zhengning-memory-page .btn-primary:hover {
    background-color: #7d2319;
    border-color: #7d2319;
    box-shadow: 0 4px 12px rgba(154, 43, 31, 0.3);
}

.zhengning-memory-page .btn-outline {
    background-color: transparent;
    color: var(--c-dark);
    border: 1px solid var(--c-dark);
}

.zhengning-memory-page .btn-outline:hover {
    background-color: var(--c-dark);
    color: #fff;
}

.zhengning-memory-page .hero-image-wrapper {
    position: relative;
}

.zhengning-memory-page .hero-image {
    width: 100%;
    border-radius: 8px; /* Modern round */
    box-shadow: 20px 20px 0 var(--c-gold), 0 10px 30px rgba(0,0,0,0.1); /* Layered shadow effect */
    background: #fff;
    padding: 10px;
    transition: transform 0.3s ease;
}

.zhengning-memory-page .hero-image:hover {
    transform: translateY(-5px);
}

/* Carousel Controls */
.zhengning-memory-page .slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.zhengning-memory-page .slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(154, 43, 31, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.zhengning-memory-page .slider-dot.active {
    background: var(--c-red);
    transform: scale(1.2);
}

.zhengning-memory-page .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--c-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    font-family: serif;
    font-size: 20px;
}

.zhengning-memory-page .slider-arrow:hover {
    background: var(--c-red);
    color: #fff;
    border-color: var(--c-red);
}

.zhengning-memory-page .slider-arrow.prev { left: 24px; }
.zhengning-memory-page .slider-arrow.next { right: 24px; }

/* --- Intro Section --- */
.zhengning-memory-page .intro-section {
    padding: 80px 0;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.zhengning-memory-page .intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.zhengning-memory-page .intro-item {
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.zhengning-memory-page .intro-item:hover {
    border-color: var(--c-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(184, 152, 108, 0.15);
}

.zhengning-memory-page .intro-icon {
    font-size: 32px;
    color: var(--c-red);
    margin-bottom: 20px;
    display: inline-block;
    width: 64px;
    height: 64px;
    line-height: 64px;
    background: rgba(154, 43, 31, 0.05);
    border-radius: 50%;
}

.zhengning-memory-page .intro-title {
    font-family: var(--font-serif);
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--c-dark);
}

.zhengning-memory-page .intro-text {
    color: var(--c-gray);
    font-size: 14px;
}

/* --- DIY Placeholder --- */
.zhengning-memory-page .diy-container {
    padding: 60px 0;
    background: var(--c-bg-warm);
    text-align: center;
    border-top: 1px dashed #ddd;
}

.zhengning-memory-page .diy-placeholder {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px;
    background: rgba(255,255,255,0.5);
    color: #999;
}

/* --- Full Width Sections --- */
.zhengning-memory-page .stats-section {
    background-color: var(--c-dark);
    color: #fff;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.zhengning-memory-page .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.zhengning-memory-page .stat-item h4 {
    font-size: 36px;
    font-family: var(--font-serif);
    color: var(--c-gold);
    margin: 0 0 10px;
}

.zhengning-memory-page .stat-item p {
    font-size: 14px;
    opacity: 0.7;
    margin: 0;
}

.zhengning-memory-page .banner-section {
    padding: 40px 0; /* Reduced from 100px */
    min-height: 200px; /* Set a reasonable min-height for DIY */
    background-image: url("../images/huangtu.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Changed from fixed to scroll for static background */
    color: #fff;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zhengning-memory-page .banner-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
}

.zhengning-memory-page .banner-content {
    position: relative;
    z-index: 1;
}

.zhengning-memory-page .banner-title {
    font-family: var(--font-serif);
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .zhengning-memory-page .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .zhengning-memory-page .hero-title { font-size: 36px; }
    .zhengning-memory-page .hero-image-wrapper { margin-top: 20px; }
    .zhengning-memory-page .intro-grid { grid-template-columns: 1fr; }
    .zhengning-memory-page .slider-arrow { display: none; } /* Hide arrows on mobile, rely on swipe (if implemented) or just layout */
}
