/*
Theme Name: Guru Tech
Theme URI: https://example.com/guru-tech
Author: Manus AI
Author URI: https://manus.im
Description: Tema WordPress editorial, komunitas, dan produk digital untuk Guru Tech — Teacher Preneur Pasti Bisa.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: guru-tech
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, education, e-commerce, custom-logo, custom-menu, featured-images, translation-ready
*/

:root {
  --navy: #172554;
  --navy-2: #0f1d45;
  --blue: #2563eb;
  --teal: #0f766e;
  --yellow: #fbbf24;
  --orange: #f97316;
  --ink: #111827;
  --muted: #64748b;
  --line: #e2e8f0;
  --paper: #f8fafc;
  --white: #ffffff;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-md: 0 18px 45px rgba(15, 23, 42, .12);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.7; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; transition: color .2s ease, transform .2s ease, background .2s ease, border-color .2s ease; }
a:hover { color: var(--navy); }
button, input, select, textarea { font: inherit; }
button, .button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.section { padding: 92px 0; }
.section--soft { background: #eef4ff; }
.section--dark { color: #fff; background: var(--navy); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-heading h2 { margin: 0; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.12; letter-spacing: -.035em; }
.section--dark .section-heading h2 { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 99px; background: var(--yellow); }
.lead { color: var(--muted); font-size: 1.12rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 11px 20px; border: 1px solid transparent; border-radius: 999px; font-size: .92rem; font-weight: 800; letter-spacing: .01em; }
.button--primary { color: #fff; background: var(--blue); box-shadow: 0 10px 22px rgba(37, 99, 235, .22); }
.button--primary:hover { color: #fff; background: var(--navy); transform: translateY(-2px); }
.button--dark { color: #fff; background: var(--navy); }
.button--dark:hover { color: #fff; background: var(--blue); }
.button--ghost { color: var(--navy); border-color: var(--line); background: #fff; }
.button--ghost:hover { color: var(--blue); border-color: var(--blue); }
.button--yellow { color: var(--navy); background: var(--yellow); }
.button--yellow:hover { color: var(--navy); background: #fcd34d; transform: translateY(-2px); }
.text-link { font-weight: 800; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(226,232,240,.85); background: rgba(248,250,252,.92); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; gap: 26px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand .custom-logo-link { display: block; }
.brand .custom-logo { width: auto; max-height: 48px; }
.brand-mark { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 13px; color: var(--navy); background: var(--yellow); font-weight: 950; box-shadow: 5px 5px 0 var(--blue); }
.brand-name { display: block; font-size: 1.03rem; font-weight: 950; letter-spacing: .04em; line-height: 1; }
.brand-tagline { display: block; margin-top: 5px; color: var(--muted); font-size: .66rem; font-weight: 700; line-height: 1; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { display: block; padding: 9px 10px; color: var(--ink); font-size: .87rem; font-weight: 750; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--blue); }
.primary-nav .menu-item-has-children { position: relative; }
.primary-nav .sub-menu { position: absolute; top: 100%; left: 0; display: block; min-width: 205px; padding: 9px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; }
.primary-nav .menu-item-has-children:hover > .sub-menu, .primary-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-nav .sub-menu a { padding: 9px 11px; border-radius: 9px; }
.primary-nav .sub-menu a:hover { background: #eff6ff; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-button { display: inline-grid; width: 38px; height: 38px; place-items: center; border: 0; border-radius: 50%; color: var(--navy); background: transparent; }
.icon-button:hover { color: var(--blue); background: #e8efff; }
.icon-button svg { width: 19px; height: 19px; }
.mobile-toggle { display: none; }
.header-cta { min-height: 40px; padding: 9px 15px; font-size: .8rem; }

.hero { position: relative; overflow: hidden; padding: 112px 0 94px; background: radial-gradient(circle at 80% 18%, rgba(37,99,235,.25), transparent 30%), radial-gradient(circle at 12% 70%, rgba(15,118,110,.13), transparent 24%), var(--navy); }
.hero::after { content: ""; position: absolute; inset: auto -8% -58% auto; width: 58vw; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.hero h1 { max-width: 680px; margin: 0 0 22px; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.8rem, 5.4vw, 5.4rem); line-height: .99; letter-spacing: -.06em; }
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero-copy { max-width: 610px; color: #cbd5e1; font-size: 1.13rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .eyebrow { color: #93c5fd; }
.hero-art { position: relative; min-height: 430px; }
.hero-screen { position: absolute; inset: 43px 28px 22px 28px; padding: 22px; border: 1px solid rgba(255,255,255,.2); border-radius: 24px; background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.05)); box-shadow: 0 24px 60px rgba(0,0,0,.22); transform: rotate(3deg); }
.hero-screen::before { content: ""; display: block; width: 60%; height: 11px; margin-bottom: 30px; border-radius: 20px; background: var(--yellow); box-shadow: 0 23px 0 rgba(255,255,255,.28), 0 46px 0 rgba(255,255,255,.13); }
.hero-screen-inner { position: absolute; right: 22px; bottom: 22px; left: 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.hero-screen-inner span { display: block; height: 110px; border-radius: 15px; background: linear-gradient(135deg, rgba(37,99,235,.9), rgba(15,118,110,.72)); }
.hero-screen-inner span:nth-child(2) { background: linear-gradient(135deg, rgba(249,115,22,.95), rgba(251,191,36,.8)); }
.hero-screen-inner span:nth-child(3) { background: linear-gradient(135deg, rgba(15,118,110,.92), rgba(37,99,235,.68)); }
.hero-screen-inner span:nth-child(4) { background: linear-gradient(135deg, rgba(255,255,255,.8), rgba(147,197,253,.55)); }
.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 9px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.45); border-radius: 14px; color: var(--ink); background: #fff; box-shadow: 0 15px 30px rgba(0,0,0,.18); font-size: .86rem; font-weight: 850; animation: float 5s ease-in-out infinite; }
.float-card:nth-child(2) { top: 8px; right: 0; animation-delay: -1.6s; }
.float-card:nth-child(3) { right: 18px; bottom: 0; animation-delay: -.8s; }
.float-card:nth-child(4) { bottom: 105px; left: -15px; animation-delay: -2.6s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-9px) rotate(2deg); } }

.statement { padding: 35px 0; color: var(--navy); background: var(--yellow); }
.statement p { max-width: 920px; margin: 0 auto; text-align: center; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.6rem, 3.5vw, 3rem); font-weight: 700; line-height: 1.15; letter-spacing: -.035em; }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card { position: relative; display: flex; min-height: 245px; flex-direction: column; padding: 25px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.category-card::after { content: ""; position: absolute; right: -32px; bottom: -32px; width: 120px; height: 120px; border-radius: 50%; background: var(--accent, #dbeafe); opacity: .55; }
.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.category-icon { display: grid; width: 48px; height: 48px; margin-bottom: 20px; place-items: center; border-radius: 15px; color: var(--navy); background: var(--accent, #dbeafe); font-size: 1.35rem; }
.category-card h3 { margin: 0 0 7px; color: var(--navy); font-size: 1.18rem; }
.category-card p { margin: 0; color: var(--muted); font-size: .91rem; line-height: 1.55; }
.category-card .text-link { margin-top: auto; padding-top: 17px; font-size: .88rem; }

.post-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 22px; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.post-card a { color: inherit; }
.post-thumb { position: relative; display: flex; min-height: 205px; align-items: end; padding: 18px; overflow: hidden; background: linear-gradient(135deg, #bfdbfe, #172554); }
.post-thumb::before { content: ""; position: absolute; inset: 18% -12% -25% 38%; border: 28px solid rgba(255,255,255,.16); border-radius: 50%; transform: rotate(-18deg); }
.post-thumb--teal { background: linear-gradient(135deg, #99f6e4, #0f766e); }
.post-thumb--orange { background: linear-gradient(135deg, #fed7aa, #f97316); }
.post-thumb--yellow { background: linear-gradient(135deg, #fef3c7, #f59e0b); }
.post-thumb--purple { background: linear-gradient(135deg, #ddd6fe, #4338ca); }
.post-thumb .post-category { position: relative; z-index: 1; }
.post-category, .product-badge { display: inline-flex; width: fit-content; padding: 5px 9px; border-radius: 6px; color: var(--navy); background: rgba(255,255,255,.85); font-size: .68rem; font-weight: 900; letter-spacing: .09em; }
.post-content { padding: 22px; }
.post-content h3 { margin: 9px 0 10px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.48rem; line-height: 1.17; letter-spacing: -.02em; }
.post-content p { margin: 0 0 17px; color: var(--muted); font-size: .94rem; line-height: 1.6; }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px 15px; color: #94a3b8; font-size: .75rem; font-weight: 650; }
.post-meta span { display: inline-flex; align-items: center; gap: 4px; }
.post-grid-side { display: grid; gap: 16px; }
.post-grid-side .post-card { display: grid; grid-template-columns: 145px 1fr; }
.post-grid-side .post-thumb { min-height: 100%; padding: 12px; }
.post-grid-side .post-content { padding: 16px; }
.post-grid-side .post-content h3 { font-size: 1.08rem; }
.post-grid-side .post-content p { display: none; }
.post-grid-side .post-meta { font-size: .68rem; }

.teacher-grid { display: grid; grid-template-columns: .83fr 1.17fr; align-items: center; gap: 70px; }
.teacher-visual { position: relative; min-height: 375px; }
.teacher-circle { position: absolute; inset: 16px 42px 16px 0; border-radius: 50%; background: linear-gradient(145deg, #dbeafe, #bfdbfe); }
.teacher-circle::after { content: ""; position: absolute; right: -34px; bottom: 28px; width: 105px; height: 105px; border: 19px solid var(--yellow); border-radius: 50%; }
.teacher-stack { position: absolute; right: 0; bottom: 26px; left: 28px; display: grid; gap: 12px; }
.stack-item { display: flex; align-items: center; gap: 12px; width: 84%; padding: 14px 18px; border-radius: 15px; color: #fff; background: var(--navy); box-shadow: 0 14px 24px rgba(23,37,84,.18); font-weight: 800; }
.stack-item:nth-child(2) { width: 92%; margin-left: 6%; background: var(--blue); }
.stack-item:nth-child(3) { width: 78%; margin-left: 13%; background: var(--teal); }
.stack-item:nth-child(4) { width: 70%; margin-left: 22%; color: var(--navy); background: var(--yellow); }
.stack-item b { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; color: inherit; background: rgba(255,255,255,.22); }
.teacher-copy h2 { margin: 0 0 14px; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.3rem, 4.2vw, 4rem); line-height: 1.02; letter-spacing: -.05em; }
.teacher-copy h2 span { color: var(--blue); }
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; margin: 28px 0; padding: 0; list-style: none; color: var(--muted); font-size: .94rem; }
.check-list li::before { content: "✓"; display: inline-grid; width: 23px; height: 23px; margin-right: 7px; place-items: center; border-radius: 50%; color: var(--teal); background: #ccfbf1; font-weight: 900; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-thumb { position: relative; display: grid; min-height: 170px; padding: 18px; place-items: center; background: linear-gradient(135deg, #dbeafe, #93c5fd); }
.product-thumb--book { background: linear-gradient(135deg, #ccfbf1, #5eead4); }
.product-thumb--app { background: linear-gradient(135deg, #ffedd5, #fdba74); }
.product-thumb--ppt { background: linear-gradient(135deg, #ede9fe, #a78bfa); }
.product-cover { display: grid; width: 120px; height: 138px; padding: 13px; place-items: center; border: 5px solid rgba(255,255,255,.75); border-radius: 5px 12px 12px 5px; color: var(--navy); background: rgba(255,255,255,.7); box-shadow: 11px 9px 0 rgba(23,37,84,.15), 0 13px 25px rgba(23,37,84,.16); text-align: center; font-family: Georgia, serif; font-size: .84rem; font-weight: 800; line-height: 1.2; transform: rotate(-4deg); }
.product-badge { position: absolute; top: 12px; left: 12px; color: var(--navy); background: var(--yellow); }
.product-body { padding: 18px; }
.product-category { color: var(--teal); font-size: .7rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.product-body h3 { margin: 5px 0 8px; color: var(--navy); font-size: 1.05rem; line-height: 1.25; }
.product-body p { margin: 0 0 13px; color: var(--muted); font-size: .83rem; line-height: 1.5; }
.rating { color: #d97706; font-size: .82rem; letter-spacing: 1px; }
.product-price { display: flex; align-items: baseline; gap: 8px; margin-top: 7px; color: var(--navy); font-size: 1.02rem; font-weight: 900; }
.product-price del { color: #94a3b8; font-size: .78rem; font-weight: 600; }
.product-actions { display: flex; gap: 7px; margin-top: 14px; }
.product-actions .button { flex: 1; min-height: 38px; padding: 8px 9px; font-size: .72rem; }

.service { position: relative; overflow: hidden; background: var(--navy); }
.service::before { content: ""; position: absolute; top: -50%; right: -12%; width: 55%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.018); }
.service-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 75px; align-items: center; }
.service h2 { margin: 0 0 16px; color: #fff; font-family: Georgia, serif; font-size: clamp(2.2rem, 4.3vw, 4rem); line-height: 1.03; letter-spacing: -.05em; }
.service p { color: #cbd5e1; }
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 25px; }
.flow-item { padding: 15px 11px; border: 1px solid rgba(255,255,255,.15); border-radius: 15px; color: #fff; background: rgba(255,255,255,.08); text-align: center; font-size: .8rem; font-weight: 800; }
.flow-item strong { display: block; margin-bottom: 3px; color: var(--yellow); font-size: .7rem; }
.stack-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 23px; }
.stack-tags span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 7px; color: #dbeafe; background: rgba(255,255,255,.06); font-size: .75rem; font-weight: 750; }
.service-card { padding: 30px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-md); }
.service-card h3 { margin-top: 0; color: var(--navy); font-family: Georgia, serif; font-size: 1.75rem; }
.service-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: var(--muted); }
.service-list li { display: flex; align-items: center; gap: 10px; }
.service-list li::before { content: "→"; color: var(--orange); font-weight: 900; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.testimonial { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.testimonial blockquote { margin: 0 0 20px; color: var(--navy); font-family: Georgia, serif; font-size: 1.12rem; line-height: 1.45; }
.testimonial blockquote::before { content: "“"; display: block; height: 28px; color: var(--yellow); font-size: 3.2rem; line-height: .8; }
.person { display: flex; align-items: center; gap: 11px; }
.avatar { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font-weight: 900; }
.person strong { display: block; color: var(--navy); font-size: .88rem; }
.person span { display: block; color: var(--muted); font-size: .75rem; }

.community { border-radius: 28px; background: linear-gradient(110deg, var(--teal), var(--blue)); }
.community-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 50px; }
.community h2 { max-width: 600px; margin: 0 0 10px; color: #fff; font-family: Georgia, serif; font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.05; letter-spacing: -.04em; }
.community p { margin: 0; color: #dffaf7; }
.community .button { flex-shrink: 0; }
.newsletter { padding: 48px; border: 1px solid #bfdbfe; border-radius: 24px; background: #eff6ff; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.newsletter h2 { margin: 0 0 7px; color: var(--navy); font-family: Georgia, serif; font-size: 2rem; line-height: 1.1; }
.newsletter p { margin: 0; color: var(--muted); }
.newsletter-form { display: flex; width: min(100%, 450px); gap: 8px; }
.newsletter-form input { min-width: 0; flex: 1; padding: 13px 15px; border: 1px solid #bfdbfe; border-radius: 999px; outline: 0; background: #fff; }
.newsletter-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.14); }

.site-footer { padding: 70px 0 22px; color: #cbd5e1; background: #0b1533; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 52px; }
.site-footer .brand { color: #fff; }
.site-footer .brand-tagline { color: #94a3b8; }
.footer-intro { max-width: 290px; color: #94a3b8; font-size: .9rem; }
.footer-title { margin: 0 0 15px; color: #fff; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: #94a3b8; font-size: .87rem; }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.12); color: #64748b; font-size: .78rem; }

.page-hero { padding: 70px 0; background: linear-gradient(130deg, #e0ecff, #f8fafc); }
.page-hero h1 { max-width: 780px; margin: 0; color: var(--navy); font-family: Georgia, serif; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1.03; letter-spacing: -.05em; }
.breadcrumbs { margin-bottom: 17px; color: var(--muted); font-size: .8rem; }
.content-area { padding: 70px 0; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 60px; }
.entry-header { margin-bottom: 35px; }
.entry-title { margin: 9px 0 15px; color: var(--navy); font-family: Georgia, serif; font-size: clamp(2.35rem, 5vw, 4.4rem); line-height: 1.04; letter-spacing: -.05em; }
.entry-subtitle { color: var(--muted); font-size: 1.2rem; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; color: var(--muted); font-size: .82rem; }
.featured-image { margin: 25px 0 35px; overflow: hidden; border-radius: 22px; }
.entry-content { color: #273449; font-family: Georgia, "Times New Roman", serif; font-size: 1.14rem; line-height: 1.85; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.8em; color: var(--navy); line-height: 1.2; }
.entry-content img { border-radius: 12px; }
.entry-content blockquote { margin: 30px 0; padding: 20px 25px; border-left: 5px solid var(--yellow); color: var(--navy); background: #eff6ff; font-size: 1.35rem; font-style: italic; }
.entry-content a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.author-box { display: flex; gap: 18px; margin-top: 48px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.author-box .avatar { flex-shrink: 0; width: 58px; height: 58px; }
.author-box h3 { margin: 0 0 4px; color: var(--navy); }
.author-box p { margin: 0 0 10px; color: var(--muted); font-size: .9rem; }
.sidebar { display: grid; align-content: start; gap: 22px; }
.widget { padding: 22px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.widget-title { margin: 0 0 14px; color: var(--navy); font-size: 1rem; }
.widget ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.widget li { color: var(--muted); font-size: .87rem; }
.widget a { color: var(--ink); font-weight: 700; }
.widget a:hover { color: var(--blue); }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pagination { display: flex; gap: 8px; margin-top: 45px; }
.pagination .page-numbers { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--navy); background: #fff; font-size: .85rem; font-weight: 800; }
.pagination .current, .pagination a:hover { color: #fff; border-color: var(--blue); background: var(--blue); }
.search-form { display: flex; gap: 9px; max-width: 650px; }
.search-form label { flex: 1; }
.search-field, .contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; outline: none; background: #fff; }
.search-field:focus, .contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.contact-form { display: grid; gap: 15px; max-width: 780px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact-form label { display: grid; gap: 6px; color: var(--navy); font-size: .83rem; font-weight: 800; }
.contact-form textarea { min-height: 160px; resize: vertical; }
.share-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; padding-top: 26px; border-top: 1px solid var(--line); }
.share-links .button { min-height: 38px; padding: 8px 13px; font-size: .77rem; }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 80; padding: 12px 17px; border-radius: 10px; color: #fff; background: var(--navy); box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transform: translateY(8px); transition: .2s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.floating-wa { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; color: #fff; background: #16a34a; box-shadow: 0 10px 25px rgba(22,163,74,.35); font-size: 1.35rem; font-weight: 900; }
.floating-wa:hover { color: #fff; transform: translateY(-3px); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.alignwide { width: min(100%, 1200px); margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; }

@media (max-width: 1040px) {
  .primary-nav { position: absolute; top: calc(100% + 1px); right: 20px; left: 20px; display: none; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-md); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; gap: 2px; }
  .primary-nav .sub-menu { position: static; display: none; padding: 2px 0 2px 12px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .primary-nav .menu-item-has-children.is-open > .sub-menu { display: block; }
  .mobile-toggle { display: inline-grid; }
  .header-cta { display: none; }
  .category-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 780px) {
  .container, .narrow { width: min(calc(100% - 30px), var(--container)); }
  .section { padding: 65px 0; }
  .hero { padding: 76px 0 70px; }
  .hero-grid, .teacher-grid, .service-grid, .content-layout { grid-template-columns: 1fr; gap: 38px; }
  .hero-art { min-height: 330px; max-width: 520px; width: 100%; margin: 0 auto; }
  .hero-screen { inset: 30px 18px 15px; }
  .float-card:nth-child(4) { left: 0; }
  .section-heading, .newsletter-inner, .community-inner { align-items: start; flex-direction: column; }
  .post-grid { grid-template-columns: 1fr; }
  .post-grid-side { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .community-inner, .newsletter { padding: 30px 24px; }
  .newsletter-form { width: 100%; }
  .sidebar { order: 2; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .header-inner { min-height: 68px; gap: 10px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; font-size: .85rem; }
  .brand-name { font-size: .9rem; }
  .brand-tagline { font-size: .57rem; }
  .header-actions { margin-left: auto; }
  .header-actions .icon-button:nth-child(2) { display: none; }
  .hero h1 { font-size: clamp(2.5rem, 13vw, 4rem); }
  .hero-art { min-height: 275px; }
  .float-card { padding: 9px 11px; font-size: .72rem; }
  .float-card:nth-child(4) { bottom: 72px; }
  .category-grid, .product-grid, .archive-grid, .post-grid-side { grid-template-columns: 1fr; }
  .post-grid-side .post-card { grid-template-columns: 120px 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 4px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form .button { width: 100%; }
}

.article-toc { margin: 25px 0 32px; padding: 18px 22px; border: 1px solid #bfdbfe; border-radius: 14px; color: var(--navy); background: #eff6ff; font-family: Inter, sans-serif; font-size: .9rem; }
.article-toc strong { display: block; margin-bottom: 8px; }
.article-toc ol { margin: 0; padding-left: 20px; }
.article-toc li { margin: 4px 0; }
.article-toc .toc-subitem { margin-left: 14px; font-size: .88rem; }
.article-toc a { color: var(--blue); }
.related-posts { margin-top: 55px; padding-top: 32px; border-top: 1px solid var(--line); }
.related-posts h2 { margin: 0 0 20px; color: var(--navy); font-family: Georgia, serif; font-size: 2rem; }
.related-posts .archive-grid { grid-template-columns: repeat(3, 1fr); }
.consent-label { display: flex !important; grid-template-columns: none !important; align-items: flex-start; gap: 7px; color: var(--muted) !important; font-size: .74rem !important; font-weight: 600 !important; }
.consent-label input { width: auto !important; margin-top: 5px; }
.notice { margin-bottom: 22px; padding: 14px 17px; border-radius: 10px; font-size: .9rem; }
.notice--success { color: #166534; background: #dcfce7; }
.notice--error { color: #991b1b; background: #fee2e2; }
@media (max-width: 780px) { .related-posts .archive-grid { grid-template-columns: 1fr; } }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
button, .button, .icon-button, .primary-nav a { -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 780px) {
  .button { min-height: 46px; }
  .icon-button { width: 44px; height: 44px; }
}

.brand-lockup { display: block; }
.brand-name b { color: var(--blue); }
.brand-mark { position: relative; display: flex; align-items: center; justify-content: center; gap: 1px; font-size: .86rem; font-weight: 950; letter-spacing: -.08em; }
.brand-mark i { display: block; width: 3px; height: 22px; border-radius: 4px; background: var(--orange); transform: rotate(24deg); }
.brand-logo { display: inline-flex; align-items: center; }
.brand-logo .custom-logo-link { display: inline-flex; align-items: center; }
.brand-logo .custom-logo { max-width: 58px; max-height: 46px; object-fit: contain; }
.post-thumb img { position: relative; z-index: 1; width: 100%; height: 100%; min-height: 205px; object-fit: cover; border-radius: 12px; }
.post-grid-side .post-thumb img { min-height: 100%; }
.post-content h3, .entry-title, .entry-content, .hero-copy, .lead, .product-body p { overflow-wrap: anywhere; }
.entry-content table, .entry-content pre, .entry-content iframe, .entry-content video { max-width: 100%; }
.entry-content table { display: block; overflow-x: auto; white-space: nowrap; border-collapse: collapse; }
.entry-content pre { overflow-x: auto; padding: 16px; border-radius: 10px; background: #0f172a; color: #e2e8f0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; }
.entry-content iframe, .entry-content video { width: 100%; border-radius: 14px; }
.latest-label { display: inline-flex; align-items: center; max-width: 100%; padding: 4px 8px; border: 1px solid rgba(37,99,235,.16); border-radius: 999px; color: var(--blue); background: #eff6ff; font-family: Inter, sans-serif; font-size: .62rem; font-weight: 900; letter-spacing: .08em; line-height: 1; text-transform: uppercase; }
.post-grid-side .latest-label { padding: 3px 7px; font-size: .56rem; }
.product-price-placeholder { display: block; color: var(--navy); font-size: .88rem; font-weight: 900; }
@media (max-width: 780px) {
  .entry-title { font-size: clamp(2rem, 9vw, 3.1rem); }
  .entry-subtitle { font-size: 1.03rem; }
  .entry-content { font-size: 1.04rem; line-height: 1.75; }
  .post-content h3 { font-size: 1.25rem; }
  .post-grid-side .post-content h3 { font-size: 1rem; }
  .post-card:hover { transform: none; }
}
@media (max-width: 500px) {
  .brand-mark { width: 34px; height: 34px; font-size: .78rem; }
  .brand-mark i { height: 19px; }
  .brand-name { font-size: .88rem; }
  .brand-tagline { max-width: 165px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .post-grid-side .post-card { grid-template-columns: 112px minmax(0, 1fr); }
  .post-grid-side .post-thumb { min-height: 112px; }
  .post-grid-side .post-content { min-width: 0; }
  .post-grid-side .post-content h3 { margin-top: 7px; font-size: .96rem; }
  .post-grid-side .post-meta { display: block; }
  .post-grid-side .post-meta span { display: block; margin-top: 3px; }
  .share-links { align-items: flex-start; }
  .share-links > strong { width: 100%; }
}
