/* ==========================================================================
   我的博客 — 復刻 WordPress Twenty Fifteen 主題
   參數取自官方 style.css（v3.9）：
   側欄 29.4118%（max 413px）、正文 70.5882%、body 15px/1.6、
   底色 #f1f1f1、卡片 #fff、文字 #333、標題 Noto Serif、正文 Noto Sans
   ========================================================================== */

* { box-sizing: border-box; }

html { font-size: 62.5%; }  /* 1rem = 10px，與 Twenty Fifteen 的 rem 換算一致 */

body {
  margin: 0;
  background: #f1f1f1;
  color: #333;
  font-family: "Noto Sans TC", "Noto Sans", "Microsoft JhengHei", sans-serif;
  font-size: 15px;
  font-size: 1.5rem;
  line-height: 1.6;
}

a { color: #333; text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

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

.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px; height: 1px;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   布局：左側欄 + 右側內容（Twenty Fifteen 標志性結構）
   -------------------------------------------------------------------------- */

.site {
  min-height: 100vh;
}

.sidebar {
  float: left;
  margin-right: -100%;
  max-width: 413px;
  position: relative;
  width: 29.4118%;
  background-color: #fff;
  box-shadow: 1px 0 1px rgba(0, 0, 0, 0.04);
  min-height: 100vh;
}

.site-content {
  display: block;
  float: left;
  margin-left: 29.4118%;
  width: 70.5882%;
  padding: 0;
}

.site-main {
  padding: 8.3333% 0;
}

.site-footer {
  float: left;
  margin: 0 0 0 35.2941%;
  padding: 3.84615% 7.6923%;
  width: 58.8235%;
  background-color: #fff;
  border-top: 1px solid rgba(51, 51, 51, 0.1);
  font-size: 12px;
  font-size: 1.2rem;
  color: rgba(51, 51, 51, 0.7);
}

.site-info a { color: rgba(51, 51, 51, 0.7); }

/* --------------------------------------------------------------------------
   側欄：站名 / 導航 / 部件
   -------------------------------------------------------------------------- */

.site-header {
  margin: 20% 0;
  padding: 0 20%;
}

.site-title {
  font-family: "Noto Sans TC", "Noto Sans", sans-serif;
  font-size: 22px;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.3636;
  margin: 0 0 0.5em;
}

.site-title a { color: #333; }

.site-description {
  font-family: "Noto Sans TC", "Noto Sans", sans-serif;
  font-size: 12px;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.5;
  margin: 0 0 1.5em;
  opacity: 0.7;
}

.site-signature-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5em;
  margin: 0 0 0.4em;
}

.site-signature-wrap { flex: 1 1 auto; min-width: 0; }

.site-signature {
  font-size: 12px;
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(51, 51, 51, 0.65);
  margin: 0 0 0.2em;
  word-break: break-all;
}

.blog-signature-edit {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  opacity: 0.55;
  padding: 0 2px;
}

.blog-signature-edit:hover { opacity: 1; }

.blog-signature-input {
  flex: 1 1 auto;
  width: 100%;
  padding: 0.2em 0.5em;
  border: 1px solid rgba(51, 51, 51, 0.3);
  font-size: 12px;
  font-family: inherit;
  outline: none;
}

.blog-signature-input:focus { border-color: rgba(51, 51, 51, 0.55); }

.blog-signature-btn {
  border: 1px solid rgba(51, 51, 51, 0.25);
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  padding: 0.15em 0.5em;
  margin-left: 0.3em;
}

.blog-signature-btn:hover { background: #f1f1f1; }

.blog-signature-wrap .blog-signature-input,
.blog-signature-wrap .blog-signature-btn {
  display: inline-block;
}

.main-navigation {
  margin-bottom: 11.1111%;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation li { border-top: 1px solid rgba(51, 51, 51, 0.1); }
.main-navigation li:last-child { border-bottom: 1px solid rgba(51, 51, 51, 0.1); }

.main-navigation a {
  display: block;
  padding: 0.5em 0;
  color: #333;
  font-size: 14px;
  font-size: 1.4rem;
}

.main-navigation a:hover { text-decoration: none; opacity: 0.7; }

.sidebar-widgets .widget {
  color: rgba(51, 51, 51, 0.7);
  margin: 0 0 20%;
  padding: 0 20%;
  width: 100%;
  word-wrap: break-word;
  font-size: 12px;
  font-size: 1.2rem;
  line-height: 1.6;
}

.widget-title {
  font-family: "Noto Serif TC", "Noto Serif", serif;
  font-size: 16px;
  font-size: 1.6rem;
  color: #333;
  margin: 0 0 1em;
}

.widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget li { padding: 0.35em 0; border-bottom: 1px solid rgba(51, 51, 51, 0.06); }
.widget li:last-child { border-bottom: 0; }
.widget a { color: rgba(51, 51, 51, 0.8); }
.widget a:hover { color: #333; }
.widget .count { opacity: 0.6; }

.tagcloud .tag-cloud-link {
  display: inline-block;
  margin: 0 0.6em 0.6em 0;
  padding: 0.15em 0.6em;
  border: 1px solid rgba(51, 51, 51, 0.15);
  background-color: #fff;
}

.tagcloud .tag-cloud-link:hover {
  text-decoration: none;
  border-color: rgba(51, 51, 51, 0.4);
}

/* 搜尋框 */
.search-form { display: flex; }
.search-form label { flex: 1 1 auto; margin: 0; }
.search-field {
  width: 100%;
  padding: 0.5em 0.8em;
  border: 1px solid rgba(51, 51, 51, 0.2);
  background: #fff;
  color: #333;
  font-size: 12px;
  font-size: 1.2rem;
  outline: none;
}
.search-field:focus { border-color: rgba(51, 51, 51, 0.45); }
.search-submit {
  padding: 0.5em 0.9em;
  border: 1px solid rgba(51, 51, 51, 0.2);
  border-left: 0;
  background: #f7f7f7;
  color: #333;
  cursor: pointer;
  font-size: 12px;
  font-size: 1.2rem;
}
.search-submit:hover { background: #ededed; }

/* --------------------------------------------------------------------------
   文章卡片
   -------------------------------------------------------------------------- */

.hentry {
  background-color: #fff;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
  padding-top: 8.3333%;
  position: relative;
  margin-bottom: 8.3333%;
}

.entry-header { padding: 0 10%; }

.entry-title {
  font-family: "Noto Serif TC", "Noto Serif", serif;
  font-size: 26px;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.1538;
  margin: 0 0 0.9231em;
}

.entry-title a { color: #333; }

.entry-meta {
  color: rgba(51, 51, 51, 0.7);
  font-size: 12px;
  font-size: 1.2rem;
  margin-bottom: 1.6em;
}

.entry-meta a { color: rgba(51, 51, 51, 0.7); }
.entry-meta .byline, .entry-meta .views { margin-left: 0.8em; }

.entry-summary { padding: 0 10%; }
.entry-summary p { margin: 0 0 1.2em; }

.more-linkwrap { margin-top: 1.5em; }
.more-link { font-weight: 700; }
.more-link:hover { text-decoration: none; opacity: 0.75; }
.meta-nav { font-family: sans-serif; }

.entry-content {
  padding: 0 10%;
  word-wrap: break-word;
}

.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
  font-family: "Noto Serif TC", "Noto Serif", serif;
  font-weight: 700;
  line-height: 1.3;
  margin: 1.6em 0 0.8em;
}

.entry-content h2 { font-size: 22px; font-size: 2.2rem; }
.entry-content h3 { font-size: 19px; font-size: 1.9rem; }

.entry-content p { margin: 0 0 1.4em; }

.entry-content a {
  text-decoration: underline;
  word-break: break-all;
}

.entry-content blockquote {
  margin: 1.5em 0;
  padding: 0.2em 1.2em;
  border-left: 4px solid rgba(51, 51, 51, 0.15);
  color: rgba(51, 51, 51, 0.8);
  font-style: italic;
}

.entry-content img { border-radius: 2px; cursor: zoom-in; }

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 13px;
}
.entry-content th, .entry-content td {
  border: 1px solid rgba(51, 51, 51, 0.15);
  padding: 0.5em 0.8em;
  text-align: left;
}

.entry-content pre, .entry-content code {
  font-family: Inconsolata, Consolas, monospace;
  background: #f7f7f7;
}
.entry-content pre { padding: 1em; overflow-x: auto; }

.entry-footer {
  padding: 5% 10% 7%;
  color: rgba(51, 51, 51, 0.7);
  font-size: 12px;
  font-size: 1.2rem;
}
.entry-footer .cat-links, .entry-footer .tags-links { display: block; margin-bottom: 0.3em; }
.entry-footer a { color: rgba(51, 51, 51, 0.8); }

.no-results { padding-bottom: 6%; }
.no-results .page-content { padding: 0 10%; }

/* 列表頁頭（分類/標籤/彙整/搜尋結果） */
.page-header {
  background-color: #fff;
  border-bottom: 1px solid rgba(51, 51, 51, 0.1);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
  padding: 4% 10%;
  margin-bottom: 8.3333%;
}

.page-title {
  font-family: "Noto Serif TC", "Noto Serif", serif;
  font-size: 18px;
  font-size: 1.8rem;
  line-height: 1.3333;
  margin: 0;
}

/* 文章操作（編輯/刪除）與前後篇導航 */
.entry-actions { padding: 0 10% 6%; font-size: 13px; }
.entry-actions .blog-edit-link {
  display: inline-block;
  padding: 0.3em 1em;
  border: 1px solid rgba(51, 51, 51, 0.25);
  margin-right: 0.6em;
}
.entry-actions .blog-edit-link:hover { text-decoration: none; background: #f1f1f1; }
.blog-delete-form { display: inline-block; margin: 0; }
.blog-delete-link {
  padding: 0.3em 1em;
  border: 1px solid rgba(200, 60, 60, 0.35);
  background: #fff;
  color: #a33;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
}
.blog-delete-link:hover { background: #fdf3f3; }

.post-navigation { margin: 0 0 6%; }
.post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  font-size: 13px;
}
.post-navigation .nav-previous { text-align: left; }
.post-navigation .nav-next { text-align: right; margin-left: auto; }

/* 分頁 */
.navigation.pagination {
  background-color: #fff;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.15);
  padding: 4% 10%;
  text-align: center;
}
.pagination .nav-links { display: inline-block; }
.pagination .page-numbers {
  display: inline-block;
  padding: 0.5em 1em;
  border: 1px solid rgba(51, 51, 51, 0.15);
  margin: 0 0.2em;
  color: #333;
  font-size: 13px;
}
.pagination .page-numbers.current {
  background: #333;
  border-color: #333;
  color: #fff;
}
.pagination .page-numbers:hover { text-decoration: none; background: #f1f1f1; }
.pagination .page-numbers.current:hover { background: #333; }

/* --------------------------------------------------------------------------
   媒體播放器（8443 / HLS）
   -------------------------------------------------------------------------- */

.blog-player { margin: 1.5em 0; }

.blog-player video,
.blog-player audio {
  display: block;
  width: 100%;
  background: #000;
}

.blog-player audio { background: #f7f7f7; border: 1px solid rgba(51, 51, 51, 0.1); }

.blog-player-title {
  font-size: 12px;
  color: rgba(51, 51, 51, 0.7);
  margin: 0 0 0.4em;
  word-break: break-all;
}

.blog-player-download { font-size: 12px; color: rgba(51, 51, 51, 0.6); }
.blog-player-type {
  display: inline-block;
  font-size: 10px;
  padding: 0 0.4em;
  margin-right: 0.4em;
  border: 1px solid rgba(51, 51, 51, 0.25);
  color: rgba(51, 51, 51, 0.7);
  vertical-align: 1px;
}

/* --------------------------------------------------------------------------
   燈箱（圖片點擊放大瀏覽）
   -------------------------------------------------------------------------- */

.blog-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99990;
  background: rgba(17, 17, 17, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-lightbox img {
  max-width: 88vw;
  max-height: 86vh;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
  cursor: default;
}

.blog-lightbox-counter {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: #eee;
  font-size: 13px;
}

.blog-lightbox-close,
.blog-lightbox-prev,
.blog-lightbox-next {
  position: absolute;
  background: transparent;
  border: 0;
  color: #ddd;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  padding: 12px;
  user-select: none;
}
.blog-lightbox-close { top: 10px; right: 14px; font-size: 34px; }
.blog-lightbox-close:hover, .blog-lightbox-prev:hover, .blog-lightbox-next:hover { color: #fff; }
.blog-lightbox-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.blog-lightbox-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* 微信下載引導 */
.blog-wx-guide {
  background: #fff;
  border-radius: 8px;
  max-width: 86vw;
  width: 320px;
  padding: 1.4em 1.5em;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.blog-wx-guide-title {
  font-weight: 700;
  font-size: 15px;
  color: #333;
  margin-bottom: 0.8em;
}

.blog-wx-guide-steps {
  text-align: left;
  margin: 0 auto 1em;
  padding-left: 1.4em;
  font-size: 13px;
  color: #333;
  line-height: 1.9;
}

.blog-wx-copy, .blog-wx-close {
  display: inline-block;
  margin: 0.3em 0.4em 0;
  padding: 0.4em 1.4em;
  border: 1px solid rgba(51, 51, 51, 0.3);
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
}

.blog-wx-copy { background: #333; color: #fff; border-color: #333; }

.blog-wx-url {
  margin-top: 0.7em;
  font-size: 11px;
  color: rgba(51, 51, 51, 0.55);
  word-break: break-all;
}

/* --------------------------------------------------------------------------
   編輯頁
   -------------------------------------------------------------------------- */

.blog-edit-post .entry-content { padding-bottom: 6%; }

.blog-edit-form .form-row { margin: 0 0 2em; }

.blog-edit-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4em;
  font-size: 13px;
}

.blog-title-input {
  width: 100%;
  font-size: 20px;
  font-family: "Noto Serif TC", serif;
  padding: 0.5em 0.8em;
  border: 1px solid rgba(51, 51, 51, 0.2);
  outline: none;
}
.blog-title-input:focus { border-color: rgba(51, 51, 51, 0.5); }

.blog-edit-form select[multiple] { min-width: 240px; }

.form-inline { display: flex; gap: 2.5em; flex-wrap: wrap; }
.form-inline > div { flex: 1 1 240px; }

.field-help {
  color: rgba(51, 51, 51, 0.6);
  font-size: 12px;
  margin: 0.4em 0 0;
}

.errorlist, .blog-form-errors {
  color: #b03030;
  font-size: 12px;
  margin: 0.3em 0 0;
  list-style: none;
  padding: 0;
}

/* 上傳區 */
.blog-upload-box {
  border: 1px solid rgba(51, 51, 51, 0.15);
  background: #fafafa;
  padding: 1.2em 1.4em;
  margin: 0 0 2em;
}

.blog-upload-row { display: flex; align-items: center; gap: 0.8em; flex-wrap: wrap; }
.blog-upload-label { font-weight: 700; font-size: 13px; }
.blog-storage-select {
  padding: 0.35em 0.5em;
  border: 1px solid rgba(51, 51, 51, 0.25);
  font-size: 13px;
  background: #fff;
}
.blog-upload-btn {
  padding: 0.4em 1.1em;
  border: 1px solid rgba(51, 51, 51, 0.3);
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
}
.blog-upload-btn:hover { background: #f1f1f1; }
.blog-upload-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.blog-upload-status { font-size: 12px; color: rgba(51, 51, 51, 0.75); margin-top: 0.8em; min-height: 1em; }
.blog-upload-status.err { color: #b03030; }
.blog-upload-status.ok { color: #2e7d32; }

.blog-progress {
  height: 8px;
  background: #e8e8e8;
  border-radius: 4px;
  margin-top: 0.6em;
  overflow: hidden;
}
.blog-progress-fill {
  height: 100%;
  width: 0;
  background: #555;
  transition: width 0.15s linear;
}

.form-actions { display: flex; align-items: center; gap: 1em; }
.blog-submit-btn {
  padding: 0.6em 2.2em;
  background: #333;
  color: #fff;
  border: 1px solid #333;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
}
.blog-submit-btn:hover { background: #000; }
.blog-cancel-link { font-size: 13px; color: rgba(51, 51, 51, 0.7); }

/* --------------------------------------------------------------------------
   回應區（Twenty Fifteen 評論風格）
   -------------------------------------------------------------------------- */

.comments-area { padding: 4% 10% 7%; border-top: 1px solid rgba(51, 51, 51, 0.08); }

.comments-title {
  font-family: "Noto Serif TC", "Noto Serif", serif;
  font-size: 16px;
  font-size: 1.6rem;
  margin: 0 0 1em;
}

.comment-list, .comment-list .children {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-list > .comment {
  border-bottom: 1px solid rgba(51, 51, 51, 0.08);
  padding: 0.8em 0;
}

.comment-list .children {
  margin: 0.6em 0 0 1.6em;
  border-left: 2px solid rgba(51, 51, 51, 0.08);
  padding-left: 0.9em;
}

.comment-list .children .comment {
  padding: 0.5em 0;
  border-bottom: 1px dashed rgba(51, 51, 51, 0.08);
}

.comment-list .children .comment:last-child { border-bottom: 0; }

.comment-meta { font-size: 12px; font-size: 1.2rem; color: rgba(51, 51, 51, 0.65); }

.comment-author { font-weight: 700; color: #333; font-style: normal; }

.comment-date { margin-left: 0.6em; }

.comment-content {
  font-size: 14px;
  font-size: 1.4rem;
  margin: 0.3em 0;
  word-break: break-word;
}

.comment-content p { margin: 0 0 0.4em; }

.comment-actions { font-size: 12px; font-size: 1.2rem; display: flex; gap: 0.8em; align-items: center; }

.comment-actions a { color: rgba(51, 51, 51, 0.6); }

.comment-actions a:hover { color: #333; }

.comment-delete-form { display: inline-block; margin: 0; }

.comment-delete-btn {
  border: 0;
  background: transparent;
  color: rgba(160, 60, 60, 0.75);
  cursor: pointer;
  font-size: 12px;
  font-family: inherit;
  padding: 0;
}

.comment-delete-btn:hover { color: #a33; }

.no-comment { color: rgba(51, 51, 51, 0.6); font-size: 13px; padding: 0.5em 0; }

.comment-form { margin-top: 1.2em; }

.replying-info {
  font-size: 12px;
  color: #2e7d32;
  margin-bottom: 0.4em;
}

.comment-error { color: #b03030; font-size: 12px; margin: 0.3em 0; }

.comment-textarea {
  width: 100%;
  padding: 0.6em 0.8em;
  border: 1px solid rgba(51, 51, 51, 0.25);
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  outline: none;
}

.comment-textarea:focus { border-color: rgba(51, 51, 51, 0.5); }

.comment-submit {
  margin-top: 0.5em;
  padding: 0.35em 1.6em;
  background: #333;
  color: #fff;
  border: 1px solid #333;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
}

.comment-submit:hover { background: #000; }

/* CKEditor 容器視覺微調 */
.ck-editor__editable_inline { min-height: 320px; }

/* --------------------------------------------------------------------------
   表情選擇面板
   -------------------------------------------------------------------------- */

.content-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}

.content-label-row label { margin-bottom: 0; }

.form-row-title { position: relative; }

.title-input-row {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.title-input-row .blog-title-input { flex: 1 1 auto; }

.blog-emoji-btn {
  padding: 0.25em 0.9em;
  border: 1px solid rgba(51, 51, 51, 0.25);
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
}

.blog-emoji-btn:hover { background: #f1f1f1; }

.form-row-content { position: relative; }

.blog-emoji-panel {
  position: absolute;
  top: 2.4em;
  right: 0;
  z-index: 1200;
  width: 340px;
  max-width: 92vw;
  background: #fff;
  border: 1px solid rgba(51, 51, 51, 0.25);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  padding: 0.6em;
}

.blog-emoji-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em;
  margin-bottom: 0.5em;
  padding-right: 1.4em;
}

.blog-emoji-tab {
  padding: 0.15em 0.7em;
  border: 1px solid rgba(51, 51, 51, 0.2);
  background: #fafafa;
  cursor: pointer;
  font-size: 12px;
  font-family: inherit;
}

.blog-emoji-tab.active { background: #333; color: #fff; border-color: #333; }
.blog-emoji-tab:hover:not(.active) { background: #f1f1f1; }

.blog-emoji-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 2px;
  max-height: 220px;
  overflow-y: auto;
}

.blog-emoji-item {
  border: 0;
  background: transparent;
  font-size: 19px;
  line-height: 1.4;
  cursor: pointer;
  padding: 2px 0;
  border-radius: 3px;
}

.blog-emoji-item:hover { background: #f1f1f1; }

.blog-emoji-close {
  position: absolute;
  top: 4px;
  right: 6px;
  border: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: rgba(51, 51, 51, 0.6);
  padding: 2px 6px;
}

.blog-emoji-close:hover { color: #333; }

/* --------------------------------------------------------------------------
   響應式（Twenty Fifteen 斷點 59.6875em ≈ 955px）
   -------------------------------------------------------------------------- */

@media screen and (max-width: 59.6874em) {
  .sidebar {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 0;
  }
  .site-header {
    margin: 8% 0;
    padding: 0 8%;
    border-bottom: 1px solid rgba(51, 51, 51, 0.1);
  }
  .sidebar-widgets .widget { padding: 0 8%; margin-bottom: 10%; }
  .site-content {
    float: none;
    width: 100%;
    margin-left: 0;
  }
  .site-main { padding: 6% 0; }
  .site-footer {
    float: none;
    width: 100%;
    margin: 0;
  }
  .hentry, .page-header, .navigation.pagination { margin-left: 6.6667%; margin-right: 6.6667%; }
  .hentry { padding-top: 6.6667%; }
}

@media screen and (min-width: 68.75em) {
  .site-title { font-size: 24px; font-size: 2.4rem; }
}

@media screen and (min-width: 77.5em) {
  .site-title { font-size: 27px; font-size: 2.7rem; }
}

/* --------------------------------------------------------------------------
   側欄頭像
   -------------------------------------------------------------------------- */

.blog-profile { text-align: center; }

.blog-avatar-wrap { margin-bottom: 0.6em; }

.blog-avatar {
  display: inline-block;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(51, 51, 51, 0.12);
  background: #fff;
  cursor: zoom-in;
}

.blog-avatar-fallback {
  line-height: 82px;
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  background: #555;
  cursor: default;
  font-family: "Noto Serif TC", serif;
}

.blog-avatar-link:hover { text-decoration: none; opacity: 0.85; }

.blog-username {
  font-weight: 700;
  font-size: 13px;
  font-size: 1.3rem;
  color: #333;
  word-break: break-all;
}

.blog-avatar-change {
  display: inline-block;
  margin-top: 0.5em;
  padding: 0.25em 1em;
  border: 1px solid rgba(51, 51, 51, 0.25);
  font-size: 12px;
  font-size: 1.2rem;
  color: #333;
  cursor: pointer;
}

.blog-avatar-change:hover { background: #f1f1f1; text-decoration: none; }

/* --------------------------------------------------------------------------
   文章日曆（WordPress 風格）
   -------------------------------------------------------------------------- */

.widget_calendar .calendar-wrap { overflow-x: auto; }

#wp-calendar {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  font-size: 1.1rem;
}

#wp-calendar caption {
  caption-side: top;
  text-align: center;
  padding: 0 0 0.6em;
  font-weight: 700;
  color: #333;
  position: relative;
  white-space: nowrap;
}

#wp-calendar caption .cal-prev { position: absolute; left: 0; }
#wp-calendar caption .cal-next { position: absolute; right: 0; }
#wp-calendar caption a { color: #333; text-decoration: none; }
#wp-calendar caption a:hover { opacity: 0.7; }

#wp-calendar th {
  padding: 0.3em 0;
  font-weight: 700;
  color: #333;
  border-bottom: 1px solid rgba(51, 51, 51, 0.18);
}

#wp-calendar td {
  text-align: center;
  padding: 0.28em 0;
  color: rgba(51, 51, 51, 0.55);
}

#wp-calendar td a {
  display: block;
  margin: 0 2px;
  font-weight: 700;
  color: #333;
  background: rgba(51, 51, 51, 0.07);
}

#wp-calendar td a:hover {
  text-decoration: none;
  background: rgba(51, 51, 51, 0.16);
}
