/* breadcrumb */
.wrapper .breadcrumb { background: none; }
.wrapper .breadcrumb ol { padding: 0; margin: 12px 0 8px; display: flex; flex-wrap: wrap; gap: .4rem .6rem; }
.wrapper .breadcrumb li { display: flex; align-items: center; gap: 0 .6rem; line-height: 1.35; }
.wrapper .breadcrumb li:not(:last-child)::after { width: 1px; height: .7em; background: var(--muted); display: block; opacity: .7; transform: rotate(15deg); content: ""; }
.wrapper .breadcrumb a { line-height: 1; color: var(--brand-2); text-decoration: none; }
.wrapper .breadcrumb a:hover { text-decoration: underline; }
.wrapper .breadcrumb li[aria-current="page"] { color: var(--muted); }

/* archive-head */
.archive-head { margin: 16px 0 10px; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.archive-head h1 { margin: 0; font-size: clamp(24px, 3vw, 32px); color: var(--brand-2); }
.archive-desc { margin: .2rem 0 0; color: var(--muted); }
.archive-search { display: flex; gap: 8px; align-items: center }
.archive-search input { padding: .7rem .9rem; min-width: 220px; background: #fff; border-radius: 12px; border: 1px solid #e5e7eb; }
.archive-search button { padding: .7rem 1rem; background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-radius: 12px; border: 0; font-weight: 700; color: #fff; cursor: pointer; }

/* archive-layout */
.archive-layout { margin: 10px 0 20px; display: grid; align-items: start; grid-template-columns: 1fr 320px; gap: 20px; }

/* post-list */
.post-list { display: grid; grid-template-columns: 1fr; gap: 2em 1.5em; }

/* post-card */
.post-card { overflow: hidden; display: grid; grid-template-columns: 320px 1fr; gap: 0; }
.post-card .thumb { background: #f3f4f6; display: block; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; display: block; }
.post-card .post-body { padding: 16px 18px; display: grid; gap: 10px; align-content: start; }

.meta-row { display: flex; align-items: baseline; gap: 8px; color: var(--muted); font-size: .92rem; }
.meta-row .cat { list-style: 1; font-weight: 700; color: var(--brand-2); text-decoration: none; }
.meta-row .cat:hover { text-decoration: underline; }
.meta-row .dot { font-family: ui-monospace; opacity: .5; }

.post-title { margin: .1rem 0 10px; font-size: clamp(18px,2.2vw,22px); line-height: 1.35; }
.post-title a { color: var(--text); text-decoration: none; }
.post-title a:hover { color: var(--brand-2); }

.excerpt { margin: 0; height: 5em; color: var(--muted); opacity: .9; -webkit-line-clamp: 3; }

/* aside-box */
.aside-box { padding: 16px; }
.aside-title { margin: 0 0 .6rem; font-size: 1.05rem; color: var(--brand-2); }

.archive-aside { position: sticky; top: 80px; }

.cat-list { display: grid; gap: 8px; }
.cat-list a { padding: .55rem .7rem; border-bottom: 1px solid #eee; background: #fff; color: #374151; text-decoration: none; }
.cat-list a:hover { background: #f9f7f4; border-color: #ecd5bf; }

.muted { margin: .3rem 0; color: var(--muted); }

.link { color: var(--brand-2); text-decoration: none; }
.link:hover { text-decoration: underline; }

/* pagination */
.pagination { margin: 16px 0 40px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.pagination a, .pagination strong { padding: 0 .3rem; min-width: 2rem; height: 2rem; background: #fff; border-radius: .3rem; border: 1px solid #e5e7eb; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; color: #374151; text-decoration: none; }
.pagination a:hover { background: #f9f7f4; border-color: #ecd5bf }
.pagination strong { background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-color: transparent; color: #fff; }

/* post */
.blog-single .post-title { font-size: clamp(22px, 3vw, 30px); color: var(--brand-2); }
.blog-single .post.panel { overflow: hidden; padding: 0 0 28px; background: var(--panel); border: 1px solid #f1f1f1; border-radius: var(--radius); box-shadow: var(--shadow); }
.blog-single .post-header { padding: 20px 22px 10px; }
.blog-single .post-header .post-meta { margin: 0 0 10px; }
.blog-single .post-cover { width: 100%; height: auto; object-fit: cover; aspect-ratio: 4/3; border-radius: 0; }
.blog-single .post-body { padding: 0 22px; line-height: 1.8; color: var(--text); }
.blog-single .post-body h2 { margin: 1.6rem 0 .6rem; font-size: 1.35rem; color: var(--brand-2); }

/* post-footer */
.post-footer { padding: 0 22px; }
.post-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.post-nav a { font-weight: 700; color: var(--brand-2); text-decoration: none; }
.post-nav a:hover { text-decoration: underline; }

/* service-tabs */
.service-tabs { padding: 0 22px; }
.service-tabs .tab-nav { margin: 24px 0; border-bottom: 1px solid #e5e7eb; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.service-tabs .tab-btn { padding: 0.8rem 1.4rem; background: none; border: none; border-radius: .3rem .3rem 0 0; font-weight: 600; color: var(--muted); cursor: pointer; transition: all .25s ease; }
.service-tabs .tab-btn.active { background: linear-gradient(90deg, var(--brand), var(--brand-2)); box-shadow: 0 -2px 6px rgba(0, 0, 0, .08); color: #fff; }
.service-tabs .tab-btn:hover:not(.active) { color: var(--brand-2); }
.service-tabs .tab-content { padding: 1rem 0; display: none; animation: fadeIn .4s ease; }
.service-tabs .tab-content.active { display: block; }

/* faq-list */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item details { overflow: hidden; background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); transition: box-shadow 0.3s ease, transform 0.3s ease; }
.faq-item details:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1); }
.faq-item summary { position: relative; padding: 1rem 1.2rem; list-style: none; font-weight: 600; color: var(--brand-2); transition: background 0.25s ease; cursor: pointer; }
.faq-item summary:hover { background: #faf8f6; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; font-weight: bold; color: var(--brand); right: 1rem; top: 50%; content: "›"; transition: transform 0.35s ease; transform: translateY(-50%) rotate(90deg); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(-90deg); }
.faq-item .answer { overflow: hidden; padding: 0 1.2rem; max-height: 0; color: var(--text); opacity: 0; transition: max-height 0.45s ease, opacity 0.3s ease, padding 0.3s ease; }
.faq-item details[open] .answer { padding: 1rem 1.2rem; max-height: 800px; opacity: 1; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1024px) {
	.archive-layout { grid-template-columns: 1fr; }
}
@media (min-width: 861px) {
	.post-list.grid-2 .post-card { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	.archive-head { flex-wrap: wrap; }
	.archive-search { width: 100%; }
	.archive-search input { flex: 1; }
	.post-card { grid-template-columns: 1fr; }
	.post-card .post-body { padding: 14px; }
}
@media (max-width: 768px) {
	.service-tabs .tab-btn { flex: 1 1 48%; font-size: 0.95rem; }
	.faq-item summary { font-size: 1rem; }
}
@media (min-width: 680px) {
	.post-list { grid-template-columns: 1fr; }
	.post-list.grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 550px) {
	.pagination { gap: 8px; }
	.pagination a, .pagination strong { font-size: .95rem; }
}