/* Warm paper background shared by the home and subpages. */
:root {
  --page-paper: #faf8f2;
  --color-10th-bg: var(--page-paper);
}

body#glink-site {
  background: var(--page-paper) url('../img/backgrounds/paper-grain-v1.svg') left top / 320px 320px repeat;
}

body#glink-site :is(.l-mainVisual, .l-section, .l-blog-main, .p-about-intro, .p-greeting-scene) {
  background: transparent;
}

/* Keep the extracted town artwork on the same background as the text. */
body#glink-site .p-about-intro .p-message-text {
  background-color: transparent;
}

body#glink-site .l-home-footer {
  --journey-footer-ink: #fff;
  box-sizing: border-box;
  align-items: center;
  border-top: 0;
  background: var(--color-blue-ink);
  color: #fff;
}

body#glink-site .l-home-footer {
  gap: 4px;
  padding-block: 20px 16px;
}

body#glink-site .l-home-footer .section-share {
  padding-block: 0 8px;
}

body#glink-site .l-home-footer .p-share-list {
  margin-top: 12px;
}

body#glink-site .l-home-footer .c-share-label {
  margin-top: 6px;
}

body#glink-site .l-home-footer :is(.c-share-label, .c-footer-nav a, small) {
  color: #fff;
}

body#glink-site .l-home-footer .section-share .title-en {
  background: #fff;
  color: var(--color-blue-ink);
}

body#glink-site .l-home-footer .c-home-footer-row {
  box-sizing: border-box;
  max-width: 1160px;
  gap: 6px;
  padding-top: 6px;
  border-top: 0;
}

body#glink-site .l-home-footer .c-home-footer-copyright {
  justify-self: center;
  color: #fff;
}

body#glink-site .l-home-footer .c-share-btn--illustrated {
  border-color: #7aabb8;
  background: #fff;
}

body#glink-site .l-home-footer .c-share-btn--illustrated:is(:hover, :focus-visible, .is-active) {
  border-color: var(--color-blue-ink);
  background: #e8f2f2;
}

body#glink-site .l-home-footer .c-footer-nav a:is(:hover, :focus-visible) {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Section actions use a filled blue surface before hover as well. */
body#glink-site :is(.c-more-link, .c-button, .c-blog-viewall .c-button, .c-blog-back .c-button, .c-business-link, .c-business-details-link, .c-service-details > summary, .c-service-company-links > a) {
  border-color: var(--color-blue-ink);
  background: var(--color-blue-ink);
  color: #fff;
}

body#glink-site :is(.c-more-link, .c-button, .c-blog-viewall .c-button, .c-blog-back .c-button, .c-business-link, .c-business-details-link, .c-service-details > summary, .c-service-company-links > a):is(:hover, :focus-visible) {
  border-color: #005f87;
  background: #005f87;
  color: #fff;
}

body#glink-site .c-company-card .c-business-panel-links > .c-business-details-link,
body#glink-site .c-service .c-service-company-links > a + a {
  border-color: var(--color-blue-ink);
  background: transparent;
  color: var(--color-blue-ink);
}

body#glink-site .c-company-card .c-business-panel-links > .c-business-details-link:is(:hover, :focus-visible),
body#glink-site .c-service .c-service-company-links > a + a:is(:hover, :focus-visible) {
  border-color: #005f87;
  background: #e5f4fa;
  color: #005f87;
}

body#glink-site .l-home-footer :is(a, button):focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 767px) {
  body#glink-site .l-home-footer {
    padding-block: 16px 14px;
  }

  body#glink-site .l-home-footer .c-home-footer-row {
    gap: 6px;
    padding-top: 6px;
  }
}
