/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #f7f5f2;
  color: #222;
  font-family: 'Montserrat', serif;
  zoom: 0.8;
  animation: pageFadeIn 1.8s ease both;
}

a {
  transition: opacity 0.65s ease, color 0.65s ease, transform 0.25s ease;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 40px 70px;
  overflow: visible;
}

/* Header */
.site-header {
  text-align: center;
  padding-top: 30px;
  padding-bottom: 20px;
}

.title-wrapper {
  position: relative;
  width: fit-content;
  margin: 0 auto;
  text-align: center;
  padding: 34px 40px 10px;
}

.title-brush {
  position: absolute;
  top: -345px;
  left: 55%;
  transform: translateX(-50%) scaleX(1.28) rotate(-3deg) scaleY(0.8);
  width: min(1100px, 120vw);
  z-index: 0;
  opacity: 0.16;
  pointer-events: none;
  filter: blur(0.2px);
}

.site-title {
  position: relative;
  z-index: 1;
  font-family: "Bodoni Moda", "Bodoni 72", "Bodoni MT", serif;
  font-weight: 100;
  letter-spacing: 20px;
  font-size: 4.8rem;
  line-height: 0.9;
  margin: 0;
  color: rgba(38, 34, 32, 0.9);
  text-transform: uppercase;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.site-title a:hover {
  opacity: 0.75;
}

.site-tagline {
  margin-top: 34px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(168, 149, 131, 0.88);
  letter-spacing: 1.5px;
}

/* Nav */
.main-nav {
  display: flex;
  justify-content: center;
  gap: 120px;
  padding: 8px 0 20px;
  letter-spacing: 2px;
  font-weight: 330;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-size: 2rem;
  letter-spacing: 6px;
}

.main-nav a:hover {
  opacity: 0.7;
}

/* Dropdown nav */
.nav-dropdown {
  position: relative;
}

.nav-main-link {
  display: inline-block;
}

.dropdown-menu {
  display: block;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: 230px;
  background: rgba(243, 243, 243, 0.96);
  border: 1px solid #cfcfcf;
  padding: 14px 0;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s ease 0.18s,
    transform 0.35s ease 0.18s,
    visibility 0s linear 0.53s;
}

.dropdown-menu a {
  display: block;
  font-size: 1rem;
  letter-spacing: 1px;
  padding: 9px 18px;
  text-align: center;
  color: #333;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: #e7e7e7;
  opacity: 1;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition:
    opacity 0.35s ease 0.18s,
    transform 0.35s ease 0.18s,
    visibility 0s linear 0s;
}

.thin-line {
  height: 1px;
  background: #cfcfcf;
  margin-bottom: 18px;
}

/* Main layout */
.main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 14px;
  align-items: start;
}

.content-area {
  padding-right: 10px;
}

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 2px;
  color: #2a2a2a;
  margin-bottom: 12px;
}

/* Sidebar */
.sidebar {
  border-left: 1px solid rgba(118, 92, 67, 0.16);
  padding-left: 24px;
}

.gear-list {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.gear-card {
  width: 100%;
}

.gear-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 1px solid rgba(118, 92, 67, 0.22);
  border-radius: 8px;
  padding: 0;
  background: transparent;
  box-shadow: 0 8px 20px rgba(60, 45, 32, 0.045);
}

/* Article page */
.post-page {
  max-width: 820px;
  margin: 0 auto;
  padding-top: 36px;
}

.article-content {
  font-family: 'Noto Serif TC', serif;
}

.article-title {
  font-family: 'Montserrat', 'Noto Serif TC', sans-serif;
  font-size: 2.35rem;
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1.45;
  margin: 12px 0 18px;
}

.article-content h3 {
  font-family: 'Montserrat', 'Noto Serif TC', sans-serif;
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  margin: 42px 0 14px;
}

.article-content p {
  font-size: 1.12rem;
  line-height: 2.35;
  margin-bottom: 30px;
  color: #333;
}

.article-feature {
  font-family: 'Montserrat', 'Noto Serif TC', sans-serif;
  font-size: 0.85rem;
  line-height: 1.6;
  letter-spacing: 0.8px;
  color: #777;
  margin-top: 0;
  margin-bottom: 54px;
}

.article-image {
  margin: 42px 0;
}

.article-image img {
  width: 50%;
  display: block;
  margin: 0 auto;
  border: 3px solid #777;
}

.article-image figcaption {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #666;
  text-align: center;
  letter-spacing: 1px;
}

/* Image placeholder boxes */
.photo-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(118, 92, 67, 0.26);
  border-radius: 10px;
  background: rgba(190, 164, 132, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  letter-spacing: 1px;
  color: rgba(75, 55, 38, 0.50);
}

.photo-box.tall {
  aspect-ratio: 4 / 5;
}

/* Category page */
.category-page {
  max-width: 980px;
  margin: 0 auto;
  padding-top: 36px;
}

.category-post-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 16px;
  max-width: 860px;
}

.category-post {
  display: block;
  padding: 18px 0 32px;
  border-bottom: 1px solid rgba(118, 92, 67, 0.11);
  transition: transform 0.55s ease;
}

.category-post:hover {
  transform: translateX(6px);
}

.category-post-text {
  min-width: 0;
}

.category-post .post-meta {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", "Noto Serif TC", serif;
  font-size: 1.02rem;
  font-style: italic;
  letter-spacing: 0.6px;
  color: rgba(105, 88, 72, 0.68);
}

.category-post .post-title {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: 1.55rem;
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: 0.8px;
}

.subcategory-page .category-intro {
  margin-bottom: 18px;
}

.subcategory-page .category-post-list {
  margin-top: 0;
}

.post-title a {
  display: inline;
  color: #2f2b28;
  text-decoration: none;
  cursor: pointer;
  background-image: linear-gradient(
    rgba(118, 92, 67, 0.35),
    rgba(118, 92, 67, 0.35)
  );
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 95%;
  padding-bottom: 2px;
}

.post-title a:hover {
  opacity: 0.72;
  background-image: linear-gradient(
    rgba(118, 92, 67, 0.72),
    rgba(118, 92, 67, 0.72)
  );
}

/* Insight index page */
.insight-index-page {
  max-width: 1040px;
}

.category-intro {
  max-width: 1000px;
  font-family: "Noto Serif TC", serif;
  font-size: 1.02rem;
  line-height: 2.05;
  color: #6a625a;
  margin: 6px 0 52px;
  letter-spacing: 0.5px;
}

.insight-index-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.insight-index-card {
  position: relative;
  padding: 30px 32px 32px;
  border: 1px solid rgba(120, 100, 80, 0.16);
  border-radius: 10px;
  background: rgba(255, 252, 247, 0.72);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.insight-index-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(65, 48, 34, 0.08);
  border-color: rgba(120, 100, 80, 0.26);
}

.insight-index-label {
  margin-bottom: 14px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #a28a75;
}

.insight-index-card h3 {
  margin: 0 0 16px;
  font-family: "Noto Serif TC", serif;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.35;
}

.insight-index-card h3 a {
  color: #25211d;
  text-decoration: none;
}

.insight-index-card h3 a:hover {
  opacity: 0.65;
}

.insight-index-card p {
  font-family: "Noto Serif TC", serif;
  font-size: 1rem;
  line-height: 1.95;
  color: #625a52;
}

/* Editorial Banner */
.editorial-banner {
  position: relative;
  width: 100%;
  margin-bottom: 28px;
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
}

.editorial-banner img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.editorial-banner-link {
  display: block;
  line-height: 0;
  cursor: pointer;
}

.editorial-banner-link:hover img {
  opacity: 0.92;
  transform: scale(1.006);
}


/* Post grid */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.post-grid.three-posts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.more-posts-grid {
  margin-top: 34px;
}

/* Post card base */
.post-card {
  padding: 0;
  border: 1px solid rgba(118, 92, 67, 0.12);
  border-radius: 10px;
  background: rgba(252, 240, 231, 0.577);
  min-height: 230px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.post-card:hover {
  transform: translateY(-3px);
  background: rgba(246, 238, 224, 0.46);
  border-color: rgba(118, 92, 67, 0.20);
  box-shadow: 0 12px 26px rgba(96, 72, 48, 0.045);
}

.post-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px 22px;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}

/* Text */
.post-category {
  margin: 0 0 14px;
  font-family: "Montserrat", "Noto Serif TC", sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  font-weight: 600;
  line-height: 1.4;
  color: #8a6f5b;
}

.post-title {
  margin: 0 0 16px;
  font-family: "Noto Serif TC", serif;
  font-size: 23px;
  line-height: 1.35;
  font-weight: 400;
  color: #25211d;
}

.post-excerpt {
  margin: 0 0 20px;
  font-family: "Noto Serif TC", serif;
  font-size: 15px;
  line-height: 1.65;
  color: #625a52;
}

.post-meta {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  letter-spacing: 0.5px;
  line-height: 1.55;
  color: #71685c;
}

.post-featuring {
  margin: 8px 0 0;
  font-family: "Cormorant Garamond", "Noto Serif TC", serif;
  font-size: 1rem;
  font-style: italic;
  color: #655141b7;
  letter-spacing: 0.03em;
  line-height: 1.25;
}

/* Homepage row heights */

/* Row 1: latest 3 text cards = 330 */
#latest-posts .post-card {
  height: 330px;
  min-height: 330px;
  max-height: 330px;
  overflow: hidden;
}

/* Row 2: wide photo + right text card = 300 */
.wide-photo-card,
#more-posts > .post-card:nth-child(2) {
  height: 300px;
  min-height: 300px;
  max-height: 300px;
  overflow: hidden;
}

/* Row 3: bottom two text cards = 300 */
#more-posts > .post-card:nth-child(3),
#more-posts > .post-card:nth-child(4) {
  height: 300px;
  min-height: 300px;
  max-height: 300px;
  overflow: hidden;
}

/* All post card inner links */
#latest-posts .post-card-link,
#more-posts .post-card-link {
  height: 100%;
  overflow: hidden;
}

/* Second row: wide photo card */
.wide-photo-card {
  grid-column: span 2;
  height: 300px;
  min-height: 300px;
  max-height: 300px;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(118, 92, 67, 0.12);
  background: rgba(252, 240, 231, 0.577);
  overflow: hidden;
}

.wide-photo-card img {
  width: 100%;
  height: 100%;
  max-height: none;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 50px;
  opacity: 0.85;
}

/* Homepage post text spacing */
#latest-posts .post-card .post-card-link,
#more-posts .post-card .post-card-link {
  padding: 22px 24px;
}

#latest-posts .post-card .post-category,
#more-posts .post-card .post-category {
  margin-bottom: 14px;
}

#latest-posts .post-card .post-title,
#more-posts .post-card .post-title {
  font-size: 21px;
  line-height: 1.42;
  margin-bottom: 14px;
}

#latest-posts .post-card .post-meta,
#more-posts .post-card .post-meta {
  line-height: 1.6;
  margin-bottom: 14px;
}

#latest-posts .post-card .post-featuring,
#more-posts .post-card .post-featuring {
  line-height: 1.3;
  letter-spacing: 0.035em;
  margin-top: 8px;
  max-height: 2.6em;
}

#latest-posts .post-card .post-date,
#more-posts .post-card .post-date {
  margin-top: 8px;
  flex-shrink: 0;
}

/* Row 3 right Fugaku photo = 300 */
.middle-photo-card {
  height: 300px;
  min-height: 300px;
  max-height: 300px;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(118, 92, 67, 0.12);
  background: rgba(252, 240, 231, 0.577);
  overflow: hidden;
}

#latest-posts .post-card-link,
#more-posts .post-card-link {
  height: 100%;
  overflow: hidden;
}

/* Clamp text to max 2 lines */
#latest-posts .post-title,
#more-posts .post-title,
#latest-posts .post-meta,
#more-posts .post-meta,
#latest-posts .post-featuring,
#more-posts .post-featuring,
#latest-posts .post-excerpt,
#more-posts .post-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#latest-posts .post-title,
#more-posts .post-title {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

#latest-posts .post-meta,
#more-posts .post-meta {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

#latest-posts .post-featuring,
#more-posts .post-featuring {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

#latest-posts .post-excerpt,
#more-posts .post-excerpt {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

#latest-posts .post-date,
#more-posts .post-date {
  margin-top: auto;
  flex-shrink: 0;
}


/* Second / third row post text spacing */
#more-posts .post-card .post-card-link {
  padding: 22px 24px;
}

#more-posts .post-card .post-category {
  margin-bottom: 14px;
}

#more-posts .post-card .post-title {
  font-size: 21px;
  line-height: 1.42;
  margin-bottom: 14px;
}

#more-posts .post-card .post-meta {
  line-height: 1.6;
  margin-bottom: 14px;
}

#more-posts .post-card .post-featuring {
  line-height: 1.3;
  letter-spacing: 0.035em;
  margin-top: 8px;
  max-height: 2.6em;
}

#more-posts .post-card .post-date {
  margin-top: 8px;
  flex-shrink: 0;
}

/* Third row: middle photo box */
.middle-photo-card {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(118, 92, 67, 0.12);
  background: rgba(252, 240, 231, 0.577);
  overflow: hidden;
}

.middle-photo-card img {
  width: 100%;
  height: 100%;
  max-height: none;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 38px;
  opacity: 0.88;
}

/* Responsive */
@media (max-width: 1000px) {
  .main-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid #bfbfbf;
    padding-top: 24px;
  }

  .main-nav {
    gap: 48px;
    flex-wrap: wrap;
  }
}

@media (max-width: 900px) {
  .post-grid,
  .post-grid.three-posts {
    grid-template-columns: 1fr;
  }

  .insight-index-list {
    grid-template-columns: 1fr;
  }

  .wide-photo-card {
    grid-column: span 1;
  }
}

@media (max-width: 700px) {
  .page {
    padding: 16px 18px 40px;
  }

  .site-title {
    font-size: 2.5rem;
    letter-spacing: 8px;
  }

  .main-nav a {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }

  .post-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .post-title {
    font-size: 1.3rem;
  }

  .post-meta {
    font-size: 1rem;
  }
}
/* ===== Social image icons fixed to the right of nav ===== */

.main-nav {
  position: relative;
}

.nav-social-icons {
  position: absolute;
  right: 18px;
  top: 80%;
  transform: translateY(-50%);

  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-social-icons .social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 16px;
  height: 16px;

  padding: 0;
  margin: 0;
  line-height: 1;
  font-size: 0;
  text-decoration: none;

  opacity: 0.78;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.nav-social-icons .social-icon-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-social-icons .social-icon {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  display: block;
  object-fit: contain;
}

/* ===== About Me intro ===== */

.about-intro {
  max-width: 760px;
  margin: 56px auto 80px;
  padding: 0 20px;
  font-family: "Noto Serif TC", serif;

  color: #342d27;
}

.about-signature {
  margin-bottom: 34px;
  font-family: "Cormorant Garamond", "Noto Serif TC", serif;
  font-size: 1.75rem;
  line-height: 1.8;
  letter-spacing: 1.2px;
  color: rgba(96, 70, 48, 0.88);
}

.about-intro p {
  margin-bottom: 28px;
  font-size: 1.08rem;
  line-height: 2.15;
  letter-spacing: 0.8px;
  color: rgba(48, 42, 36, 0.86);
}

.about-intro p:not(.about-signature) {
  text-align: justify;
}



/* ===== All mobile/tablet pages: keep desktop arrangement, shrink whole page ===== */

@media (max-width: 1100px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    overflow-x: hidden;
  }

  .page {
    width: 1280px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 22px 40px 70px;
    overflow-x: hidden;
  }

  .main-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 14px;
    align-items: start;
  }

  .sidebar {
    border-left: 1px solid rgba(118, 92, 67, 0.16);
    border-top: none;
    padding-left: 24px;
    padding-top: 0;
  }

  .post-grid,
  .post-grid.three-posts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wide-photo-card {
    grid-column: span 2;
  }

  .site-title {
    white-space: nowrap;
    font-size: 3.6rem;
    letter-spacing: 14px;
    line-height: 0.9;
  }

  .site-title a {
    white-space: nowrap;
    display: inline-block;
  }

  .site-tagline {
    white-space: nowrap;
    margin-top: 34px;
    font-size: 1.1rem;
    letter-spacing: 1.5px;
  }

  .title-wrapper {
    width: fit-content;
    max-width: none;
    padding: 34px 40px 10px;
  }

  .main-nav {
    gap: 60px;
    flex-wrap: nowrap;
  }

  .main-nav a {
    font-size: 2rem;
    letter-spacing: 6px;
  }

  .category-page {
    max-width: 980px;
  }

  .post-page {
    max-width: 820px;
  }

  /* ===== Mobile/tablet header brush: lock behind title ===== */

@media (max-width: 1100px) {
  .title-wrapper {
    position: relative;
    width: fit-content;
    max-width: none;
    margin: 0 auto;
    overflow: visible;
  }

  .title-brush {
    top: -345px;
    left: 50%;
    width: 1100px;
    max-width: none;
    transform: translateX(-50%) scaleX(1.28) rotate(-3deg) scaleY(0.8);
    transform-origin: center center;
  }
}
/* ===== Mobile: make sub pages fill left and right ===== */

.category-page,
.subcategory-page,
.post-page,
.insight-index-page {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.category-post-list {
  width: 100%;
  max-width: none;
}

.article-content {
  width: 100%;
  max-width: none;
}

.category-intro {
  max-width: none;
}

/* =========================
   iPhone homepage post box text control only
   PC and iPad will not be affected
========================= */
@media (max-width: 768px) {

  body {
  zoom: 0.3;
}

  :root {
  --iphone-card-height: 300px;

  --iphone-card-padding-y: 18px;
  --iphone-card-padding-x: 18px;

  /* Category: 實測・心得 */
  --iphone-category-size: 9px;
  --iphone-category-line: 1.1;
  --iphone-category-gap: 7px;

  /* Title: 文章標題 */
  --iphone-title-size: 12px;
  --iphone-title-line: 1.28;
  --iphone-title-top-gap: 10px;
  --iphone-title-bottom-gap: 10px;
  --iphone-title-gap: 7px;

  /* Excerpt: IEM入耳式 / System Cables / Headphone Amp */
  --iphone-excerpt-size: 8.5px;
  --iphone-excerpt-line: 1.3;
  --iphone-excerpt-gap: 6px;
  --iphone-excerpt-scale: 1.2;

  /* Featuring */
  --iphone-featuring-size: 8.5px;
  --iphone-featuring-line: 1.3;
  --iphone-featuring-gap: 6px;
  --iphone-featuring-scale: 1.2;

  /* Date */
  --iphone-date-size: 9px;
  --iphone-date-line: 1.2;
  }

  /* All homepage text boxes */
  #latest-posts .post-card,
  #more-posts .post-card {
    height: var(--iphone-card-height) !important;
    min-height: var(--iphone-card-height) !important;
    max-height: var(--iphone-card-height) !important;
    overflow: hidden !important;
  }

  /* Inner spacing */
  #latest-posts .post-card-link,
  #more-posts .post-card-link,
  #more-posts .post-card .post-card-link {
    height: 100% !important;
    padding: var(--iphone-card-padding-y) var(--iphone-card-padding-x) !important;
    overflow: hidden !important;
  }

  /* Category: 實測・心得 */
  #latest-posts .post-category,
  #more-posts .post-category,
  #more-posts .post-card .post-category {
    font-size: var(--iphone-category-size) !important;
    line-height: var(--iphone-category-line) !important;
    letter-spacing: 0.18em !important;
    font-weight: 600 !important;
    margin: 0 0 var(--iphone-category-gap) !important;
    color: #8a6f5b !important;
  }

  /* Title: main post title */
#latest-posts .post-title,
#more-posts .post-title,
#more-posts .post-card .post-title {
  font-size: var(--iphone-title-size) !important;
  line-height: var(--iphone-title-line) !important;
  font-weight: 400 !important;
  margin: var(--iphone-title-top-gap) 0 var(--iphone-title-gap) !important;
  color: #25211d !important;

  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  overflow: hidden !important;
  white-space: normal !important;
}

/* Excerpt: IEM入耳式 / System Cables / Headphone Amp */
#latest-posts .post-excerpt,
#more-posts .post-excerpt,
#more-posts .post-card .post-excerpt {
  font-size: var(--iphone-excerpt-size) !important;
  line-height: var(--iphone-excerpt-line) !important;
  margin: 0 0 var(--iphone-excerpt-gap) !important;
  color: #625a52 !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;

  transform: scale(var(--iphone-excerpt-scale)) !important;
  transform-origin: left top !important;
  width: calc(100% / var(--iphone-excerpt-scale)) !important;

  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  overflow: hidden !important;
  white-space: normal !important;
}

 

  /* Featuring */
  #latest-posts .post-featuring,
  #more-posts .post-featuring,
  #more-posts .post-card .post-featuring {
    font-family: "Noto Serif TC", serif !important;
    font-style: normal !important;
    font-size: var(--iphone-featuring-size) !important;
    line-height: var(--iphone-featuring-line) !important;
    margin: var(--iphone-featuring-gap) 0 0 !important;
    color: #625a52 !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em !important;

    transform: scale(var(--iphone-featuring-scale)) !important;
    transform-origin: left top !important;
    width: calc(100% / var(--iphone-featuring-scale)) !important;
}

  /* Date */
  #latest-posts .post-meta,
  #latest-posts .post-date,
  #more-posts .post-meta,
  #more-posts .post-date,
  #more-posts .post-card .post-date {
    font-size: var(--iphone-date-size) !important;
    line-height: var(--iphone-date-line) !important;
    margin-top: auto !important;
    color: #71685c !important;
    display: block !important;
  }
}

  /* =========================
    iPad only - override iPhone zoom
    Add this at the VERY BOTTOM of style.css
  ========================= */
  @media (min-width: 769px) and (max-width: 1180px) {

    html,
    body {
      width: 100%;
      max-width: 100%;
      overflow-x: hidden;
    }

    body {
      zoom: 0.7;
    }

    .page,
    .site,
    .site-wrap,
    .main-wrap,
    .home-layout,
    .content-wrap {
      width: 100%;
      max-width: 100%;
    }
  }
}/* =========================
   iPad only - fit full desktop page
   Does not affect iPhone
========================= */
@media (min-width: 769px) and (max-width: 1180px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    zoom: 0.64;
  }

  .page {
    width: 1280px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 22px 40px 70px;
    overflow-x: hidden;
  }

  .main-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 14px;
    align-items: start;
  }

  .sidebar {
    border-left: 1px solid rgba(118, 92, 67, 0.16);
    border-top: none;
    padding-left: 24px;
    padding-top: 0;
  }

  .post-grid,
  .post-grid.three-posts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wide-photo-card {
    grid-column: span 2;
  }
}
