/*
Theme Name: SmartBuoy
Template: twentytwentyfive
Description: Twenty Twenty-Five 하위 테마 — 구 grassywp 디자인(색상/글꼴/헤더/푸터)을 재현
Version: 1.0.0
Text Domain: smartbuoy
*/

/* ── 기본 (구 grassywp: Gothic A1, 본문 15px/26px #666) ── */
body { font-size: 15px; line-height: 26px; color: #666; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; }

/* ── 헤더: 흰 배경, 상단 고정, 로고 좌 / 메뉴 우 ── */
.sb-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.08); }
.admin-bar .sb-header { top: 32px; }
.sb-header .wp-block-site-title { font-size: 26px; font-weight: 700; margin: 0; }
.sb-header .wp-block-site-title a { color: #306edb; }
.sb-header .wp-block-navigation { font-size: 15px; font-weight: 600; }
.sb-header .wp-block-navigation a { color: #306edb; }
.sb-header .wp-block-navigation a:hover { color: #000; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

/* ── 섹션(구 vc_section) ── */
.fb-section { padding-top: 60px; padding-bottom: 20px; }
.fb-section h1 { margin: 0 0 10px; }
.fb-section h5 { margin: 0 0 40px; font-weight: 500; }
.fb-section h3 { margin: 30px 0 10px; }
.fb-section h3 img { vertical-align: middle; margin-right: 4px; }
.fb-section .wp-block-columns { gap: 30px; margin-bottom: 30px; }
.fb-section .wp-block-html img.aligncenter, .fb-section img.aligncenter { display: block; margin: 25px auto 15px; }

/* ── FAQ(구 vc_toggle) ── */
.fb-toggle { border-bottom: 1px solid #e5e5e5; padding: 12px 0; }
.fb-toggle summary { cursor: pointer; font-size: 14px; font-weight: 700; color: #212121; }
.fb-toggle summary::marker { color: #306edb; }

/* ── 공지사항 목록(구 KBoard) ── */
.fb-board { list-style: none; padding: 0; border-top: 2px solid #306edb; }
.fb-board li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 8px; border-bottom: 1px solid #e5e5e5; }
.fb-board li a { color: #212121; }
.fb-board .wp-block-latest-posts__post-date { color: #999; white-space: nowrap; }

/* ── 푸터 ── */
.sb-footer { border-top: 1px solid #eee; padding: 30px 0; text-align: center; color: #000; font-size: 14px; }
.sb-footer a { color: #000; }
.sb-footer p { margin: 6px 0; }

/* ── 제품구성: 송신기 / 수신기 2칸 정렬 (모델명 → 사진 → 설명) ── */
.sb-products { align-items: flex-start !important; text-align: center; }
.fb-section .sb-product-title { margin: 0 0 15px; text-align: center; }
.sb-product-img { height: 240px; display: flex; align-items: center; justify-content: center; }
.fb-section .sb-product-img img { display: block; margin: 0 auto; max-height: 240px; width: auto; max-width: 100%; }
.fb-section .sb-product-desc { margin: 15px 0 0; text-align: center; }
