/* style/index.css */
.page-index { color: #FFF3E6; background-color: #0D0E12; }
.page-index__archive-header { text-align: center; padding: 10px 16px 24px; max-width: 1200px; margin: 0 auto; box-sizing: border-box; }
.page-index__page-title { font-size: clamp(1.4rem, 3.5vw, 2rem); text-transform: uppercase; margin: 0 0 1rem; color: #FF8C1A; line-height: 1.35; }
.page-index__taxonomy-desc { text-align: left; max-width: 900px; margin: 0 auto; line-height: 1.7; color: #FFF3E6; }
.page-index__taxonomy-desc blockquote { margin: 0; padding: 12px 16px; border-left: 3px solid #FFB700; background: #17191F; border-radius: 6px; }
.page-index__taxonomy-desc a { color: #FFB04D; text-decoration: underline; }
.page-index__home-content { max-width: 1200px; margin: 0 auto 28px; padding: 10px 20px; border: 1px solid #FBB00D; border-radius: 10px; height: 600px; max-height: 600px; overflow-y: auto; box-sizing: border-box; scrollbar-width: thin; scrollbar-color: #FBB00D transparent; color: #FFF3E6; background: #17191F; }
.page-index__home-content::-webkit-scrollbar { width: 12px; }
.page-index__home-content::-webkit-scrollbar-thumb { background-color: #FBB00D; border-radius: 10px; border: 3px solid #17191F; }
.page-index__home-content h2 { color: #FFA53A; font-size: 1.3rem; margin: 18px 0 10px; line-height: 1.4; }
.page-index__home-content h3 { color: #FFB04D; font-size: 1.08rem; margin: 14px 0 8px; line-height: 1.4; }
.page-index__home-content p { margin: 0 0 12px; line-height: 1.75; color: #FFF3E6; }
.page-index__home-content ul { margin: 0 0 12px; padding-left: 22px; }
.page-index__home-content li { margin-bottom: 8px; line-height: 1.7; color: #FFF3E6; }
.page-index__home-content a { color: #FFB04D; text-decoration: underline; }
.page-index__home-content a:hover { color: #FF8C1A; }
.page-index__cta-section { max-width: 1200px; margin: 0 auto 30px; padding: 0 16px; box-sizing: border-box; }
.page-index__cta-inner { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; width: 100%; max-width: 100%; box-sizing: border-box; }
.page-index__btn { display: inline-block; padding: 14px 22px; border-radius: 8px; text-decoration: none; font-weight: 700; text-align: center; background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); color: #0D0E12; border: 1px solid #A84F0C; max-width: 100%; box-sizing: border-box; white-space: normal; word-wrap: break-word; transition: opacity 0.2s ease; }
.page-index__btn:hover { opacity: 0.9; }
.page-index__archive-layout { max-width: 1200px; margin: 0 auto 40px; padding: 0 16px; display: grid; grid-template-columns: 3fr 1fr; gap: 28px; box-sizing: border-box; }
.page-index__post-list { min-width: 0; }
.page-index__post-card { display: flex; gap: 16px; align-items: stretch; text-decoration: none; color: inherit; border: 1px solid #FFB700; border-radius: 8px; overflow: hidden; margin-bottom: 14px; padding: 0; background: #17191F; }
.page-index__post-thumb { flex: 0 0 40%; max-width: 40%; position: relative; overflow: hidden; }
.page-index__post-thumb img { width: 100%; height: 100%; min- object-fit: cover; display: block; }
.page-index__post-body { flex: 1; padding: 14px 16px; text-align: center; min-width: 0; }
.page-index__post-title { margin: 0 0 8px; font-size: 1.05rem; line-height: 1.35; color: #FFA53A; }
.page-index__post-divider { width: 40px; height: 2px; background: #FFB700; margin: 0 auto 10px; }
.page-index__post-excerpt { margin: 0; font-size: 0.92rem; opacity: 0.9; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: #FFF3E6; line-height: 1.55; }
.page-index__post-sidebar { min-width: 0; }
.page-index__widget { margin-bottom: 26px; background: #17191F; border: 1px solid #A84F0C; border-radius: 8px; padding: 14px; box-sizing: border-box; }
.page-index__widget-title { margin: 0 0 8px; font-size: 1.1rem; color: #FFA53A; }
.page-index__widget-divider { width: 40px; height: 2px; background: #f86f20; margin-bottom: 12px; }
.page-index__recent-list { list-style: none; margin: 0; padding: 0; }
.page-index__recent-item { border-bottom: 1px solid rgba(168, 79, 12, 0.4); }
.page-index__recent-item:last-child { border-bottom: none; }
.page-index__recent-link { display: flex; gap: 10px; align-items: flex-start; text-decoration: none; color: inherit; padding: 8px 0; }
.page-index__recent-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; flex-shrink: 0; display: block; }
.page-index__recent-title { font-size: 0.92rem; line-height: 1.35; color: #FFF3E6; }
.page-index__recent-link:hover .page-index__recent-title { color: #FFB04D; }
.page-index__cat-list { list-style: none; padding: 0; margin: 0; }
.page-index__cat-list li { margin-bottom: 8px; }
.page-index__cat-list a { color: #FFB04D; text-decoration: none; font-size: 0.95rem; }
.page-index__cat-list a:hover { color: #FF8C1A; text-decoration: underline; }
@media (max-width: 1024px) {
  .page-index__archive-layout { grid-template-columns: 2fr 1fr; gap: 20px; }
  .page-index__post-thumb { flex: 0 0 36%; max-width: 36%; }
}
@media (max-width: 768px) {
  .page-index { overflow-x: hidden; max-width: 100%; }
  .page-index img { max-width: 100% !important; height: auto !important; }
  .page-index__archive-header { padding: 10px 14px 18px; max-width: 100%; }
  .page-index__page-title { font-size: 1.3rem; }
  .page-index__taxonomy-desc { padding: 0; }
  .page-index__home-content { height: auto; max-height: 480px; padding: 10px 14px; margin: 0 12px 20px; max-width: calc(100% - 24px); }
  .page-index__home-content h2 { font-size: 1.15rem; }
  .page-index__home-content h3 { font-size: 1rem; }
  .page-index__cta-section { padding: 0 12px; max-width: 100%; }
  .page-index__cta-inner { flex-direction: column; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
  .page-index__btn { max-width: 100% !important; width: 100% !important; box-sizing: border-box !important; white-space: normal !important; word-wrap: break-word !important; padding-left: 15px !important; padding-right: 15px !important; }
  .page-index__archive-layout { grid-template-columns: 1fr; gap: 20px; max-width: 100%; padding: 0 12px; overflow-x: hidden; }
  .page-index__post-card { flex-direction: column; }
  .page-index__post-thumb { flex: none; max-width: 100%; width: 100%; }
  .page-index__post-thumb img { min- max-height: 220px; width: 100% !important; height: auto !important; }
  .page-index__post-body { width: 100%; box-sizing: border-box; padding: 12px 14px; }
  .page-index__widget { max-width: 100%; box-sizing: border-box; padding: 12px; }
  .page-index__recent-thumb { width: 64px; height: 64px; }
  .page-index__cat-list a { display: inline-block; padding: 4px 0; }
}