iframe {
    max-width: 100%;
}
        a {
            text-decoration: none;
        }
        article p {
            margin-top: 1rem;
            
        }
        article img {
            max-width: 100%;
            
        }
        article p {
            margin-top: 1rem;
            
        }

        article h2 {
          
            font-weight:700;
            font-size: 2rem;
            border-left: 5px solid red;
            padding: 0 0 0 1rem;
        }
        article h3 {
            font-weight:700;
            margin-top: 1rem;
            font-size: 1.5rem;
            
        }
        article h4 {
            font-weight:700;
            margin-top: 1rem;
            font-size: 1rem;
        }

        article blockquote {
            background-color: #ffe393;
            color: #000;
            border: 1px solid #eab522;
            padding: 1rem;
        }
        
        article .toc{
            position: relative;
            padding: 1rem;
            margin: 1rem 0;
            color: #16481e;
            background-color: #afe1b7;
            border: 1px solid #afe1b7;
            border-radius: var(--bs-alert-border-radius);
        }
        
        article .toc h4{
            margin-top:0px;
            font-size: 1.5rem;
        }





article img {
    max-width: 100%;
    height: auto
}

.calendar-container {
            background: var(--card-bg);
            border-radius: 20px;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
            overflow: hidden;
            border: 2px solid var(--border-color);
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
        }
        
        .calendar-container::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 8px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
            z-index: 2;
        }
        
        .calendar-header {
            background: linear-gradient(90deg, #8b0000, #b22222, #8b0000);
            color: white;
            padding: 25px 20px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .calendar-header::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100"><path d="M0,0 L100,100 M100,0 L0,100" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
            opacity: 0.2;
        }
        
        .calendar-title {
            font-size: 2.8rem;
            margin-bottom: 10px;
            font-weight: bold;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
            position: relative;
            z-index: 1;
            letter-spacing: 2px;
        }
        
        .calendar-subtitle {
            font-size: 1.3rem;
            opacity: 0.9;
            position: relative;
            z-index: 1;
            margin-bottom: 15px;
        }
        
        .today-lunar {
            font-size: 1.4rem;
            margin-bottom: 15px;
            color: #f0e68c;
            font-weight: 500;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        }
        
        .current-date-display {
            background: linear-gradient(90deg, #f9f3d0, #e6d8a0);
            padding: 18px;
            border-bottom: 2px solid var(--border-color);
            text-align: center;
            font-size: 1.4rem;
            font-weight: 500;
            color: #8b0000;
            position: relative;
        }
        
        .current-date-display::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100"><circle cx="50" cy="50" r="1" fill="rgba(212,175,55,0.3)"/></svg>');
            opacity: 0.3;
        }
        
        .calendar-nav {
            padding: 20px;
            background: linear-gradient(90deg, #f5f0e1, #e8e0c9);
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #ddd;
        }
        
        .nav-btn {
            background: linear-gradient(90deg, #d4af37, #b8860b);
            color: white;
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            transition: all 0.3s;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }
        
        .nav-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
            background: linear-gradient(90deg, #b8860b, #d4af37);
        }
        
        .year-month-selector {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .year-month-selector select {
            padding: 12px 20px;
            border-radius: 30px;
            border: 2px solid var(--border-color);
            background-color: white;
            font-size: 1.1rem;
            color: #8b0000;
            font-weight: bold;
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
        }
        
        .today-btn {
            background: linear-gradient(90deg, #28a745, #218838);
            color: white;
            border: none;
            border-radius: 30px;
            padding: 10px 20px;
            font-size: 1rem;
            font-weight: bold;
            transition: all 0.3s;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }
        
        .today-btn:hover {
            background: linear-gradient(90deg, #218838, #28a745);
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        }
        
        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 2px;
            background-color: #d4af37;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .calendar-day-header {
            background: linear-gradient(90deg, #8b0000, #b22222);
            color: white;
            text-align: center;
            padding: 15px 5px;
            font-weight: bold;
            font-size: 1.1rem;
        }
        
        .calendar-day {
            background-color: white;
            min-height: 120px;
            padding: 12px 8px;
            border: 1px solid #e0cda5;
            position: relative;
            transition: all 0.3s ease;
            overflow: hidden;
        }
        
        .calendar-day::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
        }
        
        .calendar-day:hover {
            background-color: #fff8e1;
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
            z-index: 10;
            border-color: #d4af37;
        }
        
        .day-number {
            font-size: 1.3rem;
            font-weight: bold;
            margin-bottom: 5px;
            color: #8b0000;
        }
        
        .lunar-date {
            font-size: 0.9rem;
            color: #6c757d;
            margin-bottom: 3px;
            font-weight: 500;
        }
        
        .holiday {
            color: #dc3545;
            font-weight: bold;
        }
        
        .today {
            background: linear-gradient(135deg, #fff8e1, #4bbe22) !important;
            border: 2px solid #d4af37;
            box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
        }
        
        .selected {
            background: linear-gradient(135deg, #e6f7ff, #1489c3) !important;
            border: 2px solid #1e90ff;
            box-shadow: 0 0 15px rgba(30, 144, 255, 0.4);
        }
        
        .solar-term {
            color: #28a745;
            font-weight: bold;
        }
        
        .animal-year {
            font-size: 0.8rem;
            color: #6f42c1;
            position: absolute;
            bottom: 5px;
            right: 5px;
            background: rgba(111, 66, 193, 0.1);
            padding: 2px 5px;
            border-radius: 10px;
        }
        
        .info-panel {
            padding: 25px;
            border-top: 2px solid var(--border-color);
        }
        
        .info-card {
            background: white;
            border-radius: 15px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            border: 1px solid #e0cda5;
            position: relative;
            overflow: hidden;
        }
        
        .info-card::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
        }
        
        .info-title {
            font-size: 1.3rem;
            font-weight: bold;
            color: #8b0000;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid #e0cda5;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .info-content {
            font-size: 1rem;
            line-height: 1.7;
        }
        
        .ganzhi {
            color: #e74c3c;
            font-weight: bold;
        }
        
        .footer {
            text-align: center;
            color: white;
            margin-top: 25px;
            padding: 15px;
            font-size: 1rem;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        }
        
        .ornament {
            position: absolute;
            font-size: 3rem;
            opacity: 0.05;
            z-index: 0;
            color: var(--primary-color);
        }
        
        .ornament-1 {
            top: 20%;
            left: 5%;
            transform: rotate(-15deg);
        }
        
        .ornament-2 {
            bottom: 15%;
            right: 5%;
            transform: rotate(15deg);
        }
        
        .detail-row {
            display: flex;
            flex-wrap: wrap;
            margin: 0 -10px;
        }
        
        .detail-col {
            flex: 0 0 50%;
            max-width: 50%;
            padding: 0 10px;
            margin-bottom: 15px;
        }
        
        .detail-item {
            padding: 10px 15px;
            background: #f8f9fa;
            border-radius: 8px;
            margin-bottom: 10px;
            border-left: 4px solid var(--primary-color);
        }
        
        .detail-label {
            font-weight: bold;
            color: #8b0000;
            display: inline-block;
            min-width: 120px;
        }
        
        .detail-value {
            color: #333;
        }
        
        .yiji-card {
            background: linear-gradient(135deg, #ffebee, #ffcdd2);
            border: 2px solid #e91e63;
            border-radius: 15px;
            padding: 25px;
            margin: 20px 0;
            box-shadow: 0 8px 20px rgba(233, 30, 99, 0.2);
            position: relative;
            overflow: hidden;
        }
        
        .yiji-card::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;
            background: linear-gradient(90deg, #e91e63, #f50057);
        }
        
        .yiji-title {
            color: #8b0000;
            font-size: 1.4rem;
            font-weight: bold;
            margin-bottom: 15px;
            text-align: center;
        }
        
        .yiji-content {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .yiji-section {
            flex: 1;
            min-width: 250px;
            padding: 15px;
            border-radius: 10px;
            background: white;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }
        
        .yiji-section h6 {
            font-size: 1.2rem;
            color: #8b0000;
            margin-bottom: 10px;
            padding-bottom: 8px;
            border-bottom: 2px solid #e91e63;
        }
        
        .yiji-list {
            list-style-type: none;
            padding: 0;
        }
        
        .yiji-list li {
            padding: 8px 0;
            border-bottom: 1px dashed #e0cda5;
            position: relative;
            padding-left: 25px;
        }
        
        .yiji-list li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 8px;
            color: #28a745;
            font-weight: bold;
        }
        
        .yiji-list.ji li::before {
            content: "✗";
            color: #dc3545;
        }
        
        .yiji-list.ji li {
            color: #dc3545;
        }
        
        @media (max-width: 768px) {
            .calendar-title {
                font-size: 2.2rem;
            }
            
            .calendar-subtitle {
                font-size: 1.1rem;
            }
            
            .today-lunar {
                font-size: 1.2rem;
            }
            
            .calendar-day {
                min-height: 100px;
                padding: 8px 5px;
            }
            
            .day-number {
                font-size: 1.1rem;
            }
            
            .lunar-date {
                font-size: 0.8rem;
            }
            
          
            
            .year-month-selector {
                flex-direction: column;
                gap: 10px;
            }
            
            .nav-btn {
                width: 45px;
                height: 45px;
                font-size: 1.2rem;
            }
            
            .info-panel {
                padding: 15px;
            }
            
            .detail-col {
                flex: 0 0 100%;
                max-width: 100%;
            }
            
            .today-btn {
                padding: 8px 15px;
                font-size: 0.9rem;
            }
            
            .yiji-section {
                min-width: 100%;
            }
        }
        
        @media (max-width: 576px) {
            .calendar-title {
                font-size: 1.8rem;
            }
            
            .calendar-subtitle {
                font-size: 1rem;
            }
            
            .today-lunar {
                font-size: 1.1rem;
            }
            
            .calendar-day {
                min-height: 90px;
                padding: 6px 3px;
            }
            
            .day-number {
                font-size: 1rem;
            }
            
            .lunar-date {
                font-size: 0.7rem;
            }
            
            .calendar-day-header {
                padding: 10px 2px;
                font-size: 0.9rem;
            }
            
            .info-title {
                font-size: 1.1rem;
            }
            
            .detail-item {
                padding: 8px 12px;
            }
            
            .detail-label {
                min-width: 100px;
                font-size: 0.9rem;
            }
        }