/*
Theme Name: Tallets Musikförening
Theme URI: https://wordpress.com/
Author: Tallets Musikförening
Description: Ett mörkt, musikaliskt och lättredigerat tema för Tallets Musikförening. Sidinnehållet redigeras med WordPress blockredigerare.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: tallets-musikforening
*/

:root{
  --tm-bg:#0d0e0f;
  --tm-panel:#151719;
  --tm-text:#f5f3ef;
  --tm-muted:#bdb9b3;
  --tm-red:#e51f25;
  --tm-red-dark:#b9141a;
  --tm-line:#2c2e30;
  --tm-max:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--tm-bg);
  color:var(--tm-text);
  font-family:Arial, Helvetica, sans-serif;
  font-size:17px;
  line-height:1.65;
}
a{color:inherit}
img{max-width:100%;height:auto}

.site-header{
  background:linear-gradient(180deg,#090a0b 0%,#111214 100%);
  border-bottom:1px solid var(--tm-line);
}
.site-branding{
  max-width:var(--tm-max);
  margin:0 auto;
  padding:42px 24px 26px;
  text-align:center;
}
.site-title{
  margin:0;
  color:#fff;
  font-family:'Permanent Marker', 'Brush Script MT', cursive;
  font-size:clamp(2.25rem,6vw,4.7rem);
  line-height:1.02;
  font-weight:400;
  letter-spacing:.01em;
  text-shadow:2px 2px 0 rgba(229,31,37,.45);
}
.site-tagline{
  margin:.45rem 0 0;
  color:#d6d2cc;
  font-size:.78rem;
  letter-spacing:.22em;
  text-transform:uppercase;
}

.primary-nav{
  border-top:1px solid var(--tm-line);
}
.primary-nav ul{
  max-width:var(--tm-max);
  margin:0 auto;
  padding:0 18px;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  list-style:none;
}
.primary-nav li{margin:0}
.primary-nav a{
  display:block;
  padding:16px 14px 15px;
  text-decoration:none;
  color:#eee;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  border-bottom:3px solid transparent;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a{
  color:#fff;
  border-bottom-color:var(--tm-red);
}

.site-main{min-height:60vh}
.container{
  width:min(calc(100% - 40px),var(--tm-max));
  margin:0 auto;
}

.hero{
  position:relative;
  min-height:0;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  background:#17191b;
}
.hero-image,
.hero-placeholder{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
.hero-image{object-fit:cover}
.hero-placeholder{
  background:
    radial-gradient(circle at 72% 35%,rgba(229,31,37,.34),transparent 22%),
    linear-gradient(120deg,#08090a 0%,#25282b 55%,#090a0b 100%);
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.05) 20%,rgba(0,0,0,.9) 100%);
}
.hero-content{
  position:relative;
  z-index:2;
  width:min(100%,var(--tm-max));
  margin:0 auto;
  padding:80px 24px 48px;
}
.hero-kicker{
  margin:0 0 8px;
  color:#fff;
  font-size:.8rem;
  letter-spacing:.22em;
  text-transform:uppercase;
  font-weight:700;
}
.hero-title{
  max-width:760px;
  margin:0;
  color:#fff;
  font-family:'Permanent Marker','Brush Script MT',cursive;
  font-size:clamp(2.5rem,7vw,6.2rem);
  line-height:.98;
  font-weight:400;
}
.hero-title span{
  text-decoration:underline;
  text-decoration-color:var(--tm-red);
  text-decoration-thickness:.12em;
  text-underline-offset:.13em;
}

.content-wrap{
  padding:0 0 80px;
}
.entry-header{text-align:left;margin-bottom:34px}
.entry-title{
  margin:0;
  font-family:'Permanent Marker','Brush Script MT',cursive;
  font-weight:400;
  font-size:clamp(2.3rem,5vw,4.5rem);
  line-height:1.05;
}
.entry-title::after{
  content:"";
  display:block;
  width:110px;
  height:6px;
  margin-top:14px;
  background:var(--tm-red);
  transform:skewX(-15deg);
}
.entry-content{
  max-width:900px;
  margin:0 auto;
}
.entry-content h2,
.entry-content h3{
  font-family:'Permanent Marker','Brush Script MT',cursive;
  font-weight:400;
  line-height:1.1;
}
.entry-content h2{font-size:2.4rem}
.entry-content h3{font-size:1.7rem}
.entry-content p,
.entry-content li{color:#ddd9d3}
.entry-content a{color:#fff;text-decoration-color:var(--tm-red)}
.entry-content img{border-radius:2px}
.entry-content blockquote{
  margin:30px 0;
  padding:20px 26px;
  border-left:5px solid var(--tm-red);
  background:var(--tm-panel);
}

.wp-block-button__link,
button,
input[type=submit]{
  background:var(--tm-red)!important;
  color:#fff!important;
  border:0;
  border-radius:2px;
  padding:12px 22px;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
  text-decoration:none;
}
.wp-block-button__link:hover,
button:hover,
input[type=submit]:hover{background:var(--tm-red-dark)!important}

.site-footer{
  border-top:1px solid var(--tm-line);
  background:#090a0b;
  color:#aaa6a0;
  padding:30px 0;
  text-align:center;
}
.site-footer p{margin:0;font-size:.85rem}

@media (max-width:760px){
  .site-branding{padding:30px 16px 20px}
  .site-title{font-size:clamp(2.1rem,10vw,3.4rem)}
  .primary-nav ul{padding:0 8px}
  .primary-nav a{padding:12px 8px;font-size:.68rem;letter-spacing:.06em}
  .hero{min-height:0}
  .hero-content{padding:70px 20px 35px}
  .container{width:min(calc(100% - 30px),var(--tm-max))}
  .content-wrap{padding:46px 0 60px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
}

/* WordPress editor helpers */
.wp-site-blocks, .is-root-container{background:var(--tm-bg)}
