/* Scoped to the Book Exhibits body so existing website styles stay independent. */
.aph-exhibits {
  --navy: #001d3d;
  --red: #c20405;
  --gold: #aa762e;
  --ink: #000;
  --cream: #f8f5f0;
  font:
    15px/1.7 Arial,
    Helvetica,
    sans-serif;
  color: var(--ink);
  background: #fff;
  overflow: hidden;
}
.aph-exhibits * {
  box-sizing: border-box;
}
.aph-exhibits h1,
.aph-exhibits h2,
.aph-exhibits h3,
.aph-exhibits p {
  margin: 0 0 18px;
}
.aph-exhibits h1 {
  font-size: clamp(36px, 4.2vw, 62px);
  line-height: 1.15;
  letter-spacing: -1.6px;
}
.aph-exhibits h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.23;
  letter-spacing: -0.7px;
}
.aph-exhibits h3 {
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 10px;
}
.aph-exhibits a {
  color: inherit;
  text-decoration: none;
}
.aph-exhibits button,
.aph-exhibits input,
.aph-exhibits select,
.aph-exhibits textarea {
  font: inherit;
}
.aph-exhibits img {
  max-width: 100%;
  display: block;
}
.aph-container {
  max-width: 1160px;
  margin: auto;
  padding: 0 24px;
}
.aph-section {
  padding-top: 78px;
  padding-bottom: 78px;
}
.aph-eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: bold;
  color: var(--gold);
}
.aph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  background: var(--red);
  color: white !important;
  padding: 16px 26px;
  font-size: 14px;
  font-weight: bold;
  border: 0;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
.aph-btn:hover {
  background: var(--gold);
  transform: translateY(-2px);
}
.aph-exhibits :focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}
.aph-hero {
  position: relative;
  min-height: 510px;
  padding: 100px 0;
  color: white;
  background:
    radial-gradient(ellipse at 85% 35%, #20456b, transparent 55%), var(--navy);
}
.aph-hero .aph-container {
  position: relative;
  z-index: 2;
}
.aph-hero p:not(.aph-eyebrow) {
  max-width: 550px;
}
.aph-hero h1 {
  max-width: 780px;
}
.aph-hero-books {
  position: absolute;
  width: 420px;
  right: 1%;
  bottom: 15px;
  display: flex;
  opacity: 0.3;
  transform: rotate(-8deg);
}
.aph-hero-books img {
  width: 60%;
  margin-left: -110px;
}
.aph-directory {
  background: linear-gradient(110deg, #f0f3f9, #fff2ed);
  padding: 46px 0 32px;
  text-align: center;
}
.aph-directory h2 {
    font-size: 30px;
    letter-spacing: 0;
    font-weight: 500;
}
.aph-names {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 38px;
  padding: 28px 0;
}
.aph-names span {
  font-family: Georgia, serif;
  font-size: 15px;
  line-height: 1.3;
  color: var(--navy);
  max-width: 155px;
}
.aph-names span:nth-child(2n) {
  color: var(--red);
}
.aph-small {
  font-size: 12px;
  line-height: 1.6;
  opacity: 0.8;
}
.aph-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 35px;
}
.aph-heading h2 {
  margin-bottom: 0;
}
.aph-heading p {
  margin: 10px 0 0;
}
.aph-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.aph-service {
  position: relative;
  padding-bottom: 36px;
}
.aph-service img {
  width: 100%;
  transition: transform 0.3s;
}
.aph-service:hover img {
  transform: translateY(-6px);
}
.aph-service h3 {
  font-size: 19px;
}
.aph-arrow {
  position: absolute;
  bottom: 0;
  right: 0;
  color: var(--red);
  font-size: 28px;
}
.aph-process {
    padding: 60px;
    background: radial-gradient(circle at 25% 80%, #173f66, transparent 50%), var(--navy);
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    border: solid 15px #9b2525;
}
.aph-process ol {
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}
.aph-process li {
  position: relative;
  padding-left: 55px;
  margin-bottom: 28px;
  counter-increment: step;
}
.aph-process li:last-child {
  margin-bottom: 0;
}
.aph-process li:before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  background: var(--gold);
  color: #fff;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-weight: bold;
}
.aph-process h3 {
  font-size: 18px;
}
.aph-fairs {
  padding: 65px 0;
  background: linear-gradient(var(--red) 0 270px, #fff 270px);
}
.aph-fairs > .aph-container > .aph-heading {
  color: white;
}
.aph-controls {
  display: flex;
  gap: 8px;
}
.aph-controls button {
  border: 1px solid #ddd;
  background: white;
  color: var(--navy);
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 24px;
}
.aph-controls button:disabled {
  opacity: 0.4;
  cursor: default;
}
.aph-track {
  display: flex;
  gap: 24px;
  overflow: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 20px;
  scrollbar-width: thin;
}
.aph-fair {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  background: white;
  border: 1px solid #e7e4df;
  box-shadow: 0 10px 25px #001d3d0d;
}
.aph-fair-art {
    height: 100px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
    padding: 20px;
    color: var(--navy);
}
.aph-fair-art strong {
  display: block;
  font:
    26px Georgia,
    serif;
  margin-top: 20px;
}
.aph-fair-art > span {
  color: var(--gold);
  font-weight: bold;
}
.aph-fair-art i {
  position: absolute;
  font-style: normal;
  font-size: 110px;
  right: 18px;
  bottom: -46px;
  opacity: 0.12;
}
.aph-card-content {
  padding: 26px;
}
.aph-location {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
}
.aph-card-content a,
.aph-text-link {
  font-weight: bold;
  color: var(--red) !important;
}
.aph-offer {
  background: var(--cream);
  margin-top: 55px;
  padding: 50px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 35px;
  align-items: center;
}
.aph-offer-mark {
  text-align: center;
  font-size: 45px;
  line-height: 1.05;
  color: var(--navy);
  font-weight: 900;
  transform: rotate(-7deg);
}
.aph-offer-mark span {
  color: var(--red);
  font-size: 24px;
}
.aph-center {
  text-align: center;
  max-width: 790px;
  margin: 0 auto 40px;
}
.aph-why {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 55px;
  align-items: center;
}
.aph-why > img {
  width: 100%;
}
.aph-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.aph-benefits article > span {
  display: block;
  color: var(--gold);
  font-size: 30px;
  margin-bottom: 12px;
}
.aph-global {
  padding: 80px 0;
  background: var(--navy);
  color: white;
}
.aph-global-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.aph-global-grid article {
  padding: 32px;
  border: 1px solid #ffffff35;
  display: grid;
  grid-template-columns: 55px 1fr;
  column-gap: 20px;
}
.aph-global-grid article > span {
  grid-row: span 2;
  font-size: 40px;
  color: var(--gold);
}
.aph-global-grid p {
  margin: 0;
}
.aph-global-cta {
  text-align: center;
  border-top: 1px solid #ffffff35;
  padding-top: 40px;
  margin-top: 40px;
}
.aph-global-cta h2 {
  font-size: 28px;
}
.aph-promotion article {
    flex: 0 0 calc((100% - 48px) / 3);
    scroll-snap-align: start;
    padding: 30px;
    background: var(--cream);
    border-top: 3px solid var(--gold);
}
.aph-promo-icon {
  display: block;
  font:
    36px Georgia,
    serif;
  color: var(--gold);
  margin-bottom: 20px;
}
.aph-safety {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 60px;
  padding-top: 45px;
  padding-bottom: 75px;
  align-items: center;
}
.aph-shield {
  margin: auto;
  display: grid;
  place-items: center;
  width: 185px;
  height: 205px;
  background: var(--navy);
  color: white;
  font-size: 70px;
  clip-path: polygon(50% 0, 100% 17%, 90% 70%, 50% 100%, 10% 70%, 0 17%);
}
.aph-enquiry {
  background: var(--cream);
  border-top: 5px solid var(--red);
}
.aph-enquiry form {
  max-width: 780px;
  margin: auto;
}
.aph-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.aph-enquiry label {
  display: block;
  font-weight: bold;
  margin-bottom: 20px;
}
.aph-enquiry input,
.aph-enquiry select,
.aph-enquiry textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid #c9c9c9;
  background: white;
  color: #000;
  border-radius: 0;
}
.aph-enquiry textarea {
  resize: vertical;
}
.aph-enquiry form > .aph-small {
  margin-top: 12px;
}
@media (max-width: 900px) {
  .aph-services {
    grid-template-columns: 1fr 1fr;
  }
  .aph-process {
    padding: 35px;
    gap: 35px;
  }
  .aph-fair,
  .aph-promotion article {
    flex-basis: calc((100% - 24px) / 2);
  }
  .aph-hero-books {
    opacity: 0.14;
  }
  .aph-why {
    gap: 25px;
  }
  .aph-global-grid article {
    padding: 24px;
  }
}
@media (max-width: 600px) {
  .aph-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .aph-container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .aph-hero {
    min-height: auto;
    padding: 65px 0;
  }
  .aph-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .aph-services {
    gap: 20px;
  }
  .aph-service h3 {
    font-size: 17px;
  }
  .aph-process,
  .aph-offer,
  .aph-why,
  .aph-safety,
  .aph-global-grid,
  .aph-form-grid {
    grid-template-columns: 1fr;
  }
  .aph-process {
    padding: 28px;
    gap: 35px;
  }
  .aph-process h2 {
    font-size: 28px;
  }
  .aph-fair,
  .aph-promotion article {
    flex-basis: 88%;
  }
  .aph-offer {
    padding: 28px;
  }
  .aph-offer-mark {
    font-size: 34px;
  }
  .aph-why > img {
    max-width: 290px;
    margin: auto;
  }
  .aph-benefits {
    gap: 22px;
  }
  .aph-safety {
    gap: 30px;
  }
  .aph-global {
    padding: 50px 0;
  }
  .aph-demo-header {
    flex-wrap: wrap;
  }
  .aph-demo-header nav {
    gap: 16px;
    font-size: 13px;
  }
  .aph-names {
    gap: 25px;
  }
  .aph-hero-books {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .aph-exhibits * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Integration with the supplied Americans Publishers Hub theme. */
.aph-exhibits {
  --red: #ba0608;
  --navy: #001d3d;
  scroll-margin-top: 24px;
}
.aph-exhibits h1,
.aph-exhibits h2,
.aph-exhibits h3 {
  font-family: Georgia, "Times New Roman", serif;
}
.aph-exhibits p {
  font-size: 15px !important;
  color: #000 !important;
}
.aph-exhibits .aph-hero p,
.aph-exhibits .aph-process p,
.aph-exhibits .aph-global p,
.aph-exhibits .aph-fairs > .aph-container > .aph-heading p {
  color: #fff !important;
}
.aph-exhibits p.aph-eyebrow {
  color: var(--gold) !important;
  font-size: 12px !important;
}
.aph-exhibits .aph-breadcrumb {
  font-size: 13px !important;
  margin-bottom: 25px;
}
.aph-exhibits .aph-hero-books {
    width: 360px;
    right: 5%;
    bottom: 40px;
    gap: 15px;
    opacity: .38;
    justify-content: flex-end;
    top: 25%;
}
.aph-exhibits .aph-hero-books img {
  width: 140px;
  height: 220px;
  object-fit: cover;
  margin: 0;
  box-shadow: 0 16px 30px #0005;
}
.aph-exhibits .contact h2 {
  font-size: clamp(32px, 3.5vw, 48px);
}
.aph-exhibits .contact p {
  color: #000 !important;
}
.aph-exhibits .contact-copy p {
  color: white !important;
}
.aph-exhibits .contact p.eyebrow {
  color: #fff !important;
}
.aph-exhibits .contact-panel p {
  color: #000 !important;
}
.aph-exhibits .contact label {
  font-weight: 400;
}
.aph-exhibits .contact .trap {
  display: none;
}
.aph-exhibits .contact .form-status.success {
  color: #176232 !important;
}
.aph-exhibits .contact .form-status.error {
  color: #ba0608 !important;
}
.aph-exhibits .contact .form-status:empty {
  display: none;
}
@media (min-width: 1081px) {
  #navigation {
    gap: clamp(10px, 1.1vw, 20px);
  }
  #navigation > a {
    font-size: 14px;
  }
}


/* Firefox */
.aph-exhibits .aph-track {
  scrollbar-width: thin;
  scrollbar-color: #c20405 #f3eee7;
}

/* Chrome, Edge and Safari */
.aph-exhibits .aph-track::-webkit-scrollbar {
  height: 8px;
}

.aph-exhibits .aph-track::-webkit-scrollbar-track {
  background: #f3eee7;
  border-radius: 20px;
}

.aph-exhibits .aph-track::-webkit-scrollbar-thumb {
  background: #c20405;
  border: 2px solid #f3eee7;
  border-radius: 20px;
}

.aph-exhibits .aph-track::-webkit-scrollbar-thumb:hover {
  background: #001d3d;
}

.aph-exhibits .aph-track::-webkit-scrollbar-thumb:active {
  background: #aa762e;
}

