/* --- VARIABLES --- */
:root {
    --bg-light: #EEF2F2;
    --primary-color: #243333;
    --text-color: #4A6464;
    --brand-teal: #5b8e8e;
}

body.award-page {
    background: var(--bg-light);
    letter-spacing: -0.04em;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}







/* SECTION */
.award-section {
    padding: 0 0 80px 0;
    flex: 1;
}

.award-header {
    text-align: center;
    margin-bottom: 64px;
    margin-top: 64px;
}

.award-main-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
    margin-top: 10px;
    letter-spacing: -0.07em;
    line-height: 1.2;
    font-family: 'Manrope', sans-serif;
}

/* LIST COMPONENT */
.award-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* HEADER ROW */
.award-list-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 20px 15px 20px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    gap: 20px;
}

.header-label {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    display: block;
    line-height: 1.2;
}

.header-label-sub {
    font-size: 13px;
    font-weight: 500;
    color: #8da3a3;
    display: block;
    margin-top: 2px;
}

/* Hide header on mobile since layout changes completely */
@media (max-width: 991px) {
    .award-list-header {
        display: none;
    }
}

/* LIST ITEM - ROW */
.award-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 20px 30px 20px;
    border-bottom: 2px solid #e0e0e0;
    transition: background-color 0.3s ease;
    gap: 20px;
}

/* Remove border from the last item */
.award-item:last-child {
    border-bottom: none;
}

/* Ensure top border of first item doesn't clash if we only want 'between' lines */
/* The previous code had a border-top on first-child, removing it based on user request "itemlar arasında çizgi olsun" */
.award-item:first-child {
    border-top: none;
}

.award-item:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

/* COLUMNS */
.award-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Logo: satırın %20'si */
.award-col-logo {
    flex: 0 0 10%;
    max-width: 10%;
    min-width: 0;
    align-items: center;
    justify-content: center;
    padding-right: 0;
}

/* col-1, col-2, col-3 geniş; col-4 dar */
.award-col.col-1,
.award-col.col-2,
.award-col.col-3 {
    flex: 1 1 0;
    min-width: 0;
    padding-right: 0;
}

.award-col.col-4 {
    flex: 0 0 10%;
    max-width: 100px;
    min-width: 0;
    padding-right: 0;
    text-align: right;
    align-items: flex-end;
}

.award-image {
    max-height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.award-col-text {
    display: flex;
    flex-direction: column;
}

.award-col-text .award-text-stroke,
.award-col-text .award-category {
    display: block;
}

/* UNIFIED TYPOGRAPHY (Top vs Bottom) */

/* TOP ELEMENTS (Gray/Teal - Secondary) -> NOW DARK */
.award-text-stroke,
.award-company,
.award-agency {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    /* Swapped to Dark */
    text-transform: uppercase;
    margin-bottom: 2px;
    /* Reduced from 4px to 2px */
    letter-spacing: 0.5px;
    line-height: 1.3;
    display: block;
}

/* BOTTOM ELEMENTS (Dark - Primary) -> NOW LIGHTER GRAY */
.award-category,
.award-project-title,
.award-advertiser,
.award-name {
    font-size: 16px;
    font-weight: 700;
    color: #aababa;
    /* Lighter Gray/Teal as requested */
    line-height: 1.3;
    display: block;
}

/* Specific tweaks if needed */
.award-name {
    color: #aababa;
    /* Strict compliance: Lighter Gray */
    font-size: 18px;
    /* Slightly larger for award name */
}

/* Override category specific if it was too small */
.award-category {
    font-weight: 700;
    /* Match project title weight */
}

/* Override advertiser specific if it was too small */
.award-advertiser {
    color: #aababa;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .award-item {
        flex-direction: column;
        /* Ensure true vertical stack */
        align-items: flex-start;
        /* Align all children to start */
        padding: 20px;
        background-color: rgba(255, 255, 255, 0.4);
        margin-bottom: 0;
        border: none;
        border-bottom: 1px solid #e0e0e0;
        gap: 16px;
        /* Consistent gap between stacked items */
    }

    .award-col {
        width: 100%;
        /* Force full width */
        flex: 0 0 auto;
        /* Reset flex basis */
        max-width: 100%;
        /* OVERRIDE DESKTOP MAX-WIDTH */
        text-align: left;
        /* Reset text align */
        align-items: flex-start;
        /* Reset flex alignment */
        margin-bottom: 0;
        /* Let gap handle spacing */
        position: relative;
    }

    /* INLINE MOBILE HEADERS */
    .award-col::before {
        content: attr(data-label);
        display: block;
        font-size: 11px;
        font-weight: 800;
        color: #999;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 3px;
    }

    .award-col-logo::before {
        display: none;
    }

    .award-col.col-1,
    .award-col.col-2,
    .award-col.col-3,
    .award-col.col-4 {
        flex: 0 0 auto;
        max-width: 100%;
        text-align: left;
        padding-right: 0;
        flex-direction: column;
        gap: 0;
    }

    /* Specific reset for Col 4 which was right-aligned */
    .award-col.col-4 {
        align-items: flex-start;
        justify-content: flex-start;
        min-width: auto;
    }

    .award-name {
        white-space: normal;
        /* Allow wrapping on mobile if needed */
        font-size: 18px;
    }

    .award-text-stroke {
        font-size: 24px;
        /* Slightly smaller for mobile */
    }
}