/* =========================================================
   AdLamb · 自定义样式
   纸张 / 墨色 / 砖橙，配合旧站与 4link、CubeX 的视觉语言
   ========================================================= */

:root {
  --paper: #f4efe6;
  --card: #fffdf8;
  --ink: #191714;
  --body-text: #3a352e;
  --muted: #7c7467;
  --line: #e3dacb;
  --accent: #c8462b;
  --accent-dark: #a03620;
  --accent-soft: #f8e7df;
  --pine: #3d5c49;
  --radius: 12px;
  --radius-sm: 7px;
  --shadow: 0 8px 24px rgba(51, 38, 23, 0.06);
  --shadow-hover: 0 14px 36px rgba(51, 38, 23, 0.12);
  --mono: "Cascadia Code", "JetBrains Mono", Consolas, "Courier New", monospace;
  --sans: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  /* 覆盖主题变量 */
  --global-bg: #f4efe6;
  --card-bg: #fffdf8;
  --font-color: #3a352e;
  --text-highlight-color: #191714;
  --btn-bg: #191714;
  --btn-hover-color: #c8462b;
  --light-grey: #8b8378;
  --dark-grey: #c9c0b2;
  --pseudo-hover: #c8462b;
  --tab-bg: #efe8dd;
  --tab-button-bg: #efe8dd;
  --tab-button-active-bg: #fffdf8;
}

html[data-theme='dark'] {
  --paper: #14120f;
  --card: #1c1916;
  --ink: #f4efe6;
  --body-text: #cfc7ba;
  --muted: #a79e91;
  --line: #332d26;
  --accent: #e06a48;
  --accent-dark: #f08363;
  --accent-soft: #2a1c16;
  --pine: #8fb39e;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 14px 36px rgba(0, 0, 0, 0.45);

  --global-bg: #14120f;
  --card-bg: #1c1916;
  --font-color: #cfc7ba;
  --text-highlight-color: #f4efe6;
  --btn-bg: #e06a48;
  --btn-hover-color: #c8462b;
  --light-grey: #a79e91;
  --dark-grey: #5c554c;
}

/* ---------- 基础 ---------- */

body {
  background-color: var(--paper);
  background-image: none;
  color: var(--body-text);
}

::selection {
  background: rgba(200, 70, 43, 0.25);
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: #cfc4b3;
  border-radius: 99px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
html[data-theme='dark'] ::-webkit-scrollbar-thumb { background: #4a4239; background-clip: padding-box; }

/* ---------- 顶部导航 ---------- */

#nav {
  background: transparent !important;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

#page-header.nav-fixed #nav,
#page-header.not-top-img #nav {
  background: rgba(244, 239, 230, 0.92) !important;
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 18px rgba(51, 38, 23, 0.05);
}

html[data-theme='dark'] #page-header.nav-fixed #nav,
html[data-theme='dark'] #page-header.not-top-img #nav {
  background: rgba(20, 18, 15, 0.92) !important;
}

#nav .site-name {
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: none;
}

#nav #menus .site-page {
  font-family: var(--sans);
  font-size: 0.9rem;
  border-radius: 5px;
  padding: 0.3rem 0.6rem;
  transition: background 0.2s ease, color 0.2s ease;
}

#page-header:not(.nav-fixed):not(.not-top-img) #nav #menus .site-page:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff !important;
}

/* 有顶部大图时，导航文字统一用白色 */
#page-header:not(.nav-fixed):not(.not-top-img) #nav a,
#page-header:not(.nav-fixed):not(.not-top-img) #nav span.site-page,
#page-header:not(.nav-fixed):not(.not-top-img) #nav #toggle-menu,
#page-header:not(.nav-fixed):not(.not-top-img) #nav #blog-info,
#page-header:not(.nav-fixed):not(.not-top-img) #nav .site-name {
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
}

#page-header.nav-fixed #nav #menus .site-page:hover,
#page-header.not-top-img #nav #menus .site-page:hover {
  background: var(--accent-soft);
  color: var(--accent-dark) !important;
}

html[data-theme='dark'] #page-header.nav-fixed #nav #menus .site-page:hover {
  background: rgba(224, 106, 72, 0.16);
  color: var(--accent) !important;
}

/* ---------- 首页大图 ---------- */

#page-header.full_page {
  height: 82vh;
  min-height: 540px;
  background-position: center;
}

#page-header {
  position: relative;
}

#page-header:not(.not-top-img)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 10, 8, 0.58), rgba(12, 10, 8, 0.3) 45%, rgba(12, 10, 8, 0.52));
  pointer-events: none;
}

/* 文章头图通常信息比较杂，加深一点保证标题可读 */
#page-header.post-bg::before {
  background: linear-gradient(180deg, rgba(12, 10, 8, 0.62), rgba(12, 10, 8, 0.52) 45%, rgba(12, 10, 8, 0.66));
}

#page-header #site-title {
  color: #fff;
  font-weight: 850;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  letter-spacing: -0.03em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

#page-header #site-subtitle {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--mono);
  font-size: clamp(0.82rem, 1.2vw, 1rem);
  letter-spacing: 0.08em;
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

#page-header .typed-cursor {
  color: var(--accent);
}

#page-header #scroll-down .scroll-down-effects {
  color: rgba(255, 255, 255, 0.8);
}

#page-header #site_social_icons .social-icon {
  color: rgba(255, 255, 255, 0.85);
  text-shadow: none;
}

#page-header #site_social_icons {
  margin-top: 16px;
}

/* ---------- 首页文章卡片 ---------- */

#recent-posts > .recent-post-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

@media (min-width: 768px) {
  #recent-posts > .recent-post-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: #d6c4b2;
  }
}

#recent-posts .post_cover img {
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: saturate(0.92);
}

#recent-posts > .recent-post-item:hover .post_cover img {
  transform: scale(1.03);
  filter: saturate(1.05);
}

#recent-posts .recent-post-info {
  padding: 20px 22px 24px;
}

#recent-posts .recent-post-info .article-title {
  color: var(--ink);
  font-weight: 750;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

#recent-posts .recent-post-info .article-title:hover {
  color: var(--accent) !important;
}

#recent-posts .recent-post-info .article-meta-wrap {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#recent-posts .recent-post-info .article-meta-wrap a {
  color: var(--accent);
  font-weight: 600;
}

#recent-posts .recent-post-info .content {
  color: var(--body-text);
  opacity: 0.86;
  line-height: 1.8;
  font-size: 0.92rem;
}

/* ---------- 侧边栏 ---------- */

#aside-content .card-widget {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

#aside-content .card-info img {
  border: 3px solid var(--card);
  box-shadow: 0 0 0 1px var(--line);
}

#aside-content .card-info .author-info__name {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.01em;
}

#aside-content .card-info .author-info__description {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

#aside-content .card-info .button--animated {
  background: var(--ink) !important;
  color: var(--paper) !important;
  border: 1px solid var(--ink) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: none;
  font-weight: 650;
  transition: background 0.2s ease, border-color 0.2s ease;
}

#aside-content .card-info .button--animated:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  transform: none;
  box-shadow: none;
}

#aside-content .card-widget .item-headline {
  color: var(--ink);
  font-weight: 750;
  font-size: 0.95rem;
}

#aside-content .card-widget .item-headline i {
  color: var(--accent);
}

#aside-content .card-tag-cloud a {
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.72rem !important;
  transition: all 0.2s ease;
}

#aside-content .card-tag-cloud a:hover {
  background: var(--accent) !important;
  color: #fff !important;
}

#aside-content .card-announcement .card-content {
  color: var(--body-text);
  font-size: 0.9rem;
  line-height: 1.75;
  padding: 12px 14px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

html[data-theme='dark'] #aside-content .card-announcement .card-content {
  background: rgba(224, 106, 72, 0.1);
}

/* ---------- 文章正文 ---------- */

#article-container {
  color: var(--body-text);
  font-size: 1rem;
  line-height: 1.9;
}

#article-container h2 {
  position: relative;
  margin-top: 2.3rem;
  padding-left: 16px;
  padding-bottom: 0;
  border-bottom: none;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.01em;
}

#article-container h2::after {
  display: none;
}

#article-container h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 6px;
  height: 1em;
  background: var(--accent);
  border-radius: 1px;
}

#article-container h3 {
  margin-top: 1.8rem;
  color: var(--ink);
  font-weight: 750;
}

#article-container a:not(.btn-beautify):not(.project-links a):not(.game-card):not(.photo-item) {
  color: var(--accent-dark);
  border-bottom: 1px solid rgba(200, 70, 43, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

#article-container a:not(.btn-beautify):not(.project-links a):not(.game-card):not(.photo-item):hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

#article-container blockquote {
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--accent-soft);
  color: #64493f;
}

html[data-theme='dark'] #article-container blockquote {
  color: #d8c4b9;
  background: rgba(224, 106, 72, 0.1);
}

#article-container code:not([class]) {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 4px;
  padding: 0.1em 0.35em;
  font-family: var(--mono);
  font-size: 0.88em;
}

html[data-theme='dark'] #article-container code:not([class]) {
  background: rgba(224, 106, 72, 0.14);
  color: #f0a68f;
}

#article-container pre {
  border-radius: var(--radius-sm);
  border: 1px solid #2c2823;
}

#article-container table {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
}

#article-container table th {
  background: #f2ece1;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

html[data-theme='dark'] #article-container table th {
  background: #26221d;
}

#article-container table td {
  border-color: var(--line);
}

#article-container hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}

#article-container img {
  border-radius: var(--radius-sm);
}

/* 文章版权 */
.post-copyright {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #faf6ee;
}

html[data-theme='dark'] .post-copyright {
  background: #201c18;
}

/* 标签 */
.post-meta__tag-list {
  margin-top: 16px;
}

.post-meta__tags {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  transition: all 0.2s ease;
}

.post-meta__tags:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.post-tags a {
  border-radius: 4px !important;
  font-family: var(--mono);
  font-size: 0.72rem !important;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.post-tags a:hover {
  background: var(--accent) !important;
  color: #fff !important;
}

/* 分页 */
#pagination .page-number,
#pagination .extend,
#pagination .prev,
#pagination .next {
  border-radius: var(--radius-sm) !important;
  font-family: var(--mono);
  font-size: 0.8rem !important;
}

#pagination .page-number.current {
  background: var(--ink) !important;
  border-color: var(--ink) !important;
  color: var(--paper) !important;
}

/* 文章底部相关推荐 */
.relatedPosts > .relatedPosts-list > div {
  border-radius: var(--radius-sm);
}

/* ---------- 页脚 ---------- */

#footer {
  background: transparent;
  border-top: 1px solid var(--line);
}

#footer::before {
  background: none;
}

#footer-wrap {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  opacity: 1;
}

/* ---------- 右下角按钮 ---------- */

#rightside > div > button,
#rightside > a {
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: none;
}

#rightside > div > button:hover,
#rightside > a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ---------- 搜索弹窗 ---------- */

.search-dialog {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}

#local-search .search-dialog .search-nav {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.85rem;
}

.local-search-input input {
  font-family: var(--mono);
}

/* =========================================================
   页面组件
   ========================================================= */

/* 技能标签 */
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 26px;
}

.skill-tags span {
  padding: 0.28rem 0.7rem;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  transition: all 0.2s ease;
}

.skill-tags span:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* 关于页 */
.about-hero {
  padding: 4px 0 10px;
}

.about-hi {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.about-hi strong {
  color: var(--accent);
}

.about-hero p {
  max-width: 62ch;
}

.about-note {
  margin-top: 24px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: #faf6ee;
  border: 1px solid var(--line);
  border-left: 3px solid var(--pine);
  font-size: 0.88rem;
  color: var(--muted);
}

html[data-theme='dark'] .about-note {
  background: #201c18;
}

/* 时间线 */
.timeline {
  position: relative;
  margin: 20px 0 10px;
  padding-left: 24px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 7px;
  bottom: 7px;
  width: 1px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  padding-bottom: 22px;
}

.timeline-dot {
  position: absolute;
  left: -22px;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: var(--accent);
}

.timeline-content h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--ink);
}

.timeline-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.timeline-date {
  display: inline-block;
  margin-bottom: 3px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--accent);
}

/* 项目卡片 */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 34px;
}

#article-container .project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 22px 18px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

@media (min-width: 768px) {
  #article-container .project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: #d6c4b2;
  }
}

#article-container .project-card .project-index {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--accent);
}

#article-container .project-card h3 {
  margin: 2px 0 0;
  font-size: 1.12rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

#article-container .project-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--body-text);
  opacity: 0.9;
}

.project-meta {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}

.project-links {
  display: flex;
  gap: 14px;
  margin-top: auto;
  padding-top: 10px;
  font-size: 0.84rem;
  font-weight: 650;
}

#article-container .project-links a {
  color: var(--accent-dark);
  border-bottom: none;
}

#article-container .project-links a:hover {
  color: var(--accent);
  border-bottom: none;
}

.project-disabled {
  color: var(--muted);
}

#article-container .project-card,
#article-container .timeline-content,
.about-hero,
.about-note {
  color: var(--body-text);
}

/* 游戏 / Minecraft 页面 */
.mc-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: center;
  margin: 10px 0 30px;
}

.mc-hero img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.mc-hero p {
  margin: 0;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 30px;
}

#article-container a.game-card,
a.game-card {
  display: block;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--body-text) !important;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

@media (min-width: 768px) {
  #article-container a.game-card:hover,
  a.game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: #d6c4b2;
  }
}

#article-container .game-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--ink);
}

.game-desc {
  margin: 6px 0 12px;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--muted);
}

.game-tag {
  display: inline-block;
  padding: 0.16rem 0.55rem;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 30px;
}

.shot-grid figure {
  margin: 0;
}

.shot-grid img {
  width: 100%;
  display: block;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.shot-grid figcaption {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* 照片墙 */
.photo-intro {
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.94rem;
}

.photo-grid {
  columns: 3 250px;
  column-gap: 14px;
  margin: 22px 0 40px;
}

#article-container a.photo-item,
a.photo-item {
  position: relative;
  display: block;
  margin: 0 0 14px;
  break-inside: avoid;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8e0d4;
  border-bottom: 1px solid var(--line) !important;
  text-decoration: none;
}

.photo-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.45s ease, filter 0.45s ease;
  filter: saturate(0.9);
}

.photo-item:hover img {
  transform: scale(1.025);
  filter: saturate(1.08);
}

.photo-item span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 10px 8px;
  color: #fff;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  background: linear-gradient(transparent, rgba(12, 10, 8, 0.62));
}

/* 照片灯箱 */
dialog.photo-lightbox {
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  background: #12100e;
  max-width: 94vw;
  max-height: 92vh;
  overflow: hidden;
}

dialog.photo-lightbox::backdrop {
  background: rgba(10, 8, 6, 0.88);
}

dialog.photo-lightbox img {
  display: block;
  max-width: 92vw;
  max-height: 86vh;
  width: auto;
  height: auto;
}

dialog.photo-lightbox .lb-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  background: rgba(12, 10, 8, 0.6);
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

/* 文章内图片说明 */
.figcaption,
#article-container .figcaption {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  text-align: center;
}

/* ---------- 响应式 ---------- */

@media (max-width: 768px) {
  :root {
    --radius: 10px;
  }

  #page-header.full_page {
    height: 76vh;
    min-height: 440px;
  }

  #recent-posts .recent-post-info {
    padding: 16px 16px 20px;
  }

  #article-container {
    font-size: 0.97rem;
  }

  .project-grid,
  .game-grid,
  .shot-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mc-hero {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    columns: 2 160px;
    column-gap: 10px;
  }

  .photo-item {
    margin-bottom: 10px;
  }

  #page-header #site-title {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }
}

@media (max-width: 480px) {
  .photo-grid {
    columns: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
