/*
Theme Name: Limepage 2026
Theme URI: https://www.limepage.com.hk/
Author: Limepage
Author URI: https://www.limepage.com.hk/
Description: Standalone public theme for Limepage. Five official pages, an email-only enquiry form, legacy URL redirects, and a self-contained SEO fallback.
Version: 2026.11.27
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: limepage-2026
Tags: blog, full-width-template, translation-ready
*/

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
  --lp-paper: #f4f1ea;
  --lp-primary: #012639;
  --lp-accent: #e2ff65;
  --lp-muted: #3a5360;
  --lp-line: rgba(1, 38, 57, 0.14);
  --lp-soft: #f7f5ef;
  --lp-case-bg: #e8e4db;
  --lp-max: 1160px;
  --lp-pad: clamp(1.25rem, 5vw, 5.5rem);
  --lp-sans: "Noto Sans CJK TC", "Noto Sans TC", sans-serif;
  --lp-serif: "Noto Serif CJK TC", "Noto Serif TC", serif;
}

/* ==========================================================================
   Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  background: var(--lp-paper);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--lp-paper);
  color: var(--lp-primary);
  font-family: var(--lp-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body > .lp-main,
.lp-main {
  flex: 1 0 auto;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
.lp-serif {
  font-family: var(--lp-serif);
  font-weight: 600;
  color: var(--lp-primary);
  letter-spacing: 0;
}

p {
  margin: 0 0 1rem;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--lp-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--lp-primary);
}

:focus-visible {
  outline: 2px solid var(--lp-primary);
  outline-offset: 2px;
}

/* Skip link stays off-screen until it receives focus. */
.skip-link {
  position: fixed;
  left: -9999px;
  top: 1rem;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  background: var(--lp-primary);
  color: #f7f4ee;
  font-family: var(--lp-sans);
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
}

.skip-link:focus,
.skip-link:focus-visible {
  left: 1rem;
  color: #f7f4ee;
  outline: 2px solid var(--lp-primary);
  outline-offset: 2px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: static !important;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* ==========================================================================
   Header
   ========================================================================== */

.lp-site-header {
  position: relative;
  z-index: 60;
  width: 100%;
  background: var(--lp-paper);
  border-bottom: 1px solid var(--lp-line);
}

.lp-site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--lp-max);
  min-height: 4.75rem;
  margin: 0 auto;
  padding: 0.85rem var(--lp-pad);
}

.lp-logo {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  line-height: 0;
  text-decoration: none;
}

.lp-logo img {
  display: block;
  width: auto;
  height: 2.35rem;
}

.lp-site-footer .lp-logo img {
  height: 2.15rem;
}

.lp-header-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.lp-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--lp-sans);
  font-size: 14px;
  line-height: 1.4;
}

.lp-nav li {
  margin: 0;
  padding: 0;
}

.lp-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0.15rem 0;
  color: var(--lp-primary);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.lp-nav a:hover {
  color: var(--lp-primary);
  border-bottom-color: rgba(1, 38, 57, 0.35);
}

.lp-nav a[aria-current="page"] {
  border-bottom-color: var(--lp-primary);
}

.lp-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  padding: 0.35rem;
  background: none;
  border: 0;
  color: var(--lp-primary);
  cursor: pointer;
}

.lp-nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.lp-site-header.is-open .lp-nav-toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.lp-site-header.is-open .lp-nav-toggle span:nth-child(2) {
  opacity: 0;
}

.lp-site-header.is-open .lp-nav-toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (max-width: 767px) {
  .lp-site-header__inner {
    min-height: 4rem;
  }

  .lp-nav-toggle {
    display: inline-flex;
  }

  .lp-header-nav {
    gap: 0.5rem;
  }

  .lp-header-nav .lp-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    margin: 0;
    padding: 0.75rem var(--lp-pad) 1.25rem;
    background: var(--lp-paper);
    border-bottom: 1px solid var(--lp-line);
    z-index: 50;
  }

  .lp-site-header.is-open .lp-header-nav .lp-nav {
    display: flex;
  }

  .lp-header-nav .lp-nav a {
    min-height: 44px;
    padding: 0.35rem 0;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.lp-site-footer {
  width: 100%;
  margin-top: auto;
  background: var(--lp-paper);
  border-top: 1px solid var(--lp-line);
}

.lp-site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--lp-max);
  min-height: 5.25rem;
  margin: 0 auto;
  padding: 1.25rem var(--lp-pad);
}

.lp-footer-nav .lp-nav {
  gap: 1.5rem;
}

.lp-footer-email {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  font-family: var(--lp-sans);
  font-size: 14px;
  line-height: 1.4;
  color: var(--lp-primary);
  text-decoration: none;
  white-space: nowrap;
}

.lp-footer-email:hover {
  color: var(--lp-primary);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 800px) {
  .lp-site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-top: 1.5rem;
    padding-bottom: 1.75rem;
  }
}

/* ==========================================================================
   Page shell and typography
   ========================================================================== */

.lp-2026 {
  background: var(--lp-paper);
  color: var(--lp-primary);
  font-family: var(--lp-sans);
  font-size: 17px;
  line-height: 1.7;
}

.lp-2026 a {
  color: var(--lp-primary);
}

.lp-wrap {
  max-width: var(--lp-max);
  margin: 0 auto;
  padding-left: var(--lp-pad);
  padding-right: var(--lp-pad);
}

.lp-page {
  padding-top: clamp(3.25rem, 7vw, 5.25rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}

.lp-page--home {
  padding-top: clamp(3.5rem, 8vw, 5.75rem);
}

.lp-tick {
  display: block;
  width: 1.75rem;
  height: 3px;
  margin: 0 0 1.35rem;
  background: var(--lp-accent);
  border: 0;
}

.lp-2026 h1 {
  max-width: 18em;
  margin: 0 0 1.25rem;
  font-family: var(--lp-serif);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 600;
  line-height: 1.25;
}

.lp-2026 h2 {
  margin: 0 0 0.85rem;
  font-family: var(--lp-serif);
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  font-weight: 600;
  line-height: 1.3;
}

.lp-2026 h3 {
  font-family: var(--lp-serif);
  font-weight: 600;
}

.lp-lead {
  max-width: 36rem;
  margin: 0 0 2rem;
  font-size: 17px;
  line-height: 1.7;
  color: var(--lp-primary);
}

.lp-page--home .lp-lead {
  max-width: 38rem;
}

.lp-page--about .lp-lead {
  max-width: 42rem;
}

.lp-page--contact .lp-lead {
  max-width: 40rem;
}

.lp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.9rem;
  margin: 0 0 1rem;
}

/* ==========================================================================
   Buttons (colour locks are intentional)
   ========================================================================== */

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--lp-primary);
  border-radius: 3px;
  background: transparent;
  color: var(--lp-primary);
  font-family: var(--lp-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: opacity 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.lp-btn:hover {
  opacity: 0.9;
}

.lp-2026 .lp-btn,
.lp-2026 .lp-btn:visited,
body .lp-2026 a.lp-btn {
  text-decoration: none !important;
  box-shadow: none !important;
  filter: none !important;
}

.lp-btn--filled,
.lp-2026 .lp-btn--filled,
.lp-2026 a.lp-btn--filled,
body a.lp-btn--filled,
a.lp-btn.lp-btn--filled {
  background: #012639 !important;
  background-color: #012639 !important;
  color: #f7f4ee !important;
  border: 1px solid #012639 !important;
}

.lp-btn--filled:hover,
.lp-2026 a.lp-btn--filled:hover,
body a.lp-btn--filled:hover {
  color: #f7f4ee !important;
}

.lp-btn--outline,
.lp-2026 .lp-btn--outline,
.lp-2026 a.lp-btn--outline,
body a.lp-btn--outline,
a.lp-btn.lp-btn--outline {
  background: transparent !important;
  background-color: transparent !important;
  color: #012639 !important;
  border: 1px solid #012639 !important;
}

.lp-btn--outline:hover,
.lp-2026 a.lp-btn--outline:hover,
body a.lp-btn--outline:hover {
  background: rgba(1, 38, 57, 0.04) !important;
  background-color: rgba(1, 38, 57, 0.04) !important;
  color: #012639 !important;
}

/* ==========================================================================
   Section headings and shared components
   ========================================================================== */

.lp-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin: 0 0 1.35rem;
  text-align: left;
}

.lp-section-head h2 {
  margin: 0;
}

.lp-more {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  font-family: var(--lp-sans);
  font-size: 14px;
  line-height: 1.4;
  color: var(--lp-primary);
  text-decoration: none;
  white-space: nowrap;
}

.lp-more:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.lp-rule {
  margin: 3.25rem 0;
  border: 0;
  border-top: 1px solid var(--lp-line);
}

.lp-caption {
  margin: 0.7rem 0 0.15rem;
  font-family: var(--lp-sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--lp-muted);
}

.lp-case-title,
.lp-2026 .lp-case-title,
h2.lp-case-title,
h3.lp-case-title {
  margin: 0;
  font-family: var(--lp-serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--lp-primary);
}

.lp-case-media {
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--lp-case-bg);
}

.lp-case-media img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.lp-prose {
  max-width: 36rem;
  margin: 0 0 1.5rem;
  font-size: 17px;
  line-height: 1.7;
}

/* ==========================================================================
   Homepage
   ========================================================================== */

.lp-featured-section {
  margin-top: clamp(3.5rem, 9vw, 6.5rem);
}

.lp-featured {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.75rem 1.5rem;
}

.lp-featured__tin {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

.lp-featured__side {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lp-featured__tin .lp-case-media {
  flex: 1 1 auto;
  min-height: 280px;
  overflow: hidden;
}

.lp-featured__tin .lp-case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transform: scale(1.25);
  transform-origin: center 62%;
}

.lp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3.5rem;
}

.lp-split--lined {
  margin-top: 3.5rem;
  padding-top: 3.25rem;
  border-top: 1px solid var(--lp-line);
}

.lp-split--lined > :last-child {
  margin-left: -1.75rem;
  padding-left: 3.5rem;
  border-left: 1px solid var(--lp-line);
}

.lp-split .lp-lead,
.lp-split .lp-prose {
  max-width: 28rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 860px) {
  .lp-featured {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .lp-featured__tin,
  .lp-featured__side {
    grid-column: auto;
    grid-row: auto;
  }

  .lp-featured__tin .lp-case-media {
    min-height: 0;
  }

  .lp-featured__tin .lp-case-media img {
    height: auto;
    transform: none;
    object-position: center top;
  }

  .lp-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .lp-split--lined > :last-child {
    margin-left: 0;
    padding-top: 2.5rem;
    padding-left: 0;
    border-top: 1px solid var(--lp-line);
    border-left: 0;
  }
}

/* ==========================================================================
   Services
   ========================================================================== */

.lp-service {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem 3rem;
  align-items: center;
  padding: 3rem 0;
  border-top: 1px solid var(--lp-line);
}

.lp-service figure {
  margin: 0;
}

.lp-service .lp-prose {
  max-width: 28rem;
  margin-top: 0.15rem;
}

@media (max-width: 860px) {
  .lp-service {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.5rem;
  }
}

/* ==========================================================================
   Works
   ========================================================================== */

.lp-work {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2rem 2.5rem;
  align-items: start;
  padding: 2.25rem 0;
  border-top: 1px solid var(--lp-line);
}

.lp-work .lp-caption {
  margin-top: 0;
}

.lp-work > div:last-child {
  padding-top: 0.25rem;
}

@media (max-width: 860px) {
  .lp-work {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1rem;
  }
}

/* ==========================================================================
   Email line
   ========================================================================== */

.lp-email-line {
  margin: 1.75rem 0 0;
  font-size: 17px;
  line-height: 1.7;
}

.lp-email-line a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: var(--lp-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(1, 38, 57, 0.35);
}

.lp-email-line a:hover {
  border-bottom-color: var(--lp-primary);
}

/* ==========================================================================
   Contact steps
   ========================================================================== */

.lp-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 2.75rem 0 2.5rem;
  border-top: 1px solid var(--lp-line);
  border-bottom: 1px solid var(--lp-line);
}

.lp-step {
  min-width: 0;
  padding: 1.35rem 1.25rem 1.5rem 0;
  border-right: 1px solid var(--lp-line);
}

.lp-step:last-child {
  border-right: 0;
}

.lp-step__num {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  font-family: var(--lp-sans);
  font-size: 14px;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  color: var(--lp-primary);
}

.lp-step__num::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--lp-accent);
}

.lp-step h2,
.lp-step__title {
  margin: 0;
  font-family: var(--lp-serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 800px) {
  .lp-steps {
    grid-template-columns: 1fr 1fr;
  }

  .lp-step:nth-child(2n) {
    border-right: 0;
  }

  .lp-step:nth-child(1),
  .lp-step:nth-child(2) {
    border-bottom: 1px solid var(--lp-line);
  }
}

@media (max-width: 440px) {
  .lp-steps {
    grid-template-columns: 1fr;
  }

  .lp-step,
  .lp-step:nth-child(2n) {
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid var(--lp-line);
  }

  .lp-step:last-child {
    border-bottom: 0;
  }
}

/* ==========================================================================
   Enquiry form
   ========================================================================== */

.lp-form-card {
  max-width: 34rem;
  padding: 1.75rem 1.75rem 1.6rem;
  background: var(--lp-soft);
  border: 1px solid var(--lp-line);
}

.lp-form fieldset {
  min-width: 0;
  margin: 0 0 1.35rem;
  padding: 0;
  border: 0;
}

.lp-form legend,
.lp-form label,
.lp-label {
  display: block;
  margin-bottom: 0.55rem;
  font-family: var(--lp-sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--lp-primary);
}

.lp-form legend {
  padding: 0;
}

.lp-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  margin-top: 0.35rem;
}

.lp-form .lp-radios label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 24px;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  cursor: pointer;
}

.lp-radios input {
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--lp-primary);
}

.lp-form input[type="email"],
.lp-form input[type="text"],
.lp-form textarea {
  width: 100%;
  margin-bottom: 1.35rem;
  padding: 0.5rem 0;
  border: 0;
  border-bottom: 1px solid var(--lp-primary);
  border-radius: 0;
  background: transparent;
  color: var(--lp-primary);
  font-family: var(--lp-sans);
  font-size: 17px;
  line-height: 1.7;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}

.lp-form textarea {
  min-height: 4.5rem;
  resize: vertical;
}

.lp-form input::placeholder,
.lp-form textarea::placeholder {
  color: var(--lp-muted);
  opacity: 1;
}

.lp-form .lp-btn {
  margin-top: 0.4rem;
}

.lp-hp {
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  overflow: hidden !important;
}

.lp-form-success {
  max-width: 34rem;
  padding: 1.25rem 0;
  font-size: 17px;
  line-height: 1.7;
}

.lp-form-error {
  margin: 0 0 1rem;
  color: #8a1f1f;
  font-size: 14px;
  line-height: 1.5;
}

/* ==========================================================================
   Entry content, posts, archives, 404
   ========================================================================== */

.lp-entry {
  max-width: 42rem;
  font-size: 17px;
  line-height: 1.7;
}

.lp-entry > * + * {
  margin-top: 1.15rem;
}

.lp-entry h2 {
  margin-top: 2rem;
  font-size: 28px;
}

.lp-entry h3 {
  margin-top: 1.5rem;
  font-size: 22px;
}

.lp-entry ul,
.lp-entry ol {
  padding-left: 1.4rem;
}

.lp-entry li + li {
  margin-top: 0.35rem;
}

.lp-entry blockquote {
  margin: 1.5rem 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 3px solid var(--lp-accent);
  color: var(--lp-muted);
}

.lp-entry img {
  height: auto;
}

.lp-entry figcaption,
.wp-caption-text {
  margin-top: 0.5rem;
  color: var(--lp-muted);
  font-size: 13px;
  line-height: 1.5;
}

.lp-post-list {
  margin-top: 2.5rem;
  border-top: 1px solid var(--lp-line);
}

.lp-post {
  padding: 2rem 0;
  border-bottom: 1px solid var(--lp-line);
}

.lp-2026 .lp-post__title {
  margin: 0 0 0.35rem;
  font-family: var(--lp-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.35;
}

.lp-post__title a {
  text-decoration: none;
}

.lp-post__title a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.lp-post__meta {
  margin: 0 0 0.75rem;
  color: var(--lp-muted);
  font-size: 13px;
  line-height: 1.5;
}

.lp-post__excerpt {
  max-width: 42rem;
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
}

.lp-pagination {
  margin-top: 2rem;
  font-size: 15px;
  line-height: 1.5;
}

.lp-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lp-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 44px;
  padding: 0.35rem 0.75rem;
  color: var(--lp-primary);
  text-decoration: none;
  border: 1px solid var(--lp-line);
}

.lp-pagination .page-numbers.current {
  background: var(--lp-primary);
  color: #f7f4ee;
  border-color: var(--lp-primary);
}

.lp-404 {
  max-width: 40rem;
}

.lp-404__code {
  margin: 0 0 0.5rem;
  color: var(--lp-muted);
  font-family: var(--lp-serif);
  font-size: 14px;
  letter-spacing: 0.18em;
}

/* ==========================================================================
   WordPress alignment helpers
   ========================================================================== */

.alignleft {
  float: left;
  margin: 0 1.5rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignwide {
  width: min(100%, var(--lp-max));
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

.sticky,
.bypostauthor {
  position: relative;
}

.gallery-caption {
  color: var(--lp-muted);
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */

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

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