/* Basic Reset & Defaults */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    /* Using a modern system font stack */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    background-color: #f8f9fa; /* Light grey background */
    color: #333; /* Darker text for readability */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 15px;
}

/* Main Content Container */
.content-container {
    background-color: #ffffff;
    padding: 40px 50px;
    margin-top: 40px;
    margin-bottom: 40px;
    max-width: 850px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Kept subtle shadow */
    border-radius: 8px;
    border: 2px solid #800020; /* Added Burgundy border */
    text-align: center;
}

/* Heading Style - Kept Centered */
h1 {
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 35px;
    color: #212529;
    text-align: center; /* Ensure heading stays centered */
    /* You could also adjust line-height if the title wraps to multiple lines */
    line-height: 1.1;
}

/* Paragraph Style - JUSTIFIED */
p {
    margin-bottom: 1.2em;
    font-size: 1em;
    color: #495057;
    text-align: justify; /* Justify paragraph text */

    /* Optional: Add hyphenation for better justification flow, especially in Polish */
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

/* Optional Image Styling */
.announcement-photo {
    max-width: 150px;
    height: auto;
    display: block;
    margin: 25px auto; /* Center the image */
    border-radius: 4px;
    /* No border */
}

.cta-button {
    display: inline-block; /* Behaves like text but can have padding/margins */
    background-color: #800020; /* Burgundy background */
    color: #ffffff; /* White text */
    padding: 12px 28px; /* Vertical and horizontal padding */
    margin-top: 35px; /* Space above the button */
    margin-bottom: 25px; /* Space below the button */
    border-radius: 6px; /* Rounded corners */
    text-decoration: none; /* Remove underline */
    font-weight: 600; /* Slightly bolder text */
    font-size: 1.05em; /* Slightly larger font size */
    text-align: center;
    border: none; /* Remove any default border */
    cursor: pointer; /* Show pointer cursor on hover */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transitions */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.cta-button:hover,
.cta-button:focus {
    background-color: #a00028; /* Slightly lighter/brighter burgundy */
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px); /* Slight lift effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Slightly stronger shadow on hover */
}

/* Accessibility: Style for keyboard navigation focus */
.cta-button:focus-visible {
   outline: 2px solid #5a0014; /* Darker burgundy outline */
   outline-offset: 3px;
}

/* Date/Signature Styling - Kept Centered */
.date-signature {
    margin-top: 30px;
    font-size: 0.9em;
    color: #6c757d;
    line-height: 1.5;
    text-align: center; /* Ensure date/signature stays centered */
}

/* Responsive Adjustments for smaller screens */
@media (max-width: 768px) { /* Adjusted breakpoint slightly for tablets */
    .content-container {
         /* Keep max-width slightly smaller on tablets if needed, or remove this line */
         /* max-width: 90%; */ /* Example: Use percentage for more fluidity */
         padding: 35px 40px;
    }
}

@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .content-container {
        max-width: 100%; /* Allow full width on small mobile */
        padding: 30px 25px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    h1 {
        font-size: 1.6em;
    }

    p {
        font-size: 0.95em;
        /* Justification might look less ideal on very narrow screens,
           consider changing back to text-align: left; here if needed */
        text-align: left;
    }

    .announcement-photo {
        max-width: 120px;
    }

    .cta-button {
        padding: 10px 22px; /* Slightly smaller padding */
        font-size: 1em; /* Adjust font size if needed */
        margin-top: 30px;
        margin-bottom: 20px;
    }
    }
}	