/* --- City Page Info Sections --- */
.info-section {
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
    padding: 2rem;
    background-color: var(--surface-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.info-section h2 {
    font-size: 1.8rem;
    text-align: left;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

/* Grid for Key-Value Data (Time Info) */
.info-grid {
    display: grid;
    /* Two columns: Key (aligns right) and Value (aligns left) */
    grid-template-columns: max-content 1fr;
    gap: 0.75rem 1.5rem; /* row-gap, column-gap */
    align-items: baseline; /* Vertically align text across columns */
}

/* By using 'display: contents', the div wrapper is ignored for layout,
   allowing <dt> and <dd> to become direct grid items for a clean two-column layout. */
.info-grid div {
    display: contents;
}

.info-grid dt {
    font-weight: 700;
    color: var(--text-secondary-color);
    text-align: right; /* Aligning keys to the right creates a neat line */
}

.info-grid dd {
    font-family: 'Roboto Mono', monospace;
    color: var(--text-color);
    text-align: left; /* Align values to the left for readability */
}

/* Grid for Sun & Moon Data */
.sun-moon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.sun-moon-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sun-moon-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    width: 40px; /* Align icons */
    text-align: center;
}

.sun-moon-item div {
    display: flex;
    flex-direction: column;
}

.sun-moon-item span {
    font-size: 0.9rem;
    color: var(--text-secondary-color);
}

.sun-moon-item strong {
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Roboto Mono', monospace;
    color: var(--text-color);
}

/* Font Awesome Sunset/Sunrise icons */
.fa-sunrise {
    --fa-primary-color: #ffc107;
    --fa-secondary-color: #ff8f00;
    --fa-primary-opacity: 1;
    --fa-secondary-opacity: 1;
}
.fa-sunset {
    --fa-primary-color: #ff8f00;
    --fa-secondary-color: #455a64;
    --fa-primary-opacity: 1;
    --fa-secondary-opacity: 1;
}


