/* Site-wide mobile polish. Loaded last; desktop layouts are untouched. */

@media (max-width: 1000px) {
  :root {
    --mobile-page-pad: clamp(16px, 5vw, 30px);
    --mobile-rule-pad: var(--mobile-page-pad);
  }

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    padding-bottom: 0 !important;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    background-attachment: scroll !important;
  }

  img,
  iframe,
  video,
  canvas,
  svg {
    max-width: 100%;
  }

  #header,
  html body #header {
    width: 100% !important;
    min-height: 0 !important;
    padding-top: 18px !important;
  }

  html body #header .main-nav {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  html body #header .header-nav-row {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  html body #header .main-nav a,
  html body #header .header-nav-row > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    padding: 8px 2px !important;
    overflow: hidden !important;
    color: #fff !important;
    font-size: clamp(8px, 2.4vw, 11px) !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
    text-align: center !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
  }

  html body #header .main-nav a.active {
    color: #e69291 !important;
  }

  html body #header .header-search-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 42px !important;
    padding: 8px var(--mobile-page-pad) 10px !important;
  }

  html body #header .header-section-name {
    min-width: 0 !important;
    max-width: none !important;
    overflow: hidden !important;
    color: rgba(255,255,255,0.86) !important;
    font-size: clamp(11px, 3vw, 13px) !important;
    line-height: 1.15 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html body #header .header-search {
    display: flex !important;
    justify-content: flex-end !important;
    justify-self: end !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
  }

  html body #header .header-search-row form {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  html body #header .header-search input {
    box-sizing: border-box !important;
    width: clamp(86px, 24vw, 116px) !important;
    min-width: 0 !important;
    height: 28px !important;
    font-size: clamp(11px, 3vw, 13px) !important;
    line-height: 28px !important;
  }

  html body #header .optic-line {
    position: static !important;
    width: calc(100% - (var(--mobile-rule-pad) * 2)) !important;
    margin: 0 var(--mobile-rule-pad) !important;
  }

  #main-content {
    min-width: 0;
  }

  .page-container {
    width: 100%;
    padding: 22px var(--mobile-page-pad) 64px !important;
  }

  .page-margins-1-1,
  .album-container,
  .gallery-detail-wrap,
  .fond-detail-page,
  .fond-item-show,
  .self-fond-page,
  .archive-index-page,
  .fond-index-page {
    width: calc(100vw - (var(--mobile-page-pad) * 2)) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-margins-1-1,
  .album-container,
  .gallery-detail-wrap {
    padding-top: 32px !important;
    padding-bottom: 72px !important;
  }

  .main-title-1-1,
  .detail-title-1-1,
  .album-title-g1,
  .fond-detail-title,
  .fond-item-show-title,
  .staff-member-name,
  .building-title,
  .news-article-title {
    max-width: 100% !important;
    overflow-wrap: anywhere;
    letter-spacing: 0 !important;
  }

  .main-title-1-1,
  .detail-title-1-1 {
    margin: 28px 0 30px !important;
    font-size: clamp(34px, 11vw, 50px) !important;
    line-height: 1.02 !important;
  }

  .section-header {
    align-items: flex-start;
    gap: 10px;
  }

  .page-toolbar {
    align-items: stretch;
  }

  .search-bar,
  .filter-select,
  .view-toggle {
    width: 100%;
  }

  .view-btn {
    flex: 1 1 0;
    justify-content: center;
  }

  body.page-fond-dark:not(.page-card-scroll-page),
  body.text-white-all,
  body.page-staff-member,
  body.page-building-detail {
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  /* Home */
  .hero-area {
    min-height: auto !important;
    background-position: center top !important;
  }

  .home-hero-inner {
    flex-direction: column !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: clamp(430px, calc(100svh - 132px), 620px);
    gap: 22px !important;
    padding: 32px var(--mobile-page-pad) 48px !important;
    overflow: hidden !important;
    transform: none !important;
    text-align: center !important;
  }

  .hero-title {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: clamp(22px, 5.8vw, 30px) !important;
    line-height: 1.08 !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
    word-break: break-word !important;
  }

  .hero-right {
    flex-wrap: wrap !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 12px !important;
  }

  .hero-subtitle {
    min-width: 0 !important;
    max-width: 100% !important;
    padding-left: 0 !important;
  }

  .hero-icon img {
    width: clamp(112px, 33vw, 160px) !important;
    height: auto !important;
  }

  .hs-big {
    font-size: clamp(24px, 7vw, 34px) !important;
  }

  .hs-sm {
    font-size: clamp(15px, 4.5vw, 21px) !important;
  }

  .home-recent-header {
    justify-content: space-between !important;
    gap: 14px;
    padding: 12px var(--mobile-page-pad) !important;
  }

  .recent-to-catalog {
    position: static !important;
    transform: none !important;
    flex: 0 0 auto;
    font-size: 14px !important;
    white-space: nowrap;
  }

  .recent-arrow {
    width: 44px !important;
  }

  /* Shared archive/card pages */
  .archive-flow-list,
  .self-fond-list,
  .staff-table,
  .viewport-1-1 {
    -webkit-overflow-scrolling: touch;
  }

  .archive-plate,
  .building-index-card {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    column-gap: 12px !important;
    overflow: hidden !important;
    padding: 10px 12px !important;
  }

  body.page-card-scroll-page .archive-flow-list,
  body.page-fond-index .archive-flow-list,
  body.page-gallery-list .archive-flow-list {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.page-card-scroll-page .archive-flow-list > .archive-plate,
  body.page-fond-index .archive-plate,
  body.page-fond-catalog .archive-plate,
  body.page-gallery-list .archive-plate {
    grid-template-columns: minmax(92px, 30%) minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.page-card-scroll-page .archive-plate__body,
  body.page-fond-index .archive-plate__body,
  body.page-fond-catalog .archive-plate__body,
  body.page-gallery-list .archive-plate__body {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  body.page-card-scroll-page .archive-plate__stats,
  body.page-fond-index .archive-plate__stats,
  body.page-fond-catalog .archive-plate__stats,
  body.page-gallery-list .archive-plate__stats {
    grid-column: 2 !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  body.page-card-scroll-page .archive-plate__code,
  body.page-fond-index .archive-plate__code,
  body.page-fond-catalog .archive-plate__code,
  body.page-gallery-list .archive-plate__code {
    width: auto !important;
    max-width: 100% !important;
    font-size: clamp(15px, 3.8vw, 18px) !important;
    line-height: 1.1 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  body.page-card-scroll-page .archive-plate__title,
  body.page-fond-index .archive-plate__title,
  body.page-fond-catalog .archive-plate__title,
  body.page-gallery-list .archive-plate__title {
    display: -webkit-box !important;
    max-width: 100% !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  body.page-card-scroll-page .archive-plate__desc,
  body.page-card-scroll-page .archive-plate__stats span {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .archive-plate__code,
  .building-index-number,
  .self-fond-row__code,
  .sr-id {
    overflow-wrap: anywhere;
  }

  .fond-period-nav {
    -webkit-overflow-scrolling: touch;
  }

  .fond-mode-title,
  .gallery-mode-title,
  .self-fond-title {
    gap: 9px !important;
    font-size: clamp(24px, 7.6vw, 32px) !important;
    line-height: 1.08 !important;
    overflow-wrap: anywhere;
  }

  body.page-card-scroll-page .archive-flow-list,
  body.page-self-fond .self-fond-list,
  body.page-staff-list.page-card-scroll-page .staff-table {
    min-height: 0 !important;
  }

  /* Fond detail and item pages */
  .fond-detail-layout,
  .fond-postcard-media,
  .fond-item-show-grid,
  .fond-item-show-grid.has-multiple,
  .detail-grid-1-1,
  .item-detail-layout,
  .lib-detail-layout,
  .staff-member-shell,
  .building-detail-shell {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .fond-item-show {
    margin-top: 24px !important;
  }

  .fond-item-register-line {
    font-size: clamp(15px, 4vw, 18px) !important;
  }

  .fond-item-show-title,
  .fond-detail-title,
  .album-title-g1,
  .news-article-title {
    max-width: 100% !important;
    font-size: clamp(24px, 6.2vw, 32px) !important;
    line-height: 1.12 !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .fond-item-media-wrap {
    flex-direction: column !important;
    width: 100%;
    gap: 14px !important;
  }

  .fond-item-main-photo {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3;
  }

  .fond-item-main-photo img {
    width: 100% !important;
    height: 100% !important;
  }

  .fond-item-side-media {
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important;
    padding-top: 0 !important;
  }

  .fond-item-side-thumb {
    width: 96px !important;
    height: 82px !important;
    margin-top: 0 !important;
  }

  .fond-item-show-meta,
  .fond-item-description,
  .fond-meta-table td,
  .building-copy,
  .staff-member-bio,
  .news-article-body {
    font-size: clamp(15px, 4vw, 17px) !important;
    line-height: 1.68 !important;
  }

  .fond-meta-table,
  .item-fields-table,
  .info-table-1-1 {
    display: block;
    width: 100% !important;
  }

  .fond-meta-table tbody,
  .fond-meta-table tr,
  .fond-meta-table th,
  .fond-meta-table td,
  .item-fields-table tbody,
  .item-fields-table tr,
  .item-fields-table th,
  .item-fields-table td,
  .info-table-1-1 tbody,
  .info-table-1-1 tr,
  .info-table-1-1 th,
  .info-table-1-1 td {
    display: block;
    width: 100% !important;
  }

  .fond-meta-table th,
  .item-fields-table th,
  .info-table-1-1 th {
    padding-bottom: 4px !important;
    border-bottom: 0 !important;
  }

  .fond-meta-table td,
  .item-fields-table td,
  .info-table-1-1 td {
    padding-top: 0 !important;
  }

  .case-plate-1-1,
  .sidebar-box-1-1 {
    padding: 24px !important;
  }

  .sidebar-box-1-1 {
    position: static !important;
  }

  .items-stack-1-1,
  .catalog-grid,
  .lib-grid,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  /* Gallery */
  .viewport-1-1 {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding-bottom: 56px !important;
  }

  .grid-2col-1-1,
  .lib-grid-4 {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .plate-1-1 {
    min-height: 118px !important;
    padding: 22px !important;
  }

  .plate-title-1-1 {
    font-size: clamp(22px, 6vw, 30px) !important;
  }

  .mosaic-masonry {
    column-count: 2 !important;
    column-gap: 14px !important;
  }

  .mosaic-masonry-item {
    margin-bottom: 14px !important;
  }

  .mosaic-photos-g1 {
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto !important;
    gap: 12px !important;
  }

  .photo-item-g1,
  .video-placeholder-g1 {
    min-height: 220px !important;
  }

  /* About and library */
  .about-page,
  .lib-page {
    width: calc(100vw - (var(--mobile-page-pad) * 2));
    margin: 0 auto !important;
    padding: 38px 0 72px !important;
  }

  .about-text-block p {
    font-size: clamp(16px, 4.2vw, 18px) !important;
    line-height: 1.65 !important;
    text-align: left !important;
  }

  .about-contacts-block {
    margin-top: 42px !important;
    text-align: left !important;
  }

  .about-contacts-block h2 {
    margin-bottom: 18px !important;
    font-size: clamp(24px, 7vw, 30px) !important;
  }

  .about-contacts-block p {
    font-size: 16px !important;
    overflow-wrap: anywhere;
  }

  .lib-q-left,
  .lib-q-right {
    align-items: flex-start !important;
    text-align: left !important;
  }

  .lib-quadrant {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.16);
  }

  .lib-quadrant h2 {
    margin-bottom: 14px !important;
    font-size: clamp(24px, 6.8vw, 30px) !important;
  }

  .lib-q-items p {
    font-size: 14px !important;
    line-height: 1.35 !important;
  }

  .lib-detail-cover,
  .lib-detail-cover-empty {
    max-width: min(260px, 100%) !important;
  }

  .lib-viewer-iframe {
    height: 64vh !important;
  }

  /* News */
  .news-feed-item {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 18px 0 !important;
  }

  .news-feed-img {
    height: 190px !important;
  }

  .news-article {
    max-width: none !important;
  }

  .news-article-img img {
    width: 100%;
  }

  .pagination {
    flex-wrap: wrap;
    gap: 10px !important;
  }

  /* Staff */
  body.page-staff-list .staff-alpha {
    justify-content: flex-start !important;
    gap: 10px !important;
    padding: 0 8px 10px !important;
    overflow-x: auto !important;
  }

  body.page-staff-list .alpha-btn {
    flex: 0 0 auto !important;
    min-width: 22px !important;
    height: 30px;
    font-size: 18px !important;
  }

  body.page-staff-list .staff-table {
    width: 100% !important;
  }

  .staff-member-page {
    min-height: 0 !important;
    padding: 34px var(--mobile-page-pad) 46px !important;
  }

  .staff-member-left,
  .staff-member-bio {
    text-align: left !important;
  }

  .staff-member-name {
    font-size: clamp(26px, 6.8vw, 34px) !important;
    line-height: 1.24 !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .staff-member-positions {
    margin-top: 30px !important;
  }

  .staff-member-rule {
    margin-top: 34px !important;
  }

  /* Map and building pages */
  body.page-map #main-content {
    position: fixed !important;
    inset: 0 !important;
  }

  body.page-map #header {
    min-height: 148px !important;
  }

  body.page-map #header .header-search-row {
    min-height: 42px !important;
    height: auto !important;
    padding: 8px var(--mobile-page-pad) 10px !important;
  }

  body.page-map .map-path,
  .buildings-index-path,
  .staff-member-path,
  .building-breadcrumb {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    font-size: clamp(11px, 3vw, 13px) !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .building-popup-panel {
    left: var(--mobile-page-pad) !important;
    right: var(--mobile-page-pad) !important;
    bottom: 104px !important;
    top: auto !important;
    width: auto !important;
    max-height: 50vh !important;
  }

  .popup-img-wrap {
    height: 150px !important;
  }

  .popup-body {
    padding: 18px !important;
  }

  .popup-footer {
    padding: 0 18px 18px !important;
  }

  .map-bottom-nav {
    bottom: 18px !important;
    gap: 14px !important;
    justify-content: flex-start !important;
    padding: 0 var(--mobile-page-pad) 10px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .map-nav-item {
    flex: 0 0 auto;
    font-size: clamp(11px, 3.4vw, 14px) !important;
  }

  body.page-building-detail,
  html:has(body.page-building-detail) {
    height: auto !important;
    min-height: 100svh !important;
    overflow-y: auto !important;
  }

  body.page-building-detail #main-content,
  body.page-building-detail .building-detail-page {
    overflow: visible !important;
  }

  body.page-building-detail .building-detail-page {
    height: auto !important;
    min-height: 0 !important;
    padding: 28px var(--mobile-page-pad) 40px !important;
  }

  body.page-building-detail .building-detail-shell {
    width: 100% !important;
  }

  body.page-building-detail .building-photo-frame {
    width: 100% !important;
    max-height: none !important;
  }

  body.page-building-detail .building-photo {
    width: 100% !important;
    max-height: none !important;
  }

  body.page-building-detail .building-bottom-rule {
    width: 100% !important;
    margin-top: 32px !important;
  }

  body.page-buildings-list .buildings-index-page {
    width: calc(100vw - (var(--mobile-page-pad) * 2)) !important;
  }

  body.page-buildings-list .building-index-card {
    grid-template-columns: 54px minmax(0, 1fr) minmax(54px, 72px) !important;
  }

  /* Lightboxes */
  .media-lightbox-stage-wrap {
    gap: 0 !important;
    padding: 56px 0 0 !important;
  }

  .media-lightbox-stage {
    width: calc(100vw - 84px) !important;
    height: 62vh !important;
  }

  .media-lightbox-nav {
    width: 42px !important;
    min-width: 42px !important;
    font-size: 42px !important;
  }

  .media-lightbox-info {
    width: 100% !important;
    padding: 18px var(--mobile-page-pad) 34px !important;
  }

  .viewer-1-1-img {
    max-width: calc(100vw - 32px) !important;
    max-height: 62vh !important;
  }

  .viewer-1-1-footer {
    padding: 24px var(--mobile-page-pad) !important;
  }

  .viewer-1-1-desc {
    font-size: 16px !important;
  }

  .viewer-1-1-nav {
    padding: 0 12px !important;
  }

  .v-1-1-btn {
    font-size: 64px !important;
    opacity: 0.42 !important;
  }

  .lightbox-content img {
    max-height: 78vh !important;
  }
}

@media (max-width: 700px) {
  :root {
    --mobile-page-pad: 20px;
  }

  html body #header {
    padding-top: 14px !important;
  }

  html body #header .main-nav a,
  html body #header .header-nav-row > a {
    min-height: 40px !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    font-size: clamp(8px, 2.65vw, 10px) !important;
  }

  html body #header .header-search-row {
    min-height: 40px !important;
    padding-top: 7px !important;
    padding-bottom: 9px !important;
  }

  html body #header .header-search input {
    width: clamp(82px, 26vw, 104px) !important;
  }

  .home-hero-inner {
    min-height: auto;
    padding-top: 26px !important;
  }

  .hero-right {
    flex-direction: column !important;
  }

  .hero-subtitle {
    text-align: center !important;
  }

  .home-recent-header {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .recent-to-catalog {
    align-self: flex-start;
  }

  .archive-plate,
  .self-fond-row {
    grid-template-columns: minmax(74px, 0.72fr) minmax(0, 1.65fr) !important;
    row-gap: 12px !important;
  }

  .archive-plate__stats,
  .self-fond-row__meta {
    grid-column: 2 !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  .archive-plate__title {
    font-size: clamp(16px, 5vw, 20px) !important;
  }

  body.page-card-scroll-page .archive-flow-list > .archive-plate,
  body.page-fond-index .archive-plate,
  body.page-fond-catalog .archive-plate,
  body.page-gallery-list .archive-plate {
    grid-template-columns: minmax(86px, 30%) minmax(0, 1fr) !important;
  }

  body.page-card-scroll-page .archive-plate__title,
  body.page-fond-index .archive-plate__title,
  body.page-fond-catalog .archive-plate__title,
  body.page-gallery-list .archive-plate__title {
    font-size: clamp(15px, 4.5vw, 18px) !important;
    line-height: 1.14 !important;
  }

  .fond-item-show-title,
  .fond-detail-title,
  .album-title-g1,
  .news-article-title {
    font-size: clamp(23px, 6.2vw, 30px) !important;
  }

  .staff-member-name {
    font-size: clamp(24px, 6.5vw, 30px) !important;
  }

  .archive-plate__desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .fond-period-nav {
    font-size: 12px !important;
  }

  .items-stack-1-1,
  .catalog-grid,
  .lib-grid,
  .news-grid,
  .mosaic-masonry {
    grid-template-columns: 1fr !important;
  }

  .mosaic-masonry {
    column-count: 1 !important;
  }

  .fond-item-main-photo {
    aspect-ratio: 1 / 1;
  }

  .photo-item-g1,
  .video-placeholder-g1 {
    min-height: 180px !important;
  }

  .staff-row {
    min-height: 0 !important;
  }

  body.page-staff-list .staff-row {
    padding: 14px !important;
  }

  body.page-staff-list .staff-table {
    gap: 10px !important;
  }

  .staff-member-position {
    flex-direction: column !important;
  }

  .building-popup-panel {
    bottom: 92px !important;
  }

  .map-bottom-nav {
    bottom: 12px !important;
  }

  body.page-buildings-list .building-index-card {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
  }

  body.page-buildings-list .building-index-title {
    grid-column: 2 !important;
  }

  body.page-buildings-list .building-index-status {
    grid-column: 2 !important;
    justify-self: start !important;
    text-align: left !important;
  }
}

@media (max-width: 420px) {
  :root {
    --mobile-page-pad: 16px;
  }

  html body #header .main-nav a,
  html body #header .header-nav-row > a {
    font-size: 8px !important;
  }

  html body #header .header-search-row {
    grid-template-columns: minmax(0, 1fr) minmax(74px, auto) !important;
    gap: 8px !important;
  }

  .hero-title {
    font-size: 25px !important;
  }

  .hero-icon img {
    width: 104px !important;
  }

  .hs-big {
    font-size: 22px !important;
  }

  .hs-sm {
    font-size: 14px !important;
  }

  .plate-1-1 {
    padding: 18px !important;
  }

  .fond-mode-title,
  .gallery-mode-title,
  .self-fond-title {
    font-size: 24px !important;
  }

  body.page-card-scroll-page .archive-flow-list > .archive-plate,
  body.page-fond-index .archive-plate,
  body.page-fond-catalog .archive-plate,
  body.page-gallery-list .archive-plate {
    grid-template-columns: minmax(78px, 29%) minmax(0, 1fr) !important;
  }

  body.page-card-scroll-page .archive-plate__code,
  body.page-fond-index .archive-plate__code,
  body.page-fond-catalog .archive-plate__code,
  body.page-gallery-list .archive-plate__code {
    font-size: 14px !important;
  }

  body.page-card-scroll-page .archive-plate__title,
  body.page-fond-index .archive-plate__title,
  body.page-fond-catalog .archive-plate__title,
  body.page-gallery-list .archive-plate__title {
    font-size: 16px !important;
  }
}
