/* louiseblackwell.com — hand-written stylesheet reproducing the Rock Studio theme look
   (Raleway, #12212F panels on black, #fb3a64 accent) without WordPress baggage. */

:root {
  --bg: #000000;
  --panel: #12212F;
  --text: #9090a0;
  --heading: #ffffff;
  --accent: #fb3a64;
  --link: #c3c4c7;
  --border: rgb(255 255 255 / 10%);
  --font: 'Raleway', system-ui, sans-serif;
  --wrap: 1300px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-weight: 400; font-size: 14px; line-height: 28px;
  overflow-x: hidden; word-wrap: break-word;
}
h1, h2, h3, h4, h5, h6 { clear: both; color: var(--heading); margin: 16px 0; line-height: 1.3; font-weight: 400; }
h1 { font-size: 52px; } h2 { font-size: 42px; } h3 { font-size: 26px; } h4 { font-size: 18px; }
p { margin: 0 0 1em; }
a { color: var(--link); }
a:hover, a:focus { color: #fff; }
img { height: auto; max-width: 100%; vertical-align: middle; }
figure { margin: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.5em; }
table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; }
td, th { padding: 4px 8px; vertical-align: top; }
hr { border: 0; height: 1px; background: #ccc; margin-bottom: 1.5em; }
blockquote, .wp-block-quote, .wp-block-pullquote {
  background: var(--panel); border-left: 4px solid #555; margin: 0 0 1.5em; padding: 18px 24px;
  font-size: 18px; line-height: 1.8;
}
blockquote cite { display: block; font-size: 14px; margin-top: .5em; }
iframe { max-width: 100%; }
strong { color: #c9c9d2; }

.wrapper { width: 90%; max-width: var(--wrap); margin: 0 auto; padding: 0 15px; }
.section-gap { padding: 80px 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.skip-link:focus { clip: auto; width: auto; height: auto; left: 10px; top: 10px; z-index: 9999; background: var(--panel); color: #fff; padding: 10px; }

/* ---------- Header + navigation ---------- */
#masthead { background: var(--panel); position: relative; z-index: 100; }
#masthead .wrapper { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 20px; }
#masthead a { text-decoration: none; }
.site-title { font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: .01em; margin: 0 0 5px; }
.site-title a { color: #fff; }
.site-description { margin: 0; line-height: 1.3; font-size: 14px; color: #fff; }

.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.main-navigation a { display: block; color: #fff; font-weight: 500; font-size: 15px; padding: 30px 12px; }
.main-navigation a:hover, .main-navigation a:focus, .main-navigation .current-menu-item > a { color: var(--accent); }

.menu-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; padding: 0; cursor: pointer; position: relative;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: ''; display: block; position: absolute; left: 6px; width: 36px; height: 4px; background: #fff; transition: transform .3s, opacity .3s;
}
.menu-toggle span { top: 22px; }
.menu-toggle span::before { left: 0; top: -11px; }
.menu-toggle span::after { left: 0; top: 11px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(11px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-11px) rotate(-45deg); }

@media (max-width: 1023px) {
  .menu-toggle { display: block; }
  .main-navigation { position: absolute; top: 100%; left: 0; right: 0; background: var(--panel); display: none; box-shadow: 0 12px 24px rgb(0 0 0 / 40%); }
  .main-navigation.open { display: block; }
  .main-navigation ul { flex-direction: column; gap: 0; }
  .main-navigation li { border-top: 1px solid var(--border); }
  .main-navigation a { padding: 14px 5%; }
}

/* ---------- Page banner ---------- */
#page-site-header {
  background-size: cover; background-position: 50%; position: relative; text-align: center; padding: 100px 0;
}
#page-site-header .overlay { position: absolute; inset: 0; background: #000; opacity: .3; }
#page-site-header .page-header { position: relative; }
#page-site-header .page-title { color: #fff; font-size: 32px; font-weight: 600; margin: 0; display: inline-block; }
@media (min-width: 768px) { #page-site-header { padding: 110px 0; } }

/* ---------- Content ---------- */
.site-main { max-width: 1200px; }
.entry-content { max-width: 100%; }
.entry-content h2 { font-size: 28px; font-weight: 500; }
.entry-content h3 { font-size: 22px; }
.entry-content a { color: #fff; }
.entry-content a:hover { color: var(--accent); }
.entry-content img { max-width: 100%; }
.entry-content .alignleft, .entry-content .wp-caption.alignleft { float: left; margin: 0 24px 16px 0; }
.entry-content .alignright { float: right; margin: 0 0 16px 24px; }
.entry-content .aligncenter { display: block; margin: 0 auto 16px; text-align: center; }
.entry-content::after { content: ''; display: table; clear: both; }
.wp-caption-text, .wp-element-caption, figcaption { font-size: 13px; line-height: 1.6; color: var(--text); margin-top: 6px; white-space: pre-line; }
.wp-block-image, .wp-block-embed, .wp-block-video, .wp-block-gallery { margin: 0 0 2em; }
.wp-block-image img { height: auto; }
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }
.has-white-color { color: #fff; }
.has-black-background-color { background: #000; }
.has-background { padding: 1.25em 2.375em; }

/* Columns (Gutenberg) */
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 2em; margin-bottom: 1.75em; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
@media (max-width: 781px) { .wp-block-columns { flex-direction: column; } .wp-block-column { flex-basis: auto !important; } }

/* Galleries (Gutenberg) */
.wp-block-gallery { display: flex; flex-wrap: wrap; gap: 16px; }
.wp-block-gallery > figure { flex: 1 1 calc(50% - 8px); margin: 0; }
.wp-block-gallery.columns-3 > figure { flex-basis: calc(33.333% - 11px); }
.wp-block-gallery.is-cropped > figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 600px) { .wp-block-gallery > figure { flex-basis: 100%; } }

/* Embeds keep 16:9 */
.wp-block-embed__wrapper { position: relative; }
.wp-embed-aspect-16-9 .wp-block-embed__wrapper { aspect-ratio: 16 / 9; }
.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe, .wp-embed-aspect-16-9 .wp-block-embed__wrapper video { position: absolute; inset: 0; width: 100%; height: 100%; }
.wp-block-embed iframe { width: 100%; }
.wp-block-video video { width: 100%; }

/* Buttons */
button, .button, input[type="submit"] {
  display: inline-block; color: #fff; background: transparent; border: 2px solid var(--accent); border-radius: 0;
  font: inherit; font-size: 12px; font-weight: bold; letter-spacing: .05em; text-transform: uppercase;
  padding: 8px 40px; text-decoration: none; cursor: pointer; transition: all .3s ease-in-out; margin: 0 10px 10px 0;
}
button:hover, .button:hover, input[type="submit"]:hover { background: var(--accent); color: #fff; }

/* Forms */
input[type="text"], input[type="email"], textarea {
  color: #fff; border: 1px solid var(--panel); background: var(--panel); padding: 12px; width: 100%; font: inherit;
}
input:focus, textarea:focus { outline: thin dotted #fff; }
.contact-form label { display: block; color: #fff; }
.contact-form { max-width: 640px; }
.contact-form .hp { position: absolute; left: -9999px; }
.form-status:empty { display: none; }
.form-status { background: var(--panel); padding: 10px 16px; color: #fff; }

/* Post meta */
.entry-meta { margin-top: 25px; font-size: 14px; font-weight: 500; }
.entry-meta > span { margin-right: 20px; }
.entry-meta a { color: var(--text); text-decoration: none; }
.entry-meta a:hover { color: #fff; }
.post-navigation { margin-top: 35px; padding: 20px 30px; background: var(--panel); }
.post-navigation a { color: var(--text); text-decoration: none; }
.post-navigation a:hover { color: #fff; }

/* Home */
.home-feature .entry-title { font-size: 26px; font-weight: 500; margin: 0 0 20px; }
.home-feature .entry-title a { color: #fff; text-decoration: none; }
.home-feature .entry-title a:hover { color: var(--accent); }
.home-more { margin-top: 40px; }

/* Card grid (shows archive, discography) */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 40px; }
.post-item { background: var(--panel); display: flex; flex-direction: column; }
.post-item .entry-container { padding: 32px 36px; display: flex; flex-direction: column; flex: 1; }
.post-item .entry-title { font-size: 16px; line-height: 28px; text-transform: uppercase; font-weight: 600; margin: 0 0 15px; }
.post-item .entry-title a { color: #fff; text-decoration: none; }
.post-item .entry-title a:hover { opacity: .8; }
.post-item .entry-content { margin-bottom: 20px; flex: 1; }
.post-item .entry-meta { margin-top: auto; }
.year-heading { font-size: 22px; font-weight: 600; color: #fff; border-bottom: 1px solid var(--accent); padding-bottom: 6px; margin: 0 0 24px; }
.year-nav { margin: -30px 0 30px; display: flex; flex-wrap: wrap; gap: 6px; }
.year-nav a { display: inline-block; background: var(--panel); color: #fff; text-decoration: none; padding: 0 12px; line-height: 35px; font-size: 13px; }
.year-nav a:hover { background: var(--accent); }

/* Reviews (full text) */
.review-list .post-item { margin-bottom: 30px; }
.review-list .entry-title { text-transform: none; font-size: 20px; }
.review-list .entry-content { font-size: 15px; }

/* Discography */
.albums .album-cover { display: block; aspect-ratio: 1; background: #0b1620; overflow: hidden; }
.albums .album-cover img { width: 100%; height: 100%; object-fit: cover; }
.albums .album-cover-text { display: flex; height: 100%; align-items: center; justify-content: center; color: #fff; font-size: 24px; font-weight: 600; text-align: center; padding: 20px; }

/* Video page */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-bottom: 40px; }
.video-grid .wp-block-embed, .video-item .wp-block-embed { margin: 0 0 8px; }
.video-title { color: #fff; font-weight: 500; margin: 0; }
.video-title a { color: #fff; text-decoration: none; }
.video-item p { margin-bottom: .5em; }

/* ---------- Footer ---------- */
#colophon { background: var(--panel); color: #fff; }
#colophon a { color: #fff; }
.site-info { padding: 20px 0; text-align: center; font-size: 14px; }

@media (max-width: 767px) {
  .section-gap { padding: 50px 0; }
  h1 { font-size: 34px; } h2 { font-size: 28px; } h3 { font-size: 22px; }
  .post-item .entry-container { padding: 24px; }
  .entry-content .alignleft, .entry-content .alignright { float: none; margin: 0 0 16px; }
}
