/*
Theme Name: AIBOSS
Description: AI 활용 팁, 코드와 자동화, 직접 만든 서비스를 위한 가벼운 블록 테마. 사이트 편집기에서 모든 영역을 편집할 수 있습니다.
Author: AIBOSS
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: aiboss
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* No remote fonts, scripts, tracking, or build step. */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
* { box-sizing: border-box; }
::selection { color: #111312; background: #cbff45; }
:where(a, button, input, textarea, select):focus-visible { outline: 3px solid #658900; outline-offset: 5px; }
.aiboss-header :where(a, button):focus-visible,
.aiboss-hero :where(a, button):focus-visible { outline-color: #cbff45; }
.wp-site-blocks > * { margin-block-start: 0; }
.aiboss-header { border-bottom: 1px solid #323631; }
.aiboss-header-inner { min-height: 96px; gap: 1.5rem; }
.aiboss-brand { gap: .65rem; flex-wrap: nowrap !important; }
.aiboss-brand .wp-block-image { flex-shrink: 0; margin: 0; }
.aiboss-brand img { display: block; border-radius: 8px; }
.wp-block-site-title a { text-decoration: none; }
.aiboss-header .wp-block-navigation { font-size: .875rem; font-weight: 600; }
.aiboss-header .wp-block-navigation a { text-decoration: none; text-underline-offset: .4em; }
.aiboss-header .wp-block-navigation a:hover { color: #cbff45; }
.aiboss-hero { position: relative; overflow: hidden; }
.aiboss-hero h1 { max-width: 1000px; word-break: keep-all; text-wrap: balance; }
.aiboss-eyebrow { font-weight: 750; letter-spacing: .16em; }
.aiboss-hero-copy { max-width: 37rem; word-break: keep-all; text-wrap: pretty; }
.aiboss-section-heading { gap: 1rem; padding-bottom: 1.5rem; border-bottom: 1px solid #d9dcd2; }
.aiboss-post-grid { list-style: none; }
.aiboss-post-grid > li { min-width: 0; }
.aiboss-post-card { height: 100%; transition: border-color .16s ease; }
.aiboss-post-card:hover { border-color: #777f6d !important; }
.aiboss-post-card .wp-block-post-title { overflow-wrap: anywhere; }
.aiboss-post-card .wp-block-post-title a { text-decoration: none; }
.aiboss-post-card .wp-block-post-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.aiboss-post-card .wp-block-post-excerpt__excerpt { margin-block: 0; }
.aiboss-post-card .wp-block-post-excerpt__more-link { font-weight: 650; text-underline-offset: .25em; }
.aiboss-post-card .wp-block-post-featured-image { margin: 0; }
.aiboss-post-card .wp-block-post-featured-image img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
.aiboss-post-meta { gap: .65rem 1rem; font-size: .8rem; }
.aiboss-post-meta .wp-block-post-terms a { text-decoration-thickness: 1px; text-underline-offset: .25em; }
.aiboss-empty { padding-block: clamp(3rem, 8vw, 6rem); }
.aiboss-article-title { word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
.wp-block-post-content { overflow-wrap: anywhere; }
.wp-block-post-content :where(h2,h3,h4) { margin-top: 2em; word-break: keep-all; scroll-margin-top: 2rem; }
.wp-block-post-content p { word-break: keep-all; }
.wp-block-post-content :where(ul,ol) { padding-inline-start: 1.5em; }
.wp-block-post-content li + li { margin-block-start: .4em; }
.wp-block-post-content :where(img, video) { max-width: 100%; height: auto; }
.wp-block-post-content :where(iframe,embed,object) { max-width: 100%; }
.wp-block-post-content a { text-underline-offset: .2em; text-decoration-thickness: 1px; }
.wp-block-post-content :not(pre) > code { background: #e6e9de; color: #20251c; padding: .15em .35em; border-radius: 4px; font-size: .88em; }
/* Code is never clipped: long lines remain available through horizontal scrolling. */
.wp-block-code, pre { max-width: 100%; overflow-x: auto; white-space: pre; tab-size: 2; }
.wp-block-code code { display: block; min-width: max-content; white-space: pre; overflow-wrap: normal; word-break: normal; }
.wp-block-table { overflow-x: auto; }
.wp-block-table table { min-width: 32rem; }
.aiboss-pagination { gap: 1rem; margin-top: 3rem; font-size: .9rem; }
.wp-block-query-pagination-numbers .page-numbers { display: inline-block; padding: .4em .65em; text-underline-offset: .2em; }
.wp-block-query-pagination-numbers .current { background: #111312; color: #cbff45; border-radius: 4px; }
.aiboss-footer { border-top: 1px solid #d9dcd2; }
.aiboss-footer p { font-size: .8rem; letter-spacing: .025em; }
.aiboss-header .wp-block-navigation__responsive-container.is-menu-open { padding: 2rem; }
.aiboss-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 1.5rem; }
@media (max-width: 781px) {
  .aiboss-post-grid.wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .aiboss-header-inner { min-height: 78px; }
  .aiboss-brand img { width: 40px; height: 40px; }
  .aiboss-post-grid.wp-block-post-template { grid-template-columns: minmax(0, 1fr); }
  .aiboss-section-heading { align-items: flex-start; }
  .aiboss-hero-copy { font-size: 1.125rem !important; }
  .aiboss-article-title { font-size: clamp(2rem, 9vw, 3rem) !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
