/* Static export: keep the InStyle appearance and adapt its fixed layout. */
html { scroll-behavior: smooth; }
body { font-size: 16px; line-height: 1.5; color: #565656; }
p { line-height: 1.5; }
a:focus-visible, input:focus-visible, select:focus-visible, button:focus-visible, audio:focus-visible { outline: 3px solid #00b7f3; outline-offset: 4px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: white; padding: 12px 18px; }
.skip-link:focus { top: 16px; }
#header { padding-bottom: 10px; }
#logo { max-width: 100%; height: auto; }
#header-right { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
#search-form { width: 197px; }
#search-form #searchinput { color: #c5c5ce; font-size: 16px; }
ul#top-menu { margin-top: 0; }
ul#top-menu > li > a { padding: 10px 0; }
ul.nav li:hover > ul, ul.nav li:focus-within > ul { display: block; left: 0; top: 42px !important; }
ul.nav ul li a { line-height: 1.3; }
#container { width: min(960px, calc(100% - 32px)); }
#services { display: grid; grid-template-columns: repeat(3, 279px); gap: 61px; }
#services::after { display: none; }
.service { float: none; margin-right: 0; }
#services .description { padding-top: 10px; }
#services .service-description { height: 208px; background-color: #eee; }
#services .description p { font-size: 16px; line-height: 1.4; }
.service-slide { display: none; }
.service-slide:first-child, .service-slide.active { display: block; }
.service-slide img { width: 265px; height: 145px; object-fit: cover; }
.service a.readmore { bottom: -2px; }
a.readmore { font-size: 14px; }
.category-title { line-height: 1.15; padding-bottom: 18px; overflow-wrap: anywhere; }
.entry img { max-width: 100%; height: auto; }
.entry li { line-height: 1.5; }
.entry a { color: #00769e; }
.entry iframe.game-trailer { display: block; width: 560px; max-width: 100%; height: auto; aspect-ratio: 16 / 9; margin-top: 18px; background: #151515; }
.contact-details dt { font-size: 24px; font-weight: normal; color: #151515; margin-bottom: 8px; }
.contact-details dd { margin: 0 0 30px; overflow-wrap: anywhere; }
.audio-title { display: block; margin: 16px 0 8px; color: #151515; }
audio { width: 100%; max-width: 560px; display: block; }
select, input, button { font: inherit; }
.paypal-purchase select { max-width: 100%; padding: 6px; }
#sidebar { line-height: 1.5; }
#sidebar .widget ul li a { color: #565656; }
.widget_search input[type="text"] { width: 100%; box-sizing: border-box; }
.archive-entry { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid #ccc; }
.archive-entry h2, .search-result h2 { font-size: 30px; line-height: 1.2; }
.results-search { margin-bottom: 24px; }
.results-search label { display: block; font-weight: bold; }
.results-search div { display: flex; gap: 10px; }
.results-search input { min-width: 0; flex: 1; padding: 10px; border: 1px solid #888; }
.results-search button { padding: 10px 16px; background: #222; color: white; border: 0; cursor: pointer; }
.search-result { margin: 20px 0; }
#search-summary { margin-bottom: 24px; }
.games-index .category-title { margin-bottom: 22px; }
#backgrounds img { pointer-events: none; }
#backgrounds img:not(:first-child) { display: none; }
.meta-info { line-height: 1.4; }
@media (max-width: 1000px) {
  #header { margin-left: 16px; margin-right: 16px; padding: 18px 20px 10px; margin-bottom: 74px; }
  #header > a { display: block; }
  #logo { float: none; width: min(711px, 100%); }
  #header-right { float: none; margin-top: 14px; justify-content: space-between; }
  ul.nav li { margin-left: 0; margin-right: 20px; }
  #search-form { margin-left: 0; }
  #services { grid-template-columns: repeat(auto-fit, 279px); gap: 42px; justify-content: center; }
  #content-top, #content-bottom, .fullwidth #content-top, .fullwidth #content-bottom { background: #fafafa; border-radius: 8px 8px 0 0; }
  #content-bottom, .fullwidth #content-bottom { border-radius: 0 0 8px 8px; }
  #content, .fullwidth #content { background: #fafafa; }
  #content-area, .fullwidth #content-area { width: 100%; box-sizing: border-box; float: none; margin: 0; padding: 0; }
  #sidebar { float: none; width: 100%; margin-top: 0; display: grid; grid-template-columns: 1fr 1fr; }
  #breadcrumbs { padding: 16px 28px; }
  .post { padding: 0 28px 28px; }
  h1.category-title { font-size: clamp(32px, 5vw, 50px); }
}
@media (max-width: 600px) {
  #header { margin-left: 10px; margin-right: 10px; padding: 14px 14px 12px; margin-bottom: 60px; }
  #header-right { display: block; }
  ul#top-menu { float: none; display: flex; flex-wrap: wrap; justify-content: center; }
  ul.nav li { margin: 0 10px; }
  ul.nav ul { display: none !important; }
  ul#top-menu a { font-size: 22px; }
  #search-form { float: none; margin: 8px auto 0; }
  #container { width: calc(100% - 24px); }
  #services { margin-bottom: 70px; }
  h1.category-title { margin-top: -22px; font-size: 36px; padding-bottom: 20px; }
  #breadcrumbs { padding: 14px 20px; }
  .post { padding: 0 20px 24px; }
  #sidebar { display: block; }
  .widget { padding: 20px; }
  #backgrounds img { min-width: 0; height: 100vh; width: 100%; object-fit: cover; }
  .results-search div { flex-wrap: wrap; }
  .results-search input { width: 100%; }
  .paypal-purchase select { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
