* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}
html {
  height: 100%;
}
html,
body {
  padding: 0;
  margin: 0;
}
body {
  background: #fff;
  color: #444;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: lighter;
  margin-bottom: 1em;
}
a {
  color: #444;
  text-decoration: none;
}
.clearfix:after {
  content: " ";
  display: block;
  clear: both;
}
.noselect {
  cursor: default;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
#container {
  padding: 2em;
}
header {
  font-size: 1.8em;
  margin-bottom: 1.1em;
}
h1 {
  display: inline-block;
  font-weight: bold;
}
h1 a {
  color: #444;
}
footer {
  color: #666;
  font-size: 0.9em;
  font-style: italic;
  margin-top: 3em;
}
footer a {
  color: #17baef;
}
nav.breadcrumbs {
  border-bottom: 1px solid #ddd;
  font-size: 1.2em;
  margin-bottom: 2em;
  padding: 0em 0em 0.8em 0.1em;
}
#albums,
#media {
  margin: 0em;
}
#albums a {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  margin-right: 2em;
  margin-bottom: 3em;
  position: relative;
  overflow: hidden;
  width: 300px;
  height: 220px;
  background-size: cover;
  border-radius: 8px;
}
#albums .info {
  position: absolute;
  padding: 1em;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 0.9em;
  line-height: 1.2em;
  margin: 0;
  width: 100%;
  font-weight: bold;
  bottom: 0;
}
#albums h3 {
  font-size: 1.3em;
  margin-bottom: 0.2em;
}
#media li {
  float: left;
  margin-right: 0.4em;
  margin-bottom: 0.2em;
  position: relative;
  cursor: zoom-in;
}
#media a {
  display: inline-block;
}
#media img {
  border-radius: 8px;
  display: block;
}
#media li .video-overlay {
  left: 50%;
  height: 48px;
  margin-left: -24px;
  margin-top: -24px;
  position: absolute;
  top: 50%;
  width: 48px;
}
@media only screen and (max-width: 360px) {
  #albums a {
    width: 100%;
    height: 190px;
  }
}
nav.pagination {
  color: #666;
  display: inline-block;
  font-size: 1em;
  margin-top: 2em;
  padding: 0em 0em 0.5em 0em;
}
nav.pagination .page {
  margin-right: 0.2em;
}
nav.pagination .page.current {
  font-weight: bold;
}
nav.pagination a {
  color: #666;
}
#zip {
  color: #666;
  margin-bottom: 2em;
}
#zip a {
  color: #3399ff;
}
/* ==========================================================================
   Thumbsup "cards" Theme Customization: Warm Grey Palette
   ========================================================================== */

:root {
  /* --- PALETTE OPTION 1: Light Warm Grey (Warm Stone / Greige) [ACTIVE] --- 
  --bg-color: #e8e6e1;
  --text-primary: #2c2825;
  --text-muted: #6b655d;
  --link-color: #2c2825;
  --link-hover: #8c6239;
  --border-color: #d3cec4;
  --card-overlay: rgba(30, 27, 24, 0.65);
  --card-radius: 10px;
  --card-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  */

  /* --- PALETTE OPTION 2: Dark Warm Grey (Warm Charcoal / Studio) ---
     To use Dark Warm Grey, uncomment the variables below: */
  --bg-color: #232220;
  --text-primary: #edeae5;
  --text-muted: #a6a199;
  --link-color: #edeae5;
  --link-hover: #e0a96d;
  --border-color: #3b3935;
  --card-overlay: rgba(15, 14, 13, 0.75);
  --card-radius: 10px;
  --card-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  /*------------------------------------------------------------------ */
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Headings & Links */
h1 a,
a {
  color: var(--link-color);
  transition: color 0.15s ease;
}

h1 a:hover,
a:hover {
  color: var(--link-hover);
}

/* Breadcrumbs navigation */
nav.breadcrumbs {
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
}

nav.breadcrumbs a {
  color: var(--text-primary);
  font-weight: 500;
}

/* Album Cards */
#albums a {
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#albums a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

#albums .info {
  background: linear-gradient(to top, var(--card-overlay) 0%, rgba(0, 0, 0, 0.2) 70%, transparent 100%);
  color: #ffffff;
  padding: 1.2em 1em 0.9em;
}

#albums .info .summary,
#albums .info .date {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88em;
}

/* Media Thumbnails */
#media img {
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

#media li:hover img {
  transform: scale(1.02);
  opacity: 0.95;
}

/* Pagination & Footer */
nav.pagination,
nav.pagination a,
footer,
#zip {
  color: var(--text-muted);
}

footer a,
#zip a {
  color: var(--link-hover);
}

