
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    border-left: 2px solid black;
    border-right: 2px solid black;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 65px;
    padding: 0 2rem;
    border-bottom: 2px solid black;
}

.logo {
    border-right: 2px solid black;
    padding-right: 1.5rem;
}

.logo a {
    text-decoration: none;
    color: black;
    font-weight: 500;
}

nav {
    flex: 1;
    display: flex;
    justify-content: right;
}

nav ul {
    display: flex;
    gap: 3rem;
    list-style: none;
}

nav a {
    text-decoration: none;
    color: black;
    font-size: 0.95rem;
}

nav a:hover {
    text-decoration: underline;
}


.page-heading {
    padding: 1.8rem 2rem;
    border-bottom: 2px solid black;
}

.page-heading h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
}

.page-heading p {
    color: #555;
    margin-top: 4px;
}

.main {
    flex: 1;
    padding: 2rem;
    border-bottom: 2px solid black;
}


.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card-container {
    border: 2px solid black;
    background: #fff;
    box-shadow: 8px 8px 0 black;
    transition: 0.2s ease;
    position: relative;
}

.card-container:nth-child(odd) {
    background: #fafafa;
}

.card-container:hover {
    transform: translate(-3px, -3px);
    box-shadow: 12px 12px 0 black;
}

.upper-container {
    height: 120px;
    border-bottom: 2px solid black;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background: #f2f2f2;
}

.image-container {
    width: 90px;
    height: 90px;
    border: 2px solid black;
    transform: translateY(50%);
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.image-container img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid black;
}


.lower-container {
    padding: 55px 18px 25px;
    text-align: center;
}

.lower-container h3 {
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lower-container h4 {
    font-size: 13px;
    color: #555;
    margin: 5px 0 12px;
    border-bottom: 1px dashed black;
    padding-bottom: 8px;
}

.lower-container p {
    font-size: 13px;
    line-height: 1.5;
    border: 1px dashed black;
    padding: 10px;
    background: #fff;
    margin-bottom: 15px;
    min-height: 90px;
}

.btn {
    display: inline-block;
    width: 100%;
    padding: 9px;
    border: 2px solid black;
    text-decoration: none;
    color: black;
    font-size: 0.85rem;
    text-transform: uppercase;
    box-shadow: 4px 4px 0 black;
    transition: 0.2s;
}

.btn:hover {
    background: black;
    color: white;
    box-shadow: none;
}

.field-tag {
    display: inline-block;
    font-size: 9px;
    border: 1px solid black;
    padding: 3px 6px;
    margin-bottom: 6px;
}

@media (max-width: 900px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cards-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    header {
        flex-direction: column;
        height: auto;
        padding: 1rem;
        gap: 0.5rem;
    }

    .logo {
        border-right: none;
        border-bottom: 2px solid black;
        width: 100%;
        text-align: center;
        padding-bottom: 0.5rem;
    }

    nav {
        justify-content: center;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .page-heading {
        text-align: center;
        padding: 1rem;
    }
}