.gallery-explorer { width: 100%; padding-inline: var(--page-gutter, 16px); padding-block: clamp(1.5rem, 2.5vw, 2.5rem) clamp(2.5rem, 4vw, 4rem); } .gallery-explorer__controls { gap: 1rem; row-gap: 0.75rem; padding-bottom: 3rem; } .gallery-explorer__sort--pushed { margin-inline-start: auto; } .gallery-explorer__filters-label { appearance: none; background: none; border: none; padding: 0; gap: 0.5rem; font-family: var(--font-body); font-weight: 500; font-size: 0.875rem; color: var(--color-text, #333); white-space: nowrap; cursor: pointer; } .gallery-explorer__filters-chevron { display: none; font-size: 0.9rem; transition: transform 0.15s ease-out; } .gallery-explorer__filters-icon { display: inline-block; font-size: 1.05rem; transform: rotate(90deg); } .gallery-explorer__chips { gap: 0.5rem; } .gallery-explorer__chip { appearance: none; padding: 0.25rem 0.75rem; border: 1px solid var(--color-border-strong, #d1d5dc); border-radius: 6px; cursor: pointer; font-family: var(--font-body); font-weight: 500; font-size: 0.8125rem; color: var(--color-text, #333); background-color: #fff; } .gallery-explorer__chip[aria-pressed="true"] { background-color: #000; color: #fff; border-color: #000; } .gallery-explorer__chip--link { display: inline-block; text-decoration: none; } .gallery-explorer__chip--link:hover { background-color: #f3f4f6; color: var(--color-text, #333); } .gallery-explorer__sort-field { position: relative; display: inline-block; min-width: 190px; border: 1px solid var(--color-border-strong, #d1d5dc); border-radius: 6px; background-color: #fff; } .gallery-explorer__sort-icon, .gallery-explorer__sort-chevron { position: absolute; top: 50%; color: var(--color-text, #333); pointer-events: none; transform: translateY(-50%); } .gallery-explorer__sort-icon { left: 1rem; font-size: 1.05rem; } .gallery-explorer__sort-chevron { right: 1rem; font-size: 1rem; } .gallery-explorer__sort-select { appearance: none; width: 100%; border: none; background: transparent; padding: 0.5rem calc(0.5rem + 1.5rem) 0.5rem calc(0.5rem + 1.75rem); font-family: var(--font-body); font-size: 0.95rem; color: var(--color-text, #333); cursor: pointer; } .gallery-explorer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 1.4vw, 20px); } .gallery-explorer__empty, .gallery-explorer__status { text-align: center; margin: clamp(1.5rem, 2.5vw, 2.5rem) 0 0; font-family: var(--font-body); font-size: 0.875rem; color: var(--color-text-muted, #767676); } .gallery-explorer__sentinel { height: 1px; } @media (max-width: 1100px) { .gallery-explorer__grid { grid-template-columns: repeat(3, 1fr); } } @media (max-width: 1024px) { .gallery-explorer__filters-label { order: 1; } .gallery-explorer__filters-chevron { display: inline-block; } .gallery-explorer__sort { order: 2; } .gallery-explorer__filters-label[aria-expanded="true"] .gallery-explorer__filters-chevron { transform: rotate(180deg); } .gallery-explorer__chips-collapse { order: 3; flex: 1 1 100%; display: grid; grid-template-rows: 0fr; overflow: hidden; transition: grid-template-rows 0.35s ease-out; } .gallery-explorer__chips-collapse.is-open { grid-template-rows: 1fr; } .gallery-explorer__chips { min-height: 0; } .gallery-explorer__chips-collapse.is-open .gallery-explorer__chips { padding-top: 0.75rem; } } @media (max-width: 760px) { .gallery-explorer__grid { grid-template-columns: repeat(2, 1fr); } } .gallery-photo-card { position: relative; display: block; width: 100%; aspect-ratio: 11 / 10; border-radius: 12px; overflow: hidden; background-color: #1a1a1a; color: #fff; text-decoration: none; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease; } .gallery-photo-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28); color: #fff; text-decoration: none; } .gallery-photo-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); } .gallery-photo-card:hover .gallery-photo-card__img { transform: scale(1.04); } .gallery-photo-card__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.78) 100%); opacity: 0.9; } .gallery-photo-card__bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 0.75rem 0.85rem 0.9rem; } .gallery-photo-card__caption { margin: 0 0 0.4rem; font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; line-height: 1.25; } .gallery-photo-card__avatar { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; margin-right: 0.4rem; } .gallery-photo-card__name { font-size: 0.75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 12ch; } .gallery-photo-card__stats { list-style: none; margin: 0; padding: 0; gap: 0.55rem; font-size: 0.7rem; } .gallery-photo-card__stats i { font-size: 0.85rem; } .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } .gallery-missing { padding: clamp(3rem, 8vw, 6rem) var(--page-gutter, 16px); text-align: center; } .gallery-missing__text { margin: 0 0 1rem; font-family: var(--font-body); font-size: 1.125rem; color: var(--color-text, #313131); } .gallery-missing__link { display: inline-block; padding: 0.65rem 1.25rem; background: var(--color-canon-red, #c8102e); color: #fff; text-decoration: none; border-radius: 6px; font-weight: 600; } .gallery-missing__link:hover { color: #fff; opacity: 0.92; } .gallery-detail { padding: clamp(1.5rem, 3vw, 2.5rem) var(--page-gutter, 16px); } .gallery-detail__layout { display: flex; flex-direction: column; gap: 1.25rem; } .gallery-detail__sidebar { display: contents; } .gallery-detail__info { order: 1; } .gallery-detail__grid { order: 2; } .gallery-detail__comments { order: 3; } @media (min-width: 992px) { .gallery-detail__layout { flex-direction: row; align-items: flex-start; gap: 1rem; } .gallery-detail__grid { flex: 2; min-width: 0; order: initial; } .gallery-detail__sidebar { display: flex; flex-direction: column; gap: 1.25rem; flex: 1; min-width: 320px; } } .gallery-info { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; padding: 2rem 1.25rem; background: #fff; border: 1px solid #f2f2f2; border-radius: 8px; text-align: center; box-shadow: 2px 1px 8px -8px rgba(0, 0, 0, 0.3); } .gallery-info--compact { background: none; border: none; box-shadow: none; padding: 0; gap: 1rem; align-items: stretch; text-align: left; } .gallery-info__header { display: flex; flex-direction: column; align-items: center; gap: 1rem; width: 100%; } .gallery-info--compact .gallery-info__header { flex-direction: row; align-items: center; } .gallery-info__avatar-ring { width: 100px; height: 100px; border-radius: 50%; border: 2px solid #c8102e; overflow: hidden; flex-shrink: 0; background: #f5f5f5; } .gallery-info--compact .gallery-info__avatar-ring { width: 72px; height: 72px; } .gallery-info__avatar { display: block; width: 100%; height: 100%; object-fit: cover; } .gallery-info__identity { display: flex; flex-direction: column; gap: 0.25rem; } .gallery-info--compact .gallery-info__identity { text-align: left; } .gallery-info__name { margin: 0; font-weight: 600; font-size: 1.5rem; color: #000; } .gallery-info--compact .gallery-info__name { font-size: 1.125rem; } .gallery-info__country { margin: 0; color: #000; font-size: 1.25rem; } .gallery-info--compact .gallery-info__country { font-size: 0.9rem; color: #767676; } .gallery-info__stats { display: flex; align-items: center; justify-content: center; gap: 1.25rem; } .gallery-info__stat { display: inline-flex; align-items: center; gap: 0.35rem; border: none; background: none; color: #e22128; font-weight: 700; font-size: 1.25rem; text-decoration: none; cursor: pointer; transition: transform 0.15s ease; } .gallery-info__stat i { font-size: 1.75rem; } .gallery-info__stat:hover { color: #e22128; transform: scale(1.04); } .gallery-info__heart { position: relative; display: inline-flex; } .gallery-info__heart-fill { display: none; } .gallery-info__tags { width: 100%; } .gallery-info__tags-label { margin: 0 0 0.5rem; font-size: 1.125rem; font-weight: 500; color: #000; } .gallery-info__chips { gap: 0.35rem; justify-content: center; margin: 0; padding: 0; list-style: none; } .gallery-info--compact .gallery-info__chips { justify-content: flex-start; } .gallery-info__chip { display: inline-block; padding: 2px 6px; background: #fbe1e1; border: none; border-radius: 3px; color: #000; text-decoration: none; font-size: 1rem; transition: background-color 0.15s ease, color 0.15s ease; } .gallery-info__chip:hover { background: #e22128; color: #fff; } .gallery-info__like.is-liked .gallery-info__heart-outline { display: none; } .gallery-info__like.is-liked .gallery-info__heart-fill { display: block; } .gallery-info__like.is-liked .gallery-info__heart { color: #c00; } .gallery-recommend { background: #e22128; padding: clamp(2rem, 4vw, 3rem) var(--page-gutter, 16px) clamp(2.5rem, 6vw, 5rem); } .gallery-recommend__inner { width: 100%; max-width: none; margin: 0 auto; } .gallery-recommend__title { margin: 0 0 clamp(1.25rem, 3vw, 2rem); text-align: center; font-weight: 700; font-size: clamp(1.375rem, 2.5vw, 2.125rem); color: #fff; } .gallery-recommend__swiper { position: relative; overflow: hidden; } .gallery-recommend__swiper:not(.swiper-initialized) .swiper-wrapper { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; } .gallery-recommend__swiper:not(.swiper-initialized) .swiper-slide { flex: 0 0 min(82vw, 380px); scroll-snap-align: start; } .gallery-recommend .swiper-slide { height: auto; } .gallery-recommend__card { position: relative; display: block; width: 100%; aspect-ratio: 423.5 / 379; border-radius: 8px; overflow: hidden; color: #fff; text-decoration: none; } .gallery-recommend__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .gallery-recommend__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.78) 100%); } .gallery-recommend__caption { position: absolute; left: 0.75rem; right: 0.75rem; bottom: 52px; font-weight: 600; font-size: 0.85rem; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4); } .gallery-recommend__footer { position: absolute; inset: auto 0.75rem 0.75rem 0.75rem; gap: 0.5rem; } .gallery-recommend__user { gap: 0.5rem; min-width: 0; } .gallery-recommend__avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; } .gallery-recommend__name { font-size: 0.65rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .gallery-recommend__stats { gap: 0.5rem; flex-shrink: 0; } .gallery-recommend__stats li { gap: 1px; font-size: 0.6rem; font-weight: 600; line-height: 1.1; } .gallery-recommend__stats i { font-size: 0.85rem; } .gallery-recommend__controls { gap: clamp(0.5rem, 1vw, 1rem); margin-top: clamp(1.25rem, 3vw, 2rem); } .gallery-recommend__arrow { width: clamp(28px, 2.2vw, 36px); height: clamp(28px, 2.2vw, 36px); flex-shrink: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: #000; border: none; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); } .gallery-recommend__arrow:hover { background: #fff; transform: scale(1.06); } .gallery-recommend__pagination { position: relative !important; top: auto !important; bottom: auto !important; width: auto !important; left: auto !important; display: flex; align-items: center; gap: clamp(6px, 0.6vw, 10px); } .gallery-recommend .swiper-pagination-bullet { width: 9px; height: 9px; margin: 0 !important; background-color: transparent; border: 1.5px solid #fff; opacity: 1; } .gallery-recommend .swiper-pagination-bullet-active { background-color: #fff; } .gallery-sort-grid { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: clamp(1rem, 1.2vw, 1.5rem); row-gap: clamp(2.5rem, 4.5vw, 5rem); } @media (max-width: 1100px) { .gallery-sort-grid { grid-template-columns: repeat(3, 1fr); } } @media (max-width: 760px) { .gallery-sort-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 480px) { .gallery-sort-grid { grid-template-columns: 1fr; } } .gallery-sort-card { position: relative; display: block; width: 100%; aspect-ratio: 5 / 7; border-radius: var(--radius-lg, 16px); overflow: hidden; box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.12)); transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 250ms cubic-bezier(0.16, 1, 0.3, 1); } .gallery-sort-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md, 0 4px 12px rgba(0, 0, 0, 0.16)); } .gallery-sort-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .gallery-sort-card__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.75) 100%); } .gallery-sort-card__footer { position: absolute; left: 0; right: 0; bottom: 0; gap: 0.5rem; padding: clamp(0.75rem, 1.6vw, 1.25rem); } .gallery-sort-card__avatar { width: clamp(36px, 3.5vw, 50px); height: clamp(36px, 3.5vw, 50px); border-radius: 9999px; border: 2px solid #fff; object-fit: cover; flex-shrink: 0; } .gallery-sort-card__identity { display: flex; flex-direction: column; min-width: 0; } .gallery-sort-card__name { color: #fff; font-weight: var(--fw-semibold, 600); font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .gallery-sort-card__country { color: rgba(255, 255, 255, 0.8); font-size: 0.75rem; } .gallery-sort-more { display: block; margin-top: clamp(2rem, 4vw, 3rem); text-align: center; color: var(--color-canon-red-alt, #df1f26); font-weight: var(--fw-semibold, 600); text-decoration: none; } .gallery-sort-more:hover { text-decoration: underline; }