:root {
    --bg-color: #F2F0E9;
    /* Warm Beige/Sand */
    --card-bg: rgba(255, 255, 255, 0.82);
    /* Increased opacity for contrast */
    --card-border: 1px solid rgba(255, 255, 255, 0.6);
    --shadow: 0 12px 40px -8px rgba(90, 80, 70, 0.12);
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --text-tertiary: #d2d2d7;
    --link-color: #0066cc;
    --separator: rgba(0, 0, 0, 0.08);
    /* Darker separator for visibility */
    --radius: 28px;
    --font-stack: -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-stack);
    margin: 0;
    padding: 40px 20px;
    font-size: 17px;
    /* Increased from default */
    line-height: 1.5;
}

/* Local Emoji Styling */
.local-emoji {
    height: 1.4em;
    width: auto;
    margin: 0 .15em;
    vertical-align: -0.3em;
    display: inline-block;
}

.container {
    max-width: 820px;
    margin: 0 auto;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: var(--card-border);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 40px;
    margin-bottom: 36px;
}

h1,
h2,
h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.022em;
}

h1 {
    font-size: 36px;
    /* Larger title */
    color: var(--text-primary);
    padding-bottom: 20px;
    border-bottom: 1px solid var(--separator);
}

.week-subtitle {
    font-size: 22px;
    color: var(--text-primary);
    /* Matched to H3 color */
    font-weight: 600;
    margin-bottom: 28px;
    display: block;
}

.intro-list {
    padding-left: 24px;
    margin: 0;
}

.intro-list li {
    margin-bottom: 14px;
    color: var(--text-primary);
}

/* Person Cards */
.person-header {
    font-size: 32px;
    /* Larger Name */
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--separator);
    padding-bottom: 16px;
}

h3 {
    font-size: 20px;
    /* Larger heading */
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    /* Darker than body text */
    margin-top: 40px;
    margin-bottom: 16px;
    font-weight: 700;
}

h3:first-of-type {
    margin-top: 10px;
}

/* Tables - Distinct Box Look */
.table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    margin-bottom: 32px;
    background: rgba(255, 255, 255, 0.5);
    /* Distinct background for table */
    border: 1px solid rgba(0, 0, 0, 0.06);
    /* Subtle border for definition */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    /* Larger table text */
    min-width: 600px;
}

th {
    text-align: left;
    padding: 14px 20px;
    border-bottom: 1px solid var(--separator);
    color: var(--text-primary);
    /* Darker than body text */
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--separator);
    color: var(--text-primary);
    font-weight: 400;
}

/* Vertical Column Dividers */
th:not(:last-child),
td:not(:last-child) {
    border-right: 1px solid var(--separator);
}

tr:last-child td {
    border-bottom: none;
}

/* Alternating row style optional */
tr:hover td {
    background-color: rgba(255, 255, 255, 0.4);
}

/* Paragraphs */
p {
    margin-bottom: 20px;
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 17px;
}

ul {
    padding-left: 24px;
}

li {
    margin-bottom: 10px;
}

/* Footer */
.footer-spacer {
    height: 60px;
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 40px;
}
