/*
Theme Name: Orbital
Theme URI: https://orbital.company
Author: Wallace Erick
Author URI: https://wallaceerick.com.br
Description: Somos uma empresa de tech & inovation que atua diretamente na concepção e construção de produtos inovadores para startups e multinacionais.
Version: 1.0
Text Domain: orbital
Tags: orbital, tecnologia, transformação, digital
*/

/* Article listing layout. This stylesheet is an editable theme source. */
.news--grid .news__container { max-width: 1320px; }
.news--grid .post { display: flex; flex-direction: column; width: 100%; height: 100%; margin: 0; padding: 0; }
.news--grid .post .post-image { flex: none; width: 100%; margin: 0 0 24px; }
.news--grid .post .post-image a { display: block; }
.news--grid .post .post-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.news--grid .post .post-content { display: block; flex: 1 1 auto; width: 100%; padding: 0; }
.news--grid .post .post-content .inner { width: 100%; }
.news--grid .post .post-title { font-size: clamp(26px, 2.3vw, 36px); line-height: 1.2; }
@media (max-width: 767.98px) {
    .news--grid .post .post-image { margin-bottom: 18px; }
}

/* Shared section widths and room for lifted image hover states. */
.blog-section-heading .container,
.blog-stories { max-width: 1320px; }
.news--grid { padding-top: 32px; padding-bottom: 24px; }
.news--grid .row { overflow: visible; }
.blog-stories { margin-top: 24px; margin-bottom: 64px; }
.news .post .post-content .post-author img.avatar { width: 37.5px; height: 37.5px; object-fit: cover; }

/* Article reading layout. */
#reading-progress { position: fixed; top: 0; left: 0; z-index: 999999; width: 100%; height: 6px; margin: 0; background: #000; }
#reading-progress-fill { width: 100%; height: 100%; background: #ffc904; transform: scaleX(0); transform-origin: left center; }
.admin-bar #reading-progress { top: 32px; }
.article-reading-time { margin: 18px 0 0; color: #d6d6d6; font-size: 14px; }
.article-layout { padding-top: 64px !important; }
.article-layout__container { max-width: 1600px; }
.article-layout .single-post { display: block; }
.article-layout .single-post .post-content { width: 100%; padding: 0; }
.article-layout .single-post .post-content .inner { width: 100%; max-width: 760px; margin: 0 auto; }
.article-body { overflow-wrap: anywhere; }
.article-body h2[id] { scroll-margin-top: 130px; }
.article-body img { max-width: 100%; height: auto; }
.article-sidebar__sticky { position: sticky; top: 112px; max-height: calc(100vh - 144px); overflow-y: auto; padding: 0 12px 16px; }
.article-sidebar .article-sidebar__title,
.article-toc .article-sidebar__title { margin: 0 0 20px; font-size: 17px; line-height: 1.3; color: #fff; }
.article-toc ol, .article-recent ol { padding: 0; margin: 0; list-style: none; }
.article-toc li { margin: 0 0 14px; }
.article-toc a { display: block; padding-left: 0; border: 0; color: #b7b7b7; font-size: 13px; line-height: 1.6; text-decoration: none; }
.article-toc a:hover, .article-toc a[aria-current="location"] { color: #ffc904; }
.article-recent li { margin: 0 0 20px; padding-bottom: 20px; border-bottom: 1px solid #383838; }
.article-recent time { display: block; margin-bottom: 2px; color: #999; font-size: 11px; }
.article-recent a { display: block; font-weight: 600; color: #e6e6e6; font-size: 14px; line-height: 1.5; text-decoration: none; }
.article-recent a:hover { color: #ffc904; }
.article-sidebar a:focus-visible, .article-toc-mobile a:focus-visible { outline: 2px solid #ffc904; outline-offset: 4px; }
.article-toc-mobile { max-width: 760px; margin-left: auto; margin-right: auto; padding: 18px; border: 1px solid #414141; }
.article-toc-mobile summary { cursor: pointer; color: #ffc904; font-size: 15px; }
.article-toc-mobile .article-sidebar__title { display: none; }
.article-toc-mobile .article-toc { margin-top: 18px; }
@media (max-width: 1199.98px) {
    .article-sidebar--recent { max-width: 790px; margin: 48px auto 0; }
    .article-sidebar__sticky { position: static; max-height: none; overflow: visible; padding: 0; }
    .article-recent ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
}
@media (max-width: 767.98px) {
    .article-layout { padding-top: 32px !important; }
    .article-recent ol { grid-template-columns: 1fr; }
}
@media (max-width: 782px) { .admin-bar #reading-progress { top: 46px; } }

.article-layout .post.single-post { padding-left: 0; padding-right: 0; }
.article-layout { overflow: visible; }
.article-sidebar .article-sidebar__title,
.article-toc .article-sidebar__title { color: #181818; }
.article-toc a { color: #606060; }
.article-recent li { border-bottom-color: #e4e4e4; }
.article-recent time { color: #717171; }
.article-recent a { color: #181818; }
.article-toc a:hover, .article-toc a[aria-current="location"],
.article-recent a:hover { color: #796000; }
.article-toc a[aria-current="location"] { font-weight: 700; }
.article-toc-mobile { border-color: #ddd; }
.article-toc-mobile summary { color: #181818; }
body.single-post { overflow-x: clip; overflow-y: visible; }

/* Keep floated category labels separate from reading metadata. */
.single-post .page-header .tagline { display: flow-root; margin-bottom: 0; }
.single-post .page-header .article-reading-time { display: block; float: none; clear: both; width: 100%; padding-left: 0; margin: 0 0 12px; font-size: 14px; }
.single-post .page-header .single-title { float: none; width: 100%; }

.single-post .intro.disqus .container { max-width: 1320px; }
.single-post .page-header .article-reading-time + .single-title { margin-top: 0; }
.article-toc a,
.article-toc a:hover,
.article-toc a:focus,
.article-toc a[aria-current="location"] { background: transparent; box-shadow: none; }
.article-toc a[aria-current="location"] { color: #000; font-weight: 700; }

/* Search dialog and public content suggestions. */
.js-open-search { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
.js-open-search svg { width: 22px; height: 22px; }
.js-open-search svg circle, .js-open-search svg line { stroke: currentColor; }
.js-open-search:hover { color: #ffc904; }
.orbital-search-open { overflow: hidden; }
.orbital-search { position: fixed; inset: clamp(24px, 6vh, 80px) 0 auto; width: calc(100% - 40px); max-width: 1040px; max-height: 86vh; max-height: 86dvh; margin: 0 auto; padding: 0; border: 1px solid #414141; border-radius: 14px; background: #181818; color: #fff; box-shadow: 0 30px 100px #0008; overflow-y: auto; }
.orbital-search::backdrop { background: #000c; backdrop-filter: blur(5px); }
.orbital-search__panel { padding: 32px 40px 24px; }
.orbital-search__header { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
.orbital-search .orbital-search__header h2 { margin: 0; color: #fff; font-size: 22px; font-weight: 600; line-height: 1.3; }
.orbital-search__close { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; padding: 0; border: 1px solid #555; border-radius: 50%; background: transparent; color: #fff; font: inherit; font-size: 30px; cursor: pointer; }
.orbital-search__close:hover { color: #ffc904; border-color: #ffc904; }
.orbital-search__field { display: flex; gap: 16px; align-items: center; border-bottom: 2px solid #ffc904; }
.orbital-search .orbital-search__field input { flex: 1; min-width: 0; width: 100%; height: auto; margin: 0; padding: 12px 0 18px; border: 0; border-radius: 0; background: transparent; color: #fff; font: inherit; font-size: clamp(21px, 3vw, 36px); line-height: 1.3; box-shadow: none; }
.orbital-search__field input::placeholder { color: #aaa; opacity: 1; }
.orbital-search .orbital-search__field input:focus { outline: none; box-shadow: none; }
.orbital-search__field:focus-within { border-color: #fff; }
.orbital-search__submit { width: 48px; min-height: 48px; flex-shrink: 0; padding: 0; border: 0; border-radius: 8px; background: #ffc904; color: #181818; font-size: 30px; cursor: pointer; }
.orbital-search .orbital-search__status { margin: 16px 0; color: #b9b9b9; font-size: 13px; line-height: 1.5; }
.orbital-search .orbital-search__results { padding: 0; margin: 0; list-style: none; }
.orbital-search__results li { margin: 0; padding: 0; border-top: 1px solid #373737; }
.orbital-search .orbital-search__results a { display: block; padding: 16px 12px; border-radius: 6px; color: #fff; text-decoration: none; }
.orbital-search__results a:hover, .orbital-search__results a[aria-selected="true"] { background: #292929; }
.orbital-search__type { display: block; margin-bottom: 5px; color: #ffc904; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.orbital-search__results strong { display: block; font-size: 17px; font-weight: 600; line-height: 1.4; }
.orbital-search__excerpt { display: block; margin-top: 5px; color: #b9b9b9; font-size: 13px; line-height: 1.6; }
.orbital-search .orbital-search__all { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; color: #ffc904; font-size: 14px; text-decoration: none; }
.orbital-search [hidden] { display: none !important; }
.orbital-search__hint { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid #373737; color: #969696; font-size: 11px; }
.orbital-search button:focus-visible, .orbital-search a:focus-visible, .js-open-search:focus-visible { outline: 2px solid #ffc904; outline-offset: 4px; }
@media (max-width: 767.98px) {
    .orbital-search { width: calc(100% - 24px); }
    .orbital-search__panel { padding: 20px; }
    .orbital-search__header { gap: 12px; margin-bottom: 18px; }
    .orbital-search .orbital-search__header h2 { font-size: 18px; }
    .orbital-search__hint { flex-wrap: wrap; }
}

/* Progressive loading keeps ordinary pagination available without JavaScript. */
.infinite-control { text-align: center; padding: 24px 20px 40px; }
.infinite-control p { margin: 0 0 12px; }
.infinite-control button { border: 1px solid #181818; border-radius: 4px; background: #181818; color: #fff; padding: 12px 22px; cursor: pointer; }
.infinite-control button:hover { color: #ffc904; }
.infinite-control button:disabled { opacity: .6; cursor: wait; }
.infinite-control [hidden] { display: none !important; }
.article-stream-item { position: relative; }
.article-stream-item + .article-stream-item { margin-top: 64px; border-top: 6px solid #ffc904; }
.article-stream-item .wow { visibility: visible !important; }
[data-infinite-list] .infinite-loaded .wow { visibility: visible !important; animation-name: fadeIn; }
[data-infinite-list] .pagination[hidden] { display: none !important; }
