/*
Theme Name: Astra Child
Theme URI: https://yourdomain.com
Description: Child theme for Wacky Glowworm
Author: Wacky Glowworm Quintessence
Author URI: https://yourdomain.com
Template: astra
Version: 1.0
*/

/* Read time style */
.read-time {
    font-family: 'Sintony', sans-serif;
    font-size: 13px;
    color: #17bebb;
    margin-bottom: 10px;
    display: block;
}

/* Inventory styles (merged) */
.wgw-inventory-shell { max-width: 1200px; margin:0 auto; padding:18px; font-family: inherit; color: #222; }
.wgw-section { margin-bottom:28px; }
.wgw-section h3 { font-size:20px; margin-bottom:10px; }

.wgw-carousel { position: relative; display:flex; align-items:center; }
.wgw-carousel-track { display: flex; overflow: hidden; gap: 16px; padding: 8px 12px; scroll-behavior: smooth; }
.wgw-card { min-width: 300px; max-width: 320px; background: #cee1d4; border-radius: 10px; box-shadow: 0 6px 14px rgba(0,0,0,0.06); padding: 10px; display:flex; gap:12px; align-items:flex-start; }
.wgw-thumb { width: 140px; height: 100px; object-fit: cover; border-radius:8px; }
.wgw-card-meta { flex:1; }
.wgw-title { display:block; font-weight:700; color:#222; text-decoration:none; margin-bottom:6px; font-size:16px; }
.wgw-last-read { font-size:13px; color: inherit; margin-bottom:8px; }
.wgw-inventory-actions a { display:inline-block; padding:8px 12px; background:#007bff; color:#fff; border-radius:6px; text-decoration:none; font-size:13px; }

/* Visible arrows: stronger color, larger, placed centered vertically */
.wgw-arrow {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  color: #111;
  width:44px;
  height:44px;
  border-radius:50%;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  z-index: 30;
}

/* place arrows outside track on sides */
.wgw-carousel > .wgw-arrow.left { margin-right: 10px; }
.wgw-carousel > .wgw-arrow.right { margin-left: 10px; }

/* responsive grid behaviour */
@media (min-width: 1100px) {
  .wgw-card { min-width: calc((100% - 3 * 16px) / 4); max-width: calc((100% - 3 * 16px) / 4); }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .wgw-card { min-width: calc((100% - 1 * 16px) / 2); max-width: calc((100% - 1 * 16px) / 2); }
}
@media (max-width: 767px) {
  .wgw-card { min-width: 86%; max-width: 86%; }
}

/* Toast */
.wgw-toast { font-family: inherit; box-shadow: 0 6px 18px rgba(0,0,0,0.15); position: fixed; right: 18px; bottom: 18px; background: #645e9d; color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 9999; }

/* Inventory lists fallback */
.wgw-inventory-wrap { margin: 10px 0; }
.wgw-inventory-wrap h3 { font-size: 22px; margin-bottom: 12px; }
.wgw-reading-list li, .wgw-completed-list li { margin: 6px 0; }

/* Remove custom color for "no reads" message — inherit from theme */
.wgw-no-reads { color: inherit; }

/* small helper */
.wgw-percent { color: rgba(0,0,0,0.6); font-size: 12px; margin-left:6px; }
