@media (max-width: 991px) {
    .main-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        flex: 0 0 100%;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links, .footer-info {
        flex: 0 0 100%;
        margin-bottom: 1.5rem;
    }
}
.day-total-score {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.day-total-score h3 {
    color: #1a4a8d;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.4rem;
}

.year-calendar {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.year-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.year-header h1 {
    color: #1a4a8d;
    margin-bottom: 0;
}

.year-navigation {
    display: flex;
    gap: 1rem;
}

.months-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.month-card {
    background-color: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.month-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.month-card a {
    display: block;
    padding: 1rem;
    color: #333;
    text-decoration: none;
}

.month-card h3 {
    color: #1a4a8d;
    margin-bottom: 0.8rem;
    text-align: center;
}

.month-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.month-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.3s ease;
}


.month-icon.winter {
    background-color: #E1F5FE; 
    color: #0277BD; 
    border: 2px solid #B3E5FC;
}
.month-card.winter:hover .month-icon.winter {
    background-color: #B3E5FC;
    transform: scale(1.1);
}

.month-icon.spring {
    background-color: #E8F5E9; 
    color: #2E7D32; 
    border: 2px solid #C8E6C9;
}
.month-card.spring:hover .month-icon.spring {
    background-color: #C8E6C9;
    transform: scale(1.1);
}

.month-icon.summer {
    background-color: #FFF9C4;
    color: #F57F17;
    border: 2px solid #FFF59D;
}
.month-card.summer:hover .month-icon.summer {
    background-color: #FFF59D;
    transform: scale(1.1);
}

.month-icon.autumn {
    background-color: #FBE9E7;
    color: #D84315;
    border: 2px solid #FFCCBC;
}
.month-card.autumn:hover .month-icon.autumn {
    background-color: #FFCCBC;
    transform: scale(1.1);
}

.month-card.winter {
    border-left: 3px solid #0277BD;
}
.month-card.spring {
    border-left: 3px solid #2E7D32;
}
.month-card.summer {
    border-left: 3px solid #F57F17;
}
.month-card.autumn {
    border-left: 3px solid #D84315;
}

.view-month {
    font-size: 0.9rem;
    color: #666;
}

.year-info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

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

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

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

a {
    color: #336699;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #1a4a8d;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

ul, ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

section {
    margin: 0.5rem 0;
    padding: 1rem 0;
}

header {
    background-color: #1a4a8d;
    color: #fff;
    padding: 1rem 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.logo:hover {
	color: #ccc !important;
}

.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    align-items: center;
}

.main-menu li {
    margin-left: 1.5rem;
}

.main-menu a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.main-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
}

.article-content, .article-header {
	padding: 0 1rem;
}

footer {
    background-color: #1a4a8d;
    color: #fff;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
}

.footer-links {
    flex: 0 0 50%;
}

.footer-links h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    margin: 0;
    /*display: flex;
    flex-wrap: wrap;*/
}

.footer-links li {
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
    flex: 0 0 calc(33.33% - 1.5rem);
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-info {
    flex: 0 0 40%;
}

.footer-info p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.hero {
    padding: 3rem 0;
    background: linear-gradient(to bottom, #e0e8f5, #f8f8f8);
    border-radius: 8px;
    margin-bottom: 2rem;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: #1a4a8d;
    margin-bottom: 1rem;
}

.hero h2 {
    color: #336699;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.today-info {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    margin: 2rem auto;
    max-width: 600px;
}

.today-info h3 {
    color: #1a4a8d;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.moon-info {
    display: flex;
    flex-wrap: wrap;
}

.moon-info > div {
    flex: 0 0 50%;
    padding: 0.5rem;
}

.calendar-links {
    margin-top: 2rem;
}

.calendar-links h3 {
    margin-bottom: 1.5rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-card h4 {
    color: #1a4a8d;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: #666;
    font-size: 0.9rem;
}

.about-section, .categories-section {
    padding: 3rem 0;
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.about-text {
    flex: 0 0 60%;
}

.about-image {
    flex: 0 0 35%;
    background-color: #e0e8f5;
    border-radius: 8px;
    min-height: 300px;
}

.categories-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.category-item {
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.category-item h3 {
    color: #1a4a8d;
    margin-bottom: 1rem;
}

.category-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: #336699;
    color: #fff;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.category-link:hover {
    background-color: #1a4a8d;
    color: #fff;
}

.month-calendar {
    background-color: #fff;
    padding: 0.2rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.calendar-header h1 {
    color: #1a4a8d;
    margin-bottom: 0;
    padding: 0.5rem;
}

.calendar-navigation {
    display: flex;
    gap: 1rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    background-color: #f0f5fa;
    border-radius: 4px;
    transition: background-color 0.3s;
    text-align: center;
}

.nav-link:hover {
    background-color: #e0e8f5;
}

.nav-link.disabled {
    color: #aaa;
    cursor: not-allowed;
    background-color: #f0f0f0;
}
.category-description {
    margin-bottom: 0;
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
}

.day-info-text {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.day-info-text h2 {
    color: #1a4a8d;
    margin-bottom: 1rem;
    text-align: center;
}

.day-info-text p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.year-info h2 {
    color: #1a4a8d;
    margin-bottom: 1rem;
    text-align: center;
}

.year-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.month-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.month-table tr {
    transition: all 0.3s ease;
}

.month-table tr:nth-child(odd) {
    background-color: #f5f5f5;
}

.month-table tr:nth-child(even) {
    background-color: #ffffff;
}

.month-table tr.impact-positive {
    background-color: #eaf7ea !important;
}

.month-table tr.impact-negative {
    background-color: #fff0f0 !important;
}

.month-table thead tr {
    background-color: #1a4a8d !important;
}

.month-table th {
    padding: 1.2rem 1rem;
    color: white;
    font-weight: 600;
    text-align: center;
    border-bottom: 2px solid #0d2e5a;
}

.month-table td {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
}

.month-table tr:last-child td {
    border-bottom: none;
}

.day-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.day-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a4a8d;
}

.day-of-week {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.2rem;
}

.phase-emoji {
    font-size: 2.5rem;
    margin-right: 0.5rem;
    display: inline-block;
    vertical-align: middle;
}

.eclipse-badge {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.2rem 0.5rem;
    background-color: #1a4a8d;
    color: white;
    border-radius: 4px;
    font-size: 0.85rem;
}

.more-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: #1a4a8d;
    text-decoration: none;
    font-weight: 500;
}

.more-link:hover {
    text-decoration: underline;
}


.indicators-grid {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.impact-indicator {
    margin-right: 0.3rem;
    font-size: 1.2rem;
}

@media (max-width: 767px) {
    .moon-details {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .moon-details > div {
        padding: 1rem;
        background-color: #f9f9f9;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    
    .parameter-impacts {
        grid-template-columns: 1fr;
    }
}
.summary-block {
    padding: 0.2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.favorable-days, .unfavorable-days {
    padding: 1.5rem;
    border-radius: 8px;
}

.favorable-days {
    background-color: #e6f7e6;
    border-left: 4px solid #2e7d32;
}

.unfavorable-days {
    background-color: #ffebee;
    border-left: 4px solid #c62828;
}

.summary-block h3 {
    color: #333;
    margin-bottom: 0;
    font-size: 1.2rem;
}

.days-list {
    font-size: 1.1rem;
}

.days {
    font-weight: 500;
}

.no-days {
    color: #777;
    font-style: italic;
}

.other-categories {
    margin-top: 3rem;
    background-color: #f8f8f8;
    padding: 0.5rem;
    border-radius: 8px;
}

.other-categories h2 {
    color: #1a4a8d;
    margin-bottom: 1.5rem;
    text-align: center;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.categories-grid .category-card {
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    text-decoration: none;
    display: block;
}

.categories-grid .category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.categories-grid .category-card h3 {
    color: #1a4a8d;
    margin-bottom: 0;
    font-size: 1.1rem;
}

@media (max-width: 767px) {
    .summary-block {
        grid-template-columns: 1fr;
    }
    .legend-list {
		display: grid;
        grid-template-columns: repeat(auto-fill, minmax(45%, 1fr));
        gap: 0.8rem;
        margin-top: 1.5rem;    
    }
}

.day-cell {
    width: 5%;
}

.day-link {
    display: flex;
    flex-direction: column;
}

.day-number {
    font-size: 1.2rem;
    font-weight: 700;
}

.day-of-week {
    font-size: 0.8rem;
    color: #666;
}

.moon-phase-cell {
    width: 30%;
}

.eclipse-badge {
    display: inline-block;
    background-color: #ff9800;
    color: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

.recommendation-cell {
    width: 15%;
}

.summary {
    padding: 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.positive {
    background-color: #e6f7e6;
    color: #2e7d32;
}

.negative {
    background-color: #ffebee;
    color: #c62828;
}

.neutral {
    background-color: #f5f5f5;
    color: #555;
}

.more-link {
    font-size: 0.9rem;
}

.legend {
    margin-top: 2rem;
}

.legend-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
}

.legend-list li {
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.impact-positive {
    background-color: #e6f7e6;
    color: #2e7d32;
}

.impact-negative {
    background-color: #ffebee;
    color: #c62828;
}

.impact-neutral {
    background-color: #f5f5f5;
    color: #555;
}

.has-event {
    border-left: 3px solid #ff9800;
}

.has-eclipse {
    border-left: 3px solid #9c27b0;
}

.other-categories {
    margin-top: 3rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(32%, 1fr));
    gap: 1rem;
}

.categories-grid .category-card {
    text-align: center;
}

.day-page {
    background-color: #fff;
    padding: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.day-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    padding: 0 10px;
    flex-direction: column;
}

.day-header h1 {
    color: #1a4a8d;
    margin-bottom: 1rem;
}

.day-navigation {
    display: flex;
    gap: 1rem;
}

.parameter-impacts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.parameter-impact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    border-radius: 6px;
    background-color: #f5f5f5;
}

.parameter-impact.positive {
    background-color: #e6f7e6;
}

.parameter-impact.negative {
    background-color: #ffebee;
}

.parameter-name {
    font-weight: 500;
}

.parameter-emoji {
    font-size: 1.3rem;
}

.disclaimer-section {
    margin-top: 3rem;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #1a4a8d;
}

.disclaimer {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
}

.lunar_eclipse, .lunar_event, .moon_phase, .moon_sign, .lunar_day, .day_of_week {
    position: relative;
    padding-left: 50px;
    margin-bottom: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 1.5rem 1.5rem 1.5rem 50px;
}

.lunar_eclipse:before, .lunar_event:before, .moon_phase:before, .moon_sign:before, .lunar_day:before, .day_of_week:before {
    content: "";
    position: absolute;
    left: 10px;
    width: 32px;
    height: 32px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.lunar_eclipse:before {
    background-image: url('/assets/images/eclipse-icon.svg');
}

.lunar_event:before {
    background-image: url('/assets/images/event-icon.svg');
}

.moon_phase:before {
    background-image: url('/assets/images/phase-icon.svg');
}

.moon_sign:before {
    background-image: url('/assets/images/sign-icon.svg');
}

.lunar_day:before {
    background-image: url('/assets/images/day-icon.svg');
}

.day_of_week:before {
    background-image: url('/assets/images/week-icon.svg');
}

.indicators-container {
    display: flex;
    align-items: center;
}

.impact-overall {
    font-size: 2.5rem;
    margin-right: 0.5rem;
}

.indicators-wrapper {
    display: flex;
    align-items: center;
}

.open-bracket, .close-bracket {
    font-size: 2.5rem;
    line-height: 1;
    color: #888;
    margin: 0 0.2rem;
}

.indicators-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.3rem;
    padding: 0.2rem;
}

.impact-indicator {
    font-size: 0.9rem;
}

.illumination {
    font-size: 0.85rem;
    color: #666;
    white-space: nowrap;
}

.moon-time-grid {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.moonrise, .moonset {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.moonrise small, .moonset small {
    margin-left: 0.3rem;
    color: #666;
    font-size: 0.8rem;
}

.date-info {
    flex: 0 0 60%;
    background-color: #f0f5fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.date-info h2 {
    color: #1a4a8d;
    margin-bottom: 1rem;
}

.moon-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.category-selector {
    flex: 0 0 40%;
    padding: 1.5rem;
}

.category-links {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.category-links .category-link {
    padding: 0.2rem 0 0 1.2rem;
    background-color: #f0f5fa;
    border-radius: 4px;
    transition: background-color 0.3s;
    color: #336699;
    margin-top: 0.1rem;
}

.category-links .category-link:hover {
    background-color: #e0e8f5;
}

.recommendations-section {
    margin-top: 2rem;
}

.recommendations-section h2 {
    color: #1a4a8d;
    margin-bottom: 1.5rem;
    text-align: center;
}

.recommendations-section > div {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.recommendations-section h3 {
    color: #1a4a8d;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
    margin-left: 1rem;
}

.positive {
    background-color: #e6f7e6;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.negative {
    background-color: #ffebee;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.neutral {
    background-color: #f5f5f5;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.plus {
    background-color: #e6f7e6;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border-left: 4px solid #2e7d32;
    color: #555;
}

.minus {
    background-color: #ffebee;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border-left: 4px solid #c62828;
}

.no-recommendations {
    text-align: center;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.error-404 {
    text-align: center;
    padding: 3rem 0;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-404 h1 {
    font-size: 6rem;
    color: #1a4a8d;
    margin-bottom: 0;
    line-height: 1;
}

.error-404 h2 {
    color: #336699;
    margin-bottom: 1.5rem;
}

.suggestions {
    margin-top: 2rem;
    text-align: left;
}

.suggestions h3 {
    color: #1a4a8d;
}

.suggestions ul {
    list-style: disc;
}

.day-info-panel {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.moontime-cell {
    white-space: nowrap;
}

.moon-time-grid {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.moon-time-grid .moonrise,
.moon-time-grid .moonset {
    display: flex;
    align-items: center;
}

.moon-time-grid small {
    margin-left: 0.3rem;
    color: #666;
    font-size: 0.8rem;
}

.no-data {
    color: #999;
}
.desktop-menu {
    display: block;
}

.has-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
}

.dropdown-toggle::after {
    content: "▼";
    font-size: 0.7em;
    margin-left: 0.5rem;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    min-width: 220px;
    z-index: 1000;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
}

.has-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    padding: 0.7rem 1.2rem;
    color: #333;
    display: block;
    text-decoration: none;
    transition: background-color 0.3s;
    width: max-content;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
    color: #1a4a8d;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: #1a4a8d;
    padding: 70px 0 0;
    transition: right 0.3s;
    z-index: 1000;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
    display: block;
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu li {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: #fff;
    text-decoration: none;
}

.mobile-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.category-separator {
    padding: 0.8rem 1.5rem;
    color: #a0c0ff;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.2);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 10px 0 0;
    transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e5e6 100%);
    border-radius: 12px;
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    color: #2e3440;
    text-align: center;
}

.intro-text {
    text-align: center;
    font-size: 1.2rem;
    color: #4c566a;
    margin-bottom: 2rem;
}

.today-info {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 800px;
}

.today-info h2 {
    color: #2e3440;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 1px solid #e5e9f0;
    padding-bottom: 1rem;
}

.moon-phase-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.phase-emoji {
    font-size: 4rem;
    margin-right: 1.5rem;
}

.phase-details {
    display: flex;
    flex-direction: column;
}

.phase-details h3 {
    margin: 0 0 0.5rem 0;
    color: #5e81ac;
    font-size: 1.4rem;
}

.phase-details p {
    margin: 0.3rem 0;
    color: #4c566a;
}

.moon-info {
    background-color: #f5f7fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-around;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    min-width: 200px;
}

.info-icon {
    font-size: 1.8rem;
    margin-right: 0.8rem;
    color: #5e81ac;
}

.info-details {
    display: flex;
    flex-direction: column;
}

.special-event {
    border-left: 3px solid #ebcb8b;
}

.today-view-all {
    text-align: center;
    margin-top: 1rem;
}

.btn-view-today {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #5e81ac;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-view-today:hover {
    background-color: #4c566a;
    transform: translateY(-2px);
    color: #fff;
}

.calendar-links {
    margin-top: 3rem;
}

.calendar-links h2 {
    text-align: center;
    color: #2e3440;
    margin-bottom: 0.5rem;
}

.section-intro {
    text-align: center;
    color: #4c566a;
    margin-bottom: 2rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.category-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    border-left: 4px solid #5e81ac;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #5e81ac;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: #fff;
}

.category-info {
    flex: 1;
}

.category-info h4 {
    color: #2e3440;
    margin: 0 0 0.3rem 0;
    font-size: 1.1rem;
}

.category-link-text {
    font-size: 0.9rem;
    color: #4c566a;
}

.about-section {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin: 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    color: #2e3440;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.lunar-factors {
    /*margin-top: 1.5rem;*/
    background-color: #f5f7fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.lunar-factors h3 {
    margin-bottom: 1rem;
    color: #2e3440;
}

.lunar-factors ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lunar-factors li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.factor-icon {
    width: 30px;
    height: 30px;
    background-color: #5e81ac;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.8rem;
    font-size: 1rem;
}

.moon-phases-illustration {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.phase-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.phase-circle {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.phase-name {
    font-size: 0.9rem;
    color: #4c566a;
}

.monthly-calendars {
    margin-top: 3rem;
}

.categories-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.category-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border-left: 4px solid #5e81ac;
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e5e9f0;
}

.category-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #f5f7fa;
    margin-right: 1rem;
    font-weight: bold;
}

.category-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.category-content {
    padding: 1.5rem;
    display: flex;
    align-items: center;
}

.category-icon-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #5e81ac;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 2rem;
    color: #fff;
    flex-shrink: 0;
}

.category-content p {
    margin: 0;
    color: #4c566a;
}

.category-actions {
    display: flex;
    padding: 1rem;
    background-color: #f5f7fa;
    gap: 1rem;
}

.btn-view-month, .btn-view-year {
    padding: 0.7rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    text-align: center;
    flex: 1;
}

.btn-view-month {
    background-color: #5e81ac;
    color: #fff;
}

.btn-view-year {
    background-color: #f5f7fa;
    border: 1px solid #d8dee9;
    color: #4c566a;
}
.today-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.today-header {
    text-align: center;
    margin: 2rem 0;
}

.today-header h1 {
    color: #2e3440;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.intro-text {
    color: #4c566a;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.moon-phase-section {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.moon-phase-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.moon-phase-visual {
	display: flex;
    margin-bottom: 2rem;
    flex-direction: column;
}

.moon-phase-image {
    transition: transform 0.5s ease, filter 0.5s ease;
    width: 150px;
    filter: drop-shadow(0 0 10px rgba(236, 239, 244, 0.7));
}
.moon-phase-image:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.phase-info {
    flex: 1;
}

.phase-info h2 {
    color: #2e3440;
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
}

.phase-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.detail-item {
    display: flex;
    background-color: #f5f7fa;
    padding: 0.8rem;
    border-radius: 8px;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.detail-item.special {
    grid-column: span 2;
    background-color: #ebcb8b25;
    border-left: 3px solid #ebcb8b;
}

.detail-label {
    font-size: 0.9rem;
    color: #4c566a;
    margin-bottom: 0.3rem;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2e3440;
}

.moon-times, .sun-times {
    margin-top: auto;
    border-top: 1px solid #e5e9f0;
    padding-top: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.time-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.time-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #5e81ac;
}

.time-details {
    display: flex;
    flex-direction: column;
}

.time-label {
    font-size: 0.9rem;
    color: #4c566a;
}

.time-value {
    font-weight: 500;
    color: #2e3440;
}

.location-note {
    font-size: 0.8rem;
    color: #4c566a;
    font-style: italic;
    margin-top: 1rem;
}

.phase-description {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.phase-description h2 {
    color: #2e3440;
    margin: 0 0 1.5rem 0;
    font-size: 1.8rem;
}

.phase-description h3 {
    color: #5e81ac;
    margin: 1.5rem 0 1rem 0;
    font-size: 1.4rem;
}

.phase-description p {
    color: #2e3440;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.categories-section {
    margin: 3rem 0;
}

.categories-section h2 {
    color: #2e3440;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-intro {
    text-align: center;
    color: #4c566a;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.category-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e5e9f0;
    border-left-width: 4px;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-header {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    border-bottom: 1px solid #e5e9f0;
}

.category-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #fff;
}

.category-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #2e3440;
}

.category-body {
    padding: 0.5rem;
}

.category-body p {
    color: #4c566a;
    margin-bottom: 1.5rem;
    min-height: 50px;
}

.recommendation-indicator {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.recommendation-indicator.positive {
    background-color: #a3be8c25;
    border-left: 3px solid #a3be8c;
}

.recommendation-indicator.neutral {
    background-color: #ebcb8b25;
    border-left: 3px solid #ebcb8b;
}

.recommendation-indicator.negative {
    background-color: #bf616a25;
    border-left: 3px solid #bf616a;
}

.indicator-emoji {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.indicator-text {
    font-weight: 500;
    color: #2e3440;
}

.parameters-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.parameter-item {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    background-color: #f5f7fa;
    border-radius: 6px;
}

.parameter-emoji {
    font-size: 1.2rem;
    margin-right: 0.8rem;
}

.parameter-name {
    font-size: 0.9rem;
    color: #4c566a;
}

.btn-more {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn-more:hover {
    opacity: 0.9;
}

.lunar-info-section {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 3rem 0;
}

.lunar-info-section h2 {
    color: #2e3440;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.lunar-day-info {
    margin-bottom: 2rem;
}

.lunar-day-info h3 {
    color: #5e81ac;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.lunar-day-info p {
    color: #4c566a;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.phase-cycle-visualization {
    margin-top: 2rem;
}

.phase-cycle-visualization h3 {
    color: #5e81ac;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.phase-cycle {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.phase-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0.5rem 1.5rem;
    transition: transform 0.3s;
}

.phase-item.active {
    transform: scale(1.2);
}

.phase-item.active .phase-circle {
    box-shadow: 0 0 20px rgba(94, 129, 172, 0.5);
}

.phase-item.active .phase-name {
    font-weight: bold;
    color: #5e81ac;
}

.phase-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.phase-name {
    font-size: 0.9rem;
    color: #4c566a;
}

.phase-explanation {
    text-align: center;
    color: #4c566a;
    line-height: 1.6;
    margin-top: 1rem;
}

.zodiac-section {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 3rem 0;
}

.zodiac-section h2 {
    color: #2e3440;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.current-sign {
    display: flex;
    align-items: center;
    margin: 2rem 0;
}

.sign-symbol {
    font-size: 3.5rem;
    margin-right: 2rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #5e81ac25;
    border-radius: 50%;
    color: #5e81ac;
}

.sign-info {
    flex: 1;
}

.sign-info h3 {
    color: #5e81ac;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.sign-info p {
    color: #4c566a;
    line-height: 1.6;
}

.zodiac-note {
    border-top: 1px solid #e5e9f0;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.zodiac-note p {
    color: #4c566a;
    font-style: italic;
    line-height: 1.6;
}

.disclaimer-section {
    background-color: #ebcb8b25;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 3rem 0;
}

.disclaimer {
    color: #4c566a;
    line-height: 1.6;
    margin: 0;
}

.no-data-message {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    text-align: center;
    margin: 3rem 0;
}

.no-data-message h2 {
    color: #bf616a;
    margin-bottom: 1rem;
}

.no-data-message p {
    color: #4c566a;
}

@media (max-width: 991px) {
    .moon-phase-section {
        grid-template-columns: 1fr;
    }
    
    .phase-cycle {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .detail-item.special {
        grid-column: span 1;
    }
    
    .moon-phase-visual {
        flex-direction: column;
        text-align: center;
    }
    
    .phase-large {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .current-sign {
        flex-direction: column;
        text-align: center;
    }
    
    .sign-symbol {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
}
@media (max-width: 768px) {
    .phase-emoji {
        font-size: 3rem;
    }
    
    .info-row {
        flex-direction: column;
    }
    
    .category-content {
        flex-direction: column;
    }
    
    .category-icon-large {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .category-actions {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .moon-phase-visual {
        flex-direction: column;
        text-align: center;
    }
    
    .phase-emoji {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .phase-details {
        align-items: center;
    }
}
@media (max-width: 991px) {
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}

@media (max-width: 991px) {
    .month-table, 
    .month-table thead, 
    .month-table tbody, 
    .month-table tr, 
    .month-table th, 
    .month-table td {
        display: block;
        width: 100%;
    }
    
    .month-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .month-table tr {
        margin-bottom: 1.5rem;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        background-color: #ffffff !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }
    
    .month-table tr.impact-positive {
        border-left: 5px solid #2e7d32;
    }
    
    .month-table tr.impact-negative {
        border-left: 5px solid #c62828;
    }
    
    .month-table tr.impact-neutral {
        border-left: 5px solid #757575;
    }
    
    .month-table td {
        position: relative;
        padding: 0.8rem 0.8rem 0.8rem 45%;
        text-align: left;
        border-bottom: 1px solid #f0f0f0;
        min-height: 2.5rem;
    }
    
    .month-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        width: 40%;
        font-weight: bold;
        color: #555;
    }
    
    .month-table .day-cell {
        background-color: #f0f5fa;
        text-align: center;
        padding: 0.7rem;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        border-left: none !important;
    }
    
    .month-table .day-cell:before {
        display: none;
    }
    
    .month-table .day-link {
        display: block;
        padding: 0;
    }
    
    .month-table .day-number {
        font-size: 1.5rem;
        font-weight: 700;
        color: #1a4a8d;
    }
    
    .month-table .recommendation-cell {
        border-bottom: none;
        background-color: #fafafa;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .more-link {
        display: inline-block;
        margin-top: 0.8rem;
        padding: 0.4rem 1rem;
        background-color: #1a4a8d;
        color: white;
        border-radius: 4px;
        text-decoration: none;
    }
    
    .times-grid {
        display: flex;
        flex-direction: column;
        gap: 0.3rem;
        margin-top: 0.5rem;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .calendar-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .calendar-navigation {
        margin-top: 1rem;
        width: 100%;
        justify-content: space-between;
    }
    
    .day-info-panel {
        flex-direction: column;
    }
	.day-info-panel {
	    display: flex;
	    justify-content: space-between;
	    gap: 1rem;
	    margin-bottom: 2rem;
	    background-color: transparent;
	    border-radius: 8px;
	    padding: 0.5rem;
	    box-shadow: none;
	}
    .date-info, .category-selector {
        flex: 0 0 100%;
    }
    .category-selector {display: none;}
	.parameter-impacts {
	    display: grid	;
	    grid-template-columns: repeat(auto-fill, minmax(45%, 1fr));
	    gap: 0.8rem;
	    margin-top: 1.5rem;
	}
    .moon-details {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(45%, 1fr));
        gap: 1rem;
    }
	.recommendations-section > div {
	    margin-bottom: 2rem;
	    padding: 0.5rem;
	    border-radius: 8px;
	    background-color: #f9f9f9;
	}
	.recommendations-section h3 {
	    FONT-SIZE: 16px;
	    text-align: center;
	}
    .moon-details {
        grid-template-columns: 1fr;
    }
    
    .legend-list li {
        flex: 0 0 100%;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .category-grid, .categories-list, .categories-grid {
	    display: grid;
	    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	    gap: 0.8rem;
	    margin-top: 1.5rem;
	}
    
    .moon-info > div {
        flex: 0 0 100%;
    }
    
    .months-grid {
        grid-template-columns: repeat(2, 1fr);
    }
	category-grid, .categories-list, .categories-grid {
	    display: grid;
	    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	    gap: 0.8rem;
	    margin-top: 1.5rem;
	}
    
    .moon-info > div {
        flex: 0 0 100%;
    }
}
.today-info {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 800px;
}

.today-info h2 {
    color: #2e3440;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 1px solid #e5e9f0;
    padding-bottom: 1rem;
}

.moon-phase-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    gap: 2rem;
}

.phase-large {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.phase-large:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.moon-phase-image {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.phase-info {
    flex: 1;
    text-align: center;
}

.phase-info h3 {
    margin: 0 0 1rem 0;
    color: #5e81ac;
    font-size: 1.4rem;
}

.phase-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    background-color: #f5f7fa;
    padding: 0.8rem;
    border-radius: 8px;
}

.detail-item.special {
    grid-column: span 2;
    background-color: #ebcb8b25;
    border-left: 3px solid #ebcb8b;
}

.detail-label {
    font-size: 0.9rem;
    color: #4c566a;
    margin-bottom: 0.3rem;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2e3440;
}

.today-view-all {
    text-align: center;
    margin-top: 1.5rem;
}

.btn-view-today {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #5e81ac;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-view-today:hover {
    background-color: #4c566a;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .phase-details {
        grid-template-columns: 1fr;
    }
    
    .detail-item.special {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    .moon-phase-visual {
        flex-direction: column;
        text-align: center;
    }
    
    .phase-large {
        margin-bottom: 1.5rem;
    }
    
    .phase-info {
        width: 100%;
    }
}

.language-switcher {
    position: relative;
    z-index: 100;
    
}

.language-wrapper {
    position: relative;
}

.current-language {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: background-color 0.2s;
}

.current-language:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.lang-label {
    margin-right: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
}

.selected-language {
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
}

.selected-language .fi {
    margin-right: 0.5rem;
}

.language-options {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    margin-bottom: 5px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    max-height: 300px;
    overflow-y: auto;
}

.language-wrapper:hover .language-options {
    display: block;
}

.language-options.active {
    display: block;
}

.language-options a {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
}

.language-options a:hover {
    background-color: #f5f5f5;
    color: #000
}

.language-options a.selected {
    background-color: #e0e0e0;
    font-weight: bold;
}

.language-options .fi {
    margin-right: 0.8rem;
}

.country-wrapper {
    position: relative;
    display: inline-block;
    margin-left: 1.5rem;
}

.current-country {
    display: flex;
    align-items: center;
    background-color: #f0f5fa;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.current-country:hover {
    background-color: #e0e8f5;
}

.country-label {
    margin-right: 0.5rem;
    color: #4c566a;
    font-size: 0.9rem;
}

.selected-country {
    font-weight: 500;
    color: #2e3440;
    display: flex;
    align-items: center;
}

.selected-country .fi {
    margin-right: 0.5rem;
}

.country-options {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 220px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15); 
    padding: 0.5rem;
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 0.5rem;
}

.country-wrapper:hover .country-options {
    display: block;
}

.country-options a {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    border-radius: 4px;
    color: #2e3440;
    text-decoration: none;
    transition: background-color 0.3s;
}

.country-options a:hover {
    background-color: #f0f5fa;
}

.country-options a.selected {
    background-color: #5e81ac25;
    font-weight: 500;
}

.country-options .fi {
    margin-right: 0.8rem;
}

@media (max-width: 767px) {
    .language-switcher {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .country-wrapper {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
    }
    
    .language-wrapper {
        width: 100%;
    }
    
    .current-language, .current-country {
        width: 100%;
        justify-content: space-between;
    }
    
    .language-options, .country-options {
        width: 100%;
    }
    .language-options {
        position: fixed;
        bottom: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        max-width: 320px;
        max-height: 70vh;
        z-index: 1000;
    }
    body.language-dropdown-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
}
footer .language-options,
footer .country-options {
    bottom: 100%;
    top: auto;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
    margin-bottom: 0.5rem;
}

header .language-options,
header .country-options {
    top: 100%;
    bottom: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    margin-top: 0.5rem;
}

.fi {
    margin-right: 0.5em;
}
.moon-phases-info {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.new-moon-days, .full-moon-days {
    padding: 1.5rem;
    border-radius: 8px;
    background-color: #f5f7fa;
}

.new-moon-days {
    border-left: 4px solid #2e3440;
}

.full-moon-days {
    border-left: 4px solid #d8dee9;
}

.moon-phases-info h3 {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #2e3440;
}

.phase-emoji {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

@media (max-width: 767px) {
    .moon-phases-info {
        grid-template-columns: 1fr;
    }
}