/* Basic Reset & Body Styles */
body {
    font-family: 'EB Garamond', serif; /* Apply EB Garamond */
    font-family: 'Inter', sans-serif; /* Using Inter font */
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8; /* Light background */
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure footer sticks to bottom */
}

/* Header Styles */
header {
    background-color: #2c3e50; /* Dark blue/grey */
    color: #fff;
    padding: 1.5em 1em;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    font-family: 'EB Garamond', serif; /* Apply EB Garamond to header */
}

header h1 {
    margin: 0;
    font-size: 2.2em;
    font-weight: 700;
    font-family: 'EB Garamond', serif; /* Apply EB Garamond to header title */
}

header .subtitle {
    margin-top: 0.5em;
    font-size: 1.1em;
    opacity: 0.9;
    font-family: 'EB Garamond', serif; /* Apply EB Garamond to subtitle */
}

/* Main Content Area */
main {
    flex-grow: 1; /* Allows main content to expand */
    padding: 20px;
    max-width: 960px; /* Max width for readability */
    margin: 30px auto;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.08);
    border-radius: 10px;
}

/* Section Styles */
section {
    margin-bottom: 30px;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

section:last-child {
    border-bottom: none; /* No border for the last section */
}

h2 {
    color: #34495e; /* Slightly darker blue/grey */
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 15px;
    border-left: 4px solid #3498db; /* Blue accent */
    padding-left: 10px;
    border-radius: 3px;
    font-family: 'EB Garamond', serif; /* Apply EB Garamond to section titles */
}

p {
    margin-bottom: 1em;
    font-family: 'EB Garamond', serif; /* Apply EB Garamond to paragraphs */
}

ul {
    list-style-type: disc;
    margin-left: 20px;
}

li {
    margin-bottom: 0.5em;
    font-family: 'EB Garamond', serif;
}

/* Link Container & Box Styles */
.link-container {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap on smaller screens */
    justify-content: center; /* Centers items horizontally */
    gap: 25px; /* Space between items */
    margin-top: 25px;
}

.link-box {
    background-color: #ecf0f1; /* Light grey background */
    border: 1px solid #bdc3c7; /* Border color */
    border-radius: 8px; /* Rounded corners */
    padding: 12px 20px;
    text-align: center;
    display: flex;
    align-items: center; /* Vertically align icon and text */
    justify-content: center; /* Center content horizontally */
    min-width: 150px; /* Minimum width for each box */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05); /* Subtle shadow */
}

.link-box:hover {
    transform: translateY(-3px); /* Lift effect on hover */
    box-shadow: 0 6px 12px rgba(0,0,0,0.1); /* Enhanced shadow on hover */
}

.link-box img {
    margin-right: 10px; /* Space between icon and text */
    vertical-align: middle;
    border-radius: 3px; /* Slightly rounded image corners */
}

.link-box a {
    text-decoration: none;
    color: #2980b9; /* Blue link color */
    font-weight: bold;
    font-size: 1.1em;
    font-family: 'EB Garamond', serif;
}

.link-box a:hover {
    text-decoration: underline;
}

/* Footer Styles */
footer {
    background-color: #34495e; /* Darker blue/grey */
    color: #ecf0f1; /* Light text for footer */
    text-align: center;
    padding: 1.5em 1em;
    margin-top: 30px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

footer p {
    margin: 0.5em 0;
    font-size: 0.9em;
    opacity: 0.8;
    font-family: 'EB Garamond', serif;
}

/* --- Style for the Warning Banner --- */
.warning-banner {
    background-color: #fff3cd; /* A light yellow, common for warnings */
    color: #856404; /* A dark yellow/brown for text */
    border: 1px solid #ffeeba;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    border-radius: 5px;
}

.warning-banner p {
    margin: 0;
    font-size: 0.9em;
    font-family: 'EB Garamond', serif; /* Apply EB Garamond to warning text */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8em;
    }

    main {
        margin: 20px 10px;
        padding: 15px;
    }

    h2 {
        font-size: 1.5em;
    }

    .link-container {
        flex-direction: column; /* Stack links vertically on small screens */
        align-items: center; /* Center stacked links */
    }

    .link-box {
        width: 80%; /* Make boxes wider on small screens */
        max-width: 300px; /* Limit max width for very small screens */
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5em;
    }

    header .subtitle {
        font-size: 1em;
    }

    h2 {
        font-size: 1.3em;
    }
}
