.modulo-proyecto {
    padding: 48px 0;
}

.modulo-proyecto__header {
    max-width: 640px;
    margin: 0 auto 32px;
    text-align: center;
}

.modulo-proyecto__eyebrow {
    margin: 0 0 12px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.modulo-proyecto__title {
    margin: 0;
    color: #111827;
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.1;
}

.modulo-proyecto__description {
    margin: 16px 0 0;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.6;
}

.modulo-proyecto__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.modulo-proyecto__card {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.08);
}

.modulo-proyecto__media {
    display: block;
    aspect-ratio: 4 / 3;
}

.modulo-proyecto__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modulo-proyecto__content {
    padding: 24px;
}

.modulo-proyecto__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 0 0 12px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.4;
}

.modulo-proyecto__meta a,
.proyecto-entry__meta a,
.proyecto-entry__facts a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.modulo-proyecto__card-title {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.2;
}

.modulo-proyecto__card-title a {
    color: #111827;
    text-decoration: none;
}

.modulo-proyecto__excerpt {
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
}

.modulo-proyecto__empty {
    padding: 32px;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    color: #6b7280;
    text-align: center;
}

.proyecto-entry__meta,
.proyecto-entry__facts {
    color: #4b5563;
}

.proyecto-entry__facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px 24px;
    margin: 24px 0;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
}

.proyecto-entry__facts p {
    margin: 0;
}

.proyecto-entry__section {
    margin: 32px 0;
}

.proyecto-entry__section h2 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.2;
}

.proyecto-entry__links {
    margin: 0;
    padding-left: 20px;
}

.proyecto-entry__gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.proyecto-entry__gallery a {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    background: #f3f4f6;
}

.proyecto-entry__gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdd-year-archive {
    --pdd-yellow: #f3ef00;
    --pdd-ink: #111111;
    --pdd-muted: #666666;
    --pdd-line: #e8e8e8;
    --pdd-panel: #f6f6f6;
    max-width: 1180px;
    margin: 0 auto;
    color: var(--pdd-ink);
    background: #ffffff;
}

.pdd-year-summary,
.pdd-year-section {
    width: min(100% - 40px, 980px);
    margin: 0 auto 46px;
}

.pdd-year-summary__label {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
}

.pdd-year-summary h2,
.pdd-year-section__heading h2 {
    margin: 0;
    font-size: clamp(22px, 3vw, 36px);
    line-height: 1.1;
}

.pdd-year-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    margin: 24px 0 0;
}

.pdd-year-stats div {
    min-width: 0;
}

.pdd-year-stats dt {
    margin: 0;
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 800;
    line-height: 1;
}

.pdd-year-stats dd {
    margin: 8px 0 0;
    color: var(--pdd-muted);
    font-size: 13px;
}

.pdd-year-section__heading {
    margin: 0 0 22px;
}

.pdd-year-section__heading--inline {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.pdd-year-section__heading--inline span {
    color: var(--pdd-muted);
    font-weight: 700;
}

.pdd-year-category {
    margin: 0 0 28px;
    padding: 24px;
    background: var(--pdd-panel);
}

.pdd-year-category__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 18px;
}

.pdd-year-category__header h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
}

.pdd-year-category__header a {
    color: inherit;
    text-decoration: none;
}

.pdd-year-category__header span {
    color: var(--pdd-muted);
    font-size: 13px;
    font-weight: 700;
}

.pdd-year-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.pdd-year-grid--all {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pdd-project-listing {
    --pdd-yellow: #f3ef00;
    --pdd-ink: #111111;
    --pdd-muted: #666666;
    --pdd-line: #e8e8e8;
    --pdd-panel: #f6f6f6;
    width: min(100% - 40px, 1180px);
    margin: 0 auto 56px;
}

.pdd-project-filters {
    --pdd-filter-blue: #5a91f2;
    --pdd-filter-ink: #27313b;
    --pdd-filter-line: #e4e7ea;
    --pdd-filter-panel: #ffffff;
    width: min(100% - 40px, 1180px);
    margin: 0 auto 34px;
    color: var(--pdd-filter-ink);
    font-family: "Instrument Sans", Arial, sans-serif;
}

.pdd-project-filters--in-summary {
    margin-top: 2rem;
}

.pdd-project-filters__details {
    display: grid;
    gap: 18px;
}

.pdd-project-filters__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: fit-content;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid #e3e8ee;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(17, 24, 39, .08);
    cursor: pointer;
    list-style: none;
}

.pdd-project-filters__summary::-webkit-details-marker {
    display: none;
}

.pdd-project-filters__summary-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.pdd-project-filters__icon {
    color: #33456f;
    font-size: 22px;
    line-height: 1;
}

.pdd-project-filters__title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.pdd-project-filters__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
    height: 25px;
    padding: 0 7px;
    border-radius: 999px;
    color: #ffffff;
    background: #34456f;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}

.pdd-project-filters__toggle {
    display: inline-flex;
    align-items: center;
    color: #34456f;
    font-size: 18px;
    transition: transform .2s ease;
}

.pdd-project-filters__details[open] .pdd-project-filters__toggle {
    transform: rotate(180deg);
}

.pdd-project-filters__panel {
    position: relative;
    padding: 30px;
    background: var(--pdd-filter-panel);
    box-shadow: 0 22px 52px rgba(17, 24, 39, .13);
}

.pdd-project-filters.is-loading .pdd-project-filters__panel,
.pdd-project-filters.is-loading + .pdd-project-listing {
    opacity: .58;
    pointer-events: none;
}

.pdd-project-filters__arrow {
    position: absolute;
    top: -12px;
    left: 56px;
    width: 24px;
    height: 24px;
    background: var(--pdd-filter-panel);
    transform: rotate(45deg);
}

.pdd-project-filters__fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 24px;
}

.pdd-project-filters__field {
    display: grid;
    gap: 9px;
    min-width: 0;
}

.pdd-project-filters__field span {
    font-size: 15px;
    font-weight: 800;
}

.pdd-project-filters__field select {
    width: 100%;
    min-height: 44px;
    padding: 0 42px 0 14px;
    border: 0;
    border-bottom: 2px solid var(--pdd-filter-line);
    border-radius: 0;
    color: #27313b;
    background-color: #ffffff;
    font: inherit;
    font-size: 15px;
    outline: none;
}

.pdd-project-filters__field select:focus {
    border-color: var(--pdd-filter-blue);
}

.pdd-project-filters__active {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 24px 0 0;
}

.pdd-project-filters__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--pdd-filter-blue);
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
}

.pdd-project-filters__chip:visited,
.pdd-project-filters__chip:hover,
.pdd-project-filters__chip:focus {
    color: #ffffff;
}

.pdd-project-filters__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    margin: 30px -30px -30px;
    padding: 22px 30px;
    background: #f4f8f9;
}

.pdd-project-filters__clear {
    color: #27313b;
    font-size: 16px;
    text-decoration: none;
}

.pdd-project-filters__clear:visited,
.pdd-project-filters__clear:hover,
.pdd-project-filters__clear:focus {
    color: #27313b;
}

.pdd-project-filters__submit {
    min-height: 44px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: #34456f;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.pdd-project-filters__submit:hover,
.pdd-project-filters__submit:focus {
    background: #1f2f58;
}

.pdd-year-card {
    min-width: 0;
    background: #ffffff;
    border: 1px solid var(--pdd-line);
}

.pdd-project-listing__count,
.pdd-project-listing__empty {
    margin: 0 0 18px;
    color: var(--pdd-muted);
    font-size: 14px;
    font-weight: 700;
}

.pdd-project-listing__empty {
    padding: 28px;
    background: var(--pdd-panel);
}

.pdd-year-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    color: #ffffff;
    background: #161616;
    text-decoration: none;
}

.pdd-year-card__media:visited,
.pdd-year-card__media:hover,
.pdd-year-card__media:focus {
    color: #ffffff;
}

.pdd-year-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdd-year-card__media > span:not(.pdd-year-card__badge) {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 16px;
    font-size: 14px;
    line-height: 1.25;
}

.pdd-year-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px;
    color: #111111;
    background: var(--pdd-yellow);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.pdd-year-card__body {
    padding: 14px 14px 12px;
}

.pdd-year-card__result {
    display: flex;
    margin: 0 0 9px;
}

.pdd-year-card__result a,
.pdd-year-card__result span {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 4px 8px;
    color: #111111;
    background: var(--pdd-yellow);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.pdd-year-card__result a:visited,
.pdd-year-card__result a:hover,
.pdd-year-card__result a:focus {
    color: #111111;
}

.pdd-year-card__result--ganador a,
.pdd-year-card__result--ganador span {
    background: var(--pdd-yellow);
}

.pdd-year-card__result--mencion-honrosa a,
.pdd-year-card__result--mencion-honrosa span {
    background: #111111;
    color: #ffffff;
}

.pdd-year-card__result--mencion-honrosa a:visited,
.pdd-year-card__result--mencion-honrosa a:hover,
.pdd-year-card__result--mencion-honrosa a:focus {
    color: #ffffff;
}

.pdd-year-card__kicker {
    margin: 0 0 8px;
    color: var(--pdd-muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
}

.pdd-year-card__kicker a {
    color: inherit;
    text-decoration: none;
}

.pdd-year-card__kicker a:visited,
.pdd-year-card__kicker a:hover,
.pdd-year-card__kicker a:focus {
    color: inherit;
}

.pdd-year-card h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.2;
}

.pdd-year-card h3 a {
    color: inherit;
    text-decoration: none;
}

.pdd-year-card h3 a:visited,
.pdd-year-card h3 a:hover,
.pdd-year-card h3 a:focus {
    color: inherit;
}

.pdd-year-card p {
    margin: 8px 0 0;
    color: var(--pdd-muted);
    font-size: 12px;
    line-height: 1.35;
}

.pdd-year-card p a {
    color: inherit;
    text-decoration: none;
}

.pdd-year-card p a:visited,
.pdd-year-card p a:hover,
.pdd-year-card p a:focus {
    color: inherit;
}

.pdd-year-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 18px 0 0;
    font-size: 12px;
    font-weight: 700;
}

.pdd-year-card__meta a {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: inherit;
    text-decoration: none;
}

.pdd-year-card__meta a:visited,
.pdd-year-card__meta a:hover,
.pdd-year-card__meta a:focus {
    color: inherit;
}

.pdd-year-card__behance {
    width: 22px;
    height: 22px;
    justify-content: center;
    color: #111111;
    font-size: 16px;
}

.pdd-year-card__behance:hover,
.pdd-year-card__behance:focus {
    color: #045cff;
}

.pdd-year-jury {
    padding-top: 18px;
}

.pdd-year-jury__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 36px;
}

.pdd-year-jury__item {
    text-align: center;
}

.pdd-year-jury__item a {
    color: inherit;
    text-decoration: none;
}

.pdd-year-jury__item img {
    display: block;
    width: 92px;
    height: 92px;
    margin: 0 auto 10px;
    object-fit: cover;
    filter: grayscale(100%);
}

.pdd-year-jury__item span {
    display: block;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}

.pdd-year-jury__item small {
    display: block;
    max-width: 150px;
    margin: 5px auto 0;
    color: var(--pdd-muted);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
}

.pdd-project-single {
    color: #171717;
    background: #ffffff;
}

.pdd-project-sheet {
    width: min(100% - 48px, 1180px);
    margin: 0 auto;
    padding: clamp(56px, 7vw, 88px) 0 clamp(70px, 8vw, 110px);
}

.pdd-project-sheet__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin: 0 0 18px;
    padding: 0 0 18px;
    border-bottom: 1px solid #d8d8d8;
}

.pdd-project-sheet__header h2 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: #171717;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.1;
}

.pdd-project-sheet__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 20px;
}

.pdd-project-sheet__button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    min-height: 48px;
    padding: 0 34px;
    border-radius: 999px;
    color: #ffffff;
    background: #045cff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

.pdd-project-sheet__button:visited,
.pdd-project-sheet__button:hover,
.pdd-project-sheet__button:focus {
    color: #ffffff;
}

.pdd-project-sheet__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f0a400;
    font-size: 17px;
    font-weight: 800;
}

.pdd-project-table {
    display: grid;
    gap: 0;
}

.pdd-project-table__head,
.pdd-project-table__row {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 0;
}

.pdd-project-table__head {
    color: #1f2933;
    font-weight: 800;
}

.pdd-project-table__head > div {
    padding: 0 16px 18px;
}

.pdd-project-table__row:nth-child(even) {
    background: #ececec;
}

.pdd-project-table__row:nth-child(odd) {
    background: #ffffff;
}

.pdd-project-table__label,
.pdd-project-table__value {
    padding: 22px 16px;
    font-size: 17px;
    line-height: 1.28;
}

.pdd-project-table__label {
    font-weight: 800;
}

.pdd-project-table__value p {
    margin: 0 0 10px;
}

.pdd-project-table__value p:last-child {
    margin-bottom: 0;
}

.pdd-project-table__value a {
    color: inherit;
    text-decoration: none;
}

.pdd-project-table__value a:hover,
.pdd-project-table__value a:focus {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pdd-project-sheet__extra-link {
    margin: 24px 0 0;
}

.pdd-project-sheet__extra-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #045cff;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 767px) {
    .modulo-proyecto {
        padding: 32px 0;
    }

    .modulo-proyecto__content {
        padding: 20px;
    }

    .pdd-year-summary,
    .pdd-year-section {
        width: min(100% - 28px, 980px);
        margin-bottom: 34px;
    }

    .pdd-year-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .pdd-year-category {
        padding: 16px;
    }

    .pdd-year-grid,
    .pdd-year-grid--all,
    .pdd-year-jury__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pdd-project-filters {
        width: min(100% - 28px, 1180px);
    }

    .pdd-project-filters__panel {
        padding: 22px;
    }

    .pdd-project-filters__fields {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .pdd-project-filters__actions {
        align-items: stretch;
        flex-direction: column;
        margin: 24px -22px -22px;
        padding: 18px 22px;
    }

    .pdd-project-filters__clear,
    .pdd-project-filters__submit {
        justify-content: center;
        text-align: center;
    }

    .pdd-project-sheet {
        width: min(100% - 28px, 1180px);
    }

    .pdd-project-sheet__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .pdd-project-sheet__actions {
        justify-content: flex-start;
    }

    .pdd-project-table__head {
        display: none;
    }

    .pdd-project-table__row {
        grid-template-columns: 1fr;
        padding: 18px 0;
    }

    .pdd-project-table__label,
    .pdd-project-table__value {
        padding: 4px 16px;
    }
}

@media (max-width: 480px) {
    .pdd-year-grid,
    .pdd-year-grid--all,
    .pdd-year-jury__grid {
        grid-template-columns: 1fr;
    }
}
