/*
 * GEO-Base — 最小 Reset + 辅助类
 * 所有视觉样式由子主题 theme.css 负责。此文件仅提供：
 *   - 浏览器默认重置（未被 theme.css 覆盖的部分）
 *   - 无障碍辅助类
 *   - 汉堡菜单图标结构
 *   - 通用标签样式
 */

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

img, svg, video, canvas {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th, td {
    text-align: left;
    padding: 8px 12px;
}

/* 无障碍 */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.geo-skip-link:focus {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 9999;
    display: block;
    padding: 12px 20px;
    background: #1a56db;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    border-radius: 4px;
    width: auto;
    height: auto;
    clip: auto;
}

/* 汉堡菜单图标结构 */
.geo-nav__toggle-icon,
.geo-nav__toggle-icon::before,
.geo-nav__toggle-icon::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--c-heading, #111827);
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
}
.geo-nav__toggle-icon { position: relative; }
.geo-nav__toggle-icon::before,
.geo-nav__toggle-icon::after { content: ''; position: absolute; left: 0; }
.geo-nav__toggle-icon::before { top: -7px; }
.geo-nav__toggle-icon::after  { top: 7px; }

/* FAQ details-marker 隐藏 */
.geo-faq__question::-webkit-details-marker { display: none; }

/* 通用标签 */
.geo-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f3f4f6;
    border-radius: 4px;
    font-size: 13px;
    color: #6b7280;
    margin: 4px;
}

/* FAQ 答案区（theme.css 未覆盖的属性） */
.geo-faq__answer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    color: #4b5563;
}

/* 网格移动端回退（theme.css 无 mobile grid 覆盖） */
@media (max-width: 768px) {
    .geo-grid {
        grid-template-columns: 1fr;
    }
}
