/* Look taken from the original static page (index.html). */
:root {
  --grey: #9a9a9a; --light: #d4d4d4; --bg: #050505;
  --hero-image: none;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--bg); color: #cfcfcf; font-family: 'Inter', Arial, sans-serif; line-height: 1.6; }
a { color: var(--grey); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; }

header { background: rgba(10,10,10,.95); border-bottom: 3px solid var(--grey); position: sticky; top: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; box-shadow: 0 0 25px rgba(150,150,150,.3); }
.brand img { height: 80px; width: auto; display: block; filter: drop-shadow(0 0 8px rgba(180,180,180,.5)); }
nav { display: flex; flex-wrap: wrap; justify-content: center; }
nav a { margin: 0 8px; color: #dedede; font-family: 'Oswald'; text-transform: uppercase; font-size: .9rem; }

.hero { text-align: center; padding: 100px 20px 80px; border-bottom: 5px solid var(--grey);
  background: linear-gradient(rgba(0,0,0,.85), rgba(40,40,40,.55), rgba(0,0,0,.95)), var(--hero-image) center/cover, #000; }
.hero .slogan { font-family: 'Oswald'; letter-spacing: 4px; color: #bdbdbd; margin: 10px 0; text-transform: uppercase; }
.mega-title { line-height: 0; }
.mega-title img { height: 280px; max-width: 90%; width: auto; filter: drop-shadow(0 0 25px rgba(200,200,200,.45)); }
.hero p { max-width: 650px; margin: 15px auto; color: #ddd; background: rgba(0,0,0,.6); padding: 12px; border: 1px solid #333; }

.btn { display: inline-block; background: linear-gradient(#5a5a5a,#1a1a1a); color: #fff; padding: 13px 28px; margin-top: 15px;
  font-family: 'Oswald'; font-weight: 700; letter-spacing: 1px; border: 1px solid #bdbdbd; cursor: pointer; border-radius: 3px;
  text-transform: uppercase; box-shadow: 0 0 15px rgba(180,180,180,.5); font-size: 1rem; }
.btn:hover { filter: brightness(1.2); color: #fff; }

section { max-width: 1080px; margin: 50px auto; padding: 0 20px; }
h2.section-title { font-family: 'Oswald', sans-serif; font-size: 2.2rem; text-transform: uppercase; margin-bottom: 15px;
  border-left: 6px solid var(--grey); padding-left: 12px; text-shadow: 2px 2px 0 #000, 0 0 20px rgba(180,180,180,.4); color: #eee; }
h2.section-title span { color: var(--grey); }
.box { background: linear-gradient(#161616,#0e0e0e); padding: 25px; border: 1px solid #2a2a2a; border-top: 3px solid var(--grey); border-radius: 4px; }
.box p + p { margin-top: 12px; }
.empty { color: #888; font-style: italic; }
.all { margin-top: 15px; text-align: right; font-family: 'Oswald'; text-transform: uppercase; }

/* Post cards */
.chroniques-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.chrono, .band { background: #111; border: 1px solid #2c2c2c; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.chrono:hover, .band:hover { border-color: var(--grey); box-shadow: 0 0 20px rgba(160,160,160,.3); }
.chrono img { width: 100%; height: 200px; object-fit: cover; display: block; }
.chrono-body { padding: 15px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.chrono-body h3 { font-family: 'Metal Mania'; font-size: 1.5rem; letter-spacing: 1px; line-height: 1.2; }
.chrono-body h3 a { color: #eee; }
/* The title link is stretched over the whole card, so a click anywhere on it opens the post. */
.chrono { position: relative; }
.chrono h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.chrono:hover h3 a { text-decoration: underline; }
.chrono-body p { font-size: .9rem; color: #bbb; overflow-wrap: anywhere; }
.chrono-body > p:last-of-type { flex: 1; }
.more { margin-top: 6px; font-family: 'Oswald'; text-transform: uppercase; font-size: .85rem; }
.meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.meta small { color: #888; }
.tag { display: inline-block; background: #222; border: 1px solid var(--grey); color: #cfcfcf; font-size: .75rem; padding: 2px 10px;
  border-radius: 20px; text-transform: uppercase; }
.note { font-family: 'Oswald'; font-weight: 700; color: var(--light); font-size: 1.1rem; }
.pager { display: flex; justify-content: space-between; margin-top: 20px; }

/* Article page */
.article { max-width: 760px; }
.article h1 { font-family: 'Metal Mania'; font-size: 2.6rem; line-height: 1.15; color: #eee; margin: 10px 0; }
.article .crumbs { font-family: 'Oswald'; text-transform: uppercase; margin-bottom: 15px; }
.article .cover { width: 100%; border: 1px solid #333; border-radius: 4px; margin: 20px 0; }
.article .text { font-size: 1.05rem; color: #d6d6d6; }
.article .text p { margin-bottom: 1.1em; }
.article .text a { text-decoration: underline; word-break: break-all; }
.video { position: relative; aspect-ratio: 16 / 9; margin-top: 25px; border: 1px solid #333; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.preview-bar { background: #d4b106; color: #000; padding: 10px 20px; text-align: center; font-weight: 600; }
.preview-bar a { color: #000; text-decoration: underline; }

/* Bands */
.carousel { display: flex; gap: 15px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 5px 20px;
  scrollbar-width: thin; scrollbar-color: var(--grey) #222; }
.slide { min-width: 260px; max-width: 260px; scroll-snap-align: start; background: #111; border: 1px solid #333; border-radius: 6px; overflow: hidden; flex-shrink: 0; color: #cfcfcf; }
.slide:hover { border-color: var(--grey); color: #fff; }
.slide img { width: 100%; height: 180px; object-fit: cover; display: block; filter: grayscale(30%) contrast(1.1); }
.slide:hover img { filter: none; }
.slide .cap { padding: 12px; }
.slide .cap b { font-family: 'Oswald'; text-transform: uppercase; }
.slide .cap span { display: block; font-size: .8rem; color: #999; }
.bands-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.band img { width: 100%; height: 300px; object-fit: cover; display: block; }
.band { scroll-margin-top: 100px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 25px; }
.member { background: #0d0d0d; border: 1px solid #2b2b2b; border-radius: 6px; overflow: hidden; text-align: center; }
.member:hover { border-color: var(--grey); }
.member img { width: 100%; height: 220px; object-fit: cover; display: block; filter: grayscale(60%) contrast(1.15); }
.member:hover img { filter: none; }
.member .who { padding: 12px; }
.member .who b { font-family: 'Oswald'; text-transform: uppercase; }
.member .who span { display: block; font-size: .8rem; color: var(--light); text-transform: uppercase; letter-spacing: 1px; }
.member .who small { color: #888; font-size: .8rem; }

/* Contact */
form input, form textarea { width: 100%; padding: 12px; margin: 8px 0; background: #1e1e1e; border: 1px solid #444; color: #fff;
  border-radius: 4px; font-family: inherit; font-size: 1rem; }
.hp { position: absolute; left: -9999px; }
.flash { padding: 12px; border-radius: 4px; margin-bottom: 10px; }
.flash.ok { background: #1d3320; border: 1px solid #3f7a46; color: #cfe8d2; }
.flash.error { background: #3a1a1a; border: 1px solid #8a3a3a; color: #f0cccc; }

.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 15px 0; }
.platforms a { background: #222; padding: 9px 16px; border-radius: 20px; color: #fff; border: 1px solid #444; font-size: .85rem; }
.platforms a:hover { border-color: #fff; }
footer { background: #080808; text-align: center; padding: 30px 20px; margin-top: 60px; border-top: 4px double var(--grey); color: #777; font-size: .9rem; }
footer .footer-logo { height: 110px; width: auto; filter: drop-shadow(0 0 8px rgba(180,180,180,.4)); }
footer .admin-link { display: inline-block; margin-top: 12px; color: #555; font-size: .8rem; }
footer .admin-link:hover { color: #ccc; }

@media (max-width: 800px) {
  .brand img { height: 64px; }
  header { flex-direction: column; gap: 8px; }
  .mega-title img { height: 170px; }
  .chroniques-grid, .bands-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .article h1 { font-size: 2rem; }
}
