@font-face {
  font-family: "PT Sans";
  src: url("../fonts/pts55f-webfont.woff") format("woff");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "PT Sans";
  src: url("../fonts/pts75f-webfont.woff") format("woff");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  --antique-accent: #2fc3ed;
  --antique-accent-deep: #1ca8d2;
  --antique-ink: #323232;
  --antique-muted: #6c7275;
  --antique-nav: #3b3b3b;
  --antique-nav-active: #152c3b;
  --antique-panel: #f1f5f5;
  --antique-panel-title: #e9eff0;
  --antique-field: #e2ebf0;
  --antique-border: rgba(27, 36, 39, 0.24);
  --antique-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  --antique-radius: 5px;
  --antique-wrap: 1180px;
  --cassiopeia-font-family-body: "PT Sans", "Segoe UI", Arial, sans-serif;
  --cassiopeia-font-family-headings: "PT Sans", "Segoe UI", Arial, sans-serif;
  --cassiopeia-font-weight-normal: 400;
  --cassiopeia-font-weight-headings: 700;
  --template-link-color: var(--antique-accent-deep);
}

html {
  min-width: 20rem;
  scroll-behavior: smooth;
}

body.antique-site {
  min-height: 100vh;
  margin: 0;
  color: var(--antique-ink);
  background-color: var(--antique-field);
  background-image: url("../images/community-b/tile-bg.jpg");
  background-position: 50% 0;
  font-family: "PT Sans", "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
}

body.antique-site *,
body.antique-site *::before,
body.antique-site *::after {
  box-sizing: border-box;
}

body.antique-site img,
body.antique-site svg,
body.antique-site video {
  max-width: 100%;
}

body.antique-site a {
  color: var(--antique-accent-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
  transition:
    color 120ms ease,
    text-decoration-color 120ms ease;
}

body.antique-site a:hover,
body.antique-site a:focus-visible {
  color: #087a9d;
}

body.antique-site h1,
body.antique-site h2,
body.antique-site h3,
body.antique-site h4,
body.antique-site h5,
body.antique-site h6 {
  color: #353b3e;
  font-family: "PT Sans", "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.16;
}

body.antique-site h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

body.antique-site h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

body.antique-site h3 {
  font-size: clamp(1.16rem, 1.8vw, 1.35rem);
  font-weight: 700;
}

body.antique-site :focus-visible {
  outline: 3px solid #087a9d;
  outline-offset: 3px;
}

.antique-wrap,
.antique-page-shell {
  width: min(calc(100% - 2rem), var(--antique-wrap));
  margin-inline: auto;
}

.antique-skip-link {
  position: fixed;
  z-index: 10000;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  padding: 0.75rem 1rem;
  color: #fff !important;
  background: #111;
  border-radius: 0.25rem;
  box-shadow: var(--antique-shadow);
  transform: translateY(-180%);
  transition: transform 150ms ease;
}

.antique-skip-link:focus {
  transform: translateY(0);
}

.antique-topbar {
  color: #f5f8f9;
  background: #1f2528;
  font-size: 0.875rem;
}

.antique-topbar .antique-wrap {
  padding-block: 0.45rem;
}

.antique-header {
  position: relative;
}

.antique-navigation {
  position: relative;
  z-index: 50;
  min-height: 4.25rem;
  color: #c7c7c7;
  background-color: var(--antique-nav);
  background-image: url("../images/community-b/nav-overlay.png");
  border: 1px solid rgba(225, 225, 225, 0.3);
  border-block-start: 0;
  border-radius: 0 0 var(--antique-radius) var(--antique-radius);
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(0, 0, 0, 0.9);
}

.antique-navigation.is-sticky {
  position: sticky;
  inset-block-start: 0;
}

.antique-navigation__inner {
  display: flex;
  min-height: 4.25rem;
  align-items: stretch;
  padding-inline: 0.45rem;
}

.antique-primary-navigation {
  display: flex;
  min-width: 0;
  align-items: stretch;
}

.antique-primary-navigation .mod-menu {
  display: flex;
  width: auto;
  min-height: 100%;
  margin: 0;
  padding: 0;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  list-style: none;
}

.antique-primary-navigation .mod-menu > li {
  position: relative;
  display: flex;
  width: auto;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  align-items: stretch;
  background-image: url("../images/community-b/menu-separator.png");
  background-position: 100% 50%;
  background-repeat: no-repeat;
}

.antique-primary-navigation .mod-menu > li > a,
.antique-primary-navigation .mod-menu > li > button,
.antique-primary-navigation .mod-menu > li > span {
  position: relative;
  display: flex;
  min-height: 4.25rem;
  padding: 0.76rem 1.15rem 0.7rem;
  align-items: center;
  justify-content: center;
  color: #c7c7c7;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.05;
  text-align: center;
  text-decoration: none;
  text-shadow: -1px -1px 1px #000;
  transition:
    color 140ms ease,
    background-color 140ms ease,
    box-shadow 140ms ease;
}

.antique-primary-navigation .mod-menu > li:first-child > a {
  flex-direction: column;
  gap: 0.12rem;
}

.antique-nav-kicker {
  display: block;
  color: #d8f6ff;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: none;
}

.antique-primary-navigation .mod-menu > li.current > a,
.antique-primary-navigation .mod-menu > li.active > a,
.antique-primary-navigation .mod-menu > li > a[aria-current="page"] {
  color: #fff;
  background-color: var(--antique-nav-active);
  background-image:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.28)),
    url("../images/community-b/menu-gradient.png");
  box-shadow:
    inset 0 -2px 0 var(--antique-accent),
    0 -2px 4px rgba(0, 0, 0, 0.32);
}

.antique-primary-navigation .mod-menu > li > a:hover,
.antique-primary-navigation .mod-menu > li > a:focus-visible {
  color: #fff;
  background-color: #17384b;
  box-shadow:
    inset 0 -2px 0 var(--antique-accent),
    0 -2px 4px rgba(0, 0, 0, 0.3);
}

.antique-primary-navigation .mod-menu .mod-menu__sub,
.antique-primary-navigation .mod-menu ul {
  position: absolute;
  z-index: 60;
  inset-block-start: 100%;
  inset-inline-start: 0;
  display: none;
  min-width: 13rem;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background-color: var(--antique-accent-deep);
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 0 0 0.25rem 0.25rem;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.45);
}

.antique-primary-navigation .mod-menu li:hover > ul,
.antique-primary-navigation .mod-menu li:focus-within > ul {
  display: block;
}

.antique-primary-navigation .mod-menu ul a {
  display: block;
  padding: 0.62rem 0.75rem;
  color: #fff;
  text-decoration: none;
}

.antique-primary-navigation .mod-menu ul a:hover,
.antique-primary-navigation .mod-menu ul a:focus-visible {
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
}

.antique-search {
  margin-inline-start: auto;
  align-self: center;
  padding: 0.5rem 0.75rem;
}

.antique-search input[type="search"],
.antique-search input[type="text"] {
  width: min(14rem, 24vw);
  min-height: 2.35rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(0, 0, 0, 0.55);
  border-radius: 0.25rem;
}

.antique-nav-toggle {
  display: none;
}

.antique-brand {
  display: flex;
  min-height: 7.8rem;
  padding: 1.35rem 1rem 1rem;
  align-items: flex-start;
}

.antique-brand__link {
  display: inline-flex;
  align-items: center;
  color: var(--antique-ink);
  text-decoration: none;
}

.antique-brand__logo {
  display: block;
  width: 286px;
  height: 73px;
  object-fit: contain;
  object-position: left center;
}

.antique-hero-region,
.antique-main-layout,
.antique-bottom-regions {
  margin-block-end: 1.8rem;
}

.antique-hero-region {
  overflow: hidden;
  background-color: var(--antique-panel);
  border-radius: var(--antique-radius);
  box-shadow: var(--antique-shadow);
  animation: antique-rise-in 380ms ease-out both;
}

.antique-hero-region > .mod-custom,
.antique-hero-region > .moduletable {
  display: contents;
}

.antique-hero {
  display: grid;
  height: 22rem;
  min-height: 22rem;
  grid-template-columns: minmax(22rem, 44%) minmax(0, 56%);
}

.antique-hero__copy {
  display: flex;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  flex-direction: column;
  justify-content: flex-start;
  font-size: 1.07rem;
  line-height: 1.58;
}

.antique-hero__copy > :first-child {
  margin-block-start: 0;
}

.antique-hero__copy > :last-child {
  margin-block-end: 0;
}

.antique-hero__media {
  height: 22rem;
  min-width: 0;
  min-height: 22rem;
  overflow: hidden;
}

.antique-hero__media img {
  display: block;
  width: 100%;
  height: 22rem;
  min-height: 22rem;
  object-fit: cover;
  object-position: center;
  transition: transform 500ms ease;
}

.antique-hero:hover .antique-hero__media img {
  transform: scale(1.012);
}

.antique-main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.3rem;
  align-items: start;
}

.has-sidebar-right .antique-main-layout {
  grid-template-columns: minmax(0, 3.2fr) minmax(15.5rem, 1fr);
}

.has-sidebar-left .antique-main-layout {
  grid-template-columns: minmax(14rem, 3fr) minmax(0, 9fr);
}

.has-sidebar-left.has-sidebar-right .antique-main-layout {
  grid-template-columns: minmax(13rem, 2.5fr) minmax(0, 7fr) minmax(15rem, 2.5fr);
}

.antique-content-panel,
.antique-sidebar > .moduletable,
.antique-sidebar > .card,
.antique-bottom-region > .card {
  color: var(--antique-ink);
  background-color: var(--antique-panel);
  border: 0;
  border-radius: var(--antique-radius);
  box-shadow: var(--antique-shadow);
  text-shadow: 1px 1px 1px rgba(225, 225, 225, 0.65);
}

.antique-content-panel {
  min-width: 0;
  min-height: 22rem;
  overflow: hidden;
  padding: clamp(1.15rem, 2vw, 1.55rem);
  animation: antique-rise-in 430ms 50ms ease-out both;
}

.antique-content-panel > :first-child:not(.antique-main-top):not(.joomla-alert) {
  margin-block-start: 0;
}

.antique-content-panel .page-header {
  margin: calc(clamp(1.15rem, 2vw, 1.55rem) * -1) 0 1.55rem;
}

.antique-content-panel .page-header h1,
.antique-content-panel .page-header h2 {
  display: inline-block;
  margin: 0 0 0 calc(clamp(1.15rem, 2vw, 1.55rem) * -1);
  padding: 0.72rem 1.3rem;
  color: #505050;
  background-color: var(--antique-panel-title);
  background-image: url("../images/community-b/title-overlay.png");
  background-repeat: repeat-x;
  border-radius: 0 0.2rem 0.2rem 0;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.45);
  font-weight: 400;
  text-shadow: 1px 1px 1px #fff;
}

.itemid-101 .antique-content-panel .blog-featured > .page-header,
.itemid-101 .antique-content-panel .blog-featured > h1:first-child,
.itemid-101 .antique-content-panel .com-content-featured-blog > .page-header {
  display: none;
}

.itemid-101 .antique-content-panel .blog-featured .item-title,
.itemid-101 .antique-content-panel .blog-featured .article-info,
.itemid-101 .antique-content-panel .blog-featured .icons,
.itemid-101 .antique-content-panel .blog-featured .readmore {
  display: none;
}

.antique-main-top {
  margin: calc(clamp(1.15rem, 2vw, 1.55rem) * -1);
  margin-block-end: 1.55rem;
}

.antique-main-top > .mod-custom,
.antique-main-top > .moduletable {
  display: contents;
}

.antique-sales-header {
  display: flex;
  min-height: 5rem;
  padding-block-start: 1rem;
  align-items: flex-start;
  background-color: #8f7b65;
  background-image:
    linear-gradient(to right, rgba(25, 20, 15, 0.18), rgba(25, 20, 15, 0.04)),
    var(--sales-image, none);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.antique-sales-header h1,
.antique-sales-header h2 {
  display: inline-block;
  margin: 0;
  padding: 0.65rem 1.35rem;
  color: #505050;
  background: #f9fbfb;
  border-radius: 0 0.2rem 0.2rem 0;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.45);
  font-size: 1.5rem;
  font-weight: 400;
  text-shadow: 1px 1px 1px #fff;
}

.antique-main-bottom {
  margin-block-start: 1.75rem;
}

.antique-sidebar {
  min-width: 0;
}

.antique-sidebar > .moduletable,
.antique-sidebar > .card {
  overflow: hidden;
  padding: 1.15rem;
}

.antique-sidebar > .moduletable + .moduletable,
.antique-sidebar > .card + .card,
.antique-sidebar > .mod-custom + .mod-custom {
  margin-block-start: 1.25rem;
}

.antique-sidebar > .mod-custom {
  border-radius: var(--antique-radius);
}

.antique-sidebar .mod-login,
.antique-sidebar #login-form {
  display: none !important;
}

.antique-services {
  overflow: hidden;
  background-color: var(--antique-panel);
  background-image: url("/images/antique-shoppe/sale.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% 5rem;
  border-radius: var(--antique-radius);
  box-shadow: var(--antique-shadow);
}

.antique-services__header,
.antique-services > header {
  display: flex;
  min-height: 5rem;
  padding-block-start: 1rem;
  align-items: flex-start;
  background-color: #776957;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.antique-services .antique-section-label,
.antique-services__header h2,
.antique-services > header h2 {
  display: inline-block;
  margin: 0;
  padding: 0.62rem 1.2rem;
  color: #505050;
  background: #fbfcfc;
  border-radius: 0 0.2rem 0.2rem 0;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.42);
  font-size: 1.45rem;
  font-weight: 400;
}

.antique-services > .antique-section-label {
  margin-block-start: 1rem;
}

.antique-services__items {
  margin-block-start: 0.85rem;
  background: var(--antique-panel);
}

.antique-services ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.antique-services li,
.antique-services details {
  margin: 0;
  border-block-start: 1px solid rgba(51, 58, 60, 0.17);
}

.antique-services li > a,
.antique-services details > summary {
  position: relative;
  display: block;
  padding: 0.55rem 2rem 0.55rem 1.15rem;
  color: #283033;
  font-weight: 700;
  line-height: 1.22;
  text-decoration: none;
  cursor: pointer;
}

.antique-services li > a::after,
.antique-services details > summary::after {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: 0.8rem;
  content: "+";
  font-weight: 700;
  transform: translateY(-50%);
}

.antique-services details[open] > summary::after {
  content: "−";
}

.antique-services details:first-child:not([open]) > summary::after {
  content: "";
}

.antique-services li > a:hover,
.antique-services li > a:focus-visible,
.antique-services details > summary:hover,
.antique-services details > summary:focus-visible {
  color: #fff;
  background: var(--antique-accent-deep);
  text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.32);
}

.antique-services details > :not(summary) {
  padding-inline: 1.15rem;
}

.antique-services__all {
  position: relative;
  display: block;
  padding: 0.55rem 2rem 0.55rem 1.15rem;
  color: #283033;
  border-block-start: 1px solid rgba(51, 58, 60, 0.17);
  font-weight: 700;
  line-height: 1.22;
  text-decoration: none;
}

.antique-services__all::after {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: 0.8rem;
  content: "+";
  font-weight: 700;
  transform: translateY(-50%);
}

.antique-services__all:hover,
.antique-services__all:focus-visible {
  color: #fff;
  background: var(--antique-accent-deep);
  text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.32);
}

.antique-bottom-regions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

.antique-bottom-region > .card {
  height: 100%;
  padding: 1.25rem;
}

.antique-footer {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-color: var(--antique-accent-deep);
  border-radius: var(--antique-radius) var(--antique-radius) 0 0;
  box-shadow:
    inset 1px 0 0 rgba(0, 0, 0, 0.2),
    inset -1px 0 0 rgba(0, 0, 0, 0.2),
    0 0 6px rgba(0, 0, 0, 0.4);
  text-shadow: 1px -1px 1px rgba(0, 0, 0, 0.48);
}

.antique-footer__inner {
  display: grid;
  min-height: 8.9rem;
  padding: 1.45rem 1.15rem 1rem;
  place-items: center;
}

.antique-footer__inner.has-contact {
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 1fr) minmax(0, 1fr);
  align-items: end;
}

.antique-footer__contact {
  width: 100%;
  grid-column: 1 / 3;
  align-self: start;
}

body.antique-site .antique-footer__contact h2,
body.antique-site .antique-footer__contact h3,
body.antique-site .antique-footer__contact h4 {
  margin: 0 0 0.8rem;
  padding-block-end: 0.45rem;
  color: #fff;
  border-block-end: 1px solid rgba(255, 255, 255, 0.23);
  font-size: 1.45rem;
  text-shadow: 1px -1px 1px rgba(0, 0, 0, 0.48);
}

.antique-footer__contact p {
  margin: 0.38rem 0;
}

.antique-footer-contact > h4 {
  margin: 0 0 0.45rem;
}

.antique-footer-contact > div:not(.clear) {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.antique-footer-contact .clear {
  height: 0.35rem;
  overflow: hidden;
  clear: both;
  font-size: 0;
  line-height: 0;
}

.antique-footer-contact .rt-floatleft {
  width: 15px;
  height: 15px;
  margin-block-start: 0.22rem;
  flex: 0 0 15px;
}

body.antique-site .antique-footer-contact h4 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.antique-footer__modules {
  width: 100%;
  grid-column: 3;
}

.antique-footer__meta {
  display: flex;
  grid-column: 2;
  flex-direction: column;
  gap: 0.22rem;
  align-items: center;
  justify-self: center;
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
}

.antique-footer__inner:not(.has-contact) .antique-footer__meta {
  grid-column: 1;
}

body.antique-site .antique-footer a {
  color: #d3f8ff;
}

body.antique-site .antique-footer a:hover,
body.antique-site .antique-footer a:focus-visible {
  color: #fff;
}

.antique-back-to-top {
  position: absolute;
  z-index: 2;
  inset-inline-end: 1.15rem;
  inset-block-end: 0;
  display: grid;
  width: 2.45rem;
  height: 2.35rem;
  color: #0b87ab !important;
  background: #f4f7f8;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-block-end: 0;
  border-radius: 0.25rem 0.25rem 0 0;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  font-size: 1.7rem;
  line-height: 1;
  opacity: 0.8;
  place-items: center;
  text-decoration: none;
  transform: translateY(0.7rem);
  transition:
    opacity 140ms ease,
    transform 140ms ease;
}

.antique-back-to-top.is-visible,
.antique-back-to-top:hover,
.antique-back-to-top:focus-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Joomla component and form normalization */

.antique-content-panel .com-content-article,
.antique-content-panel .blog-featured,
.antique-content-panel .com-contact,
.antique-content-panel .com-users,
.antique-content-panel .com-finder {
  max-width: 100%;
}

.antique-content-panel .com-content-article__body,
.antique-content-panel .item-content {
  min-width: 0;
}

.antique-content-panel table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
}

.antique-content-panel th,
.antique-content-panel td {
  padding: 0.65rem;
  border-block-end: 1px solid rgba(50, 50, 50, 0.16);
  text-align: start;
}

.antique-site input:not([type="checkbox"]):not([type="radio"]),
.antique-site select,
.antique-site textarea {
  max-width: 100%;
  padding: 0.58rem 0.68rem;
  color: var(--antique-ink);
  background: #fff;
  border: 1px solid #c9c2b5;
  border-radius: 0.2rem;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.14);
}

.antique-site input:focus,
.antique-site select:focus,
.antique-site textarea:focus {
  border-color: var(--antique-accent);
  box-shadow:
    inset 0 1px 3px rgba(47, 195, 237, 0.25),
    0 0 0 0.2rem rgba(47, 195, 237, 0.2);
}

.antique-site .btn,
.antique-site button:not(.antique-nav-toggle),
.antique-site input[type="submit"],
.antique-site input[type="button"] {
  min-height: 2.45rem;
  padding: 0.45rem 1rem;
  color: #fff;
  background-color: var(--antique-accent-deep);
  background-image: url("../images/community-b/readon.png");
  border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 0.2rem;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
  font-weight: 700;
  text-shadow: 1px -1px 1px rgba(0, 0, 0, 0.32);
}

.antique-site .btn:hover,
.antique-site .btn:focus-visible,
.antique-site button:not(.antique-nav-toggle):hover,
.antique-site button:not(.antique-nav-toggle):focus-visible,
.antique-site input[type="submit"]:hover,
.antique-site input[type="button"]:hover {
  color: #fff;
  background-color: #087fa3;
}

.antique-site .pagination {
  display: flex;
  margin: 2rem 0 0;
  padding: 0;
  gap: 0.45rem;
  align-items: center;
  justify-content: center;
  list-style: none;
}

.antique-site .pagination a,
.antique-site .pagination span {
  display: inline-grid;
  min-width: 2rem;
  min-height: 2rem;
  padding: 0.25rem 0.45rem;
  place-items: center;
}

.antique-site .joomla-alert {
  margin-block-end: 1rem;
}

/* Phoca Gallery 6.1.x: recreate the four-column framed thumbnail field. */

.com-phocagallery .antique-content-panel,
.option-com_phocagallery .antique-content-panel {
  padding: clamp(1.4rem, 2.4vw, 2rem);
}

#phocagallery {
  width: 100%;
  max-width: 100%;
  color: var(--antique-ink);
}

#phocagallery .pg-top-icons {
  min-height: 1.8rem;
  padding-block-end: 0.65rem;
  border-block-end: 1px solid rgba(50, 50, 50, 0.13);
  opacity: 0.66;
  text-align: end;
}

#phocagallery.pg-category-view .pg-top-icons,
#phocagallery.pg-category-view .pg-item-box-info,
#phocagallery.pg-category-view .pg-item-box-icons-box,
#phocagallery.pg-category-view .pg-item-box-tags,
#phocagallery.pg-category-view .pg-rss-icon,
#phocagallery.pg-category-view a[href*="format=feed"] {
  display: none !important;
}

#phocagallery.pg-category-view > .page-header {
  display: none !important;
}

#phocagallery.pg-category-view::before {
  display: block;
  min-height: 2rem;
  padding-block-end: 0.45rem;
  content: "View:";
  color: #8b8f91;
  border-block-end: 1px solid rgba(50, 50, 50, 0.16);
  font-size: 0.82rem;
  font-style: italic;
  text-align: end;
}

/* Phoca emits a Bootstrap modal even when popup mode is disabled. Keep only
   the explicitly closed instance out of normal flow; an opened .show modal is
   unaffected. */
#phocagallery.pg-category-view
  > #pgCategoryModal.modal.fade[aria-hidden="true"]:not(.show) {
  display: none !important;
}

#phocagallery.pg-category-view
  > div:has(> a[href="https://www.phoca.cz/phocagallery"]),
#phocagallery.pg-category-view
  > div[style="display:block;color:#ccc;text-align:right;"] {
  display: none !important;
}

#phocagallery .pg-category-desc,
#phocagallery .pg-categories-desc {
  margin-block-end: 1.25rem;
}

#phocagallery .pg-msnr-container,
#phocagallery .pg-category-items-box,
#phocagallery .pg-categories-items-box {
  position: static !important;
  display: grid !important;
  width: 100% !important;
  height: auto !important;
  margin: 1.75rem 0 0 !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.2rem) clamp(1.8rem, 5.2vw, 4.5rem);
  align-items: start;
}

#phocagallery .pg-item-box,
#phocagallery .pg-category-box {
  position: relative !important;
  inset: auto !important;
  display: flex !important;
  width: min(100%, 13rem) !important;
  max-width: 13rem !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0.48rem !important;
  flex-direction: column;
  justify-self: center;
  overflow: hidden;
  background: #fdfefe;
  border: 1px solid rgba(68, 72, 74, 0.22);
  border-radius: 0.28rem;
  box-shadow:
    0 2px 2px rgba(0, 0, 0, 0.26),
    inset 0 0 0 1px rgba(255, 255, 255, 0.9);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

#phocagallery .pg-item-box:hover,
#phocagallery .pg-item-box:focus-within,
#phocagallery .pg-category-box:hover,
#phocagallery .pg-category-box:focus-within {
  z-index: 2;
  box-shadow:
    0 5px 12px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
}

#phocagallery .pg-item-box-image,
#phocagallery .pg-category-box-image {
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden;
  background: #151515;
  border: 1px solid #222;
  place-items: center;
}

#phocagallery .pg-item-box-image a,
#phocagallery .pg-category-box-image a {
  display: block;
  width: 100%;
}

#phocagallery .pg-item-box-image img,
#phocagallery .pg-category-box-image img,
#phocagallery img.pg-image {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 19 / 15;
  object-fit: cover;
}

#phocagallery .pg-item-box-info,
#phocagallery .pg-category-box-info {
  width: 100% !important;
  min-height: 0 !important;
  padding: 0.4rem 0.2rem 0.05rem;
}

#phocagallery .pg-item-box-title,
#phocagallery .pg-category-box-title {
  overflow-wrap: anywhere;
  font-weight: 700;
  text-align: center;
}

#phocagallery .pg-item-box-icons-box {
  max-width: 100%;
}

#phocagallery .pg-cv-paginaton,
#phocagallery .pg-csv-paginaton {
  clear: both;
}

#phocagallery .pagination,
#phocagallery .pagination-wrapper {
  margin-block-start: 2.25rem;
}

#phocagallery .pagination > .counter {
  display: none !important;
}

/* Phoca detail view: keep the image centered and framed at the legacy scale. */

#phocagallery.pg-detail-item-box {
  min-height: 39rem;
}

#phocagallery .pg-detail-top-box-back-title {
  margin-block-end: 1.2rem;
  text-align: start;
}

#phocagallery .pg-detail-top-box-back-title a {
  color: var(--antique-ink);
  text-decoration: none;
}

#phocagallery .pg-detail-top-box-back-title a span {
  color: var(--antique-accent-deep);
}

#phocaGalleryImageBox {
  width: min(100%, 43rem) !important;
  max-width: 100% !important;
  height: auto !important;
  margin-inline: auto !important;
}

#phocagallery .pg-detail-item-image-box {
  display: flex !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  align-items: center;
  justify-content: center;
}

#phocagallery .pg-detail-item-image-box img {
  display: block;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  padding: 0.55rem;
  background: #fff;
  border: 1px solid rgba(68, 72, 74, 0.24);
  border-radius: 0.28rem;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.28);
}

#phocagallery .pg-detail-item-desc-box {
  margin-block-start: 1.7rem;
}

#phocagallery .antique-detail-meta {
  margin-block-start: 1.7rem;
}

#phocagallery .antique-detail-meta p {
  margin: 0.28rem 0;
}

#phocagallery .pg-detail-item-button-box,
#phocagallery .pg-detail-nav-box {
  display: flex;
  margin-block-start: 1rem;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

#phocagallery .pg-detail-nav-box a:last-child {
  margin-inline-start: auto;
}

#phocagallery .pg-detail-nav-box .ph-right {
  margin-inline-start: auto;
}

#phocagallery .pg-detail-nav-box .btn {
  min-height: 0;
  padding: 0;
  color: var(--antique-accent-deep);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-weight: 400;
  text-shadow: none;
}

#phocagallery .pg-detail-nav-box .btn:hover,
#phocagallery .pg-detail-nav-box .btn:focus-visible {
  color: #087a9d;
  background: transparent;
}

/* Contact and utility pages */

.antique-content-panel .com-contact__container,
.antique-content-panel .contact {
  min-height: 18rem;
}

.antique-content-panel .com-contact__container .page-header + *,
.antique-content-panel .contact .page-header + * {
  margin-inline: clamp(0rem, 3vw, 1.8rem);
}

@keyframes antique-rise-in {
  from {
    opacity: 0;
    transform: translateY(0.42rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 64rem) {
  .antique-wrap,
  .antique-page-shell {
    width: min(calc(100% - 1.25rem), var(--antique-wrap));
  }

  .antique-primary-navigation .mod-menu > li > a,
  .antique-primary-navigation .mod-menu > li > button,
  .antique-primary-navigation .mod-menu > li > span {
    padding-inline: 0.8rem;
    font-size: 1rem;
  }

  .has-sidebar-right .antique-main-layout {
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 17rem);
  }

  #phocagallery .pg-msnr-container,
  #phocagallery .pg-category-items-box,
  #phocagallery .pg-categories-items-box {
    gap: 2.2rem;
  }
}

@media (max-width: 47.99rem) {
  html {
    scroll-behavior: auto;
  }

  body.antique-site {
    font-size: 1rem;
    line-height: 1.55;
  }

  .antique-wrap,
  .antique-page-shell {
    width: min(calc(100% - 1rem), var(--antique-wrap));
  }

  .antique-navigation {
    min-height: 0;
  }

  .antique-navigation__inner {
    display: block;
    min-height: 0;
    padding: 0.4rem;
  }

  .antique-nav-toggle {
    display: flex;
    width: 100%;
    min-height: 3.2rem;
    padding: 0.55rem 0.8rem;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    background: transparent;
    border: 0;
    border-radius: 0.25rem;
    box-shadow: none;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    text-shadow: -1px -1px 1px #000;
  }

  .antique-nav-toggle:hover,
  .antique-nav-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.08);
  }

  .antique-nav-toggle__icon {
    display: grid;
    width: 1.5rem;
    gap: 0.28rem;
  }

  .antique-nav-toggle__icon span {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transition:
      transform 140ms ease,
      opacity 140ms ease;
  }

  .antique-nav-toggle[aria-expanded="true"] .antique-nav-toggle__icon span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .antique-nav-toggle[aria-expanded="true"] .antique-nav-toggle__icon span:nth-child(2) {
    opacity: 0;
  }

  .antique-nav-toggle[aria-expanded="true"] .antique-nav-toggle__icon span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .antique-primary-navigation {
    display: block;
    overflow: hidden;
  }

  .antique-js .antique-primary-navigation:not([data-open="true"]) {
    display: none;
  }

  .antique-primary-navigation .mod-menu {
    display: block;
    padding-block-start: 0.3rem;
  }

  .antique-primary-navigation .mod-menu > li {
    display: block;
    background-image: none;
    border-block-start: 1px solid rgba(255, 255, 255, 0.08);
  }

  .antique-primary-navigation .mod-menu > li > a,
  .antique-primary-navigation .mod-menu > li > button,
  .antique-primary-navigation .mod-menu > li > span {
    min-height: 3rem;
    padding: 0.7rem 0.85rem;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
  }

  .antique-primary-navigation .mod-menu > li:first-child > a {
    gap: 0.16rem;
  }

  .antique-primary-navigation .mod-menu .mod-menu__sub,
  .antique-primary-navigation .mod-menu ul {
    position: static;
    display: block;
    min-width: 0;
    padding-inline-start: 1rem;
    background: rgba(0, 0, 0, 0.22);
    border: 0;
    box-shadow: none;
  }

  .antique-search {
    padding: 0.6rem 0;
  }

  .antique-search input[type="search"],
  .antique-search input[type="text"] {
    width: 100%;
  }

  .antique-brand {
    min-height: 7.1rem;
    padding: 1.15rem 0.75rem 0.9rem;
    align-items: center;
  }

  .antique-brand__logo {
    width: min(286px, 82vw);
    height: auto;
  }

  .antique-hero-region,
  .antique-main-layout,
  .antique-bottom-regions {
    margin-block-end: 1rem;
  }

  .antique-hero-region {
    margin-block-start: 0;
  }

  .antique-hero {
    height: auto;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .antique-hero__copy {
    padding: 1.2rem;
    font-size: 1rem;
  }

  .antique-hero__media {
    height: auto;
    min-height: 14rem;
    order: -1;
  }

  .antique-hero__media img {
    height: auto;
    min-height: 14rem;
    max-height: 20rem;
  }

  .has-sidebar-right .antique-main-layout,
  .has-sidebar-left .antique-main-layout,
  .has-sidebar-left.has-sidebar-right .antique-main-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .antique-sidebar--left {
    order: 2;
  }

  .antique-content-panel {
    order: 1;
  }

  .antique-sidebar--right {
    order: 3;
  }

  .antique-bottom-regions {
    grid-template-columns: minmax(0, 1fr);
  }

  .antique-footer__inner,
  .antique-footer__inner.has-contact {
    min-height: 0;
    padding: 1.25rem 1rem 3.25rem;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
    align-items: start;
  }

  .antique-footer__contact,
  .antique-footer__modules,
  .antique-footer__meta {
    width: 100%;
    grid-column: 1;
  }

  .antique-footer__meta {
    align-self: end;
  }

  #phocagallery .pg-msnr-container,
  #phocagallery .pg-category-items-box,
  #phocagallery .pg-categories-items-box {
    margin-block-start: 1.1rem !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  #phocagallery.pg-detail-item-box {
    min-height: 0;
  }
}

@media (max-width: 27rem) {
  .com-phocagallery .antique-content-panel,
  .option-com_phocagallery .antique-content-panel {
    padding: 0.8rem;
  }

  #phocagallery .pg-msnr-container,
  #phocagallery .pg-category-items-box,
  #phocagallery .pg-categories-items-box {
    gap: 0.7rem;
  }

  #phocagallery .pg-item-box,
  #phocagallery .pg-category-box {
    padding: 0.3rem !important;
  }

  #phocagallery .pg-detail-item-button-box,
  #phocagallery .pg-detail-nav-box {
    flex-wrap: wrap;
  }
}

/*
 * Desktop parity layer
 *
 * The legacy Gantry/Fresco site rendered a 1,180px visible canvas inside its
 * 1,200px grid, used 13px PT Sans body copy, and relied on 20px module
 * surrounds. These rules reproduce those measured dimensions while the
 * responsive rules above retain the safer stacked phone layout.
 */
@media (min-width: 48rem) {
  .antique-navigation {
    background-color: #3b3b3b;
  }

  .antique-navigation__inner {
    padding-inline: 0;
  }

  .antique-primary-navigation .mod-menu > li {
    margin-block-start: 10px;
    align-self: flex-start;
  }

  .antique-primary-navigation .mod-menu > li > a,
  .antique-primary-navigation .mod-menu > li > button,
  .antique-primary-navigation .mod-menu > li > span {
    min-height: 50px;
    padding: 10px 20px;
    font-size: 1.3em;
    line-height: 1em;
  }

  .antique-nav-kicker {
    font-size: 10px;
    letter-spacing: 0.1em;
    line-height: 0.9em;
  }

  .antique-primary-navigation .mod-menu > li.current > a,
  .antique-primary-navigation .mod-menu > li.active > a,
  .antique-primary-navigation .mod-menu > li > a[aria-current="page"] {
    color: #fff;
    background-color: transparent;
    background-image:
      url("../images/community-b/menu-shadow.png"),
      url("../images/community-b/menu-gradient.png");
    background-position: 0 0, 0 100%;
    background-repeat: repeat-x;
    box-shadow: none;
  }

  .antique-primary-navigation .mod-menu > li > a:hover,
  .antique-primary-navigation .mod-menu > li > a:focus-visible {
    color: #fff;
    background-color: var(--antique-accent-deep);
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.3);
  }

  .antique-brand {
    min-height: 113px;
    padding: 20px 10px;
  }

  .antique-hero-region {
    margin-block-start: 15px;
    margin-block-end: 30px;
  }

  .antique-main-layout,
  .antique-bottom-regions {
    margin-block-end: 15px;
  }

  .antique-header + .antique-main-layout {
    margin-block-start: 15px;
  }

  .antique-hero {
    height: 355px;
    min-height: 355px;
    grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  }

  .antique-hero__copy {
    width: min(500px, 100%);
    padding: 20px;
    font-size: 1.2em;
    line-height: 1.6em;
  }

  .antique-hero__media,
  .antique-hero__media img {
    height: 348px;
    min-height: 348px;
  }

  .antique-hero__media img {
    border-radius: 0 var(--antique-radius) var(--antique-radius) 0;
    object-fit: fill;
  }

  .antique-content-panel,
  .antique-sidebar > .moduletable,
  .antique-sidebar > .card,
  .antique-bottom-region > .card {
    text-shadow: 1px 1px 1px rgba(225, 225, 225, 0.9);
  }

  .antique-content-panel {
    padding: 20px;
  }

  .antique-content-panel .page-header {
    margin: 0 0 14px;
  }

  .antique-content-panel .page-header h1,
  .antique-content-panel .page-header h2 {
    margin: 0 0 0 -20px;
    padding: 12px 20px;
    color: var(--antique-accent);
    border-radius: 0 3px 3px 0;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-size: 32.5px;
    line-height: 35.75px;
  }

  .antique-main-top {
    margin: -20px;
    margin-block-end: 25px;
  }

  .antique-sales-header {
    min-height: 80px;
    padding-block-start: 20px;
  }

  body.antique-site .antique-sales-header h1,
  body.antique-site .antique-sales-header h2 {
    padding: 12px 20px;
    color: #505050;
    font-size: 22.1px;
    line-height: 24.31px;
  }

  .antique-content-panel p {
    margin-block: 0 15px;
  }

  .antique-content-panel .nomargintop {
    margin-block-start: 0 !important;
  }

  .antique-content-panel .nomarginbottom {
    margin-block-end: 0 !important;
  }

  .antique-content-panel .smallmarginbottom {
    margin-block-end: 5px !important;
  }

  .antique-content-panel table[width="700"] {
    width: 700px;
    max-width: 100%;
    line-height: 16.9px;
  }

  .antique-content-panel table[width="700"] td {
    padding: 30px;
    border-block-end: 0;
  }

  .antique-content-panel table[width="700"] td p {
    margin: 0;
  }

  .antique-content-panel table[width="700"] td h4 {
    margin: 15px 0 0;
    font-size: 15.6px;
    font-weight: 700;
    line-height: 17.16px;
  }

  .antique-content-panel table[width="700"] a {
    text-decoration: none;
  }

  .antique-services {
    height: 360px;
    font-size: 13px;
    line-height: 1.7;
  }

  .antique-services > .antique-section-label {
    margin-block-start: 20px;
  }

  .antique-services .antique-section-label,
  .antique-services__header h2,
  .antique-services > header h2 {
    padding: 12px 20px;
    font-size: 22.1px;
    line-height: 24.31px;
  }

  .antique-services__items {
    margin-block-start: 25px;
  }

  .antique-services li > a,
  .antique-services details > summary,
  .antique-services__all {
    padding: 6px 20px 7px;
    color: var(--antique-ink);
    font-size: 14.3px;
    line-height: 14.3px;
  }

  body.antique-site .antique-services__all {
    color: var(--antique-ink);
  }

  body.antique-site .antique-services__all:hover,
  body.antique-site .antique-services__all:focus-visible {
    color: #fff;
  }

  .antique-services li > a::after,
  .antique-services details > summary::after,
  .antique-services__all::after {
    inset-inline-end: 20px;
  }

  .antique-footer__inner {
    min-height: 84px;
    height: 84px;
    padding: 0;
  }

  .itemid-101 .antique-footer__inner.has-contact {
    min-height: 266px;
    height: 266px;
    padding: 35px 10px 3px;
  }

  body.antique-site .antique-footer-contact > h2 {
    margin-block-end: 15px;
    padding-block-end: 7px;
    background-image: url("../images/community-b/grid-12-title4.png");
    background-position: 20px 100%;
    background-repeat: no-repeat;
    border-block-end: 0;
    font-size: 22.1px;
    line-height: 24.31px;
  }

  body.antique-site .antique-footer-contact h4 {
    margin: 15px 0 0;
    padding: 0;
    background: none;
    border-block-end: 0;
    font-size: 15.6px;
    line-height: 17.16px;
  }

  .antique-footer-contact .rt-floatleft {
    margin-block-start: 15px;
  }

  body.antique-site .antique-footer a {
    color: #bcfeff;
  }

  .antique-footer__meta {
    font-size: 13px;
  }

  .com-phocagallery .antique-content-panel,
  .option-com_phocagallery .antique-content-panel {
    padding: 20px;
  }
}

@media (min-width: 77rem) {
  .antique-content-panel {
    min-height: 0;
  }

  body.itemid-101 .antique-main-layout {
    margin-block-end: 14px;
  }

  body.itemid-101 .antique-content-panel {
    min-height: 1227px;
  }

  body.itemid-115 .antique-content-panel {
    min-height: 310px;
  }

  body.itemid-116 .antique-content-panel {
    min-height: 428px;
  }

  body.itemid-117 .antique-content-panel {
    min-height: 174px;
  }

  body.itemid-118 .antique-content-panel {
    min-height: 396px;
  }

  body.itemid-101.has-sidebar-right .antique-main-layout {
    grid-template-columns: 880px 276px;
    gap: 20px;
  }

  #phocagallery.pg-category-view {
    margin-block-end: 0;
  }

  #phocagallery.pg-category-view::before {
    box-sizing: border-box;
    height: 25px;
    min-height: 25px;
    margin-inline: -10px;
    padding: 0 25px 0 15px;
    color: #999;
    border-block-end: 1px solid #ccc;
    font-size: 13px;
    font-style: italic;
    line-height: 22.1px;
  }

  #phocagallery .pg-msnr-container,
  #phocagallery .pg-category-items-box,
  #phocagallery .pg-categories-items-box {
    width: auto !important;
    height: auto !important;
    margin: 15px -10px 0 !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 !important;
  }

  #phocagallery .pg-item-box,
  #phocagallery .pg-category-box {
    width: 206px !important;
    max-width: 206px !important;
    height: 177.09375px !important;
    margin: 30px auto 20px !important;
    padding: 8px 8px 12px !important;
    background: #fafafa;
    border: 0;
    border-radius: 3px 3px 12px 12px;
  }

  #phocagallery .pg-item-box-image,
  #phocagallery .pg-category-box-image {
    width: 190px !important;
    height: 150px !important;
    border: 0;
    background: transparent;
  }

  #phocagallery .pg-item-box-image img,
  #phocagallery .pg-category-box-image img,
  #phocagallery img.pg-image {
    width: 190px !important;
    height: 150px !important;
    aspect-ratio: auto;
    object-fit: cover;
  }

  #phocagallery .pg-cv-paginaton {
    display: none;
  }

  #phocagallery.pg-category-view > form > .pagination.pagination-centered {
    position: relative;
    box-sizing: border-box;
    height: 58.09375px;
    margin: 0 -25px;
    padding: 15px 25px;
  }

  #phocagallery.pg-category-view
    > form
    > .pagination.pagination-centered
    > .pagination.pagination-centered,
  #phocagallery .pagination__wrapper,
  #phocagallery .pagination__wrapper > ul.pagination {
    width: 100%;
    height: 28.09375px;
    margin: 0 !important;
    padding: 0;
  }

  #phocagallery .pagination__wrapper > ul.pagination {
    position: relative;
    display: flex;
    gap: 0;
    align-items: center;
    justify-content: center;
    line-height: 28.09375px;
  }

  #phocagallery .pagination__wrapper > ul.pagination > li:first-child,
  #phocagallery .pagination__wrapper > ul.pagination > li:last-child,
  #phocagallery .pagination__wrapper > ul.pagination > li:nth-child(2).disabled,
  #phocagallery
    .pagination__wrapper
    > ul.pagination
    > li:nth-last-child(2).disabled {
    display: none;
  }

  #phocagallery .pagination__wrapper .page-link {
    min-width: 0;
    min-height: 0;
    padding: 0 5px;
    color: var(--antique-accent);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 15.6px;
    line-height: 28.09375px;
  }

  #phocagallery
    .pagination__wrapper
    > ul.pagination
    > li:nth-child(2):not(.disabled),
  #phocagallery
    .pagination__wrapper
    > ul.pagination
    > li:nth-last-child(2):not(.disabled) {
    position: absolute;
    inset-block-start: 0;
  }

  #phocagallery
    .pagination__wrapper
    > ul.pagination
    > li:nth-child(2):not(.disabled) {
    inset-inline-start: 0;
  }

  #phocagallery
    .pagination__wrapper
    > ul.pagination
    > li:nth-last-child(2):not(.disabled) {
    inset-inline-end: 0;
  }

  #phocagallery
    .pagination__wrapper
    > ul.pagination
    > li:nth-child(2):not(.disabled)
    .page-link,
  #phocagallery
    .pagination__wrapper
    > ul.pagination
    > li:nth-last-child(2):not(.disabled)
    .page-link {
    font-size: 0;
  }

  #phocagallery
    .pagination__wrapper
    > ul.pagination
    > li:nth-child(2):not(.disabled)
    .page-link::before {
    content: "Prev";
  }

  #phocagallery
    .pagination__wrapper
    > ul.pagination
    > li:nth-last-child(2):not(.disabled)
    .page-link::before {
    content: "Next";
  }

  #phocagallery
    .pagination__wrapper
    > ul.pagination
    > li:nth-child(2):not(.disabled)
    .page-link::before,
  #phocagallery
    .pagination__wrapper
    > ul.pagination
    > li:nth-last-child(2):not(.disabled)
    .page-link::before {
    font-size: 16.9px;
    line-height: 22.1px;
  }

  #phocagallery.pg-detail-item-box {
    min-height: 0;
    margin-block-end: 0;
    font-size: 13px;
    line-height: 22.1px;
  }

  #phocagallery .pg-detail-top-box-back-title {
    height: 22.09375px;
    margin: 0 0 15px;
  }

  #phocaGalleryImageBox {
    width: 683px !important;
  }

  #phocagallery .pg-detail-item-image-box {
    height: 527.09375px !important;
    align-items: flex-start;
  }

  #phocagallery .pg-detail-item-image-box img {
    box-sizing: content-box;
    width: 667px !important;
    max-width: none !important;
    height: 500px !important;
    padding: 8px 8px 12px;
    background: #fff;
    border: 0;
    border-radius: 3px 3px 12px 12px;
  }

  #phocagallery .antique-detail-meta {
    margin-block-start: 25px;
  }

  #phocagallery .antique-detail-meta p {
    margin: 0;
  }

  #phocagallery .antique-detail-meta p:nth-child(2) {
    padding: 3px 3px 3px 0;
  }

  #phocagallery .pg-detail-nav-box {
    position: relative;
    display: block;
    box-sizing: border-box;
    height: 30px;
    margin: 0 -25px !important;
    padding: 15px 25px;
  }

  #phocagallery .pg-detail-nav-box .ph-left,
  #phocagallery .pg-detail-nav-box .ph-right {
    position: absolute;
    inset-block-start: 15px;
  }

  #phocagallery .pg-detail-nav-box .ph-left {
    inset-inline-start: 25px;
  }

  #phocagallery .pg-detail-nav-box .ph-right {
    inset-inline-end: 25px;
  }

  #phocagallery .pg-detail-nav-box svg {
    display: none;
  }

  #phocagallery .pg-detail-nav-box a,
  #phocagallery .pg-detail-nav-box .btn {
    font-size: 16.9px;
    line-height: 22.1px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
