/* Luggage Storage Tips — static rebuild of the Wix site.
   Wix uses Avenir 35 Light (body; bold text is the Light face thickened by the browser) and
   Avenir 85 Heavy (headings). Avenir is licensed, so it isn't shipped here: these faces use the
   copies built into macOS/iOS, and other devices fall back to Nunito Sans (Google Fonts). */
@font-face { font-family: "Avenir Light Local"; font-weight: 300; src: local("Avenir Light"), local("Avenir-Light"); }
@font-face { font-family: "Avenir Light Local"; font-weight: 700; src: local("Avenir Medium"), local("Avenir-Medium"); }
@font-face { font-family: "Avenir Heavy Local"; font-weight: 100 900; src: local("Avenir Heavy"), local("Avenir-Heavy"); }
:root {
  --sans: "Avenir Light Local", "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  --sans-heavy: "Avenir Heavy Local", "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "EB Garamond", Garamond, Georgia, serif;
  --nav: "Open Sans", Arial, sans-serif;
  --ink: #000;
  --link: #2573da;
  --nav-link: #194d91;
  --header-bg: #f2f2f2;
  --footer-bg: #696969;
  --line: rgba(242, 242, 242, 0.75);
  --rule: #c7c7c7;
  --max: 940px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); font-weight: 300; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* Header */
.site-header { background: var(--header-bg); height: 79px; display: flex; align-items: center; justify-content: center; }
.nav-link { font-family: var(--nav); font-size: 13px; line-height: 35px; color: var(--nav-link); text-decoration: none; }
.nav-link:hover { opacity: .7; }

/* Hero (home) */
.hero { height: 430px; background: #8b8b8b center / cover no-repeat; color: #fff; display: flex; flex-direction: column;
        align-items: center; justify-content: center; text-align: center; padding: 0 16px; }
.hero h1 { margin: 0; font-family: var(--sans-heavy); font-weight: 700; font-size: 70px; line-height: 1.2; }
.hero p { margin: 8px 0 0; font-size: 18px; line-height: 21.6px; font-weight: 300; }

/* Post lists */
.post-list { max-width: var(--max); margin: 40px auto 60px; padding: 0 16px; box-sizing: content-box; }
.post-list.blog { margin-top: 12px; }
.card { border: 1px solid var(--line); background: #fff; margin-bottom: 32px; }
.card-img img { width: 100%; aspect-ratio: 940 / 411; object-fit: cover; }
.blog .card-img img { aspect-ratio: 940 / 370; }
.card-body { padding: 38px 48px 44px; }
.meta { font-size: 12px; display: flex; gap: 6px; }
.dot { padding: 0 6px; }
.meta .dot { padding: 0; }
.card-title { margin: 32px 0 12px; font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 39.2px; }
.card-title.home { font-family: var(--sans-heavy); font-weight: 700; }
.card-title a { text-decoration: none; }
.card-title a:hover { color: var(--link); }
.excerpt { margin: 0; font-size: 16px; line-height: 24px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.author { display: flex; align-items: center; font-size: 12px; line-height: 17px; }
.avatar { width: 32px; height: 32px; margin-right: 10px; flex: none; }
.blog .card-title { margin-top: 20px; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 4px; font-size: 14px; margin-top: 24px; }
.pg { min-width: 28px; padding: 4px 6px; text-align: center; text-decoration: none; color: var(--ink); }
.pg.current { color: #bbb; }
.pg.disabled { color: #ccc; }
.pg.edge { font-size: 18px; line-height: 18px; }
a.pg:hover { color: var(--link); }

/* Single post */
.post { max-width: var(--max); margin: 56px auto 0; border: 1px solid var(--line); padding: 64px 134px 40px; }
.post > .author { font-size: 14px; }
.post h1 { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 50px; margin: 22px 0 32px; }
.post-content { font-size: 18px; line-height: 27px; overflow-wrap: break-word; }
.post-content p { margin: 0; }
.post-content .gap { height: 27px; }
.post-content h2, .post-content h3, .post-content h4 { font-family: var(--serif); font-weight: 400; margin: 0; }
.post-content h2 { font-size: 28px; line-height: 35px; }
.post-content h3 { font-size: 22px; line-height: 27px; }
.post-content h4 { font-size: 18px; line-height: 27px; }
.post-content a { color: var(--link); text-decoration: none; }
.post-content a:hover { text-decoration: underline; }
.post-content strong { font-weight: 700; }
.post-content ul, .post-content ol { margin: 0; padding-inline-start: 1.5em; }
.post-content figure { margin: 0; }
.post-content figure img { width: 100%; height: auto; }
.post-content figure img + img { margin-top: 8px; }
.post-content table { border-collapse: collapse; width: 100%; }
.post-content td, .post-content th { border: 1px solid var(--rule); padding: 8px; vertical-align: top; }

.share { display: flex; align-items: center; gap: 18px; margin-top: 40px; padding: 16px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.share a, .share button { display: inline-flex; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; }
.share svg { width: 19px; height: 19px; fill: currentColor; }
.share a:hover, .share button:hover { color: var(--link); }
.copied { font-size: 12px; }

.recent { max-width: var(--max); margin: 24px auto 60px; padding: 0 16px; box-sizing: content-box; }
.recent-head { display: flex; justify-content: space-between; align-items: baseline; }
.recent-head h2 { font-family: var(--sans); font-weight: 300; font-size: 16px; margin: 0 0 16px; }
.recent-head a { font-size: 13px; text-decoration: none; }
.recent-head a:hover { color: var(--link); }
.recent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.recent-card { border: 1px solid var(--line); text-decoration: none; display: block; }
.recent-card img { width: 100%; aspect-ratio: 292 / 164; object-fit: cover; }
.recent-card span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
                    font-family: var(--serif); font-size: 16px; line-height: 22px; padding: 16px 22px 24px; }
.recent-card:hover span { color: var(--link); }

/* Footer */
.site-footer { background: var(--footer-bg); color: #fff; min-height: 244px; padding: 33px 16px; }
.footer-inner { max-width: 560px; margin: 0 auto; display: flex; gap: 20px; align-items: flex-start; }
.footer-inner img { width: 140px; height: 141px; object-fit: cover; flex: none; }
.site-footer h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: -12px 0 4px 7px; }
.site-footer p { margin: 0; font-size: 15px; line-height: 22.5px; max-width: 380px; }

/* Small screens */
@media (max-width: 760px) {
  .hero { height: 300px; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 16px; }
  .card-body { padding: 24px 20px 28px; }
  .card-title { font-size: 22px; line-height: 30px; margin-top: 18px; }
  .post { margin: 0; border: 0; padding: 32px 16px 24px; }
  .post h1 { font-size: 30px; line-height: 38px; }
  .post-content { font-size: 16px; line-height: 25px; }
  .post-content .gap { height: 25px; }
  .post-content h2 { font-size: 24px; line-height: 31px; }
  .recent-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-inner { flex-direction: column; }
  .site-footer h2 { margin: 0 0 4px; }
}
