/*
Theme Name: Deejay DJSkott
Template: deejay
Version: 0.1.0
Description: A streamlined child theme that brings the DJ Skott site styling into the WordPress blog while keeping posts and media intact.
Author: OpenAI
*/

:root {
  --bg: #05070c;
  --bg-deep: #020408;
  --panel: rgba(10, 14, 24, 0.8);
  --panel-strong: rgba(7, 10, 18, 0.92);
  --panel-soft: rgba(7, 10, 18, 0.62);
  --text: #eef3ff;
  --muted: #b8c1d9;
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --glow: rgba(126, 164, 255, 0.22);
  --accent: #dbe7ff;
  --brand-blue: #4ebcf4;
  --max: 1180px;
  --radius: 28px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-image:
    linear-gradient(rgba(3, 5, 10, 0.18), rgba(3, 5, 10, 0.42)),
    var(--djskott-bg-image);
  background-size: auto 100vh;
  background-position: -16px 76px;
  background-repeat: no-repeat;
  background-color: var(--bg-deep);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--text);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  width: auto;
  height: auto;
  clip: auto;
  margin: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(8, 12, 20, 0.95);
  color: var(--text);
  border: 1px solid var(--line);
}

.wrap {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.content-offset {
  padding-left: clamp(172px, 13vw, 204px);
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(4, 6, 12, 0.62);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand strong {
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand span {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: flex-end;
  width: auto;
  max-width: none;
  margin-left: auto;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  outline: 0;
}

.site-content {
  padding-bottom: 36px;
}

.page-hero {
  padding: 56px 0 18px;
}

.eyebrow,
.card-label {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-title {
  margin: 18px 0 14px;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.page-hero--blog-home .page-title {
  margin-top: 0;
  color: var(--brand-blue);
  max-width: none;
  white-space: nowrap;
}

.page-lead {
  max-width: 760px;
  margin: 0;
  font-size: 1.08rem;
  color: var(--muted);
}

.section {
  padding: 18px 0 26px;
}

.panel,
.post-card,
.entry-media,
.entry-content,
.entry-footer,
.post-nav,
.comments-area,
.search-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow);
  transition: 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  outline: 0;
}

.btn.primary {
  background: rgba(235, 243, 255, 0.14);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 16px 40px var(--glow);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.listing-shell {
  padding-left: clamp(172px, 13vw, 204px);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.post-card {
  overflow: hidden;
}

.post-thumbnail-link {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.post-thumbnail-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-card:hover .post-thumbnail-link img,
.post-card:focus-within .post-thumbnail-link img {
  transform: scale(1.03);
}

.post-card-body {
  padding: 22px;
}

.post-title {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.08;
}

.post-title a:hover,
.post-title a:focus-visible,
.entry-title a:hover,
.entry-title a:focus-visible {
  color: var(--accent);
}

.post-meta,
.entry-meta,
.search-note,
.nothing-found p,
.footer p,
.footer .small,
.entry-content .wp-caption-text,
.entry-content figcaption {
  color: var(--muted);
}

.post-meta,
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  font-size: 0.95rem;
}

.post-meta time,
.entry-meta time {
  color: var(--text);
}

.post-excerpt {
  margin: 16px 0 20px;
  color: var(--muted);
}

.post-excerpt p {
  margin: 0;
}

.pagination-wrap {
  margin-top: 24px;
}

.pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pagination ul.page-numbers li {
  list-style: none;
}

.pagination a.page-numbers,
.pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  transition: 0.2s ease;
}

.pagination a.page-numbers:hover,
.pagination a.page-numbers:focus-visible,
.pagination span.page-numbers.current {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
  outline: 0;
}

.nothing-found,
.empty-search {
  padding: 24px;
}

.search-shell {
  display: grid;
  gap: 18px;
}

.search-form {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
}

.search-form label {
  flex: 1;
}

.search-field {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.search-field::placeholder {
  color: rgba(184, 193, 217, 0.72);
}

.search-field:focus-visible,
.comment-form input:focus-visible,
.comment-form textarea:focus-visible,
.comment-form select:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.28);
  border-color: var(--line);
}

.search-submit,
.comment-form .submit,
.comment-reply-link,
.post-edit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 700;
  transition: 0.2s ease;
  text-decoration: none;
}

.search-submit:hover,
.search-submit:focus-visible,
.comment-form .submit:hover,
.comment-form .submit:focus-visible,
.comment-reply-link:hover,
.comment-reply-link:focus-visible,
.post-edit-link:hover,
.post-edit-link:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  outline: 0;
}

.post-shell {
  display: grid;
  gap: 18px;
}

.entry-header {
  padding-top: 56px;
}

.entry-header .eyebrow {
  margin-bottom: 16px;
}

.entry-title {
  margin: 14px 0 0;
  font-size: clamp(2.3rem, 4.5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.entry-shell {
  display: grid;
  gap: 18px;
  padding-left: clamp(172px, 13vw, 204px);
}

.entry-media {
  overflow: hidden;
}

.entry-media img {
  width: 100%;
  height: auto;
}

.entry-content,
.entry-footer,
.post-nav,
.comments-area {
  padding: 24px;
}

.entry-content > :first-child {
  margin-top: 0;
}

.entry-content > :last-child {
  margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin: 1.8em 0 0.6em;
  line-height: 1.1;
}

.entry-content h2 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.entry-content h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.entry-content h4 {
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote,
.entry-content pre,
.entry-content table {
  margin: 0 0 1.2em;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.4em;
}

.entry-content li + li {
  margin-top: 0.4em;
}

.entry-content blockquote {
  padding: 18px 20px;
  border-left: 3px solid rgba(255, 255, 255, 0.24);
  border-radius: 0 20px 20px 0;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.entry-content hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2em 0;
}

.entry-content iframe,
.entry-content video,
.entry-content audio,
.entry-content embed,
.entry-content object {
  max-width: 100%;
}

.entry-content iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 20px;
}

.entry-content figure {
  margin: 1.4em 0;
}

.entry-content .wp-block-image img,
.entry-content .wp-block-embed,
.entry-content .wp-block-cover,
.entry-content .wp-block-video,
.entry-content .wp-block-audio {
  border-radius: 20px;
  overflow: hidden;
}

.entry-content .wp-block-button__link,
.entry-content .wp-element-button {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.entry-content code,
.entry-content pre {
  font-family: "Courier New", Courier, monospace;
}

.entry-content pre {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  overflow: auto;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
}

.entry-content th,
.entry-content td {
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  text-align: left;
}

.entry-content th {
  background: rgba(255, 255, 255, 0.05);
}

.taxonomy-wrap {
  display: grid;
  gap: 16px;
}

.meta-row {
  display: grid;
  gap: 10px;
}

.meta-label {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  transition: 0.2s ease;
}

.tag-list a:hover,
.tag-list a:focus-visible {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
  outline: 0;
}

.post-nav .nav-links {
  width: 100%;
  max-width: none;
  justify-content: space-between;
  gap: 16px;
}

.post-navigation .nav-links > div {
  flex: 1 1 0;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
  display: block;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.post-navigation .nav-previous a:hover,
.post-navigation .nav-previous a:focus-visible,
.post-navigation .nav-next a:hover,
.post-navigation .nav-next a:focus-visible {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
  outline: 0;
}

.post-navigation .meta-nav {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.comments-area {
  display: grid;
  gap: 18px;
}

.comments-title,
.comment-reply-title {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.08;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.comment-list .children {
  list-style: none;
  margin: 16px 0 0 0;
  padding-left: 20px;
  display: grid;
  gap: 16px;
}

.comment-body {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.04);
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.comment-author .avatar {
  border-radius: 50%;
}

.comment-author .fn {
  font-style: normal;
  font-weight: 700;
}

.comment-metadata {
  color: var(--muted);
  font-size: 0.92rem;
}

.comment-content p:last-child {
  margin-bottom: 0;
}

.comment-awaiting-moderation,
.no-comments {
  color: var(--muted);
}

.comment-form {
  display: grid;
  gap: 14px;
}

.comment-form p {
  margin: 0;
}

.comment-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.comment-form textarea {
  min-height: 180px;
  resize: vertical;
}

.comment-form .submit {
  cursor: pointer;
}

.footer {
  padding: 0 0 38px;
  text-align: center;
}

.footer p {
  margin: 0 0 10px;
}

.footer .small {
  font-size: 0.92rem;
}

body.error404 .listing-shell {
  display: grid;
  gap: 18px;
}

@media (max-width: 1024px) {
  body {
    background-position: left top;
    background-size: auto 100%;
  }

  .page-hero--blog-home .page-title {
    white-space: normal;
  }

  .content-offset,
  .listing-shell,
  .entry-shell {
    padding-left: 0;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .entry-content iframe {
    min-height: 300px;
  }
}

@media (max-width: 760px) {
  .nav {
    align-items: stretch;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    justify-content: stretch;
    width: 100%;
    margin-left: 0;
  }

  .nav-links a {
    font-size: 0.88rem;
    padding: 8px 10px;
    justify-content: center;
    text-align: center;
  }

  .wrap {
    width: min(calc(100% - 24px), var(--max));
  }

  .page-hero {
    padding-top: 42px;
  }

  .entry-header {
    padding-top: 42px;
  }

  .search-form {
    flex-direction: column;
    align-items: stretch;
  }

  .post-navigation .nav-links {
    flex-direction: column;
  }

  .comment-list .children {
    padding-left: 12px;
  }
}

@media (max-width: 560px) {
  body {
    background-position: 58% center;
    background-attachment: scroll;
  }

  .nav-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-title,
  .entry-title {
    font-size: clamp(2.1rem, 12vw, 3.3rem);
  }

  .post-card-body,
  .entry-content,
  .entry-footer,
  .post-nav,
  .comments-area {
    padding: 20px;
  }

  .footer .small br {
    display: none;
  }
}
