/*
Theme Name: HRL Skeleton
Theme URI: https://hardrocklaager.ee/
Author: Hard Rock Laager
Description: Minimal responsive WordPress theme for Hard Rock Laager: large top logo, centered menu, centered content, no sidebars.
Version: 1.0.3
License: GNU General Public License v2 or later
Text Domain: hrl-skeleton
*/

:root {
  --hrl-bg: #000;
  --hrl-text: #ddd;
  --hrl-muted: #9a9a9a;
  --hrl-link: #b49668;
  --hrl-line: #222;
  --hrl-max-width: 960px;
  --hrl-logo-width: 920px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--hrl-bg);
  color: var(--hrl-text);
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

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

a {
  color: var(--hrl-link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover,
a:focus {
  color: #d0b98a;
}

.site-header {
  position: relative;
  text-align: center;
  padding: 24px 16px 0;
}

.site-logo {
  display: inline-block;
  max-width: var(--hrl-logo-width);
  width: 100%;
  text-decoration: none;
}

.site-logo img,
.custom-logo {
  display: block;
  margin: 0 auto;
  max-width: var(--hrl-logo-width);
  width: 100%;
  height: auto;
}

.site-title-fallback {
  display: inline-block;
  color: var(--hrl-text);
  font-size: clamp(34px, 8vw, 86px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
}

/* Desktop menu */
.menu-toggle-button {
  display: none;
}

.main-navigation {
  margin-top: 0;
}

.main-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-navigation li {
  position: relative;
  display: inline-block;
  margin: 0 18px;
}

.main-navigation a {
  display: inline-block;
  color: var(--hrl-link);
  font-family: 'Abel', Arial, Helvetica, sans-serif;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  color: var(--hrl-text);
}

.main-navigation .sub-menu {
  display: none;
  position: absolute;
  left: 50%;
  top: 100%;
  z-index: 20;
  min-width: 190px;
  padding: 10px 0;
  background: #050505;
  border: 1px solid var(--hrl-line);
  transform: translateX(-50%);
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu {
  display: block;
}

.main-navigation .sub-menu li {
  display: block;
  margin: 0;
}

.main-navigation .sub-menu a {
  display: block;
  padding: 8px 14px;
  white-space: nowrap;
}

/* Main content */
.site-main {
  width: min(var(--hrl-max-width), calc(100% - 40px));
  margin: 48px auto;
  text-align: left;
}

.content-area {
  width: 100%;
}

.entry-header {
  margin-bottom: 26px;
}

.entry-title {
  margin: 0 0 18px;
  color: var(--hrl-text);
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.2;
  text-transform: uppercase;
}

.entry-content {
  font-size: 15px;
}

.entry-content p {
  margin: 0 0 1.15em;
}

.entry-content ul,
.entry-content ol {
  text-align: left;
}

.entry-content hr {
  height: 1px;
  margin: 34px 0;
  background: var(--hrl-line);
  border: 0;
}

.post-list {
  display: grid;
  gap: 38px;
}

.post-list article {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--hrl-line);
}

.post-meta {
  margin-bottom: 12px;
  color: var(--hrl-muted);
  font-size: 14px;
}

.site-footer {
  width: min(var(--hrl-max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 46px;
  border-top: 1px solid var(--hrl-line);
  color: #777;
  text-align: center;
  font-size: 14px;
}

/* Schedule */
.hrl-schedule-page {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

.hrl-schedule-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 90px;
  align-items: start;
}

.hrl-schedule-day {
  margin-bottom: 42px;
}

.hrl-schedule-day h2 {
  margin: 0 0 14px;
  color: var(--hrl-text);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 28px;
  line-height: 1.2;
}

.hrl-schedule-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}

.hrl-schedule-table th,
.hrl-schedule-table td {
  padding: 7px 10px;
  text-align: left;
  white-space: nowrap;
}

.hrl-schedule-table th {
  color: var(--hrl-text);
  font-size: 15px;
  font-weight: 700;
}

.hrl-schedule-table td {
  font-size: 15px;
}

.hrl-schedule-table th:nth-child(1),
.hrl-schedule-table td:nth-child(1) {
  width: 70px;
}

.hrl-schedule-table th:nth-child(2),
.hrl-schedule-table td:nth-child(2) {
  min-width: 230px;
  padding-right: 28px;
}

.hrl-schedule-table th:nth-child(3),
.hrl-schedule-table td:nth-child(3) {
  width: 50px;
  text-align: center;
}

/* Single artist page */
.hrl-artist-detail {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.hrl-artist-detail-header {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 36px;
}

.hrl-artist-detail-image img {
  display: block;
  width: 100%;
  border-radius: 6px;
}

.hrl-artist-detail-info h1 {
  margin: 0 0 10px;
  color: var(--hrl-text);
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 38px;
  line-height: 1.1;
  text-transform: uppercase;
}

.hrl-artist-detail-style {
  margin-bottom: 12px;
  color: var(--hrl-muted);
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hrl-artist-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--hrl-text);
  font-size: 17px;
}

.hrl-artist-detail-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: var(--hrl-muted);
}

.hrl-spotify-button {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid var(--hrl-link);
  color: var(--hrl-link);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.hrl-spotify-button:hover,
.hrl-spotify-button:focus {
  border-color: #d0b98a;
  color: #d0b98a;
}

.hrl-artist-detail-content {
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .hrl-artist-detail-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hrl-artist-detail-info h1 {
    font-size: 30px;
  }

  .hrl-artist-detail-style {
    font-size: 15px;
  }

  .hrl-artist-detail-meta {
    font-size: 15px;
  }
}

/* Mobile / tablet */
@media (max-width: 900px) {
  body {
    font-size: 15px;
  }

  .entry-content {
    font-size: 14px;
  }

  .site-header {
    padding-top: 12px;
  }

  .menu-toggle-button {
    display: block !important;
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1000;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--hrl-text);
    font-family: 'Abel', Arial, Helvetica, sans-serif;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
  }

  #site-navigation.main-navigation {
    display: none !important;
    position: absolute;
    top: 50px;
    left: 12px;
    z-index: 999;
    width: 240px;
    padding: 12px;
    margin: 0;
    background: #000;
    border: 1px solid #333;
    text-align: left;
  }

  #site-navigation.main-navigation.is-open {
    display: block !important;
  }

  #site-navigation.main-navigation ul {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  #site-navigation.main-navigation li {
    display: block;
    margin: 0;
    text-align: left;
  }

  #site-navigation.main-navigation a {
    display: block;
    padding: 6px 0;
    font-size: 20px;
  }

  #site-navigation.main-navigation .sub-menu {
    display: block;
    position: static;
    min-width: 0;
    padding: 2px 0 4px 14px;
    margin: 0;
    background: transparent;
    border: 0;
    transform: none;
  }

  #site-navigation.main-navigation .sub-menu a {
    color: var(--hrl-muted);
    font-size: 16px;
    white-space: normal;
  }

  .site-main {
    width: min(100% - 28px, var(--hrl-max-width));
    margin-top: 32px;
  }
}


/* Phone */
@media (max-width: 760px) {
  .hrl-schedule-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hrl-schedule-table th,
  .hrl-schedule-table td {
    padding: 6px 6px;
    white-space: normal;
  }

  .hrl-schedule-table th:nth-child(2),
  .hrl-schedule-table td:nth-child(2) {
    min-width: 0;
    padding-right: 10px;
  }
}