@font-face {
  font-family: "Apple Garamond";
  src: url("fonts/AppleGaramond.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Apple Garamond";
  src: url("fonts/AppleGaramond-Italic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Apple Garamond";
  src: url("fonts/AppleGaramond-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Apple Garamond";
  src: url("fonts/AppleGaramond-BoldItalic.ttf") format("truetype");
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: "Apple Garamond";
  src: url("fonts/AppleGaramond-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Apple Garamond";
  src: url("fonts/AppleGaramond-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Apple Garamond", Garamond, Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
  color: #ffffff;
  background: #000000;
}

.layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  position: relative;
}

/* HEADER */
header {
  position: absolute;
  top: 20px;
  right: 20px;
}

header a {
  text-decoration: none;
  color: #ffffff;
  font-size: 18px;
  letter-spacing: 0.03em;
}

header a:hover {
  color: #FF0000;
}

/* LOGO */
.logo {
  display: flex;
  justify-content: center;
  margin: 20px 0 40px;
}

.logo-text {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  letter-spacing: 0.03em;
  color: #ffffff;
  filter: url(#smoke);
  display: inline-block;
  transform: scaleY(1.6);
  transform-origin: center;
  text-decoration: none;
}

/* SHARED: exhibition entry styles (used on both index and individual pages) */
.exhibitions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.exhibition,
.info {
  text-align: center;
  line-height: 1;
  text-decoration: none;
  color: #ffffff;
  margin-bottom: 0;
}

.info {
  margin-bottom: 16px;
}

.exhibition:hover .artist,
.exhibition:hover .title,
.exhibition:hover .dates {
  color: #FF0000;
}

.exhibition .artist,
.info .artist {
  display: block;
  margin-bottom: 2px;
}

.exhibition .title,
.info .title {
  display: block;
  font-style: italic;
  margin-bottom: 2px;
}

.exhibition .dates,
.info .dates {
  display: block;
  margin-bottom: 2px;
}

/* INDIVIDUAL PAGE: links block */
.links {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.links a {
  text-decoration: none;
  color: #ffffff;
}

.links a:hover {
  color: #FF0000;
}

/* ADDRESS: street name not italic */
.address .title {
  font-style: normal;
}

.info .photo-credit {
  display: block;
  color: #ffffff;
  margin-top: 2px;
}

/* IMAGES */
.images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.images img {
  width: 840px;
  max-width: 100%;
  height: auto;
  display: block;
}

.img-placeholder {
  width: 840px;
  max-width: 100%;
  height: 280px;
  background: #111;
  display: block;
}

/* CONTACT PAGE */
.contact-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.contact-block .email {
  display: inline-block;
  text-decoration: none;
  color: #ffffff;
}


/* CONSTANT CONTACT FORM */
.ctct-inline-form {
  max-width: 400px;
  width: 100%;
}

.ctct-form-defaults,
.ctct-form-custom,
.ctct-form-label,
.ctct-form-element,
.ctct-form-button,
.ctct-gdpr-text,
.ctct-form-footer,
.ctct-form-header,
.ctct-form-text,
.ctct-form-errorMessage {
  font-family: "Apple Garamond", Garamond, Georgia, serif !important;
}

.ctct-form-defaults {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

.ctct-form-field {
  margin-bottom: 6px !important;
}

.ctct-form-label {
  display: none !important;
}

.ctct-form-element {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  height: auto !important;
}

.ctct-form-button {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

.ctct-form-footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#gdpr_text {
  display: none !important;
}