/* ============================================================
   Photo Contest - Gallery modernization (classic layout)
   Palette: #00398a (blue) · #af332a (red) · #e2e8f0 (border)
   ============================================================ */

/* --- Filter bar: clean white card --- */
.photo-contest .modern-p-form.p-form-modern-steelBlue {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06) !important;
    padding: 12px !important;
    margin: 0 0 20px 0 !important;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.photo-contest .modern-p-form .p-form {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.photo-contest #order-by-form {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    align-items: flex-end !important;
}

.photo-contest #order-by-form .form-group {
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}

.photo-contest .pc-gal-select,
.photo-contest .pc-gal-select-last,
.photo-contest .pc-gal-select2,
.photo-contest .pc-gal-select-last2 {
    width: auto !important;
    flex: 1 1 190px !important;
    margin: 0 !important;
    float: none !important;
}

.photo-contest #order-by-form .form-control {
    width: 100% !important;
    height: 42px !important;
    padding: 0 38px 0 14px !important;
    font-size: 14px !important;
    color: #1e293b !important;
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.photo-contest #order-by-form select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.photo-contest #order-by-form .form-control:focus {
    border-color: #00398a !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 57, 138, 0.12) !important;
}

.photo-contest .p-custom-arrow .p-select-arrow {
    color: #00398a !important;
}

/* --- Search button --- */
.photo-contest #order-by-form .pc-btn {
    height: 42px !important;
    min-width: 46px !important;
    padding: 0 16px !important;
    color: #ffffff !important;
    background-color: #00398a !important;
    border: 1px solid #00398a !important;
    border-radius: 0 8px 8px 0 !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.photo-contest #order-by-form .pc-btn:hover,
.photo-contest #order-by-form .pc-btn:focus {
    background-color: #af332a !important;
    border-color: #af332a !important;
    color: #ffffff !important;
}

/* --- Gallery cards --- */
.photo-contest .gallery-wrap .one-full,
.photo-contest .gallery-wrap .one-half,
.photo-contest .gallery-wrap .one-third,
.photo-contest .gallery-wrap .one-fourth,
.photo-contest .gallery-wrap .one-fifth {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.photo-contest .gallery-wrap .one-half:hover,
.photo-contest .gallery-wrap .one-third:hover,
.photo-contest .gallery-wrap .one-fourth:hover,
.photo-contest .gallery-wrap .one-fifth:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.10) !important;
}

.photo-contest .gallery-wrap .imagebox {
    border: none !important;
    background: #ffffff !important;
}

.photo-contest .gallery-wrap .classic img {
    transition: transform 0.3s ease;
}

.photo-contest .gallery-wrap .classic img:hover {
    opacity: 1 !important;
    transform: scale(1.04);
}

.photo-contest .gallery-wrap .gallery-title-autor {
    border: none !important;
    border-top: 1px solid #e2e8f0 !important;
    padding: 12px 10px !important;
    background: #ffffff !important;
}

.photo-contest .gallery-wrap .gallery-title-autor .author {
    color: #00398a !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}

.photo-contest .gallery-wrap .gallery-title-autor .pc-title a {
    color: #64748b !important;
}

.photo-contest .gallery-wrap .gallery-title-autor .pc-title a:hover {
    color: #00398a !important;
}

.photo-contest .gallery-votes {
    border: none !important;
    border-top: 1px solid #e2e8f0 !important;
    background-color: #ffffff !important;
    margin: 0 !important;
    font-size: 90% !important;
}

.photo-contest .gallery-votes span.left {
    color: #475569 !important;
}

.photo-contest .gallery-votes span.left i {
    color: #00398a !important;
}

/* --- Pagination --- */
.photo-contest .pc-pagination span {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    color: #1e293b !important;
}

.photo-contest .pc-pagination span a {
    color: #00398a !important;
}

.photo-contest .pc-pagination span.active {
    background-color: #00398a !important;
    border: 1px solid #00398a !important;
    color: #ffffff !important;
}

.photo-contest .pc-pagination span:hover:not(.active) {
    background-color: #e8f0f9 !important;
    border-color: #cbd5e1 !important;
}

/* ============================================================
   Photo Contest 4.3.1 · public gallery, detail, ranking and lightbox
   ------------------------------------------------------------
   Layer built on the approved design system
   (docs/design/02-design-system.md §4.5, §4.8, §4.9, §4.13):
   tokens --pc-*, components pc-ui-* and the pc-photo-card card.

   Rules of engagement:
   1. Everything is scoped to `.photo-contest`.
   2. No Bootstrap 3 reset, no Font Awesome font, no external image.
   3. The legacy `.one-*`, `.modern-*` and `.classic` rules above stay for
      compatibility with old cached markup; the new markup uses
      `.pc-gallery*`, `.pc-photo-card*`, `.pc-detail*` and `.pc-top10*`.
   4. Selectors carry `.pc-gallery` / `.pc-detail` so they win over the design
      system base (gallery-modern.css is enqueued before it).
   ============================================================ */

/* The design system makes `pc-ui-btn` the primary button; `--primary` is kept
   as an explicit modifier for the gallery layer. */
.photo-contest .pc-gallery .pc-ui-btn--primary,
.photo-contest .pc-detail .pc-ui-btn--primary,
.photo-contest .pc-top10 .pc-ui-btn--primary {
    background: var(--pc-primary, #00398A);
    border-color: var(--pc-primary, #00398A);
    color: #fff;
}

.photo-contest .pc-gallery .pc-ui-btn--primary:hover,
.photo-contest .pc-gallery .pc-ui-btn--primary:focus,
.photo-contest .pc-detail .pc-ui-btn--primary:hover,
.photo-contest .pc-detail .pc-ui-btn--primary:focus {
    background: var(--pc-primary-600, #00306F);
    border-color: var(--pc-primary-600, #00306F);
    color: #fff;
}

/* ------------------------------------------------------------
   0. Legacy anchor neutralisation
   ------------------------------------------------------------
   public.css (out of this batch's scope) removes background and border from
   every link inside `.photo-contest` with `!important`:
       .photo-contest a { background:none !important; border:none !important; }
   That rule exists to tame theme link styles, but it also flattens button-like
   links (`<a class="pc-ui-btn">`) and chips. These scoped rules restore the
   component look with the same importance, and are removed when public.css is
   cleaned in the phase-4 batch. */
.photo-contest .pc-gallery a.pc-ui-btn,
.photo-contest .pc-detail a.pc-ui-btn,
.photo-contest .pc-top10 a.pc-ui-btn,
.photo-contest .pc-gallery__toolbar a.pc-ui-btn {
    border: 1px solid var(--pc-border-control, #8494A9) !important;
    background-color: var(--pc-surface, #fff) !important;
    color: var(--pc-primary, #00398A) !important;
    box-shadow: none !important;
}

.photo-contest .pc-gallery a.pc-ui-btn--primary,
.photo-contest .pc-detail a.pc-ui-btn--primary,
.photo-contest .pc-top10 a.pc-ui-btn--primary,
.photo-contest .pc-gallery__toolbar a.pc-ui-btn--primary {
    border-color: var(--pc-vote-bg, var(--pc-primary, #00398A)) !important;
    background-color: var(--pc-vote-bg, var(--pc-primary, #00398A)) !important;
    color: var(--pc-vote-fg, #fff) !important;
}

.photo-contest .pc-gallery a.pc-ui-btn--ghost,
.photo-contest .pc-detail a.pc-ui-btn--ghost,
.photo-contest .pc-top10 a.pc-ui-btn--ghost,
.photo-contest .pc-gallery__toolbar a.pc-ui-btn--ghost {
    border-color: transparent !important;
    background-color: transparent !important;
    color: var(--pc-primary, #00398A) !important;
}

.photo-contest .pc-gallery a.pc-ui-chip,
.photo-contest .pc-gallery__toolbar a.pc-ui-chip {
    border: 1px solid var(--pc-border-strong, #CBD5E1) !important;
    background-color: var(--pc-surface, #fff) !important;
    color: var(--pc-text, #404041) !important;
}

.photo-contest .pc-gallery a.pc-photo-card__title-link,
.photo-contest .pc-gallery a.pc-photo-card__author-link,
.photo-contest .pc-gallery a.pc-photo-card__media-link,
.photo-contest .pc-top10 a.pc-top10__title-link,
.photo-contest .pc-top10 a.pc-top10__thumb,
.photo-contest .pc-detail__author,
.photo-contest .pc-breadcrumb a {
    border: 0 !important;
    background: none !important;
}

/* ------------------------------------------------------------
   1. Filter toolbar
   ------------------------------------------------------------ */.photo-contest .pc-gallery__toolbar {
    margin: 0 0 var(--pc-space-5, 20px);
    padding: var(--pc-space-4, 16px) var(--pc-space-5, 20px);
    border: 1px solid var(--pc-border, #E2E8F0);
    border-radius: var(--pc-radius-lg, 12px);
    background: var(--pc-surface, #fff);
    box-shadow: var(--pc-shadow-sm, 0 2px 8px rgba(15, 23, 42, .05));
}

.photo-contest .pc-gallery__filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--pc-space-3, 12px) var(--pc-space-4, 16px);
    align-items: flex-end;
    margin: 0;
}

.photo-contest .pc-gallery__filters .pc-gallery__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 200px;
    min-width: 0;
    margin: 0;
}

.photo-contest .pc-gallery__filters .pc-gallery__field--search {
    flex: 2 1 320px;
}

.photo-contest .pc-gallery__filters .pc-ui-label {
    font-size: var(--pc-fs-13, .8125rem);
    font-weight: var(--pc-fw-semibold, 600);
    color: var(--pc-text-strong, #1F2937);
    letter-spacing: 0;
    text-transform: none;
    margin: 0;
}

.photo-contest .pc-gallery__search {
    position: relative;
    display: flex;
    align-items: center;
}

.photo-contest .pc-gallery__search-icon {
    position: absolute;
    left: 12px;
    display: inline-flex;
    color: var(--pc-muted, #64748B);
    pointer-events: none;
}

.photo-contest .pc-gallery__search .pc-ui-input {
    padding-left: 40px;
    width: 100%;
}

.photo-contest .pc-gallery__filters .pc-ui-select,
.photo-contest .pc-gallery__filters .pc-ui-input {
    width: 100%;
    min-height: var(--pc-control-height, 44px);
}

.photo-contest .pc-gallery__actions {
    display: flex;
    gap: var(--pc-space-2, 8px);
    align-items: center;
    flex: 0 0 auto;
}

.photo-contest .pc-gallery__summary {
    display: flex;
    flex-wrap: wrap;
    gap: var(--pc-space-2, 8px) var(--pc-space-4, 16px);
    align-items: center;
    justify-content: space-between;
    margin-top: var(--pc-space-4, 16px);
    padding-top: var(--pc-space-3, 12px);
    border-top: 1px solid var(--pc-border, #E2E8F0);
}

.photo-contest .pc-gallery__active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--pc-space-2, 8px);
    font-size: var(--pc-fs-12, .75rem);
    color: var(--pc-muted-on-canvas, #55657A);
}

.photo-contest .pc-gallery__active-label {
    font-size: var(--pc-fs-11, .6875rem);
    font-weight: var(--pc-fw-semibold, 600);
    letter-spacing: var(--pc-tracking-eyebrow, .09em);
    text-transform: uppercase;
    color: var(--pc-text-strong, #1F2937);
}

.photo-contest .pc-gallery__active-none {
    color: var(--pc-muted-on-canvas, #55657A);
}

.photo-contest .pc-gallery__count {
    margin: 0;
    font-size: var(--pc-fs-12, .75rem);
    font-weight: var(--pc-fw-medium, 500);
    color: var(--pc-muted-on-canvas, #55657A);
}

/* Chips of active filters: link + close icon, 32 px high. */
.photo-contest .pc-gallery__active-filters .pc-ui-chip {
    text-decoration: none;
    color: var(--pc-text, #404041);
    gap: 6px;
}

.photo-contest .pc-gallery__active-filters .pc-ui-chip:hover,
.photo-contest .pc-gallery__active-filters .pc-ui-chip:focus {
    border-color: var(--pc-primary, #00398A);
    background: var(--pc-primary-50, #E8F0F9);
    color: var(--pc-primary, #00398A);
}

/* ------------------------------------------------------------
   2. Card grid (1-5 configured columns, 1-4 on screen)
   ------------------------------------------------------------ */
.photo-contest .pc-gallery {
    display: grid;
    grid-template-columns: repeat(var(--pc-gallery-cols, 3), minmax(0, 1fr));
    gap: var(--pc-space-5, 20px);
    align-items: start;
    margin: 0 0 var(--pc-space-5, 20px);
    float: none;
    width: 100%;
}

.photo-contest .pc-gallery--cols-1 { --pc-gallery-cols: 1; }
.photo-contest .pc-gallery--cols-2 { --pc-gallery-cols: 2; }
.photo-contest .pc-gallery--cols-3 { --pc-gallery-cols: 3; }
.photo-contest .pc-gallery--cols-4 { --pc-gallery-cols: 4; }
.photo-contest .pc-gallery--cols-5 { --pc-gallery-cols: 5; }

@media (max-width: 1200px) {
    .photo-contest .pc-gallery--cols-5,
    .photo-contest .pc-gallery--cols-4 { --pc-gallery-cols: 3; }
}

@media (max-width: 1024px) {
    .photo-contest .pc-gallery--cols-5,
    .photo-contest .pc-gallery--cols-4,
    .photo-contest .pc-gallery--cols-3 { --pc-gallery-cols: 2; }
}

@media (max-width: 640px) {
    .photo-contest .pc-gallery { --pc-gallery-cols: 1; gap: var(--pc-space-4, 16px); }
    .photo-contest .pc-gallery--cols-1 { --pc-gallery-cols: 1; }
}

/* ------------------------------------------------------------
   3. Photo card (base in the design system, layout here)
   ------------------------------------------------------------ */
.photo-contest .pc-gallery .pc-photo-card {
    position: relative;
    margin: 0;
    text-align: left;
    background: var(--pc-surface, #fff);
}

.photo-contest .pc-gallery--cols-1 .pc-photo-card__media {
    aspect-ratio: 16 / 10;
}

.photo-contest .pc-gallery .pc-photo-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--pc-dur-slow, 260ms) var(--pc-ease, cubic-bezier(.2,.8,.2,1));
}

@media (hover: hover) {
    .photo-contest .pc-gallery .pc-photo-card:hover .pc-photo-card__media img {
        transform: scale(1.03);
    }
}

.photo-contest .pc-gallery .pc-photo-card__media-link {
    display: block;
    height: 100%;
}

.photo-contest .pc-gallery .pc-photo-card__title {
    margin: 0;
    font-family: var(--pc-font-body);
    font-size: var(--pc-fs-15, .9375rem);
    font-weight: var(--pc-fw-semibold, 600);
    line-height: 1.35;
    color: var(--pc-text-strong, #1F2937);
}

.photo-contest .pc-gallery .pc-photo-card__title-link,
.photo-contest .pc-gallery .pc-photo-card__title a {
    color: inherit;
    text-decoration: none;
    background: none !important;
}

.photo-contest .pc-gallery .pc-photo-card__title-link:hover,
.photo-contest .pc-gallery .pc-photo-card__title-link:focus {
    color: var(--pc-primary, #00398A);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.photo-contest .pc-gallery .pc-photo-card__author {
    margin: 0;
    font-size: var(--pc-fs-12, .75rem);
    color: var(--pc-muted-on-canvas, #55657A);
}

.photo-contest .pc-gallery .pc-photo-card__author-link {
    color: inherit;
    text-decoration: none;
    background: none !important;
}

.photo-contest .pc-gallery .pc-photo-card__author-link:hover,
.photo-contest .pc-gallery .pc-photo-card__author-link:focus {
    color: var(--pc-primary, #00398A);
    text-decoration: underline;
}

.photo-contest .pc-gallery .pc-photo-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--pc-space-2, 8px);
    margin-top: auto;
    padding-top: var(--pc-space-2, 8px);
    border-top: 1px solid var(--pc-border, #E2E8F0);
    color: var(--pc-muted-on-canvas, #55657A);
    font-size: var(--pc-fs-12, .75rem);
}

.photo-contest .pc-gallery .pc-photo-card__meta > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.photo-contest .pc-gallery .pc-photo-card__meta .pc-icon {
    color: var(--pc-primary, #00398A);
    flex: 0 0 auto;
}

.photo-contest .pc-gallery .pc-photo-card__votes {
    margin-left: auto;
    color: var(--pc-text-strong, #1F2937);
    font-weight: var(--pc-fw-medium, 500);
}

/* Lightbox trigger: the whole media is the button, the badge is decorative. */
.photo-contest .pc-gallery .pc-photo-card__zoom {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    overflow: hidden;
}

.photo-contest .pc-gallery .pc-photo-card__zoom-icon {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--pc-radius-circle, 50%);
    background: rgba(11, 18, 32, .72);
    color: #fff;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity var(--pc-dur, 180ms) var(--pc-ease), transform var(--pc-dur, 180ms) var(--pc-ease);
}

.photo-contest .pc-gallery .pc-photo-card__zoom:hover .pc-photo-card__zoom-icon,
.photo-contest .pc-gallery .pc-photo-card__zoom:focus-visible .pc-photo-card__zoom-icon,
.photo-contest .pc-gallery .pc-photo-card__zoom:focus .pc-photo-card__zoom-icon {
    opacity: 1;
    transform: translateY(0);
}

@media (hover: none) {
    .photo-contest .pc-gallery .pc-photo-card__zoom-icon {
        opacity: 1;
        transform: none;
    }
}

/* Overlay variant (gallery_layout 2/3/4): information always visible (D-04). */
.photo-contest .pc-gallery .pc-photo-card--overlay .pc-photo-card__body {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: var(--pc-space-4, 16px);
    background: linear-gradient(180deg, rgba(8, 15, 30, 0) 0%, rgba(8, 15, 30, .55) 34%, rgba(8, 15, 30, .9) 100%);
    color: #fff;
    border-radius: 0;
}

.photo-contest .pc-gallery .pc-photo-card--overlay .pc-photo-card__title,
.photo-contest .pc-gallery .pc-photo-card--overlay .pc-photo-card__title a {
    color: #fff;
    text-shadow: 0 1px 2px rgba(8, 15, 30, .45);
}

.photo-contest .pc-gallery .pc-photo-card--overlay .pc-photo-card__author {
    color: rgba(255, 255, 255, .92);
}

.photo-contest .pc-gallery .pc-photo-card--overlay .pc-photo-card__meta {
    border-top-color: rgba(255, 255, 255, .28);
    color: #fff;
    margin-top: var(--pc-space-2, 8px);
}

.photo-contest .pc-gallery .pc-photo-card--overlay .pc-photo-card__meta .pc-icon {
    color: #fff;
}

.photo-contest .pc-gallery .pc-photo-card--overlay .pc-photo-card__votes {
    color: #fff;
}

.photo-contest .pc-gallery .pc-photo-card--overlay .pc-photo-card__actions {
    margin-top: var(--pc-space-2, 8px);
}

.photo-contest .pc-gallery .pc-photo-card--overlay .pc-photo-card__media {
    min-height: 220px;
}

/* Vote action inside the card. */
.photo-contest .pc-gallery .pc-photo-card__vote {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.photo-contest .pc-gallery .pc-photo-card__vote-btn {
    width: 100%;
    justify-content: center;
    background: var(--pc-vote-bg, var(--pc-primary, #00398A));
    border-color: var(--pc-vote-bg, var(--pc-primary, #00398A));
    color: var(--pc-vote-fg, #fff);
}

.photo-contest .pc-gallery .pc-photo-card__vote-btn:hover,
.photo-contest .pc-gallery .pc-photo-card__vote-btn:focus {
    filter: brightness(.94);
    color: var(--pc-vote-fg, #fff);
}

.photo-contest .pc-gallery .pc-photo-card__vote-btn.is-voted,
.photo-contest .pc-gallery .pc-photo-card__vote-btn[disabled] {
    background: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .38);
    color: #fff;
    cursor: default;
}

.photo-contest .pc-gallery .pc-photo-card__vote-note {
    display: block;
    font-size: var(--pc-fs-12, .75rem);
    color: inherit;
}

/* ------------------------------------------------------------
   4. Pagination and shuffle
   ------------------------------------------------------------ */
.photo-contest .pc-gallery__pagination {
    display: flex;
    justify-content: center;
    margin: var(--pc-space-6, 24px) 0 0;
    gap: var(--pc-space-2, 8px);
}

.photo-contest .pc-gallery__pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--pc-space-2, 8px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.photo-contest .pc-gallery__pagination li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.photo-contest .pc-gallery__pagination a,
.photo-contest .pc-gallery__pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 0 var(--pc-space-3, 12px);
    border: 1px solid var(--pc-border, #E2E8F0) !important;
    border-radius: var(--pc-radius-sm, 8px);
    background: var(--pc-surface, #fff) !important;
    color: var(--pc-primary, #00398A) !important;
    font-size: var(--pc-fs-13, .8125rem);
    text-decoration: none;
    transition: background-color var(--pc-dur, 180ms) var(--pc-ease), border-color var(--pc-dur, 180ms) var(--pc-ease);
}

.photo-contest .pc-gallery__pagination a:hover,
.photo-contest .pc-gallery__pagination a:focus {
    background: var(--pc-primary-50, #E8F0F9) !important;
    border-color: var(--pc-primary-100, #D6E4F5) !important;
}

.photo-contest .pc-gallery__pagination [aria-current="page"] {
    background: var(--pc-accent-contest, var(--pc-primary, #00398A)) !important;
    border-color: var(--pc-accent-contest, var(--pc-primary, #00398A)) !important;
    color: #fff !important;
    font-weight: var(--pc-fw-semibold, 600);
}

.photo-contest .pc-gallery__shuffle {
    display: inline-flex;
    align-items: center;
    gap: var(--pc-space-2, 8px);
}

/* ------------------------------------------------------------
   5. Empty states
   ------------------------------------------------------------ */
.photo-contest .pc-gallery__empty {
    margin: 0 0 var(--pc-space-5, 20px);
}

.photo-contest .pc-gallery__empty .pc-ui-empty__title {
    margin: 0;
}

/* ------------------------------------------------------------
   6. Detail screen
   ------------------------------------------------------------ */
.photo-contest.pc-detail {
    --pc-detail-media: minmax(0, 1.55fr);
    --pc-detail-panel: minmax(300px, 0.95fr);
}

.photo-contest .pc-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 var(--pc-space-4, 16px);
    padding: 0;
    list-style: none;
    font-size: var(--pc-fs-12, .75rem);
    color: var(--pc-muted-on-canvas, #55657A);
}

.photo-contest .pc-breadcrumb li {
    margin: 0;
    list-style: none;
}

.photo-contest .pc-breadcrumb li + li::before {
    content: "›";
    margin-right: 6px;
    color: var(--pc-border-strong, #CBD5E1);
}

.photo-contest .pc-breadcrumb a {
    color: var(--pc-secondary, #1464E3);
    text-decoration: none;
}

.photo-contest .pc-breadcrumb a:hover,
.photo-contest .pc-breadcrumb a:focus {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.photo-contest .pc-detail__grid {
    display: grid;
    grid-template-columns: var(--pc-detail-media) var(--pc-detail-panel);
    gap: var(--pc-space-8, 32px);
    align-items: start;
}

.photo-contest .pc-detail__media {
    min-width: 0;
}

.photo-contest .pc-detail__figure {
    position: relative;
    margin: 0;
    padding: var(--pc-space-3, 12px);
    border: 1px solid var(--pc-border, #E2E8F0);
    border-radius: var(--pc-radius-xl, 16px);
    background: var(--pc-surface, #fff);
    box-shadow: var(--pc-shadow-sm, 0 2px 8px rgba(15, 23, 42, .05));
}

.photo-contest .pc-detail__media-button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    border-radius: var(--pc-radius-md, 10px);
    overflow: hidden;
}

.photo-contest .pc-detail__img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    margin: 0 auto;
    border-radius: var(--pc-radius-md, 10px);
}

.photo-contest .pc-detail__zoom {
    position: absolute;
    right: var(--pc-space-5, 20px);
    bottom: 64px;
    box-shadow: var(--pc-shadow-md, 0 4px 14px rgba(15, 23, 42, .08));
}

.photo-contest .pc-detail__caption {
    display: flex;
    flex-wrap: wrap;
    gap: var(--pc-space-2, 8px);
    justify-content: space-between;
    margin-top: var(--pc-space-3, 12px);
    font-size: var(--pc-fs-12, .75rem);
    color: var(--pc-muted-on-canvas, #55657A);
}

.photo-contest .pc-detail__prevnext {
    display: flex;
    justify-content: space-between;
    gap: var(--pc-space-2, 8px);
    margin-top: var(--pc-space-4, 16px);
}

.photo-contest .pc-detail__next {
    margin-left: auto;
}

.photo-contest .pc-detail__panel {
    display: flex;
    flex-direction: column;
    gap: var(--pc-space-4, 16px);
    padding: var(--pc-space-6, 24px);
    border: 1px solid var(--pc-border, #E2E8F0);
    border-radius: var(--pc-radius-xl, 16px);
    background: var(--pc-surface, #fff);
    box-shadow: var(--pc-shadow-sm, 0 2px 8px rgba(15, 23, 42, .05));
}

.photo-contest .pc-detail__badge {
    align-self: flex-start;
}

.photo-contest .pc-detail__title {
    margin: 0;
    font-family: var(--pc-font-display, "Montserrat"), "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: var(--pc-fs-28, 1.75rem);
    font-weight: var(--pc-fw-bold, 700);
    line-height: var(--pc-lh-heading, 1.25);
    color: var(--pc-primary, #00398A);
}

.photo-contest .pc-detail__byline {
    margin: 0;
    font-size: var(--pc-fs-13, .8125rem);
    color: var(--pc-muted-on-canvas, #55657A);
}

.photo-contest .pc-detail__author {
    color: var(--pc-text-strong, #1F2937);
    font-weight: var(--pc-fw-medium, 500);
    text-decoration: none;
}

.photo-contest .pc-detail__author:hover,
.photo-contest .pc-detail__author:focus {
    color: var(--pc-primary, #00398A);
    text-decoration: underline;
}

.photo-contest .pc-detail__dot {
    margin: 0 6px;
    color: var(--pc-border-strong, #CBD5E1);
}

/* Vote box */
.photo-contest .pc-detail__vote {
    display: flex;
    flex-direction: column;
    gap: var(--pc-space-2, 8px);
}

.photo-contest .pc-vote {
    display: flex;
    flex-direction: column;
    gap: var(--pc-space-3, 12px);
    padding: var(--pc-space-4, 16px);
    border: 1px solid var(--pc-border, #E2E8F0);
    border-radius: var(--pc-radius-lg, 12px);
    background: var(--pc-canvas, #F5F7FB);
}

.photo-contest .pc-vote__count {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--pc-space-2, 8px);
    margin: 0;
}

.photo-contest .pc-vote__count-value {
    font-family: var(--pc-font-display, "Montserrat"), "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: var(--pc-fs-32, 2rem);
    font-weight: var(--pc-fw-bold, 700);
    line-height: 1;
    color: var(--pc-primary, #00398A);
    font-variant-numeric: tabular-nums;
}

.photo-contest .pc-vote__count-label {
    font-size: var(--pc-fs-12, .75rem);
    color: var(--pc-muted-on-canvas, #55657A);
}

.photo-contest .pc-vote__action {
    display: flex;
    flex-direction: column;
    gap: var(--pc-space-2, 8px);
}

.photo-contest .pc-vote__button {
    width: 100%;
    justify-content: center;
    gap: var(--pc-space-2, 8px);
}

.photo-contest .pc-vote__button[data-pc-vote],
.photo-contest .pc-vote__button[data-pc-jury],
.photo-contest .pc-vote__button[data-pc-jury-undo] {
    background: var(--pc-vote-bg, var(--pc-primary, #00398A));
    border-color: var(--pc-vote-bg, var(--pc-primary, #00398A));
    color: var(--pc-vote-fg, #fff);
}

.photo-contest .pc-vote__button[data-pc-vote]:hover,
.photo-contest .pc-vote__button[data-pc-vote]:focus,
.photo-contest .pc-vote__button[data-pc-jury]:hover,
.photo-contest .pc-vote__button[data-pc-jury]:focus,
.photo-contest .pc-vote__button[data-pc-jury-undo]:hover,
.photo-contest .pc-vote__button[data-pc-jury-undo]:focus {
    filter: brightness(.94);
}

.photo-contest .pc-vote__button.is-loading {
    cursor: progress;
}

.photo-contest .pc-vote__hint,
.photo-contest .pc-vote__status {
    margin: 0;
    font-size: var(--pc-fs-12, .75rem);
    line-height: 1.45;
    color: var(--pc-muted-on-canvas, #55657A);
    min-height: 1.2em;
}

.photo-contest .pc-vote__status {
    color: var(--pc-success, #0F7B4F);
    font-weight: var(--pc-fw-medium, 500);
}

.photo-contest .pc-vote__readonly {
    display: flex;
    align-items: center;
    gap: 2px;
}

/* `display:flex` would defeat the `hidden` attribute of the read-only block. */
.photo-contest .pc-vote__readonly[hidden],
.photo-contest [data-pc-rating-stars][hidden] {
    display: none !important;
}

/* Star rating (radio group) */
.photo-contest .pc-rate {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.photo-contest .pc-rate__stars {
    display: inline-flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    max-width: 100%;
    gap: 2px;
    padding: 4px;
    border-radius: var(--pc-radius-sm, 8px);
    background: rgba(255, 255, 255, .14);
}

/* 10-star contests need narrower targets so the row fits the panel. */
.photo-contest .pc-rate[data-max="10"] .pc-rate__stars .pc-rate__star {
    width: 30px;
    height: 34px;
}

.photo-contest .pc-rate[data-max="10"] .pc-rate__stars .pc-rate__star .pc-icon {
    width: 22px;
    height: 22px;
}

.photo-contest .pc-rate__stars .pc-rate__star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--pc-border-strong, #CBD5E1);
    cursor: pointer;
    border-radius: var(--pc-radius-sm, 8px);
    transition: color var(--pc-dur-fast, 120ms) var(--pc-ease), transform var(--pc-dur-fast, 120ms) var(--pc-ease);
}

/* Read-only summary: compact icons, no fixed targets. */
.photo-contest .pc-rate__display .pc-rate__star {
    width: auto;
    height: auto;
    cursor: default;
    color: var(--pc-border-strong, #CBD5E1);
}

.photo-contest .pc-rate__star .pc-icon {
    fill: currentColor;
    stroke: currentColor;
}

/* Sibling fill: the hovered/selected star paints itself and the previous ones
   (the row is reversed so `~` reaches the lower ratings). */
.photo-contest .pc-rate__stars:hover .pc-rate__star {
    color: var(--pc-border-control, #8494A9);
}

.photo-contest .pc-rate__star:hover,
.photo-contest .pc-rate__star:hover ~ .pc-rate__star {
    color: #F9A825;
}

.photo-contest .pc-rate__input:checked ~ .pc-rate__star,
.photo-contest .pc-rate__input:focus-visible + .pc-rate__star {
    color: #F9A825;
}

.photo-contest .pc-rate__input:focus-visible + .pc-rate__star {
    outline: 2px solid var(--pc-focus, #1464E3);
    outline-offset: 2px;
}

.photo-contest .pc-rate__input:disabled ~ .pc-rate__star {
    cursor: default;
    opacity: .55;
}

.photo-contest .pc-rate__display {
    display: inline-flex;
    gap: 2px;
    color: var(--pc-border-strong, #CBD5E1);
}

.photo-contest .pc-rate__display .pc-rate__star--on {
    color: #F9A825;
}

.photo-contest .pc-rate__display .pc-icon {
    fill: currentColor;
    stroke: currentColor;
}

/* Meta table */
.photo-contest .pc-detail__meta {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--pc-border, #E2E8F0);
}

.photo-contest .pc-detail__meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--pc-space-3, 12px);
    padding: var(--pc-space-3, 12px) 0;
    border-bottom: 1px solid var(--pc-border, #E2E8F0);
    margin: 0;
    font-size: var(--pc-fs-13, .8125rem);
}

.photo-contest .pc-detail__meta-row dt {
    margin: 0;
    font-size: var(--pc-fs-12, .75rem);
    color: var(--pc-muted-on-canvas, #55657A);
}

.photo-contest .pc-detail__meta-row dd {
    margin: 0;
    text-align: right;
    font-weight: var(--pc-fw-medium, 500);
    color: var(--pc-text-strong, #1F2937);
}

.photo-contest .pc-detail__section-title {
    margin: 0 0 var(--pc-space-2, 8px);
    font-size: var(--pc-fs-12, .75rem);
    font-weight: var(--pc-fw-semibold, 600);
    letter-spacing: var(--pc-tracking-eyebrow, .09em);
    text-transform: uppercase;
    color: var(--pc-text-strong, #1F2937);
    font-family: var(--pc-font-body);
}

.photo-contest .pc-detail__description p {
    margin: 0 0 var(--pc-space-2, 8px);
    font-size: var(--pc-fs-14, .875rem);
}

/* Share */
.photo-contest .pc-detail__share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--pc-space-2, 8px);
}

.photo-contest .pc-detail__share-btn {
    width: var(--pc-control-height, 44px);
    min-width: var(--pc-control-height, 44px);
    padding: 0;
}

.photo-contest .pc-detail__back {
    margin-top: var(--pc-space-6, 24px);
}

/* Comments */
.photo-contest .pc-detail__comments {
    margin-top: var(--pc-space-8, 32px);
    padding: var(--pc-space-6, 24px);
    border: 1px solid var(--pc-border, #E2E8F0);
    border-radius: var(--pc-radius-xl, 16px);
    background: var(--pc-surface, #fff);
}

.photo-contest .pc-comment-list {
    margin: 0 0 var(--pc-space-4, 16px);
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--pc-space-3, 12px);
}

.photo-contest .pc-comment {
    margin: 0;
    padding: var(--pc-space-3, 12px) var(--pc-space-4, 16px);
    border: 1px solid var(--pc-border, #E2E8F0);
    border-radius: var(--pc-radius-md, 10px);
    background: var(--pc-canvas, #F5F7FB);
    list-style: none;
}

.photo-contest .pc-comment__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--pc-space-2, 8px);
    margin-bottom: 6px;
    font-size: var(--pc-fs-12, .75rem);
    color: var(--pc-muted-on-canvas, #55657A);
}

.photo-contest .pc-comment__author {
    font-weight: var(--pc-fw-semibold, 600);
    color: var(--pc-text-strong, #1F2937);
}

.photo-contest .pc-comment__tools {
    margin-left: auto;
    display: inline-flex;
    gap: var(--pc-space-2, 8px);
}

.photo-contest .pc-comment__body {
    font-size: var(--pc-fs-14, .875rem);
    color: var(--pc-text, #404041);
}

.photo-contest .pc-comment-form {
    display: flex;
    flex-direction: column;
    gap: var(--pc-space-3, 12px);
    align-items: flex-start;
}

.photo-contest .pc-comment-form .pc-ui-field {
    width: 100%;
}

.photo-contest .pc-comment-form__identity {
    margin: 0;
    font-size: var(--pc-fs-12, .75rem);
    color: var(--pc-muted-on-canvas, #55657A);
}

.photo-contest .pc-jury-info-box {
    margin-top: var(--pc-space-3, 12px);
    padding: var(--pc-space-3, 12px) var(--pc-space-4, 16px);
    border: 1px dashed var(--pc-border-strong, #CBD5E1);
    border-radius: var(--pc-radius-md, 10px);
    background: var(--pc-canvas, #F5F7FB);
    font-size: var(--pc-fs-12, .75rem);
    color: var(--pc-muted-on-canvas, #55657A);
}

.photo-contest .pc-jury-info-box__text,
.photo-contest .pc-jury-info-box__label,
.photo-contest .pc-users-list {
    margin: 0 0 var(--pc-space-1, 4px);
}

.photo-contest .pc-users-list {
    padding-left: var(--pc-space-4, 16px);
    list-style: disc;
}

.photo-contest .pc-users-list__invalid {
    color: var(--pc-danger, #AF332A);
}

/* ------------------------------------------------------------
   7. Top 10 ranking
   ------------------------------------------------------------ */
.photo-contest .pc-top10 {
    display: flex;
    flex-direction: column;
    gap: var(--pc-space-4, 16px);
}

.photo-contest .pc-top10__filter {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: var(--pc-space-3, 12px);
    padding: var(--pc-space-4, 16px) var(--pc-space-5, 20px);
    border: 1px solid var(--pc-border, #E2E8F0);
    border-radius: var(--pc-radius-lg, 12px);
    background: var(--pc-surface, #fff);
    box-shadow: var(--pc-shadow-sm, 0 2px 8px rgba(15, 23, 42, .05));
    margin: 0;
}

.photo-contest .pc-top10__filter .pc-ui-field {
    flex: 1 1 240px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}

.photo-contest .pc-top10__list {
    display: grid;
    gap: var(--pc-space-3, 12px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.photo-contest .pc-top10__item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--pc-space-4, 16px);
    padding: var(--pc-space-3, 12px) var(--pc-space-4, 16px);
    border: 1px solid var(--pc-border, #E2E8F0);
    border-radius: var(--pc-radius-lg, 12px);
    background: var(--pc-surface, #fff);
    box-shadow: var(--pc-shadow-xs, 0 1px 2px rgba(15, 23, 42, .06));
    margin: 0;
    list-style: none;
}

.photo-contest .pc-top10__rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: var(--pc-radius-circle, 50%);
    background: var(--pc-primary-50, #E8F0F9);
    color: var(--pc-primary, #00398A);
    font-family: var(--pc-font-display, "Montserrat"), "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: var(--pc-fs-18, 1.125rem);
    font-weight: var(--pc-fw-bold, 700);
}

.photo-contest .pc-top10__item--1 .pc-top10__rank { background: #FDF3D8; color: #8A6100; }
.photo-contest .pc-top10__item--2 .pc-top10__rank { background: #EEF1F4; color: #4A5568; }
.photo-contest .pc-top10__item--3 .pc-top10__rank { background: #FBEEE2; color: #8A4B12; }

.photo-contest .pc-top10__thumb {
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    border-radius: var(--pc-radius-md, 10px);
    overflow: hidden;
    background: var(--pc-canvas-2, #EDF1F7);
    display: block;
}

.photo-contest .pc-top10__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-contest .pc-top10__info {
    flex: 1 1 220px;
    min-width: 0;
}

.photo-contest .pc-top10__title {
    margin: 0 0 2px;
    font-size: var(--pc-fs-15, .9375rem);
    font-weight: var(--pc-fw-semibold, 600);
    line-height: 1.35;
    color: var(--pc-text-strong, #1F2937);
}

.photo-contest .pc-top10__title a {
    color: inherit;
    text-decoration: none;
}

.photo-contest .pc-top10__title a:hover,
.photo-contest .pc-top10__title a:focus {
    color: var(--pc-primary, #00398A);
    text-decoration: underline;
}

.photo-contest .pc-top10__author {
    margin: 0;
    font-size: var(--pc-fs-12, .75rem);
    color: var(--pc-muted-on-canvas, #55657A);
}

.photo-contest .pc-top10__score {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    padding: 6px var(--pc-space-3, 12px);
    border-radius: var(--pc-radius-pill, 999px);
    background: var(--pc-primary-50, #E8F0F9);
    color: var(--pc-primary, #00398A);
    font-size: var(--pc-fs-13, .8125rem);
    font-weight: var(--pc-fw-semibold, 600);
}

.photo-contest .pc-top10__share {
    display: inline-flex;
    gap: 6px;
    flex: 0 0 auto;
}

@media (max-width: 640px) {
    .photo-contest .pc-top10__thumb { width: 56px; height: 56px; }
    .photo-contest .pc-top10__score { margin-left: 0; }
}

/* ------------------------------------------------------------
   8. Lightbox (`dialog.pc-lightbox` base in the design system)
   ------------------------------------------------------------ */
.photo-contest dialog.pc-lightbox {
    max-height: 92vh;
    overflow: hidden;
}

.photo-contest .pc-lightbox__stage {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--pc-space-4, 16px);
    background: #05080F;
}

.photo-contest .pc-lightbox__image {
    max-height: 68vh;
    max-width: 100%;
    object-fit: contain;
}

.photo-contest .pc-lightbox__foot {
    border-top: 1px solid rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .86);
}

.photo-contest .pc-lightbox__counter {
    font-size: var(--pc-fs-12, .75rem);
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, .86);
}

.photo-contest .pc-lightbox__nav {
    display: inline-flex;
    gap: var(--pc-space-2, 8px);
}

.photo-contest .pc-lightbox__close {
    width: var(--pc-control-height, 44px);
    min-width: var(--pc-control-height, 44px);
    height: var(--pc-control-height, 44px);
    border-radius: var(--pc-radius-circle, 50%);
}

.photo-contest .pc-lightbox .pc-ui-btn--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, .28);
}

.photo-contest .pc-lightbox .pc-ui-btn--ghost:hover,
.photo-contest .pc-lightbox .pc-ui-btn--ghost:focus {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.photo-contest .pc-lightbox__nav .pc-ui-btn {
    width: var(--pc-control-height, 44px);
    min-width: var(--pc-control-height, 44px);
}

html.pc-lightbox-open,
html.pc-lightbox-open body {
    overflow: hidden;
}

/* ------------------------------------------------------------
   9. Responsive detail
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
    .photo-contest .pc-detail__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--pc-space-5, 20px);
    }

    .photo-contest .pc-detail__panel {
        padding: var(--pc-space-5, 20px);
    }
}

@media (max-width: 640px) {
    .photo-contest .pc-gallery__filters {
        flex-direction: column;
        align-items: stretch;
    }

    /* En columna, el flex-basis se aplica al alto: sin este reset los campos
       median 320/200 px y el toolbar crecía hasta 929 px (B-03, t10). Las
       reglas legacy `#order-by-form` (id + !important) fijan flex-wrap y
       align-items, así que el reset necesita la misma importancia. */
    .photo-contest #order-by-form.pc-gallery__filters {
        align-items: stretch !important;
        flex-wrap: nowrap !important;
    }

    .photo-contest .pc-gallery__filters .pc-gallery__field,
    .photo-contest .pc-gallery__filters .pc-gallery__field--search,
    .photo-contest #order-by-form .pc-gallery__field,
    .photo-contest #order-by-form .pc-gallery__field--search {
        flex: 0 0 auto !important;
        flex-basis: auto !important;
        width: 100%;
    }

    .photo-contest .pc-gallery__actions {
        width: 100%;
    }

    .photo-contest .pc-gallery__actions .pc-ui-btn {
        flex: 1 1 auto;
    }

    .photo-contest .pc-gallery__summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .photo-contest .pc-detail__zoom {
        right: var(--pc-space-3, 12px);
        bottom: 56px;
    }

    .photo-contest .pc-vote__count-value {
        font-size: var(--pc-fs-28, 1.75rem);
    }

    .photo-contest .pc-rate__star {
        width: 36px;
        height: 36px;
    }

    .photo-contest .pc-detail__meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .photo-contest .pc-detail__meta-row dd {
        text-align: left;
    }
}

/* ------------------------------------------------------------
   10. Motion and forced colours
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    .photo-contest .pc-gallery .pc-photo-card,
    .photo-contest .pc-gallery .pc-photo-card__media img,
    .photo-contest .pc-gallery .pc-photo-card__zoom-icon {
        transition: none !important;
        transform: none !important;
    }

    .photo-contest .pc-gallery .pc-photo-card:hover .pc-photo-card__media img {
        transform: none;
    }
}

@media (forced-colors: active) {
    .photo-contest .pc-gallery .pc-photo-card,
    .photo-contest .pc-vote,
    .photo-contest .pc-top10__item {
        border: 1px solid CanvasText;
    }

    .photo-contest .pc-rate__star,
    .photo-contest .pc-rate__display {
        forced-color-adjust: none;
    }
}

