﻿/* ============================================
   Litethemmabibliotek — Läser just nu-widget
   + Instagram-knapp
   Sidebar
   ============================================ */

/* ── Dölj sidebar på mobil ── */
@media (max-width: 767px) {
  #secondary,
  .widget-area,
  .kadence-sidebar-area {
    display: none !important;
  }
}

.hlb-reading-now {
  background: #fff;
  border-radius: 12px;
  padding: 1.4rem 1.4rem 1.5rem;
  box-shadow: 0 4px 18px rgba(45, 107, 45, 0.08);
  font-family: 'Lato', sans-serif;
}

/* Rubrik */
.hlb-reading-now__heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c2c2c;
  letter-spacing: 0.01em;
  margin: 0 0 1.1rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid #2d6b2d;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hlb-reading-now__heading::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #c4876a;
  flex-shrink: 0;
}

/* Bok-rad */
.hlb-reading-now__book {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

/* Bokomslag */
.hlb-reading-now__cover {
  flex-shrink: 0;
  width: 72px;
}

.hlb-reading-now__cover img {
  width: 72px;
  height: auto;
  border-radius: 4px;
  box-shadow: 3px 4px 12px rgba(0, 0, 0, 0.18);
  display: block;
}

/* Bokinformation */
.hlb-reading-now__info {
  flex: 1;
  min-width: 0;
}

.hlb-reading-now__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #2c2c2c;
  line-height: 1.3;
  margin: 0 0 0.3rem;
}

.hlb-reading-now__author {
  font-size: 0.85rem;
  color: #666;
  margin: 0 0 0.7rem;
  font-style: italic;
}

/* Progress-badge (manuell widget) */
.hlb-reading-now__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2d6b2d;
  background: rgba(45, 107, 45, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
}

/* Progress-bar (Goodreads RSS-widget) */
.hlb-reading-now__bar-wrap {
  background: #e8e3dc;
  border-radius: 5px;
  height: 7px;
  overflow: hidden;
  margin: 0.5rem 0 0.25rem;
}

.hlb-reading-now__bar {
  background: #2d6b2d;
  height: 100%;
  border-radius: 5px;
}

.hlb-reading-now__pct {
  font-size: 0.75rem;
  color: #999;
  font-style: italic;
  text-align: right;
  margin: 0;
}

/* ── OM MIG-WIDGET ── */

.hlb-about {
  font-family: 'Lato', sans-serif;
}

.hlb-about__heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c2c2c;
  letter-spacing: 0.01em;
  margin: 0 0 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid #2d6b2d;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hlb-about__heading::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #c4876a;
  flex-shrink: 0;
}

.hlb-about__top {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.hlb-about__photo {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 3px 10px rgba(45, 107, 45, 0.15);
}

.hlb-about__intro {
  font-size: 0.875rem;
  color: #444;
  line-height: 1.55;
  margin: 0;
}

.hlb-about__genres {
  font-size: 0.82rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.hlb-about__genres span {
  color: #2d6b2d;
  font-weight: 600;
}

/* ── SENASTE INLÄGG-WIDGET ── */

.widget_recent_entries {
  font-family: 'Lato', sans-serif;
  margin-bottom: 0.5rem;
}

.widget_recent_entries .widget-title,
.widget_recent_entries h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c2c2c;
  letter-spacing: 0.01em;
  margin: 0 0 0.8rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid #2d6b2d;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.widget_recent_entries .widget-title::before,
.widget_recent_entries h2::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #c4876a;
  flex-shrink: 0;
}

.widget_recent_entries ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget_recent_entries ul li {
  padding: 0.1rem 0;
  line-height: 1.3;
}

.widget_recent_entries ul li a {
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  color: #555;
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
}

.widget_recent_entries ul li a:hover {
  color: #2d6b2d;
}

/* ── INSTAGRAM-KNAPP ── */

.hlb-sidebar-instagram {
  margin-top: 0.85rem;
}

.hlb-sidebar-instagram__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  width: 100%;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, #c4876a 0%, #a0522d 100%);
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 10px;
  font-family: 'Lato', sans-serif;
  transition: opacity 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 14px rgba(196, 135, 106, 0.35);
  box-sizing: border-box;
}

.hlb-sidebar-instagram__btn:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  color: #fff !important;
}

/* Övre rad: ikon + text */
.hlb-sidebar-instagram__top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hlb-sidebar-instagram__btn svg, .hlb-sidebar-instagram__top img {
  width: 18px;
  height: 18px;
  fill: #fff;
  flex-shrink: 0;
}

.hlb-sidebar-instagram__label {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Undre rad: handle */
.hlb-sidebar-instagram__handle {
  font-size: 0.78rem;
  font-weight: 400;
  opacity: 0.82;
  letter-spacing: 0.01em;
  white-space: nowrap;
}