/*
 Theme Name:   Astra Child - 다이아몬드치과의원
 Theme URI:    https://diadental.kr/column/
 Description:  다이아몬드치과의원 워드프레스 칼럼용 차일드 테마
 Author:       다이아몬드치과의원
 Template:     astra
 Version:      2.0.0
 Text Domain:  astra-child
*/

@media screen and (max-width: 600px) { #wpadminbar { position: fixed; } }
#ast-scroll-top { display: none !important; }

body { margin: 0 !important; padding: 0 !important; font-family: "Pretendard", -apple-system, sans-serif; }
#page { margin-top: 0 !important; padding-top: 0 !important; }
#page > *:first-child { margin-top: 0 !important; }
.wp-site-blocks > *:first-child { margin-block-start: 0 !important; }
.site-content { margin-top: 0 !important; }
#masthead, .site-header, .main-header-bar, .ast-above-header-bar, .ast-above-header,
.ast-mobile-header-wrap, .ast-main-header-bar-alignment { display: none !important; }
.site-footer, .ast-small-footer, .site-below-footer-wrap, .ast-footer-copyright,
.ast-footer-overlay, .site-below-footer-col-1, #colophon,
footer.entry-footer { display: none !important; }

.wp-col-header { background: #fff; border-bottom: 1px solid #eee; position: relative; z-index: 99999; }
.wp-col-header nav { display: flex; align-items: center; justify-content: space-between; max-width: 1440px; margin: 0 auto; padding: 16px 30px; }
.wp-col-header .hd-logo img { height: 36px; width: auto; display: block; }
.wp-col-header .hd-menu { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; align-items: center; }
.wp-col-header .hd-menu a { font-size: 13.5px; font-weight: 500; color: #333; text-decoration: none; transition: color 0.2s; letter-spacing: -0.3px; white-space: nowrap; }
.wp-col-header .hd-menu a:hover { color: #c3a983; }
.wp-col-header .hd-menu li:last-child a { background: #c3a983; color: #fff; padding: 8px 16px; border-radius: 6px; font-weight: 600; }
.wp-col-header .hd-menu li:last-child a:hover { opacity: 0.85; color: #fff; }
.wp-col-header .mo-toggle { display: none; cursor: pointer; padding: 8px; background: none; border: none; }
.wp-col-header .mo-toggle span { display: block; width: 20px; height: 2px; background: #333; margin: 4px 0; }

@media (max-width: 768px) {
    .wp-col-header .hd-menu { display: none; position: fixed; top: 0; right: -100%; width: 75%; max-width: 300px; height: 100vh; background: #fff; flex-direction: column; gap: 0; padding: 60px 0 20px; z-index: 999999; box-shadow: -4px 0 20px rgba(0,0,0,0.1); transition: right 0.3s ease; overflow-y: auto; }
    .wp-col-header .hd-menu.open { display: flex; right: 0; }
    .wp-col-header .hd-menu a { padding: 14px 24px; font-size: 16px; border-bottom: 1px solid #f0f0f0; }
    .wp-col-header .mo-toggle { display: block; }
    .wp-col-header .mo-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 999998; }
    .wp-col-header .mo-overlay.open { display: block; }
}

.wp-col-footer { background: #000000; padding: 40px 20px; }
.wp-col-footer .ft-inner { max-width: 1440px; margin: 0 auto; display: flex; align-items: flex-start; justify-content: flex-start; gap: 50px; }
.wp-col-footer .ft-logo img { height: 30px; width: auto; filter: brightness(0) invert(1); margin-bottom: 20px; }
.wp-col-footer .ft-info p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.8; margin: 0; }
.wp-col-footer .ft-price { margin-top: 20px; }
.wp-col-footer .ft-price a { display: inline-flex; align-items: center; justify-content: center; background: #c3a983; color: #fff; text-decoration: none; padding: 12px 28px; border-radius: 100px; font-size: 15px; font-weight: 500; }
@media (max-width: 768px) {
    .wp-col-footer { padding: 30px 20px 100px; }
    .wp-col-footer .ft-inner { flex-direction: column; gap: 20px; }
    .wp-col-footer .ft-info p { font-size: 13px; }
}

.wp-col-quick { position: fixed; bottom: 20px; right: 20px; z-index: 9999; }
.wp-col-quick .qm-list { display: none; margin-bottom: 16px; }
.wp-col-quick .qm-list.open { display: block; }
.wp-col-quick .qm-item { display: flex; flex-direction: column; align-items: center; margin-bottom: 16px; text-decoration: none; }
.wp-col-quick .qm-item img { width: 28px; height: 28px; }
.wp-col-quick .qm-item span { margin-top: 4px; font-size: 11px; font-weight: 500; color: rgba(61,66,67,0.7); background: rgba(246,244,236,0.85); border-radius: 4px; padding: 1px 6px; white-space: nowrap; }
.wp-col-quick .qm-toggle { width: 72px; height: 72px; border-radius: 50%; background: rgba(61,30,14,0.85); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); border: none; cursor: pointer; padding: 4px; display: flex; align-items: center; justify-content: center; }
.wp-col-quick .qm-toggle-inner { width: 100%; height: 100%; border: 1px solid rgba(255,255,255,0.6); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: "Marcellus", serif; font-size: 12px; color: #fff; line-height: 1.3; text-align: center; }
.wp-col-quick .qm-top { display: flex; flex-direction: column; align-items: center; margin-top: 8px; cursor: pointer; background: none; border: none; opacity: 0.7; }
.wp-col-quick .qm-top span { font-family: "Marcellus", serif; font-size: 13px; margin-top: 2px; }

.wp-col-mobar { display: none; }
@media (max-width: 768px) {
    .wp-col-quick { display: none; }
    .wp-col-mobar { display: block; position: fixed; bottom: 0; left: 0; width: 100%; background: #fff; border-top: 1px solid #eee; z-index: 9999; }
    .wp-col-mobar ul { display: flex; margin: 0; padding: 0; list-style: none; }
    .wp-col-mobar li { flex: 1; }
    .wp-col-mobar a { display: flex; flex-direction: column; align-items: center; padding: 10px 0; text-decoration: none; color: #333; font-size: 11px; }
    .wp-col-mobar img { width: 22px; height: 22px; margin-bottom: 3px; }
}

.ast-container { max-width: 1200px; margin: 0 auto; }
.ast-separate-container .ast-article-post { background: #fff; border: 1px solid #eee; border-radius: 12px; overflow: hidden; transition: box-shadow 0.3s ease, transform 0.2s ease; }
.ast-separate-container .ast-article-post:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }

.ast-row { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 24px !important; }
.ast-row .ast-grid-common-col { margin-bottom: 0 !important; }
@media (max-width: 921px) { .ast-row { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 544px) { .ast-row { grid-template-columns: 1fr !important; } }

.post-thumb img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px 12px 0 0; }
.ast-no-thumb .post-thumb { display: none; }

.cat-links { margin-top: 16px; display: block; }
.cat-links a { background: #c3a983; color: #fff !important; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; letter-spacing: 0.5px; text-decoration: none; display: inline-block; }

.blog .entry-title { font-size: 18px; font-weight: 700; line-height: 1.4; margin: 12px 0 8px; }
.blog .entry-title a { color: #222; text-decoration: none; }
.blog .entry-title a:hover { color: #c3a983; }

.blog-layout-4 header.entry-header, .ast-article-post header.entry-header { all: unset !important; display: block !important; }
.entry-meta { font-size: 13px; color: #999; margin-bottom: 8px; }
.entry-meta a { color: #999; text-decoration: none; }
.entry-meta .author-name { font-weight: 600; color: #444; }

.ast-excerpt-container { font-size: 14px; color: #666; line-height: 1.6; }
.ast-excerpt-container p { margin: 0; }
.blog-layout-4 .post-content { padding: 20px; }

.ast-pagination { text-align: center; margin: 40px 0; }
.ast-pagination .page-numbers { display: inline-block; padding: 8px 14px; margin: 0 4px; border-radius: 8px; font-size: 14px; color: #666; text-decoration: none; border: 1px solid #ddd; }
.ast-pagination .page-numbers.current { background: #c3a983; color: #fff; border-color: #c3a983; }

.ast-single-post .ast-article-single { background: #fff; border-radius: 12px; padding: 40px; max-width: 860px; margin: 30px auto; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.ast-single-post .entry-header { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.ast-single-post .entry-title { font-size: 28px; font-weight: 800; line-height: 1.4; margin-bottom: 12px; color: #222; }
.ast-single-post .entry-content { font-size: 16px; line-height: 1.9; color: #333; }
.ast-single-post .entry-content p { margin-bottom: 1.5em; }
.ast-single-post .entry-content img { border-radius: 8px; max-width: 100%; height: auto; }
.ast-single-post .entry-content h2 { font-size: 22px; font-weight: 700; margin: 2em 0 0.8em; padding-left: 14px; border-left: 4px solid #c3a983; }
.ast-single-post .entry-content h3 { font-size: 18px; font-weight: 700; margin: 1.5em 0 0.6em; color: #444; }
.ast-single-post .entry-content blockquote { background: #f7f8f6; border-left: 4px solid #c3a983; padding: 16px 20px; margin: 1.5em 0; border-radius: 0 8px 8px 0; }
.ast-single-post .navigation.post-navigation { max-width: 860px; margin: 0 auto 30px; background: #fff; border-radius: 12px; padding: 0; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.ast-single-post .nav-links { display: flex; }
.ast-single-post .nav-links > div { flex: 1; }
.ast-single-post .nav-links a { display: flex; align-items: center; gap: 12px; padding: 20px 24px; text-decoration: none; color: #333; transition: background 0.2s; }
.ast-single-post .nav-links a:hover { background: #f7f8f6; }
.ast-single-post .nav-links .nav-next { border-left: 1px solid #eee; }
.ast-single-post .nav-links a p { margin: 0; font-size: 15px; font-weight: 600; }
.ast-single-post .cat-links a { background: #c3a983; color: #fff !important; padding: 4px 12px; border-radius: 20px; font-size: 12px; }

#primary { margin-top: 30px; margin-bottom: 30px; }
.site-content > .ast-container { padding-top: 0; }

.site-content > .ast-container { display: flex; gap: 30px; align-items: flex-start; }
.site-content > .ast-container > #primary { flex: 1; min-width: 0; }
.wp-col-sidebar { width: 280px; flex-shrink: 0; position: sticky; top: 80px;  }
.wp-col-sidebar::-webkit-scrollbar { width: 0; }
.wp-col-sidebar *, .wp-col-sidebar *::before, .wp-col-sidebar *::after { box-sizing: border-box; }
.wp-col-sidebar .sb-widget { background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); padding: 24px; margin-bottom: 20px; overflow: hidden; }
.wp-col-sidebar .sb-title { font-size: 16px; font-weight: 700; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid #eee; display: flex; align-items: center; gap: 8px; }
.wp-col-sidebar .sb-title .sb-icon { font-size: 18px; }

.wp-col-sidebar .sb-phone { display: block; width: 100%; padding: 14px; background: #c3a983; color: #fff; text-align: center; border-radius: 100px; font-size: 18px; font-weight: 700; text-decoration: none; letter-spacing: 0.5px; margin-bottom: 12px; box-sizing: border-box; }
.wp-col-sidebar .sb-phone:hover { opacity: 0.9; }
.wp-col-sidebar .sb-cta { font-size: 13px; color: #888; text-align: center; margin-bottom: 16px; }
.wp-col-sidebar .sb-hours { width: 100%; }
.wp-col-sidebar .sb-hours .sb-hour-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; border-bottom: 1px solid #f5f5f5; }
.wp-col-sidebar .sb-hours .sb-hour-row:last-child { border-bottom: none; }
.wp-col-sidebar .sb-hours .sb-day { font-weight: 600; color: #333; }
.wp-col-sidebar .sb-hours .sb-time { color: #555; }
.wp-col-sidebar .sb-hours .sb-hour-note { font-size: 12px; color: #999; margin-top: 8px; line-height: 1.5; }


.wp-col-sidebar .sb-doctor { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.wp-col-sidebar .sb-doctor:first-of-type { padding-top: 0; }
.wp-col-sidebar .sb-doctor-icon { width: 40px; height: 40px; background: #f0f0f0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.wp-col-sidebar .sb-doctor-name { font-size: 15px; font-weight: 600; color: #222; }
.wp-col-sidebar .sb-doctor-spec { font-size: 13px; color: #888; margin-top: 2px; }

.wp-col-sideb
.ast-single-post .site-content > .ast-container { display: block; }

@media (max-width: 992px) {
    .site-content > .ast-container { flex-direction: column; }
    .wp-col-sidebar { width: 100%; position: static; }
}
@media (max-width: 768px) {
    .ast-container { padding: 0 16px; }
    .blog .entry-title { font-size: 16px; }
    .ast-single-post .ast-article-single { padding: 20px; margin: 0; }
    .ast-single-post .entry-title { font-size: 22px; }
    .ast-single-post .nav-links { flex-direction: column; }
    .ast-single-post .nav-links .nav-next { border-left: none; border-top: 1px solid #eee; }
    #primary { margin-bottom: 80px; }
}

/* ─── 콘텐츠 래퍼 (사이드바 레이아웃) ─── */
.col-content-wrap { display: flex; gap: 30px; align-items: flex-start; max-width: 1200px; margin: 0 auto; padding: 30px 20px; }
.col-content-wrap > #primary { flex: 1; min-width: 0; }
@media (max-width: 992px) {
    .col-content-wrap { flex-direction: column; }
    .col-contenh: 100%;position: static; max-height: none; }
}
@media (max-width: 768px) {
    .col-conten
}

/* ─── 사이드바 디자인 개편 ─── */
.wp-col-sidebar .sb-widget { border: 1px solid #f0ebe4; }
.wp-col-sidebar .sb-title { color: #3d1e0e; border-bottom-color: #f0ebe4; font-size: 15px; letter-spacing: -0.3px; }
.wp-col-sidebar .sb-reservation { border-top: 3px solid #3d1e0e; }
.wp-col-sidebar .sb-phone { background: #3d1e0e; display: flex; align-items: center; justify-content: center; gap: 8px; }
.wp-col-sidebar .sb-phone:hover { background: #2a1509; }
.wp-col-sidebar .sb-hour-row .sb-highlight { color: #3d1e0e; font-weight: 600; }
.wp-col-sidebar .sb-closed .sb-time { color: #c0392b; font-weight: 600; }

.wp-col-sidebar .sb-doctor-avatar { width: 44px; height: 44px; background: #f5f0ea; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.wp-col-sidebar .sb-map-info { display: flex; flex-direction: column; gap: 12px; }
.wp-col-sidebar .sb-location-row { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #444; line-height: 1.5; }
.wp-col-sidebar .sb-location-row svg { flex-shrink: 0; margin-top: 2px; }
.wp-col-sidebar .sb-sub { font-size: 13px; color: #888; }

/* FAQ 아코디언 */
.sb-faq-widget .sb-faq-item { border-bottom: 1px solid #f0ebe4; }
.sb-faq-widget .sb-faq-item:last-child { border-bottom: none; }
.sb-faq-widget .sb-faq-item summary { padding: 14px 0; font-size: 14px; font-weight: 600; color: #222; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; transition: color 0.2s; }
.sb-faq-widget .sb-faq-item summary::-webkit-details-marker { display: none; }
.sb-faq-widget .sb-faq-item summary::after { content: "+"; font-size: 18px; font-weight: 300; color: #3d1e0e; transition: transform 0.3s; flex-shrink: 0; margin-left: 12px; }
.sb-faq-widget .sb-faq-item[open] summary::after { content: "\2212"; }
.sb-faq-widget .sb-faq-item summary:hover { color: #3d1e0e; }
.sb-faq-widget .sb-faq-item p { margin: 0 0 14px; font-size: 13px; color: #666; line-height: 1.7; padding: 0 0 0 4px; border-left: 2px solid #f0ebe4; padding-left: 12px; }

/* ─── Post Navigation 개편 ─── */
.ast-single-post .navigation.post-navigation { max-width: 860px; margin: 30px auto; background: none; border-radius: 0; padding: 0; overflow: visible; box-shadow: none; }
.ast-single-post .nav-links { display: flex; gap: 16px; }
.ast-single-post .nav-links > div { flex: 1; }
.ast-single-post .nav-links a { display: block; padding: 20px 24px; text-decoration: none; color: #fff; background: #3d1e0e; border-radius: 12px; transition: all 0.3s; position: relative; }
.ast-single-post .nav-links a:hover { background: #2a1509; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(61,30,14,0.3); }
.ast-single-post .nav-links a .nav-subtitle { display: block; font-size: 12px; font-weight: 400; opacity: 0.7; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 1px; }
.ast-single-post .nav-links a p { margin: 0; font-size: 15px; font-weight: 600; color: #fff; line-height: 1.4; }
.ast-single-post .nav-links .nav-previous a::before { content: "\2190"; font-size: 18px; margin-right: 8px; }
.ast-single-post .nav-links .nav-next { border-left: none; }
.ast-single-post .nav-links .nav-next a { text-align: right; }
.ast-single-post .nav-links .nav-next a::after { content: "\2192"; font-size: 18px; margin-left: 8px; }
@media (max-width: 768px) {
    .ast-single-post .nav-links { flex-direction: column; gap: 12px; }
    .ast-single-post .nav-links .nav-next { border-top: none; }
    .ast-single-post .nav-links a { padding: 16px 20px; }
}

/* ─── 모바일 GNB 개편 ─── */
@media (max-width: 768px) {
    .wp-col-header { background: #3d1e0e; border-bottom: none; position: fixed; top: 0; left: 0; width: 100%; z-index: 99999; }
    .wp-col-header nav { padding: 12px 16px; }
    .wp-col-header .hd-logo img { height: 28px; filter: brightness(0) invert(1); }
    .wp-col-header .mo-toggle span { background: #fff; }
    .wp-col-header .hd-menu { top: 0; right: -100%; background: #3d1e0e; padding: 70px 0 30px; }
    .wp-col-header .hd-menu.open { right: 0; }
    .wp-col-header .hd-menu a { color: rgba(255,255,255,0.85); border-bottom: 1px solid rgba(255,255,255,0.1); padding: 16px 28px; font-size: 15px; font-weight: 500; }
    .wp-col-header .hd-menu a:hover { color: #c3a983; background: rgba(255,255,255,0.05); }
    .wp-col-header .hd-menu li:last-child a { background: #c3a983; color: #fff; margin: 20px 24px 0; border-radius: 8px; text-align: center; border-bottom: none; padding: 14px 16px; }
    .wp-col-header .mo-overlay { background: rgba(0,0,0,0.6); }
    .col-content-wrap { padding-top: 56px !important; }
    body.single .col-content-wrap { padding-top: 56px !important; }
}

/* ─── Post Navigation 수정 (Astra 4.14 구조) ─── */
.ast-single-post .navigation.post-navigation { max-width: 860px !important; margin: 30px auto !important; background: none !important; border-radius: 0 !important; padding: 0 !important; overflow: visible !important; box-shadow: none !important; }
.ast-single-post .navigation.post-navigation .nav-links { display: flex !important; gap: 16px !important; }
.ast-single-post .navigation.post-navigation .nav-links > div { flex: 1 !important; }
.ast-single-post .navigation.post-navigation .nav-links a { display: flex !important; align-items: center; gap: 12px; padding: 18px 22px !important; text-decoration: none !important; color: #fff !important; background: #3d1e0e !important; border-radius: 10px !important; transition: all 0.3s !important; height: auto !important; min-height: 0 !important; }
.ast-single-post .navigation.post-navigation .nav-links a:hover { background: #2a1509 !important; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(61,30,14,0.25); }
.ast-single-post .navigation.post-navigation .nav-links a .ast-post-nav { font-size: 12px; opacity: 0.7; letter-spacing: 0.5px; white-space: nowrap; }
.ast-single-post .navigation.post-navigation .nav-links a .ast-post-nav svg { fill: #fff; width: 14px; height: 14px; }
.ast-single-post .navigation.post-navigation .nav-links a p { margin: 0 !important; font-size: 14px !important; font-weight: 600 !important; color: #fff !important; line-height: 1.4 !important; }
.ast-single-post .navigation.post-navigation .nav-links .nav-next { border-left: none !important; }
.ast-single-post .navigation.post-navigation .nav-links .nav-next a { justify-content: flex-end; text-align: right; }
@media (max-width: 768px) {
    .ast-single-post .navigation.post-navigation .nav-links { flex-direction: column !important; gap: 10px !important; }
    .ast-single-post .navigation.post-navigation .nav-links a { padding: 14px 18px !important; }
    .ast-single-post .navigation.post-navigation .nav-links .nav-next a { border-top: none !important; }
}

/* ─── 모바일 GNB 수정 ─── */
@media (max-width: 768px) {
    .wp-col-header { background: #3d1e0e !important; border-bottom: none !important; position: fixed !important; top: 0 !important; left: 0 !important; width: 100% !important; z-index: 99999 !important; }
    .wp-col-header nav { padding: 12px 16px !important; }
    .wp-col-header .hd-logo img { height: 28px !important; filter: brightness(0) invert(1) !important; }
    .wp-col-header .mo-toggle { display: block !important; }
    .wp-col-header .mo-toggle span { background: #fff !important; width: 22px !important; height: 2px !important; }
    .wp-col-header .hd-menu { display: none !important; position: fixed !important; top: 0 !important; right: -100% !important; width: 80% !important; max-width: 320px !important; height: 100vh !important; background: #3d1e0e !important; flex-direction: column !important; gap: 0 !important; padding: 70px 0 30px !important; z-index: 999999 !important; box-shadow: -4px 0 24px rgba(0,0,0,0.3) !important; transition: right 0.3s ease !important; overflow-y: auto !important; }
    .wp-col-header .hd-menu.open { display: flex !important; right: 0 !important; }
    .wp-col-header .hd-menu li { list-style: none !important; }
    .wp-col-header .hd-menu a { color: rgba(255,255,255,0.85) !important; border-bottom: 1px solid rgba(255,255,255,0.08) !important; padding: 16px 28px !important; font-size: 15px !important; font-weight: 500 !important; display: block !important; }
    .wp-col-header .hd-menu a:hover { color: #c3a983 !important; background: rgba(255,255,255,0.05) !important; }
    .wp-col-header .hd-menu li:last-child a { background: #c3a983 !important; color: #fff !important; margin: 20px 24px 0 !important; border-radius: 8px !important; text-align: center !important; border-bottom: none !important; padding: 14px 16px !important; }
    .wp-col-header .mo-overlay { background: rgba(0,0,0,0.5) !important; }
    .col-content-wrap { padding-top: 56px !important; }
}

.ast-single-post .navigation.post-navigation .ast-post-nav { display: none !important; }

/* 대표컬러 #3d1e0e 통일 */
.wp-col-header .hd-menu a:hover { color: #3d1e0e !important; }
.wp-col-header .hd-menu li:last-child a { background: #3d1e0e !important; }
.wp-col-header .hd-menu li:last-child a:hover { background: #c3a983 !important; color: #3d1e0e !important; opacity: 1 !important; }
.cat-links a { background: #3d1e0e !important; }
.ast-single-post .cat-links a { background: #3d1e0e !important; }
.ast-pagination .page-numbers.current { background: #3d1e0e !important; border-color: #3d1e0e !important; }

.wp-col-header .hd-menu li { width: 100%; }

@media (max-width: 768px) {
    .ast-single-post .ast-article-single { margin: 0 !important; }
}


/* 인기글 위젯 */
.sb-popular { list-style: none; padding: 0; margin: 0; }
.sb-popular li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f5f5f5; }
.sb-popular li:last-child { border-bottom: none; }
.sb-rank { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: #3d1e0e; color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.sb-popular a { font-size: 14px; color: #333; text-decoration: none; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sb-popular a:hover { color: #3d1e0e; }

/* 관련글 */
.related-posts { margin-top: 40px; padding-top: 30px; border-top: 2px solid #3d1e0e; }
.related-title { font-size: 18px; font-weight: 700; color: #222; margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-item { text-decoration: none; color: #333; border-radius: 8px; overflow: hidden; background: #faf8f5; transition: transform 0.2s; }
.related-item:hover { transform: translateY(-2px); color: #3d1e0e; }
.related-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.related-no-thumb { width: 100%; aspect-ratio: 16/9; background: #e8e0d8; }
.related-item-title { display: block; padding: 10px 12px; font-size: 14px; font-weight: 600; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 768px) {
    .related-grid { grid-template-columns: 1fr; gap: 12px; }
    .related-item { display: flex; align-items: center; }
    .related-thumb, .related-no-thumb { width: 80px; aspect-ratio: 1; flex-shrink: 0; border-radius: 6px; }
    .related-item-title { font-size: 13px; padding: 0 12px; }
}