/*
 * Demo brand-pack styles — winners pages only.
 * Loaded by brand-plugins/demo/faculty-api-brand-demo.php via wp_enqueue_style.
 * Generic grid/layout utility classes (.grid, .sw, .pic, .img-1-1) come from
 * theme/style.css and are not duplicated here.
 */

/* Demo colour tokens — reference only (mirror of config/demo.php). Templates apply these colours inline via PHP; no CSS rule consumes these vars. */
:root {
    --demo-primary:   #2D6CDF;
    --demo-secondary: #1B2A4A;
}

/* --- Winners listing page --- */

#winners {
    background-color: #f5f5f5;
}

#winners-list .sw {
    padding: 0;
    max-width: 100%;
    width: 100%;
}

.comp-winner-header {
    padding: 24px 0;
}

.comp-winner-header .comp-year {
    padding: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    width: 100%;
}

.filter-wrap {
    padding: 16px 0;
}

.filter-wrap .search {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid #ddd;
    font-size: 14px;
}

/* Winner card */
.winner-body {
    display: block;
    background: #fff;
    height: 100%;
    transition: box-shadow 250ms ease-in;
}

.winner-body:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
}

.winner-body h3 {
    line-height: 1;
    margin-bottom: 8px;
}

.winner-body h3 span {
    margin-top: 8px;
}

.winner-img.img-1-1 {
    overflow: hidden;
}

.winner-body .copy {
    text-align: left;
    padding: 16px;
}

.winner-body .copy .prize {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 6px;
}

.winner-body .copy .project {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.winner-body .copy .designer {
    font-size: 13px;
    color: #555;
}

/* --- Single winner / HM entry page --- */

#single-winner {
    background-color: #fff;
}

#single-winner .winner-detail {
    align-items: flex-start;
}

#single-winner .winner-detail h1 {
    font-size: 28px;
    margin-bottom: 12px;
}

#single-winner .winner-detail .description {
    margin-top: 20px;
    line-height: 1.7;
    color: #333;
}

#single-winner .winner-detail .category {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* --- Responsive --- */

@media (max-width: 768px) {
    .comp-winner-header .comp-year {
        width: 100%;
    }
}
