/* Wrapper styles for WordPress-native templates (blog index, single post,
   generic page). Uses the design tokens defined by the ported CSS. */

.il-blog, .il-article, .il-page { background: var(--white, #fff); color: var(--ink, #16181d); }
.il-blog .container, .il-article-inner { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Blog grid */
.il-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.il-post-card { border: 1px solid rgba(22,24,29,.10); border-radius: 18px; overflow: hidden; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.il-post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(22,24,29,.10); }
.il-post-card a { display: block; color: inherit; text-decoration: none; }
.il-post-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--teal-dark, #123); }
.il-post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.il-post-body { padding: 24px 24px 28px; }
.il-post-cat { display: inline-block; color: var(--orange, #ff5a1f); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.il-post-body h3 { font-size: 20px; line-height: 1.3; margin-bottom: 10px; font-weight: 700; }
.il-post-body p { font-size: 15px; line-height: 1.6; color: rgba(22,24,29,.72); margin-bottom: 16px; }
.il-post-body strong { color: var(--orange, #ff5a1f); font-size: 13px; font-weight: 700; }

/* Single article / page */
.il-article-inner { max-width: 820px; }
.il-article-head { margin-bottom: 32px; }
.il-article-head h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.12; font-weight: 800; margin: 14px 0 18px; }
.il-article-summary { font-size: 19px; line-height: 1.55; color: rgba(22,24,29,.72); }
.il-article-cover { border-radius: 20px; overflow: hidden; margin-bottom: 36px; }
.il-article-cover img { width: 100%; height: auto; display: block; }
.il-article-body { font-size: 17px; line-height: 1.75; color: rgba(22,24,29,.86); }
.il-article-body p { margin-bottom: 20px; }
.il-article-body h2 { font-size: 26px; font-weight: 700; margin: 36px 0 14px; }
.il-article-body h3 { font-size: 21px; font-weight: 700; margin: 28px 0 12px; }
.il-article-body ul, .il-article-body ol { margin: 0 0 20px 22px; }
.il-article-body li { margin-bottom: 8px; }
.il-article-body a { color: var(--orange, #ff5a1f); text-decoration: underline; }
.il-article-foot { margin-top: 44px; }

/* Eyebrow fallback (in case content CSS scopes it differently) */
.il-article-head .eyebrow, .il-blog .eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--orange, #ff5a1f); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

.il-pagination { margin-top: 48px; }
.il-pagination .page-numbers { display: inline-block; padding: 8px 14px; margin: 0 4px; border: 1px solid rgba(22,24,29,.16); border-radius: 10px; text-decoration: none; color: inherit; font-weight: 600; }
.il-pagination .page-numbers.current { background: var(--orange, #ff5a1f); color: #fff; border-color: transparent; }

@media (max-width: 900px) { .il-post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .il-post-grid { grid-template-columns: 1fr; } }
