.entry-content h2, .entry-content h3 { color: #000; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content a { overflow-wrap: anywhere; }
.article-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.article-grid .archive-item { margin: 0; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.article-grid h2 { font-size: 22px; line-height: 1.6; overflow-wrap: anywhere; }
.archive-image img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.article-shell { max-width: 960px; }
.article-content .entry-content { font-size: 17px; line-height: 1.95; overflow-wrap: anywhere; }
.article-content .entry-content img { display: block; margin: 28px auto; }
.article-content .entry-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.article-content .entry-content td, .article-content .entry-content th { padding: 12px; border: 1px solid var(--line); }
.article-cover img { width: 100%; height: auto; max-height: 560px; object-fit: contain; margin-bottom: 32px; }
.article-categories a { color: var(--brown); font-size: 14px; }
.article-content time { color: var(--body); font-size: 14px; }
.post-navigation { margin: 48px 0; border-top: 1px solid var(--line); padding-top: 24px; }
.post-navigation .nav-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; overflow-wrap: anywhere; }
.pagination { margin: 36px 0; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 12px; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 5px; }
.pagination .current { background: #000; color: #fff; }
.linlin-video { aspect-ratio: 16/9; width: 100%; background: #000; margin: 24px 0; }
.linlin-video iframe { width: 100%; height: 100%; border: 0; }
.linlin-material-body { margin: 24px 0; }
.linlin-material-locked { padding: 20px; border: 1px solid var(--line); border-radius: 10px; }
.contact-intro { max-width: 760px; font-size: 18px; line-height: 2; margin-bottom: 40px; }
.contact-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.contact-grid section { background: #fff; padding: 28px; border: 1px solid var(--line); border-radius: 16px; }
.contact-grid h2 { margin-top: 0; font-size: 24px; }
.contact-grid a { color: var(--brown); }
.faq-section { margin-top: 64px; }
.faq-section details { background: #fff; border-bottom: 1px solid var(--line); padding: 20px 24px; }
.faq-section summary { cursor: pointer; font-weight: 600; color: #000; }
.faq-section details p { margin-bottom: 0; padding-left: 16px; }
.catalog-nav { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 40px; }
.catalog-nav a { border: 1px solid var(--line); border-radius: 30px; padding: 10px 24px; color: #000; background: #fff; }
#in-person, #online { scroll-margin-top: 130px; clear: both; }
.landing-shell { max-width: 1000px; margin: auto; background: #fff; }
.landing-content .entry-content { line-height: 1.8; }
.landing-content .entry-content > p { margin: 0; }
.landing-content .entry-content img { display: block; width: 100%; margin: 0 auto; }
.landing-content .entry-content > h2, .landing-content .entry-content > p:not(:has(img)) { padding: 20px 24px; }
.landing-content .entry-content > p:has(> a:only-child):not(:has(img)) { display: inline-block; padding: 12px 24px; }
.landing-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 28px; padding: 40px 24px; }
.course-inquiry { padding: 20px; background: #f4eee8; border-radius: 10px; margin: 24px 0; }
.course-inquiry p { margin-top: 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-bottom: 22px; }
.footer-links a { color: inherit; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.woocommerce ul.products li.product { background: #fff; padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
.woocommerce ul.products li.product a img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 920px; }
.woocommerce div.product .woocommerce-tabs .panel img { display: block; max-width: 100%; height: auto; margin: 24px auto; }
.woocommerce div.product .woocommerce-tabs .panel h2 { color: #000; font-size: 26px; line-height: 1.5; }
.woocommerce div.product .woocommerce-tabs .panel h3 { font-size: 22px; }
.woocommerce div.product .woocommerce-tabs .panel div { max-width: 100%; }
@media (max-width: 767px) {
    .article-grid { grid-template-columns: 1fr; }
    .article-grid .archive-item { padding: 18px; }
    .article-content .entry-content { font-size: 16px; }
    .post-navigation .nav-links { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-intro { font-size: 16px; }
    .contact-grid section { padding: 22px; }
    .faq-section { margin-top: 36px; }
    .faq-section details { padding: 18px 16px; }
    .woocommerce div.product .woocommerce-tabs .panel h2 { font-size: 22px; }
}
