@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Montserrat:wght@300;400&display=swap');

.header-tile {
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
    /* Decorative border: Ocean Wave Pattern */
    /* Only Left and Bottom borders */
    border-style: solid;
    border-width: 0 0 20px 20px;
    border-color: transparent;

    /* SVG: Simple repeating wave. */
    border-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20 Q10 5 20 20 T40 20' stroke='%230d6efd' stroke-width='4' fill='none'/%3E%3C/svg%3E") 20 round;

    box-shadow: -10px 10px 20px rgba(0, 0, 0, 0.15);
    padding: 3rem;
    margin-bottom: 3rem;
    position: relative;
}

.header-tile h1 {
    font-family: 'Lobster', cursive;
    /* Marine/Handwritten feel */
    font-weight: 400;
    color: #004e92;
    /* Deeper marine blue */
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    /* Larger for impact */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.header-tile .header-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #34495e;
    font-size: 1.2rem;
    line-height: 1.8;
    font-style: italic;
    /* Slightly more poetic */
}

/* Persons Section */
.person-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .person-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .person-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.person-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);

    max-width: 350px;
    /* Limit maximum width */
    margin: 0 auto;
    /* Center in grid cell */
}

.person-image-container {
    height: 200px;
    /* Reduced height */
    width: 100%;
    overflow: hidden;
    background: #f8f9fa;
    position: relative;
}

.person-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures cropping */
    object-position: center top;
    /* Focus on faces usually at top */
}

.person-info {
    padding: 1rem;
    /* Reduced padding */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.person-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.person-role {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #0d6efd;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.person-slogan {
    font-family: 'Lobster', cursive;
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
    font-style: italic;
}

.person-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #777;
    line-height: 1.5;
}



/* Latest Additions */
.latest-additions-wrapper {
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 8px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.latest-additions-container {
    max-height: 125px; /* Roughly 5 lines */
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Custom scrollbar for better appearance */
.latest-additions-container::-webkit-scrollbar {
    width: 6px;
}
.latest-additions-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.latest-additions-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}
.latest-additions-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.latest-addition-row {
    display: flex;
    padding: 5px 10px;
    border-bottom: 1px solid #fafafa;
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
    transition: background 0.2s;
    align-items: center;
}

.latest-addition-row:hover {
    background: #f0f7ff;
    color: #004e92;
}

.latest-addition-row:last-child {
    border-bottom: none;
}

.addition-date {
    color: #888;
    margin-right: 15px;
    font-family: 'Montserrat', sans-serif;
    min-width: 85px;
}

.addition-type {
    color: #0d6efd;
    font-weight: 500;
    margin-right: 15px;
    min-width: 100px;
}

.addition-title {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
