/* Apply antialiasing to all typographic elements */
body,
h1, h2, h3, h4, h5, h6,
p, a, li, span, div,
.wp-block-post-title,
.wp-block-heading,
.wp-block-paragraph,
.wp-block-navigation,
.wp-block-button,
.wp-block-quote,
.wp-block-site-title,
input[type="submit"]  {
  -webkit-font-smoothing: antialiased!important;
  -moz-osx-font-smoothing: grayscale!important;
}

.copyright {
  gap: 0.5rem!important;
}
.no-decoration a {
  text-decoration: none!important;
}
.alchemy-review, .alchemy-review div {
  width: 100%;
  max-width: 686px;
  text-align: center;
}
.alchemy-review p {
  width: 100%;
  max-width: 480px;
}

.ap-footer-cols {
  gap: 1.25rem;
  max-width: 480px!important;
}
.ap-footer-cols div {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ap-footer-cols p {
  margin: 0;
}
.ap-footer-cols a {
  text-decoration: none;
}
.ap-footer-cols a:hover {
  text-decoration: underline;
}

/* Blog post styles */
.ap-blog-post h2 {
  text-align: center;
}
time {
  font-style: italic;
}
.ap-posts-list ul li:last-of-type div {
  border-bottom: none!important;
}

.restoring-period-building-banner {
  width: 100%;
  padding: 1rem 1.25rem;
}
.restoring-stack {
  width: 100%;
}
.request-quote-banner a {
    background-color: var(--wp--preset--color--ap-medium-green);
    padding: 8px 16px;
    font-family: 'Baskerville', serif;
    color: var(--wp--preset--color--ap-off-white);
    text-decoration: none;
    font-size: clamp(16px, 2vw, 20px)!important;
}
.request-quote-banner a:hover {
    background-color: var(--wp--preset--color--ap-black-green);
}
@media screen and (max-width: 656px) {
  .restoring-period-building-banner {
    flex-direction: column;
    gap: 0.75rem;
  }
  .restoring-period-building-banner div {
    gap: 1rem;
  }
  .restoring-period-building-banner img {
    height: 80px!important;
    width: auto!important;
  }
  .restoring-period-building-banner a {
    display: block;
    margin-bottom: 8px;
  }
}

/* Form styles */
.wpcf7 {
  background-color: #F2EEE5;
  width: 100%;
  box-sizing: border-box;
  padding: 1.5rem 2rem;
  border: 1px solid #C1BEB7;

}
.wpcf7 p label {
  display: flex!important;
}
.wpcf7 label {
    font-size: 1.25rem;
    color: #485059;
    font-family: "Caslon Pro";
    font-style: italic;
    display: flex;
    justify-content: space-between;
}
.wcpf7 label span {
  width: calc(100% - 160px);
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea
{
    background-color: #F2EEE5;
    border: none;
    border-bottom: 1px solid var(--wp--preset--color--ap-subtle-grey);;
    color: #000;
    width: 100%;
    font-size: 1rem;
    padding: 8px 0;
    font-family: sans-serif;
}
.wpcf7-form-control-wrap {
  width: calc(100% - 160px);
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
    border-color: #333638; /* Example of a border color change */
    box-shadow: 0 0 5px rgba(31, 31, 31, 0.2); /* Example of a subtle shadow */
    outline: none; /* Removes the default outline */
    background-color: #efe8d8; /* Optional: light background color change */
}
.wpcf7 input[type="submit"] {
    padding: 12px 20px;
    background-color: var(--wp--preset--color--ap-medium-green);
    color: var(--wp--preset--color--ap-off-white);
    font-size: 1.25rem;
    cursor: pointer;
    border: none;
    outline: none;
    font-family: 'Calson Pro', serif;
    float: right;
    margin-top: 8px;
    font-weight: 400;
}
.wpcf7 input[type="submit"]:hover {
    background-color: var(--wp--preset--color--ap-black-green);
    outline: none; /* Removes the default outline */
}
.wpcf7-list-item {
    margin: 0 0 0 0 !important;
    padding: 16px 0;
}
.wpcf7-list-item-label {
    margin-right: 8px;
    font-weight: 600;
    color: #242628;
}
.wpcf7-not-valid-tip {
  margin-top: 8px;
    font-size: clamp(16px, 2vw, 20px)!important;
}
.wpcf7-response-output {
  font-family: "Calson Pro", serif!important;
  text-align: center;
  border: none!important;
}
@media screen and (max-width: 660px) {
  .wpcf7 p label {
    flex-direction: column;
  }
  .wpcf7-form-control-wrap {
    width: 100%;
  }
  .ap-footer-cols {
    gap: 0!important;
  }
}
/* Services */
.w100 {
  width: 100%;
}
.padded-gallery > div > figure {
  padding: 8px;
}
.padded-gallery img {
  width: 100%;
  height: 100%;
}
.learn-more a {
    background-color: var(--wp--preset--color--ap-medium-green);
    padding: 8px 20px;
    font-family: 'Baskerville', serif;
    color: var(--wp--preset--color--ap-off-white);
    text-decoration: none;
    font-size: clamp(16px, 2vw, 20px);
    margin: auto;
    display: block;
    width: fit-content;
    text-align: center;
}
.learn-more a:hover {
    background-color: var(--wp--preset--color--ap-black-green);
}
.clear-button-link a {
    padding: 8px 16px;
    font-family: 'Baskerville', serif;
    border: 1px solid #9D978E;
    text-decoration: none!important;
    font-size: clamp(16px, 2vw, 20px);
    margin: auto;
    display: block;
    width: fit-content;
}
.clear-button-link a:hover {
  background-color: var(--wp--preset--color--ap-footer-cream);
}
.services-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.hide-on-desktop img {
  width: 100%;
}
.square-aspect {
  aspect-ratio: 1 / 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-services-group a {
  text-decoration: none!important;
}
@media  screen and (max-width: 781px) {
  .hide-on-mobile {
    display: none;
  }
  .services-stack {
    gap: 0rem;
  }
}
@media screen and (min-width: 780px) {
  .hide-on-desktop {
    display: none;
  }
}
/* Home Hero Section */
.home-hero-cont {
  box-sizing: border-box;
  height: calc(100vh - 122px - 32px);
  height: calc(100dvh - 122px - 32px);
  margin-left: 16px;
  margin-right: 16px;
  width: calc(100% - 32px)!important;
  background-image: url(./images/alchemy-plaster-edinburgh-ceiling-rose-georgian.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  display: flex!important;
  align-items: center;
}
@media screen and (max-width: 651px) {
  .home-hero-cont {
    height: calc(100vh - 73px - 32px);
    height: calc(100dvh - 73px - 32px);

  }
}
.home-g1 {
  width: calc(100% - 48px);
  height: calc(100% - 48px);
  transform: translateX(24px);
  position: relative;
  align-items: center;
  display: flex!important;
  margin: 16px;
}
.home-g2 {
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  transform: translateX(16px);
  position: relative;
  align-items: center;
  display: flex!important;
  margin: 16px;
  justify-content: center;
}
.request-quote-home {
  position: absolute;
  bottom: 40px;
}
.request-quote-home a {
  border: 1px solid #ABABAB;
  padding: 12px 26px 10px 26px;
  font-size: 1.2rem;
  color: #EEF3EC;
  text-decoration: none!important;
}
.request-quote-home a:hover { 
  background-color: #ffffff15;
}